see a puffin eat a fish

Archive for the ‘Code’ Category

Best Fire Eagle Badge Email in a Long Time

without comments

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.

Small pup, big truck

Written by mb

May 19th, 2010 at 6:27 pm

Posted in Code, Fire Eagle Badge

Sailing to the Bahamas w/ Fire Eagle

without comments

Food wall

I haven’t been keeping up with the Fire Eagle badge ever since I got my iPhone. There’s no ZoneTag for the iPhone and the Fire Eagle iPhone apps that are available just aren’t a compelling use case for my daily interactions. They feel forced. But i’ve been getting a lot of interesting emails from people using the badge and I just checked my access log. There are tons of people using the Badge. Very exciting. Here’s a great user story that reflects exactly why I put the badge together in the first place:


> I just wanted to thank you for the Fire Eagle Badge and let you know that I
> have what I think is a pretty interesting use case. My parents are sailing
> from their normal berth in Annapolis, MD to Florida and then on to the
> Bahamas this winter. I have been maintaining a blog for them with a map
> showing their whereabouts – updated in real time with their GPS coordinates
> via a cellular data connection. When they go offshore they will not have a
> data connection so they purchased a SPOT satellite messenger-
> www.findmespot.com – primarily for safety, but also for tracking. SPOT
> offers a proprietary shared map page, but nothing I could put on their
> blog. They do integrate with Fire Eagle, however, so I linked them to a FE
> account and put your badge on their blog so they can be tracked offshore as
> well.
>
> Anyways, thanks again. I’ll probably be tweaking the layout of the map in
> the coming days. I’ll be sure to let you knmow if I find anything
> interesting while playing.
>
> Sam
>

Thanks Sam!

You can see the blog here.

Written by mb

December 15th, 2008 at 6:59 pm

Posted in Code, Fire Eagle Badge, Fun

mod_rails is my girlfriend

without comments

Passenger

Sometimes you stumble across a piece of software that just changes the whole nature of the game. This is one of them. I’ve been dealing with Rails memory leaks for weeks now. Granted part of my problem is that I don’t have the time to devote to being a full time administrator, i’m too busy writing the code, but either way these leaks have been driving me crazy. I went so far as to install this blasphemous piece of software 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.

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’t remember the last time anything I wrote in PHP ran out of memory. The process was made slightly more palatable by using CakePHP, 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.

Marathon runners molting

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’s a tighter coupling with Apache and my site hasn’t crashed in a long, long time. And my site is fast. And I don’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.

Written by mb

December 8th, 2008 at 12:45 pm

Posted in Code

Tweet the Vote

without comments

plodt mention in the times

The past week i’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’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.

Twitter Vote Report

Also this past Tuesday I was a guest critic in Family Feud Dennis’ Designing Around Place 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, The New Vote with fancy custom mapping tiles.

Written by mb

October 30th, 2008 at 5:28 pm

Posted in Code, Fun, Location, Talks

Fire Eagle Badge: Observations

without comments

mr. potato is sleepy!

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’ve been using ZoneTag to update my personal FireEagle location, which I figured out has a ‘continuous upload’ mode, so I don’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’d try updating exact location but the GPS kills my phone — plus it’s not so hot in the city.

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 “New York, NY”. 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’t like the misleading implication of the pinpoint map. One way around this may be to implement the “i’m in this general vicinity” map overlay box like on the FireEagle website.

Finally, i’ve always been interested in passively recording location so without any extra effort I can see all the places i’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’ve written a cron that periodically loads up my blog every once in a while so I don’t loose any locations. Now I can generate a dynamic places i’ve slept map.

Written by mb

September 4th, 2008 at 10:46 pm