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

We had some incredibly high winds here a couple of days ago, about 45 mph sustained with gusts around 75-90 mph. I woke up yesterday morning to find tumbleweed stacked up against my car, and many other cars in the apartment complex parking lot.

Summary: This article provides definitions and descriptions of the Java stack and heap.

I just read a couple of emails about the concepts of a Java stack and heap, and thinking that their descriptions weren’t exactly right, I decided to do a little research. There’s no better source than the source, so directly from Oracle’s Java website, here are definitions for the Java stack and Java heap.

Back when I was studying Zen, I ran across the television series, Life. The first episode is almost perfect; this is a 40-second clip from it:

It’s so windy here, I woke up at 1am, and haven’t been back to sleep since then. With gusts up to 75-90 mph, this has been a bumpier ride than any airplane ride I’ve ever been on.

Somehow I didn’t know about Six Books of Euclid until last night. I went to a meetup in Boulder where startup entrepreneurs introduce themselves to developers, and met some really interesting people, one of whom told me about this book.

I ran across this book at a bookstore in Boulder last night, and just added it to my Amazon Wish List: The Best Science Writing Online, 2012. (There are quite a few books with similar titles.)

Word is that Jonathan Ive designed this camera. More photos and the story at this URL.

75-90 mph winds in Anchorage, Alaska. I remember that weather. We had six weeks of it one winter when I lived in Palmer, Alaska.

A reception for time travelers. Be there if you can. ;)

Great writing, from an old episode of Moonlighting.

For a long time I've read that you could use your Apple/Mac keyboard to access the menubar on MacOS systems using the [Control][F2] keystroke. That never actually worked, so I logically assumed that everyone else was insane.

Well, it turns out that what really happened is that silly me was using Apple keyboards ... and as I was trying to figure this out again today, I looked over at that [fn] key on the keyboard, and thought, "No, surely I wouldn't have to press that too ..."

Major bummer: I just got an “iPhone could not be updated” error message when trying to update/upgrade from iOS 7.0 to 7.0.2. Since that failed, the iPhone now has to be “restored”.

As more of a “note to self” than an exact solution, here’s what I think I did to get the Sencha Touch iOS 7 theme (“Cupertino”) working in my Sencha Touch 2.3 mobile app.

First, I added the Cupertino stylesheet, font, and image stuff to my project’s resources directory:

./resources/themes/images/cupertino
./resources/themes/stylesheets/sencha-touch/cupertino

Next, I added this line to my index.html file:

I often work with multiple Mac Terminal tabs open, and as a result I like to set the title in the titlebar to whatever I’m working on in each tab (such as “MONGO” or “PLAY”), so I wrote a little script named settitle to let me set the title in the titlebar from the Unix command line.

More recently I realized I was often setting the title to the uppercase version of the current directory. I came up with this command pipeline (I like to call them “mashups”) to do easily do that: