november

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.

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.

A sign at the Mat-Su Regional hospital in Alaska alvin November 27, 2019 - 8:33am

This is a photo of a sign at the Mat-Su Regional hospital in Alaska back in 2010. A nurse there told me that if I could read it, I was healthy enough to go home. :)

“You’re Matt?”

Last night I counted 17 dreams that happened or attempted to happen, and I know there were many more that I wasn’t lucid for. An interesting thing about being aware of my dreams is that I know how they affect me, i.e., whether they make me happy, sad, whatever. I always wonder if other people can’t remember their dreams, and if that’s where the saying “got out of the wrong side of the bed” comes from, meaning that they had a dream or series of dreams overnight that triggered them in a certain way.

I was about to get out of bed this morning when another dream started, so I let it play out to see what was going to happen. At first I was working with a man and a woman at some company, and we couldn’t figure out how something was supposed to work. Then the woman and I ended up making out in a car outside the building. After that, she and I were goofing around at some sort of amusement park. I was in a swimming pool, holding some sort of swim/water-related device I had just broken, and decided I had had enough of the dream, so I was about to wake myself up.

“Hello, Scala” PDF is now free

November 26, 2019: The PDF version of my book “Hello, Scala” is now free, and you can download it by clicking on the image below.

Future “updated and improved” versions of the book are being released as Scala Book. Currently an HTML version of the book is available here on the scala-lang.org website, and we’ll have PDF, MOBI, and ePub versions of that available once the creation process is automated and a few other issues are resolved.

But for now, click on the image below if you’d like to download the PDF of Hello, Scala for free:

Hello, Scala PDF

To be a programmer is to develop a carefully managed relationship with error

“To be a programmer is to develop a carefully managed relationship with error. There’s no getting around it. You either make your accommodations with failure, or the work will become intolerable.”

~ Ellen Ullman (via this tweet)

This quote makes me think of all those years of exception-handling with Java. I never knew there was a better way to handle errors, so I developed a strategy of letting my exceptions bubble up to the controller level (as in model/view/controller), where I would deal with them. These days I know I can use Option/Some/None in Scala, as well as Try/Success/Failure.

A possible result could be catastrophic

I was talking to a doctor yesterday about Pericarditis and he said that one possible result could be catastrophic. I was well aware of that possibility, but I thought it was an unusual word for a doctor to use.

That being said, it does sound more powerful than you could die. A lot of people say, “You could die doing <fill in the blank>,” so maybe that phrase has lost some power, where “catastrophic” isn’t used that often to talk about one’s health.