Hello

I'm David Winterbottom, a minimalist hacker living in London.

I'm head of programming at Tangent Labs, a digital agency. I program mainly in Python but have strong interests in all dynamic and functional languages.

I spend most of my free time hacking. I run commandlinefu.com and am the author of the e-commerce framework django-oscar amongst other things.

I used to be a mathematician; I have a PhD in Mathematics from the University of Nottingham and an associated interest in cryptic crosswords, chess and playing devil's advocate.

More »

Latest writing

Friday, 3 May 2013
PyPI README badges

Shiny badges using crate.io

Tuesday, 23 April 2013
Monday, 22 April 2013
Disable database access when writing unit tests in Django

A decorator for the testing puritan

Thursday, 18 April 2013
How to install PIL on 64-bit Ubuntu 12.04

Because I have to look this up every time

Monday, 4 March 2013
git
Converting Github issues into pull requests

A better workflow using Hub

All writing »

Thinking

17 hours, 13 minutes ago
Current status: sitting by a swimming pool waiting for the thunder storm to start and for funny twitter things to load
1 week ago
Me: "There's another David Winterbottom in New Zealand"

Wife: "We need to go over there and kill him"
1 week ago
The richest person of the 21st century will be the person who harnesses the power of graphene and 3D printing for porn and gambling
1 week, 1 day ago
Too many mixins spoil the broth #python
1 week, 1 day ago
Python-like logging in Javascript:
https://t.co/KOWWvGxyog

Is
this a bad idea?
1 week, 1 day ago
PSA: Nose's test generators are awesome (similar to PHPUnit's dataProviders if you know those):
https://t.co/LEnAF28OYJ
1 week, 2 days ago
Last tweet a paraphrase from this excellent article: http://t.co/lJcGCfjDlX
1 week, 2 days ago
We live in a world where falling in love, going to war and filling out tax forms looks the same; it looks like typing.
1 week, 2 days ago
Bored to death: https://t.co/RuFK7Qy7Dz
1 week, 3 days ago
This is probably my magnum opus: the "no diggity" decorator:
#testing">https://t.co/scrFHVrKf5

#testing #python #blackstreet
@codeinthehole »

Hacking

6 days, 12 hours ago
Provide an easy way for reviews to be disabled
2 commits with 168 additions and 112 deletions
1 week ago
Category browsing widgets don't show subcategories
1 commit with 63 additions and 42 deletions
1 week ago
Better variant product support
1 week, 1 day ago
  • 989a258
    Correct a few errors in README code example
1 week, 1 day ago
  • e6cf765
    Add example code to README
1 week, 1 day ago
Provide an easy way for reviews to be disabled
1 week, 2 days ago
codeinthehole deleted branch feature/partners_dashboard at tangentlabs/django-oscar
1 week, 2 days ago
codeinthehole commented on pull request tangentlabs/django-oscar#653

Now merged. I didn't squash all the commits are there were multiple authors.

github.com/codeinthehole »

Selected projects

A few spare-time projects I've worked on:

  • commandlinefu.com - a mildly popular repository site for sharing linux one-liners. Grown men have been known to weep with joy when they discover sudo !!

Python packages on PyPI:

  • purl - an immutable URL class for python
  • foiegras - simple CSV loading for Postgres
  • csvfilter - like cut but for CSVs
  • pyvideo2quicktime - for downloading PyCon videos to your iPhone
  • unittest-xml - additional assertions for unit-testing XML documents with python's unittest library.

Oscar and related packages:

Other Django packages on PyPI

node.js packages on npm:

  • nurl - a simple URL library for node.js