<?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>Schadenfreude &#187; codegolf</title>
	<atom:link href="http://www.ralree.com/tag/codegolf/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:49:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Evaluating an expression in a RegExp</title>
		<link>http://www.ralree.com/2006/08/14/evaluating-and-expression-in-a-regexp/</link>
		<comments>http://www.ralree.com/2006/08/14/evaluating-and-expression-in-a-regexp/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 13:15:21 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[codegolf]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[regexp]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/evaluating-and-expression-in-a-regexp</guid>
		<description><![CDATA[Horray! I can evaluate the right side of a regular expression! e Evaluate the right side as an expression. Wow.]]></description>
			<content:encoded><![CDATA[<p>Horray!  I can evaluate the right side of a regular expression!</p>
<pre><code>
e   Evaluate the right side as an expression.
</code></pre>
<p>Wow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2006/08/14/evaluating-and-expression-in-a-regexp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freezing Rails and Zeller&#8217;s Congruence</title>
		<link>http://www.ralree.com/2006/08/14/freezing-rails-and-zellers-congruence/</link>
		<comments>http://www.ralree.com/2006/08/14/freezing-rails-and-zellers-congruence/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 11:33:18 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[codegolf]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/freezing-rails-and-zellers-congruence</guid>
		<description><![CDATA[Lately, I&#8217;ve been doing a lot of code golf. A Lot. During the calendar challenge, I was trying to find a way to obtain the first day of the year for any given year taking into account leap years. _W_ on #codegolf/freenode was kind enough to point out Zeller&#8217;s Congruence, which I think will work out well in the final project I submit. In other news, I froze an app to Rails 1.1.6 today. It involved this: /www/ugres/ugr/config/../vendor/plugins/engines/lib/engines.rb:138:in `start_engine': undefined [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, I&#8217;ve been doing a lot of <a href="http://www.codegolf.com">code golf</a>.  A Lot.  During the calendar challenge, I was trying to find a way to obtain the first day of the year for any given year taking into account leap years.  <strong>_W_</strong> on <strong>#codegolf/freenode</strong> was kind enough to point out <a href="http://en.wikipedia.org/wiki/Zeller's_congruence">Zeller&#8217;s Congruence</a>, which I think will work out well in the final project I submit.  </p>
<p>In other news, I froze an app to Rails 1.1.6 today.  It involved this:</p>
<pre><code>
/www/ugres/ugr/config/../vendor/plugins/engines/lib/engines.rb:138:in `start_engine': undefined method `add_path' for Controllers:Module (NoMethodError?)
</code></pre>
<p>and later&#8230;</p>
<pre><code>
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no such file to load -- authenticated_user (MissingSourceFile?)
</code></pre>
<p>The Fix is simple:</p>
<pre><code>
script/plugin install --force -x engines
script/plugin install --force -x login_engine
</code></pre>
<p>Then, just freeze the crap out of it:</p>
<pre><code>
sudo gem update rails
rake freeze_gems
</code></pre>
<p>I opted for freezing at 1.1.6 rather than a safer earlier one since the old ones (sans 1.1.3) are <a href="http://www.gentoo.org/security/en/glsa/glsa-200608-20.xml">affected</a> by a terrible DoS bug.  People can execute stuff remotely.  Bad&#8230;  So make sure you upgrade, and don&#8217;t be afraid to freeze even if it&#8217;s really cold outside.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2006/08/14/freezing-rails-and-zellers-congruence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

