As the project lead of buttplug.io, I will simply say: Yes.
Have you ever hurt yourself from your own code?
91–100 of 432 posts
Re: Have you ever hurt yourself from your own code?
#92Earlier quoted context omitted.
> A cordless handheld drill is hardly a tool that most people would call 'hazardous'. You turn the trigger, the thing rotates, grab the chuck and you can likely stall it. But that much energy in something driven by code is extremely dangerous, it's waiting for any of who knows how many conditions to take off, a common one is that putting your hands in/on something that seems to be not moving can 'make' a sensor and t…
Why would a drill be engineered to put out more torque than a human holding the handle could be expected to counterbalance?
Relevant old article: http://www.team.net/mjb/hawg.html
Re: Have you ever hurt yourself from your own code?
#93I once wanted to run my Bash script (for archiving photos) through ShellCheck. I will never know, but I had to do something terribly wrong, as it started to remove my root directory... Thankfully, didn't had root privileges, so "only" resulted in nuking my home folder.
Re: Have you ever hurt yourself from your own code?
#94I was building an underwater mapping GUI, a quick SCUBA dive to do some testing before the weather closed in whilst at sea in the GBR Australia. 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 t…
Re: Have you ever hurt yourself from your own code?
#95As the project lead of buttplug.io, I will simply say: Yes.
Re: Have you ever hurt yourself from your own code?
#96Earlier quoted context omitted.
> A cordless handheld drill is hardly a tool that most people would call 'hazardous'. You turn the trigger, the thing rotates, grab the chuck and you can likely stall it. But that much energy in something driven by code is extremely dangerous, it's waiting for any of who knows how many conditions to take off, a common one is that putting your hands in/on something that seems to be not moving can 'make' a sensor and t…
Why would a drill be engineered to put out more torque than a human holding the handle could be expected to counterbalance?
Re: Have you ever hurt yourself from your own code?
#97Not sure if this qualifies as my own code but I have a highly modified 3D printer, I had upgraded to more modern trinamic stepper drivers which have sensorless homing and I had forgotten to set a sane value for the torque limit to let the drivers know when it had hit the axis' limit when I ported over my existing firmware config and like an idiot decided to use my finger to test it... I learned that day even small st…
Re: Have you ever hurt yourself from your own code?
#98https://en.wikipedia.org/wiki/Therac-25
TL;DR: Software race condition caused radiation doses several hundred times higher than intended, killing several patients.
Re: Have you ever hurt yourself from your own code?
#99Earlier quoted context omitted.
Can you explain more about what you did and why?
tl;dr - too much modafinil. Yes, I have Crohn's and I do not like to take the meds or listen to the doctors. This is NOT AT ALL SOMETHING I RECOMMEND, PLEASE DO NOT ATTEMPT IT. Crohn's is an auto-immune disease and the main class of drugs that is used to treat Crohn's like mine (long term) are called TNF inhibitors or TNF blockers. TNF alpha triggers the production of several immune system molecules, including interl…
Re: Have you ever hurt yourself from your own code?
#100The funny part is: I didn't shock myself, I punched myself.
I had the electrodes connected to my pectoral muscle and I was adjusting the levels while holding up my arm with my hand to the side of my head. A random current change translated to a huge voltage boost, the pectoral twitched hard, and BLAMMO, punched myself in the bridge of the nose.
At least I think that's what happened. Could have been changing skin conductivity, but I like to think my Teensy code hurt me. (I eventually removed the MCU and just used two comparitors with a voltage-controlled duty cycle oscillator... much easier.)