[-] Andy@programming.dev 5 points 2 years ago

mpv+uosc is my jam these days.

[-] Andy@programming.dev 5 points 2 years ago
  • Factor
  • Roc
  • Nim
  • Zsh
  • Execline
[-] Andy@programming.dev 5 points 2 years ago

Anyone notice non-obvious Wayland road blocks?

I think the last thing keeping me on X11 is window shade.

[-] Andy@programming.dev 5 points 2 years ago

It's more about replacing typed text than using shortcuts, but there's espanso.

[-] Andy@programming.dev 5 points 2 years ago

FWIW broot is a great fuzzy finding file tree tool that can be used similarly (much better for the task IMO), with a little configuration.

[-] Andy@programming.dev 5 points 2 years ago

You might like to use aconfmgr to track and prune your system state.

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

I would have liked to see a nice clear example at the top to help me decide if I really want to read about the language.


EDIT: First sample:

day := 1;
import "advent-prelude.noul";

puzzle_input := advent_input();

submit! 1, puzzle_input split "\n\n" map ints map sum then max;
submit! 2, puzzle_input split "\n\n" map ints map sum then sort then (_[-3:]) then sum;

Looks not too different from what you might do in Factor:

: totals ( -- seq )
  puzzle-input "\n\n" split-subseq [ split-lines [ string>number ] map-sum ] map
;

: part1 ( -- ) totals supremum . ;

: part2 ( -- ) totals sort 3 tail* sum . ;
[-] Andy@programming.dev 5 points 2 years ago

Ever tried NestedText? It's like basic YAML but everything is a string (types are up to the code that ingests it), and you never ever need to escape a character.

[-] Andy@programming.dev 5 points 3 years ago

If you don't want to clone the disk but do want to match system level stuff (outside the home folder) you might like to use https://github.com/CyberShadow/aconfmgr

[-] Andy@programming.dev 5 points 3 years ago

Bash code is not safe to run as if it were Zsh, and Zsh has language features Bash doesn't. They are different languages.

[-] Andy@programming.dev 5 points 3 years ago

It's really not that bad. It's a very specific type of individual message blocking that most folks would never even conceive of, let alone need.

And it didn't exist as a free feature before it was added as a subscription feature. So far they have kept their word on never making once-free features subscription-only.

I'm not a subscriber, but I'm not mad that they offer features I don't need for extra money for those who find it worthwhile.

[-] Andy@programming.dev 5 points 3 years ago

I highly recommend rtx over pyenv/asdf. For one thing, you'll still be able to which python and get a useful response, as it works by altering your PATH rather than relinking shims.

view more: ‹ prev next ›

Andy

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