Author Topic: Kilobyte  (Read 89866 times)

0 Members and 4 Guests are viewing this topic.

Offline ggchab

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: be
Re: Kilobyte
« Reply #175 on: September 06, 2019, 01:19:32 pm »
KBit Kbyte . it's self explanatory. we are talking computer bits and bytes so : power of 2.

Common sense for me. But pay attention to your 'K'. Some people in this thread will say this is "Kelvin Bit" or "Kelvin Byte"  ;)
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6738
  • Country: nl
Re: Kilobyte
« Reply #176 on: September 06, 2019, 03:31:39 pm »
Or Potassium Boron  :)
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #177 on: September 06, 2019, 03:50:12 pm »
Quote
Common sense for me. But pay attention to your 'K'. Some people in this thread will say this is "Kelvin Bit" or "Kelvin Byte".
Quote
Or Potassium Boron  :)
And thus we're reminded yet again that context 1) matters, and 2) works.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #178 on: September 06, 2019, 04:14:40 pm »
Quote
Common sense for me. But pay attention to your 'K'. Some people in this thread will say this is "Kelvin Bit" or "Kelvin Byte".
Quote
Or Potassium Boron  :)
And thus we're reminded yet again that context 1) matters, and 2) works.

So what's the frequency of my oscillator?
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17858
  • Country: fr
Re: Kilobyte
« Reply #179 on: September 06, 2019, 04:15:52 pm »
So what's the frequency of my oscillator?

32 * Context Hz
 ;D
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #180 on: September 06, 2019, 05:14:50 pm »
So what's the frequency of my oscillator?

32 * Context Hz
 ;D
You meant that as a joke, yet it's precisely correct. Thank you for proving the point yet again.

AND, no one would misunderstand what was meant. Which, again, re-proves the point.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #181 on: September 06, 2019, 05:19:34 pm »
So what's the frequency of my oscillator?

32 * Context Hz
 ;D
You meant that as a joke, yet it's precisely correct. Thank you for proving the point yet again.

AND, no one would misunderstand what was meant. Which, again, re-proves the point.

So answer the question, what frequency are the two oscillators I mentioned? Right now, no datasheets. You have no context. What is my 32kHz oscillator?
« Last Edit: September 06, 2019, 05:21:30 pm by Monkeh »
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2454
  • Country: us
Re: Kilobyte
« Reply #182 on: September 06, 2019, 06:13:30 pm »
So what's the frequency of my oscillator?

32 * Context Hz
 ;D
You meant that as a joke, yet it's precisely correct. Thank you for proving the point yet again.

AND, no one would misunderstand what was meant. Which, again, re-proves the point.

So answer the question, what frequency are the two oscillators I mentioned? Right now, no datasheets. You have no context. What is my 32kHz oscillator?

Trick question that doesn't prove anything in this thread. 32 kHz oscillator virtually always refers to the standard clock oscillator, which is 32768 Hz. Which happens  to match the 32*1024 definition. But in this case I think it's just a common lazy reference to an extremely common component, rather than trying to define kilo as 1024. 32 k is enough, since there aren't any other standard oscillators in the 32000-32999 range.
« Last Edit: September 06, 2019, 06:15:38 pm by Nusa »
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #183 on: September 06, 2019, 10:46:44 pm »
Trick question that doesn't prove anything in this thread.
Actually, it does prove something. I just looked up crystals and oscillators on DigiKey's website. There's zero ambiguity, no chance for confusion. When it's a 32KHz frequency, they say that. When it's a 32.768KHz frequency, they say that - right down to the unit Hertz digit.

So, in keeping with industry convention and expected behavior, a KHz is 1000 Hz. Exactly like you'd expect. If there's a fractional part of a kilo, they express it explicitly.

What does this prove? That DigiKey understands their market, their customers, and industry conventions.

The crystal/oscillator question was an excellent example, thank you for providing it.

Edit: For fun, I just looked up "memory" on DigiKey too. Toward the small end of the "Memory Size" range (so we avoid questions of rounding) they list things like the following:

