<?xml version="1.0" encoding="iso-8859-1"?>
<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"
	>

<channel>
	<title>This is not a mundane detail, Michael.</title>
	<atom:link href="http://blog.mikejestes.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mikejestes.com</link>
	<description></description>
	<pubDate>Wed, 02 Jul 2008 08:46:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.2-alpha</generator>
	<language>en</language>
			<item>
		<title>Trying to cool down the hallway</title>
		<link>http://blog.mikejestes.com/2008/07/02/trying-to-cool-down-the-hallway/</link>
		<comments>http://blog.mikejestes.com/2008/07/02/trying-to-cool-down-the-hallway/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 08:12:35 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/?p=146</guid>
		<description><![CDATA[Summer finally arrived in Bellingham. Yay! Now it&#8217;s too hot. And the hallway in our apartment is approximately 20 degrees warmer than outside or in our unit. The hallway is probably so damn hot because almost zero air moves through it during the course of a day. The 2 stairwell doors are always closed and [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Summer finally arrived in Bellingham. Yay! Now it&#8217;s too hot. And the hallway in our apartment is approximately 20 degrees warmer than outside or in our unit. The hallway is probably so damn hot because almost zero air moves through it during the course of a day. The 2 stairwell doors are always closed and the elevator doesn&#8217;t let in much air when it opens. At the end of the hallway is a window that lets in sunlight and the door to the &#8220;community deck.&#8221;</p>
<p style="text-align: left;">I had an idea this morning to prop the deck door open to let air in during the day. I figured it shouldn&#8217;t bother anyone and the door doesn&#8217;t lock so it&#8217;s not a security issue. I propped it open this morning with an empty plastic bottle and when I left for work 30 mins later it was gone. Dun dun dun&#8230;</p>
<p style="text-align: left;">I never see anyone in my hallway, or on the deck. I found it very weird that someone took the bottle out ruining my cooling experiment. I tried again with an empty milk jug this evening at about 9pm and it was gone again at 10:30. WTF. I think I will keep trying until our recycling bin is empty. I really wanna know who is closing the door (and indirectly taking out my recycling). It&#8217;s impossible to not notice the obsene heat in the hallway, so wouldn&#8217;t most people think it&#8217;s a great idea to prop the door open?</p>
<p style="text-align: left;">More as this story develops.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/07/02/trying-to-cool-down-the-hallway/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Can&#8217;t explain why I love these sites</title>
		<link>http://blog.mikejestes.com/2008/06/12/cant-explain-why-i-love-these-sites/</link>
		<comments>http://blog.mikejestes.com/2008/06/12/cant-explain-why-i-love-these-sites/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 21:13:14 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[nerdy]]></category>

		<category><![CDATA[politics]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/?p=145</guid>
		<description><![CDATA[http://www.isobamapresidentyet.com/ or http://www.isobamapresident.com/

Previously.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.isobamapresidentyet.com/">http://www.isobamapresidentyet.com/</a> or <a href="http://www.isobamapresident.com/">http://www.isobamapresident.com/<br />
</a></p>
<p><a href="http://blog.mikejestes.com/2007/12/03/isnt-the-internet-great/">Previously</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/06/12/cant-explain-why-i-love-these-sites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recent Happenings</title>
		<link>http://blog.mikejestes.com/2008/06/08/recent-happenings/</link>
		<comments>http://blog.mikejestes.com/2008/06/08/recent-happenings/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 01:21:50 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/?p=144</guid>
		<description><![CDATA[
My Dad retired from 30 years as a Federal Employee
More retirement photos.
We went camping for Kelly&#8217;s bachelor party
More bachelor party photos.
Kelly and Katie got married
More wedding photos.

]]></description>
			<content:encoded><![CDATA[<div style="text-align:center">
<strong>My Dad retired from 30 years as a Federal Employee</strong><br />
<a href="http://www.flickr.com/photos/mikejestes/2562340303/" title="Dad's retirement by mikejestes, on Flickr"><img src="http://farm4.static.flickr.com/3069/2562340303_6596f0f9ab.jpg" width="500" height="375" alt="Dad's retirement" /></a><br /><a href="http://www.flickr.com/photos/mikejestes/tags/retirement/">More retirement photos</a>.</p>
<p><strong>We went camping for Kelly&#8217;s bachelor party</strong><br />
<a href="http://www.flickr.com/photos/mikejestes/2563181598/" title="The Setup by mikejestes, on Flickr"><img src="http://farm4.static.flickr.com/3101/2563181598_bec717a036.jpg" width="500" height="375" alt="The Setup" /></a><br /><a href="http://www.flickr.com/photos/mikejestes/tags/bachelor/">More bachelor party photos</a>.</p>
<p><strong>Kelly and Katie got married</strong><br />
<a href="http://www.flickr.com/photos/mikejestes/2563188014/" title="Kelly and Katie by mikejestes, on Flickr"><img src="http://farm4.static.flickr.com/3052/2563188014_31d345ff0c.jpg" width="375" height="500" alt="Kelly and Katie" /></a><br /><a href="http://www.flickr.com/photos/mikejestes/tags/wedding/">More wedding photos</a>.
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/06/08/recent-happenings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash for mac is bad for your HTTP_HOST</title>
		<link>http://blog.mikejestes.com/2008/04/18/flash-for-mac-is-bad-for-your-http_host/</link>
		<comments>http://blog.mikejestes.com/2008/04/18/flash-for-mac-is-bad-for-your-http_host/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 19:05:02 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/?p=143</guid>
		<description><![CDATA[I&#8217;ve been testing the super awesome swfupload code for some projects at work.  I have nice progress bars working and you can queue up multiple files.  It&#8217;s sweet.  I tested out my code in Opera, Firefox, Safari 3, IE 7, etc on Windows and Linux.  Working great.
Of course, an hour before an important meeting is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been testing the super awesome <a href="http://swfupload.org/">swfupload</a> code for some projects at work.  I have nice progress bars working and you can queue up multiple files.  It&#8217;s sweet.  I tested out my code in Opera, Firefox, Safari 3, IE 7, etc on Windows and Linux.  Working great.</p>
<p>Of course, an hour before an important meeting is when we discover it doesn&#8217;t work on any mac browser.  The flash debug output shows our site initialization code is just throwing a fit.  No DB access settings can be found.  Doesn&#8217;t make any sense why an HTTP request from flash on a mac would break our app.</p>
<p>Here&#8217;s the basics of how our our setup switches dev/production settings:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$_SERVER</span><span class="br0">&#91;</span><span class="st0">&#8216;HTTP_HOST&#8217;</span><span class="br0">&#93;</span> == <span class="st0">&#8216;example.mydesktop&#8217;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="co1">// LOCAL DEV SETTINGS</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span> <span class="kw1">else</span> <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$_SERVER</span><span class="br0">&#91;</span><span class="st0">&#8216;HTTP_HOST&#8217;</span><span class="br0">&#93;</span> == <span class="st0">&#8216;example.com&#8217;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="co1">// PRODUCTION SITE SETTINGS</span></div>
</li>
<li class="li2">
<div class="de2"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>It makes considerations for www. etc.  The problem in this case is that flash is adding :80 to the HTTP Host header.  Instead of </p>
<pre>
GET /path/to/file HTTP/1.1
Host: example.com
</pre>
<p>Flash for mac likes to add</p>
<pre>
GET /path/to/file HTTP/1.1
Host: example.com:80
</pre>
<p>This will cause &#8216;example.com:80&#8242; to show up in the php $_SERVER['HTTP_HOST'] variable.  You can see how this would break simple host detection.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/04/18/flash-for-mac-is-bad-for-your-http_host/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Scrabble word search</title>
		<link>http://blog.mikejestes.com/2008/04/16/scrabble-word-search/</link>
		<comments>http://blog.mikejestes.com/2008/04/16/scrabble-word-search/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 01:26:19 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/?p=142</guid>
		<description><![CDATA[While playing scrabulous online recently, I found myself needing a site to search for words that start or end which what I have in my scrabble letters.  I didn&#8217;t find anything good so I decided I would write my own. Not sure how to exactly describe the feature, I decided to call it scrabble lookup.  [...]]]></description>
			<content:encoded><![CDATA[<p>While playing scrabulous online recently, I found myself needing a site to search for words that start or end which what I have in my scrabble letters.  I didn&#8217;t find anything good so I decided I would write my own. Not sure how to exactly describe the feature, I decided to call it <a title="Scrabble word search site" href="http://scrabblelookup.com/">scrabble lookup</a>.  You search for any part of a word, and it gives you lists of all the words that start with that phrase or end with that phrase.  The lists show the length of the word and points earned, assuming no multipliers.  It takes into consideration the maximum number of letters in scrabble which means that some words you would need the blank letters to spell.</p>
<p>And yes, there are <a href="http://scrabblelookup.com/word/portion/search/q">words that end in q</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/04/16/scrabble-word-search/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Greasemonkey script for twitter</title>
		<link>http://blog.mikejestes.com/2008/04/06/greasemonkey-script-for-twitter/</link>
		<comments>http://blog.mikejestes.com/2008/04/06/greasemonkey-script-for-twitter/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 03:45:37 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/?p=141</guid>
		<description><![CDATA[A few weeks ago I was thinking about how hilarious it would be to view twitter pages with OMG: prepended to all the messages.  I&#8217;ve had a post-it note attached to my monitor ever since that has 3 words: twitter greasemonkey omg.
I present my first greasemonkey script: twitter omg.
To be honest, I&#8217;ve never actually installed [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I was thinking about how hilarious it would be to view twitter pages with <strong>OMG:</strong> prepended to all the messages.  I&#8217;ve had a post-it note attached to my monitor ever since that has 3 words: twitter greasemonkey omg.</p>
<p>I present my first greasemonkey script: <a href="http://mikejestes.com/greasemonkey/twitter.omg.user.js">twitter omg</a>.</p>
<p>To be honest, I&#8217;ve never actually installed greasemonkey before.  Writing the script was quite fun.  I&#8217;ll be looking for opportunities to make a script that is actually useful&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/04/06/greasemonkey-script-for-twitter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I love code snippet challenges</title>
		<link>http://blog.mikejestes.com/2008/03/17/i-love-code-snippet-challenges/</link>
		<comments>http://blog.mikejestes.com/2008/03/17/i-love-code-snippet-challenges/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 07:01:10 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/2008/03/17/i-love-code-snippet-challenges/</guid>
		<description><![CDATA[I stumbled upon a blog with a random code snippet challenge. Here was the problem at hand:
Given a String (x) containing only characters a-z, write a function (f) that returns a base 10 integer, which converts the String as if it were a base 26 numeral. Function f is bijective.
I wanted to give it a [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled upon a blog with a random <a href="http://blog.tmorris.net/rafs-problem/">code snippet challenge</a>. Here was the problem at hand:</p>
<blockquote><p>Given a String (x) containing only characters a-z, write a function (f) that returns a base 10 integer, which converts the String as if it were a base 26 numeral. Function f is bijective.</p></blockquote>
<p>I wanted to give it a stab in javascript not because it sounded particularly difficult but to play with different javascript code styles.  Here&#8217;s my 4 versions:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">function</span> f<span class="br0">&#40;</span>i<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!i<span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw1">return</span> <span class="nu0">0</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="kw2">var</span> parts, n, pow, val;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; parts = i.<span class="me1">split</span><span class="br0">&#40;</span><span class="st0">&#8221;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; parts.<span class="me1">reverse</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; val = <span class="nu0">0</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; pow = <span class="nu0">1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span>n = <span class="nu0">0</span>; n &lt; parts.<span class="me1">length</span>; ++n<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; val += pow * <span class="br0">&#40;</span>parts<span class="br0">&#91;</span>n<span class="br0">&#93;</span>.<span class="me1">charCodeAt</span><span class="br0">&#40;</span><span class="nu0">0</span><span class="br0">&#41;</span> - <span class="nu0">96</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; pow = pow * <span class="nu0">26</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> val;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>The first one turns the string into an array and reverses it before doing the math loop.  My next try eliminates the array and iterates backwards over the string.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">function</span> f<span class="br0">&#40;</span>i<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!i<span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw1">return</span> <span class="nu0">0</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="kw2">var</span> n, mult = <span class="nu0">1</span>, val = <span class="nu0">0</span>, offset = <span class="nu0">96</span>, base = <span class="nu0">26</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span>n = i.<span class="me1">length</span> - <span class="nu0">1</span>; n &gt; <span class="nu0">-1</span>; n&#8211;<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; val += mult * <span class="br0">&#40;</span>i.<span class="me1">charCodeAt</span><span class="br0">&#40;</span>n<span class="br0">&#41;</span> - offset<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; mult = mult * base;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> val;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Here I&#8217;m playing with chaining array functions.  While I don&#8217;t create an array, this is very similar to the first try.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">function</span> f<span class="br0">&#40;</span>i<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!i<span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw1">return</span> <span class="nu0">0</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="kw2">var</span> mult = <span class="nu0">1</span>, val = <span class="nu0">0</span>, offset = <span class="nu0">96</span>, base = <span class="nu0">26</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; i.<span class="me1">split</span><span class="br0">&#40;</span><span class="st0">&#8221;</span><span class="br0">&#41;</span>.<span class="me1">reverse</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">forEach</span><span class="br0">&#40;</span><span class="kw2">function</span><span class="br0">&#40;</span>el<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; val += mult * <span class="br0">&#40;</span>el.<span class="me1">charCodeAt</span><span class="br0">&#40;</span><span class="nu0">0</span><span class="br0">&#41;</span> - offset<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; mult = mult * base;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; <span class="br0">&#125;</span><span class="br0">&#41;</span>; &nbsp; </div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> val;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Finally, recursion instead of an iterative loop.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">function</span> f<span class="br0">&#40;</span>i, mult<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!i<span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="kw1">return</span> <span class="nu0">0</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!mult<span class="br0">&#41;</span> <span class="br0">&#123;</span> mult = <span class="nu0">1</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw2">var</span> offset = <span class="nu0">96</span>, base = <span class="nu0">26</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw1">return</span> mult * <span class="br0">&#40;</span>i.<span class="me1">charCodeAt</span><span class="br0">&#40;</span>i.<span class="me1">length</span> - <span class="nu0">1</span><span class="br0">&#41;</span> - offset<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+ f<span class="br0">&#40;</span>i.<span class="me1">substr</span><span class="br0">&#40;</span><span class="nu0">0</span>, i.<span class="me1">length</span> - <span class="nu0">1</span><span class="br0">&#41;</span>, mult * base<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Checkout the <a href="http://blog.mikejestes.com/wp-content/uploads/2008/03/function.html">test output of my functions</a>.  Works in Firefox 1.5+ or other browsers that implement more modern javascript functions.  Shouldn&#8217;t work in IE.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/03/17/i-love-code-snippet-challenges/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quick www. survey</title>
		<link>http://blog.mikejestes.com/2008/03/14/quick-www-survey/</link>
		<comments>http://blog.mikejestes.com/2008/03/14/quick-www-survey/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 00:41:32 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/2008/03/14/quick-www-survey/</guid>
		<description><![CDATA[I&#8217;ve been trying to pay attention to sites that either add a www or remove www from their domain.  For example http://www.reddit.com/ turns into http://reddit.com/ or http://cnn.com/ turns into http://www.cnn.com/.
I&#8217;ve been defaulting any new domains I setup to remove the www.  Remember,  www. is deprecated.
Here&#8217;s a quick survey of some popular sites:



adobe.com
adds www


amazon.com
adds www


bbc.co.uk
adds [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to pay attention to sites that either add a www or remove www from their domain.  For example <a href="http://www.reddit.com/">http://www.reddit.com/</a> turns into http://reddit.com/ or <a href="http://cnn.com/">http://cnn.com/</a> turns into http://www.cnn.com/.</p>
<p>I&#8217;ve been defaulting any new domains I setup to remove the www.  Remember,  <a href="http://no-www.org/">www. is deprecated</a>.</p>
<p>Here&#8217;s a quick survey of some popular sites:<br />
<center></p>
<table cellpadding="2" cellspacing="2">
<tr>
<td>adobe.com</td>
<td>adds www</td>
</tr>
<tr>
<td>amazon.com</td>
<td>adds www</td>
</tr>
<tr>
<td>bbc.co.uk</td>
<td>adds www</td>
</tr>
<tr>
<td>bloglines.com</td>
<td>adds www</td>
</tr>
<tr>
<td>blogspot.com</td>
<td>adds www</td>
</tr>
<tr>
<td>cnn.com</td>
<td>adds www</td>
</tr>
<tr>
<td>engadget.com</td>
<td>adds www</td>
</tr>
<tr>
<td>facebook.com</td>
<td>adds www</td>
</tr>
<tr>
<td>forbes.com</td>
<td>adds www</td>
</tr>
<tr>
<td>google.com</td>
<td>adds www</td>
</tr>
<tr>
<td>last.fm</td>
<td>adds www</td>
</tr>
<tr>
<td>microsoft.com</td>
<td>adds www</td>
</tr>
<tr>
<td>mozilla.com</td>
<td>adds www</td>
</tr>
<tr>
<td>msnbc.msn.com</td>
<td>adds www</td>
</tr>
<tr>
<td>myspace.com</td>
<td>adds www</td>
</tr>
<tr>
<td>politico.com</td>
<td>adds www</td>
</tr>
<tr>
<td>salon.com</td>
<td>adds www</td>
</tr>
<tr>
<td>techcrunch.com</td>
<td>adds www</td>
</tr>
<tr>
<td>w3.org</td>
<td>adds www</td>
</tr>
<tr>
<td>washingtonpost.com</td>
<td>adds www</td>
</tr>
<tr>
<td>whitehouse.gov</td>
<td>adds www</td>
</tr>
<tr>
<td>wired.com</td>
<td>adds www</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>creativecommons.org</td>
<td>removes www</td>
</tr>
<tr>
<td>digg.com</td>
<td>removes www</td>
</tr>
<tr>
<td>gizmodo.com</td>
<td>removes www</td>
</tr>
<tr>
<td>news.yahoo.com</td>
<td>removes www</td>
</tr>
<tr>
<td>reddit.com</td>
<td>removes www</td>
</tr>
<tr>
<td>slashdot.org</td>
<td>removes www</td>
</tr>
<tr>
<td>tinyurl.com</td>
<td>removes www</td>
</tr>
<tr>
<td>twitter.com</td>
<td>removes www</td>
</tr>
<tr>
<td>wordpress.org</td>
<td>removes www</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>blogger.com</td>
<td>no change</td>
</tr>
<tr>
<td>boingboing.net</td>
<td>no change</td>
</tr>
<tr>
<td>boston.com</td>
<td>no change</td>
</tr>
<tr>
<td>delicious.com</td>
<td>no change</td>
</tr>
<tr>
<td>flickr.com</td>
<td>no change</td>
</tr>
<tr>
<td>geocities.com</td>
<td>no change</td>
</tr>
<tr>
<td>gmail.com</td>
<td>no change</td>
</tr>
<tr>
<td>imdb.com</td>
<td>no change</td>
</tr>
<tr>
<td>nytimes.com</td>
<td>no change</td>
</tr>
<tr>
<td>prweb.com</td>
<td>no change</td>
</tr>
<tr>
<td>technorati.com</td>
<td>no change</td>
</tr>
<tr>
<td>youtube.com</td>
<td>no change</td>
</tr>
</table>
<p></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/03/14/quick-www-survey/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Belchin&#8217; Waffles is back!</title>
		<link>http://blog.mikejestes.com/2008/03/11/belchin-waffles-is-back/</link>
		<comments>http://blog.mikejestes.com/2008/03/11/belchin-waffles-is-back/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 02:19:49 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/2008/03/11/belchin-waffles-is-back/</guid>
		<description><![CDATA[It&#8217;s been a year or so since the domains dropped off the face of the Internet (I moved and was too lazy to put them up).  They&#8217;re back!
The Original Belchin&#8217; Waffles Zine: http://belchinwaffles.com/
Friend message board (the original twitter, lol): http://friends.belchinwaffles.com/
Douchey party pictures, etc: http://friends.belchinwaffles.com/gallery/
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a year or so since the domains dropped off the face of the Internet (I moved and was too lazy to put them up).  They&#8217;re back!</p>
<p>The Original Belchin&#8217; Waffles Zine: <a href="http://belchinwaffles.com/">http://belchinwaffles.com/</a></p>
<p>Friend message board (the original twitter, lol): <a href="http://friends.belchinwaffles.com/">http://friends.belchinwaffles.com/</a></p>
<p>Douchey party pictures, etc: <a href="http://friends.belchinwaffles.com/gallery/">http://friends.belchinwaffles.com/gallery/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/03/11/belchin-waffles-is-back/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE 8 Beta</title>
		<link>http://blog.mikejestes.com/2008/03/07/ie-8-beta/</link>
		<comments>http://blog.mikejestes.com/2008/03/07/ie-8-beta/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 23:24:02 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.mikejestes.com/2008/03/07/ie-8-beta/</guid>
		<description><![CDATA[

IE 8 beta is out.  Looks like they&#8217;re making great strides to improve their support for standards.  I love that you can install the beta with out the need to uninstall it when it breaks sites.  I&#8217;m hoping they keep the Emulate IE7 button for the final release.  Or somehow tuck it away in a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.mikejestes.com/wp-content/uploads/2008/03/ie8_1.png" title="IE 8 Features"></a></p>
<p style="text-align: center"><a href="http://blog.mikejestes.com/wp-content/uploads/2008/03/ie8_1.png" title="IE 8 Features"><img src="http://blog.mikejestes.com/wp-content/uploads/2008/03/ie8_1.png" alt="IE 8 Features" /></a></p>
<p>IE 8 beta is out.  Looks like they&#8217;re making great strides to improve their support for standards.  I love that you can install the beta with out the need to uninstall it when it breaks sites.  I&#8217;m hoping they keep the Emulate IE7 button for the final release.  Or somehow tuck it away in a menu so the option is still there.  An amazing feature for web developers would be an additional Emulate IE6 feature.  Testing sites in Internet Explorer would be a breeze if that was the case.  I haven&#8217;t played with the developer tools much, but I like how much easier they&#8217;re making JS debugging for IE.  <a href="http://blogs.msdn.com/ie/archive/2008/03/07/improved-productivity-through-internet-explorer-8-developer-tools.aspx">Here&#8217;s a post</a> from the IE Blog about the new developer tools</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikejestes.com/2008/03/07/ie-8-beta/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.777 seconds -->
<!-- Cached page served by WP-Cache -->
