subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | VioletteKaur | f90gn4e | <|sols|><|sot|>Always finding these gems in production<|eot|><|sol|>https://i.redd.it/yppds5nr6b141.png<|eol|><|sor|>looks like everything is always cool<|eor|><|sor|>True<|eor|><|sor|>Cool.<|eor|><|sor|>Scrub<|eor|><|sor|>I don't want no scrub...<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | orondf343 | 7bkhy1 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|eols|><|endoftext|> | 830 |
programminghorror | coyote_den | dpj1tng | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>I once saw the Linux kernel spit out
/dev/hda: device is bollixed
And believe me, it was.<|eor|><|eols|><|endoftext|> | 155 |
programminghorror | Enginx | dpipt0k | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>JFFS2 filesystem has a scary one too:
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:34 UTC (34)
VFS: Mounted root (jffs2 filesystem) on device 31:1.
F... | 83 |
programminghorror | lucuma | dpitejl | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|sor|>That would be great. "Everything worked as designed" Error. <|eor|><|eols|><|endofte... | 58 |
programminghorror | virtulis | dpisrft | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|eols|><|endoftext|> | 53 |
programminghorror | TortoiseWrath | dpj8gji | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>"This array has no size, and that's bad" - Apple MPW C compiler, late 80s<|eor|><|eols|><|endoftext|> | 45 |
programminghorror | Miss_Page_Turner | dpjg9my | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Many years ago, I was watching cable TV on a motorola box. browsing through the message log, I see an error titled "Bill said this would never happen!" (well, Bill, IT HAPPENED!) <|... | 39 |
programminghorror | UshankaDalek | dps8q09 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>I once saw the Linux kernel spit out
/dev/hda: device is bollixed
And believe me, it was.<|eor|><|sor|>Huh, and here I always thought it was spelled "bollocksed". TIL.<|eor|><|... | 27 |
programminghorror | lucuma | dpj44a5 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|sor|>That would be great. "Everything worked as designed" Error. <|eor|><|sor|>`throw new... | 25 |
programminghorror | spinicist | dpj8zu8 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>JFFS2 filesystem has a scary one too:
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:34 UTC (34)
VFS: Mounted root (jffs2 filesystem) on device 31:1.
F... | 19 |
programminghorror | z500 | dpjyogo | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>"This array has no size, and that's bad" - Apple MPW C compiler, late 80s<|eor|><|sor|>Sassiest compiler ever.<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | coyote_den | dpsa0qs | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>I once saw the Linux kernel spit out
/dev/hda: device is bollixed
And believe me, it was.<|eor|><|sor|>Huh, and here I always thought it was spelled "bollocksed". TIL.<|eor|><|... | 17 |
programminghorror | spinicist | dpj9334 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|sor|>That would be great. "Everything worked as designed" Error. <|eor|><|sor|>My favouri... | 14 |
programminghorror | coyote_den | dpj2x40 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|sor|>You joke, but I've seen Python code that if something unexpected happens, handles th... | 12 |
programminghorror | TortoiseWrath | dpj8pec | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|sor|>That would be great. "Everything worked as designed" Error. <|eor|><|sor|>I have acc... | 12 |
programminghorror | Tyler11223344 | dpj884i | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>wait, what, you can do that?!!!!<|eor|><|sor|>What, throw exceptions?<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | Porges | dpk1wes | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>JFFS2 filesystem has a scary one too:
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:34 UTC (34)
VFS: Mounted root (jffs2 filesystem) on device 31:1.
F... | 10 |
programminghorror | lucuma | dpjpa68 | <|sols|><|sot|>The scariest exception you can get from a third-party library<|eot|><|sol|>https://i.redd.it/tu40hbb9aqwz.png<|eol|><|sor|>Well, it would be way weirder to throw an exception when something expected happens.<|eor|><|sor|>That would be great. "Everything worked as designed" Error. <|eor|><|sor|>`throw new... | 9 |
programminghorror | XLgaming_inc | hul5x3 | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|eols|><|endoftext|> | 825 |
programminghorror | weedebee | fynpa21 | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|eols|><|endoftext|> | 210 |
programminghorror | LucasDuck13 | fynpp58 | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|>Yeah I'm Dutch myself but ke... | 105 |
programminghorror | zandnaad69 | fynzq3b | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>I'm dutch myself. This is the perfect example why I define everything in English.
But its the diminutives that really get me. god damn<|eor|><|eols|><|endoftext|> | 83 |
programminghorror | Lewistrick | fyovjgg | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|> #define define definieer... | 51 |
programminghorror | ThedutchMan101 | fyo25c1 | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|>Even as a dutch person im sh... | 49 |
programminghorror | segft | fyobi5y | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Surely worse than the line breaks is the fact that all the
```
if (a) { x = true; }
else { x = false; }
```
could be written as `x = a`<|eor|><|eols|><|endoftext|> | 38 |
programminghorror | Altenburg | fynzhvo | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>My favorite is the labeling of the ends for the if, else, and while lol<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | camtarn | fyo172c | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>This person heard "make your functions as short as possible - if they're over fifty lines long, you should split the code into multiple functions." and took it to heart.<|eor|><|eols|><|endoftext|> | 29 |
programminghorror | XLgaming_inc | fyocmgx | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|>As someone who only knows En... | 23 |
programminghorror | casualdoge | fyo34dj | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>This person heard "make your functions as short as possible - if they're over fifty lines long, you should split the code into multiple functions." and took it to heart.<|eor|><|sor|>This is a assignment for ... | 20 |
programminghorror | Caedendi | fyo9u5k | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|>Also Symetrie is spelled wro... | 19 |
programminghorror | anon38723918569 | fyo8ika | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>This person heard "make your functions as short as possible - if they're over fifty lines long, you should split the code into multiple functions." and took it to heart.<|eor|><|sor|>This is a assignment for ... | 19 |
programminghorror | falthazar | fyocaw1 | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|>As someone who only knows En... | 16 |
programminghorror | jun_null | fyno69v | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Oh God that's awful. I hope you're using formatting tools like clang-format.<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | LeMads | fyoavqu | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>This person heard "make your functions as short as possible - if they're over fifty lines long, you should split the code into multiple functions." and took it to heart.<|eor|><|sor|>This is a assignment for ... | 13 |
programminghorror | BakuhatsuK | fyp8e6j | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Surely worse than the line breaks is the fact that all the
```
if (a) { x = true; }
else { x = false; }
```
could be written as `x = a`<|eor|><|sor|>[deleted]<|eor|><|sor|>The result will be bool in `x = a;... | 12 |
programminghorror | casualdoge | fyo2r7m | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Universiteit leiden! Mooi man, ik heb deze opdracht ook gemaakt, ik wacht nog steeds op mijn punt..<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | Gydo194 | fyozgfx | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>Not only are variable names, methods and functions in Dutch, but the author uses the diminutive form of nouns for some variables, which makes this code even weirder..<|eor|><|sor|> #define define definieer... | 10 |
programminghorror | jkctech | fyoiipp | <|sols|><|sot|>Line breaks? What are those? [c++]<|eot|><|sol|>https://i.redd.it/xky96y4uj0c51.png<|eol|><|sor|>T E G E N S T A N D E R T J E<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | DawidIzydor | cbf5fb | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|eols|><|endoftext|> | 824 |
programminghorror | xDprinDx | etf3ayb | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Does this code read doctors handwriting?<|eor|><|sor|>Is there a doctors handwriting font?<|eor|><|eols|><|endoftext|> | 81 |
programminghorror | FrankieCutlets | etf3pkh | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Maybe M is a default value, and the programmer is trying to explicitly show that an important if condition requires the default value. This way it doesnt look like they just forgot that important condition?<|eor|><|eols|>... | 63 |
programminghorror | DawidIzydor | etf3z73 | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Does this code read doctors handwriting?<|eor|><|sor|>Is there a doctors handwriting font?<|eor|><|soopr|>> doctors handwriting font?
Maybe this?
[https://fontlot.com/79205/the-doctor-handwritten-font/](https://fontlot.... | 55 |
programminghorror | DawidIzydor | etf3xnf | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Maybe M is a default value, and the programmer is trying to explicitly show that an important if condition requires the default value. This way it doesnt look like they just forgot that important condition?<|eor|><|soopr|... | 47 |
programminghorror | BubsyFanboy | etf389d | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>What is this scribble code? What black magic allowed this to exist?<|eor|><|eols|><|endoftext|> | 44 |
programminghorror | TinyBreadBigMouth | etfatfw | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>What is this scribble code? What black magic allowed this to exist?<|eor|><|sor|>MS Paint<|eor|><|eols|><|endoftext|> | 31 |
programminghorror | Finianb1 | etfhj4e | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>What is this scribble code? What black magic allowed this to exist?<|eor|><|sor|>MS Paint<|eor|><|sor|>or GIMP, I guess<|eor|><|sor|>Or just a really bad font displaying some Unicode. There are actually a few dead languag... | 15 |
programminghorror | JuvenileEloquent | etfcatw | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|> if <x>:
return 'Z'
else if <y>:
return 'M'
else if <z>:
return 'A'
return 'M' # default for any invalid case
Now someone tells you that case <z> is not to be checked any more,... | 13 |
programminghorror | BubsyFanboy | etfgax6 | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>What is this scribble code? What black magic allowed this to exist?<|eor|><|sor|>MS Paint<|eor|><|sor|>or GIMP, I guess<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | DXPower | etf58j8 | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Maybe M is a default value, and the programmer is trying to explicitly show that an important if condition requires the default value. This way it doesnt look like they just forgot that important condition?<|eor|><|sor|>C... | 10 |
programminghorror | weaponizedLego | etf70il | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Does this code read doctors handwriting?<|eor|><|sor|>Is there a doctors handwriting font?<|eor|><|soopr|>> doctors handwriting font?
Maybe this?
[https://fontlot.com/79205/the-doctor-handwritten-font/](https://fontlot.... | 10 |
programminghorror | mrheosuper | etf490w | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Does this code read doctors handwriting?<|eor|><|sor|>Is there a doctors handwriting font?<|eor|><|soopr|>> doctors handwriting font?
Maybe this?
[https://fontlot.com/79205/the-doctor-handwritten-font/](https://fontlot.... | 8 |
programminghorror | pxOMR | etf1jc1 | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Nice condition<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | gagagagawtfget | etfnqjv | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>No full snippet?
else if (a == 10 && b==10)
return M;
else if (a == 10)
return B;
return M;<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | ImAStupidFace | etf97cf | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>Maybe M is a default value, and the programmer is trying to explicitly show that an important if condition requires the default value. This way it doesnt look like they just forgot that important condition?<|eor|><|sor|>C... | 6 |
programminghorror | Wubbywub | etf4i4z | <|sols|><|sot|>Well yes but also yes<|eot|><|sol|>https://i.redd.it/jp9uamepgg931.png<|eol|><|sor|>M<|eor|><|sor|>M<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | ManTuzas | 11vrpbp | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|eols|><|endoftext|> | 823 |
programminghorror | Doenerwetter | jcuo2yk | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Delete it and see what breaks.<|eor|><|eols|><|endoftext|> | 463 |
programminghorror | completedsage98 | jcuir7e | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Ask chat gpt<|eor|><|eols|><|endoftext|> | 238 |
programminghorror | nimitzhunter | jcuso92 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>if 1>0. So you xpected this to be false some times?<|eor|><|eols|><|endoftext|> | 229 |
programminghorror | ManTuzas | jcuszlh | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>if 1>0. So you xpected this to be false some times?<|eor|><|soopr|>I genuinely dont know wtf I wrote here and I just opened this file, saw this mess and decided to go ... | 179 |
programminghorror | zlehuj | jcujvjr | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>You were probably computing forces in a asymptotic Anti-de Sitter spacetime theory of gravity<|eor|><|eols|><|endoftext|> | 125 |
programminghorror | nimitzhunter | jcuusz9 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Delete it and see what breaks.<|eor|><|sor|>also my strategy, delete it and see who complains.<|eor|><|eols|><|endoftext|> | 117 |
programminghorror | SufficientCheck9874 | jcun9qh | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>You were probably computing forces in a asymptotic Anti-de Sitter spacetime theory of gravity<|eor|><|sor|>Yes, I think this guy is right. I understood more words from... | 78 |
programminghorror | lordFlaming0 | jcuw350 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Ask chat gpt<|eor|><|sor|>honestly, it's been my go-to tool for this kind of work that I know I can do if I try, but can't be bothered.<|eor|><|eols|><|endoftext|> | 76 |
programminghorror | ddanny716 | jcv15e4 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>if 1>0. So you xpected this to be false some times?<|eor|><|soopr|>I genuinely dont know wtf I wrote here and I just opened this file, saw this mess and decided to go ... | 69 |
programminghorror | liocha | jcv0adk | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>This is why we give things names<|eor|><|eols|><|endoftext|> | 65 |
programminghorror | beclops | jcuxwnh | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>You deserve what happened to you<|eor|><|eols|><|endoftext|> | 61 |
programminghorror | hellishcharm | jcwhdo7 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Delete it and see what breaks.<|eor|><|sor|>AKA mutation testing<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | ManTuzas | jcuqw4f | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>You were probably computing forces in a asymptotic Anti-de Sitter spacetime theory of gravity<|eor|><|sor|>Yes, I think this guy is right. I understood more words from... | 42 |
programminghorror | TheGirafeMan | jcunujh | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Are you trying to commit mass genocide? I barely glanced at it, and I already want to bleach my eyes<|eor|><|eols|><|endoftext|> | 41 |
programminghorror | Rainmaker526 | jcv39so | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>if 1>0. So you xpected this to be false some times?<|eor|><|sor|>There's probably a "#define 1 std::rand()" in there somewhere.
Sometimes it's 0.<|eor|><|eols|><|endo... | 40 |
programminghorror | carlrieman | jcuqj5w | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>You were probably computing forces in a asymptotic Anti-de Sitter spacetime theory of gravity<|eor|><|sor|>Yes, I think this guy is right. I understood more words from... | 35 |
programminghorror | HaMMeReD | jcv8fm6 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>The last block is fairly easy to understand
(r1,r3,r5) It looks like what they want is
data << max(0,r1) << " " << max(0,r3) << " " << max(0, r5)
The block above i... | 34 |
programminghorror | ManTuzas | jcwr217 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>This is why we give things names<|eor|><|soopr|>But short name == faster coding???!!!
/s<|eoopr|><|eols|><|endoftext|> | 31 |
programminghorror | Arshiaa001 | jcx5r3z | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Delete it and see what breaks.<|eor|><|sor|>AKA mutation testing<|eor|><|sor|>You mean "scream testing".<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | SnowyPear | jcvauy3 | <|sols|><|sot|>Had this project 2 weeks ago and now I don't know what it its (please help)<|eot|><|sol|>https://i.redd.it/ekiy8glkfqoa1.png<|eol|><|sor|>Ask chat gpt<|eor|><|sor|>honestly, it's been my go-to tool for this kind of work that I know I can do if I try, but can't be bothered.<|eor|><|sor|>It has begun<|eor|... | 30 |
programminghorror | nononoko | vc6hax | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|eols|><|endoftext|> | 818 |
programminghorror | Hubert_BDLB | iccisn7 | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>"Current limitation is 15"
This man has no dedication<|eor|><|eols|><|endoftext|> | 420 |
programminghorror | d3lt4papa | icctmzv | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>I'd love to make a PR with "Increased maximum number of arguments to 16"<|eor|><|eols|><|endoftext|> | 325 |
programminghorror | nononoko | icctw8p | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>I'd love to make a PR with "Increased maximum number of arguments to 16"<|eor|><|soopr|>https://github.com/jspython-dev/jspython/blob/8d9839820141dd11be7479669097bc1c30f0777c/src/evaluator/evaluator.ts#L89-L145<|eoopr|>... | 111 |
programminghorror | Richard13245 | iccuvli | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>That is the world where varargs dont exist<|eor|><|eols|><|endoftext|> | 107 |
programminghorror | RoseboysHotAsf | iccwxue | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>My github copilot after not knowing what to do<|eor|><|eols|><|endoftext|> | 100 |
programminghorror | aboardthegravyboat | icczggr | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>That is the world where varargs dont exist<|eor|><|sor|>They do, though :(
func(...fps) would work fine. In the old days before the spread operator you could do `func.apply(null, fps)`<|eor|><|eols|><|endoftext|> | 68 |
programminghorror | Javascript_above_all | icda9f8 | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>Correct me if i'm wrong, but
​
private invokeFunction(func: (...args: unknown[]) => unknown, fps: unknown[],
loc: { moduleName: string, line: number, column: number }): unknown {
return fun... | 67 |
programminghorror | CmdrSelfEvident | icemwhu | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>I'd love to make a PR with "Increased maximum number of arguments to 16"<|eor|><|soopr|>https://github.com/jspython-dev/jspython/blob/8d9839820141dd11be7479669097bc1c30f0777c/src/evaluator/evaluator.ts#L89-L145<|eoopr|>... | 55 |
programminghorror | BakuhatsuK | icexa4x | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>Correct me if i'm wrong, but
​
private invokeFunction(func: (...args: unknown[]) => unknown, fps: unknown[],
loc: { moduleName: string, line: number, column: number }): unknown {
return fun... | 52 |
programminghorror | TheRealSpielbergo | icdqmp3 | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>A true hero's PR got closed without a thank you or comment whatsoever :-( [https://github.com/jspython-dev/jspython/pull/26](https://github.com/jspython-dev/jspython/pull/26)
>!"File may be slightly large"!<<|eor|><|eo... | 44 |
programminghorror | itzNukeey | iccxf13 | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>My github copilot after not knowing what to do<|eor|><|sor|>My github copilots next suggestion after going through my code<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | doggoleash | icd77y7 | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>when its 3am but ur determined to make the code work<|eor|><|eols|><|endoftext|> | 27 |
programminghorror | MichealPearce | ice59vo | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>A true hero's PR got closed without a thank you or comment whatsoever :-( [https://github.com/jspython-dev/jspython/pull/26](https://github.com/jspython-dev/jspython/pull/26)
>!"File may be slightly large"!<<|eor|><|so... | 25 |
programminghorror | R4TTY | icem070 | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>A true hero's PR got closed without a thank you or comment whatsoever :-( [https://github.com/jspython-dev/jspython/pull/26](https://github.com/jspython-dev/jspython/pull/26)
>!"File may be slightly large"!<<|eor|><|so... | 23 |
programminghorror | Keve1227 | icdbo9d | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>here we go:
let toRun = "func(";
for(let i = 0; i < fps.length; i++) {
toRun += \`fps\[${i}\]\` + (fps.length - i > 1 ? ", ": ");");
}
eval(toRun);<|eor|><|sor|>That's even worse... Just do
return fun... | 21 |
programminghorror | No-Assist8676 | iccqlsl | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>What the fuck<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | ZuriPL | icddtyk | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>The fact he already used the spread operator hurts me even more<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | mguid65 | iccy7eu | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>I've seen in a JavaScript engine where there were 5 hard coded functions called call_function_1 call_function_2 ... To call loaded JS functions from C++. Anything more than 5? Not allowed.<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | BakuhatsuK | icex1sv | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>That is the world where varargs dont exist<|eor|><|sor|>Had to do something similar in C when using a game lib that deliberately had about 10 versions of the same function just for the extra parameter each time. It didn... | 14 |
programminghorror | lucferon | iccbsop | <|sols|><|sot|>Found in an interpreter<|eot|><|sol|>https://i.redd.it/iuvrjmoayl591.png<|eol|><|sor|>Looks like the office interop, I guess it had to be done this way because of COM<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | wojtek-graj | t3sffh | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|eols|><|endoftext|> | 819 |
programminghorror | danyil20xx | hyu9zzo | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>This is my least favourite thing!<|eor|><|eols|><|endoftext|> | 98 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.