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

I call it, “Up With the Sun, Gone With the Wind.”

Up With the Sun, Gone With the Wind

I have no statistical proof of it, but my eyes (and sinuses) tell me that a lot of people smoke in Virginia, many more than where I live in Colorado. I had forgotten how much I dislike the smell of cigarette smoke.

Per this tweet, this is what the gas prices look like on Alaska’s north slope on April 10, 2015.

Gas prices on Alaska's north slope

Here’s another photo of the Moon rising over the Atlantic Ocean, Virginia Beach, Virginia.

Moonrise over the ocean, Virginia Beach (#2)

If you ever need to copy text (or a text file) from the MacOS Terminal to the Mac clipboard, I can confirm that the macOS pbcopy command works. It reads from STDIN and copies the text to the clipboard, so commands like these work:

$ echo "foo bar baz" | pbcopy

$ cat /etc/passwd | pbcopy

I don’t have a camera to do it justice, but the moonrise is pretty tonight.

Moonrise over the ocean, Virginia Beach

I just counted, and the latest version of my book on functional programming in Scala currently contains 90 short lessons and another 25 appendices. It’s going to grow a little more, but that’s where it is right now. I hope to have a first draft of it publicly available by the end of May.

Update: The first 600 pages of my book, Learning Functional Programming in Scala, are now available as a free PDF download.

I like this description of the proper mindfulness technique: “Not judging what you see, not considering it good or bad, just seeing what you see, with interest and curiosity. Staking out your inner experience, like a wildlife photographer in an exotic location, waiting for the moment to snap.” It comes from the “Base” recording under the “Waiting Around” category of the Buddhify app. (Sorry, I don’t know the name of the speaker.)

Finally got a picture of a seagull this morning. :)

Ocean sunrise

Joey Votto is a terrific hitter on a horrible baseball team, and in this article he says, “I think if I let the team’s performance dictate how I behave,” says Votto, “or how I perceive my performance, or whether or not there’s value, or whether or not anyone even cares, it’s a dangerous and slippery slope.”

That reminds me of my brother-in-law, who is a tremendous chef currently working in a bad situation, and how you can’t let your current situation get you down.

Last night I was chasing people who were putting bombs in buildings and flying shape-shifters (who I would later realize were on my side). When I started to catch up to them I’d find myself yelling, “please comply.” I give a “thumbs up” for the action/adventure part of the dream, but the writing and line delivery were just horrible.

DeMarcus Ware is one of my favorite football players, by all accounts a real leader and team player. Here’s a nice quote from him in this article:

“I told myself, ‘Don’t get caught up. Stay focused and keep your head down and everything will be all right,’ ” he says. “That’s always been my motto: If you don’t get caught up in the hype, you can do something great.”

This nih.gov article states that Vitamin D helps to stabilize mast cells. I always thought my Vitamin D levels were very low because of mast cell disease, but maybe something else caused the Vitamin D problem which made the mast cell problem worse,  dunno.

I haven’t tried it yet, but I was just reminded that Christopher Vogt (and others) have created a build tool named CBT as an alternative to SBT.

“And when Jung starts to deal with his archetypes, collective unconscious and so on, he is starting to deal with the fourth chakra ... he himself is afraid to go on, that’s quite clear. He goes just so far and then he stops, because he’s afraid that if he goes the next step, he will no longer be able to do what he does as Carl Jung.”

From a Ram Dass post, Chakras in the Body

As I walked into the local Starbucks today an alarm went off on my phone saying there was a tornado warning. So I asked the three people working there, “Which is worse, a tornado warning or a watch? I can never remember which is which.”

So rather than google it, we talked about whether “watch” or “warning” implied more danger, then we talked about some other things while we watched stuff go flying down the street. Never did figure out which is worse, but eventually I got a coffee.

Later in the day I came across a big ol’ wind-blown disaster mess at a gift shop, where I found this t-shirt amongst the ruins.

National Sarcasm Society t-shirt

It’s probably just me, but tipping the valet parking guy always feels like paying ransom to get my car back.

As I’m writing my new book on Scala and functional programming I started thinking, “What if the person who creates Skynet or the Matrix reads this book and suddenly understands how to create their evil invention? But ... if I don’t create this book, they’ll stay on their previous course in life to be a world-famous cookie baker.”

It’s quite a responsibility, knowing that you could be responsible for a future without great cookies.

I’ve made some good progress on my new book on Scala and functional programming recently. For whatever reason I had been having writer’s block, so I came out to the beach for a little while to help clear out my brain, and today in particular was very productive. For a while now I’ve known how the book would end, but I was having a problem getting from where I was to the end, and I got through most of that today.

In a slightly related note, here’s a blurry photo of a military ship out on the ocean.

Military ship on the ocean

John Gruber writes today that The Mac Pro Lives. Perhaps more accurately, at least it seems to have a future.