Alvin Alexander | Java, Scala, Unix, Perl, Mac OS X

Chicago’s Hamilton cast performs “Go Cubs Go”:

The last line in that image is amazing/sad: “None of Apple’s newest laptops can connect to its own flagship smartphones without using a dongle or purchasing a separate cable that doesn’t otherwise ship with any of Apple’s hardware.”

Apple, a dongle company

Summary: This tutorial demonstrates how to fire MacOS system notifications with AppleScript (and Scala or Java).

In this article I assume that you already know at least a little bit about how to use AppleScript, and just want to know how to trigger a MacOS notification. At the end of the tutorial I show how to invoke the AppleScript code using Scala and Java.

“If you have four more years or four more weeks, you’re here right now ... I think when you’re somewhere, you ought to be there, because it’s not about how long you stay in a place, it’s what you do while you’re there, and when you go, is that place any better for your having been there?”

Chris Stevens, KBHR radio, Northern Exposure

On November 2, 2016, the Chicago Cubs beat the Cleveland Indians in Game 7 of the 2016 World Series by the score of 8-7 in ten innings. Ahh ... it feels good to say that.

Cubs beat the Indians in Game 7 of the 2016 World Series

I now enter the next phase of my Scala Cookbook project, known as, “Good God, what happened to this apartment while I was writing that book?!”

Alphabet recently authorized another large stock buyback. Like Google’s previous stock repurchase program, the quantity is a little geeky. :)

Alphabet/Google's geeky stock buybacks

“If I had asked people what they wanted, they would have said, ‘Faster horses.’” ~ Henry Ford

I think of this quote when I see both good and bad design. Some people build/design faster horses, others invent cars.

Henry Ford: Faster horses

The crazy thing about moving so many times is that I just had to go outside to see what apartment number I live in, so I could order something from Amazon.

A day late for Halloween, but still good for stats geeks.

Paranormal distribution

“I need to buy some warmer everything.”

Starbucks provides an important lesson about making sure you think about all of your design use cases.

Starbucks design

How to act, by Steven Seagal. :)

Steven Seagal

This is a fake oil painting of Aroldis Chapman taking the ball in the 7th inning of Game 5 of the 2016 World Series against the Cleveland Indians.

Aroldis Chapman takes the ball in Game 5

Even on Halloween, remember to shop local. :)

Even on Halloween, remember to shop local.

“A month ago I went on a juice cleanse. You know what it cleans out of you best? The will to live.”

Here’s a little more discussion from this Twitter thread about why developers don’t like Apple’s latest laptop design.

Mac exodus, part 2

I haven’t been blown away by MacOS (nee OS X) in quite some time, and the latest MacBook design seems to have annoyed even more developers. A good thing about this is that it got me looking into Qubes OS, “a reasonably secure operating system.”

Apple’s philosophy of “we design the hardware and software” works well when people like your work, but when people don’t like your design it’s easy to lose customers.

Mac exodus?

Back in 1983 I had a 1972 Ford Maverick with 125,000 miles on it. I bought it for $325, and with no gap in its corroded spark plugs it ran cool and got 31 miles per gallon. It only had an AM radio in it, and as a result of that I learned about the song “Pancho & Lefty,” performed by Willie Nelson and Merle Haggard.

It turns out that Townes Van Zandt is the writer of that song, and in this video he tells about how Billy Graham and the Maharaji helped Pancho & Lefty come into being: