Melbourne Ruby User Group

I recently went along to a meeting of the Melbourne Ruby User Group, the first user group type of meeting I’ve been to for years. ThoughtWorks now hosts the meetings and supplies pizza and soft drinks, so I really have no excuse not to attend given my interest in Ruby and Rails. For some reason I didn’t expect to get much out of the experience, but I was wrong. Two chaps, including Mark from RedBubble gave a slick presentation of their experience at RailsConf 2007, which sounded like a blast – I gained a lot of context of the direction of the Rails community and industry from their presentation. After pizza Pete Yandell discussed using RSpec with rails to unit test controllers, and showed an interesting technique he has devised to separate the stub behaviour of faked collaborators from the assertions about stub methods were actually called.

It took me a moment to grok, but it’s a clever thought – with jmock in java the expectation e.g. .expects("blah") is always in the same place as the outcome of the call e.g. .will(returnValue(foo). Pete has implemented an RSpec modification that means you can create the stub behaviour of a collaborator first, call the real code under test, then assert after the fact that the calls to the collaborator were made correctly. It does make the test code a lot easier to read, although it still doesn’t quite feel right. Nifty I’ll have to have a think about that.

I guess I didn’t expect such a good technical talk at a user group like this, I hope it’s like this all the time. It was good to hear Steve Hayes piping in from the background with wise words also. I enjoyed going along to the group – I’ll try to go along again next month. Especially as we did go for beers afterwards…

Correction: the two chaps presenting on railsconf were not both from redbubble.  Sorry Marcus, thanks Steve.

Another abandoned weblog…

And yet another embarrassed posting about not having written for …  well 12 months.  I hardly have time to get through my reading in the evenings after Jack goes to bed, much less write something intelligible.  I shall try to make amends, but I’m not promising anything.

What actually happens is that I occasionally get inspiration to write something in my blog, then realise that I SIMPLY CANNOT proceed until I upgrade to the latest version of wordpress.  No really.

Then of course I get distracted by wondering if I can find any traces of my old weblogs.  I love the wayback machine.

November 2002,  December 2002, November 2003

It’s only fragments but it seems SOOO long ago.  Of course I had a bit of a movable type weblog before then, but I can’t remember where it was – before I discovered cheap domain names and hosting.

Ahh memories… when talking about “extreme programming” made most of my colleagues look at me like I was a crazy Australian…

Commando Ninjas

From Gavin’s latest rant:

It might be nice if the whole world used Java, but they don’t. And Java won’t last forever. Really it won’t. Heh, that’s fine by me, just as long as it’s not Ruby that replaces it (I feel safe to say stuff like this, since I am guarded around the clock by an elite team of five hundred crack female IDF commando ninjas armed with the big machine guns out of Alien II).

Well put. Wrong, but well put…

Dirty

Tidying up a few spots of peeling paint and surface rust in the tub in the front of the Sud. I’m not very experienced with bodywork and paint but I figure I can’t go too far wrong in this area as it isn’t visible from the outside – as long as I manage to clean up the rust properly so it doesn’t get any worse. So far I haven’t found anything more than surface rust under peeling paint. I’ve bought a kit of POR-15 rust protective paint which is meant to be the ‘pups nuts’ for this kind of thing.

DSC01150 DSC01151

I also took out some of the body deadener which had cracked and peeled to make sure the metal was solid underneath, which it was. One day if I get enthusiastic I’ll take the pedal box and brake/clutch masters out of there and tidy this area up completely. Got to remember it’s only the ‘race car’ though 🙂

// TODO: think of a witty and intelligent tagline