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

Apparently my lasting memory of moving out of my apartment in Broomfield, Colorado in September, 2020, is going to be getting stung by a bee when I walked into the local Walmart for the last time. Both a guy pushing carts and I saw something fly directly into my chest, but neither of us could figure out what it was. About thirty seconds later the bee stung me at this point in my arm.

Getting stung by a bee can be kind of a big deal to someone with mast cell disease (MCAS), so I walked over to the pharmacy and got a bottle of liquid Benadryl and some Zyrtec, and swallowed the pills with the Benadryl. A helpful pharmacist also had an EpiPen on standby for me if I needed it.

I don’t know how “normal” people react to bee stings, but this photo was taken almost five days after the sting.

Five days after a bee sting

While I’m sharing photos of Siberian Huskies I’ve known and loved, here’s one of Rocky working on a bone. My wife originally found him stuck in a cinder block in Virginia when he was 12-18” long, and he became the first husky we’d know. He became famous for destroying furniture, howling, and running around saying words like “Oprah” and “Geraldo.”

Rocky and a bone

This short video on Twitter shows the depth of the “front range” of the Rocky Mountains here around Denver and Boulder, Colorado. When you look at them from the ground you can’t get that depth perspective, so this is really a great view.

Depth of the Rocky Mountains front range

Remember when we was on ice skates,
And I thought you was supposed to be great,
So I kept giving you lip,
And you kept trying to slip,
So I could catch you.

That was our first date,
And after that,
Every day was great.

So now I want you to know,
That wherever you go,
Atlantic City or in the snow,
Don’t worry about a thing,
’cause as long as I got this ring,
I’ll always be there to catch you.

~ Rocky’s poem to Adrian in Rocky II

September 18, 2020: Apparently my lasting memory of the Walmart near Apartment #1 is going to be getting stung by a bee.

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