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

As a brief update, surgical procedure #1 of July, 2020 will be taking place this Wednesday (the 15th), so you may not hear from me for a few days.

This is a simulated oil painting I created from a photo I took in Alaska. I don’t remember the exact location, but it’s on the road to Talkeetna, probably between Willow and Talkeetna.

The road to Talkeetna, Alaska (oil painting from photo)

I was just doing some work on my One Man’s Alaska website, and noticed that hundreds of people every month visit my page about Zeus over there. He was a very special dog, and I’m glad if more people can learn about him, and the effect that an animal can have on a person’s life.

Zeus

In 1971 — years before Jaws and Close Encounters — Steven Spielberg directed the first episode of the Columbo tv series. In 1974 they paid this little homage to him: Stephen Spelberg, “boy genius.” Here’s a link to that Columbo episode. I assume that Marshall Cahill in that episode is a not-so-subtle reference to a John Wayne movie from the previous year.

Steven Spielberg (Spelberg) and Columbo

The Buddha Board is a nice gift idea for the Zen person in your life. You paint on it with water, the painting appears, and then disappears as it dries, helping to demonstrate the Zen/Buddhist concept of impermanence, among other things.

Buddha Board, gift for the Zen friend

Sadly, cases of COVID-19 are sharply on the rise in Colorado. I know that MANY people at my apartment complex don’t wear masks as they walk around, swim in the pool, and exercise, so this isn’t a huge surprise.

Up to date data about COVID-19 in Colorado can be found at this page.

COVID-19 are sharply on the rise in Colorado

In this article I’ll take a look at creating Scala 3 inline methods.

Background

First, from the Scala documentation: “inline is a new soft modifier that guarantees that a definition will be inlined at the point of use.” This is different than the Scala 2 inline annotation, which notes, “An annotation for methods that the optimizer should inline ... If inlining is not possible, for example because the method is not final, an optimizer warning will be issued.”

As I’m packing to move soon, this photo shows ~1/2 of my medical records/bills, primarily from 2013-17. I hope you never have a health problem like what I went through, but an important “lesson learned” is that there are specialists and then there are specialists.

The short story goes like this: My PCP sent me to an endocrinologist who ran a bunch of blood tests and three MRIs (including one MRI just four days after an angiogram, and walking immediately after an angiogram hurts like a son of a gun), looking for a rare and potentially tumor (a paraganglioma or pheochromocytoma, which have a 10% mortality rate).

What four years of medical bills looks like

I was laying in bed last night, and knew I was close to falling asleep. Then I realized I could hear myself snoring. “How strange,” I thought, “my head is snoring, but I’m right here.” Then I realized that “I” was actually centered in my chest, and I couldn’t feel my head.

I was laying on my left side in bed, and had my left arm and hand folded up against my chest. I realized I could move my arm and my legs, but I had no connection to my head. As I did this I heard the head snore again. I couldn’t hear it through my ears, but I could hear it. So then I waited and listened, and I realized the time in between snores was very long, maybe somewhere in the 10-20 second time range.

I did some things in Alaska before where I used yoga techniques to very slowly fall asleep, and I was able to stay awake while my sense of hearing and sense of touch went away, but I’ve never had part of my body fall asleep while the rest of it was awake. How strange, indeed.

Coming from a family of lucid dreamers and sleepwalkers, this is funny.

Dick Van Dyke Show: Stacey sleepwalking

With the exception of our first dog, my wife and I always had Siberian Huskies. I can tell you firsthand that they like bones, big bones.

A Siberian Husky and a large bone

In honor of watching a Sherlock Holmes episode last night (the Jeremy Brett version).

Sherlock Holmes: To a great mind, nothing is little

This photo is from the Talkeetna Air Taxi Facebook page. I used to live about 100 yards from where this photo was taken.

Talkeetna, Alaska, in the early winter

I was just looking at this iMac design page, and saw this nice graphic on, “The evolution of iMac.” Makes for a nice retrospective.

The evolution of the iMac

If you ever watched the tv show Northern Exposure, you might find this funny. It’s from the episode where Chris faces an extradition trial, and Mike uses an “identity” defense (“This Chris Stevens is not the same Christ Stevens that left West Virginia ...”).

NX was the first show I can recall that got me interested in Alaska, and philosophy.

Do you have any idea what you're going to say?

A good quote from Harold Ramis about the characters in his movies.

Harold Ramis: “My characters are rebels”

During a summer many, many moons ago, I helped to build the bookshelves (“stacks”) in a library at Texas A&M University. I don’t remember its name, but the building was related to the animal/veterinary sciences program there.

My lasting memory of that project is that one of my coworkers would sing this song every day, “Hush, hush, keep it down now, voices carry.”

Hush, hush, voices carry

“When the soul becomes the warrior, all fear melts, as the snowflake that falls upon your hand.”

~ from the Kung Fu tv series

I don’t know if Twin Peaks ever makes me laugh, but it often makes me smile.

Twin Peaks' cherry pie