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

“Always stretch from the source, the core, the foundation of each asana. Keep your attention internal, not worrying about what others see, but what the Self sees. Each movement must be an art, an art in which the Self is the only spectator.”

B.K.S. Iyengar, Light on Life: The Yoga Journey (with a few minor edits by me)

February 19, 2014: I passed out for the first time. Before then I knew I was sick, but that was the first day I went down.

*three years of hospital visits and dozens of doctors*

February 19, 2017: For the first time in many years I’ve been able to practice yoga on a daily basis. As usual, during the first several weeks it was difficult and I was sore, but these days all is well. Soon this body will be rock hard and incredibly limber. :)

I'll be back, I am back

“One must do asana not merely as a physical exercise but as a means to understand and then integrate our body with our breath, with our mind, with our intelligence, with our consciousness, and with our core. In this way, one can experience true integration.”

B.K.S. Iyengar, Light on Life: The Yoga Journey

Today is an anniversary of sorts for me. After knowing “something” was wrong for a long time, on this day three years ago I passed out for the first time.

I’m told that this is a famous poster for designers that I just applied a lot of whiteout to. (The missing words seem to have been inspired by Samuel L. Jackson.) I like “Believe in yourself” and “Trust your gut.”

Design poster

I like this quote from Leo Buscaglia: Take responsibility and grasp it. Don’t be a victim.

Leo Buscaglia: Take responsibility

Tina Turner talks about the power of love in this LionsRoar.com article.

Tina Turner on love

“Successful design is not the achievement of perfection but the minimization and accommodation of imperfection.”

~ Henry Petrosky

“My best teachers were not the ones who had all the answers. They were the ones deeply excited by questions they couldn’t answer.”

Chicago Cubs’ star Kris Bryant gets pranked by Hall of Famer Greg Maddux:

For some examples in my new book on functional programming in Scala I needed to create a collection class of some sort. Conceptually an immutable, singly-linked list is relatively easy to grok, so I decided to create my own Scala list from scratch. This tutorial shows how I did that.

Back to top

Background: What is a Cons cell?

The first time I learned about linked lists was in a language named Lisp. In Lisp, a linked list is created as a series of “Cons” cells. A cons cell is simple, it contains only two things:

Here’s a link to some Effective Scala slides, as presented by Mirco Dotta in 2013.

Effective Scala slides

Via a friend on Facebook:

“My advice: Don’t let yesterday contain the greatest things you’ve ever done. Make tomorrow contain your next great goal. Because once you feel your greatest days are behind you, you begin to die.”

At the very least that quote is about the importance of having goals.

“If you think you know what the state of the payments system 10 years out you're in a state of delusion.”

~ Charlie Munger talking about AMEX

I use the Java StringTemplate library in my Android applications, and Brian Clapper has created a Scala wrapper around it that he calls Scalasti. His intro: “Scalasti is a Scala interface to the StringTemplate Java template library. It provides a subset of the features of StringTemplate, using a more Scala-friendly syntax.”

“Matter is frozen energy.” ~ Einstein

Got this in an email last week, seems appropriate for today: “Marry a person you love to talk to.”

When real and unreal both
Are absent from before the mind,
Nothing else remains for mind to do
But rest in perfect peace,
From concept free.

~ Shantideva

“Conscience, when it is flawless, is the voice of our soul, whispering in our ear.”

~ B.K.S. Iyengar, in the book, Light on Life: The Yoga Journey to Wholeness