• 27 Posts
  • 33 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle






  • 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.


  • 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"
    











  • The System76 engineers are culturally very aligned with the core values of freedom of choice, customization, etc. They build software with the larger ecosystem in mind, and in fact, I’ve never seen them build something only for their own hardware (even things that could have been just for their own hardware, like the system76 power management system, has extensibility built in).

    That said, they also balance this freedom with a set of “opinionated” good choices that they test and support. If you care a lot about stability, it’s easy to go along with the “happy path” and get a solid, up-to-date system delivered frequently. Every time they upgrade new features or kernel, they go through a systematic quality assurance process on multiple machines–including machines not of their own brand. (I’ve contributed software/PRs to their codebase, and they’ve always sent it through a code review and QA process).