garethrees.org

Using html5lib to resolve relative URLs
2009-10-09

Python code for translating relative URLs in HTML source into absolute URLs suitable for syndication.

Validating XHTML
2009-02-07

A program to allow you to run your XHTML document through the W3C validator and step through the errors and warnings conveniently in Emacs, and a brief discussion of why someone might want to do this.

Smallest possible transparent PNG
2007-11-15

A detailed look at the encoding of bitmap images in the PNG file format, leading up to the discovery of the smallest possible transparent PNG, only 67 bytes long.

The Python Challenge
2007-05-07

The Python Challenge is a website of puzzles compiled by Nadav Samet. The puzzles are a mixture of riddles, codes, and programming challenges, with the Python language being a recommended tool. Here are some of my notes and solutions.

Type inference for Python
2002-02-26

A sketch of a type system for the typeless programming language Python. The system would allow a limited form of type inference that would detect some type errors at compile time.

Statement coverage for Python
2001-12-04

A tool to support statement coverage testing for Python. It accumulates coverage data over many runs, generates coverage reports, and annotates Python source showing which statements have been covered.

Statement coverage for Python: design and analysis
2001-12-04

Lists the requirements for a statement coverage tool for Python, describes some issues in design and implementation, and compares coverage.py with other statement coverage implementations.

Perforce Defect Tracking Integration
2000-05-24

Software that integrates Perforce software configuration management with defect trackers Bugzilla and TeamTrack so that issues appear in Perforce, can be edited and transitioned from Perforce, and can be linked to changes to the source code. An open commercial project: all the requirements, designs, documents and source code are online. Includes a kit for developing new integrations.