![]() |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
I can quite trivially add a switch in the configuration for that, or a keyboard toggle, or whatever. Quote:
I should probably increase that a little, 15 seconds is pretty tight... it's okay when you have good signal (like I have out on the countryside where I live) but in a tighter scenario it's probably touch-and-go. I will increase this timeout. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
15 seconds is plenty with a-GPS.
Configuration of timeout could be nice, but if it's not locked in 15 secs you probably don't have a-GPS or haven't locked before, meaning the next timeout is the full GPS cycle of 90 seconds plus in perfect conditions, 4-5 minutes under less than ideal. It's a bit on the large side? |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
I will probably be adding a third mode that is "Always use GPS", which has the same logic and timeouts, but simply will *never* use a cell location, simply not posting any update at all if it didn't get a "gps quality" fix within the timeout. Then you, as a user, have the choice suitable for your environment, i..e - very urban (New York city-canyons and offices): Cell only - medium (smaller city with some open spaces): Cell+GPS - rural (nearly always good gps fixes): GPS only Should be a trivial change. /Z |
A Question about User Interface
Hi Guys, a question:
I think I may have been a bit too paranoid with the Daemon settings in the UI of ZapLoc. I'm starting to think of changing it like this: - default "Background Updates" to off (I still think I need to have somethign like this off by default so people are always aware when they turn it on... or do you think people is smart enough to realize this anyway? I don't want to get liable for my app sharing stuff people didn't want....) - remove the settings of "when to start" and "when to stop" the daemon. The new logic would be: - if "background updates" is on, daemon starts at boot and never stops - If "background updates" is off, daemon either a) doesn't run at all, or b) just runs while the main program is visible. My questions to you: #1 Does this change make sense? #2 Should it do a) or b) for "background updates"=Off mode? I just realized I was being overzealous here: For example, "auto checkins" and "latitude updates" are ALSO both off by default. Lots of stuff to turn on before it actually works :) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
how can I add a new place? :D
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
For Gowalla, I suggest m.gowalla.com For FourSquare I suggest www.cotchin.com/m For Facebook Places I don't know what to suggest any more, in the past touch.facebook.com worked on the N900, but Facebook has removed that site in favour of a crappy mobile site :( Maybe someone has a tip how to add facebook places on the N900? /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Thanks for the great application!
Should I have several zaploc-daemon.py running parallel? After 1st start I have. Quote:
|
Re: A Question about User Interface
Quote:
I understand you're looking for new stuff to work on, but for me ZapLoc is good as it is :) Or maybe.... you could add an option to let it behave like Android. On Android, latitude is updated more frequent and using GPS when you are moving. But I'd probably never use this anyway ;) |
Re: A Question about User Interface
Quote:
Makes perfect sense in my opinion, this is how I would expect it to work and I bet everyone already has it configured this way. I would go with mode b). Long answer: There are two separate cases in mode b): - If you don't have the background daemon running, you are probably starting the main program in order to update your position and to see the map/check in - daemon should be on while the main program is running. - If you already have the daemon running, you are probably starting the main program to see the map and/or check in - in this case the daemon should either: b1) keep the same settings it had in background mode, or b2) restart with the default settings My humble (and possibly too laborious) suggestion is: Keep the background daemon and the main program daemon separate from each other. When the user starts the main program, you could suspend the background daemon until the main program is closed. The settings should be separate as well, as the use cases for using the background daemon and running the main program are typically rather different. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Same issue with versions: 0.9.4-36 & 0.9.4-37. |
Re: A Question about User Interface
Quote:
If I said "no" to background updates (by unchecking it) I then per definition want nothing to happen "in the background", regardless if the app is running or not... so for example, if I am composing a nice manual check in to the location I'm at, I don't want to be preempted by some auto-check in in the back. Or I may be turning it off for bandwidth reasons, or whatever. Remember you can still MANUALLY check in, even if the daemon isn't running. The only thing you are missing is Latitude updates.... but also remember, these explicitly live in the user interface behind the "Run in background" checkbox... which is off. Sould latitude updates still happen? Methinks not! Then I'd rather add an explicit manual latitude update mode for that case. So I decided that "run in background=OFF" really means the daemon is completely off. Quote:
Quote:
All that is missing really is a manual way to check in to Latitude.... which is quite easy to add. /Z |
Re: A Question about User Interface
Thanks for the clarification, it seems I had a slightly different idea about what running the daemon means. Taking your description into account, this does make sense - I also wouldn't want auto check-ins to happen while I'm running the main program.
As you said, the only thing missing with your description is a way to update latitude without the daemon - manual check ins for this sounds like a good solution. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
What does this line print for you: Code:
ps -a | grep "zaploc-daemon" EDIT: Try build 0.9.4-39. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
If background service is OFF, then it shutdown OK (no ghost program running in backgroung) If background service is ON, then Code:
~ $ ps -w|grep "zaploc-daemon" |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
However, that should have been fixed in 39... :/ Strange. Quote:
If you start ZapLoc from xterm and see what it prints ("Starting Daemon", "Stopping Daemon" etc. like that) would be helpful. Ideally run as "user", not "root". Actually the exact output of this would be very helpful: Code:
ps -a | grep "python.*zaploc-daemon.py" | grep -v grep | awk '{print $1}' |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Code:
~ $ ps --help |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
IMO, for the paranoid, app should use a flag. E.g., a file on disk, created on start, deleted on end, or, better, locked when app starts.
Daemon doesn't updte if file isn't locked, so start and stop daemon is only a matter of resources, not security. So even if it doesn't stop right, it simply sits there. ETA: App closing could check daemon has stopped. Exiting could issue a kill and inform user it's done or not via a ps | grep |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Uninstalled "Enhanced Busybox 1.18.4" and now ZapLoc works OK.
Thanks for your help! Edit: I tried once again with new BusyBox with procps installed, which brings better ps tool, but still not working as it should. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Ok, then I will remove "-a", I must have misunderstood the earlier poster about the problems w. new busybox "ps". It seems the current busybox actually ignores all options anyway (gladly takes "-klptzyxm") so it doesn't matter anyway....
Will be fixed later.... /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Updated to 42.
Now daemon starts at boot (--boot) which is not fun, because it doesn't have network yet and it doesn't lock. Furthermore, exiting app leaves it running (-d). Setting seems gone. Did you give up trying to kill it? |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
tried the manual latitude 'checkin' and it froze the app - had to kill it.
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Yes, read back a few pages, I decided to change the semantics of the settings:
- removed the "when to start" and "when to stop" crap (too many settings for the same thing, really) - there is simply a single on/off button for "Background updates". When on, it starts at boot, and doesn't stop. When off, it doesn't start at boot, and if you run zaploc and it finds a running daemon it kills it. Was this too much change...? I could consider re-instating a "start at boot" checkbox if that helps. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Just rebooted, and it failed to lock, keeps blinking for minutes. Sometimes I'm low on battery and powering GPS on boot doesn't help. Just a suggestion. May work fine for other people |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Tho on my device this is not a problem... I'm hooking the latest possible hook-point in event.d, which is when hildon-desktop has started.... but now there is an extra 60 seconds of "do nothing" until it turns the location subsystem on. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Got a problem lately, where the daemon seems to be satisfied with cell location even though mode is on --gps. When starting the daemon, GPS icon flashes for a few seconds until coarse accuracy appears, then disappears and latitude is updated.
Verbose output of an example case: Code:
Starting ZapLoc daemon... As you can see from the timestamps, the daemon doesn't even try to wait for a better fix. Ideas? |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Why try better than 53 meters?
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Basically, I'm now looking at accuracy, rather than the sample mode, but I think that in "--gps" mode, I should change it to still be looking at the mode=3 (which means "this value came from the GPS"). This is a trivial fix. Curious; how far away would you guesstimate that tower actually is? I noticed that the tower I normally get connected to, which is about 2000m from me, claims to have "253 meter" accuracy. Dunno what's with the "53" at the end at all these :) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
The tower is roughly 450-500 meters away in reality. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
- if we don't get a GPS lock, but the LAST GPS lock is within the accuracy radius of the cell tower lock, assume it is still the GPS lock, but if not, take the cell tower. All such logic sounds clever, but completely breaks due to the useless reported "accuracy" of towers :( Next build (whenever I get around to make one) will have this change, it's a supertrivial change. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
May I say, if you care about 100 meters you should look for GPS accurate lock only. Issue being, even with "20 meters", subsequent positions jump around by 50 meters under normal circumstances.
Using the positioning desktop applet I can see it wiggle. Not to mention GPS has about 10 meters under ideal circumstances, add real life and it goes dancing for 20-50 meters. If you want this kind of accuracy, use GPS perfect lock, but what if it isn't available? Smallest radius? For how long? Is it worth having GPS working a minute for a relative improvement of basically within tolerance of a lock? IMO, lock mode should be Tower, GPS, Tower+GPS and GPS+tower. In Tower+GPS, it tries tower. If tower is good, hurray. In GPS+Tower, it tries tower. Then GPS. If GPS fails or is worse than tower, use tower. Idea being that one does high precision or bust, the other is best try. Then there's battery-saving tower and battery-eating GPS. Alternately, have Tower and GPS ckeckboxes, and another chack to "use best guess". If tower, try tower. If GPS, try GPS. If use best guess, it uses the best accuracy it could. Not if it's completely off, though, with a limit like it is now. Ideally, GPS could have a manual timeout setting for each. Me, e.g., I'd keep GPS on, 10 seconds (either I'm out or not), tower and use best guess if under 1000 meters. So, check box GPS, check Tower, Lock time limit and accuracy limit edit boxes. Should cover all situations thus far? |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
This is roughly what is there already. You have three modes:
"Cell tower": Takes any position it gets... doesn't even try to turn the GPS ON "Cell+GPS". Turns the GPS, and tries for a while (30 seconds for now, and not configurable, for now - this might change, but I don't want to clutter the UI with useless minuteae) and if no GPS fix comes in, settles for the cell tower fix... if a GPS fix DOES come in, take that. "GPS Only". As per above, but if 30 seconds pass with no GPS fix, it simply doesn't do anything and ignores it, never actually uses a cell location AT ALL. Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Thanks MasterZap for creating ZapLoc and for your receptive approach to feedback in this forum.
I'd appreciate a selectable GPS fix duration: at the moment (0.9.4-41) ZapLoc background daemon normally puts me around 400 metres away from my true position when I'm at home, but the UI gets it right if I leave it open for a bit. The "googlelatitude" app was more accurate for me (before it broke). If I find it drains the battery too much, I'd decrease the update interval rather than lose accuracy. Accuracy is more important to me. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Have you set it in the "GPS" mode, not "GPS+Cell"? And use the latest version (build 44) .
But you may actually get what you want in next version (i.e. settable timeout). Doesn't hurt to make it a settable option.... /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
I really love this app, finally I can join my friends in our FourSquare madness :D
Only downside is that I can't seem to enable Facebook Places in build 45. The error is: Code:
Traceback (most recent call last): |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
I can wrap this in an exception handler so it doesn't break. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
1 Attachment(s)
V45 caused a huge battery drain due to reason that it left GPS on even time out was set to 30s. I used GPS only mode because GSM cell gives wrong location in my home area (don't know why and don't care).
I reverted back to v44 and no more problems with high current consumption. Status menu showed that GPS receiving coarse location all the time and it never switched off. 1st circle shows when updated to v45, 2nd when reverted to v44. |
All times are GMT. The time now is 15:01. |
vBulletin® Version 3.8.8