<?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"
	>

<channel>
	<title>geeksomnia</title>
	<atom:link href="http://geeksomnia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://geeksomnia.com</link>
	<description>healthy and delicious</description>
	<pubDate>Fri, 23 May 2008 11:23:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Laziness</title>
		<link>http://geeksomnia.com/2008/05/23/laziness/</link>
		<comments>http://geeksomnia.com/2008/05/23/laziness/#comments</comments>
		<pubDate>Fri, 23 May 2008 11:23:12 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/?p=26</guid>
		<description><![CDATA[We&#8217;re trying out the Backpack Journal at work, so I spent a little bit of time yesterday making sure my code commits would automatically show up as entries. I thought it would be nice if I could easily set my Journal status from the command line, so I knocked together a quick tool. Other folks [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re trying out the <a href="http://www.37signals.com/svn/posts/1040-launch-the-backpack-journal">Backpack Journal</a> at work, so I spent a little bit of time yesterday making sure my code commits would automatically show up as entries. I thought it would be nice if I could easily set my Journal status from the command line, so I knocked together a quick tool. Other folks wanted to use it too, and a few minutes later it was <a href="http://github.com/jbarnette/backpack-journal/tree/master">available via Github</a>.</p>
<p>It was far easier for me to host on Github than to set things up on a private company server. It was far easier for me to generate a gem with <a href="http://seattlerb.rubyforge.org/hoe">Hoe</a> and have Github autobuild it than to write an ad-hoc script and email it around.</p>
<p>My initial laziness will keep paying off, too: I have built-in channels for pushing upgrades, receiving code contributions, and upgrading my project infrastructure. Bangpow.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2008/05/23/laziness/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gitting Started with Rails</title>
		<link>http://geeksomnia.com/2008/04/10/gitting-started-with-rails/</link>
		<comments>http://geeksomnia.com/2008/04/10/gitting-started-with-rails/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 04:56:32 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/?p=25</guid>
		<description><![CDATA[Nice title, right? Original. And hilarious.
So Rails is officially on GitHub. This is great if you&#8217;re a contributor: No more tracking unofficial repositiories (or maintaining your own), keeping backlogs of patches, or any of the million other frustrations that come along with not having the keys to the kingdom. Get over there, fork Rails, and [...]]]></description>
			<content:encoded><![CDATA[<p>Nice title, right? Original. And <strong>hilarious</strong>.</p>
<p>So <a href="http://github.com/rails">Rails is officially on GitHub</a>. This is great if you&#8217;re a contributor: No more tracking unofficial repositiories (or maintaining your own), keeping backlogs of patches, or any of the million other frustrations that come along with not having the keys to the kingdom. Get over there, fork Rails, and integrate your awesome feature hotness!</p>
<p>Here&#8217;s how I&#8217;m tracking the Rails repository:</p>
<p>First, I forked <strong>rails/rails</strong> on GitHub. No GitHub account? They&#8217;re <a href="http://github.com/blog/40-we-launched">out of beta</a>, you know.</p>
<p><code>git clone git@github.com:<strong>yournick</strong>/rails.git</code></p>
<p><code>git remote add upstream git://github.com/rails/rails.git</code></p>
<p><code>git fetch upstream</code></p>
<p><code>git checkout -b upstream upstream/master</code></p>
<p>Now I have my own forked <strong>master</strong>, from which I can branch features as I work on &#8216;em, plus I have an <strong>upstream</strong> branch, which tracks the Almighty Official Rails Tree. I can pull on the upstream branch and easily merge it into my forked master.</p>
<p>One quick note: I have <code>branch.autosetupmerge</code> set in my global configuration, which means that my upstream branch will automatically track changes. A little Google work should tell you whether you need to add <code>--track</code> to your incantations.</p>
<p>Have a different method for tracking? Think this is dumb? Hit the comments. I&#8217;ll update this article if a generally acclaimed Better Way emerges.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2008/04/10/gitting-started-with-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Secrets</title>
		<link>http://geeksomnia.com/2008/02/26/secrets/</link>
		<comments>http://geeksomnia.com/2008/02/26/secrets/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 17:21:47 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2008/02/26/secrets/</guid>
		<description><![CDATA[Love defaults write? Check it out.
]]></description>
			<content:encoded><![CDATA[<p>Love <code>defaults write</code>? Check <a href="http://secrets.textdriven.com">it out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2008/02/26/secrets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Foxy PostgreSQL</title>
		<link>http://geeksomnia.com/2008/01/14/foxy-postgresql/</link>
		<comments>http://geeksomnia.com/2008/01/14/foxy-postgresql/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 19:45:21 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2008/01/14/foxy-postgresql/</guid>
		<description><![CDATA[Thanks to Diego Algorta Casamayou, the foxy fixtures plugin for 1.2.x now supports PostgreSQL.
]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.oboxodo.com">Diego Algorta Casamayou</a>, the foxy fixtures <a href="http://svn.geeksomnia.com/plugins/trunk/foxy_fixtures">plugin for 1.2.x</a> now supports PostgreSQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2008/01/14/foxy-postgresql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Git and Rails</title>
		<link>http://geeksomnia.com/2008/01/09/git-and-rails/</link>
		<comments>http://geeksomnia.com/2008/01/09/git-and-rails/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 20:36:16 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2008/01/09/git-and-rails/</guid>
		<description><![CDATA[I&#8217;m trying out a few kinda hairy directory reorganizations in the Rails source tree, and it&#8217;s madness trying to track them with patches. Until I set up a reasonable git server, I&#8217;ve half-assed a public repository here:
http://git.geeksomnia.com/rails
Check out the activerecord/test subdirectory in the ar-test-cleanup branch if you&#8217;re interested in seeing what I&#8217;m trying out.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying out a few kinda hairy directory reorganizations in the Rails source tree, and it&#8217;s madness trying to track them with patches. Until I set up a reasonable git server, I&#8217;ve half-assed a public repository here:</p>
<p><a href="http://git.geeksomnia.com/rails">http://git.geeksomnia.com/rails</a></p>
<p>Check out the <code>activerecord/test</code> subdirectory in the <code>ar-test-cleanup</code> branch if you&#8217;re interested in seeing what I&#8217;m trying out.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2008/01/09/git-and-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>gchart 0.3.0</title>
		<link>http://geeksomnia.com/2007/12/24/gchart-030/</link>
		<comments>http://geeksomnia.com/2007/12/24/gchart-030/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 01:20:30 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2007/12/24/gchart-030/</guid>
		<description><![CDATA[GChart wraps Google’s Chart API with a friendly Ruby interface. This release doesn&#8217;t add any significant features (though :label is now :legend in all option sets), but it refactors the internals quite a bit. Enjoy.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://rubyforge.org/projects/gchart">GChart</a> wraps <a href="http://code.google.com/apis/chart">Google’s Chart API</a> with a friendly Ruby interface. This release doesn&#8217;t add any significant features (though <code>:label</code> is now <code>:legend</code> in all option sets), but it refactors the internals quite a bit. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2007/12/24/gchart-030/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Task Parameters in Rake 0.8.0</title>
		<link>http://geeksomnia.com/2007/12/20/task-parameters-in-rake-080/</link>
		<comments>http://geeksomnia.com/2007/12/20/task-parameters-in-rake-080/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 05:27:01 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2007/12/20/task-parameters-in-rake-080/</guid>
		<description><![CDATA[Looks like I&#8217;m not the only one that&#8217;s tired of munging ENV when I pass parameters to rake tasks. Along with a handful of other fixes, Rake 0.8.0 added the ability to pass parameters to your tasks without mucking with environment variables.
What used to be:

# rake invoke COMMAND=foo
task :invoke do
  puts &#34;Invoking #{ENV['COMMAND']}
end

Can become:

# [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like I&#8217;m not the only one that&#8217;s tired of munging ENV when I pass parameters to rake tasks. Along with a handful of other fixes, <a href="http://rubyforge.org/forum/forum.php?forum_id=20061">Rake 0.8.0</a> added the ability to pass parameters to your tasks without mucking with environment variables.</p>
<p>What used to be:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby"><span style="color:#008000; font-style:italic;"># rake invoke COMMAND=foo</span>
task <span style="color:#ff3333; font-weight:bold;">:invoke</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Invoking #{ENV['COMMAND']}
end</span></pre></div></div>

<p>Can become:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby"><span style="color:#008000; font-style:italic;"># rake invoke[foo]</span>
task <span style="color:#ff3333; font-weight:bold;">:invoke</span>, <span style="color:#ff3333; font-weight:bold;">:command</span> <span style="color:#9966CC; font-weight:bold;">do</span> |task, args|
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">&quot;Invoking #{args[:command]}&quot;</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>If your task has prerequisites, they come after the parameter names in the declaration:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby">task <span style="color:#ff3333; font-weight:bold;">:invoke</span>, <span style="color:#ff3333; font-weight:bold;">:command</span> =&gt; <span style="color:#ff3333; font-weight:bold;">:prerequisite</span> <span style="color:#9966CC; font-weight:bold;">do</span> |task, args|
  <span style="color:#008000; font-style:italic;"># ...</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Looks like the args are comma-separated and purely positional, no named or default arguments. It&#8217;s possible that there&#8217;s a better way to access argument values than this, too: I haven&#8217;t run across any documentation yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2007/12/20/task-parameters-in-rake-080/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Greedy Update</title>
		<link>http://geeksomnia.com/2007/12/20/greedy-update/</link>
		<comments>http://geeksomnia.com/2007/12/20/greedy-update/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 22:31:29 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2007/12/20/greedy-update/</guid>
		<description><![CDATA[I&#8217;ve posted a tiny update to Greedy, a little utility that makes it easy to subscribe to feeds with Google Reader via Safari&#8217;s &#8220;RSS&#8221; button. Recent Google Reader changes switched some URL&#8217;s around, which broke the world.
Download the new release. Installation is a drag-and-drop to your Applications folder. If you haven&#8217;t used Greedy before, just [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted a tiny update to Greedy, a little utility that makes it easy to subscribe to feeds with Google Reader via Safari&#8217;s &#8220;RSS&#8221; button. Recent Google Reader changes switched some URL&#8217;s around, which broke the world.</p>
<p><a href="http://geeksomnia.com/downloads/greedy.dmg">Download the new release</a>. Installation is a drag-and-drop to your Applications folder. If you haven&#8217;t used Greedy before, just set it as your &#8220;Default RSS Reader&#8221; in Safari&#8217;s preferences.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2007/12/20/greedy-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Foxy Fixtures</title>
		<link>http://geeksomnia.com/2007/12/10/more-foxy-fixtures/</link>
		<comments>http://geeksomnia.com/2007/12/10/more-foxy-fixtures/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 20:49:10 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2007/12/10/more-foxy-fixtures/</guid>
		<description><![CDATA[The Foxy Fixtures plugin for 1.2.x has been updated to match the final features from Rails 2.0. If you can get your fixtures to work with the plugin, they should be just ducky when you upgrade. Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>The Foxy Fixtures <a href="http://svn.geeksomnia.com/plugins/trunk/foxy_fixtures">plugin for 1.2.x</a> has been updated to match the final features from Rails 2.0. If you can get your fixtures to work with the plugin, they should be just ducky when you upgrade. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2007/12/10/more-foxy-fixtures/feed/</wfw:commentRss>
		</item>
		<item>
		<title>gchart 0.1.0</title>
		<link>http://geeksomnia.com/2007/12/10/gchart-010/</link>
		<comments>http://geeksomnia.com/2007/12/10/gchart-010/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 19:47:34 +0000</pubDate>
		<dc:creator>John</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://geeksomnia.com/2007/12/10/gchart-010/</guid>
		<description><![CDATA[GChart wraps Google&#8217;s Chart API with a friendly Ruby interface. This initial release is pretty bare, but it works! I hope to support the rest of the API&#8217;s features soon, but patches (and bugs, and feature requests) are always welcome. Enjoy.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://rubyforge.org/projects/gchart">GChart</a> wraps <a href="http://code.google.com/apis/chart/">Google&#8217;s Chart API</a> with a friendly Ruby interface. This initial release is pretty bare, but it works! I hope to support the rest of the API&#8217;s features soon, but patches (and bugs, and feature requests) are always welcome. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeksomnia.com/2007/12/10/gchart-010/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
