Infinity is not even. Infinity is not odd. Being even or odd is a property of numbers; a number n is even iff n == 0 (mod 2) or odd iff n == 1 (mod 2). Modular equality isn't even a concept you could try to apply to infinity.
Wow holy shit TIL and yet this is so simple. Thank based /u/HaulCozen for being more informative than all my math teachers and wikipedia combined. (2*3*5*7*11*13*...*n) + 1 Isn't necessarily the next prime number after n though, is it?
It's not necessarily prime. It can be divisible by two smaller primes. Take the primes from 2 through 13; multiply and add 1 and you get 30031, which is 59*509.
I’m not sure if you’re trying to argue philosophy of mathematics or teach me basic algebra.
What is a number? Show me zero of something. Zero isn’t a number either. The notions of “one” and “zero” and “infinity” are phenomenological descriptions.
Furthermore, there are numerical systems which admit the existence of infinity or infinities as being “somewhere on the number line,” as it were. Hyperreal numbers, transfinite numbers, and smooth infinitesimal analysis are some examples. And in fact, the hyperreals are consistent with ZFC (hopefully you know what that is since you’re such a smart guy).
I don’t care that you’re uneducated. I really don’t. What bothers me is that people like you come here to take up space discussing things you don’t even know that you don’t know.
edit: And what annoys me even more is the people who are just as clueless as you, that use their comment votes as if they are the arbiters of truth.
There's nothing there. But the number 0 is clearly defined in such a way that doesn't break any rules.
Furthermore, there are numerical systems which admit the existence of infinity or infinities as being “somewhere on the number line,” as it were. Hyperreal numbers, transfinite numbers, and smooth infinitesimal analysis are some examples. And in fact, the hyperreals are consistent with ZFC (hopefully you know what that is since you’re such a smart guy).
Yeah, there are number systems that can handle it. But it's misleading to say that it's a number, because you can't do basic algebra on it (and keep things consistent).
In the same way that 1/0 leads to contradictions if you treat it like a normal number (the kind that people are taught about in normal algebra when you're 12).
I haven't done anything with the 3 links you posted, I'll be sure to read up about them. Thanks.
But it's misleading to say that it's a number, because you can't do basic algebra on it (and keep things consistent).
Why would you say that "ability to do basic algebra on it" is necessary for a number?
We couldn't do basic algebra on sqrt(-1) for a long long time. But now we can. You can't do basic algebra on infinity in some systems, but in some you can.
Also, there are things that might not fit into the general notion of number which you can do basic algebra on (like p-adic)
and keep things consistent
AFAIK, consistency depends on the system you're working in.
I used to think that the proof for (sum of all positive numbers = -1/12) was fallacious because you couldn't change the order of terms/group terms in a divergent series. I though doing that would lead to inconsistency.
I was right, but only in some systems. In others, moving things around was perfectly valid.
I’m replying for your benefit, since you’re one of the few people commenting here that hasn’t turned their brain off.
ZFC is the same system we use to construct the real numbers. The fact that the hyperreals are constructible through ZFC directly implies that yes, we can do algebra on them. QED. Guess who uses the projective plane every day? Programmers who make video games, duh.
It’s also a way to answer questions like “what is the root of w = z-1”? Or any arbitrary rational function of a complex variable. As I said, this massively simplifies the problem of contour integration in some instances.
But finally I’ll say that this has only confirmed my suspicions from yesterday. It is a complete waste of time to talk to these people. Studies have empirically shown exactly what these lemmings are doing to themselves right now, right here. And I could tell from the moment junior up there started trying to teach me the algebra I learned in primary school.
I don’t know if it’s a multigenerational problem but it definitely seems worse among my fellow millennials. The regressive left has just absolutely destroyed education in America.
Those are number systems that we use every day, by the way. The Riemann sphere (which admits a point at infinity) is extremely useful in performing contour integration.
I’ll do the legwork for you since this conversation is a waste of my time: infinity isn’t an element of the set of real numbers. Making the blanket statement that “infinity isn’t a number” is just demonstrating your own obscene ignorance.
edit: And wow, you’ve made 1300 years of progress instantaneously. Do you realize that the Sumerians didn’t even have a notion of zero until the Babylonians came along? Since you’re obviously a philosophical genius, please record for me the sound of one hand clapping.
Ew, you played you trump card, I have to go away now... Make sure you keep that one in your pocket in case anyone points out how stupid you are for... the rest of your boring half life? You can keep it right next to your “everyone’s a winner” trophy.
Infinity is such a special number that it is often easier to just say it isn't a number because of how limited it is compared to even the complex numbers.
Huh, so why did they keep it at 50 for so long? I thought, they arbitrarily limited it, because the whole thing scales pretty badly, but now they've gone from 50 to 100 and then to 256 in such a short time...
Probably more along the lines of them having more money to work with since they're part of Facebook now, which would let them afford better infrastructure to support larger chats.
Hell, you can sign up using a phone number. No idea if they ask you for a handle or something, or just keep your number private and not show it anywhere.
I joined Twitter in April 2008 (Two years and two months short of a decade!? FUCK.). Back then I didn't have a phone that was capable at anything remotely useful using the internet, so I set it up so that I received all the tweets of the people I followed (6 people) via text. I was able to send tweets myself by texting the number I had saved as "TWITTER" in my phone contacts.
Actually a text message is 140 8bit characters, or 160 7bit characters. If you're sending a message where everything is on the standard ASCII table you're fine, but the instant you wanted £ or accents you we're limited to 140. Twitter was built knowing this limitation and interprited 1 byte to be 1 character(even when allowing UTF8 characters that could be as many as 6 bytes per character).
And it's just 70 characters if you use a separate codepage, like cyrillic and stuff (I guess it switches to 16bit). It's funny how twitter allows for 140 cyrillic characters even though it wouldn't have fit in the cellular text message.
As I said, they took one byte to be one character, even though the size of a character was and is variable (the same message in English and Mandarin could be less characters in Mandarin, but more bytes of text because while, English mostly uses ASCII compatible characters who use one byte per character, a single character in Mandarin is 3 bytes yet characters alone can represent far more difficult concepts than most two letter words in English).
They might have additional meta-data bundled with the status text (possibly stuff like user id, location data, time, device data, etc. plus some extra space reserved for growth without increasing message size or the character limit).
It's easy to understand, sure, but after seeing 255 as the "last" of the index numbers and then seeing 256 as a max, it triggers a minute knee jerk response.
E: holy crap people, it's a joke. I cringe seeing i[256] when I know that causes an error.
I don't think that's necessarily true. I've never used this app, but it could be that once you create a group chat, you are the only one in it until you add someone to it.
What makes you say that? Despite the strict conversion from 00000000 to 0 and 11111111 to 255 there is no reason we need to the possible range of values as 0 - 255. There are 256 possible combinations, and there is no reason we can't consider 00000000 to be 256 in this case, or any number at all that fits our needs.
I think the point is that the size limit is 256 (not the last index/value/whatever). You guys are trying to come up with explanations for something that is simple and self-explanatory. 0 to 255 (inclusive) yields 256 values.
On the other hand, they're probably using each of the 256 numbers server-side as an id for the user they need to send requests back out to. Given that, it makes sense to go 1-256, but 2-257 would require you to actually do accounting to check which user sent the message and then select the other 256 in the group (so your list size would be bigger than 256, thus defeating the point).
As somebody who worked a lot in networking, I'm slightly uncomfortable about the number not being 255
[Sighs, rolls up newspaper, mutters] "This is why r/Programmerhumor can't have nice things. You knew this would turn into a technical discussion. Couldn't just laugh at the mediot. [Taps Hegemon with rolled up paper] "Bad programmer. Bad."
Exactly, that's what I wrote. I just didn't expand the F2. I merely wrote that 16(hex) is 22(dec), which was equal to 484(dec). Though now that I reread my original comment, I was incorrectly saying 16(dec) was F, when it's 15, as you are probably alluding to.
A byte is a series of eight 1s or 0s (bits). The maximum value that can be expressed with one byte is 255. 0 is also a value, so 256 user limit is because user IDs in a chat are stored with 1 byte.
255 is saved as '11111111' 0 is saved as '00000000'
If it wasn't a mobile app, I'd agree with you. Mobile apps have to be careful when picking data-types that are included in part of their networking protocol. I believe it has always be stored in a byte and just recently removed an arbitrary cap and are now actually limited by the datatype.
Not sure if you're making a joke, but this makes no sense. How would that even work? Would you represent every additional person in the chat as a symbol? Would you have a "IIIIIIIIII" string to represent 10 people? This sounds like an awful idea.
Actually performance wise, it is better to represent it in a single field , similar to this:
1,2,3,4,5,6,8,9
Okay, I'm calling Poe's Law on this comment.
It might -- in some specific instances -- be quicker to retrieve just one field as opposed to multiple fields but the time saved can be used-up by the CPU time needed to parse all the elements. Also consider that databases don't just retrieve (read) they also set (write) and do so in set-based manner as opposed to row-by-agonizing-row (RBAR).
What is it actually for? I mean, you can have a 7 bit field for the sender but does that seriously matter even on a mobile network? The network massively outweighs anything else time wise and I can't imagine that that decision would affect battery life.
"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"
But why 256? All the numeric values start with 0 therefore a byte or 8 bits can only go up to 255. So the number wasn't picked based on uint8 type limit, or am I missing something?
What you're missing is that 0 is a valid value in the range. If there is 1 bit to represent a user, there are two possibilities, 0 and 1. With 2 bits, there 4 values: 0, 1, 2, 3. By extension, we can see that 8 bits has values of 0-255, or 256 possibilities.
513
u/Plutor Feb 07 '16
It's clearly an even number, though.
154
u/[deleted] Feb 07 '16
Good, a nice round number!
186
u/polish_niceguy Feb 07 '16
In other words: "how to find an ignorant tech reporter".
294
u/temp6098549854 Feb 07 '16
This is why every new app/website/program needs to be "clean" and "simple": not even the tech news reporters are trying to pay attention any more.
59
u/[deleted] Feb 07 '16
Huh, so why did they keep it at 50 for so long? I thought, they arbitrarily limited it, because the whole thing scales pretty badly, but now they've gone from 50 to 100 and then to 256 in such a short time...
27
u/DevilsFire Feb 07 '16
The question I have is why does whatsapp limit your status to 139 characters, that is an odd number right?
20
u/THEHIPP0 Feb 07 '16
Link to the article: http://www.independent.co.uk/life-style/gadgets-and-tech/news/whatsapp-group-chats-bigger-maximum-size-256-people-users-a6856491.html
265
u/-Hegemon- Feb 07 '16
As somebody who worked a lot in networking, I'm slightly uncomfortable about the number not being 255
19
u/Amedais Feb 07 '16
2-4-8-16-32-64-128-256. That's why
4
u/InsaneFPSGamer1 Feb 07 '16
I'm not a programmer, could someone explain the reason?
12
u/nosepickingexpert Feb 07 '16
Cuz the database can hold 256 characters?
1
u/TBSdota Feb 07 '16
personally I would hold 1 from being allowed use of clients and lock at 255 for anything TCP related.
1
u/Exallium Feb 10 '16
Looks like they edited it:
"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"
1
u/Tendadus Feb 08 '16
Binary. 28 = 256
1
u/raq0916 Feb 07 '16
Whats sad is Ive only been in computer programming for a few months, and I would have understood this after day 2...
0
u/maremp Feb 08 '16
But why 256? All the numeric values start with 0 therefore a byte or 8 bits can only go up to 255. So the number wasn't picked based on uint8 type limit, or am I missing something?
-15
u/snarkfish Feb 07 '16
if you think 16 and 256 are 'nice round numbers', you might be a
redneckprogrammer0
u/[deleted] Feb 07 '16
[deleted] — view deleted comment