this post was submitted on
466 points (66% like it)
928 up votes 462 down votes

funny

subscribe2,373,214 readers

14,655 users here now

PLEASE, No posts with their sole purpose being to communicate with another redditor. Click for an Example.


Welcome to r/Funny:

You may only post if you are funny.

Please No:

  • Screenshots of reddit comment threads. Post a link with context to /r/bestof or /r/defaultgems if from a default subreddit instead.

  • Posts for the specific point of it being your reddit birthday.

  • Politics - This includes the 2012 Presidential candidates or bills in congress.

  • Rage comics - Go to /fffffffuuuuuuuuuuuu instead.

  • Memes - Go to /r/AdviceAnimals or /r/Memes instead.

  • Demotivational posters - Go to /r/Demotivational instead.

  • Pictures of just text - Make a self post instead.

  • DAE posts - Go to /r/doesanybodyelse

  • eCards - the poll result was 55.02% in favor of removal. Please submit eCards to /r/ecards

  • URL shorteners - No link shorteners (or HugeURL) in either post links or comments. They will be deleted regardless of intent.

Rehosted webcomics will be removed. Please submit a link to the original comic's site and preferably an imgur link in the comments. Do not post a link to the comic image, it must be linked to the page of the comic. (*) (*)

Need more? Check out:

Still need more? See Reddit's best / worst and offensive joke collections (warning: some of those jokes are offensive / nsfw!).


Please DO NOT post personal information. This includes anything hosted on Facebook's servers, as they can be traced to the original account holder.


If your submission appears to be banned, please don't just delete it as that makes the filter hate you! Instead please send us a message with a link to the post. We'll unban it and it should get better. Please allow 10 minutes for the post to appear before messaging moderators


The moderators of /r/funny reserve the right to moderate posts and comments at their discretion, with regard to their perception of the suitability of said posts and comments for this subreddit. Thank you for your understanding.


CSS - BritishEnglishPolice ©2011

a community for

reddit is a source for what's new and popular online. vote on links that you like or dislike and help decide what's popular, or submit your own! learn more ›

all 34 comments

[–]d3l3t3rious 17 points18 points ago

Yo momma so dumb she doesn't know how to use tail-call optimization on recursive functions to eliminate stack overflow.

[–]caustic260 1 point2 points ago

It's weird how I learn a little bit about programming every day on Reddit.

[–]superintendochalmers 9 points10 points ago*

What a loss...Ritchie was such an amazing man. Also, I think he'd approve of this...haha...:)

[–]pantsareamyth 5 points6 points ago

It's a shame that more people don't know who Dennis Ritchie was.

[–]galactic_charizard -1 points0 points ago

This image has been reposted so many times that it was being reposted while he was still alive!

[–]butt2face 2 points3 points ago

Yo mama so dumb, segmentation fault. Thanks Mr.Ritchie for the language C.

[–]nickguletskii200 1 point2 points ago

Brain received signal SIGSEGV, Segmentation fault.

[–]raakphan 1 point2 points ago

oh yea well your momma caused a stack overflow on my Wang.

[–]NiteLite 1 point2 points ago

Would there be any reason to use a recursive function to calculate the mass of an object? Subdivision?

[–]ksw2599 1 point2 points ago

just laughed my ass off in the office... do people even use recursion anymore? i never used it outside my classes.

[–]p4r4digm 1 point2 points ago

Recursion is one of my favorite things in programming :P

[–]Ouro130Ros 0 points1 point ago

If done well recurision is an elegant and gorgeous solution to many problems. If not done well.... ghhhaaa!

[–]grodtron 1 point2 points ago

The recursive function that calculates how many times this has been posted causes a stack overflow.

[–]DerpPali 1 point2 points ago

Yo Momma is so FAT, she doesn't support files over 4GB in size.

[–]sweetpoison138 2 points3 points ago

Could NOT stop laughing.

[–]THE_UNDYING_FLAME[S] -1 points0 points ago

I'm glad it made you smile. :)

[–]sweetpoison138 1 point2 points ago

It did XD

[–]TwinkiePinkie 0 points1 point ago

That's why you should use a queue for recursion when you think it may cause a stack overflow.

[–]GameFreak4321 1 point2 points ago

I think you are underestimating how fat she is. I doubt the queue is wide enough to fit her.

[–]TwinkiePinkie 2 points3 points ago

When you use a queue, you start with a base method, and you have a while loop.

while(queue.containsitem)

Then before you start the while loop, you add the data for the first call. When the while loop starts, it will make the call using the items in the queue, then it will add more items to the queue, then return to the loop. If it's a linear recursive method, the queue will never have more than one item, and you will never get a stack overflow.

[–]p4r4digm 0 points1 point ago

huh....i did not know you could do this, that is smart, TIL

[–]TwinkiePinkie 1 point2 points ago

I learned it while looking up a flood-fill algorithm.

[–]p4r4digm 0 points1 point ago

and that is precisely what I need this fix for <3

[–]TwinkiePinkie 0 points1 point ago

C# code that I wrote. Note: This method will decrease the Queue size by one, then increase it by 4. So ever time you loop, you're adding 3 items. You won't get a stack overflow, but you might run out of memory in extreme cases.

[–]GameFreak4321 0 points1 point ago

Whoosh...

I said width, not length.

[–]TwinkiePinkie -1 points0 points ago

Whoosh

Queues don't have "width". And the queue would never contain the full data, only bits. I know it's just a joke, I'm just giving facts.

[–]p4r4digm 0 points1 point ago

wide enough queue? We should make a GUI Interface in Visual Basic to track an IP Address!

ಠ_ಠ

[–]smug_rum_smuggler 0 points1 point ago

I get it! Oh! I feel so smart right now!

[–]RealJBlaze 0 points1 point ago

Recursive post.

[–]Taintmash 0 points1 point ago

Step 1)Take video from yesterday

Step 2)Repost as a GIF

Step 3)Be a dickface

[–]nickguletskii200 0 points1 point ago

Your mother is so fat that computing her mass caused an integer overflow.

[–]craiig 0 points1 point ago

Yo momma so fat that there is no closed form solution to the recurrence relation that calculates her mass.

[–]Dividan84 0 points1 point ago

Hahaha as a programmer, I died of laughter. Great post.

[–]SilverHammerMan 0 points1 point ago

Relevant, for those who haven't seen the Google quasi-"Easter egg".