News for hackers. Stuff that matters.
Re:FTP is 50 years old by jbverschoor on Friday April 16, 2021 @12:15PM (#26835768)
I thought a byte ment “by eight”

What’s a nibble of a byte is 8bits

Re:FTP is 50 years old by okl on Friday April 16, 2021 @12:36PM (#26836043)
Wikipedia has some info (https://en.wikipedia.org/wiki/Byte#History_of_the_conflictin...):

"The size of the byte has historically been hardware-dependent and no definitive standards existed that mandated the size. Sizes from 1 to 48 bits have been used.[4][5][6][7] The six-bit character code was an often-used implementation in early encoding systems, and computers using six-bit and nine-bit bytes were common in the 1960s. These systems often had memory words of 12, 18, 24, 30, 36, 48, or 60 bits, corresponding to 2, 3, 4, 5, 6, 8, or 10 six-bit bytes. In this era, bit groupings in the instruction stream were often referred to as syllables[a] or slab, before the term byte became common."

If you want to be specific, you could say "octet" to describe a set of 8 bits.

Re:FTP is 50 years old by tachyonbeam on Friday April 16, 2021 @12:25PM (#26835889)
AFAIK, before everything was byte-addressable and this became standard, people used to talk about "word" sizes. Some computers would have 36 or 38-bit words. The CDC 6000 had 60-bit words, where that was the smallest size value you could address in memory. For things like characters, you would have to pack multiple chars per word. The Symbolics 3600 Lisp Machine had 36-bit words, and it used some of those bits to tag different data types so every value in memory had some basic type information attached to it.
Re:FTP is 50 years old by gkop on Friday April 16, 2021 @12:27PM (#26835917)
By the way, the handy word for an 8-bit byte is “octet” (I have not observed octet used in the software industry, only in school. Don’t use it at work or you might come across as an ass...)

I was curious and searched HN and found this 2012 comment explaining octet is essentially an anachronism, as bytes have been standardized at 8 bits: https://news.ycombinator.com/item?id=4649528 . Feeling old!

Re:FTP is 50 years old by okl on Friday April 16, 2021 @12:39PM (#26836081)
> By the way, the handy word for an 8-bit byte is “octet” (I have not observed octet used in the software industry, only in school. Don’t use it at work or you might come across as an ass...)

I see it used (and use it myself) from time to time in contexts where you want to differentiate between 7/8/9-bit bytes, mostly when working with embedded/low-level software.

Re:FTP is 50 years old by paxswill on Friday April 16, 2021 @12:42PM (#26836133)
The place I see it most is in networking RFCs.
Re:FTP is 50 years old by kstrauser on Friday April 16, 2021 @12:54PM (#26836303)
Beat me to it. "Octet" is used in a lot of networking documentation, and it also nicely decouples wire formats from any meaning the host system might have for the information. From IP's point of view, an octet is literally that: a bag of 8 bits, without meaning. It's not part of a floating point number, or a UTF character, or anything else but just plain undifferentiated data.
Re:FTP is 50 years old by gkop on Friday April 16, 2021 @12:54PM (#26836298)
Thanks. My application layer bias is showing. We will always need octet in the low-level networking domain, huh.
Re:FTP is 50 years old by IncRnd on Friday April 16, 2021 @01:41PM (#26836907)
> I have not observed octet used in the software industry, only in school.

Commonly, the word octet is used to refer to IP addresses, and the permission octets of files in nix systems.

Re:FTP is 50 years old by seryoiupfurds on Friday April 16, 2021 @04:40PM (#26838836)
application/octet-stream
Re:FTP is 50 years old by zertrin on Friday April 16, 2021 @01:35PM (#26836823)
Octet is the word used for bytes in French. Data sizes in French locale are expressed most often in ko, Mo, Go, To ...
Re:FTP is 50 years old by the_af on Friday April 16, 2021 @02:15PM (#26837304)
I remember my Commodore 64's book (in Spanish) mentioned octets. This brings back memories!
Re:FTP is 50 years old by outside1234 on Friday April 16, 2021 @12:20PM (#26835827)
A nibble is half a byte or 4 bits.
Re:FTP is 50 years old by teddyh on Friday April 16, 2021 @12:47PM (#26836208)
Re:FTP is 50 years old by cygx on Friday April 16, 2021 @01:26PM (#26836691)
Quote:

    > nybble: /nib´l/, nibble, n.
                        ^---- see that word over here?
Re:FTP is 50 years old by jbverschoor on Friday April 16, 2021 @01:17PM (#26836601)
I hereby declare 256bytes a whopper, and 512bytes a doublewhopper
Re:FTP is 50 years old by danans on Friday April 16, 2021 @07:03PM (#26839990)
1024 bytes is a vomit, 4096 is a heart-attack.
Re:FTP is 50 years old by jbverschoor on Friday April 16, 2021 @04:18PM (#26838597)
SHA-whopper
Re:FTP is 50 years old by IncRnd on Friday April 16, 2021 @01:44PM (#26836927)
Nibble and nybble are alternate spellings.
Re:FTP is 50 years old by IncRnd on Friday April 16, 2021 @01:38PM (#26836865)
> I thought a byte ment “by eight”

There are differing sizes for bytes. This isn't so common, anymore, but that was the point being made.

> What’s a nibble of a byte is 8bits

A nibble is 4 bits not 8 bits.