<div dir="ltr">Or simply, where a cursor or a mark is placed...</div><br><div class="gmail_quote"><div dir="ltr">Il giorno dom 1 lug 2018 alle ore 22:07 tormento <<a href="mailto:turment@gmail.com">turment@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I humbly suggest that the split dive option should be by time and by depth level, with both asked after selecting one of them and not hardcoded as 

<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">SURFACE_THRESHOLD.</span><div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I have attached the dive. It's one I did in very shallow water, half as a open diver training assistant, the second during a rescue simulation. The time I'd like it to be splitted is something like 29:30 from the beginning.</span></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno dom 1 lug 2018 alle ore 21:50 Linus Torvalds <<a href="mailto:torvalds@linux-foundation.org" target="_blank">torvalds@linux-foundation.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jul 1, 2018 at 12:06 AM tormento <<a href="mailto:turment@gmail.com" target="_blank">turment@gmail.com</a>> wrote:<br>
><br>
> Sorry but not working for me. Perhaps I put computer not so shallow to recognize as “surface”.<br>
<br>
As with a lot of subsurface issues, one of the main complications is<br>
having the UI integration.<br>
<br>
A lot of these things are likely fairly simple to implement, but there<br>
are people like me who really don't do UI, but could do the "split<br>
dive" part fairly easily. And there are probably people who could do<br>
the UI trivially, but then don't feel comfy with the low-level dive<br>
profile data structures.<br>
<br>
Things like the automatic dive splitting by surface time was "easy" to<br>
do, because it really ended up just needing another menu entry in the<br>
dive menu.<br>
<br>
I do wonder what your dive computer reports the depth as? We consider<br>
"surface" to be 75 cm (so about 2.5 ft). It's an entirely arbitrary<br>
depth, going back to 2012 and never tweaked.<br>
<br>
So I wonder what depth your dive computer reported for your surface<br>
time. Maybe we could just tweak that SURFACE_THRESHOLD, and make our<br>
automatic dive splitting JustWork(tm) for you too.<br>
<br>
                   Linus<br>
</blockquote></div>
</blockquote></div>