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

“It seems like there is a sound case for a ‘pure’ keyword in future C/C++ standards.”

(A quote from id Software co-founder and technical director John Carmack in this article. I wrote about using an impure annotation in Scala many moons ago.)

HER: What’s your cell plan?

ME: Bodily decay over decades until inevitable mortal collapse. You?

HER: ... V-Verizon.

So I go to the grocery store yesterday, buy some grapes, and think I’m being all healthy as I eat them.

Then later in the day I read the “Dirty Dozen” report, which states that the non-organic grapes I just ate had 15 pesticides on them, and after non-organic strawberries, they’re one of the worst things you can eat in the entire universe.

“You know, Haskell actually never liked the name Haskell.”

~ Mrs. Haskell Curry

Psychologists have identified a state of mind called flow in which we’re capable of incredible concentration and productivity.

In the last few weeks I learned that Miranda is a lazy, functional programming language that preceded and greatly influenced Haskell. Here are some examples of the Miranda language.

The name of this language, along with the use of the name in the movie Serenity, got me wondering about its origin. states, “Derived from Latin mirandus meaning ‘admirable, wonderful.’ The name was created by Shakespeare for the heroine in his play ‘The Tempest’ (1611). It did not become a common English given name until the 20th century. This is also the name of one of the moons of Uranus.”

The Blues Brothers, starring Dan Akroyd and Jim Belushi, are on a little road tour. If I’m healthy enough by November, it would be great to travel to see them. It would be even greater if they’d play a show in Colorado. ;)

The Blues Brothers, on the road

“C wears well with experience” ~ a quote from the classic book, The C Programming Language.

(I like to think that well-written Scala code wears well with experience.)

C wears well with experience

Seibel: What do you enjoy about programming?

Peyton Jones: For me, part of what makes programming fun is trying to write programs that have an intellectual integrity to them ... so I think a good attribute of a good programmer is they try to find a beautiful solution.

Zachary: I ran into one of my brother’s work buddies, he introduced me to Tai Chi. It saved me.

Longmire: How so?

Zachary: I like to put it like this ... I went to church a lot as a kid, and we were always taught to love our enemies. Tai Chi taught me something new — to love the enemy inside me, as well. So I don’t look at peace as the absence of conflict any more. I see it as the acceptance of conflict.

(From the tv series Longmire)

“As soon as you start programming with side effects, evaluation order becomes important.”

From the website: “Long time Pythoneer Tim Peters succinctly channels the BDFL's guiding principles for Python's design into 20 aphorisms, only 19 of which have been written down.”

The Zen of Python

1995: [at blockbuster] yes, please call me when the movie I want is returned

2016: [netflix won’t load] I've never endured such suffering

The first seven chapters of my new book, Functional Programming, Simplified, are now available online. More coming soon.

Functional Programming, Simplified

As a quick note to self, I just updated this Drupal website in less than three minutes. Actually, what I did was (a) test the Drupal update on a Test server, and then (b) did the update here in less than three minutes.

The following block shows my Cliffnotes on performing the update. If you’re familiar with Drupal, these notes may make sense, and help you when you need to perform an update of your own.

I hear a lot of people say they want to be successful. For me this always comes down to, “What are you willing to do to make that happen?”

In my own case I had to overcome a fear of public speaking, learn how to write software, learn how to build and manage a company, learn some sales techniques, make sacrifices on how I spend my time, etc.

“Adam is just special. He has that kind of makeup that is always trying to invest in other people.”

~ Cardinals’ manager Mike Matheny talking about Adam Wainwright

This Winnie The Pooh caption reminds me of one of those “bad lip reading” videos. :)

Winnie The Pooh - Bad lip reading

As a quick note to self, this source code from the online version of Learn You a Haskell shows how to read command line arguments in Haskell:

“Side effects are essentially invisible inputs to, or outputs from, functions.”