<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>*blog</title>
	
	<link>http://blog.joeygeiger.com</link>
	<description>solving the world's problems, one at a time</description>
	<lastBuildDate>Tue, 02 Mar 2010 16:52:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/joeygeiger" /><feedburner:info uri="joeygeiger" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Hey Chairman Bob, I give up. How Roundys has failed me for the last time.</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/yirI6RS4uCY/</link>
		<comments>http://blog.joeygeiger.com/2010/03/02/hey-chairman-bob-i-give-up-how-roundys-has-failed-me-for-the-last-time/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 16:52:01 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[grocery]]></category>
		<category><![CDATA[pick n save]]></category>
		<category><![CDATA[roundys]]></category>
		<category><![CDATA[sendiks]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=178</guid>
		<description><![CDATA[Every week I go to the Pick N&#8217; Save in Brookfield at 15170 W. Greenfield Avenue.
Every week I buy milk.
Every week I take a milk gallon up to the front desk that has a &#8220;Sell By&#8221; date that has passed. This week I took one up that was SIX DAYS past the sell by date. [...]]]></description>
			<content:encoded><![CDATA[<p>Every week I go to the Pick N&#8217; Save in Brookfield at 15170 W. Greenfield Avenue.</p>
<p>Every week I buy milk.</p>
<p>Every week I take a milk gallon up to the front desk that has a &#8220;Sell By&#8221; date that has passed. This week I took one up that was SIX DAYS past the sell by date. I&#8217;ve been doing this for the last 3 months EVERY WEEK. I&#8217;ve been told by the managers on multiple occasions, &#8220;We&#8217;ll fix it&#8221;. I was told once they hired a new Dairy manager to deal with it.</p>
<p>I give up. I&#8217;m going to <a href="http://www.sendiksfinefoods.com/">Sendiks Fine Foods</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/03/02/hey-chairman-bob-i-give-up-how-roundys-has-failed-me-for-the-last-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/03/02/hey-chairman-bob-i-give-up-how-roundys-has-failed-me-for-the-last-time/</feedburner:origLink></item>
		<item>
		<title>properly rendering 404 errors from inside a rails application</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/7PrtQTItQdc/</link>
		<comments>http://blog.joeygeiger.com/2010/03/02/properly-rendering-404-errors-from-inside-a-rails-application/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 16:43:31 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=175</guid>
		<description><![CDATA[I just migrated a site that had a bunch of links that have been in in the search engines for a while. Oddly it seems that the only thing hitting those links seem to be the crawlers themselves. I needed a way to invalidate those links, since I couldn&#8217;t create a proper redirect because of [...]]]></description>
			<content:encoded><![CDATA[<p>I just migrated a site that had a bunch of links that have been in in the search engines for a while. Oddly it seems that the only thing hitting those links seem to be the crawlers themselves. I needed a way to invalidate those links, since I couldn&#8217;t create a proper redirect because of changing IDs.</p>
<p>/records/show/12345 used to be valid, but has been replaced with the RESTful version /records/00123. The ID is now also meaningful instead of a MySQL generated id.</p>
<p>My first attempt was to just redirect to the 404 page.<br />
<code>record = Record.find(params[:id]<br />
rescue ActiveRecord::RecordNotFound<br />
redirect_to("/404.html")</code></p>
<p>But as I watched the logs, I noticed that this really wasn&#8217;t right since it was still returning a 302 (redirect) and the a 200 (OK) code for those links. The crawlers were getting the instruction that you should just display the 404 page for those links. That might seem OK, but really I wanted them to get the 404 immediately and remove the page from their databases.</p>
<p><code>record = Record.find(params[:id]<br />
rescue ActiveRecord::RecordNotFound<br />
render(:file => "#{RAILS_ROOT}/public/404.html", :layout => false, :status => 404)</code></p>
<p>By rendering the 404.html directly and including the 404 status code, it should help to fix the situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/03/02/properly-rendering-404-errors-from-inside-a-rails-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/03/02/properly-rendering-404-errors-from-inside-a-rails-application/</feedburner:origLink></item>
		<item>
		<title>shared host or small vps</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/qD8R88Yc1xQ/</link>
		<comments>http://blog.joeygeiger.com/2010/02/24/shared-host-or-small-vps/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 22:09:23 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=173</guid>
		<description><![CDATA[I started looking into moving off of dreamhost because I&#8217;ve had some issues with responsiveness on my applications. For $20 a year, I could put up with it. Now that I&#8217;m paying $100, it&#8217;s a bit more annoying since there are other options out there at that price point.
I&#8217;m considering slicehost.com, linode.com and webfaction.com.
I guess [...]]]></description>
			<content:encoded><![CDATA[<p>I started looking into moving off of dreamhost because I&#8217;ve had some issues with responsiveness on my applications. For $20 a year, I could put up with it. Now that I&#8217;m paying $100, it&#8217;s a bit more annoying since there are other options out there at that price point.</p>
<p>I&#8217;m considering <a href="http://www.slicehost.com/">slicehost.com</a>, <a href="http://www.linode.com/">linode.com</a> and <a href="http://www.webfaction.com/">webfaction.com</a>.</p>
<p>I guess the other big reason is that I want to play with MongoDB and each of these gives me that option.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/24/shared-host-or-small-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/24/shared-host-or-small-vps/</feedburner:origLink></item>
		<item>
		<title>bundler times two</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/oJmLwoXg3yg/</link>
		<comments>http://blog.joeygeiger.com/2010/02/24/bundler-times-two/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 22:02:48 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails 3]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=171</guid>
		<description><![CDATA[I wish they would have made a bigger deal about this, but it seems that bundler now has two different gems.
bundler08 is for bundler 0.8.4 and such, which plays really well with rails 2.3.5
bundler is for bundler 0.9.x and beyond which plays well with rails 3 (and rails 2.3.5 if you can get it to [...]]]></description>
			<content:encoded><![CDATA[<p>I wish they would have made a bigger deal about this, but it seems that bundler now has two different gems.</p>
<p>bundler08 is for bundler 0.8.4 and such, which plays really well with rails 2.3.5</p>
<p>bundler is for bundler 0.9.x and beyond which plays well with rails 3 (and rails 2.3.5 if you can get it to work&#8230;)</p>
<p>This is a really good thing because you can now install both of them at the same time and the warning that you must un-install all previous versions of bundler is now moot. Really helpful if you&#8217;re running on dreamhost with mixed rails 2/3 sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/24/bundler-times-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/24/bundler-times-two/</feedburner:origLink></item>
		<item>
		<title>This blows my mind…</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/xWqWCwMcjY8/</link>
		<comments>http://blog.joeygeiger.com/2010/02/16/this-blows-my-mind/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 16:57:32 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[entertainment]]></category>
		<category><![CDATA[facebook login]]></category>
		<category><![CDATA[really?]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=169</guid>
		<description><![CDATA[There was a post a while ago about how Facebook users don&#8217;t actually go to facebook.com to log in. They use the search field in their browsers for &#8220;facebook login&#8221; and just click on the first thing that pops up.
Here&#8217;s the blog post where I found this.
Here&#8217;s the actual page.
No wonder there are massive bot [...]]]></description>
			<content:encoded><![CDATA[<p>There was a post a while ago about how Facebook users don&#8217;t actually go to facebook.com to log in. They use the search field in their browsers for &#8220;facebook login&#8221; and just click on the first thing that pops up.</p>
<p>Here&#8217;s the <a href="http://mattstratton.com/hilarity/hundreds-of-facebook-users-are-apparently-really-dumb">blog post</a> where I found this.</p>
<p>Here&#8217;s the <a href="http://www.readwriteweb.com/archives/facebook_wants_to_be_your_one_true_login.php">actual page</a>.</p>
<p>No wonder there are massive bot nets and phishing scams and email spams going every day. People are just&#8230; wow.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/16/this-blows-my-mind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/16/this-blows-my-mind/</feedburner:origLink></item>
		<item>
		<title>bundler and rails 2.3.x</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/7Ut4aWIfG6w/</link>
		<comments>http://blog.joeygeiger.com/2010/02/09/bundler-and-rails-2-3-x/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 04:12:06 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=166</guid>
		<description><![CDATA[Seems I was missing a few things.
Take a look at this gist and see if it can help you.
Edit: Updated the gist to a better one.
]]></description>
			<content:encoded><![CDATA[<p>Seems I was missing a few things.</p>
<p>Take a look at <a href="http://gist.github.com/304479">this gist</a> and see if it can help you.</p>
<p>Edit: Updated the gist to a better one.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/09/bundler-and-rails-2-3-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/09/bundler-and-rails-2-3-x/</feedburner:origLink></item>
		<item>
		<title>bundler and future updates</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/jBLjR6ZhVOg/</link>
		<comments>http://blog.joeygeiger.com/2010/02/09/bundler-and-future-updates/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 14:49:18 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[rails 3]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=160</guid>
		<description><![CDATA[There was a new post about bundler which addresses a few of the issues that I&#8217;ve been having as part of my install.
When running bundle install in the future, Bundler will use packed gems, if available, in preference to gems available in other sources.
This will be nice and solve my issue of re-installing all the [...]]]></description>
			<content:encoded><![CDATA[<p>There was a <a href="http://yehudakatz.com/2010/02/09/using-bundler-in-real-life">new post</a> about bundler which addresses a few of the issues that I&#8217;ve been having as part of my install.</p>
<blockquote><p>When running bundle install in the future, Bundler will use packed gems, if available, in preference to gems available in other sources.</p></blockquote>
<p>This will be nice and solve my issue of re-installing all the gems on each deploy.</p>
<blockquote><p>You will want to run bundle unlock to remove the lock, then bundle install to ensure that the new dependencies are installed on your system, and finally bundle lock again to relock your application to the new dependencies.</p>
<p>We will add a command in a near-future version to perform all these steps for you (something like bundle install –relock).</p></blockquote>
<p>This will also replace the unlock, update, lock steps I&#8217;ve got in the callbacks.rb for my deploy scripts. Not a huge deal, but fewer commands is better.</p>
<p>The combination of these two updates should speed up the deploy a lot.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/09/bundler-and-future-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/09/bundler-and-future-updates/</feedburner:origLink></item>
		<item>
		<title>rails 3, bundler, git and dreamhost</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/y6Ms5Yiw2Cg/</link>
		<comments>http://blog.joeygeiger.com/2010/02/08/rails-3-bundler-git-and-dreamhost/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 22:18:57 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[rails 3]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=158</guid>
		<description><![CDATA[Now that rails 3 has hit beta, I decided to see if I could get it running on my dreamhost account. I&#8217;m already running a few rails applications using bundler 0.8.1, so the forced upgrade to 0.9.3 (as of this writing) is actually a point of pain, since both versions cannot co-exist.
If you&#8217;re not running [...]]]></description>
			<content:encoded><![CDATA[<p>Now that rails 3 has hit beta, I decided to see if I could get it running on my dreamhost account. I&#8217;m already running a few rails applications using bundler 0.8.1, so the forced upgrade to 0.9.3 (as of this writing) is actually a point of pain, since both versions cannot co-exist.</p>
<p>If you&#8217;re not running an old version of bundler, this should be an easy update. If you are, it gets complicated to the point that for now, it&#8217;s not worth updating since bundler 0.9.3 still seems to have issues with rails 2.3.x.</p>
<p>The first thing I did was to install the bundler gem in your usual location for dreamhost. This isn&#8217;t going to be a &#8220;how do I set up rails and custom gems for dreamhost?&#8221; post as those resources exist on the web already.</p>
<p>On dreamhost:<br />
<code>gem install bundler</code></p>
<p>Now you want to setup your rails 3 application, get it into a git repository and push it there. The main point of this post is to include my deploy files which are based on the <a href="http://github.com/blog/470-deployment-script-spring-cleaning">github &#8216;git&#8217; deploy strategy</a>, which is really nice. I&#8217;ve added in some code for <a href="http://documentcloud.github.com/jammit/">jammit</a> as my asset packager, and some custom bundler callbacks.</p>
<p>I&#8217;ve included a gist below with my deploy code. Make sure the files are in the proper directories.</p>
<p><script src="http://gist.github.com/298645.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/08/rails-3-bundler-git-and-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/08/rails-3-bundler-git-and-dreamhost/</feedburner:origLink></item>
		<item>
		<title>Heroes will be canceled and I’m not really sad about it</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/cQnVcXb-V20/</link>
		<comments>http://blog.joeygeiger.com/2010/02/05/heroes-will-be-canceled-and-im-not-really-sad-about-it/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:56:19 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[entertainment]]></category>
		<category><![CDATA[heroes]]></category>
		<category><![CDATA[nbc]]></category>
		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=156</guid>
		<description><![CDATA[And while it was really good in season one, I think every season since then has flopped. I think Season two was the low point.
Why did it fail?
It failed because it never lived up to the single scene where &#8220;Future Hiro&#8221; met with Peter in the subway. This single scene set up so much of [...]]]></description>
			<content:encoded><![CDATA[<p>And while it was really good in season one, I think every season since then has flopped. I think Season two was the low point.</p>
<p>Why did it fail?</p>
<p>It failed because it never lived up to the single scene where &#8220;Future Hiro&#8221; met with Peter in the subway. This single scene set up so much of what could have been great about the show, and instead they turned Hiro into a clown, and Peter into a limited power moron.</p>
<p>TV needs to start accepting shows with specifically limited runs so they can cut out all the crap and just have episodes of excellent. Notice how Lost got good again when they set the end date. Dollhouse, for is spectacularly bad beginning, became brilliant when they stopped doing the &#8220;story of the week&#8221; and focused on the downfall of the tech and corporation.</p>
<p>TV executives need to find people with brilliant ideas, give them a show that will ONLY last 1-2 seasons, but give them the ability to make more than one series. The audience will follow great storytelling, even if it&#8217;s not the same characters.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/02/05/heroes-will-be-canceled-and-im-not-really-sad-about-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/02/05/heroes-will-be-canceled-and-im-not-really-sad-about-it/</feedburner:origLink></item>
		<item>
		<title>Visual password strength checker for jQuery</title>
		<link>http://feedproxy.google.com/~r/joeygeiger/~3/IedSqAiW9dQ/</link>
		<comments>http://blog.joeygeiger.com/2010/01/25/visual-password-strength-checker-for-jquery/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 19:29:02 +0000</pubDate>
		<dc:creator>jgeiger</dc:creator>
				<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.joeygeiger.com/?p=151</guid>
		<description><![CDATA[A simple JS file that uses regex to determine the strength of a password.

built on the work of
http://www.zorched.net/2009/05/08/password-strength-validation-with-regular-expressions/
and
http://www.techpint.com/programming/regular-expression-check-password-strength
]]></description>
			<content:encoded><![CDATA[<p>A simple JS file that uses regex to determine the strength of a password.</p>
<p><script src="http://gist.github.com/286141.js"></script></p>
<p>built on the work of<br />
<a href="http://www.zorched.net/2009/05/08/password-strength-validation-with-regular-expressions/">http://www.zorched.net/2009/05/08/password-strength-validation-with-regular-expressions/</a><br />
and<br />
<a href="http://www.techpint.com/programming/regular-expression-check-password-strength">http://www.techpint.com/programming/regular-expression-check-password-strength</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joeygeiger.com/2010/01/25/visual-password-strength-checker-for-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.joeygeiger.com/2010/01/25/visual-password-strength-checker-for-jquery/</feedburner:origLink></item>
	</channel>
</rss>
