Re: [PATCH] Re: Allow replanning of logged dives

2015-10-13 Thread Davide DB
On Tue, Oct 13, 2015 at 12:28 AM, Dirk Hohndel wrote: >> >> This displays the TTS as 121 minutes for the maximum. Changing this for a >> string like „TTS: long“ would of course introduce a new string so I left it >> out. To be added later. > > I think "TTS > 120min" would be

Re: Allow replanning of logged dives

2015-10-13 Thread Anton Lundin
On 13 October, 2015 - Davide DB wrote: > On Mon, Oct 12, 2015 at 4:36 PM, Anton Lundin wrote: > > > > Currently it doesn't do any gas-switches in its calculations, because > > thats a quite big rabbit-hole to go down. IE, when should it switch gas? > > At mod? 1.6, 1.5 or 1.4?

Re: [PATCH] Re: Allow replanning of logged dives

2015-10-13 Thread Anton Lundin
On 12 October, 2015 - Dirk Hohndel wrote: > On Mon, Oct 12, 2015 at 11:16:09PM +0200, Robert C. Helling wrote: > > Hi, > > > > > On 12 Oct 2015, at 16:36, Anton Lundin wrote: > > > > > > But still a upper limit of the TTS is anyhow a good idea. > > > I'll clobber up a patch

Re: Allow replanning of logged dives

2015-10-13 Thread Davide DB
On Mon, Oct 12, 2015 at 4:36 PM, Anton Lundin wrote: > > Currently it doesn't do any gas-switches in its calculations, because > thats a quite big rabbit-hole to go down. IE, when should it switch gas? > At mod? 1.6, 1.5 or 1.4? Configurable? > > So when i wrote that i just

Re: [PATCH] Re: [PATCH] Re: Allow replanning of logged dives

2015-10-13 Thread Anton Lundin
On 13 October, 2015 - Robert C. Helling wrote: > From 4847d1a16483ac4208ca86f5157abebb4d67a164 Mon Sep 17 00:00:00 2001 > From: "Robert C. Helling" > Date: Tue, 13 Oct 2015 11:21:14 +0200 > Subject: [PATCH] Say in infobox if NDL or TTS calculation was cut-off > >

[PATCH] Re: [PATCH] Re: Allow replanning of logged dives

2015-10-13 Thread Robert C. Helling
Hi,On 13 Oct 2015, at 10:27, Anton Lundin wrote:For the TTS I think its really important to be clear that its somewhereabove that number. For the ndl calculations it really didn't matter thatit was capped at 120min, because a NDL of 120 min means just "LOTS", buta TTS you

Re: Allow replanning of logged dives

2015-10-13 Thread Davide DB
On Tue, Oct 13, 2015 at 10:24 AM, Anton Lundin wrote: > > Maybe you would like to sum this discussion up into something > understandable in the manual, so others thinking about this would be > able to get their answers there? Argh! Tough task :) I saw Willem warned about user

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
On 12 October, 2015 - Davide DB wrote: > Hi Guys, > > Given that you are working a lot on planner and deco calculation, I > will try to resume this old discussion. > > Is there a smarter way to calculate TTS (Time To Surface) even in a > tech dive without burning the cpu? Its a cubic function

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
Hi Guys, Given that you are working a lot on planner and deco calculation, I will try to resume this old discussion. Is there a smarter way to calculate TTS (Time To Surface) even in a tech dive without burning the cpu? Maybe you could calculate it only every minute hence you reduce the number

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
On 12 October, 2015 - Davide DB wrote: > On Mon, Oct 12, 2015 at 4:00 PM, Anton Lundin wrote: > > On 12 October, 2015 - Anton Lundin wrote: > > > >> > > > > Fyi. I sketched out approximately that dive in the planner, 30min @ 70m > > 16/60, and there is no problem calculating

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 4:00 PM, Anton Lundin wrote: > On 12 October, 2015 - Anton Lundin wrote: > >> > > Fyi. I sketched out approximately that dive in the planner, 30min @ 70m > 16/60, and there is no problem calculating the TTS on this i7-4600U > @2.10Ghz. The calculation is

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 3:52 PM, Anton Lundin wrote: > IE during your 80m phase, you have a TTS which is enormous, because it > calculates how long it would take you to reach the surface on the gas > your currently on. > > My suggestion here is that we cap the TTS at something

Re: Allow replanning of logged dives

2015-10-12 Thread Anton Lundin
On 12 October, 2015 - Anton Lundin wrote: > On 12 October, 2015 - Davide DB wrote: > > > Actually this feature already exist (Show/NDL/TTS) but I was not able > > to see it working with my typical profiles: > > three deco gases/ 2h-3h runtime. See the attachment. > > > > Yea, the thing is that

