[-] gamma@programming.dev 4 points 1 year ago

string split/collect and similar can't work unless its a builtin. The set foo ( ...... | string ... ) pattern couldn't work if string was an external binary.

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

Love the Towerfall OST myself, it was such a shock to hear about him.

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

Basically the Matrix Spec Change Proposal system, I like it. Opens the floor to more players, gives tool authors a list of protocols they could choose to build on, and hopefully compositors will choose to adopt or adapt one of these protocols before writing their own.

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

manually call the others

Yeah, most distros will set up source chains to make things nicer for users.

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

IMO the NUL-delimited options are by far the biggest win for shell scripting. $' ' will be the most commonly used addition, but "$(printf '...')" was always an option before. You don't really have an alternative read -d ''.

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

Exact same. Sway's 1.0 release was March of 2019, and it did everything I needed.

Even playing games on my desktop, Xwayland worked fine for me.

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

You're deluded if you think that "everybody" let alone a large minority of people say that the Linux desktop is "good, perfect and polished".

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

I learned Fish by helping someone else in a chat. There's a lot of cool things, and I think it's an excellent shell. Fish is an excellent choice for a shell.

Zsh is a much more featureful language (with globbing/subscript/PE flags, native floating point arithmetic, the whole man zshmodules), which doesn't necessarily make it a better shell. But I like those features, and I find it to be a natural choice to write more complex programs which normally would be a code smell for Bash.

The plugin ecosystem for is much larger than Fish's as well.

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

If this becomes a Wayland protocol, then I'd love to see other desktops adopt it as well.

I could see a few classic TWMs use those hints, or at least expose them for users to script functionality.

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

I was going to say "At least I can click 'Continue reading' and it actually goes away immediately" but actually, no. This is still enshittification, I've just gotten used to shittier versions of it.

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

I've done symlinks into a separate directory before, but by far my favorite method is to just let ~ be a git repo. It's maximally simple, no other tooling needed besides git.

There are a few key steps to making this work well:

  • echo '*' > ~/.gitignore: This way git status isn't full of untracked files. I can still git add -f what I actually want to track.
  • git branch -m dots: For clarity in my shell prompt.
  • [ -d "$HOME/.local/$(hostname)/bin" ] && PATH=$PATH:$HOME/.local/$(hostname)/bin and similar if there's config I want to apply only to certain hosts.
[-] gamma@programming.dev 4 points 3 years ago

Most Reddit apps I used worked like this by default. It's not my preference either (I liked Slide because I could swap the tap and long-press actions) but I'm not complaining.

view more: ‹ prev next ›

gamma

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