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

Some interesting comments from former Federal Reserve Chairman Paul Volcker in this article:

“We’re in a hell of a mess in every direction,” Volcker told the Times. “Respect for government, respect for the Supreme Court, respect for the president, it’s all gone. Even respect for the Federal Reserve. And it’s really bad. At least the military still has all the respect. But I don’t know, how can you run a democracy when nobody believes in the leadership of the country?”

“The central issue is we’re developing into a plutocracy,” Volcker told the Times. “We’ve got an enormous number of enormously rich people that have convinced themselves that they’re rich because they’re smart and constructive. And they don’t like government, and they don’t like to pay taxes.”

November 20, 2015: The photo (from the Denver Post) tells the story.

Big, aggressive cow shuts down traffic near Golden, CO

With the Dotty compiler you can convert Scala 2 code to the new Scala 3 syntax, and with the Dotty 0.20.0-RC1 release on November 4, 2019, I thought I’d see how some of the conversions work. Almost all of the changes shown below have to do with the elimination of curly braces and the use of “significant indentation” syntax, but in one example I also show the then and do keywords.

Just a few months before he died, a nice man who worked at the local Walmart shared this story this morning while I was checking out:

“You know, I’ve been married 54 years.”

[long pause. you can tell he’s thinking about something.]

“One time, a long time ago, I was sitting on the couch, watching tv, and I could feel her staring at me. I mean I could just feel it. So I turned and looked at her and said, ‘What?’”

“She said, ‘You know what.’ I said, ‘No, I don’t.’ She just got up and walked away.”

“You know, to this day I still have no idea what I did.”

[long pause]

“I think sometimes in a relationship you just have to say, ‘I’m sorry,’ even if you don’t know exactly what you did or didn’t do.”

In the ancient Sanskrit language, the word “dakini” can be interpreted as a female embodiment of enlightenment, an outstanding female practitioner in yoga and meditation.

In Tibet, the word for dakini is “khadroma,” and it literally means “female sky-traveler.”

This is a good espn.com article about John Elway. This is my favorite quote regarding programming and running a business: “He based his approach to scouting on Jack’s golden rule: ‘Look for heart first.’”

Whenever I have a bad allergic reaction to something, I’m glad that my throat doesn’t close. It did that one time in Alaska before anyone knew anything about mast cell disease, and I was fortunate to survive that one. It’s a strange feeling to feel your neck/throat rapidly swelling and closing around your trachea. (I always keep at least one bottle of liquid Benadryl around for times like this.)

WARNING: Chest pain can be a serious life or death matter. If you’re experiencing chest pain right now, don’t waste any time reading this article — get yourself to a hospital.

Initial signs and symptoms of my pericarditis

On Sunday, November 3, 2019, I had just finished lunch, looked at the clock, and saw that I could fit in about an hour of work before the Denver Broncos game started. Despite Denver’s 2-6 record, I was looking forward to see how Broncos’ quarterback Brandon Allen would do in his first career start following Joe Flacco’s neck injury.

A minute later I had severe chest pain. The pain wasn’t in the middle of my chest, but it was on the left side of the left chest/breast area. To the best of my memory, I went from feeling perfectly fine to having severe pain in a matter of moments; there was no other warning.

If you’re interested, you can listen to one of my favorite songs, Temporal Dominoes, by Marian Call, at this bandcamp.com link. I first heard of Ms. Call when I lived in Alaska, and she performed at Vagabond Blues in Palmer, Alaska. This song and another one she created called Anchorage are two of my favorite songs that I first heard in 2014. (Temporal Dominoes is very upbeat, Anchorage is more mellow, but I like them both.)

Temporal Dominoes, by Marian Call

“Programming is like this amazing puzzle game, where the puzzles are created by your own stupidity.” It feels like that sometimes. (Image from Rich Rogers on Twitter. Quote attributed to BradOFarrell.)

Programming is like this amazing puzzle game

These “You are sweeter than bee vomit” cards are one of my all-time favorites.

You are sweeter than bee vomit

“Treat your code like poetry and take it to the edge of the bare minimum.”
~ ILYO

“I have learned magnitudes more from code I have maintained over code I have written from scratch.”
~ Viktor Klang, in this tweet

