Opened 14 years ago

Closed 9 years ago

#5378 closed bug (fixed)

Update Obsolete units (KB, MB, GB) to new standards (KiB, MiB, GiB)

Reported by: damoklas Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by mmadia)

http://en.wikipedia.org/wiki/Gigabyte

The following two quotes are from http://en.wikipedia.org/wiki/IEEE_1541-2002

"While the International System of Units (SI) defines multiples based on powers of ten (like k = 103, M = 106, etc.), a different definition is sometimes used in computing, based on powers of two (like k = 210, M = 220, etc.) This is due to the use of binary addressing for computer memory locations."

"IEEE 1541 recommends:

  • a set of units to refer to quantities used in digital electronics and computing:
    • bit (symbol 'b'), a binary digit;
    • byte (symbol 'B'), a set of adjacent bits (usually, but not necessarily, eight) operated on as a group;
    • octet (symbol 'o'), a group of eight bits;
  • a set of prefixes to indicate binary multiples of the aforesaid units:
    • kibi (symbol 'Ki'), 2<sup>10</sup> = {{gaps|1|024}};
    • mebi (symbol 'Mi'), 2<sup>20</sup> = {{gaps|1|048|576}};
    • gibi (symbol 'Gi'), 2<sup>30</sup> = {{gaps|1|073|741|824}};
    • tebi (symbol 'Ti'), 2<sup>40</sup> = {{gaps|1|099|511|627|776}};
    • pebi (symbol 'Pi'), 2<sup>50</sup> = {{gaps|1|125|899|906|842|624}};
    • exbi (symbol 'Ei'), 2<sup>60</sup> = {{gaps|1|152|921|504|606|846|976}};
  • that the first part of the binary prefix is pronounced as the analogous SI prefix, and the second part is pronounced as bee;
  • that SI prefixes are not used to indicate binary multiples."

Attachments (5)

activity-monitor.png (78.6 KB ) - added by scottmc 13 years ago.
email.png (84.0 KB ) - added by scottmc 13 years ago.
process-controller.png (104.8 KB ) - added by scottmc 13 years ago.
virtualmemory.png (70.2 KB ) - added by scottmc 13 years ago.
BootMan.png (78.7 KB ) - added by richienyhus 13 years ago.
Plus also BootMan

Download all attachments as: .zip

Change History (15)

comment:1 by damoklas, 14 years ago

Component: - GeneralUser Interface
Owner: changed from nobody to stippi

comment:2 by stippi, 14 years ago

Tracker, Installer and DriveSetup are fixed in hrev35935. There are probably more apps which need to be updated.

comment:3 by mmadia, 13 years ago

Description: modified (diff)
Summary: Obsolete units in HaikuUpdate Obsolete units (KB, MB, GB) to new standards (KiB, MiB, GiB)

comment:4 by scottmc, 13 years ago

This one is being researched as a GCI task. So far the student has identified 4 apps/preflets that still need units changed:

  1. Applications
    1. ActivityMonitor
  1. Desktop applets
    1. ProcessController
  1. Preferences
    1. E-mail
    2. VirtualMemory

There may still be others.

by scottmc, 13 years ago

Attachment: activity-monitor.png added

by scottmc, 13 years ago

Attachment: email.png added

by scottmc, 13 years ago

Attachment: process-controller.png added

by scottmc, 13 years ago

Attachment: virtualmemory.png added

comment:5 by aldeck, 13 years ago

Sorry to comment this late, but i think it would be preferable to change things the other way around, that is, keeping the KB, MB notation but use power of ten values. So that we are S.I compliant and at the same time use more meaningful values for users. Ideally it could be a global setting for "data size" formatting just like number formatting or monetary formatting so that people can keep "kilobyte era" habits if they really want to.

in reply to:  5 comment:6 by korli, 13 years ago

Replying to aldeck:

Sorry to comment this late, but i think it would be preferable to change things the other way around, that is, keeping the KB, MB notation but use power of ten values. So that we are S.I compliant and at the same time use more meaningful values for users. Ideally it could be a global setting for "data size" formatting just like number formatting or monetary formatting so that people can keep "kilobyte era" habits if they really want to.

This would be an enhancement :) I always thought the gigabyte term was misused and meant for users "GiB", we just use the good notation, the numbers are the same.

by richienyhus, 13 years ago

Attachment: BootMan.png added

Plus also BootMan

in reply to:  4 comment:7 by scottmc, 13 years ago

Replying to scottmc:

This one is being researched as a GCI task. So far the student has identified 4 apps/preflets that still need units changed:

  1. Applications
    1. ActivityMonitor
  1. Desktop applets
    1. ProcessController
  1. Preferences
    1. E-mail
    2. VirtualMemory

There may still be others.

Bootman

Process controller and Bootman seem to be fixed now.

comment:8 by stpere, 11 years ago

ActivityMonitor is done in hrev45855.

comment:9 by stpere, 11 years ago

Mail is done in hrev45856. VirtualMemory was already ready.

comment:10 by pulkomandy, 9 years ago

Resolution: fixed
Status: newclosed

So there is nothing left to do.

Note: See TracTickets for help on using tickets.