canadaduane

joined 2 years ago
MODERATOR OF
[–] canadaduane@lemmy.ca 1 points 2 years ago

I don't know when they mark releases, but it's still under active development.

[–] canadaduane@lemmy.ca 7 points 2 years ago* (last edited 2 years ago) (2 children)

From "Verissimus", a comic about the Stoic philosopher and Roman Emperor, Marcus Aurelius: https://imgur.com/a/FlvGJGT (my apologies for the first two pages being out of order).

There is a section about the Greek philosopher, Epictetus', teachings about anger. My favorite two are "Being unlike your enemies is the best form of revenge," and "Goodwill is a virtue, the opposite of revenge, the desire to help rather than harm our fellow man. So replace your anger with its antidote: kindness."

[–] canadaduane@lemmy.ca 17 points 2 years ago (1 children)

I read this as "buying clubs". Like, buy clubs and hit stuff. My first take was "Ah, the violent revolutionary type." :)

[–] canadaduane@lemmy.ca 5 points 2 years ago (2 children)

This is the case for me as well. I tried NixOS this weekend, and even though it has more adoption than Guix, it still does not have 100% coverage of all software I wanted. That said, the packages I did install were pretty up-to-date. I guess NixOS is as close to "critical mass" as we've got when it comes to this type of OS. But if I were a wizard devops type person with more time, I'd probably enjoy Guix more.

[–] canadaduane@lemmy.ca 8 points 2 years ago

Given encouragement to try tmux, here is what I've come up with as a "one-liner" (script) that does what I was originally looking for:

#!/bin/sh

tmux new-session -d -s split_screen_grep \; \
  send-keys "/bin/sh -c '$1' | tee /tmp/split_screen_grep.txt" C-m \; \
  split-window -h \; \
  select-pane -t 1 \; \
  send-keys "tail -f /tmp/split_screen_grep.txt | grep '$2'" C-m \;

tmux attach-session -t split_screen_grep

I use it as follows, first arg is a command, second arg is a pattern to search for:

$ ./split-grep "cat big_file.txt" "tmux"
[–] canadaduane@lemmy.ca 1 points 2 years ago (2 children)

Thanks! I'm curious if there is a way to do this as a one-liner?

[–] canadaduane@lemmy.ca 3 points 2 years ago

Elegant and flexible, thank you!

[–] canadaduane@lemmy.ca 4 points 2 years ago (3 children)

ChatGPT suggests the following:

  1. Run tmux
  2. rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/ | tee /tmp/rsync_output.txt
  3. Ctrl+B % # splits screen vertically
  4. Ctrl+B right-arrow-key # moves to right split
  5. tail -f /tmp/rsync_output.txt | grep denied

Not quite a one-liner, but I can see how tmux is a big help here.

[–] canadaduane@lemmy.ca 2 points 2 years ago

Interesting, I'll check it out, thanks!

[–] canadaduane@lemmy.ca 1 points 2 years ago

There are no errors in the journalctl or steam logs?

[–] canadaduane@lemmy.ca 1 points 2 years ago (1 children)

Is it possible your Sweet-Dark-v40 theme is interacting poorly with Steam here? It seems to crash right after that unexpected identifier 'direction' and subsequent errors. Maybe try switching themes and see if it has any effect?

[–] canadaduane@lemmy.ca 1 points 2 years ago* (last edited 2 years ago) (1 children)

I don't know if this is related, but recently when updating graphics card packages, some of my flatpak apps (Bitwarden, especially) required removing cached GPU files:

rm -rf ~/.var/app/com.bitwarden.desktop/config/Bitwarden/Partitions/bitwarden/GPUCache

Could something similar be going on here for you?

view more: ‹ prev next ›