this post was submitted on 07 Jul 2025
1435 points (99.1% liked)

Microblog Memes

8566 readers
1949 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
 
top 50 comments
sorted by: hot top controversial new old
[–] Chozo@fedia.io 153 points 1 week ago (7 children)

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

[–] markz@suppo.fi 87 points 1 week ago (2 children)

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

[–] wabasso@lemmy.ca 17 points 1 week ago* (last edited 1 week ago) (1 children)

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)
[–] wuzzlewoggle@feddit.org 51 points 1 week ago (3 children)

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

[–] jaybone@lemmy.zip 69 points 1 week ago (4 children)

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

load more comments (4 replies)
load more comments (2 replies)
[–] AFKBRBChocolate@lemmy.ca 14 points 1 week ago (4 children)

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)
[–] AlexanderTheDead@lemmy.world 11 points 1 week ago (1 children)

It doesn't really matter that it's a "normie article for normie readers". Writing articles is journalism. Not knowing 256 offhand? Permissible. Being a journalist who wrote an article and didn't even do the bare bones of research? You're still a bad journalist, and as callous as it is, you should lose your job and livelihood. Bad journalism is too dangerous to just let it fester like this.

load more comments (1 replies)
load more comments (3 replies)
[–] prime_number_314159@lemmy.world 138 points 1 week ago (18 children)

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

[–] BuboScandiacus@mander.xyz 20 points 1 week ago (3 children)

Oh you are the numbers guy ? Name every number

[–] kameecoding@lemmy.world 22 points 1 week ago (3 children)

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

load more comments (2 replies)
load more comments (16 replies)
[–] MentalEdge@sopuli.xyz 100 points 1 week ago (8 children)

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

[–] ignoble_stigmas@sh.itjust.works 34 points 1 week ago

Engagement byte

load more comments (7 replies)
[–] xeekei@lemmy.zip 72 points 1 week ago (2 children)

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

[–] Saleh@feddit.org 36 points 1 week ago* (last edited 1 week ago) (3 children)

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.

[–] Klear@lemmy.world 14 points 1 week ago

Even that is odd.

load more comments (2 replies)
[–] silasmariner@programming.dev 15 points 1 week ago

Or a maths nerd!

[–] rarbg@lemmy.zip 53 points 1 week ago (3 children)

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.

[–] JackbyDev@programming.dev 13 points 1 week ago

It's a pretty succinct explanation that links what it is to something most people have heard of (a byte).

load more comments (2 replies)
[–] 18107@aussie.zone 45 points 1 week ago (1 children)

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.

[–] Revan343@lemmy.ca 29 points 1 week ago

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

[–] spongebue@lemmy.world 37 points 1 week ago (5 children)

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?

[–] AbsolutelyNotAVelociraptor@sh.itjust.works 53 points 1 week ago (7 children)

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.

[–] Zagorath@aussie.zone 11 points 1 week ago (4 children)

Except that they're almost certainly just using int, which is almost certainly at least 32 bits.

256 is chosen because the people writing the code are programmers. And just like regular people like multiples of 10, programmers like powers of 2. They feel like nice round numbers.

[–] verstra@programming.dev 44 points 1 week ago (6 children)

Well, no. They are not certainly using int, they might be using a more efficient data type.

This might be for legacy reasons or it might be intentional because it might actually matter a lot. If I make up an example, chat_participant_id is definitely stored with each message and probably also in some index, so you can search the messages. Multiply this over all chats on WhatsApp, even the ones with only two people in, and the difference between u8 and u16 might matter a lot.

But I understand how a TypeScript or Java dev could think that the difference between 1 and 4 bytes is negligible.

[–] MyBrainHurts@lemmy.ca 37 points 1 week ago (2 children)

But I understand how a TypeScript or Java dev could think that the difference between 1 and 4 bytes is negligible.

Shots fired.

load more comments (2 replies)
load more comments (5 replies)
[–] Lodespawn@aussie.zone 22 points 1 week ago

It'll have to do with packet headers, 8 bits is a lot for an instant message packet header.

load more comments (2 replies)
load more comments (6 replies)
[–] mEEGal@lemmy.world 13 points 1 week ago

when writing somewhat low-level code, you always make assumptions about things. in this case, they chose to manage 256 entries in some array; the bound used to be lower.

but implicitly there's a tradeoff, probably memory / CPU utilisation in the server.

it's always about the tradeoff between what the users want, what is easier for you to maintain, what your infrastructure can provide, etc.

load more comments (3 replies)
[–] vala@lemmy.world 29 points 1 week ago* (last edited 1 week ago) (2 children)

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)
[–] BilboBargains@lemmy.world 22 points 1 week ago (5 children)

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?

[–] JackbyDev@programming.dev 18 points 1 week ago (4 children)

Powers of two are the roundest of numbers.

load more comments (4 replies)
[–] Worx@lemmynsfw.com 16 points 1 week ago (1 children)

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.

[–] Scubus@sh.itjust.works 13 points 1 week ago

They were making a joke. That being said, im not familiar with lumber or imperial<->metric conversions so their second point was lost on me, so thanks.

load more comments (3 replies)
[–] synapse1278@lemmy.world 21 points 1 week ago* (last edited 1 week ago) (2 children)

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

[–] Alaknar@sopuli.xyz 18 points 1 week ago

Still odd

Actually, it's even.

load more comments (1 replies)
[–] MilitantAtheist@lemmy.world 17 points 1 week ago

Because 257's a crowd

[–] mr_satan@lemmy.zip 15 points 1 week ago* (last edited 1 week ago) (7 children)

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

[–] squaresinger@lemmy.world 31 points 1 week ago (3 children)

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)
[–] chonglibloodsport@lemmy.world 23 points 1 week ago (6 children)

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

[–] khapyman@sopuli.xyz 11 points 1 week ago (1 children)

Not to be snarky, in programming there's rarely (in situations like this) a reason to keep count. Computers are exceptionally good at counting integers so they'd just count individual client id's (however they've implemented that system), not keeping toll on how many clients are in a group chat.

So one client, be it at position zero is a one client group. Add another client at position one and you have two clients and a two person group.

load more comments (1 replies)
load more comments (5 replies)
[–] winkerjadams@lemmy.dbzer0.com 18 points 1 week ago (1 children)

And programmers usually start counting at 0.

load more comments (1 replies)
load more comments (4 replies)
[–] echodot@feddit.uk 12 points 1 week ago

That's a super old article as well.

They got rightfully roasted in the comments for not knowing even the most basic things about computing.

load more comments
view more: next ›