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)

MasterZap 2011-05-19 14:24

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 1010024)
I just had ZapLoc stop updating Latitude again - it is set to check every 5 minutes and update at least once per hour. Current latitude data was 2 hours old, so I decided to start de daemon in the terminal to check, and it told me it detected and killed the running version.

So the daemon isn't crashing, but why is it stopping the updates?

How to go about to debug?

Start it in terminal and leave it running in terminal. If it stops updating, tell me how the end (the few dozen last lines) of that looks. That's my best guess. Does it end with a "sleeping GPS for x minutes" or not, is probably the most important question....

/Z

petur 2011-05-19 14:31

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
which is what I did right after posting....

It is now a little over an hour, and it fetches location every 5 minutes, then says it is within 100m and goes to sleep again.

So it is ignoring my setting to update at least every hour.

I can try to keep it running and see what it does when I drive home in a few hours

petur 2011-05-19 15:11

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
After two hours it eventually did a latitude update, but that was because it seemed to have picked up another cell tower finally.
Log available on request

So it looks like there is an issue with the code to force an update after xx time.

Storm_11 2011-05-20 01:56

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
just tested exclusively with facebook places. Seems to work out. One thing to point out. On facebook, it does not show the username on the location checkin.

http://img706.imageshack.us/img706/3606/image1vtz.jpg

Uploaded with ImageShack.us

Idea for a future feature.... in heavily cluttered places it can be hard to find the icon for the place youre in.... so maybe a search function?

nseika 2011-05-20 03:55

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
The text box can't accept non-Latin text.
Tried pasting text in it, and displayed boxes, then crashed.

Well, maybe not a big deal for most peoples.

morti 2011-05-20 07:44

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

Originally Posted by Storm_11 (Post 1010620)
Idea for a future feature.... in heavily cluttered places it can be hard to find the icon for the place youre in.... so maybe a search function?

Another vote for this feature, in heavily cluttered places it's nearly impossible to find the correct place for check-in.

Similarly, when creating a zaploc for multiple services at once, sometimes it's not possible to set the same check-in location for all services as the list is filled with irrelevant places. A search would be helpful here as well.

Going one step further, what I would ideally like to see at any given time is a searchable list of nearby places that I can check in to, without ever even needing to look at the map. I could then do simple single-click check-ins or choose to create a zaploc for the best locations. But maybe that's just me :)

MasterZap 2011-05-20 09:55

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

Originally Posted by nseika (Post 1010643)
The text box can't accept non-Latin text.
Tried pasting text in it, and displayed boxes, then crashed.

Well, maybe not a big deal for most peoples.

Right, well, the text box is home-implemented (since all the GUI is home implemented in... drumroll please.... PYGAME :eek: ) so I would NOT hold my breath for this. At all.

Basically, be happy there is a text-box at all :)

/Z

ndi 2011-05-20 10:04

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Last night I fired it up, and used tower lock, then exited. This morning, battery was at 70% and it was still trying. Had to kill daemon. Tried again, hooked again, until I went outside and it locked.

So, kill it from CLI after use?

MasterZap 2011-05-20 10:49

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

Originally Posted by ndi (Post 1010864)
Last night I fired it up, and used tower lock, then exited. This morning, battery was at 70% and it was still trying. Had to kill daemon. Tried again, hooked again, until I went outside and it locked.

So, kill it from CLI after use?

Tower lock is very experimental so far and has some issues as noted above. Most of energy has gone into "intelligent GPS lock", but even that has some issues (like, if it can't find anything, it seems to try forever, which is bad). I need to add a timeout. That is stil missing.

But tower lock per se shouldn't really consume power, since it's information your device already has by virtue of being connected to the cellular network.

Knowing my N900 as I do, losing only 30% over night would be fantastic :) (I always charge overnight)

/Z

MasterZap 2011-05-20 10:53

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

Originally Posted by morti (Post 1010732)
Another vote for this feature, in heavily cluttered places it's nearly impossible to find the correct place for check-in.

There is a vague plan for a text-list at some point... just not yet.

Quote:

Originally Posted by morti (Post 1010732)
Similarly, when creating a zaploc for multiple services at once, sometimes it's not possible to set the same check-in location for all services as the list is filled with irrelevant places. A search would be helpful here as well.

Good to know the algorithm:

The list of places are filled in based on a center point. For the search on the service you clicked, the center point is that of the thing you clicked (basically guaranteeing that the item you clicked are top on the list for that service). For the OTHER services, though, search center is *screen center* (tiny crosshair).

If I ever implement scrolling in the little popup lists, this will become a non-problem, I hope. Searching is an idea too... but a much bigger project.

It's all down to the insanity of me making my own UI, but it's fun that way :)

Quote:

Originally Posted by morti (Post 1010732)
Going one step further, what I would ideally like to see at any given time is a searchable list of nearby places that I can check in to, without ever even needing to look at the map. I could then do simple single-click check-ins or choose to create a zaploc for the best locations. But maybe that's just me :)

You mean m.gowalla.com? :)

Duly noted, however, in my mind, the UI is really just a tool to create ZapLoc's, and once you have those, you never use anything else (and auto-checkins take care of the bulk of checker-innery for you).

This is a hobby/weekend/evening project after all, and I make it _primarily_ to do what I myself want to do, _secondarily_ as a coding excercise, and _tertiary_ because I'm mad, MAD I TELL YOU!

/Z


All times are GMT. The time now is 22:13.

vBulletin® Version 3.8.8