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

<channel>
	<title>scharfie.com</title>
	<atom:link href="http://scharfie.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://scharfie.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 10 Sep 2009 22:58:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>More books</title>
		<link>http://scharfie.com/2009/09/10/more-books/</link>
		<comments>http://scharfie.com/2009/09/10/more-books/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 22:58:07 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Books]]></category>

		<guid isPermaLink="false">http://scharfie.com/?p=28</guid>
		<description><![CDATA[Since my last post on books, I&#8217;ve read the following:

Dirk Gently&#8217;s Holistic Detective Agency by Douglas Adams
The Stars, Like Dust by Isaac Asimov

I&#8217;m currently reading Dune by Frank Herbert - what a fantastic book!  I also really enjoyed The Stars, Like Dust and so I picked up the Foundation Trilogy.  I&#8217;m looking forward to that [...]]]></description>
			<content:encoded><![CDATA[<p>Since my last post on books, I&#8217;ve read the following:</p>
<ul>
<li><em>Dirk Gently&#8217;s Holistic Detective Agency</em> by Douglas Adams</li>
<li><em>The Stars, Like Dust</em> by Isaac Asimov</li>
</ul>
<p>I&#8217;m currently reading <em>Dune</em> by Frank Herbert - what a fantastic book!  I also really enjoyed <em>The Stars, Like Dust</em> and so I picked up the <em>Foundation Trilogy</em>.  I&#8217;m looking forward to that as well as continuing with more books in the <em>Dune</em> series.</p>
<ul></ul>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/09/10/more-books/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SSH hopping</title>
		<link>http://scharfie.com/2009/08/21/ssh-hopping/</link>
		<comments>http://scharfie.com/2009/08/21/ssh-hopping/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 13:50:28 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scharfie.com/?p=21</guid>
		<description><![CDATA[Recently, two of the servers I normally SSH into had to be locked down to where they can only be accessed from computers at the main office.  Since I work remotely, this of course has been a bit of a pain.  I&#8217;ve had to SSH into a work machine, and then SSH from there.
However, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, two of the servers I normally SSH into had to be locked down to where they can only be accessed from computers at the main office.  Since I work remotely, this of course has been a bit of a pain.  I&#8217;ve had to SSH into a work machine, and then SSH from there.</p>
<p>However, I&#8217;ve discovered there is a way to hop with SSH:</p>
<p><script src="http://gist.github.com/172009.js"></script></p>
<p>Now, I can simply type <code>ssh remote</code> and get to the remote machine.  Very handy.</p>
<p><em>Note: Just for completeness, remember that SSH keys need to be properly configured on the &#8220;office&#8221; machine in order to connect from &#8220;office&#8221; to &#8220;remote&#8221;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/08/21/ssh-hopping/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ActiveRecord :joins</title>
		<link>http://scharfie.com/2009/08/19/activerecord-joins/</link>
		<comments>http://scharfie.com/2009/08/19/activerecord-joins/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 12:20:12 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scharfie.com/?p=18</guid>
		<description><![CDATA[I didn&#8217;t know that the :joins option for ActiveRecord accepted named associations.  This works perfectly when you want to join with a table to retrieve information without actually &#8220;including&#8221; the model.  It also makes the query much simpler.
Just be sure to always use :select when using :joins, or joined tables may overwrite attributes [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t know that the <code>:joins</code> option for <code>ActiveRecord</code> accepted <a href="http://railsapi.com/doc/rails-v2.2.2/classes/ActiveRecord/Base.html#M000816">named associations</a>.  This works perfectly when you want to join with a table to retrieve information without actually &#8220;including&#8221; the model.  It also makes the query much simpler.</p>
<p>Just be sure to always use <code>:select</code> when using <code>:joins</code>, or joined tables may overwrite attributes primary table in the result (i.e. the <code>id</code> attribute).</p>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/08/19/activerecord-joins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery &#8216;or&#8217; function</title>
		<link>http://scharfie.com/2009/08/04/jquery-or-function/</link>
		<comments>http://scharfie.com/2009/08/04/jquery-or-function/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 11:40:10 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scharfie.com/?p=15</guid>
		<description><![CDATA[I present a simple but useful jQuery &#8216;or&#8217; selector function:

]]></description>
			<content:encoded><![CDATA[<p>I present a simple but useful jQuery &#8216;or&#8217; selector function:</p>
<p><script src="http://gist.github.com/160978.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/08/04/jquery-or-function/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Books</title>
		<link>http://scharfie.com/2009/07/14/books/</link>
		<comments>http://scharfie.com/2009/07/14/books/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 14:05:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scharfie.com/?p=12</guid>
		<description><![CDATA[Book are my new passion.]]></description>
			<content:encoded><![CDATA[<p>My passion for programming outside of work is on an extended hiatus.  I don&#8217;t have any good reason to continue working on current projects, so I&#8217;ve been using my time for other things.  I&#8217;ve been enjoying my journey in the world of books, a passion I once had long ago (~10 years since my high school days, wow&#8230;).</p>
<p>So far, I&#8217;ve read the following:</p>
<ul>
<li>Fahrenheit 451</li>
<li>The Hitchhiker&#8217;s Guide to the Galaxy
<ul>
<li>The Restaurant at the End of the Universe</li>
</ul>
<ul>
<li>Life, the Universe and Everything</li>
</ul>
<ul>
<li>So Long, and Thanks for All the Fish</li>
</ul>
</li>
<li>Neuromancer</li>
<li>Count Zero</li>
</ul>
<p>I tried to read Ender&#8217;s Game, but I was so wrapped up in Neuromancer at the time that I had to just return it.  I&#8217;ll probably give it another shot soon, though.  Right now, my list of books to read includes:</p>
<ul>
<li>1984</li>
<li>Slaughterhouse-Five</li>
<li>The Long Dark Tea-Time of the Soul</li>
<li>Mona Lisa Overdrive</li>
<li>Foundation Series</li>
<li>Dune</li>
<li>Brave New World</li>
</ul>
<p>That&#8217;s quite a list, really, especially since the Foundation Series is something like 14 volumes.</p>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/07/14/books/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Shut up about the gems, Rails</title>
		<link>http://scharfie.com/2009/06/19/shut-up-about-the-gems-rails/</link>
		<comments>http://scharfie.com/2009/06/19/shut-up-about-the-gems-rails/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 16:48:18 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scharfie.com/?p=7</guid>
		<description><![CDATA[Add this to config/environment.rb above the Rails::Initializer block:
Rails::VendorGemSourceIndex.silence_spec_warnings = true
Bask in the silence - no more &#8220;gem has no specification file&#8221; etc.
]]></description>
			<content:encoded><![CDATA[<p>Add this to config/environment.rb above the Rails::Initializer block:</p>
<p><code>Rails::VendorGemSourceIndex.silence_spec_warnings = true</code></p>
<p>Bask in the silence - no more &#8220;gem has no specification file&#8221; etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/06/19/shut-up-about-the-gems-rails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Switched to Wordpress</title>
		<link>http://scharfie.com/2009/05/26/hello-world/</link>
		<comments>http://scharfie.com/2009/05/26/hello-world/#comments</comments>
		<pubDate>Tue, 26 May 2009 01:08:01 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scharfie.nfshost.com/?p=1</guid>
		<description><![CDATA[Here&#8217;s the thing: I simply don&#8217;t have enough time/motivation to work on my own blogging application (slate).  Now, I can hopefully focus on the most important piece - the content.  Even if no one reads it.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the thing: I simply don&#8217;t have enough time/motivation to work on my own blogging application (slate).  Now, I can <em>hopefully</em> focus on the most important piece - the content.  Even if no one reads it.</p>
]]></content:encoded>
			<wfw:commentRss>http://scharfie.com/2009/05/26/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
