<?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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Idle Hacking</title>
	
	<link>http://www.idle-hacking.com</link>
	<description>Ruby, XUL/Javascript, C/C++, and more...</description>
	<lastBuildDate>Wed, 21 Oct 2009 15:46:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<geo:lat>38.906778</geo:lat><geo:long>-77.041481</geo:long><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/XulForThought" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Anerian &amp; 1901 Group raise money for charity: Teardrops to Rainbows</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/UpSTPic6VTU/</link>
		<comments>http://www.idle-hacking.com/2009/10/anerian-1901-group-raise-money-for-charity-teardrops-to-rainbows/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 15:46:22 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=760</guid>
		<description>Share and Enjoy:</description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/hQ3J7LBAjjc&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hQ3J7LBAjjc&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fanerian-1901-group-raise-money-for-charity-teardrops-to-rainbows%2F&amp;title=Anerian%20%26%201901%20Group%20raise%20money%20for%20charity%3A%20Teardrops%20to%20Rainbows&amp;bodytext=" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fanerian-1901-group-raise-money-for-charity-teardrops-to-rainbows%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fanerian-1901-group-raise-money-for-charity-teardrops-to-rainbows%2F&amp;title=Anerian%20%26%201901%20Group%20raise%20money%20for%20charity%3A%20Teardrops%20to%20Rainbows&amp;notes=" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fanerian-1901-group-raise-money-for-charity-teardrops-to-rainbows%2F&amp;t=Anerian%20%26%201901%20Group%20raise%20money%20for%20charity%3A%20Teardrops%20to%20Rainbows" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fanerian-1901-group-raise-money-for-charity-teardrops-to-rainbows%2F&amp;title=Anerian%20%26%201901%20Group%20raise%20money%20for%20charity%3A%20Teardrops%20to%20Rainbows" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fanerian-1901-group-raise-money-for-charity-teardrops-to-rainbows%2F&amp;title=Anerian%20%26%201901%20Group%20raise%20money%20for%20charity%3A%20Teardrops%20to%20Rainbows&amp;annotation=" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=UpSTPic6VTU:YqayuINBe6Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=UpSTPic6VTU:YqayuINBe6Q:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=UpSTPic6VTU:YqayuINBe6Q:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=UpSTPic6VTU:YqayuINBe6Q:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=UpSTPic6VTU:YqayuINBe6Q:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=UpSTPic6VTU:YqayuINBe6Q:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=UpSTPic6VTU:YqayuINBe6Q:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=UpSTPic6VTU:YqayuINBe6Q:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=UpSTPic6VTU:YqayuINBe6Q:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/UpSTPic6VTU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/10/anerian-1901-group-raise-money-for-charity-teardrops-to-rainbows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/10/anerian-1901-group-raise-money-for-charity-teardrops-to-rainbows/</feedburner:origLink></item>
		<item>
		<title>Safe MemCache client wrapper</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/3FXQ-YBRANE/</link>
		<comments>http://www.idle-hacking.com/2009/10/safe-memcache-client-wrapper/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 13:02:49 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=757</guid>
		<description>I find it really annoying that memcache-client raises exceptions when the memcached server is down&amp;#8230;  In my opinion, if memcached isn&amp;#8217;t there it&amp;#8217;s a cache miss, not an error.  So, I figured it should be okay to have a SafeMemCache wrapper around the normal MemCache object that rescues MemCacheError and returns nil&amp;#8230;  Here&amp;#8217;s what I [...]</description>
			<content:encoded><![CDATA[<p>I find it really annoying that memcache-client raises exceptions when the memcached server is down&#8230;  In my opinion, if memcached isn&#8217;t there it&#8217;s a cache miss, not an error.  So, I figured it should be okay to have a SafeMemCache wrapper around the normal MemCache object that rescues MemCacheError and returns nil&#8230;  Here&#8217;s what I have so far, was thinking there is probably away to safely wrap any method with another function using ruby dynamically, rather then repeating&#8230; but here&#8217;s what i have&#8230; so copy &amp; paste.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># A Safe Wrapper around memcache client that will not raise exceptions</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#9966CC; font-weight:bold;">class</span> SafeMemCache <span style="color:#006600; font-weight:bold;">&amp;</span>lt; MemCache
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> decr<span style="color:#006600; font-weight:bold;">&#40;</span>key, amount = <span style="color:#006666;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> get<span style="color:#006600; font-weight:bold;">&#40;</span>key, raw = <span style="color:#0000FF; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> fetch<span style="color:#006600; font-weight:bold;">&#40;</span>key, expiry = <span style="color:#006666;">0</span>, raw = <span style="color:#0000FF; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> get_multi<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">*</span>keys<span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> incr<span style="color:#006600; font-weight:bold;">&#40;</span>key, amount = <span style="color:#006666;">1</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> set<span style="color:#006600; font-weight:bold;">&#40;</span>key, value, expiry = <span style="color:#006666;">0</span>, raw = <span style="color:#0000FF; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> cas<span style="color:#006600; font-weight:bold;">&#40;</span>key, expiry=<span style="color:#006666;">0</span>, raw=<span style="color:#0000FF; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> add<span style="color:#006600; font-weight:bold;">&#40;</span>key, value, expiry = <span style="color:#006666;">0</span>, raw = <span style="color:#0000FF; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> replace<span style="color:#006600; font-weight:bold;">&#40;</span>key, value, expiry = <span style="color:#006666;">0</span>, raw = <span style="color:#0000FF; font-weight:bold;">false</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> append<span style="color:#006600; font-weight:bold;">&#40;</span>key, value<span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> prepend<span style="color:#006600; font-weight:bold;">&#40;</span>key, value<span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> delete<span style="color:#006600; font-weight:bold;">&#40;</span>key, expiry = <span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> flush_all<span style="color:#006600; font-weight:bold;">&#40;</span>delay=<span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> reset
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
 <span style="color:#9966CC; font-weight:bold;">def</span> stats
 <span style="color:#9966CC; font-weight:bold;">super</span>
 <span style="color:#9966CC; font-weight:bold;">rescue</span> MemCacheError =<span style="color:#006600; font-weight:bold;">&amp;</span>gt; e
 <span style="color:#0000FF; font-weight:bold;">nil</span>
 <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>




Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fsafe-memcache-client-wrapper%2F&amp;title=Safe%20MemCache%20client%20wrapper&amp;bodytext=I%20find%20it%20really%20annoying%20that%20memcache-client%20raises%20exceptions%20when%20the%20memcached%20server%20is%20down...%C2%A0%20In%20my%20opinion%2C%20if%20memcached%20isn%27t%20there%20it%27s%20a%20cache%20miss%2C%20not%20an%20error.%C2%A0%20So%2C%20I%20figured%20it%20should%20be%20okay%20to%20have%20a%20SafeMemCache%20wrapper%20around%20t" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fsafe-memcache-client-wrapper%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fsafe-memcache-client-wrapper%2F&amp;title=Safe%20MemCache%20client%20wrapper&amp;notes=I%20find%20it%20really%20annoying%20that%20memcache-client%20raises%20exceptions%20when%20the%20memcached%20server%20is%20down...%C2%A0%20In%20my%20opinion%2C%20if%20memcached%20isn%27t%20there%20it%27s%20a%20cache%20miss%2C%20not%20an%20error.%C2%A0%20So%2C%20I%20figured%20it%20should%20be%20okay%20to%20have%20a%20SafeMemCache%20wrapper%20around%20t" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fsafe-memcache-client-wrapper%2F&amp;t=Safe%20MemCache%20client%20wrapper" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fsafe-memcache-client-wrapper%2F&amp;title=Safe%20MemCache%20client%20wrapper" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F10%2Fsafe-memcache-client-wrapper%2F&amp;title=Safe%20MemCache%20client%20wrapper&amp;annotation=I%20find%20it%20really%20annoying%20that%20memcache-client%20raises%20exceptions%20when%20the%20memcached%20server%20is%20down...%C2%A0%20In%20my%20opinion%2C%20if%20memcached%20isn%27t%20there%20it%27s%20a%20cache%20miss%2C%20not%20an%20error.%C2%A0%20So%2C%20I%20figured%20it%20should%20be%20okay%20to%20have%20a%20SafeMemCache%20wrapper%20around%20t" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=3FXQ-YBRANE:nM1RCNul1WA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=3FXQ-YBRANE:nM1RCNul1WA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=3FXQ-YBRANE:nM1RCNul1WA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=3FXQ-YBRANE:nM1RCNul1WA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=3FXQ-YBRANE:nM1RCNul1WA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=3FXQ-YBRANE:nM1RCNul1WA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=3FXQ-YBRANE:nM1RCNul1WA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=3FXQ-YBRANE:nM1RCNul1WA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=3FXQ-YBRANE:nM1RCNul1WA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/3FXQ-YBRANE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/10/safe-memcache-client-wrapper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/10/safe-memcache-client-wrapper/</feedburner:origLink></item>
		<item>
		<title>Denny Hamlin Speed Wash</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/eRK3_6KjzSo/</link>
		<comments>http://www.idle-hacking.com/2009/09/denny-hamlin-speed-wash/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 12:38:40 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Life at work]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=754</guid>
		<description>We just launched a new site for Denny Hamlin Speed Wash.  The new site has some pretty cool looking graphics and we&amp;#8217;re really excited about the look and feel.  One of the really neat features is the ability to pre-schedule an apt for a car wash.  If you do schedule your wash, the wash gives [...]</description>
			<content:encoded><![CDATA[<p>We just launched a new site for <a href="http://dhspeedwash.com/">Denny Hamlin Speed Wash</a>.  The new site has some pretty cool looking graphics and we&#8217;re really excited about the look and feel.  One of the really neat features is the ability to pre-schedule an apt for a car wash.  If you do <a href="http://dhspeedwash.com/wash">schedule your wash</a>, the wash gives you a nice 10% discount and a free wash!  Really nice deal.  Check it out and let me know what you think.</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fdenny-hamlin-speed-wash%2F&amp;title=Denny%20Hamlin%20Speed%20Wash&amp;bodytext=We%20just%20launched%20a%20new%20site%20for%20Denny%20Hamlin%20Speed%20Wash.%20%C2%A0The%20new%20site%20has%20some%20pretty%20cool%20looking%20graphics%20and%20we%27re%20really%20excited%20about%20the%20look%20and%20feel.%20%C2%A0One%20of%20the%20really%20neat%20features%20is%20the%20ability%20to%20pre-schedule%20an%20apt%20for%20a%20car%20wash.%20%C2%A0" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fdenny-hamlin-speed-wash%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fdenny-hamlin-speed-wash%2F&amp;title=Denny%20Hamlin%20Speed%20Wash&amp;notes=We%20just%20launched%20a%20new%20site%20for%20Denny%20Hamlin%20Speed%20Wash.%20%C2%A0The%20new%20site%20has%20some%20pretty%20cool%20looking%20graphics%20and%20we%27re%20really%20excited%20about%20the%20look%20and%20feel.%20%C2%A0One%20of%20the%20really%20neat%20features%20is%20the%20ability%20to%20pre-schedule%20an%20apt%20for%20a%20car%20wash.%20%C2%A0" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fdenny-hamlin-speed-wash%2F&amp;t=Denny%20Hamlin%20Speed%20Wash" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fdenny-hamlin-speed-wash%2F&amp;title=Denny%20Hamlin%20Speed%20Wash" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fdenny-hamlin-speed-wash%2F&amp;title=Denny%20Hamlin%20Speed%20Wash&amp;annotation=We%20just%20launched%20a%20new%20site%20for%20Denny%20Hamlin%20Speed%20Wash.%20%C2%A0The%20new%20site%20has%20some%20pretty%20cool%20looking%20graphics%20and%20we%27re%20really%20excited%20about%20the%20look%20and%20feel.%20%C2%A0One%20of%20the%20really%20neat%20features%20is%20the%20ability%20to%20pre-schedule%20an%20apt%20for%20a%20car%20wash.%20%C2%A0" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=eRK3_6KjzSo:0CJNgKQg734:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=eRK3_6KjzSo:0CJNgKQg734:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=eRK3_6KjzSo:0CJNgKQg734:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=eRK3_6KjzSo:0CJNgKQg734:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=eRK3_6KjzSo:0CJNgKQg734:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=eRK3_6KjzSo:0CJNgKQg734:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=eRK3_6KjzSo:0CJNgKQg734:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=eRK3_6KjzSo:0CJNgKQg734:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=eRK3_6KjzSo:0CJNgKQg734:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/eRK3_6KjzSo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/09/denny-hamlin-speed-wash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/09/denny-hamlin-speed-wash/</feedburner:origLink></item>
		<item>
		<title>beanstalkd async_observer RELEASE_STAMP not TIME_STAMP</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/dXGtSe7cEg8/</link>
		<comments>http://www.idle-hacking.com/2009/09/beanstalkd-async_observer-release_stamp-not-time_stamp/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 14:59:56 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=750</guid>
		<description>I just found out the hard way, when using beanstalkd async_observer rails plugin if you decide to use a time stamp instead of a release version for AsyncObserver::Queue.app_version in config.after_initialize block be warned when dealing with different processes each process will get a different app_version.  The app_version is used to determine which tube jobs [...]</description>
			<content:encoded><![CDATA[<p>I just found out the hard way, when using beanstalkd async_observer rails plugin if you decide to use a time stamp instead of a release version for AsyncObserver::Queue.app_version in config.after_initialize block be warned when dealing with different processes each process will get a different app_version.  The app_version is used to determine which tube jobs should be queued and dequeued from&#8230;  So if you try and use something like: Time.now.to_i each worker and app will get a different tube and none of the queued jobs will ever be processed.  Instead if you&#8217;re using subversion something like this works:  `svn info`.scan(/Revision: (\d*)/).first.first&#8230;</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fbeanstalkd-async_observer-release_stamp-not-time_stamp%2F&amp;title=beanstalkd%20async_observer%20RELEASE_STAMP%20not%20TIME_STAMP&amp;bodytext=I%20just%20found%20out%20the%20hard%20way%2C%20when%20using%20beanstalkd%20async_observer%20rails%20plugin%20if%20you%20decide%20to%20use%20a%20time%20stamp%20instead%20of%20a%20release%20version%20for%20AsyncObserver%3A%3AQueue.app_version%20in%20config.after_initialize%20block%20be%20warned%20when%20dealing%20with%20differen" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fbeanstalkd-async_observer-release_stamp-not-time_stamp%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fbeanstalkd-async_observer-release_stamp-not-time_stamp%2F&amp;title=beanstalkd%20async_observer%20RELEASE_STAMP%20not%20TIME_STAMP&amp;notes=I%20just%20found%20out%20the%20hard%20way%2C%20when%20using%20beanstalkd%20async_observer%20rails%20plugin%20if%20you%20decide%20to%20use%20a%20time%20stamp%20instead%20of%20a%20release%20version%20for%20AsyncObserver%3A%3AQueue.app_version%20in%20config.after_initialize%20block%20be%20warned%20when%20dealing%20with%20differen" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fbeanstalkd-async_observer-release_stamp-not-time_stamp%2F&amp;t=beanstalkd%20async_observer%20RELEASE_STAMP%20not%20TIME_STAMP" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fbeanstalkd-async_observer-release_stamp-not-time_stamp%2F&amp;title=beanstalkd%20async_observer%20RELEASE_STAMP%20not%20TIME_STAMP" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F09%2Fbeanstalkd-async_observer-release_stamp-not-time_stamp%2F&amp;title=beanstalkd%20async_observer%20RELEASE_STAMP%20not%20TIME_STAMP&amp;annotation=I%20just%20found%20out%20the%20hard%20way%2C%20when%20using%20beanstalkd%20async_observer%20rails%20plugin%20if%20you%20decide%20to%20use%20a%20time%20stamp%20instead%20of%20a%20release%20version%20for%20AsyncObserver%3A%3AQueue.app_version%20in%20config.after_initialize%20block%20be%20warned%20when%20dealing%20with%20differen" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=dXGtSe7cEg8:joTc_rm7l_w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=dXGtSe7cEg8:joTc_rm7l_w:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=dXGtSe7cEg8:joTc_rm7l_w:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=dXGtSe7cEg8:joTc_rm7l_w:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=dXGtSe7cEg8:joTc_rm7l_w:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=dXGtSe7cEg8:joTc_rm7l_w:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=dXGtSe7cEg8:joTc_rm7l_w:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=dXGtSe7cEg8:joTc_rm7l_w:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=dXGtSe7cEg8:joTc_rm7l_w:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/dXGtSe7cEg8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/09/beanstalkd-async_observer-release_stamp-not-time_stamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/09/beanstalkd-async_observer-release_stamp-not-time_stamp/</feedburner:origLink></item>
		<item>
		<title>Google Adwords Fail</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/NFxlcplsdVg/</link>
		<comments>http://www.idle-hacking.com/2009/08/google-adwords-fail/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:46:16 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Life at work]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=747</guid>
		<description>Share and Enjoy:</description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-748" title="Picture 12" src="http://idle-hacking.s3.amazonaws.com/wp-content/uploads/2009/08/Picture-12.png" alt="Picture 12" width="800" height="356" /></p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fgoogle-adwords-fail%2F&amp;title=Google%20Adwords%20Fail&amp;bodytext=" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fgoogle-adwords-fail%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fgoogle-adwords-fail%2F&amp;title=Google%20Adwords%20Fail&amp;notes=" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fgoogle-adwords-fail%2F&amp;t=Google%20Adwords%20Fail" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fgoogle-adwords-fail%2F&amp;title=Google%20Adwords%20Fail" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fgoogle-adwords-fail%2F&amp;title=Google%20Adwords%20Fail&amp;annotation=" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=NFxlcplsdVg:mZpGimsYJ5E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=NFxlcplsdVg:mZpGimsYJ5E:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=NFxlcplsdVg:mZpGimsYJ5E:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=NFxlcplsdVg:mZpGimsYJ5E:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=NFxlcplsdVg:mZpGimsYJ5E:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=NFxlcplsdVg:mZpGimsYJ5E:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=NFxlcplsdVg:mZpGimsYJ5E:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=NFxlcplsdVg:mZpGimsYJ5E:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=NFxlcplsdVg:mZpGimsYJ5E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/NFxlcplsdVg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/08/google-adwords-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/08/google-adwords-fail/</feedburner:origLink></item>
		<item>
		<title>curb in hurl</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/cw_8ibhCV6A/</link>
		<comments>http://www.idle-hacking.com/2009/08/curb-in-hurl/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 12:10:59 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=744</guid>
		<description>I just heard today about hurl, it&amp;#8217;s a really cool service created for HTTP inspection.   Check out the video:

Hurl Overview from defunkt on Vimeo.
Along with being an awesome service, it&amp;#8217;s apparently using the curb gem!



Share and Enjoy:</description>
			<content:encoded><![CDATA[<p>I just heard today about hurl, it&#8217;s a really cool service created for HTTP inspection.   Check out the video:</p>
<p><object width="400" height="285"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6238577&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6238577&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="285"></embed></object>
<p><a href="http://vimeo.com/6238577">Hurl Overview</a> from <a href="http://vimeo.com/defunkt">defunkt</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Along with being an awesome service, it&#8217;s apparently using the <a href="http://github.com/taf2/curb/tree">curb gem</a>!</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcurb-in-hurl%2F&amp;title=curb%20in%20hurl&amp;bodytext=I%20just%20heard%20today%20about%20hurl%2C%20it%27s%20a%20really%20cool%20service%20created%20for%20HTTP%20inspection.%C2%A0%C2%A0%20Check%20out%20the%20video%3A%0D%0A%0D%0AHurl%20Overview%20from%20defunkt%20on%20Vimeo.%0D%0A%0D%0AAlong%20with%20being%20an%20awesome%20service%2C%20it%27s%20apparently%20using%20the%20curb%20gem%21" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcurb-in-hurl%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcurb-in-hurl%2F&amp;title=curb%20in%20hurl&amp;notes=I%20just%20heard%20today%20about%20hurl%2C%20it%27s%20a%20really%20cool%20service%20created%20for%20HTTP%20inspection.%C2%A0%C2%A0%20Check%20out%20the%20video%3A%0D%0A%0D%0AHurl%20Overview%20from%20defunkt%20on%20Vimeo.%0D%0A%0D%0AAlong%20with%20being%20an%20awesome%20service%2C%20it%27s%20apparently%20using%20the%20curb%20gem%21" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcurb-in-hurl%2F&amp;t=curb%20in%20hurl" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcurb-in-hurl%2F&amp;title=curb%20in%20hurl" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcurb-in-hurl%2F&amp;title=curb%20in%20hurl&amp;annotation=I%20just%20heard%20today%20about%20hurl%2C%20it%27s%20a%20really%20cool%20service%20created%20for%20HTTP%20inspection.%C2%A0%C2%A0%20Check%20out%20the%20video%3A%0D%0A%0D%0AHurl%20Overview%20from%20defunkt%20on%20Vimeo.%0D%0A%0D%0AAlong%20with%20being%20an%20awesome%20service%2C%20it%27s%20apparently%20using%20the%20curb%20gem%21" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=cw_8ibhCV6A:Yk-mffvrVPo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=cw_8ibhCV6A:Yk-mffvrVPo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=cw_8ibhCV6A:Yk-mffvrVPo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=cw_8ibhCV6A:Yk-mffvrVPo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=cw_8ibhCV6A:Yk-mffvrVPo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=cw_8ibhCV6A:Yk-mffvrVPo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=cw_8ibhCV6A:Yk-mffvrVPo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=cw_8ibhCV6A:Yk-mffvrVPo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=cw_8ibhCV6A:Yk-mffvrVPo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/cw_8ibhCV6A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/08/curb-in-hurl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/08/curb-in-hurl/</feedburner:origLink></item>
		<item>
		<title>More on @font-face</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/MaCyuz0opFU/</link>
		<comments>http://www.idle-hacking.com/2009/08/more-on-font-face/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 15:57:34 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/?p=739</guid>
		<description>Back in December 2008, I put together an example of using @font-face and described some of the deficiencies of using the Microsoft font format eot.  It turns out that I was wrong and corrected on the quality of the font renderings of IE6.  It can do a better job of rendering the fonts then [...]</description>
			<content:encoded><![CDATA[<p>Back in December 2008, I put together an <a href="http://idle-hacking.s3.amazonaws.com/demos/font-face.html">example of using @font-face</a> and <a href="http://www.idle-hacking.com/2008/12/font-face-coming-to-a-browser-near-you/">described some of the deficiencies</a> of using the Microsoft font format eot.  It turns out that <a href="http://www.idle-hacking.com/2008/12/font-face-coming-to-a-browser-near-you/#comment-5503">I was wrong and corrected on the quality of the font renderings</a> of IE6.  It can do a better job of rendering the fonts then I originally thought if <a href="http://support.microsoft.com/kb/306527">ClearType is enabled</a>.</p>
<p>IE:</p>
<p><img class="aligncenter size-full wp-image-740" title="Picture 10" src="http://idle-hacking.s3.amazonaws.com/wp-content/uploads/2009/08/Picture-10.png" alt="Picture 10" width="415" height="97" /></p>
<p>Firefox 3.5</p>
<p><img class="aligncenter size-full wp-image-741" title="Picture 11" src="http://idle-hacking.s3.amazonaws.com/wp-content/uploads/2009/08/Picture-11.png" alt="Picture 11" width="407" height="101" /></p>
<p>I also learned that to generate the IE compatible EOT font files there is a nice command line utility, <a href="http://code.google.com/p/ttf2eot/">ttf2eot</a>.  Check it out and hope this brightens a designers day!</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fmore-on-font-face%2F&amp;title=More%20on%20%40font-face&amp;bodytext=Back%20in%20December%202008%2C%20I%20put%20together%20an%20example%20of%20using%20%40font-face%20and%20described%20some%20of%20the%20deficiencies%20of%20using%20the%20Microsoft%20font%20format%20eot.%20%20It%20turns%20out%20that%20I%20was%20wrong%20and%20corrected%20on%20the%20quality%20of%20the%20font%20renderings%20of%20IE6.%C2%A0%20It%20can%20do" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fmore-on-font-face%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fmore-on-font-face%2F&amp;title=More%20on%20%40font-face&amp;notes=Back%20in%20December%202008%2C%20I%20put%20together%20an%20example%20of%20using%20%40font-face%20and%20described%20some%20of%20the%20deficiencies%20of%20using%20the%20Microsoft%20font%20format%20eot.%20%20It%20turns%20out%20that%20I%20was%20wrong%20and%20corrected%20on%20the%20quality%20of%20the%20font%20renderings%20of%20IE6.%C2%A0%20It%20can%20do" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fmore-on-font-face%2F&amp;t=More%20on%20%40font-face" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fmore-on-font-face%2F&amp;title=More%20on%20%40font-face" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fmore-on-font-face%2F&amp;title=More%20on%20%40font-face&amp;annotation=Back%20in%20December%202008%2C%20I%20put%20together%20an%20example%20of%20using%20%40font-face%20and%20described%20some%20of%20the%20deficiencies%20of%20using%20the%20Microsoft%20font%20format%20eot.%20%20It%20turns%20out%20that%20I%20was%20wrong%20and%20corrected%20on%20the%20quality%20of%20the%20font%20renderings%20of%20IE6.%C2%A0%20It%20can%20do" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=MaCyuz0opFU:pRaoJJv4LWk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=MaCyuz0opFU:pRaoJJv4LWk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=MaCyuz0opFU:pRaoJJv4LWk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=MaCyuz0opFU:pRaoJJv4LWk:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=MaCyuz0opFU:pRaoJJv4LWk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=MaCyuz0opFU:pRaoJJv4LWk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=MaCyuz0opFU:pRaoJJv4LWk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=MaCyuz0opFU:pRaoJJv4LWk:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=MaCyuz0opFU:pRaoJJv4LWk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/MaCyuz0opFU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/08/more-on-font-face/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/08/more-on-font-face/</feedburner:origLink></item>
		<item>
		<title>Sinatra and Permalinks for semi-static sites</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/Uw9zba6GIIw/</link>
		<comments>http://www.idle-hacking.com/2009/08/sinatra-and-permalinks-for-semi-static-sites/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 18:42:20 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/2009/08/sinatra-and-permalinks-for-semi-static-sites/</guid>
		<description>Sinatra is great for building dynamic sites.  It&amp;#8217;s lean and mean.  It makes it really easy to customize your sites.  I like my sites to have human readable URLs and I also like to be able to easily map those URLs to a file.  Here&amp;#8217;s a super easy way to use [...]</description>
			<content:encoded><![CDATA[<p><a href="http://www.sinatrarb.com/">Sinatra</a> is great for building dynamic sites.  It&#8217;s lean and mean.  It makes it really easy to customize your sites.  I like my sites to have human readable URLs and I also like to be able to easily map those URLs to a file.  Here&#8217;s a super easy way to use sinatra with layouts and pretty URLs.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">get <span style="color:#996600;">'/:permalink'</span> <span style="color:#9966CC; font-weight:bold;">do</span>
  erb find_view_from_path<span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#ff3333; font-weight:bold;">:layout</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">true</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">def</span> find_view_from_path<span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#41;</span>
  <span style="color:#0066ff; font-weight:bold;">@path</span> = params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:permalink</span><span style="color:#006600; font-weight:bold;">&#93;</span>
  path = <span style="color:#996600;">&quot;#{AppRoot}/views/#{@path}.erb&quot;</span>
  halt <span style="color:#006666;">404</span> <span style="color:#9966CC; font-weight:bold;">if</span> <span style="color:#0066ff; font-weight:bold;">@path</span>.<span style="color:#9900CC;">match</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span>\.\.<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">or</span> <span style="color:#0066ff; font-weight:bold;">@path</span>.<span style="color:#9900CC;">match</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span>\<span style="color:#006600; font-weight:bold;">//</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">or</span>
              <span style="color:#0066ff; font-weight:bold;">@path</span>.<span style="color:#9900CC;">match</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">/</span>^layout$<span style="color:#006600; font-weight:bold;">/</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">or</span> !<span style="color:#CC00FF; font-weight:bold;">File</span>.<span style="color:#9900CC;">exist</span>?<span style="color:#006600; font-weight:bold;">&#40;</span>path<span style="color:#006600; font-weight:bold;">&#41;</span>
  <span style="color:#0066ff; font-weight:bold;">@path</span>.<span style="color:#9900CC;">to_sym</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>This gives me a project structure like:</p>
<pre>app.rb
views/layout.erb
views/url1.erb
views/url2.erb</pre>
<p>I name url1 and url2 so that they map to the URLs I want and use layout to share the common markup between the 2 files as would be done in rails.</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fsinatra-and-permalinks-for-semi-static-sites%2F&amp;title=Sinatra%20and%20Permalinks%20for%20semi-static%20sites&amp;bodytext=Sinatra%20is%20great%20for%20building%20dynamic%20sites.%20%20It%27s%20lean%20and%20mean.%20%20It%20makes%20it%20really%20easy%20to%20customize%20your%20sites.%20%20I%20like%20my%20sites%20to%20have%20human%20readable%20URLs%20and%20I%20also%20like%20to%20be%20able%20to%20easily%20map%20those%20URLs%20to%20a%20file.%20%20Here%27s%20a%20super%20easy%20way%20t" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fsinatra-and-permalinks-for-semi-static-sites%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fsinatra-and-permalinks-for-semi-static-sites%2F&amp;title=Sinatra%20and%20Permalinks%20for%20semi-static%20sites&amp;notes=Sinatra%20is%20great%20for%20building%20dynamic%20sites.%20%20It%27s%20lean%20and%20mean.%20%20It%20makes%20it%20really%20easy%20to%20customize%20your%20sites.%20%20I%20like%20my%20sites%20to%20have%20human%20readable%20URLs%20and%20I%20also%20like%20to%20be%20able%20to%20easily%20map%20those%20URLs%20to%20a%20file.%20%20Here%27s%20a%20super%20easy%20way%20t" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fsinatra-and-permalinks-for-semi-static-sites%2F&amp;t=Sinatra%20and%20Permalinks%20for%20semi-static%20sites" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fsinatra-and-permalinks-for-semi-static-sites%2F&amp;title=Sinatra%20and%20Permalinks%20for%20semi-static%20sites" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fsinatra-and-permalinks-for-semi-static-sites%2F&amp;title=Sinatra%20and%20Permalinks%20for%20semi-static%20sites&amp;annotation=Sinatra%20is%20great%20for%20building%20dynamic%20sites.%20%20It%27s%20lean%20and%20mean.%20%20It%20makes%20it%20really%20easy%20to%20customize%20your%20sites.%20%20I%20like%20my%20sites%20to%20have%20human%20readable%20URLs%20and%20I%20also%20like%20to%20be%20able%20to%20easily%20map%20those%20URLs%20to%20a%20file.%20%20Here%27s%20a%20super%20easy%20way%20t" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=Uw9zba6GIIw:QehXE9OBnRw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=Uw9zba6GIIw:QehXE9OBnRw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=Uw9zba6GIIw:QehXE9OBnRw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=Uw9zba6GIIw:QehXE9OBnRw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=Uw9zba6GIIw:QehXE9OBnRw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=Uw9zba6GIIw:QehXE9OBnRw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=Uw9zba6GIIw:QehXE9OBnRw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=Uw9zba6GIIw:QehXE9OBnRw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=Uw9zba6GIIw:QehXE9OBnRw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/Uw9zba6GIIw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/08/sinatra-and-permalinks-for-semi-static-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/08/sinatra-and-permalinks-for-semi-static-sites/</feedburner:origLink></item>
		<item>
		<title>Capistrano 2.5.x Hung while deploying to multiple servers</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/BLah36cofO8/</link>
		<comments>http://www.idle-hacking.com/2009/08/capistrano-2-5-x-hung-while-deploying-to-multiple-servers/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:23:35 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/2009/08/capistrano-2-5-x-hung-while-deploying-to-multiple-servers/</guid>
		<description>If you have deployments to multiple servers and noticed after upgrading ruby or just noticed that your deployments have been hanging.  Besides changing ruby, you can add:
default_run_options[:max_hosts] = 1
The issue appears to be in connecting to multiple servers at the same time.  This means deployment will probably take longer if you have a [...]</description>
			<content:encoded><![CDATA[<p>If you have deployments to multiple servers and noticed after upgrading ruby or just noticed that your deployments have been hanging.  Besides changing ruby, you can add:</p>
<p>default_run_options[:max_hosts] = 1</p>
<p>The issue appears to be in connecting to multiple servers at the same time.  This means deployment will probably take longer if you have a lot of servers&#8230; but for me with 2 or 3 it&#8217;s not that bad and I can still deploy&#8230;    There is a <a href="https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368">ticket here</a> and a <a href="http://www.mail-archive.com/capistrano@googlegroups.com/msg06885.html">good discussion here</a>.</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcapistrano-2-5-x-hung-while-deploying-to-multiple-servers%2F&amp;title=Capistrano%202.5.x%20Hung%20while%20deploying%20to%20multiple%20servers&amp;bodytext=If%20you%20have%20deployments%20to%20multiple%20servers%20and%20noticed%20after%20upgrading%20ruby%20or%20just%20noticed%20that%20your%20deployments%20have%20been%20hanging.%20%20Besides%20changing%20ruby%2C%20you%20can%20add%3A%0A%0Adefault_run_options%5B%3Amax_hosts%5D%20%3D%201%0A%0AThe%20issue%20appears%20to%20be%20in%20connecting%20to%20" title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcapistrano-2-5-x-hung-while-deploying-to-multiple-servers%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcapistrano-2-5-x-hung-while-deploying-to-multiple-servers%2F&amp;title=Capistrano%202.5.x%20Hung%20while%20deploying%20to%20multiple%20servers&amp;notes=If%20you%20have%20deployments%20to%20multiple%20servers%20and%20noticed%20after%20upgrading%20ruby%20or%20just%20noticed%20that%20your%20deployments%20have%20been%20hanging.%20%20Besides%20changing%20ruby%2C%20you%20can%20add%3A%0A%0Adefault_run_options%5B%3Amax_hosts%5D%20%3D%201%0A%0AThe%20issue%20appears%20to%20be%20in%20connecting%20to%20" title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcapistrano-2-5-x-hung-while-deploying-to-multiple-servers%2F&amp;t=Capistrano%202.5.x%20Hung%20while%20deploying%20to%20multiple%20servers" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcapistrano-2-5-x-hung-while-deploying-to-multiple-servers%2F&amp;title=Capistrano%202.5.x%20Hung%20while%20deploying%20to%20multiple%20servers" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fcapistrano-2-5-x-hung-while-deploying-to-multiple-servers%2F&amp;title=Capistrano%202.5.x%20Hung%20while%20deploying%20to%20multiple%20servers&amp;annotation=If%20you%20have%20deployments%20to%20multiple%20servers%20and%20noticed%20after%20upgrading%20ruby%20or%20just%20noticed%20that%20your%20deployments%20have%20been%20hanging.%20%20Besides%20changing%20ruby%2C%20you%20can%20add%3A%0A%0Adefault_run_options%5B%3Amax_hosts%5D%20%3D%201%0A%0AThe%20issue%20appears%20to%20be%20in%20connecting%20to%20" title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=BLah36cofO8:N2eHi91rvcw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=BLah36cofO8:N2eHi91rvcw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=BLah36cofO8:N2eHi91rvcw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=BLah36cofO8:N2eHi91rvcw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=BLah36cofO8:N2eHi91rvcw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=BLah36cofO8:N2eHi91rvcw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=BLah36cofO8:N2eHi91rvcw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=BLah36cofO8:N2eHi91rvcw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=BLah36cofO8:N2eHi91rvcw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/BLah36cofO8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/08/capistrano-2-5-x-hung-while-deploying-to-multiple-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/08/capistrano-2-5-x-hung-while-deploying-to-multiple-servers/</feedburner:origLink></item>
		<item>
		<title>Updated Anerian.com</title>
		<link>http://feedproxy.google.com/~r/XulForThought/~3/HBw_2JGjHjI/</link>
		<comments>http://www.idle-hacking.com/2009/08/updated-anerian-com/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 20:56:25 +0000</pubDate>
		<dc:creator>taf2</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.idle-hacking.com/2009/08/updated-anerian-com/</guid>
		<description>We just finished refreshing the anerian.com website.  Renee put together a cool animated logo, I added a bit of HTML5 and Jon added some Flash.  All and all we have a pretty cool intro animation on the home page.  Let me know what you think.



Share and Enjoy:</description>
			<content:encoded><![CDATA[<p>We just finished refreshing the <a href="http://anerian.com/">anerian.com</a> website.  Renee put together a cool animated logo, I added a bit of HTML5 and Jon added some Flash.  All and all we have a pretty cool intro animation on the home page.  Let me know what you think.</p>



Share and Enjoy:


	<a rel="nofollow" id="digg"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fupdated-anerian-com%2F&amp;title=Updated%20Anerian.com&amp;bodytext=We%20just%20finished%20refreshing%20the%20anerian.com%20website.%20%20Renee%20put%20together%20a%20cool%20animated%20logo%2C%20I%20added%20a%20bit%20of%20HTML5%20and%20Jon%20added%20some%20Flash.%20%20All%20and%20all%20we%20have%20a%20pretty%20cool%20intro%20animation%20on%20the%20home%20page.%20%20Let%20me%20know%20what%20you%20think." title="Digg"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" id="sphinn"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fupdated-anerian-com%2F" title="Sphinn"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow" id="del.icio.us"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fupdated-anerian-com%2F&amp;title=Updated%20Anerian.com&amp;notes=We%20just%20finished%20refreshing%20the%20anerian.com%20website.%20%20Renee%20put%20together%20a%20cool%20animated%20logo%2C%20I%20added%20a%20bit%20of%20HTML5%20and%20Jon%20added%20some%20Flash.%20%20All%20and%20all%20we%20have%20a%20pretty%20cool%20intro%20animation%20on%20the%20home%20page.%20%20Let%20me%20know%20what%20you%20think." title="del.icio.us"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" id="facebook"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fupdated-anerian-com%2F&amp;t=Updated%20Anerian.com" title="Facebook"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" id="mixx"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fupdated-anerian-com%2F&amp;title=Updated%20Anerian.com" title="Mixx"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" id="google"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.idle-hacking.com%2F2009%2F08%2Fupdated-anerian-com%2F&amp;title=Updated%20Anerian.com&amp;annotation=We%20just%20finished%20refreshing%20the%20anerian.com%20website.%20%20Renee%20put%20together%20a%20cool%20animated%20logo%2C%20I%20added%20a%20bit%20of%20HTML5%20and%20Jon%20added%20some%20Flash.%20%20All%20and%20all%20we%20have%20a%20pretty%20cool%20intro%20animation%20on%20the%20home%20page.%20%20Let%20me%20know%20what%20you%20think." title="Google Bookmarks"><img src="http://www.idle-hacking.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/XulForThought?a=HBw_2JGjHjI:oIaW_0-dSTw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=HBw_2JGjHjI:oIaW_0-dSTw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=HBw_2JGjHjI:oIaW_0-dSTw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=HBw_2JGjHjI:oIaW_0-dSTw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=HBw_2JGjHjI:oIaW_0-dSTw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=HBw_2JGjHjI:oIaW_0-dSTw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=HBw_2JGjHjI:oIaW_0-dSTw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/XulForThought?i=HBw_2JGjHjI:oIaW_0-dSTw:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/XulForThought?a=HBw_2JGjHjI:oIaW_0-dSTw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/XulForThought?d=qj6IDK7rITs" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/XulForThought/~4/HBw_2JGjHjI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.idle-hacking.com/2009/08/updated-anerian-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.idle-hacking.com/2009/08/updated-anerian-com/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.960 seconds. --><!-- Cached page generated by WP-Super-Cache on 2009-11-08 18:19:08 -->
