autocomplete list behavouir

Pierre-Yves Chibon pingou at
Tue Oct 2 08:43:33 PDT 2012

On Tue, 2012-10-02 at 08:31 -0700, Dirk Hohndel wrote:
> On Oct 2, 2012, at 7:39 AM, Pierre-Yves Chibon wrote:
> >>>> Yes - one of my post-2.0 ideas is to create a little web service with companion apps on iPhone and Android.
> >>>> Basically what this would do is this: you are at a dive site, you start your little app. It acquires the GPS coordinates, you can name the location / dive site, and then it pushes that tuple to the web server with your ID (just some numeric ID that you get when registering with the service).
> >>>> Then when you are back at home or at the hotel and start subsurface it connects to the same server and offers you the locations that you saved that way… there could even be some time based matching of dive and location acquisition time (with some fuzz factors based on the fact that you likely did this a few minutes before or after actually diving :-)
> >>>> 
> >>>> Does this sound useful?
> >>> 
> >>> Do you consider python for such (web)app ? If so I'm definitively in :)
> >> 
> >> I'm totally open to the implementation language. Since this would be running on my colo server (Mac Mail.App thinks this should read "cool server" :-) ) I have some concerns about security and about giving admin rights to others, but within those restraints I'm open to anything.
> > 
> > The server should be able to run anywhere no?
> > As in, you may have yours, someone else their but of course, up to us to
> > provide a 'public'/main one.
> > So no need for admin right at first I'd think :)
> How long do you think it would take you to throw together a quick first implementation?

Actually not so long, especially since it won't store so many
- Date
- Time
- GPS coordinate
- Name of the dive/location
- User/pass
We can always expand after that.

We could make a very raw release with:
- Create account on the website (local user ? openid ? browserid ?)
   - Probably local user first but it would be nice to support the other
- Visualize your dives as simple list
- Send your dives to the server
- Retrieve your dives from the server (json or xml as we prefer)

That I can hack in a few hours. What will take longer is using an api to
display the dives onto a map. I don't know the OpenStreetMap API, but we
can keep this for a release 0.2.0 I think.

> I just asked on G+ to see if there is any Android app developer out 
> there who could help put a POC together…

Nice :)
One thing I am thinking of, the app should be able to work w/o internet.
As in, I'm on the boat, I open my phone, save the location which is only
sync to the server if/when I have internet (otherwise, just store it
I guess it's a given but I am one of the few with a smartphone and no
internet on it :-)


More information about the subsurface mailing list