It’s a Panda’s Life

A recent Google search reveals that there isn't much discussion about the recently introduced region monitoring feature on the iPhone. A couple of us were looking into how it could be used, and I created a toy project which creates and monitors regions. The project itself is really simple, it just tracks the iPhones current location using the significant location change APIs, and allows you to create a region of constant radius. It then monitors this region, and notifies one when one enter or exits this region.

At some point, once I am done actually getting things to work correctly, I'll post more information, my current intention was to merely provide a starting point. So far my observations with the current code are

  • Region boundary crossings seem to be pretty fuzzy. In some case I get notified very close to where I would have expected, while in other cases it can be some distance from my expected boundary.
  • For some reason when crossing a particular location causes the iPhone to generate a exiting region event, walking back through that region won't necessarily generate an entering region event.

These defects could be because of how the code is written (if you happen to notice something wrong, please leave a comment), as stated above I'll post more when I figure more of this out.

§315 · June 29, 2010 · CS, CoreLocation, article, iPhone · (No comments) ·


Tim Bray over at ongoing has a post up on megapixels. He has a decent (and from what I understand, correct) explanation of what is good and bad about racing towards higher pixel counts. I agree with his explanation, I disagree with his conclusion, and here I am treading on thin ice. I don’t really [...]

Read more...

§301 · June 30, 2008 · article · 25 comments ·


This is where I bitch about serialization in C++. If you do not understand what that previous statement was about, you might want to skip all of this entry. Really, skip this entry, it does not help you with much. Yes, I am home for the winter, I am leaving in a couple of days. [...]

Read more...

§300 · January 16, 2008 · CS, Hacks, article, rant, turing machine · 24 comments ·


There are a couple of entries I have been meaning to write, but have on hold for various reasons. We’ll deal with those later. Since it is clear that I write something only when classics essays are bothering me, this entry is going to be updates about life. Clearly this needs to be done, and [...]

Read more...

§298 · December 16, 2007 · article · 7 comments ·


I got back from one of those trips out west yesterday. They are really quite bad, mostly because getting back makes one waste almost all of a day. Going west has always been much easier than coming back east, it really doesn’t work out well. Besides someone chose to fight with the crew on one [...]

Read more...

§297 · November 12, 2007 · article · 51 comments ·