2019

The Earth keeps getting hotter alvin December 7, 2019 - 3:32pm

And the Earth just keeps getting hotter ... the image comes from this tweet.

Song of the Day: Never Surrender, by Corey Hart

So if you’re lost and on your own
You can never surrender
And if your path won’t lead you home
You can never surrender
And when the night is cold and dark
You can see, you can see light
Cause no one can take away your right
To fight and to never surrender

(Lyrics from the song Never Surrender, by Corey Hart. It was popular during my college bartending days, which was also a peak time for MTV and music videos.)

Never Surrender, by Corey Hart

Notes on using Dotty (Scala 3), SBT, and VS Code together

As a note to self, here are some ways to work with Dotty (Scala 3), SBT, and VS Code (Visual Studio Code).

Create a Dotty project:

sbt new lampepfl/dotty.g8

Launch VS Code inside that project directory, with Dotty support:

sbt launchIDE

Start SBT as usual:

sbt

Those notes are just a reminder for myself, but hopefully they’ll also help others work with Dotty, SBT, and VS Code.

Facebook deleted the “Lists (of friends)” link alvin December 1, 2019 - 12:22pm

When I use Facebook, I like to use lists to group people that I know, friends, relatives, people from different states, etc. But on Thanksgiving, or maybe the day before, Facebook deleted the “Lists” link from their web app. It used to be with this group of links. I don’t use their app on my phone, so it’s pretty crazy that they removed this.

So, dear friends, if I don’t see and like your stuff, it’s not my fault. I’m sure not going to type in the name of each friend to see if they posted anything.

A holiday love story

When I was in the hospital in Boulder, Colorado with the heart problem a few weeks ago, I asked a nurse about my cardiologist. I knew he had retired, but didn’t know why. “He’s 68 years old,” she said, “and he wants to spend more time with his girlfriend, who lives in Chicago.”

#HolidayLoveStory

The “Hello, Scala” paperback is just $10

November 29, 2019: A few days ago I made the PDF version of “Hello, Scala” free, and today I made the paperback version of “Hello, Scala” available again, and reduced it’s price from $20 to just $10. Click the image below to buy the book on Amazon.

As I’ve noted before, the contents of this book are being updated and improved, and in the future it will be available as Scala Book. The HTML version of those contents are currently available on the docs.scala-lang.org site.

Knowing the word ‘pericardium’ from a dream

The more I thought about it, the more I thought that the word pericarditis sounded familiar, so I searched an electronic diary I used to keep and found this entry from January 3, 2008:

“I don’t remember the whole dream, just the very end, where I woke up with the word ‘pericardium’ in my brain. There’s nothing too peculiar about this except for one detail: I don’t remember ever hearing that word before in my life.”

“Later in the morning I looked it up online to see if I made it up, and it is indeed a real word. Even cooler is that it’s related to the chest/heart, where my niece hit me. Wikipedia says it is ‘a double-walled sac that contains the heart and the roots of the great vessels.’”

“I'm not saying that I've never heard this word before, only that I can't consciously recall hearing it before, and I had to try several spellings before I got it right. What I’m saying is that my conscious mind didn’t know the word, but my dreaming mind did.”

The dreaming mind and subconscious in general fascinates me.