<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Spongecell Tech Blog</title>
	<atom:link href="http://spongetech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://spongetech.wordpress.com</link>
	<description>Sponges are good for polishing</description>
	<lastBuildDate>Fri, 27 Feb 2009 21:28:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='spongetech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4794e18493f43e22895857405f939ced?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Spongecell Tech Blog</title>
		<link>http://spongetech.wordpress.com</link>
	</image>
			<item>
		<title>Detecting Browser Time Zone with Rails</title>
		<link>http://spongetech.wordpress.com/2009/02/27/detecting-browser-time-zone-with-rails/</link>
		<comments>http://spongetech.wordpress.com/2009/02/27/detecting-browser-time-zone-with-rails/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 21:22:14 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=85</guid>
		<description><![CDATA[I recently revisited the problem of detecting browser time zone because I wanted to try the new time zone functionality in Rails 2.1. I found this post from Dave Johnson. To my disappointment this was the same solution Spongecell used in the personal calendar 3 years ago.
I wanted a simpler solution: one that doesn&#8217;t require [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=85&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently revisited the problem of detecting browser time zone because I wanted to try the new time zone functionality in Rails 2.1. I found this <a href="http://blogs.nitobi.com/dave/2008/10/05/rails-timezones/" target="_blank">post from Dave Johnson</a>. To my disappointment this was the same solution Spongecell used in the personal calendar 3 years ago.</p>
<p>I wanted a simpler solution: one that doesn&#8217;t require a js cookie library, nor around filters, nor a UI with a combo box with 100s of time zone choices.</p>
<p><strong>The solution presented is to send browser info using jquery and then storing the time zone in the session for use in all subsequent requests.</strong></p>
<p>in the view (this is haml), this can be in your layout on all pages:</p>
<pre>  <span style="color:#000080;">  - unless @time_zone</span></pre>
<pre><span style="color:#000080;">      = javascript_tag "$.get('/controller/time_zone',</span></pre>
<pre><span style="color:#000080;">      'offset_minutes':(-1 * (new Date()).getTimezoneOffset())})"</span></pre>
<p>in the controller:</p>
<pre> <span style="color:#000080;">before_filter :init_time_zone</span>
<span style="color:#000080;">  #sets the time zone for this request if a session time zone exists</span>
<span style="color:#000080;">  #if it doesn't the default is UTC</span>
<span style="color:#000080;">
<span>  </span><span>def</span> init_time_zone

<span>    </span><span>@time_zone</span> = ActiveSupport::TimeZone[session[<span>:time_zone_name</span>]]<span> if</span> session[<span>:time_zone_name</span>]

<span>    Time.zone =</span> <span>@time_zone</span><span>.name</span><span> if</span> <span>@time_zone</span>

  end

  #this receives browser info from a jquery request and stores 

  #time zone info in the session
</span><span style="color:#000080;">  def time_zone</span>

<span style="color:#000080;">    offset_seconds = params[:offset_minutes].to_i * 60</span>

<span style="color:#000080;">    @time_zone = ActiveSupport::TimeZone[offset_seconds]</span>

<span style="color:#000080;">    @time_zone = ActiveSupport::TimeZone["UTC"] unless @time_zone</span>

<span style="color:#000080;">    session[:time_zone_name] = @time_zone.name if @time_zone</span>

<span style="color:#000080;">    render :text =&gt; "success"</span>

<span style="color:#000080;">  end</span>

in the formatter:
<pre><span style="color:#000080;">  </span><span style="color:#000080;">def</span><span style="color:#000080;"> format_time(t)</span>

<span style="color:#000080;">    return</span><span style="color:#000080;"> ""</span><span style="color:#000080;"> unless</span><span style="color:#000080;"> t</span>

<span style="color:#000080;">    return</span><span style="color:#000080;"> t.in_time_zone.</span><span style="color:#000080;">strftime</span><span style="color:#000080;">(</span><span style="color:#000080;">'%Y-%m-%d %H:%M:%S %Z'</span><span style="color:#000080;">)</span>

