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

“I love you so much that I want you to be happy, even if that happiness no longer includes me.”

A quote from the movie, The Longest Ride (which, thanks to my illness, I have no memory of watching)

The Milky Way is moving at over half a million miles per hour. (In the time it took me to type that, we sailed about 1,500 miles through the Universe.)

Inside the Milky Way, the Earth revolves around the Sun at 66,600 mph.

The Earth rotates around its axis at about 1,040 mph (depending on your latitude).

And yet, somehow I feel like I’m sitting perfectly still in this chair.

That’s quite an illusion.

“I can’t stand when someone treats you like crap and then they act like the victim. Noooo ... get the heck out of here with that B.S.”

A friend just shared a slightly more profane version of that on Facebook, and (sadly) I know exactly what she means.

“There’s my mom when she’s little. She has my eyes; blue-grey, with flecks of panic.” ~ In Your Eyes

I’ve been interested in the Lisp programming language since I first learned about it, but in the books I’ve read about it, no author has explained the background of terms like cons, car, cdr, and S-expressions. Tonight I found this “History of Lisp” document, which explains the meaning of some of those names.

(If you’re really interested in those terms, this Wikipedia page describes them even more.)

The National Popular Vote website proposes a way to keep the Electoral College but also elect our President based on the popular vote. From their website, “The U.S. Constitution (Article II, Section 1) gives the states exclusive control over awarding their electoral votes: ‘Each State shall appoint, in such Manner as the Legislature thereof may direct, a Number of Electors....’ The winner-take-all rule was used by only three states in 1789.” Their idea is that Electoral College voters will vote for whichever candidate wins the popular vote.

National Popular Vote

Polishing the Mirror by Ram Dass is the best book I know on spirituality, and this quote was posted on his Twitter page yesterday.

Who you are is more than who you think you are

Zen koans often turn into humorous Abbott & Costello skits. For those new to Zen, the “It would be better if you died” reference just means that you should meditate like you’re in your coffin, which is further embodied in the Zen phrase, “Dead men have no desire.” (As long as you have desire, Zen will keep its distance from you.)

Zen koan

Louisville, Colorado’s Blue Parrot property has been purchased by investors based in Superior. Here’s the story on, a source of news for Boulder and Broomfield counties here in Colorado.

Louisville, Colorado's Blue Parrot property purchased

“Perhaps ninety-five percent of the suffering we endure every day is not at all necessary. Because of our lack of insight, we cause suffering to ourselves and others, including our beloved ones.”

~ Thich Nhat Hanh, in this article

“You’ve got to be real. Don't be a phony. Find ‘you,’ who you are ... Say, ‘Here I am. Take me for what I am with all my frailties, all my stupidity, and so on. And if you can’t, leave me alone.’”

~ Leo Buscaglia in the book, Living, Loving, & Learning

I don’t remember the original source of this photo, but it shows an early attempt at using a sled to get around in Alaska. It worked well until that one day ...

First attempt at using a sled in Alaska

Here’s a 2017 Budweiser Super Bowl ad titled, “Born the Hard Way”:

Marius Eriksen has a good article titled Hints for writing Unix tools. Some key points: a) consume input from stdin, produce output to stdout; b) output should be free from headers or other decoration; c) output should be simple to parse and compose. There’s much more to it than that, and it’s a good read (or reminder).

“I am lost in your fabulousness.”

A special shout out to the great humanitarians and citizens of Planet Earth.

Here’s yet another article that helps demonstrate that mindfulness meditation helps to reduce stress.

Mindfulness meditation reduces stress

“If you are neutral in situations of injustice, you have chosen the side of the oppressor.”

~ Desmond Tutu

The New York Times has this article on how Silicon Valley’s attitude towards Donald Trump changed in less than 36 hours. The photo shows Sergey Brin, Google co-founder and refugee, joining a protest at the airport in San Francisco.

Sergey Brin, Google co-founder and refugee

Tony Fadell, Chris Sacca, and other people are matching donations to the ACLU today. Learn more at this Twitter link.

I spent some time last week working on an Android application, and with my newfound knowledge of functional programming (FP), I was trying to apply FP principles to my Android Activities and Fragments.

Android isn’t really meant for FP, but one thing I found that I could do is to move a lot of my business logic out of the Activities and Fragments and into separate classes, where I could often implement methods as static functions. The advantage of this is that it forces you to consciously pass variables in and out of those static functions, rather than mutating them as instance variables (think “global” variables) in your Activities and Fragments (which is a common way to handle them).

I don’t have a specific example I can share today, but when I can I’ll update this post to show specifically what I mean. In the meantime, if you try to move some of your logic out of your Activities and Fragments, I think you’ll see what I mean.