[PATCH] Add option to use traditional binary units instead of kibibytes
Marcel Partap
mpartap at gmx.net
Tue Jul 7 09:35:47 BST 2009
> NO ONE NEEDS BASE 10 UNITS.
> My patch is to add a hidden option to restore normal units for
> those systems that have to support users who use KB/MB/GB. Since
> KB/MB/GB means 2^(i*10) (i.e. [KMG]iB) on every other system out
> there, it will have mean the same thing here. This is not "adding"
> anything, this is restoring behavior that was present in KDE 3.5,
> that was present (and is present) in GNOME, that is present in
> Windows, and that is present in Mac OS X.
And it is plain wrong, because kB/MB/GB actually stand for the base 1000 SI units, which this fuzz is all about. Missing the 'i' in between, the other systems actually got it all wrong. Your patch is about to add a hidden config key to make KDE output wrong byte size strings, too, right? Why is the 'i' in "MiB" so distracting to you? Nevertheless, easily could add an option to do it like this - it'd be simply wrong though.
> I am not adding any GUI options, and I don't intend to add any GUI
> options, and I don't see any reason to add GUI options. Is there a bug
> open where people are asking for decimal units?
Pretty sure i've seen that before. That's why my patch adds one.
> apparently technical working documents and standardization attempts
> from 1999 are more convincing to people than common convention.
Well, there's two technical norms defining unit names and prefixes. IMHO it's not wrong to support them both in KDE and give more control about the formatting output. That's what my patch at http://reviewboard.kde.org/r/943/diff/ tries to. If those concerned please have a look at it..
regards,
marcel.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the kde-core-devel
mailing list