Location hacking. Or how I am addicted to knowing where I am
Please note: This post was written some time ago (16 years ago). My perspectives, knowledge, and opinions may have evolved significantly since then. While the content might still offer valuable insights, I encourage readers to consider it in the context of its publication date.
The last few weeks have been a whirl wind of travel, emergencies and fun events. All of it has made my life a mess in regards to plans, knowing whats up and keeping track of where i am supposed to go and when. Out of necessity, I decided it might be fun to track where I have been and where I am going. To handle this I use various sites like Dopplr, TripIt and fireeagle to keep track of my travels. Dopplr is my favorite, however I use TripIt to overall manage my travels and then push it into Dopplr and fireeagle - so my friends can be alerted as to where I am.
After melding all these things together - i decided it would be neat to have the info on my homepage. So, i created this “mashup” to keep track of everything. It was my first foray into being a consumer of oauth (myself, programatically) and i really like it. I am for sure going to use this for the threadless API when it launches (thanks friends!). Dopplr’s API is a pain in the ass (there is about 1 page of API documentation), but i finally figured it out.
With all of the sites melded together - i was able to get my current location (fireeagle), and my future and past travels (dopplr). The info for both of these sites is provided in part by dopplr and tripit. Tripit feeding dopplr which feeds fireeagle. I feed tripit with emails. It has been hungry lately.
Seeing all this info together on my home page made me think of my friends page where he tracks exactly where he is at all times. its kinda freaky and pretty invasive. But i wanted to know if i could build it. And i figured that building the gps “puck” as Ilya calls it would be a good experience.
Since i have an iphone instead of a phone with true GPS, I used an app made by Erica Sadun (an awesome apple hacker) that queries the wifi APs and cell towers that the iphone uses to handle its pseudo GPS. With this app I am able to grab my location and post it to a script i made to track everything. From the script I am able to handle posting to fireeagle or twitter or whatever. A lot of the writeups of this sort of thing have the iphone handle the posting to fireeagle or twitter, however that doesn’t really make sense to me - since having less http calls on the actual device seems to be a better plan for battery dominance.
You can check out my current-ish location here.