• hddsx@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    4
    ·
    6 months ago

    That’s not what I’m saying. Yes, it’s open source and you can build the binaries itself. I’m saying that the process is obfuscated or complicated because instead of text log files, you have to use journtalctl to view them.

    Then again, someone said it may be text files with markers so I have to look into that

    • AggressivelyPassive@feddit.de
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 months ago

      Are you really sure, you’re using “obfuscation” right? Because that implies that someone intentionally makes something harder to read to hide something. That’s not the case here. Nothing is hidden, it’s all there, the formats are well defined and easy to read.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        3
        ·
        edit-2
        6 months ago

        Nothing is hidden, it’s all there

        Yeah, of course, it’s all there in binary. For programs of course that’s not a problem, but for data that you may need to look at any time, it is. It’s harder to interpret both for humans (significantly) and both for any program that want to make use of it (unless they use the specific library that came up with the format, and by that also pulling in all its libs transitively)

        Binary data is not much less obfuscated than the system files of windows. It’s all there, you can read it

        • AggressivelyPassive@feddit.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          So literally every program on your machine is obfuscated. Linux kernel? Obfuscated. Wayland? Obfuscated. And even VIM: obfuscated.

          You’re creating problems where there are none.

          • ReversalHatchery@beehaw.org
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            3
            ·
            6 months ago

            Did you read my comment in it’s entirety?

            For programs, that is not a problem.
            This is a problem for data.

            Why? Because you very rarely need to read the program’s “content”, and when you do, you’ll instead go look at the source code anyways. But for binary data files there is no source code that is the equivalent of the contents in readable form.

            If you want to read it as a human in your text editor, good luck with making sense of it. If you want to read it with your program it’ll have to pull in a tree of dependencies out of questionable necessity, and any of that dependencies could have a severe bug or a security vulnerability that affects your program and it’s users. And the only reason you needed to import that lib is to be able to parse this binary format. It’s not even a common one like an archive format, but a totally custom made format of systemd.
            And then there’s another problem. You may be able to make sense of the binary data with your bare hands and a text editor, but you better not edit it that way, because you may mess up the delicate offsets, or you may wanted to replace a value (e.g. a string, out some kind of list) with a longer one but you can’t because of the former problem.

            Binary is ok for programs, and you know what, it’s also fine for data in transit (network) and of course archives.
            But for data, whether it’s a log file or configuration, or some other that would be totally fine in text format, it’s just annoying, limiting, and overcomplicated.

            • AggressivelyPassive@feddit.de
              link
              fedilink
              English
              arrow-up
              3
              ·
              6 months ago

              Again, that’s not what obfuscation means.

              Also, what exactly is the difference between cat and journalctl? You can’t read a text file without a program either.

              Of course, raw text files are more common, but what you’re drawing up here is a mixture of old man yells at cloud and tin foil hat territory.