<?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>John Leach's Blog &#187; code</title>
	<atom:link href="http://johnleach.co.uk/words/archives/tag/code/feed" rel="self" type="application/rss+xml" />
	<link>http://johnleach.co.uk/words</link>
	<description>Stuff I think, see and do</description>
	<lastBuildDate>Fri, 18 Jun 2010 22:57:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Song In Code: Ramones, I wanna be sedated</title>
		<link>http://johnleach.co.uk/words/archives/2009/08/21/394/song-in-code-ramones-i-wanna-be-sedated</link>
		<comments>http://johnleach.co.uk/words/archives/2009/08/21/394/song-in-code-ramones-i-wanna-be-sedated#comments</comments>
		<pubDate>Fri, 21 Aug 2009 14:40:31 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[ramones]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sing]]></category>
		<category><![CDATA[song]]></category>
		<category><![CDATA[songsincode]]></category>
		<category><![CDATA[ukelele]]></category>

		<guid isPermaLink="false">http://johnleach.co.uk/words/?p=394</guid>
		<description><![CDATA[Just the first verse: go = Proc.new { sleep 24.hours } self.wants :sedatation begin ; nil ; end case go ; where "no" ; nil ; end self.wants :sedatation self.get '/airport' self.put '/airport/plane' before self.insane? do 3.times { hurry! } end return if self.can_control? :fingers return if self.can_control? :brain 5.times { "no" } I recorded [...]]]></description>
			<content:encoded><![CDATA[<p>Just the first verse:</p>
<pre><code>go = Proc.new { sleep 24.hours }
self.wants :sedatation
begin ; nil ; end
case go ; where "no" ; nil ; end
self.wants :sedatation
self.get '/airport'
self.put '/airport/plane'
before self.insane? do
  3.times { hurry! }
end
return if self.can_control? :fingers
return if self.can_control? :brain
5.times { "no" }
</code></pre>
<p>I recorded me singing it, which is kinda stupid tbh.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/C4j8XAQPoAs&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/C4j8XAQPoAs&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>I used mencoder to convert this to something Youtube found tasty. Like this:</p>
<p><code>mencoder -ss 15 -endpos 1:18 -vf pp=al:f,scale=480:360 -oac mp3lame -ovc lavc  -lavcopts vcodec=libx264:mbd=1:vbitrate=2000 MOV01362.MPG -o MOV01362.x264<br />
</code></p>
<p>Also, pimp for another Geek/Ukelele project: <a href="http://www.ukepedia.com">Ukepedia, all 3 million Wikipedia articles one song at a time</a></p>
]]></content:encoded>
			<wfw:commentRss>http://johnleach.co.uk/words/archives/2009/08/21/394/song-in-code-ramones-i-wanna-be-sedated/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
