1475
oddly specific (lemmy.blahaj.zone)
submitted 1 year ago by not_IO to c/microblogmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] deltapi@lemmy.world 56 points 1 year ago

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

[-] 10OhmResistor@aussie.zone 37 points 1 year ago

0 is reserved for the FBI agent listening in.

[-] HereIAm@lemmy.world 12 points 1 year ago

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.

[-] BillBurBaggins@lemmy.world 10 points 1 year ago

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

[-] HereIAm@lemmy.world 3 points 1 year ago

I hadn't thought about it on their server side tbf. But the more i think about it maybe there are other compounding reasons to keep group sizes small, such as the exponential number of links in a growing network and such. But, that is all beyond my knowledge area.

[-] rollerbang@lemmy.world 4 points 1 year ago

Sure you can. It's a group that exists, but it has 0 participants.

[-] spicehoarder@lemmy.zip 3 points 1 year ago

You probably could, if everyone got banned or something

[-] JackbyDev@programming.dev 2 points 1 year ago

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

[-] seejur@lemmy.world 1 points 1 year ago

You cannot also have a group of 1, therefore either is 255 or 257. 256 is oddly specific (or the code was made by an intern)

[-] deltapi@lemmy.world 8 points 1 year ago
[-] seejur@lemmy.world 2 points 1 year ago

Oh. At this point I'm not sure what is worse :/

[-] 0laura@lemmy.dbzer0.com 3 points 1 year ago

I mean, should the group and all the messages get deleted when the second to last person leaves? it only makes sense to let it stay as a 1 member group

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

Microblog Memes

11952 readers
1918 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. Your post must be a screen capture of a microblog-type post that includes the UI of the site it came from, preferably also including the avatar and username of the original poster. Including relevant comments made to the original post is encouraged.
  2. Your post, included comments, or your title/comment should include some kind of commentary or remark on the subject of the screen capture. Your title must include at least one word relevant to your post.
  3. You are encouraged to provide a link back to the source of your screen capture in the body of your post.
  4. Current politics and news are allowed, but discouraged. There MUST be some kind of human commentary/reaction included (either by the original poster or you). Just news articles or headlines will be deleted.
  5. Doctored posts/images and AI are allowed, but discouraged. You MUST indicate this in your post (even if you didn't originally know). If an image is found to be fabricated or edited in any way and it is not properly labeled, it will be deleted.
  6. Absolutely no NSFL content.
  7. Be nice. Don't take anything personally. Take political debates to the appropriate communities. Take personal disagreements & arguments to private messages.
  8. No advertising, brand promotion, or guerrilla marketing.

RELATED COMMUNITIES:

founded 3 years ago
MODERATORS