Alvin Alexander | Java, Scala, Unix, Perl, Mac OS X

What happens at the motor home stays at the motor home. (I don’t think I want to know what happens in the motor home.)

Sign in a store window, Palmer, Alaska.

What happens at the motor home stays at the motor home

“And so I wake in the morning
And I step outside
And I take a deep breath and I get real high
And I scream from the top of my lungs
What’s going on?”

I may have done that once or twice in the mountains of Alaska. :)

(P!nk also does a nice cover of this song.)

I enjoy Phil Plait’s writing style in this “Bad Astronomy” article, A 3 billion solar mass black hole rockets out of a galaxy at 8 million kilometers per hour. Yes, seriously. He clearly enjoys what he’s writing about.

Bonnie Eisenman perfectly captures the target market for my upcoming book on Scala and Functional Programming. How big that market is ... I don’t know ... I’m just trying to write a good book to explain functional programming in Scala in simple terms, and this is who I’m writing it for.

The target market for my book on Scala and Functional Programming

There’s a guy on a local radio station (104.3 The Fan) named Darren McKee (who guys by the name “D-Mac”), and he constantly uses a phrase that drives me crazy:

“To be honest with you ...”

As I wrote in my book, A Survival Guide for New Consultants, you should never use that phrase.

Why? Because using it for some sentences implies that you aren’t being honest with every other sentence that comes out of your mouth.

“Why am I always sick?” That’s a question I used to ask myself a lot. Other people asked it as well: “Al, why are you always sick?”

I remember one time I was in the same room as my wife while she was on the phone. She was taking to her sister, who was talking about her husband (my brother-in-law), and their conversation went on for quite some time. Afterwards I said, “Wow, I hope you guys don’t talk about me all the time like that.” My wife said, “No, we just say that you seem to get sick a lot.”

I’m saddened by people who are so afraid of making a mistake that they come up with a million different reasons as excuses to justify why something can’t be done. They always say, “I would do XYZ, but ...”

All I can think to say to them is, “Quit thinking and just do it.” Or, as Cher said in Moonstruck, “Snap out of it!”

Really, what’s the worst thing that’s going to happen? You’re going to die? Well, I have news for you, no matter what you do, you’re going to die anyway. (I’ve gone unconscious seven times over the last couple of years, and believe me, at that point there’s nothing you can do about it.)

When I was very sick in 2015-2016, I used to tell my doctors it felt like I had been “drugged.” When I could see that they couldn’t understand or believe that, I’d tell them that it felt the way you feel after surgery, groggy and woozy.

For the most of this year I’ve been eating very well, but yesterday I went to see a movie (Logan) and had some popcorn. Shortly after eating the popcorn I started to feel sick, and today I feel like I’ve been drugged.

This — as I have learned — is life with mast cell activation disease, known as MCAD or MCAS.

One of the crazy things about having super-realistic lucid dreams goes like this:

Three times this morning I woke up, had a couple of cookies, made some coffee, and started doing things, only to realize each time that I was still asleep.

(The good news is that I had a lot of cookies, with no calories.)

Table of Contents1 - Summary2 - New Linode Server3 - Update Everything4 - Ubuntu Firewall5 - Add a New User6 - Disabling Root Login (sshd_config)7 - Limit Login Attempts (sshd_config)8 - Install Nginx and MySQL9 - Adjust Firewall10 - Nginx Configuration11 - Installing Java on Ubuntu12 - NOT what I used: Let’s Encrypt on Ubuntu 16.0413 - (1) Create a cert (openssl)14 - (2) Create a strong Diffie-Hellman group15 - (3) Configure Nginx to Use SSL16 - Adjust the Nginx Configuration to Use SSL17 - (Alternative Configuration) Allow Both HTTP and HTTPS Traffic18 - Adjust the Firewall19 - Enable the Changes in Nginx20 - Test in Browser21 - Nginx "default_server"22 - Can change to a permanent redirect (301)23 - More Security: Preventing Information Disclosure24 - More Security: Fail2Ban25 - Restricting Access by IP Address26 - See also

Without any introduction or discussion, here are the notes I made while learning how to get HTTPS working with Nginx. These are just for me, but if something helps you, cool.

Wesley Reisz shared this nice image titled, “The Rationale for Optional” (in Java). Optional in Java is similar to Option in Scala.

The rationale for Optional (in Java)

I was surprised to find out yesterday that you can change your Amazon email address without having to verify the change from your old email account. You only have to verify the new email address. That seems like a flaw.

I sit here on the stairs,
'cause I’d rather be alone.
If I can’t have you right now,
I’ll wait dear.

A. Rose, Patience

bbc.com has a good story on How to super-size your memory using techniques like a memory palace.

How to increase your memory

ExtremeTech.com has this story about newly restored nuclear test footage. From the article, “Lawrence Livermore National Laboratory (LLNL) is in the process of restoring those films, and they’ve uploaded the first batch to YouTube.”

From this story on sciencemag.org:

“NASA’s Curiosity rover usually keeps its instruments firmly focused on Mars’s ground, zapping grit with its laser or drilling cores in bedrock. But every few days, the SUV-sized robot, like any good dreamer, shifts its sights upward to the clouds. Well into its fifth year, the rover has now shot more than 500 movies of the clouds above it, including the first ground-based view of martian clouds shaped by gravity waves ...”

(See the story for more information, and some animations which unfortunately just keep endlessly repeating.)

A little personal enlightenment (from March 22, 2014):

Since I started passing out a few weeks ago, I’ve had conversations with doctors, nurses, friends, and even a shaman caregiver about life, death, quality of life, goals, and desires. I had a hard time answering some of those questions, and yesterday I realized why that was:

If you’re truly living in the present moment, those questions don’t make any sense! You can’t think about life, death, the past, or the future if you’re absorbed in the present moment.

When eating, just eat. When planning for the future, live fully in that moment of planning for the future. And when writing text like this, just write. That’s all.

Here’s a nice 2009 article where Bill Venners interviews Martin Oderksy about the origins of Scala.

“Your purpose in life is to find your purpose and give your whole heart and soul to it.” ~ Buddha

Growing up, I used to envy those people who seemed to be shot out of the womb with a purpose, like they always knew what they wanted to do. But these days I think there’s a great reward in the struggle to find that purpose.

(I seriously doubt that the Buddha actually said that, but hey, it sounds impressive, whoever said it.)