News for hackers. Stuff that matters.
Re:Spacetime alarms by rkowalick on Friday October 16, 2009 @04:04PM (#886073)
The android application Locale ( http://www.twofortyfouram.com/ ) certainly seems like it could do (or come close to doing) most of these things.
Re:Spacetime alarms by mcav on Friday October 16, 2009 @03:57PM (#886053)
That shouldn't be too hard with GPS, minus the whole "no background apps" thing: Just prompt users for a location (i.e. tap on a map) when setting an alarm, with a radius perhaps. And to accommodate the "alarm" case, just add a checkbox to "only activate while OUTSIDE this range".

Not sure if anything like this already exists either. It well might.

Re:Spacetime alarms by dandelany on Friday October 16, 2009 @03:59PM (#886059)
> minus the whole "no background apps" thing

That's kind of a huge thing - it's the difference between this idea working and not working on the iPhone... and a great example of the kind of app innovation Apple could inspire by allowing background processes.

Re:Spacetime alarms by TrevorJ on Friday October 16, 2009 @04:02PM (#886066)
I bought an ipod touch hoping to make some productive use of it The no background processes thing makes that next to impossible. I can't risk my fancy dancy alarm clock not going of because I went and checked my email and forgot to re-open the alarm clock program. It's a huge problem with the platform in my opinion. Heck, my Dell Axim PDA from 5 years ago would happily run 6 or 8 apps at a time.
Re:Spacetime alarms by stcredzero on Friday October 16, 2009 @06:27PM (#886309)
Really? The Apple Clock program's Alarms seem to work in the background for me.
Re:Spacetime alarms by revicon on Friday October 16, 2009 @08:22PM (#886421)
you're correct. Apple does not expose this functionality to 3rd party apps.
Re:Spacetime alarms by TrevorJ on Friday October 16, 2009 @09:25PM (#886493)
It does, but I didn't like it as much as some of the other options in the app store.
Re:Spacetime alarms by mcav on Friday October 16, 2009 @06:46PM (#886331)
Apple's alarm clock program works regardless of which app you currently have open.
Re:Spacetime alarms by blasdel on Friday October 16, 2009 @09:01PM (#886464)
Apple is never going to expose straightforward background processes, as it's way too late to switch to a Pre-style 'card' model that would make it natural. Fortunately there's a solution that's complimentary to the "no background processes" restriction that I'm sure some cretins at Apple have at least mocked up, if not implemented:

They just need to expose specific interfaces to launchd (Apple's clever init/rc/cron/xinet replacement), for doing particular kinds of local notifications. An app could register (with user confirmation) that it wants to have a limited helper run when an event has occurred: cron-style schedules, at-style timers, "Moved more than X meters", "Am near X:Y", etc. The registrations would be managed just like with the current push notifications.

With that, there'd be only a few other APIs needed to absolve the want for background processes. The ability to enqueue HTTP requests would make quite a number of apps friendlier to multitasking, and its already implemented privately in MobileSafari. The ability to play audio in the background would be huge, especially combined with queued HTTP requests, but I suspect that it'd be a lot harder to squeeze out of Apple.

Re:Spacetime alarms by nsfx on Friday October 16, 2009 @07:24PM (#886364)
Loopt got around this somehow:

http://www.businessinsider.com/loopt-to-run-in-the-backgroun...

I guess if you fellate / pay Apple enough, they let you do it.

Re:Spacetime alarms by roc on Friday October 16, 2009 @07:35PM (#886368)
If by 'Apple' you mean 'AT&T' and by 'let you do it' you mean 'give you a direct line from your data center to AT&T subscriber location data with which you can approximate the feature with the Push API and no actual third party code running in the background on each phone', then I concur with your assessment.
Re:Spacetime alarms by gaius on Saturday October 17, 2009 @05:26AM (#886805)
Dedicated GPS units have had this functionality almost since day 1. We call them "anchor drag alarms" in sailing, for obvious reasons. Switch it on and go to sleep without worrying :-)
Re:Spacetime alarms by TrevorJ on Friday October 16, 2009 @03:59PM (#886061)
If you could integrate this with calenders and to-do lists on a hand held device you'd really have something. In general the idea of an integrated, contextually-aware smartphone would be great.
Re:Spacetime alarms by Pahalial on Friday October 16, 2009 @04:22PM (#886105)
Hm, active comment moderation on the blog. Anyway, someone has indeed done this for the iphone (not that I've used it or can comment as to how well it works):

http://www.moop.me/inap.php

It does appear to only cover one of his use-cases, sadly. But the others would be difficult without backgrounding (and the theft alarm may require far too much polling and battery drain to ever be useful.)

Re:Spacetime alarms by noonespecial on Friday October 16, 2009 @04:59PM (#886157)
Its cake on my pre. Its literally just a crontab entry and curl command and the phone tweets its gps at intervals. It be easy to watch for a tweet outside a range and alert me. Seems to add no battery drain at all. I'll have to see if I can add playing a sound locally as well.

http://palmpre-hacks.com/palm-pre-hacks/how-to-tweet-palm-pr...

Re:Spacetime alarms by windsurfer on Friday October 16, 2009 @05:01PM (#886162)
I would hate to have my gps location constantly be tweeted, personally, but that's an awesome hack.
Re:Spacetime alarms by frankus on Friday October 16, 2009 @06:52PM (#886337)
A fourth example:

A game where you try and assassinate your friends by setting imaginary time bombs to go off at a particular location when you think your friend will be there.

Of course it could also be built on top of something like Loopt or BrightKite if you and your friends compulsively check in everywhere you go.

Re:Spacetime alarms by khafra on Friday October 16, 2009 @04:02PM (#886067)
I've wanted behavior-aware alarms for a long time, but this is a good first approximation.
Re:Spacetime alarms by nkassis on Friday October 16, 2009 @05:55PM (#886264)
Maybe something like that could tell me when I'm close to the grocery store that I need to buy milk.

Wait a minute... Firing up the Ycomb application right now ;p