Tag Archives: python

Vim and Breakindent

My contention: Programmers should never have to insert line breaks into long lines of code. Why: The position of line breaks in long lines of code does not contain any semantic information.  Where coding standards limit line length, it is … Continue reading

Posted in long | Tagged , , , , , , , , , | Comments Off on Vim and Breakindent

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