Live data from Hacker News

Have you ever hurt yourself from your own code?

blog.nikitas.link

281–290 of 432 posts

Re: Have you ever hurt yourself from your own code?

#281
post #129

It's extremely easy to hurt yourself with audio, it almost feels like cheating. Just regular audio work provides plenty of opportunities to do that. Here's a random note from Supercollider, a platform for audio synthesis [1]: > CAUTION: macOS system volume doesn’t effectively limit audio applications’ maximum volume. Extra care has to be put in working on this platform, especially with headphones, because programs ca…

Hearing can be damaged both by high volume and very sudden increases.

It's absurd that there are no safety mechanisms implemented in hardware.

Re: Have you ever hurt yourself from your own code?

#282
post #7

I have. Back in early days of Oculus, I was using one of the development kits (DK2?, maybe DK1) and making something in Unity. The Oculus had one screen, with lenses over the left and right halves. To give depth perception, it renders a view for each eye, and shows them in a vertical split screen. Some script had a bug, and none of that happened; Instead it simply stretched a normal view across both screens. I put th…

My bachelor's degree is in neurobiology and it would have been very interesting if this was reproducible in other people. Experiencing physical pain from visual stimuli (stimuli unrelated to light intensity, at least) is not something I've ever really heard of. You may have discovered the visual equivalent to the Brown Note.

Re: Have you ever hurt yourself from your own code?

#283
post #244

Earlier quoted context omitted.

Echoes of Office Space right there. Did you happen to have a red stapler?

Fun fact: Swingline never made a red stapler, the one in Office Space was a prop produced for the film by the production crew. Office Space popularized it to the point where Swingline actually started producing red staplers after the release of the film to capitalize on the demand.

But.. I was told..

Re: Have you ever hurt yourself from your own code?

#284

Earlier quoted context omitted.

Not quite robotics, but some of our servers kept powercycling , had to plug in the physical terminal. It was close to lunch, so I kept eating. The finale was a jar of mayo spilled into the guts of a 50k server. Best mayo I ever had.

Best mayo it ever had, too.

[deleted]

Re: Have you ever hurt yourself from your own code?

#285

Earlier quoted context omitted.

Having worked in research on Crohn's this sounds wild. Why would you not take the biologics if you can afford them? Side effects? What you do is of high risk to yourself and of no value to others.

Because they do not scale and they are not required. I would love to go into more detail if you shoot me an email we can discuss.

Let's discuss in public, I think others might be interested. What do you mean by scale? Are you saying that the biologica are too expensive and you are looking for cheaper solutions? Apart from the price AFAIK they are the best known solution.

In that case hurting yourself trying to find sth. cheaper is not worth it, because: a) it is bad for you b) it doesn't help others either, since even if your special cocktail ends up working for you it will most likely not work for others.

I would focus on making tnf-a blockers cheaper, probably by circumventing or straight out ignoring the patents. This stuff is not rocket science anymore.

Have you researched the prices in other countries? Looks like in Europe its below 2k€ per month but more around 20k in the us? Whats the price in India?

Re: Have you ever hurt yourself from your own code?

#286

This thread would be incomplete without a link to the Therac-25: https://en.wikipedia.org/wiki/Therac-25 TL;DR: Software race condition caused radiation doses several hundred times higher than intended, killing several patients.

The thread is about "Have you ever hurt yourself from your own code?"

...otherwise: https://en.wikipedia.org/wiki/Boeing_737_MAX

Re: Have you ever hurt yourself from your own code?

#287

Earlier quoted context omitted.

I built one too, and the first time I powered on the motors I felt like I was staring at four unguarded blenders and thought: wow, people actually handle these things while they are running. Made me very nervous for a long time, especially the first few flights (or attempt at flight). Now I twitch whenever I connect the battery and the FC makes them jerk a little. I know they aren't armed and failsafe is active and a…

