If you’re following this blog (and if you are, you’re one of the few) you’re probably wondering what’s happened here. I recently changed my blog so that it imports my tweets. I’m not happy with how it looks but it was a quick and painless addition to a … Read more
In creating a Windows PDF generation app for a client of mine, I ran into a limitation of py2exe which prevents resource loading with pkg_resources. The module attempts to load resources from py2exe’s library.zip. As the zipfile is reserved for compiled bytecode, there’s no option to copy files into it. You … Read more
I’ve been spending some of my spare time recently putting together some Python bindings for ImageMagick’s MagickWand API. While most bindings I’ve seen just look like generated ctypes code from C header files, these bindings are more object-oriented, completely hiding the MagickWand methods. While this is … Read more
Creating PDFs is difficult. Creating PDFs for print is even more difficult. Reportlab does a great job, but it defaults to RGB in most cases. This necessitates some tweaking of both Reportlab code and the code using Reportlab. Testing the result is difficult, mostly because I don’t know of any command-line tools to … Read more
On Monday my hosting service moved their servers. Ever since then requests on my site for URLs not ending in a backslash forward to crazedmonkey.nfshost.com. This means that if you access my transit map without including the backslash, the map will refuse to load because of inconsistencies with the Google Maps … Read more