[PATCH] Re: User manual: information required

Robert Helling helling at atdotde.de
Thu Sep 17 08:44:14 PDT 2015


Willem,

> On 17.09.2015, at 04:33, Willem Ferguson <willemferguson at zoology.up.ac.za> wrote:
> 
> Robert:
> The automated calculation of fingerprints for pre-existing photographs in a collection that is mapped to Subsurface dives: has this happened already or is code still under development?


Neither, unfortunately. I had forgotten about this. But this patch should implement it.


One comment: Hashing a lot of images is of course very CPU consuming. What this does is that when a file is loaded (from xml or git) and it finds an image for which it does not know the hash, yet, it starts a background task to compute it (the hashes are saved upon quitting subsurface). This is not blocking but the user might notice an increase in CPU load. I decided that this should be better (it should happen only once in a lifetime per image file) than adding another thing to the UI where you can trigger this.

The result is that the divelist will be marked as changed even though the user did not to any explicit editing.

If you Dirk want me to take different choices here, please let me know.

Best
Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150917/da3f8646/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Hash-images-upon-loading-divelog-file-rather-than-when.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150917/da3f8646/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150917/da3f8646/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150917/da3f8646/attachment-0001.sig>


More information about the subsurface mailing list