1Kb ( 128 x 8, 64 x 16)
1Kb ( 256 x 4 )
1Kb ( 64 x 16 )
2Kb ( 128 x 16 )

So K = kilo, and if you do the math kilo = 1024. Exactly as you'd expect. Meanwhile, let's not forget that kilo = 1000 a moment ago in Crystals and Oscillators. Each usage of the term exactly as expected. Scrolling down to the larger memory sizes you find M, G, and T all having the expected values when referring to memory/addressing. Zero confusion.

Edit2: Just checked Mouser. Same thing. When speaking of frequencies kilo = 1000, when speaking of memory/addressing kilo = 1024. The one difference is they use a lowercase "k" instead of DigiKey's uppercase "K". Yet, somehow, the industry isn't confused.

I invite the proponents of "kibi" to contact DigiKey, Mouser, and the other major online distributors and convince them to drop all uses of these antiquated prefixes on their websites. Never mind the customer confusion that's likely to result - it's the "right thing to do"! Please copy all correspondence back to this thread for entertainment.
« Last Edit: September 06, 2019, 11:06:26 pm by IDEngineer »
 
The following users thanked this post: LateLesley

Offline Tomorokoshi

  • Super Contributor
  • ***
  • Posts: 1212
  • Country: us
Re: Kilobyte
« Reply #184 on: September 06, 2019, 11:06:09 pm »
...

Never mind the customer confusion that's likely to result - it's the "right thing to do"! Please copy all correspondence back to this thread for entertainment.

That does it! For my next retro computer I'm getting a Commodore 65.536!
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #185 on: September 06, 2019, 11:07:28 pm »
That does it! For my next retro computer I'm getting a Commodore 65.536!
Wait, is that 65.536 kibi, or kilo?  >:D
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #186 on: September 06, 2019, 11:12:38 pm »
Trick question that doesn't prove anything in this thread.
Actually, it does prove something. I just looked up crystals and oscillators on DigiKey's website. There's zero ambiguity, no chance for confusion. When it's a 32KHz frequency, they say that. When it's a 32.768KHz frequency, they say that - right down to the unit Hertz digit.

So, in keeping with industry convention and expected behavior, a KHz is 1000 Hz. Exactly like you'd expect. If there's a fractional part of a kilo, they express it explicitly.

What does this prove? That DigiKey understands their market, their customers, and industry conventions.

The crystal/oscillator question was an excellent example, thank you for providing it.

Which isn't what I asked you to do.

The first page of this datasheet says REFO is 32kHz, what's the nominal frequency of REFO? First page only. Simple communications here.

The first page of this one says 32kHz, what's the nominal frequency? Same rules.

There's no ambiguity you said, so it should be an easy and instant correct answer whether you're familiar with the chips or not. After all, everyone gets it right, there's no need for additional context, we're all speaking the same language here.. right? We can't possibly miscommunicate these frequencies?

Oh, and let's have a quick quote from an Atmel application note:
Quote
The 32.768kHz internal RC oscillator (RC32K) is factory-calibrated to 32kHz

This makes complete sense. Yes. This is fine. Also just ignore the other 32kHz oscillator which is 32kHz, not 32kHz.
« Last Edit: September 06, 2019, 11:20:37 pm by Monkeh »
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17858
  • Country: fr
Re: Kilobyte
« Reply #187 on: September 06, 2019, 11:23:02 pm »
Oh, and let's have a quick quote from an Atmel application note:
Quote
The 32.768kHz internal RC oscillator (RC32K) is factory-calibrated to 32kHz
This makes complete sense. Yes. This is fine. Also just ignore the other 32kHz oscillator which is 32kHz, not 32kHz.

