webservice dive matching?

Dirk Hohndel dirk at hohndel.org
Tue May 21 09:04:47 PDT 2013


On Tue, 2013-05-21 at 09:02 -0700, Linus Torvalds wrote:
> On Tue, May 21, 2013 at 8:54 AM, Mark Kampe <mark.kampe at gmail.com> wrote:
> >
> > I should also observe (in case it might be relevant) that I did
> > not actually upload the locations to the server until I got home.
> 
> Ok, I'm starting to suspect that *this* is what triggers the bug.
> 
> The companion app probably saves things internally as a "time_t", and
> then just exposes that as local-time when uploading. Doing the
> conversion at upload time, rather than at the time of the dive.
> 
> Which would be a horrible horrible bug (no data connection while on a
> dive trip, upload when you get home), but would explain why we've not
> seen it before (people usually have a data connection - wifi at the
> hotel if nothing else - and upload nearer to the dive).

A brief look at the source (oh how I love Java... NOT) seems to confirm
that suspicion...

/D



More information about the subsurface mailing list