dive planner fixes [was: Re: source code may be getting a bit intimidating]
Linus Torvalds
torvalds at linux-foundation.org
Mon Jan 7 11:14:37 PST 2013
On Mon, Jan 7, 2013 at 11:00 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> So there's an oddity that I noticed as well. As you enter the plan it
> tries to fill things in and so when you add the '+5' the gas for that
> segment is still unset (and therefore air).
So? None of that matters. I wrote the gas in later. It should have
noticed that it changed, and recalculated at that point.
If you only recalculate when you see a depth change, that's a *BUG*.
> I /REALLY/ want to re-open the conversation about why air has to be
> special...
This has *nothing* to do with air being special (although it is). I
had written in the full gas specs. Don't go off on some totally
irrelevant tangent.
But yes, "empty gas" could/should probably be "same as last time". And
again, that has absolutely *nothing* to do with air being special in
other ways, and obviously fundamentally cannot be handled by any
string parsing code, since it has to be handled by the code that knows
about history.
Linus
More information about the subsurface
mailing list