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
On My Mind
Server crashes mean so much more than lost data; it’s lost income, loss of reputation and lost time spent cleaning up the mess. Availability is crucial. But not all availabilities are equal. Should a loss of a data store mean goods can’t be sold?
Dan Pritchard argues that in the absence of data, replies … Read more
At my previous job I dabbled in critiquing wireframes and designs of others—mostly basic questions such as “What does this do?” or “Why is this here?”. This list of questions to ask when reviewing a design is a lot more exhaustive and could be useful for those looking to tighten up their designs.
While I generally feel that log parsing is the least sophisticated mechanism for monitoring an application, often no other option exists. Logstash is an open source tool for parsing and displaying information in logs. It could be a free replacement for some functionality provided by commercial tools such as Splunk.
Tileabl.es is a growing collection of tiling textures for backgrounds.
Mincemeat.py is a Python implementation of the MapReduce distributed computing framework. Define map and reduce functions, add as attributes to a server object, execute results. All in 13k of Python code. Clients can be added/removed as needed. I tested this with one node on a different machine. It worked as advertised, although seemed slow. The … Read more