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.
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:
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.
Still odd, I very much doubt they use a 8bit variable to set this limit. What would this bring ?
Still odd
Actually, it's even.
Numbers guy here, I can confirm 256 is an evenly specific number, and not an oddly specific number.
Like memory in bits maybe, so 64 128 256 512 1024 2028
Since people are binary like the great Orange says, they have to use a power of 2?
Yep very weird, should have been 255.
No, you can't have a group of zero, so the counter doesn't need to waste a position counting zero.
Sure you can. It's a group that exists, but it has 0 participants.
0 is reserved for the FBI agent listening in.
It's an ICE agent now
Nah, ICE agents don't care about evidence.
Also they can't use computers anyway. They just publicly post on social media. It's considered secure because no one likes them enough to follow them.
You probably could, if everyone got banned or something
If you ever create a system where the number of users is "group.members - 1" everywhere in the code, I'd be very disappointed in you and deny that PR.
On another note; I doubt WhatsApp are so concerned with performance they are actually limiting the number of group members by the data type.
But it wouldn't be like that though would it. It would be public group.members() and the u8 would be private.
If all the millions of groups are saved on a central database then making the size a u8 isn't really that weird