Earlier quoted context omitted.
I don't disagree with that there have always been niche areas where there is a high cost to programming errors (like space or medical). But with crypto, the effect is much more direct. The programmer is handling money much more directly and if something goes wrong, they are much more directly affected and not being insulated from the effects.
Yes. In space, aviation, and medical, it is usually someone else that is affected, not the programmer.
OptiFi Program Incident Report
81–90 of 158 posts
Re: OptiFi Program Incident Report
#82Commands like that really need a confirmation prompt and a command line switch to override like --do-as-i-say (long form only). Good example of developers being put in an end user's shoes, I hope they learn from that mistake and update their programs.
I don't know about you folks but I can do stupid stuff also with confirmation. Maybe splitting the damaging actions in some substeps, so instead of a big bang you have a slow death?
So I would just confirm but not realise what I was confirming.
Re: OptiFi Program Incident Report
#83Earlier quoted context omitted.
That guy is a savvy YouTuber, man. He did that because the resulting content has high memetic replication properties. I find the prompt for dangerous ops useful. GitHub will ask you to repeat the name of the repo before you destructive actions, Terraform will ask you to say yes to the prompt. These are all good things.
It's a solid practice in UX design. Physically having to type or copy/paste it in really highlights the action for the end user. There's only so much you can do to stop people setting their own house on fire but something like that puts the onus on them and fairly places the blame where it belongs.
It's almost never the case that blaming the user is actually going to help nor that adding more eyeballs will prevent people from making mistakes. If it's routine, we'll apply it to the wrong entity. If it's not routine, we'll not understand all the implications of our actions.
Re: OptiFi Program Incident Report
#84Earlier quoted context omitted.
Sounds like they only lost $661k worth, which is peanuts by comparison to most other crypto hacks/losses, probably didn't destroy the entire company since they're compensating their users, and not really worthy of the sensational title.
Apparently 95% of that money was by the company itself or employees of the company. So the loss for normal users is very limited.
What was lost was not money, but electronic conkers of which a small number people paid real money for.
Re: OptiFi Program Incident Report
#85Earlier quoted context omitted.
Was it Cambridge Analytica that was going to pay 50MM for that data? ;)
No, it was features for a P(click|impression) model, which are surprisingly mundane: it is basically impossible to care much either way, let alone be outraged, if you look at the actual features used in these kinds of things and it’s not explicitly your field. It’s not a microphone listening on your smartphone! You can even read about it in this paper which publicly described the system contemporary to that event: ht…
Re: OptiFi Program Incident Report
#86Earlier quoted context omitted.
It's not exactly unique to crypto... in adtech, a configuration mistake on a web server can cost 6-7 figures as ads are being paid for, but take people nowhere.
and in a live trading system a small mistake can cost you 6-7 figures per second see: Knight Capital
Re: OptiFi Program Incident Report
#87I once deleted like, maybe a few petabytes of data valuable enough to store on FusionIO cards with a bad config change. I think it destroyed $50-100MM once the dust settled in all the various ways that it cost money were added up. I’m quite sure the hacker who pressed the button feels plenty bad enough already, and I hope the people around them were as kind as the people around me were.
Re: OptiFi Program Incident Report
#88I once deleted like, maybe a few petabytes of data valuable enough to store on FusionIO cards with a bad config change. I think it destroyed $50-100MM once the dust settled in all the various ways that it cost money were added up. I’m quite sure the hacker who pressed the button feels plenty bad enough already, and I hope the people around them were as kind as the people around me were.
Edit: thanks for replies! :)
Re: OptiFi Program Incident Report
#89Earlier quoted context omitted.
Command line switches like that won't, IMO and IME, make developers think "wow, I'm so glad this exists to guard against footguns". Rather they'll just set an alias to get around it. Likewise confirmation prompts albeit with a little more resitance. Once a repeat user is frustrated enough they'll bust out `expect` or similar, angry at the original command for mollycoddling them because they know what they're doing an…
If you alias a —do-as-i-say switch to a command without wrapping into a script to make sanity checks of your own, IMO that’s negligence. The name of the flag should make you think thrice about invoking it without safety checks.
Re: OptiFi Program Incident Report
#90Earlier quoted context omitted.
It's not exactly unique to crypto... in adtech, a configuration mistake on a web server can cost 6-7 figures as ads are being paid for, but take people nowhere.
Quoted post unavailable.
Ultimately it is their customer that pays for all this by continuing to buy their products and use ad-powered platforms.