• SkinnyTimmy@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Also, same issue as with MB and mb, you might confuse megagram with milligram

    Although that’s not really the reason, more like an argument to keep it this way

    • Synthead@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      And you might confuse MB, megabytes, with MiB, mebibytes. MB is typically used to measure storage, and MiB typically used to measure data. There’s 1000 bytes in a kilobyte, and 1024 bytes in a kibibyte.

      • stingpie@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        1 year ago

        I still use mb and kb as 1024 instead of 1000, because I prefer to not have units switched around from under me. 2^16 will always address 64kb, not 65.

        • Synthead@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          1 year ago

          This error is so common that most folks will know what you mean. It’ll only really get you in trouble when you’re accurately comparing sizes of storage and data. There’s a good chance it won’t really matter unless you’re working with code or archiving disks.

          This is also why a “2 TB” hard drive is “smaller than 2 TB.” 2 terabytes is 1.819 tebibytes. Even Windows will incorrectly call TiB units TB and terabyte, so people have often carried a conspiracy theory that drive manufacturers “short you,” or that the missing data somehow has to do with enormous file system metadata.

          • stingpie@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            There are actually two standards here. Kibibytes was introduced later as a way to reduce confusion cause by the uninitiated thinking the JEDEC standard refered to powers of ten instead of two. That’s why I’m saying that 64 kilobytes is equal to 2^16 bytes, because that’s what the original standard was.

      • ComradeKhoumrag@infosec.pub
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Mega is a million. Kilo is a thousand. 1024 in kilobytes comes from powers of 2 which are more natural in addressing computer memory