maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) (https://talk.maemo.org/showthread.php?t=73068)

andrei1089 2011-05-17 19:14

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Are you planning to display location of friends from latitude?

petur 2011-05-18 08:32

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
I have two issues:
1) it stops updating (latitude) after some time. I use alarmed to switch to offline at night, in the morning it goes normal again and ZapLoc starts its updates. Currently set to 5 minutes. After about an hour, the updates stopped.
2) roughly 40% to 50% of the updates are not ACWP (cell tower) locations but CWP (country) locations. Either there is a bug or this is an issue of Power v47 or CSSU?

Will try the daemon on the commandline to log what it says

edit: on starting the daemon, it didn't mention that it was already running, so the daemon wasn't running anymore? It is configured to start at boot and never quit.

edit2: on the commandline, at least one line said mode 0 while another said mode 2

MasterZap 2011-05-18 08:46

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Right, it displays all incoming GPS samples of all qualities, good and bad, but it won't act on them. It will clearly tell you when it is creating a latitude update by saying "Latitude Update" in the spew of crap, as well as spitting out all it's own internal thinking about any auto-checkin spots... you'll read stuff like:

"No, I'm already logged in to X, doign nothing"
"Closest auto-checking spot is X at distance Y, further than radius, ignoring"

...and loads and loads of internal monologue like that.

/Z

MasterZap 2011-05-18 08:47

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by andrei1089 (Post 1008483)
Are you planning to display location of friends from latitude?

Yes, but unfortuinately this is impossible with the current API (crazy, right? Everyone on the latitude api mailing list is complaining weekly about that "misfeature")

/Z

MasterZap 2011-05-18 09:06

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by Reflektorfalke (Post 1008472)
EDIT:
SOLVED by purging, reinstalling and reauthorizing to Facebook using MicroB instead of Opera Mobile. Seems like authorization does not complete correctly.

Was the auth launching opera mobile for you? Hmm. I have not tested if that works at all... frankly, I tried to write code so it would use MicroB... coz if you just try "webbrowser.open()" in python, you a) get opera mobile and b) it doesn't even open the page you wanted but displays an error....(!)

Maybe I should make more certain it uses MicroB.... (tho I have no clue how to do that, maybe call it on the command line directly!??)

/Z

petur 2011-05-18 10:01

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
OK, so there seems to be a bug in the ACWP code as the log shows a CWP location with mode 2. Accuracy 16000

Would it be possible to ad an option to set a minimum accuracy for a ACWP location to be accepted? And maybe allow to select if it should either discard the location or try GPS?

here's part of the log:
Code:

Sleeping GPS for approx. 5 minutes
2011-05-18 11:39:59: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0
Starting GPS...
2011-05-18 11:44:58: Got loc data 50.400000,4.400000 (acc 16000.000000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
C
2011-05-18 11:44:58: Latitude update 50.400000,4.400000 (acc 16000.000000)
{'latitude': 50.399999899999997, 'kind': 'latitude#location', 'accuracy': 16000, 'longitude': 4.3999999000000001, 'timestampMs': '1305711904703'}
2011-05-18 11:45:04: General location update 50.400000,4.400000 (acc 16000.000000)
Searching for closest spot:
Sleeping GPS for approx. 5 minutes
2011-05-18 11:45:05: Got loc data 50.400000,4.400000 (acc 16000.000000) alt nan (32767.500000), head nan, speed nan, Mode 0, Try 0
Starting GPS...
2011-05-18 11:49:58: Got loc data 51.029902,3.764234 (acc 206.965000) alt nan (32767.500000), head nan, speed nan, Mode 2, Try 0
C

on the other hand, the log does print a location before it says it switches on GPS...

morti 2011-05-18 10:29

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by MasterZap (Post 1008900)
Was the auth launching opera mobile for you? Hmm. I have not tested if that works at all... frankly, I tried to write code so it would use MicroB... coz if you just try "webbrowser.open()" in python, you a) get opera mobile and b) it doesn't even open the page you wanted but displays an error....(!)

Everything works just fine by using Opera authentication, except Facebook. I haven't verified if using MicroB fixes the error with Facebook, but apparently it should.

MasterZap 2011-05-18 10:44

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by petur (Post 1008950)
Would it be possible to ad an option to set a minimum accuracy for a ACWP location to be accepted? And maybe allow to select if it should either discard the location or try GPS?

There alerady is, but I just realized I put this inside an if-statement only applying to GPS mode. I put a separate (bigger) rejection threshold of 9999 meters for cell locations (it seems these bogus ones always come in at about 16000 meters accuracy)

Quote:

Originally Posted by petur (Post 1008950)
on the other hand, the log does print a location before it says it switches on GPS...

Precognition ;) :cool: :eek:

/Z

MasterZap 2011-05-18 10:46

Re: *ZapLoc* - Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) - testers wanted
 
Quote:

Originally Posted by morti (Post 1008975)
Everything works just fine by using Opera authentication, except Facebook. I haven't verified if using MicroB fixes the error with Facebook, but apparently it should.

Ah.

Facebook is really weird, they put their auth stuff in a # thing rather than as a proper HTML parameter, so I had to jump through additional hoops (including bouncing off a page of my site with javascript on it that takes the stuff after the hashtag and makes a parameter out of it) to make that work. Prossibly this javascript for some reason doesn't work with facebook... I'd guesstimate?

/Z

MasterZap 2011-05-18 12:18

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by rmayrink (Post 1008476)
No update available this time (apt-get update/upgrade as root). I did an update today, but the problem still happens. The update is already available?

Heh, seem's I've been screwing up my packaging (I tried to "automate" it and all clever and stuff) and some of my changes hasn't apparently made it into the actual packages (duh).

Should be fixed now (anything newer than 0.9.4_30)

How a little wrong copy in a script can screw things up ;)

/Z


All times are GMT. The time now is 11:42.

vBulletin® Version 3.8.8