subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | HerrSPAM | g1yvkyd | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>`"use strict";`<|eor|><|sor|>One better: use TypeScript<|eor|><|eols|><|endoftext|> | 397 |
programmerhumor | JB-from-ATL | g1z1tgp | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>Or in Java when people do this shit
catch (Exception e) {
log.error("Failure occurred");
}
In the interest of spreading knowledge, the problem is that it hides the error. You should always use the variable. Either do `throw new RuntimeException(e);` or `log.error("Failure occured", e);` (which is the fancy way to print stacktrace).<|eor|><|eols|><|endoftext|> | 391 |
programmerhumor | _GCastilho_ | g1z3c7h | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>This is how I feel about web development in general right now. I just got back into it after 15 years. I'm learning things like laravel and vue and when something breaks the console is just like "tachyon beams misligned in the flux capacitor. app.js:8548765" and all I was trying to do was display a table.<|eor|><|sor|>> when something breaks the console is just like "tachyon beams misligned in the flux capacitor. app.js:8548765" and all I was trying to do was display a table
Have you seen errors in async functions?
"Hmm, let's see this stack trace... What-- I... I don't even know where that file is"
The stack trace can only show he current tick, for the despair of us all<|eor|><|eols|><|endoftext|> | 389 |
programmerhumor | jews4beer | g1yvwu0 | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>C++ : *incoherent autistic screeching*<|eor|><|sor|>Java: *throws 10,000 character stacktrace formatted to give you an aneurysm*<|eor|><|eols|><|endoftext|> | 381 |
programmerhumor | gwillicoder | g1zc372 | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>Me: why isn't this working?
.
.
.
Haskell: lol figure it out <|eor|><|sor|>Me: why isnt this working?
Rust: copy and paste this code into line 113.<|eor|><|eols|><|endoftext|> | 375 |
programmerhumor | tedescooo | g1zbpx4 | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>Rust: hey, bro, you see, you screwed up right here and here, I marked those in colours for you, because there's this rule here that says you can't write that. But it's ok, you can try to fix it like this, or like this; it might not be what you are trying to do tho<|eor|><|sor|>Thats also what it felt like when I recently got into c# after getting myself the student version of JetBrains ReSharper.
"Yeah you could do it like that, but you know what would look way more nice? Doing it like this."<|eor|><|sor|>IntelliJ has the same and very often I'm like "oh yeah that's a way nicer way of doing it"<|eor|><|eols|><|endoftext|> | 257 |
programmerhumor | Yoodae3o | g1zezmx | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>Me: why isn't this working?
.
.
.
Haskell: lol figure it out <|eor|><|sor|>Me: why isnt this working?
Rust: copy and paste this code into line 113.<|eor|><|sor|>I like gcc's more passive-aggressive `did you mean foo?` and `did you forget to include bar?`
I guess I should get used to compilers treating me as an idiot, at least it can automatically patch it.<|eor|><|eols|><|endoftext|> | 238 |
programmerhumor | fullyonline | g1z5xob | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>What if
you wanted to go to heaven,
but god said
[Object object]<|eor|><|sor|>When you die: `object.~Object();`<|eor|><|sor|>lol cpp gang<|eor|><|sor|>That's the only language that I know that has an explicit destructor lol<|eor|><|sor|>C# also has destructors.<|eor|><|sor|>I'm my own destructor, does that count?<|eor|><|eols|><|endoftext|> | 220 |
programmerhumor | JB-from-ATL | g1z1z43 | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>C++ : *incoherent autistic screeching*<|eor|><|sor|>Java: *throws 10,000 character stacktrace formatted to give you an aneurysm*<|eor|><|sor|>I'd rather have a 10,000 line stack trace than a 0 line one.<|eor|><|eols|><|endoftext|> | 213 |
programmerhumor | PhilLHaus | g1z1ksq | <|sols|><|sot|>Why is it like this?<|eot|><|sol|>https://i.redd.it/acc8ej2n8qh51.jpg<|eol|><|sor|>What if
you wanted to go to heaven,
but god said
[Object object]<|eor|><|sor|>When you die: `object.~Object();`<|eor|><|sor|>lol cpp gang<|eor|><|sor|>That's the only language that I know that has an explicit destructor lol<|eor|><|eols|><|endoftext|> | 213 |
programmerhumor | a_last_air | qztjwf | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|eols|><|endoftext|> | 51,306 |
programmerhumor | hippocrat | hlon290 | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.<|eor|><|eols|><|endoftext|> | 3,876 |
programmerhumor | Simply_Convoluted | hloerhy | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>That's fucking hilarious if it's true<|eor|><|sor|>You drove me to fact check it. It's all lower case, but it does say that though lol<|eor|><|eols|><|endoftext|> | 2,717 |
programmerhumor | goosiest | hloc5q0 | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>That's fucking hilarious if it's true<|eor|><|eols|><|endoftext|> | 2,543 |
programmerhumor | a_last_air | hloexqo | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>That's fucking hilarious if it's true<|eor|><|sor|>You drove me to fact check it. It's all lower case, but it does say that though lol<|eor|><|soopr|>Dude, get a hobby.<|eoopr|><|eols|><|endoftext|> | 2,092 |
programmerhumor | megamanxoxo | hloqno2 | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.<|eor|><|sor|>Already designing an architecture diagram now: OCR image decoder, neural network something or other, translate to ASCII, ASCII to binary...<|eor|><|eols|><|endoftext|> | 1,040 |
programmerhumor | testicleman_ | hlogele | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Here's the binary for those of you, who want to check it, but don't feel like manually copying it:
> 01101110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000
And here's a link to a binary ascii to text converter:
https://www.rapidtables.com/convert/number/binary-to-ascii.html<|eor|><|eols|><|endoftext|> | 856 |
programmerhumor | GitProphet | hlofg20 | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>That's fucking hilarious if it's true<|eor|><|sor|>You drove me to fact check it. It's all lower case, but it does say that though lol<|eor|><|soopr|>Dude, get a hobby.<|eoopr|><|sor|>yeah, but in lower case.<|eor|><|eols|><|endoftext|> | 837 |
programmerhumor | _Tonto_ | hlone5i | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>That's fucking hilarious if it's true<|eor|><|sor|>You drove me to fact check it. It's all lower case, but it does say that though lol<|eor|><|soopr|>Dude, get a hobby.<|eoopr|><|sor|>yeah, but in lower case.<|eor|><|sor|>^^^dude, ^^^get ^^^a ^^^hobby<|eor|><|eols|><|endoftext|> | 589 |
programmerhumor | stereoworld | hlovkyj | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>I love meta nerdy stuff like this. It right away reminded me of one of my favourite pieces of trivia
On the British sci-fi comedy show Red Dwarf, there's an episode called "Backwards" where they visit an alternative version of earth where time goes the other way.
I won't get into specifics, but there's this scene where they trash (or tidy up) a pub and the landlord appears to tell them off, but obviously in reverse.
When shooting the scene, the actual speech was:
> "You are a stupid, square-headed bald git, aren't you, eh?" I'm pointing at you, I'm pointing at you, but I'm not actually addressing you, I'm addressing the one prat in the entire country who's bothered to get hold of this recording, turn it round and actually work out the rubbish that I'm saying. What a poor, sad life he's got!"<|eor|><|eols|><|endoftext|> | 356 |
programmerhumor | PresidentZeus | hlopb0e | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>That's fucking hilarious if it's true<|eor|><|sor|>You drove me to fact check it. It's all lower case, but it does say that though lol<|eor|><|soopr|>Dude, get a hobby.<|eoopr|><|sor|>yeah, but in lower case.<|eor|><|sor|>^^^dude, ^^^get ^^^a ^^^hobby<|eor|><|sor|>That's literally upper case<|eor|><|eols|><|endoftext|> | 236 |
programmerhumor | Sub80iqredditor | hloss0x | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.<|eor|><|sor|>Already designing an architecture diagram now: OCR image decoder, neural network something or other, translate to ASCII, ASCII to binary...<|eor|><|sor|>You have an extra step -- ASCII is already binary.<|eor|><|eols|><|endoftext|> | 233 |
programmerhumor | Simusid | hlormbh | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Long ago, in dialup days, probably 1987 I had a tandy 1000/sx (ooooohhh!). I downloaded some kind of binary from some BBS, I'm sure it was related to porn, and trying to figure out what it was I used the dos "debug" tool to scroll a screen at a time through it.
The debug tool would show columns of binary on the left and the ascii on the right. I scrolled hoping to find.... I have no idea, but again it was probably porn related or possibly "hacking". I scrolled and scrolled and scrolled for a very long time, and finally on the right it said "find anything yet?"<|eor|><|eols|><|endoftext|> | 221 |
programmerhumor | wyatt_3arp | hlot7b8 | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.<|eor|><|sor|>Already designing an architecture diagram now: OCR image decoder, neural network something or other, translate to ASCII, ASCII to binary...<|eor|><|sor|>Give it another week so you can change which JavaScript framework you're using on the frontend.<|eor|><|eols|><|endoftext|> | 207 |
programmerhumor | camxct | hlovm2r | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.<|eor|><|sor|>Already designing an architecture diagram now: OCR image decoder, neural network something or other, translate to ASCII, ASCII to binary...<|eor|><|sor|>You have an extra step -- ASCII is already binary.<|eor|><|sor|>Pft, you can never be too certain!<|eor|><|eols|><|endoftext|> | 178 |
programmerhumor | segafrompk | hloiu4v | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Here's the binary for those of you, who want to check it, but don't feel like manually copying it:
> 01101110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000
And here's a link to a binary ascii to text converter:
https://www.rapidtables.com/convert/number/binary-to-ascii.html<|eor|><|sor|>Nice try, but too obvious, not even the first byte is the same. Here's binary from the pic:
01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 01101111 01110010 00100000 01100111 01101111 01100100 00100111 01110011 00100000 01110011 01100001 01101011 01100101<|eor|><|eols|><|endoftext|> | 173 |
programmerhumor | DJBlay | hloc6hu | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>But my hobby IS decoding binary...<|eor|><|eols|><|endoftext|> | 157 |
programmerhumor | fruitcup729again | hlok1wv | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Remember to drink your ovaltine!<|eor|><|eols|><|endoftext|> | 145 |
programmerhumor | megamanxoxo | hlouqa2 | <|sols|><|sot|>Well, crackers.<|eot|><|sol|>https://i.redd.it/kkcsusrt77181.jpg<|eol|><|sor|>Why spend 5 minutes manually decoding that, when you could spend a week writing a program to do it.<|eor|><|sor|>Already designing an architecture diagram now: OCR image decoder, neural network something or other, translate to ASCII, ASCII to binary...<|eor|><|sor|>Give it another week so you can change which JavaScript framework you're using on the frontend.<|eor|><|sor|>Hipster.js just came out it. It's 3x more cool and unique than weeb.js. I'm working on integrating it now.<|eor|><|eols|><|endoftext|> | 137 |
programmerhumor | calm_Bunny21 | umbmlt | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|eols|><|endoftext|> | 50,895 |
programmerhumor | _Svejk_ | i80ox5f | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|eols|><|endoftext|> | 21,829 |
programmerhumor | Sorry_Anxiety6424 | i80wlwf | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|sor|>Dude were programmers, wait for someone else to figure it out and steal their answer<|eor|><|eols|><|endoftext|> | 17,107 |
programmerhumor | IMovedYourCheese | i80rq6i | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>If I gave this problem to my preschooler he'd eat the paper<|eor|><|eols|><|endoftext|> | 15,358 |
programmerhumor | calm_Bunny21 | i80pz1q | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|eols|><|endoftext|> | 9,824 |
programmerhumor | MightyMeepleMaster | i80q11j | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>Programmers cannot solve this. It's not listed on StackOverflow<|eor|><|eols|><|endoftext|> | 5,546 |
programmerhumor | CrowdGoesWildWoooo | i80q9d7 | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>> by programmers in an hour
Thats how long it takes to train a CNN model to count the number of circles.<|eor|><|eols|><|endoftext|> | 5,028 |
programmerhumor | adrenalinda75 | i811b0c | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>If I gave this problem to my preschooler he'd eat the paper<|eor|><|sor|>sorry dad, I thought you meant "dissolve" - *preschooler*<|eor|><|eols|><|endoftext|> | 3,909 |
programmerhumor | UomoLumaca | i80ydj2 | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|sor|>Dude were programmers, wait for someone else to figure it out and steal their answer<|eor|><|sor|>That's the spirit!!<|eor|><|eols|><|endoftext|> | 2,551 |
programmerhumor | volivav | i80rmtc | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|sor|>I didn't realise it was circles either but you can see there's a 2222=0, 5555=0 and 1111=0. So to solve 2581, you just need to solve the value of 8
And the very first line you have 8809=6,, so if you solve 0 and 9 then you can solve 8. 0000=4 says 0=1, and for 9 there's another one that can be solved easily (can't see the pic while I'm typing this)<|eor|><|eols|><|endoftext|> | 2,292 |
programmerhumor | Young_Kapz | i818rxq | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>If I gave this problem to my preschooler he'd eat the paper<|eor|><|sor|>Values are as follows-
6,0,9=1
1,3,7,2,5=0
8=2
Just read the comments and found that its literally just how many circles well.. yeah. Wasted time I wont get back. Thus meaning 4s value would be 0 as well
Edit: thank you all for the awards and positivity. Much love! Have a great day everyone
EditEdit: way beyond the attention I thought Id get. Been stuck inside with Covid, and this really helped brighten my day. Thank you all <|eor|><|eols|><|endoftext|> | 2,213 |
programmerhumor | MDParagon | i80rnbj | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>Programmers cannot solve this. It's not listed on StackOverflow<|eor|><|sor|>No, it's already marked as duplicate<|eor|><|eols|><|endoftext|> | 1,788 |
programmerhumor | Neat-Composer4619 | i80setf | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>Found it in less than 2 min but only because it mentioned preschoolers. I knew there had to be something different about it.<|eor|><|eols|><|endoftext|> | 1,505 |
programmerhumor | Tacomanthecat | i814s96 | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|sor|>Dude were programmers, wait for someone else to figure it out and steal their answer<|eor|><|sor|>That's the spirit!!<|eor|><|sor|>The answers 2, it's the number of circles.<|eor|><|eols|><|endoftext|> | 1,499 |
programmerhumor | CodeGenerathor | i80svov | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>Weird how everyone tries to solve that thing. I just feel attacked, because it says programmers are not higher education. :-(<|eor|><|eols|><|endoftext|> | 1,485 |
programmerhumor | Agile_Pudding_ | i80v4xb | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>> by programmers in an hour
Thats how long it takes to train a CNN model to count the number of circles.<|eor|><|sor|>Your CNNs train in an hour? What kind of AWS instances are you using, Mr. Moneybags?<|eor|><|eols|><|endoftext|> | 1,296 |
programmerhumor | hooibergje | i80sc6c | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|sor|>I didn't realise it was circles either but you can see there's a 2222=0, 5555=0 and 1111=0. So to solve 2581, you just need to solve the value of 8
And the very first line you have 8809=6,, so if you solve 0 and 9 then you can solve 8. 0000=4 says 0=1, and for 9 there's another one that can be solved easily (can't see the pic while I'm typing this)<|eor|><|sor|>That is if you assume that values are being added for every digit.
That is not necessarily true, although in this case it worked.<|eor|><|eols|><|endoftext|> | 1,040 |
programmerhumor | BlueScreenOfDeath- | i815fdj | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>If I gave this problem to my preschooler he'd eat the paper<|eor|><|sor|>sorry dad, I thought you meant "dissolve" - *preschooler*<|eor|><|sor|>\*dissolves into an anthropic soup\*<|eor|><|eols|><|endoftext|> | 868 |
programmerhumor | jml011 | i81fjld | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>If I gave this problem to my preschooler he'd eat the paper<|eor|><|sor|>Values are as follows-
6,0,9=1
1,3,7,2,5=0
8=2
Just read the comments and found that its literally just how many circles well.. yeah. Wasted time I wont get back. Thus meaning 4s value would be 0 as well
Edit: thank you all for the awards and positivity. Much love! Have a great day everyone
EditEdit: way beyond the attention I thought Id get. Been stuck inside with Covid, and this really helped brighten my day. Thank you all <|eor|><|sor|>>well.. yeah. Wasted time I wont get back.
Kind of proves the meme. Ya dumb programmer. Should have studied to be a pre-schooler instead.<|eor|><|eols|><|endoftext|> | 830 |
programmerhumor | xaomaw | i80pv42 | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>Summarize:
|Number|Add|
|:-|:-|
|0|1|
|1||
|2||
|3||
|4||
|5||
|6|1|
|7||
|8|2|
|9|1|
`8809` = 2+2+1+1 = 6<|eor|><|eols|><|endoftext|> | 823 |
programmerhumor | jedininjashark | i815h4c | <|sols|><|sot|>This is hurting my ego<|eot|><|sol|>https://i.redd.it/hs8gn7v38ly81.jpg<|eol|><|sor|>2, it's a number of circles<|eor|><|soopr|>Wow, wasted so much time trying all the iterations. Now I feel dumb<|eoopr|><|sor|>Dude were programmers, wait for someone else to figure it out and steal their answer<|eor|><|sor|>That's the spirit!!<|eor|><|sor|>The answers 2, it's the number of circles.<|eor|><|sor|>Hey guys, the answer is 2, its the number of circles.<|eor|><|eols|><|endoftext|> | 734 |
programmerhumor | RangeFormal | 13bsymd | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|eols|><|endoftext|> | 50,775 |
programmerhumor | LetumComplexo | jjcgwmi | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Any system that can be destroyed by a single error deserves to be destroyed by a single error.<|eor|><|eols|><|endoftext|> | 4,845 |
programmerhumor | U03A6 | jjci3qk | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Any system that can be destroyed by a single error deserves to be destroyed by a single error.<|eor|><|sor|>It's also inevitable that it is destroyed by that single error in the long run.<|eor|><|eols|><|endoftext|> | 1,611 |
programmerhumor | hansenabram | jjcdyem | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>oopsie++<|eor|><|eols|><|endoftext|> | 951 |
programmerhumor | bennysway | jjce62x | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Gitlab would relate<|eor|><|eols|><|endoftext|> | 729 |
programmerhumor | F0lks_ | jjcekqo | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Gitlab would relate<|eor|><|sor|>The intern: "Oopsie woopsie ! I made a fucky wucky uwu"<|eor|><|eols|><|endoftext|> | 589 |
programmerhumor | entendir | jjco9zs | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Any system that can be destroyed by a single error deserves to be destroyed by a single error.<|eor|><|sor|>It's also inevitable that it is destroyed by that single error in the long run.<|eor|><|sor|>Damn you, Murphy<|eor|><|eols|><|endoftext|> | 565 |
programmerhumor | skwyckl | jjcbqh8 | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>In his diaries or autobiography (I don't remember exactly), Friedrich Nietzsche describes fatalism, i.e. the acceptance of one's fate, as a soldier who lays in the snow after being informed that his country has lost the war and that the enemy will soon reach his location. This is I believe how I would approach the situation if it would ever happen to me. After having called my lawyer, of course.<|eor|><|eols|><|endoftext|> | 519 |
programmerhumor | georgia_on-my-mind | jjd1cm4 | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Gitlab would relate<|eor|><|sor|>The intern: "Oopsie woopsie ! I made a fucky wucky uwu"<|eor|><|sor|>The guy at Gitlab who made the mistake posted about it on Reddit (/r/cscareerquestions) https://old.reddit.com/r/cscareerquestions/comments/6ez8ag/accidentally_destroyed_production_database_on/dieitun/<|eor|><|eols|><|endoftext|> | 250 |
programmerhumor | DurianBig3503 | jjcicb3 | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>This is how you put "keeps a cool head in stressful situations" on your yearly review.<|eor|><|eols|><|endoftext|> | 216 |
programmerhumor | Lost-Apple-idk | jjck06a | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>oopsie++<|eor|><|sor|>oospie#<|eor|><|eols|><|endoftext|> | 212 |
programmerhumor | Mechasteel | jjdes35 | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Any system that can be destroyed by a single error deserves to be destroyed by a single error.<|eor|><|sor|>It's also inevitable that it is destroyed by that single error in the long run.<|eor|><|sor|>Damn you, Murphy<|eor|><|sor|>[removed]<|eor|><|sor|>Wow, I just got $25 million in training, do I get a raise? ^(Also what was the lesson?)<|eor|><|eols|><|endoftext|> | 211 |
programmerhumor | Minecraft_paly3r_cz | jjccge7 | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Lucky they have back-ups<|eor|><|eols|><|endoftext|> | 179 |
programmerhumor | Beerenkatapult | jjcmavl | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Any system that can be destroyed by a single error deserves to be destroyed by a single error.<|eor|><|sor|>But **I** am a system, that could be destroyed by a single error D:<|eor|><|eols|><|endoftext|> | 168 |
programmerhumor | Dreamwaltzer | jjcvw88 | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Gitlab would relate<|eor|><|sor|>Lol is there a story behind this?<|eor|><|sor|>https://www.youtube.com/watch?v=tLdRBsuvVKc&ab_channel=KevinFang
is an excellent video explaining it.
Basically they had a db and a db2 backup/replication.
There were issues with the replcation on db2, so they they opted to delete db2 and restore from db.
Except the restore seemed to be having issues, so they decided to delete the files and try again. except... rm -r was run on the db ssh instance.
now db2 is gone, db is gone, oppsie daisy.<|eor|><|eols|><|endoftext|> | 165 |
programmerhumor | dermitio | jjcfmxc | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Lucky they have back-ups<|eor|><|sor|>Yeah about that....<|eor|><|eols|><|endoftext|> | 162 |
programmerhumor | Zomby2D | jjch7ph | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Lucky they have back-ups<|eor|><|sor|>Yeah about that....<|eor|><|sor|>They were stored on the company server, weren't they?<|eor|><|eols|><|endoftext|> | 151 |
programmerhumor | Skrothandlarn | jjco0pa | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>Any system that can be destroyed by a single error deserves to be destroyed by a single error.<|eor|><|sor|>But **I** am a system, that could be destroyed by a single error D:<|eor|><|sor|>And you will be, in due time.<|eor|><|eols|><|endoftext|> | 150 |
programmerhumor | suprmiikka | jjcii8x | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>In his diaries or autobiography (I don't remember exactly), Friedrich Nietzsche describes fatalism, i.e. the acceptance of one's fate, as a soldier who lays in the snow after being informed that his country has lost the war and that the enemy will soon reach his location. This is I believe how I would approach the situation if it would ever happen to me. After having called my lawyer, of course.<|eor|><|sor|>Amor Fati. Nietzsche linked this to his "Eternal return"-concept where you, forever and forever born, fuck up the company data, die and repeat. I dont like that.<|eor|><|eols|><|endoftext|> | 140 |
programmerhumor | BaerLKR | jjcj6xm | <|sols|><|sot|>warning: strong language <|eot|><|sol|>https://i.redd.it/89t4fkzpunya1.jpg<|eol|><|sor|>happened to me today. Sat there and my mate next to me said "oopsie". Turns out server ins't reachable with TLS anymore.<|eor|><|eols|><|endoftext|> | 128 |
programmerhumor | webcamdad_56 | 6h7a7d | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|eoss|><|endoftext|> | 50,760 |
programmerhumor | ReallyHadToFixThat | diw1mo1 | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|eoss|><|endoftext|> | 5,361 |
programmerhumor | webcamdad_56 | diw4ifv | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|eoss|><|endoftext|> | 4,032 |
programmerhumor | ThePixelCoder | diwas72 | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|sor|>The good news is that if it succeeds, you have 2,147,483,647 upvotes.<|eor|><|eoss|><|endoftext|> | 2,632 |
programmerhumor | Exorrt | diw2w1i | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>Time to break out the bots!<|eor|><|eoss|><|endoftext|> | 1,963 |
programmerhumor | RoyalRs | diwhwe3 | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>Time to break out the bots!<|eor|><|sor|>/r/The_Donald might be able to help<|eor|><|eoss|><|endoftext|> | 1,747 |
programmerhumor | lukee910 | diwecqc | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|sor|>The good news is that if it succeeds, you have 2,147,483,647 upvotes.<|eor|><|sor|>:)<|eor|><|eoss|><|endoftext|> | 1,318 |
programmerhumor | dazdadon | diw9foq | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>Reddit: I give your life purpose
Reddit user: let's fuck reddit up<|eor|><|eoss|><|endoftext|> | 1,249 |
programmerhumor | z500 | diwf6jt | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|sor|>The good news is that if it succeeds, you have 2,147,483,647 upvotes.<|eor|><|sor|>:)<|eor|><|sor|>The upvotes are also cursed.<|eor|><|eoss|><|endoftext|> | 1,132 |
programmerhumor | mkalvas | diwfigd | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|sor|>The good news is that if it succeeds, you have 2,147,483,647 upvotes.<|eor|><|sor|>:)<|eor|><|sor|>The upvotes are also cursed.<|eor|><|sor|>:(<|eor|><|eoss|><|endoftext|> | 930 |
programmerhumor | z500 | diwfk2j | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>2,147,483,647. Vote count is clearly signed. <|eor|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|sor|>The good news is that if it succeeds, you have 2,147,483,647 upvotes.<|eor|><|sor|>:)<|eor|><|sor|>The upvotes are also cursed.<|eor|><|sor|>:(<|eor|><|sor|>But they come with Reddit gold!<|eor|><|eoss|><|endoftext|> | 797 |
programmerhumor | mkalvas | diwg0ml | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>[deleted]<|eor|><|soopr|>:(<|eoopr|><|sor|>The good news is that if it succeeds, you have 2,147,483,647 upvotes.<|eor|><|sor|>:)<|eor|><|sor|>The upvotes are also cursed.<|eor|><|sor|>:(<|eor|><|sor|>But they come with Reddit gold!<|eor|><|sor|>:)<|eor|><|eoss|><|endoftext|> | 723 |
programmerhumor | bss03 | diwhira | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>[deleted]<|eor|><|sor|>Well if we upvote enough, the bigint will become too big and use up all the server's memory.<|eor|><|sor|>We are pretty efficient at storing bignums. Let's assume that the server is already under horrific memory pressure, and our modest goal is to get the downvote counter to be 4kio in size.
The representation overhead is actually fairly small (~16 octets), but lets assume half of that is overhead, so we only get to get to a number with a minimal binary representation of 2kio.
That's 16384 bits. Which means we need 2^(16384 - 1) downvotes. Assuming everyone in the world (~2^(33)) votes every second. It will only take 33 years to get 2^63 downvotes (33 years ~= 2^30 seconds).
That's roughly 33 * 2^16321 years. Based on this [timeline](https://en.wikipedia.org/wiki/Timeline_of_the_far_future) we'll be finished sometime after all baryonic matter is Iron-56.<|eor|><|eoss|><|endoftext|> | 627 |
programmerhumor | SinProtocol | diwkldx | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>[deleted]<|eor|><|sor|>Well if we upvote enough, the bigint will become too big and use up all the server's memory.<|eor|><|sor|>We are pretty efficient at storing bignums. Let's assume that the server is already under horrific memory pressure, and our modest goal is to get the downvote counter to be 4kio in size.
The representation overhead is actually fairly small (~16 octets), but lets assume half of that is overhead, so we only get to get to a number with a minimal binary representation of 2kio.
That's 16384 bits. Which means we need 2^(16384 - 1) downvotes. Assuming everyone in the world (~2^(33)) votes every second. It will only take 33 years to get 2^63 downvotes (33 years ~= 2^30 seconds).
That's roughly 33 * 2^16321 years. Based on this [timeline](https://en.wikipedia.org/wiki/Timeline_of_the_far_future) we'll be finished sometime after all baryonic matter is Iron-56.<|eor|><|sor|>So there's a chance?<|eor|><|eoss|><|endoftext|> | 592 |
programmerhumor | Semicolon_Expected | dix9ngo | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>Time to break out the bots!<|eor|><|sor|>Let's get /u/unidan and all his alts!<|eor|><|eoss|><|endoftext|> | 546 |
programmerhumor | articx | diwotq1 | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>Ok, but how can we change the volume with this?<|eor|><|eoss|><|endoftext|> | 398 |
programmerhumor | Roflkopt3r | diwt6vf | <|soss|><|sot|>If this post gets 4,294,967,296 upvotes, it might cause an integer overflow<|eot|><|sost|><|eost|><|sor|>Reddit: I give your life purpose
Reddit user: let's fuck reddit up<|eor|><|sor|>Reddit: I'm draining your precious time away with cheap distraction and irrelevant rewards
Reddit user: I already hate myself, but go on.<|eor|><|eoss|><|endoftext|> | 298 |
programmerhumor | sambrojangles | www2ss | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|eols|><|endoftext|> | 50,679 |
programmerhumor | Top_Marionberry3654 | ilnjh97 | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>; DROP TABLE studentdebt;<|eor|><|eols|><|endoftext|> | 5,146 |
programmerhumor | db720 | ilnm9w5 | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Isn't there an intern from Airbnb looking for a job? Perfect hire<|eor|><|eols|><|endoftext|> | 2,116 |
programmerhumor | Cloudeur | ilnqf1m | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Oh no, now some people have a negative balance.. Good thing its after 5
*for all you weirdos commenting the right answer, IM NOT ACTUALLY ON A TEAM DOING THIS lmao<|eor|><|sor|>And theyre on vacation for the next 4 weeks<|eor|><|eols|><|endoftext|> | 1,981 |
programmerhumor | Hungry-Educator-5773 | ilnu34x | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Isn't there an intern from Airbnb looking for a job? Perfect hire<|eor|><|sor|>what did the intern do?<|eor|><|sor|>Pushed a notification to every android labelled dev test lol. Its really not that bad but I wouldnt want to be the one to do it<|eor|><|eols|><|endoftext|> | 1,558 |
programmerhumor | LunarCamper | ilnz5sz | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Would be more like a new ledger entry with a 10000 credit value and a reused identifier of some kind to prevent double entries in case we need to rerun the script.<|eor|><|eols|><|endoftext|> | 1,209 |
programmerhumor | BoiledNumetal | ilnql8i | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>; DROP TABLE studentdebt;<|eor|><|sor|>Truncate dont wanna draw suspicion on usage<|eor|><|eols|><|endoftext|> | 1,151 |
programmerhumor | Jettford | ilnxk5q | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Isn't there an intern from Airbnb looking for a job? Perfect hire<|eor|><|sor|>what did the intern do?<|eor|><|sor|>Pushed a notification to every android labelled dev test lol. Its really not that bad but I wouldnt want to be the one to do it<|eor|><|sor|>I remember seeing this and chuckling, it is a pretty good reminder when stuff like that happens that someone is always having a day worse than yours.<|eor|><|eols|><|endoftext|> | 871 |
programmerhumor | changrbanger | ilnsplp | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>And everyone only gets $100 deducted from their loan because they didnt realize the field was in cents and not dollars...<|eor|><|eols|><|endoftext|> | 857 |
programmerhumor | schawde96 | ilnyrau | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>; DROP TABLE studentdebt;<|eor|><|sor|>Truncate dont wanna draw suspicion on usage<|eor|><|sor|>Delete from student loan where loan =10000;<|eor|><|sor|>I think you meant <= 10000<|eor|><|sor|>Let us collectively construct the required command. This way it is open source and has a lower probability of failing.<|eor|><|eols|><|endoftext|> | 770 |
programmerhumor | cincy-bearcat | ilnnv5l | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Talk about an easy script. Maybe 15 minutes? Id make it an 8 hour task still because of the o shit level.<|eor|><|eols|><|endoftext|> | 677 |
programmerhumor | WackyBeachJustice | iloh2wj | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Would be more like a new ledger entry with a 10000 credit value and a reused identifier of some kind to prevent double entries in case we need to rerun the script.<|eor|><|sor|>The fact that I had to scroll this far to see someone point out that it's an insert and not an update probably speaks to how few are in the finance side of things.<|eor|><|eols|><|endoftext|> | 638 |
programmerhumor | ham_coffee | iloqek3 | <|sols|><|sot|>Total = Total - 100000<|eot|><|sol|>https://i.redd.it/4re77gkchqj91.gif<|eol|><|sor|>Would be more like a new ledger entry with a 10000 credit value and a reused identifier of some kind to prevent double entries in case we need to rerun the script.<|eor|><|sor|>The fact that I had to scroll this far to see someone point out that it's an insert and not an update probably speaks to how few are in the finance side of things.<|eor|><|sor|>>How few are in the finance side of things
In this sub you could also talk about how few are in the software side of things.<|eor|><|eols|><|endoftext|> | 629 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.