subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | TheAnchoredDucking | exaznwg | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|soopr|>Sadly, as /u/tyw7 found it, it is real:
https://twitter.com/virginmedia/status/1162756227132198914<|eoopr|><|sor|>Holy what the fuck<|eor|><|eols|><|endoftext|> | 34 |
programminghorror | Indie_Dev | exat9mw | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Is there a sub for things like these?
/r/plaintextoffenders is completely inactive.<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | pine_ary | exb3p6f | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Shit like this should be an actual crime.<|eor|><|sor|>It kinda is under the GDPR.
https://www.theregister.co.uk/2018/11/23/knuddels_fined_for_plain_text_passwords/<|eor|><|sor|>Anybody got ex... | 31 |
programminghorror | cynferdd | o40zli | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|eols|><|endoftext|> | 2,512 |
programminghorror | dartyet1 | h2ev4wk | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|eols|><|endoftext|> | 778 |
programminghorror | mich160 | h2et8m9 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>20 years of enterprise hardships<|eor|><|eols|><|endoftext|> | 458 |
programminghorror | cynferdd | h2ev7g2 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|soopr|>Don't you dare touching the Holy number!<|eoopr|><|eols|><|endoftext|> | 387 |
programminghorror | Tovi7 | h2ew7qu | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>You know its bad when IntelliJ tells you your code can be simplified.<|eor|><|eols|><|endoftext|> | 355 |
programminghorror | VisibleSignificance | h2fiys6 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>20 years of enterprise hardships<|eor|><|sor|>For all we know, `Long` in this code is a very special class that has wicked overridden equality logic.
In other... | 199 |
programminghorror | Ns816235 | h2et79a | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>if (cents != null)
return cents * -1
Right?<|eor|><|eols|><|endoftext|> | 146 |
programminghorror | Sp1um | h2exjqt | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|sor|>It's an optimization... So you don't do a useless multiplication... /s<|eor|><|eols|><|endoftext|> | 132 |
programminghorror | Jezoreczek | h2f65n6 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>You know its bad when IntelliJ tells you your code can be simplified.<|eor|><|sor|>That's where I press "request changes" without any further review. If you ca... | 108 |
programminghorror | cynferdd | h2eyuyu | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|soopr|>Don't you dare touching the Holy number!<|eoopr|><|sor|>the holy number is three!<|eor|><|soopr|>"1... | 108 |
programminghorror | cynferdd | h2etmf2 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>if (cents != null)
return cents * -1
Right?<|eor|><|soopr|>Yes, but it has way too few lines this way \^\^ .
(Another possible improvement, depending on c... | 97 |
programminghorror | Yoshalina | h2ey7d9 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>return cents == null? null : -cents;<|eor|><|eols|><|endoftext|> | 95 |
programminghorror | Loading_M_ | h2f26mi | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|sor|>It's an optimization... So you don't do a useless multiplication... /s<|eor|><|sor|>maybe it's an opt... | 84 |
programminghorror | KillerCodeMonky | h2fa19q | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|sor|>It's an optimization... So you don't do a useless multiplication... /s<|eor|><|sor|>If you really rea... | 72 |
programminghorror | djcraze | h2fn226 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>20 years of enterprise hardships<|eor|><|sor|>For all we know, `Long` in this code is a very special class that has wicked overridden equality logic.
In other... | 71 |
programminghorror | alulalol | h2fj6b2 | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|sor|>It's an optimization... So you don't do a useless multiplication... /s<|eor|><|sor|>If you really rea... | 70 |
programminghorror | cyber2024 | h2ev8rb | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>Lmao he doesn't want to change the sign of 0<|eor|><|sor|>-0 is a thing<|eor|><|eols|><|endoftext|> | 61 |
programminghorror | Talbooth | h2ev4ax | <|sols|><|sot|>This is what 20 years of experience in software development looks like, apparently.<|eot|><|sol|>https://i.redd.it/7hvz0c4qsd671.jpg<|eol|><|sor|>if (cents != null)
return cents * -1
Right?<|eor|><|sor|>return cents == null ? null : cents * -1;<|eor|><|eols|><|endoftext|> | 55 |
programminghorror | MateWrapper | w5gi2i | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|eols|><|endoftext|> | 2,508 |
programminghorror | thenickdude | ih8t0gm | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>That first one is not actually a no-op, it converts any subtype of Exception into a plain Exception class. That could actually be handy if you don't want your internal exception types to be part of your API contract.<|eor|><... | 225 |
programminghorror | Digitizer4096 | ih81eif | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>Now I won't sleep for a week<|eor|><|eols|><|endoftext|> | 99 |
programminghorror | theredditorlol | ih8i1rk | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>Whats wrong with the last one<|eor|><|eols|><|endoftext|> | 70 |
programminghorror | MateWrapper | ih890pp | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>whats wrong with the second one<|eor|><|soopr|>All the imports are misnamed<|eoopr|><|eols|><|endoftext|> | 52 |
programminghorror | thenickdude | ihajb9q | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>That first one is not actually a no-op, it converts any subtype of Exception into a plain Exception class. That could actually be handy if you don't want your internal exception types to be part of your API contract.<|eor|><... | 41 |
programminghorror | poopskins | ih9kmtf | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>That first one is not actually a no-op, it converts any subtype of Exception into a plain Exception class. That could actually be handy if you don't want your internal exception types to be part of your API contract.<|eor|><... | 40 |
programminghorror | archpawn | ih8ssbs | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>Whats wrong with the last one<|eor|><|sor|>I agree. I certainly can see some changes to make it faster, but I feel like this is the most clear and elegant way to do it.<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | zmose | ih8z52p | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>I'm a fan of [this python solution of FizzBuzz](https://imgur.com/yugeeqP) where you create a dictionary, so you can expand the number of special numbers as far as you want (in this solution, numbers divisible by 7 are repla... | 35 |
programminghorror | Lataero | ih8u556 | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>The first one is actually not bad. This is a common way to disguise a stack trace.<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | fiskfisk | ih8xt7k | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>Whats wrong with the last one<|eor|><|sor|>I'm guessing the think you should lose the first `if` and instead of having `else if` just print `Fizz` and `Buzz` separately. That wouldn't work with `console.log` out the box, tho... | 22 |
programminghorror | dogey11 | ih87t3x | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>whats wrong with the second one<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | Giocri | ih9aanj | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>The first one is actually a good practice in some instances it allows you to separate the pubblicly visible exceptions from the internal ones.
Sometimes it is recommended to place a catch throw combination that does alter t... | 14 |
programminghorror | Thenderick | ih8ufiz | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>I always get annoyed by the "UwU JavaScript array sort is weird" thing! Yes it is weird, but you are the one using a default sorting function on an array that may contain God knows what datatypes satan spawned! Because all t... | 14 |
programminghorror | craftworkbench | ih9g9fh | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>The first one is actually not bad. This is a common way to disguise a stack trace.<|eor|><|sor|>Why would you disguise a stack trace?<|eor|><|sor|>Depending on who is able to view the stack trace, you may not want to expose ... | 14 |
programminghorror | KDBA | ih9x6z9 | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>I'm a fan of [this python solution of FizzBuzz](https://imgur.com/yugeeqP) where you create a dictionary, so you can expand the number of special numbers as far as you want (in this solution, numbers divisible by 7 are repla... | 13 |
programminghorror | theogskinnybrown | ih8uyli | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>I hate people who catch exceptions and then throw a new one. Sometimes they even throw a different exception, making it really hard to pinpoint the true reason of the exception.<|eor|><|sor|>I recently worked on some code wh... | 11 |
programminghorror | Lataero | ih8ud7m | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>I personally know some people who see no problem with the very first one...<|eor|><|sor|>And they would be right to. Stack traces can expose a lot about the architecture of your application. This method hides any traces abov... | 11 |
programminghorror | thuktun | ihaidfd | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>That first one is not actually a no-op, it converts any subtype of Exception into a plain Exception class. That could actually be handy if you don't want your internal exception types to be part of your API contract.<|eor|><... | 11 |
programminghorror | ZeusOfTheCrows | ihbirhj | <|sols|><|sot|>Found this a while ago<|eot|><|sol|>https://v.redd.it/j8n6a17po5d91<|eol|><|sor|>I'm a fan of [this python solution of FizzBuzz](https://imgur.com/yugeeqP) where you create a dictionary, so you can expand the number of special numbers as far as you want (in this solution, numbers divisible by 7 are repla... | 11 |
programminghorror | BurnerPornAccount69 | hr3e46 | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|eols|><|endoftext|> | 2,467 |
programminghorror | zachbs | fy1puhc | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>That's one way to prevent people from putting the wrong value in I guess...<|eor|><|eols|><|endoftext|> | 288 |
programminghorror | inxaneninja | fy1ya56 | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>That's one way to prevent people from putting the wrong value in I guess...<|eor|><|sor|>The client then edits the value in the HTML and proceeds to submit the form<|eor|><|eols|><|en... | 205 |
programminghorror | stamatt45 | fy24qfv | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Well I hope they were at least in order?<|eor|><|sor|>They are technically sorted by the datetime each entry was manually entered into the database, but since they were added in numer... | 85 |
programminghorror | scamdex | fy1mb5t | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Well I hope they were at least in order?<|eor|><|eols|><|endoftext|> | 81 |
programminghorror | sambolias | fy1qgrq | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Texas proudly displaying all its zip codes in attempt to make itself look bigger<|eor|><|eols|><|endoftext|> | 66 |
programminghorror | zachbs | fy1zocr | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>That's one way to prevent people from putting the wrong value in I guess...<|eor|><|sor|>The client then edits the value in the HTML and proceeds to submit the form<|eor|><|sor|>Yep.<... | 55 |
programminghorror | MKuranowski | fy2g6vb | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>That's one way to prevent people from putting the wrong value in I guess...<|eor|><|sor|>The client then edits the value in the HTML and proceeds to submit the form<|eor|><|sor|>you c... | 47 |
programminghorror | Victorino__ | fy2671o | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Their code may well be:
`if dropdown.index == "00001":`
` zipcode = "00001"`
`elif dropdown.index == "00002":`
` zipcode = "00002"`
etc.<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | davy_jones_locket | fy217q1 | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Next they'll be using a range slider for telephone numbers.<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | Bitomic | fy20b8x | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Well I hope they were at least in order?<|eor|><|sor|>They are sorted in-time when you load the page /s<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | xGlacion | fy2aub7 | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Their code may well be:
`if dropdown.index == "00001":`
` zipcode = "00001"`
`elif dropdown.index == "00002":`
` zipcode = "00002"`
etc.<|eor|><|sor|>ever heard of loop un... | 29 |
programminghorror | FallenWarrior2k | fy3subg | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>That's one way to prevent people from putting the wrong value in I guess...<|eor|><|sor|>The client then edits the value in the HTML and proceeds to submit the form<|eor|><|sor|>I act... | 27 |
programminghorror | richarmeleon | fy1uanj | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Texas proudly displaying all its zip codes in attempt to make itself look bigger<|eor|><|sor|>It doesn't need help. Anyone whose been to Texas can tell you it's too big for its own go... | 23 |
programminghorror | inxaneninja | fy29dvj | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>That's one way to prevent people from putting the wrong value in I guess...<|eor|><|sor|>The client then edits the value in the HTML and proceeds to submit the form<|eor|><|sor|>Yeah,... | 20 |
programminghorror | zarifex | fy2ojxu | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>I once worked at place that wanted their crummy e-commerce site improved. One of the issues was with performance and page load times on a particular page which involved choosing bill-... | 17 |
programminghorror | Booleard | fy2bqym | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Well I hope they were at least in order?<|eor|><|sor|>Order them based on a grid system staring with the northwestern most and ending with the southeastern most.<|eor|><|eols|><|endof... | 16 |
programminghorror | Victorino__ | fy26d8g | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Well I hope they were at least in order?<|eor|><|sor|>They're alphabetically sorted<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | SirQuackTheDuck | fy36fft | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Next they'll be using a range slider for telephone numbers.<|eor|><|sor|>Oh no, not this again<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | thenonbinarystar | fy2y0uc | <|sols|><|sot|>Texas Department of Safety website uses a dropdown menu for zip codes<|eot|><|sol|>https://imgur.com/kmh4WBz<|eol|><|sor|>Texas proudly displaying all its zip codes in attempt to make itself look bigger<|eor|><|sor|>It doesn't need help. Anyone whose been to Texas can tell you it's too big for its own go... | 13 |
programminghorror | DaniilBSD | gzk2cq | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|eols|><|endoftext|> | 2,464 |
programminghorror | LiamTailor | ftgocza | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>Understandable. E.g. if somewhere along the way a formatter or format converter or what have you fails, you might end up having to display a generic message. Good thing it was caught instead of crashing.<|eor|><|eols|><|endof... | 149 |
programminghorror | cyrusol | ftgqyhb | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 90 |
programminghorror | HildartheDorf | ftgu6vb | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 73 |
programminghorror | LiamTailor | ftgt3ys | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 21 |
programminghorror | stavby | ftgz2kr | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>Would be a better fit in r/softwaregore tho<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | mlpedant | fthj7ur | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 17 |
programminghorror | adueppen | fthtrb9 | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 11 |
programminghorror | Direwolf202 | ftivai2 | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 11 |
programminghorror | DaniilBSD | ftgzs08 | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>Would be a better fit in r/softwaregore tho<|eor|><|soopr|>True but I posted it here for 2 reasons:
- I wanted to refer to a general case of error when reporting error that is a huge pain in the ass.
- software gore is full o... | 10 |
programminghorror | Polantaris | fth8gx0 | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 8 |
programminghorror | mlpedant | fthx37e | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>No valid input device has been detected.
Press any key to continue.
(happened to me with a 90s computer with an Award BIOS)
----
Error: no error
(this one happened in Valve's GoldSrc engine games like Counter-Strike: Con... | 8 |
programminghorror | DaniilBSD | ftgxt94 | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|soopr|>To be fair, I modded it to hell and this is an error that occurs when I close an Asset Editor.<|eoopr|><|eols|><|endoftext|> | 7 |
programminghorror | SilentLongbow | ftgrbjm | <|sols|><|sot|>Ironic, isn't it?<|eot|><|sol|>https://i.redd.it/en92x3fswu351.png<|eol|><|sor|>I hate encountering these bugs as it just hides the underlying problem. Traceback for the dialog just eats the traceback for the actual bug.<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | User2573 | pep4et | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|eols|><|endoftext|> | 2,450 |
programminghorror | pinkEasterGuy | hayzx9w | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Added the Javascript notification, boss<|eor|><|eols|><|endoftext|> | 480 |
programminghorror | Captain-Barracuda | hazrvt3 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|>If the client's JS disabled, the code making the notification wouldn't run at all.<|eor|><|eols|><|endoftext|> | 418 |
programminghorror | bwz3r | hazq3kx | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|eols|><|endoftext|> | 406 |
programminghorror | Soremwar | hazvqu1 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|>If the client's JS disabled, the code making the notification wouldn't run at all.<|eor|><|sor|>"I used JS to e... | 250 |
programminghorror | heyf00L | hazdqif | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>If this runs on a node server, it makes perfect sense.<|eor|><|eols|><|endoftext|> | 142 |
programminghorror | Elyahu41 | hazrk7p | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|eols|><|endoftext|> | 97 |
programminghorror | Last_Snowbender | hb0bm2x | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|> When JavaScript is enabled, the user will see a notification *Please enable JavaScript*. This is obviously mis... | 68 |
programminghorror | kiwidog8 | haz5cog | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Yup, this is the sort of coder who mindlessly uses "let".<|eor|><|soopr|>Im a noob, whats wrong with that?<|eoopr|><|sor|>It's not the worst thing you can do, some people are just extra dogmatic about programming conventions. In JS you ty... | 65 |
programminghorror | heyf00L | hazgcpe | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>If this runs on a node server, it makes perfect sense.<|eor|><|sor|>Will it work on node? Is there access to DOM APIs in node?<|eor|><|sor|>Sure. It's super common to prerender your JS app in Node.<|eor|><|eols|><|endoftext|> | 61 |
programminghorror | PranshuKhandal | haze98f | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>If this runs on a node server, it makes perfect sense.<|eor|><|sor|>Will it work on node? Is there access to DOM APIs in node?<|eor|><|eols|><|endoftext|> | 58 |
programminghorror | ShelZuuz | hb094l0 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|> When JavaScript is enabled, the user will see a notification *Please enable JavaScript*. This is obviously mis... | 53 |
programminghorror | sohang-3112 | hb04kw7 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|> When JavaScript is enabled, the user will see a notification *Please enable JavaScript*. This is obviously mis... | 48 |
programminghorror | mattsowa | haz62f9 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Yup, this is the sort of coder who mindlessly uses "let".<|eor|><|sor|>May you please elaborate why a keyword that isn't implicitly hoisting a variable and actually respects scopes worse in *any* situation unless you like writing buggy co... | 48 |
programminghorror | User2573 | hayzb49 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Yup, this is the sort of coder who mindlessly uses "let".<|eor|><|soopr|>Im a noob, whats wrong with that?<|eoopr|><|eols|><|endoftext|> | 45 |
programminghorror | abejfehr | hb0fi01 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>If this runs on a node server, it makes perfect sense.<|eor|><|sor|>Will it work on node? Is there access to DOM APIs in node?<|eor|><|sor|>Sure. It's super common to prerender your JS app in Node.<|eor|><|sor|>I dont think anyone would a... | 41 |
programminghorror | Studnicky | hayw5y2 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|><|eor|><|eols|><|endoftext|> | 40 |
programminghorror | RFC793 | hb0abo9 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|>If the client's JS disabled, the code making the notification wouldn't run at all.<|eor|><|sor|>"I used JS to e... | 38 |
programminghorror | SanianCreations | hayyp8e | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Yup, this is the sort of coder who mindlessly uses "let".<|eor|><|sor|>isn't it better than using var though?<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | icguy333 | haz53d9 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Yup, this is the sort of coder who mindlessly uses "let".<|eor|><|soopr|>Im a noob, whats wrong with that?<|eoopr|><|sor|>Nothing at all. As the old saying goes: Make let, not var.<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | Shmutt | hb1bzj4 | <|sols|><|sot|>Yes.<|eot|><|sol|>https://i.redd.it/xacwvywzpjk71.jpg<|eol|><|sor|>Took me a minute to realize the logical flaw here. Priceless.<|eor|><|sor|>What's the flaw? I'm a Javascript noob<|eor|><|sor|>If the client's JS disabled, the code making the notification wouldn't run at all.<|eor|><|sor|>"I used JS to e... | 26 |
programminghorror | yxcv42 | y5c8xi | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|eols|><|endoftext|> | 2,451 |
programminghorror | mngeese | isizaxa | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Dude's getting paid by the hour<|eor|><|eols|><|endoftext|> | 590 |
programminghorror | Koisame | isj9eya | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>But you are missing that with this code you are now able to do:
private static int exactStringSize(String s){
int exactSize = 0;
for (int i = 0; i < ... | 494 |
programminghorror | Thormidable | isizjc3 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Dude's getting paid by the hour<|eor|><|sor|>Dude knows he will arbitrarily be asked to optimise this code down the line, so better to build in de-optimisations now...
Source:... | 299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.