![]() |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Anyway, as clarified above, if you are in wifi, it doesn't even try to start the GPS or celltower stuff at all. Quote:
Quote:
Quote:
Quote:
I think it is the number is a database id in the connection database in Maemo (pure guess, though), and if so, maybe, then, if all Starbucks connect to the same Starbucks access point in your phone, there may be problems here, and I will need to start checking Mac's or somesuch (no idea how to do that, though....) So I personally do not know if this id is per-basestation-unique or not; tests on this would be quite helpful. In "verbose" mode it informs you of any connection/disconnection events including spitting out the stupidly long hex-number-thingy, so if someone who lives somewhere where, say, multiple Starbucks exists, could test this, it would be... useful. Quote:
Quote:
Quote:
I'll check the code, but I think I'm trying to shut the GPS down properly when exiting. Tho if there is an actual crash, my exit code may not always run. Quote:
It all started as a toy for myself, and learning som oauth coding, and learning some heavier Python coding..... well frankly, it all started with me trying to teach my kid programming, and beginning work on a game.... (which you guys may see the results of some day... maybe...) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
Quote:
Quote:
Quote:
I may have to switch back to tiles to cache the local area. I may also need to watch what zoom level I'm on, since that may be different between navigating and four-squaring. :) If you get ambitious, MartinK does document the format of the table he uses in sqlite to store the tiles. It's rather simple to access, from what I've read. But frankly for the limited area I use ZapLoc in, I can do two sets of tiles. :) Quote:
Quote:
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
Quote:
But debugging of this would be useful (tho I could probably set up a test using an extra router in the house with the same SSID or something... some day... maybe) Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
Quote:
So, as for the GPS thing: After watching the debug logs for a while, I think I've figured out what's going on. I think the cell-tower thing is actually hurting my chances, so I'm trying it now with that turned off. What the log showed was, I would often turn on, get Mode 0 stuff (cell tower), then about 25 seconds in, I'd get a "GPS lock" Mode 3, with either a "error" that was too large (>50m), or I'd get something pretty close, between my actual position and where the cell tower said I last was, but it would commonly be JUST outside the window for the spot (52.5m for a 50m spot). My best guess is that the first "lock" signal is offset by the system trying to pre-feed the location info from the cell tower location (aGPS), and that's what's killing it. So, I'll try it with that off and see if it takes longer to lock and/or if it comes back with a better first coordinate. Maybe a good idea would be an option to ask for an update or two from the location system after a lock and see if it eventually stops "moving"? That would also cut down on the "just passing by" issues too maybe? I'll play with the wifi ID thing later this weekend and post results. Thanks again! |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
I toyed with some code long ago that basically forces the GPS to take 2 or 3 samples, but took it out. On your message I tested to reinstate it, and noticed that more samples doesn't *necessarily* mean better accuracy, i.e. if I wait for the third sample, it's quite probably the third is worse than the 1st! So I see two very simple "fixes" to this issue: ONE: Decrease the "minimum accepted accuracy" (which is currently 150 m and hardcoded) and perhaps make it configurable ... but I don't want to overburden the user with lousy configurations that only nerds care about :( or TWO: When searching for nearest point, add the accuracy to the search, i.e. if it's within 52.5 meters, but your accuracy is 30m, well, consider it a hit anyway. That has other dangers, but is surely easy to implement. Quote:
Quote:
Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
As for optimization, it matters where. Some things are better left as they fall, others aren't. On my quad core OC machine I ended up unrolling loops to squeeze the last fraction out of an algorithm. If it's the algo that compares pixels in an image similarity construct that batch-compares all images in a folder to all others detecting similar pseudo-dupes, you better believe it. It has assembler in it. And what's nerdy about knowing that you have squeezed 2 more ticks out of a loop when sitting on a water cooled, barely-stable, one degree away from failure, billion bytes juggling machine? Nothing I say. Now if you'll excuse me, I have a grin to wipe off my face. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Hi
When i start the program have message " HTTP Error 400 Bad request :( " Can you help me? |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Strange. I have no idea really :( /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Facebook did something to their places search, so I have to search w. a smaller radius for it to work properly. Fixed in build 55, which also allows listing of "homes" on FourSquare (these are otherwise hidden by default). This is off by default, though, change it in the "ZapLoc Checkins" config screen.
Enjoy. Or not :) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quick note: Did not get to check the chain thing. Will check it tonight if I can. :) Sorry for the delay. Been a crazy weekend. :p
|
All times are GMT. The time now is 15:16. |
vBulletin® Version 3.8.8