Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know, I'm seething at how many people are supporting this person.

I would be on his side too if he started with accepting his part in this and took responsibility but he clearly blames GitHub for everything and learned nothing from this. Such arrogance, let's see if HTTPie will have a nice warning every time you try to do a http delete command.

I've done something similar to this and took responsibility. I accidentally deleted an Azure Resource Group with the CLI tool. It just says "Are you sure you want to do this? Y/n" Doesn't even tell you what you're deleting. Oh whoops all the resources within that resource group are now irreversibly gone now.

My lessons learned was, when doing something potentially dangerous no matter how unimportant you think it is, slow down and take your time.

Things such as making a repo private or deleting things are relatively infrequent. It doesn't hurt to take a few minutes to carefully check all the variables before doing anything. You aren't losing much time in the grand scheme of things. Now he's definitely lost more time. Was it worth the few seconds you would have saved if you were on the right thing?



Your comment about HTTPie DELETE (or any other verb that changes the system state) points at the exact problem: what is the right balance between giving the user the power and preventing the user from shooting themselves in the foot.

For example, should "my brain switched to auto-pilot mode" be seriously considered as a risk to be mitigated?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: