STACKOVERFLOW - Argument on Kilobyte, Kibibytes those units

Below is an argument with Stackoverflow people I had, and interestingly enough I proved to my self its existance in the yellow highlighted section. The purple section is when I had the eureka... But below 2 exerpts (more like copy pastes, I hope I dont enfringe on any copyright policy as I am totally giving them the credit)


His quote - i apologize for the copy paste I dont mean to "steal your content" as I am directly quoting you - so again this is not my content all credit goes to above link:

When I created my Bandwidth Calculator, easily the most popular web tool I ever made, I came across the following problem: in computer technology there is a habit of using kilobyte (KB) as 1024 bytes, megabyte (MB) as 1024*1024 (1.048.576) bytes. Most of you might think this is correct, but it’s not. The International System of Units (SI) (that defines the kilo, mega, giga, … and milli, micro, nano prefixes) uses only base 10 values. A kilo is always 1000, even for bytes. In order to find a solution for the IT ‘contamination’ of using kilo for 210 instead of 103, the IEC introduced new units in 1998:

In 1999, the International Electrotechnical Commission (IEC) published Amendment 2 to “IEC 60027-2: Letter symbols to be used in electrical technology – Part 2: Telecommunications and electronics”;. This standard, which had been approved in 1998, introduced the prefixes kibi-, mebi-, gibi-, tebi-, pebi-, exbi-, to be used in specifying binary multiples of a quantity. The names come from the first two letters of the original SI prefixes followed by bi which is short for “binary”. It also clarifies that, from the point of view of the IEC, the SI prefixes only have their base-10 meaning and never have a base-2 meaning.

So this is the correct usage for file, disk, memory size:

Kilobytes (KB)1.000Kibibyte (KiB)1024
Megabyte (MB)1.000 ^ 2Mebibyte (MiB)1024 ^ 2
Gigabyte (GB)1.000 ^ 3Gibibyte (GiB)1024 ^ 3
Terabyte (TB)1.000 ^ 4Tebibyte (TiB)1024 ^ 4
Petabyte (PB)1.000 ^ 5Pebibyte (PiB)1024 ^ 5

The problem is: the industry has not adopted these standards. If Windows shows the size of a disk, it converts 28.735.078.400 bytes to “26.7 GB”. It should be either 28.7 GB, or 26.7 GiB. Remember the 1.44MB floppy? It actually never existed: it is either 1.40MiB or 1.47MB.

On September 18 2003 Reuters has reported that Apple, Dell, Gateway, Hewlett-Packard, IBM, Sharp, Sony and Toshiba have been sued in a class-action suit in Los Angeles Superior Court for “deceiving” the true capacity of their hard drives. This of course was due to ambiguity of “GB” when used by software and hardware vendors. This precedent might prompt Apple to adapt binary prefixes in its Mac OS, as well as other companies to put pressure on Microsoft to adapt them in its Windows operating systems.

One could argue: people have always used the MB = 1024*1024 for disk drives, why change now? Well, clarity is a good reason, and unambiguity. NASA lost the Mars Orbiter because engineers had mixed metric speed (km/h) with English speed (mi/h).Don’t even get me started on miles per gallon.

So: a disk of 160GB should have 160.000.000.000 bytes. And it is about 150GiB. Get over it.



Kibibyte

2^(10)=1024 bytes. Although the term kilobyte is sometimes used to refer to 1024 bytes, such usage is deprecated in favor of the standard SI naming convention of 1 kilobyte being equal to 10^3 bytes.





MY ARGUMENT
############

URL TO THE PAGE:
################
http://stackoverflow.com/questions/17938684/huge-storage-space-google-vs-wolfram-answer-who-is-more-right

MY QUESTION:
#############

Here is my dilemma... The 2 most powerful search engines contradict each other::

Calculate HEX byte numbers into Gigabytes with wolfram or google.. It doesnt have to be hex you can do it with regular Decimal #s too I bet.

To calc 0x280000000, go to wolframalpha.com and type "0x280000000 bytes = ? GB" or in google type the same.

