Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Rick Walsh
On 7 February 2017 at 18:47, Robert Helling wrote: > Hi, > > On 06 Feb 2017, at 19:30, Robert Helling wrote: > > a no progress report: I guessed it’s the max_ambient_pressure but now I > know, it is not. Tonight, I will not have further time to look into this > (we have visitors), so if someone

Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Robert Helling
On 07 Feb 2017, at 09:09, Rick Walsh wrote:That quirk is indeed odd.  I can see how it could have this unexpected effect, but are you sure that's the entire cause?  I found no change at all when the surface interval was in the range 10min to 47hr.  Surely there ought to be so

[PATCH 2/2] travis: Run tests on mobile app to

2017-02-07 Thread Anton Lundin
Signed-off-by: Anton Lundin --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42c4f81..be842a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,4 +48,4 @@ script: cd .. ; bash -e ./subsurface/scripts/build.sh -

[PATCH 1/2] travis: Run a xfvb for TestPreferences

2017-02-07 Thread Anton Lundin
Signed-off-by: Anton Lundin --- .travis.yml | 6 +- tests/CMakeLists.txt | 12 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2850b02..42c4f81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,10 @@ before_install:

[travis-android PATCH 1/2] Don't cache things that are fast

2017-02-07 Thread Anton Lundin
Downloading tar-balls and android-ndk is fast, so don't cache those. Signed-off-by: Anton Lundin --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6fadf54..6448871 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ b

[travis-android PATCH 2/2] travis-android: Fix cache handling

2017-02-07 Thread Anton Lundin
Signed-off-by: Anton Lundin --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6448871..492132d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,11 @@ before_install: - docker exec -t builder apt-get install -y libx11

Re: [PATCH 2/2] travis: Run tests on mobile app to

2017-02-07 Thread Anton Lundin
On 07 February, 2017 - Anton Lundin wrote: > Signed-off-by: Anton Lundin > --- > .travis.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/.travis.yml b/.travis.yml > index 42c4f81..be842a0 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -48,4 +48,4 @@ script: >

[PATCH v2 1/3] travis: Run a xfvb for TestPreferences

2017-02-07 Thread Anton Lundin
Signed-off-by: Anton Lundin --- .travis.yml | 6 +- tests/CMakeLists.txt | 12 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2850b02..42c4f81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,10 @@ before_install:

[PATCH v2 2/3] travis: actually build the mobile version to

2017-02-07 Thread Anton Lundin
Signed-off-by: Anton Lundin --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42c4f81..e6fc925 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,6 @@ script: - perl -pi -e 's/-DNO_PRINTING=OFF/-DNO_PRINTING=ON -DNO_MARBL

[PATCH v2 3/3] travis: Correct infrastructure for tests on mobile

2017-02-07 Thread Anton Lundin
In the previous code, there was a mistake in how cwd in travis works. This solves that by just using make -C instead. The only issue is that the tests currently fail. Signed-off-by: Anton Lundin --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml

Re: WIP, PATCH - Don't Merge Yet - MainTab.cpp rewrite

2017-02-07 Thread Anton Lundin
On 07 February, 2017 - Tomaz Canabrava wrote: > From 0cd4e01b97cadffb81942dfe37989b904e539ba1 Mon Sep 17 00:00:00 2001 > From: Tomaz Canabrava > Date: Mon, 6 Feb 2017 16:56:13 +0100 > Subject: [PATCH 01/27] Boilerplate to unmess the MainTab > > MainTab currently it's a Mess. I mean, a *huge* one

Re: WIP, PATCH - Don't Merge Yet - MainTab.cpp rewrite

