Linux on the Sony Vaio VGN-BZ11

I've just posted an article on my experiences with Linux on my shiny new Sony Vaio VGN-BZ11XN notebook. Hopefully it's useful to other Linux users who own or are considering purchasing this laptop.

Questions, updates and feedback most definitely welcome.

posted: Wed, 24 Sep 2008 23:13 | permalink | comments now using rest2web

I've now converted 2 popular articles [1] on so that they are generated via Michael Foord's excellent rest2web. Previously one of these articles was in plain HTML and the other was on the site wiki. I've got a few other articles in the works so I decided it was time to migrate the articles to a clean, consistent format. reStructured Text fits the bill perfectly.

I recently also started using the rst entryparser for PyBlosxom so now most of the site is generated using reStructured Text.

[1]according to the HTTP server logs

posted: Wed, 24 Sep 2008 20:52 | permalink | comments

Glenn and I discovered today. It's a lightweight, simple Python module for generating HTML and XML. Tags are generated using Python objects, with calls to methods on those objects dynamically creating child tags (using __getattr__ trickery). A useful feature is that repeated tags of the same type can be blatted out by passing sequences of values.

The module provides a natural way to create correct HTML/XML from Python and suited our needs perfectly. My only complaint is that the output isn't indented so it can be harder to read than it needs to be. It would probably be straightforward to add such an option. Also, it would be nice if the output could be streamed to a file-like object. Currently it builds the output in memory which could be a potential problem for large pages. is worth adding to your toolbox if you ever have to generate bits of XML from Python. For simple jobs, it beats using a complex XML library and is less error prone than plain old string interpolation.

posted: Wed, 17 Sep 2008 22:14 | permalink | comments

Slides online for Python on the Openmoko Neo Freerunner

PyCon UK was fantastic. Many thanks to the organisers for such a great event.

As promised at the end of the talk, I've just put the slides and code online for my Python on Openmoko presentation. I'm hoping this stuff is useful to anyone looking to develop Python apps for Openmoko phone.

posted: Mon, 15 Sep 2008 21:52 | permalink | comments