Skip to content

Reliably Broken

Halcali, It's PARTY TIME!

I guess Halcali never made a video for Doo The HAMMER!!, so this is the video for the second song from Cyborg Oretachi. I don’t understand it on every level, but I like it, I like it a lot.

Read more →

June 15, 2008

Encoding lists in Django for jQuery

Several times I have needed to implement a form for a Django model where one field’s value determines the available choices for a second field. Recently I finished a project where the user had to choose from a list of departments in our office, and then choose from a list of staff working for the chosen department.

Read more →

June 14, 2008

Using relative paths in your settings.py

Several important settings in your Django project’s settings.py are annotated with warnings about the need for absolute path names. When I start a new project with the development server I don’t want to have to think what directory my MEDIA_ROOT should point to. Isn’t all that going to change anyway when it’s deployed to the gigantic server in the sky?

Read more →

June 12, 2008

My Mac is broken: Spotlight example 1

Gah. Just thinking about having to find files on a Macintosh fills me with dread. Spotlight is useless for finding anything unless you know where it is already. I am in the half of the Venn diagram labelled believes names of files and folders have meaning. In the other half are the interface designers of Apple’s Spotlight technology.

Read more →

June 10, 2008

Old-style Python class system and parent methods

I rather like Python’s explicit object reference requirement, whereby method definitions for a class instance have to use self as the first parameter (I should write some classes that use this instead of self some time, just to annoy myself).

Read more →

June 9, 2008

Humour in FreeBSD man pages

Was reading the tunefs man page today while working out how to enable ACLs for a filesystem in FreeBSD. The last line made me laugh.

Read more →

June 7, 2008

Ben turns 30

Happy birthday Ben!

Read more →

June 6, 2008

Logging on Google Cloud + PythonI find setting up logging for a Python web application running on Google Cloud Platform (specifically App Engine standard) confusing. Here’s yet more notes.

Read more →

Gerrit and meGerrit is a git source control server which includes a code review workflow. The code review part of Gerrit is really good, but it is quite different to how GitHub and GitLab implement code reviews.

Read more →