So the interesting question is, how does DM4 know. In guessing your switching modes on the dive computer and DM4 recognizes that?
And then how are these dives separated in the UI?
/D
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To post to this group, send email to subsurfac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/543f0a90-686c-4d66-a6d5-e960dd61fb82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To post to this group, send email to subsurfac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/856b6313-ffce-4865-965a-5e35f392899e%40googlegroups.com.
On 01 Jan 2015, at 18:46, Dirk Hohndel <di...@hohndel.org> wrote:I'll need to come up with a good design for this...
On Oct 1, 2015 7:27 AM, "Giorgio Marzano" <marzano...@gmail.com> wrote:
>
> A more general but less clean way to approach
> the problem may be to detect surface intervals
> (depth < 0.5m and duration > 2s and mode ==
> freedive) directly at application level. Most of
> the dive detail could be recalculated (depths
> and times), but not all (temperature maybe)
Well, I wouldn't suggest doing that automatically, but I guess we could add the inverse of "merge selected dives" in the divelist menu in Subsurface.
So we could have a "split selected dives" option, and just break them up at the surface samples.
It *might* even be a sensible operation for scuba, on case somebody is *really* good at changing a tank. Some dive computers have a fairly long timeout for the dive to end (ie you really want to see something as two dives with a five minute surface interval, rather than as one dive with five minutes bobbing around on the surface).
Linus
English is not my language as you could have guessed. :)
"Shall" is the common way I have been instructed to use to phrase and mark requirements describing the desired behaviour of a system. I had some work rejected because of some 'should' or 'will'.
I was just making a proposal for the requirements that should guide the implementation of the feature I am asking. This is why I wrote "I would suggest".
It was not my intention to bully anyone (especially when answering to Linus :) ). I have a deep respect of your work and for the time you spent on this project.
Please accept my apologies
Giorgio
In an open source project sentences with "shall" always rub me the wrong way.
But hey, I'm always open to patches and I'm sure so is Jef when it comes to adding those events that you believe "shall" be there.
> - subsurface shall break dives by default when libdivecomputer returns a "surface interval" event
I don't think so. That's the user's decision.
> - subsurface shall break freediving dives by default when a surface interval is detected (i.e. depth < 0.5, duration > 3s)
Certainly not for the next release - and I'm not sure what the right logic here might be. I think I'd much rather make this a manual process.
Not making any pressure here about the schedule. About whether it should be automatic or manual consider that a freedive session could easily count 30 or 40 dives to split. This is why I would enable it by default in freedive mode. Of course the user could be able to disable it in the settings.
We are considering adding the spilt function for the upcoming release (assuming Linus finds the time). We already have the "merge selected dives" option.
These are both great news (for me)
Please don't get me wrong. I appreciate feedback and suggestions. But this is free software, written by people in their spare time... and it's primarily targeting scuba and to a lesser extend rebreather divers. If it is useful for free divers and we can make small adjustments here or there, sure. But let's make sure we keep expectations and reality in sync.
/D
I will never apologise enough. I am not new to open source, some time ago (15 years!!! OMG!) I worked on pnm2ppa, a ghostscript filter for an hp printer family. Not that impressive, I know, but I mention that to assure you that I really treasure open source and I try to contribute as I can. I am not into qt and, in general, gui programming but I checked out subsurface and would like to have a look at it.
I think that the changes we are discussing may really improve the experience for freedivers using subsurface. I know there are only a few, but it's a discipline which is gaining momentum, and there is still not a good divelog SW, free or commercial. Subsurface is available in multiple platforms, is free, has a mobile assistant. It could easily become "The freedivelog".
I will never apologise enough. I am not new to open source, some time ago (15 years!!! OMG!) I worked on pnm2ppa, a ghostscript filter for an hp printer family. Not that impressive, I know, but I mention that to assure you that I really treasure open source and I try to contribute as I can. I am not into qt and, in general, gui programming but I checked out subsurface and would like to have a look at it.
I think that the changes we are discussing may really improve the experience for freedivers using subsurface. I know there are only a few, but it's a discipline which is gaining momentum, and there is still not a good divelog SW, free or commercial. Subsurface is available in multiple platforms, is free, has a mobile assistant. It could easily become "The freedivelog".
G
--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To post to this group, send email to subsurfac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/c355e7ea-0384-429a-a3db-98d0895169f2%40googlegroups.com.
> Since you wrote Certainly not for the next release - and I'm not
> sure what the right logic here might be. I think I'd much rather make this
> a manual process. I tought it was not feasable.
Sorry, you lost me here. Can you try to phrase this differently?
The next release (4.5) should be out within a week or two. It will have
the option to automatically and completely split a dive with surface
intervals. So every time you spend at least one minute at the service it
will start a new dive - which means the single dive you download from your
dive computer that has 30 or 40 actual dives in it will turn into 30 or 40
actual dives. You will need to select that option from the context menu of
the dive list.
Does that make sense? Does that answer your question?
Program received signal SIGSEGV, Segmentation fault.0x00000000005cd23d in DiveListView::splitDives (this=0x160a180) at /home/gmarzano/src/subsurface/qt-ui/divelistview.cpp:625625 if (dive->selected)(gdb) list620 {621 int i;622 struct dive *dive;623624 for_each_dive (i, dive) {625 if (dive->selected)626 split_dive(dive);627 }628 MainWindow::instance()->refreshProfile();629 MainWindow::instance()->refreshDisplay();(gdb) print i$3 = 12(gdb) print dive$4 = (dive *) 0x73006e00000000(gdb) print *diveCannot access memory at address 0x73006e00000000(gdb)