Hi,

not that  really followed this and have anything significant to say about dive 
computer download but…

> On 23. Apr 2018, at 20:57, Linus Torvalds <[email protected]> 
> wrote:
> 
> It's dangerous because the rule is "once we've downloaded the dives on
> one machine, we don't want to download them again".
> 
> You can see the breakage by:

and you know the obvious solution: store a random base64 encoded string 
(containing what libdc thinks is the „serial number“ and the „fingerprint“) 
with the dive computer field for a dive. Even if that is and additional 100 
bytes it will not significantly bloat our files. And if you don’t want this 
information in the dive, store your hash table of latest dives in the log, as 
it is specific to the log and not the machine. I have great respect for your 
opinion on aesthetic views but here it seems to stop us from doing the right 
thing.

Of course it would be great if libdc provided the information for which dive 
computers this is worthwhile doing (where it prevents downloading the whole 
log).

Just my $.02

Robert

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to