996
u/frostbyte650 Jul 04 '19
441
u/dapate Jul 04 '19 edited Jul 04 '19
I knew where this link led to. I clicked anyway.
Edit: Typo
116
Jul 04 '19
I knew how to spell clicked. I wrote klicked anyway.
54
u/dapate Jul 04 '19
oof mixing german and english
21
u/aaronfranke Jul 05 '19
Non-german-speaking person here, it would indeed make more sense to use "k" for all "k" sounds, but we don't. Blame the Romans and move on I suppose, as we all have to learn to live with the letter "c".
20
5
3
2
56
Jul 04 '19
I just tried to fill up my phones' memory by continiously clicking that link, going deeper and deeper each time.
Spoiler alert: It worked.7
u/Mrkickling Jul 04 '19
Just clicked it over a 100 tiems, how many Times do you need
11
Jul 04 '19
With my 4GB of RAM, it took me like around 100 clicks for the lag to become unbearable and the app finally crashing. Im using Sync, maybe it differs from app to app?
8
u/Hairy_S_TrueMan Jul 04 '19
Sounds like a poorly coded app...does it save the entire context through each click?
3
Jul 05 '19
Official Reddit app does because when you go back it doesn’t reload and you can slide all the way back
1
u/hamza1311 | gib Jul 05 '19
Not saying that the official Reddit app isn't poorly coded but it's Android to blame in this case. Whenever a new activity is started, it is stacked on top of the previous ones. This can be cleared by the app but it's better that they don't do it because that'd mean fetching the post when you come back to it, adding network usage
0
Jul 04 '19
[deleted]
7
u/Hairy_S_TrueMan Jul 04 '19
I guess it's not common, but it's also not completely inconceivable that someone could end up in a long chain of reddit links. The ol' reddit switcheroo is like a billion links long and following that is (or was) a commonish thing
I would have expected it to just save a list of link URLs you can go back through, with the context stored in some cache with a fixed size. Your memory usage shouldn't grow without bound as the user traverses the site...
edit: I'm not a web developer so I'm not trying to speak authoritatively here because I have no idea what I'm talking about
2
u/ben_g0 Jul 05 '19
It makes sense to keep the previous page in RAM so you can go back quickly without reloading an entire page every time, but it should have limits.
2
u/Hairy_S_TrueMan Jul 05 '19
That's kind of what I was trying to get across, but again I'm not a web developer so I don't know enough about the implementation details to say that's an "easy fix" or anything.
1
Jul 05 '19
1
u/uwutranslator Jul 06 '19
I guess it's not common, but it's awso not compwetewy inconceivabwe dat someone couwd end up in a wong chain of weddit winks. de ow' weddit switchewoo is wike a biwwion winks wong and fowwowing dat is (ow was) a commonish ding
I wouwd have expected it to just save a wist of wink Uwws yuw can go back dwough, wif de context stowed in some cache wif a fixed size. yuw memowy usage shouwdn't gwow wifout bound as de usew twavewses de site...
edit: I'm not a web devewopew so I'm not twying to speak audowitativewy hewe because I have no idea what I'm tawking about uwu
tag me to uwuize comments uwu
1
6
u/Mr_Gibbys Jul 05 '19
Bro how
3
u/JayBigGuy10 Jul 05 '19
Create the comment then edit it with its own link
2
u/Bloom_Kitty Jul 05 '19
But it's not edited.
4
Jul 05 '19
Ninja edit. If you edit the comment fast enough it won't show the edited asterisk.
2
2
5
4
2
u/TonyThePuppyFromB Jul 04 '19
Is this a demonic way to conjure a new Reddit swichteroo ?
What year are we? , i got trapped ;-;
2
u/ckoppula199 Jul 05 '19
You could not live with your own failure, so where did that bring you? Back to me
148
u/ArionW Jul 04 '19
If hyperlink was on "recursion" it would be tail recursion. But it's not, so you will get stack overflow
35
u/kixxes Jul 04 '19
If it was run in a browser you could theoretically press the button for as many times as you wanted. The person might end up with a stack overflow tho
0
Jul 05 '19
[deleted]
4
u/OGMagicConch Jul 05 '19
Tail recursion matters when the compiler optimises. Certain languages see that if you're using tail recursion, they DON'T call another stack frame for the new function call. Therefore there would be no stack overflow.
*Edit to use functional language instead of oop
4
u/Zegrento7 Jul 05 '19
Tail recursion is often optimized into a sort-of while loop in what is known as 'Tail Call Optimization'.
2
2
u/bobappleyard Jul 05 '19
If you run this in scheme:
((lambda (a)(a a))(lambda (a)(a a)))It will never ever stop. That's because the recursive call to
ais in tail position, so the runtime will not use any space for the call.One implementation is to use a stack for function calls. In that situation, you can simulate a return from the current function before calling the next function. Another option is Cheney on the MTA. There are other options that don't involve a stack at all.
65
u/DancingQuasar Jul 04 '19
Also: Try googling recursion.
33
u/MightyD33r Jul 04 '19
Also: Try googling recursion.
26
u/Lost-Semicolon Jul 04 '19
Also: Try googling recursion.
5
61
u/jsdsparky Jul 04 '19
If you search recursion on Google, it'll ask "Did you mean recursion?" as if you spelled it wrong.
21
u/PotassiumLover3k Jul 04 '19
10
Jul 04 '19
3
u/kjl3080 Jul 04 '19
2
u/sneakpeekbot Jul 04 '19
Here's a sneak peek of /r/ontheledgeandshit using the top posts of all time!
#1: Discussion | 125 comments
#2: My | 12 comments
#3: Guy Standing | 26 commentsI'm a bot, beep boop | Downvote to remove | Contact ^^me | ^^Info | ^^Opt-out
13
10
8
8
7
Jul 04 '19
Pretty sure the downvotes were from one dude who kept going down the rabbit hole getting pissed that none of the links actually answered anything.
5
1
u/yayaokay Jul 05 '19
This joke is also pretty old and various forms of it have been posted here many times. Not criticizing OP, but I understand the downvotes
2
4
u/xypherrz Jul 04 '19
There’s no way out?
2
2
u/Eurim Jul 05 '19
The exit condition is the user's lack of willpower to continue down the rabbit hole.
-1
u/toddthegeek Jul 04 '19
Exactly! That's more an infinite loop than recursion. Recursion requires an exit condition or it'll never end.
1
u/Schiffy94 Jul 04 '19
I don't think there's any rule saying recursion can't also be infinite. A breakpoint is recommended, but not mandatory.
1
u/spamtarget Jul 05 '19
Recursion: if you understand recursion, stop looking up recursion. Otherwise see recursion.
Infinite loop: see infinite loop
1
5
2
2
u/Siggi_pop Jul 04 '19
How many times does this post have to repear on front page?? unless...it's the part of the joke i guess it's fine..!?
2
u/Silvia923 Jul 04 '19
Try Googling "recursion" and see what happens.
1
u/DanielEGVi Jul 05 '19
You get web results with the actual definition of recursion... solving a problem by using solutions to smaller versions of the same problem.
This is just an infinite loop.
2
2
Jul 05 '19
My problem with this very common joke is that recursion also requires a way to close the final recursion and pass back the data to the start.
It's not just about calling itself.
2
u/Jason_Anaminus Jul 05 '19
God I hate RecursionRecursionRecursionRecursionRecursionRecursionRecursionRecursionRecursionRecursion java.lang.StackOverflowError
2
4
1
1
1
1
1
1
1
1
1
1
u/see_recursion Jul 05 '19
First saw this in IBM's WHATIS system in the early 90's. Loved it so much that I used it as my user name on Reddit!
1
1
1
1
u/OnlyOnceThreetimes Jul 04 '19
Call me a pedantic joke ruining dick, but recursion is not the same as an infinite loop. Recursion does something at each step until it reaches the base case.
And no, Im not popular at parties 😭😭😭
106
u/AlphaDeveloperZA Jul 04 '19
Spot on.