Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Just ask any random computer guy and you have your answer, useless clueless journalist.
-
@Strannch
I understand what 256 is
but how would it relate to a group chat participants count?
Can you help me out here I might be missing out on something important ^_^ -
darxor4128y@ukabthebest Well the joke is that the person who wrote it wrote "oddly specific number". In my opinion, the number is lovely and pretty round. Most probably the journalist does not know anything about the bits and would expect a number like 200 or 250 or alike
-
@ukabthebest probably because the counter is set to be from 0 to 256 (they don't expect more people). Which is the exact amount of possibilities a byte can store (since the actual maximum is 255, it's shifted by 1 I guess, because there isn't 0 member groups)
-
Of course there aren't 0 member groups but 1 byte of users in one group.
So there are useres 0 to 255 (256 in total) possible in one group.
You don't use the byte to count the number of users in one group. -
sebh06024898yAlso, is there any practical reason they could have settled on that number, except that it's a nice power of 2?
-
@sebh0602 I assume it has something to do with either the byte size (256 possibilities) or 256*maxlengthofusername/mobilenumber is close to 32 bit integer?
Can only guess though. -
Forside14598yTo make it more clear for some here: There will be some sort of database (probably sql) which stores the group properties. Every column in the database table can be of a specific data type (byte/int/...). Because most of the groups will likely have a size <= 256, the devs decided to set the data type to byte to reduce the used size (because every number in this column will be stored as the specified type, no matter how small it is).
-
Python55358yWow, this post is now at 256 ++. It's not clear what that oddly specific number even means.
-
Fabian10136y256 members? At the time this was posted, Telegram allowed 10000 members in a group, today it's 200000. And I still wonder why there should be a limit at all.
-
geeezzz06yDoes someone know why sometimes WhatsApp groups can hold a maximum of 257 people inside despite the limit being 256 LOL 😂
Don't know if it's up here, found it on r/ProgrammerHumor and thought it deserved to be shared :)
undefined
so mysterious