subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
Username928351
jdsjvqx
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>r/fakealbumcovers<|eor|><|eols|><|endoftext|>
63
programminghorror
ryaaan89
jdsp46a
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>instagram.com -> right click -> inspect element<|eor|><|eols|><|endoftext|>
58
programminghorror
King_Joffreys_Tits
jdspbr3
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>At least theyre all tabbed properly<|eor|><|eols|><|endoftext|>
50
programminghorror
UltimatePeace05
jds82ab
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>HtmELL<|eor|><|sor|>Is an anagram for HELL<|eor|><|eols|><|endoftext|>
47
programminghorror
DerailleurDave
jdsf9xu
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>I didn't know that was a thing edit: it isn't<|eor|><|eols|><|endoftext|>
42
programminghorror
fess89
jdso6pe
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>Looks like a very depressing flag<|eor|><|sor|>This would be great for r/VexillologyCirclejerk<|eor|><|sor|>I am truly amazed by the fact that such a subreddit exists<|eor|><|eols|><|endoftext|>
41
programminghorror
NutmegGaming
jdtlis6
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>Looks like a very depressing flag<|eor|><|sor|>This would be great for r/VexillologyCirclejerk<|eor|><|sor|>I am truly amazed by the fact that such a subreddit exists<|eor|><|sor|>I love it so much. I know nothing about...
35
programminghorror
RyanM1977
jds9a3i
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|eols|><|endoftext|>
27
programminghorror
NoLifeGamer2
jds53y2
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>More like HTM/<|eor|><|eols|><|endoftext|>
23
programminghorror
I_JuanTM
jdsfq8w
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>Thanks for the new phone wallpaper<|eor|><|eols|><|endoftext|>
23
programminghorror
_The_Great_Autismo_
jdsslh1
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>I didn't know that was a thing edit: it isn't<|eor|><|sor|>It isn't a thing. If you remove closing tags, the browser will automatically add them to the...
22
programminghorror
Beach-Devil
jdsj65d
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>I didn't know that was a thing edit: it isn't<|eor|><|sor|>Can someone send a source I cant find it on the Mozilla docs<|eor|><|eols|><|endoftext|>
21
programminghorror
lykos1816
jdslkf2
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>I didn't know that was a thing edit: it isn't<|eor|><|sor|>Can someone send a source I cant find it on the Mozilla docs<|eor|><|sor|>Just playing aroun...
21
programminghorror
Ok_Detective5953
jdtghb7
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>Ah yes, *generated html* is a beautiful sight!<|eor|><|eols|><|endoftext|>
19
programminghorror
_The_Great_Autismo_
jdssuqk
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>Since when was that a thing?<|eor|><|sor|>It's not a thing. If it seems to work what is actually happening is the browser is smart enough to add missing...
18
programminghorror
Punchkinz
jdt0bfe
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>I didn't know that was a thing edit: it isn't<|eor|><|sor|>Can someone send a source I cant find it on the Mozilla docs<|eor|><|sor|>Just playing aroun...
16
programminghorror
Global_Release_4182
jdsjvgz
<|sols|><|sot|>HTMLLLLLLLLLLLLLLLLLLLL<|eot|><|sol|>https://i.redd.it/hvg7zl7ss4qa1.jpg<|eol|><|sor|>I dont understand why more people dont use </div all><|eor|><|sor|>Since when was that a thing?<|eor|><|eols|><|endoftext|>
15
programminghorror
lordflashmeow
roi9av
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|eols|><|endoftext|>
1,915
programminghorror
lordflashmeow
hpykpgx
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|soopr|>He inherited the code 11 years ago, and it's lived in CVS for 10 of them.<|eoopr|><|eols|><|endoftext|>
425
programminghorror
alnp1987
hpyk6k4
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|eols|><|endoftext|>
371
programminghorror
randomly_chosen_
hpz8vtx
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>The fuck happened here? I know Git but cant decipher what he did here<|eor|><|eols|><|endoftext|>
256
programminghorror
lordflashmeow
hpz90q4
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>The fuck happened here? I know Git but cant decipher what he did here<|eor|><|soopr|>I wish I knew so I could make him stop<|eoopr|><|eols|><|endoftext|>
200
programminghorror
mats852
hpzg5yq
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>The fuck happened here? I know Git but cant decipher what he did here<|eor|><|sor|>He's knitting<|eor|><|eols|><|endoftext|>
196
programminghorror
das_Keks
hpz1x84
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|soopr|>He inherited the code 11 years ago, and it's lived in CVS for 10 of them.<|eoopr|><|sor|>CVS... That quite some time since I've last heard of it.<|e...
179
programminghorror
Tag366
hpyrjzh
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>May I ask what tool youre using to visualize the history? It looks like a great way to see how things changed!<|eor|><|sor|>That's looks like GitKraken to me. I personally u...
164
programminghorror
Realjsh010
hpyqakm
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>I'm not really familiar with gut, can someone explain me what the issue is?<|eor|><|sor|>**What is Git?** In short, Git can be seen as a file management software. It is commo...
162
programminghorror
liammurray123
hpyqx1r
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>May I ask what tool youre using to visualize the history? It looks like a great way to see how things changed!<|eor|><|eols|><|endoftext|>
135
programminghorror
fukitol-
hpzll0q
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>The fuck happened here? I know Git but cant decipher what he did here<|eor|><|soopr|>I wish I knew so I could make him stop<|eoopr|><|sor|>Looks like he's updating the code on...
109
programminghorror
dracoscythe
hpz2sgf
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|soopr|>He inherited the code 11 years ago, and it's lived in CVS for 10 of them.<|eoopr|><|sor|>CVS... That quite some time since I've last heard of it.<|e...
85
programminghorror
xiyatumerica
hpzjm7m
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>The fuck happened here? I know Git but cant decipher what he did here<|eor|><|sor|>He's knitting<|eor|><|sor|>I believe this qualifies as crocheting<|eor|><|eols|><|endoftext|...
82
programminghorror
icySquirrel1
hpyvknl
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>>senior dev >doesn't understand git hrmm<|eor|><|sor|>This is the case a lot more than you think we have senior devs that maintain the same code for 10 + but never learn git...
77
programminghorror
belkarbitterleaf
hpzch2k
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|soopr|>He inherited the code 11 years ago, and it's lived in CVS for 10 of them.<|eoopr|><|sor|>CVS... That quite some time since I've last heard of it.<|e...
76
programminghorror
Qildain
hpz8p66
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|soopr|>He inherited the code 11 years ago, and it's lived in CVS for 10 of them.<|eoopr|><|sor|>CVS... That quite some time since I've last heard of it.<|e...
74
programminghorror
SoftDev90
hpz4bgn
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>We use SVN at my job. I've been trying to get them to Git for a little bit now, but I just run Git locally and push to a private repo for easier branching and when I'm done wo...
71
programminghorror
Kamoda
hpyujum
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>>senior dev >doesn't understand git hrmm<|eor|><|eols|><|endoftext|>
66
programminghorror
Xaxxus
hpz1wkl
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>May I ask what tool youre using to visualize the history? It looks like a great way to see how things changed!<|eor|><|sor|>GitKraken. Not a huge fan of it though. Its an ele...
62
programminghorror
pele1410
hpywu1z
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>>senior dev >doesn't understand git hrmm<|eor|><|sor|>Ive been working in industry for 15+ years, used Mercurial and CVS the whole time. There is also subversion and a host ...
61
programminghorror
elperroborrachotoo
hq0adez
<|sols|><|sot|>So uhh... Our senior dev is having some issues transitioning to git<|eot|><|sol|>https://i.redd.it/fvuee22ber781.png<|eol|><|sor|>How senior?<|eor|><|soopr|>He inherited the code 11 years ago, and it's lived in CVS for 10 of them.<|eoopr|><|sor|>How does one code for 11 years and never touch git?? It se...
58
programminghorror
NAL_Gaming
koh9al
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|eols|><|endoftext|>
1,907
programminghorror
iliekcats-
ghr7xel
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>just in case victory wasnt true ya know<|eor|><|eols|><|endoftext|>
347
programminghorror
NAL_Gaming
ghr86cu
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>just in case victory wasnt true ya know<|eor|><|soopr|>Yeah... You never know if a cosmic ray has flipped one of the bits...<|eoopr|><|eols|><|endoftext|>
252
programminghorror
TheSirGrailluet
ghr8mlo
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>I also like that he has == True<|eor|><|eols|><|endoftext|>
229
programminghorror
1thief
ghrk2rj
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>What a coincidence. I also like to .play(pp) Wholesome chungus 420<|eor|><|eols|><|endoftext|>
171
programminghorror
Gaboik
ghrayuq
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>That color scheme is even more of an abomination imo<|eor|><|eols|><|endoftext|>
165
programminghorror
fcktheworld587
ghrhkqk
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>just in case victory wasnt true ya know<|eor|><|soopr|>Yeah... You never know if a cosmic ray has flipped one of the bits...<|eoopr|><|sor|>Yep. Any time any data is assigned to any varia...
81
programminghorror
NAL_Gaming
ghrgkp9
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>"voitit" means "you won" in finnish... Finnish variables... Add that to the list as well...<|eoopr|><|eols|><|endoftext|>
64
programminghorror
haikusbot
ghs09uv
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>Meh, the compiler will optimize this away... Oh wait, it's python<|eor|><|sor|>*Meh, the compiler* *Will optimize this away...* *Oh wait, it's python* \- m2ilosz --- ^(I detect haikus...
61
programminghorror
NAL_Gaming
ghrbci9
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>That color scheme is even more of an abomination imo<|eor|><|soopr|>Yeah... I was like "what the hell?" when I first saw that my friend was coding with that theme...<|eoopr|><|eols|><|endo...
51
programminghorror
TheSirGrailluet
ghre38c
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>That color scheme is even more of an abomination imo<|eor|><|soopr|>Yeah... I was like "what the hell?" when I first saw that my friend was coding with that theme...<|eoopr|><|sor|>i... li...
41
programminghorror
RichCorinthian
ghrmo65
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>That color scheme is even more of an abomination imo<|eor|><|sor|>Preferences -> Theme -> Pumpkin Spice<|eor|><|eols|><|endoftext|>
35
programminghorror
iliekcats-
ghtc2fl
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>just in case victory wasnt true ya know<|eor|><|soopr|>Yeah... You never know if a cosmic ray has flipped one of the bits...<|eoopr|><|sor|>Yep. Any time any data is assigned to any varia...
31
programminghorror
Aycion
ght5ppw
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>I also like that he has == True<|eor|><|sor|>Yup, it hurts eyes. If victory, would suffice<|eor|><|sor|>if ((victory := true) == true) Edit: walrus because it's python<|eor|><|eols|><|end...
29
programminghorror
tntexplosivesltd
ghrpudd
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>I would do this if I'm debugging, but only if we took in victory from another place or it was set earlier in the code.<|eor|><|eols|><|endoftext|>
27
programminghorror
m2ilosz
ghs08y7
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>Meh, the compiler will optimize this away... Oh wait, it's python<|eor|><|eols|><|endoftext|>
27
programminghorror
iliekcats-
ghrciqr
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>That color scheme is even more of an abomination imo<|eor|><|soopr|>Yeah... I was like "what the hell?" when I first saw that my friend was coding with that theme...<|eoopr|><|sor|>i... li...
25
programminghorror
GildedGrizzly
ghrlp5q
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>I also like that he has == True<|eor|><|sor|>That variable could be assigned to anything! In situations like this, you just cant know for sure.<|eor|><|eols|><|endoftext|>
22
programminghorror
HotRodLincoln
ghsanyq
<|sols|><|sot|>Yeah we could check this just to be completely sure...<|eot|><|sol|>https://i.redd.it/ai0488i7vr861.png<|eol|><|sor|>just in case victory wasnt true ya know<|eor|><|soopr|>Yeah... You never know if a cosmic ray has flipped one of the bits...<|eoopr|><|sor|>>Everything is volatile. -Nietzsche (sort of)<|...
22
programminghorror
Drarok
k4iexo
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|eols|><|endoftext|>
1,903
programminghorror
lordheart
ge91ouc
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Manual loop unrolling, its a secret technique compiler engineers dont want you to know<|eor|><|eols|><|endoftext|>
456
programminghorror
Md5Lukas
ge9gk4e
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>> ... >slide_29_image >slide_30_image >slide_30_image >slide_30_image >slide_30_image Its even incorrect<|eor|><|eols|><|endoftext|>
209
programminghorror
Drarok
ge9bc8o
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Manual loop unrolling, its a secret technique compiler engineers dont want you to know<|eor|><|soopr|>Computer engineers? In *my* PHP?!<|eoopr|><|eo...
165
programminghorror
tencaig
ge9rzwq
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Manual loop unrolling, its a secret technique compiler engineers dont want you to know<|eor|><|sor|>Gotta do what you gotta do when you're paid by t...
125
programminghorror
Drarok
ge9h0ni
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Looks auto generated to me<|eor|><|soopr|>[Another commenter](https://reddit.com/r/programminghorror/comments/k4iexo/_/ge9gk4e/?context=1) pointed o...
106
programminghorror
Drarok
ge9gt78
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>> ... >slide_29_image >slide_30_image >slide_30_image >slide_30_image >slide_30_image Its even incorrect<|eor|><|soopr|>Good eye! I dont think...
93
programminghorror
lordheart
ge9fi9f
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Manual loop unrolling, its a secret technique compiler engineers dont want you to know<|eor|><|sor|>How do you know it is loop unrolling?<|eor|><|so...
84
programminghorror
Senpainopantsu
ge9luwl
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Yanderedev is that you?<|eor|><|eols|><|endoftext|>
70
programminghorror
frederikja
ge8zg6w
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Looks auto generated to me<|eor|><|eols|><|endoftext|>
68
programminghorror
Drarok
ge907c8
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Looks auto generated to me<|eor|><|soopr|>You'd hope so, but I'm not sure!<|eoopr|><|eols|><|endoftext|>
43
programminghorror
martinikene
ge9anon
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>I've seen shit like this. Hell, I'm currently repairing a project that has shit like this all over.<|eor|><|eols|><|endoftext|>
36
programminghorror
sfrast
ge9s9g3
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>seeing it's using WP ACF plugin, calling that many time get\_field() making a new db request every time, smh...<|eor|><|eols|><|endoftext|>
20
programminghorror
LudacrisX1
ge9vfhs
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>I've seen shit like this. Hell, I'm currently repairing a project that has shit like this all over.<|eor|><|sor|>Godspeed<|eor|><|eols|><|endoftext|...
20
programminghorror
Drarok
geaa2t1
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Me. Am php developer: Ah - I see the problem. Use 2-digit precision ('01') so the code would line up better. Heck, cleaner. More readable! Fixed!...
19
programminghorror
AnonymouseVR
ge9n9x3
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>> ... >slide_29_image >slide_30_image >slide_30_image >slide_30_image >slide_30_image Its even incorrect<|eor|><|sor|>That is the first thing ...
18
programminghorror
maegol
ge9du2w
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>It's the bi flag of bad coding<|eor|><|eols|><|endoftext|>
16
programminghorror
MrSchamberg
ge95os0
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Manual loop unrolling, its a secret technique compiler engineers dont want you to know<|eor|><|sor|>How do you know it is loop unrolling?<|eor|><|eo...
16
programminghorror
Drarok
geaachy
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>seeing it's using WP ACF plugin, calling that many time get\_field() making a new db request every time, smh...<|eor|><|soopr|>You should see the co...
14
programminghorror
dimonoid123
geba082
<|sols|><|sot|>If only there were a way to run the same code several times, increasing a number for each run!<|eot|><|sol|>https://i.redd.it/wrf25cdhyj261.png<|eol|><|sor|>Manual loop unrolling, its a secret technique compiler engineers dont want you to know<|eor|><|soopr|>Computer engineers? In *my* PHP?!<|eoopr|><|so...
14
programminghorror
mikat7
jdynpg
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|eols|><|endoftext|>
1,895
programminghorror
deceze
g9bc95u
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|> (!!(bool)$value ? true : false) ? (bool)true : (bool)false Finally: type-safety!<|eor|><|eols|><|endoftext|>
243
programminghorror
bankrobba
g9bd00n
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>I shudder to think what's in the Else statement<|eor|><|eols|><|endoftext|>
118
programminghorror
armageddon_20xx
g9be00x
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|eols|><|endoftext|>
67
programminghorror
OneTrueKingOfOOO
g9boc29
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>I shudder to think what's in the Else statement<|eor|><|sor|>I can only assume that this is inside a function and the Else statement calls the function again with value = !value<|eor|><|eols|><|endoftext|>
38
programminghorror
UnacceptableUse
g9btg0u
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>I can imagine someone writing this at 3 AM after debugging "x is not a boolean" type errors all day for something that needs to ship tomorrow<|eor|><|eols|><|endoftext|>
26
programminghorror
iliekcats-
g9bh88g
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>`if (is_bool(is_bool($value))) === true) {` `return $value ? true : false;` `}`<|eor|><|eols|><|endoftext|>
17
programminghorror
_PM_ME_PANGOLINS_
g9bza9n
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|sor|>Of that if it is a bool you can just return it i...
16
programminghorror
iliekcats-
g9bi1hf
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>`if (is_bool(is_bool($value))) === true) {` `return $value ? true : false;` `}`<|eor|><|sor|>Gotta make sure `is_bool` returns a `bool`<|eor|><|sor|>yeah, lemme make extra sure... &#x200B; `if (is_bool(i...
16
programminghorror
larsmaehlum
g9cbwmw
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|sor|>Not necessarily true, the if is just a boolean c...
16
programminghorror
Sophira
g9emoad
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|> (!!(bool)$value ? true : false) ? (bool)true : (bool)false Finally: type-safety!<|eor|><|sor|>That doesn't check that `$value` is *actually* a `bool`, though. It might be a number, and here you are just tre...
10
programminghorror
williewodka
g9bmidy
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|sor|>Not necessarily true, the if is just a boolean c...
10
programminghorror
larsmaehlum
g9ccgjp
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|sor|>Not necessarily true, the if is just a boolean c...
10
programminghorror
Hupf
g9emh9e
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>I shudder to think what's in the Else statement<|eor|><|sor|>else{ PLEASE GIVE UP }<|eor|><|eols|><|endoftext|>
9
programminghorror
SomeoneRandom5325
g9camtg
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|sor|>Not necessarily true, the if is just a boolean c...
8
programminghorror
MattiasInSpace
g9cgd0r
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>This person doesnt understand that the === does type checking. Or is supposed to anyway (this is php). It could just be written return $value===true<|eor|><|sor|>Not necessarily true, the if is just a boolean c...
8
programminghorror
BecauseWeCan
g9cycks
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>Languages without strict types: pathetic.<|eor|><|sor|>This is why I like C, everything is a byte.<|eor|><|eols|><|endoftext|>
7
programminghorror
iliekcats-
g9bihhm
<|sols|><|sot|>Just make sure it's really bool<|eot|><|sol|>https://i.redd.it/b8zjqfsdu0u51.png<|eol|><|sor|>`if (is_bool(is_bool($value))) === true) {` `return $value ? true : false;` `}`<|eor|><|sor|>Gotta make sure `is_bool` returns a `bool`<|eor|><|sor|>yeah, lemme make extra sure... &#x200B; `if (is_bool(i...
7
programminghorror
octalgon
eiii89
<|sols|><|sot|>The API I am dealing with has found THE BEST WAY to represent the country field. ONLY 192 VALUES necessary!<|eot|><|sol|>https://i.redd.it/onwmwius86841.png<|eol|><|eols|><|endoftext|>
1,891
programminghorror
Md5Lukas
fcqirsd
<|sols|><|sot|>The API I am dealing with has found THE BEST WAY to represent the country field. ONLY 192 VALUES necessary!<|eot|><|sol|>https://i.redd.it/onwmwius86841.png<|eol|><|sor|>t: # S U C C<|eor|><|eols|><|endoftext|>
473
programminghorror
schludy
fcqoqg2
<|sols|><|sot|>The API I am dealing with has found THE BEST WAY to represent the country field. ONLY 192 VALUES necessary!<|eot|><|sol|>https://i.redd.it/onwmwius86841.png<|eol|><|sor|>As machine learning grad student, I appreciate web developers using 1-hot representation. It saves me one line of code!<|eor|><|eols|><...
214
programminghorror
octalgon
fcqk7ci
<|sols|><|sot|>The API I am dealing with has found THE BEST WAY to represent the country field. ONLY 192 VALUES necessary!<|eot|><|sol|>https://i.redd.it/onwmwius86841.png<|eol|><|sor|>Interesting setup. Why is it necessary to have the option of multiple true countries in one object? Did they want to keep country /cont...
152
programminghorror
toastedstrawberry
fcqjdyn
<|sols|><|sot|>The API I am dealing with has found THE BEST WAY to represent the country field. ONLY 192 VALUES necessary!<|eot|><|sol|>https://i.redd.it/onwmwius86841.png<|eol|><|sor|>This is necessary when you are in multiple countries at the same time, or even all of them. OP is intentionally ignoring this critical ...
149