2017-02-07 Thread Tomaz Canabrava
"ups" On Tue, Feb 7, 2017 at 2:19 PM, Anton Lundin wrote: > On 07 February, 2017 - Tomaz Canabrava wrote: > > > From 0cd4e01b97cadffb81942dfe37989b904e539ba1 Mon Sep 17 00:00:00 2001 > > From: Tomaz Canabrava > > Date: Mon, 6 Feb 2017 16:56:13 +0100 > > Subject: [PATCH 01/27] Boilerplate to unm

Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Dirk Hohndel
On Tue, Feb 07, 2017 at 08:47:41AM +0100, Robert Helling wrote: > Hi, > > > On 06 Feb 2017, at 19:30, Robert Helling wrote: > > > > a no progress report: I guessed it’s the max_ambient_pressure but now I > > know, it is not. Tonight, I will not have further time to look into this > > (we have

Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Linus Torvalds
On Tue, Feb 7, 2017 at 12:25 AM, Robert Helling wrote: > > In the model, there is a regeneration of the crushing radius, but it has > this ridiculous half-time of two weeks. I may be misreading things, but the vpmb C and python conversions (from Bryan Waite) do clear the max crushing pressure in

Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Stefan Fuchs
Hi All, Am 07.02.2017 um 09:09 schrieb Rick Walsh: > >> On 06 Feb 2017, at 19:30, Robert Helling > > wrote: >> >> a no progress report: I guessed it’s the max_ambient_pressure but >> now I know, it is not. Tonight, I will not have further time to >> l

Downloading FTDI dive log using desktop Subsurface on Android

2017-02-07 Thread Willem Ferguson
I am working with the Android version of Subsurface desktop and attempting download of dive logs from a FTDI dive computer. Hardware issues: Firstly, the Tusa does not turn into PC download mode if the USB bus does not supply power. Possibly on this phone the mini-USB plug does not supply pow

[PATCH]Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Robert Helling
Hi,On 07 Feb 2017, at 19:53, Stefan Fuchs wrote:I understand that we don't want to tweak the VPM-B implementation to make the results look nicer w/o knowing if this is then still in line with the ideas of "the real model" and I fully agree to this. But maybe based on Linus finding t

Re: [PATCH]Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Rick Walsh
On 8 February 2017 at 07:24, Robert Helling wrote: > Hi, > > On 07 Feb 2017, at 19:53, Stefan Fuchs wrote: > > I understand that we don't want to tweak the VPM-B implementation to make > the results look nicer w/o knowing if this is then still in line with the > ideas of "the real model" and I f

Re: [PATCH]Re: Deco calculation for repetitive dive - strange effect

2017-02-07 Thread Linus Torvalds
On Tue, Feb 7, 2017 at 3:09 PM, Rick Walsh wrote: > > > On 8 February 2017 at 07:24, Robert Helling wrote: >> >> I guess (as so often) Linus is right, we should reset the state between >> dives (except of course tissue saturations) to get rid of this anomaly, and >> if other code does that even b

Re: TestParse fails

2017-02-07 Thread Miika Turkia
On Mon, Feb 6, 2017 at 8:51 PM, Dirk Hohndel wrote: > Miika, > > It looks like it has been a while that TestParse has been failing, lately > it even started crashing. I fixed the crashes (on a failed parse of CSV > data we should try to access a non-existing dive), but I can't quite > figure out w

Re: TestParse fails

2017-02-07 Thread Dirk Hohndel
> On Feb 7, 2017, at 9:04 PM, Miika Turkia wrote: > > On Mon, Feb 6, 2017 at 8:51 PM, Dirk Hohndel wrote: >> Miika, >> >> It looks like it has been a while that TestParse has been failing, lately >> it even started crashing. I fixed the crashes (on a failed parse of CSV >> data we should try t

Re: Downloading FTDI dive log using desktop Subsurface on Android

2017-02-07 Thread Anton Lundin
On 07 February, 2017 - Willem Ferguson wrote: > I am working with the Android version of Subsurface desktop and > attempting download of dive logs from a FTDI dive computer. > > Hardware issues: > > Firstly, the Tusa does not turn into PC download mode if the USB bus > does not supply power. Pos