• Steve@communick.news
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 year ago

    Those are different systems, though, with gigabytes measured in powers of 1,024 and gibibytes in powers of 1,000.

    They got those backwards! The whole concept hinges on this, and they flipped the values! Sometimes I love tech writers.

    • ijeff@lemdro.idOPM
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 year ago

      Backward indeed! I’ve always found the Wikipedia chart helpful.

  • JoelJ@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    1 year ago

    Maybe to avoid confusion, they should just display units in GB instead of GiB? Or just display both

    • Psythik@lemm.ee
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      1 year ago

      I still don’t understand the difference. GB sometimes means 1024 MB, and sometimes it means 1000. But then also sometimes it also means ether 1000 MiB or 1024 MiB, depending on who’s saying it.

      The whole “iB” thing was supposed to clear up confusion but it only makes it worse. I don’t understand why we can’t just make 1GB = 1024 MB, ditch the silly “iB” nonsense, and then just call it a day.

      I blame hard drive manufacturers. They’re the ones who started this whole 1GB = 1000MB bullshit.

      • Alien Surfer@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        1 year ago

        I agree with you. A long time ago, those of us “in the know” techies could parse the difference like it was a native language. When talking anything but computers, it was always the SI of 1000. When talking about computers, it was always 1024.

        I think the masses were confused and the SI purists felt their SI prefixes were being corrupted. So they made a distinction/standard between binary numbering system prefixes and decimal numbering system prefixes.

        I hate it. Feels wrong because I’m old and set in my ways. People like me are confused because we still use the old nomenclature, and when someone else uses the old nomenclature (when talking about computers), it’s ambiguous to us because we don’t know which numbering system they are using (e.g., binary as opposed to decimal). I still have to ask and half say binary and half say decimal.

        I suppose if they’re teaching it in high school and college it’ll become native soon enough, if it hasn’t already with the next generations.

        • LaggyKar@programming.dev
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          edit-2
          1 year ago

          When talking about computers, it was always 1024.

          No. Hard drive sizes are always given with decimal prefixes. Always have been.

          • Alien Surfer@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 year ago

            I wasn’t talking about HDD sizes, but I know the person to which I was replying was talking about HDD’s specifically. I shou,d have clarified I was talking in more general terms (CPU RAM, NVM sizes, etc.)

            I remember being miffed about the advertising of the HDD sizes. So I think you are correct there. Wish I could go back to the mid 80’s and do some research on my old HDDs and floppies. I honestly just can’t remember, so thank you.

            I hate the new prefixes, not just because they aren’t the older nomenclature, but because they feel ridiculous to speak out loud. If a less silly sounding prefix was chosen, I probably wouldn’t be tainted about it.

        • tal@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          When talking about computers, it was always 1024.

          The problem is that each time you go up another unit, the binary and decimal units diverge further.

          It rarely mattered much when you’re talking about the difference between kibibytes and kilobytes. In the 1980s, with the size of memory and storage available, the difference was minor, so using the decimal unit was a pretty good approximation for most things. But as we deal with larger amounts of data, the error becomes more-significant.

          Decimal unit Binary unit Divergence
          kilobyte (kB) kibiyte (kiB) 2.4%
          megabyte (MB) mebibyte (MiB) 4.9%
          gigabyte (GB) gibibyte (GiB) 7.4%
          terabyte (TB) tebibyte (TiB) 10.0%
          petabyte (PB) pebibyte (PiB) 12.6%
          exabyte (EB) exbibyte (EiB) 15.3%
      • LaggyKar@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        3
        ·
        edit-2
        1 year ago

        I don’t understand why we can’t just make 1 G=1 G, ditch the silly contex-sensitive-prefixes nonsense, and call it a day.

        I blame memory manufacturers. They’re the ones who started this whole 1 GB sometimes= 1024 MB bullshit.

  • LaughingFox@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    Iook I’m not a tech person, I always thought 1 gig was 1024 megabytes?

    What is a GiB? I’ve seen it but always wondered.

    • cjf@feddit.uk
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      1 year ago

      GB is metric and it’s easy for us to remember. E.g. 1000 bytes = 1 Kilobyte, 1000 kilobytes = megabyte and so on.

      GiB is the binary value. In binary, you have to work in powers of 2. That is… the values double every time (2, 4, 8, 16, 32, 64 and so on…). 1024 bytes = 1 KiB, 1024 KiB = 1 MiB

      Since computers work in binary, and 1000 isn’t a number that’s easy to deal with in binary, we use the closest value available to us, 1024. In fact, back in the days when people were only concerned about KBs, they would say that 1000 KB = 1024 KiB.

      Of course, we’re now working with TBs rather than KBs. Everything ramps up including the amount of “missing” space an OS reports on a hard drive.

      I know windows tries to be helpful and shows you the value of a drive in GB, rather than its GiB value. Ever wonder why a 1TB hard drive appears as ~931GBs? This is why. Other OSes tend to show you the GiB value since that’s generally a lot more accurate.

      • Pxtl
        link
        fedilink
        English
        arrow-up
        9
        ·
        edit-2
        1 year ago

        An important thing to note about this is that as we go up exponentially the error between GiBs and GBs increases. A kiB is only 2% more than a kB, but a TiB is 10% more than a TB. So using them interchangeably is increasingly misleading.

        Also, there are many cases in computers where it doesn’t really make sense to fuss about binary. Like, an HDD is a spinning piece of metal, the number of bits it can store has no binary constraint.

        Fun fact: the old 3.5" floppies that were marketed as 1.44 MB were neither 1.44MiBs nor 1.44 MBs, but some weird hybrid mash-up unit.

      • FooBarrington@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        To expand on this: people sometimes use SI prefixes to refer to 1024 units, but it’s just wrong. A kilometer is 1000 meters, a kilogram is 1000 grams, and so on. If we were to re-define these prefixes for specific disciplines things get much more complicated very quickly.

      • Alonely0 🦀@mastodon.social
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        @skullgiver @LaughingFox It’s not programmer laziness at all, RAM modules’ size has to be of a power of 2 on most platforms because of various assumptions the CPU makes in memory alignment and memory bulk reads for performance reasons. Processors don’t interact directly with the flash dies, so it’s fine for them to be of the size they feel like provided the controller knows what it’s doing.