[RFC] SI Units in KDE

Neil Stevens neil at qualityassistant.com
Fri Sep 20 22:12:48 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday September 20, 2002 01:43, Ryan Cumming wrote:
> Martijn is suggesting that we measure memory sizes in MiBs, as they
> align themselves nicely to binary boundries. So you'd go from 768MB to
> 768MiB ;)

If you're going to go change every app in KDE to do this, you should at 
least make a centralized measurement framework.  It's pretty much wasted 
effort otherwise.

Add to the KDE 3.2 feature plan a framework that can handle, for example, 
1024 byte KB, 1024 octet KO, 1024 byte kiB, 1000 byte kB, and 1000 byte 
kO.  Add in support for bits, too, for kppp and whoever else.  (note that 
the commonly written KB isn't even the SI k, so SI is irrelevant anyway).

If you can handle that, then the framework should be extensible to handle 
any units of measurement. Just mind the BC issues when designing the 
extensibility.

As for configurability, make the defaults set automatically by country 
instead of in KControl for all I care.  Just keep your SI out of America. 
:-)

- -- 
Neil Stevens - neil at qualityassistant.com
"I always cheer up immensely if an attack is particularly wounding
because I think, well, if they attack one personally, it means they
have not a single political argument left." - Margaret Thatcher
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9i49Qf7mnligQOmERAjyvAKCSz1EnmjLc+3tANamLo4g2uzlmYQCeLJQA
Hm1xsrG+47YAnKuNZDxzV8Y=
=OUcP
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list