Re: OT - Convert output of byte count to GB count?

2013-02-20 Thread Eduard Bloch
Hallo, * Bob Proulx [Sat, Feb 16 2013, 01:54:44PM]: Eduard Bloch wrote: Nah, not having much spare time to post doesn't mean I have to drop all the good habits. I had nothing in the mailbox for the last year of recent memory. I will call that good enough to be called a while. Bob

Re: OT - Convert output of byte count to GB count?

2013-02-20 Thread Bob Proulx
Eduard Bloch wrote: * Bob Proulx wrote: Please quote my exact words where I misused terminology. I do not see it. I never said GB nor GiB. I used a number. Yeah. A number as answer to something about GB. Have you ever been on the Jeopardy show? I interpreted the question as how to

Re: Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-17 Thread agroconsultor0
On 02/16/2013 04:45 PM, Ralf Mardorf wrote: On Sun, 17 Feb 2013 01:28:06 +0100, agroconsultor0 agroconsult...@gmail.com wrote: On 02/16/2013 03:23 PM, Joao Luis Meloni Assirati wrote: This conversation is unbelievable. Debian-user is supposedly a list where voluntary people answer simple

Re: Re: Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-17 Thread Ralf Mardorf
Hi agroconsultor0, somebody captured a thread, instead of replying to this thread or opening a new one. This OP ask people who were talking about a technical issue, Debian does ship with apps that use wrong prefixes, to stop this discussion, calling it a ego demonstration. You don't

Re: OT - Convert output of byte count to GB count?

2013-02-17 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 12:33 PM, Pascal Hambourg wrote: 10^9 = (5 * 2)^9 = 5^9 * 2^9 = 1953125 * 512. So it is possible to have a disk of 1 953 125 sectors of 512 bytes, which is exactly 1 000 000 000 bytes. I personnally own a disk of exactly 20 GB (20 000 000 000 bytes).

Re: OT - Convert output of byte count to GB count?

2013-02-17 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 12:52 PM, Pascal Hambourg wrote: Let me rephrase it. Can you provide an example of a freshly created filesystem of a common size with an overhead of at least 7%, i.e. with the free space being less than 93 % of the raw size ? How about answering my

Re: Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-17 Thread agroconsultor0
On 02/17/2013 08:27 AM, Ralf Mardorf wrote: Hi agroconsultor0, somebody captured a thread, instead of replying to this thread or opening a new one. This OP ask people who were talking about a technical issue, Debian does ship with apps that use wrong prefixes, to stop this discussion,

Re: Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-17 Thread Ralf Mardorf
On Sun, 17 Feb 2013 23:49:33 +0100, agroconsultor0 agroconsult...@gmail.com wrote: On 02/17/2013 08:27 AM, Ralf Mardorf wrote: Hi agroconsultor0, somebody captured a thread, instead of replying to this thread or opening a new one. This OP ask people who were talking about a technical

RE: OT - Convert output of byte count to GB count?

