All Unkept

Category: Python

Posted in: Linux, Music, Python  —  15 July 2010
I tend to use several music/media players, such as shell-fm, moc and Clementine. In order to be able to use the media buttons on my keyboard for pausing/skipping, I wrote this Python script to automatically route the commands to the right one.
Posted in: Python  —  6 May 2010
Using IPython deep inside a program...
Posted in: Python, Software development  —  12 February 2010
I discovered hgview, a really great replacement for hgk.
Posted in: Python, Software development  —  12 February 2010
How can I get the Mercurial Eclipse plugin to just recognise an existing folder as a Mercurial repository?
Posted in: Django, Python  —  2 January 2010
How I set up Eclipse to work with an existing project using virtualenv
Posted in: Django, Haskell, Python, Web development  —  9 November 2009
Based on my recent Haskell experience, I highlight some cases where I think static type checks provide a better testing mechanism than unit tests or other automated tests.
Posted in: Linux, Python, Software development  —  15 July 2009
A lot of discussion recently has missed the point: the big question is whether the terms of any software licence are really relevant to dynamic languages...
Posted in: Blogging and bloggers, Personal and misc, Python  —  18 March 2009
I've blogged before about using trac as a personal wiki, now I've found I can use Emacs as my editor and trac browser it's even better...
Posted in: Django, Python, Web development  —  3 March 2009
A review of "Django 1.0 Template Development" by Scott Newman, from Packt Publishing.
Posted in: Django, Python, Web development  —  22 January 2009
An article from Django 1.0 Template Development by Scott Newman, about how to output a document in multiple formats/styles using Django templates.
Posted in: Django, Python, Software development  —  31 July 2008
A simple way to use Mercurial Queues in a Subversion working directory to manage patches before committing to Subversion.
Posted in: Django, Python, Web development  —  8 July 2008
After reading that in Python 2.5 some big memory leaks are fixed, I just switched a Django site from Python 2.4 to Python 2.5. I wasn't disappointed -- the combined memory usage of my Apache processes (which are using mod_python) went from 100Mb to 60Mb. So, for anyone else wanted to conserve memory, this is the first thing I'd suggest!
Posted in: Django, Python, Web development  —  24 June 2008
Posted in: Christianity, Django, Python, Software projects, Web development  —  1 April 2008
I created a system and web app to help me organise my Bible memorisation. And I rant a bit Django and web.py.
Posted in: Django, Python, Web development  —  25 March 2008
How to use Twill within Django unit tests
Posted in: KDE, Linux, Python  —  23 February 2008
Some tools to help organise your computer and files.
Posted in: Django, Python, Web development  —  28 December 2007
I present below some example code for using Django, newforms and MochiKit to do AJAX validation, in case anyone else is doing the same, complete with a live demo...
Posted in: Blogging and bloggers, Haskell, Python  —  19 July 2007
How to write blog postings in reStructuredText, integrating HsColour and Pygments automatically.
Posted in: Haskell, Python  —  11 May 2007
My results on the O'Reilly's code quiz...
Posted in: Haskell, Python, Software development  —  7 May 2007
Why Haskell's 'Maybe' totally pwns Python's 'None' and null pointers.