subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | virexmachina | g8hr259 | <|sols|><|sot|><|eot|><|sol|>https://i.redd.it/pn84gsszmbs51.jpg<|eol|><|sor|>Isn't there a de facto limit to URL length?<|eor|><|sor|>IE breaks if the query string is longer than 2,083 chars. I used to have a tool that passed a json obj in a string. Definitely found that limit<|eor|><|sor|>But trying to support IE (of... | 12 |
programminghorror | Seismicsentinel | g8ha18z | <|sols|><|sot|><|eot|><|sol|>https://i.redd.it/pn84gsszmbs51.jpg<|eol|><|sor|>Someone skipped body day<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | ACoderGirl | g8hqld9 | <|sols|><|sot|><|eot|><|sol|>https://i.redd.it/pn84gsszmbs51.jpg<|eol|><|sor|>Isn't there a de facto limit to URL length?<|eor|><|sor|>IE breaks if the query string is longer than 2,083 chars. I used to have a tool that passed a json obj in a string. Definitely found that limit<|eor|><|sor|>But trying to support IE (of... | 11 |
programminghorror | wtf_mark_ | g8dftwa | <|sols|><|sot|><|eot|><|sol|>https://i.redd.it/pn84gsszmbs51.jpg<|eol|><|sor|>Content spoofing, anyone?<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | Lacrez | ab7xuz | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|eols|><|endoftext|> | 920 |
programminghorror | coyote_den | ecygqc9 | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>In Python 2.x you can do this:
from _builtins_ import False as True
You shouldnt, but you can. And it does exactly what you think it does.<|eor|><|eols|><|endoftext|> | 111 |
programminghorror | glemnar | ecygw0d | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>In Python 2.x you can do this:
from _builtins_ import False as True
You shouldnt, but you can. And it does exactly what you think it does.<|eor|><|sor|>`True = False`... | 59 |
programminghorror | butwhydoesreddit | ecy7l2b | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>*whoever<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | coyote_den | ecyh3qn | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>In Python 2.x you can do this:
from _builtins_ import False as True
You shouldnt, but you can. And it does exactly what you think it does.<|eor|><|sor|>`True = False`... | 33 |
programminghorror | pavel_lishin | ecy8y2b | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>I'm guessing there's some deserialization that has to happen here?<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | Lacrez | ecycu37 | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>Looks like damage control<|eor|><|soopr|>From what I can tell and have been looking through, the entire project is damage control. ;)<|eoopr|><|eols|><|endoftext|> | 12 |
programminghorror | Latexi95 | ecz9qgp | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>In Python 2.x you can do this:
from _builtins_ import False as True
You shouldnt, but you can. And it does exactly what you think it does.<|eor|><|sor|>`True = False`... | 10 |
programminghorror | plasmarob | ecytd6i | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>Not so sure.
Looks like a comment added later by someone else competent who knew it couldn't be safely removed without excess effort.<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | John_Fx | ecybxc3 | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>Looks like damage control<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | mpinnegar | ecyfszj | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>C#?
Boolean has literals: `bool.TrueString`
So yes, that's horrible. Even worse he made it public const instead of static, so any dependent assembly using this field will... | 8 |
programminghorror | phillijw | ecyi2re | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>I'm guessing there's some deserialization that has to happen here?<|eor|><|sor|>That was my first guess too. You'd cry if you saw some of the shitty APIs I have to work wit... | 7 |
programminghorror | AyrA_ch | ecz1ybu | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>C#?
Boolean has literals: `bool.TrueString`
So yes, that's horrible. Even worse he made it public const instead of static, so any dependent assembly using this field will... | 7 |
programminghorror | victorqueirozg | ecyqrzv | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>Any chance you could show us the blame history? That's so funny<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | dotted | ed0cfo4 | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>Whats with the ugly XML comments in c#? Who decided on XML instead of all alternatives out there <|eor|><|sor|>Because Visual Studio understands them.<|eor|><|eols|><|endof... | 6 |
programminghorror | TheIncorrigible1 | ecy7l87 | <|sols|><|sot|>Found this today... At least whomever created it knew it was horrible.<|eot|><|sol|>https://i.redd.it/mnkwtbgzqm721.jpg<|eol|><|sor|>C#?
Boolean has literals: `bool.TrueString`
So yes, that's horrible. Even worse he made it public const instead of static, so any dependent assembly using this field will... | 5 |
programminghorror | Rampos7 | jzpoqd | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|eols|><|endoftext|> | 918 |
programminghorror | haskeel | gddvnh2 | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>These hiring tests have really gotten out of hand<|eor|><|eols|><|endoftext|> | 259 |
programminghorror | Rampos7 | gddvp8s | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>These hiring tests have really gotten out of hand<|eor|><|soopr|>Especially since I was applying for a cashier position at a Dollar Tree<|eoopr|><|eols|><|endoftext|> | 221 |
programminghorror | Rampos7 | gdebjhj | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>These hiring tests have really gotten out of hand<|eor|><|soopr|>Especially since I was applying for a cashier position at a Dollar Tree<|eoopr|><|sor|>BTW programming is really fun and not that hard to l... | 91 |
programminghorror | HypherNet | gdeb8z7 | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>These hiring tests have really gotten out of hand<|eor|><|soopr|>Especially since I was applying for a cashier position at a Dollar Tree<|eoopr|><|sor|>BTW programming is really fun and not that hard to l... | 59 |
programminghorror | HypherNet | gdeb5wh | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Looks like someone pasted a tracking / analytics snippet into field that only supports text or one that sanitizes HTML. How silly of them. At least you know the sanitizer is working :)<|eor|><|eols|><|end... | 50 |
programminghorror | NabrenX | gdez4od | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Clearly you were supposed to debug it to successfully complete the application.<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | vjandrea | gdf1yz8 | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Wait, wont this throw errors? The comments are in the same line.<|eor|><|sor|>If you see raw JS on the page then it hasn't ran at all<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | lachyBalboa | gdf1i9j | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Basically they are asking if the above code evaluates to `true`<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | HypherNet | gdf4ndl | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>These hiring tests have really gotten out of hand<|eor|><|soopr|>Especially since I was applying for a cashier position at a Dollar Tree<|eoopr|><|sor|>BTW programming is really fun and not that hard to l... | 12 |
programminghorror | RedditingJinxx | gdezx25 | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Shoulda pressed no<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | glider97 | gdetjcs | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Wait, wont this throw errors? The comments are in the same line.<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | Pickled_Wizard | gdevmtn | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>These hiring tests have really gotten out of hand<|eor|><|soopr|>Especially since I was applying for a cashier position at a Dollar Tree<|eoopr|><|sor|>BTW programming is really fun and not that hard to l... | 7 |
programminghorror | glider97 | gdf49vt | <|sols|><|sot|>On a job application I was filling out<|eot|><|sol|>https://i.redd.it/ytss7z22u1161.png<|eol|><|sor|>Wait, wont this throw errors? The comments are in the same line.<|eor|><|sor|>If you see raw JS on the page then it hasn't ran at all<|eor|><|sor|>Touch.<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | iHaruku | b9gmnu | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|eols|><|endoftext|> | 917 |
programminghorror | bricked_machine | ek4qj77 | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>Ten bucks says it was commented out in dev to test something, accidentally checked in without being reverted back, not properly code reviewed (or somehow misse... | 389 |
programminghorror | JuanBautistaAlberdi | ek4m4fm | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|> int random(void)
{
return 42;
}
​<|eor|><|eols|><|endoftext|> | 150 |
programminghorror | bricked_machine | ek4rsno | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>Ten bucks says it was commented out in dev to test something, accidentally checked in without being reverted back, not properly code reviewed (or somehow misse... | 115 |
programminghorror | Lightfire228 | ek4uoi0 | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|> int random(void)
{
return 42;
}
​<|eor|><|sor|> // chosen by fair dice roll <|eor|><|eols|><|endoftext|> | 91 |
programminghorror | rangeDSP | ek4w6as | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|> int random(void)
{
return 42;
}
​<|eor|><|sor|> // chosen by fair dice roll <|eor|><|sor|> // TODO(2003): support more common... | 75 |
programminghorror | davy_jones_locket | ek5biw5 | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Permission to use this code<|eor|><|sor|>```const PERMISSION_TO_USE_THIS_CODE = userSchema.validate();```<|eor|><|eols|><|endoftext|> | 51 |
programminghorror | JuanBautistaAlberdi | ek4zk3s | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>What site? <|eor|><|sor|>Looking through OP's post history, the site is ********<|eor|><|sor|>>the site is \*\*\*\*\*\*\*\*
That is also my password! How did ... | 31 |
programminghorror | karlpoppery | ek4i9yv | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>r/therewasanattempt<|eor|><|eols|><|endoftext|> | 27 |
programminghorror | DrStalker | ek56q4f | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>\*Checks list of controls\*
Passwords stored with one way encryption... secure hashing algorthm... salted... yup we're good here, what's the big deal?
<|eor|... | 24 |
programminghorror | CodeOfKonami | ek4s4q0 | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>What site? <|eor|><|eols|><|endoftext|> | 23 |
programminghorror | I-Only-Lurk-SRD | ek4xixt | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>What site? <|eor|><|sor|>Looking through OP's post history, the site is ********<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | UnacceptableUse | ek4ybdo | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Permission to use this code<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | ModusPwnins | ek59lwt | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>Ten bucks says it was commented out in dev to test something, accidentally checked in without being reverted back, not properly code reviewed (or somehow misse... | 15 |
programminghorror | rook2004 | ek5r8gz | <|sols|><|sot|>Found this is production code. This is actually being used to validate passwords...<|eot|><|sol|>https://i.redd.it/uhew3dailaq21.png<|eol|><|sor|>Ten bucks says it was commented out in dev to test something, accidentally checked in without being reverted back, not properly code reviewed (or somehow misse... | 13 |
programminghorror | mrheosuper | s3nalo | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|eols|><|endoftext|> | 921 |
programminghorror | Akumashisen | hsmywc3 | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>its collapsed it cant hurt you<|eor|><|eols|><|endoftext|> | 286 |
programminghorror | Prof_Dr_Koala | hsmz5fq | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|eols|><|endoftext|> | 276 |
programminghorror | e2c-b4r | hsmf47e | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|eols|><|endoftext|> | 130 |
programminghorror | orangeoliviero | hsn7qo9 | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|sor|>The leading character is a coloured `b`... | 91 |
programminghorror | e2c-b4r | hsmzgq3 | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>Oh no<|eor|><|eols|><|endoftext|> | 82 |
programminghorror | Gilsidoo | hslyqvu | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>You could have screenshot only the last line number and it would still be pain<|eor|><|eols|><|endoftext|> | 72 |
programminghorror | CaptSzat | hsnimuf | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Lol. Whats pain is line 15-1567 in a group project for uni. Then I refactored his code down to less than 150 lines.<|eor|><|eols|><|endoftext|> | 57 |
programminghorror | dydou_sequoia | hsnnm0x | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Lol. Whats pain is line 15-1567 in a group project for uni. Then I refactored his code down to less than 150 lines.<|eor|><|sor|>At work (large and ageing tech company) I had to refactor a C function that was over 15000 lines long... | 57 |
programminghorror | Shizounu | hsn7e1n | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|eols|><|endoftext|> | 56 |
programminghorror | dydou_sequoia | hso093t | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Lol. Whats pain is line 15-1567 in a group project for uni. Then I refactored his code down to less than 150 lines.<|eor|><|sor|>At work (large and ageing tech company) I had to refactor a C function that was over 15000 lines long... | 52 |
programminghorror | mrheosuper | hsnhm9t | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|soopr|>It's a function
An init funtion<|eoo... | 46 |
programminghorror | WeirdEidolon | hsmo8ni | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Oh, my sweet summer child<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | Shizounu | hsn7veg | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|sor|>The leading character is a coloured `b`... | 29 |
programminghorror | famz12 | hsom565 | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Lol. Whats pain is line 15-1567 in a group project for uni. Then I refactored his code down to less than 150 lines.<|eor|><|sor|>At work (large and ageing tech company) I had to refactor a C function that was over 15000 lines long... | 27 |
programminghorror | Mikalym | hsn2dw1 | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Amateurs<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | cyberrich | hsobrwm | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>its collapsed it cant hurt you<|eor|><|sor|>unless you click a reference point in another function.<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | Da-Blue-Guy | hso051u | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|sor|>The leading character is a coloured `b`... | 25 |
programminghorror | accuracy_frosty | hsoltek | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|soopr|>It's a function
An init funtion<|eoo... | 19 |
programminghorror | winkie5970 | hsolph0 | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|soopr|>It's a function
An init funtion<|eoo... | 18 |
programminghorror | iamghostling | hsokq9a | <|sols|><|sot|>This is pain<|eot|><|sol|>https://i.redd.it/l299cljs4mb81.jpg<|eol|><|sor|>Wat<|eor|><|sor|>Its a collapsed function that spans from line 114 to 1034<|eor|><|sor|>What indication is there that its a function and not a class or namespace that collapsed?<|eor|><|sor|>The leading character is a coloured `b`... | 15 |
programminghorror | EkskiuTwentyTwo | cj8t99 | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|eols|><|endoftext|> | 918 |
programminghorror | developedby | evbu7co | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|eols|><|endoftext|> | 86 |
programminghorror | developedby | evbue6c | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|soopr|>It's code for calculating degrees (d), minutes (m), seconds (s), thirds (t), and fourths (f) from decimal degrees (dd). It all makes sense.<|eoopr|><|sor|>I'm sure it does<|eor|><|eol... | 62 |
programminghorror | EkskiuTwentyTwo | evbu9nv | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|soopr|>It's code for calculating degrees (d), minutes (m), seconds (s), thirds (t), and fourths (f) from decimal degrees (dd). It all makes sense.<|eoopr|><|eols|><|endoftext|> | 57 |
programminghorror | Bassie_c | evbwgbl | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Dude, did even worked perfectly on mobile, well done!<|eor|><|eols|><|endoftext|> | 38 |
programminghorror | joemckie | evc26dn | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|soopr|>It's code for calculating degrees (d), minutes (m), seconds (s), thirds (t), and fourths (f) from decimal degrees (dd). It all makes sense.<|eoopr|><|sor|>[deleted]<|eor|><|soopr|>d i... | 36 |
programminghorror | nuggins | evcbrfa | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|soopr|>It's code for calculating degrees (d), minutes (m), seconds (s), thirds (t), and fourths (f) from decimal degrees (dd). It all makes sense.<|eoopr|><|sor|>[deleted]<|eor|><|soopr|>d i... | 33 |
programminghorror | tecanec | evbtyh9 | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>Nope, thats perfectly fine, no problems at all, you wont get fired for this, nor will you have any trouble finding a job after this totally-not-terrible piece of work.
*[Actually screams internally, but tries to hide it... | 31 |
programminghorror | atimholt | evctjqo | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>And I just *had* to run it through clang-format (after commenting out the markdown):
//`COMPULSORY IMAGE-TO-TEXT`:
float x1 = 320;
float y1 = 240;
float x2 = 320;
float y2... | 19 |
programminghorror | dasfsi | evbvayf | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>Well it certainly looks like a well and also makes me want to jump into a well<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | EkskiuTwentyTwo | evbvzxt | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>Well it certainly looks like a well and also makes me want to jump into a well<|eor|><|soopr|>Well well well.<|eoopr|><|eols|><|endoftext|> | 10 |
programminghorror | elperroborrachotoo | evbun0r | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>Nope, thats perfectly fine, no problems at all, you wont get fired for this, nor will you have any trouble finding a job after this totally-not-terrible piece of work.
*[Actually screams internally, but tries to hide it... | 10 |
programminghorror | 8lbIceBag | evc023h | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Is this from mspaint-ide?<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | joemckie | evcczq1 | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|soopr|>It's code for calculating degrees (d), minutes (m), seconds (s), thirds (t), and fourths (f) from decimal degrees (dd). It all makes sense.<|eoopr|><|sor|>[deleted]<|eor|><|soopr|>d i... | 7 |
programminghorror | Workaphobia | evc66pu | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>This is the programming equivalent of mailing letters with text cut out of magazines to mask your handwriting.<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | andiconda | evc3p2k | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>You brave soul<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | gonzofish | evbvpxy | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|soopr|>[Source](https://github.com/XQ22/BadUI/blob/master/AngularPhoneNumber.pde)
[What it makes](https://old.reddit.com/r/badUIbattles/comments/ci3v0f/angular_phone_number_entry/)<|eoopr|><|sor|>This is on purpose right? Th... | 6 |
programminghorror | atimholt | evcsxrm | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>great variable naming<|eor|><|soopr|>It's code for calculating degrees (d), minutes (m), seconds (s), thirds (t), and fourths (f) from decimal degrees (dd). It all makes sense.<|eoopr|><|sor|>[deleted]<|eor|><|soopr|>d i... | 6 |
programminghorror | filippo333 | evdcur5 | <|sols|><|sot|>Format your code well.<|eot|><|sol|>https://i.redd.it/l5zlhmzx6uc31.png<|eol|><|sor|>Looks like obfuscated code<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | egordorogov | ybiegr | <|sols|><|sot|>Narrator: he had to touch it again<|eot|><|sol|>https://i.redd.it/o12r5xh1akv91.png<|eol|><|eols|><|endoftext|> | 919 |
programminghorror | Towkin | itgss1z | <|sols|><|sot|>Narrator: he had to touch it again<|eot|><|sol|>https://i.redd.it/o12r5xh1akv91.png<|eol|><|sor|>Ah, Unity coroutines... somehow managing to merge the worst parts of both task management and callback hell while also making it impossible to debug by mangling up your callstack!
Honestly though, while coro... | 96 |
programminghorror | Ramoulow | ithhd7q | <|sols|><|sot|>Narrator: he had to touch it again<|eot|><|sol|>https://i.redd.it/o12r5xh1akv91.png<|eol|><|sor|>I'm developing for a very short time but I already understood that it's serious matter when god is mentionned in comments.<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | svick | ith4erk | <|sols|><|sot|>Narrator: he had to touch it again<|eot|><|sol|>https://i.redd.it/o12r5xh1akv91.png<|eol|><|sor|>Ah, Unity coroutines... somehow managing to merge the worst parts of both task management and callback hell while also making it impossible to debug by mangling up your callstack!
Honestly though, while coro... | 16 |
programminghorror | egordorogov | ith1xam | <|sols|><|sot|>Narrator: he had to touch it again<|eot|><|sol|>https://i.redd.it/o12r5xh1akv91.png<|eol|><|sor|>Ah, Unity coroutines... somehow managing to merge the worst parts of both task management and callback hell while also making it impossible to debug by mangling up your callstack!
Honestly though, while coro... | 16 |
programminghorror | rob5300 | ith8iz8 | <|sols|><|sot|>Narrator: he had to touch it again<|eot|><|sol|>https://i.redd.it/o12r5xh1akv91.png<|eol|><|sor|>Ah, Unity coroutines... somehow managing to merge the worst parts of both task management and callback hell while also making it impossible to debug by mangling up your callstack!
Honestly though, while coro... | 12 |
programminghorror | akuankka128 | fevfwg | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|eols|><|endoftext|> | 913 |
programminghorror | MisterDogsworth | fjs56d4 | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>If only Javascript had a way to check if a string matches a pattern.<|eor|><|eols|><|endoftext|> | 178 |
programminghorror | AyrA_ch | fjsnliy | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>If only Javascript had a way to check if a string matches a pattern.<|eor|><|sor|> /^(d|6|e|4|3|E|A|c|C|9|a|8|1|f|7|5|B|2|D|b|0|F)+$/
if only there was an easier way, right?<|eor|><|sor|>I totally unde... | 147 |
programminghorror | Cameltotem | fjt59dz | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>[deleted]<|eor|><|sor|>It's funny when you write code and you sit there with a working solution but you know the code is hacky as fuck but can't get any other way to work.
Eventually you give up and just ... | 110 |
programminghorror | AyrA_ch | fjsmdjj | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>If only Javascript had a way to check if a string matches a pattern.<|eor|><|sor|> /^(d|6|e|4|3|E|A|c|C|9|a|8|1|f|7|5|B|2|D|b|0|F)+$/
if only there was an easier way, right?<|eor|><|eols|><|endoftext|> | 106 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.