Re:Have you ever hurt yourself from your own code?
by pjc50 on Thursday May 27, 2021 @02:28AM
(#27300025)
The "system doesn't work with negative datum" bug allegedly hit F-16 flight control software, resulting in a plane that would flip upside down on crossing the equator.
Re:Have you ever hurt yourself from your own code?
by contriban on Thursday May 27, 2021 @06:02AM
(#27301084)
They are upside down down there, so it was a reasonable feature.
Re:Have you ever hurt yourself from your own code?
by SamBam on Thursday May 27, 2021 @11:45AM
(#27304456)
Right, it was trying to keep them upright. Northerners' bodies aren't designed to work upside down...
Re:Have you ever hurt yourself from your own code?
by Hnrobert42 on Thursday May 27, 2021 @12:33AM
(#27299440)
You likely already know about inflatable bouys and/or no longer need them, but just in case: https://www.scuba.com/products/scubapro-marker-buoy-orange?v...
Re:Have you ever hurt yourself from your own code?
by diveanon on Thursday May 27, 2021 @01:23AM
(#27299680)
Do you normally dive with a compass?
For similar reasons I usually dive with an analog backup gauge.
Re:Have you ever hurt yourself from your own code?
by enchiridion on Wednesday May 26, 2021 @11:04PM
(#27298888)
Hardware projects are so far from my norm, something like this is hard for me to imagine.
What kind of devices are involved in scuba tech like that?
Re:Have you ever hurt yourself from your own code?
by zardaxian on Wednesday May 26, 2021 @11:45PM
(#27299171)
Not much. A floating GPS antenna on a self tensioner, tablet in a housing. And some buggy code :) Good enough for swim lane mapping and preventing holidays (unsearched areas). Another system we worked with used ultrasonic positioning from beacons, very accurate and covert.
Re:Have you ever hurt yourself from your own code?
by tclancy on Thursday May 27, 2021 @10:48AM
(#27303813)
Great story and it made me realize that usage of "holiday" is more general than how I thought of it (missing a spot when painting). Which led me to http://www.word-detective.com/2010/12/holiday/
Dropped to 10 meters, set the datum and started swimming, going well until I crossed into a negative quadrant. My beautiful track went haywire/dead.
Then I swam around trying to get back "into" the positive quadrant, I couldn't find it and consequently couldn't get back to the datum. When I surfaced I couldn't see the dive boat!
After some time contemplating my life/coding choices for literally jumping in without thorough testing, I heard the Zodiac inflatable buzzing around the rising waves looking for me.
Back on the boat I discovered that I had only coded it to work in the positive axis from the datum. In the other axis the location was undefined.