Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General P2P Network Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

General P2P Network Discussion For general discussion about peer-to-peer networks.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 6th, 2004
Apprentice
 
Join Date: December 4th, 2004
Location: Michigan, USA
Posts: 5
RetroJ is flying high
Default 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?

Last edited by RetroJ; December 6th, 2004 at 12:07 PM.
Reply With Quote
  #2 (permalink)  
Old December 6th, 2004
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 670
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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!

But then again, I suspect on the mac there's a lot of rounding off that goes on.
Reply With Quote
  #3 (permalink)  
Old December 7th, 2004
Apprentice
 
Join Date: December 4th, 2004
Location: Michigan, USA
Posts: 5
RetroJ is flying high
Default

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.
Reply With Quote
  #4 (permalink)  
Old December 7th, 2004
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 670
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What clients support ulta/super/mega/superdeduper peer? MtDewJunkE General Gnutella / Gnutella Network Discussion 8 March 9th, 2002 07:42 AM


All times are GMT -7. The time now is 10:35 PM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.