WSGI Resources

Fri 09 April 2010 by Peter Ward
read more

I want to stab this error in the face.

Sat 27 March 2010 by Peter Ward
The program 'presenter' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadShmSeg (invalid shared segment parameter)'.
  (Details: serial 351 error_code 158 request_code 132 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error …
read more

Mercurial hook for notify.io

Sun 07 February 2010 by Peter Ward

Update (9/2/10): Fixed bug when pushing multiple commits at once, silenced wget's output.

Here is a Mercurial hook to send notifications to notify.io whenever it gets new changesets pushed to it. It requires python, wget, bash, mercurial, internet access and an uncommon sense of humour (the latter …

read more

Deliverance

Sun 01 November 2009 by Peter Ward

I've been trying out deliverance, and it is a really nice way of theming websites.

My motivation to use it is this: I want a website, which has various apps (in my case, Trac, HGWeb, SVN, and more), and I want to give all the pages a common theme. Instead …

read more

Google Reader

Tue 18 August 2009 by Peter Ward

It's been nice knowing you, but I'm giving you up.

No more reading RSS feeds during my computer labs, no more worrying about whether Google is spying on me by working out what kind of subscriptions I read.

Goodbye Google Reader, Hello undisclosed client-side RSS reader.

read more

Presenter Prerelease

Sat 08 August 2009 by Peter Ward

In the spirit of "release early, release often", here is another release of Presenter. This is an Alpha release, so it's still got plenty of bugs (the obvious one is with Video playback).

I've provided a .deb package, so if you're a Debian/Ubuntu user, it should be relatively easy …

read more

IWSGAY

Mon 22 June 2009 by Peter Ward

Oh, dear. Why did I waste my time with this, again?

Piglatin in WSGI read more

Latex - inserting a box with no content

Mon 04 May 2009 by Peter Ward

Or, an empty box! Working out that query on Google took me some time, so I'll put the answer here:

\fbox{\begin{minipage}{5in}\hfill\vspace{3in}\end{minipage}}

RealLife (tm) Update: I'm enjoying University, and I'm thinking of moving into C/C++ via Vala.

read more

Update on Presenter

Sat 18 April 2009 by Peter Ward

I'm building a different, better idea for Presenter.

Details here: http://flowblok.selfip.net:8001/trac/presenter

read more

How to do plugins using eggs

Fri 17 April 2009 by Peter Ward

(Just so that I don't forget, and because some of you may not have seen this before.)

This is the magic Python code which automagically gets eggs with the entry point "my.plugin.namespace" declared.

for egg_plugin in pkg_resources.iter_entry_points('my.plugin.namespace'):
    print egg_plugin.name
read more