Tag Archives: programming

Import Graphs for Python

I was doing some Trosnoth refactoring recently, and I wanted a tool that would draw import graphs of the Trosnoth subpackages.  After a quick search of the Internet didn’t give me what I wanted, I set about to write my … Continue reading

Posted in short | Tagged , , , , , , | Comments Off on Import Graphs for Python

Using Mercurial instead of Drop Box

Recently I’ve had a number of friends telling me how fantastic Drop Box is for synchronising files and how they don’t understand that I don’t use it.  Drop Box has one very good argument in its favour: you can use … Continue reading

Posted in midlength | Tagged , , , , , , | Comments Off on Using Mercurial instead of Drop Box

That Test Framework

A few weeks ago I dreamt about a unit testing framework for Python.  Well, I’ve put together a proof-of-concept prototype.  What you can do with it: Set up tests and nested test suites Provide per-suite or per-test setup and teardown … Continue reading

Posted in short | Tagged , , , | Comments Off on That Test Framework

Window Manager Woes

I’ve been playing around with different window managers for my Ubuntu installation.  At work in particular, I find it really useful having a tiling window manager because (a) it improves my efficiency because the keyboard shortcuts help to cut down … Continue reading

Posted in midlength | Tagged , , , , , , , , , , , , , , , , | Comments Off on Window Manager Woes

Python Unit Testing

I’ve had to write and maintain Python unit tests both for work and for Trosnoth.  I’ve played around with py.test and nose, and have done a tiny bit with trial (for twisted).  As a result I’ve come up with the … Continue reading

Posted in midlength | Tagged , , , , | Comments Off on Python Unit Testing