subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
tejasam95
fvr1lml
<|sols|><|sot|>This is why I have trust issues.<|eot|><|sol|>https://i.redd.it/wwz00ml7mn651.jpg<|eol|><|sor|>why tf do you use boolean for keys?<|eor|><|soopr|>No I was using the Boolean to get the exceptionally result from the CompletableFuture for exception handling<|eoopr|><|eols|><|endoftext|>
18
programminghorror
rei0d
fvseu7h
<|sols|><|sot|>This is why I have trust issues.<|eot|><|sol|>https://i.redd.it/wwz00ml7mn651.jpg<|eol|><|sor|>My suspicion is that one of those List is `java.awt.List`, and the other one is `java.util.List`<|eor|><|sor|>So glad awt isn't in Android Java. This particular annoyance never a occurs.<|eor|><|sor|>Hasn't and...
17
programminghorror
MarkusA380
fvr4lj2
<|sols|><|sot|>This is why I have trust issues.<|eot|><|sol|>https://i.redd.it/wwz00ml7mn651.jpg<|eol|><|sor|>This is why I hate typed languages<|eor|><|sor|>*"The beeping of the gas leak detector is giving me a headache!"*<|eor|><|eols|><|endoftext|>
16
programminghorror
JaZoray
fvs67kl
<|sols|><|sot|>This is why I have trust issues.<|eot|><|sol|>https://i.redd.it/wwz00ml7mn651.jpg<|eol|><|sor|>What kind of insane data structure is that? I can't imagine a scenario where that kind of map of lists of lists is needed. Also, is the type of key of the map a boolean??<|eor|><|sor|>lol it seem so yeah, the I...
15
programminghorror
panzerfausted
shsg4o
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|eols|><|endoftext|>
1,305
programminghorror
OutlandishnessNo7286
hv4cmo0
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>That's like saying this sentence is false.<|eor|><|eols|><|endoftext|>
132
programminghorror
just-bair
hv4ncoz
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>I want to know what kind of horror is in this function<|eor|><|eols|><|endoftext|>
96
programminghorror
jzrobot
hv62ky2
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>Inside the function: CryptoMiner.Start()<|eor|><|eols|><|endoftext|>
79
programminghorror
Popernicus
hv6lqg0
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>I want to know what kind of horror is in this function<|eor|><|sor|>It's recursive.. and just calls `ignore()` <|eor|><|eols|><|endoftext|>
71
programminghorror
evildevil90
hv5k35y
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>nothingToSeeHere();<|eor|><|eols|><|endoftext|>
70
programminghorror
MotorolaDroidMofo
hv5jt8k
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>Probably not horror. This kind of stuff is really common in parser code. "Ignore this line (of code that we are parsing)." Then you have an `ignore` function that does that.<|eor|><|eols|><|endoftext|>
44
programminghorror
1ElectricHaskeller
hv79uue
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>I want to know what kind of horror is in this function<|eor|><|sor|>It's recursive.. and just calls `ignore()` <|eor|><|sor|>Aad logs every call via log4j so that you can keep easy track of what you have t...
34
programminghorror
bric12
hv6v53t
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>Probably not horror. This kind of stuff is really common in parser code. "Ignore this line (of code that we are parsing)." Then you have an `ignore` function that does that.<|eor|><|sor|>Yeah, if the "this...
28
programminghorror
pqtdev
hv7i5my
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>That's like saying this sentence is false.<|eor|><|sor|>true<|eor|><|eols|><|endoftext|>
23
programminghorror
radboss92
hv81k2o
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>Inside the function: CryptoMiner.Start()<|eor|><|sor|>Whos crying?<|eor|><|eols|><|endoftext|>
22
programminghorror
Ok_Detective5953
hv4t6k6
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>No, and you cant make me either! *proceeds to investigate the function with suspicion*<|eor|><|eols|><|endoftext|>
17
programminghorror
1008oh
hv90zia
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>I want to know what kind of horror is in this function<|eor|><|sor|> void ignore() { __asm__("nop"); }<|eor|><|eols|><|endoftext|>
13
programminghorror
AgreeableLandscape3
hv8nzta
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|> void ignore() { return; }<|eor|><|eols|><|endoftext|>
10
programminghorror
ZylonBane
hv5djyi
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>THAT VENTURE BROS QUOTE!<|eor|><|eols|><|endoftext|>
10
programminghorror
FlipskiZ
hv8t9a4
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>I want to know what kind of horror is in this function<|eor|><|sor|>It's recursive.. and just calls `ignore()` <|eor|><|sor|>Aad logs every call via log4j so that you can keep easy track of what you have t...
8
programminghorror
Mc_UsernameTaken
hv6hzgr
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>Sometimes I feel like the compiler ignores my comments too.<|eor|><|eols|><|endoftext|>
6
programminghorror
KBY1152
hv98it6
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>That's like saying this sentence is false.<|eor|><|sor|>true<|eor|><|sor|>no ````false````<|eor|><|eols|><|endoftext|>
6
programminghorror
1008oh
hv9eit5
<|sols|><|sot|>I just can't ignore this line of code<|eot|><|sol|>https://i.redd.it/v947iirse7f81.png<|eol|><|sor|>I want to know what kind of horror is in this function<|eor|><|sor|> void ignore() { __asm__("nop"); }<|eor|><|sor|>is this C<|eor|><|sor|>Yeah, it's C with inline assembly that you c...
6
programminghorror
EwgB
1181qpi
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|eols|><|endoftext|>
1,300
programminghorror
jcoelho93
j9et7lo
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|eols|><|endoftext|>
418
programminghorror
HitLuca
j9evyae
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|># NO MAGIC NUMBERS IN PRODUCTION!<|eor|><|eols|><|endoftext|>
291
programminghorror
WalditRook
j9f3c6w
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>My car has a little warning light on the passenger side to show that the air...
218
programminghorror
pppompin
j9exbyh
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>If you want to see everybody loosing their minds, change one of those values.<|eor|><|eols|><|endoftext|>
147
programminghorror
Thecrawsome
j9ewpla
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>Bade<|eor|><|eols|><|endoftext|>
129
programminghorror
Ajvn_oncloud
j9evsp1
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>Probably in public class NUMBERS {}<|eor|><|eols|><|endoftext|>
120
programminghorror
zerovian
j9f6zg0
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>My car has a little warning light on the passenger side to show that the air...
114
programminghorror
cimicdk
j9fgyw4
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>If you want to see everybody loosing their minds, change one of those values.<|eor|><|sor|>Ha ha, reminds me of a codebase I took over once: ``` static final int CN_PKG_S = 41; // TH...
111
programminghorror
q1a2z3x4s5w6
j9fnxq2
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>My car has a little warning light on the passenger side to show that the air...
80
programminghorror
l7ssha
j9etf4p
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>That's even crappier then<|eor|><|eols|><|endoftext|>
60
programminghorror
bigk5a
j9f3s23
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>You missed the point then. The constant name has to have a meaning. `ONE`, `...
59
programminghorror
EwgB
j9exv5a
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>If you want to see everybody loosing their minds, change one of those values.<|eor|><|soopr|>Yeah, thanks, Satan! The one losing his mind would be me in this case, since I'm the most...
46
programminghorror
Deutschlands_Kaiser
j9fl65f
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>My car has a little warning light on the passenger side to show that the air...
46
programminghorror
Freeware4802
j9f4k1g
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>Probably in public class NUMBERS {}<|eor|><|sor|>just sharing knowledge. Its java which does not support static classes unless they are nested edit: Yes you can declare static method...
41
programminghorror
Hreinyday
j9fzhli
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>My car has a little warning light on the passenger side to show that the air...
39
programminghorror
EwgB
j9f6trs
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>You missed the point then. The constant name has to have a meaning. `ONE`, `...
35
programminghorror
EwgB
j9ex9e2
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>Bade<|eor|><|soopr|> Damn it! Can't fix it now...<|eoopr|><|eols|><|endoftext|>
34
programminghorror
thetimujin
j9fm8u4
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>Good thing those fields are private, there is no reason for the outside classes to know what 4 is<|eor|><|eols|><|endoftext|>
29
programminghorror
Yoyoeat
j9fnpej
<|sols|><|sot|>I knew our code was bade, but this was too much even for me<|eot|><|sol|>https://i.redd.it/5zf3opxp6jja1.png<|eol|><|sor|>That's actually to avoid a checkstyle warning. Not defending it... Just saying. Magic number<|eor|><|sor|>My car has a little warning light on the passenger side to show that the air...
29
programminghorror
zappellin
qz6408
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|eols|><|endoftext|>
1,298
programminghorror
Dijkztra
hlkyvt0
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>Why divide and conquer if you can multiply and surrender.<|eor|><|eols|><|endoftext|>
317
programminghorror
reverendsteveii
hlknrbt
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|eols|><|endoftext|>
254
programminghorror
Gilsidoo
hlkq42s
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>Well it is provable that the square operator preserves oddity but still taking k*k and not -k is probably the most baffling part of the algorithm<|eor|...
199
programminghorror
aaryanmoin
hllra6u
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>Well it is provable that the square operator preserves oddity but still taking k*k and not -k is probably the most baffling part of the algorithm<|eor|...
80
programminghorror
8bitslime
hlkqwy8
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>This is perfectly fine if you consider that not every machine might be able to do a modulo or bit operations, and you might want that to run on such machines. Definitely has SICP vibes though. Edit: i mean a theoretical ...
54
programminghorror
intensely_human
hllrhgm
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>Why divide and conquer if you can multiply and surrender.<|eor|><|sor|>subtract and yield<|eor|><|eols|><|endoftext|>
53
programminghorror
dented42
hlkxyo9
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>Except for the square thing which is weird this is the most direct translation of the mathematical notion of oddness that you can get.<|eor|><|eols|><|endoftext|>
46
programminghorror
intensely_human
hllrdj5
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>Well it is provable that the square operator preserves oddity but still taking k*k and not -k is probably the most baffling part of the algorithm<|eor|...
44
programminghorror
reverendsteveii
hlkvz6n
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>It's python so just make k a string. Broken.<|eor|><|sor|>I mean, it's not this method's job to do type checking in my opinion, but that also depends o...
34
programminghorror
lunar_tardigrade
hlkn6zc
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>Pretty scary<|eor|><|eols|><|endoftext|>
31
programminghorror
SirNamesAlotx
hlkz1cm
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>What the hell is he trying to do? Its just not practical it seems<|eor|><|sor|>Looks like they're checking if a number is odd or even, but only by comparing it at 1 or 0. So if it's greater subtract 2 until it's 1 or 0, i...
30
programminghorror
someguyfloatingaway
hll677y
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>It's python so just make k a string. Broken.<|eor|><|sor|>I mean, it's not this method's job to do type checking in my opinion, but that also depends o...
30
programminghorror
MJBrune
hlkpntb
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>It's python so just make k a string. Broken.<|eor|><|eols|><|endoftext|>
26
programminghorror
SunshineOneDay
hllikye
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>Why can you not just do; return k % 2 == 0<|eor|><|sor|>Thats not recursive. If the goal was specifically to determine odd to teach recursion then your answer wouldnt fit. If this is production code youd be right. Thi...
24
programminghorror
Malchar2
hllcs7f
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>"recursion can solve _any_ problem"<|eor|><|eols|><|endoftext|>
20
programminghorror
hesapmakinesi
hlmqsn0
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>Pretty scary<|eor|><|sor|>Depends on the purpose. In a serious project this is horrifying. However it seems like the actual mathematical definition of being odd, so it is probably an exercise.<|eor|><|eols|><|endoftext|>
14
programminghorror
intensely_human
hllrt83
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>How will the k<0 condition be triggered?<|eor|><|sor|>when k < 0<|eor|><|eols|><|endoftext|>
13
programminghorror
M8Ir88outOf8
hlmc68n
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|> function odd(k) { var flipflop = true try { while(true) { k++; flipflop = !flipflop } } catch (INT_OVERFLOW_ERR) { if(flipflop == true) return true else retu...
13
programminghorror
jonnyyboyy
hllh9ry
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>..as long as k is an integer. If its between no numbers, it breaks.<|eor|><|sor|>Is 2.5 odd or even?<|eor|><|sor|>It is neither, so it's correct to say...
13
programminghorror
serg06
hllbenk
<|sols|><|sot|>Recursive programming<|eot|><|sol|>https://i.redd.it/pnid3v3jjs081.png<|eol|><|sor|>my God, it seems like it would work. even the k^2 thing.<|eor|><|sor|>..as long as k is an integer. If its between no numbers, it breaks.<|eor|><|sor|>Is 2.5 odd or even?<|eor|><|eols|><|endoftext|>
11
programminghorror
therealpussyslayer
l4nn91
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|eols|><|endoftext|>
1,296
programminghorror
Seblor
gkpxeuv
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|sor|>[Recursion.](https://www.reddit.com/r/programminghorror/comments/l4nn91/i_think_i_might_have_an_error_in_line_27/gkpxeuv/)<|eor|><|eols|><|endoftext|>
227
programminghorror
MarvinParanoAndroid
gkpgqiu
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>And the error is on line 26...<|eor|><|eols|><|endoftext|>
198
programminghorror
audriuska12
gkpwt7b
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|eols|><|endoftext|>
106
programminghorror
vaalenz
gkpyca5
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|sor|>[Recursion.](https://www.reddit.com/r/programminghorror/comments/l4nn91/i_think_i_might_have_an_error_in_line_27/gkpxeuv/)<|eor|><|sor|>r/Angryupvote<|eor|><|eols|><|endoftext|>
100
programminghorror
therealpussyslayer
gkpehey
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Just buy ~4 monitors to read one line of code<|eoopr|><|eols|><|endoftext|>
76
programminghorror
therealpussyslayer
gkpmgpl
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>And the error is on line 26...<|eor|><|soopr|>You never know<|eoopr|><|eols|><|endoftext|>
70
programminghorror
therealpussyslayer
gkpxlib
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|soopr|>The funny thing is: no loops at all. I only tried to inizialize a DocumentBuilderFactory (and fucked up, obviously)<|eoopr|><|eols|><|endoftext|>
29
programminghorror
Finding_Dory27
gkpvt1x
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Please tell me that the file has more than 10 lines<|eor|><|eols|><|endoftext|>
24
programminghorror
therealpussyslayer
gkq9wrc
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|soopr|>The funny thing is: no loops at all. I only tried to inizialize a DocumentBuilderFactory (and fucked up, obviously)<|eoopr|><|sor|>there's a static method on that factory that ...
23
programminghorror
rgunti
gkq0ta2
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Plot twist: Line 27 is empty<|eor|><|eols|><|endoftext|>
20
programminghorror
therealpussyslayer
gkq3a9h
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|soopr|>The funny thing is: no loops at all. I only tried to inizialize a DocumentBuilderFactory (and fucked up, obviously)<|eoopr|><|sor|>Is the default constructor inadvertantly call...
19
programminghorror
carfniex
gkq9qj2
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|soopr|>The funny thing is: no loops at all. I only tried to inizialize a DocumentBuilderFactory (and fucked up, obviously)<|eoopr|><|sor|>there's a static method on that factory that ...
18
programminghorror
ElbowStromboli
gkq7iy6
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|sor|>[Recursion.](https://www.reddit.com/r/programminghorror/comments/l4nn91/i_think_i_might_have_an_error_in_line_27/gkpxeuv/)<|eor|><|sor|>r/Angryupvote<|eor|><|sor|>We are infinite...
17
programminghorror
shaybra
gkpvmf8
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Just buy ~4 monitors to read one line of code<|eoopr|><|sor|>[deleted]<|eor|><|sor|>had to buy a second 32-inch monitor just to learn the damn language<|eor|><|eols|><|endoftext...
15
programminghorror
Seismicsentinel
gkpzvze
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|soopr|>The funny thing is: no loops at all. I only tried to inizialize a DocumentBuilderFactory (and fucked up, obviously)<|eoopr|><|sor|>Is the default constructor inadvertantly call...
13
programminghorror
Fractal_Unreality
gkqefky
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|sor|>[Recursion.](https://www.reddit.com/r/programminghorror/comments/l4nn91/i_think_i_might_have_an_error_in_line_27/gkpxeuv/)<|eor|><|sor|>Recursion<|eor|><|eols|><|endoftext|>
11
programminghorror
koebelin
gkqu1ev
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Recursion?<|eor|><|sor|>[Recursion.](https://www.reddit.com/r/programminghorror/comments/l4nn91/i_think_i_might_have_an_error_in_line_27/gkpxeuv/)<|eor|><|sor|>Recursion<|eor|><|sor|>Base case.<|eor|><|...
11
programminghorror
IDKWhatnamet0hav3
gkq3454
<|sols|><|sot|>i think i might have an error in line 27<|eot|><|sol|>https://i.redd.it/w79yyo5tahd61.png<|eol|><|sor|>Please tell me that the file has more than 10 lines<|eor|><|sor|>No<|eor|><|eols|><|endoftext|>
10
programminghorror
_agent--47_
i0m05l
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|eols|><|endoftext|>
1,296
programminghorror
valt123
fzqxmze
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>at first I thought it was a screenshot from Dwarf Fortress<|eor|><|eols|><|endoftext|>
426
programminghorror
melance
fzqya6n
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>But is it valid Brainfuck? Can it be converted to Emojicode?<|eor|><|eols|><|endoftext|>
215
programminghorror
Mr_Redstoner
fzrffnn
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>hahhaah i wrote some bullshit code noones ever gonna write. js bad amirite<|eor|><|sor|>this. i despise js but it's possible to write unreadable crap in any language. jsfuck, taken as the tongue-in-cheek project that i...
113
programminghorror
K1ngjulien_
fzr1rgh
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>hahhaah i wrote some bullshit code noones ever gonna write. js bad amirite<|eor|><|eols|><|endoftext|>
109
programminghorror
tmukingston
fzsen58
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>But is it valid Brainfuck? Can it be converted to Emojicode?<|eor|><|sor|>It is called jsfuck, there is a neat converter online<|eor|><|eols|><|endoftext|>
107
programminghorror
C0urante
fzr2kk6
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>hahhaah i wrote some bullshit code noones ever gonna write. js bad amirite<|eor|><|sor|>this. i despise js but it's possible to write unreadable crap in any language. jsfuck, taken as the tongue-in-cheek project that i...
83
programminghorror
_agent--47_
fzq67yk
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|soopr|>Source: https://portswigger.net/research/executing-non-alphanumeric-javascript-without-parenthesis<|eoopr|><|eols|><|endoftext|>
75
programminghorror
Spiffpitt
fzqjgyn
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>JavaFuck.<|eor|><|sor|>[JsFuck](http://www.jsfuck.com/)<|eor|><|eols|><|endoftext|>
51
programminghorror
Centime
fzsh56p
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|soopr|>Source: https://portswigger.net/research/executing-non-alphanumeric-javascript-without-parenthesis<|eoopr|><|sor|>And here is an online generator that allows you to rewrite any js code using this technique: http://...
39
programminghorror
humbleSolipsist
fzt2fcw
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>[deleted]<|eor|><|sor|>I think you may have missed the point, any JavaScript program can be translated into this form. http://www.jsfuck.com/<|eor|><|eols|><|endoftext|>
37
programminghorror
kallebo1337
fzrkb14
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>hahhaah i wrote some bullshit code noones ever gonna write. js bad amirite<|eor|><|sor|>this. i despise js but it's possible to write unreadable crap in any language. jsfuck, taken as the tongue-in-cheek project that i...
37
programminghorror
Flobaer
fzsx7y0
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>[deleted]<|eor|><|sor|>...but why?<|eor|><|sor|>What's the alternative? That you disallow operations/functions with more than an arbitrary number of arguments?<|eor|><|eols|><|endoftext|>
30
programminghorror
Dornith
fzr5ine
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>hahhaah i wrote some bullshit code noones ever gonna write. js bad amirite<|eor|><|soopr|>Yeah, but this is to circumvent alphanumeric checks in template injection.<|eoopr|><|sor|>What input sanitizer let's you use bra...
26
programminghorror
WhiteRose_init
fzq66yb
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>This is valid shit...<|eor|><|eols|><|endoftext|>
25
programminghorror
Centime
fzsml5r
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>But is it valid Brainfuck? Can it be converted to Emojicode?<|eor|><|sor|>It is called jsfuck, there is a neat converter online<|eor|><|sor|>Not really. The characters set is slightly different, the interesting part b...
25
programminghorror
subgeniuskitty
fztcpht
<|sols|><|sot|>This is valid javascript<|eot|><|sol|>https://i.redd.it/1bepzl1kxzd51.png<|eol|><|sor|>hahhaah i wrote some bullshit code noones ever gonna write. js bad amirite<|eor|><|sor|>this. i despise js but it's possible to write unreadable crap in any language. jsfuck, taken as the tongue-in-cheek project that i...
19