[PATCH 2/2] Ticket #831 Fix

Davide DB dbdavide at gmail.com
Tue Mar 10 06:55:29 PDT 2015


On Tue, Mar 10, 2015 at 12:52 PM, Joakim Bygdell <j.bygdell at gmail.com> wrote:
>

> You can change back to the first gas later in the dive if you have done a switch to another gas.
> If you have say 4 different gas mixes during a dive you can have a gas change series that does not follow the order of the gases in the table, with the exception that you always start with the first gas.
> So a switch series that look like this is fully valid. (1), 3, 1, 2, 4
> I think you have misunderstood what the default cylinder setting does.
> If you have AL80 as your default cylinder then all cylinders that are added
> to a particular dive will have the properties of an AL80; 11,1l, 207bar.

I know and I use it. But a default is something that once set shouldn't change.
>From a diver perspective: I dive a rebreather and my rebreather frame
aka my back gas is a D8,5L. It's always the same cylinder my last 100
dives. Shouldn't be a good candidate for a default cylinder?

I agree with your previsous consideration but try to explain this to
the average joe diver not a diver who understand proramming logic.

>> When I get stuck in some dead, usually I directly edit the xml file
>> but two friends of mine who are Subsurface new adopter were caught
>> immediately into the "current gas is in use..." dead end without being
>> able to solve it.
>> Copy-paste was a Linus brilliant idea to avoid inserting each dive all
>> the tanks. Others (like me) suggested having predefined cylinder sets
>> saved into user preferences but this solution implied a whole new UI
>> and Linus solution it simple and effective.
>> Currently it become a dangerous option because if you copy-paste a
>> slightly different tank set your gas changes will likely get screwed
>> up mainly because the cylinder index get copy-pasted too.
>
>
> How will the gas changes be altered if you paste cylinders into the table
> since you need more than one cylinder in the table in order to make a gas
> switch.
> Unless of course that you add cylinders, assign switches and then paste the
> information from an older dive.

Hi Joakim,
I know perfectly how the entire procedure should work because I use it
for nearly all my dives. Moreover the current impl was modified even
for my request.
But... After few releases and after tank index addition the whole
procedure become a minefield:

http://trac.subsurface-divelog.org/ticket/834
http://trac.subsurface-divelog.org/ticket/832
http://trac.subsurface-divelog.org/ticket/831

In addition there are at least another couple of hard bugs I got stuck
while playing with the tanks but I was not able to replicate.
Even if it's not strictly related, this happens while compiling dive data:

http://trac.subsurface-divelog.org/ticket/843

Look at screencast.

So really a minefield. When I get stuck I edit the xml, my buddies
simply don't compile tank and gas switch data anymore: too much
hassle.

As I said, I can live with them, there are a lot of things to be done
and priority is chosen by developers. I filed that bugs just to have a
future reference.
I jumped in this discussion because I was the reporter of this bug, I
read that a gas switch at 0 at 0 doesn't make sense and I felt that the
discussion was drifting away from real diving scenario.

Sunday a friend of mine who use Subsurface come back from a relaxing
ten days diving in the Yucatan cenotes. 18 dives.  He is full cave
trained so the daily tank set was:

D11L (EAN32)
D11L (EAN32) + AL80 (EAN32)
D11L (EAN32) + AL80 (EAN32) + AL40 (Oxygen)

He set as default tank the D11L (an AL80 twin) and for some dives he
tried to copy the same set from the past year vacation. He got stuck
in all of the above bugs...

Every day in the Yucatan cenotes dozen of divers dive in this way. Do
not consider them outlier.

Bye

-- 
Davide
https://vimeo.com/bocio/videos


More information about the subsurface mailing list