Scala, Java, Unix, MacOS tutorials (page 78)

“To be perfectly honest with you, I really feel that I have average physical ability, but when I get my psych and my self-hypnosis going, I can compete with anybody in anything.”

~ Al Hrabosky

Back in the day it was fun to watch “Mad” Al Hrabosky pitch for the St. Louis Cardinals. He would psyche himself up behind the mound and appear to get very angry, and indeed, he ended up in at least one brawl. Here’s a TWIB Note video of him pitching and talking, and here’s him talking years later about what he was doing behind the mound.

Mad Al Hrabosky pitching

I don’t remember the original source of this image, but I like it: “I need to find more people who will sit and talk about the universe and souls and consciousness with me for hours.”

When I saw this again today I was reminded of the time I ended up in Vail, Colorado, talking to a younger version of myself.

I need to find people who will talk about the universe and souls

This is a series of Facebook posts from an adventurous day in Alaska, December 31, 2010:

1) Hmm, more bad weather today. Adding “tire chains” to the grocery list, and I’m out the door. Driving to Seward to celebrate the new year!

2) Famous Alaska saying: “There’s old pilots, and there’s bold pilots, but there ain’t no old and bold pilots.” Meaning I’m stopping in Anchorage tonight. (More soon.)

3) So ... I was trying to get to Seward tonight, but got stuck in a steep, icy parking lot in Wasilla for a while. I finally decided to drive-slide the car to the edge of the parking lot where there was a small strip of frozen dirt and grass that went up the side of the hill. I got the tires on the right side of the car on that strip, built up as much speed as I could, and finally got my car up the hill. It took more than an hour to get out of there. After that I tried even harder to find tire chains but could not, so I decided to stop in Anchorage. They started the fireworks at 5pm (because of the whole darkness thing), and various shows went on all night, which was a really cool way to spend the evening.

“The greatest source of happiness is the ability to be grateful at all times.”

~ Zig Ziglar (and many others)

The greatest source of happiness is ...

It’s super-early in the process, but the Second Edition of the Scala Cookbook is slowly coming to life. I’m currently updating all of the content for Scala 2.13, and when the book is finished it will be updated for Scala 3.

This morning (January 28, 2020) the folks at O’Reilly released the first two chapters of the new, updated book on the O’Reilly Learning Platform. If you have an O’Reilly account you can start reading the new chapters here. If not, you can view the catalog page here.

Scala Cookbook, 2nd Edition

fastcompany.com shared this advice that Michael Jackson gave to a young Kobe Bryant back in 1998.

Michael Jackson's advice to Kobe Bryant

While many people will remember January 26, 2020, as the day Kobe Bryant died in a helicopter accident, I’ll also remember it as the first day I was able to sit down in five weeks following the Angiogram procedure. I still couldn’t sit long, maybe ninety minutes total before the pain kicked in, but that alone was nice.

When training an adult polar bear, it’s important to let their cub eat on your leg.

(I don’t remember the original source of this photo.)

Training polar bears

Thanks to the angiogram, I haven’t been able to sit down for over a month. These days when I work, I either (a) read things while laying flat on my back in bed, or write while I’m standing up at this makeshift workspace in my apartment.

My “standing up” workspace

Dateline January 25, 2011, Palmer, Alaska: “Recent deaths here: Hitting a moose; Avoiding hitting a moose; Snowmobile (snowmachine) into telephone pole; Exposure walking home from school; Neighbor shoots neighbor. It's been a busy two days.”

I had to get away from it for a while, so I forgot how good the book Right Concentration: A Practical Guide to the Jhanas is. I tend to be more interested in the science behind mindfulness and meditation (as opposed to specific religions and their rituals), and as a result, from my own practice I can confirm the last sentence in this paragraph from that book. (See the attached image.)

Depending on the day, and especially the time of day, the first 5-10 minutes of any meditation session are the hardest for me, because it takes a while to get my mind to settle down. Since I learned this practice, I do settle down more quickly.

Gratitude helps shut down distractions during meditation

As you progress in your meditation practice, the use of mantra(s) is a powerful way to stay focused all day.

The great meditators use mantras

I recall reading that Ram Dass said that even when he is speaking or listening to others, that in the background his mantra is always running in his head: “Ram ... Ram ... Ram.”

In the excellent book, Practicing the Jhanas, I throughout your day that you constantly remember to bring your attention back to the Anapana spot, a spot just under your nose.

A short chapter on "metaphor", from the terrific book, Zen Master Raven.

There will be auditions again tonight. ;)

Metaphor, from Zen Master Raven

Here’s a photo from Virginia Beach at sunrise in late May, 2019. I used a dark black and white filter when taking the photo, but everything else is natural.

Sunrise at Virginia Beach, May, 2019

This is a cartoonize’d version of Yoda on Luke Skywalker’s back during Luke’s initial training in the swamp. To create it, I found the original movie image with a Google search, opened the image in Gimp, then worked back and forth with a Cartoonized plugin effect, the Beautify options, and the Artistic/Oilify effect. I can do a lot better than this, but for the purposes of this example, I created this cartoon image in less than five minutes. Given more time, I would clean up Yoda quite a bit before using the Cartoonize effect.

I’ve used Gimp to create almost 2,000 images that I use with the Mac screensaver “rotate images” feature, and this is the latest addition.

(Click the image to see the full-size, 1200x600 pixel image.)

Cartoon of Yoda on Luke Skywalker's back

In case you were worried about Luke falling in The Empire Strikes Back. (From this collection of 66 behind the scenes photos.)

In case you were worried about Luke Skywalker falling

I’ve been listening to the song Guilty by Barbra Streisand and Barry Gibb lately, and it reminds me that when you first start meditating there can be a lot of guilt associated with attempting to meditate. Various thoughts include:

  • This is dumb
  • This is a waste of time
  • I’m not getting anywhere
  • I should be doing [fill-in-the-blank]

These thoughts can last a long time, until that one day that your meditation finds your groove, all of the “mind noise” goes away, and you think, “I could do this for the rest of my life.”

So today’s thought is one of persistence: If some part of you finds yourself wanting to meditate, there might just be some voice hidden deep in your mind wanting this. So vow to keep working at it until that one day when you find the sweet spot and then think, “I could do this for the rest of my life.”

January 22, 2020: Good news, today is the first day I have been able to sit down without pain since December 23 of last year. For whatever reason it has taken the Angio-Seal in my leg this long to heal. But yesterday and today were the first days I have been almost 100% pain-free while standing, and so far I’ve been able to sit down for a little while, which is a very nice feeling. :)