<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>mike.williamson</title>
	<atom:link href="http://mikewilliamson.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikewilliamson.wordpress.com</link>
	<description>the blog without a decent tagline.</description>
	<lastBuildDate>Thu, 26 Jan 2012 18:51:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mikewilliamson.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>mike.williamson</title>
		<link>http://mikewilliamson.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mikewilliamson.wordpress.com/osd.xml" title="mike.williamson" />
	<atom:link rel='hub' href='http://mikewilliamson.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sqlite: Failed to build gem native extension</title>
		<link>http://mikewilliamson.wordpress.com/2011/12/06/sqlite-failed-to-build-gem-native-extension/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/12/06/sqlite-failed-to-build-gem-native-extension/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 01:30:51 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=528</guid>
		<description><![CDATA[I just stumbled across this error in mid-yak-shave for one of my projects. While trying to get my app up and running to test something I get the usual native extensions whining: Installing sqlite-ruby (2.2.3) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/mike/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb checking for main() in -lsqlite&#8230; no checking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=528&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just stumbled across this error in mid-yak-shave for one of my projects. While trying to get my app up and running to test something I get the usual native extensions whining:</p>
<blockquote><p>Installing sqlite-ruby (2.2.3) with native extensions<br />
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.</p>
<p>/home/mike/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb<br />
checking for main() in -lsqlite&#8230; no<br />
checking for sqlite.h&#8230; no<br />
*** extconf.rb failed ***<br />
Could not create Makefile due to some reason, probably lack of<br />
necessary libraries and/or headers. Check the mkmf.log file for more<br />
details. You may need configuration options.</p></blockquote>
<p>After a you see this sort of thing a few times you pretty instinctively bang out the command:</p>
<blockquote><p>sudo apt-get install libsqlite3-dev</p></blockquote>
<p>I was pretty takenaback to get the same error after installing the dev libraries. It turns out that I was installing the gem &#8220;sqlite-ruby&#8221; when I needed &#8220;<a href="https://github.com/qoobaa/sqlite3">sqlite3</a>&#8221; is what you need if you are using Ruby 1.9.2.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/528/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/528/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/528/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=528&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/12/06/sqlite-failed-to-build-gem-native-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Crayon Physics Deluxe on Ubuntu Natty</title>
		<link>http://mikewilliamson.wordpress.com/2011/08/03/installing-crayon-physics-deluxe-on-ubuntu-natty/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/08/03/installing-crayon-physics-deluxe-on-ubuntu-natty/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 00:38:51 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=522</guid>
		<description><![CDATA[I was excited to see Crayon Physics Deluxe included in the latest edition of the Humble Bundle. When I downloaded it I was a little thrown off when I realized that I was not getting a .deb file (which would handle dependencies) but just a compressed tar archive. The install was not exactly intuitive so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=522&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was excited to see Crayon Physics Deluxe included in the latest edition of the <a href="http://www.humblebundle.com/">Humble Bundle</a>. When I downloaded it I was a little thrown off when I realized that I was not getting a .deb file (which would handle dependencies) but just a compressed tar archive. The install was not exactly intuitive so I thought I would make a note of it here for others.<br />
I extracted the CrayonPhysicsDeluxe folder that is in the tar archive into my home directory.<br />
Then I opened a terminal window (alt + ctrl + t) and since one of the files in the folder was called launcher I decided that was a good place to start. I tried to run it and got the following error:</p>
<blockquote><p>
mike@sleepycat:~/CrayonPhysicsDeluxe$./launcher<br />
./launcher: error while loading shared libraries: libmikmod.so.2: cannot open shared object file: No such file or directory
</p></blockquote>
<p>It turns out that libmikmod and another library need to be installed to get this game up and running&#8230; </p>
<blockquote><p>sudo apt-get install libmikmod2 libsmpeg0</p></blockquote>
<p>You will also need to make the file &#8220;crayon&#8221; in the CrayonPhysicsDeluxe folder executable as well:</p>
<blockquote><p>mike@sleepycat:~/CrayonPhysicsDeluxe$ chmod +x crayon</p></blockquote>
<p>I can&#8217;t remember if I had to chmod the launcher file as well, but if you run &#8220;ls&#8221; on ~/CrayonPhysicsDeluxe launcher and crayon should both be green.</p>
<p>Happy drawing!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=522&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/08/03/installing-crayon-physics-deluxe-on-ubuntu-natty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Do or do not. There is no try. Wait, yes there is.</title>
		<link>http://mikewilliamson.wordpress.com/2011/04/22/do-or-do-not-there-is-no-try-wait-yes-there-is/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/04/22/do-or-do-not-there-is-no-try-wait-yes-there-is/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 16:40:41 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=514</guid>
		<description><![CDATA[Cruising through Stackoverflow I noticed some syntax that I had never seen before: @blog.user.try(:username) Interested, I looked it up. As far as I can tell, it seems that one of the clever folks behind Github posted it as a helpful snippet on his blog. From there it seems to have made its way into the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=514&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cruising through Stackoverflow I noticed some syntax that I had never seen before:</p>
<blockquote><p>@blog.user.try(:username)</p></blockquote>
<p>Interested, I looked it up. As far as I can tell, it seems that one of the clever folks behind Github posted it as a helpful snippet on <a href="http://ozmm.org/posts/try.html">his blog</a>.<br />
From there it seems to have made its way into the Rails <a href="http://api.rubyonrails.org/classes/Object.html#method-i-try">ActiveSupport library</a> and then into <a href="http://redmine.ruby-lang.org/issues/1122">Ruby 1.9 itself</a>. Basically its the same as send except it swallows errors and just returns nil.<br />
An example from the docs:</p>
<blockquote><p>
@person ? @person.name : nil
</p></blockquote>
<p>could be replaced with:</p>
<blockquote><p>@person.try(:name)</p></blockquote>
<p>Coolness! I know this will be making its way into my own code shortly. Check out <a href="http://blog.scottharvey.co/blog/2010/7/5/ruby-on-rails-try-method.html">Scott Harvey&#8217;s excellent explanation of the try method</a> and also take a look at the <a href="http://api.rubyonrails.org/classes/Object.html#method-i-try">documentation</a> here.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/514/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=514&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/04/22/do-or-do-not-there-is-no-try-wait-yes-there-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Internet Explorer as business strategy</title>
		<link>http://mikewilliamson.wordpress.com/2011/04/04/internet-explorer-as-business-strategy/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/04/04/internet-explorer-as-business-strategy/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 16:03:22 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[web standards]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=507</guid>
		<description><![CDATA[By the time I was making my first website back in 1998 the idea that the browser was going to compete with, and quite possibly replace the operating system was already old. While I was pecking HTML into the Geocities code editor, brilliant people at Netscape and Microsoft could already see that with a proper [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=507&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By the time I was making my first website back in 1998 the idea that the browser was going to compete with, and quite possibly replace the operating system was already old. While I was pecking HTML into the Geocities code editor, brilliant people at Netscape and Microsoft could already see that with a proper scripting language it would be possible to create applications that would rival desktop applications. With all your apps running in the browser, Netscape&#8217;s Marc Andreessen famously pointed out that “Windows will just be a buggy set of device drivers”.</p>
<p>Microsoft&#8217;s response was well known: It used its monopoly in the operating systems world to push Internet Explorer into a position of market dominance. But there is another strategy that went with this that I feel is under-appreciated for its brilliance and seemingly unacknowledged in the recent kerfuffle about <a href="http://www.theregister.co.uk/2011/02/15/mozilla_on_ie9/">whether or not IE is a modern browser</a>; Internet Explorer was never really intended to be a browser, let alone a modern one. It&#8217;s a Trojan horse.</p>
<p>That may seem like a strange thing to say, the term is largely used for computer viruses now, but I mean it in the original sense of the term; &#8220;<a href="http://en.wiktionary.org/wiki/Trojan_horse">a subversive person or device placed within the ranks of the enemy&#8221;</a>. In this case the city being sacked and burned is not Troy, it is the promised land of desktop quality applications running in the browser.</p>
<p>In the same way that all word processors offer the ability to bold or underline text, Browsers are supposed to offer the authors of web pages a reasonably standard set of tools. There must be some way of announcing that a certain section of text is bold, or located at a certain place on the page. Any browser reading that web page should respect that announcement and act accordingly. More often than not IE does something else.</p>
<p>Since its earliest days IE has  consistently behaved differently, forcing page authors to adopt whatever syntax IE requires in order to reach the 90%+ of the people on the internet.</p>
<p>While there are plenty of formatting &#8220;quirks&#8221; to complain about, the real differences come when web page authors try to attach behaviour to their pages using Javascript; the language that Netscape created to bring about their vision of desktop quality applications in the browser.</p>
<p>Because of the differences IE introduced, it&#8217;s common to see authors checking to see if it is IE that is running their code and running the commands specific to that version. Its even common to see people creating a loading totally separate scripts based on which version of IE is being used to view the site. This has been necessary because not only is the syntax to preform a certain action going to be different between IE and every other browser, but it is also changes between versions of IE.</p>
<p>Its clear to me that Microsoft&#8217;s unrelenting consistency in introducing incompatibilities into Javascript (and all the standards the web runs on) via IE is actually a business strategy to stave off web applications from competing with the desktop.  I can hear the truth of this in the chorus of groans or ripples of laughter at every mention of IE among a group of web developers (pretty much any video from a <a href="http://events.jquery.org/2010/boston/video/">jQuery conference</a> will have this).</p>
<p>While Mozilla&#8217;s Paul Rouget is <a href="http://people.mozilla.com/~prouget/ie9/">pointing out </a>that in spite of the &#8220;Same markup&#8221; and  <a href="http://www.computerworld.com/s/article/9215825/Browser_rivals_mock_Microsoft_s_native_HTML5_claims">non-sensical &#8220;Native HTML5&#8243;</a> sloganeering, even the newest version of IE lacks support for many of the parts of the HTML5 standard. Given that HTML5 is very much aimed at enabling web apps to look and feel like desktop apps, I would expect nothing else. This line of reasoning also suggests that  Mozilla or Chrome isn&#8217;t the biggest threat to Microsoft; jQuery is.</p>
<p>If that&#8217;s true you may ask, why then would Microsoft be contributing code to jQuery? Well I would say that this strategy has been so successful that it is now starting to hurt Microsoft. Many developers took Microsoft&#8217;s browser features at face value and used them&#8230; extensively. Now the world (especially the lucrative corporate world) is filled with web applications that can only run on a specific version of IE (often IE6) and Microsoft is stuck supporting them. Its a big enough problem that it prompted Google to create Chrome Frame so those stuck with IE6 could still use (Google&#8217;s) modern websites) When you have <a href="http://www.ie6countdown.com/">Microsoft themselves pleading with users to stop using IE6</a>, Their support of, and contributions to, jQuery are likely because they see it as a method of moving people between versions of IE.</p>
<p>So while its easy to knock Internet Explorer, especially when I am trying to figure out how to get my pages working in IE, I try to remember to acknowledge it for what it is; a brilliant piece of business strategy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=507&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/04/04/internet-explorer-as-business-strategy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Using a Rogers Rocket Stick/Telecom T Stick with Ubuntu 10.10</title>
		<link>http://mikewilliamson.wordpress.com/2011/03/23/ubuntu/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/03/23/ubuntu/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 03:17:52 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[rocket stick]]></category>
		<category><![CDATA[t-stick]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=503</guid>
		<description><![CDATA[Months ago I got a ZTE MF627 USB modem from Telecom New Zealand. It&#8217;s essentially a cell phone the size of a usb memory stick. There it is known as a T-stick, here in Ottawa, Rogers sells it as the Rogers Rocket stick. It didn&#8217;t work when I tried it initially, something to do with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=503&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Months ago I got a ZTE MF627 USB modem from Telecom New Zealand. It&#8217;s essentially a cell phone the size of a usb memory stick. There it is known as a T-stick, here in Ottawa, Rogers sells it as the Rogers Rocket stick. It didn&#8217;t work when I tried it initially, something to do with the kernel version that Ubuntu was using at the time. Well a few versions have ticked by and now I am running 2.6.35-28-generic and decided to give it another try. I am happy to say that this won&#8217;t be a post about solving a problem. I plugged it in, clicked through a wizard, and it works.<a href="http://mikewilliamson.files.wordpress.com/2011/03/screenshot-new-mobile-broadband-connection.png"><img class="aligncenter size-full wp-image-504" title="Setting up the Rogers Rocket Stick on Ubuntu" src="http://mikewilliamson.files.wordpress.com/2011/03/screenshot-new-mobile-broadband-connection.png?w=480&#038;h=336" alt="" width="480" height="336" /></a> You get to the wizard by right clicking on your network icon, selecting &#8220;edit connections&#8221; and in the Network connections box that opens click &#8220;Mobile Broadband&#8221; and then add. All the info about APN settings and whatnot are in there once you say what provider you are with. I am really impressed with how easy it was. The only downside to the whole thing is that it takes a minute or two to get connected once you plug it in. Other than that I am really pleased with how easy they made it to get this thing working. Kudos!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/503/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=503&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/03/23/ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>

		<media:content url="http://mikewilliamson.files.wordpress.com/2011/03/screenshot-new-mobile-broadband-connection.png" medium="image">
			<media:title type="html">Setting up the Rogers Rocket Stick on Ubuntu</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Rails 3 with no ActiveRecord</title>
		<link>http://mikewilliamson.wordpress.com/2011/03/21/running-rails-3-with-no-activerecord/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/03/21/running-rails-3-with-no-activerecord/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 20:35:17 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=499</guid>
		<description><![CDATA[I am just finishing a simple app that doesn&#8217;t require a database. When running it on the server I was getting errors saying : LoadError (no such file to load &#8212; sqlite3): But it was already commented out of my Gemfile. It took some thinking before I realized that ActiveRecord is probably looking for that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=499&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am just finishing a simple app that doesn&#8217;t require a database. When running it on the server I was getting errors saying :</p>
<blockquote><p>
LoadError (no such file to load &#8212; sqlite3):
</p></blockquote>
<p>But it was already commented out of my Gemfile. It took some thinking before I realized that ActiveRecord is probably looking for that by default regardless of whether or not I am including it in my Gemfile. So the solution was to remove ActiveRecord. That used to be reasonably obvious in Rails 2.3 but Rails 3 made it a little less so. A standard config.application.rb file starts with the lines:</p>
<blockquote><p>
require File.expand_path(&#8216;../boot&#8217;, __FILE__)</p>
<p>require &#8216;rails/all&#8217;
</p></blockquote>
<p>Rails 3 is broken up into a bunch of different parts and that require &#8216;rails/all&#8217; pulls in, well all of them including ActiveRecord. An equivalent statement would be:</p>
<blockquote><p>
require &#8220;active_record/railtie&#8221;<br />
require &#8220;action_controller/railtie&#8221;<br />
require &#8220;action_mailer/railtie&#8221;<br />
require &#8220;active_resource/railtie&#8221;<br />
require &#8220;rails/test_unit/railtie&#8221;
</p></blockquote>
<p>Of course once you have exchanged &#8216;rails/all&#8217; for that, you can simply comment out ActiveRecord and that&#8217;s that. If you are starting a new Rails app you can have Rails do that for you by using the flags -O or &#8211;skip-activerecord.</p>
<p>Now that AR is gone, my app starts without looking for a database and all is goodness and light.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/499/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/499/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/499/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=499&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/03/21/running-rails-3-with-no-activerecord/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Rails 3 on dreamhost</title>
		<link>http://mikewilliamson.wordpress.com/2011/03/21/rails-3-on-dreamhost/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/03/21/rails-3-on-dreamhost/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 02:12:00 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=497</guid>
		<description><![CDATA[Since is seems strangely difficult to find a straight answer about getting Rails running on Dreamhost, here are the current versions of all the important programs: _ \ _&#124;_` &#124; _` &#124; &#124; &#124; -_) .__/_&#124;\__,_&#124;\__, &#124;\_,_&#124;\___&#124; _&#124; ____/ Welcome to prague.dreamhost.com Any malicious and/or unauthorized activity is strictly forbidden. All activity may be logged [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=497&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since is seems strangely difficult to find a straight answer about getting Rails running on Dreamhost, here are the current versions of all the important programs:</p>
<blockquote>
<p>   _ \  _|_` |  _` | |  |  -_)<br />
  .__/_|\__,_|\__, |\_,_|\___|<br />
 _|           ____/<br />
 Welcome to prague.dreamhost.com</p>
<p>Any malicious and/or unauthorized activity is strictly forbidden.<br />
All activity may be logged by DreamHost Web Hosting.</p>
<p>[prague]$ ruby -v<br />
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]<br />
[prague]$ rails -v<br />
Rails 3.0.3<br />
[prague]$ gem -v<br />
1.3.6<br />
[prague]$ bundle -v<br />
Bundler version 1.0.7<br />
[prague]$ date<br />
Sun Mar 20 19:04:34 PDT 2011
</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/497/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=497&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/03/21/rails-3-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Keeping credentials out of your code with environmental vars</title>
		<link>http://mikewilliamson.wordpress.com/2011/03/12/keeping-credentials-out-of-your-code-with-environmental-vars/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/03/12/keeping-credentials-out-of-your-code-with-environmental-vars/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 21:36:47 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=495</guid>
		<description><![CDATA[I have a project that is up on Github and deployed to Heroku. As I was adding the user credentials file to my project it dawned on me: my application needs these credentials when I run it on Heroku but I don&#8217;t want them to be part of my project and therefore visible to everyone [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=495&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a project that is up on Github and deployed to Heroku. As I was adding the user credentials file to my project it dawned on me: my application needs these credentials when I run it on Heroku but I don&#8217;t want them to be part of my project and therefore visible to everyone on Github. </p>
<p>Turning to the great minds at Stackoverflow, I was advised to use environmental variables.<br />
Since my application is connecting to another site via SFTP I have a hash of all the usual stuff; username password and hostname. It turns out you can just reference environmental variables like this:</p>
<blockquote><p>
  @sftp_credentials = {Rails.env.to_sym =&gt; {<br />
    :sftp_host =&gt; ENV['SFTP_HOST'],<br />
    :sftp_user =&gt; ENV['SFTP_USER'],<br />
    :sftp_password =&gt; ENV['SFTP_PASSWORD']<br />
    }}
</p></blockquote>
<p>And then make sure you have the environment vars set in your .bashrc so they are available during local development:</p>
<blockquote><p>
export SFTP_HOST=&#8217;somesite.com&#8217;<br />
export SFTP_USER=&#8217;someuser&#8217;<br />
export SFTP_PASSWORD=&#8217;somepassword&#8217;
</p></blockquote>
<p>And then <a href="http://devcenter.heroku.com/articles/config-vars">set those variables on Heroku</a> so they are available when your app runs there:</p>
<blockquote><p>
mike@sleepycat:~/projects/myapp$ heroku config:add SFTP_HOST=somesite.com SFTP_USER=someuser SFTP_PASSWORD=somepassword<br />
Adding config vars:<br />
  SFTP_HOST     =&gt; somesite.com<br />
  SFTP_PASSWORD =&gt; somepassword<br />
  SFTP_USER     =&gt; someuser<br />
Restarting app&#8230;done.
</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/495/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=495&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/03/12/keeping-credentials-out-of-your-code-with-environmental-vars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Git: Not a valid object name?</title>
		<link>http://mikewilliamson.wordpress.com/2011/03/04/git-not-a-valid-object-name/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/03/04/git-not-a-valid-object-name/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 19:02:40 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[branch]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=489</guid>
		<description><![CDATA[I have been using branches in my general development workflow for while but a lot of my development has just been local. Recently I have been moving between computers and pushing my project up to github. This works well but introduces a minor twist on branching; creating local tracking branches for remote branches. I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=489&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been using branches in my general development workflow for while but a lot of my development has just been local. Recently I have been moving between computers and pushing my project up to github. This works well but introduces a minor twist on branching; creating local tracking branches for remote branches.<br />
I have been using git branch &#8211;track and life has been good. Well today I must have done something different:</p>
<blockquote><p>
mike@sleepycat:~/projects/my_app$ git branch &#8211;track haml_val origin/haml_val<br />
fatal: Not a valid object name: &#8216;origin/haml_val&#8217;.
</p></blockquote>
<p>A fatality huh? I checked my syntax and it really was fine. Curious I checked my remotes:</p>
<blockquote><p>
mike@sleepycat:~/projects/myapp$ git remote show origin<br />
&#8230;<br />
    haml_val new (next fetch will store in remotes/origin)<br />
&#8230;
</p></blockquote>
<p>From that I decide that a quick git pull (which I believe runs git fetch and then get merge) should do the trick but I get the same error. After some head scratching it turns out that the solution really is fetch:</p>
<blockquote><p>
mike@sleepycat:~/projects/myapp$ git fetch origin<br />
From github.com:sleepycat/myapp<br />
 * [new branch]      haml_val   -&gt; origin/haml_val<br />
   bf4ba85..83f687f  master     -&gt; origin/master<br />
mike@sleepycat:~/projects/myapp$ git branch &#8211;track haml_val origin/haml_val<br />
Branch haml_val set up to track remote branch haml_val from origin.
</p></blockquote>
<p>Success! I still don&#8217;t know why that would work and git pull wouldn&#8217;t but either way its a lesson learned.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/489/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/489/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/489/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=489&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/03/04/git-not-a-valid-object-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>
	</item>
		<item>
		<title>Splitting Flac files on Ubuntu</title>
		<link>http://mikewilliamson.wordpress.com/2011/02/26/splitting-flac-files-on-ubuntu/</link>
		<comments>http://mikewilliamson.wordpress.com/2011/02/26/splitting-flac-files-on-ubuntu/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 21:36:05 +0000</pubDate>
		<dc:creator>mikewilliamson</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ape]]></category>
		<category><![CDATA[flac]]></category>
		<category><![CDATA[split]]></category>

		<guid isPermaLink="false">http://mikewilliamson.wordpress.com/?p=481</guid>
		<description><![CDATA[There have been a few occasions where I have found myself with an album saved as a single flac file, a cue file and no idea what to do next. Well it turns out that splitting flac files according to a cue sheet is a pretty easy thing once you have the right software. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=481&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There have been a few occasions where I have found myself with an album saved as a single flac file, a cue file and no idea what to do next. Well it turns out that splitting flac files according to a cue sheet is a pretty easy thing once you have the right software. The right software in this case is the rather unlikely-to-ever-turn-up-in-your-google-search program gCue2tracks.</p>
<p><a href="http://mikewilliamson.files.wordpress.com/2011/02/screenshot-gcue2tracks-2.png"><img class="aligncenter size-full wp-image-482" title="gCue2tracks-2" src="http://mikewilliamson.files.wordpress.com/2011/02/screenshot-gcue2tracks-2.png?w=480&#038;h=369" alt="Splitting files with gCue2tracks" width="480" height="369" /></a></p>
<p>Its simple enough that it really doesn&#8217;t warrant any explanation. Simply point it to the cue file and click convert. It works on flac, ape and several other files. It seems the most recent version is to be found <a href="http://gtk-apps.org/content/show.php?content=80703">here</a>. If it complains about needing &#8220;oggenc&#8221; when you try to use it just run &#8220;sudo apt-get install vorbis-tools&#8221; and it will install the ogg encoder gCue2Tracks is looking for.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikewilliamson.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikewilliamson.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikewilliamson.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikewilliamson.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikewilliamson.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikewilliamson.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikewilliamson.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikewilliamson.wordpress.com/481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikewilliamson.wordpress.com&amp;blog=356197&amp;post=481&amp;subd=mikewilliamson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikewilliamson.wordpress.com/2011/02/26/splitting-flac-files-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a8460f1891830c4cfdfb6707d8cb56ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikewilliamson</media:title>
		</media:content>

		<media:content url="http://mikewilliamson.files.wordpress.com/2011/02/screenshot-gcue2tracks-2.png" medium="image">
			<media:title type="html">gCue2tracks-2</media:title>
		</media:content>
	</item>
	</channel>
</rss>
