I am my father's son
Posted at 9:54 a.m. on July 9, 2009

My dad (also a computer programmer) emailed me yesterday about a silly little issue he was having trying to get a python cgi script to run. We went back and forth a couple of times but didn't come up with an answer. I just got this email from him:

Ok, this if funny... I got it working...

Started searching the Textdrive forums for some other occurrence of this problem and found one. Turns out I was using Windows/DOS line endings (0D0A) rather than UNIX line endings (0A). Fixed that (and some problems I had with the html header) and it's working. Don't know how my editor got switched from UNIX to DOS for .py files but it's fixed now.

Now for the good part... guess which forum message I ran across that got me going? ... ... Yep, it was from you about 2 years ago. Got a good laugh out of that.

Install PIL with JPEG support on OS X (without Fink)
Posted at 9:59 a.m. on July 15, 2008

From the "I always forget how to do this, so here's a reminder for next time" files: Installing PIL with JPEG support on OS X - but without using Fink.

All the PIL documentation just says to install libjpeg using Fink. I'm not really into Fink, so I always flounder around for how to do it when installing libjpeg from source. The secret is that after you install libjpeg, also do:

sudo make install-lib

(where I found it this time)