2013-02-17 Thread Bonno Bloksma
Hi, When dealing with computers, it's powers of 2. When dealing with distances, it's powers of 10. Not so. Manufacturers of hard drives normally (frequently?) give the size in decimal, though they obviously don't say so, to make them look bigger. Actually, they do say so. Most

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Lisi Reisz
On Saturday 16 February 2013 03:20:54 Jerry Stuckle wrote: When dealing with computers, it's powers of 2.  When dealing with distances, it's powers of 10. Not so. Manufacturers of hard drives normally (frequently?) give the size in decimal, though they obviously don't say so, to make them

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Eduard Bloch
Hallo, * Bob Proulx [Sun, Feb 10 2013, 11:46:30AM]: Eduard Bloch wrote: Hallo, * Bob Proulx [Sat, Feb 09 2013, 11:44:03AM]: You say tomato, I say tomahto. You can make your own divider the number 34,969[1] if you like. Wow, someone trying to disguise the own mistaken convention as

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Eduard Bloch
Hallo, * Lisi Reisz [Sat, Feb 16 2013, 08:20:45AM]: On Saturday 16 February 2013 03:20:54 Jerry Stuckle wrote: When dealing with computers, it's powers of 2.  When dealing with distances, it's powers of 10. Not so. Manufacturers of hard drives normally (frequently?) give the size in

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Lisi Reisz
On Saturday 16 February 2013 10:43:51 Eduard Bloch wrote: Hallo, * Lisi Reisz [Sat, Feb 16 2013, 08:20:45AM]: On Saturday 16 February 2013 03:20:54 Jerry Stuckle wrote: When dealing with computers, it's powers of 2.  When dealing with distances, it's powers of 10. Not so.

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Tony van der Hoff
On 16/02/13 03:20, Jerry Stuckle wrote: On 2/14/2013 4:52 PM, Pascal Hambourg wrote: Ralf Mardorf a écrit : On Thu, 2013-02-14 at 09:50 +0200, Andrei POPESCU wrote: On Mi, 13 feb 13, 14:08:15, Richard Hector wrote: Abusing the standard prefixes like that was always a horrible hack. +1 It's

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread John Hasler
doug writes: Actually, when dealing with distances, it's not powers of 10, it factors of 12, (inches/foot) 3, (feet.yard) and 5280 (ft/mile). Leave us not get into furlongs, leave us not! Or stones, or the fact that there are two very, very slightly different miles... Much of this comes from

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 1:30 AM, doug wrote: On Sat, 16 Feb 2013 04:20:54 +0100, Jerry Stuckle jstuc...@attglobal.net wrote: And who declared these made-up prefixes official? Making up prefixes for something which has always been that way is confusing. It's simple. When dealing with computers, it's

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 1:37 AM, Richard Hector wrote: On 16/02/13 17:45, Ralf Mardorf wrote: Powers of 10 make completely no sense. Why not simply dropping the powers of 10 and using the prefixes *B and *iB both for the powers of 2? Powers of 2 make sense when you're talking about RAM, where the

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 3:20 AM, Lisi Reisz wrote: On Saturday 16 February 2013 03:20:54 Jerry Stuckle wrote: When dealing with computers, it's powers of 2. When dealing with distances, it's powers of 10. Not so. Manufacturers of hard drives normally (frequently?) give the size in decimal, though they

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 5:28 AM, Eduard Bloch wrote: Hallo, * Bob Proulx [Sun, Feb 10 2013, 11:46:30AM]: Eduard Bloch wrote: Hallo, * Bob Proulx [Sat, Feb 09 2013, 11:44:03AM]: You say tomato, I say tomahto. You can make your own divider the number 34,969[1] if you like. Wow, someone trying to

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 5:43 AM, Eduard Bloch wrote: Hallo, * Lisi Reisz [Sat, Feb 16 2013, 08:20:45AM]: On Saturday 16 February 2013 03:20:54 Jerry Stuckle wrote: When dealing with computers, it's powers of 2. When dealing with distances, it's powers of 10. Not so. Manufacturers of hard drives

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Chris Bannister
On Fri, Feb 15, 2013 at 09:24:36AM +, Darac Marjal wrote: On Fri, Feb 15, 2013 at 03:56:58PM +1300, Chris Bannister wrote: On Wed, Feb 13, 2013 at 03:35:01PM +0100, Alois Mahdal wrote: (Finally, as we know, there's only 10 kinds of people...) Yeah, those that put people into

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/14/2013 4:52 PM, Pascal Hambourg wrote: And now there are official binary prefixes, so there is no excuse for not using them when powers of 2 are more convenient instead of abusing SI decimal prefixes. And who declared these made-up prefixes official? BIPM

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Chris Bannister
On Sat, Feb 16, 2013 at 08:20:45AM +, Lisi Reisz wrote: On Saturday 16 February 2013 03:20:54 Jerry Stuckle wrote: When dealing with computers, it's powers of 2.  When dealing with distances, it's powers of 10. Not so. Manufacturers of hard drives normally (frequently?) give the size

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 1:37 AM, Richard Hector wrote: Powers of 2 make sense when you're talking about RAM, where the modules have a certain number of binary address lines, so they naturally fall on those boundaries. For disks, there's no particular advantage, and manufacturers

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 5:43 AM, Eduard Bloch wrote: In fact, the main reason for becoming a drama is the impression that numbers have on some people's mind. I bought a 32 gig stick and Windows says it's not even 30 gig on it... that's FRAUD!! Sure it has 32GB on it. But that

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 9:54 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/14/2013 4:52 PM, Pascal Hambourg wrote: And now there are official binary prefixes, so there is no excuse for not using them when powers of 2 are more convenient instead of abusing SI decimal prefixes. And who declared

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 10:04 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 1:37 AM, Richard Hector wrote: Powers of 2 make sense when you're talking about RAM, where the modules have a certain number of binary address lines, so they naturally fall on those boundaries. For disks,

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 10:20 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 5:43 AM, Eduard Bloch wrote: In fact, the main reason for becoming a drama is the impression that numbers have on some people's mind. I bought a 32 gig stick and Windows says it's not even 30 gig on it...

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Ralf Mardorf
I'm willing to use what prefix ever, but it's annoying, if I need exact information, to figure out how the Linux app I'm using, does interpret the prefix. hwinfo does use GB for powers of 2 and gparted does use GiB for powers of 2, for Linux apps I'm using seldom I never do know what they

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Tony van der Hoff
On 16/02/13 16:54, Jerry Stuckle wrote: On 2/16/2013 9:54 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/14/2013 4:52 PM, Pascal Hambourg wrote: And now there are official binary prefixes, so there is no excuse for not using them when powers of 2 are more convenient instead of

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 10:04 AM, Pascal Hambourg wrote: Big deal. The sector size is 2^9 bytes, but the sector count is a totally arbitrary number, and is orders of magnitude bigger. So the binary nature of the sector size is completely invisible in the disk capacity. Even SSDs

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 9:54 AM, Pascal Hambourg wrote: But this is not the point. I repeat, the use of powers of 2 is perfectly acceptable. What is not acceptable any more is the abuse of decimal SI prefixes for powers of 2. I have abused them too, but always felt

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 12:33 PM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 10:04 AM, Pascal Hambourg wrote: Big deal. The sector size is 2^9 bytes, but the sector count is a totally arbitrary number, and is orders of magnitude bigger. So the binary nature of the sector size is

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 12:38 PM, Tony van der Hoff wrote: On 16/02/13 16:54, Jerry Stuckle wrote: On 2/16/2013 9:54 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/14/2013 4:52 PM, Pascal Hambourg wrote: And now there are official binary prefixes, so there is no excuse for not using them when

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Pascal Hambourg
Jerry Stuckle a écrit : On 2/16/2013 10:20 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 5:43 AM, Eduard Bloch wrote: In fact, the main reason for becoming a drama is the impression that numbers have on some people's mind. I bought a 32 gig stick and Windows says it's not

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 12:47 PM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 9:54 AM, Pascal Hambourg wrote: But this is not the point. I repeat, the use of powers of 2 is perfectly acceptable. What is not acceptable any more is the abuse of decimal SI prefixes for powers of 2. I have

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 12:52 PM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 10:20 AM, Pascal Hambourg wrote: Jerry Stuckle a écrit : On 2/16/2013 5:43 AM, Eduard Bloch wrote: In fact, the main reason for becoming a drama is the impression that numbers have on some people's mind. I

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Eduard Bloch
Hallo, * Jerry Stuckle [Sat, Feb 16 2013, 09:09:42AM]: And there is it again :-( Please don't justify pure misuse of terminology with false analogies like this document about Holy Wars at absolutely equivalent things (equivalent WRT their application). In the field of arithmetics the effects

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Eduard Bloch
Hallo, * Jerry Stuckle [Sat, Feb 16 2013, 01:36:42PM]: On 2/16/2013 5:43 AM, Eduard Bloch wrote: In fact, the main reason for becoming a drama is the impression that numbers have on some people's mind. I bought a 32 gig stick and Windows says it's not even 30 gig on it... that's FRAUD!!

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Bob Proulx
Eduard Bloch wrote: Nah, not having much spare time to post doesn't mean I have to drop all the good habits. I had nothing in the mailbox for the last year of recent memory. I will call that good enough to be called a while. Bob Proulx wrote: $ perl -le 'print 5605687296 /

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 3:40 PM, Eduard Bloch wrote: Hallo, * Jerry Stuckle [Sat, Feb 16 2013, 01:36:42PM]: On 2/16/2013 5:43 AM, Eduard Bloch wrote: In fact, the main reason for becoming a drama is the impression that numbers have on some people's mind. I bought a 32 gig stick and Windows says it's not

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Joe Pfeiffer
Jerry Stuckle jstuc...@attglobal.net writes: On 2/14/2013 4:52 PM, Pascal Hambourg wrote: Agreed. And now there are official binary prefixes, so there is no excuse for not using them when powers of 2 are more convenient instead of abusing SI decimal prefixes. And who declared these made-up

Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Jerry Stuckle
On 2/16/2013 3:50 PM, Joe Pfeiffer wrote: Jerry Stuckle jstuc...@attglobal.net writes: On 2/14/2013 4:52 PM, Pascal Hambourg wrote: Agreed. And now there are official binary prefixes, so there is no excuse for not using them when powers of 2 are more convenient instead of abusing SI decimal

Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Joao Luis Meloni Assirati
This conversation is unbelievable. Debian-user is supposedly a list where voluntary people answer simple practical questions of users. Are you really going to enforce list members to watch such ego demonstrations and unfunny jokes? On 2/16/2013 3:50 PM, Joe Pfeiffer wrote: Jerry Stuckle

Re: Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread agroconsultor0
On 02/16/2013 03:23 PM, Joao Luis Meloni Assirati wrote: This conversation is unbelievable. Debian-user is supposedly a list where voluntary people answer simple practical questions of users. Are you really going to enforce list members to watch such ego demonstrations and unfunny jokes?

Re: Unbelievable. Was: Re: OT - Convert output of byte count to GB count?

2013-02-16 Thread Ralf Mardorf
On Sun, 17 Feb 2013 01:28:06 +0100, agroconsultor0 agroconsult...@gmail.com wrote: On 02/16/2013 03:23 PM, Joao Luis Meloni Assirati wrote: This conversation is unbelievable. Debian-user is supposedly a list where voluntary people answer simple practical questions of users. Are you really

Re: OT - Convert output of byte count to GB count?

2013-02-15 Thread Darac Marjal
On Fri, Feb 15, 2013 at 03:56:58PM +1300, Chris Bannister wrote: On Wed, Feb 13, 2013 at 03:35:01PM +0100, Alois Mahdal wrote: (Finally, as we know, there's only 10 kinds of people...) Yeah, those that put people into categories and those that don't :) Then surely you're in the category

Re: OT - Convert output of byte count to GB count?

2013-02-15 Thread Carroll Grigsby
On Fri, 15 Feb 2013 15:58:16 +1300 Chris Bannister cbannis...@slingshot.co.nz wrote: On Wed, Feb 13, 2013 at 02:41:47PM +1300, Richard Hector wrote: On 13/02/13 14:32, Jerry Stuckle wrote: On 2/12/2013 4:43 AM, Ralf Mardorf wrote: Assumed you'll build a fence, 10m long and every 1m

Re: OT - Convert output of byte count to GB count?

2013-02-15 Thread Jerry Stuckle
On 2/14/2013 4:52 PM, Pascal Hambourg wrote: Ralf Mardorf a écrit : On Thu, 2013-02-14 at 09:50 +0200, Andrei POPESCU wrote: On Mi, 13 feb 13, 14:08:15, Richard Hector wrote: Abusing the standard prefixes like that was always a horrible hack. +1 It's also a major source of confusion for

Re: OT - Convert output of byte count to GB count?

2013-02-15 Thread Ralf Mardorf
On Sat, 16 Feb 2013 04:20:54 +0100, Jerry Stuckle jstuc...@attglobal.net wrote: And who declared these made-up prefixes official? Making up prefixes for something which has always been that way is confusing. It's simple. When dealing with computers, it's powers of 2. When dealing with

Re: OT - Convert output of byte count to GB count?

2013-02-15 Thread Richard Hector
On 16/02/13 17:45, Ralf Mardorf wrote: Powers of 10 make completely no sense. Why not simply dropping the powers of 10 and using the prefixes *B and *iB both for the powers of 2? Powers of 2 make sense when you're talking about RAM, where the modules have a certain number of binary address

Re: OT - Convert output of byte count to GB count?

2013-02-15 Thread Ralf Mardorf
On Sat, 16 Feb 2013 07:37:20 +0100, Richard Hector rich...@walnut.gen.nz wrote: Of course the ultimate craziness is 1.44Mb (1440kiB) floppies Wow, I never noticed that, or I have forgotten hat I noticed it. In my defence, I used 3.5 discs quasi only for the Atari ST, so most of them are

Re: OT - Convert output of byte count to GB count?

2013-02-14 Thread Ralf Mardorf
On Thu, 2013-02-14 at 09:50 +0200, Andrei POPESCU wrote: On Mi, 13 feb 13, 14:08:15, Richard Hector wrote: On 12/02/13 22:43, Ralf Mardorf wrote: My machine has got 4GB RAM too, but only 1,000,000,000 hex-bytes ;p. Serious, there is no other correct sum than 4,294,967,296 bytes. For an

Re: OT - Convert output of byte count to GB count?

2013-02-14 Thread Pascal Hambourg
Ralf Mardorf a écrit : On Thu, 2013-02-14 at 09:50 +0200, Andrei POPESCU wrote: On Mi, 13 feb 13, 14:08:15, Richard Hector wrote: Abusing the standard prefixes like that was always a horrible hack. +1 It's also a major source of confusion for many users. Agreed. And now there are official

Re: OT - Convert output of byte count to GB count?

2013-02-14 Thread Chris Bannister
On Wed, Feb 13, 2013 at 03:35:01PM +0100, Alois Mahdal wrote: (Finally, as we know, there's only 10 kinds of people...) Yeah, those that put people into categories and those that don't :) -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and

Re: OT - Convert output of byte count to GB count?

2013-02-14 Thread Chris Bannister
On Wed, Feb 13, 2013 at 02:41:47PM +1300, Richard Hector wrote: On 13/02/13 14:32, Jerry Stuckle wrote: On 2/12/2013 4:43 AM, Ralf Mardorf wrote: Assumed you'll build a fence, 10m long and every 1m there should be 1 fence post, how many fence posts do you need? 11 :) Depends how

Re: OT - Convert output of byte count to GB count?

2013-02-13 Thread Ralf Mardorf
Forwarded Message From: Ralf Mardorf ralf.mard...@alice-dsl.net To: debian-user@lists.debian.org Subject: Re: OT - Convert output of byte count to GB count? Date: Wed, 13 Feb 2013 02:52:08 +0100 On Wed, 2013-02-13 at 14:41 +1300, Richard Hector wrote: you can leave up to 1m

Re: OT - Convert output of byte count to GB count?

2013-02-13 Thread Alois Mahdal
On Wed, 13 Feb 2013 14:41:47 +1300 Richard Hector rich...@walnut.gen.nz wrote: On 13/02/13 14:32, Jerry Stuckle wrote: On 2/12/2013 4:43 AM, Ralf Mardorf wrote: Assumed you'll build a fence, 10m long and every 1m there should be 1 fence post, how many fence posts do you need? 11

Re: OT - Convert output of byte count to GB count?

2013-02-13 Thread Ralf Mardorf
On Wed, 2013-02-13 at 15:35 +0100, Alois Mahdal wrote: On Wed, 13 Feb 2013 14:41:47 +1300 Richard Hector rich...@walnut.gen.nz wrote: On 13/02/13 14:32, Jerry Stuckle wrote: On 2/12/2013 4:43 AM, Ralf Mardorf wrote: Assumed you'll build a fence, 10m long and every 1m there should

Re: OT - Convert output of byte count to GB count?

2013-02-13 Thread Ralf Mardorf
On Wed, 2013-02-13 at 15:39 +0100, Ralf Mardorf wrote: On Wed, 2013-02-13 at 15:35 +0100, Alois Mahdal wrote: On Wed, 13 Feb 2013 14:41:47 +1300 Richard Hector rich...@walnut.gen.nz wrote: On 13/02/13 14:32, Jerry Stuckle wrote: On 2/12/2013 4:43 AM, Ralf Mardorf wrote:

Re: OT - Convert output of byte count to GB count?

2013-02-13 Thread Andrei POPESCU
On Mi, 13 feb 13, 14:08:15, Richard Hector wrote: On 12/02/13 22:43, Ralf Mardorf wrote: My machine has got 4GB RAM too, but only 1,000,000,000 hex-bytes ;p. Serious, there is no other correct sum than 4,294,967,296 bytes. For an old former Assembler programmer it's disgusting to

Re: OT - Convert output of byte count to GB count?

2013-02-12 Thread Ralf Mardorf
On Mon, 2013-02-11 at 20:13 -0500, Jerry Stuckle wrote: And this laptop has 4GB of ram - which means 4,294,967,296 bytes - not 4,000,000,000 bytes. My machine has got 4GB RAM too, but only 1,000,000,000 hex-bytes ;p. Serious, there is no other correct sum than 4,294,967,296 bytes. For an old

Re: OT - Convert output of byte count to GB count?

2013-02-12 Thread Richard Hector
On 12/02/13 22:43, Ralf Mardorf wrote: My machine has got 4GB RAM too, but only 1,000,000,000 hex-bytes ;p. Serious, there is no other correct sum than 4,294,967,296 bytes. For an old former Assembler programmer it's disgusting to distinguish between GB and GiB. OTOH kilos etc. are 10^x, but

Re: OT - Convert output of byte count to GB count?

2013-02-12 Thread Jerry Stuckle
On 2/12/2013 4:43 AM, Ralf Mardorf wrote: On Mon, 2013-02-11 at 20:13 -0500, Jerry Stuckle wrote: And this laptop has 4GB of ram - which means 4,294,967,296 bytes - not 4,000,000,000 bytes. My machine has got 4GB RAM too, but only 1,000,000,000 hex-bytes ;p. Serious, there is no other correct

Re: OT - Convert output of byte count to GB count?

2013-02-12 Thread Richard Hector
On 13/02/13 14:32, Jerry Stuckle wrote: On 2/12/2013 4:43 AM, Ralf Mardorf wrote: Assumed you'll build a fence, 10m long and every 1m there should be 1 fence post, how many fence posts do you need? 11 :) Depends how you interpret the instructions. If it's you can leave up to 1m hanging

Re: OT - Convert output of byte count to GB count?

2013-02-11 Thread Pascal Hambourg
Bob Proulx a écrit : Pascal Hambourg wrote: Bob Proulx a écrit : $ perl -le 'print 5605687296 / (1024*1024*1024)' Note that 1 GB (gigabyte) is 10^9 bytes as can be seen in the GNU dd output. 1024^3 is 1 GiB (gibibyte). For me I prefer binary powers of two when using it in relation to

Re: OT - Convert output of byte count to GB count?

2013-02-11 Thread Jerry Stuckle
On 2/11/2013 6:54 PM, Pascal Hambourg wrote: Bob Proulx a écrit : Pascal Hambourg wrote: Bob Proulx a écrit : $ perl -le 'print 5605687296 / (1024*1024*1024)' Note that 1 GB (gigabyte) is 10^9 bytes as can be seen in the GNU dd output. 1024^3 is 1 GiB (gibibyte). For me I prefer binary

Re: OT - Convert output of byte count to GB count?

2013-02-10 Thread Eduard Bloch
Hallo, * Bob Proulx [Sat, Feb 09 2013, 11:44:03AM]: Pascal Hambourg wrote: Bob Proulx a écrit : $ perl -le 'print 5605687296 / (1024*1024*1024)' Note that 1 GB (gigabyte) is 10^9 bytes as can be seen in the GNU dd output. 1024^3 is 1 GiB (gibibyte). You say tomato, I say tomahto.

Re: OT - Convert output of byte count to GB count?

2013-02-10 Thread Bob Proulx
Eduard Bloch wrote: Hallo, * Bob Proulx [Sat, Feb 09 2013, 11:44:03AM]: You say tomato, I say tomahto. You can make your own divider the number 34,969[1] if you like. Wow, someone trying to disguise the own mistaken convention as pure matter of preference? For me I prefer binary

Re: OT - Convert output of byte count to GB count?

2013-02-09 Thread Pascal Hambourg
Hello, Bob Proulx a écrit : Kent West wrote: The GNU dd command, when sent the -USR1 signal, pauses processing long enough to spit out a status line, like so: 18335302+0 records in18335302+0 records out 9387674624 bytes (9.4 GB) copied, 34.6279 seconds, 271 MB/s ... 5605687296 bytes

Re: OT - Convert output of byte count to GB count?

2013-02-09 Thread Bob Proulx
Pascal Hambourg wrote: Bob Proulx a écrit : $ perl -le 'print 5605687296 / (1024*1024*1024)' Note that 1 GB (gigabyte) is 10^9 bytes as can be seen in the GNU dd output. 1024^3 is 1 GiB (gibibyte). You say tomato, I say tomahto. You can make your own divider the number 34,969[1] if you

Re: OT - Convert output of byte count to GB count?

2013-02-08 Thread Darac Marjal
On Thu, Feb 07, 2013 at 01:26:45PM -0600, Kent West wrote: This is off-topic because it's on OS/X instead of Debian, but you folks are the smartest, so The GNU dd command, when sent the -USR1 signal, pauses processing long enough to spit out a status line, like so:

Re: OT - Convert output of byte count to GB count?

2013-02-08 Thread Jon Dowland
You could use GNU units. It appears to treat SI prefixes as strictly base 10, so use the KiB/MiB etc. variants where applicable: $ units 8112116KiB MiB * 7921.9883 / 0.00012623094 Something like …21| awk '/transferred/' {print $1}'|while read i; do units ${i}bytes GiB; done

Re: OT - Convert output of byte count to GB count?

2013-02-07 Thread Bob Proulx
Kent West wrote: The GNU dd command, when sent the -USR1 signal, pauses processing long enough to spit out a status line, like so: 18335302+0 records in18335302+0 records out 9387674624 bytes (9.4 GB) copied, 34.6279 seconds, 271 MB/s ... 5605687296 bytes transferred in 1890.826832 secs