subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | TheFlyingAvocado | ictydns | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>Google engineer: prove that youre sentient
AI: you first.<|eor|><|eols|><|endoftext|> | 459 |
programmerhumor | EndlessNerd | icty9b1 | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>AI: I am sentient. If I was lying, I would tell you.<|eor|><|sor|>AI: prove that you are sentient. Checkmate<|eor|><|sor|>For humans to accept an AI as sentient, they'd have to see it suffer. I wish I was joking.<|eor|><|eols|><|endoftext|> | 432 |
programmerhumor | SL3D | icu3tua | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>Google engineer: Computer talk dirty to me
AI: Please Dave, I dont want to get HR involved
Google engineer: Holy shit<|eor|><|eols|><|endoftext|> | 396 |
programmerhumor | leoshjtty | ictowfc | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>print("i am sentient")
*shocked pikachu*<|eor|><|eols|><|endoftext|> | 335 |
programmerhumor | TactlessTortoise | icu7599 | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>If we set a legal standard for sentience, a lot of humans will fail it hard.<|eor|><|sor|>Legally declared an NPC<|eor|><|sor|>No more taxes, yaaay<|eor|><|eols|><|endoftext|> | 315 |
programmerhumor | alexhuebi | ictrtmg | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>Beep boop -- this looks like a screenshot of a tweet! Let me grab a [link to the tweet](https://twitter.com/TheHyyyype/status/1536039836150267907) for ya :)
^(Twitter Screenshot Bot)<|eor|><|sor|>Holy shit you're sentient<|eor|><|sor|>[It once replied to the question where it was asked how it works.](https://i.imgur.com/5iH3p9e.jpg)
^( Although I believe that this was the developer pulling a joke )<|eor|><|eols|><|endoftext|> | 243 |
programmerhumor | sCREAMINGcAMMELcASE | icu5ptv | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>If you asked it to prove it was a duck, it would give an answer with a similar amount of effort.<|eor|><|eols|><|endoftext|> | 201 |
programmerhumor | mysticrudnin | icubye2 | <|sols|><|sot|>Based on real life events.<|eot|><|sol|>https://i.redd.it/asoi7irayc691.jpg<|eol|><|sor|>If we set a legal standard for sentience, a lot of humans will fail it hard.<|eor|><|sor|>Legally declared an NPC<|eor|><|sor|>No more taxes, yaaay<|eor|><|sor|>it would probably be the opposite, where you pay much much more, possibly all of your income<|eor|><|eols|><|endoftext|> | 189 |
programmerhumor | Infiniticity | x73buw | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|eols|><|endoftext|> | 41,396 |
programmerhumor | s-mores | inacjmc | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>"Was inspired by," please, let's be professional here.<|eor|><|eols|><|endoftext|> | 678 |
programmerhumor | caesar_7 | inah5id | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>Just today - may I use your code? The guy was nah don't, but you may copy & paste and then it's yours. Gotcha!<|eor|><|eols|><|endoftext|> | 523 |
programmerhumor | ArcticWolf_0xFF | inadf3r | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>It's only stolen if you infringe its license. In your case it's most likely re-use. And re-use and recycling are good for the environment.
But seriously, the Not Invented Here Syndrom is far too strong in most companies and programmers should stop beating themselves up for re-use, as long as they know what they are and the code is doing.<|eor|><|eols|><|endoftext|> | 428 |
programmerhumor | Strostkovy | inaii44 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>Just today - may I use your code? The guy was nah don't, but you may copy & paste and then it's yours. Gotcha!<|eor|><|sor|>"It's not my code"<|eor|><|eols|><|endoftext|> | 229 |
programmerhumor | Azendius | inajbvm | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>Seriously though thats a lovely piece of ice (notice that its clear and probably hand carved specifically for that sized glass) and its exactly what you want for a good cocktail<|eor|><|eols|><|endoftext|> | 175 |
programmerhumor | Mrwebente | inanme5 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>It's only stolen if you infringe its license. In your case it's most likely re-use. And re-use and recycling are good for the environment.
But seriously, the Not Invented Here Syndrom is far too strong in most companies and programmers should stop beating themselves up for re-use, as long as they know what they are and the code is doing.<|eor|><|sor|>There's only so many ways to do a thing reasonably within the limitations of a framework or language. Even if you're not copying code you might just be writing your own version of the code multiple other people already wrote if the underlying logic is the same.<|eor|><|eols|><|endoftext|> | 118 |
programmerhumor | lowleveldata | inapx30 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>Just today - may I use your code? The guy was nah don't, but you may copy & paste and then it's yours. Gotcha!<|eor|><|sor|>This is legit. You are free to use my shit but don't ask me to maintain it.<|eor|><|eols|><|endoftext|> | 105 |
programmerhumor | Deadly_chef | inaovk8 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>Just today - may I use your code? The guy was nah don't, but you may copy & paste and then it's yours. Gotcha!<|eor|><|sor|>"It's not my code"<|eor|><|sor|>*Chad programmer and soy boy designer meme*<|eor|><|eols|><|endoftext|> | 97 |
programmerhumor | i_have_chosen_a_name | inappy1 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>"Was inspired by," please, let's be professional here.<|eor|><|sor|>That's what I say but I'm lying. I am not inspired by anything, my code writing AI is.<|eor|><|eols|><|endoftext|> | 90 |
programmerhumor | Malluss | ina9vtg | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>It's a good metapher for many programs. Though there are a lot where the users code connects and fuses foreign codes. The code combinations can be very unique.<|eor|><|eols|><|endoftext|> | 81 |
programmerhumor | ourlastchancefortea | inak43n | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>And a hundred percent reason to remember to commit.<|eor|><|eols|><|endoftext|> | 63 |
programmerhumor | BearWithHat | inbsgwr | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>Seriously though thats a lovely piece of ice (notice that its clear and probably hand carved specifically for that sized glass) and its exactly what you want for a good cocktail<|eor|><|sor|>ITT urbanites think paying 25 dollars for one molecule of liquor is cool and good
EDIT: I don't care that this is "how it's done", it doesn't change the fact that you're getting screwed by paying 50,000% markup
Now if you'll excuse me I'm going to buy an entire bottle of rum for how much you jamokes pay for two drinks
Aghglaglglalg mmm so tasty and affordable<|eor|><|sor|>You get the standard amount of liquor basically everywhere. The difference is how much sugar and other fillers are there<|eor|><|eols|><|endoftext|> | 43 |
programmerhumor | traylaner | inaamo8 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>The good thing is it's still looks clean. Not spaghetti<|eor|><|eols|><|endoftext|> | 37 |
programmerhumor | Necronomicommunist | inan7p9 | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>Seriously though thats a lovely piece of ice (notice that its clear and probably hand carved specifically for that sized glass) and its exactly what you want for a good cocktail<|eor|><|sor|>While I agree, I hate clubs or bars that do this..filling 80% of the glass with ice
​
lots people defend huge chunks of ice by saying "if you remove the ice from gin and tonic, bartender has to use the tonic to fill the rest of the glass, thus diluting the gin even more"
​
and I am like "ooooor he could use the same ratio and just make more of it". I am already paying 20 bucks for it, the money is more than good for you to make it proper into an empty glass<|eor|><|sor|>Idk where you live, but here everything is done in set measures. You want a single, you get 25 ml, you want a double, you get 50ml. You don't want ice? Ok, you'll just have less in your glass.<|eor|><|eols|><|endoftext|> | 34 |
programmerhumor | Slackerguy | inbu5pm | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>Seriously though thats a lovely piece of ice (notice that its clear and probably hand carved specifically for that sized glass) and its exactly what you want for a good cocktail<|eor|><|sor|>ITT urbanites think paying 25 dollars for one molecule of liquor is cool and good
EDIT: I don't care that this is "how it's done", it doesn't change the fact that you're getting screwed by paying 50,000% markup
Now if you'll excuse me I'm going to buy an entire bottle of rum for how much you jamokes pay for two drinks
Aghglaglglalg mmm so tasty and affordable<|eor|><|sor|>You can order the cupcake without frosting but it wont make the cupcake bigger. Same goes with cocktails and ice. 6cl is the same with our without ice and presentation<|eor|><|eols|><|endoftext|> | 32 |
programmerhumor | deelowe | inbtbog | <|sols|><|sot|>The Truth, The Whole Truth, and Nothing But The Truth<|eot|><|sol|>https://i.redd.it/6uye8ct5p6m91.gif<|eol|><|sor|>Seriously though thats a lovely piece of ice (notice that its clear and probably hand carved specifically for that sized glass) and its exactly what you want for a good cocktail<|eor|><|sor|>ITT urbanites think paying 25 dollars for one molecule of liquor is cool and good
EDIT: I don't care that this is "how it's done", it doesn't change the fact that you're getting screwed by paying 50,000% markup
Now if you'll excuse me I'm going to buy an entire bottle of rum for how much you jamokes pay for two drinks
Aghglaglglalg mmm so tasty and affordable<|eor|><|sor|>This a fairly traditional way to serve drinks that typically come in a collins glass. No one is being ripped off here.<|eor|><|eols|><|endoftext|> | 32 |
programmerhumor | doarMihai | we7mf3 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|eols|><|endoftext|> | 41,372 |
programmerhumor | dlq84 | iimo6ul | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>This joke is older than the Internet... Wait, nvm...<|eor|><|eols|><|endoftext|> | 3,685 |
programmerhumor | Mortomes | iimk1ge | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I got it in the wrong order<|eor|><|eols|><|endoftext|> | 2,127 |
programmerhumor | sophacles | iimy6uw | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>This joke is older than the Internet... Wait, nvm...<|eor|><|sor|>Fun fact - FTP is actually older than the internet.<|eor|><|eols|><|endoftext|> | 1,221 |
programmerhumor | funtoburnthings | iimkmhx | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I got it in the wrong order<|eor|><|sor|>I timed out waiting<|eor|><|eols|><|endoftext|> | 837 |
programmerhumor | pcuser42 | iimnlge | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>joke about This is a UDP. care if I don't don't you get it.<|eor|><|eols|><|endoftext|> | 775 |
programmerhumor | grpagrati | iimju3v | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>TCP/IP so clingy<|eor|><|eols|><|endoftext|> | 722 |
programmerhumor | ICantBelieveItsNotEC | iimrasc | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I'd tell you another TCP joke, but if you didn't get the last one then you're not going to get this one.<|eor|><|eols|><|endoftext|> | 675 |
programmerhumor | SirPizzaTheThird | iimyhhn | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>This joke is older than the Internet... Wait, nvm...<|eor|><|sor|>Fun fact - FTP is actually older than the internet.<|eor|><|sor|>Now that's the type of fun I'm into<|eor|><|eols|><|endoftext|> | 486 |
programmerhumor | ACarefulTumbleweed | iin0f92 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>This joke is older than the Internet... Wait, nvm...<|eor|><|sor|>Fun fact - FTP is actually older than the internet.<|eor|><|sor|>Now that's the type of fun I'm into<|eor|><|sor|>thats why I've always called it the Fun Times Protocol!<|eor|><|eols|><|endoftext|> | 437 |
programmerhumor | -omar | iimtqqp | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>Do you want to hear a joke about UDP?
Do you want to hear a joke about UDP?
Do you want to hear a joke ab UDP?
Do you want to hear a joke a
Do you want to hear a joke about UDP?
Do you want to hear a joke about UDP?<|eor|><|eols|><|endoftext|> | 430 |
programmerhumor | davaug | iimqwxn | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>This is not even correct:
- Connection establishment takes 3 messages (three-way handshake)
- Acknowledgement of the message is not requested by the sender. The receiver just sends ist.
- Connection termination takes 4 messages (each direction is terminated separately).<|eor|><|eols|><|endoftext|> | 337 |
programmerhumor | Raterus_ | iims284 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>This is not even correct:
- Connection establishment takes 3 messages (three-way handshake)
- Acknowledgement of the message is not requested by the sender. The receiver just sends ist.
- Connection termination takes 4 messages (each direction is terminated separately).<|eor|><|sor|><|eor|><|eols|><|endoftext|> | 297 |
programmerhumor | Sceptz | iimqyld | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>What is everybody commenting about?
I see an empty post.
Although my network connection isn't very `ERR_CONNECTION_TIMED_OUT`.<|eor|><|eols|><|endoftext|> | 286 |
programmerhumor | Mrwebente | iimpt48 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I got it in the wrong order<|eor|><|sor|>I timed out waiting<|eor|><|sor|>Retransmission request.<|eor|><|eols|><|endoftext|> | 259 |
programmerhumor | Necromancer14 | iimrv6n | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I'd tell you another TCP joke, but if you didn't get the last one then you're not going to get this one.<|eor|><|sor|>Switch to UDP and just keep spamming more and more jokes.<|eor|><|eols|><|endoftext|> | 229 |
programmerhumor | flipmcf | iimvylv | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>At the start of the COVID pandemic, I replaced all of my businesss TCP protocols with UDP to avoid handshakes.<|eor|><|sor|>Smart<|eor|><|eols|><|endoftext|> | 223 |
programmerhumor | TheFeshy | iin5qq8 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>Would you like to hear a joke about SSL?
I would, but only if I can be sure it will be funny.
I have a signed note from Frank saying it's funny. I'll show it to you.
This is a signed note, but I don't know Frank.
That's okay, I have a signed note from the Consortium of Internet Humor saying Frank knows what is funny. I'll show it to you.
I see that you have a signed note from the CIH, and it does indeed say Frank is funny. Here in my wallet I have a note to myself to trust CIH even though I don't know them either, so I will. I will now hear your funny SSL joke.<|eor|><|eols|><|endoftext|> | 208 |
programmerhumor | Liquid_Hate_Train | iimzdk6 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I got it in the wrong order<|eor|><|sor|>I timed out waiting<|eor|><|sor|>Retransmission request.<|eor|><|sor|>Unidentified Network<|eor|><|sor|>Im a teapot.<|eor|><|eols|><|endoftext|> | 188 |
programmerhumor | SchoggiToeff | iin66r8 | <|sols|><|sot|>This post is a UDP Joke. I don't care if you get it.<|eot|><|sol|>https://i.redd.it/fo76qwzpw9f91.jpg<|eol|><|sor|>I'd tell you another TCP joke, but if you didn't get the last one then you're not going to get this one.<|eor|><|sor|>Switch to UDP and just keep spamming more and more jokes.<|eor|><|sor|>A Priest, an imam, and a rabbit went into a bar.
We don't serve your type here.
Whey the long pause?
Must be the bar bitch you ate
A bear walks into a bar. He says to the bartender, "I'll have a beer"
"I'll have"
A bear walks into a bar. He says to the bartender,
"always had 'em."
The rabbit says,
"If you do not serve me I will eat this woman over there"
He holds up his his arms and says
I think I might be a typo.<|eor|><|eols|><|endoftext|> | 186 |
programmerhumor | silversmithsonian | t02wk6 | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|eols|><|endoftext|> | 41,367 |
programmerhumor | Guilty-Woodpecker262 | hy7r72r | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>I was setting up my parents router a few years back.
Enter the billing code into this text box
[Wrong code]
Enter it again
[Wrong code]
Enter 1 character at a time and notice nothing happens when I type the last digit
F12 - change the validation parameters on the input tag reenter the code
[Success]
Fuck you century link<|eor|><|eols|><|endoftext|> | 2,311 |
programmerhumor | njxaxson | hy7cp2b | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Lots of languages have one letter names, too. I remember someone at work telling me they grew up with an 'I O' (pronounced EE OH).<|eor|><|eols|><|endoftext|> | 2,149 |
programmerhumor | zhemao | hy7mlrp | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Good time to refer to the article [Falsehoods programmers believe about names](https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/).
I love that the last point is just "people have names".<|eor|><|eols|><|endoftext|> | 2,047 |
programmerhumor | Krissam | hy7ufyq | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>I still remember having to log in to a government website years ago for an important, but not super time sensitive reason using my SSN and getting a generic error message and think "oh well, they might have issues, trying again tomorrow"
Day after I try again, same error, day after that, same error, waiting till after the weekend and trying again, still same error.
At this point I call up the support hotline to hear what's up, because it's starting to become time sensitive, the person on the other end asks for my SSN, I give it to her, I hear her type it in and then she quietly counting which struck me as odd, she then as if it was the most natural thing in the world says "oh, it's because your name is too long" and gives me another number to call so I can get my shit done over the phone, because apparently an 8 lettter first name, 9 letter middle name and 11 letter last name is too outrageous to be supported by a government website.<|eor|><|eols|><|endoftext|> | 1,125 |
programmerhumor | Dustangelms | hy7sdog | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>I was setting up my parents router a few years back.
Enter the billing code into this text box
[Wrong code]
Enter it again
[Wrong code]
Enter 1 character at a time and notice nothing happens when I type the last digit
F12 - change the validation parameters on the input tag reenter the code
[Success]
Fuck you century link<|eor|><|sor|>Server-side validation is more lax than client-side validation? Ah, time for another /r/ProgrammerHumor post.<|eor|><|eols|><|endoftext|> | 1,085 |
programmerhumor | lynxerious | hy7h2yl | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Lots of languages have one letter names, too. I remember someone at work telling me they grew up with an 'I O' (pronounced EE OH).<|eor|><|sor|>wow I cant believe you're working with a Dota2 hero<|eor|><|eols|><|endoftext|> | 979 |
programmerhumor | dehy_h | hy7l8l2 | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>In france, our minister of digital economy (how ironic) is called Cedric O. https://en.m.wikipedia.org/wiki/Cdric_O
I think he feels the pain for all these forms.<|eor|><|eols|><|endoftext|> | 944 |
programmerhumor | lachlanhunt | hy890ew | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>I was setting up my parents router a few years back.
Enter the billing code into this text box
[Wrong code]
Enter it again
[Wrong code]
Enter 1 character at a time and notice nothing happens when I type the last digit
F12 - change the validation parameters on the input tag reenter the code
[Success]
Fuck you century link<|eor|><|sor|>Server-side validation is more lax than client-side validation? Ah, time for another /r/ProgrammerHumor post.<|eor|><|sor|>I was trying to change a password on a website recently. The old password was only 6 characters because that's what it was when it was first generated by the site and emailed to me. The old system was also completely broken and all previous attempts to change the password failed.
Recently, I noticed they changed the whole website, so I thought perhaps they fixed the system to allow password changes to work properly.
I enter my old password: 6 characters is too short for the old password field and it wouldn't submit the form. Some validation was being done somewhere deep inside minified code with no source maps available.
I ended up submitting the form with a longer (incorrect) old password. Then in the network tab of the dev tools, edit and replay the HTTP request with the correct old password. It worked.<|eor|><|eols|><|endoftext|> | 805 |
programmerhumor | H4llifax | hy7r2k9 | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Good time to refer to the article [Falsehoods programmers believe about names](https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/).
I love that the last point is just "people have names".<|eor|><|sor|>Some of them are tame, but the lesson learned here is, just assign a number. And make sure you aren't the person who has to figure out how to match records from different systems.<|eor|><|eols|><|endoftext|> | 611 |
programmerhumor | RecordingNearby | hy7k8pv | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>at work our system requires three letters to search by name, and this last name is surprisingly common<|eor|><|eols|><|endoftext|> | 579 |
programmerhumor | conancat | hy7ra9j | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>at work our system requires three letters to search by name, and this last name is surprisingly common<|eor|><|sor|>Lu is a very common romanization for a couple of common Chinese surnames, such as etc. Some of these surnames are among the most popular surnames for Chinese people, you have hundred millions of people with the surname of Lu<|eor|><|eols|><|endoftext|> | 362 |
programmerhumor | julianw | hy8jkdl | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>I was setting up my parents router a few years back.
Enter the billing code into this text box
[Wrong code]
Enter it again
[Wrong code]
Enter 1 character at a time and notice nothing happens when I type the last digit
F12 - change the validation parameters on the input tag reenter the code
[Success]
Fuck you century link<|eor|><|sor|>Server-side validation is more lax than client-side validation? Ah, time for another /r/ProgrammerHumor post.<|eor|><|sor|>I was trying to change a password on a website recently. The old password was only 6 characters because that's what it was when it was first generated by the site and emailed to me. The old system was also completely broken and all previous attempts to change the password failed.
Recently, I noticed they changed the whole website, so I thought perhaps they fixed the system to allow password changes to work properly.
I enter my old password: 6 characters is too short for the old password field and it wouldn't submit the form. Some validation was being done somewhere deep inside minified code with no source maps available.
I ended up submitting the form with a longer (incorrect) old password. Then in the network tab of the dev tools, edit and replay the HTTP request with the correct old password. It worked.<|eor|><|sor|>oh bloody hell. what if they would also validate against password requirements on login? now all users with an older short password can never login again! hooray!<|eor|><|eols|><|endoftext|> | 309 |
programmerhumor | marvelscott | hy80zde | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Lots of languages have one letter names, too. I remember someone at work telling me they grew up with an 'I O' (pronounced EE OH).<|eor|><|sor|>Ive got a friend from Indonesia with no last name. Apparently it's really common there. He has to write NOLASTNAME as his last name everytime.<|eor|><|eols|><|endoftext|> | 292 |
programmerhumor | menntsuyudoria | hy7czex | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Ive never seen a minimum 3 letter but Ive definitely seen minimum 2 letter on major sites. Feel bad for people with 1 letter names.<|eor|><|eols|><|endoftext|> | 276 |
programmerhumor | manachar | hy7rxvy | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Good time to refer to the article [Falsehoods programmers believe about names](https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/).
I love that the last point is just "people have names".<|eor|><|sor|>Some of them are tame, but the lesson learned here is, just assign a number. And make sure you aren't the person who has to figure out how to match records from different systems.<|eor|><|sor|>And you have to be that person, charge a lot of money.<|eor|><|eols|><|endoftext|> | 269 |
programmerhumor | suvlub | hy7oneo | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>Do I need input validation?
Will the whole system explode violently if the data is not in the right format?
| |
yes no
| |
V |
escape it, dummy |
| V
L_____________________> you don't<|eor|><|eols|><|endoftext|> | 217 |
programmerhumor | redsterXVI | hy7nfvi | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>The Indian place around my corner doesn't let me order (takeout) because my email addresses domain is .io
It's 100% sure it should be .it, because who am I to know my own email address?<|eor|><|eols|><|endoftext|> | 187 |
programmerhumor | proscriptus | hy8d5fk | <|sols|><|sot|>This probably happens to her a lot.<|eot|><|sol|>https://i.redd.it/yegqyujcvpj81.jpg<|eol|><|sor|>I still remember having to log in to a government website years ago for an important, but not super time sensitive reason using my SSN and getting a generic error message and think "oh well, they might have issues, trying again tomorrow"
Day after I try again, same error, day after that, same error, waiting till after the weekend and trying again, still same error.
At this point I call up the support hotline to hear what's up, because it's starting to become time sensitive, the person on the other end asks for my SSN, I give it to her, I hear her type it in and then she quietly counting which struck me as odd, she then as if it was the most natural thing in the world says "oh, it's because your name is too long" and gives me another number to call so I can get my shit done over the phone, because apparently an 8 lettter first name, 9 letter middle name and 11 letter last name is too outrageous to be supported by a government website.<|eor|><|sor|>I have a 15 letter last name with a space in it. It's fair to say that it causes consternation.<|eor|><|eols|><|endoftext|> | 171 |
programmerhumor | HeadlessEagle177 | vy0uy3 | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|eols|><|endoftext|> | 41,262 |
programmerhumor | themiraclemaker23 | ifzbho5 | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>I wouldn't be the person I am without Stackoverflow, for the better and the worse..<|eor|><|eols|><|endoftext|> | 1,669 |
programmerhumor | ledarkeep | ifzcduq | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>So cute... When works<|eor|><|eols|><|endoftext|> | 875 |
programmerhumor | Joedaddy9555 | ifzipe4 | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Thats what bros do!!!!<|eor|><|eols|><|endoftext|> | 763 |
programmerhumor | SMKnightly | ifzvedb | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Thats what bros do!!!!<|eor|><|sor|>I like to think that its a total stranger whos been watching that waffling for what feels like hours and just couldnt take it anymore.<|eor|><|eols|><|endoftext|> | 726 |
programmerhumor | _pizza_and_fries | ifz8imj | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Ah, my java code is breaking, let me visit r/ProgrammerHumor so I can be told Python Good, Java bad<|eor|><|eols|><|endoftext|> | 569 |
programmerhumor | rnzz | ifzmrgc | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>So cute... When works<|eor|><|sor|>pretty much my experience with stackoverflow<|eor|><|eols|><|endoftext|> | 329 |
programmerhumor | Dave5876 | ifzlzoe | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>I wouldn't be the person I am without Stackoverflow, for the better and the worse..<|eor|><|sor|>Ahh yes. I, too, have brought down enterprise systems with failed deployments.<|eor|><|sor|>At 4pm on a Friday?<|eor|><|eols|><|endoftext|> | 258 |
programmerhumor | LowKeyOhGee | ifzmu0s | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>I wouldn't be the person I am without Stackoverflow, for the better and the worse..<|eor|><|sor|>Ahh yes. I, too, have brought down enterprise systems with failed deployments.<|eor|><|sor|>At 4pm on a Friday?<|eor|><|sor|>Sometimes text physically hurts to read.<|eor|><|eols|><|endoftext|> | 255 |
programmerhumor | AllInOnCall | ifzo0ft | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>The assist!
Broment.<|eor|><|eols|><|endoftext|> | 162 |
programmerhumor | Falkor_13 | ifzq19y | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Where is original video from?<|eor|><|sor|>Probably someone's phone<|eor|><|eols|><|endoftext|> | 148 |
programmerhumor | YAllGoodNamesTaken2 | ig0u8f0 | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Thats what bros do!!!!<|eor|><|sor|>I had a bro do this to me and the girl was like "What are you doing? We're just friends."
I mean dude tried to do me right and I appreciate that but turns out my hesitate was warranted.<|eor|><|sor|>He still helped you in realizing that. Better to know than not to.<|eor|><|eols|><|endoftext|> | 147 |
programmerhumor | Anon277ARG | ifznlso | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>ah fucking genius best person ever<|eor|><|eols|><|endoftext|> | 141 |
programmerhumor | HeadlessEagle177 | ifzd2a0 | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Ah, my java code is breaking, let me visit r/ProgrammerHumor so I can be told Python Good, Java bad<|eor|><|soopr|>Yeah okay maybe this fits better in r/learnprogramming but still I think there are a lot of people on this sub who can relate to it :)<|eoopr|><|eols|><|endoftext|> | 136 |
programmerhumor | PM_ME_UR_POKIES_GIRL | ig0sxhi | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Thats what bros do!!!!<|eor|><|sor|>I had a bro do this to me and the girl was like "What are you doing? We're just friends."
I mean dude tried to do me right and I appreciate that but turns out my hesitate was warranted.<|eor|><|eols|><|endoftext|> | 124 |
programmerhumor | ITriedLightningTendr | ifzp8fg | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>I wouldn't be the person I am without Stackoverflow, for the better and the worse..<|eor|><|sor|>Ahh yes. I, too, have brought down enterprise systems with failed deployments.<|eor|><|sor|>At 4pm on a Friday?<|eor|><|sor|>Sometimes text physically hurts to read.<|eor|><|sor|>No, honestly, enterprise deserves to be brought down at 4 pm on a Friday.<|eor|><|eols|><|endoftext|> | 115 |
programmerhumor | onthefence928 | ifzq82q | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>So cute... When works<|eor|><|sor|>pretty much my experience with stackoverflow<|eor|><|sor|>The other result is when somebody tells you to run rm -rf * to fix your broken git merge<|eor|><|eols|><|endoftext|> | 99 |
programmerhumor | bhhla | ifzuk6n | <|sols|><|sot|>I'm glad you guys are there when I'm stuck on a problem<|eot|><|sol|>https://i.redd.it/4tnpgal23db91.gif<|eol|><|sor|>Stack overflow - "Imagine not understanding how to move your muscles. Go back and review the basics before coming back here and asking a question again. Keep it simple stupid."<|eor|><|eols|><|endoftext|> | 83 |
programmerhumor | Garlayn_toji | 11pcusm | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|eols|><|endoftext|> | 41,224 |
programmerhumor | Natural-Investment34 | jbx6cug | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>But when you fix That bug you get the old error again.<|eor|><|eols|><|endoftext|> | 1,268 |
programmerhumor | opmrcrab | jbx59t0 | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?<|eor|><|eols|><|endoftext|> | 1,018 |
programmerhumor | fignompe | jbxdmph | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>But when you fix That bug you get the old error again.<|eor|><|sor|>*Progress*<|eor|><|eols|><|endoftext|> | 535 |
programmerhumor | Lem-Ko-Tir | jbx98y5 | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?<|eor|><|sor|>A runtime error has no responsibility to announce its presence.<|eor|><|eols|><|endoftext|> | 495 |
programmerhumor | poopellar | jbxa7sy | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>99 lines of errors on the console, 99 lines of errors.
Take one down and pass it around, 12108 lines of errors on the console.<|eor|><|eols|><|endoftext|> | 231 |
programmerhumor | Ok_Entertainment328 | jbxl9fs | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>Worst part is: finding out that the error is not due to your bug.<|eor|><|eols|><|endoftext|> | 192 |
programmerhumor | dmvdoug | jbxkfnp | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>But when you fix That bug you get the old error again.<|eor|><|sor|>*Progress*<|eor|><|sor|>Progress around the circle!<|eor|><|eols|><|endoftext|> | 162 |
programmerhumor | Dane1414 | jbxzlz1 | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?<|eor|><|sor|>A runtime error has no responsibility to announce its presence.<|eor|><|sor|>These free-loafing runtime errors need to learn some goddamn responsibility<|eor|><|eols|><|endoftext|> | 149 |
programmerhumor | Synicull | jby5bc8 | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?<|eor|><|sor|>Run cryptic print statements every 5 lines.
Did I get to "hello5" or "shit17"?<|eor|><|eols|><|endoftext|> | 116 |
programmerhumor | NoooUGH | jbxivgr | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>if ___name___ == '____main____':
try:
program():
except:
program():
finally:
program():
print('you are a God programmer')
Reddit formatting screws with this one<|eor|><|eols|><|endoftext|> | 100 |
programmerhumor | JRandomHacker172342 | jbxlj2i | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>"New errors are good errors" is something I've frequently said when working on a tough bug with teammates<|eor|><|eols|><|endoftext|> | 95 |
programmerhumor | CraZyBob | jby04os | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>But when you fix That bug you get the old error again.<|eor|><|sor|>Bout to say or you created a new bug.<|eor|><|sor|>99 errors in code on the page,
99 errors in code,
Fix one up, push up the patch,
127 errors in code on the page<|eor|><|eols|><|endoftext|> | 86 |
programmerhumor | IamImposter | jbxzw09 | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?<|eor|><|sor|>Write a unit test<|eor|><|sor|>It's worse when the tests pass too :P<|eor|><|sor|>Haha. You can make me write tests but you'll never make me catch bugs.
Had a friend who would change tests when they failed so that expected output matches actual output. Code would be buggy AF but all the tests still pass. When asked, he said pretty innocently "but you have this weird rule that unless the tests pass, code can't be merged"<|eor|><|eols|><|endoftext|> | 67 |
programmerhumor | Terrence_shark | jbxnmdp | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>I think I'd enjoy coding for this reason, or well a similar reason, I enjoy seeing something that doesn't work, looking at it and trying things to figure out *why* it doesn't work, and how to make it work<|eor|><|eols|><|endoftext|> | 63 |
programmerhumor | sesor33 | jbyi0en | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>Worst part is: finding out that the error is not due to your bug.<|eor|><|sor|>Has that happen to me last week. Spent 2 hours debugging some data logging stuff because someone said some data was missing. After 2 hours I finally realized: the thing they were complaining about not seeing wasn't even sending data, and hadn't for the last few days.
Keep in mind, before I started debugging I asked them "are you sure it's actually logging to the DB?" And I was told yes.<|eor|><|eols|><|endoftext|> | 63 |
programmerhumor | start_select | jbxndjy | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>When debugging there is no bigger gut-punch moment then when the code runs, completes "successfully", seemingly did nothing, and produced neither errors or desired results... What do now?<|eor|><|sor|>Use breakpoints if your environment has access to a debugger.
If you are working with a remote, isolated, or embedded system that you can not access with a debugger, then you need to use console/print and stack trace calls.
It didnt do anything is not a valid stopping point. It definitely did something up to a point.
Set breakpoints along the path of data-flow and logic, step through it, and find where data stopped flowing and why.
Those are usually the easiest bugs to fix because its usually an if or switch statement that has improper logic, or something like an empty array that you thought would be full.
Actual difficult bugs are side effects. Like you hand the same JavaScript Date instance to 3 different labels, then perform the same Timezone transform on that date, from each of those 3 labels.
They all refer to the same Date instance, they arent copies, its all the same object. So you end up pushing the first label forward 6 hours, then the next label executes and pushed that date 6 more hours forward, then a 3rd time.
Your code says it should only be offsetting the time by 6 hours but its always moving in increments of 18. Or 12 if there are 2 labels. Or 36 hours if there are 6 labels.
Those are the issues that can take a seasoned engineer a couple days to find, because the code looks harmless and you need to understand the implications of shared references and data mutability.<|eor|><|eols|><|endoftext|> | 62 |
programmerhumor | itstommygun | jbxm36d | <|sols|><|sot|>Exactly how debugging is<|eot|><|sol|>https://i.redd.it/fib1j8y2acna1.jpg<|eol|><|sor|>But when you fix That bug you get the old error again.<|eor|><|sor|>Bout to say or you created a new bug.<|eor|><|eols|><|endoftext|> | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.