lemmy.kfed.org
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
not_IO@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 1 day ago

unix design principals

lemmy.blahaj.zone

message-square
51
link
fedilink
841

unix design principals

lemmy.blahaj.zone

not_IO@lemmy.blahaj.zone to linuxmemes@lemmy.worldEnglish · 1 day ago
message-square
51
link
fedilink

https://social.treehouse.systems/@argentumcation/116524819880162676

alert-triangle
You must log in or # to comment.
  • MousePotatoDoesStuff@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    I was just thinking yesterday about how the half adder probably violates the Unix design principles

  • sleet01@lemmy.ca
    link
    fedilink
    arrow-up
    7
    ·
    12 hours ago

    No, it’s okay if you combine them with pipes.

  • nymnympseudonym@piefed.social
    link
    fedilink
    English
    arrow-up
    42
    ·
    19 hours ago

    Unix principals include Dennis Ritchie, Ken Thompson, and Brian Kernighan

    Unix principles include tools that do one thing and do it well, casting directories and sockets as file abstractions, and clean separation between kernel and userspace modes.

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      18
      ·
      18 hours ago

      Gawd it’s great to see unabashed grammar pedantry.

      • PearOfJudes@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        7 hours ago

        Gawd T-T

      • mfed1122@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        17
        ·
        18 hours ago

        Spelling pedantry, really

        • Jankatarch@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          12 hours ago

          “Spell Nazi” sounds like an actual evil-wizard title, tbf.

  • printf("%s", name);@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    18
    ·
    17 hours ago

    Whatever its shortcomings, it surely must be better than Microslop’s Coshampoo. Who the heck wants an attendant watching you shower?!

    • RandomLegend [He/Him]@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      17 hours ago

      No kinkshaming lol

      • printf("%s", name);@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        16 hours ago

        I am ALL for exhibitionism in non offensive settings, but Microslop up my ass? No spank you. 😝

        • the_crotch@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          8
          ·
          16 hours ago

          up my ass

          That is not what shampoo is for

          • DreadPirateShawn@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            7
            ·
            16 hours ago

            Sure it is, it’s right there in the name. That’s why it’s a sham.

    • d_k_bo@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      13 hours ago

      I oft co-wash my hair (washing the hair only with conditioner instead of shampoo).

  • groet@feddit.org
    link
    fedilink
    arrow-up
    124
    ·
    edit-2
    1 day ago

    Eh I think its fine. Its just

    clean hair --condition
    

    or

    clean body --moisturize
    

    And its not like literally any cleaning product on the market isn’t just a wrapper around libclean anyway

    Edit: libclean is deprecated, now its all either libsoap or its newer fork libpid

    • Black616Angel@discuss.tchncs.de
      link
      fedilink
      arrow-up
      10
      ·
      19 hours ago

      libpid

      🤣

    • the_crotch@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      16 hours ago

      Make sure to run “clean body” before and after you fsck

    • dave@feddit.uk
      link
      fedilink
      English
      arrow-up
      52
      ·
      1 day ago

      That’s true, but neither of those options are POSIX-compliant. You have to set POSIX_ME_SLIMY for clean to also condition.

      • Yuyarl@sh.itjust.works
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        24 hours ago

        Son, I’m crine

      • not_IO@lemmy.blahaj.zoneOP
        link
        fedilink
        English
        arrow-up
        23
        ·
        1 day ago

        me slimy ,😭

    • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@hilariouschaos.com
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 day ago

      Fuck that’s a good edit

  • rozodru@piefed.world
    link
    fedilink
    English
    arrow-up
    36
    ·
    1 day ago

    suckless shampoo: you have to build it yourself. want no tears? that’s a patch. smell like coconut? patch. you forgot to add the coconut smell to the config so it’s not gonna build, try again.

    • rtxn@lemmy.worldM
      link
      fedilink
      arrow-up
      1
      ·
      12 hours ago

      Suckless shampoo is just a bucket of wood ash and pork tallow.

  • Shanmugha@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    17 hours ago

    I am. It washes my body (as in corporeal form)

  • JohnAnthony@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    15
    ·
    23 hours ago

    My hair quality became noticeably better when I started using SOLID shampoo. DRY shampoo, if you will

  • ViatorOmnium@piefed.social
    link
    fedilink
    English
    arrow-up
    50
    ·
    1 day ago

    What if it’s systemd’s shampood?

    • Great Blue Heron@lemmy.ca
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 day ago

      Or:

      shampoo -> /bin/busybox

      conditioner -> /bin/busybox

      I find it funny that systemd gets so much hate for trying to be all the things, but haven’t seen the same criticism directed at busybox

      • TurboWafflz@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        20 hours ago

        To be fair, busybox is doing it for the purpose of making it easy to setup a very small and simple fully functional OS. Systemd is doing it for the purpose of ???

        • esc@piefed.social
          link
          fedilink
          English
          arrow-up
          4
          ·
          17 hours ago

          For the purpose of managing system.

        • Baŝto@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          3
          ·
          18 hours ago

          I never understood why Gummiboot became part of Systemd

          • SwingingTheLamp@piefed.zip
            link
            fedilink
            English
            arrow-up
            5
            ·
            18 hours ago

            Just wait for systemd-kernel, systemd-desktop, systemd-webbrowser, et cetera. You know it’s coming.

            • TurboWafflz@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              17 hours ago

              Gnu/linux -> gnu/systemd -> systemd/systemd

      • porous_grey_matter@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        24 hours ago

        deleted by creator

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      7
      ·
      18 hours ago

      Þere’s no such þing. systemd-clean includes

      • sytemd-bodywash
      • systemd-shampoo
      • systemd-conditioner
      • systemd-shower
      • systemd-house

      and þey’re all interdependent. Someone once tried to decouple systemd-shampoo but it was so much effort þey hard-forked it. Þe only þing it doesn’t include (yet) is yard.

      And it looks like þis!

      VLoD84WFpDfT3zl.jpeg

  • swab148@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    17 hours ago

    Does this also apply to emacs?

  • Tiger_Man_@szmer.info
    link
    fedilink
    English
    arrow-up
    58
    ·
    1 day ago

    2-in-1 shampoos suck tho, so unix wins again

    • Albbi@piefed.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      17 hours ago

      Shampoo: Remove oils and thereby remove dirt attached to oils. Conditioner: Restore oils to your hair.

      2-in-1: Restore oils while also removing oils?

    • OwOarchist@pawb.social
      link
      fedilink
      English
      arrow-up
      32
      arrow-down
      2
      ·
      1 day ago

      Exactly.

      Shampoo is supposed to remove dirt and grease from your hair. Conditioner is supposed to replace the necessary oils your hair needs to have. … Which need to be replaced because the shampoo just washed them all away. In order to make a 2-in-1 shampoo and conditioner, they have to make a significant compromise, producing a shampoo that doesn’t wash all the grime out and a conditioner that doesn’t stay and replenish as well as a standalone one would. So you get both in one bottle … but a shitty version of both. Using separate products will work much better. Even the cheapest shampoo and cheapest conditioner out there, used individually, will easily outperform even the fanciest combination.

      Oh, and while we’re here… That thing on the bottle that says ‘lather, rinse, repeat’? It’s not just for fun, and not just because they want you to use more shampoo. It actually does work noticeably better if you do it twice in a row.

      • kernelle@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        21
        ·
        1 day ago

        I am following your logic, but as someone who’s been using a 2 in 1 for like a decade, I can tell you everyones hair needs are different. I’ve used them separately as well and it really does not make a difference for me.

        Even the cheapest shampoo and cheapest conditioner out there, used individually, will easily outperform even the fanciest combination.

        But I really take offence to this line, absolutely not true. The cheapest shampoo will dry up/irritate your scalp, the cheapest conditioner will make your hair feel like an oil spill.

        • Bio bronk@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          irrelevant unless you can prove you aren’t bald

        • Zwiebel@feddit.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          1 day ago

          Folks shampoo is for you skalp/hair roots and conditioner is for the tips only.

          https://www.youtube.com/watch?v=rUbbx00iVqs&t=192

          • Anivia@feddit.org
            link
            fedilink
            arrow-up
            1
            ·
            7 hours ago

            Which means conditioner is irrelevant for anyone without long hair

          • zedgeist@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            19 hours ago

            Just the tip?

      • chicken@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        7
        ·
        1 day ago

        I have really long hair and another benefit of doing them separately is, it’s easiest to brush it right after applying conditioner, and harder when it has shampoo in it. So there’s that on top of really needing the conditioner to work well.

  • brbposting@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 hours ago

    (“do one thing well“)

  • 9point6@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 day ago

    I prefer the gnu 2-in-1, in order to have a different implementation to the BSD version they optimised for speed over space.

  • Jerkface (any/all)@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    24 hours ago

    just use awk

  • OwOarchist@pawb.social
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    *principles

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don’t come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 911 users / day
  • 3.83K users / week
  • 7.34K users / month
  • 17.6K users / 6 months
  • 1 local subscriber
  • 31.3K subscribers
  • 2.13K Posts
  • 91.4K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org