• tisktisk@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    18 days ago

    I’ve been linuxing for almost 15 years, and the first 10 or so I strongly believed it was all files and directories…then I went down the gentoo path and quickly discovered that computers view them as essentially the same thing.

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      2
      ·
      18 days ago

      I discovered this when I started doing embedded baremetal programming with no OS and using SD cards. It hit me like an anvil from the sky when I realized dirs are just files pointing to other files. With no OS services you have to open the dir file directly in the program and scan it for file entries to get a list of them and pointers to their actual locations in the media. Navigating down and back up a subdirectory tree has to be done entirely in programming by keeping track of where you’ve been. There’s nothing in the filesystem itself that will do that for you. It just tells you where you can physically locate data.

      • ggtdbz@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        ·
        18 days ago

        I’ve done only a little bare metal work back when I was a student and I felt like a goddamn wizard.

        Like… yes. Of course everything looks the same, just an ocean of ones and zeroes that is just coherent enough to make a processor do something, such as fetch the right ones and zeroes from somewhere else. Of course folders aren’t dedicated physical sectors of a storage device. Of course like half of anything we ask a computer to do is manipulating storage, and taking this storage and feeding it into the actual memory of whatever is going to process it.

        When you zoom back out and realize that the majority of data processing happening right now is people streaming short form video on an unfathomably massive scale, that’s when it just falls apart for me and can’t exist outside the abstractions that make the concept digestible.

        Like I can kind of understand Lemmy, as software. I can see where all this data sits and gets queried and how it works. I can vaguely conceive of a few possible federation protocols. That vast ocean of unindexed “content” over on Instagram or TikTok or YouTube? That the algorithms can serve you up no problem but that you can’t even always search for manually? That’s terrifying, on the scale of these platforms. It’s like a leviathan sci-fi body horror meat machine but of data. Yeah yeah I vaguely understand CDNs but I’m talking about the whole thing: the algorithms, the video files, streaming all this data, the impossibly complex social phenomena built around the data… the fact that this monumental achievement is only used to sell ads, landfill fodder, and to fuck with people’s brains and worldviews, it’s legitimately horrifying. I especially think about this when I’m in a public place surrounded by people watching videos on their phones and swiping through them at dizzying speed.

        Is this how computer people end up chopping wood in the forest?

        • Yondoza@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          17 days ago

          This writeup is such an interesting perspective of social media.

          It’s the medium for the human hive mind. It’s civilization’s consciousness. It’s beyond any individual’s control or comprehension, and it exists for advertising…

          • captainlezbian@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            17 days ago

            It exists for advertising like we exist for grains. Yeah that’s what’s powering it, but it wasn’t made with that in mind, it was made iteratively.

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 days ago

    Unix devs: “Let’s make everything a file in our OS so that it’s easy to use and develop”

    Windows devs (clearly on crack): “Let’s store random critical shit in a crappy database registry thing and retain literally all the drawbacks of DOS on our new NT system”

    • excral@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      17 days ago

      The Windows Devs probably shot for the Ballmer Peak and missed by so far, it’s not even funny. But seriously, look at the history of Microsoft. Even back in the early days, MS-DOS was basically plagiarized from CP/M but Microsoft maneuvered themselves to a market controling position through aggressive marketing and business strategies. Overall they leeched off the emerging PC market and probably hindered innovation more than driving it.

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    17 days ago

    Yes, all Linux system files are readable text files. The only exceptions are bitmap graphics assets and the contents of /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin etc., which is where any corrupted files go, hence the name. You can check the files, they are indeed unreadable garbage. Reminder to clean your PC’s bin directories to save disk space!

    /s

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      I was pretty amazed at this when I learned about it.

      It feels like digging into Windows was finding a bunch of compiled code.

      Where there’s been some times where I understood what was happening in Linux because I was able to follow how the library was set up.