• Buffalox@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    5
    ·
    3 days ago

    Base 2 gives the unit of bits

    Which is exactly what bit means.

    base 10 gives units of “dits”

    Which is not bits, but the equivalent 1 digit at base 10.

    I have no idea how you think this changes anything about what a bit is?

    • Aatube@kbin.melroy.org
      link
      fedilink
      arrow-up
      14
      arrow-down
      2
      ·
      2 days ago

      The external storage data and shannon are both called bits, exactly because they’re both base 2. That does not mean they’re the same. As the article explains it, a shannon is like a question from 20 questions.

      • General_Effort@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        2 days ago

        Wrong. They are called the same because they are fundamentally the same. That’s how you measure information.

        In some contexts, one wants to make a difference between the theoretical information content and what is actually stored on a technical device. But that’s a fairly subtle thing.

        • typeswithpenis@lemmynsfw.com
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          2 days ago

          A bit in the data sense is just an element of the set of booleans. A bit in the entropy sense is the amount of information revealed by an observation with two equally probable outcomes. These are not the same thing because the amount of information contained in a bit is not always equal to one bit of entropy. For example, if a boolean is known to be 0, then the amount of information it contains is 0 bits. If it is known that the boolean is equally 0 or 1, then the information content is 1 bit. It depends on the prior probability distribution.

          • General_Effort@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            1 day ago

            In some contexts, a bit can refer to a boolean variable, a flag. In other contexts, it may refer to the voltage at a certain point, or any number of other things. But when you are talking about bits/s then it’s a measure of information.

            These are not the same thing because the amount of information contained in a bit is not always equal to one bit of entropy.

            Yes, but as you know, this implies that the information is already available. You can use that knowledge to create a compression algorithm, or to define a less redundant file format. That’s very practical.

            We can also be a bit philosophical and ask: How much information does a backup contain? The answer could be: By definition, 0 bits. That’s not a useful answer, which implies a problem with the application of the definition.

            A more interesting question might be: How much information does a file contain, that stores the first 1 million digits of the number π?

        • Aatube@kbin.melroy.org
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          I don’t see how that can be a subtle difference. How is a bit of external storage data only subtly different from information content that tells the probability of the event occurring is ½?

          • General_Effort@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            4
            ·
            2 days ago

            It’s a bit like asking what is the difference between the letter “A” and ink on a page in the shape of the letter “A”. Of course, first one would have to explain how they are usually not different at all.

            BTW, I don’t know what you mean by “external storage data”. The expression doesn’t make sense.