subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
pqpm
idhbs53
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>"Oh not much options in here, weird characters but whatever... Oh god, wtf is that!"<|eor|><|eols|><|endoftext|>
121
programminghorror
m0rpeth
idhiw2d
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I have seen code in German but damn. That's next level shit<|eor|><|sor|>this.kommentarVerfassenUndAbsenden(); &#x200B; Edit, since this seems popular: [https://javaeditor.org/lib/exe/fetch.php?media=de:editorde.png](https...
65
programminghorror
Owlstorm
idhtixt
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I dont know what NSBTSC means but why is trying to connect four times in a row??<|eor|><|sor|>My guess is race condition. Rather than waiting for a response from the first condition or sleeping they've put the same function ...
62
programminghorror
redpepper74
idhnwo7
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I dont know what NSBTSC means but why is trying to connect four times in a row??<|eor|><|eols|><|endoftext|>
58
programminghorror
the_dancing_squirel
idhhyny
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I have seen code in German but damn. That's next level shit<|eor|><|eols|><|endoftext|>
55
programminghorror
altruios
idhmf9d
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>It was all fine until "if logged into Firebase, log out, else check for a Bluetooth connection and then print to screen infinitely"<|eor|><|sor|>I stopped at assigning a new handler to cute. What's wrong with the old one? no...
54
programminghorror
the_dancing_squirel
idhj3tp
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I have seen code in German but damn. That's next level shit<|eor|><|sor|>this.kommentarVerfassenUndAbsenden(); &#x200B; Edit, since this seems popular: [https://javaeditor.org/lib/exe/fetch.php?media=de:editorde.png](https...
48
programminghorror
CYAN_DEUTERIUM_IBIS
idi8ock
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I dont know what NSBTSC means but why is trying to connect four times in a row??<|eor|><|sor|>My guess is race condition. Rather than waiting for a response from the first condition or sleeping they've put the same function ...
35
programminghorror
Earhacker
idhwlc8
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>It was all fine until "if logged into Firebase, log out, else check for a Bluetooth connection and then print to screen infinitely"<|eor|><|sor|>I stopped at assigning a new handler to cute. What's wrong with the old one? no...
30
programminghorror
noop_noob
idiawmk
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>This is fetching UI elements by ID, so the front-end is probably made by some UX person entirely in Chinese using some UI builder that generated the struct automatically. If you force the UX person that don't speak English to...
29
programminghorror
boishan
idhwxfr
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>Slightly random, but what font is that? Its clean af.<|eor|><|eols|><|endoftext|>
27
programminghorror
AugustusLego
idhow8p
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>Are you really scared by chinese characters bro? They even did the job of properly naming variables so you know what each one means.<|eor|><|sor|>No, we are scared of the "if logged into firebase sign out, check bluetooth and...
25
programminghorror
carbonizedlocust
idj3f4h
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>The horror of buying solutions from China developers. I am a Chinese myself but I have real hardtime navigating code written in Chinese characters...<|eor|><|sor|>Especially when you see shit like <|eor|><|eols|><|endoftext|...
21
programminghorror
BLim90
idit5gj
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>The horror of buying solutions from China developers. I am a Chinese myself but I have real hardtime navigating code written in Chinese characters...<|eor|><|eols|><|endoftext|>
18
programminghorror
SingularCheese
idi8lax
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>This is fetching UI elements by ID, so the front-end is probably made by some UX person entirely in Chinese using some UI builder that generated the struct automatically. If you force the UX person that don't speak English to...
17
programminghorror
ahruss
idi92y8
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>I gotta ask WTF is this: ``` B_MAN = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); ``` Im not trying to be snarky, Im genuinely asking. Ive seen this style in some contractor code recently. Is it some kind...
17
programminghorror
mmknightx
idisy91
<|sols|><|sot|>Yo what the fuck?<|eot|><|sol|>https://i.redd.it/vdnjye61nf791.jpg<|eol|><|sor|>proceed proceed proceed proceed proceed proceed proceed<|eor|><|sor|>*Proceed to cast a spell I don't know.*<|eor|><|eols|><|endoftext|>
16
programminghorror
SingularCheese
8bwdjh
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|eols|><|endoftext|>
756
programminghorror
SingularCheese
dxa7asu
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|eols|><|endoftext|>
204
programminghorror
parkotron
dxapngm
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>An internal compiler error (ICE) is actually the much friendlier kind of compiler error, because you have very clear feedback that you've hit a compiler bug, it's not your faul...
173
programminghorror
nightcracker
dxain1i
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|sor|>[deleted]<|eor|><|sor|>...
121
programminghorror
Bioniclegenius
dxatt8m
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>An internal compiler error (ICE) is actually the much friendlier kind of compiler error, because you have very clear feedback that you've hit a compiler bug, it's not your faul...
45
programminghorror
Mildan
dxaesuq
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>I'm sorry to be that guy, but seriously. This is more /r/softwaregore material than programming horror. > Programming Horror is where developers come together to revel in th...
44
programminghorror
marshalpol
dxafzas
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>*proud<|eor|><|eols|><|endoftext|>
43
programminghorror
logophobia
dxancas
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|sor|>[deleted]<|eor|><|sor|>...
42
programminghorror
parkotron
dxb9qy9
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>An internal compiler error (ICE) is actually the much friendlier kind of compiler error, because you have very clear feedback that you've hit a compiler bug, it's not your faul...
27
programminghorror
lavahot
dxaylrg
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|sor|>I'm surprised that only...
22
programminghorror
Mildan
dxag2lr
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>I'm sorry to be that guy, but seriously. This is more /r/softwaregore material than programming horror. > Programming Horror is where developers come together to revel in th...
22
programminghorror
parkotron
dxauelr
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>An internal compiler error (ICE) is actually the much friendlier kind of compiler error, because you have very clear feedback that you've hit a compiler bug, it's not your faul...
18
programminghorror
LB--
dxaole6
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>I recently reported a bug in MSVC where using `offsetof` inside an `if constexpr` block gave you a single error message saying that there were too many errors to recover from, ...
17
programminghorror
lavahot
dxbyf07
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|sor|>I'm surprised that only...
15
programminghorror
nightcracker
dxanyne
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|sor|>[deleted]<|eor|><|sor|>...
15
programminghorror
blueg3
dxbzoaw
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>An internal compiler error (ICE) is actually the much friendlier kind of compiler error, because you have very clear feedback that you've hit a compiler bug, it's not your faul...
15
programminghorror
wallstop
dxah2i6
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>I'm sorry to be that guy, but seriously. This is more /r/softwaregore material than programming horror. > Programming Horror is where developers come together to revel in th...
15
programminghorror
Neebat
dxbx050
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|soopr|>After an hour, I figured out this was caused by creating an array on the stack and then accessing it by reference in a lambda function.<|eoopr|><|sor|>I'm surprised that only...
14
programminghorror
beached
dxb7buh
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>ICE's are like a badge of honour until you realize how common it is<|eor|><|eols|><|endoftext|>
12
programminghorror
waffle299
dxbqbgu
<|sols|><|sot|>I have never felt more fucked than when my code broke the compiler<|eot|><|sol|>https://i.redd.it/rhydnsxonlr01.png<|eol|><|sor|>I did something similar in gcc back in the nineties. Throwing on the -O2 flag broke execution, while compiling with no optimization flag resulted in functional code. With the f...
9
programminghorror
matbiz01
qyhypd
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|eols|><|endoftext|>
753
programminghorror
healplease
hlg5dwu
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>now turn it into one-liner with lost comprehensions, as a challenge<|eor|><|eols|><|endoftext|>
230
programminghorror
KalzK
hlg6q3p
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|eols|><|endoftext|>
118
programminghorror
drbob4512
hlg9y6p
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>now turn it into one-liner with lost comprehensions, as a challenge<|eor|><|sor|>This could be like that one post where everyone worked together to make the...
84
programminghorror
SingularCheese
hlggb62
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>[This is where Prolog truly shines](https://...
84
programminghorror
danfay222
hlgmnx9
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>There are some relatively easy ways to make this more readable. The most obvious one being to create separate functions that do a particular logic operation...
26
programminghorror
jaerie
hlhksim
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>now turn it into one-liner with lost comprehensions, as a challenge<|eor|><|sor|>I don't think anyone really comprehends Lost<|eor|><|eols|><|endoftext|>
26
programminghorror
matbiz01
hlg37rn
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|soopr|>If someone is intresed to see how this atrocity will develop, feel free to check out the project repo: https://github.com/kamil20018/SudokuSolver<|eoopr|>...
24
programminghorror
matbiz01
hlga14c
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>A sudoku solver need not be math heavy thoug...
24
programminghorror
Ninesquared81
hlgiku6
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>A sudoku solver need not be math heavy thoug...
20
programminghorror
AidanWoolley
hlhhnr3
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>A sudoku solver need not be math heavy thoug...
20
programminghorror
sus-is-sus
hlh0qmm
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>needs more recursion<|eor|><|eols|><|endoftext|>
17
programminghorror
BimphyRedixler
hlh3y3r
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>[This is where Prolog truly shines](https://...
16
programminghorror
L33Tech
hlizvwd
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>now turn it into one-liner with lost comprehensions, as a challenge<|eor|><|sor|>This could be like that one post where everyone worked together to make the...
14
programminghorror
moonlandings
hlg86wt
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>A sudoku solver need not be math heavy thoug...
13
programminghorror
Dojan5
hlhsr85
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>[This is where Prolog truly shines](https://...
11
programminghorror
SingularCheese
hljimiw
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>[This is where Prolog truly shines](https://...
11
programminghorror
matbiz01
hlgmcna
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|sor|>A sudoku solver need not be math heavy thoug...
10
programminghorror
Laserdude10642
hlhaawy
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>Not at all spaghetiified but certainly the nesting is scary at first glance<|eor|><|eols|><|endoftext|>
9
programminghorror
VisibleSignificance
hlk1gg8
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>now turn it into one-liner with lost comprehensions, as a challenge<|eor|><|sor|>> lost comprehensions "It's part of the process, in search of lost compreh...
9
programminghorror
ramsay1
hlh4psm
<|sols|><|sot|>I'm making a sudoku solver and I've managed to create some beautiful working spaghetti<|eot|><|sol|>https://i.redd.it/5s8zo7gp7u081.png<|eol|><|sor|>I wouldn't expect a math heavy algorithm such as a sudoku solver to look super neat and intuitive.<|eor|><|soopr|>It would be very difficult to make code fo...
9
programminghorror
Skullruss
wly5im
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|eols|><|endoftext|>
753
programminghorror
Chocolate_Pickle
ijx80w4
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>Found something similar to this on production code this week. The debug log was (sensibly) wrapped in a are-we-debugging check on a variable that gets passed in. But the ham...
96
programminghorror
SwissGuyInNorway
ijwj02k
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>Totally redundant because if they can see info, they can certainly see debug already<|eor|><|sor|>No. The opposite is true. Whenever you can see debug you see info (and warnin...
55
programminghorror
roughstylez
ijz09zz
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>Found something similar to this on production code this week. The debug log was (sensibly) wrapped in a are-we-debugging check on a variable that gets passed in. But the ham...
26
programminghorror
joshuakb2
ijwjvhy
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>Totally redundant because if they can see info, they can certainly see debug already<|eor|><|sor|>No. The opposite is true. Whenever you can see debug you see info (and warnin...
23
programminghorror
__pulse0ne
ijxe398
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>Maybe the debug log appender is going to a different file? Only thing I can think of that would make sense<|eor|><|eols|><|endoftext|>
18
programminghorror
r0ut66
ijxa8ge
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>I often use the following triad: console.log console.debug console.warning<|eor|><|eols|><|endoftext|>
11
programminghorror
Leipaella
ijz65ra
<|sols|><|sot|>For when you have no idea what level of information the message is.<|eot|><|sol|>https://i.redd.it/pc9jbm46l4h91.png<|eol|><|sor|>Found something similar to this on production code this week. The debug log was (sensibly) wrapped in a are-we-debugging check on a variable that gets passed in. But the ham...
7
programminghorror
carloschida
f8n59q
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|eols|><|endoftext|>
752
programminghorror
BrianBoyko
fimrcq1
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
315
programminghorror
prx24
fimotb6
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>Not correcto<|eor|><|eols|><|endoftext|>
231
programminghorror
AbacaxiDoidao
fims2ro
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
224
programminghorror
markand67
fimftab
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>I always love to see this. I can't believe those developer are naive enough to only check for a file extension to see if a file is valid. -cough- libmagi...
80
programminghorror
truh
fimi8vc
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>I always love to see this. I can't believe those developer are naive enough to only check for a file extension to see if a file is valid. -cough- libmagi...
67
programminghorror
SaltyEmotions
fimpvil
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>Not correcto<|eor|><|sor|>correcto = !!False<|eor|><|eols|><|endoftext|>
51
programminghorror
JasperHasArrived
fimlunm
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>Que mierda es esta?<|eor|><|eols|><|endoftext|>
40
programminghorror
TinyBreadBigMouth
fimzhz9
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
40
programminghorror
a-person-called-Eric
fimtr3u
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
39
programminghorror
ThatCheesyPotato
fimm11m
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>I always love to see this. I can't believe those developer are naive enough to only check for a file extension to see if a file is valid. -cough- libmagi...
39
programminghorror
Eclipsan
fink2fg
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
33
programminghorror
VegasTamborini
fimq28b
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>[deleted]<|eor|><|sor|>There is sooo much wrong with this. Why bother rewriting .toLowercase() multiple times? They should have at least been smart en...
31
programminghorror
Dreadedsemi
fimvqk0
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>Not correcto<|eor|><|sor|>What's funny about using non-English is eventually an English speaker will work on the code and it becomes a bag of languages.<...
25
programminghorror
Morphing-Jar
fin5ff6
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
21
programminghorror
XcronnBonn
fimdcw5
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>Esto es asqueroso<|eor|><|eols|><|endoftext|>
16
programminghorror
SuspiciousScript
fimx776
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
16
programminghorror
Turd_King
finmg5r
<|sols|><|sot|>Found the programming jewel of the Spanish Crown on a government site (that doesn't work)<|eot|><|sol|>https://i.redd.it/r9qhuejffti41.png<|eol|><|sor|>``` const esCorrecto = (elem) => [ 'rtf', 'docx', 'tiff', 'svg', 'png', 'odp', 'pdf', 'ods', 'odt', 'odg' ].includes(elem.t...
14
programminghorror
Khrinx
bogvdo
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|eols|><|endoftext|>
752
programminghorror
ema8_88
eng94ol
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|eols|><|endoftext|>
400
programminghorror
Khrinx
eng9hve
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|soopr|>Hard to say. As his comment about this is "rofl", it i...
211
programminghorror
ema8_88
eng9r0h
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|soopr|>Hard to say. As his comment about this is "rofl", it i...
163
programminghorror
the_monkey_of_lies
engdkic
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>The real horror is the top level if-else. They already have two different ways of handling the same exception depending on `lastNameFirst` because they p...
90
programminghorror
elperroborrachotoo
engn73z
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|sor|>Going by the "this is strange, he exists only once" comm...
69
programminghorror
ShadowPouncer
engfjz5
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>So, user 161 is excluded from the logs. I'm willing to bet that at least some point, these checks were everywhere, and _one_ of them was ever so slightl...
57
programminghorror
rangeDSP
engdyva
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|soopr|>Hard to say. As his comment about this is "rofl", it i...
55
programminghorror
linuxlib
engo3y8
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|soopr|>Hard to say. As his comment about this is "rofl", it i...
42
programminghorror
Polantaris
enghz0x
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|sor|>Only exception logging, too. Which implies there's some ...
24
programminghorror
manghoti
engxsp9
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>So, user 161 is excluded from the logs. I'm willing to bet that at least some point, these checks were everywhere, and _one_ of them was ever so slightl...
20
programminghorror
Skyrmir
engyc1x
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>User 161 had a problem, they wanted a break point rather than stepping over 161 times or setting a watch point. When they were done, they didn't delete ...
16
programminghorror
scti
engrvog
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|sor|>Going by the "this is strange, he exists only once" comm...
15
programminghorror
Polantaris
engi6up
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>The real horror is the top level if-else. They already have two different ways of handling the same exception depending on `lastNameFirst` because they p...
14
programminghorror
akashy12
engr4ga
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>He's willingly excluding user 161 from logs. Maybe it's an id reserved for testing?<|eor|><|sor|>Going by the "this is strange, he exists only once" comm...
12
programminghorror
BetterCombination
engfpz5
<|sols|><|sot|>Someone wanted to make absolutely sure user 161 gets the same treatment as everybody else<|eot|><|sol|>https://i.redd.it/ok83ghjmf5y21.png<|eol|><|sor|>Maybe user 161 is Madonna and there's no last name.<|eor|><|eols|><|endoftext|>
8