Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Olav Vitters
On Thu, Jun 04, 2009 at 08:31:03PM +0200, Daniel Elstner wrote: > Arguing that the exact value isn't important, but then insisting on the > 1024 convention just seems silly to me. Either it is important or it > isn't. In those situation where the difference matters, you need to > know the factor.

Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Daniel Elstner
Am Mittwoch, den 03.06.2009, 23:10 -0700 schrieb Brian J. Tarricone: > On 06/03/2009 05:36 PM, Paul LeoNerd Evans wrote: > > > Yes; we messed up 30 years ago and said "k" when we > > meant "Ki". Oops. Sorry about that. > > Well, no, 30 years ago there was no "Ki". So people did the logical > th

Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Kevin Fox
On Wed, 2009-06-03 at 23:10 -0700, Brian J. Tarricone wrote: > [1] Of course, the marketing departments of some storage media companies > arbitrarily decided it could have different meanings in the *same* > context too. I believe those storage companies have been sued and have either settled or

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Brian J. Tarricone
On 06/03/2009 05:36 PM, Paul LeoNerd Evans wrote: Yes; we messed up 30 years ago and said "k" when we meant "Ki". Oops. Sorry about that. Well, no, 30 years ago there was no "Ki". So people did the logical thing and picked the prefix that represented the correct *magnitude* of the value.

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread A. Walton
2009/6/3 Benjamin Drung : > Am Mittwoch, den 03.06.2009, 23:53 +0100 schrieb Rui Tiago Cação Matos: >> 2009/6/3 Benjamin Drung : >> > Hello, >> > >> > g_format_size_for_display uses the wrong prefixes for units that are >> > counted in power of two. >> >> You may want to check the colour of the pre

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Paul LeoNerd Evans
On Wed, 03 Jun 2009 16:07:37 -0700 "Brian J. Tarricone" wrote: > > * It would avoid ambiguity and consumer confusion: > > http://en.wikipedia.org/wiki/Binary_prefix#Consumer_confusion > > Arguably, using KiB etc. in the user interface could confuse the user > just as much. I make the same ar

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Mark Mielke
Benjamin Drung wrote: Am Mittwoch, den 03.06.2009, 23:53 +0100 schrieb Rui Tiago Cação Matos: 2009/6/3 Benjamin Drung : g_format_size_for_display uses the wrong prefixes for units that are counted in power of two. You may want to check the colour of the previous bike shed here h

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Benjamin Drung
Am Mittwoch, den 03.06.2009, 23:53 +0100 schrieb Rui Tiago Cação Matos: > 2009/6/3 Benjamin Drung : > > Hello, > > > > g_format_size_for_display uses the wrong prefixes for units that are > > counted in power of two. > > You may want to check the colour of the previous bike shed here > http://mail

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Brian J. Tarricone
Benjamin Drung wrote: Hello, g_format_size_for_display uses the wrong prefixes for units that are counted in power of two. The SI defines following prefixes: k = 1000 M = 1000 k G = 1000 M ... Please use the IEC standard for binary prefixes: Ki = 1024 Mi = 1024 Ki Gi = 1024 Mi ... Oh god, l

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Rui Tiago Cação Matos
2009/6/3 Benjamin Drung : > Hello, > > g_format_size_for_display uses the wrong prefixes for units that are > counted in power of two. You may want to check the colour of the previous bike shed here http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00237.html Rui

glib uses wrong prefix for base-2 units

2009-06-03 Thread Benjamin Drung
Hello, g_format_size_for_display uses the wrong prefixes for units that are counted in power of two. The SI defines following prefixes: k = 1000 M = 1000 k G = 1000 M ... Please use the IEC standard for binary prefixes: Ki = 1024 Mi = 1024 Ki Gi = 1024 Mi ... More information can be found here