subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | dumbasPL | hqmk5qo | <|sols|><|sot|>nothing special<|eot|><|sol|>https://i.redd.it/2nj5hpq07o881.png<|eol|><|sor|>me after I mess up a deployment<|eor|><|sor|>I felt that<|eor|><|eols|><|endoftext|> | 7 |
programminghorror | mohragk | m69u2r | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|eols|><|endoftext|> | 1,708 |
programminghorror | programmer2514 | gr4q4lr | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>I had a stroke reading this<|eor|><|eols|><|endoftext|> | 401 |
programminghorror | Turkino | gr4vjwl | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>I had a stroke reading this<|eor|><|sor|>If you have not had a stroke yet, repeat!<|eor|><|eols|><|endoftext|> | 302 |
programminghorror | lag_is_cancer | gr4ukrd | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Your CPU is gonna be fine. Everyone else reading it tho...<|eor|><|eols|><|endoftext|> | 204 |
programminghorror | SituationSoap | gr522pw | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Your CPU is gonna be fine. Everyone else reading it tho...<|eor|><|sor|>It's javascript, so it's just everyone *else's* CPU that'll fry<|eor|><|eols|><|endoftext|> | 144 |
programminghorror | PranshuKhandal | gr4z611 | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>I had a stroke reading this<|eor|><|sor|>If you have not had a stroke yet, repeat!<|eor|><|sor|>check if he really had a stroke after reading this<|eor|><|eols|><|endoftext|> | 119 |
programminghorror | Accomplished_Hat_576 | gr4s7fl | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>What language is this?
In a lot of languages, that initial for loop is gonna be optimized out.
Funny though.<|eor|><|eols|><|endoftext|> | 113 |
programminghorror | WarDancr1 | gr57r6i | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Shoulda used regex to really get your moneys worth <|eor|><|sor|>You have a programming problem you want to solve, you decide to use regex and now you have two problems!<|eor|><|eols|><|e... | 92 |
programminghorror | fr9ncis | gr4yrql | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Shoulda used regex to really get your moneys worth <|eor|><|eols|><|endoftext|> | 90 |
programminghorror | Accomplished_Hat_576 | gr4xs8z | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>What language is this?
In a lot of languages, that initial for loop is gonna be optimized out.
Funny though.<|eor|><|soopr|>Look at the flair<|eoopr|><|sor|>That's definitely not getting ... | 88 |
programminghorror | qxzsilver | gr4y10r | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>This has to be satire.<|eor|><|sor|>What do you mean? You dont browse r/programminghorror for best coding practices instead of that crappy stackover whatever website?<|eor|><|eols|><|endoft... | 80 |
programminghorror | TheOneTrueTrench | gr6k6dk | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Shoulda used regex to really get your moneys worth <|eor|><|sor|>You have a programming problem you want to solve, you decide to use regex and now you have two problems!<|eor|><|sor|>You ... | 71 |
programminghorror | al3ph_nu11 | gr4t95f | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>What language is this?
In a lot of languages, that initial for loop is gonna be optimized out.
Funny though.<|eor|><|sor|>JavaScript<|eor|><|eols|><|endoftext|> | 62 |
programminghorror | KCGD_r | gr57qfs | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>**i payed for the whole cpu so im gonna use the whole cpu**<|eor|><|eols|><|endoftext|> | 61 |
programminghorror | khedoros | gr4wqdx | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>This has to be satire.<|eor|><|eols|><|endoftext|> | 55 |
programminghorror | karl-tanner | gr58do7 | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>list is a reserved word for an object of type list. Please don't name your variable that. Same thing with str. How long have you been doing this?<|eor|><|eols|><|endo... | 43 |
programminghorror | panicattheben | gr6myk8 | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Your CPU is gonna be fine. Everyone else reading it tho...<|eor|><|sor|>It's javascript, so it's just everyone *else's* CPU that'll fry<|eor|><|sor|>This guy serves client side code<|eor|><... | 43 |
programminghorror | mohragk | gr4w1nv | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>What language is this?
In a lot of languages, that initial for loop is gonna be optimized out.
Funny though.<|eor|><|soopr|>Look at the flair<|eoopr|><|eols|><|endoftext|> | 42 |
programminghorror | TripleLinkedList | gr5grjr | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>I had a stroke reading this<|eor|><|sor|>If you have not had a stroke yet, repeat!<|eor|><|sor|>check if he really had a stroke after reading this<|eor|><|sor|>Trap the stroke exception<|eo... | 42 |
programminghorror | Starwort | gr7rxxb | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>Shoulda used regex to really get your moneys worth <|eor|><|sor|>You have a programming problem you want to solve, you decide to use regex and now you have two problems!<|eor|><|sor|>You ... | 28 |
programminghorror | theWildBananas | gr5rd3s | <|sols|><|sot|>I paid good money for that CPU so I WILL make it chop<|eot|><|sol|>https://i.redd.it/t5kodfqcden61.png<|eol|><|sor|>**i payed for the whole cpu so im gonna use the whole cpu**<|eor|><|sor|>With this code you use other people's cpu<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | M3rwe | frr4tq | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|eols|><|endoftext|> | 1,703 |
programminghorror | evictedSaint | flxt7kh | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>Isn't this the whole point of a TODO? It's to remind yourself that you still need TO DO some task. Sometimes it's better to get the whole thing written before you start ensuring every little piece wo... | 112 |
programminghorror | Lightfire228 | flxws0i | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>Isn't this the whole point of a TODO? It's to remind yourself that you still need TO DO some task. Sometimes it's better to get the whole thing written before you start ensuring every little piece wo... | 44 |
programminghorror | Needleroozer | flxpae5 | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|sor|>As a tester I have to say yes, it is someone else's responsibility.<|eor|><|... | 25 |
programminghorror | GentlemenBehold | flxdabg | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | jmack2424 | flxti6r | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>That's silly. Just add a test with Assert.True(true) in it and put you TODO in the comment for that. All the diligent developers love tests more than they love real code.<|eor|>... | 19 |
programminghorror | Ohrion | flxesu7 | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|sor|>[deleted]<|eor|><|sor|>This is the difference between testing every design, ... | 18 |
programminghorror | GentlemenBehold | flxq96d | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>That's why I hate TODO:s. You are going to forget about them. Set up a self reminder on Slack instead!<|eor|><|sor|>I good IDE lets you search TODOs. Something that should be done before regularly.<|e... | 17 |
programminghorror | collin2477 | flxpl4q | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>i feel like this is more so letting someone know QA still needs done and edge cases might have issues. always better than no comments<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | jmack2424 | flxtvde | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[Authorize](https://pics.me.me/protected-function-authorizeuser-modeuser-user-todo-should-tighten-this-up-27440131.png)<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | Needleroozer | flxphrh | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|sor|>[deleted]<|eor|><|sor|>Every car he, personally, built? Yes he did.<|eor|><|... | 11 |
programminghorror | Needleroozer | flxpniq | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>TODO is GOTO's cousin.<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | GentlemenBehold | flxqcqx | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|sor|>As a tester I have to say yes, it is someone else's responsibility.<|eor|><|... | 7 |
programminghorror | Dreadedsemi | flxvpbc | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|sor|>It's the luser's responsibility.<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | im_probably_garbage | flzcz6b | <|sols|><|sot|>Checking in on Monday morning to find this<|eot|><|sol|>https://i.redd.it/rm04or2letp41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>You wrote the code but you think it's someone else's responsibility to ensure it works?<|eor|><|sor|>As a tester I have to say yes, it is someone else's responsibility.<|eor|><|... | 5 |
programminghorror | catsOverPeople55 | 123y94g | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|eols|><|endoftext|> | 1,707 |
programminghorror | PsychologicalTone418 | jdx9jpn | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>I feel like I've had random struggles trying to squash every commit into the first one, but uh teach this dude about `rebase -i`, or `git commit --amend` and `git push origin master --force`.
...or maybe don't teach hi... | 167 |
programminghorror | Nivekk_ | jdx2xer | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>first comment<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | bruhred | jdxr5dc | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>dementia programming<|eor|><|eols|><|endoftext|> | 66 |
programminghorror | Axman6 | jdyidto | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|> > git commit first commit
> git c
> git c
> git c
> git c
Used to work with someone whose only commit message was `shovel`.<|eor|><|eols|><|endoftext|> | 63 |
programminghorror | catsOverPeople55 | jdxmvgb | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>I feel like I've had random struggles trying to squash every commit into the first one, but uh teach this dude about `rebase -i`, or `git commit --amend` and `git push origin master --force`.
...or maybe don't teach hi... | 52 |
programminghorror | Pradfanne | jdyugnq | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|> > git commit first commit
> git c
> git c
> git c
> git c
Used to work with someone whose only commit message was `shovel`.<|eor|><|sor|>Had a guy repeatedly use a single period as commit messages. ... | 44 |
programminghorror | Kyzume | jdx45cj | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>first comment<|eor|><|sor|>first comment<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | PsychologicalTone418 | jdxooyy | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>I feel like I've had random struggles trying to squash every commit into the first one, but uh teach this dude about `rebase -i`, or `git commit --amend` and `git push origin master --force`.
...or maybe don't teach hi... | 34 |
programminghorror | User31441 | jdxcy8j | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>For personal projects or hacky prototypes I'm guilty of this as well. Not a good look when working with a team, though<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | Axman6 | jdyihy1 | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>I feel like I've had random struggles trying to squash every commit into the first one, but uh teach this dude about `rebase -i`, or `git commit --amend` and `git push origin master --force`.
...or maybe don't teach hi... | 28 |
programminghorror | geealigy | jdx895z | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>first comment<|eor|><|sor|>first comment<|eor|><|sor|>first comment<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | drakens_jordgubbar | jdz1l5t | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>dementia programming<|eor|><|sor|>Dementia driven programming<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | catsOverPeople55 | jdyl3wr | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>I feel like I've had random struggles trying to squash every commit into the first one, but uh teach this dude about `rebase -i`, or `git commit --amend` and `git push origin master --force`.
...or maybe don't teach hi... | 18 |
programminghorror | zipnathiel | jdxv7eq | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>He's forgotten to increment his variable.<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | Goontt | jdz8m6v | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>dementia programming<|eor|><|sor|>Dementia driven programming<|eor|><|sor|>Dementia driven development *<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | hcbylmz | jdxg9t1 | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>first comment<|eor|><|sor|>first comment<|eor|><|sor|>first comment<|eor|><|sor|>first comment<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | kristallnachte | jdyt3a0 | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>For personal projects or hacky prototypes I'm guilty of this as well. Not a good look when working with a team, though<|eor|><|sor|>I just never do this.
It's easy to have a commit standard and stick to it.
I like git... | 11 |
programminghorror | catsOverPeople55 | jdxlzvj | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>Would somebody mind explaining how you are seeing these? Does it depend on the platform? Whenever I make a pull request using Azure DevOps into our develop branch from my local branch it just submits it as one commit. Y... | 11 |
programminghorror | realvolker1 | jdyrdm4 | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|> > git commit first commit
> git c
> git c
> git c
> git c
Used to work with someone whose only commit message was `shovel`.<|eor|><|sor|>thanks I will name every single one of my commits this<|eor|>... | 10 |
programminghorror | Pradfanne | jdyumwn | <|sols|><|sot|>Loose definition of 'first'<|eot|><|sol|>https://i.imgur.com/2PM6POJ.png<|eol|><|sor|>Fire them.
Jesus.
One pretty popular OSS I work with, the maintainer/creator mostly just does `wip` for almost everything.
It's obnoxious <|eor|><|sor|>Don't fire them, tell him to write clear commit messages. Reject... | 10 |
programminghorror | Borghol | 11l41ma | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|eols|><|endoftext|> | 1,704 |
programminghorror | MKMWNND | jbaytom | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I guess someone modified the code<|eor|><|eols|><|endoftext|> | 316 |
programminghorror | Jaded-Plant-4652 | jbam47s | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>No wonder youth is getting less athletic<|eor|><|eols|><|endoftext|> | 148 |
programminghorror | helicalnoodles | jbazpsg | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I've never seen anyone use "=== '[object Array]'" in my life<|eor|><|eols|><|endoftext|> | 108 |
programminghorror | Bannanaboii12 | jbak33h | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>Bro forgot <body><|eor|><|eols|><|endoftext|> | 105 |
programminghorror | kristallnachte | jbd4x2n | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I've never seen anyone use "=== '[object Array]'" in my life<|eor|><|sor|>Obfuscated code maybe<|eor|><|sor|>Not obfuscated. Just old/bad
`Array.isArray` came out on 2011....<|eor|><|eols|><|endoftext|> | 51 |
programminghorror | Speco7 | jbbftyl | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I guess someone modified the code<|eor|><|sor|>I blame Bob<|eor|><|eols|><|endoftext|> | 49 |
programminghorror | t4nt4lus | jbbue7h | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I showed my 1 year old this piece of code and he started to walk away<|eor|><|eols|><|endoftext|> | 41 |
programminghorror | TheAbrableOnetyOne | jbc46ek | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I guess someone modified the code<|eor|><|sor|>I blame Bob<|eor|><|sor|>I blame object Object<|eor|><|eols|><|endoftext|> | 40 |
programminghorror | Familiar_Ad_8919 | jbacktt | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>put javascript on a phone or something at one position
baby will run in the opposite<|eor|><|eols|><|endoftext|> | 34 |
programminghorror | robotica34 | jbc72q9 | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I've never seen anyone use "=== '[object Array]'" in my life<|eor|><|sor|>Obfuscated code maybe<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | ExquisiteWallaby | jbaw4bb | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>function(w,a,l,k,i,e,s){
const =new Toddler(w => a.me.h(l), k.s, i);
const sp = document.querySelector(e):
sp.r(t, s);
}();<|eor|><|eols|><|endoftext|> | 29 |
programminghorror | JoeDoherty_Music | jbc6yuf | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I guess someone modified the code<|eor|><|sor|>I blame Bob<|eor|><|sor|>I blame object Object<|eor|><|sor|>I hate that guy<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | RespectableLurker555 | jbbg7iu | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>ugh what's with all these dang brittle codebases, can't even handle a little spit-up on the config.js<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | kristallnachte | jbdgzz3 | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I've never seen anyone use "=== '[object Array]'" in my life<|eor|><|sor|>Obfuscated code maybe<|eor|><|sor|>Not obfuscated. Just old/bad
`Array.isArray` came out on 2011....<|eor|><|sor|>babeljs polyfill+ ... | 12 |
programminghorror | bucketassrabbit | jbb0jcm | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>r/softwaregore<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | emilvikstrom | jbdisir | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I've never seen anyone use "=== '[object Array]'" in my life<|eor|><|sor|>Obfuscated code maybe<|eor|><|sor|>Not obfuscated. Just old/bad
`Array.isArray` came out on 2011....<|eor|><|sor|>babeljs polyfill+ ... | 11 |
programminghorror | michel210883 | jbbalcp | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>As long as you or your kid does not change the code, youll be fine<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | BookByMySide | jbdx26w | <|sols|><|sot|>Teaching babies walking with JavaScript<|eot|><|sol|>https://i.imgur.com/TnlqseR.jpg<|eol|><|sor|>I showed my 1 year old this piece of code and he started to walk away<|eor|><|sor|>That 100%of known test subjects could walk after reciving the content means it 100% works and no testing or bug fixing is ne... | 8 |
programminghorror | sendvo | tij5rc | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|eols|><|endoftext|> | 1,694 |
programminghorror | ChickenTikkleMySalad | i1eexfb | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>"legacy project"
Translation: someone you've never met that worked there many years ago and has a much lower commitment to writing good code than you gets to reach through a te... | 506 |
programminghorror | Stereojunkie | i1e63j6 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Could be that it's just storage for general sensors where you don't want specific columns for each independent sensor value. You could map the values from the db to the sensor s... | 226 |
programminghorror | _PM_ME_PANGOLINS_ | i1e7dzz | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>This is the best way to do it for generic sensor readings, with the configuration and calibration of what each sensor means elsewhere.<|eor|><|eols|><|endoftext|> | 99 |
programminghorror | CRANSSBUCLE | i1ekadv | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>"legacy project"
Translation: someone you've never met that worked there many years ago and has a much lower commitment to writing good code than you gets to reach through a te... | 69 |
programminghorror | steampunkdev | i1e6oqx | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Could be that it's just storage for general sensors where you don't want specific columns for each independent sensor value. You could map the values from the db to the sensor s... | 69 |
programminghorror | maifee | i1emg21 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>"legacy project"
Translation: someone you've never met that worked there many years ago and has a much lower commitment to writing good code than you gets to reach through a te... | 61 |
programminghorror | _PM_ME_PANGOLINS_ | i1e7cjx | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Could be that it's just storage for general sensors where you don't want specific columns for each independent sensor value. You could map the values from the db to the sensor s... | 42 |
programminghorror | sendvo | i1ejvar | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>This is the best way to do it for generic sensor readings, with the configuration and calibration of what each sensor means elsewhere.<|eor|><|soopr|>no it's not. what is you ha... | 33 |
programminghorror | Okub1 | i1e7ivt | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Could be that it's just storage for general sensors where you don't want specific columns for each independent sensor value. You could map the values from the db to the sensor s... | 28 |
programminghorror | alexbuczynsky | i1eo8g2 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>This is the best way to do it for generic sensor readings, with the configuration and calibration of what each sensor means elsewhere.<|eor|><|soopr|>no it's not. what is you ha... | 25 |
programminghorror | anyfactor | i1ez6bk | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>in case anyone wants more meaningful variable names -
data, datum, row, rows, text, test, db, content, new_data, data_, _data.
I thought I can keep going with these names but ... | 24 |
programminghorror | Western_Gamification | i1egsp7 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>I guess the alternative would be to link each sensor type to a separate table and store the values there, but that's not necessarily better IMO<|eor|><|sor|>No wtf. Store values... | 24 |
programminghorror | _PM_ME_PANGOLINS_ | i1eqqqc | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>This is the best way to do it for generic sensor readings, with the configuration and calibration of what each sensor means elsewhere.<|eor|><|soopr|>no it's not. what is you ha... | 23 |
programminghorror | Lonsdale1086 | i1e7tk2 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Could be that it's just storage for general sensors where you don't want specific columns for each independent sensor value. You could map the values from the db to the sensor s... | 19 |
programminghorror | anyfactor | i1fdms3 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>in case anyone wants more meaningful variable names -
data, datum, row, rows, text, test, db, content, new_data, data_, _data.
I thought I can keep going with these names but ... | 19 |
programminghorror | sim642 | i1f79ps | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>ITT: people who would happily write this today in a new project.<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | lylesback2 | i1ed7s4 | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Could be that it's just storage for general sensors where you don't want specific columns for each independent sensor value. You could map the values from the db to the sensor s... | 16 |
programminghorror | rymn | i1eu13d | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>Omg I can't tell you how often that appears in databases... Also a, b, c, d it's fucking hilarious<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | putin_my_ass | i1epoyk | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>This is the best way to do it for generic sensor readings, with the configuration and calibration of what each sensor means elsewhere.<|eor|><|sor|>It's not. If your data schema... | 15 |
programminghorror | ragsofx | i1ge94q | <|sols|><|sot|>My brother is taking over a legacy project. He sent me this today<|eot|><|sol|>https://i.redd.it/ok1s0jv1zio81.png<|eol|><|sor|>"legacy project"
Translation: someone you've never met that worked there many years ago and has a much lower commitment to writing good code than you gets to reach through a te... | 14 |
programminghorror | Mission-Guard5348 | slbt56 | <|sols|><|sot|>A single space.<|eot|><|sol|>https://i.imgur.com/gFCwHDu.jpg<|eol|><|eols|><|endoftext|> | 1,696 |
programminghorror | NotThe1_ | hvqwlmh | <|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|><|eols|><|endoftext|> | 109 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.