[-] gamma@programming.dev 7 points 3 months ago

Shit info from a kernel dev who works on the memory management subsystem?

[-] gamma@programming.dev 7 points 11 months ago

Single quotes don't allow any escaping in shell, you need

'I don'\''t know what you mean, I'\''ve never encountered any annoyances'

Or, in Zsh with setopt rcquotes:

'I don''t know what you mean, I''ve never encountered any annoyances'
[-] gamma@programming.dev 7 points 2 years ago

Others have mentioned disk usage and desktop integration. There is some truth to them, but shared runtimes keeps disk uasge down (although worse than native apps). Desktop launchers now search /var/lib/flatpak/exports/share/applications by default, but I'm still having issues with themes in one or two niche apps.

Trust is the big one. The benefit of your distro's packages is that they are maintained by a limited number of maintainers. Flatpaks have a much, much larger number of maintainers, which is where sandboxing comes in. Flathub now marks apps with lax permissions as "potentially unsafe", which is a huge step in communicating this to the average user.

Most desktop apps can get away with having next to no access, as long as they support the appropriate XDG desktop portals.

Ultimately, your mileage will vary, as there are many classes of application which are ill-suited to being sandboxed. Program launchers, programming languages, IDEs, file managers are a few.

[-] gamma@programming.dev 6 points 2 years ago

I get your point. Since a .tar.zst file can be handled natively by tar, using .tzst instead does make sense.

[-] gamma@programming.dev 7 points 2 years ago

I did about once a year until 2018 when I settled on Arch.

But now I've got a server on NixOS and loving it, so I might be switching my laptop soon.

[-] gamma@programming.dev 7 points 3 years ago

My experience is still a good success rate there. Back in ~2015 my family got an USB WiFi card which needed an out-of-tree module, which the manufacturer had on Github, complete with DKMS instructions. It was upstreamed after about a year, though!

The only completely unsupported device I've had is my laptop's fingerprint sensor.

[-] gamma@programming.dev 6 points 3 years ago

My Linux review: 10/10, would recommend, but would not install for someone and let them use it for the next 5 years.

[-] gamma@programming.dev 7 points 3 years ago

Middle is Matrix and ActivityPub, right is Session, SimpleX, and Nostr

[-] gamma@programming.dev 6 points 3 years ago* (last edited 3 years ago)

I have two GitLab accounts and I've never given a credit card. That may be something new they're doing to try to reduce the number of spam accounts signing up. You could use a Privacy.com card, put in whatever name and address you want.

In any case, if you're looking at sites which host your repos, you're gonna have to deal with them being able to deny you service at any time. No way around it.

I'm considering hosting a gitea instance myself, only accessible over tailscale. But I've got to keep my Githib up because I maintain a few Zsh plugins.

[-] gamma@programming.dev 6 points 3 years ago* (last edited 3 years ago)

There are two massive points no one has mentioned yet.

  • Quoting every expansion isn't necessary in Zsh. Parameters don't split or glob by default.
  • $array actually expands to every element in an array.

Compare this between Bash and Zsh:

a=('/* hello */' 'world!' '  ')
printf '"%s" ' $a
[-] gamma@programming.dev 6 points 3 years ago

One big caveat here: In Zsh (and maybe other shells) you might have to explictly enable comments in interactive sessions:

setopt interactivecomments
[-] gamma@programming.dev 7 points 3 years ago

It does remind me of Reddit when I first joined. I like federated services like Matrix and Mastodon, but Reddit was exactly how I liked interacting online. I'm really missing RES keybindings (in particular a/z voting, j/k navigation, x expandos, <Return> thread collapse) but the UX fits my needs very well otherwise.

view more: ‹ prev next ›

gamma

0 post score
0 comment score
joined 3 years ago
MODERATOR OF