Great stuff! ;D
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #188 on: September 07, 2019, 12:28:35 am »
The first page of this datasheet says REFO is 32kHz, what's the nominal frequency of REFO? The first page of this one says 32kHz, what's the nominal frequency? Same rules.
Both say 32kHz, so (at least!) 80% of people reading the spec sheet would reply "32 kilohertz" by which they'd mean 32000 Hz. And no, I haven't cheated by looking at the links you provided so I don't know if my answer syncs with their data or not. If not, a poorly written spec sheet reflects poorly on its author, not an entire industry. More to the point, if "kibi" were in greater use, any errors in the above specs would still exist. Would you honestly expect them to say "32 kibihertz"? (At least!) 80% of readers would have no idea what that meant.

Meanwhile, the rest of the industry somehow manages to scrape by while blissfully unaware of their ignorance of "kibi". DigiKey and Mouser and the rest of the websites are completely messed up using all the wrong prefixes yet they ship millions of correct products every day. Somehow, some way, the industry doesn't collapse despite all of this raging prefix confusion. It's remarkable this forum, being based on kilo-based hardware and software, functions at all! {/sarcasm}
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #189 on: September 07, 2019, 12:56:33 am »
The first page of this datasheet says REFO is 32kHz, what's the nominal frequency of REFO? The first page of this one says 32kHz, what's the nominal frequency? Same rules.
Both say 32kHz, so (at least!) 80% of people reading the spec sheet would reply "32 kilohertz" by which they'd mean 32000 Hz. And no, I haven't cheated by looking at the links you provided so I don't know if my answer syncs with their data or not. If not, a poorly written spec sheet reflects poorly on its author, not an entire industry.

REFO is 32,768Hz. The STM32G0's RC oscillator is 32,000Hz. So, as we can see, mistakes occur, ambiguity exists. Your entire argument has been that there is no ambiguity, the context of the unit clarifies the (mis)use of the prefix in all situations. It clearly does not.

Quote
More to the point, if "kibi" were in greater use, any errors in the above specs would still exist. Would you honestly expect them to say "32 kibihertz"? (At least!) 80% of readers would have no idea what that meant.

I would expect them to say 32.768kHz or 32KiHz (yes, again, I know it looks a little silly but it is entirely unambiguous, and IMHO entirely approriate to express a number chosen for being a power of 2). Yes, the ambiguity created by misuse of a two century old prefix will still exist, but at least some cases can be resolved and, given time, the improper use will die out. And if 80% or more of supposedly educated professional engineers are unaware there are binary prefixes, their education is poor and they should get out more. I do, however, realise this is a number you've pulled straight out of your arse.

I'm sure I mentioned 'inertia' earlier - it's hard to get people to change. Other industries are working on it, and standards for your own (previously mentioned JEDEC JESD100B.01) point out that the misused prefixes are in common use but not recommended, and point to the appropriate standard for a clearer system. Horses to water..
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #190 on: September 07, 2019, 01:08:38 am »
And if 80% or more of supposedly educated professional engineers are unaware there are binary prefixes, their education is poor and they should get out more. I do, however, realise this is a number you've pulled straight out of your arse.
https://www.eevblog.com/forum/microcontrollers/kilobyte-poll/

The number has been moving around 80%, sitting at 78% at this moment. Which, ironically, is almost the same as the 2.4% "error" between kilo and "kibi".  :-DD

97 votes is definitely not a scientific study, but EEVblog has been mentioned as one of the larger online forums for the Electronics industry. Apparently you need to find somewhere else more in line with your personal philosophy, because 78% of the respondents, all of whom are members of this forum, are (your word) arses? arseholes? because they don't agree with you.
« Last Edit: September 07, 2019, 01:10:47 am by IDEngineer »
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #191 on: September 07, 2019, 01:17:05 am »
And if 80% or more of supposedly educated professional engineers are unaware there are binary prefixes, their education is poor and they should get out more. I do, however, realise this is a number you've pulled straight out of your arse.
https://www.eevblog.com/forum/microcontrollers/kilobyte-poll/

The number has been moving around 80%, sitting at 78% at this moment. Which, ironically, is almost the same as the 2.4% "error" between kilo and "kibi".  :-DD

That poll does not ask "Have you heard of binary prefixes?".

