Wouldn't max value for 8 bit (unsigned) integer be 255? Like the number has 256 distinct values, but that includes 0.
Microblog Memes
A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.
Created as an evolution of White People Twitter and other tweet-capture subreddits.
Rules:
- Please put at least one word relevant to the post in the post title.
- Be nice.
- No advertising, brand promotion or guerilla marketing.
- Posters are encouraged to link to the toot or tweet etc in the description of posts.
Related communities:
Because 257's a crowd
You know you're a tech nerd when 256 sounds more even than 250 or 300. 😅
Or a maths nerd!
It kind of is "more even".
256 is just 2⁸
250 is 2x5³
300 is 2²x3¹x5²
Any division of 256 with an integer and integer result will be even. Most divisions of 250 and 300 with an integer and integer result will be odd.
Even that is odd.
This isn't a "tech article", it's an article about tech. This is a normie article from a normie news outlet for normie readers.
Also from the article:
A previous version of this article said it was "not clear why WhatsApp settled on the oddly specific number." A number of readers have since noted that 256 is one of the most important numbers in computing, since it refers to the number of variations that can be represented by eight switches that have two positions - eight bits, or a byte. This has now been changed. Thanks for the tweets. DB
One of the most important numbers? I'd argue the most important number in computing is either 1 or 0...
One is one of them
ITT: People who have never done low level networking.
Edit: Without some absolutely crazy hacks, the smallest amount of data you can really transfer or compute on is one byte. 256 requires one byte, 257 requires you to DOUBLE the data used to 2 bytes. Multiply this by whatever data they send and the problem remains the same.
This is the kind of thing that comes up a lot designing custom protocols.