subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | balyedi | hvrapux | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>for those who wanna see the [issue](https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issues/123)<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | chisdoesmemes | hvr2a7g | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>I'm more concerned that there are people who disliked this comment<|eor|><|sor|>they wanted their computer to suffer<|eor|><|eols|><|endoftext|> | 63 |
programminghorror | zman0900 | hvrhap8 | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>Nothing like the first time you learn how dangerous `rm -rf` is by accidentally adding a space. Up there with accidentally leaving a where clause off of your delete/update in SQL<|eor|><|sor|>Have done both before. Now my first cha... | 57 |
programminghorror | _chebro | hvs3azd | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>I'm more concerned that there are people who disliked this comment<|eor|><|sor|>id like to think that they mean the bug instead of the issue itself<|eor|><|sor|>i just downvoted you because i didn't like the bug :)<|eor|><|eols|><|... | 37 |
programminghorror | AlexRT410 | hvrsphn | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>I always do extra testing of any script with an rm -rf for exactly this reason<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | SunshineOneDay | hvs18b4 | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>A very long time ago I was making a Sendmail config file, I think.
An extra space, entirely invisible, fucked it over. For well over a year I couldn't figure out what the shit was going on.
Ended up going to Postfix for a while.
... | 21 |
programminghorror | myquealer | hvrwkcv | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>Always a nightmare of mine. Is there something I can add to .bashrc so rm -rf only accepts one argument?<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | PranshuKhandal | hvsdx91 | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>I'm more concerned that there are people who disliked this comment<|eor|><|sor|>id like to think that they mean the bug instead of the issue itself<|eor|><|sor|>i just downvoted you because i didn't like the bug :)<|eor|><|sor|>i d... | 21 |
programminghorror | Shawnj2 | hvrhw7o | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>I'm more concerned that there are people who disliked this comment<|eor|><|sor|>They are suicide Linux users<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | staletic | hvsdw7k | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>Nothing like the first time you learn how dangerous `rm -rf` is by accidentally adding a space. Up there with accidentally leaving a where clause off of your delete/update in SQL<|eor|><|sor|>Have done both before. Now my first cha... | 15 |
programminghorror | Sillocan | hvrz9by | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>This is why you quote arguments<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | 6b86b3ac03c167320d93 | hvsidlg | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>Nothing like the first time you learn how dangerous `rm -rf` is by accidentally adding a space. Up there with accidentally leaving a where clause off of your delete/update in SQL<|eor|><|sor|>Have done both before. Now my first cha... | 12 |
programminghorror | NatoBoram | hvttclg | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>for those who wanna see the [issue](https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issues/123)<|eor|><|sor|>Stupid people spamming issues with irrelevant comments :/
"HeLlO frOm oCtOber 2018"<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | ForgetTheRuralJuror | hvsdwew | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>Always a nightmare of mine. Is there something I can add to .bashrc so rm -rf only accepts one argument?<|eor|><|sor|>Use trash cli<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | UnchainedMundane | hvsbilx | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>Always a nightmare of mine. Is there something I can add to .bashrc so rm -rf only accepts one argument?<|eor|><|sor|>can always hack together something like this in your bashrc:
rm() {
local arg
for arg do
... | 9 |
programminghorror | KickBassColonyDrop | hvs6moo | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|sor|>I remember this bug. Not personally, but when it popped up. Comedy gold.<|eor|><|eols|><|endoftext|> | 7 |
programminghorror | shinx32 | nse82o | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|eols|><|endoftext|> | 1,688 |
programminghorror | qqqrrrs_ | h0m1gua | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|eols|><|endoftext|> | 366 |
programminghorror | Blazerboy65 | h0ns2c7 | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|sor|>> Multiple Leviathan class errors detected in your area. Are you sure what you're doing is worth it?<|eor|><|eols|><|endoftext|> | 277 |
programminghorror | Diapolo10 | h0mjaam | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>That's about the same as the current codebase I'm working on!<|eor|><|eols|><|endoftext|> | 150 |
programminghorror | BenjaminGeiger | h0nt7r3 | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|sor|>> Multiple Leviathan class errors detected in your area. Are you sure what you're doing is worth it?<|eor|><|sor|>Beep. Boop. I'm a ro... | 121 |
programminghorror | scrambled_potato | h0nkdpa | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>You do realise we sacrifice goats as a sign of respect to the gods in Nepal<|eor|><|eols|><|endoftext|> | 105 |
programminghorror | shinx32 | h0nlpji | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>You do realise we sacrifice goats as a sign of respect to the gods in Nepal<|eor|><|soopr|>Oh yes it's all coming together.<|eoopr|><|eols|><|endoftext|> | 86 |
programminghorror | Diapolo10 | h0nyxyz | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>That's about the same as the current codebase I'm working on!<|eor|><|sor|>Just noticed your flair, what an amazing game<|eor|><|sor|>Thanks, nothing beats playing Russian roulette on the p... | 75 |
programminghorror | Reddit-Book-Bot | h0ns2vd | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|sor|>> Multiple Leviathan class errors detected in your area. Are you sure what you're doing is worth it?<|eor|><|sor|>Beep. Boop. I'm a ro... | 64 |
programminghorror | Sicatho | h0ms4ut | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>Such a nostalgic error! Not like Ive been coding forever or anything like that, I just had to use Valgrind for college last year. Its actually a very detailed and comprehensive tool that m... | 61 |
programminghorror | shinx32 | h0nj0ae | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|soopr|>So many errors it didn't report any more.<|eoopr|><|eols|><|endoftext|> | 47 |
programminghorror | psycholatte | h0o0vew | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>You probably forgot a semi colon somewhere<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | Nall-ohki | h0nvgaq | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|sor|>I've legitimately had to work through a list of broken like that in real life. Took about three weeks, the whole time not knowing how... | 29 |
programminghorror | RealStickman_ | h0o3r41 | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>That's about the same as the current codebase I'm working on!<|eor|><|sor|>Just noticed your flair, what an amazing game<|eor|><|sor|>Thanks, nothing beats playing Russian roulette on the p... | 29 |
programminghorror | rnicoll | h0o2x7s | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>This has happened to me multiple times with < 1000 lines. It's just a domino effect<|eor|><|sor|>I weirdly miss when a broken program could go on a rampage through the entire OS, triggering... | 27 |
programminghorror | JuhaJGam3R | h0o4fm9 | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|sor|>> Multiple Leviathan class errors detected in your area. Are you sure what you're doing is worth it?<|eor|><|sor|>Beep. Boop. I'm a ro... | 27 |
programminghorror | xGlacion | h0obaf6 | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>That's about the same as the current codebase I'm working on!<|eor|><|sor|>Just noticed your flair, what an amazing game<|eor|><|sor|>Thanks, nothing beats playing Russian roulette on the p... | 23 |
programminghorror | Jesse_103 | h0nsbjd | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>>More than 10000000 total errors detected<|eor|><|sor|>> Multiple Leviathan class errors detected in your area. Are you sure what you're doing is worth it?<|eor|><|sor|>Beep. Boop. I'm a ro... | 21 |
programminghorror | iliekcats- | h0o7pdz | <|sols|><|sot|>I'll hereby move to Nepal and live my life as a goat.<|eot|><|sol|>https://i.redd.it/ydt701gy2b371.jpg<|eol|><|sor|>That's about the same as the current codebase I'm working on!<|eor|><|sor|>Just noticed your flair, what an amazing game<|eor|><|sor|>Thanks, nothing beats playing Russian roulette on the p... | 19 |
programminghorror | bakewellcake | qfddpl | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|eols|><|endoftext|> | 1,686 |
programminghorror | mklickman | hhywdce | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Thats just one big argument. With your wife about how you needed to quit that job.<|eor|><|eols|><|endoftext|> | 537 |
programminghorror | elzaidir | hhz2jmf | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Use an array, a dictionary, a list, I don't know but do something<|eor|><|eols|><|endoftext|> | 453 |
programminghorror | DasEvoli | hhyyyq7 | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>I'm even more worried that the function seems to be 1000 lines long<|eor|><|eols|><|endoftext|> | 265 |
programminghorror | BlobAndHisBoy | hhzojwo | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Use an array, a dictionary, a list, I don't know but do something<|eor|><|sor|>100 arrays with one element each.<|eor|><|eols|><|endoftext|> | 265 |
programminghorror | MinusBrain | hhz7lw7 | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>I'm even more worried that the function seems to be 1000 lines long<|eor|><|sor|>All these arguments want to be used. Takes space.<|eor|><|eols... | 153 |
programminghorror | bakewellcake | hhywi0w | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Thats just one big argument. With your wife about how you needed to quit that job.<|eor|><|soopr|>It was certainly a motivating factor for a ch... | 152 |
programminghorror | hammerstad | hhz3nur | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Reminds me about the time I had to consume a SOAP API in C# using WCF, but was unable to.
Turns out C# has (or had at least) a maximum paramet... | 104 |
programminghorror | bakewellcake | hhywjwb | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>That looks like it might be generated code.<|eor|><|soopr|>It almost certainly was not, I know who did it, I saw the Git commit, this was very ... | 98 |
programminghorror | zman0900 | hhzqshy | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Use an array, a dictionary, a list, I don't know but do something<|eor|><|sor|>100 arrays with one element each.<|eor|><|sor|>100 classes with ... | 98 |
programminghorror | DearChickPea | hhz74m0 | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Use an array, a dictionary, a list, I don't know but do something<|eor|><|sor|>>I don't know but do something
Laughed more than I should have,... | 91 |
programminghorror | hopkinsonf1 | hhywmpd | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>That looks like it might be generated code.<|eor|><|soopr|>It almost certainly was not, I know who did it, I saw the Git commit, this was very ... | 76 |
programminghorror | DZMBA | hhz574h | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Reminds me about the time I had to consume a SOAP API in C# using WCF, but was unable to.
Turns out C# has (or had at least) a maximum paramet... | 60 |
programminghorror | Venzo_Blaze | hhz979d | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>I wanna know why was string Q4,Q5,C4 and C5 was not declared<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | desmayer | hhz2kf3 | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>looks like a prime example for passing a object or container representing that badly named data<|eor|><|sor|>Probably doing empty checks on eac... | 50 |
programminghorror | hopkinsonf1 | hhywi6q | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>That looks like it might be generated code.<|eor|><|eols|><|endoftext|> | 42 |
programminghorror | hammerstad | hhz6tf6 | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Reminds me about the time I had to consume a SOAP API in C# using WCF, but was unable to.
Turns out C# has (or had at least) a maximum paramet... | 40 |
programminghorror | Alikont | hhz373g | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>looks like a prime example for passing a object or container representing that badly named data<|eor|><|sor|>But passing an object with arrays ... | 37 |
programminghorror | servel333 | hi0g182 | <|sols|><|sot|>Ever wondered how many arguments is too many arguments? Code I once found in a job from a few years ago<|eot|><|sol|>https://i.imgur.com/ZrcRviK.jpg<|eol|><|sor|>Use an array, a dictionary, a list, I don't know but do something<|eor|><|sor|>100 arrays with one element each.<|eor|><|sor|>100 classes with ... | 37 |
programminghorror | AgeOfShinobi | utqqsq | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|eols|><|endoftext|> | 1,681 |
programminghorror | bionicjoey | i9bcftu | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>I work with scientists and this is pretty tame. Personally I'm fine with it. Programming isn't an ivory tower, people who aren't programmers ... | 949 |
programminghorror | bionicjoey | i9bm79s | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>I work with scientists and this is pretty tame. Personally I'm fine with it. Programming isn't an ivory tower, people who aren't programmers ... | 357 |
programminghorror | phylogram | i9b9myw | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>Seems easy to make this more concise. Tell her how.<|eor|><|eols|><|endoftext|> | 253 |
programminghorror | funny_funny_business | i9cjr10 | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>A stats professor of mine mentioned how a bunch of kids cheated on the midterm by sharing R code. The main guy who wrot... | 183 |
programminghorror | EmbarrassedActive4 | i9bkbtz | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>I work with scientists and this is pretty tame. Personally I'm fine with it. Programming isn't an ivory tower, people who aren't programmers ... | 136 |
programminghorror | I_am_noob_dont_yell | i9bcumx | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>Seems easy to make this more concise. Tell her how.<|eor|><|sor|>Exactly, it's a perfect example of how you can do a relatively simple change ... | 127 |
programminghorror | max_mou | i9b796i | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>?
Context wouldve been nice. But I already lost the interest. So no bother.
NEXT!!<|eor|><|eols|><|endoftext|> | 122 |
programminghorror | memeorology | i9bnpn9 | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>I work with scientists and this is pretty tame. Personally I'm fine with it. Programming isn't an ivory tower, people who aren't programmers ... | 106 |
programminghorror | sanderd17 | i9bgcyz | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>Seems easy to make this more concise. Tell her how.<|eor|><|sor|>Exactly, it's a perfect example of how you can do a relatively simple change ... | 77 |
programminghorror | RapidCatLauncher | i9bw13t | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>In 2 lines:
Locus = subset(Locus_Genotype, select = c(LocusID, Genotype))
df_list = split(Locus, Locus$LocusId)<|eor|><|sor|>And none of the... | 71 |
programminghorror | noman_032018 | i9csgz1 | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>A stats professor of mine mentioned how a bunch of kids cheated on the midterm by sharing R code. The main guy who wrot... | 60 |
programminghorror | ordinarybots | i9b79ux | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>?
Context wouldve been nice. But I already lost the interest. So no bother.
NEXT!!<|eor|><|sor|>[NEXT JOKE ORIGIN](https://www.reddit.com/r/... | 58 |
programminghorror | biledemon85 | i9bovg8 | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>I work with scientists and this is pretty tame. Personally I'm fine with it. Programming isn't an ivory tower, people who aren't programmers ... | 55 |
programminghorror | earthbound2eric | i9emgbg | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>A stats professor of mine mentioned how a bunch of kids cheated on the midterm by sharing R code. The main guy who wrot... | 55 |
programminghorror | Experiment_628 | i9bgh8a | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>did she at least make this using excel macros? then it's forgivable<|eor|><|eols|><|endoftext|> | 53 |
programminghorror | zigs | i9cklyz | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>I work with scientists and this is pretty tame. Personally I'm fine with it. Programming isn't an ivory tower, people who aren't programmers ... | 50 |
programminghorror | LetterBoxSnatch | i9bkw3h | <|sols|><|sot|>My sister wants me to check if her computational biology assignment is good to go. How do I tell her<|eot|><|sol|>https://i.redd.it/g7i7582atl091.jpg<|eol|><|sor|>did she at least make this using excel macros? then it's forgivable<|eor|><|sor|>Yup, code generated by other code gets a pass, as long as the... | 48 |
programminghorror | RogueCats | 127c67z | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|eols|><|endoftext|> | 1,675 |
programminghorror | Burgov | jedthg2 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Horrible. It should be `const currentLocations`<|eor|><|eols|><|endoftext|> | 868 |
programminghorror | kristallnachte | jedpslw | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Basic cargo culting.
They learned how to loop without understanding what the loop is actually doing so they just write it like that every time.<|eor|><|eols|><|endoftext|> | 351 |
programminghorror | Grognagor | jedu3wd | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>He didn't even check if he counted correctly ...<|eor|><|eols|><|endoftext|> | 172 |
programminghorror | _PM_ME_PANGOLINS_ | jedvg6r | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Use .map instead. Noobs<|eor|><|sor|> return currentLocations.map(location => 1).reduce((a, b) => a + b, 0)
Perfection.<|eor|><|eols|><|endoftext|> | 149 |
programminghorror | sattarsingo | jee8i38 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>you couldve done loop for half of it and then doubled it at the end. /s<|eor|><|eols|><|endoftext|> | 143 |
programminghorror | greem | jee4w1o | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Basic cargo culting.
They learned how to loop without understanding what the loop is actually doing so they just write it like that every time.<|eor|><|sor|>Or they did what normally happens:... | 142 |
programminghorror | mikewirkijowski | jeeq6ym | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>He didn't even check if he counted correctly ...<|eor|><|sor|>If(currentLocations.length != locationCount) throw new MathError()<|eor|><|eols|><|endoftext|> | 131 |
programminghorror | WallstreetChump | jedn1q8 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>This could have been done with a simple while loop, right? i is pointless, just increase location count while it's smaller than current locations?<|eor|><|sor|>No, problem with this code is th... | 83 |
programminghorror | zickige_zicke | jeduldi | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Use .map instead. Noobs<|eor|><|eols|><|endoftext|> | 82 |
programminghorror | FallenBlade | jee6ubc | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Excuse me i am new, could you please explain to me what is wrong?<|eor|><|sor|>Just return "currentLocations.length". All the loop is doing is counting up to that number.<|eor|><|eols|><|endof... | 82 |
programminghorror | migueeel | jedwq7z | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Use .map instead. Noobs<|eor|><|sor|> return currentLocations.map(location => 1).reduce((a, b) => a + b, 0)
Perfection.<|eor|><|sor|>And the best part is that it looks special enough that ... | 81 |
programminghorror | water_bottle_goggles | jedu0su | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Horrible. It should be `const currentLocations`<|eor|><|sor|>brilliant<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | Ingenrollsroyce | jeexgnq | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>"my friend's".. Yeah right, nice try OP<|eor|><|eols|><|endoftext|> | 77 |
programminghorror | phycsIT | jef9uf9 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>He didn't even check if he counted correctly ...<|eor|><|sor|>If(currentLocations.length != locationCount) throw new MathError()<|eor|><|sor|>raise CosmicBitFlipDetectedException()<|eor|><|eol... | 71 |
programminghorror | Neven_Niksic | jedn5hn | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>This could have been done with a simple while loop, right? i is pointless, just increase location count while it's smaller than current locations?<|eor|><|sor|>Cant tell if trolling or not<|eo... | 55 |
programminghorror | RogueCats | jee02c1 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Please take a screenshot next time <|eor|><|soopr|>It was not my computer<|eoopr|><|eols|><|endoftext|> | 53 |
programminghorror | a3jk | jedn2u3 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>This could have been done with a simple while loop, right? i is pointless, just increase location count while it's smaller than current locations?<|eor|><|sor|>Cant tell if trolling or not<|eo... | 50 |
programminghorror | Andy_B_Goode | jeecub5 | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Excuse me i am new, could you please explain to me what is wrong?<|eor|><|sor|>Just return "currentLocations.length". All the loop is doing is counting up to that number.<|eor|><|sor|>Also (no... | 45 |
programminghorror | RATH3R | jedmffb | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Beautiful<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | AnxiousIntender | jee068g | <|sols|><|sot|>Look at the code i saw in my friend's code base...<|eot|><|sol|>https://i.redd.it/63fm2cjj62ra1.png<|eol|><|sor|>Please take a screenshot next time <|eor|><|soopr|>It was not my computer<|eoopr|><|sor|>Understandable, have a nice day <|eor|><|eols|><|endoftext|> | 36 |
programminghorror | fattredd | iv6c5e | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|eols|><|endoftext|> | 1,670 |
programminghorror | RythenGlyth | g5pll4h | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|sor|>But at least it's async<|eor|><|eols|><|endoftext|> | 323 |
programminghorror | mothzilla | g5ptbm7 | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|sor|>But at least it's async<|eor|><|sor|>Async stops errors happening immediately!<|eor|><|eols|><|endoftext|> | 167 |
programminghorror | AyrA_ch | g5q2nim | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|sor|>But at least it's async<|eor|><|sor|>Async stops errors happening immediately!<|eor|><|sor|>It does. And replaces them with errors happening eventually.<|eor|><|eo... | 163 |
programminghorror | weeeeelaaaaaah | g5pn426 | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|sor|>There's a point at which you're really not doing anything better than the default built-in error handling. This is way past that point.<|eor|><|eols|><|endoftext|> | 157 |
programminghorror | DrifterInKorea | g5pidew | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|sor|>Looks like some of the code I have to deal with on a daily basis...
I am telling them in all the PRs to split into smaller functions but as they don't care in th... | 109 |
programminghorror | aboardthegravyboat | g5pp4it | <|sols|><|sot|>You think maybe we're doing to much in this try block? Nah. It's probably fine.<|eot|><|sol|>https://i.redd.it/471tcad5uwn51.png<|eol|><|sor|>There's a point at which you're really not doing anything better than the default built-in error handling. This is way past that point.<|eor|><|sor|>... but ... it... | 63 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.