Re: Allow replanning of logged dives

2015-10-12 Thread Davide DB
On Mon, Oct 12, 2015 at 4:36 PM, Anton Lundin wrote: > > > But still a upper limit of the TTS is anyhow a good idea. > I'll clobber up a patch for that unless someone else beats me to it. Thank you for your explanation and support -- Davide https://vimeo.com/bocio/videos

[PATCH] Re: Allow replanning of logged dives

2015-10-12 Thread Robert C. Helling
Hi,On 12 Oct 2015, at 16:36, Anton Lundin wrote:But still a upper limit of the TTS is anyhow a good idea.I'll clobber up a patch for that unless someone else beats me to it.here is my attempt at that. From 53982c6d9c29676611292d29eed3ccdb4df661bd Mon Sep 17 00:00:00 2001 From:

Re: [PATCH] Re: Allow replanning of logged dives

2015-10-12 Thread Dirk Hohndel
On Mon, Oct 12, 2015 at 11:16:09PM +0200, Robert C. Helling wrote: > Hi, > > > On 12 Oct 2015, at 16:36, Anton Lundin wrote: > > > > But still a upper limit of the TTS is anyhow a good idea. > > I'll clobber up a patch for that unless someone else beats me to it. > > > >

Re: Allow replanning of logged dives

2015-05-12 Thread Davide DB
On Mon, May 11, 2015 at 6:41 PM, Dirk Hohndel d...@hohndel.org wrote: So the real difference is that when you edit a dive we normally want to be in regular edit more where you can edit notes, tags, buddies, etc. We can take this in two directions: a) allow both modes, edit and replan. Have

Re: Allow replanning of logged dives

2015-05-12 Thread Davide DB
On Tue, May 12, 2015 at 10:56 AM, Robert C. Helling hell...@atdotde.de wrote: I didn't go for your simpler approach as it is ambiguous: Given a real dive, at which point is the planner supposed to take over? The first time you violate the ceiling? Or the last? Imagine for example that you first

Re: Allow replanning of logged dives

2015-05-11 Thread Dirk Hohndel
On Sat, May 09, 2015 at 10:07:06PM +0200, Robert C. Helling wrote: Hi everybody, Hmm, Edit dive in planner which begs the question... why ARE we editing the dive in the planner and not in the simpler dive edit mode. I'm not saying this is wrong (and I'm taking the patch), I'm just

Re: Allow replanning of logged dives

2015-05-09 Thread Robert C. Helling
Hi everybody, Hmm, Edit dive in planner which begs the question... why ARE we editing the dive in the planner and not in the simpler dive edit mode. I'm not saying this is wrong (and I'm taking the patch), I'm just asking a questions… Hmm. Dunno. Maybe „Edit profile in planner“ (and also

Re: Allow replanning of logged dives

2015-05-09 Thread Dirk Hohndel
On Fri, May 08, 2015 at 11:20:40PM +0200, Robert C. Helling wrote: Hi, here are two more patches I hope address your suggestions: On 08 May 2015, at 19:23, Dirk Hohndel d...@hohndel.org wrote: So why would this be called replan instead of edit dive“? This is easy and in patch 0001.

Re: Allow replanning of logged dives

2015-05-08 Thread Dirk Hohndel
Great start, Robert. So why would this be called replan instead of edit dive? And if a dive isn't planned but edited, then we shouldn't have the dive plan language in the notes field (this happened when I clicked save new). But overall I love it. /D

Re: Allow replanning of logged dives

2015-05-08 Thread Davide DB
On Thu, May 7, 2015 at 11:43 PM, Robert C. Helling hell...@atdotde.de wrote: Hi, these two patches allow opening a logged dive in the planner via replan. This can be useful to see how much more deco would have been needed according to the planner. This is inspired by a suggestion by

Re: Allow replanning of logged dives

2015-05-08 Thread Robert C. Helling
Hi,here are two more patches I hope address your suggestions:From bb921c22286f0e70e9c56f32d45c0a2a907bdeb3 Mon Sep 17 00:00:00 2001 From: Robert C. Helling hell...@atdotde.de Date: Fri, 8 May 2015 23:16:26 +0200 Subject: [PATCH 1/2] Change menu entry for replan Signed-off-by: Robert C. Helling

Allow replanning of logged dives

2015-05-07 Thread Robert C. Helling
Hi, From ec79ffdefd466d1e4a07fddfab04cdd8d3334892 Mon Sep 17 00:00:00 2001 From: Robert C. Helling hell...@atdotde.de Date: Thu, 7 May 2015 22:59:12 +0200 Subject: [PATCH 1/2] Only warn when trying to replan a logged dive If there are more than 100 samples, average some of them so we end up with