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

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

I just ran across this photo of my old-old apartment in Broomfield. I liked using a shoji screen to add a temporary “wall” in different spaces, and I used to keep Christmas lights going for most of the winter evenings, as shown.

Shoji screen in my apartment

Found this 1986 Texas A&M Aerospace Engineering poster in a tube in a closet. Amazing what you find when you’re moving.

Space Shuttle poster, circa ~1986

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

If you know where to look, you too can find this 12,005’ altitude sign in Rocky Mountain National Park (RMNP), in the Estes Park, Colorado area.

12,000 feet up in Rocky Mountain National Park (Estes Park area)

“Never be a prisoner of your past. It was a lesson, not a life sentence.”

~ possibly from Anna Grace Taylor

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.

When I found that Texas A&M Aerospace Engineering poster, I also found this “Anytime, Baby” poster. I’m 98% certain that I got it at Virginia Beach, probably in 1989.

Anytime, Baby poster

A rainbow over the hill, off the Dalton Highway, Alaska. (On the drive north to Deadhouse and Prudhoe Bay.)

A rainbow over the hill, off the Dalton Highway, Alaska

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)

My book, Functional Programming, Simplified — 4.5-star rated on Amazon, and their 6th-best selling functional programming book — is currently on sale in three formats:

PDF Format
Just $15 on
(December sale!)

PDF version of Functional Programming, Simplified

Paperback Book
$39.99 on Amazon

Print version of Functional Programming, Simplified

Kindle eBook
$14.99 on Amazon

Kindle version of Functional Programming, Simplified

“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