Giter Site home page Giter Site logo

Comments (6)

az0 avatar az0 commented on May 25, 2024

Since March 2010 BleachBit should be following this policy.

https://wiki.ubuntu.com/UnitsPolicy

If you still think this is an issue, please reopen

from bleachbit.

Wuzzy2 avatar Wuzzy2 commented on May 25, 2024

I am unable to reopen this issue, but I can still comment on this.

I call bullshit on Ubuntu's UnitsPolicy. It does not account for the fact that the past 25 years or so used factor 1024 for “fake SI” style prefixes (KB, MB, GB, etc.). It is a rather young interpretation that the “correct” factor is 1000, because of SI. No matter in which camp you are, this basically means that there are two competing interpretations of what “1 MB” means, one uses factor 1024 and is far more wide-spread, while the other uses factor 1000. This creates an ambiguity. Whenever you read “1 MB” you can't trust this number unless you know which factor the author has been using.

I still propose to switch to binary-style prefixes (KiB, MiB, GiB, etc.), since this preserves the factor 1024 which has been used for so long and resolves the ambiguity.

from bleachbit.

tiemay avatar tiemay commented on May 25, 2024

Perhaps a compromise?

For file sizes there are two possibilities:

  1. Show both, base-10 and base-2 (in this order). An example is the Linux kernel: "2930277168 512-byte hardware sectors: (1.50 TB/1.36 TiB)"
  2. Only show base-10, or give the user the opportunity to decide between base-10 and base-2 (the default must be base-10).

Maybe we could do one of those two options?

Also, the KDE system settings lets you choose between IEC and Metric, and most KDE programs follow that setting. I'm not sure if a GTK application could make use of that or not, but it would be nice to add if they can.

from bleachbit.

tstenner avatar tstenner commented on May 25, 2024

Is anyone working on this? If no, should this be implemented as "show both" or "make it an option"?

from bleachbit.

az0 avatar az0 commented on May 25, 2024

I am not working on this.

from bleachbit.

az0 avatar az0 commented on May 25, 2024

Fixed by @tstenner's pull request #111

from bleachbit.

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.