subreddit
stringclasses 7
values | author
stringlengths 3
20
| id
stringlengths 5
7
| content
stringlengths 67
30.4k
| score
int64 0
140k
|
---|---|---|---|---|
programmerhumor | buddyisaredditer | j5nvu9j | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>"Now you have 3 seconds to enter the right input or else the computer and your house will burn in flames"
Well sorry about that!<|eor|><|eols|><|endoftext|> | 1,696 |
programmerhumor | Cheris_P | j5nqcfp | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>The one performance review trick companies don't want you to know
Edit: lol this post really blew up. Thanks for all the upvotes! People in the Midwest, stay warm tonight, storm's coming in.<|eor|><|soopr|>Also quality assurance team<|eoopr|><|eols|><|endoftext|> | 1,380 |
programmerhumor | shim_niyi | j5ny4sw | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>You don't remove the time out... You lower it, then you can easily improve it again later.<|eor|><|sor|>Exactly 3x improvement, one time looks mediocre when compared to incremental improvements 3-4 different times<|eor|><|eols|><|endoftext|> | 884 |
programmerhumor | ThePancakerizer | j5o394w | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>How did it pass the PR review?<|eor|><|sor|>+259 -130 lines
"LGTM "<|eor|><|eols|><|endoftext|> | 789 |
programmerhumor | Creepy-Ad-4832 | j5nxlrg | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>It is always good to build in timeouts. That way you can always increase the performance easily at a later stage<|eor|><|sor|>When companies don't give a fuck about you, making your worst in order to be easily able to improve it, is the best way to live as a programmer<|eor|><|eols|><|endoftext|> | 759 |
programmerhumor | East_Complaint2140 | j5o04ba | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>How did it pass the PR review?<|eor|><|eols|><|endoftext|> | 631 |
programmerhumor | MightyMeepleMaster | j5o1p7e | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>The one performance review trick companies don't want you to know
Edit: lol this post really blew up. Thanks for all the upvotes! People in the Midwest, stay warm tonight, storm's coming in.<|eor|><|sor|>Make sure to do it right tho:
Wrong:
sleep(3);
Correct:
// Notify worker threads
raise( SIGCONT );
// Wait until all threads have been switched to RDY
sleep(3);<|eor|><|eols|><|endoftext|> | 485 |
programmerhumor | -Kerrigan- | j5o1fju | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>The one performance review trick companies don't want you to know
Edit: lol this post really blew up. Thanks for all the upvotes! People in the Midwest, stay warm tonight, storm's coming in.<|eor|><|soopr|>Also quality assurance team<|eoopr|><|sor|>Hand over the bugs! <|eor|><|eols|><|endoftext|> | 454 |
programmerhumor | Zerodriven | j5pm129 | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>How did it pass the PR review?<|eor|><|sor|>+259 -130 lines
"LGTM "<|eor|><|sor|>+2 -967
"Fixed typo"<|eor|><|eols|><|endoftext|> | 421 |
programmerhumor | K3TtLek0Rn | j5nxsas | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>Ive heard this exact same joke on here at least 25 times<|eor|><|eols|><|endoftext|> | 392 |
programmerhumor | Creepy-Ad-4832 | j5nz8ek | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>It is always good to build in timeouts. That way you can always increase the performance easily at a later stage<|eor|><|sor|>When companies don't give a fuck about you, making your worst in order to be easily able to improve it, is the best way to live as a programmer<|eor|><|sor|>The joys of having a skillset that all corporate high ups think is easy until they try to read what you wrote :D<|eor|><|sor|>"More lines, means better code!"
-a billionare who has way more money then he deserves<|eor|><|eols|><|endoftext|> | 362 |
programmerhumor | AE_Phoenix | j5nyzv3 | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>It is always good to build in timeouts. That way you can always increase the performance easily at a later stage<|eor|><|sor|>When companies don't give a fuck about you, making your worst in order to be easily able to improve it, is the best way to live as a programmer<|eor|><|sor|>The joys of having a skillset that all corporate high ups think is easy until they try to read what you wrote :D<|eor|><|eols|><|endoftext|> | 359 |
programmerhumor | MightyMeepleMaster | j5ocaxd | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>The one performance review trick companies don't want you to know
Edit: lol this post really blew up. Thanks for all the upvotes! People in the Midwest, stay warm tonight, storm's coming in.<|eor|><|sor|>Make sure to do it right tho:
Wrong:
sleep(3);
Correct:
// Notify worker threads
raise( SIGCONT );
// Wait until all threads have been switched to RDY
sleep(3);<|eor|><|sor|>Sorry what does this do?<|eor|><|sor|>SIGCONT is a signal which continues a process that has been previously stopped. If the process is not stopped, however, SIGCONT is ignored.
raise() sends a signal to the currently running process.
So you're basically trying to wake yourself up even though you're not asleep.
This means: raise(SIGCONT); is just a scary looking way to burn a few CPU cycles, doing nothing. It's just there to convince the reviewer that the following sleep(3) is important <|eor|><|eols|><|endoftext|> | 313 |
programmerhumor | Hop-tree-doorway | j5o2noe | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>"Now you have 3 seconds to enter the right input or else the computer and your house will burn in flames"
Well sorry about that!<|eor|><|sor|>[You have 20 seconds to comply](https://m.youtube.com/watch?time_continue=103&v=ZFvqDaFpXeM&embeds_euri=https%3A%2F%2Fwww.google.com%2F&source_ve_path=MTM5MTE3LDIzODUx&feature=emb_title)<|eor|><|eols|><|endoftext|> | 279 |
programmerhumor | Cheris_P | j5o5iwi | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>The one performance review trick companies don't want you to know
Edit: lol this post really blew up. Thanks for all the upvotes! People in the Midwest, stay warm tonight, storm's coming in.<|eor|><|soopr|>Also quality assurance team<|eoopr|><|sor|>Hand over the bugs! <|eor|><|soopr|>There wasn't any bug phew phew<|eoopr|><|eols|><|endoftext|> | 270 |
programmerhumor | Cephalopod_Joe | j5o8bqy | <|sols|><|sot|>Accomplishments<|eot|><|sol|>https://i.redd.it/50fhg3lhmzda1.jpg<|eol|><|sor|>The one performance review trick companies don't want you to know
Edit: lol this post really blew up. Thanks for all the upvotes! People in the Midwest, stay warm tonight, storm's coming in.<|eor|><|sor|>Make sure to do it right tho:
Wrong:
sleep(3);
Correct:
// Notify worker threads
raise( SIGCONT );
// Wait until all threads have been switched to RDY
sleep(3);<|eor|><|sor|>Sorry what does this do?<|eor|><|sor|>Just gives a justification for the sleep<|eor|><|eols|><|endoftext|> | 257 |
programmerhumor | Syzygianinfern0 | yram4y | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|eols|><|endoftext|> | 80,633 |
programmerhumor | b-at-at | ivsuwog | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>God, I'm currently stuck on a task like that. Thought it would take a day max, it's been a week now and no end in sight.<|eor|><|eols|><|endoftext|> | 2,036 |
programmerhumor | trueblue862 | ivsx3le | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>God, I'm currently stuck on a task like that. Thought it would take a day max, it's been a week now and no end in sight.<|eor|><|sor|>I had one of those a week ago, I looked at it for days and in the end it was a literal 2 second fix once I found the problem.<|eor|><|eols|><|endoftext|> | 726 |
programmerhumor | NoComment7862 | ivsv3wi | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Don't forget "We did this thing because someone above us, with less technical and programming knowledge than a dead amoeba, said 'that should be easy, just do it'"<|eor|><|eols|><|endoftext|> | 637 |
programmerhumor | ETS_Green | ivt4cw3 | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>God, I'm currently stuck on a task like that. Thought it would take a day max, it's been a week now and no end in sight.<|eor|><|sor|>I had one of those a week ago, I looked at it for days and in the end it was a literal 2 second fix once I found the problem.<|eor|><|sor|>I spend an entire day trying to solve a single bug not realising my nested for loop used the same iterator name as the for loop it was nested in. I feel like I'm both blind and stupid sometimes.<|eor|><|eols|><|endoftext|> | 470 |
programmerhumor | AcclaimedGroundhog | ivsxj9g | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>When I give estimates, I double the time I think I'll need. Then I remember that someone else will likely do the work, so I'll multiply that number by 3.<|eor|><|eols|><|endoftext|> | 442 |
programmerhumor | schussfreude | ivsvi27 | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Yes and even if you are aware that nothing good comes from "its no big deal I can quickly throw that together in a few hours", you still catch yourself saying it and burying your face in your hands at 2:30am<|eor|><|eols|><|endoftext|> | 241 |
programmerhumor | FinnLiry | ivtavnd | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>God, I'm currently stuck on a task like that. Thought it would take a day max, it's been a week now and no end in sight.<|eor|><|sor|>I had one of those a week ago, I looked at it for days and in the end it was a literal 2 second fix once I found the problem.<|eor|><|sor|>I spend an entire day trying to solve a single bug not realising my nested for loop used the same iterator name as the for loop it was nested in. I feel like I'm both blind and stupid sometimes.<|eor|><|sor|>Were you using a debugger?<|eor|><|sor|>printf("HERE: %d\n", i);<|eor|><|eols|><|endoftext|> | 228 |
programmerhumor | Puzzleheaded-Weird66 | ivsxunx | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Don't forget "We did this thing because someone above us, with less technical and programming knowledge than a dead amoeba, said 'that should be easy, just do it'"<|eor|><|sor|>I felt this in my soul (or at least what's left of it)<|eor|><|eols|><|endoftext|> | 142 |
programmerhumor | The_Assassinacan | ivsxzxy | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Where can I get this plaque because I definitely need one.<|eor|><|sor|>Should be pretty easy to get a hold of one.<|eor|><|eols|><|endoftext|> | 137 |
programmerhumor | Piyh | ivt92uu | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>God, I'm currently stuck on a task like that. Thought it would take a day max, it's been a week now and no end in sight.<|eor|><|sor|>I had one of those a week ago, I looked at it for days and in the end it was a literal 2 second fix once I found the problem.<|eor|><|sor|>I spend an entire day trying to solve a single bug not realising my nested for loop used the same iterator name as the for loop it was nested in. I feel like I'm both blind and stupid sometimes.<|eor|><|sor|>Were you using a debugger?<|eor|><|eols|><|endoftext|> | 121 |
programmerhumor | AdministrativeAd4111 | ivt8hrv | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>When I give estimates, I double the time I think I'll need. Then I remember that someone else will likely do the work, so I'll multiply that number by 3.<|eor|><|sor|>Ah, another cadet of the Montgomery Scott school of engineering.<|eor|><|eols|><|endoftext|> | 115 |
programmerhumor | badmemesrus | ivsvb5n | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Where can I get this plaque because I definitely need one.<|eor|><|eols|><|endoftext|> | 103 |
programmerhumor | scrotum__pole | ivsvx5i | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Is getting your tweet physically embossed the greatest achievement you can get?<|eor|><|eols|><|endoftext|> | 102 |
programmerhumor | Datsoon | ivt06mh | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Where can I get this plaque because I definitely need one.<|eor|><|sor|>Should be pretty easy to get a hold of one.<|eor|><|sor|>That was very helpful, thank you<|eor|><|eols|><|endoftext|> | 100 |
programmerhumor | NoComment7862 | ivt1bvx | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Don't forget "We did this thing because someone above us, with less technical and programming knowledge than a dead amoeba, said 'that should be easy, just do it'"<|eor|><|sor|>I felt this in my soul (or at least what's left of it)<|eor|><|sor|>"it's just another button" has always been a "classic".
This is usually followed by trying to hammer home that it's like an iceberg, that one button has a huge amount of code below the UI, that then leads into bizarre jumps to some alternate reality that begins "imagine if you knew everything..."<|eor|><|eols|><|endoftext|> | 91 |
programmerhumor | Baardi | ivtdv0f | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>God, I'm currently stuck on a task like that. Thought it would take a day max, it's been a week now and no end in sight.<|eor|><|sor|>I had one of those a week ago, I looked at it for days and in the end it was a literal 2 second fix once I found the problem.<|eor|><|sor|>I spend an entire day trying to solve a single bug not realising my nested for loop used the same iterator name as the for loop it was nested in. I feel like I'm both blind and stupid sometimes.<|eor|><|sor|>Were you using a debugger?<|eor|><|sor|>printf("HERE: %d\n", i);<|eor|><|sor|>Gotta upgrade to c++23 and
\#include <print>
std::println("HERE {}", i);<|eor|><|eols|><|endoftext|> | 85 |
programmerhumor | CantBeChangedLater | ivt7u77 | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>When I give estimates, I double the time I think I'll need. Then I remember that someone else will likely do the work, so I'll multiply that number by 3.<|eor|><|sor|>I do basically the same thing. I also regularly ask coworkers are you estimating based on how long it will take you to do the work or how long it will take any team member to do the work<|eor|><|eols|><|endoftext|> | 68 |
programmerhumor | hangfromthisone | ivt0052 | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Don't forget "We did this thing because someone above us, with less technical and programming knowledge than a dead amoeba, said 'that should be easy, just do it'"<|eor|><|sor|>When a PM says "that should be easy" is an instant x4 factor for developing time<|eor|><|eols|><|endoftext|> | 67 |
programmerhumor | acebabymemes | ivt5w1u | <|sols|><|sot|>Should take just 5 mins right? RIGHT!?<|eot|><|sol|>https://i.imgur.com/Dsi1ScU.png<|eol|><|sor|>Yes and even if you are aware that nothing good comes from "its no big deal I can quickly throw that together in a few hours", you still catch yourself saying it and burying your face in your hands at 2:30am<|eor|><|sor|>Good ol [Planning Fallacy](https://en.m.wikipedia.org/wiki/Planning_fallacy)<|eor|><|eols|><|endoftext|> | 65 |
programmerhumor | ashish-ji | e3w2qw | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|eols|><|endoftext|> | 79,346 |
programmerhumor | skadi17 | f958l0k | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|eols|><|endoftext|> | 12,285 |
programmerhumor | nullZr0 | f95csa5 | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>A natural.
We joke about it, but we cant know or remember everything. I've been in IT for many years and one time I Googled something and found a post from a smarter version of my past self.<|eor|><|eols|><|endoftext|> | 8,450 |
programmerhumor | Kerbal_Guardsman | f95mgrc | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>Reading the documentation? Of course!
/s<|eor|><|eols|><|endoftext|> | 3,247 |
programmerhumor | joe4553 | f95n5zf | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>Reading the documentation? Of course!
/s<|eor|><|sor|>If its on stackoverflow Ill consider it.<|eor|><|eols|><|endoftext|> | 1,483 |
programmerhumor | ilmdbii | f95nf2a | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>Reading the documentation? Of course!
/s<|eor|><|sor|>If its on stackoverflow Ill consider it.<|eor|><|sor|>Wait, stackoverflow isn't the documentation?<|eor|><|eols|><|endoftext|> | 1,387 |
programmerhumor | setocsheir | f95o27v | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>Reading the documentation? Of course!
/s<|eor|><|sor|>If its on stackoverflow Ill consider it.<|eor|><|sor|>Wait, stackoverflow isn't the documentation?<|eor|><|sor|>The documentation is what you read after you can't find it on StackOverflow.<|eor|><|eols|><|endoftext|> | 1,301 |
programmerhumor | PM-Me-Your-TitsPlz | f959x1q | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>I tutor for intro programming classes. Bless her.<|eor|><|eols|><|endoftext|> | 1,295 |
programmerhumor | AlmostButNotQuit | f95gxoq | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>A natural.
We joke about it, but we cant know or remember everything. I've been in IT for many years and one time I Googled something and found a post from a smarter version of my past self.<|eor|><|sor|>it's not cheating.
it's open source documentation<|eor|><|sor|>Adding this to my lexicon<|eor|><|eols|><|endoftext|> | 1,001 |
programmerhumor | LifeHasLeft | f95onaf | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>Reading the documentation? Of course!
/s<|eor|><|sor|>If its on stackoverflow Ill consider it.<|eor|><|sor|>Wait, stackoverflow isn't the documentation?<|eor|><|sor|>The documentation is what you read after you can't find it on StackOverflow.<|eor|><|sor|>You mean after stackoverflows questions arent your exact problem and youre mixing stackoverflow answers and using the documentation to fill in the gaps?<|eor|><|eols|><|endoftext|> | 812 |
programmerhumor | Poketto43 | f95ow0q | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>Reading the documentation? Of course!
/s<|eor|><|sor|>If its on stackoverflow Ill consider it.<|eor|><|sor|>Wait, stackoverflow isn't the documentation?<|eor|><|sor|>The documentation is what you read after you can't find it on StackOverflow.<|eor|><|sor|>You mean after stackoverflows questions arent your exact problem and youre mixing stackoverflow answers and using the documentation to fill in the gaps?<|eor|><|sor|>Im in this comment and I don't like it<|eor|><|eols|><|endoftext|> | 547 |
programmerhumor | Occma | f95eufz | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>there is a difference between googling stuff you don't know and googling the answers. If she does not understand it (being the basics) and just copies it, she is cheating.<|eor|><|eols|><|endoftext|> | 532 |
programmerhumor | PM-Me-Your-TitsPlz | f95k01a | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>I tutor for intro programming classes. Bless her.<|eor|><|sor|>what was the worst piece of code youve seen handed in? I tutored intro to programming 2 years ago. One guy needed 25 lines of code to calculate the midpoint between 2 2D points<|eor|><|sor|>Professor demonstrated switch statements with basically:
case 1:
isEven = false;
break;
case 2:
isEven = true;
break;
case 3:
isEven = false;
break;
...
It was just to show off switch statements. He wasn't being serious. A couple days later, a student comes up to me because he got a 0 on his homework that works "perfectly." He did the switch cases up to 4096.<|eor|><|eols|><|endoftext|> | 504 |
programmerhumor | SaikonBr | f95mikc | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>A natural.
We joke about it, but we cant know or remember everything. I've been in IT for many years and one time I Googled something and found a post from a smarter version of my past self.<|eor|><|sor|>it's not cheating.
it's open source documentation<|eor|><|sor|>Adding this to my lexicon<|eor|><|sor|>[deleted]<|eor|><|sor|>My interview they gave me 2 pages of some code and asked me to describe what the script was doing. I thougth it was pretty fair.<|eor|><|eols|><|endoftext|> | 374 |
programmerhumor | Astrokiwi | f95qu94 | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>I tutor for intro programming classes. Bless her.<|eor|><|sor|>what was the worst piece of code youve seen handed in? I tutored intro to programming 2 years ago. One guy needed 25 lines of code to calculate the midpoint between 2 2D points<|eor|><|sor|>Professor demonstrated switch statements with basically:
case 1:
isEven = false;
break;
case 2:
isEven = true;
break;
case 3:
isEven = false;
break;
...
It was just to show off switch statements. He wasn't being serious. A couple days later, a student comes up to me because he got a 0 on his homework that works "perfectly." He did the switch cases up to 4096.<|eor|><|sor|>There is a rule in teaching that you never write anything wrong on the whiteboard (or, I guess, on the projector or screen), even if you tell people it's wrong, because somebody who is forgetful or just isn't listening is going to copy that into their notes or code.<|eor|><|eols|><|endoftext|> | 373 |
programmerhumor | skadi17 | f95ah9v | <|sols|><|sot|>C++ Cheater<|eot|><|sol|>https://i.redd.it/rlwzi9sjpt141.jpg<|eol|><|sor|>Wow she learned industry's best practice fairly quickly<|eor|><|sor|>This is why I miss the 20th century and try to not let my nieces or Uncle Ewell use technology (Took away their plugs this thanksgiving) - its an easy way out. I work blue collar and if I dont know something I dont go running to a screen to figure it out and thats how I am how I am today we dont need an excess of people who know how to type little commands into computers everyone seems to want to be a tech startup that just feeds your data to some big building in California<|eor|><|sor|>Look I respect your life choices but at some point you gotta adapt to modern times. We're not going back to the 20th century. We're always gonna be moving forward.<|eor|><|eols|><|endoftext|> | 368 |
programmerhumor | Vibhrat | zwahkw | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|eols|><|endoftext|> | 79,011 |
programmerhumor | tata_dilera | j1tr8hm | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Smart AI creating a bug so it will have a job next month<|eor|><|eols|><|endoftext|> | 11,330 |
programmerhumor | Sphannx | j1tqeit | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Dumb AI, the answer is 35<|eor|><|eols|><|endoftext|> | 6,694 |
programmerhumor | masagrator | j1tr241 | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Maybe it knows something we don't.<|eor|><|eols|><|endoftext|> | 5,204 |
programmerhumor | santathe1 | j1tr5c3 | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Dumb AI, the answer is 35<|eor|><|sor|>Well*most* of our jobs are safe.<|eor|><|eols|><|endoftext|> | 4,353 |
programmerhumor | Robbe517_ | j1twj42 | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Maybe it knows something we don't.<|eor|><|sor|>It must know that I am currently travelling at 40.5% of the speed of light causing time dilatation so that 70 years past for my sister but only 64 years for me.<|eor|><|eols|><|endoftext|> | 2,542 |
programmerhumor | nican | j1ttasy | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>ChatGPT is accounting for relativity. It assumes OP is an astronaut, or maybe even traveling for near light speeds.<|eor|><|eols|><|endoftext|> | 1,431 |
programmerhumor | blackrossy | j1tul8c | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>AFAIK it's a natural language model, not made for mathematics, but for text synthesis<|eor|><|eols|><|endoftext|> | 1,168 |
programmerhumor | transport_system | j1trnma | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>I'm still baffled that it even got that close.<|eor|><|eols|><|endoftext|> | 973 |
programmerhumor | PM_ME_SAUL_PICS | j1twmmr | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>AFAIK it's a natural language model, not made for mathematics, but for text synthesis<|eor|><|sor|>Exactly. It doesnt actually know how to do math. It just knows how to write things that look like good math.<|eor|><|eols|><|endoftext|> | 605 |
programmerhumor | OKoLenM1 | j1tx9ld | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Dumb AI, the answer is 35<|eor|><|sor|>Well*most* of our jobs are safe.<|eor|><|sor|>10 years ago even this neural network level was like from distant future. 10 years later it will be something crazy... so, our jobs are safe for now, but I'm not sure for how long.<|eor|><|eols|><|endoftext|> | 512 |
programmerhumor | DeeBoFour20 | j1tphgl | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Answer is 67, right? Im not crazy? Its a 3 year difference the other way?<|eor|><|sor|>Well yea. You don't usually go from being half someone's age to being older than them.<|eor|><|eols|><|endoftext|> | 396 |
programmerhumor | dokiedo | j1toefr | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Answer is 67, right? Im not crazy? Its a 3 year difference the other way?<|eor|><|eols|><|endoftext|> | 355 |
programmerhumor | trev2234 | j1tujiu | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>Smart AI creating a bug so it will have a job next month<|eor|><|sor|>So there will be AIs trying to undermine other AIs that arent playing the game.<|eor|><|eols|><|endoftext|> | 271 |
programmerhumor | Slappy_Soup | j1twcve | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>I'm still baffled that it even got that close.<|eor|><|sor|>I asked it some complex math and logic problems. Though it couldn't do it in the first try it gave the correct answer in two or three tries. Yeah its really scary!<|eor|><|eols|><|endoftext|> | 268 |
programmerhumor | troelsbjerre | j1twzvm | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>AFAIK it's a natural language model, not made for mathematics, but for text synthesis<|eor|><|sor|>Exactly. It doesnt actually know how to do math. It just knows how to write things that look like good math.<|eor|><|sor|>The scary part is that it can regurgitate python code that can add the numbers correctly.<|eor|><|eols|><|endoftext|> | 255 |
programmerhumor | Jither | j1tyner | <|sols|><|sot|>which algorithm is this<|eot|><|sol|>https://i.redd.it/b0e5c1biwf8a1.png<|eol|><|sor|>AFAIK it's a natural language model, not made for mathematics, but for text synthesis<|eor|><|sor|>Exactly. It doesnt actually know how to do math. It just knows how to write things that look like good math.<|eor|><|sor|>The scary part is that it can regurgitate python code that can add the numbers correctly.<|eor|><|sor|>Only because there is plenty of python code in the training data to regurgitate. It doesn't actually know the relation between that code and this question - it only knows that "these words seem to fit together, and relate to the question", whether they make sense or not. In the same way, it'll claim that 90 ("halvfems") in Danish is a combination of "half" and "one hundred", and follow it up by proclaiming that 100 / 2 = 90. In spite of "knowing" the correct result for 100 / 2 if you ask it directly (basically because it's a "shorter path" from the question to that statement).
This doesn't just apply to math, but everything it does: It's good at parroting something that on the surface sounds like a convincing answer. Something that's actually correct? Not so much. Except when it gets lucky. Or, if you continually correct it, due to how the neural network works it may eventually stumble upon a combination of training data that's actually correct.<|eor|><|eols|><|endoftext|> | 255 |
programmerhumor | NeverMakesMistkes | 7qu2hj | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|eols|><|endoftext|> | 78,416 |
programmerhumor | jc5504 | dss2bwn | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>TIL: Always click on the word "Test"<|eor|><|sor|>You selected: TEST MISSILE
Sending test missile....
Missile SENT!<|eor|><|eols|><|endoftext|> | 8,675 |
programmerhumor | itbeamess | dsrxdez | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>One of the best ones yet 9/10<|eor|><|eols|><|endoftext|> | 2,665 |
programmerhumor | Mjolnir12 | dsrxz44 | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>[deleted]<|eor|><|sor|>Believable, too.<|eor|><|eols|><|endoftext|> | 1,655 |
programmerhumor | NeverMakesMistkes | dss8b9n | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|soopr|>Great, so now this is in r/all so everyone can see how I missled an "i".<|eoopr|><|eols|><|endoftext|> | 1,105 |
programmerhumor | Roflkopt3r | dss3m69 | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>[deleted]<|eor|><|sor|>Believable, too.<|eor|><|sor|>Really not much worse than the [actual one.](https://www.reddit.com/r/ProgrammerHumor/comments/7qrzy0/they_have_outdone_you_all/)<|eor|><|eols|><|endoftext|> | 1,056 |
programmerhumor | stacks13 | dsrxklo | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>>MISSLE ALERT
>
>\- u/NeverMakesMistkes
Sounds about right.
Awesome work.<|eor|><|eols|><|endoftext|> | 823 |
programmerhumor | Roflkopt3r | dss9uon | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>[deleted]<|eor|><|sor|>Believable, too.<|eor|><|sor|>Really not much worse than the [actual one.](https://www.reddit.com/r/ProgrammerHumor/comments/7qrzy0/they_have_outdone_you_all/)<|eor|><|sor|>What was that made in? MS Word?<|eor|><|sor|>[Programmed in Powerpoint.](https://www.youtube.com/watch?v=uNjxe8ShM-8)<|eor|><|eols|><|endoftext|> | 595 |
programmerhumor | NeverMakesMistkes | dsry1p0 | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>>MISSLE ALERT
>
>\- u/NeverMakesMistkes
Sounds about right.
Awesome work.<|eor|><|soopr|>Yes, let's all agree that was intentional. I mean, it must've been!
I never make mistkes.<|eoopr|><|eols|><|endoftext|> | 373 |
programmerhumor | ihahp | dss6vxd | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>[deleted]<|eor|><|sor|> So it's
bad beautiful<|eor|><|eols|><|endoftext|> | 267 |
programmerhumor | itbeamess | dss6uug | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>One of the best ones yet 9/10<|eor|><|sor|>You should see this [one](https://www.reddit.com/r/ProgrammerHumor/comments/7qtza4/the_missile_alert_system_used_simple_html_how_bad/?st=JCI4AEJ0&sh=0a9eaaf7) <|eor|><|sor|>9.1/10<|eor|><|eols|><|endoftext|> | 261 |
programmerhumor | Keegan9000 | dss9esq | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|soopr|>Great, so now this is in r/all so everyone can see how I missled an "i".<|eoopr|><|sor|>Come on, I thought you never made mistkes!<|eor|><|eols|><|endoftext|> | 250 |
programmerhumor | Plz_ShowBob_n_Vagene | dssf9va | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>TIL: Always click on the word "Test"<|eor|><|sor|>Dont forget this gem
https://thumbs.gfycat.com/QueasyGrandIriomotecat-size_restricted.gif<|eor|><|eols|><|endoftext|> | 246 |
programmerhumor | z500 | dssbvpu | <|sols|><|sot|>Don't Dead Open Inside<|eot|><|sol|>https://gfycat.com/ChubbyDeafeningAfricanelephant<|eol|><|sor|>TIL: Always click on the word "Test"<|eor|><|sor|>You selected: TEST MISSILE
Sending test missile....
Missile SENT!<|eor|><|sor|>Ohhh... nice.<|eor|><|sor|>[deleted]<|eor|><|sor|>Me too. I wonder if you could analyze comments to find out which ones were written by miserable bastards and filter them out automatically. I don't think I can handle the day-to-day negativity much longer.<|eor|><|eols|><|endoftext|> | 233 |
programmerhumor | bot_hunter101 | zqjv0f | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|eols|><|endoftext|> | 78,272 |
programmerhumor | wiggypiggyziggyzaggy | j0yi0uc | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Hey who toucha my spagett?<|eor|><|eols|><|endoftext|> | 950 |
programmerhumor | Live-Break-9818 | j0yqylg | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Next time I'm in a job interview, I'll ask them "What is your spaghetti policy here?"<|eor|><|eols|><|endoftext|> | 921 |
programmerhumor | davlumbaz | j0yinyz | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>you guys get assignments? shit is boring over here.<|eor|><|eols|><|endoftext|> | 877 |
programmerhumor | alpH4rd07 | j0yshjw | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>you guys get assignments? shit is boring over here.<|eor|><|sor|>I have 6 six courses, assignments every week, some assignments have 10 exercises in them. Its hell.
Edit: I love doing it though. Its hard work, but a great road to walk.<|eor|><|eols|><|endoftext|> | 505 |
programmerhumor | bot_hunter101 | j0yiono | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|soopr|>Original post [here](https://www.reddit.com/r/BrandNewSentence/comments/jdzqbi/see_ya_later/)<|eoopr|><|eols|><|endoftext|> | 264 |
programmerhumor | ComputerBio | j0ymsv5 | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>But does the spaghetti code run?<|eor|><|eols|><|endoftext|> | 255 |
programmerhumor | YouSmellFrench | j0ywn97 | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>you guys get assignments? shit is boring over here.<|eor|><|sor|>I have 6 six courses, assignments every week, some assignments have 10 exercises in them. Its hell.
Edit: I love doing it though. Its hard work, but a great road to walk.<|eor|><|sor|>That's how my degree was, basically medical tech / engineering. I think everything in STEM is similar.
We had 6 courses and 3 labs a semester. Each lab wanted a 6-12 page lab report weekly, each course wanted case studies, quizes and/or assignments done weekly. Then every 4-5 weeks there would be a combination of term tests as if every prof in the faculty got together and planned a week to fuck us all in the ass simultaneously.
Not to mention it being a 5 year degree with absolutely no electives forcing us to take summer courses in the off chance that we wanted to fill the holes with courses for an accreditation or diploma study.
Thank god my masters is so much lighter. I don't think I learned a damn thing in those 5 years.<|eor|><|eols|><|endoftext|> | 243 |
programmerhumor | sattarsingo | j0yjo1b | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Hey who toucha my spagett?<|eor|><|sor|>You don't touch the spagett, spagett touches you<|eor|><|eols|><|endoftext|> | 198 |
programmerhumor | Johnlsullivan2 | j0yv48l | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Next time I'm in a job interview, I'll ask them "What is your spaghetti policy here?"<|eor|><|sor|>Come to work with me, got heaping helpings of it<|eor|><|eols|><|endoftext|> | 164 |
programmerhumor | xXBoss_185Xx | j0yn7ii | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>But does the spaghetti code run?<|eor|><|sor|>It allows you to cook spaghetti on your computer<|eor|><|eols|><|endoftext|> | 147 |
programmerhumor | Tikeb | j0yqcnh | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Factorio players too<|eor|><|eols|><|endoftext|> | 111 |
programmerhumor | poopellar | j0yxfso | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Hey who toucha my spagett?<|eor|><|sor|>You don't touch the spagett, spagett touches you<|eor|><|sor|>Please show me where spagett touched you.<|eor|><|sor|>Ctrl+A
Ctrl+C
Ctrl+V<|eor|><|eols|><|endoftext|> | 97 |
programmerhumor | Mikey_B | j0ytl7w | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>why 11:50 tho. why isn't the spaghetti due at 12:00.<|eor|><|sor|>When I was in college ages ago, they did 11:59pm so there was no ambiguity about the date.<|eor|><|eols|><|endoftext|> | 92 |
programmerhumor | MarcBeard | j0ypwu5 | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>you guys get assignments? shit is boring over here.<|eor|><|sor|>trust me it's better without assignments. our C++ teacher is so bad at cpp that we have yet to start any project because of how buggy it's code is. he changed it like 5 times and it still doesn't work on Linux without giving a segfault or a garbled output.<|eor|><|eols|><|endoftext|> | 87 |
programmerhumor | chech8 | j0ytyl9 | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>Hey who toucha my spagett?<|eor|><|sor|>You don't touch the spagett, spagett touches you<|eor|><|sor|>Please show me where spagett touched you.<|eor|><|eols|><|endoftext|> | 82 |
programmerhumor | Arcinbiblo12 | j0yw889 | <|sols|><|sot|>Ah, college assignments<|eot|><|sol|>https://i.redd.it/eomaks0ua27a1.jpg<|eol|><|sor|>For a brief moment in college, my brother (culinary) and I (3D modeling) had to do the same thing for completely different classes at different schools, design and make a very fancy cake. My brother hated it because he hates baking, I hated it because I couldn't get the roughness map on my textures to look good in the required lighting.<|eor|><|eols|><|endoftext|> | 78 |