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

I’ve had these computer Christmas lights going for a while now, and tonight I’ll put up the others. I don’t know what it is about them, but when it starts to get dark I like a little color in the evening.

FWIW, if you’re interested in Christmas lights like these you can buy a similar strand here on Amazon, or look at a list of them here.

USB/computer-powered Christmas lights

Had a talk with a doctor this morning about autoimmune diets, statins, apples, water tables in Mexico, almonds, bees, Zen, quality of life, and death. Good stuff.

I took this photo in Estes Park, Colorado, either in September of 2018 or 2019.

A cloudy day at Estes Park

If you ever visit the Boulder, Colorado area you’ll hear of the “flatirons.” Many stores and businesses are named after them. This is them.

The flatirons, Boulder, Colorado

These are the “Defining Principles” for the Bazel documentation, from the Bazel docs style guide:

  • Concise. Use as few words as possible.
  • Clear. Use plain language. Write without jargon for a fifth-grade reading level.
  • Consistent. Use the same words or phrases for repeated concepts throughout the docs.
  • Correct. Write in a way where the content stays correct for as long as possible by avoiding time-based information and promises for the future.

As technical writing goes, those are some smart ideas. Some time after I created this website I learned, “Anything I write here I have to maintain,” and it turns out that’s a lot of work.

In the interest of truth and honesty in politics, the full context of the Joe Biden quote, “You won’t be safe in Joe Biden’s America,” is this:

“Since they have no agenda or vision for a second term, Trump and Pence are running on this, and I find it fascinating: ‘You won’t be safe in Joe Biden’s America.’ And what’s their proof? The violence we’re seeing in Donald Trump’s America.”

I really despise all of the lying in current American politics, so I wanted to share that “fact check.” You can find this full, accurate quote on the Daily Mail and many other websites.

Registered for gas and electric yesterday in the new town I’ll be living in, about 60 miles south of Wyoming.

Reminded me of moving to the cabin in Talkeetna and trying to figure out where I had to register for everything then. (Turned out it was all an hour south with the MEA and MTA in Wasilla and Palmer.)

Way back in the day — in the days that were mostly before Linux — I did some work with the Santa Cruz Operation, which was known as SCO. When I moved to Louisville, Kentucky in the 1990s, I went from working on Unix systems from IBM, DEC, and SGI to working on SCO Xenix systems. Because of that business I eventually became an SCO-authorized instructor.

One lasting token of that relationship is this SCO clock. I always liked their tree logo, so I’ve kept the clock all these years, but as I was packing a little today, I don’t know if it’s going to make the next move with me, or not.

The old SCO (Santa Cruz Operation) clock

I realized today that most of my nieces don’t know me as the guy who co-founded a successful small business. (Back in the day we had 15 employees, five contractors, revenue of almost $2M and profit of $400-500K.) Instead, they know me as the uncle that moved to Alaska, has a rare blood disease, and writes books.

I was just reminded when reading this article that you have to use three % symbols when adding Scala.js and Scala-Native library dependencies in sbt. Specifically you’ll find that this libraryDependencies line does not work for adding a Scala.js and Scala-Native library dependency:

"com.github.scopt" %% "scopt" % "3.6.0"       // ERROR, DOESN’T WORK

This is the correct sbt syntax for Scala.js and Scala-Native libraries:

+= "com.github.scopt" %%% "scopt" % "3.6.0"   // WORKS
                      ---

As the author of that article notes, this syntax is equivalent to this build.sbt line:

"com.github.scopt" % "scopt_native0.2_2.11" % "3.6.0"
                      --------------------

Again I underlined the relevant syntax in that example.

If you’re trying to add a Scala.js or Scala-Native library dependency to an sbt build.sbt file, I hope this example is helpful.

Zachary: I ran into one of my brother’s work buddies, he introduced me to Tai Chi. It saved me.

Longmire: How so?

Zachary: I like to put it like this ... I went to church a lot as a kid, and we were always taught to love our enemies. Tai Chi taught me something new — to love the enemy inside me, as well. So I don’t look at peace as the absence of conflict any more. I see it as the acceptance of conflict.

(From the tv series Longmire)

“Whoever knowingly and willfully obstructs or retards the passage of the mail, or any carrier or conveyance carrying the mail, shall be fined under this title or imprisoned not more than six months, or both.”

~ from this Cornell University Law School page

When I went through the process of renewing my passport yesterday I was reminded that once upon a time I had Canadian auto insurance.

My Canadian auto insurance

Four kidney stones, lined up in a row next to the ureter stent.

Four stones

I can confirm that it’s hard to stay upright when your blood pressure gets too low.

Hard to stay upright without blood pressure

Tonight’s brown sunlight, thanks to some wildfires in the Rocky Mountains west and south of Boulder, Colorado.

Brown sunlight (Colorado rockies wildfires)

Per this tweet, Anchorage, Alaska has had 110 thunderstorms in 105 years.

110 thunderstorms in 105 years

Enjoyed Cowboys and Aliens at Wasilla’s fancy new stadium seating movie theater. How strange to walk out of a theater and into a valley of fireweed surrounded by misty mountains.

(A Facebook post from Wasilla, Alaska, August 9, 2011.)

Dan Rose put a nice story on Twitter about Jeff Bezos and the invention of the Amazon Kindle.

Jeff Bezos and the invention of the Amazon Kindle