I noticed recently that a Scala/Java Swing application I am developing on Mac OS X 10.9 has blurry text when it’s run as a Mac application. The text looks fine when I run the application through SBT, but looks blurry when I package it and run it as a Mac OS X application.

A solution is to put this text in the application’s Info.plist file:

The goal of serving mankind is a noble one. Unless, of course, it happens to be in a Twilight Zone episode. ;)

I just ran across this old Facebook post, from a trip I made to Virginia last year.

When you get into learning about dividend investing, you’ll eventually learn about the DRiP list, maintained by Dave Fish.

In honor of having more snow across the United States in mid-April.

There are some great Git learning resources at this Tower link.

I passed out again yesterday, but I think US Airways had a worse day than I did. Something went very wrong with this “customer service” tweet.

I don’t know if there is a better way to do this yet, but if you want to select one record from a database table using the Play Framework and Anorm, I do know that this code works:

“I’ve failed over and over again in my life, and that is why I succeed.” ~ Michael Jordan

I learned yesterday that people in olden days used to make up songs to help remember things.

I learned today that I'm not very good at making up songs (at least not while I'm awake).

Here’s a quick look at how to run Play Framework “model” methods from the Play console. In my case, my model methods are Anorm database access methods, but you may be accessing MongoDB, Cassandra, CouchDB, whatever.

First, move to your Play application directory and start the Play interpreter:

$ play

Then start the Play console:

[MyApp] $ console

Your prompt will now look like this:

It’s hard to find good Sencha JSON encoding and form POST examples, so here’s a quick collection of JSON examples I found while working yesterday. I know that these examples work with Sencha ExtJS; they may also work with Sencha Touch.

JSON encode a JavaScript object

First, the following example comes from this page, and shows how to convert a JavaScript object to JSON in an AJAX request:

Here’s a really good Scala recursion tutorial. The use of graphics here is a great idea to explain the concept.