Month of February, 2008

Notifications in iTunesBridged

HAS commented that I could track changes to the player state of iTunes using NSDistributedNotificationCenter.

I've gone ahead and made changes to the iTunesBriged code to show how to do that. Now, whenever iTunes changes state, whether it's via the iTunesBridged application or by directly manipulating iTunes, the title of the Play/Pause button changes and the current track name is listed in the text box.

As mentioned in that comment, Notification Watcher is a great app for observing distributed notifications. It made it really easy to figure out what iTunes was sending and what data was in the userInfo.

Thanks for the comment, and the idea!

Get iTunesBridged source downloads, which can be cloned with Mercurial or downloaded as a tarball.

Quartz Event Services for interrupting an Embedded Python

I've always thought that Emacs was an interesting editor (development platform?) since it is extensible in the same programming language it's written in: Emacs-Lisp. Not only that, but you can extend it at runtime, right while you're using it.

I've wondered: What if the same thing could be done with a Python program on OS X. You could even start with a minimal program, and add functionality to it while running it, saving the intermediate results to disk so that the next time you start the program, you start up with all the state and functionality that was there before.

At the very least, it'd be nice to have a robust Python interpreter running concurrently and inside of the program under consideration.

Backwards compatible PyObjC development on Leopard

I'm working on a few programs using PyObjC. Some of the neat cool stuff will be Leopard-only, but there are some utility programs that I'd like to have working on Tiger as well.

It'd be nice to do all the development with Leopard running.

Trying out Bazaar

Considering that it's the "other" DVCS often considered along with Git and Mercurial, I thought I'd give Bazaar a try.

It's not working out so well so far. I guess I'm too used to Hg; I found its workflow agreeable.