I have no idea who or what ILYO is, but I like the “poetry” part, and dislike the “bare minimum” part. As the second quote implies, code should be written so you can read it a year or two from now.

“Giving up hope is encouragement to stick with yourself, to make friends with yourself, to not run away from yourself, to return to the bare bones, no matter what’s going on. Fear of death is the background of the whole thing. It’s why we feel restless, why we panic, why there’s anxiety. But if we totally experience hopelessness, giving up all hope of alternatives to the present moment, we can have a joyful relationship with our lives, an honest, direct relationship, one that no longer ignores the reality of impermanence and death.”

~ from the Pema Chodron book, When Things Fall Apart

I have gone through some health issues, for sure, but I always feel much worse when I see little children in the hospital fighting some illness or disease. Seeing that breaks my heart, and I have nothing but love and respect for those kids and all of the medical professionals that help them.

And as I was writing that, I received an email about Marybeth Hoffman, who has gone through 132 rounds of chemo to fight pancreatic cancer. Anything I have gone through pales in comparison to what many other people have to deal with.

132 rounds of chemo

On Sunday, November 3, 2019, I had just finished lunch, looked at the clock, and saw that I could fit in about an hour of work before the Broncos game started. I was looking forward to see how Broncos’ quarterback Brandon Allen would do in his first career start.

A minute later I had severe chest pain. At first I thought I was having an allergic reaction to lunch — Wolfgang Puck’s potato soup, which I’ll never eat again — but I quickly realized it was something heart-related.

So I eventually got myself to the hospital. Because of the way the pain instantly came on I was guessing blood clot, but the doctors think it’s something called Pericarditis, as explained in this image.

(The last song I heard before going into the hospital was Someone Saved My Life Tonight, and while the lyrics don’t fit the event, I was hoping the title would be a good match.)

Pericarditis - details from the hospital

I like these White Doe Prints, which I just found on Amazon back in 2016. Unfortunately Amazon won’t let me add the prints to my wish list, so I’m linking to them from here.

White Doe Prints (on Amazon)

This is a nice photo of Zach Greinke’s changeup grip when he pitched for the Dodgers. I never did master the changeup before I hurt my arm, but in retrospect I wish I had learned how to throw it when I learned how to throw a curve. My ERA my junior season (before the injuries started) was 1.00, and I have no doubt it would have been 1/2 of that if I had known how to throw one. (I don’t remember where I got this image, but it was probably espn.com.)

There’s an important lesson here about (a) role models and (b) expanding your horizons that I need to write up at some point, but the short story is that Cubs pitchers at the time threw fastballs, curves, and splitters, so as a teenager that’s what I threw.

Zach Greinke’s changeup grip

Back in 2016, Hit 105 on Facebook posted a series of funny “Shane” whiteboard signs like this. Apparently Shane also tends to send customers to other stores, and asks customers if this is their “final answer” when they place an order (at which point he lets them phone a friend).

Funny Shane signs

I don’t know where this originated, but I just saw it on a friend’s Facebook feed. Nothing like Java humor. :)

IT guy: I have successfully installed Java

My favorite Midsomer Murders episode is ... one that nobody else has ever seen. It keeps coming to me in a recurring dream. There’s something to do with a warm swimming pool, then Ben Jones is undercover, with a beard, dark/dirty skin, and unkempt hair. Then a group of people get in the back of a large car, including Jones, Tom Barnaby, and me. (It’s nice to be in the middle of an episode). It must be something like the back of a limousine, because there are five or six of us sitting in two rows, looking at each other and talking.

A little later there’s something about an oriental woman and some gold. Near the end of the episode Tom starts singing, and he sounds really good, but the group can’t get funding for what they’re doing, presumably putting on some kind of show, but a famous woman helps them out, something to do with a commercial. Cully is involved around this time, and there’s also a black bear named William Hanks (I don’t know where that came from). Joyce is involved at several points, especially the end, and fortunately she doesn’t cook anything. :)

At the end of the episode Tom is sitting in a chair, and I’m standing on his left and Joyce is standing on his right. I say to them, “This is the best episode ever, it’s much more of a movie than an episode.” Joyce agrees, and Tom doesn’t say anything, but sits there with a satisfied smile.

I’ve had this dream at least twice so far, and I look forward to seeing it again the next time it’s on. :)