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

<channel>
	<title>see a puffin eat a fish &#187; Code</title>
	<atom:link href="http://www.txtst.com/wordpress/index.php/archives/category/code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.txtst.com/wordpress</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 11:33:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Best Fire Eagle Badge Email in a Long Time</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/382</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/382#comments</comments>
		<pubDate>Wed, 19 May 2010 22:27:06 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fire Eagle Badge]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/?p=382</guid>
		<description><![CDATA[Hello:
Is there a way to delay the reporting of my location (for example set it up to be 3 hours behind)?
I am traveling to the arctic circle on a motorcycle by myself.  I am also a photojournalist and do not want to be ambushed for my camera equipment-- thus the question.
Thanks in advance.

]]></description>
			<content:encoded><![CDATA[<p><code>Hello:</p>
<p>Is there a way to delay the reporting of my location (for example set it up to be 3 hours behind)?</p>
<p>I am traveling to the arctic circle on a motorcycle by myself.  I am also a photojournalist and do not want to be ambushed for my camera equipment-- thus the question.</p>
<p>Thanks in advance.</code></p>
<p><a href="http://www.flickr.com/photos/ibft/4571882865/" title="Small pup, big truck by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3312/4571882865_b87b7b0bdc.jpg" width="375" height="500" alt="Small pup, big truck" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/382/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sailing to the Bahamas w/ Fire Eagle</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/320</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/320#comments</comments>
		<pubDate>Mon, 15 Dec 2008 22:59:52 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fire Eagle Badge]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/320</guid>
		<description><![CDATA[
I haven&#8217;t been keeping up with the Fire Eagle badge ever since I got my iPhone.  There&#8217;s no ZoneTag for the iPhone and the Fire Eagle iPhone apps that are available just aren&#8217;t a compelling use case for my daily interactions.  They feel forced.  But i&#8217;ve been getting a lot of interesting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/3068778999/" title="Food wall by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3190/3068778999_d02f2059c2.jpg" width="500" height="375" alt="Food wall" /></a></p>
<p>I haven&#8217;t been keeping up with the Fire Eagle badge ever since I got my iPhone.  There&#8217;s no ZoneTag for the iPhone and the Fire Eagle iPhone apps that <a href="http://fireeagle.yahoo.net/gallery/tag/iphone" target="zt">are available</a> just aren&#8217;t a compelling use case for my daily interactions.  They feel forced.  But i&#8217;ve been getting a lot of interesting emails from people using the badge and I just checked my access log.  There are <a href="http://angkut.blogspot.com" target="zt">tons</a> <a href="http://www.nautiliaonline.com/" target="zt">of</a> <a href="http://borj.org/blog/" target="zt"><a href="http://blog.alenchery.org/" target="tz">people</a> using the Badge.  Very exciting.  Here&#8217;s a great user story that reflects exactly why I put the badge together in the first place:</p>
<p><i><br />
> I just wanted to thank you for the Fire Eagle Badge and let you know that I<br />
> have what I think is a pretty interesting use case.  My parents are sailing<br />
> from their normal berth in Annapolis, MD to Florida and then on to the<br />
> Bahamas this winter.  I have been maintaining a blog for them with a map<br />
> showing their whereabouts &#8211; updated in real time with their GPS coordinates<br />
> via a cellular data connection.  When they go offshore they will not have a<br />
> data connection so they purchased a SPOT satellite messenger-<br />
> www.findmespot.com &#8211; primarily for safety, but also for tracking.  SPOT<br />
> offers a proprietary shared map page, but nothing I could put on their<br />
> blog.  They do integrate with Fire Eagle, however, so I linked them to a FE<br />
> account and put your badge on their blog so they can be tracked offshore as<br />
> well.<br />
><br />
> Anyways, thanks again.  I&#8217;ll probably be tweaking the layout of the map in<br />
> the coming days.  I&#8217;ll be sure to let you knmow if I find anything<br />
> interesting while playing.<br />
><br />
> Sam<br />
><br />
</i></p>
<p>Thanks Sam!</p>
<p>You can see the blog <a href="http://sailbrunelle.blogspot.com" target="boat">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/320/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_rails is my girlfriend</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/319</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/319#comments</comments>
		<pubDate>Mon, 08 Dec 2008 16:45:38 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/319</guid>
		<description><![CDATA[
Sometimes you stumble across a piece of software that just changes the whole nature of the game.  This is one of them.  I&#8217;ve been dealing with Rails memory leaks for weeks now.  Granted part of my problem is that I don&#8217;t have the time to devote to being a full time administrator, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/3092324857/" title="Passenger by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3294/3092324857_eb636da430.jpg" width="500" height="251" alt="Passenger" /></a></p>
<p>Sometimes you <a href="http://www.modrails.com/" target="phusion">stumble across a piece of software</a> that just changes the whole nature of the game.  This is one of them.  I&#8217;ve been dealing with Rails memory leaks for weeks now.  Granted part of my problem is that I don&#8217;t have the time to devote to being a full time administrator, i&#8217;m too busy writing the code, but either way these leaks have been driving me crazy.  I went so far as to install this <a href="http://god.rubyforge.org/" target="gd">blasphemous piece of software</a> but outside of the unfortunate name and the innumerable puns it creates (let g-d control you deamons), cycling mongrel instances when memory usage peaks is no way to run a website. </p>
<p>I got so irritated that I rewrote the site in PHP.  Yes, I did that.  Looking at PHP code makes me tense up but PHP has very tight coupling with Apache and I can&#8217;t remember the last time anything I wrote in PHP ran out of memory.  The process was made slightly more palatable by using <a href="http://cakephp.org/" target="cake">CakePHP</a>, which is a sad, sad MVC Rails-like framework in PHP.  For every line of Rails I am used to writing, I write 12 lines of CakePHP.  Shoot me now.  But CakePHP never crashed with the same load and back end data store so I resigned myself to putting stability over my own happiness.  PHP it would be.</p>
<p><a href="http://www.flickr.com/photos/ibft/2996536794/" title="Marathon runners molting by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3068/2996536794_70bc77c21d.jpg" width="500" height="375" alt="Marathon runners molting" /></a></p>
<p>Then, ok get this, THEN I find mod_rails!  And it works, and it does exactly what it says it will do and it is such a cinch to install.  It&#8217;s a tighter coupling with Apache and my site hasn&#8217;t crashed in a long, long time.  And my site is fast.  And I don&#8217;t have 16 little mongrel instances running for which I have to figure out memory allocation and it knows about Rails caching implicitly, I could go on and on.  This module is the best.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/319/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweet the Vote</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/317</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/317#comments</comments>
		<pubDate>Thu, 30 Oct 2008 21:28:22 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Location]]></category>
		<category><![CDATA[Talks]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/317</guid>
		<description><![CDATA[
The past week i&#8217;ve been working with the Plodt team as part of the the Twitter Vote Report project.  Lots of buzz words in the previous sentence.   I&#8217;m pretty excited about it.  On election day, people will be able to send in their voting experience via SMS, Twitter, iPhone, Android and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/2980068914/" title="plodt mention in the times by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3251/2980068914_93994b3d4f.jpg" width="463" height="500" alt="plodt mention in the times" /></a></p>
<p>The past week i&#8217;ve been working with the <a href="http://www.plodt.com/" target="plodt">Plodt team</a> as part of the the <a href="http://twittervotereport.com/" target="vote">Twitter Vote Report</a> project.  Lots of <a href="http://www.techcrunch.com/2008/10/30/tweet-the-vote-no-digg-the-vote-no-youtube-the-vote-oh-just-vote/" target="fake">buzz words</a> in the previous sentence.   I&#8217;m pretty excited about it.  On election day, people will be able to send in their voting experience via SMS, Twitter, iPhone, Android and voice.  Good coverage.  We in turn will localize and visualize the data showing polling place wait times, issues with voting machines as well as positive/negative experiences with the whole voting process.   </p>
<p><a href="http://www.flickr.com/photos/ibft/2987775794/" title="Twitter Vote Report by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3164/2987775794_9a3b979172.jpg" width="500" height="95" alt="Twitter Vote Report" /></a></p>
<p>Also this past Tuesday I was a guest critic in Family Feud <a href="http://teendrama.com/" target="dennis">Dennis&#8217;</a> <a href="http://uberthings.com/teaching/dap//Introduction" target="DAP">Designing Around Place</a> class at ITP.  Lots of great projects and always nice to come back.  Dovetailing with the Twitter Vote Report, check out one of the projects from that class, <a href="http://thenewvote.com/" target="new">The New Vote</a> with fancy custom mapping tiles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/317/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fire Eagle Badge: Observations</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/308</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/308#comments</comments>
		<pubDate>Fri, 05 Sep 2008 02:46:44 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fire Eagle Badge]]></category>
		<category><![CDATA[Location]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/308</guid>
		<description><![CDATA[
The FireEagle badge has been up for a week and I have users checking in from Buenos Aires, Hong Kong, Moscow and Isle of Man.  Oh also Iowa.  Very cool.  
I&#8217;ve been using ZoneTag to update my personal FireEagle location, which I figured out has a &#8216;continuous upload&#8217; mode, so I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/450911849/" title="mr. potato is sleepy! by mbukhin, on Flickr"><img src="http://farm1.static.flickr.com/173/450911849_83a8094de8.jpg" width="500" height="375" alt="mr. potato is sleepy!" /></a></p>
<p>The FireEagle badge has been up for a week and I have users checking in from Buenos Aires, Hong Kong, Moscow and Isle of Man.  Oh also Iowa.  Very cool.  </p>
<p>I&#8217;ve been using ZoneTag to update my personal FireEagle location, which I figured out has a &#8216;continuous upload&#8217; mode, so I don&#8217;t have to take an unnecessary picture to report my location.  This has the unintended effect of making my badge perpetually current.  This would be very eerie if I was updating my exact, instead of approximate location.  I&#8217;d try updating exact location but the GPS kills my phone &#8212; plus it&#8217;s not so hot in the city.</p>
<p>On the accuracy end of things, my location badge is only as accurate as the service writing to FireEagle.  In the case of ZoneTag,  although I am Brooklyn Zonetag insists on putting me in &#8220;New York, NY&#8221;.  Passing that information to Yahoo maps gives me a map of the Upper West Side.  That still shows that I am in the five Burroughs area and not Iowa but I don&#8217;t like the misleading implication of the pinpoint map.  One way around this may be to implement the &#8220;i&#8217;m in this general vicinity&#8221; map overlay box like on the FireEagle website.</p>
<p>Finally, i&#8217;ve always been interested in passively recording location so without any extra effort I can see all the places i&#8217;ve been the past year.  I could do this with my badge except that it runs on a pull from the FireEagle API.  It only requests my location if someone loads the page where the badge is embedded.  So a log entry is inserted only when the badge is loaded.  If I have changed my location ten times in the past day but my badge (embedded in my blog) has not been visited even once, those locations will be lost.  To that end i&#8217;ve written a cron that periodically loads up my blog every once in a while so I don&#8217;t loose any locations.  Now I can generate a dynamic <a href="http://coryforsyth.com/2008/01/01/list-of-places-slept-2007/" target="cory">places i&#8217;ve slept</a> map.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/308/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XSS</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/305</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/305#comments</comments>
		<pubDate>Sat, 30 Aug 2008 14:32:29 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/305</guid>
		<description><![CDATA[
Recently I ran into some XSS (Cross Site Scripting) restrictions:
Security Error: Content at http://foo/bar may not load data from http://bar/foo
Error: uncaught exception: [Exception... "Access to restricted URI
denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"
location: "http://bar/foo Line: 47"]
Javascript on host B was running from host A and doing an XHTTPRequest request to host B.  So what [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/2805072372/" title="Rotary of death by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3190/2805072372_35c2f5f411.jpg" width="500" height="375" alt="Rotary of death" /></a></p>
<p>Recently I ran into some XSS (Cross Site Scripting) restrictions:</p>
<p><code>Security Error: Content at http://foo/bar may not load data from http://bar/foo<br />
Error: uncaught exception: [Exception... "Access to restricted URI<br />
denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"<br />
location: "http://bar/foo Line: 47"]</code></p>
<p>Javascript on host B was running from host A and doing an XHTTPRequest request to host B.  So what to do?  Well I found <a href="http://borkweb.com/story/look-ma-cross-domain-scripting" target="bork">this</a> article on using JSON to do cross domain scripting (and <a href="http://borkweb.com/story/the-case-for-json-what-is-it-and-why-use-it" target="here">here is even more background</a>) but it didn&#8217;t seem like the best solution since it wasn&#8217;t clear how cross browser compatible the solution was.</p>
<p>Then I realized that I could just have one Javascript embed and no remote code if I generate the Javascript on the fly using PHP (conceptually this is very similar to the JSON call).  Doing</p>
<p><code>&lt;script type="text/javascript" src="http://foo/bar.php"&gt;&lt;/script&gt;</code></p>
<p>is totally valid.  Embedded JS doesn&#8217;t have to have .js extension.  XSS problem solved and cross browser compatibility retained.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/305/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get Your Fire Eagle badge!</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/304</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/304#comments</comments>
		<pubDate>Fri, 29 Aug 2008 19:19:14 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fire Eagle Badge]]></category>
		<category><![CDATA[Location]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/304</guid>
		<description><![CDATA[
After my unpleasant experience hacking up a WordPress plugin to display location within my blog, I decided to write my own Fire Eagle badge that isn&#8217;t associated with any particular service or CMS.  Here is how it works: You authenticate against Fire Eagle, I give you a few lines of HTML, you insert the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/2809449078/" title="Fire Eagle Badge by mbukhin, on Flickr"><img src="http://farm3.static.flickr.com/2045/2809449078_6cbcf1c648_o.png" width="263" height="343" alt="Fire Eagle Badge" /></a></p>
<p>After my unpleasant experience hacking up a WordPress plugin to display location within my blog, I decided to write my own Fire Eagle badge that isn&#8217;t associated with any particular service or CMS.  Here is how it works: You authenticate against Fire Eagle, I give you a few lines of HTML, you insert the code anywhere you want.  If you know what you are doing you can even hack it up.  The map is optional.  Four lines with the map, two without.</p>
<p>There&#8217;s no login on my end, I have no idea who you are.  If you lose your badge, just make a new one.</p>
<p>Try it <a href="http://www.txtst.com/fireeagle_badge">here</a>.  If it works for you (or doesn&#8217;t), let me know.</p>
<p><i>Update:</i> I had to take the badge service down temporarily because of cross site scripting restrictions but I think those are resolved.  If you&#8217;ve made a badge you&#8217;ll have to generate yourself a new one.  Sorry about that.  On the up side it takes a few seconds to do.  thanks</p>
<p>Badge spotted in the wild:</p>
<p><a href="http://www.flickr.com/photos/ibft/2810174490/" title="Fire Eagle badge spotted by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3237/2810174490_129f99aebd_o.png" width="438" height="461" alt="Fire Eagle badge spotted" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/304/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It Totally Works!</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/303</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/303#comments</comments>
		<pubDate>Thu, 28 Aug 2008 03:21:33 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fire Eagle Badge]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Location]]></category>
		<category><![CDATA[wy20]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/303</guid>
		<description><![CDATA[Check it:
 
I take a photo and my location is updated on my blog.  This will really motivate me to take even more photos as I am getting a tangible added value from photo documentation.  
This would be nice to have embedded in Facebook, as an iGoogle widget or possibly something much more [...]]]></description>
			<content:encoded><![CDATA[<p>Check it:</p>
<p><a href="http://www.flickr.com/photos/ibft/2804231843/" title="props to ZoneTag by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3156/2804231843_a2250d05a6_o.png" width="245" height="104" alt="props to ZoneTag" /></a> <a href="http://www.flickr.com/photos/ibft/2804541160/" title="it totally works! by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3278/2804541160_d660143c75_o.png" width="263" height="95" alt="it totally works!" /></a></p>
<p>I take a photo and my location is updated on my blog.  This will really motivate me to take even more photos as I am getting a tangible added value from photo documentation.  </p>
<p>This would be nice to have embedded in Facebook, as an iGoogle widget or possibly something much more lightweight that you could embed with javascript anywhere.  </p>
<p><a href="http://www.flickr.com/photos/ibft/2805115662/" title="City of Memory - Local Projects by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3127/2805115662_dedfdeda92.jpg" width="500" height="323" alt="City of Memory - Local Projects" /></a></p>
<p>Also, unrelated &#8212; <a href="http://www.dwell.com/daily/video/15903637.html" target="jake">Jake</a> at <a href="http://www.localprojects.net" target="local">Local Projects</a> has launched his <a href="http://www.cityofmemory.org" target="city">City of Memory</a> project, curated stories from the five boroughs.  I had a small hand in this project a few years back, well worth checking out. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/303/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Present Location</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/302</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/302#comments</comments>
		<pubDate>Tue, 26 Aug 2008 20:52:54 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Ubiquitous Computing]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/302</guid>
		<description><![CDATA[
Is now on my blog (look to the right), in (mostly) real time.  For real.  I&#8217;ve actually incorporated Fire Eagle into my daily activity.  A while ago I wiped out my N95 and decided that the extra hoops ZoneTag wants me to jump through to upload my images to Flickr weren&#8217;t really [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/2798357540/" title="the star by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3267/2798357540_89f4aa92f8.jpg" width="500" height="332" alt="the star" /></a></p>
<p>Is now on my blog (look to the right), in (mostly) real time.  For real.  I&#8217;ve actually incorporated <a href="http://fireeagle.yahoo.net/" target="fireeagle">Fire Eagle</a> into my daily activity.  A while ago I wiped out my N95 and decided that the extra hoops <a href="http://zonetag.research.yahoo.com/" target="zt">ZoneTag</a> wants me to jump through to upload my images to Flickr weren&#8217;t really worth it.  It was much simpler for me to use the native photo app and send MMS photos to Flickr.  </p>
<p>Well I was right, without ZoneTag my photo uploading interaction was simplified, but I really missed having a photo&#8217;s location on Flickr.  And I would get <a href="http://flickr.com/photos/ibft/2790007932/" target="where">&#8216;where are you?&#8217;</a> comments on my photos, so my friends must have gotten used to ZoneTag too.  Today I reinstalled ZoneTag and noticed the Fire Eagle integration.  Well since i&#8217;m uploading photos w/location info on a daily basis, why not keep my location current?  All I have to do to get that working is authenticate ZoneTag against Fire Eagle.  No problem.</p>
<p><a href="http://www.flickr.com/photos/ibft/2715046815/" title="from smallest to biggest by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3118/2715046815_51a8f7da1b.jpg" width="500" height="375" alt="from smallest to biggest" /></a></p>
<p>So far so good, but then how do I display my location?  The Fire Eagle application gallery has a number of integration points (Loki, Dopplr, Outside.in) but all I wanted to do was display my location on a blog, not have to deal with yet another service.  There is no Wordpress integration in the Fire Eagle application gallery, but I did track down a <a href="http://www.klauskomenda.com/code/wordpress-plugin-i-am-here/" target="widget">Wordpress widget</a> Klaus Komenda wrote appropriately titled &#8216;I am Here&#8217;.  After hacking at it for a bit (incorrect paths, outdated versions of the Fire Eagle libraries, adding support for older wordpress versions, etc.) I got it to work with my blog.</p>
<p>My integration is still a little busted up, the map isn&#8217;t showing just yet, but it&#8217;s a great start.  Now all I have to do is go somewhere else, take a photo and see if my location badge updates.  If anyone is interested in how I got this thing going, let me know.  Maybe i&#8217;ll even write up a WordPress plugin of my own.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/302/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What i&#8217;m coding</title>
		<link>http://www.txtst.com/wordpress/index.php/archives/299</link>
		<comments>http://www.txtst.com/wordpress/index.php/archives/299#comments</comments>
		<pubDate>Mon, 25 Aug 2008 02:43:51 +0000</pubDate>
		<dc:creator>mb</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.txtst.com/wordpress/index.php/archives/299</guid>
		<description><![CDATA[
A couple of new code related developments this week.  First off, now that we have the open net, walled gardens are discouraged and APIs/syndication is everywhere, it&#8217;s been a long time since I had to scrape anything.  What&#8217;s more I always thought of scraping sites as a one off hack, I never considered [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ibft/2784424336/" title="Urban flamingo by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3024/2784424336_5807d9b88b.jpg" width="500" height="375" alt="Urban flamingo" /></a></p>
<p>A couple of new code related developments this week.  First off, now that we have the open net, walled gardens are discouraged and APIs/syndication is everywhere, it&#8217;s been a long time since I had to scrape anything.  What&#8217;s more I always thought of scraping sites as a one off hack, I never considered that it could be a viable business model.  But recently I had to write a tool that would programatically pull content from <a href="http://www.kodakgallery.com/Welcome.jsp" target="kodak">Kodak Gallery</a>, a popular photo sharing site with no API whatsoever.   To get the job done I used <a href="http://mechanize.rubyforge.org/mechanize/" target="mechanize">mechanize</a>, which in turn uses <a href='http://code.whytheluckystiff.net/hpricot/' target='hpricot'>hpricot</a> and finally I used <a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="firebug">firebug</a> for debugging. The whole process was surprisingly pleasant consider i&#8217;m picking apart html bits.  I&#8217;ve always been cautious about relying on scraping but I suppose if you do it to a popular site they&#8217;re in turn cautious about changing their code.</p>
<p><a href="http://www.flickr.com/photos/ibft/2762787207/" title="2002 by mbukhin, on Flickr"><img src="http://farm4.static.flickr.com/3037/2762787207_cfa982f15c.jpg" width="500" height="374" alt="2002" /></a>  </p>
<p>In other exciting news, a few months ago I put my name on the <a href="http://www.amazon.com/SimpleDB-AWS-Service-Pricing/b?ie=UTF8&#038;node=342335011" target="simple">SimpleDB</a> beta list and I got an invitation on Friday.  There have been a lot of great projects for ruby/rails in the space and even a toolkit from the <a href="http://open.blogs.nytimes.com/2007/12/21/a-first-look-at-amazon-simpledb/" target="times">New York Times</a>.  I&#8217;m really eager to integrate SimpleDB and figure out if it&#8217;s mature enough to roll into production.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.txtst.com/wordpress/index.php/archives/299/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

