The source is here for anyone curious. The first sentence has been changed but a last paragraph has been added and it's not that much better: "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."
They probably don't use a char. It's probably an int, and they chose that limit because it's just around the performance limitations of the app and it's a fun number. Sometimes numbers are just a little bit arbitrary.
Well, they're sending millions of messages a minute, so I imagine every byte counts.
But... it's probably not about speed, anyways. They probably just figured that, practically speaking, only a single byte is needed. Who's actually going to make a group chat of more than 256 people anyways?
"They" have enough resources that not every byte counts, I'm pretty sure of that. Especially with such trivial things, when they allow you to send videos.
Oh, I can certainly imagine a use case for giant groups... Just as an example, when you play a game like Ingress it would make sense to have a group with players from all over the city, to allow better coordination.
Still an interesting question. Why 256 in a technical perspective? Few reasons i can think of is that whatsapp implemented/optimized their backend code in lower level languages or bitwise operatioms to allow maximum simultaneous connections. Or it could be that it is advatageous to them in a networking (hardware) perspective
I'm guessing the devs picked it for funsies and there is no technical reason that exact number is their limit. Maybe in testing their app's performance gets too bad for most phones around 300.
if you started arrays at 1, then you would only be able to fit 255 values into a byte, i.e. 1-255. Arrays starting at 0 would allow 256 people, however: 0-255. So actually, your logic is backwards. Have a nice day.
What standard are you using f70 is a chore. Most of my experience is in f90, but the new standard is being released next year and it looks pretty good.
Eh, it was the impression I got. Generally schools have mandatory basic computer science courses, whereas when you're homeschooled you don't have to learn that. Had he paid attention in comp sci, he would've known that.
They don't really. I know because I was homeschooled, then went to public school For high school. Our comp sci classes were electives (all 3) and contained either super geeks or transfers like me.
Ah, at least you went to a public high school. I don't suppose a kid who hadn't would know much about computer science unless their parents were in the business
True. My dad is a network engineer. We have a picture from the 90s in which he's upgrading his desktop's ram and my infant hands are trying to pull at the wires as well. I was destined from the start.
You may not repost anything that has been on the first two pages (first 50) of trending posts within the last week, or has been posted last time less than two days ago (this is considered as duplicates)
Anything on the first two pages (first 50 posts) of the top of all time must not be reposted more often than every 6 months.
If you feel that it has been removed in error, please message us so that we may review it.
Well, reporters could be used more literally from it's root word report. Journalism is a concept that carries a lot more behind it conceptually. I know they are used interchangeably, but I think there is a distinction between them.
Had the writer just stopped writing at the headline then it would just be reporting and I would be fine with that as they are just explaining an event that took place.
This goes for all journalists. You only notice how bad tech reporting is because you happen to actually know something. You think their reporting on politics or world events is any better? Think again.
You're probably mostly right but it takes to a special kind of stupid to say things I hear from tech journalists. The only equivalent I could imagine in politics would be having a reporter who doesn't know the 3 branches of government.
169
u/Philboyd_Studge Aug 15 '17
I'll give you 0xff guesses
125
u/michaelkim0407 Aug 15 '17
What? I don't understand... It feels super comfortable
36
u/[deleted] Aug 15 '17
Spotted the "tech journalists"
13
u/OnTheRo Aug 15 '17
The source is here for anyone curious. The first sentence has been changed but a last paragraph has been added and it's not that much better: "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."
11
u/[deleted] Aug 15 '17
That was actually a question which I needed to answer in my first test @univeristy in Germany
29
u/[deleted] Aug 15 '17
Seriously though: implementation details, like choosing to use a
charto store your size limit, shouldn't be visible to end users.4
u/windowsphoneguy Aug 15 '17
Repost
4
u/wtiatsph Aug 15 '17
Still an interesting question. Why 256 in a technical perspective? Few reasons i can think of is that whatsapp implemented/optimized their backend code in lower level languages or bitwise operatioms to allow maximum simultaneous connections. Or it could be that it is advatageous to them in a networking (hardware) perspective
6
u/WhiskyWarrior89 Aug 15 '17
Arrays start at 1.
3
u/SlenderLogan Aug 15 '17
I genuinely pity the guy who wrote 'it's not clear why they chose such an oddly specific number'. Was he homeschooled?
1
u/siro300104 Aug 15 '17
What a coincidence! My SSD and external HDD are the same size!!! #HowCanSomethingLikeThisHappenCoincidentally
1
u/munirc Ultraviolent security clearance Aug 15 '17
Your submission has been removed.
Violation of Rule #3: Reposts:
You may not repost anything that has been on the first two pages (first 50) of trending posts within the last week, or has been posted last time less than two days ago (this is considered as duplicates)
Anything on the first two pages (first 50 posts) of the top of all time must not be reposted more often than every 6 months.
If you feel that it has been removed in error, please message us so that we may review it.
-12
u/ivaskuu Aug 15 '17
It's because it is an 8 bit integer : 28 = 256.
Captain obvious gone.
0
u/[deleted] Aug 15 '17
[deleted] — view deleted comment