1485
oddly specific (lemmy.blahaj.zone)
submitted 3 weeks ago by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top new old
[-] [email protected] 160 points 3 weeks ago

Source.

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

[-] [email protected] 92 points 3 weeks ago

That weird ass explanation with switches and "one of the most important numbers" still sounds absolutely clueless.

[-] [email protected] 20 points 3 weeks ago* (last edited 3 weeks ago)

I liked the switches analogy! Generally about binary though; I agree it doesn’t connect back to the number of users application.

And yeah most important number…sounds like they were quoting an LLM.

load more comments (1 replies)
load more comments (1 replies)
[-] [email protected] 53 points 3 weeks ago

One of the most important numbers? I'd argue the most important number in computing is either 1 or 0...

[-] [email protected] 72 points 3 weeks ago

What the fuck is a power of 2??? I’m vibe coding python AI.

load more comments (4 replies)
load more comments (2 replies)
[-] [email protected] 15 points 3 weeks ago

That quote really is the problematic part. The part about switches is fine - it's an attempt to explain tech to a "normie." But for a tech writer to ever say it's not clear why they settled on 256 is worse than embarrassing. They had to be corrected by tweets.

Anyone whose ever had an intro to computers class has had a computing professional explain computers using simple language and analogies. That's the way this kind of thing should work. It sounds like this author has no more clue about computing than the target audience, which isn't going to work out well for the reader.

load more comments (4 replies)
load more comments (5 replies)
[-] [email protected] 146 points 3 weeks ago

Numbers guy here, I can confirm 256 is an evenly specific number, and not an oddly specific number.

[-] [email protected] 20 points 3 weeks ago

Oh you are the numbers guy ? Name every number

[-] [email protected] 24 points 3 weeks ago

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

load more comments (2 replies)
load more comments (17 replies)
[-] [email protected] 105 points 3 weeks ago

If it's engagement bait, it's working.

[-] [email protected] 38 points 3 weeks ago

Engagement byte

load more comments (7 replies)
[-] [email protected] 92 points 3 weeks ago

Shout out to Castlevania II, where you can hold anywhere from 0 to 256 laurels. Yes, you read that right -- 256, not 255. I inspected RAM to double check. It's a 16-bit word on an 8-bit system with a maximum value of 0x100. They could have used 8 bits instead of 16. But no, they really did choose this arbitrary number.

[-] [email protected] 37 points 3 weeks ago

"I inspected RAM to double check."

That's an unhinged level of commitment. Respect — I dig it

load more comments (13 replies)
[-] [email protected] 76 points 3 weeks ago

You know you're a tech nerd when 256 sounds more even than 250 or 300. 😅

[-] [email protected] 37 points 3 weeks ago* (last edited 3 weeks ago)

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.

[-] [email protected] 15 points 3 weeks ago

Even that is odd.

load more comments (2 replies)
[-] [email protected] 17 points 3 weeks ago

Or a maths nerd!

load more comments (7 replies)
[-] [email protected] 58 points 3 weeks ago

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.

Lol, weird way to say that 256 is a power of two, and computers operate in base two.

load more comments (4 replies)
[-] [email protected] 51 points 3 weeks ago

In this case the limit was entirely arbitrary.

The programmers were told to pick a limit and they liked 256. There are issues with having a large number of people in a group, but it wasn't a hardware limit for this particular case.

[-] [email protected] 31 points 3 weeks ago

But it's still not oddly specific, they picked a nice round number

[-] [email protected] 51 points 3 weeks ago

Yep very weird, should have been 255.

[-] [email protected] 56 points 3 weeks ago

No, you can't have a group of zero, so the counter doesn't need to waste a position counting zero.

[-] [email protected] 39 points 3 weeks ago

0 is reserved for the FBI agent listening in.

load more comments (3 replies)
load more comments (10 replies)
[-] [email protected] 38 points 3 weeks ago

So, I get that 256 is a base 2 number. But we're not running 8-bit servers or whatever here (and yes, I understand that's not what 8-bit generally refers to). Is there some kind of technical limitation I'm not thinking of where 257 would be any more difficult to implement, or really is it just that 256 has a special place in someone's heart because it's a base 2 number?

[-] [email protected] 56 points 3 weeks ago

Because 256 is exactly one byte. If you want to add a 257th member, you need a whole second byte just for that one person. That's a waste of memory, unless you want to go to the 64k barrier of users per chat.

load more comments (19 replies)
load more comments (4 replies)
[-] [email protected] 31 points 3 weeks ago* (last edited 3 weeks ago)

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.

load more comments (2 replies)
[-] [email protected] 22 points 3 weeks ago* (last edited 3 weeks ago)

Still odd, I very much doubt they use a 8bit variable to set this limit. What would this bring ?

[-] [email protected] 19 points 3 weeks ago

Still odd

Actually, it's even.

load more comments (1 replies)
[-] [email protected] 21 points 3 weeks ago

I remember being puzzled by this and many other numbers that kept cropping up. 32, 64, 128, 256, 1024, 2048... Why do programmers and electronic engineers hate round numbers? The other set of numbers that was mysterious was timber and sheet materials. They cut them to 1220 x 2440mm and thicknesses of 18 and 25mm. Are programmers and the timber merchants part of some diabolical conspiracy?

[-] [email protected] 18 points 3 weeks ago

Powers of two are the roundest of numbers.

load more comments (4 replies)
[-] [email protected] 16 points 3 weeks ago

32, 64, 128 etc. are all round numbers, counting in binary. They are powers of two. Since computers work in binary, they make logical sense.

1220mm is 4ft, and 18 and 25mm are three-quarters of an inch, and an inch respectively.

load more comments (1 replies)
load more comments (3 replies)
[-] [email protected] 18 points 3 weeks ago

Because 257's a crowd

[-] [email protected] 16 points 3 weeks ago* (last edited 3 weeks ago)

Wouldn't max value for 8 bit (unsigned) integer be 255? Like the number has 256 distinct values, but that includes 0.

[-] [email protected] 32 points 3 weeks ago

If this is about a counter for users in the chat, sure. But if this is an array of users indexed by an 8-bit number, then it will fit 256 slots with the first slot being numbered 0.

load more comments (3 replies)
[-] [email protected] 24 points 3 weeks ago

Right but having a group chat of size 0 isn’t very useful.

load more comments (7 replies)
[-] [email protected] 19 points 3 weeks ago

And programmers usually start counting at 0.

load more comments (1 replies)
load more comments (4 replies)
load more comments
view more: next ›
this post was submitted on 07 Jul 2025
1485 points (99.1% liked)

Microblog Memes

8707 readers
2985 users here now

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:

  1. Please put at least one word relevant to the post in the post title.
  2. Be nice.
  3. No advertising, brand promotion or guerilla marketing.
  4. Posters are encouraged to link to the toot or tweet etc in the description of posts.

Related communities:

founded 2 years ago
MODERATORS