Live data from Hacker News

Suicide Linux (2009)

qntm.org

171–180 of 183 posts

Re: Suicide Linux (2009)

#171
post #55

A problem with most commands is that they usually don't need extremely-unfortunate typos or russian-roulette-enabled shells to turn into something wrong: they are usually wrong in passing , while you're typing them. I always wondered if something could be done against the effects of an accidental premature return. Some of us have cats... `sudo rm -rf /tmp/workdir` starts with `sudo rm -rf /` `git reset libs` starts w…

My favorite is: rm -rf ${DIR_NAME}/* Then you remember that DIR_NAME is undefined...

Valve did exactly that in Steam for Linux at some point. [0]

[0] https://github.com/valvesoftware/steam-for-linux/issues/3671

Re: Suicide Linux (2009)

#172

> You know how sometimes if you mistype a filename in Bash, it corrects your spelling and runs the command anyway? I actually have no idea what this is referring to; what package provides this auto-correct functionality?

Same. I'd find such a "feature" extremely dangerous.

Re: Suicide Linux (2009)

#173
post #13

This is like that time, last week, when I was having issues with do-release-upgrade and someone helpfully suggested to run sudo apt-get purge python* && sudo apt-get autoclean && sudo apt-get install python* Which I did without paying attention to what I was doing and it turns out that this is one of the worst things you could do ever on a Debian-based distro. Damn you, abu-ahmed al-khatiri.

> abu-ahmed al-khatiri.

Who? The Osama bin Laden associate?

Why?

Re: Suicide Linux (2009)

#174

Earlier quoted context omitted.

I've actually wished for something that takes it the other direction: Technically, everything it does is allowed, but it's designed to stress-test your assumptions. So, a distro that replaces half of coreutils with busybox, the other half with toybox or BSD ports or something, the system libc is musl, build tools are patched to randomly switch between using gcc or clang (both of which have `-Werror` enabled by defaul…

I once got an hdd from a mac user. It had trailing spaces in filenames. Leading spaces. Asterisks. Question marks. Colon. Forward slash. :c I needed 2 computers to fix that one.

detox(1) fixes that.

Re: Suicide Linux (2009)

#175
post #30

Earlier quoted context omitted.

This sounds like if the designers of the web made a Linux distro.

This is already what happens. Just like the web (W3C?) was a front for microsoft taking over from Netscape, and now Google taking over from everyone else, the linux foundation et al are just fronts for Google et al to have whatever they want on the kernel and to prevent any and all GPL3 "corruption" of their take-take-take business practices. GNU/Linux is old news, everyone runs BIGCORP/Linux today. You probably have…

zsh is older than you think.

Re: Suicide Linux (2009)

#176
post #27

> Perhaps rm -rf / should be replaced with something with more verbose flags set. That way, when you run a bad command, you are told immediately that things are being deleted This gives me an idea: Hell Linux. In Hell Linux, the operating system does its best to pretend that nothing is wrong, so it takes you as long as possible to realize that you've made a mistake. Commands ignore all unrecognized flags. In shell sc…

I've actually wished for something that takes it the other direction: Technically, everything it does is allowed, but it's designed to stress-test your assumptions. So, a distro that replaces half of coreutils with busybox, the other half with toybox or BSD ports or something, the system libc is musl, build tools are patched to randomly switch between using gcc or clang (both of which have `-Werror` enabled by defaul…

Bonus points for no procfs.

Re: Suicide Linux (2009)

#177
post #27

> Perhaps rm -rf / should be replaced with something with more verbose flags set. That way, when you run a bad command, you are told immediately that things are being deleted This gives me an idea: Hell Linux. In Hell Linux, the operating system does its best to pretend that nothing is wrong, so it takes you as long as possible to realize that you've made a mistake. Commands ignore all unrecognized flags. In shell sc…

> Hell Linux As someone who accidentally moved /etc recently, I have been into the valley of darkness and wish for no further OS pain.

Try accidentally moving /bin. A buddy at work did that not too long ago. There was panicking involved.

Re: Suicide Linux (2009)

#178
post #13

This is like that time, last week, when I was having issues with do-release-upgrade and someone helpfully suggested to run sudo apt-get purge python* && sudo apt-get autoclean && sudo apt-get install python* Which I did without paying attention to what I was doing and it turns out that this is one of the worst things you could do ever on a Debian-based distro. Damn you, abu-ahmed al-khatiri.

> abu-ahmed al-khatiri. Who? The Osama bin Laden associate? Why?

Just the poster on stack overflow.

Re: Suicide Linux (2009)

#179
post #172

> You know how sometimes if you mistype a filename in Bash, it corrects your spelling and runs the command anyway? I actually have no idea what this is referring to; what package provides this auto-correct functionality?

Same. I'd find such a "feature" extremely dangerous.

I would think so. I have been a Linux user for 20+ years and this is new to me, maybe specific to a certain distro?

Re: Suicide Linux (2009)

#180

Earlier quoted context omitted.

Lighten up. A friend of mine has an Italian partner and she is constantly joking that Italian women are mad and that she'll kill him if he does something wrong.

Let it not go unobserved that "lighten up" is the traditional rejoinder of those engaging in inappropriate behavior. This formulation means: those in a position of relative social power, expect those in subordinate positions to accept stereotyping etc. at the expense of their own and other subordinate classes. The humor, and this rejection of censure, is done to ritually encode and underscoring of the received power…

As a mixed race "person of colour" (not a term I'm massively keen on) I'm not generally considered to be "in a position of relative social power", especially over a white European. But whatever.
Post reply on HN