Kerry Buckley

What’s the simplest thing that could possibly go wrong?

Archive for the ‘Uncategorized’ Category

Commenting broken

one comment

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.

Written by Kerry

August 15th, 2009 at 7:48 am

Posted in Uncategorized

Tagged with

Comments aren’t always evil

4 comments

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:
[ruby]
unless instance_response.nil?
[/ruby]
to this:
[ruby]
if instance_response
[/ruby]

Then reading the comment above the line, expecting to delete it, it all came flooding back:
[ruby]
# 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.
[/ruby]

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.

[ruby]
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
[/ruby]

Written by Kerry

August 14th, 2009 at 9:21 pm

Domain Problems

leave a comment

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.

Written by Kerry

February 20th, 2008 at 10:15 pm

Posted in Uncategorized

Chocolate Type

2 comments

Mmm…

Written by Kerry

December 9th, 2007 at 10:04 pm

Posted in Uncategorized

[BarcampLondon3] How to Animate a Silly Walk (Cathy Jones)

leave a comment

This was a hands-on session playing with lo-fi flip-book animation, based on the techniques on Cathy’s blog. Here’s my very poor effort:

Technorati Tags: , ,

Written by Kerry

November 24th, 2007 at 6:40 pm

Posted in Uncategorized

[BarcampLondon3] Creating a Lifestream with Yahoo Pipes (CristianoBetta)

2 comments

It’s all here!

Technorati Tags: , ,

Written by Kerry

November 24th, 2007 at 3:37 pm

Posted in Uncategorized

Sponsorship Request

leave a comment

Jane as SantaJane‘s been talked into running round Christchurch Park dressed in an oversized Santa suit in aid of East Anglia’s Children’s Hospices. If anyone feels like sponsoring her a few quid it would be greatly appreciated, and is dead easy to do online. Thanks!

Written by Kerry

November 23rd, 2007 at 9:38 am

Posted in Uncategorized

Barcamp Brighton

4 comments

I was lucky enough to attend BarcampBrighton at the weekend, thanks to a tip-off from psd and the fact that I had to be down the road in Eastbourne today anyway for our release planning.

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:

Written by Kerry

September 10th, 2007 at 5:57 pm

Posted in Uncategorized