• atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    3
    ·
    1 day ago

    The Unix principle is the most over-rated design principle ever. It’s sole purpose is to be dragged out when somebody doesn’t like your application. Notably the systemd haters don’t levy the same complaint about Wayland…

    It’s based on the idea of programs as “functions” that can be strung together like you often do with things like “cat /etc/passwd | grep user | tr ‘s/:/,/’” (cat put in there to trigger the right people). That’s a great philosophy for cli utilities. But it’s not universally applicable.

    The goal is not to make things tiny but to make them “the right size.” You wouldn’t want to run 30 different applications to do what GIMP does and you shouldn’t have to.

    And the idea of having dozens of viable replacements for different functions is not a Unix thing but pretty restricted to the Linux ecosystem. And it’s not like it was planned, it just happened because 12 people went out and wrote their own ntp daemons. There wasn’t really much benefit to it. “Oh boy, I can run a different ntpd… And half of them are partially implemented. Hooray?”

    • jdr@lemmy.ml
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      23 hours ago

      I hate Wayland and Systemd.

      You’re allowed to have programs whose job is to coordinate other programs. You could totally have a version of gimo that just runs whatever separate program on the buffer.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        18 hours ago

        You’re allowed to have programs whose job is to coordinate other programs.

        Sure - it’s just not always a good idea. Would you want to copy your buffer to a dozen different applications applying filters to an image?

        • jdr@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          It means that you don’t have to fix the set of capabilities at the time you make the program. This is how plugins work.

          And there’s no need to copy, sharing memory between processes is easy.

          • atzanteol@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 hours ago

            No no no no - plugins are “tightly coupled” which this blog post claims is not the “UnIx PhIlOsOpHy”. They have to be completely independent applications swappable at will by the end user with different implementations!

    • undrwater@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      That’s a great philosophy for cli utilities.

      I think this might be the crux of the argument. Wayland is certainly not a cli utility, so there’s no need to argue if or how it impacts that environment.

      I’m quite familiar with openRC, so when I was introduced to systemd, it felt quite awkward. I use both, but still prefer openRC, maybe still due to familiarity. If I’m operating in an WM or DE, it doesn’t really matter that much.

      It’s been over a decade since I’ve run an ntp daemon. 😉