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

help-circle




  • Ok, I’ve narrowed down the cause of slowdown slightly. It is when my laptop is on battery only that load time takes about 25 seconds. When plugged in (mains power), load time is < 1sec.

    The only change I see in journalctl -xef when switching between battery/mains power is as follows (first line battery, second line mains):

    May 22 23:45:35 rosie kernel: Dynamic Preempt: voluntary
    May 22 23:45:54 rosie kernel: Dynamic Preempt: full
    

    Edit: I can also simulate the effect via sudo tlp ac (fast load time) and sudo tlp bat (slow load time).



  • Here’s my take:

    1. We’re built for about 150 relationships max (Dunbar number), and yet we benefit from cooperation above that threshold. Rather than make it so we have to have a personal relationship with everyone who could possibly benefit us, we accepted a ramped down version of relationship we call “transactions”. This is a very weak replacement for a relationship, but it is a sort of “micro-relationship” in that for a brief moment two people who don’t know each other can kind of care about each other during an exchange. Through specialization, we can do something well that doesn’t just benefit the handful of friends and neighbors we have, but tens of thousands and possibly millions of people via transactions (e.g. a factory, starting an Amazon business, etc.)

    2. There is a process called “commensuration” in the social sciences, where people start to make one thing commensurate with another, even in wildly different domains. For example, to understand the value of a forest and to convey its importance to decision makers we might say “this forest is worth $100 billion”. It’s kind of weird to do this (how do leaves and trees and anthills and beetles equal imaginary humoney?) But slowly, over time, we have made many things commensurate to dollars at various scales. (I don’t think this is a good thing, but it does have benefits). In short, more and more things that were part of an implicit economy of relationships (e.g. can the neighbor girl babysit tonight?) have entered the explicit domain of the monetary economy (e.g. sittercity).

    .

    IMO, in order to participate in the huge value generated by this monetary economy, people sometimes lose the forest for the trees (so to speak) and forget what really matters (e.g. excellence of character, deep relationships, new experiences, etc.) because it seems like we might be able to put off those things until “after” we square away this whole money thing first. But maybe “after” never comes–and the hollow life of a consumer capitalist drains the inner ecological diversity of a soulful life.











  • canadaduanetoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    5 months ago

    Very nice! I was just looking at reviews on this. Really nice machine in every way, except maybe for the camera, and minor points off for the display being “only” 1080p. I have a lovely framework 13", but am jealous of the Lemur’s battery life.






  • canadaduanetoLinux@lemmy.mlWhat are your opinions of Guix?
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    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"