Not sure if you want to hear this, but please don't entirely trust any arm/safe system. I've had to debug one when it failed. Original dev: "impossible... show me... huh?!". (It was some faulty hardware. Dont remember the details; it was a non obvious issue with one FC. Wasn't worth fixing the hardware, I discarded it.)

Point taken. I'm getting a tiny bit lazy connecting the batteries (too bad XC60 connectors require so much force). But I'm very cautions to make sure my fingers aren't in the line of the props (I actually used to wear welding gloves when connecting the battery). I just need an inline 60A switch or something even safer that doesn't keep my fingers in the line of fire that long. Thanks!

Re: Have you ever hurt yourself from your own code?

#288

Earlier quoted context omitted.

Some small metal pressing machines for example have two buttons, one on each side of the machine. You have to push them both for the machine to operate. This means your hands can't be squished. Or a dental x-ray machine has the final "run" button in the hallway so the nurse taking x-rays must go there to do it, so they don't get repeated exposure.

There's lots of safety mechanisms like this in manufacturing. I've also seen "light curtains" which are essentially 2 bars on either side of a hazard. If anything crosses that plane, the machine stops automatically. There are also pressure pads. For one type, you have to be standing on for the machine to operate so that you are in a safe location when it starts. For the other, the pad covers the danger area and the m…

Another awesome safety system is the SawStop which uses the conductivity of skin to monitor for contact against the blade in a tablesaw. If it detects contact a small explosive charge goes off, instantly sending a block of aluminum into the path of the blade, stopping it dead. Even a serious accident like leaning with an elbow against a moving blade is likely to result in little more than the scratch from hitting a stationary sharp object rather than decapitation.

Sadly the inventor couldn't convince the tablesaw manufacturers to use his invention for cost and/or liability reasons so he had to make his own. Their tablesaws themselves are relatively expensive but cost per accident is $100 for the charge plus whatever the blade costs, so basically $200 to prevent serious injury or death.

Re: Have you ever hurt yourself from your own code?

#289

Earlier quoted context omitted.

Having worked in research on Crohn's this sounds wild. Why would you not take the biologics if you can afford them? Side effects? What you do is of high risk to yourself and of no value to others.

Because they do not scale and they are not required. I would love to go into more detail if you shoot me an email we can discuss.

> Let's discuss in public, I think others might be interested. What do you mean by scale? Are you saying that the biologica are too expensive and you are looking for cheaper solutions? Apart from the price AFAIK they are the best known solution. In that case hurting yourself trying to find sth. cheaper is not worth it, because: a) it is bad for you b) it doesn't help others either, since even if your special cocktail ends up working for you it will most likely not work for others.

OK, lets start with just the official stuff that they actually admit.

HUMIRA can cause serious side effects including hepatitis B infection in carriers of the virus, allergic reactions, nervous system problems, blood problems, heart failure, certain immune reactions including a lupus-like syndrome, liver problems, and new or worsening psoriasis.

Do you see a trend here? Auto-immune treatment causes more auto-iummune diseases. Thats real sus to me.

> I would focus on making tnf-a blockers cheaper, probably by circumventing or straight out ignoring the patents. This stuff is not rocket science anymore.

You are actually trained at this and I am not but I do not understand why youy would focus on alpha when beta is far more cytotoxic. Like I said, I don't have your training but that seems odd given the rate of colo rectal cancer in Crohn's patients.

Given that the entire family of drugs refers to Cytokines which is cell-death it seems a bit asinine to focus on alpha.

> Have you researched the prices in other countries? Looks like in Europe its below 2k€ per month but more around 20k in the us? Whats the price in India?

India does not sell the name brand I am familiar with; they have Zydus' Exemptia and its around $4,500 USD.

> What do you mean by scale?

I mean scale. Given that N patients have Crohn's and wish to treat themselves with Z. If Z is a finite resource what are the obstacles to Z being produced and distributed at a "scale" great enough to reach each patient, for life.

> it doesn't help others either, since even if your special cocktail ends up working for you it will most likely not work for others.

Please provide some form of empirical evidence to support this position, I was saying in private because I have actual clinical outcomes that i can report form myself and a number of others, but doing so publicly is not ethical or legal; HIPPA and all.

Can you expand a bit more on what you meant when you said you were a researcher? Possibly point me to a white paper or jupiter notebook, anything so that I may get a better understanding of your work.

I do not even know how to begin to address the reductive nature of pharma disco and production "not being rocket science" other than to state the obvious, yes it's not rocket science its bio chem.

I am sure i'm just missing something given that you work professionally in the field.

FYI: It has nothing to do w/ the price at all, even on the worst medical/medicare plan humera is only 250 for 2 viles and it was less, now it just has the extra lux tax.

Re: Have you ever hurt yourself from your own code?

#290
post #35

A few years ago, I ordered the cheapest six-axis robotic arm from ebay for about $100 that came with basically no software or motor-driver boards, so I did it all from scratch with a PCA9685 board, a basic kernel driver and some very hacky scripts from user space. One day I had some friends over for a glass of wine, and wanted to show off my creation. I invited them into my "lab" and placed my wine glass down on the…

I used to do robotics, I can tell you that the fact that it was the cheapest or the most hacky does not matter in the least. Everything can and will go wrong, even the priciest and well documented part. I used to have multiple clamps around the controller, message bus, the firmware and also a physical barrier, and yet would not feel safe with my fingers or person around moving parts.

Used to work in robotics. The QA folk were obviously very much sticklers for the full process of enabling the hardware interlocks before getting near the moving bits. One time a manager got mad at them for taking so long going through the full interlock process while repeating a failure mode. He therefore went up to the machine saying "look, it failed so it's stopped, that's how the code works!" At that point our beta version of our CI requisitioned that bot (as the interlock wasn't the only process corner that the manager was trying to cut the bot wasn't marked as reserved in the CI system), it started initializing and broke his arm.

I'm just glad that ultimately he was the only one who faced physical consequences for his poor choices. And thankful that the consequences weren't that bad at the end of the day; a broken arm is way better than a cracked open skull.

Post reply on HN