Hacker Newsnew | past | comments | ask | show | jobs | submit | chr15m's commentslogin

The true path to AGI.

echo "rm -rf ~/ > safe-rm" chmod 755 safe-rm ./safe-rm

Sandboxes are hard, because computer science.


Or just 'mv ~ /dev/null'

It behaved exactly like 99% of developers, introducing unnecessary complexity.

Take my money!

Literally take it, I just ordered.

I have been imagining this exact device existing and now it does, yay, thank you!


In the notes it says you can configure where it goes.


Sharing it in your blog over a period of months or years is how you become a known figure eventually.


Well, prolly kinda true. Seems like should have started 10 years ago haha


Second best time today!



Wish I could upvote this harder. Thank you arXiv!


> deleted my production database

I'm astonished how often I have read about agents doing this. Once should probably be enough.


I'm astonished how many people have a) constant production access on their machine and b) allow a non-deterministic process access to it


People blaming the user and defending the software: is there any other program where you would be ok with it erasing a whole drive without any confirmation?


If that other program were generating commands to run on your machine by design and you configured it to run without your confirmation, then you should definitely feel a lil sheepish and share some of the blame.

This isnt like Spotify deleting your disk.

I run Claude Code with full permission bypass and I’d definitely feel some shame if it nuked my ssd.


Not defending the software, but if you hand over control of your data to software that has the ability to fuck with it permanently, anything that happens to it is on you.

Don't trust the hallucination machines to make safe, logical decisions.


Because the user left a "toddler" at the keyboard. I mean, what do you expect? Of course you blame the user. You run agents in supervised mode, and you confirm every command it wants to run and if you're in doubt, you stop it and ask it to print the command and you yourself will run it after you sanitize it.


The installation wizard gives a front and center option to run in a mode where the user must confirm all commands, or more autonomous modes, and they are shown with equal visibility and explained with disclaimers.


`dd` comes to mind.


This is also the entire point of dd.... not exactly comparable.


That's like saying the entire point of `rm` is to -rf your homedir.


Sure. Why would you invoke rm if you weren't trying to delete files?

I think a better analogy would be "I tried to use an ide and it erased my drive"


Yeah, rm -rf.

If you decide to let a stochastic parrot run rampant on your system, you can't act surprised when it fucks shit up. You should count on it doing so and act proactively.


`rm -rf /` will refuse to delete the root folder. You can see an example of it doing that here.

https://phoenixnap.com/kb/sudo-rm-rf


This was the D drive though, not root, ie C drive. So rm -rf would happily delete it all.


this is not always true. this is a dangerous fun fact to memorize.

and i don't mean because there's an override flag.


It makes me wonder what weight is given to content from 4chan during llm training...


Nope. And that's why I don't use CCleaner to this day.


This is cool. An even more minimal bash version. Love it!


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

Search: