Giter Club home page Giter Club logo

Comments (8)

7zx avatar 7zx commented on June 10, 2024 1

The values are nearly the same because the difference between a Megabyte and a Mebibyte is relatively small, and answering your question, i don't know, ask the owner ¯_(ツ)_/¯

from chibisafe.

NOCx420 avatar NOCx420 commented on June 10, 2024 1

The values are nearly the same because the difference between a Megabyte and a Mebibyte is relatively small, and answering your question, i don't know, ask the owner ¯_(ツ)_/¯

That's why I'm making this report? The difference is small maybe on the kB > KiB level, but at the Megabyte level I disagree.

from chibisafe.

Pitu avatar Pitu commented on June 10, 2024 1

Thanks for mentioning this.
Currently we do some weird stuff with calculations between what's allowed on the backend, what the uploader parses, and what it reports, so we have a mix of everything.

It would be great to move everything to MB instead of MiB, so that numbers are more legible as you mentioned. If I recall correctly, one of the reasons to convert to MiB was because that way it was easier to stay below the max file size limit. What should've happened, is to increase a few bytes on the max allowed size instead.

Right now, this is really low priority, so if this is something you would like to attempt to contribute, you are more than welcome to open a PR to take care of it.

from chibisafe.

7zx avatar 7zx commented on June 10, 2024

Perhaps it's because 500,000,000 bytes equate to approximately 476.8 megabytes? Nothing seems wrong for me.

from chibisafe.

NOCx420 avatar NOCx420 commented on June 10, 2024

Perhaps it's because 500,000,000 bytes equate to approximately 476.8 megabytes? Nothing seems wrong for me.

https://convertlive.com/u/convert/bytes/to/mebibytes#500000000

from chibisafe.

7zx avatar 7zx commented on June 10, 2024

Perhaps it's because 500,000,000 bytes equate to approximately 476.8 megabytes? Nothing seems wrong for me.

https://convertlive.com/u/convert/bytes/to/mebibytes#500000000

https://www.convertunits.com/from/byte/to/MB

from chibisafe.

NOCx420 avatar NOCx420 commented on June 10, 2024

Perhaps it's because 500,000,000 bytes equate to approximately 476.8 megabytes? Nothing seems wrong for me.

https://convertlive.com/u/convert/bytes/to/mebibytes#500000000

https://www.convertunits.com/from/byte/to/MB

image

1 MiB = 1 mebibyte = 1,024^2 bytes = 1,048,576 bytes;

1 MB = 1 megabyte = 1,000^2 bytes = 1,000,000 bytes;

Why not use SI prefixes? It's much more understandable.

from chibisafe.

NOCx420 avatar NOCx420 commented on June 10, 2024

Alright, thanks :)

from chibisafe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.