subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
githux
ft08z4h
<|sols|><|sot|>I mean... That's one way of doing it...<|eot|><|sol|>https://i.redd.it/ue3grz4m45351.png<|eol|><|sor|>Oh no, does it compare the string it returns with other strings later in the code?<|eor|><|sor|>Time to write a parser<|eor|><|eols|><|endoftext|>
15
programminghorror
jarner_99
ft1051g
<|sols|><|sot|>I mean... That's one way of doing it...<|eot|><|sol|>https://i.redd.it/ue3grz4m45351.png<|eol|><|sor|>This is C#, right? I mean...OK. The person just wasn't familiar with the language, maybe. It happens. They don't realize what methods and properties are available on a given object. I didn't when I ...
14
programminghorror
duraznos
ft175ip
<|sols|><|sot|>I mean... That's one way of doing it...<|eot|><|sol|>https://i.redd.it/ue3grz4m45351.png<|eol|><|sor|>Aside from returning a string this is basically how strlen is implemented in K&R<|eor|><|eols|><|endoftext|>
12
programminghorror
Qualeafclover
mmzas7
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|eols|><|endoftext|>
1,099
programminghorror
batmanatee_
gtv50z9
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>Your model being like "And that's where I'd label the head. IF IT EVEN HAD ONE!!!"<|eor|><|eols|><|endoftext|>
272
programminghorror
mszegedy
gtv2npe
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>huh. that is indeed programming horror<|eor|><|eols|><|endoftext|>
102
programminghorror
Tours-Petronas
gtur9hy
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>In terms of head, we have no head<|eor|><|eols|><|endoftext|>
88
programminghorror
themehta24
gtvacd7
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>ML during the French Revolution:<|eor|><|eols|><|endoftext|>
80
programminghorror
Soremwar
gtwcnq5
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>huh. that is indeed programming horror<|eor|><|sor|>We have discovered a new genre<|eor|><|eols|><|endoftext|>
44
programminghorror
zdakat
gtwdh3u
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>That's why you also gotta teach it what not to look for. Teaching it to be as sure as it can, whenever it can, while it can be effective, it is fundamentally flawed.<|eor|><|soopr|>Well to be...
40
programminghorror
wilczek24
gtvt637
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>That's why you also gotta teach it what not to look for. Teaching it to be as sure as it can, whenever it can, while it can be effective, it is fundamentally flawed.<|eor|><|eols|><|endoftext...
37
programminghorror
Qualeafclover
gtvvopw
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>That's why you also gotta teach it what not to look for. Teaching it to be as sure as it can, whenever it can, while it can be effective, it is fundamentally flawed.<|eor|><|soopr|>Well to be...
37
programminghorror
BakuhatsuK
gtwcfuz
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|soopr|>Original image: [https://www.pixiv.net/en/artworks/86056088](https://www.pixiv.net/en/artworks/86056088) Artist: [https://www.pixiv.net/en/users/6681779](https://www.pixiv.net/en/users/668177...
31
programminghorror
Qualeafclover
gtug9tq
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|soopr|>Original image: [https://www.pixiv.net/en/artworks/86056088](https://www.pixiv.net/en/artworks/86056088) Artist: [https://www.pixiv.net/en/users/6681779](https://www.pixiv.net/en/users/668177...
30
programminghorror
Bob-The-One
gtwkg01
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>That's why you also gotta teach it what not to look for. Teaching it to be as sure as it can, whenever it can, while it can be effective, it is fundamentally flawed.<|eor|><|soopr|>Well to be...
24
programminghorror
T-JHm
gtwg2tf
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>Head, 70% is kinda accurate<|eor|><|eols|><|endoftext|>
22
programminghorror
_laserland
gtwhjlv
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|soopr|>Original image: [https://www.pixiv.net/en/artworks/86056088](https://www.pixiv.net/en/artworks/86056088) Artist: [https://www.pixiv.net/en/users/6681779](https://www.pixiv.net/en/users/668177...
15
programminghorror
cyrosd
gtwokdw
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>Your model being like "And that's where I'd label the head. IF IT EVEN HAD ONE!!!"<|eor|><|sor|>Well I learned the head was at the end of a body. This seems to be the end of a body. I will mark ...
13
programminghorror
michaelmoe94
gtw5p3v
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>Looks like you've training it to detect tops of necks this whole time.<|eor|><|eols|><|endoftext|>
12
programminghorror
R3D3-1
gtwj69i
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>huh. that is indeed programming horror<|eor|><|sor|>We have discovered a new genre<|eor|><|sor|>r/programmingbodyhorror<|eor|><|eols|><|endoftext|>
8
programminghorror
illusion_disillusion
gtv8ove
<|sols|><|sot|>When I trained a yolov4 model to detect heads...<|eot|><|sol|>https://i.redd.it/xt1497si20s61.jpg<|eol|><|sor|>Nothing to lose one's head about...<|eor|><|eols|><|endoftext|>
7
programminghorror
oddjobbodgod
gwf3mk
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|eols|><|endoftext|>
1,098
programminghorror
Reverp
fsuo6i9
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Wait, do you think they 'manually' generate their JSON by using StringBuilder or something? How ca...
261
programminghorror
oddjobbodgod
fsujx4p
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>I think you'll have to explain what's wrong with that<|eor|><|soopr|>Ahh yep of course sorry! Its...
228
programminghorror
i3aizey
fsv3877
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Wait, do you think they 'manually' generate their JSON by using StringBuilder or something? How ca...
203
programminghorror
deceze
fsumtax
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Ah, the joy of `"movementDir": <?= null; ?>,` in PHP (Just guessing here, but you know it's true....
198
programminghorror
deceze
fsurwd2
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Ah, the joy of `"movementDir": <?= null; ?>,` in PHP (Just guessing here, but you know it's true....
187
programminghorror
MKuranowski
fsuldl9
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>`request_text.replace(": ,", ": null,")` professional fix applied<|eor|><|eols|><|endoftext|>
112
programminghorror
Wiwwil
fsuroob
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Ah, the joy of `"movementDir": <?= null; ?>,` in PHP (Just guessing here, but you know it's true....
107
programminghorror
devundcars
fsul77l
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>I think you'll have to explain what's wrong with that<|eor|><|soopr|>Ahh yep of course sorry! Its...
86
programminghorror
zemoxe
fsujit1
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>I think you'll have to explain what's wrong with that<|eor|><|eols|><|endoftext|>
84
programminghorror
pencilsdontshave
fsulsxz
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>`request_text.replace(": ,", ": null,")` professional fix applied<|eor|><|sor|>Theres no guarantee...
58
programminghorror
i3aizey
fsw77s2
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Wait, do you think they 'manually' generate their JSON by using StringBuilder or something? How ca...
53
programminghorror
oddjobbodgod
fsulbl7
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>I think you'll have to explain what's wrong with that<|eor|><|soopr|>Ahh yep of course sorry! Its...
47
programminghorror
deceze
fsusb0c
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Ah, the joy of `"movementDir": <?= null; ?>,` in PHP (Just guessing here, but you know it's true....
42
programminghorror
dasacc22
fsw6tym
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Wait, do you think they 'manually' generate their JSON by using StringBuilder or something? How ca...
40
programminghorror
oddjobbodgod
fsuow3u
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Wait, do you think they 'manually' generate their JSON by using StringBuilder or something? How ca...
39
programminghorror
dasacc22
fsw8rr0
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Wait, do you think they 'manually' generate their JSON by using StringBuilder or something? How ca...
37
programminghorror
MKuranowski
fsulwzd
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>`request_text.replace(": ,", ": null,")` professional fix applied<|eor|><|sor|>Theres no guarantee...
36
programminghorror
deceze
fsusqm3
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>Ah, the joy of `"movementDir": <?= null; ?>,` in PHP (Just guessing here, but you know it's true....
35
programminghorror
brtt3000
fsun8c4
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>`request_text.replace(": ,", ": null,")` professional fix applied<|eor|><|sor|>Theres no guarantee...
34
programminghorror
bigorangemachine
fsuts1a
<|sols|><|sot|>One of my colleagues has had to write code recently to fix this monstrosity... This is data fetched directly from NOAA about current hurricanes!<|eot|><|sol|>https://i.redd.it/v8001tr3iv251.png<|eol|><|sor|>That's funny. I didn't realize how broken some JSON implementations are. My buddy a .net guy rai...
31
programminghorror
r0p3farlopa
jo2wcy
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|eols|><|endoftext|>
1,097
programminghorror
_PM_ME_PANGOLINS_
gb5il0b
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|eols|><|endoftext|>
654
programminghorror
slowlycatchiemonkey
gb5j59o
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>If she wrote it, what does she think it does?<|eor|><|eols|><|endoftext|>
310
programminghorror
AyrA_ch
gb5sezi
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>You tell that person that writing code for a game engine is probably not the best way to learn C#.<|eor|><|eols|><|endoftext|>
242
programminghorror
ekolis
gb5ynnx
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|sor|>Is it because they are using a single equal sign instead of double in if statement? And setting variable...
140
programminghorror
r0p3farlopa
gb5tmxc
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>You tell that person that writing code for a game engine is probably not the best way to learn C#.<|eor|><|soopr|>It is not her o...
136
programminghorror
need-original-name
gb5xciv
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|sor|>Is it because they are using a single equal sign instead of double in if statement? And setting variable...
135
programminghorror
uttabonk
gb5yd21
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Just ask her to walk you through her logic, very politely.<|eor|><|eols|><|endoftext|>
131
programminghorror
Giocri
gb6b5kp
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>You tell that person that writing code for a game engine is probably not the best way to learn C#.<|eor|><|soopr|>It is not her o...
87
programminghorror
Manny_Sunday
gb6hf4f
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|sor|>Is it because they are using a single equal sign instead of double in if statement? And setting variable...
81
programminghorror
iceman012
gb5zhya
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|sor|>Is it because they are using a single equal sign instead of double in if statement? And setting variable...
78
programminghorror
mcguirev10
gb5b2fs
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Tell her to use a real IDE (freebie VS), it'll at least highlight all of the errors as she's writing that mess.<|eor|><|eols|><|e...
67
programminghorror
musicmanjoe
gb5zin2
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>This is the first post on this sub that Ive see. Thats actually hard to look at<|eor|><|eols|><|endoftext|>
60
programminghorror
WJMazepas
gb60umn
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Well, you should ask what is the goal of this code. Seriously, what is this for? She is still learning and it's okay to write u...
55
programminghorror
CarefulWalrus
gb5a80e
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Holy fuck<|eor|><|eols|><|endoftext|>
51
programminghorror
thedrunkenrebel
gb5d6af
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>I used to write better code in the Counter Strike console, back in the day<|eor|><|eols|><|endoftext|>
41
programminghorror
JayCroghan
gb7775k
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|sor|>Is it because they are using a single equal sign instead of double in if statement? And setting variable...
39
programminghorror
Mcpg_
gb691lh
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>You tell that person that writing code for a game engine is probably not the best way to learn C#.<|eor|><|sor|>I used to have th...
38
programminghorror
_PM_ME_PANGOLINS_
gb69kk4
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Not compile<|eor|><|sor|>Is it because they are using a single equal sign instead of double in if statement? And setting variable...
32
programminghorror
r0p3farlopa
gb5boc1
<|sols|><|sot|>A friend just asked about what this code, made by herself, would do. How can I explain to her...................?<|eot|><|sol|>https://i.redd.it/zmdiqxujv9x51.png<|eol|><|sor|>Tell her to use a real IDE (freebie VS), it'll at least highlight all of the errors as she's writing that mess.<|eor|><|soopr|>I ...
28
programminghorror
ittybe
fdb4j3
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|eols|><|endoftext|>
1,089
programminghorror
Rafael20002000
fjgfdap
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|eols|><|endoftext|>
198
programminghorror
WelsyCZ
fjgswql
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>How does this run? It shouldnt. Poem is referenced before any definition/declaration.<|eor|><|eols|><|endoftext|>
164
programminghorror
ittybe
fjgtfob
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>How does this run? It shouldnt. Poem is referenced before any definition/declaration.<|eor|><|soopr|>Yep it doesn't run at all<|eoopr|><|e...
162
programminghorror
APIglue
fjh0o3c
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|sor|>>> poem = f*100000 >> File.write(poem...
124
programminghorror
timmyotc
fjhd5sb
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|sor|>>> poem = f*100000 >> File.write(poem...
57
programminghorror
Mistr25
fjginih
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|sor|>Or you could append to a string in a l...
52
programminghorror
camtarn
fjgxave
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|sor|>Or you could append to a string in a l...
50
programminghorror
afraca
fjgu2jk
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>This is v3, so clearly you have learned lessons... What went wrong with v1 and v2?...<|eor|><|eols|><|endoftext|>
47
programminghorror
i2295700
fjgja5e
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>I call bullshit, it also adds white spaces to file. But hey, if that works for you... ;)<|eor|><|sor|>>also adds white spaces to file. But...
34
programminghorror
hammer1717
fjheymv
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>Ah yes, my favorite poem. fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...
33
programminghorror
Rafael20002000
fjgj8o0
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|sor|>Or you could append to a string in a l...
33
programminghorror
Thriven
fjgnnp5
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>F<|eor|><|eols|><|endoftext|>
30
programminghorror
1thief
fjhcb9p
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>Ah yes, my favorite poem. fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...
27
programminghorror
mini__bomba
fjhhtup
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>It worked, and it could be faster than doing it in a loop, because it's only one write<|eor|><|sor|>>> poem = f*100000 >> File.write(poem...
27
programminghorror
Restaldt
fjhjudt
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Narrator: He wasnt<|eor|><|eols|><|endoftext|>
18
programminghorror
incomingstick
fjhdai7
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>Ah yes, my favorite poem. fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff...
16
programminghorror
taylankasap
fjgyn9g
<|sols|><|sot|>I found this on my very old disk. It creates file with only one character 'f' and that's how I did it...<|eot|><|sol|>https://i.redd.it/dym0vnx7vmk41.png<|eol|><|sor|>pay_respects.py<|eor|><|eols|><|endoftext|>
15
programminghorror
leonhard_robin
ezrngo
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|eols|><|endoftext|>
1,086
programminghorror
sorrowcoder
fgozgys
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He virtually coded an if statement<|eor|><|eols|><|endoftext|>
308
programminghorror
TuctDape
fgpnvpm
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He has no default cases! This is just a disaster waiting to happen smh<|eor|><|eols|><|endoftext|>
214
programminghorror
trwolfe13
fgppwi4
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He has no default cases! This is just a disaster waiting to happen smh<|eor|><|sor|>Yeah, what happens if the answer is FileNotFound<|eor|><|eols|><|endoftext|>
109
programminghorror
DigitalCrazy
fgqejyn
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He has no default cases! This is just a disaster waiting to happen smh<|eor|><|sor|>Exactly! What if `posZ1 < posZ2` returns `maybe`?<|eor|><|eols|><|endoftext|>
102
programminghorror
Yerren
fgpyy60
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>Or just: `minPosX = min(posX1, posX2);` `maxPosX = max(posX1, posX2);` and the same for y and z.<|eor|><|eols|><|endoftext|>
78
programminghorror
gbbas
fgpgl86
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He is just trying to be fancy, i guess.<|eor|><|eols|><|endoftext|>
69
programminghorror
AlexKotik
fgplmj7
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>Well, it compiles down to the same native code, so it is not a big deal really. It strange, but I can't call it unreadable.<|eor|><|eols|><|endoftext|>
67
programminghorror
OftenSarcasticGuy
fgpt3c9
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>Everyone's talking about if statements, but does this language not have min/Max functions?<|eor|><|eols|><|endoftext|>
42
programminghorror
leonhard_robin
fgq2d15
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He is just trying to be fancy, i guess.<|eor|><|soopr|>That's actually exactly what he is always trying to do. Didn't go too well, although he most of the time manages to have quite ...
41
programminghorror
ithika
fgqkssn
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He has no default cases! This is just a disaster waiting to happen smh<|eor|><|sor|>Exactly! What if `posZ1 < posZ2` returns `maybe`?<|eor|><|sor|>The full name is `maybeWhosAsking`....
34
programminghorror
PM_ME_A_STEAM_GIFT
fgqkwub
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>Or just: `minPosX = min(posX1, posX2);` `maxPosX = max(posX1, posX2);` and the same for y and z.<|eor|><|sor|>Depends on the language, but the cleanest possible way to write th...
33
programminghorror
_PM_ME_PANGOLINS_
fgpu25v
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>~~~~ if(posX1 < posX2) { minPosX = posX1; maxPosX = posX2; } else { minPosX = posX2; maxPosX = posX1; } ~~~~ FTFY.<|eor|><|sor|> var isX1Min = posX1 < posX2; ...
30
programminghorror
Needleroozer
fgraj8d
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He virtually coded an if statement<|eor|><|sor|>If you're writing the same code more than once with different variables, you're writing a function that should only be written once.<|...
25
programminghorror
SonicBlue22
fgpyyb7
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>Planning for the future for when quantum computing introduces maybe.<|eor|><|eols|><|endoftext|>
20
programminghorror
Koxiaet
fgqf5sr
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>Or just: `minPosX = min(posX1, posX2);` `maxPosX = max(posX1, posX2);` and the same for y and z.<|eor|><|sor|>Depends on the language, but the cleanest possible way to write th...
16
programminghorror
TuctDape
fgr6o4x
<|sols|><|sot|>in a VR project of a friend, just use an if statement please<|eot|><|sol|>https://i.redd.it/ep6p8nxaraf41.png<|eol|><|sor|>He has no default cases! This is just a disaster waiting to happen smh<|eor|><|sor|>Is there a situation where posX1 < posx2 can return NULL?<|eor|><|sor|>maybe<|eor|><|eols|><|endof...
13
programminghorror
Tarviitz
ywy02z
<|sols|><|sot|>Such a nice formula to come across<|eot|><|sol|>https://i.redd.it/o9h1ttajt60a1.png<|eol|><|eols|><|endoftext|>
1,085
programminghorror
canteen_boy
iwm1hyv
<|sols|><|sot|>Such a nice formula to come across<|eot|><|sol|>https://i.redd.it/o9h1ttajt60a1.png<|eol|><|sor|>Lol, and it has to get updated every year. Bravo.<|eor|><|eols|><|endoftext|>
266
programminghorror
RichCorinthian
iwmednt
<|sols|><|sot|>Such a nice formula to come across<|eot|><|sol|>https://i.redd.it/o9h1ttajt60a1.png<|eol|><|sor|>Lol, and it has to get updated every year. Bravo.<|eor|><|sor|>Bonus! Its wrong for an increasingly higher percentage of people the closer to the beginning of the year you are, because people havent had their...
82