Archives / Search ›

Why me? Why today?

I put off my ECE 441 project preparation today, and to thank me for it, my PowerBook’s video hardware died a few minutes after I started work. At least I can still back it up.

This in addition to the 512 MB DIMM in my desktop Power Mac which died last week. I guess November is Hardware Failure Month or something.

Palm Desktop to iCal switch

I finally switched from Palm Desktop to iCal a few weeks ago, the superior force of iSync winning me over. iCal and Apple’s Address Book are usable in Panther, but still very slow and inefficient to use compared with Palm Desktop. Compare the information density of the images below:

iCal displaying my October 2003 calendar

Palm Desktop displaying my October 2003 calendar

Sorry about all the modifications, I can’t seem to stop PyDS from upstreaming… (Answer: Preferences: Basic Data: show on/offline switch.)

There doesn’t seem to be an “actual size” option, so for the moment I’m constructing the above images with \$pictures.imageTag(2, (400, 400), bigpage='1024x768').

Trying to use PyDS’s PictureTool

George Bauer (who’s been really helpful, thanks!) explained briefly how to use PyDS’s PictureTool in a comment:

Of course PyDS has a PictureTool. You need to enter a path on your disc in the Pictures preferences and then can upload pictures from there. To upload a picture go to the pictures upload area and enter title and description for those pictures you want to upload. After uploading, you can refer to them with \$pictures.imageTag(picid, (sizex, sizey)). Set picid to the numerical id of your picture and sizex,sizey to the boundingbox the resized picture should fit in (resizing honours aspect ratio, so you picture might actually be smaller than your boundinbox).

It seems that the PictureTool is optimized for posting pictures, not screen images; PyDS provides a nice album-style overview page. This is good, and something Radio didn’t even attempt to do, but all I really want is a single image uploaded. The interface looks like this:

I have no idea what the various text fields represent, and I get a Python exception when I try to submit a fully populated form. If I remove entries 2 and 5, nothing seems to happen. Time to dig into the source code.

Turns out QuickTime 6.4 (and earlier?) incorrectly output PNG tEXt chunks including a trailing null, and PIL chokes on them. PyDS discards the error, and behaves strangely.

That fixed, my next problem: still not getting any thumbnails. pyds-start -f will run PyDS in the foreground.

error: Server Error: exceptions.IOError,
encoder jpeg not available:
file: /System/Library/Frameworks/Python.framework/
Versions/2.3/lib/python2.3/site-packages/
PIL/Image.py line: 325

After rebuilding PIL, I ran into another problem with PyDS: once it attempted to create a thumbnail and failed, it’d write a zero-length file and give up. Fixing that, I finally had thumbnails.

My life hasn't entirely settled down yet, but I have really missed being able to write down whatever is on my mind.

I have a new weblog, created with PyCS and PyDS. I'll miss a lot about Radio, but not its instability, CPU usage or bugginess.

Posts from this weblog will migrate to the new one at some point. For the moment, this page will remain. If you're accessing the RSS feed from sabi.net, it should automatically redirect; if not, the new feed is here.