• thesmokingman@programming.dev
    link
    fedilink
    English
    arrow-up
    60
    arrow-down
    1
    ·
    1 month ago

    Here is what I get when I complete the search.

    And here’s what I get when I intentionally change the units. Notice the color difference?

  • gerryflap@feddit.nl
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    3
    ·
    1 month ago

    What’s wrong? I find this a reasonable result. Most people looking for megabyte to bytes are actually looking for mebibytes, since the mega- prefix is literally just times a million but a lot of programs actually list mebibytes as “megabytes”.

  • DominusOfMegadeus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month ago

    GPT gave me this yesterday:

    To convert 500 KiB/s to a more common unit like megabits per second (Mbps):

    1. Understand the conversion factors:

      • 1 KiB (Kibibyte) = 1024 bytes
      • 1 byte = 8 bits
    2. Calculate the speed in bits per second:

      • 500 KiB/s = 500 * 1024 bytes/s = 512000 bytes/s
      • 512000 bytes/s * 8 bits/byte = 4096000 bits/s
    3. Convert bits per second to megabits per second:

      • 1 Mbps = 1,000,000 bits/s (for simplicity, although technically 1 Mbps = 1,048,576 bits/s, the simpler metric is usually used for network speeds)
      • 4096000 bits/s / 1,000,000 = 4.096 Mbps

    So, 500 KiB/s is approximately 4.1 Mbps.

    I was like, I just wanted the answer!

    • Hackworth@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 month ago

      That’s for its own benefit. It has to talk through it (or alternatively code through it) to work out the answer. S’just showing its work.