Archive for the ‘Uncategorized’ Category
Commenting seems to be broken on this blog since I upgraded WordPress. Not sure why yet, but I’m working on it.
[Update] It’s working again now.
I tend to agree that comments are, in most cases, evil (or at least mildly malevolent), but I did come across one of the exceptions to the rule today.
While doing a bit of drive-by refactoring while fixing a bug, I reflexively changed this line:
Then reading the comment above the line, expecting to delete it, it all came flooding back:
# Use instance_response.nil? to check if the HTTParty # response's inner hash is empty. # If you use 'if instance_response', it is always true.
Now you could maybe argue that this unexpected behaviour is because httparty uses just a little too much of that old method missing proxy magic (which of course isn’t really magic at all), but that’s not the point of this post.
In the end I pulled it out into a private method to make it clearer what was going on, but decided to leave the comment in.
def self.instance_returned? instance_response # Use instance_response.nil? to check if the HTTParty # response's inner hash is empty. # If you use 'if instance_response', it is always true. !instance_response.nil? end
As you may have noticed, kerrybuckley.com has been down for a few weeks now. This was mainly due to incompetence and laziness on my part causing the registration to expire (the hosting’s still fine), but so far the registrar has yet to respond to e-mails and messages on their 75p/min voicemail service.
For now (as you’ve obviously discovered) you can find me at kerry.ontoa.st instead (temporary feed links over on the right, assuming you’re not reading this in an RSS reader, in which case I guess you’d already figured them out). Please pass the word to anyone who might have noticed I was off-air.
For those unfamiliar with the Barcamp concept (which until recently included me), no schedule is set in advance, but attendees turn up with either a prepared talk or some ideas of subjects they think people might be interested in. On Saturday morning after the introduction we each scribbled a quick description of our session on a slip of paper, and stuck it in a free slot on the agenda grids, creating an instant [un]conference with five half-hour talks happening at once for the two days.
I’m not going to try to describe everything, or I’d be here forever (after all, I still haven’t finished writing up Agile2007), but highlights included being taught how to do this card trick by nicepaul, an audience discussion (neatly driven from a tiddywiki) on whether someone should buy a Wii, and talks about subjects ranging from web site accessibility and internationalisation to geocaching. Oh, and of course the obligatory (and my first) games of Werewolf. I did a demo of Selenium, which seemed to go down well, albeit with an audience of four (it was the last session on Sunday, and I was competing with Powerpoint Karaoke).
All in all, one of the best conferences I’ve been to. Which isn’t bad for free (with food and beer thrown in)!
In some ways the event almost seemed to run itself, but obviously that was largely down to the incredible efforts of all the organisers and helpers (especially the hosts, Madgex, who gave up their offices to nearly a hundred messy geeks for the weekend). A huge thank-you to them, and to the various companies who provided mountains of food and drink during the weekend.
Technorati Tags: barcamp barcampbrighton barcampbrighton07