<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kerry Buckley &#187; Uncategorized</title>
	<atom:link href="http://www.kerrybuckley.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrybuckley.org</link>
	<description>What's the simplest thing that could possibly go wrong?</description>
	<lastBuildDate>Wed, 30 Nov 2011 11:26:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Commenting broken</title>
		<link>http://www.kerrybuckley.org/2009/08/15/commenting-broken/</link>
		<comments>http://www.kerrybuckley.org/2009/08/15/commenting-broken/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 07:48:51 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[comments blog fail]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.org/2009/08/15/commenting-broken/</guid>
		<description><![CDATA[Commenting seems to be broken on this blog since I upgraded WordPress. Not sure why yet, but I&#8217;m working on it. [Update] It&#8217;s working again now.]]></description>
			<content:encoded><![CDATA[<p>Commenting seems to be broken on this blog since I upgraded WordPress. Not sure why yet, but I&#8217;m working on it.</p>
<p>[Update] It&#8217;s working again now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2009/08/15/commenting-broken/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comments aren&#8217;t always evil</title>
		<link>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/</link>
		<comments>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 21:21:36 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[comments evil ruby httparty magic]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.org/?p=330</guid>
		<description><![CDATA[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: PLAIN TEXT RUBY: unless instance_response.nil? to this: PLAIN TEXT RUBY: [...]]]></description>
			<content:encoded><![CDATA[<p>I tend to agree that <a href="http://deepfriedbytes.com/podcast/episode-35-why-comments-are-evil-and-pair-programming-with-corey-haines/">comments are, in most cases, evil</a> (or at least mildly malevolent), but I did come across one of the exceptions to the rule today.</p>
<p>While doing a bit of drive-by refactoring while fixing a bug, I reflexively changed this line:</p>
<div class="igBar"><span id="lruby-5"><a href="#" onclick="javascript:showCodeTxt('ruby-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-5">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">unless</span> instance_response.<span style="color:#0000FF; font-weight:bold;">nil</span>? </div>
</li>
</ol>
</div>
</div>
</div>
<p>
to this:</p>
<div class="igBar"><span id="lruby-6"><a href="#" onclick="javascript:showCodeTxt('ruby-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-6">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">if</span> instance_response </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Then reading the comment above the line, expecting to delete it, it all came flooding back:</p>
<div class="igBar"><span id="lruby-7"><a href="#" onclick="javascript:showCodeTxt('ruby-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-7">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;"># Use instance_response.nil? to check if the HTTParty</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;"># response's inner hash is empty.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000; font-style:italic;"># If you use 'if instance_response', it is always true. </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Now you could maybe argue that this unexpected behaviour is because httparty uses just a little too much of that old <a href="http://railstips.org/2009/8/7/patterns-are-not-scary-method-missing-proxy">method missing proxy magic</a> (which of course <a href="http://gilesbowkett.blogspot.com/2009/07/do-you-believe-in-magic.html">isn't really magic at all</a>), but that's not the point of this post.</p>
<p>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.</p>
<div class="igBar"><span id="lruby-8"><a href="#" onclick="javascript:showCodeTxt('ruby-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-8">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">def</span> <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">instance_returned</span>? instance_response</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#008000; font-style:italic;"># Use instance_response.nil? to check if the HTTParty</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#008000; font-style:italic;"># response's inner hash is empty.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color:#008000; font-style:italic;"># If you use 'if instance_response', it is always true.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; !instance_response.<span style="color:#0000FF; font-weight:bold;">nil</span>?</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">end</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2009/08/14/comments-arent-always-evil/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Domain Problems</title>
		<link>http://www.kerrybuckley.org/2008/02/20/domain-problems/</link>
		<comments>http://www.kerrybuckley.org/2008/02/20/domain-problems/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 22:15:06 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kerry.ontoa.st/2008/02/20/domain-problems/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have noticed, <em>kerrybuckley.com</em> 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.</p>
<p>For now (as you've obviously discovered) you can find me at <a href="http://kerry.ontoa.st">kerry.ontoa.st</a> 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.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2008/02/20/domain-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chocolate Type</title>
		<link>http://www.kerrybuckley.org/2007/12/09/chocolate-type/</link>
		<comments>http://www.kerrybuckley.org/2007/12/09/chocolate-type/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 22:04:32 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/12/09/chocolate-type/</guid>
		<description><![CDATA[Mmm...]]></description>
			<content:encoded><![CDATA[<p><a href="http://typolade.de/index.html">Mmm...</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/12/09/chocolate-type/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[BarcampLondon3] How to Animate a Silly Walk (Cathy Jones)</title>
		<link>http://www.kerrybuckley.org/2007/11/24/barcamplondon3-how-to-animate-a-silly-walk-cathy-jones/</link>
		<comments>http://www.kerrybuckley.org/2007/11/24/barcamplondon3-how-to-animate-a-silly-walk-cathy-jones/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 18:40:02 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/11/24/barcamplondon3-how-to-animate-a-silly-walk-cathy-jones/</guid>
		<description><![CDATA[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: barcamplondon3, animation, silly walks]]></description>
			<content:encoded><![CDATA[<p>This was a hands-on session playing with lo-fi flip-book animation, based on the techniques on <a href="http://cathski.blogspot.com/2007/11/how-to-animate-walk-using.html">Cathy's blog</a>. Here's my very poor effort:</p>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/aTBI4Ab5XFc"></param> <embed src="http://www.youtube.com/v/aTBI4Ab5XFc" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<p>Technorati Tags: <a href="http://technorati.com/tag/barcamplondon3" rel="tag">barcamplondon3</a>, <a href="http://technorati.com/tag/animation" rel="tag"> animation</a>, <a href="http://technorati.com/tag/silly+walks" rel="tag"> silly walks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/11/24/barcamplondon3-how-to-animate-a-silly-walk-cathy-jones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[BarcampLondon3] Creating a Lifestream with Yahoo Pipes (CristianoBetta)</title>
		<link>http://www.kerrybuckley.org/2007/11/24/barcamplondon3-creating-a-lifestream-with-yahoo-pipes-cristianobetta/</link>
		<comments>http://www.kerrybuckley.org/2007/11/24/barcamplondon3-creating-a-lifestream-with-yahoo-pipes-cristianobetta/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 15:37:27 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/11/24/barcamplondon3-creating-a-lifestream-with-yahoo-pipes-cristianobetta/</guid>
		<description><![CDATA[It's all here! Technorati Tags: barcamplondon3, lifestream, yahoopipes]]></description>
			<content:encoded><![CDATA[<p>It's all <a href="http://blog.cristianobetta.com/2007/11/23/how-to-build-your-own-lifestream-with-yahoo-pipes-and-no-server-side-logic/">here</a>!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/barcamplondon3" rel="tag">barcamplondon3</a>, <a href="http://technorati.com/tag/lifestream" rel="tag"> lifestream</a>, <a href="http://technorati.com/tag/yahoopipes" rel="tag"> yahoopipes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/11/24/barcamplondon3-creating-a-lifestream-with-yahoo-pipes-cristianobetta/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sponsorship Request</title>
		<link>http://www.kerrybuckley.org/2007/11/23/sponsorship-request/</link>
		<comments>http://www.kerrybuckley.org/2007/11/23/sponsorship-request/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 09:38:46 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/11/23/sponsorship-request/</guid>
		<description><![CDATA[Jane'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!]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2007/11/santa.jpg" alt="Jane as Santa" style="float: left; margin-right: 5px;" /><a href="http://blog.janeandkerry.com/2007/11/22/please-sponsor-me/">Jane</a>'s been talked into running round Christchurch Park dressed in an oversized Santa suit in aid of <a href="http://www.each.org.uk/">East Anglia's Children's Hospices</a>. If anyone feels like sponsoring her a few quid it would be greatly appreciated, and is dead easy to do <a href="http://www.justgiving.com/janemurray1">online</a>. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/11/23/sponsorship-request/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Barcamp Brighton</title>
		<link>http://www.kerrybuckley.org/2007/09/10/barcamp-brighton/</link>
		<comments>http://www.kerrybuckley.org/2007/09/10/barcamp-brighton/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 17:57:58 +0000</pubDate>
		<dc:creator>Kerry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.kerrybuckley.com/2007/09/10/barcamp-brighton/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>I was lucky enough to attend <a href="http://barcamp.org/BarCampBrighton">BarcampBrighton</a> at the weekend, thanks to a tip-off from <a href="http://blog.whatfettle.com/">psd</a> and the fact that I had to be down the road in Eastbourne today anyway for our release planning.</p>
<p>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.</p>
<p>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 <a href="http://www.youtube.com/watch?v=tScm-eZInBE">this card trick</a> by nicepaul, an audience discussion (neatly driven from a <a href="http://tiddlywiki.org/wiki/Main_Page">tiddywiki</a>) 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 <a href="http://www.eblong.com/zarf/werewolf.html">Werewolf</a>. I did a demo of <a href="http://openqa.org/selenium/">Selenium</a>, which seemed to go down well, albeit with an audience of four (it was the last session on Sunday, and I was competing with <a href="http://heathervescent.blogs.com/heathervescent/2007/04/powerpoint_kara.html">Powerpoint Karaoke</a>).</p>
<p>All in all, one of the best conferences I've been to. Which isn't bad for free (with food and beer thrown in)!</p>
<p>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, <a href="http://www.madgex.com/">Madgex</a>, 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.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/barcamp+barcampbrighton+barcampbrighton07" rel="tag">barcamp barcampbrighton barcampbrighton07</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrybuckley.org/2007/09/10/barcamp-brighton/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.250 seconds -->

