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

      I assume this is meant as a joke, but my pedantic ass can’t let it slide. 0.9766 kilobytes, or 976.6 bytes doesn’t make much sense unless we are assuming a rounding error because that would require a fraction of a bit which is indivisible.

      I’m assuming you were comparing kilobytes (KB) to kibibytes (KiB). A kilobyte is decimal based, so it is 1000 bytes. A kibibyte, which is binary based, is 2^10 bytes, i.e. 1024 bytes. And so a kilobyte is ~0.9766 kibibytes.

      • Xavienth@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        It’s a joke on the definition of byte being different depending on who you ask. Some say it is 1000 bytes, some say it is 1024. The 1000 byte kilobyte is 97.66% (rounded) the size of of the 1024 byte kilobyte.

        As an addendum, a generally accepted definition is that the kilobyte is 1000 bytes, because kilo is the SI prefix for 1000, and kibibyte (kibi, kilo binary) is 1024 bytes, a round and useful number for computing. But old habits die hard, so most people refer to 1024 bytes as a kilobyte, the historical definition.