Re: Import dives from Cressi Cartesio

2020-02-10 Thread Jef Driesen

On 2020-02-08 10:46, Martin de Weger wrote:

Yep, here it is.


It looks like there are gas switches in the dives that fail to parse. Is 
that correct? Two of those dives are a bit unusual, so I want to double 
check with you.


For example the dive on 2020-01-27 14:51:00 starts with Air. After 35 
seconds there is a switch to EAN32, which lasts for the rest of the 
dive.


The dive before (2020-01-26 16:14:00) shows the same with a switch from 
Air to EAN32 after 90 seconds.


The dive on 2020-01-26 13:11:00 looks a bit more normal, with a switch 
from air to EAN32 after 29:15.


Jef
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: [Subsurface-divelog/subsurface] Filter: implement starts-with and exact modes (#2612)

2020-02-10 Thread Robert Helling
Hi,

taking this back to the mailing list...

> On 10. Feb 2020, at 23:37, bstoeger  > wrote:
> 
> Heh... I already had written
> 
> using StrCheck = auto (*) (const QString , const QString ) -> bool;
> and then changed it back to more classical C-style. I think using Type = 
> complex_type is one of the cases where new style is more readable than 
> classical style (typedef complex_type Type).
> 
> The use of lambdas in this commit is due to laziness to define global 
> functions. The rest is fairly standard idiomatic C.
> 
> You probably haven't seen any really advanced c++. That can be total 
> gibberish to me as well. :)
> 
> You will have a field day with the new ranges library. Though it will take 
> some years until Qt is compatible with that, if ever. After all Qt's 
> container still don't interact nicely with C++11.
> 
on that topic, can you recommend a source (book, tutorial etc), that brings 
somebody who knows C sufficiently well up to speed with modern C++ (including 
memory management, standard library, closures etc)? It shouldn’t be all from 
the start but just a diff to C and sufficiently compact so that I have a chance 
to get through it in the little time available that I unfortunately have? On 
that account: Semester just ended \o/, this week exams and then it will 
hopefully be a bit better.

Best
Robert


signature.asc
Description: Message signed with OpenPGP
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface