renzev

joined 1 year ago
[–] [email protected] 4 points 3 days ago

That's brilliant haha

[–] [email protected] 1 points 1 week ago

Flatpak is such a cool tool, kind of sad seeing it be mainly used for barely usable bloatware like libadwaita and electron. So much unrealised potential

[–] [email protected] 8 points 1 week ago (2 children)

I donated from the website so I didn't get the badge ;(

[–] [email protected] 2 points 1 week ago

thanks, I'll take a look.

[–] [email protected] 2 points 1 week ago (1 children)

old response dropped

[–] [email protected] 1 points 1 week ago

Yeah this is the way. Debian stable has outdated packages, debian testing has broken packages. Ubuntu is difficult for beginners because of snap. Linux mint is the perfect just-works debian-based beginner distro. Same for DE: Gnome is hard to use, KDE is bloated and unstable, and XFCE is too minimalist/diy/quirky for beginner users (you need to add a panel applet in order for the volume keys to work? Huh??). Cinnamon is the perfect middle ground between resource usage and features.

Make sure during installation that you create a 4 GB swap partition too

Or at least as large as your RAM if you want to be able to hibernate.

[–] [email protected] 1 points 1 week ago

lol who tf even uses windows nowadays? The only people I know is my dad who needs it for excel and a friend who dual-boots XP for retro gaming. It's a legacy OS

 

Here's to getting added to a secret government chat one day 🥂

[–] [email protected] 2 points 1 week ago (1 children)

You could do it in any shell by replacing touch with a function or alias that sends a note to whatever GTK subsystem is responsible for the "recents" tab before making the file. A more comprehensive way would be either using inotify or kernel-level process tracing fuckery, but I'm not smart enough for that

[–] [email protected] 7 points 1 week ago (5 children)

Would be awesome if there was more software to bridge the gap between CLI and GUI workflows. trash-cli and dragon-drop are pretty useful to that extent, but there is still much that could work better. I want files I've touched in bash to appear in the "Recent" section in the GTK filepicker, and stuff like that.

[–] [email protected] 2 points 1 week ago

Yeah apt tends to shit itself very often. I don't like how it's actually two different programs (dpkg and apt) glued together with perl and python. It all feels too fragile. A friend once tried updating a package, and it failed because... he was issuing the apt command from with a python virtual environment. Can't say for pacman because I've never used arch, but xbps is just one set of self-contained binaries, which feels much more robust. Alpine's APK fits that bill as well, lovely little package manager. Tho I guess apt predates both of those, so it's not a fair comparison. Someone had to make those mistakes for the first time.

I also really dislike the Debian/Ubuntu culture of fucking around with the sources file to add other people's repositories on top of the distro-default ones (ubuntu calls this PPA). It's a good idea in theory, but in practice those third party repos always fuck up in some way and brick your package manager. Just search for "apt Failed to fetch" in your favourite internet search engine, and you will see hundreds of people confused about it. You can do it with almost any package manager, but for some reason it's mainly the debian/ubuntu people who like shooting themselves in the foot like this.

[–] [email protected] -5 points 1 week ago (2 children)

Lol no. Many posts in this community recently making fun of gimp. Do you see anyone in the comments going WELL ACTUALLY IF YOU JUST USE IMAGEMAGICK? No. Plenty of things to complain about in the big DE's like KDE and Gnome. But do you see people saying "just use tty"? Also no. Meanwhile you mention terminal once and you get at least two randos going on about how ThIs Is WhY LiNuX IsNt ReAdY. The meme is not backwards, your perception of reality is.

 
 
 
 
 
 

 

Explanation for newbies:

  • Shell is the programming language that you use when you open a terminal on linux or mac os. Well, actually "shell" is a family of languages with many different implementations (bash, dash, ash, zsh, ksh, fish, ....)

  • Writing programs in shell (called "shell scripts") is a harrowing experience because the language is optimized for interactive use at a terminal, not writing extensive applications

  • The two lines in the meme change the shell's behavior to be slightly less headache-inducing for the programmer:

    • set -euo pipefail is the short form of the following three commands:
      • set -e: exit on the first command that fails, rather than plowing through ignoring all errors
      • set -u: treat references to undefined variables as errors
      • set -o pipefail: If a command piped into another command fails, treat that as an error
    • export LC_ALL=C tells other programs to not do weird things depending on locale. For example, it forces seq to output numbers with a period as the decimal separator, even on systems where coma is the default decimal separator (russian, dutch, etc.).
  • The title text references "posix", which is a document that standardizes, among other things, what features a shell must have. Posix does not require a shell to implement pipefail, so if you want your script to run on as many different platforms as possible, then you cannot use that feature.

 
 
 
 
view more: next ›