Quote
97 votes is definitely not a scientific study, but EEVblog has been mentioned as one of the larger online forums for the Electronics industry. Apparently you need to find somewhere else more in line with your personal philosophy, because of the sample 78% of the respondents, all of whom are members of this forum, are (your word) arses? arseholes? because they don't agree with you.

I did not call you, or anyone else, an arse. Pulling something out of your arse is an expression (see: get out more), it means to make something up. Which you pretty much did, or at the very least are being extremely creative in your interpretation of that poll. I am not the one resorting to personal attacks, nor am I so invested in this particular issue that I would abandon a forum over it.. Perhaps you're used to running away from people you don't agree with (or just bombing them..), some of us are a little thicker skinned.
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #192 on: September 07, 2019, 01:52:59 am »
some of us are a little thicker skinned.
Oh, I promise you I'm plenty thick skinned. But I have a deep streak of the educator in me which seeks to help people learn and grow. That's why I originally jumped into this thread, because I see "kibi" as a dangerous distraction.

I also enjoy a good technical argument. I suspect you and I could be good friends if we met in person!  :-+

As I said earlier, I'm personally attracted to the accuracy of "kibi". But I'm also very mindful of the value inherent in effective communications with other people. This is one of those cases where extreme accuracy must yield for the benefit of the overall communication. Is "kibi" more accurate, more precise? Absolutely. But will insisting on its use today improve most team discussions, interpersonal communications, etc.? Absolutely not. It's almost always (almost, but I concede there are exceptions) less important to win an argument about how many angels can dance on a pinhead than it is to keep communications smooth, to keep everyone engaged in a positive way, and to avoid looking like an arrogant pedant instead of a team player.

This is in the same vein as folks who correct others when they split infinitives, end with a preposition, etc. Are they technically more accurate? Yes. But most people are not confused by the slightly improper use of the language, and they are annoyed by people who insist on making too much of something that wasn't a problem in the first place.

Do not take that as a personal insult aimed at you, it's not. But I presume you'd agree that someone on a team who insists on raising, and winning, an "angels pinhead" argument isn't likely to be deemed a favorite by the other team members. THAT is the point I've repeatedly made: "Kibi" isn't a net positive, today, because it clouds communication. Maybe it will catch on, but until it does I believe an Engineer's time is better spent focusing on the deliverable than demanding specific lexical behavior.

