subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | sw-vet | hoin8u1 | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|soopr|>Pure horror seeing this, and what the understanding of naming constants is...<|eoopr|><|eols|><|endoftext|> | 138 |
programminghorror | mermeladawatts | hoj0lgg | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>MINUS_ONE -1<|eor|><|eols|><|endoftext|> | 130 |
programminghorror | SoaR_Penguin | hoipejq | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|soopr|>Pure horror seeing this, and what the understanding of naming constants is...<|eoopr|><|sor|>Isnt 0x32 in hex == 50 in decimal though? Im not sure I understand the horror really.
3*16 = 4... | 130 |
programminghorror | sw-vet | hoip646 | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|soopr|>Pure horror seeing this, and what the understanding of naming constants is...<|eoopr|><|sor|>I don't see the horror in naming constants. They're quite handy.<|eor|><|soopr|>You name the co... | 118 |
programminghorror | SoaR_Penguin | hois0uk | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|soopr|>Pure horror seeing this, and what the understanding of naming constants is...<|eoopr|><|sor|>Isnt 0x32 in hex == 50 in decimal though? Im not sure I understand the horror really.
3*16 = 4... | 115 |
programminghorror | Egst | hokml0y | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>if only there was some convenient way to represent base 10 numbers programmatically.<|eor|><|sor|>Behold:
template <int... args>
constexpr int pow10 =
(0x1 * ... * (args, 0xA)... | 114 |
programminghorror | moonlandings | hoitbed | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|soopr|>Pure horror seeing this, and what the understanding of naming constants is...<|eoopr|><|sor|>Isnt 0x32 in hex == 50 in decimal though? Im not sure I understand the horror really.
3*16 = 4... | 97 |
programminghorror | fz6greg | hojhkpt | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>if only there was some convenient way to represent base 10 numbers programmatically.<|eor|><|eols|><|endoftext|> | 92 |
programminghorror | sw-vet | hoixzuw | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>185 is also incorrect... Should be 0xB9 instead of 0x78<|eor|><|soopr|>Q.E.D.
Thanks! (So happy, that this is not my project...)<|eoopr|><|eols|><|endoftext|> | 83 |
programminghorror | zheil9152 | hois048 | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>As an embedded TA. I saw this way too much<|eor|><|eols|><|endoftext|> | 74 |
programminghorror | DamnOrangeCat | holcco4 | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>Ok but I need to know why half of them are censored<|eor|><|sor|>Probably proprietary information.<|eor|><|sor|>`// Decimal 87`<|eor|><|eols|><|endoftext|> | 64 |
programminghorror | nryhajlo | hol5lrs | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>Ok but I need to know why half of them are censored<|eor|><|sor|>Probably proprietary information.<|eor|><|eols|><|endoftext|> | 58 |
programminghorror | Host127001 | hoj34is | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>Can someone tell me the point of this? Or is it just a "I didn't use magic numbers, I used descriptive constants" with some extra hex-bullshit on top?<|eor|><|eols|><|endoftext|> | 56 |
programminghorror | stone_henge | hoj0um0 | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|soopr|>Pure horror seeing this, and what the understanding of naming constants is...<|eoopr|><|sor|>I don't see the horror in naming constants. They're quite handy.<|eor|><|sor|>I don't see why n... | 47 |
programminghorror | PhilippTheProgrammer | hojlz26 | <|sols|><|sot|>Tend to say FIFTY is 0x34 and challenge the reviewer<|eot|><|sol|>https://i.redd.it/s0mrr7i6wi581.png<|eol|><|sor|>I don't know why you would do this.<|eor|><|sor|>Because you read some rule in a styleguide which says "no magical numbers in your code, define constants instead". You understood the literal... | 40 |
programminghorror | Random_Letters_btmwq | p013ac | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|eols|><|endoftext|> | 1,073 |
programminghorror | potatoGundam12 | h83k1fn | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Thats pretty impressive, good job.
But also fuck you.<|eor|><|eols|><|endoftext|> | 384 |
programminghorror | _PM_ME_PANGOLINS_ | h85vtq5 | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Imagine debugging that lol<|eor|><|sor|>At least you know which line the error is on.<|eor|><|eols|><|endoftext|> | 133 |
programminghorror | CSsharpGO | h83rbeu | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Imagine debugging that lol<|eor|><|eols|><|endoftext|> | 118 |
programminghorror | Victorino__ | h85je6o | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Imagine debugging that lol<|eor|><|sor|>Nothing is easier than debugging a one line long program. Right?<|eor|><|eols|><|endoftext|> | 64 |
programminghorror | Key_Acanthocephala17 | h847rgq | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Thats pretty impressive, good job.
But also fuck you.<|eor|><|sor|>I dunno why but you made me laugh so hard I nearly died.<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | ema2159 | h83yeee | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 42 |
programminghorror | _Ralix_ | h85jypf | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>That's a lot of ?'s there. I tried a quicksortish one before but this is crazy. Good job.
`def not2Quick(a): return [] if a==[] else not2Quick([x for x in a[1:] if x<=a[0]]) + [a[0]] + not2Quick(... | 37 |
programminghorror | DriftingBenji | h83srus | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Thanks. I hate it.<|eor|><|eols|><|endoftext|> | 34 |
programminghorror | CarolusRexEtMartyr | h85jorl | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 32 |
programminghorror | ema2159 | h85b5qw | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 26 |
programminghorror | YellowBunnyReddit | h85nfko | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 24 |
programminghorror | polokratoss | h85ai63 | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 19 |
programminghorror | Wafan0 | h83r9w8 | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | leo3065 | h86kg8n | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>That's a lot of ?'s there. I tried a quicksortish one before but this is crazy. Good job.
`def not2Quick(a): return [] if a==[] else not2Quick([x for x in a[1:] if x<=a[0]]) + [a[0]] + not2Quick(... | 17 |
programminghorror | FlowOfAir | h85wnjp | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Thats pretty impressive, good job.
But also fuck you.<|eor|><|sor|>r/Angryupvote<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | twiddybird | h851nwh | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>mergesort-min.js<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | JiminP | h86ac3y | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 15 |
programminghorror | BlobAndHisBoy | h86pftm | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>Imagine debugging that lol<|eor|><|sor|>Nothing is easier than debugging a one line long program. Right?<|eor|><|sor|>Everything is a one line fix, easy peasy.<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | testforredditbythe | h85ld3n | <|sols|><|sot|>I present to you all: the one liner merge sort<|eot|><|sol|>https://i.redd.it/gmm4232k00g71.jpg<|eol|><|sor|>I know I haven't thought about merge sort in a while but I had thought it needed to be executed recursively...<|eor|><|sor|>Every algorithm that can be implemented recursively can also be implemen... | 12 |
programminghorror | Cassy343 | hm9u7e | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|eols|><|endoftext|> | 1,069 |
programminghorror | RiddSann | fx41o15 | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|eols|><|endoftext|... | 108 |
programminghorror | Cassy343 | fx42aoz | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|soopr|>I did inten... | 100 |
programminghorror | RiddSann | fx45ndc | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|soopr|>I did inten... | 88 |
programminghorror | _PM_ME_PANGOLINS_ | fx4ay9n | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|eols|><|endoftext|> | 46 |
programminghorror | TheNorthComesWithMe | fx4y46g | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|soopr|>I did inten... | 39 |
programminghorror | fried_green_baloney | fx4syrh | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|soopr|>I did inten... | 26 |
programminghorror | Cassy343 | fx4jag6 | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|soopr|>This is rust, not JS. `a.min(b)` is the typical way of doing constraints, ... | 25 |
programminghorror | Jamieson22 | fx4icxt | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>How much min can a max min max if a min max could max min?<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | fried_green_baloney | fx5429t | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|soopr|>I did inten... | 20 |
programminghorror | Cassy343 | fx4k5cc | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|soopr|>This is rust, not JS. `a.min(b)` is the typical way of doing constraints, ... | 18 |
programminghorror | HueHuey | fx4xp7j | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Max max max max max max min min min min, max min min? Min max max min Max min min min min max min max Min Min, min Max max min min min min max max Min, min Max max max 300 max min. Max min max min min min... | 17 |
programminghorror | MrVallentin | fx4jioi | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|sor|>It might not be JavaScript. It's at least also valid Rust, and Rust has min/... | 14 |
programminghorror | MrVallentin | fx4lnoj | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|sor|>It might not be JavaScript. It's at least also valid Rust, and Rust has min/... | 14 |
programminghorror | murtaza64 | fx4jk03 | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Using min and max as variables here is probably not helping. If they were named something else, it would be easier to parse.<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | _PM_ME_PANGOLINS_ | fx4jp1w | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|soopr|>This is rust, not JS. `a.min(b)` is the typical way of doing constraints, ... | 12 |
programminghorror | OneDimensionalVector | fx5vmp4 | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|sor|>What is a cla... | 11 |
programminghorror | jyx_ | fx534ni | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|soopr|>This is rust, not JS. `a.min(b)` is the typical way of doing constraints, ... | 11 |
programminghorror | MrVallentin | fx4ic4x | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>Just because you can do this doesnt mean you should.
Number.prototype.min = function(n) { Math.min(this, n) }<|eor|><|sor|>It might not be JavaScript. It's at least also valid Rust, and Rust has min/... | 9 |
programminghorror | -Dueck- | fx55mvl | <|sols|><|sot|>Min min max: max min min max max? Min.<|eot|><|sol|>https://i.redd.it/sbr4w5gka9951.png<|eol|><|sor|>I think it's a clamp ? Written with extension methods ?... (Don't know how they're called in JS)
Dear god, I really hope it's in a function somewhere and no one has to see that<|eor|><|soopr|>I did inten... | 7 |
programminghorror | Monkey_Adventures | hcg1t2 | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|eols|><|endoftext|> | 1,074 |
programminghorror | DFA1 | fvewa2r | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>I use BGA. What's more interesting is that apparently the logging generated the failure, L... | 166 |
programminghorror | The6thExtinction | fvf3fpt | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>"Here, you fix it."<|eor|><|eols|><|endoftext|> | 144 |
programminghorror | TheFranticDreamer | fvf2f5t | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>Well at least it doesn't say "Something happened." and disappear.<|eor|><|eols|><|endoftex... | 64 |
programminghorror | jerslan | fvezljw | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>I use BGA. What's more interesting is that apparently the logging generated the failure, L... | 61 |
programminghorror | dbgprint | fvf4x0c | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>Thats not a stack trace?<|eor|><|eols|><|endoftext|> | 57 |
programminghorror | kenybz | fvf9c1y | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>i hate friendly errors, it feels like they are just trying to get on my good side..<|eor|>... | 30 |
programminghorror | optimal_substructure | fvg2op6 | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>"Here, you fix it."<|eor|><|sor|>a part of me wants to put that in logs
"So - look, I did... | 22 |
programminghorror | TheAJGman | fvfpufw | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Is that site piping a user entered string into a rooted command she... | 22 |
programminghorror | LucienZerger | fvf34kl | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>i hate friendly errors, it feels like they are just trying to get on my good side..<|eor|>... | 21 |
programminghorror | Monkey_Adventures | fvf5ooe | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>Thats not a stack trace?<|eor|><|soopr|>youre right, couldnt think of a better name tho<|e... | 17 |
programminghorror | TheAJGman | fvfrc64 | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Is that site piping a user entered string into a rooted command she... | 17 |
programminghorror | stevarino | fvghdc2 | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>Thats not a stack trace?<|eor|><|soopr|>youre right, couldnt think of a better name tho<|e... | 15 |
programminghorror | thelights0123 | fvfrf7a | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Is that site piping a user entered string into a rooted command she... | 15 |
programminghorror | thelights0123 | fvfqr20 | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Is that site piping a user entered string into a rooted command she... | 14 |
programminghorror | stone_henge | fvghxfl | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>I honestly prefer this over the "Whoopsie-doopsie, our internet gnomes did something wrong... | 11 |
programminghorror | LucienZerger | fvf9ryu | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>i hate friendly errors, it feels like they are just trying to get on my good side..<|eor|>... | 11 |
programminghorror | LucienZerger | fvf89mt | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>i hate friendly errors, it feels like they are just trying to get on my good side..<|eor|>... | 11 |
programminghorror | leviathon01 | fvewqpl | <|sols|><|sot|>Anyone use https://boardgamearena.com? Instead of displaying a friendly error message, they just dump the entire stack trace when something bad happens.<|eot|><|sol|>https://i.redd.it/swuostpvxz551.png<|eol|><|sor|>I use BGA. What's more interesting is that apparently the logging generated the failure, L... | 10 |
programminghorror | aslokaa | gs7ohj | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|eols|><|endoftext|> | 1,074 |
programminghorror | MattiasInSpace | fs3sc18 | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Ah yes, 1000, the speed of light in units of light-seconds per kilosecond.<|eor|><|eols|><|endoftext|> | 342 |
programminghorror | familyturtle | fs3yoew | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>[deleted]<|eor|><|sor|>It makes it slightly less public and sightly more static.<|eor|><|eols|><|endoftext|> | 169 |
programminghorror | dpelego | fs3s2jf | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Inexplicable float to int shenanigans aside, at least he's declaring the number as a variable, albeit putting it one line before you use it doesn't really help much.<|eor|><|eo... | 105 |
programminghorror | ZylonBane | fs3v7sk | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>No no, you told him to use LESS magic numbers.
float c = 999;<|eor|><|eols|><|endoftext|> | 92 |
programminghorror | Phaen_ | fs3tlyq | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Ah yes, 1000, the speed of light in units of light-seconds per kilosecond.<|eor|><|sor|>Huh, [you are right](https://www.wolframalpha.com/input/?i=speed+of+light+in+light-secon... | 87 |
programminghorror | octocode | fs4cmua | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Ah yes, 1000, the speed of light in units of light-seconds per kilosecond.<|eor|><|sor|>Thats also exactly half of double the speed of light. Math is amazing.<|eor|><|eols|><|e... | 83 |
programminghorror | svick | fs3t1vu | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Ah yes, 1000, the speed of light in units of light-seconds per kilosecond.<|eor|><|sor|>Huh, [you are right](https://www.wolframalpha.com/input/?i=speed+of+light+in+light-secon... | 57 |
programminghorror | DanksaGrabowski | fs3whyz | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Inexplicable float to int shenanigans aside, at least he's declaring the number as a variable, albeit putting it one line before you use it doesn't really help much.<|eor|><|so... | 47 |
programminghorror | shvelo | fs45nsc | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Whoever wrote this code is a maniac.<|eor|><|eols|><|endoftext|> | 46 |
programminghorror | King_Joffreys_Tits | fs3z8dm | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Inexplicable float to int shenanigans aside, at least he's declaring the number as a variable, albeit putting it one line before you use it doesn't really help much.<|eor|><|so... | 35 |
programminghorror | soaliar | fs464fm | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Inexplicable float to int shenanigans aside, at least he's declaring the number as a variable, albeit putting it one line before you use it doesn't really help much.<|eor|><|so... | 33 |
programminghorror | ieatpies | fs46n5t | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Inexplicable float to int shenanigans aside, at least he's declaring the number as a variable, albeit putting it one line before you use it doesn't really help much.<|eor|><|so... | 31 |
programminghorror | aslokaa | fs4qmbk | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>I've mentioned it before to him. But baby steps<|eoopr|><|eols|><|endoftext|> | 27 |
programminghorror | soaliar | fs46d2t | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Theres like 900 things he needs to learn before even touching functions, seriously.
You should drill assignment, initialisation and basic procedural control flow into his head... | 26 |
programminghorror | GlobalIncident | fs4my92 | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Ah yes, 1000, the speed of light in units of light-seconds per kilosecond.<|eor|><|sor|>Huh, [you are right](https://www.wolframalpha.com/input/?i=speed+of+light+in+light-secon... | 26 |
programminghorror | mikeputerbaugh | fs3u6ot | <|sols|><|sot|>After I told someone in my class he should use less magic numbers.<|eot|><|sol|>https://i.redd.it/68d2z99mri151.png<|eol|><|sor|>Theres like 900 things he needs to learn before even touching functions, seriously.
You should drill assignment, initialisation and basic procedural control flow into his head... | 25 |
programminghorror | malleoceruleo | q1ht4n | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|eols|><|endoftext|> | 1,073 |
programminghorror | TheBrainStone | hffaugw | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>I love how the last two are different colors but the same class name.<|eor|><|eols|><|endoftext|> | 285 |
programminghorror | Farfignugen42 | hffkvk1 | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>If everything is important, then nothing is important<|eor|><|eols|><|endoftext|> | 227 |
programminghorror | CodeLobe | hffy5yd | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>I love how the last two are different colors but the same class name.<|eor|><|sor|>!mportaut;<|eor|><|eols|><|endoftext|> | 86 |
programminghorror | kcadstech | hffky5k | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>Wait dark black is darker than black, and the new dark black is not actually as dark as the first dark black, which was black?<|eor|><|eols|><|endoftext|> | 85 |
programminghorror | one-man-circlejerk | hfg8q33 | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>Wait dark black is darker than black, and the new dark black is not actually as dark as the first dark black, which was black?<|eor|><|sor|>\#040404 is the new black<|eor|><|eols|... | 60 |
programminghorror | PranshuKhandal | hfgrtdf | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>If everything is important, then nothing is important<|eor|><|sor|>this comment is !important;<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | localhost-8000 | hfg2p68 | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>At least he has not abbreviated them
dg, ddg, dvdg, dvdgl, dvvdg, b, db, db<|eor|><|eols|><|endoftext|> | 27 |
programminghorror | woopdeedoo69 | hffny64 | <|sols|><|sot|>This damn naming scheme. (production code edited for anonymity)<|eot|><|sol|>https://i.redd.it/vmh9xr49mir71.png<|eol|><|sor|>Sounds like colour options for tactical turtlenecks... Or, as oneay call them, tacktlenecks...<|eor|><|eols|><|endoftext|> | 24 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.