I normally don’t like to have sales on my books, but the short story is that the PDF version of Functional Programming, Simplified is currently on sale for $15.
And the Earth just keeps getting hotter ... the image comes from this tweet.
As a brief note to self, if you ever want to write some code using Scala that recursively descends through a directory tree, here’s a solution that uses the Java
Files.walkFileTree method. First, here’s a skeleton class for the
SimpleFileVisitor part of the solution:
“She seduced me with baked goods.”
~ Walter talking about Fauxlivia (alternate universe Olivia) on Fringe
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.)
Create a Dotty project:
sbt new lampepfl/dotty.g8
Launch VS Code inside that project directory, with Dotty support:
Start SBT as usual:
Those notes are just a reminder for myself, but hopefully they’ll also help others work with Dotty, SBT, and VS Code.
Dear Amazon: If the Kindle Paperwhite supported ePub books I would buy one, but without that support it’s kind of useless to me.
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.
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.”
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.