<?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>matt.west.co.tt &#187; Rants</title>
	<atom:link href="http://matt.west.co.tt/category/rants/feed/" rel="self" type="application/rss+xml" />
	<link>http://matt.west.co.tt</link>
	<description>adventures of a retro electro media hacker type person</description>
	<lastBuildDate>Mon, 25 Jul 2011 21:37:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Oh hai, I&#8217;m WordPress 3.0.</title>
		<link>http://matt.west.co.tt/rants/oh-hai-im-wordpress-3-0/</link>
		<comments>http://matt.west.co.tt/rants/oh-hai-im-wordpress-3-0/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 23:34:18 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/?p=170</guid>
		<description><![CDATA[We offer instructions for upgrading your 2.x WordPress install via Subversion, so we certainly wouldn&#8217;t do anything silly between versions like deleting the entire directory that contains the &#8216;default&#8217; theme, leaving your blog as a blank page with no indication of what&#8217;s gone wrong. Oh, you found the &#8216;appearance&#8217; tab in the admin backend? Ah, [...]]]></description>
			<content:encoded><![CDATA[<p>We offer instructions for <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">upgrading your 2.x WordPress install via Subversion</a>, so we certainly wouldn&#8217;t do anything silly between versions like deleting the entire directory that contains the &#8216;default&#8217; theme, leaving your blog as a blank page with no indication of what&#8217;s gone wrong.</p>
<p>Oh, you found the &#8216;appearance&#8217; tab in the admin backend? Ah, that&#8217;s my cue to notice that your website is broken, and instantly replace it with <a href="http://2010dev.wordpress.com/">a nice picture of some trees</a>. You like trees, don&#8217;t you? They&#8217;re very pretty, and I think sometimes you&#8217;ve got to put that above more practical concerns like not <a href="http://wordpress.org/support/topic/411446">suddenly breaking</a> <a href="http://wordpress.org/support/topic/412752">everyone&#8217;s website</a>.</p>
<p>What, you want your old theme back? Aww. OK, here it is in our themes repository. Oh, sure, I <em>could</em> just tell you where you can download it, but I have a better idea. Let me install it automatically for you instead! Just give me your FTP password, and everything will be <em>juuuuust fine</em>.</p>
<p>No, I don&#8217;t think there&#8217;s a plugin that will let you punch programmers in the face. Why do you ask?</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/rants/oh-hai-im-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We&#8217;re independent, honest</title>
		<link>http://matt.west.co.tt/rants/independent-honest/</link>
		<comments>http://matt.west.co.tt/rants/independent-honest/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 18:37:01 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/?p=114</guid>
		<description><![CDATA[McDonald&#8217;s courts long-term jobless Spokesman for Leeds Metropolitan University on the radio: &#8220;Macdonalds paid us to perform an independent study&#8230;&#8221; Bollocks they did. If you were paid for it, it&#8217;s not independent. Getting money for something is the exact definition of &#8220;dependent&#8221;. Call it impartial, unbiased or neutral if you like. It might even be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.google.com/hostednews/ukpress/article/ALeqM5jz_4RBZgRL-7bznvCe9oz9_lPuUQ">McDonald&#8217;s courts long-term jobless</a></p>
<p>Spokesman for Leeds Metropolitan University on the radio: &#8220;Macdonalds paid us to perform an independent study&#8230;&#8221;</p>
<p>Bollocks they did.</p>
<p>If you were paid for it, it&#8217;s not independent. Getting money for something is the exact definition of &#8220;dependent&#8221;. Call it impartial, unbiased or neutral if you like. It might even be true. But &#8220;independent&#8221; actually means something real and verifiable that backs up your claim to be impartial. It doesn&#8217;t mean &#8220;we&#8217;re unbiased because we say so, honest&#8221;, and when you start using the word as a free pass to avoid scrutiny, you go from being possibly biased to actually lying about the fact. Which is not good for your credibility as a research group. <em>Stop polluting our language, you tossers.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/rants/independent-honest/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Some rather opinionated plugins</title>
		<link>http://matt.west.co.tt/rants/opinionated-plugins/</link>
		<comments>http://matt.west.co.tt/rants/opinionated-plugins/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:54:24 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/?p=105</guid>
		<description><![CDATA[Update: The belongs_to patch has now made it into core Rails. Thanks to Jon for persevering with it where I threw in the towel, and to Koz and Pratik for giving it their attention. I&#8217;m still not entirely convinced that going through the conventional channels (as opposed to &#8220;whinging on a blog&#8221;) would have yielded [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> The belongs_to patch has now made it into core Rails. Thanks to Jon for persevering with it where I threw in the towel, and to Koz and Pratik for giving it their attention. I&#8217;m still not entirely convinced that going through the conventional channels (as opposed to &#8220;whinging on a blog&#8221;) would have yielded the crucial feedback to get the patch in a state where it could be accepted, but all&#8217;s well that ends well&#8230;</p>
<hr />
<img src="/images/jump_the_shark.gif" width="248" height="186" alt="A shark, being jumped, yesterday." title="A shark, being jumped, yesterday." style="float: right; border: 4px solid silver; margin: 10px;" />Take this as the rantings of a pissed-off curmudgeon who&#8217;s had his <a href="http://rails.lighthouseapp.com/projects/8994/tickets/142-patch-belongs_to-association-not-updated-when-assigning-to-foreign-key">second core patch rejected</a> if you will, but it&#8217;s my sad duty to report that Rails has <a href="http://www.jumptheshark.com/help.jspa">jumped the shark</a>. It happened when it stopped being a framework and started being a collection of opinions instead.</p>
<p>You see, in my book a framework is something that&#8217;s meant to make programmers work more effectively &#8211; not to lecture them about what they&#8217;re doing wrong. Lecturing can be a good thing, as long as it ultimately results in better code &#8211; I&#8217;ll happily admit that following the Rails learning curve has taught me an awful lot about good programming practices. More and more though, I&#8217;m finding it being used to justify just plain broken features: If it doesn&#8217;t work, it&#8217;s your fault for not doing it the right way. Take this bit of profoundly broken behaviour:</p>
<p><i>let&#8217;s say we have a Company model, which belongs_to :city</i></p>
<pre>&gt;&gt; torchbox = Company.find_by_name('Torchbox')
=&gt; #&lt;Company id: 1, name: "Torchbox", city_id: 1&gt;
&gt;&gt; torchbox.city
=&gt; #&lt;City id: 1, name: "London"&gt;</pre>
<p>Aha, we&#8217;ve got the city wrong. Let&#8217;s reassign a bundle of attributes then, like we would if we were doing this through a web form:</p>
<pre>&gt;&gt; torchbox.attributes = {:name =&gt; 'Torchbox', :city_id =&gt; 2}
=&gt; {:name =&gt; 'Torchbox', :city_id =&gt; 2}</pre>
<p>Right, so now we should retrieve the correct one.</p>
<pre>&gt;&gt; torchbox.city
=&gt; #&lt;City id: 1, name: "London"&gt;</pre>
<p>Er, oops.<br />
<span id="more-105"></span><br />
But no &#8211; according to the response on that ticket, Rails isn&#8217;t at fault, because there&#8217;s a convoluted way I can rewrite my code to make that not happen. Out in the real world we would refer to that as &#8220;a workaround for the bug&#8221;. But Rails doesn&#8217;t have bugs&#8230; it just has opinions. My code sucks, as indicated by the fact that it doesn&#8217;t work, and if I just learn to write it in a way that doesn&#8217;t suck then I&#8217;ll become a better programmer. In that way, the Rails developers have, intentionally or not, painted themselves into a position where they&#8217;re immune to criticism: Rails works perfectly logically to them, because they wrote it. There&#8217;s no counter-intuitive behaviour to them, because they know the codebase back to front and understand exactly what it&#8217;s doing and not doing. Anyone who believes it is counter-intuitive just has a different opinion to them, and should be forced to either accept their opinions or get out of the Rails party.</p>
<p>Well, quite frankly that&#8217;s bollocks isn&#8217;t it? Even if their method is genuinely better according to some metric I don&#8217;t understand (and I don&#8217;t believe it is: my original approach works perfectly well the other 98% of the time and is in fact such a well-established way of doing things that even <em>the Lighthouse website where I reported the bug</em> does it that way) &#8211; my approach <em>is</em> better according to the rather more important measure of being <strong>the one I thought of first</strong>. The big promise of agile development was that we&#8217;d all spend more time implementing what we want to implement, and less time fighting against the mundane details of our platform. Any time the platform forces me to get out of the flow of building my application and figure out how to bend Rails to do what I want it to do, that&#8217;s a FAIL for agile programming and for Rails.</p>
<p>And if the code I write is something that logically should work, that I so passionately believe <em>must</em> work that I&#8217;m willing to spend my own time tracking down the reason why it doesn&#8217;t work, fixing it, testing the fix, writing it up and handing my results to you on a plate, then if you don&#8217;t agree then you&#8217;d damn well better have a better reason than &#8220;meh, I don&#8217;t really like doing it that way&#8221;.</p>
<p>But wait, there&#8217;s still hope! If I act as cheerleader on the Rails core mailing list, then I might be able to drum up enough support to get my patch pushed through! Well, nuts to that. I&#8217;ve put enough effort into fixing their broken software already, and now I have no desire to spend even more effort campaigning for a result that doesn&#8217;t even personally affect me any more, because now I&#8217;ve got a plugin that fixes it, and nobody but me will ever know about it until they get bitten by that bug themselves, spend several hours tearing their hair out over it, and eventually stumble upon this blog post. Hello there. I suppose you&#8217;d like to know how to fix it then? <a href="http://code.torchbox.com/svn/rails/plugins/belongs_to_synchronisation/">Here, have a plugin.</a></p>
<p>So, having stuck the knife in, allow me to give it an extra twist by stating that <strong>indenting with spaces is shit</strong>. Tab characters make sense for the same reason that using &lt;h1&gt; rather than &lt;font size=&#8221;36&#8243;&gt; makes sense for HTML headings: it&#8217;s meaningful markup that indicates the purpose of that whitespace, and allows the reader to tune its appearance and behaviour, such as how much space it takes up and what happens when you move your cursor through it. And no, I don&#8217;t care about your vim profile that does automatic tab conversion. Some people actually like using other text editors, and if you use tab characters in your files then your choice isn&#8217;t limited to editors with esoteric make-your-text-behave-like-something-it-isn&#8217;t features, but is instead limited to editors which can insert the characters you tell it to without arsing everything up. (Unfortunately, it turns out that some editors aren&#8217;t capable of that, as we discovered: the Rails mode of Eclipse insists on chucking spaces in, even after we changed every conceivable preference setting.)</p>
<p>This is where my <a href="http://code.torchbox.com/svn/rails/plugins/retabulate/">retabulate plugin</a> comes in. It converts the customary two-space indent into tabs, both via an explicit rake task that does a sweep of your codebase, and by intercepting any new files created via script/generate. It can&#8217;t deal with YAML files though, because the YAML spec obnoxiously insists that only spaces are valid.</p>
<p>Enjoy these plugins&#8230; or ignore them entirely if you prefer. Hurrah for freedom of choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/rants/opinionated-plugins/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>&#8220;best not publish your work on the internet, someone might steal it&#8221;</title>
		<link>http://matt.west.co.tt/demoscene/copyright-abuse/</link>
		<comments>http://matt.west.co.tt/demoscene/copyright-abuse/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 09:26:07 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Demoscene]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/demoscene/copyright-abuse/</guid>
		<description><![CDATA[In 2005, record producer Timbaland found a piece of music by young Finnish musician Janne Suni on the internet, took it without permission to use in his own work, made a lot of money out of it, and shrugged it off with a sarcastic comment when confronted about it. This hasn&#8217;t been covered by BBC [...]]]></description>
			<content:encoded><![CDATA[<p>In 2005, record producer Timbaland found a piece of music by young Finnish musician <a href="http://www.fairlight.fi/tempest/">Janne Suni</a> on the internet, <a href="http://uk.youtube.com/watch?v=W2JjPFd7Jr8">took it without permission</a> to use in his own work, made a lot of money out of it, and <a href="http://www.zxdemo.org/extra/timbaland_radio_transcript.txt">shrugged it off with a sarcastic comment</a> when confronted about it. This hasn&#8217;t been covered by BBC News yet.</p>
<p>In 2007, adult DVD producer TVX Films found a picture by young British photographer <a href="http://www.larajade.com/">Lara Jade Coton</a> on the internet, took it without permission to use as the cover of one of their DVDs, made a lot of money out of it, and shrugged it off with a sarcastic comment when confronted about it. This was <a href="http://news.bbc.co.uk/1/hi/england/staffordshire/6943847.stm">covered on BBC News</a> yesterday, in a report that concluded with the reporter saying something to the effect of &#8220;The case is still ongoing, but for now this underlines the dangers of posting pictures on the internet.&#8221;</p>
<p>No. It. Damn. Well. Doesn&#8217;t.</p>
<p>Clearly, when putting a photograph or any other personal information online people need to consider the possibility of it falling into the wrong hands and being spread further than intended, but &#8220;what if some thieving scum come along and illegally repurpose it in a way that I don&#8217;t approve of&#8221; should not have to be part of those considerations. Ms Coton did nothing irresponsible in posting that photo. It wasn&#8217;t pornographic in any way &#8211; it was an elegant, professionally made shot. Good enough to be put on the cover of a DVD, in fact. Definitely not something she should regret putting her name to on the internet.</p>
<p>So what does that BBC reporter think she should have done? Just stuck to taking photos of bunnies and flowers? Or better, just stayed in and watched MTV? This is what copyright law is for, guys. You use someone&#8217;s work without permission, and you get your ass handed to you in court &#8211; as I sincerely hope will happen in both these cases. Don&#8217;t try to paint it as if the original artist did anything wrong by publishing that work for free on the internet&#8230; the suggestion that they should curb their artistic expression, just because there are a bunch of law breakers freeloading off it, is just offensive.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/demoscene/copyright-abuse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lloyds TSB: The world&#8217;s most pointless travel insurance</title>
		<link>http://matt.west.co.tt/rants/travel-insurance/</link>
		<comments>http://matt.west.co.tt/rants/travel-insurance/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 22:20:28 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/stuff/travel-insurance/</guid>
		<description><![CDATA[So I&#8217;m planning to do a fair bit of travelling this year, and I figured it would be wise to pick up some travel insurance. First port of call was my bank Lloyds TSB, and the online quote form on their website. It started sanely enough: confirm you&#8217;re in the UK, confirm you haven&#8217;t been [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m planning to do a fair bit of travelling this year, and I figured it would be wise to pick up some travel insurance. First port of call was my bank <a href="http://www.lloydstsb.com/">Lloyds TSB</a>, and the online quote form on their website. It started sanely enough: confirm you&#8217;re in the UK, confirm you haven&#8217;t been told by a doctor that you&#8217;re about to die, that sort of thing. Then I was presented with this:</p>
<blockquote>
<p>Certain activities you may take part in while away may be considered hazardous.</p>
<p><a href="https://www.lloydstsbtravelinsurance.co.uk/DangerousActivitiesList.html">Click here to see a list of hazardous activities</a></p>
<p>(Tickybox) I confirm that none of the applicants will be taking part in any of the hazardous activities listed.</p>
</blockquote>
<p>I think &#8220;Fruit or Vegetable Picking&#8221; was the first item to make me do a double-take.</p>
<p>Must be all that genetic engineering they&#8217;re doing these days. Those parsnips, they&#8217;ll all gang up against you the moment your back is turned. Oh well, that doesn&#8217;t bother me. Slightly more inconvenient, however, was the ban on both &#8220;Flying (as a Fare Paying Passenger in a Fully Licensed Passenger Carrying Aircraft)&#8221; and &#8220;Flying (Other Than As A Fare Paying Passenger In A Fully Licensed Passenger Carrying Aircraft)&#8221;. I also spent a moment pondering the implications of not being able to do any &#8220;Running (Non-Competitive and not Marathon)&#8221; &#8211; supposing I turned up at Bruxelles-Midi to find that my train was leaving in two minutes, I&#8217;d have to quickly find a willing volunteer to race against. Or continue running for another 25-and-a-bit miles after getting on the train, I suppose. And on observing that &#8220;Bungee Jumping (within Organiser&#8217;s Guidelines)&#8221; was right out whereas bungee jumping unsupervised with a slightly-too-long piece of string was presumably acceptable, I sensed that something was amiss.</p>
<p>Fortunately for me, a <a href="http://www.gotravelinsurance.co.uk/info/activities.asp">competitor&#8217;s website</a> had managed to get the right idea and correctly arranged the list under the subheadings &#8220;you <em>can</em> do this&#8221;, &#8220;we&#8217;ll let you do this if you pay us enough&#8221; and &#8220;now you&#8217;re just being silly&#8221;. Unfortunately for Lloyds TSB, I couldn&#8217;t alert them to their mistake because their website didn&#8217;t provide an email address for the appropriate department. So I had to email an inappropriate one instead. Where it will probably be sat on for the next six months.</p>
<p>Well done Lloyds TSB, you just lost 50 quid of business through having a crap website.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/rants/travel-insurance/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Way of the exploding phone</title>
		<link>http://matt.west.co.tt/rants/phone-bomb/</link>
		<comments>http://matt.west.co.tt/rants/phone-bomb/#comments</comments>
		<pubDate>Thu, 23 Mar 2006 00:20:42 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/rants/phone-bomb/</guid>
		<description><![CDATA[This is my phone. At Stansted Airport this weekend, the security people decided that they had to take it away and do their thing with swabs, to test it for explosives. This worries me slightly. If modern-day terrorists can pack any meaningful amount of explosive into a package that size and still have room for [...]]]></description>
			<content:encoded><![CDATA[<p>This is my phone.<br />
<img src="http://matt.west.co.tt/images/phone.jpg" width="240" height="180" alt="It fits very comfortably in the palm of my hand." style="float: right; margin: 1em;" /><br />
At Stansted Airport this weekend, the security people decided that they had to take it away and do their thing with swabs, to test it for explosives.</p>
<p>This worries me slightly. If modern-day terrorists can pack any meaningful amount of explosive into a package that size <em>and</em> still have room for a working mobile phone, aren&#8217;t we all a bit screwed?</p>
<p>And if so, is there any chance we can have litter bins back at railway stations now? I know they took them away to stop people planting bombs in them, but if in fact it turns out that they can do the same damage with a bit of chewing gum under a chair, then it would seem to be a bit of a moot point.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/rants/phone-bomb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Train announcements</title>
		<link>http://matt.west.co.tt/rants/train-announcements/</link>
		<comments>http://matt.west.co.tt/rants/train-announcements/#comments</comments>
		<pubDate>Tue, 28 Feb 2006 17:03:00 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://matt.west.co.tt/rants/train-announcements/</guid>
		<description><![CDATA[I have in my MP3 collection a George Carlin standup routine about how people add extra words to what they say to sound more important. &#8220;&#8216;Police have responded to an emergency situation.&#8217; No they haven&#8217;t, they&#8217;ve responded to an emergency!&#8221; Heard a good one on the train tonight. &#8220;Smoking is forbidden on all parts of [...]]]></description>
			<content:encoded><![CDATA[<p>I have in my MP3 collection a George Carlin standup routine about how people add extra words to what they say to sound more important. &#8220;<em>&#8216;Police have responded to an emergency situation.&#8217;</em> No they haven&#8217;t, they&#8217;ve responded to an emergency!&#8221;</p>
<p>Heard a good one on the train tonight. &#8220;Smoking is forbidden on all parts of this train; this includes the toilet areas.&#8221;</p>
<p>Toilet <em>areas</em>? That sounds awfully uncivilised &#8211; don&#8217;t they have actual toilets then? Toilet areas are the sort of thing a cat would have, surely.</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.west.co.tt/rants/train-announcements/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

