this post was submitted on 07 Jul 2025
1171 points (100.0% liked)

Microblog Memes

8441 readers
2851 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
[–] [email protected] 1 points 6 hours ago

A lot of things arbitrarily limit what they can do to more "human friendly" numbers.

[–] [email protected] 17 points 15 hours ago (4 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?

[–] [email protected] 9 points 6 hours ago (1 children)

Powers of two are the roundest of numbers.

[–] [email protected] 2 points 3 hours ago

Much later in my career I came to appreciate the beauty of this system and the link with hexadecimal. I had to debug a network transmitted CRC that was endian flipped and in that process learned that in the Galois Field of two, 1+1=0 which feels delightfully nonsensical to a luddite.

[–] Worx 10 points 14 hours 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.

[–] [email protected] 10 points 13 hours 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.

[–] [email protected] 5 points 13 hours ago

They just do it to look cool in front of their developer friends.

[–] [email protected] 3 points 14 hours ago

Timber is actually cut in inches. That's why the odd numbers.

[–] [email protected] 36 points 18 hours ago (4 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.

[–] [email protected] 2 points 3 hours ago

Their definition is a lot better.

[–] [email protected] 6 points 6 hours ago

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

[–] [email protected] 2 points 12 hours ago* (last edited 12 hours ago)

It used to be a way bigger deal when computers were very memory scarce, if you needed to say, represent 1024 values, that means you'd use 10 bits or 2 bytes, the remaining 6 bits could be used to store other related information like flags but more often than not it would be waste (unused values that still have to be represented as 0s)

These numbers are pretty arbitrary nowadays but they still show up a lot in computing. They didn't choose 256 so they could represent it in a byte, the real reason is probably that groups larger than 256 can't realistically be managed by users.

That's my 2¢ anyways.

[–] [email protected] 2 points 13 hours ago

Tbf saying it that way brings a visual metaphor. Simply giving it as a mathematical definition would leave it feeling just as arbitrary.

[–] [email protected] 78 points 20 hours ago (10 children)

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] 5 points 6 hours ago

I hate this. I love this.

If I ever make a game I might put stuff like this in it.

[–] [email protected] 29 points 16 hours ago

"I inspected RAM to double check."

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

load more comments (8 replies)
[–] [email protected] 104 points 22 hours ago (12 children)

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

[–] [email protected] 13 points 20 hours ago (2 children)

Oh you are the numbers guy ? Name every number

[–] [email protected] 19 points 19 hours ago (2 children)

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

[–] [email protected] 1 points 6 hours ago

So simple yet so effective as an answer

[–] [email protected] 10 points 18 hours ago (1 children)

I'm going for the boring but practical answer: {x | x ∈ A} and {x | x ∉ A}. Obviously the second set is doing the heavy lifting.

load more comments (1 replies)
load more comments (10 replies)
[–] [email protected] 13 points 20 hours 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.

[–] [email protected] 38 points 1 day ago (1 children)

Yep very weird, should have been 255.

[–] [email protected] 33 points 1 day ago (11 children)

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

[–] [email protected] 1 points 6 hours ago

Tell that to the Castlevania 2 devs. https://lemmy.ml/comment/19720906

[–] [email protected] 25 points 23 hours ago (3 children)

0 is reserved for the FBI agent listening in.

load more comments (3 replies)
load more comments (9 replies)
[–] [email protected] 20 points 22 hours ago (2 children)

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

[–] [email protected] 7 points 16 hours ago* (last edited 16 hours ago)

When the program is running it's probably stored with 32 or 64 bits, but that probably isn't the case for the network packet layout. I can imagine them wanting to optimize network traffic with over 3 billion users even if it's just a small improvement.

Also TIL that Erlang's VM apparently stores strings as linked lists of chars. Very strange.

data representation of string 'phi'

[–] [email protected] 18 points 21 hours ago

Still odd

Actually, it's even.

[–] [email protected] 9 points 19 hours ago

I remember thinking something similar when I was a kid modding Starcraft. Max levels/ranks in researching was 256 and I always wondered why such a weirdly specific number.

[–] [email protected] 44 points 1 day 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.

[–] [email protected] 24 points 23 hours ago

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

[–] [email protected] 127 points 1 day ago (19 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

[–] [email protected] 68 points 1 day ago (1 children)

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

[–] [email protected] 16 points 22 hours ago* (last edited 22 hours 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 (18 replies)
load more comments
view more: next ›