When I lived in Alaska, I used to meditate in the mountains at Hatcher Pass. One day some paragliders showed up:

I don’t know how efficient this is, but it’s an interesting nugget of Scala code:

```if (90 to 100).contains(score) grade = "A"
```

“Grit is passion and perseverance for long-term goals. Grit is having stamina. Grit is sticking with your future, day in, day out, not just for the week, not just for the month, but for years, and working really hard to make that future a reality.”

From this TED talk.

Ed Chigliak (Darren Burrows) is trying to raise money to make a documentary about Northern Exposure:

“We’re in a tough business. It’s very competitive. Sometimes you’ve got to demand that people do things that maybe they don’t want to do, but it’s not personal.”

Nick Saban (or perhaps Steve Jobs)

When I was a young child -- maybe ten years old -- a pretty Hari Krishna girl came up to me in an airport, pinned a fake flower on my shirt, and asked if I could give her a “donation.” When I showed her that I didn’t have any money, she pulled the flower off my shirt so hard she almost ripped it, and walked away. There’s no Zen in that. (And there is Zen in that.)

“Everybody has a plan until they get punched in the face.”

~ Mike Tyson

I enjoyed the tv series, “The Finder”. I liked most things about the movie, and loved the quotes from the character played by Michael Clark Duncan. RIP MCD.

“The world is won by those who let it go.”

~ Lao Tzu

From this terrific article on parallelism vs concurrency.

Concurrent = two queues and one coffee machine.
Parallel = Two queues and two coffee machines.

“Concurrency and parallelism are related concepts, but there are small differences. Concurrency means that two or more tasks are making progress even though they might not be executing simultaneously. This can for example be realized with time slicing where parts of tasks are executed sequentially and mixed with parts of other tasks. Parallelism on the other hand arise when the execution can be truly simultaneous.”

from akka.io

I saw this page in a Yoga Journal magazine several years ago. At that time there was a teacher teaching Iyengar yoga in Talkeetna, Alaska. I'm not sure if she still teaches there.

A great Harley-Davidson motorycle ad: What would you do?

I thought I’d have a little fun today, and show different ways to declare multiple variables on one line. These aren’t the most useful or common things to do, but they’re interesting, and I know I learned at least one thing while looking into this.

You can define multiple fields on one line, separated by commas, as long as they are all the same type and have the same value:

A famous and funny, “If you watch, if you help,” web design cartoon. From the book, The Non-Designer's Design Book.

Buddha said, “Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment.”

~ Michael Clark Duncan

Just a quick note here today that if you need some example MySQL database tables, you can use these. I created them for some experiments I ran last night. They show the MySQL `create table`, `primary key`, and `foreign key` syntax:

“I am open to the guidance of synchronicity, and do not let expectations hinder my path.”

~ The Dalai Lama

This is great:

Out of curiosity about Scala’s file-reading performance, I decided to write a “line count” program in Scala. One obvious approach was to count the newline characters in the file:

```// took 101 secs (10M lines)
// work on one character at a time
def countLines1(source: Source): Long = {
var newlineCount = 0L
for {
c <- source
if c.toByte == NEWLINE
} newlineCount += 1
newlineCount
}
```

As the comment shows, this took 101 seconds to read a file that has 10M lines. (An Apache access log file for this website.)