<?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; tech</title>
	<atom:link href="http://dylan.hardison.net/journal/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://dylan.hardison.net/journal</link>
	<description>A collection of unrelated sentences.</description>
	<lastBuildDate>Wed, 02 Nov 2011 13:53:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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, [...]]]></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 [...]]]></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>Ono vowol to rolo thom oll!</title>
		<link>http://dylan.hardison.net/journal/2009/06/06/ono-vowol-to-rolo-thom-oll/</link>
		<comments>http://dylan.hardison.net/journal/2009/06/06/ono-vowol-to-rolo-thom-oll/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 04:14:16 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/journal/?p=131</guid>
		<description><![CDATA[O wroto o scropt thot osos xmodmop to roploco vowols woth ony othor koyboord choroctor: http://gist.github.com/125133 Os o rosolt of thos, O ondod op on o bot woth my froond Oftron to spook ond typo osong O onstood of tho rogolor Onglosh vowols (oxclodong y) for twonty foor hoors. Tho prozo of tho bot os [...]]]></description>
			<content:encoded><![CDATA[<p>O wroto o scropt thot osos xmodmop to roploco vowols woth ony othor koyboord choroctor: http://gist.github.com/125133</p>

<p>Os o rosolt of thos, O ondod op on o bot woth my froond Oftron to spook ond typo osong O onstood of tho rogolor Onglosh vowols (oxclodong y)
for twonty foor hoors. Tho prozo of tho bot os o sodo or othor non-olcoholoc bovorogo.</p>

<p>Onothor condotoon of tho bot os to wroto thos blog post, whoch os now dono.</p>

<p>Of yoo don&#8217;t ondorstond thos, O woll post somothong on mondoy to oxploon. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2009/06/06/ono-vowol-to-rolo-thom-oll/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 [...]]]></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 [...]]]></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>Generating C code Using Lua</title>
		<link>http://dylan.hardison.net/journal/2007/09/13/generating-c-code-using-lua/</link>
		<comments>http://dylan.hardison.net/journal/2007/09/13/generating-c-code-using-lua/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 13:59:43 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/2007/09/13/generating-c-code-using-lua/</guid>
		<description><![CDATA[I have been working on article about how I wrote Lua code to generate C code to help wrapping object-oriented C (glib-style) and exposing it to Lua, however I have realized that as neat as this sounds, it is terribly difficult to maintain. So let&#8217;s pretend it never happened.]]></description>
			<content:encoded><![CDATA[<p>I have been working on article about how I wrote Lua code to generate C code to help wrapping object-oriented C (glib-style) and exposing it to Lua, however I have realized that as neat as this sounds, it is terribly difficult to maintain. So let&#8217;s pretend it never happened.</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2007/09/13/generating-c-code-using-lua/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>basic urxvt setup with terminus for kyevan</title>
		<link>http://dylan.hardison.net/journal/2007/07/22/basic-urxvt-setup-with-terminus-for-kyevan/</link>
		<comments>http://dylan.hardison.net/journal/2007/07/22/basic-urxvt-setup-with-terminus-for-kyevan/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 02:18:31 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/2007/07/22/basic-urxvt-setup-with-terminus-for-kyevan/</guid>
		<description><![CDATA[type in a terminal window: aptitude install xfonts-terminus xfont-terminus restart X Open ~/.Xdefaults, and make it read exactly like this: Rxvt.font: -xos4-terminus-bold-r-*-*-*-120-100-100-*-*-iso8859-1 Rxvt.color0: #000000 Rxvt.color1: #A80000 Rxvt.color2: #00A800 Rxvt.color3: Orange3 Rxvt.color4: #000078 Rxvt.color5: #A800A8 Rxvt.color6: #00A8A8 Rxvt.color7: #A8A8A8 Rxvt.color8: #646464 Rxvt.color9: #FF0054 Rxvt.color10: #00FF54 Rxvt.color11: #FFFF54 Rxvt.color12: #0000FF Rxvt.color13: #FF00FF Rxvt.color14: #00FFFF Rxvt.color15: #FFFFFF Rxvt.foreground: [...]]]></description>
			<content:encoded><![CDATA[<p>type in a terminal window: aptitude install xfonts-terminus xfont-terminus</p>

<p>restart X</p>

<p>Open ~/.Xdefaults, and make it read exactly like this:</p>

<pre>
Rxvt.font: -xos4-terminus-bold-r-*-*-*-120-100-100-*-*-iso8859-1
Rxvt.color0:    #000000
Rxvt.color1:    #A80000
Rxvt.color2:    #00A800
Rxvt.color3:    Orange3
Rxvt.color4:    #000078
Rxvt.color5:    #A800A8
Rxvt.color6:    #00A8A8
Rxvt.color7:    #A8A8A8
Rxvt.color8:    #646464
Rxvt.color9:    #FF0054
Rxvt.color10:   #00FF54
Rxvt.color11:   #FFFF54
Rxvt.color12:   #0000FF
Rxvt.color13:   #FF00FF
Rxvt.color14:   #00FFFF
Rxvt.color15:   #FFFFFF
Rxvt.foreground:    #A8A8A8
Rxvt.background:    #000000
Rxvt.cursorColor:   #A8A8A8
Rxvt.reverseVideo:  false
Rxvt.geometry:  80x25
Rxvt.scrollBar: false
Rxvt.meta8: false
Rxvt.modifier:  mod1
</pre>

<p>type in a terminal window: xrdb -merge ~/.Xdefaults</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2007/07/22/basic-urxvt-setup-with-terminus-for-kyevan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Odin downtime</title>
		<link>http://dylan.hardison.net/journal/2007/07/07/odin-downtime/</link>
		<comments>http://dylan.hardison.net/journal/2007/07/07/odin-downtime/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 14:36:37 +0000</pubDate>
		<dc:creator>dylan</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[sine]]></category>

		<guid isPermaLink="false">http://dylan.hardison.net/2007/07/07/odin-downtime/</guid>
		<description><![CDATA[It seems the server I keep at my parent&#8217;s house, odin, is having disk corruption. I shut it down yesterday, and sometime today or tomorrow I should attempt data rescue. I don&#8217;t think anything would be lost even if the disk is totally trashed, but it&#8217;s the principal of the thing&#8230; This effects the cosine [...]]]></description>
			<content:encoded><![CDATA[<p>It seems the server I keep at my parent&#8217;s house, odin, is having disk corruption. I shut it down yesterday, and sometime today or tomorrow I should attempt data rescue. I don&#8217;t think anything would be lost even if the disk is totally trashed, but it&#8217;s the principal of the thing&#8230;</p>

<p>This effects the cosine sine server, since it ran on odin.</p>
]]></content:encoded>
			<wfw:commentRss>http://dylan.hardison.net/journal/2007/07/07/odin-downtime/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>
	</channel>
</rss>

