git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-fetch: more terse fetch output

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 3, 2007, 22:02 UTC
Message-ID
<fgir54$7ft$1@ger.gmane.org>
In-Reply-To
<20071103210321.GA25685@glandium.org>
Mike Hommey wrote:
Show 20 quoted lines
> On Sat, Nov 03, 2007 at 04:50:54PM -0400, Nicolas Pitre wrote:
>> [ heh, I knew someone would say something ]
>> 
>> Yes, to me, 1MB is 1024 KB.  Always been, until those idiotic hard disk 
>> manufacturers decided to redefine the common interpretation of what 
>> everyone else used to consider what a MB is just to boost their 
>> marketing claims.
> 
> How many grams in a kilogram ? How many meters in a kilometer ? How many
> joule in a kilojoule ? ... How many bytes in a kilobyte ? Oh wait...
> 
> And you know what ? It's not only a matter of hard disk manufacturers.
> 
> How fast is gigabit ethernet ? Yep, 1000000000 bits/s
> How big would people say a 44000000 bytes file is ? 44MB or 42MB ?
> And my favourite: How many bytes in a 1.44MB floppy disk ? 1474560, that
> is, 1.44 * 1024000.
> 
> Those who made this big mess are the ones who decided a KB was 1024
> bytes, not the others.

No, the problem is that in _computer science_ kB (or KB) was 1024 bytes, and MB was 1024 kilobytes, because 1024 is a power of 2, and for example naturally the memory which can be adressed comes as a power of 2.

Now in other parts of science k means 1000, and M means 1000000. To make the computer sciences meaning of kB explicit SI introduced ki and Mi prefix. And manufacturers claiming HDD size x GB in the SI meaning took part...

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Pierre HabouzitNext: Linus Torvalds
Message 9 of 20 in “git-fetch: more terse fetch output”
  1. git-fetch: more terse fetch outputNicolas Pitre, Nov 3, 2007
  2. Junio C HamanoNov 3, 2007
  3. Linus TorvaldsNov 3, 2007
  4. Nicolas PitreNov 3, 2007
  5. Mike HommeyNov 3, 2007
  6. Nicolas PitreNov 3, 2007
  7. Mike HommeyNov 3, 2007
  8. Pierre HabouzitNov 3, 2007
  9. Jakub NarebskiNov 3, 2007
  10. Linus TorvaldsNov 3, 2007
  11. Mike HommeyNov 3, 2007
  12. Johannes SchindelinNov 4, 2007
  13. Junio C HamanoNov 4, 2007
  14. David BrownNov 4, 2007
  15. Robin RosenbergNov 4, 2007
  16. Linus TorvaldsNov 3, 2007
  17. Steffen ProhaskaNov 4, 2007
  18. Jeff KingNov 4, 2007
  19. Johannes SchindelinNov 4, 2007
  20. Pierre HabouzitNov 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.