Opened 9 years ago

Closed 4 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:
Has a Patch: no 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 8 years ago.
email.png (84.0 KB) - added by scottmc 8 years ago.
process-controller.png (104.8 KB) - added by scottmc 8 years ago.
virtualmemory.png (70.2 KB) - added by scottmc 8 years ago.
BootMan.png (78.7 KB) - added by richienyhus 8 years ago.
Plus also BootMan

Download all attachments as: .zip

Change History (15)

comment:1 Changed 9 years ago by damoklas

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

comment:2 Changed 9 years ago by stippi

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

comment:3 Changed 8 years ago by mmadia

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

comment:4 Changed 8 years ago by 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.

Changed 8 years ago by scottmc

Attachment: activity-monitor.png added

Changed 8 years ago by scottmc

Attachment: email.png added

Changed 8 years ago by scottmc

Attachment: process-controller.png added

Changed 8 years ago by scottmc

Attachment: virtualmemory.png added

comment:5 Changed 8 years ago by 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.

comment:6 in reply to:  5 Changed 8 years ago by korli

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.

Changed 8 years ago by richienyhus

Attachment: BootMan.png added

Plus also BootMan

comment:7 in reply to:  4 Changed 8 years ago by scottmc

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 Changed 6 years ago by stpere

ActivityMonitor is done in hrev45855.

comment:9 Changed 6 years ago by stpere

Mail is done in hrev45856. VirtualMemory was already ready.

comment:10 Changed 4 years ago by pulkomandy

Resolution: fixed
Status: newclosed

So there is nothing left to do.

Note: See TracTickets for help on using tickets.