0x100000000 = 4 GB exactly (4 gibibytes according to wolfram and 4.295 gigabytes, 4 gigabytes accoring to google)
0x200000000 = 8 GB exactly (8 gibibytes according to wolfram and  8.59 gigabytes, 8 gigabytes according to google)
0x240000000 = 9 GB exactly (9 gibibytes according to wolfram and 9.664 gigabytes, 9 gigabytes according to google) (9 gibibytes and 9.664 gigabytes accoring to wolfram
0x280000000 = 10 GB exactly (10 gibibytes according to wolfram and 10.74 gigabytes, 10 gigabytes according to google)
0x360000000 = 13.5 GB exactly (14.5 gibibytes according to wolfram and 14.5 gigabytes, 13.5 gigabytes according to google)
NOW HERE IS A DELIMA? who is more right google or wolfram????? To us its just the wolfram gibibytes we are interested in or the google Gigabyte

SOME DUDE:
##########

Look up the difference between gigabytes and gibibytes

SOME MOD:
#########

This question does not appear to be about programming, within the scope defined in the help center

MY RESPONSE DIRECTLY:
#####################

Edited my question to point to here because I couldnt post the below Response, as Stackoverflow kept on crying and crying. I edited it 20 different ways and it still cried. Maybe the mod is mad at me...

MY RESPONSE
###########

Still doesnt add up... like there is discreptancy... they cant be interchangeable like that... that kind of stuff leads to space shuttle disasters and rocket crashes

straight from: http://en.wikipedia.org/wiki/Gibibyte

`The gibibyte (symbol GiB) is a unit of digital information storage. It is a binary multiple of the byte (symbol B) obtained using the prefix gibi (symbol Gi).[1]
1 gibibyte = 2^30 bytes = 1073741824bytes = 1024 mebibytes
The gibibyte is closely related to the gigabyte (GB), which is defined as 10^9 bytes = 1000000000bytes, but has been used as a synonym for gibibyte in some contexts (see binary prefix). In terms of standard gigabytes, 1GiB ≈ 1.074GB. 1024 gibibytes are equal to one tebibyte.`

We all know from the definitions these 3 points are true
**point 1** 1 Gib = 1073741824bytes  (2^2^2...=1073741824bytes  by definition thats how you calc it)
**point 2** 1 Gigabytes = 1073741824bytes (2^2^2...=1073741824bytes  by definition thats how you calc it)
Yet another says:
**point 3** 1GiB ≈ 1.074GB
The last one contradicts...
I see the statement "..has been used as a synonym for gibibyte in some contexts.." but the last point throughs that off, it should of been 1 Gib=1GB and for every damn unit...

I always thought Kilobytes and Megabytes were 2^x power not decimal powered... I know harddrive manufacturers messed it up for all of us... So now probably the MB, GB, KB are all 1000 based (decimal based) which throws the real logic out... They did that to get more $ for the space... you buy a 3TB drive but only get 2.7 TB in reality, you literally get 3000000000000 bytes which in reality is 2.7TB...

I dont know what world everyone comes from but I come from the world where the following is true:

1 byte = 8 bits
1 Kilobyte = 1024 bytes
1 Megabyte = 1024 Kilobyte
1 Gigabyte = 1024 Megabyte
1 Terabyte = 1024 Gigabyte

and when some wiki (wikipedia i must add) site tells me that kibibytes follow the same pattern then that just tells me they are one and the same (point 1 and 2)... but then when the next sentence says they are semi equal (point 3) = contradictions which leads to miscalculations which leads to errors which leads to mistakes and accidents.... This should be standardized better, or the kibi shmibis should be taken out

----

I bet though this is what happened originally it was like this

1 byte = 8 bits
1 Kilobyte = 1024 bytes
1 Megabyte = 1024 Kilobyte
1 Gigabyte = 1024 Megabyte
1 Terabyte = 1024 Gigabyte

but drive manufacturers were like nah its like this because we want more $

1 byte = 8 bits
1 Kilobyte = 1000 bytes
1 Megabyte = 1000 Kilobyte
1 Gigabyte = 1000 Megabyte
1 Terabyte = 1000 Gigabyte

So then thats what the *byte became... And then us nerds were like no way we need our 2 base back so we were like

1 byte = 8 bits
1 kibibyte = 1000 bytes
1 mibibyte = 1000 kibibyte
1 gibibyte = 1000 mibibyte
1 tibibyte = 1000 gibibyte

So there you have it I think I figure it out, but its still a major slap in the face on every logic standard you read up on in math/physics (they keep the unit and never change it), this is a disgrace to all standardizations.. you canT switch a big unit like thats like me saying okay brothern from now on the Dollar will be cheaper (oh wait that does happen) Its inflation on the storage unit - ahhh man! whatever take you go about it, doesnt make sense.

LOGICAL EXPLANATION:
====================

**please correct me if I am wrong here** & Ignore my rant above I am sorry :/

I guess the only logical thing I can say bout this all is:

1 old Gigabyte = 1 Gibibyte = 1,073,741,824 bytes
And
1 new Gigabyte = Some bull 1000000000 bytes

An that frankly just ticks me and the storage community off, it confuses the noobs and it pisses us off.. I wasnt confused by the concept... I am just confused with the WHY!!!


TO CONCLUDE:
============

They should of never brought the *bibytes to the equation.. should left it @ *bits and *bytes.

A better way would of been to call the Gigabyte a Base 2 gigabyte, and the new drive manufacturer invention a base 10 gigabyte...
Comments