Monthly Archives: June 2009

Lunch!

If you’re in the Berkeley area, and are feeling a bit peckish (or, for that matter, esurient) you could do a lot worse than stopping by IB’s Hoagies and ordering a cheesesteak and fries. This modest establishment is a national … Continue reading

Posted in Jack Handy | Comments Off

Locked Queue

Today, something pretty simple: An implementation of a threadsafe queue in Cocoa/Objective-C, suitable for use when implementing the producer-consumer pattern. Nothing too extraordinary: I use an NSMutableArray to store the data (object ids) and the pthreads library for synchronization.

Posted in iPhone | Comments Off

Norm Gekko

“Wall Street” is a very well-made movie. (If you get a chance, you should also listen to the commentary track Oliver Stone did for it; it’s a good example of the form.) It’s interesting that Gordon Gekko, the quasi-villian of … Continue reading

Posted in Jack Handy | Comments Off

Government Work

A funny thing happened to me today; a fellow came to my door, identified himself as a Special Agent with the U.S. Federal Investigative Services, and said he wanted to ask me some questions about a former neighbor who’d moved … Continue reading

Posted in Jack Handy | Comments Off

Ludwig Van

The 2nd movement of Beethoven’s 7th symphony really is quite breathtaking. This observation might seem a little jejune; after all, it’s Beethoven. The 7th symphony isn’t exactly obscure. (And the 2nd movement encored at the symphony’s premier.) Nevertheless, I think … Continue reading

Posted in Jack Handy | Comments Off