That really ought to have been the default behavior. Opting out only takes one or two extra characters. Well, three or four if you don't habitually bracket your variable names, which you should probably be doing anyways
That seems like a more error-prone solution than the shell option. That would make it evaluate to rm -rf * which would probably delete your home directory, I'm guessing. And also put the burden of knowing the slash needs to be included on something completely disconnected from the expression. Nah, don't do it like that.
I was never able to fully form the habit with transactions. The guardrails I use are writing the where clause first and keeping my query tool in read-only mode for prod connections and only disabling it once I'm sure I need to make a change.
i hate that so many tools nowadays want you to curl | sh for installing
Using NixOS has the advantage of making me not want to touch these tools. If I can't install it reproducibly with Nix, I'll just look for an alternative :)
Hmm alright. I too dislike some things about Ubuntu but on the other hand you cannot blame people (myself included) who either have tried other distros and had support issues and came back to Ubuntu based, or those who just want the easier route to begin with. Ubuntu-based seems to be a good compromise for many. I've also used arch and fedora and had more headaches and breakages on those. Also I literally have a laptop that gets supported on Ubuntu so it makes life easier all around. Fuck some of the things canonical does but I just do not want to spend time with things like fixing my wifi connection after running pacman -S install or whatever that command is.
Yeah, but I think forks of Ubuntu such as Mint or Zorin deserves more recognition as first Linux distro. Choosing Ubuntu just because everyone else is using just feels very wrong.
I too got tired of using those niche distros and once settled on Solus (but now using NixOS for some reason).
Well imo, on lemmy anyhow, they do get a million times more recognition. Everyone is in the cult of Mint, which is one of the few I tried briefly and actively did not like it.
Ubuntu is owned by Canonical, and they have been making some decisions that a lot of people in the community don't like, most notably, the enforcement of snaps (in a nutshell, the repos are proprietary and centralised), but they have been involved in various other corpo shenanigans as well
But I don't think "X distro is bad, don't use it" is very useful unless it is dangerous or harmful to the user.
Ubuntu (or the various other buntus) work for some people, and without them, far fewer people would use Linux. The benefit of Linux is the amount of choice you get and being able to easily switch between distros (you can even dual boot if you want!)
So if you like Mint, stick with that. If somebody prefers the buntus, it's great as long as they are respectful to others!
It's not really bad. It's just kinda distasteful due to stuff like Snap packages and Canonical's position of privacy as a company. But it isn't really a bad distro if you ignore that stuff. If it works it works.
51 Comments
SavvyBeardedFish@reddthat.com · 154 pts · 11d
https://github.com/ValveSoftware/steam-for-linux/issues/3671
Another classic
OwOarchist@pawb.social · 143 pts · 11d
Ah, good times.
victorz@lemmy.world · 33 pts · 11d
Probably a good idea to enable the
nounsetshell option when shipping commercial-grade install scripts. 😅fruitcantfly@programming.dev · 7 pts · 10d
That really ought to have been the default behavior. Opting out only takes one or two extra characters. Well, three or four if you don't habitually bracket your variable names, which you should probably be doing anyways
OwOarchist@pawb.social · 4 pts · 10d
Or just include the trailing slash in
$STEAMROOT, so that if the variable is empty, it will evaluate torm -rf ""and do nothing.victorz@lemmy.world · 7 pts · 10d
That seems like a more error-prone solution than the shell option. That would make it evaluate to
rm -rf *which would probably delete your home directory, I'm guessing. And also put the burden of knowing the slash needs to be included on something completely disconnected from the expression. Nah, don't do it like that.Fmstrat@lemmy.world · 20 pts · 10d
I love how someone committed
# scary!above it rather than fixing it.sp3ctr4l@lemmy.dbzer0.com · 20 pts · 11d
Wow.
That's a nuclear grade 'oopsie' right there hahaha!
Cyber@feddit.uk · 27 pts · 11d
Jeez. Didn't hear about that one, back in the day.... wow.
FauxLiving@lemmy.world · 9 pts · 10d
Linux Gaming has had some interesting moments
bitjunkie@lemmy.world · 50 pts · 10d
This entire thread is giving me flashbacks to my junior dev days and forgetting a where clause when updating/deleting database records
EpicFailGuy@lemmy.world · 30 pts · 10d
ah! yes ... little bobby tables we call him.
FauxLiving@lemmy.world · 16 pts · 10d
https://xkcd.com/327/
For the new folks.
Hupf@feddit.org · 3 pts · 9d
There are ten thousand of them after all
Buckshot@programming.dev · 16 pts · 10d
We've all done that at some point.
That sinking feeling when your quick update doesn't return immediately.
Good to get into the habit of wrapping your queries in a begin transaction/rollback until you verify the result 😁
bitjunkie@lemmy.world · 11 pts · 10d
I was never able to fully form the habit with transactions. The guardrails I use are writing the where clause first and keeping my query tool in read-only mode for prod connections and only disabling it once I'm sure I need to make a change.
zitrone@europe.pub · 42 pts · 10d
that is why you don't run random install script as root
i hate that so many tools nowadays want you to
curl | shfor installingw33n1s@lemmy.world · 8 pts · 10d
Glad I'm not the only one. It's always the shell apps that use annoying emojis too
SpatchyIsOnline@lemmy.world · 7 pts · 10d
Using NixOS has the advantage of making me not want to touch these tools. If I can't install it reproducibly with Nix, I'll just look for an alternative :)
zitrone@europe.pub · 1 pts · 8d
same
iocase@lemmy.zip · 1 pts · 9d
Yeah pipe that shit into a file and check first unless you really really trust the project.
supermurs@lemmy.world · 24 pts · 11d
"Just a prank bro!"
Kazel@lemmy.dbzer0.com · 23 pts · 11d
"typo" :D
TwilightKiddy@programming.dev · 12 pts · 11d
What do you mean? Hitting space while typing out a path is very much a typo. Am I missing something?
vanillama@programming.dev · 20 pts · 11d
They're jokingly implying it was intentional
Kazel@lemmy.dbzer0.com · 8 pts · 11d
yeah you missed the joke i guess
TwilightKiddy@programming.dev · 5 pts · 11d
Explain the joke! ;-;
Kazel@lemmy.dbzer0.com · 11 pts · 11d
"hahaha ubuntu users take this"
TwilightKiddy@programming.dev · 4 pts · 11d
I... see.
axx@slrpnk.net · 10 pts · 10d
This is from 15 years ago. How many more times will we have to see it?
who@feddit.org · 8 pts · 10d
Here's an infamous one:
https://hackaday.com/2024/01/20/how-a-steam-bug-once-deleted-all-of-someones-user-data/
x0x7@lemmy.world · 3 pts · 10d
/usr is an Ubuntu thing yeah?
Also rip /lib/nvidia-current/xorg/xorg
ozymandias117@lemmy.world · 5 pts · 10d
Maybe there are oddball distros without /usr, but it's essentially an every distro thing
BlastboomStrice@mander.xyz · 1 pts · 10d
I think I had accidentally deleted /bin with that script I had made when I was testing debian https://github.com/BlastboomStrice/3rdPartyAutoUpdater
nil@piefed.ca · -21 pts · 11d
That's what you get for using Ubuntu
TrickDacy@lemmy.world · 24 pts · 10d
Kind of an asshole statement tbh
nil@piefed.ca · -13 pts · 10d
Ubuntu tries to become (or is already) the de facto standard. That is what assholes do.
TrickDacy@lemmy.world · 13 pts · 10d
We should probably burn down the homes of people who use it then /s
nil@piefed.ca · 7 pts · 10d
Honestly, I meant it for a joke, but people started taking it seriously, I don't know where to end this.
TrickDacy@lemmy.world · 6 pts · 10d
Hmm alright. I too dislike some things about Ubuntu but on the other hand you cannot blame people (myself included) who either have tried other distros and had support issues and came back to Ubuntu based, or those who just want the easier route to begin with. Ubuntu-based seems to be a good compromise for many. I've also used arch and fedora and had more headaches and breakages on those. Also I literally have a laptop that gets supported on Ubuntu so it makes life easier all around. Fuck some of the things canonical does but I just do not want to spend time with things like fixing my wifi connection after running
pacman -S installor whatever that command is.nil@piefed.ca · 2 pts · 10d
Yeah, but I think forks of Ubuntu such as Mint or Zorin deserves more recognition as first Linux distro. Choosing Ubuntu just because everyone else is using just feels very wrong.
I too got tired of using those niche distros and once settled on Solus (but now using NixOS for some reason).
TrickDacy@lemmy.world · 1 pts · 10d
Well imo, on lemmy anyhow, they do get a million times more recognition. Everyone is in the cult of Mint, which is one of the few I tried briefly and actively did not like it.
kalpol@lemmy.ca · 3 pts · 10d
'I use arch btw'
nil@piefed.ca · 2 pts · 10d
close, but I use NixOS
Mr_Dr_Oink@lemmy.world · 9 pts · 10d
Is ubuntu bad? I use mint as i am fairly new to linux.
sbeak@sopuli.xyz · 23 pts · 10d
Ubuntu is owned by Canonical, and they have been making some decisions that a lot of people in the community don't like, most notably, the enforcement of snaps (in a nutshell, the repos are proprietary and centralised), but they have been involved in various other corpo shenanigans as well
But I don't think "X distro is bad, don't use it" is very useful unless it is dangerous or harmful to the user.
Ubuntu (or the various other buntus) work for some people, and without them, far fewer people would use Linux. The benefit of Linux is the amount of choice you get and being able to easily switch between distros (you can even dual boot if you want!)
So if you like Mint, stick with that. If somebody prefers the buntus, it's great as long as they are respectful to others!
Distro wars are stupid
forestbeasts@pawb.social · 2 pts · 10d
Oh and BTW Mint is fine! It's based on Ubuntu sure, but actively undoes and strips out the crappy stuff Ubuntu adds.
They also have Linux Mint Debian Edition as a backup in case Ubuntu goes really evil.
-- Frost
MrKoyun@lemmy.world · 12 pts · 10d
It's not really bad. It's just kinda distasteful due to stuff like Snap packages and Canonical's position of privacy as a company. But it isn't really a bad distro if you ignore that stuff. If it works it works.
nil@piefed.ca · 10 pts · 10d
Ubuntu kinda forces you to use snap (which sucks), and is owned by Canonical.
Neither of them apply to Linux Mint, so nice choice.
prime_number_314159@lemmy.world · 4 pts · 10d
Yeah, what were they thinking, using Ubuntu in 2011?