<span style="color:#000080;">  end</span></pre>
</pre>
<p>Look how simple that is! I choose to default the time zone to UTC if one cannot be determined on the first attempt. Now the formatter will output all the UTC times you have in your db or anywhere in the user&#8217;s browser&#8217;s time zone.</p>
<p>If there is a better solution in Rails please let me know. We &#8216;ll see if this solution works for daylight saving time.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=85&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2009/02/27/detecting-browser-time-zone-with-rails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>
	</item>
		<item>
		<title>Obama Day Caching Funtime</title>
		<link>http://spongetech.wordpress.com/2009/01/30/obama-day-caching-funtime/</link>
		<comments>http://spongetech.wordpress.com/2009/01/30/obama-day-caching-funtime/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 20:36:46 +0000</pubDate>
		<dc:creator>blythedunham</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=74</guid>
		<description><![CDATA[Obama day was sort of intense! Not only did Aretha Franklin have a sweet hat, but all the internet traffic on CNN Live put the hurt on old skool Spongecell Promote. Chris  saved the day by quickly page caching the content that was in high demand. So basically some files were copied and everyone was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=74&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div id="attachment_79" class="wp-caption alignright" style="width: 324px"><img class="size-full wp-image-79" title="Obama" src="http://spongetech.files.wordpress.com/2009/01/obama-main1.gif?w=314&#038;h=141" alt="Obama Day was caching day!" width="314" height="141" /><p class="wp-caption-text">Obama Day was caching day!</p></div>
<p>Obama day was sort of intense! Not only did Aretha Franklin have a sweet hat, but all the internet traffic on <a href="http://www.cnn.com/live/">CNN Live</a> put the hurt on old skool <a href="http://spongecell.com/promote">Spongecell Promote</a>. Chris  saved the day by quickly page caching the content that was in high demand. So basically some files were copied and everyone was happy (except maybe Texas?)</p>
<p>This trick is super obvi, but hella useful, yo. But, &lt;tear&gt;, its not a permanent fix.  Alas, not every day can be Obama Day ! So I set out to fix this permanently. We need to page cache for one customer who always sends the same request, expire the page when the data changes, and action cache for everyone else who is not logged in.</p>
<p>So I wrote a tiny little <a href="http://www.snowgiraffe.com/blog/?p=72" target="_blank">conditional page cache plugin</a> to let you choose your caching type at runtime. You want to page cache giraffe 1, action cache giraffe 2 when they are green and serve everything else straight up.</p>
<pre><span class="keyword">class </span><span class="class">PictureController</span>

  <span class="ident">conditionally_cache</span> <span class="symbol">:giraffe</span>

  <span class="keyword">def </span><span class="method">page_cache?</span><span class="punct">;</span> <span class="attribute">@giraffe</span> <span class="punct">==</span> <span class="number">1</span><span class="punct">;</span> <span class="keyword">end</span>
  <span class="keyword">def </span><span class="method">action_cache?</span><span class="punct">;</span> <span class="attribute">@giraffe</span> <span class="punct">=</span> <span class="number">2</span> <span class="punct">&amp;&amp;</span> <span class="attribute">@giraffe_color</span> <span class="punct">=</span> <span class="punct">'</span><span class="string">blue</span><span class="punct">';</span> <span class="keyword">end</span>

  <span class="keyword">def </span><span class="method">giraffe</span>
    <span class="attribute">@giraffe</span> <span class="punct">=</span> <span class="ident">blah_blah</span>
  <span class="keyword">end</span>
<span class="keyword">end</span></pre>
<p>To clarify the temporary caching trick:<br />
Suppose you have: <a href="http://snowgiraffe.com/pictures/giraffe/1.html">http://snowgiraffe.com/pictures/giraffe/1.html</a></p>
<p>Then you simply move the file to:<br />
<code> #{RAILS_ROOT}/public/pictures/giraffe/1.html </code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=74&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2009/01/30/obama-day-caching-funtime/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f61325e43e579264f2bb3bd3168da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">blythedunham</media:title>
		</media:content>

		<media:content url="http://spongetech.files.wordpress.com/2009/01/obama-main1.gif" medium="image">
			<media:title type="html">Obama</media:title>
		</media:content>
	</item>
		<item>
		<title>NGINX does some crime</title>
		<link>http://spongetech.wordpress.com/2008/11/19/nginx-does-some-crime/</link>
		<comments>http://spongetech.wordpress.com/2008/11/19/nginx-does-some-crime/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 21:56:40 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=72</guid>
		<description><![CDATA[
from CyberCrime and Doing Time
&#8220;The website sergej-grienko.com is in Russia and doesn&#8217;t run Apache or IIS or any other common webserver. Its running a webserver called &#8220;nginx&#8221; (Pronounced Engine-X). That&#8217;s a huge negative right there. Many webservers that host malware are using this webserver type.&#8221;
Spongecell and Engine Yard use NGINX but I think it&#8217;s a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=72&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><img class="alignleft" src="http://nginx.net/nginx.gif" alt="" width="121" height="32" /></p>
<p>from <a href="http://garwarner.blogspot.com/2008/11/enlisting-your-bank-to-steal-your.html">CyberCrime and Doing Time</a></p>
<p>&#8220;The website sergej-grienko.com is in Russia and doesn&#8217;t run Apache or IIS or any other common webserver. Its running a webserver called &#8220;nginx&#8221; (Pronounced Engine-X). That&#8217;s a huge negative right there. Many webservers that host malware are using this webserver type.&#8221;</p>
<p><a href="http://spongecell.com">Spongecell</a> and <a href="http://engineyard.com">Engine Yard</a> use NGINX but I think it&#8217;s a huge positive! We use it for analytics reporting in addition to normal mongrel load balancing. We&#8217;ve load tested nginx on a single slice being able to handle close to 10,000 requests per second. Perhaps we like it for the same reasons the criminals do: it performs.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=72&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/11/19/nginx-does-some-crime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://nginx.net/nginx.gif" medium="image" />
	</item>
		<item>
		<title>Star in a Porno with Facebook Connect and Rails</title>
		<link>http://spongetech.wordpress.com/2008/11/17/star-in-a-porno-with-facebook-connect-and-rails/</link>
		<comments>http://spongetech.wordpress.com/2008/11/17/star-in-a-porno-with-facebook-connect-and-rails/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 19:47:58 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=68</guid>
		<description><![CDATA[I tried out Facebook Connect with Rails recently. The result is Zack N Miri.
Figuring out all the details wasn&#8217;t super straightforward. Essentially I took the jogging php example from Facebook and combined it with the Facebooker Rails plugin. You can check out the code at Github.
Who wants to get some milk with Zack?
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=68&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I tried out Facebook Connect with Rails recently. The result is <a href="http://zacknmiri.com" target="_blank">Zack N Miri</a>.</p>
<p><a href="http://zacknmiri.com"><img class="aligncenter size-full wp-image-69" title="znm" src="http://spongetech.files.wordpress.com/2008/11/f1znm.png?w=300&#038;h=208" alt="znm" width="300" height="208" /></a>Figuring out all the details wasn&#8217;t super straightforward. Essentially I took the jogging php example from Facebook and combined it with the Facebooker Rails plugin. You can check out the code at <a href="http://github.com/ckhsponge/zacknmiri/tree/master" target="_blank">Github</a>.</p>
<p>Who wants to get some milk with Zack?</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=68&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/11/17/star-in-a-porno-with-facebook-connect-and-rails/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://spongetech.files.wordpress.com/2008/11/f1znm.png" medium="image">
			<media:title type="html">znm</media:title>
		</media:content>
	</item>
		<item>
		<title>Screen Sharing Crippled!</title>
		<link>http://spongetech.wordpress.com/2008/10/28/screen-sharing-crippled/</link>
		<comments>http://spongetech.wordpress.com/2008/10/28/screen-sharing-crippled/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 18:20:39 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=65</guid>
		<description><![CDATA[
How annoying, Apple has disabled the power tools in Screen Sharing that are mentioned in this great article. This comes in a recent update to security or system or something. I got around the problem by downgrading my Screen Sharing to 1.0 which I found on an old computer in the office. The app is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=65&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://spongetech.files.wordpress.com/2008/10/131094-sharebar2.png"><img class="alignleft size-full wp-image-66" title="131094-sharebar2" src="http://spongetech.files.wordpress.com/2008/10/131094-sharebar2.png?w=450&#038;h=84" alt="" width="450" height="84" /></a></p>
<p>How annoying, Apple has disabled the power tools in Screen Sharing that are mentioned in this great <a href="http://www.macworld.com/article/131094/2007/12/screensharepower.html">article</a>. This comes in a recent update to security or system or something. I got around the problem by downgrading my Screen Sharing to 1.0 which I found on an old computer in the office. The app is dated 10/2007.</p>
<p>I use Screen Sharing to connect to my mini at home when I am at the office or on the road and need to access media. I&#8217;ve never had to connect to my work computer because I keep that synced with imap, idisk, svn and git.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=65&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/10/28/screen-sharing-crippled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://spongetech.files.wordpress.com/2008/10/131094-sharebar2.png" medium="image">
			<media:title type="html">131094-sharebar2</media:title>
		</media:content>
	</item>
		<item>
		<title>FileVault is secure if you keep the door locked</title>
		<link>http://spongetech.wordpress.com/2008/10/01/filevault-is-secure-if-you-keep-the-door-locked/</link>
		<comments>http://spongetech.wordpress.com/2008/10/01/filevault-is-secure-if-you-keep-the-door-locked/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 00:37:22 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=62</guid>
		<description><![CDATA[
I did some research to see exactly how strong encryption is if you use Apple&#8217;s FileVault. (Windows has BitLocker).
 
1. If your laptop is stolen while powered on, if someone has the right hardware they can read your ram and steal all vault passwords. This is unlikely but possible.
 
2. If your laptop is off they can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=62&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div><img class="aligncenter" title="FileVault" src="http://media.arstechnica.com/journals/apple.media/filevault_icon.png" alt="" width="200" height="211" /></div>
<div>I did some research to see exactly how strong encryption is if you use Apple&#8217;s FileVault. (Windows has BitLocker).</div>
<p> </p>
<div>1. If your laptop is stolen while powered on, if someone has the right hardware they can read your ram and steal all vault passwords. This is unlikely but possible.</div>
<p> </p>
<div>2. If your laptop is off they can brute force your password. For a simple 6 character password this would take ~1000 EC2 computing days and cost ~$5,000. A 7 character password would cost $40,000 to break and 8 character $2.5 million. Use lowercase, uppercase, numbers and symbols for the best password protection. You must also use secure virtual memory or passwords will be written to disk.</div>
<p> </p>
<div>If you don&#8217;t use FileVault nor BitLocker and your laptop is stolen then your bank accounts, your email, your passwords and you are compromised.</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=62&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/10/01/filevault-is-secure-if-you-keep-the-door-locked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://media.arstechnica.com/journals/apple.media/filevault_icon.png" medium="image">
			<media:title type="html">FileVault</media:title>
		</media:content>
	</item>
		<item>
		<title>E-Commerce Presentation at RailsConf Europe</title>
		<link>http://spongetech.wordpress.com/2008/09/04/e-commerce-presentation-at-railsconf-europe/</link>
		<comments>http://spongetech.wordpress.com/2008/09/04/e-commerce-presentation-at-railsconf-europe/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 09:08:46 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=56</guid>
		<description><![CDATA[
I&#8217;m in Berlin right now getting ready to give a presentation on E-Commerce. I&#8217;ll be comparing a few credit card payment solutions for rails. Europe has stricter banking rules than in the U.S but I&#8217;m hoping I can help some people out.
I created an example site, Rails Vendor, to demonstrate payment options and show some [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=56&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.railsconfeurope.com"><img alt="" src="http://assets.en.oreilly.com/1/event/13/railseurope2008_spk_336x280.gif" class="aligncenter" width="336" height="280" /></a></p>
<p>I&#8217;m in Berlin right now getting ready to give a presentation on E-Commerce. I&#8217;ll be comparing a few credit card payment solutions for rails. Europe has stricter banking rules than in the U.S but I&#8217;m hoping I can help some people out.</p>
<p>I created an example site, <a href="http://railsvendor.com">Rails Vendor</a>, to demonstrate payment options and show some code. You can also see an example of one of our new <a href="http://spongecell.com">Rich Media Ads</a> picturing DHH himself.<br />
<a href="http://railsvendor.com"><img src="http://spongetech.files.wordpress.com/2008/09/dhh3.png?w=168&#038;h=610" alt="" width="168" height="610" class="aligncenter size-full wp-image-60" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spongetech.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spongetech.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=56&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/09/04/e-commerce-presentation-at-railsconf-europe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://assets.en.oreilly.com/1/event/13/railseurope2008_spk_336x280.gif" medium="image" />

		<media:content url="http://spongetech.files.wordpress.com/2008/09/dhh3.png" medium="image" />
	</item>
		<item>
		<title>Fastest CDN to Sacramento</title>
		<link>http://spongetech.wordpress.com/2008/08/27/fastest-cdn-to-sacramento/</link>
		<comments>http://spongetech.wordpress.com/2008/08/27/fastest-cdn-to-sacramento/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 21:44:11 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=48</guid>
		<description><![CDATA[I tested content delivery to a server we have at Engine Yard in Sacramento.

We are testing CDN&#8217;s for our flash delivery so I tested with a 160kb swf file. Media Temple doesn&#8217;t claim to be a CDN but I tested it anyways on it&#8217;s budget grid server. Panther and Edgecast are CDNs. I did all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=48&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I tested content delivery to a server we have at Engine Yard in Sacramento.</p>
<p><a href="http://spongetech.files.wordpress.com/2008/08/cdn_graph.png"><img class="alignnone size-full wp-image-49" src="http://spongetech.files.wordpress.com/2008/08/cdn_graph.png?w=450&#038;h=306" alt="" width="450" height="306" /></a></p>
<p>We are testing CDN&#8217;s for our flash delivery so I tested with a 160kb swf file. Media Temple doesn&#8217;t claim to be a CDN but I tested it anyways on it&#8217;s budget grid server. Panther and Edgecast are CDNs. I did all testing using apache bench from a slice in Engine Yard cluster EY01. The Intranet test was with content from a slice in their cluster EY02. This was a baseline since the servers are probably only meters from each other. S3&#8217;s latency is a big reason we&#8217;re looking for a good CDN.</p>
<p>.mac was the surprise contender and they only cost $100 a year. Perhaps we were just geographically lucky. They limit to 100gb a month and we hope to be serving more flash than that so .mac is not a realistic solution. Their consumer agreement is not sufficient as well but in reality neither is S3&#8217;s.</p>
<p>I tested 10,000 requests with a concurrency of 10. I repeated the ~4 minute test to make sure numbers were settled. The huge bias was location and perhaps time of day. Tests were done at noon on 8/27/08.</p>
<p>Conclusion: the two CDNs performed better than the non-CDN delivery. This data isn&#8217;t fair nor significant enough to rule one CDN better than the other.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spongetech.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spongetech.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=48&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/08/27/fastest-cdn-to-sacramento/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://spongetech.files.wordpress.com/2008/08/cdn_graph.png" medium="image" />
	</item>
		<item>
		<title>Embedded Calendars and Github Trolling</title>
		<link>http://spongetech.wordpress.com/2008/06/07/embedded-calendars-and-github-trolling/</link>
		<comments>http://spongetech.wordpress.com/2008/06/07/embedded-calendars-and-github-trolling/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 02:35:21 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=47</guid>
		<description><![CDATA[I was trolling github to see what kind of calendar projects were out there and found calendar_helper. It looks decent. I would probably use it if I needed to display a simple calendar.

For displaying a rich calendar in html the best solution is of course to use Spongecell&#8217;s Monthly Online Calendar:

These calendars can easily be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=47&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was trolling <a href="http://github.com" target="_blank">github</a> to see what kind of calendar projects were out there and found <a href="http://github.com/redinger/calendar_helper/tree/master" target="_blank">calendar_helper</a>. It looks decent. I would probably use it if I needed to display a simple calendar.</p>
<p><img class="alignnone size-full wp-image-45" src="http://spongetech.files.wordpress.com/2008/06/calendar_helper.png?w=362&#038;h=254" alt="" width="362" height="254" /></p>
<p>For displaying a rich calendar in html the best solution is of course to use <a href="http://spongecell.com/online_calendar_for_website" target="_blank">Spongecell&#8217;s Monthly Online Calendar</a>:</p>
<p><a href="http://spongecell.com/online_calendar_for_website"><img class="alignnone size-full wp-image-46" src="http://spongetech.files.wordpress.com/2008/06/boxed_cal.png?w=450&#038;h=437" alt="" width="450" height="437" /></a></p>
<p>These calendars can easily be created at <a href="http://spongecell.com">Spongecell</a> by creating some events and then getting code for your site. For a dynamic calendar built into your web application these calendars can be modified and created using the <a href="http://spongecell.com/api/help" target="_blank">Spongecell API</a>. A good <a href="http://github.com/ckhsponge/spongewolf/tree/master" target="_blank">open source</a> example of this can be found at <a href="http://spongewolf.com">Spongewolf</a>.</p>
<p>Github is my new favorite social network. My friends are defined by people watching my projects and the projects I am watching. There&#8217;s a lot less trashiness and nudity than on other social networks I try to avoid such as MySpace and LinkedIn.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spongetech.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spongetech.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=47&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/06/07/embedded-calendars-and-github-trolling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>

		<media:content url="http://spongetech.files.wordpress.com/2008/06/calendar_helper.png" medium="image" />

		<media:content url="http://spongetech.files.wordpress.com/2008/06/boxed_cal.png" medium="image" />
	</item>
		<item>
		<title>installing git is not fun but it is more fun than a fork in your eye</title>
		<link>http://spongetech.wordpress.com/2008/04/29/installing-git-is-not-fun-but-it-is-more-fun-than-a-fork-in-your-eye/</link>
		<comments>http://spongetech.wordpress.com/2008/04/29/installing-git-is-not-fun-but-it-is-more-fun-than-a-fork-in-your-eye/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 00:56:45 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=43</guid>
		<description><![CDATA[Here is more or less what I did to install git on OS X and on Media Temple. Newer versions of the below files will exist by the time you are reading this i.e. now.
I got the below mostly from http://dysinger.net/2007/12/30/installing-git-on-mac-os-x-105-leopard/
# GPG (if you didn&#8217;t have it already)
curl ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.7.tar.bz2 &#124; tar xj
cd gnupg-1.4.7
./configure
make
sudo make install
cd [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=43&subd=spongetech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is more or less what I did to install git on OS X and on Media Temple. Newer versions of the below files will exist by the time you are reading this i.e. now.</p>
<p>I got the below mostly from <a title="http://dysinger.net/2007/12/30/installing-git-on-mac-os-x-105-leopard/" href="http://dysinger.net/2007/12/30/installing-git-on-mac-os-x-105-leopard/">http://dysinger.net/2007/12/30/installing-git-on-mac-os-x-105-leopard/</a></p>
<p># GPG (if you didn&#8217;t have it already)<br />
curl ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.7.tar.bz2 | tar xj<br />
cd gnupg-1.4.7<br />
./configure<br />
make<br />
sudo make install<br />
cd ..</p>
<p># GetText<br />
curl http://mirrors.usc.edu/pub/gnu/gettext/gettext-0.17.tar.gz | tar xz<br />
cd gettext-0.17<br />
./configure<br />
make<br />
sudo make install<br />
cd ..</p>
<p># GIT<br />
curl http://kernel.org/pub/software/scm/git/git-1.5.4.4.tar.bz2 | tar xj<br />
cd git-1.5.4.4<br />
./configure<br />
make<br />
sudo make install<br />
cd ..<br />
curl  http://www.kernel.org/pub/software/scm/git/git-manpages-1.5.4.4.tar.bz2 |<br />
sudo tar xj -C /usr/local/share/man</p>
<p># Setup GIT<br />
git config &#8211;global user.name &#8216;My Name&#8217;<br />
git config &#8211;global user.email me@mydomain.net</p>
<p>#can you see two dashes before &#8220;global&#8221;?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/spongetech.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/spongetech.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&blog=535142&post=43&subd=spongetech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2008/04/29/installing-git-is-not-fun-but-it-is-more-fun-than-a-fork-in-your-eye/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1c1f47c6a3eacd4d62ab5e8e23e301b6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ckhsponge</media:title>
		</media:content>
	</item>
	</channel>
</rss>