Author Topic: Kilobyte  (Read 89871 times)

0 Members and 5 Guests are viewing this topic.

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Kilobyte
« Reply #75 on: September 01, 2019, 03:04:31 pm »
Kibibytes, mebibytes, gibibytes, tebibytes, pebibytes, etc? Really? LOL.

And GB wasn't an island?
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline ggchab

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: be
Re: Kilobyte
« Reply #76 on: September 01, 2019, 03:27:50 pm »
What is the frequency of a 32KHz quartz ?   :-DD
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 9179
Re: Kilobyte
« Reply #77 on: September 01, 2019, 07:17:21 pm »
What is the frequency of a 32KHz quartz ?   :-DD

Insufficient information to answer; give a full part number, not half a part number.


Hint: KHz is not a unit of frequency.
Almost always 32768Hz. This has been true since the earliest days of quartz timepieces, and while you can order a 32000Hz crystal, that would be in the minority of applications (and I can't think of any at the moment.)
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: Kilobyte
« Reply #78 on: September 01, 2019, 10:03:23 pm »
32 kibiHertz?
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline hamdi.tn

  • Frequent Contributor
  • **
  • Posts: 638
  • Country: tn
Re: Kilobyte
« Reply #79 on: September 01, 2019, 10:58:55 pm »
kibibyte ... what the hell is kibibyte :palm: glad i saw this thread before i die  :-DD Kilobyte = 1024
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 13125
  • Country: us
Re: Kilobyte
« Reply #80 on: September 01, 2019, 11:07:25 pm »
kibibyte ... what the hell is kibibyte :palm: glad i saw this thread before i die  :-DD Kilobyte = 1024

Kibble: https://www.merriam-webster.com/dictionary/kibble

Bite: https://www.merriam-webster.com/dictionary/bite

Kibibyte: a bite of kibble
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #81 on: September 01, 2019, 11:42:34 pm »
This is a simple matter of context. Anyone with any experience simply doesn't confuse the two.

Kilo = 1024 when in the context of computer software/firmware (addressing, memory, capacity)

Kilo = 1000 for all other contexts (volts, resistance, current, money, distance, etc.)

The disk drive manufacturers cheated on this a long time ago and should have been publicly humiliated for doing it. They sort of ended up humiliating themselves... ever see the contorted "explanation" of what they meant by disk capacity in their spec sheets? Anything that requires that much explanation deserves skepticism. And for what... a 2.4% "improvement" in specsmanship?!? Idiots.

BTW, you can have this argument about the definition of "word" too. The most commonly accepted one is 16 bits (two bytes). But "word" can also refer to the native data size on a given architecture. So you can have 8 bit words, 12 bit words, 32 bit words, etc. I vigorously resist calling anything but a 16 bit quantity a "word" but I acknowledge that it's done and can't argue that it's wrong, just potentially confusing. This use of the term "word" is rather specific to electronic hardware and software, but you cannot say the same about the prefix "kilo" (or "mega" or any of the others). The decimal based kilo entered the lexicon long before we had the binary based kilo, and while it might have been nice to standardize on unique and dedicated binary prefixes - we didn't. It's just one of those things that you "know" by being in the discipline.

I've been dong hardware and software for over four decades. Never once have I ever confused the two definitions of kilo. I've never even witnessed anyone confusing them. With all due respect, I don't know why this is even a thread topic. Go try to convince a bank - or a court - that when you agreed to accept $50K in payment what you really expected was precisely $51,200.00. Or tell Keysight that their AWG is out of calibration because when you entered "5 - 0 - KHz" it didn't generate a 51,200.0 Hz waveform.

Bonus: A nibble (or as I prefer to spell it, a nybble) is four bits, aka one hex digit, aka one half of a byte ("the high order nybble", etc.).

Now if you want to have a real language discussion, let's talk about auto-antonyms... words that are their own opposites depending upon context. Consider "fast". You probably believe this implies motion or speed, but what about "color fast", or "making a rope fast to that cleat"? Or, indeed, the root of the word "fastening"? Need more? How about "counsel" as a verb... it's the same word whether you're giving it or receiving it. There are lots more.
« Last Edit: September 01, 2019, 11:51:09 pm by IDEngineer »
 
The following users thanked this post: MapleLeaf

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 19288
  • Country: us
  • DavidH
Re: Kilobyte
« Reply #82 on: September 02, 2019, 01:42:52 am »
Almost always 32768Hz. This has been true since the earliest days of quartz timepieces, and while you can order a 32000Hz crystal, that would be in the minority of applications (and I can't think of any at the moment.)

You might order a 32.000kHz crystal oscillator for a clock circuit which uses BCD instead of binary dividers and I am sure I have seen that.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #83 on: September 02, 2019, 03:21:04 am »
The decimal based kilo entered the lexicon long before we had the binary based kilo, and while it might have been nice to standardize on unique and dedicated binary prefixes - we didn't.

But we did. Perhaps you'd like to use them.

I appreciate these standards are a little newer than you, but it doesn't make them any less valid or sensible, and if people just got on with using them the issue would simply fade away in time.
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #84 on: September 02, 2019, 03:36:28 am »
The decimal based kilo entered the lexicon long before we had the binary based kilo, and while it might have been nice to standardize on unique and dedicated binary prefixes - we didn't.
But we did. Perhaps you'd like to use them.
You missed my point. I said "it might have been nice to standardize on unique and dedicated binary prefixes."

Yes, they exist - but very few people use them, and in general they elicit ridicule (as evidenced even in this thread!). We COULD have standardized on them, but we didn't, and now... like the QWERTY keyboard... the dual use of kilo/mega/etc. is kind of baked into the industry.

If you want to be the Dvorak keyboard of multiplier prefixes, smug in your certainty of your superiority, go for it. Technically you'll be correct. But you'll be forever distracted by explaining yourself ("WTF are you talking about?!?") rather than just getting on with the project. You'll probably also get a reputation as "that guy".

I agree the terms were created. Nobody used them and they never caught on. That time has passed.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #85 on: September 02, 2019, 04:03:26 am »
The decimal based kilo entered the lexicon long before we had the binary based kilo, and while it might have been nice to standardize on unique and dedicated binary prefixes - we didn't.
But we did. Perhaps you'd like to use them.
You missed my point. I said "it might have been nice to standardize on unique and dedicated binary prefixes."

Yes, they exist - but very few people use them, and in general they elicit ridicule (as evidenced even in this thread!). We COULD have standardized on them, but we didn't, and now... like the QWERTY keyboard... the dual use of kilo/mega/etc. is kind of baked into the industry.

If you want to be the Dvorak keyboard of multiplier prefixes, smug in your certainty of your superiority, go for it. Technically you'll be correct. But you'll be forever distracted by explaining yourself ("WTF are you talking about?!?") rather than just getting on with the project. You'll probably also get a reputation as "that guy".

I agree the terms were created. Nobody used them and they never caught on. That time has passed.

People do use them. Increasingly. Large projects (which you depend on, every single day, in tens of thousands of deployments) use them instead of doing it wrong. Major consumer systems stopped using prefixes incorrectly (rather than introduce the new prefix. An acceptable compromise for the non-technical.). Pretty much everyone in the technical world already knows about the new units, so you are not 'forever distracted by explaining yourself'.

It's not too late. You can learn. You can do better. You can switch to 240V like everyone else, stop using red 'blinkers', and employ metric units in daily life, too, if you just bloody well get on with it.
« Last Edit: September 02, 2019, 04:05:02 am by Monkeh »
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #86 on: September 02, 2019, 04:24:23 am »
How interesting that you seldom see these new prefixes in literature. Haven't seen one in anything consumer, prosumer, nor professional. Not in device spec sheets. Not in technical ads for any component nor system. Haven't heard them come up in any discussion, in person nor online, except this thread. If they're catching on, they're hiding it well!

Hey, I've got no issue with them. If and when they become prevalent, I'll use them. But I'm not going to confuse and clutter my interpersonal communication just to be pedantic about a non-problem. As I said, I've literally never had nor witnessed any misunderstanding on this topic. Why waste time on it?
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #87 on: September 02, 2019, 05:12:23 am »
How interesting that you seldom see these new prefixes in literature. Haven't seen one in anything consumer, prosumer, nor professional. Not in device spec sheets. Not in technical ads for any component nor system. Haven't heard them come up in any discussion, in person nor online, except this thread. If they're catching on, they're hiding it well!

Hey, I've got no issue with them. If and when they become prevalent, I'll use them. But I'm not going to confuse and clutter my interpersonal communication just to be pedantic about a non-problem. As I said, I've literally never had nor witnessed any misunderstanding on this topic. Why waste time on it?

Apple converted to correct usage of decimal prefixes a decade ago. Linux and the GNU userland either use dual units or binary prefixes by default. HP specify the correct usage of binary or decimal prefixes for storage systems to avoid confusion in their best practice guides. NIST guidelines require the use of binary prefixes (SP811)..

They are already common everywhere but your datasheets. This is thanks to JEDEC. And I quote from JESD100B.01:
Quote
The definitions of kilo, giga, and mega based on powers of two are included only to reflect common usage. IEEE/ASTM SI 10-1997 states "This practice frequently leads to confusion and is deprecated." Further confusion results from the popular use of the megabyte representing 1 024 000 bytes to define the capacity of the 1.44-MB high-density diskette. An alternative system is found in Amendment 2 to IEC 60027-2: Letter symbols to be used in electrical technology – Part 2.

Rather open to interpretation. Seems to support binary prefixes without bothering to apply any standards at all. Perhaps we should just use the clear standards?
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6738
  • Country: nl
Re: Kilobyte
« Reply #88 on: September 02, 2019, 05:20:52 am »
It takes time but it will be used.
Now wait till the americans understand they need to put the little i inbetween instead of reverting back to their KB and call that a KibiByte  >:D
« Last Edit: September 02, 2019, 05:23:15 am by Kjelt »
 

Offline Tomorokoshi

  • Super Contributor
  • ***
  • Posts: 1212
  • Country: us
Re: Kilobyte
« Reply #89 on: September 02, 2019, 05:58:54 am »
Well, that does it. I'm defining IEC PI = 3.0, JEDEC PI = 3.1415926...
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 8072
  • Country: pl
Re: Kilobyte
« Reply #90 on: September 02, 2019, 06:00:08 am »
I appreciate these standards are a little newer than you, but it doesn't make them any less valid or sensible, and if people just got on with using them the issue would simply fade away in time.
They are only barely newer than me and yet I maintain that if HDD manufacturers and Apple simply got on with using the established units the issue would simply not exist in the first place :--
« Last Edit: September 02, 2019, 06:03:17 am by magic »
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Kilobyte
« Reply #91 on: September 02, 2019, 06:03:34 am »
But "word" can also refer to the native data size on a given architecture. So you can have 8 bit words, 12 bit words, 32 bit words, etc.

The first computer I used had (and has - there is at least one still operating) 39-bit words. Another important one had 12 bit words, and there are many others :)

Quote
I vigorously resist calling anything but a 16 bit quantity a "word" but I acknowledge that it's done and can't argue that it's wrong, just potentially confusing.

That's a "Humpty Dumpty" use of the word  :)

Quote
Bonus: A nibble (or as I prefer to spell it, a nybble) is four bits, aka one hex digit, aka one half of a byte ("the high order nybble", etc.).

Yes indeed.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 13125
  • Country: us
Re: Kilobyte
« Reply #92 on: September 02, 2019, 06:16:19 am »
The first computer I used had (and has - there is at least one still operating) 39-bit words.

That's a very strange number of bits. Systems like the PDP-10 and many IBM mainframes used 36 bit words since it divided evenly into groups of 6 bit characters. Other systems used 12 or 18 bit words for similar reasons.

But what on Earth had 39 bits?
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #93 on: September 02, 2019, 06:24:23 am »
The fun part of all this is even if folks could popularize the use of binary prefixes, it still would not solve the problem I described. Kibi might be unambiguous, but forevermore when someone says kilo you will have to clarify "Which one?". The damage is done. The only way to actually solve the problem is to also eliminate the use of the existing decimal prefixes, and create new ones. Good luck.
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 23122
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Kilobyte
« Reply #94 on: September 02, 2019, 06:29:29 am »
The first computer I used had (and has - there is at least one still operating) 39-bit words.

That's a very strange number of bits. Systems like the PDP-10 and many IBM mainframes used 36 bit words since it divided evenly into groups of 6 bit characters. Other systems used 12 or 18 bit words for similar reasons.

But what on Earth had 39 bits?

Elliott 803/903 and similar. They were commercially important, and CAR (Tony) Hoare (I'm sure you know that name) developed a highly influential Algol60 compiler for them.

The world's first computer used for commercial operations had 35 bit words. (LEO 1, used from 1951 for stock control in teashops - seriously).

CDC 6600 had 60 bit words, ICL1900 had 24 bit words.

No doubt there are many others.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline Tomorokoshi

  • Super Contributor
  • ***
  • Posts: 1212
  • Country: us
Re: Kilobyte
« Reply #95 on: September 02, 2019, 07:12:14 am »
This table from Computer Architecture - Concepts and Evolution by Blaauw and Brooks is interesting in several ways. It lists a wide variety of computer architectures, it uses both "k" definitions, and it explicitly lists the radix of the machine, which is used to define which "k" is being used.

https://en.wikipedia.org/wiki/Gerrit_Blaauw
https://en.wikipedia.org/wiki/Fred_Brooks
 

Offline ggchab

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: be
Re: Kilobyte
« Reply #96 on: September 02, 2019, 08:04:24 am »
Hint: KHz is not a unit of frequency.

What, "Hertz" is not the unit of frequency ? Could you please explain ?
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2862
  • Country: nz
Re: Kilobyte
« Reply #97 on: September 02, 2019, 08:23:16 am »
Hint: KHz is not a unit of frequency.

What, "Hertz" is not the unit of frequency ? Could you please explain ?

K vs k.
 Absolute temperature vs Boltzmann constant.

As part of the 2019 redefinition of SI base units, the Boltzmann constant is one of the seven "defining constants" that have been given exact definitions.

Wasn't that in Strange Things 2 as the safe combination?

Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline Moshly

  • Regular Contributor
  • *
  • Posts: 140
  • Country: au
  • What's wrong with this thing
Re: Kilobyte
« Reply #98 on: September 02, 2019, 08:58:55 am »
This is so dumb and has done my head in ever since I heard of it.

In decimal 1K = 1000 (nice round number) 1000 in binary = 11 1110 1000 <- not very rounded.
In binary 1KB = 100 0000 0000 (nice round number but long) or in decimal 1024 (not so nice)
In binary 1MB = 1 0000 0000 0000 0000 0000 (nice round number but very long) or in decimal 1048576 (not nice but a lot shorter)

Its a bit like the difference between  1/3 and 0.333333333333333333333333->
One is nice & neat, the other stretches off to infinity.
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2862
  • Country: nz
Re: Kilobyte
« Reply #99 on: September 02, 2019, 09:09:22 am »
This isn't stackexchange, so let's restate the context...

Context is everything when arguing that "kB" strictly means 1000 bytes and not 1024 bytes... which was my point in mentioning 'k' was also used in the SI system for the Boltzmann constant. The same symbol can mean different things in different contexts, but you have to know the context you are using it in.

However, I do strongly agree that KHz is wrong, but close enough for jazz and nothing to get worked up over.  :D
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->