gwynhefar: (Default)
gwynhefar ([personal profile] gwynhefar) wrote2009-04-09 10:57 am
Entry tags:

You learn something new every day.

How come I didn't know that half a byte (four bits) is called a "nibble"?

[identity profile] featheredfrog.livejournal.com 2009-04-09 04:02 pm (UTC)(link)
"nybble"

[identity profile] feste-sylvain.livejournal.com 2009-04-09 04:10 pm (UTC)(link)
The letters you see on the screen are transmitted at one byte per "character" (and non-Latin characters often require two bytes, or "wide characters").

But the "hexadecimal" (base 16) mathematics requires four bits per "digit". So for an example you may have seen, a punctuation mark in the name of an URL may be represented by a percent sign followed by its two-hexadecimal-digit code (e.g. %20"). That example is not "twenty", but "thirty-two" in hexadecimal.

Each digit is a "nybble" of data.

[identity profile] gwynraven.livejournal.com 2009-04-09 04:22 pm (UTC)(link)
Is it really spelled "nybble" to go with "byte"? The OED had it spelled more traditionally.

[identity profile] feste-sylvain.livejournal.com 2009-04-09 04:57 pm (UTC)(link)
The OED spells "tire" with a 'y'.

(It may well be a English/American jargon thing.)

[identity profile] gwynraven.livejournal.com 2009-04-09 05:16 pm (UTC)(link)
True dat. :)

[identity profile] tewok.livejournal.com 2009-04-10 01:02 pm (UTC)(link)
Nah, it's not that. It's this:

bite -> byte
nibble -> nybble

[identity profile] gwynraven.livejournal.com 2009-04-10 06:04 pm (UTC)(link)
Makes sense. It's just that the OED is *wrong* then :-(

[identity profile] tewok.livejournal.com 2009-04-10 10:26 pm (UTC)(link)
Heresy! The OED is never wrong! When something defines Right, it can't be wrong. It just, um, has a different perspective on things.

[identity profile] gwynraven.livejournal.com 2009-04-11 05:27 am (UTC)(link)
Well, the OED lists "nybble" as an alternative spelling to "nibble" and some of the quotes under the computing definition are spelled that way, and some aren't. They do not make it clear that the "nybble" spelling is preferred for the computing definition. So they're not *wrong* per se, just misleading and incomplete. Which is horrible, because the OED is my *bible* and I can't stand it when they're wrong.

[identity profile] tewok.livejournal.com 2009-04-11 05:07 pm (UTC)(link)
They might not be aware of the preference. Maybe it is your destiny to inform them of this, thus ensuring your place in the pantheon of the language.

[identity profile] gwynraven.livejournal.com 2009-04-11 06:14 pm (UTC)(link)
ooh, that would be nice :)

[identity profile] bookgirlwa.livejournal.com 2009-04-09 04:46 pm (UTC)(link)
I didn't know that either, but it's very cool.

[identity profile] harkalark.livejournal.com 2009-04-09 05:12 pm (UTC)(link)
And smaller than that is a morsyl.

Not really.

[identity profile] 6-bleen-7.livejournal.com 2009-04-09 05:35 pm (UTC)(link)
I heard that term when personal computers really began to get popular, in the late 1970s, but the term almost immediately faded into obscurity.

Another mathematical oddity relating to computer memory: There is confusion with the terms "kilobyte", "megabyte", "gigabyte", etc., because these terms do not refer to 1,000 bytes, 1 million bytes, 1 billion bytes, etc., but rather to 210 = 1024 bytes, 220 = 1,048,576 bytes, 230 = 1,073,741,824 bytes, etc. There is a movement to change the standard metric prefixes for these terms by replacing the final two letters with bi, for binary: kibibytes, mebibytes, gibibytes, etc. If that doesn't leave you gibbering with confusion, you might consider a career in computer science.

[identity profile] gwynraven.livejournal.com 2009-04-09 05:46 pm (UTC)(link)
Actually I totally understand that, although like most people, I tend to round off when thinking of KB, MB, and GBs. I don't see the new names taking off though.

[identity profile] stronae.livejournal.com 2009-04-09 07:14 pm (UTC)(link)
Yes, though its original form was "nybble". The concept is important because you can take any nybble and convert it into a hexadecimal character, so you have an automatic method of data compression. This is critical when you, say, need to dump memory to determined what went wrong with your computation -- much easier to read 0A5E than it is to read 0000101001011110.

[identity profile] belgatherial.livejournal.com 2009-04-09 09:55 pm (UTC)(link)
I think it's a bit scarier that I did. ;)