<div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On 16 June 2015 at 22:46, Robert Helling <span dir="ltr"><<a href="mailto:helling@atdotde.de" target="_blank">helling@atdotde.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><span class=""><br><div><blockquote type="cite"><div>On 16.06.2015, at 13:08, Rick Walsh <<a href="mailto:rickmwalsh@gmail.com" target="_blank">rickmwalsh@gmail.com</a>> wrote:</div><br><div><div style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">This patch corrects the logic.<br><br></div><span style="font-family:Menlo-Regular;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Can someone more familiar with the planner code check that I've done the correct thing?  It works for me.</span></div></blockquote></div><div><br></div></span>No, unfortunately, this is not correct either.</div><div><br></div><div>I acknowledge the bug that you describe (the gas change to EAN80 should be displayed at 9m depth). But your suggested patch breaks something else (which was the original motivation for the ‘postponed’ logic:</div><div><br></div></div></blockquote><div>Thanks for clarifying its intended purpose.  I agree that getting the logic right for what segments to include, and when to print the gas change, is more complicated than one might assume until actually trying to do it. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div></div><div>Start with air.</div><div><br></div><div>Descend to 20m</div><div>Stay there for 5min</div><div>Then switch gas to EAN80 and stay another 10min</div></div></blockquote><div><br></div><div>What! Didn't you see the large 9 m label on your cylinder?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Then switch back to air and stay a further 5min</div><div>ascent [planner ascends to 9m, should switch there back to EAN80 and then to the surface].</div><div><br></div><div>In my understanding the plan should then look like this:</div><div><br></div><div>
<table style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px" border="0" cellpadding="0" cellspacing="2"><thead>
<tr>
<td><div style="margin:0px"><span style="font-weight:600">depth</span></div></td>
<td style="padding-left:10"><div style="margin:0px"><span style="font-weight:600">runtime</span></div></td>
<td style="padding-left:10"><div style="margin:0px"><span style="font-weight:600">duration</span></div></td>
<td style="padding-left:10"><div style="margin:0px"><span style="font-weight:600">gas</span></div></td></tr></thead>
<tbody><tr>
<td style="padding-left:10"><div style="margin:0px">20m</div></td>
<td style="padding-left:10"><div style="margin:0px">1min</div></td>
<td style="padding-left:10"><div style="margin:0px">1min</div></td>
<td style="padding-left:10"><div style="margin:0px"><span style="font-weight:600;color:#ff0000">air</span></div></td></tr>
<tr>
<td style="padding-left:10"><div style="margin:0px">20m</div></td>
<td style="padding-left:10"><div style="margin:0px">5min</div></td>
<td style="padding-left:10"><div style="margin:0px">4min</div></td>
<td></td></tr>
<tr>
<td style="padding-left:10"><div style="margin:0px">20m</div></td>
<td style="padding-left:10"><div style="margin:0px">15min</div></td>
<td style="padding-left:10"><div style="margin:0px">10min</div></td>
<td style="padding-left:10"><div style="margin:0px"><span style="color:rgb(255,0,0);font-weight:600">EAN80</span></div></td></tr>
<tr>
<td style="padding-left:10"><div style="margin:0px">20m</div></td>
<td style="padding-left:10"><div style="margin:0px">20min</div></td>
<td style="padding-left:10"><div style="margin:0px">5min</div></td>
<td><p style="margin:0px"> <span style="color:rgb(255,0,0);font-weight:600">air</span></p></td></tr>
<tr>
<td style="padding-left:10"><div style="margin:0px">9m</div></td>
<td style="padding-left:10"><div style="margin:0px">22min</div></td>
<td style="padding-left:10"><div style="margin:0px">2min</div></td>
<td style="padding-left:10"><div style="margin:0px"><span style="font-weight:600;color:#ff0000">EAN80</span></div></td></tr>
<tr>
<td style="padding-left:10"><div style="margin:0px">0m</div></td>
<td style="padding-left:10"><div style="margin:0px">28min</div></td>
<td style="padding-left:10"><div style="margin:0px">7min</div></td>
<td><p style="margin:0px"> </p></td></tr></tbody></table><div style="margin:0px"><br></div></div><div>I agree that this logic currently is completely incomprehensible. Will look at this later tonight again.</div></div></blockquote><div><br></div><div>Yes, I implicitly assumed that gas changes were associated with changing depth.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>BTW, in another thread I sent a patch to reenable the notes.</div></div></blockquote><div><br></div><div>Thanks, it's very useful, especially to get immediate output for contingency planning.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Best</div><span class="HOEnZb"><font color="#888888"><div>Robert</div><div><div>
<div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br>-- <br>.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO<br>Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics<br>                      Scientific Coordinator<br>                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik<br>                      Phone: <a href="tel:%2B49%2089%202180-4523" value="+498921804523" target="_blank">+49 89 2180-4523</a>  Theresienstr. 39, rm. B339<br>                      <a href="http://www.atdotde.de" target="_blank">http://www.atdotde.de</a></div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Enhance your privacy, use cryptography! My PGP keys have fingerprints</div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and</div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F</div><div style="color:rgb(0,0,0);font-family:Menlo;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div></div></div><br></div><br><br>
</div>
<br></div></font></span></div></blockquote></div><br></div></div></div>