Bazaar hacking

I spent a little bit of time mucking around with some Bazaar plugin ideas I’ve had.

The first is a command that switches from “branches and trees together inside a shared repository” to “treeless repository with lightweight checkouts”. I ran it against a couple of my local repositories and …

more ...

pyunit3k renamed to testtools

After thinking and talking about it for ages, I’ve renamed ‘pyunit3k’ to ‘testtools’. You can now find it at https://launchpad.net/testtools or get your copy by running ‘bzr branch lp:testtools’.

This is the only major API change I plan to do without introducing some sort of …

more ...

LCA 2008 Conference Report

Yeah, yeah, I know it’s a bit late. I found this while emptying out my Drafts folder and thought you guys might like it.

It’s very much a personal, in-the-moment, opinionated account. I’ve only edited it for formatting.

Sunday, January 27

Arrived in Melbourne. Good. Next step …

more ...


Flow, Interruptions and Gold-Titanium Alloys

As I mentioned earlier, I’ve just had a very productive and fun weekend of hacking on testresources. But why was it so good?

Fast Commits

Because I was working offline using Bazaar, I could make commits to testresources and they’d be done before I could Alt-Tab back to …

more ...

testresources: fresh blood

Last weekend I spent a bunch of timing hacking on testresources with Rob over at Chris‘s place. testresources is an extension to unittest that allows tests to specify the resources they use declaratively, so that these resources can be cleanly shared between tests. On Saturday, we talked a bit …

more ...

Cool Launchpad/Bazaar hack

If you push a lot of Bazaar branches to Launchpad, you might want to add something like this to your .bazaar/locations.conf:

[/home/jml/Code]public_branch = lp:~jmlpublic_branch:policy = appendpathpush_location = lp:~jmlpush_location:policy = appendpath

Once it’s there, ‘bzr push’ will Just Work… as long as you want it …

more ...

I Love Data

At work, we recently started to graph the time it takes to access a branch in Launchpad via SSH, both on our staging and production servers.

I love this so much. Having this data is liberating. It’s like turning on a light in a dark room: suddenly I can …

more ...

Heartbeats and Sails

Mark Shuttleworth:

What’s good enough performance? Well, I like to think in terms of “heartbeat time”. If the major operations which I have to do regularly (several times in an hour) take less than a heartbeat, then I don’t ever feel like I’m waiting. Things which happen …

more ...

Tired Hippo

Chronomancy… is generally a fictional and sensational school of magic. Although the school is based on quantum physics and certain scientific theories, there is no concrete evidence of the perfected use of time manipulation.

Thank you Wikipedia.

more ...

7

My headphones broke and I’m chasing down an erratic test failure with no real leads.

And yet Prince stands:

All 7 and well watch them fall
They stand in the way of love
And we will smoke them all
With an intellect and a savoir-faire
No one in the …

more ...

The Economist Index

The Economist occasionally publishes a “Big Mac Index” — how much the world’s favorite “burger” costs in each country, translated into a common currency.

Why they don’t publish an index of how much an issue of the Economist costs?  All of my issues have the price of the newspaper …

more ...


Let the Beat Drop

Didn’t get around to posting last weekend, sorry. Next weekend I’ll be at a conference in the north of Tasmania, so no post then either.

Things in the works:

  • Automated testing as a community builder
  • Asynchronous functions
  • Asynchronous development methodologies

Also, glyph thinks that xUnit sucks, but hasn …

more ...

Living for the City

Isn’t talking shop fun? I know there’s more to the world than computers and programming and blah blah blah. Sometimes photography, the election, real estate and the rediscovery of seventies pop music need to be set aside to make way for a serious, meaty discussion on anonymous creation …

more ...


That’s Not Me

This blog started life as “Petty Pace”. Blech. Too wanky and too quiet. “awesome radtastic ninjacore” is a stop-gap measure.

What do you reckon should be the name for this blog?

more ...


Within You Without You

Testing is hard, writing testing frameworks is easy. In an effort to make testing easier, big projects like Twisted, Bazaar and Zope write their own testing frameworks. That way they control both the test runner and the tests that are run. It’s actually quite convenient.

However, it’s led …

more ...

It’s a Gibbon

Over the weekend I upgraded my laptop to Ubuntu 7.10 aka “The Gutsy Gibbon”.

Obvious improvements include having Pidgin installed and a much superior version of Deskbar. There’s also a swanky new panel to actually control display settings (dual monitor and all that jazz). Unfortunately, I can’t …

more ...