• redjard@reddthat.com
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          30 days ago

          Understand on what level?

          The basic idea is that dbus is a type of communication layer and api.
          Services can register there and programs see their registrations. dbus can in theory then launch a service too, so things don’t have to run all the time.
          The idea is similar to having some known config file, that programs write to and that a service listens on or uses later. But dbus has more granularity.

          It also often runs the other way, with system components presenting info in dbus and programs using it, to adapt to user configuration.

          And let’s not even get into udev.

          Point here is that dbus could be implemented via a command and an sqlite database for example. The command checks the database and constructs the dbus state from it.
          But for likely performance reasons it isn’t, so this info is simply hidden in dbus, in ram, instead of being a file.

          You can access dbus via a socket file ofc, but it’s not like you can mount it.

          Even more confusingly, the internal ephemeral dbus structure with its apis and endpoints resembles a filesystem. In that way it is similar to the w!ndows registry, though not nearly as bad.

          so yeah dbus is most definitely not files

          edit: also there’s multiple dbusses, usually one per user and one for the system. Those two hold different apis and info. It’s just the same thing twice tho.

  • mmmm@sopuli.xyz
    link
    fedilink
    arrow-up
    45
    ·
    1 month ago

    20 years this year and I still am not sure how it is supposed to be pronounced (in english)

  • uderecife@piefed.world
    link
    fedilink
    English
    arrow-up
    40
    ·
    1 month ago

    24 years exclusively running it.

    Short answer: magic.

    Long answer: a stressful full week trying to get everything right, followed by a long, blissful period forgetting how hard it was to get it up and running like magic.

    • limelight79@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 month ago

      Those weeks were a lot more stressful, and longer than a week, when I used Slackware and started installing stuff that wasn’t packaged for Slackware. I would dread new software. It was the Unifi controller that finally put me over the edge: I wasn’t even willing to give it a shot. I ran the controller on my Kubuntu desktop for a few weeks until I switched the server to Debian.

      It felt like a house of cards. Nudge one of those cards by, say, updating a library, and you could easily break something else.

      “If you want to know how Linux works, ask a Slackware user,” is the old saying. It’s true…we had to know, because we didn’t have a choice not to know.

      • uderecife@piefed.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        So many factors at play.

        The number of packages installed, the use of externally unsupported repos, the distro you use, reliability of their packaging system, how much you deviated from the baseline customization, and probably more.

        Keeping track of everything off what and how much you changed may prove difficult. But it helps taking notes of how you solved the more complicated issues.

        With time you learn to live with the inevitability of something breaking. You update less often, and only when you really have to. Repairing stuff becomes less overwhelmeming with time.

    • tetris11@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 month ago

      Linux: You’re a file.
      Windows: No! You’re a file!
      *Linux smiles maliciously*

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      except that thing. …and the other thing. that thing used to be a file but it’s not anymore. that’s only a file if you use this specific shell. that one is a file system, but there’s no files in it. oh don’t touch that file, that’s deprecated. oh that’s only a partial file, you need to open this one too otherwise it breaks.

  • sleepmode@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 month ago

    But seriously - if you do want to see the inner workings, perform a Gentoo stage 2 to dip your toes in. LFS after if you’re feeling dangerous. Then things will start to come together. But maybe do it on a spare machine… You can/will break things and you will need a fallback to do research. Don’t bother if you don’t care to read manuals, it’s not easy and can be frustrating.

    • Mikelius@lemmy.ml
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      Proud Gentoo user for the past 12ish years and this is the first I’ve heard of “stage 1” and “stage 2”. This explains the number for stage 3 I guess lol. Even with stage 3, and having dealt with gentoo (still my daily driver to date), I think I’ve learned more than I would have with many other distros.

    • muhyb@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      I once tried Gentoo stage 1 because I felt bad ass and failed miserably. However that also taught me a lot.

      • sleepmode@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 month ago

        Hahah. At least you learned some things. Took me a few goes after thinking I was slick having stage 2 down pat. Then tried some BSDs and was humbled again.

        • muhyb@programming.dev
          link
          fedilink
          arrow-up
          6
          ·
          1 month ago

          Heh, there was a guy on our local forums who daily drived FreeBSD 20 years ago. They probably still using it. 20 years later, I still don’t know any other people who daily drive a BSD.

          • sleepmode@lemmy.world
            link
            fedilink
            English
            arrow-up
            7
            ·
            1 month ago

            I’ve been running OpenBSD since 2.8. I’ve only met one other BSD user in real life and they were baffled to why I’d run it as a workstation OS. Sometimes I am too.

          • rozodru@piefed.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 month ago

            I daily drive OpenBSD. I found it easier to set up than NetBSD which apparently is ass backwards as open is supposed to be harder. for the life of me I just couldn’t wrap my head around getting the amdgpu drivers working on NetBSD.

            I also found OpenBSD slightly better supported for various hardware than FreeBSD. Wifi works better on it, these old ass logitech headphones I have work flawlessly on OpenBSD when on FreeBSD they just didn’t work at all and gave off horrible feedback or I couldn’t turn the mic off. Also found setting up a Debian VM much easier on OpenBSD than FreeBSD (still a chore though)

            Also OpenBSD for whatever reason probably has the most solid and decently sized gaming community than the other ones.

            It’s a great OS that just stays out of your way. really fun to tinker with. Just don’t expect to do EVERYTHING on it. for surfing, certain dev work, etc it’s great.

            • muhyb@programming.dev
              link
              fedilink
              arrow-up
              2
              ·
              1 month ago

              I see, I thought FreeBSD has the most users so I would guess a better hardware support but apparently not. I was only interested in NetBSD because of backwards hardware compatibility and that’s pretty much it, because some stuff has problems even with small Linux distros.

              It’s quite interesting to see people who also game on BSD by the way. Rock on!

              • rozodru@piefed.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 month ago

                I assumed the same as you when I tried out the BSDs. I went with FreeBSD first because I assumed that was the better supported one. Wifi was absolutely horrible on it. connection would constantly drop, or was slow, etc. on OpenBSD i haven’t had those issues. Also had a lot of issues setting up a VM on FreeBSD and getting certain USB devices to work correctly. neither of those issues on OpenBSD.

                • muhyb@programming.dev
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 month ago

                  By the way, I watched a video about OpenBSD and kinda intrigued to put it on my old Thinkpad. Well, at least I’ll consider if I can make it without a headache. I have a plan to make a really minimal (and maybe secure) writing machine. :)

          • hexagonwin@lemmy.todayBanned
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            i use freebsd on my desktop and server. it’s pretty good. linux emulation is also capable so everything just runs!

            hardware compat isn’t as great tho. my laptop randomly stutters with freebsd so i use linux instead

            • muhyb@programming.dev
              link
              fedilink
              arrow-up
              2
              ·
              1 month ago

              I heard BSD is solid as a server. The person I know had to compile everything but that was many years ago. I would assume you have binary packages as well nowadays?

              I never really used BSD and I only know NetBSD a little. I’m actually curious about a NetBSD server but I’m lazy even for my desktop. And I was considering switching my Debian server to Alpine but I haven’t touched that server since 2019 aside from occasional updates, so even that’s a big step for me. I guess the more realistic standpoint is I will install Alpine when my netbook finally dies and have to replace it with another hardware. :)

              • hexagonwin@lemmy.todayBanned
                link
                fedilink
                arrow-up
                2
                ·
                1 month ago

                yes there are binary packages available, so i just use ‘pkg install …’ like ‘apt-get install’. NetBSD also has binary packages and is pretty good. it’s all fun to use, but tbh i don’t think there’s many reasons to move away from a linux system because there’s not many clear advantages

                • muhyb@programming.dev
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  1 month ago

                  Well, to be fair I don’t really have time to learn whole another system, even though there are many similarities. I’m just interested, as a hobby. :)

                  It’s good to know they have package managers like Linux though.

      • rozodru@piefed.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        honestly just installing Gentoo is a great way to learn various aspects of linux. It’s a process, a lengthy one, but if you manage to install it successfully you can pretty much install any distro or BSD with absolute ease and not even think about it.

        • muhyb@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          Totally agree. I installed Gentoo a couple times before (last time maybe 10 years ago though, all were stage3). I tried stage1 once and my Linux knowledge was not even good that time, so there is that. :)

          Even installing it will teach you a lot of things.

    • esc@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      This and some certification guide for sles or rhel (their documentation in general is very good and thorough).

  • Grail@multiverse.soulism.net
    link
    fedilink
    English
    arrow-up
    21
    ·
    1 month ago

    Communist nerds decided that computer programs should be free, so they made free computer programs for you. It’s better than corpo slop because all the most passionate nerds are sharing their code with each other, and judging every other nerd’s code.

    • diaphragmwp@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 month ago

      There are also other socialist nerds who have decided they don’t want to obligate the corpos to give them code because it sucks. Welcome to BSD.

    • ricecake@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Also: people trying to make a point out of whatever motivation.
      Need a POC for a research paper? Do it in Linux.
      Need an implementation to get investor funding? Do it in Linux.
      Need to pressure a large commercial operating system to implement a security model as a state security agency? Do it in Linux! It’ll only take a decade for them to start to trust it, but the company will be pressured by a free alternative have an implicitly endorsed security system!

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 month ago

    It takes the raw code, bakes it at 450°F for 90 minutes, then does some magic.

  • AnimalsDream@slrpnk.net
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 month ago

    What I tell people: “When you get used to using an operating system that respects your rights, you don’t wanna go back.”

    • Bizzle@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 month ago

      I’ve been on Arch full time for 6 years, I still get frustrated, sometimes I get stumped, but I NEVER want to go back to windows

    • Honytawk@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      How about an operating system that respects your time?

      Cause Linux aint that if I have to sift through dozens of badly documented online manuals just to get something small working the way it should.

      Windows is much better in that regard.

      • AnimalsDream@slrpnk.net
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 month ago

        So are you immediately trying to pull the conversation away from ethics, because you know Microsoft has no leg to stand on in this regard? Who cares that the founder of MS is heavily implicated in the Epstein files if you (supposedly) save a little time, right? Or I guess it doesn’t matter that that same company is actively providing surveillance tech support to Israel in their genocide of Palestine? That they censor their employees emails from speaking about the very atrocity they’re complicit in? Or that the same surveillance infrastructure is being used at home in service of an authoritarian regime?

        That’s not even getting into all the gritty details of all the little annoyances and rights abuses - which have been accurately predicted by free software advocates for decades now - that inevitably stem from proprietary tech companies like Microslop, which collectively we are now calling enshittification.

        But even ignoring the massive pile of shits about Microsoft and Windows to address your argument in a vacuum, does Windows respect your time? Really? Does Windows respect your time when it forces you to go online and sign up for an online account, and login to that account to enable their at-home spyware, just to install their operating system? Does it respect your time when you have to go through a potentially hours-long painful update procedure on a fresh install? How about when the OS runs awfully sluggish even on great hardware? Does MS respect your time when you have to go out of your way to research and install multiple tools and scripts to try in vain to gut all the spyware, AI garbage, adware, and bloat, and run 3rd party system tools to suppress other elements of the OS just to make the damn thing halfway usable and have the illusion of being something that can be trusted?

        Even on your own little point, where is this superior documentation you speak of? Because every time I’ve run into a problem on Windows, their support pages have only ever given me the most generic troubleshooting answers that have been completely unhelpful. Please show me documentation that comes even close to the thoroughness and quality of the Arch Wiki.

        Assuming any of what you said is even in good faith, and that you’re not just a shill or simp, here’s what you need to consider: Windows is something that most people have been using all their lives. When you’ve been operating something that long, it feels easier. You’re more able to ignore the pain points because habits are already deeply settled, and you know your way around. That’s the biggest reason Linux feels like such a hassle at first - learning new things takes time, and is always frustrating. I know this experientially because at one time I struggled to use Linux systems too, but now I have the reverse problem. I’ve been using Linux long enough, and Windows has devolved and changed enough, that on the rare occasion I try to use that piece of shitware, it is the most frustrating thing in the world. Windows 7 was something I was used to. But Windows 10 and 11 are new and unfamiliar to me, and consequently feel damn near unusably bad.

        Does Linux have things it needs to improve? Of course, but at least it’s something worth improving. You’re trying to compare imperfect, yet a remarkable collection of software, to something that is literally just malware at this point. If anything, virus scanners should be adding Windows to their definitions lists.