We each have to pick our battles. "Kibi" isn't a winner IMHO, at least today. Maybe someday, but not today.
« Last Edit: September 07, 2019, 01:55:21 am by IDEngineer »
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #193 on: September 07, 2019, 02:29:10 am »
Hey, I didn't come here and start a topic insisting people use the right prefix, we were all asked what the definition was! I just feel, at least when writing long-lived technical documentation, it's important to be unambiguous (and again, I've pointed out in-the-wild ambiguity as well as conveyed the fact that I have experienced it elsewhere). The appropriate prefixes provide this. Nobody needs to go on a campaign pushing it down their co-workers throats, but it's a pretty simple case to make to comply with international standards in documentation. Note: the relevant standard in semiconductors is.. ambiguous on the matter..

In quick conversation, spoken or otherwise, I tend to just go with 'k', 'meg', and so forth - it carries the approximate magnitude well enough. If I say I need '10 gig' of space, then either prefix is going to give me the overhead I need for the actual data. If I need to be specific, I will be, and the proper prefixes give me the tools needed, at least for the binary case. At this point, if I say I need a 32KiHz crystal, you know exactly what I mean. If I said I needed a 32kHz crystal you'd have to wonder, however briefly, if I wanted actual 32kHz (less likely but possible) or a clock crystal.

Binary prefixes are a long-term winner - just like condensers are history now (apparently excepting really awfully cheap small engines and the very.. insular? perhaps not the right word, aviation industry). They will get there. Discussions like these, even if they do bring out the pig-headedness on both sides, should serve to speed the process..
« Last Edit: September 07, 2019, 02:30:46 am by Monkeh »
 

Offline IDEngineer

  • Super Contributor
  • ***
  • Posts: 1982
  • Country: us
Re: Kilobyte
« Reply #194 on: September 07, 2019, 02:46:19 am »
Discussions like these, even if they do bring out the pig-headedness on both sides, should serve to speed the process.
I'll concede to my share of pigheadedness, for sure!  >:D
 

Offline fourfathom

  • Super Contributor
  • ***
  • Posts: 2321
  • Country: us
    • Turn Island Systems
Re: Kilobyte
« Reply #195 on: September 07, 2019, 04:08:29 am »
So answer the question, what frequency are the two oscillators I mentioned? Right now, no datasheets. You have no context. What is my 32kHz oscillator?

As you said, you have given us no context.  In that case, the frequency should be 32,000 Hz.  If you want 32,768 Hz you need to provide context or otherwise clearly specify the frequency.  Pardon me, but you would have to be an idiot if you were to purchase a bunch of "32 KHz" oscillators with this sort of ambiguity.  I doubt if you (or any practicing engineers) are such an idiot.  And unclear datasheets are unclear datasheets -- we've all seen our share of those.

But context-specific shop-talk is common and useful.  If we're working with telecom "E1" systems we say 2 MHz but mean 2.048 MHz.  And we understand each other.  When I design OC-192 SONET fiber-optic systems I talk about 10 Gig, and we all know this means 9.510912 GHz.  "10 Gig" is just easier to say, and no harm done.  10 Gig Ethernet uses a different frequency, and in context we don't get these confused.

Sure, in an ideal world perhaps we could avoid this sort of potential confusion.  But this is the real world, and in practice there is no serious confusion.  Of course there are errors, but seldom are these caused by this prefix issue.  Good luck getting kibibyte into serious usage, since people are unlikely to abandon a system they already use unless the new system actually solves a real problem.

We'll search out every place a sick, twisted, solitary misfit might run to! -- I'll start with Radio Shack.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 8889
  • Country: gb
Re: Kilobyte
« Reply #196 on: September 07, 2019, 04:21:05 am »
So answer the question, what frequency are the two oscillators I mentioned? Right now, no datasheets. You have no context. What is my 32kHz oscillator?

As you said, you have given us no context.  In that case, the frequency should be 32,000 Hz.  If you want 32,768 Hz you need to provide context or otherwise clearly specify the frequency.

What, you mean by using a binary prefix to make it clear what I want? Welcome aboard..

Quote
Good luck getting kibibyte into serious usage, since people are unlikely to abandon a system they already use unless the new system actually solves a real problem.

Already is in serious usage, covered that..
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 8072
  • Country: pl
Re: Kilobyte
« Reply #197 on: September 07, 2019, 06:07:11 am »
I'm pretty sure that most people who use RTCs would scratch their head if they saw a 32KiHz crystal :-DD

Usually a single glance at the datasheet should clear all confusion, unless it's one of those Atmel 32.768kHz clocks factory calibrated to 32kHz. BTW, anyone knows what's the real frequency of those?

Also, anybody who puts a 32000Hz clock in a micro for timekeeping should be shot.
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 11477
  • Country: fi
Re: Kilobyte
« Reply #198 on: September 07, 2019, 06:12:44 am »
Hz and kHz are SI units, no confusion. 32kHz is always 32000Hz, and you know that.

Anyone who says 32kHz crystal (while meaning 32768Hz) is just lazily rounding (in the wrong direction). Similarly, 24-bit colorspace is widely called "16 million colors", even though it's correctly rounded to 17 million. This is an issue of inaccurate, mostly spoken language. Nothing to do with 1024-based prefixes.


On the other hand, kB is not an SI unit. Using k=1000 outside of the SI system would be nice, even preferable, but for practical reasons, won't always happen.

Similarly, the letter k in Monkeh does not mean 1000.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6738
  • Country: nl
Re: Kilobyte
« Reply #199 on: September 07, 2019, 08:00:10 am »
Propose new topic name:

"tebi or not tebi, that's the question"
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->