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

A Rocky Mountain sunset, near Boulder, Colorado.

A Rocky Mountain sunset, near Boulder, Colorado

A crow in the snow, a memory of a winter past.

A crow in the snow, Colorado

“If you think you’re enlightened, go spend a week with your family.”

~ Ram Dass

A friend introduced me to the movie Home for the Holidays many years ago, and it’s still the best Thanksgiving movie I know.

Home for the Holidays, the best Thanksgiving movie

“Parhelions, more commonly known as sun dogs or mock suns, appear as fuzzy rainbows or bright spots in the sky ‘dogging’ the Sun. You are most likely to see a sun dog in the morning or afternoon during the winter. Records of this phenomena date all the way back to the ancient Egyptians. Famous Ancient Greek philosophers Cicero and Aristotle even made mention of sun dogs.”

(I’m pretty sure I made the photo from Google image search results, but I don’t remember where I got that text. I posted this on Facebook on November 23, 2013.)

Photos of Parhelions (sun dogs)

Doctor: Do you know why your triglycerides are high?

Me: The election?

Doctor: No.

Me: David Bowie’s death?

Doctor: No.

Me: *sigh* The cookies?

Doctor: Yes.

Table of Contents1 - Handling redirect requests with ScalaJ-HTTP2 - ScalaJ-HTTP GET request example3 - Setting ScalaJ-HTTP timeout values4 - A ScalaJ-HTTP POST request example5 - ScalaJ-HTTP: Summary

If you ever need some good ScalaJ-HTTP examples, see the test files in the project, including this HttpBinTest.scala file. That file currently shows a number of good ScalaJ-HTTP examples, including GET, POST, redirect examples with Scala.

See that page for a full list of examples, but for my own use, here are a few of them.

I like these Zen dog garden sculptures and I’d buy them for friends, but I learned a few years ago not to give gifts that might be construed as being religious. The same company also has cats, frogs, and turtles.

Zen dog garden sculptures

I’ll be joining a new yoga class soon, and I was just thinking about what I might say, or not say, to the other students in the class about the things I’ve experienced when practicing yoga very seriously. In an open discussion during a previous yoga class I told other students that I was able to feel various things when we did the “corpse pose” at the end of the session. I didn’t go into great detail, but I did tell them that I could feel my blood flowing in my body, how I could feel “vibration” sensations on my skin, and a few other things.

When I saw this map after the election I didn’t think about politics. I thought, “Wow, in ten years almost all of those truck drivers can be replaced by self-driving vehicles.”

I’m all for reducing congestion on the interstates — the U.S. population has probably doubled since the interstates were built — but that looks like a lot of people who are going to need to learn a new trade.

Truck drivers may need a new trade
Table of Contents1 - Getting started2 - First steps3 - Adding Given/When/Then behavior (and ‘And’)4 - More on Given, When, Then, and And5 - Add more tests within ‘describe’6 - Testing Option/Some/None in a BDD test7 - Nesting describe blocks8 - Using ‘before’ and ‘after’9 - Mark tests as pending10 - Temporarily disabling tests11 - Testing expected exceptions12 - Assertions13 - Using matchers14 - Tagging your BDD tests15 - Other16 - More information

This page is very much a work in progress, but it currently shows a small collection of ScalaTest BDD examples. I’ll keep adding more BDD examples as time goes on. Also, in this article I assume that you are familiar/comfortable with Scala and SBT, and are at least slightly familiar with using ScalaTest.

What the sky will look like when people travel back and forth to the Moon.

Traveling to the Moon

“Beginning today, treat everyone you meet as if they were going to be dead by midnight. Extend to them all the care, kindness and understanding you can muster, and do so with no thought of any reward. Your life will never be the same again.”

~ Og Mandino

When you go to the bathroom at the top of Rocky Mountain National Park, and you come out and everyone else is gone.

The only car at Rocky Mountain National Park

David Price has written a book titled, The Pixar Touch, and on his website he shares 22 tips about storytelling from a former Pixar employee. This image shows the first ten tips.

Pixar story rules

It’s a bit of a riddle, but other people in your life have to be who they are so you can be(come) who you are.

Sometimes when you’re working with doctors they’ll use the term, “idiopathic.” It turns out that’s just a fancy word for, “We don’t know.” I haven’t looked up the origin of the word, but I remember its meaning by thinking, “Idiot, we’re not telepathic.” (Supernatural fans: substitute “idjit” for “idiot.”)

As an example, there’s an illness named, “Chronic Idiopathic Uticaria.” Chronic means constant, uticaria is a fancy word for hives, so that phrase means, “Some people constantly break out in hives, and we don’t know why.”

I have this problem, but for me it’s no longer idiopathic. I now know if I stick to a diet of a small set of organic foods I won’t get hives, but if I stray from that diet I quickly get itchy, and if I keep eating that way I eventually get hives.

That’s my medical lesson of the day. ;)

“I am not this hair. I am not this skin. I am the soul that lives within.”

Rumi

Ever have one of those days where you wake up in a bathtub full of ice in a hotel room with one of your kidneys gone?

“The best feeling is when someone appreciates everything about you that someone else took for granted.”

(I don’t know the original source of this, but I like it.)