<?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"
	>

<channel>
	<title>mylesgrant.com</title>
	<atom:link href="http://www.mylesgrant.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mylesgrant.com</link>
	<description></description>
	<pubDate>Sun, 27 Jul 2008 05:03:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>AJ Near Me</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/07/26/aj-near-me.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/07/26/aj-near-me.html#comments</comments>
		<pubDate>Sun, 27 Jul 2008 04:51:31 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Cool Web Stuff]]></category>

		<category><![CDATA[Grand New Ideas]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/?p=256</guid>
		<description><![CDATA[I finally made enough time to play with three things I&#8217;ve been wanting to check out: Yahoo! Fire Eagle, Google App Engine, and the Authentic Jobs API. The simple and useless result: AJ Near Me.
Let&#8217;s start with Fire Eagle. Fire Eagle is a location broker &#8212; you use one of the many available methods for [...]]]></description>
			<content:encoded><![CDATA[<p>I finally made enough time to play with three things I&#8217;ve been wanting to check out: <a href="http://fireeagle.yahoo.net/">Yahoo! Fire Eagle</a>, <a href="http://code.google.com/appengine/">Google App Engine</a>, and <a href="http://www.authenticjobs.com/api/">the Authentic Jobs API</a>. The simple and useless result: <a href="http://ajnearme.appspot.com/">AJ Near Me</a>.</p>
<p>Let&#8217;s start with Fire Eagle. Fire Eagle is a location broker &#8212; you use one of the many available methods for it to keep track of your location, and it doles that out to applications to approve. In this case, the idea is that if you&#8217;re travelling in a new city, and Fire Eagle knows that you&#8217;re there, you might be interested in what jobs are currently available there. Highly unlikely, I know. And Fire Eagle isn&#8217;t even really necessary here &#8212; the app could and should simply ask for your current location. My killer app idea that actually uses Fire Eagle properly is automatic tracking of <a href="http://caltrain.com/">Caltrain</a> trains and notification of delays via <a href="http://www.twitter.com/">Twitter</a>. I&#8217;ll <em>never</em> get that written, unfortunately.</p>
<p>Google App Engine is an interesting idea: Write your applications to use Google&#8217;s scalable infrastructure, and they&#8217;ll host it for free. Currently, it&#8217;s only available with Python &#8212; something that&#8217;s certainly not my strong suit. To make things even more potentially frustrating, it&#8217;s not vanilla Python either, so good luck using any third-party libs that use, say, urllib. Idiosyncrasies inside, I can&#8217;t pass up free scalable hosting, so I&#8217;ll probably be using it again in the future (as long as I don&#8217;t need cron *sigh*).</p>
<p>The AJ API is something I did a few months ago for <a href="http://cameronmoll.com/">Cameron</a> and the site. Functionality is pretty basic: get a list of current job listings, filtered by type, keywords, company, etc. One of the bits that I wasn&#8217;t sure about, but tried anyway was to hook up with the <a href="http://geonames.org/">geonames</a> API to parse the user-entered job location bits and turn it into a lat/lon. There&#8217;s currently no search by lat/lon (but there is a sort of search by location) so this is most of the heavy lifting that the Google App Engine app does.</p>
<p>AJ Near Me maintains a list of current open listings, which it periodically fetches using the AJ API. When you visit the site after granting it permission to read your Fire Eagle location, the site fetches your current location from Fire Eagle. If your location is specific enough, the site searches the local database for all jobs within 50 miles of your location and displays them. Except that&#8217;s the more difficult part.</p>
<p>Typically, you would create your rough 50 mile bounding box and query the database for records within those four points. Except that in Bigtable, you can&#8217;t do inequality queries on more than one field at once (I&#8217;m serious). So instead, you store your locations as <a href="http://labs.metacarta.com/blog/27.entry/geographic-queries-on-google-app-engine/">Geohashes/Geoindexes</a>, convert your lower-left and upper-right bbox points to geoindexes and query the datastore like so:</p>
<blockquote><p>query = Job.gql(&#8221;WHERE location_hash &lt; :right AND location_hash &gt; :left&#8221;, left=lower_left_index, right=upper_right_index)</p></blockquote>
<p>This gets you close, and then you can use <a href="http://exogen.case.edu/projects/geopy/">geopy</a>&#8217;s great-circle distance calculation function to whittle it down to records actually within 50 miles of your location.</p>
<p>Like I said, a useless idea, but learning about geohashes and bounding box calculations made it worth it. Fire Eagle is a fantastic product and I have high hopes for it &#8212; and about a thousand ideas. Google App Engine can be frustrating, but totally perfect for small projects. I&#8217;ll be using it again for sure. And if they ever release a PHP version of it, I&#8217;ll put <a href="http://www.blogskins.com/">BlogSkins</a> on it in a heartbeat.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/07/26/aj-near-me.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Pixar&#8217;s movies in order of Metacritic score</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/05/11/pixars-movies-in-order-of-metacritic-score.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/05/11/pixars-movies-in-order-of-metacritic-score.html#comments</comments>
		<pubDate>Mon, 12 May 2008 05:02:29 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Film]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/?p=254</guid>
		<description><![CDATA[Erin and I were talking tonight about how no one ever talks about Pixar&#8217;s A Bug&#8217;s Life. It wasn&#8217;t a bad movie, and certainly not the worst movie Pixar&#8217;s ever made, but it&#8217;s simply never mentioned as part of Pixar&#8217;s catalog.
So I decided to look up the scores of all of Pixar&#8217;s movies on Metacritic:

Ratatouille [...]]]></description>
			<content:encoded><![CDATA[<p>Erin and I were talking tonight about how no one ever talks about <a href="http://www.pixar.com/">Pixar</a>&#8217;s <em>A Bug&#8217;s Life</em>. It wasn&#8217;t a bad movie, and certainly not the worst movie Pixar&#8217;s ever made, but it&#8217;s simply never mentioned as part of Pixar&#8217;s catalog.</p>
<p>So I decided to look up the scores of all of Pixar&#8217;s movies on <a href="http://www.metacritic.com/">Metacritic</a>:</p>
<ol>
<li><a href="http://www.metacritic.com/film/titles/ratatouille">Ratatouille</a> - 96</li>
<li><a href="http://www.metacritic.com/video/titles/toystory">Toy Story</a> - 91</li>
<li><a href="http://www.metacritic.com/film/titles/incredibles">The Incredibles</a> - 90</li>
<li><a href="http://www.metacritic.com/video/titles/findingnemo">Finding Nemo</a> - 89</li>
<li><a href="http://www.metacritic.com/video/titles/toystory2">Toy Story 2</a> - 87</li>
<li><a href="http://www.metacritic.com/video/titles/monstersinc">Monsters, Inc</a> - 78</li>
<li><a href="http://www.metacritic.com/video/titles/bugslife">A Bug&#8217;s Life</a> - 77</li>
<li><a href="http://www.metacritic.com/film/titles/cars">Cars</a> - 73</li>
</ol>
<p>Which is funny, because my order is:</p>
<ol>
<li>Toy Story</li>
<li>The Incredibles</li>
<li>Monsters, Inc</li>
<li>Finding Nemo</li>
<li>A Bug&#8217;s Life</li>
<li>Toy Story 2</li>
<li>Ratatouille</li>
<li>Cars</li>
</ol>
<p>Which doesn&#8217;t put A Bug&#8217;s Life in a very different position, but there&#8217;s a big gap between 6 and 7 in my list. I really didn&#8217;t care much for Ratatouille (although Erin did), and I really, <em>really</em> didn&#8217;t care for Cars.</p>
<p>I have high hopes for <a href="http://www.imdb.com/title/tt0910970/">WALL-E</a> though. Perhaps it can take the number 2 or 3 spot?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/05/11/pixars-movies-in-order-of-metacritic-score.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Writing a new blog post</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/05/11/writing-a-new-blog-post.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/05/11/writing-a-new-blog-post.html#comments</comments>
		<pubDate>Mon, 12 May 2008 04:30:17 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[mylesgrant.com]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/?p=251</guid>
		<description><![CDATA[
Think of idea for new post
Visit Wordpress admin, realize I need to upgrade
Download new version, upload it to my server, upgrade software, check everything still works&#8230;
Forget what I was going to post

]]></description>
			<content:encoded><![CDATA[<ol>
<li>Think of idea for new post</li>
<li>Visit <a href="http://www.wordpress.org/">Wordpress</a> admin, realize I need to upgrade</li>
<li>Download new version, upload it to my server, upgrade software, check everything still works&#8230;</li>
<li>Forget what I was going to post</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/05/11/writing-a-new-blog-post.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m riding to end AIDS</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/03/02/im-riding-to-end-aids.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/03/02/im-riding-to-end-aids.html#comments</comments>
		<pubDate>Mon, 03 Mar 2008 05:45:51 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Cycling]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/braindump/older/2008/03/02/im-riding-to-end-aids.html</guid>
		<description><![CDATA[
Last year my former neighbor and good friend Brad rode the 2007 AIDS/Lifecycle ride, a 545-mile, 7-day bike ride from San Francisco to LA. As someone who was just getting into cycling at the time, Brad&#8217;s participation and passionate stories about his experience on the ride inspired me to join him on the ride this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mylesdgrant/2306914870/" title="Canada Road by Myles!, on Flickr"><img src="http://farm3.static.flickr.com/2136/2306914870_83f5111f8f.jpg" alt="Canada Road" height="375" width="500" /></a></p>
<p>Last year my former neighbor and good friend Brad rode the 2007 <a href="http://www.aidslifecycle.org/">AIDS/Lifecycle ride</a>, a 545-mile, 7-day bike ride from San Francisco to LA. As someone who was just getting into cycling at the time, Brad&#8217;s participation and passionate stories about his experience on the ride inspired me to join him on the ride this year in June.</p>
<p>So I&#8217;ve been training. I ride to and from work every day (with a train ride in between), and on weekends I&#8217;ve been gradually doing longer and longer rides. I&#8217;m very lucky to be living on the San Francisco bay peninsula, where there are many, many rides to choose from. So far, training is going well, and I think I&#8217;m going to be ready in time.</p>
<p>I have two reasons to do this ride this year:</p>
<ol>
<li>To help fight HIV/AIDS,</li>
<li>To participate in a form of exercise that I actually enjoy.</li>
</ol>
<p>#2 is obvious (riding around here is so much better than running on a treadmill). As for #1, I tend not to think about AIDS all that much. I certainly haven&#8217;t been personally affected by it yet, or know anyone who has. But to hear some of the stories from the AIDS/Lifecycle folks or from Brad, I feel motivated to try and do some small part to end this terrible disease.</p>
<p>I&#8217;ll obviously be riding a long distance, and to help keep me motivated during that time, I&#8217;m asking that you <a href="http://www.aidslifecycle.org/6327">please consider donating</a> to support the HIV/AIDS-related services of the L.A. Gay &amp; Lesbian Center. Please give them as much as you can, and let&#8217;s put an end to HIV/AIDS.</p>
<p><a href="http://www.aidslifecycle.org/6327">Thank you. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/03/02/im-riding-to-end-aids.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hello Dan</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/02/18/hello-dan.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/02/18/hello-dan.html#comments</comments>
		<pubDate>Tue, 19 Feb 2008 01:07:59 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Cool Web Stuff]]></category>

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

		<guid isPermaLink="false">http://www.mylesgrant.com/braindump/older/2008/02/18/hello-dan.html</guid>
		<description><![CDATA[I&#8217;m not sure who first directed me to Lost Garden (probably Cal), but it&#8217;s been one of my favorite reads ever since. The game design theory posts are interesting, but the prototyping posts are the most inspiring.
After completely skipping over the CuteGod challenge, I&#8217;ve taken on a couple of the others. I didn&#8217;t get very [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure who first directed me to <a href="http://www.lostgarden.com/">Lost Garden</a> (probably <a href="http://iamcal.com/">Cal</a>), but it&#8217;s been one of my favorite reads ever since. The game design theory posts are interesting, but <a href="http://lostgarden.com/labels/prototyping.html">the prototyping posts</a> are the most inspiring.</p>
<p>After completely skipping over the <a href="http://lostgarden.com/2007/05/cutegod-prototyping-challenge.html">CuteGod challenge</a>, I&#8217;ve taken on a couple of the others. I didn&#8217;t get very far with <a href="http://lostgarden.com/2007/06/tree-story.html">Tree Story</a>, as you can see:</p>
<p><center><a href="http://www.mylesgrant.com/wp/wp-content/uploads/2008/02/treestory.png" title="TreeStory"><img src="http://www.mylesgrant.com/wp/wp-content/uploads/2008/02/treestory.thumbnail.png" alt="TreeStory" /></a></center></p>
<p>But I did get <a href="http://www.mylesgrant.com/wp/wp-content/uploads/2008/02/treestory-jump.png" title="TreeStory Jumping">jumping/backflipping done</a> before I lost interest.</p>
<p>Last week Danc posted a new prototyping challenge: <a href="http://lostgarden.com/2008/02/play-with-your-peas-game-prototyping.html">Play With Your Peas</a>. After a few days of playing with it on the train, I have most of the editor done:</p>
<p><center><a href="http://www.mylesgrant.com/wp/wp-content/uploads/2008/02/playwithyourpeas.png" title="PlayWithYourPeas"><img src="http://www.mylesgrant.com/wp/wp-content/uploads/2008/02/playwithyourpeas.thumbnail.png" alt="PlayWithYourPeas" /></a></center></p>
<p>The hardest parts are still remaining: AI, pathfinding, physics, balance. And I&#8217;ll probably lose interest well before I get that far. But that&#8217;s not the point really &#8212; just getting this far has been a lot of fun, and a nice break from what I&#8217;m normally working on. Who knows? Maybe in a couple weeks, I&#8217;ll post a &#8220;finished&#8221; product.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/02/18/hello-dan.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Back (really)</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/02/09/back-really.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/02/09/back-really.html#comments</comments>
		<pubDate>Sat, 09 Feb 2008 23:29:09 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[mylesgrant.com]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/braindump/older/2008/02/09/back-really.html</guid>
		<description><![CDATA[It was about 6 months ago that my blog got hacked. Some Movable Type vulnerability or something resulted in a call from my hosting provider, telling me they had to take my site down. Rather than take the steps to fix it, I left it down, and moved on to other things.
In the time since, [...]]]></description>
			<content:encoded><![CDATA[<p>It was about 6 months ago that my blog got hacked. Some <a href="http://www.movabletype.org/">Movable Type</a> vulnerability or something resulted in a call from my hosting provider, telling me they had to take my site down. Rather than take the steps to fix it, I left it down, and moved on to other things.</p>
<p>In the time since, I&#8217;ve thought about posting one thing or the other to my blog, but the urge was never enough to get me to do anything about it. In the last month or so, however, as the urge grew, I started to take steps to bring it back. I brought the old blog back and updated Movable Type to hopefully block whatever security hole screwed me the first time. But I&#8217;m tired of MT and tired of the constant stream of &#8220;New comment posted&#8221; emails that are just spam bot after spam bot.</p>
<p>So I moved to <a href="http://www.wordpress.org/">Wordpress</a>. Why Wordpress? It&#8217;s lightweight, more hackable (PHP), <a href="http://ma.tt/">Matt Mullenweg</a> seems like a nice guy (we played a strategically horrible game of <a href="http://en.wikipedia.org/wiki/Mafia_(game)">Werewolf</a> together at Etech, where we were the two werewolves), and it powers <a href="http://blog.flickr.net/">the Flickr Blog</a>. Plus, <a href="http://powazek.com/">Derek</a> had recently unveiled <a href="http://powazek.com/depo-skinny">a nice clean Wordpress theme</a> that I liked. And <a href="http://akismet.com/">Akismet</a> is a top-notch spam filter, which has already (silently) protected me from comment spam.</p>
<p>So, there we go. Now then, what were those things I wanted to post?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/02/09/back-really.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Back (sort of)</title>
		<link>http://www.mylesgrant.com/braindump/older/2008/01/22/back_sort_of.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2008/01/22/back_sort_of.html#comments</comments>
		<pubDate>Tue, 22 Jan 2008 21:37:10 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[mylesgrant.com]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/wp/?p=198</guid>
		<description><![CDATA[The blog is back (sort of), but it&#8217;ll look a lot different very soon.
]]></description>
			<content:encoded><![CDATA[<p>The blog is back (sort of), but it&#8217;ll look a lot different very soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2008/01/22/back_sort_of.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Growing Up</title>
		<link>http://www.mylesgrant.com/braindump/older/2007/06/20/growing_up.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2007/06/20/growing_up.html#comments</comments>
		<pubDate>Wed, 20 Jun 2007 17:44:34 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/wp/?p=241</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a title="Eric's Archived Thoughts: Growing Up" href="http://meyerweb.com/eric/thoughts/2007/06/07/growing-up/">Eric&#8217;s Archived Thoughts: Growing Up</a> - One of the sweetest things I&#8217;ve ever read (via <a href="http://www.waxy.org/">waxy</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2007/06/20/growing_up.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m so web 2.0</title>
		<link>http://www.mylesgrant.com/braindump/older/2007/04/14/im_so_web_20.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2007/04/14/im_so_web_20.html#comments</comments>
		<pubDate>Sat, 14 Apr 2007 23:27:25 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/wp/?p=239</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a title="Flickr: The Forum: Photos NOT uploading!" href="http://flickr.com/help/forum/37474/#reply198871">I&#8217;m so web 2.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2007/04/14/im_so_web_20.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Bugatti Veyron at top speed</title>
		<link>http://www.mylesgrant.com/braindump/older/2007/03/26/bugatti_veyron_at_top_speed.html</link>
		<comments>http://www.mylesgrant.com/braindump/older/2007/03/26/bugatti_veyron_at_top_speed.html#comments</comments>
		<pubDate>Tue, 27 Mar 2007 07:51:39 +0000</pubDate>
		<dc:creator>Myles Grant</dc:creator>
		
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.mylesgrant.com/wp/?p=238</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a title="Video Bugatti Veyron at top speed - bugatti, top, gear, 407, germany - Dailymotion Share Your Videos" href="http://www.dailymotion.com/video/x157l2_bugatti-veyron-at-top-speed">Video Bugatti Veyron at top speed</a> - God I love Top Gear. Watch it to the end.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mylesgrant.com/braindump/older/2007/03/26/bugatti_veyron_at_top_speed.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
