subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | memepalm | i2675hj | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>can you send us the file? i tried going to the url in the screenshot but it doesnt work
[starbucks.com/app-asses/vendor.59cf327cc6af7079a33d.js](https://starbucks.com/app-asses/vendor.59cf327cc6af7079a33d.js)
edit: a... | 71 |
programminghorror | CptMisterNibbles | i26bnlw | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>>donkeyribber
learnt a new word, thanks Starbucks<|eor|><|sor|>Cant wait to use twunter<|eor|><|eols|><|endoftext|> | 59 |
programminghorror | Noctus_Rex | i26mtks | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>"boob"
"boobs"
"booobs"
"boooobs"
"booooobs"
"booooooobs"<|eor|><|eols|><|endoftext|> | 55 |
programminghorror | AstronautInTheLotion | i26d70l | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>Booba not on the list<|eor|><|sor|>booba is badn't word<|eor|><|eols|><|endoftext|> | 54 |
programminghorror | qqqrrrs_ | i26d5rr | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>so "booooooooooooooooooooooooooooooooooooooooooooooooooobs" is okay?<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | _nekto | i26gmmd | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>Booba not on the list<|eor|><|sor|>booba is badn't word<|eor|><|sor|>Can I have a booba tea?<|eor|><|eols|><|endoftext|> | 45 |
programminghorror | Battalist | i26cuxu | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>can you send us the file? i tried going to the url in the screenshot but it doesnt work
[starbucks.com/app-asses/vendor.59cf327cc6af7079a33d.js](https://starbucks.com/app-asses/vendor.59cf327cc6af7079a33d.js)
edit: a... | 44 |
programminghorror | JungleLiquor | i27lhmc | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>Surprisingly specific, and I learned a couple things. Thanks Starbucks!<|eor|><|sor|>Youve just been *Vaginitis*^ed<|eor|><|eols|><|endoftext|> | 42 |
programminghorror | Fading-Ghost | i265nfr | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>ClungeMungler is not on the list<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | cardiacbadge48 | i26kass | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>#they included BOOOOOBS amd BOOOOOOOBS but forgot BOOOOOOBS<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | badmonkey0001 | i26ro17 | <|sols|><|sot|>Starbucks Bad Words List<|eot|><|sol|>https://i.redd.it/e1791biq5op81.png<|eol|><|sor|>I don't think that's a Starbucks list. This is a vendors webpack chunk js file with a hash for cache bushing. "vendors" is external library's. And the license text does not credit any library author related to the Star... | 25 |
programminghorror | CSsharpGO | px9wun | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|eols|><|endoftext|> | 1,204 |
programminghorror | Hemithec0nyx | hem77a9 | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>I can't find the post anymore but I think he actually posted "why is the answer 5 ?"<|eor|><|eols|><|endoftext|> | 360 |
programminghorror | JackoKomm | hemcte6 | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 263 |
programminghorror | Educational-Lemon640 | hemzkl9 | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>A better question would be "Is the programmer *completely insane*?"
Seriously, while well-defined languages will have rules for something like this and thus the answer is deterministic, *who cares*? If you ever try to... | 249 |
programminghorror | Sevigor | hen2wq3 | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>I can't find the post anymore but I think he actually posted "why is the answer 5 ?"<|eor|><|sor|>I was gonna say. Lol After reading I started questioning myself cause I kept getting 5.<|eor|><|eols|><|endoftext|> | 129 |
programminghorror | ShakaUVM | hemvmwc | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 118 |
programminghorror | BobSanchez47 | hem279l | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>Shouldnt it be 4?
Edit: its +=, so its actually 5. I have checked the code by running it and got 5. So its rather bizarre that theyd ask why the answer isnt 5.<|eor|><|eols|><|endoftext|> | 109 |
programminghorror | CSsharpGO | hem7bmo | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>I can't find the post anymore but I think he actually posted "why is the answer 5 ?"<|eor|><|soopr|>Oh, my mistake then.<|eoopr|><|eols|><|endoftext|> | 80 |
programminghorror | troelsbjerre | hen0dzk | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 75 |
programminghorror | LogicalGamer123 | hemhqij | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>Is this what I think it is? BlueJ?<|eor|><|eols|><|endoftext|> | 58 |
programminghorror | XeitPL | hen1one | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 58 |
programminghorror | Magmagan | hen3geu | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 49 |
programminghorror | PizzaRollExpert | hemyq9y | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 48 |
programminghorror | ChrisPy83Ber | hem93im | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>Shouldnt it be 4?
Edit: its +=, so its actually 5. I have checked the code by running it and got 5. So its rather bizarre that theyd ask why the answer isnt 5.<|eor|><|sor|>5 indeed, also thought its 4, but I missed t... | 44 |
programminghorror | 0x506F7461746F | hemgsbz | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>Shouldnt it be 4?
Edit: its +=, so its actually 5. I have checked the code by running it and got 5. So its rather bizarre that theyd ask why the answer isnt 5.<|eor|><|sor|>It's 2 right?
1 += 2/1 * 1 + (-1) = 2*1 -... | 42 |
programminghorror | zman0900 | hen8m38 | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 42 |
programminghorror | anonymous_2187 | hemj4fs | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>r/screenshotsarehard<|eor|><|eols|><|endoftext|> | 41 |
programminghorror | furon747 | hemyd0l | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>In many languages it is undefined of you use a variable multiple times in an expression while you increment/decrement it. Don't know how it is in Java. But it is easy. You should never so something like that. Just beca... | 37 |
programminghorror | Reelix | hendptn | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>This looks like the type of question you have in a programming exam, yet if you ever typed anything close to it in a real job you'd get fired.<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | UnacceptableUse | henigpr | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>I can't find the post anymore but I think he actually posted "why is the answer 5 ?"<|eor|><|sor|>I was gonna say. Lol After reading I started questioning myself cause I kept getting 5.<|eor|><|sor|>Fuck, I thought it ... | 31 |
programminghorror | 0x506F7461746F | hemkram | <|sols|><|sot|>Why is the answer not 5?<|eot|><|sol|>https://i.redd.it/j0jlkbbxr9q71.jpg<|eol|><|sor|>Shouldnt it be 4?
Edit: its +=, so its actually 5. I have checked the code by running it and got 5. So its rather bizarre that theyd ask why the answer isnt 5.<|eor|><|sor|>It's 2 right?
1 += 2/1 * 1 + (-1) = 2*1 -... | 29 |
programminghorror | OTBAPHOu | l65zac | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|eols|><|endoftext|> | 1,197 |
programminghorror | malleoceruleo | gkye0y2 | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|eols|><|endoftext|> | 241 |
programminghorror | kodicraft4 | gkyerbk | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>make that a public int and yeet some [`testCode.ONE`](... | 96 |
programminghorror | Chromana | gkz4m8r | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 66 |
programminghorror | Waterprop | gkyi6v3 | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Not even ONE_INT or ONE_FLOAT?? That's very confusing ... | 37 |
programminghorror | huckReddit | gkylfd4 | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | s96g3g23708gbxs86734 | gkz8j0f | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>C'mon you can replace it with `function index(int i) {return i;}`!!<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | blueleo22 | gkz90qp | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 28 |
programminghorror | huge_clock | gkz75r0 | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 25 |
programminghorror | Statharas | gkysbh1 | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 16 |
programminghorror | lewisjet | gl0pcjz | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>make that a public int and yeet some [`testCode.ONE`](... | 14 |
programminghorror | zandnaad69 | gkzn7ei | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>Yandere is that you?<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | OTBAPHOu | gkzqzhb | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>Yandere is that you?<|eor|><|soopr|>I mean, I don't know what's his experience, but mine was around 1-2 weeks at that moment Xd<|eoopr|><|eols|><|endoftext|> | 11 |
programminghorror | Pagefile | gkz7g7z | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 11 |
programminghorror | tech6hutch | gkyvxux | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 11 |
programminghorror | lupercalpainting | gkzjt2r | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Why they did that?<|eor|><|sor|>[deleted]<|eor|><|sor|... | 11 |
programminghorror | Statharas | gkys6qq | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>I worked for a company with a hard rule of "no magic numbers" so people would do exactly this all the time. I can't tell you how many files had ONE = 1.<|eor|><|sor|>Not even ONE_INT or ONE_FLOAT?? That's very confusing ... | 9 |
programminghorror | piratesec | gl1mvi9 | <|sols|><|sot|>Made this 1 year ago..<|eot|><|sol|>https://i.redd.it/5au8aqyb1wd61.png<|eol|><|sor|>Yandere is that you?<|eor|><|soopr|>I mean, I don't know what's his experience, but mine was around 1-2 weeks at that moment Xd<|eoopr|><|sor|>Yandere is in a looping state of 3 weeks experience.<|eor|><|eols|><|endoftex... | 8 |
programminghorror | sufilevy | vp40dt | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|eols|><|endoftext|> | 1,198 |
programminghorror | Z3Ni3L | iegxax6 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>This makes me angry<|eor|><|eols|><|endoftext|> | 219 |
programminghorror | ltrbomb10 | ieh5es5 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Multiples layer of verification<|eor|><|eols|><|endoftext|> | 155 |
programminghorror | klimmesil | iegy6no | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Looks like js/ts to me so im sure it's someone that was questioning existance itself after a bullshit bug, and decided to add line 4 because he wasn't sure about 2+2=4 anymore. I mostly work with js sorry I had to t... | 94 |
programminghorror | zerovian | iegyg9x | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>This makes me angry<|eor|><|sor|>it could be worse. it needs the name fixed and another variant added. Name this one definitelyEquals() and have another called almostEquals() that uses ==.
Probably is best to leav... | 77 |
programminghorror | zerovian | ieh0h3e | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>This makes me angry<|eor|><|sor|>it could be worse. it needs the name fixed and another variant added. Name this one definitelyEquals() and have another called almostEquals() that uses ==.
Probably is best to leav... | 76 |
programminghorror | backfire10z | iehbueh | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Multiples layer of verification<|eor|><|sor|>Always have an out for cosmic bit changes<|eor|><|eols|><|endoftext|> | 68 |
programminghorror | Bulji | ieh5nv4 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Seems like someone had a brainfart with the ternary, realized the brainfart and fixed it on the next line but then had another brainfart by forgetting to remove the first ternary
Also, I had a brainfart typing this... | 60 |
programminghorror | apotentiallytempacc | ieh99og | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Its funny how most people complain about the returns rather than about the function itself. Whats next, checkGreaterThan()?<|eor|><|eols|><|endoftext|> | 41 |
programminghorror | la_amit | iehw695 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>I bet the call to this function looks something like
If (checkEqual (x, y) === true)
return true;<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | Z3Ni3L | iegz1gi | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>This makes me angry<|eor|><|sor|>it could be worse. it needs the name fixed and another variant added. Name this one definitelyEquals() and have another called almostEquals() that uses ==.
Probably is best to leav... | 38 |
programminghorror | kinggot | iei6rgo | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Multiples layer of verification<|eor|><|sor|>2 factor authentication<|eor|><|eols|><|endoftext|> | 31 |
programminghorror | R3D3-1 | iehi218 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Seems like someone had a brainfart with the ternary, realized the brainfart and fixed it on the next line but then had another brainfart by forgetting to remove the first ternary
Also, I had a brainfart typing this... | 26 |
programminghorror | Yark1y | iehityq | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>git blame, please<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | dakkarkom | ieiuvdq | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Multiples layer of verification<|eor|><|sor|>Always have an out for cosmic bit changes<|eor|><|sor|>I have indeed observed this exactly one time in my 20+ years of working with computers (a bit flipped in a text fil... | 19 |
programminghorror | EliselD | iei0n9w | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Let's make this into a npm package<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | sufilevy | iegzh0s | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Looks like js/ts to me so im sure it's someone that was questioning existance itself after a bullshit bug, and decided to add line 4 because he wasn't sure about 2+2=4 anymore. I mostly work with js sorry I had to t... | 15 |
programminghorror | 1ElectricHaskeller | ieh73rs | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>I sometimes include a second statement. Just in the random case my pc has a bitflip and jumps to the next line<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | shrihankp12 | iej8vz6 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>I bet the call to this function looks something like
If (checkEqual (x, y) === true)
return true;<|eor|><|sor|>You mean this:
if(checkEqual(x,y) === true){
return checkEqual(x,y) === true ? true : fal... | 11 |
programminghorror | Pasemek | iehfpj4 | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Its funny how most people complain about the returns rather than about the function itself. Whats next, checkGreaterThan()?<|eor|><|sor|>and that wouldn't be useful becaaaaause.....? /s<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | pitittatou | iehugmx | <|sols|><|sot|>I have so many questions...<|eot|><|sol|>https://i.redd.it/wbrnhfr9az891.png<|eol|><|sor|>Its funny how most people complain about the returns rather than about the function itself. Whats next, checkGreaterThan()?<|eor|><|sor|>and that wouldn't be useful becaaaaause.....? /s<|eor|><|sor|>><|eor|><|eols|>... | 10 |
programminghorror | Kintler11 | kxtt5s | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|eols|><|endoftext|> | 1,197 |
programminghorror | escargotBleu | gjcr20v | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|eols|><|endoftext|> | 278 |
programminghorror | Leamir | gjc7p19 | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Well, you had to know FOR SURE if the flag was true...<|eor|><|sor|>Yeah, imagine if it changed just after we checked last time...<|eor|><|eols|><|endoft... | 179 |
programminghorror | devhashtag | gjdfo8i | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Well, you had to know FOR SURE if the flag was true...<|eor|><|sor|>Yeah, imagine if it changed just after we checked last time...<|eor|><|sor|>Imagine d... | 113 |
programminghorror | ZylonBane | gjco3d4 | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Gotta make sure it's not a false flag operation.<|eor|><|eols|><|endoftext|> | 94 |
programminghorror | ZylonBane | gjd3myq | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|soopr|>I think I want to REALLY make sure that it works properly.
I'll do:
if(flag == true && fla... | 84 |
programminghorror | Kintler11 | gjcrql1 | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|soopr|>I think I want to REALLY make sure that it works properly.
I'll do:
if(flag == true && fla... | 82 |
programminghorror | _waltzy | gjcrhis | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|sor|>`timer2 -= Convert.ToInt32(flag) * Time.deltaTime;`<|eor|><|eols|><|endoftext|> | 70 |
programminghorror | Dornith | gjcwed8 | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Well, you had to know FOR SURE if the flag was true...<|eor|><|sor|>This looks like how I might have protected against race conditions in high school.
*... | 68 |
programminghorror | bushrow | gjco8xf | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Hes making a flag, checking it twice, gonna find out whos truthy or falsy<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | emelrad12 | gjds5me | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Well, you had to know FOR SURE if the flag was true...<|eor|><|sor|>Yeah, imagine if it changed just after we checked last time...<|eor|><|sor|>Imagine d... | 40 |
programminghorror | zeGolem83 | gjdpjzu | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|soopr|>I think I want to REALLY make sure that it works properly.
I'll do:
if(flag == true && fla... | 37 |
programminghorror | PsychicDelilah | gje7jtx | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Well, you had to know FOR SURE if the flag was true...<|eor|><|sor|> Makin' an if
Checkin' it twice
Gotta make sure
This flag is set right<|eor|><|... | 35 |
programminghorror | 8asdqw731 | gje8km1 | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|soopr|>I think I want to REALLY make sure that it works properly.
I'll do:
if(flag == true && fla... | 33 |
programminghorror | Twenmod | gjdoywf | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Also multiply time.deltatime by 1 for no reason<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | Marrrkkkk | gjdmc5p | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>You can refactor by doing if (flag && flag) :D<|eor|><|sor|>`timer2 -= Convert.ToInt32(flag) * Time.deltaTime;`<|eor|><|sor|>[deleted]<|eor|><|sor|>Not c... | 25 |
programminghorror | kuilin | gjdyiml | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Well, you had to know FOR SURE if the flag was true...<|eor|><|sor|>Yeah, imagine if it changed just after we checked last time...<|eor|><|sor|>Imagine d... | 23 |
programminghorror | Kintler11 | gjdj0gi | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>That's from Unity, right? :P<|eor|><|soopr|>Yep, the starting place for all level 100 master hackers<|eoopr|><|eols|><|endoftext|> | 21 |
programminghorror | Itss_Mee | gjdhtk6 | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>Two step verification!<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | Warrangota | gjcytki | <|sols|><|sot|>Found this in an old script of mine. I don't know why or how I did this, but I made this.<|eot|><|sol|>https://i.redd.it/k21slp9wrhb61.png<|eol|><|sor|>When you don't have ECC RAM and don't want to risk flipped bits<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | hodor_seuss_geisel | h8cg27 | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|eols|><|endoftext|> | 1,199 |
programminghorror | escargotBleu | fuq5pfk | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>I usually stop at $result37<|eor|><|eols|><|endoftext|> | 178 |
programminghorror | routrax | fuq51od | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>That's less than optimal.<|eor|><|eols|><|endoftext|> | 64 |
programminghorror | hodor_seuss_geisel | fuqbuon | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>Can somebody ELI5? Love this sub but I'm a brainlet.<|eor|><|soopr|>For one, the "mysql\_query" function has been deprecated and/or removed for years now and sh... | 57 |
programminghorror | aduckandanaxe | fuqa4ge | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>I usually stop at $result37<|eor|><|sor|>Why not $result42?<|eor|><|sor|>It has already been computed<|eor|><|eols|><|endoftext|> | 51 |
programminghorror | SGVsbG86KQ | fuqddlg | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>That's less than optimal.<|eor|><|soopr|>I'm a little rusty with PHP, but how about this for some useless efficiency/refactoring?
define("ARBITRARY_LIMIT",... | 49 |
programminghorror | hodor_seuss_geisel | fuqazv2 | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>That's less than optimal.<|eor|><|soopr|>I'm a little rusty with PHP, but how about this for some useless efficiency/refactoring?
define("ARBITRARY_LIMIT",... | 38 |
programminghorror | Mr_Redstoner | fuqde2q | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>Can somebody ELI5? Love this sub but I'm a brainlet.<|eor|><|soopr|>For one, the "mysql\_query" function has been deprecated and/or removed for years now and sh... | 38 |
programminghorror | Chaike | fur5ym2 | <|sols|><|sot|>I hope "Complete SQL Bootcamp 2020" isn't churning out students who code like this<|eot|><|sol|>https://i.redd.it/o2wzzyovvp451.png<|eol|><|sor|>Execute query 66<|eor|><|eols|><|endoftext|> | 27 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.