<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" 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>Tue, 13 Dec 2011 22:58:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='spongetech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Spongecell Tech Blog</title>
		<link>http://spongetech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://spongetech.wordpress.com/osd.xml" title="Spongecell Tech Blog" />
	<atom:link rel='hub' href='http://spongetech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>CDN Traffic Spikes and Hooliganary</title>
		<link>http://spongetech.wordpress.com/2011/11/30/cdn-traffic-spikes-and-hooliganary/</link>
		<comments>http://spongetech.wordpress.com/2011/11/30/cdn-traffic-spikes-and-hooliganary/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 00:14:25 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=115</guid>
		<description><![CDATA[Earlier this year our content delivery network Limelight sent us a huge bill saying it was due to traffic spikes. In our business we don&#8217;t have a lot of control on traffic. If a partner wants to run our ads they do. Even if its gigabytes per second. I did some research and the competing CDNs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=115&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Earlier this year our content delivery network <a href="http:/limelight.com">Limelight</a> sent us a huge bill saying it was due to traffic spikes. In our business we don&#8217;t have a lot of control on traffic. If a partner wants to run our ads they do. Even if its gigabytes per second. I did some research and the competing CDNs I checked did not have spike clauses. They charge by the byte and want us to use as many bytes as possible.</p>
<p>After a lot of back and forth and headaches Limelight finally let us out of that bill. They also took the spike clause out of our contract. Thanks, Limelight!</p>
<p>While we are on the topic of CDNs, <a href="http://www.carpathia.com/">Carpathia</a> recently showed up at our New York office. They told our office manager they had a meeting scheduled with our VP of Engineering and yours truly. That was strange because the two of us work out of San Francisco! Apparently they had added meeting requests to our calendars via email.</p>
<p>They promptly left the office and then sent us new meeting requests. I guess we need to decline the requests if we don&#8217;t want them to show up. The offenders from Carpathia are Dave Stinson and Jon Greaves.</p>
<p><a href="http://spongetech.files.wordpress.com/2011/11/dr-evil2.jpg"><img class="alignnone size-full wp-image-116" title="dr-evil2" src="http://spongetech.files.wordpress.com/2011/11/dr-evil2.jpg?w=450" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spongetech.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=115&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2011/11/30/cdn-traffic-spikes-and-hooliganary/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/2011/11/dr-evil2.jpg" medium="image">
			<media:title type="html">dr-evil2</media:title>
		</media:content>
	</item>
		<item>
		<title>Long Noodle: Heroku Long Polling with Node.js, jQuery, Rails, Cross Site</title>
		<link>http://spongetech.wordpress.com/2011/06/24/long-noodle-heroku-long-polling-with-node-js-jquery-rails-cross-site/</link>
		<comments>http://spongetech.wordpress.com/2011/06/24/long-noodle-heroku-long-polling-with-node-js-jquery-rails-cross-site/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 08:09:50 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=108</guid>
		<description><![CDATA[I like using servers that manage all the layers except the one I care about: the application. I was using Rails grid servers at Media Temple for awhile but they shut those down. More recently I&#8217;ve been using Heroku. I was thinking about ways to get data into and out of Spongecell&#8217;s dynamic ads. A few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=108&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I like using servers that manage all the layers except the one I care about: the application. I was using Rails grid servers at Media Temple for awhile but they shut those down. More recently I&#8217;ve been using <a href="http://heroku.com" target="_blank">Heroku</a>.</p>
<p>I was thinking about ways to get data into and out of Spongecell&#8217;s <a title="dynamic ads" href="http://spongecell.com" target="_blank">dynamic ads</a>. A few dozen rails unicorns would quickly be overloaded. A CDN is great for pushing cached content to millions of viewers but what if I wanted live data or live interactions? One way to get instant data is using long polling which is an http request that is left open until data arrives.</p>
<p>Heroku&#8217;s new Cedar stack is perfect for this! You can even use their old Rails stack for standard web requests and then use Cedar for lighter connections.</p>
<p>Try out <a href="http://long-noodle.herokuapp.com/test.html" target="_blank">Long Noodle for Long Polling</a> and fork it on <a href="https://github.com/ckhsponge/long-noodle" target="_blank">github</a>.</p>
<p>Long Noodle GET requests subscribe to a key and POST requests broadcast for a key using token authentication. The key is simply the path of the url just like S3.</p>
<p><a href="http://spongetech.files.wordpress.com/2011/06/long-noodle.png"><img class="alignnone size-full wp-image-110" title="long-noodle" src="http://spongetech.files.wordpress.com/2011/06/long-noodle.png?w=450&#038;h=337" alt="" width="450" height="337" /></a></p>
<p>In the setup above imagine the web server is hosting a panel conversation between 10 famous astronomers. Anyone can listen in. The web server displays the conversation when you first visit the site. To get updates a long poll is opened to the Long Noodle server. The astronomers are authenticated and post their wise words to the web server which in turn passes to Long Noodle to trigger client updates.</p>
<p>Long Noodle is very lightweight. Messages are not persisted and clients have no guarantee they receive every message, just the most recent message. This is similar to Apple Push Notifications.</p>
<p>As a bonus, Long Noodle works cross site using javascript callbacks so you can set it up anywhere.</p>
<p>UPDATE: I did some quick load testing of Long Noodle on a free server at Heroku. For returning data immediately Node was able to pump out 1300 requests/second! For long polling errors started to occur once passing about 500 concurrent requests.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spongetech.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=108&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2011/06/24/long-noodle-heroku-long-polling-with-node-js-jquery-rails-cross-site/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/2011/06/long-noodle.png" medium="image">
			<media:title type="html">long-noodle</media:title>
		</media:content>
	</item>
		<item>
		<title>Use Your Existing Newrelic Key on Heroku</title>
		<link>http://spongetech.wordpress.com/2011/06/09/use-your-existing-newrelic-key-on-heroku/</link>
		<comments>http://spongetech.wordpress.com/2011/06/09/use-your-existing-newrelic-key-on-heroku/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 05:03:44 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=103</guid>
		<description><![CDATA[We had an existing Newrelic account and wanted to track some other apps on Heroku. I thought getting our Newrelic key into the Heroku apps would be the easiest solution. Here&#8217;s what I did. Add this to Gemfile: gem &#8216;newrelic_rpm&#8217; &#160; Add a Heroku config: heroku config:add NEWRELIC_LICENSE_KEY =YOUR_KEY &#160; Add this to environment.rb or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=103&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We had an existing Newrelic account and wanted to track some other apps on Heroku. I thought getting our Newrelic key into the Heroku apps would be the easiest solution. Here&#8217;s what I did.</p>
<p>Add this to Gemfile:</p>
<blockquote><p>gem &#8216;newrelic_rpm&#8217;</p></blockquote>
<p>&nbsp;</p>
<p>Add a Heroku config:</p>
<blockquote><p>heroku config:add NEWRELIC_LICENSE_KEY<br />
=YOUR_KEY</p></blockquote>
<p>&nbsp;</p>
<p>Add this to environment.rb or a lib somewhere:</p>
<blockquote><p>if ENV['NEWRELIC_LICENSE_KEY']</p>
<p>NewRelic::Control.instance['license_key'] = ENV['NEWRELIC_LICENSE_KEY']</p>
<p>NewRelic::Agent.agent.shutdown</p>
<p>NewRelic::Control.instance.start_agent</p>
<p>end</p></blockquote>
<p>&nbsp;</p>
<p>I have a feeling I didn&#8217;t do this the easiest way but it works. Or that I&#8217;m breaking some terms of service.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spongetech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=103&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2011/06/09/use-your-existing-newrelic-key-on-heroku/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>
	</item>
		<item>
		<title>Resurrection</title>
		<link>http://spongetech.wordpress.com/2011/06/07/resurrection/</link>
		<comments>http://spongetech.wordpress.com/2011/06/07/resurrection/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 03:51:30 +0000</pubDate>
		<dc:creator>Chris Hobbs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spongetech.wordpress.com/?p=101</guid>
		<description><![CDATA[This blog has been neglected. Let&#8217;s resurrect it! Did you see this recent post about a hot display advertising company? There&#8217;s some good quotes in there.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=101&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This blog has been neglected. Let&#8217;s resurrect it!</p>
<p>Did you see this recent post about a <a title="Spongecell Rules Advertising" href="http://techcrunch.com/2011/06/05/eric-schmidt-and-others-invest-in-rich-media-display-ad-startup-spongecell/" target="_blank">hot display advertising company</a>? There&#8217;s some good quotes in there.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/spongetech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/spongetech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/spongetech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/spongetech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/spongetech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/spongetech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/spongetech.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=101&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2011/06/07/resurrection/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>
	</item>
		<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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=85&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<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>
<br />  <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/gofacebook/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/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&amp;blog=535142&amp;post=85&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://spongetech.wordpress.com/2009/02/27/detecting-browser-time-zone-with-rails/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>
		<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[performance]]></category>
		<category><![CDATA[Technology]]></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&amp;blog=535142&amp;post=74&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<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=450" alt="Obama Day was caching day!"   /><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>
<br />  <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/gofacebook/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/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&amp;blog=535142&amp;post=74&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=72&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<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>
<br />  <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/gofacebook/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/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&amp;blog=535142&amp;post=72&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></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&amp;blog=535142&amp;post=68&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<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=450" alt="znm"   /></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>
<br />  <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/gofacebook/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/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&amp;blog=535142&amp;post=68&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></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&amp;blog=535142&amp;post=65&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<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>
<br />  <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/gofacebook/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/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&amp;blog=535142&amp;post=65&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=spongetech.wordpress.com&amp;blog=535142&amp;post=62&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<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>
<br />  <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/gofacebook/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/spongetech.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/spongetech.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/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&amp;blog=535142&amp;post=62&amp;subd=spongetech&amp;ref=&amp;feed=1" width="1" height="1" />]]></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>
	</channel>
</rss>
