Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General P2P Network Discussion (https://www.gnutellaforums.com/general-p2p-network-discussion/)
-   -   Pedantic: Mega != 2^20 (https://www.gnutellaforums.com/general-p2p-network-discussion/30803-pedantic-mega-2-20-a.html)

RetroJ December 6th, 2004 06:02 AM

Pedantic: Mega != 2^20
 
I noticed a while ago that Azurius reports data sizes/speeds in Mebibytes (MiB) instead of Megabytes (MB). What other clients use the new terminology, or at least use the words "mega" and "kilo" [correctly] according to the metric system? I was reminded of this because I was trying to make some size-filters in gtk-gnutella, and had a difficult time because of the program's casual use of the abbreviation MB to mean 2^20. Anybody else have an opinion about this admitedly pedantic issue?

Lord of the Rings December 6th, 2004 08:27 AM

I don't know much about it but I thought only hardware manufacturers used MB for marketing purposes. And I thought all softw based measurements were in the 'TRUE' measurements. ie: one megabyte 1 MB = 106 B = 1 000 000 B
one mebibyte 1 MiB = 220 B = 1 048 576 B

So in that light I thought you should be using mebibytes or its equivalent. I'm surprised Gnutella uses the other! :confused:

But then again, I suspect on the mac there's a lot of rounding off that goes on.

RetroJ December 7th, 2004 11:53 AM

I really don't think it's a platform issue. I'm on SuSe Linux. I think it is merely a very widespread bad habit among programmers. I have seen lots of software that uses the abbreviation MB to signify 2^20 and KB to signify 1024.

Lord of the Rings December 7th, 2004 12:11 PM

Well I was never even aware of the term MiB or the others even in my training (unless I missed something lol). We were just told that there were 2 techniques used for calculating them; one correctly & the other not. So I guess in that context .. one is wrong. lol I thought the so-called KB did signify 1024 on OS systems. Which is why after formatting a HDD it gives less than the manufacuter's designated size. I think I'm lost lol. :D


All times are GMT -7. The time now is 08:06 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.