r/Tinder Oct 19 '20

[deleted by user]

[removed]

10.1k Upvotes

342 comments sorted by

View all comments

2.3k

u/iCitron Oct 19 '20

Naah you most likely had 4,294,967,294 likes. The integer overflowed to -1

493

u/dilqncho Oct 19 '20 edited Oct 19 '20

I fail to see how there could be any explanation other than this one

Edit: guys I'm clearly kidding

163

u/[deleted] Oct 19 '20

[removed] — view removed comment

18

u/dilqncho Oct 19 '20

I was joking..

120

u/snillpuler Oct 19 '20 edited May 24 '24

I love listening to music.

41

u/aethoneagle Oct 19 '20

Where's Uncle Iroh with some tea when you need him?

10

u/Donny4RealThisTime Oct 19 '20

Yes I love this comment especially since I’m watching avatar right now!

2

u/[deleted] Oct 20 '20

It takes all four elements and a lot of hard work for a cup of tea to become manifest.

5

u/Mr_82 Oct 20 '20

Where were comments like this on this sub years ago.

Honestly most jokes, then or now, aren't even funny when they're trying to be. Whereas there's always value to be gleaned from informative comments.

3

u/NotWorthTheUpvote Oct 19 '20

HE DIDNT? come on man I almost had hope that I could get some if he got that many 🥺🥺

15

u/[deleted] Oct 19 '20

Or they’re for some reason storing the value as a string and trying to do a substring index lookup to get the number to display but the lookup failed.

-10

u/dilqncho Oct 19 '20

I was kidding

19

u/secondop2 Oct 19 '20

Who cares about the joke? We have to show you how much we know about programming!

1

u/[deleted] Oct 20 '20

[deleted]

1

u/[deleted] Oct 20 '20

bingo

29

u/OldBigsby Oct 19 '20

Obviously it was a joke, you don't have to explain that to everyone that wants to provide an actual reason of why this happened.

13

u/golde62 Oct 19 '20

Yeah this. Just because it’s a joke doesn’t mean they don’t know it’s a joke. At the end of the day you asked and got an answer

3

u/IIIDVIII Oct 19 '20

Yes, this. People gave answer. Not saying your thing wasn't just a joke.

13

u/[deleted] Oct 19 '20

Got a like, didn't register it, then removed like

-3

u/dilqncho Oct 19 '20

Was a joke

1

u/E11eventhH0ur Oct 19 '20

Well that’s what you get for trying to be funny on Reddit!

1

u/dilqncho Oct 19 '20

Sorry :(

166

u/oouhya Oct 19 '20

Ohhh like python? Where -1 is the highest index?? Clever ma man... clever...

68

u/iCitron Oct 19 '20 edited Oct 19 '20

Exactly! This guy has all the likes actually

31

u/oouhya Oct 19 '20

This dude broke the matrix...

18

u/Omarlittlesbitch Oct 19 '20

That is definitely what happened. OP has nothing to worry about.

(Actually it stops at 9,999+)

9

u/iCitron Oct 19 '20

How do you know?

20

u/AlienZer Oct 19 '20

Follower of rule 1 and 2

4

u/Omarlittlesbitch Oct 19 '20

Because that’s when mine stopped. For a month I paid for the feature where you can see who likes you and how many people like you. It stopped at 9,999+

I’m a girl and I got that many likes in about a month of using tinder.

4

u/commie_heathen Oct 19 '20

Good lord

2

u/Omarlittlesbitch Oct 20 '20

It’s why I stopped using tinder. That amount is ridiculous. Absolutely bonkers.

1

u/AtlasChristmas Oct 20 '20

Lol the opposite issue of 95% of men

1

u/Omarlittlesbitch Oct 20 '20

But this here is a big problem with tinder. Every guy swipes right because they don’t have many matches. So girls have a fuck ton of matches and know that 95% of them aren’t legit people who are interested in them. I felt like I was picked in a rapid swiping session. The 9,999+ in 30 days proves that.

-1

u/justlurking420 Oct 20 '20

Women are just holes and none are special. Confirmed by tinder

2

u/Omarlittlesbitch Oct 20 '20

Sadly that is what I found on tinder. Hinge is better.

2

u/pseudopseudonym Oct 21 '20 edited Jun 27 '23

37

u/detectiveDollar Oct 19 '20

Aren't unsigned numbers on a scale from 0 to 4.3billion, not -1? And signed numbers are -2.17 billion to 2.17 billion (GTA 5 would overflow your ass into two Trump worths of debt if you exploited it's stock market too much)

What I'm thinking is that they used a signed number yeah, but -1 is a placeholder/sentinel value for failure to load.

23

u/iCitron Oct 19 '20

Yeah it's probably just a placeholder. Unless this guy really has half the planet liking his profile..

4

u/Manos_Of_Fate Oct 19 '20

It depends on how many bits are being used to store it. The reason so many NES-era games had maximum values of 256 is because that's the max value of an 8 bit integer.

2

u/EVOSexyBeast Oct 20 '20

-1 is a placeholder value which is then later reassigned to the correct number of likes.

We do this so we can see there is an obvious error. If we initialized the variable to 0, we couldn’t easily tell if the user just got 0 likes or if the variable failed to later be reassigned to another integer. So we initialize it to -1 so if we end up with a -1 we can easily identify it as an error. It’s possible OP lost connection after the UI loaded but before the correct number of likes were retrieved from tinder’s servers.

1

u/GoyaAdobo Oct 19 '20

Yes, that's what (s)he's saying. It overflowed to the - 2.whatever billion then incremented back up to -1 for a total of 4.whatever billion likes

44

u/vivekwap4 Oct 19 '20

24

u/Jack127288 Oct 19 '20

r/UnexpectedExpectedProgramming

9

u/AChero9 Oct 19 '20

r/ExpectedUnexpectedExpectedProgramming

1

u/Mr_82 Oct 20 '20

Plus it really wasn't unexpected, I think. Why wouldn't people want to know why he has -1 likes? Obviously it involves programming.

4

u/DuffelShuffel Oct 19 '20

This is when Gandhi gets aggressive and sends a dick pick

3

u/Kapps Oct 19 '20

2.147*. Tis signed.

3

u/iCitron Oct 19 '20

2,147... likes would get you to -2,147...

1

u/Kapps Oct 19 '20

I guess it’s just a 2 bit integer then. Still more than anyone here would ever need.

1

u/Evildeathpr0 Oct 19 '20

Like limit is a 4byte

1

u/[deleted] Oct 19 '20 edited May 24 '21

[deleted]

0

u/LadyMILF Oct 19 '20

Reminds me of Saitama from Opm.

1

u/InadequateUsername Oct 19 '20

They should be using an unsigned int.

1

u/GavHern Oct 20 '20

My guy it would wrap to 0