<?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>Dylan&#039;s Journal &#187; software</title>
	<atom:link href="http://dylan.hardison.net/journal/category/tech/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://dylan.hardison.net/journal</link>
	<description>A collection of unrelated sentences.</description>
	<lastBuildDate>Thu, 03 Jun 2010 23:13:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>my vote for mst&#8217;s forfeit</title>
		<link>http://dylan.hardison.net/journal/2010/05/19/my-vote-for-msts-forfeit/</link>
		<comments>http://dylan.hardison.net/journal/2010/05/19/my-vote-for-msts-forfeit/#comments</comments>
		<pubDate>Wed, 19 May 2010 15:55:29 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/journal/?p=385</guid>
		<description><![CDATA[My bid for mst&#8217;s forfeit.

I think he might make a creepy young Doc Brown from back to the future&#8230;

Now this is at least a way of making me make time to do an iron man blog post&#8230;

Of course, I misread the post, I missed the part about still being in the aggregator, which I am [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://shadowcat.co.uk/blog/matt-s-trout/iron-man-lost?colour=white&#038;title=raising+ferrets+as+a+food+source">My bid for mst&#8217;s forfeit</a>.</p>

<p>I think he might make a creepy young Doc Brown from back to the future&#8230;</p>

<p>Now <em>this</em> is at least a way of making me make time to do an iron man blog post&#8230;</p>

<p>Of course, I misread the post, I missed the part about <em>still being in the aggregator</em>, which I am not, due to my utter failure at blogging. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2010/05/19/my-vote-for-msts-forfeit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A note about fey</title>
		<link>http://dylan.hardison.net/journal/2009/06/17/a-note-about-fey/</link>
		<comments>http://dylan.hardison.net/journal/2009/06/17/a-note-about-fey/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 16:10:35 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[fey]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/journal/?p=140</guid>
		<description><![CDATA[I am in the process of transitioning a
DBIx::Class
application to Fey abd Fey::ORM.
I must say Fey::ORM is more comfortable than DBIC.

Fey is a framework for representing database schemas and generating queries from that representation.
Fey::ORM is a SQL-lovers object-relational mapping built on top of Fey&#8217;s impressive SQL generation capabilities.

I do mean impressive, as Fey is able to [...]]]></description>
			<content:encoded><![CDATA[<p>I am in the process of transitioning a
<a href="http://search.cpan.org/~ribasushi/DBIx-Class-0.08107/">DBIx::Class</a>
application to <a href="http://search.cpan.org/dist/Fey">Fey</a> abd Fey::ORM.
I must say Fey::ORM is more comfortable than DBIC.</p>

<p>Fey is a framework for representing database schemas and generating queries from that representation.
Fey::ORM is a SQL-lovers object-relational mapping built on top of Fey&#8217;s impressive SQL generation capabilities.</p>

<p>I do mean impressive, as Fey is able to infer join conditions entirely on its own:</p>

<pre><code># A User has many units, and units have many users, via the lnk_unit_users table.

my $unit_users = $schema-&gt;table('lnk_unit_users');
my $unit       = $schema-&gt;table('lkup_unit');

my $select_units = $factory-&gt;new_select
    -&gt;select($unit)
    -&gt;from($unit, $unit_users)
    -&gt;where($unit_users-&gt;column('user_id'), '=', Fey::Placeholder-&gt;new)
;

has_many 'units' =&gt; (
    table       =&gt; $unit,
    select      =&gt; $select_units,
    bind_params =&gt; sub { $_[0]-&gt;user_id },
);
</code></pre>

<p>So, when I go $user->units, I get an iterator object full of Units,
which executes the following sql:</p>

<pre><code>SELECT *
    FROM lkup_unit 
    JOIN lnk_unit_users ON (lnk_unit_users.unit_id = lkup_unit.unit_id) 
    WHERE lnk_unit_users.user_id = ?
</code></pre>

<p>Note, in my $select_units query I did not specify the join condition, I merely passed two Fey::Table objects,
and using the foreign key constraints Fey figured out what to do.</p>

<p>I think this is pretty cool. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2009/06/17/a-note-about-fey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring shell-cleaning</title>
		<link>http://dylan.hardison.net/journal/2009/05/29/spring-shell-cleaning/</link>
		<comments>http://dylan.hardison.net/journal/2009/05/29/spring-shell-cleaning/#comments</comments>
		<pubDate>Fri, 29 May 2009 21:31:28 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/journal/?p=122</guid>
		<description><![CDATA[I updated my shell&#8217;s prompt for the first time in years.
New prompt has a right-aligned timestamp/datestamp, shows the number of background jobs (if any)
and shows the current git branch if I&#8217;m in a git repository.

I think it&#8217;s also not as obnoxiously colored.

Old Prompt:

New Prompt:
]]></description>
			<content:encoded><![CDATA[<p>I updated my shell&#8217;s prompt for the first time in years.
New prompt has a right-aligned timestamp/datestamp, shows the number of background jobs (if any)
and shows the current git branch if I&#8217;m in a git repository.</p>

<p>I think it&#8217;s also not <em>as</em> obnoxiously colored.</p>

<p>Old Prompt: <div id="attachment_123" class="wp-caption aligncenter" style="width: 310px"><a href="http://dylan.hardison.net/journal/wp-content/uploads/2009/05/dylan-old-prompt.png"><img src="http://dylan.hardison.net/journal/wp-content/uploads/2009/05/dylan-old-prompt-300x182.png" alt="dylan&#039;s old prompt" title="dylan-old-prompt" width="300" height="182" class="size-medium wp-image-123" /></a><p class="wp-caption-text">dylan's old prompt</p></div></p>

<p>New Prompt: <div id="attachment_124" class="wp-caption aligncenter" style="width: 310px"><a href="http://dylan.hardison.net/journal/wp-content/uploads/2009/05/dylan-prompt.png"><img src="http://dylan.hardison.net/journal/wp-content/uploads/2009/05/dylan-prompt-300x182.png" alt="dylan&#039;s new prompt" title="dylan-prompt" width="300" height="182" class="size-medium wp-image-124" /></a><p class="wp-caption-text">dylan's new prompt</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2009/05/29/spring-shell-cleaning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl Oasis 2009</title>
		<link>http://dylan.hardison.net/journal/2009/01/27/perl-oasis-2009/</link>
		<comments>http://dylan.hardison.net/journal/2009/01/27/perl-oasis-2009/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 04:28:20 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/journal/?p=90</guid>
		<description><![CDATA[So, in addition to the new job, another interesting thing that happened:
I delivered a talk at Perl Oasis 2009.

I was quite nervous, but it turned out alright. I hope next year I can give a more interesting talk.

Oh, also I met a bunch cool perl people, including Jonathon Rockway, who is coincidently one of my [...]]]></description>
			<content:encoded><![CDATA[<p>So, in addition to the new job, another interesting thing that happened:
I delivered a talk at Perl Oasis 2009.</p>

<p>I was quite nervous, but it turned out alright. I hope next year I can give a more interesting talk.</p>

<p>Oh, also I met a bunch cool perl people, including <a href="http://blog.jrock.us">Jonathon Rockway</a>, who is coincidently one of my new co-workers.</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2009/01/27/perl-oasis-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Camping with Ruby</title>
		<link>http://dylan.hardison.net/journal/2009/01/01/camping-with-ruby/</link>
		<comments>http://dylan.hardison.net/journal/2009/01/01/camping-with-ruby/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 06:02:27 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/journal/?p=72</guid>
		<description><![CDATA[I am applying for a job that wanted a code sample written in Ruby.

I&#8217;m sure there&#8217;s something my ~/bin written in ruby I could have used, but instead of doing
that, I downloaded the Camping microframework
and put together a very simple time-tracking application.

It does not feature authentication (right now) because camping/session.rb seems to be broken.

Here&#8217;s the [...]]]></description>
			<content:encoded><![CDATA[<p>I am applying for a job that wanted a code sample written in Ruby.</p>

<p>I&#8217;m sure there&#8217;s something my ~/bin written in ruby I could have used, but instead of doing
that, I downloaded the <a href="http://camping.rubyforge.org/files/README.html">Camping</a> microframework
and put together a very simple time-tracking application.</p>

<p>It does not feature authentication (right now) because camping/session.rb seems to be broken.</p>

<p>Here&#8217;s the source code: <a href='http://dylan.hardison.net/journal/wp-content/uploads/2009/01/jot-rb.txt'>jot.rb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2009/01/01/camping-with-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress</title>
		<link>http://dylan.hardison.net/journal/2007/07/06/wordpress/</link>
		<comments>http://dylan.hardison.net/journal/2007/07/06/wordpress/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 15:10:46 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/2007/07/06/moonshine/</guid>
		<description><![CDATA[Alright, after much deliberation, I have decided that I don&#8217;t want to write my own blog engine right now.

So, for the time being I will use wordpress. Even if it is slow.
]]></description>
			<content:encoded><![CDATA[<p>Alright, after much deliberation, I have decided that I don&#8217;t want to write my own blog engine right now.</p>

<p>So, for the time being I will use wordpress. Even if it is slow.</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2007/07/06/wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XMonad</title>
		<link>http://dylan.hardison.net/journal/2007/06/10/xmonad/</link>
		<comments>http://dylan.hardison.net/journal/2007/06/10/xmonad/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 21:01:00 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/2007/06/10/xmonad/</guid>
		<description><![CDATA[I have been using dwm for months now.
Actually, I&#8217;ve been maintaining a fork of it, with patches that I like and such.

Being a lurker in #haskell I have
been aware of the development of xmonad, which
is a dwm-like window manager written in haskell. I tried xmonad a few months
ago, and it was okay. It was missing [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using <a href="http://dwm.suckless.org">dwm</a> for months now.
Actually, I&#8217;ve been maintaining a fork of it, with patches that I like and such.</p>

<p>Being a lurker in <a href="irc://chat.freenode.net/haskell">#haskell</a> I have
been aware of the development of <a href="http://xmonad.org">xmonad</a>, which
is a dwm-like window manager written in haskell. I tried xmonad a few months
ago, and it was okay. It was missing some features of dwm that I thought I
needed, like tags. I continued using dwm.</p>

<p>XMonad development has continued on, with many contributed extensions being
added (including novel layout algorithms), and as of yesterday I decided to take
the plunge and start using it.</p>

<p>So far, it requires a lot less changes to the config file to behave the way I
want.</p>

<p>(Footnote: In fact, I first heard about dwm from Don Stewart, who is also one of
the hackers behind xmonad.)</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2007/06/10/xmonad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planet SLUG</title>
		<link>http://dylan.hardison.net/journal/2007/02/07/planet-slug/</link>
		<comments>http://dylan.hardison.net/journal/2007/02/07/planet-slug/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 03:54:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[slug]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/2007/02/07/planet-slug/</guid>
		<description><![CDATA[I&#8217;ve set up a planet for SLUG. For those that don&#8217;t know,
planet is an RSS/Atom feed aggregator.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve set up a <a href=
"http://hardison.net/slug/planet">planet</a> for <a href=
"http://suncoastlug.org">SLUG</a>. For those that don&#8217;t know,
planet is an RSS/Atom feed aggregator.</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2007/02/07/planet-slug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
