subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | Dangerous_Air2603 | hm4z9u8 | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>What if the linked list loops? That naive algorithm just encountered an effectively infinite list.<|eor|><|sor|>then it's a naughty linked list and frankly it doesn't even _deserve_ to be reversed<|eor|><|eols|><|endoftext|> | 319 |
programmerhumor | retief1 | hm4yf3d | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>Is it even possible? An infinite list can't have a last item. So the reversed list can't start.<|eor|><|sor|>It isn't possible to practically store an infinite list, since that would require infinite memory.
I guess the interviewer wanted to ask something like "What if the list is very large? Is there a more efficient approach to this?" in order to make the guy think that for a better algorithm for reversing the list than using a stack.<|eor|><|sor|>Infinite lists are quite possible (and even reasonably useful) once you involve laziness. But yeah, even if you can represent an infinite list, you can't reverse it.<|eor|><|eols|><|endoftext|> | 315 |
programmerhumor | Benutzername | hm4xu53 | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>How would you solve this? I'm a sophomore in college majoring in computer science so I'm still learning.
Best I could come up with is a merge sort algorithm with compliment conditions? Idk.<|eor|><|sor|>You use the `reverse` function.<|eor|><|eols|><|endoftext|> | 290 |
programmerhumor | TheGuyWithTheSeal | hm53i6r | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>Hey guys when you finish arguing can you send me the algorithm? I need to find the last digit of Pi<|eor|><|eols|><|endoftext|> | 279 |
programmerhumor | Valmond | hm5ayoz | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>Is the answer iterate from the beginning and swap next nodes to the end? I'm assuming that the question was to reverse the list without allocating extra memory to store the list.<|eor|><|sor|>I think so. I can't think of a way to reverse it without iterating through the entire thing, so the interviewer was probably just wanting them to do it with better space complexity like you said.<|eor|><|sor|>The stack method goes through each element twice.
You can do it in a single pass with something like this (pseudocode)
prev := null
element := list.first
while element not null
next := element.next
element.next = prev
prev = element
element = next
Now you go through the entire list exactly once and for an infinite linked list you keep incrementally reversing it, with the stack approach you'd never actually reverse the list because it never ends<|eor|><|sor|>For an infinite list, I prefer this shorter version:
while(true)
{
}<|eor|><|eols|><|endoftext|> | 264 |
programmerhumor | bxfbxf | hm57b2u | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>Is the answer iterate from the beginning and swap next nodes to the end? I'm assuming that the question was to reverse the list without allocating extra memory to store the list.<|eor|><|sor|>I think so. I can't think of a way to reverse it without iterating through the entire thing, so the interviewer was probably just wanting them to do it with better space complexity like you said.<|eor|><|sor|>The stack method goes through each element twice.
You can do it in a single pass with something like this (pseudocode)
prev := null
element := list.first
while element not null
next := element.next
element.next = prev
prev = element
element = next
Now you go through the entire list exactly once and for an infinite linked list you keep incrementally reversing it, with the stack approach you'd never actually reverse the list because it never ends<|eor|><|sor|>True, but since big O notation removes multiplying, they're both in the same order (O(n)). (And in real processors, due to caching, they're probably somewhat similar in runtime)<|eor|><|sor|>But the memory complexity with the stack is O(n) instead of O(1) like above. The speed is indeed the same, like you mentioned.<|eor|><|eols|><|endoftext|> | 244 |
programmerhumor | danikov | hm55l6n | <|sols|><|sot|>Honest interview <|eot|><|sol|>https://i.redd.it/ec0rj2os0w181.jpg<|eol|><|sor|>As a lot of people are struggling with a better answer, so rather than code, here is a more visual approach:
You want to move from:
`1 -> 2 -> 3 -> 4 -> 5 -> 6 ...`
to:
`1 <- 2 <- 3 <- 4 <- 5 <- 6 ...`
Doing this in place should be fairly trivial, but if further clues are needed, consider a window:
`1 <-[2 __ 3 -> 4]-> 5 -> 6 ...`
You can safely change the pointer of 3 from 4 to 2 without losing the ability to navigate to 4 (and beyond):
`1 <-[2 <- 3 __ 4]-> 5 -> 6 ...`
If you do this and advance the window, it then looks like this:
`1 <- 2 <-[3 __ 4 -> 5]-> 6 ...`
Despite the reversed pointer on 3, you still know about 3 so you can point 4 at it and you're remembering 5 to advance the window. So you can effectively do it with 3 sliding variables. In pseudo-code:
// given window [a, b, c]
// update pointer
b.pointer = a
// slide the window
a = b
b = c
c = c.pointer<|eor|><|eols|><|endoftext|> | 226 |
programmerhumor | einsamerkerl | srkam9 | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|eols|><|endoftext|> | 48,370 |
programmerhumor | JsemRyba | hwskxc9 | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Our university professor told us a story about how his research group trained a model whose task was to predict which author wrote which news article. They were all surprised by great accuracy untill they found out, that they forgot to remove the names of the authors from the articles.<|eor|><|eols|><|endoftext|> | 9,190 |
programmerhumor | Xaros1984 | hwseedp | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I guess this usually happens when the dataset is very unbalanced. But I remember one occasion while I was studying, I read a report written by some other students, where they stated that their model had a *pretty* good R2 at around 0.98 or so. I looked into it, and it turns out that in their regression model, which was supposed to predict house prices, they had included both the number of square meters of the houses as well as the actual price per square meter. It's fascinating in a way how they managed to build a model where two of the variables account for 100% of variance, but still somehow managed to not perfectly predict the price.<|eor|><|eols|><|endoftext|> | 3,108 |
programmerhumor | clearlybraindead | hwsdfh1 | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I'm suspicious of anything over 51% at this point.<|eor|><|eols|><|endoftext|> | 2,397 |
programmerhumor | AllWashedOut | hwsllee | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I guess this usually happens when the dataset is very unbalanced. But I remember one occasion while I was studying, I read a report written by some other students, where they stated that their model had a *pretty* good R2 at around 0.98 or so. I looked into it, and it turns out that in their regression model, which was supposed to predict house prices, they had included both the number of square meters of the houses as well as the actual price per square meter. It's fascinating in a way how they managed to build a model where two of the variables account for 100% of variance, but still somehow managed to not perfectly predict the price.<|eor|><|sor|>I worked on a model that predicts how long a house will sit on the market before it sells. It was doing great, especially on houses with very *long* time on the market. Very suspicious.
The training data was all houses that sold in the past month. Turns out it also included the listing dates. If the listing date was 9 months ago, the model could reliably guess it took 8 or 9 months to sell the house.
It hurt so much to fix that bug and watch the test accuracy go way down.<|eor|><|eols|><|endoftext|> | 1,388 |
programmerhumor | Trunkschan31 | hwsny6k | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Our university professor told us a story about how his research group trained a model whose task was to predict which author wrote which news article. They were all surprised by great accuracy untill they found out, that they forgot to remove the names of the authors from the articles.<|eor|><|sor|>I absolutely love stories like these lol.
I had a Jr on my team trying to predict churn and included if the person churned as an explanatory and response variable.
Never seen an ego do such a roller coaster lol.
EDIT: Thank you so much to all the shared stories. Im cracking up.<|eor|><|eols|><|endoftext|> | 1,276 |
programmerhumor | agilekiller0 | hws95ii | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Overfitting it is<|eor|><|eols|><|endoftext|> | 1,206 |
programmerhumor | juhotuho10 | hwsepbl | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I'm suspicious of anything over 51% at this point.<|eor|><|sor|>-> 51% accuracy
>yeah this is definitely over fit, we will strart the 2 month training again tomorrow<|eor|><|eols|><|endoftext|> | 1,127 |
programmerhumor | Xaros1984 | hwt0giv | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Our university professor told us a story about how his research group trained a model whose task was to predict which author wrote which news article. They were all surprised by great accuracy untill they found out, that they forgot to remove the names of the authors from the articles.<|eor|><|sor|>For some reason, this made me remember a really obscure book I once read. It was written as an actual scientific journal, but filled with satirical studies. I believe one of them was about how to measure IQ of dead people. Dead people of course all perform the same on the test itself, but since IQ is often calculated based on ones age group, they could prove that dead people actually have different IQ compared to each other, depending on how old they were when they died.
Edit: I found the book! It's called "The Primal Whimper: More readings from the *Journal of Polymorphous Perversity*",
The article is called "On the Robustness of Psychological Test Instrumentation: Psychological Evaluation of the Dead".
According to the abstract, they conclude that "dead subjects are moderately to mildly retarded and emotionally disturbed".
As I mentioned, while they all scored 0 on all tests, the fact that the raw scores are converted to IQ using a living norm group, means that it's possible to differentiate between "differently abled" dead people. Interestingly, the dead become smarter as they age, with an average 45 IQ at age 16-17, up to 51 IQ at 70-74. I suspect that their IQ at around 110 or so may even begin to approach the score of the living.
These findings suggest that psychological tests can be reliably used even on dead subjects, truly astounding.<|eor|><|eols|><|endoftext|> | 1,098 |
programmerhumor | 1nGirum1musNocte | hwsirvr | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Round peg goes in square hole, rectangular peg goes in square hole, triangular peg goes in square hole...<|eor|><|eols|><|endoftext|> | 1,086 |
programmerhumor | averagecollegedevkid | hwsbjoj | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Yes, Im not even a DS, but when I worked on it, having an accuracy higher than 90 somehow looked like something was really wrong XD<|eor|><|eols|><|endoftext|> | 882 |
programmerhumor | new_account_5009 | hwthr58 | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I'm suspicious of anything over 51% at this point.<|eor|><|sor|>-> 51% accuracy
>yeah this is definitely over fit, we will strart the 2 month training again tomorrow<|eor|><|sor|>It's easy to build a completely meaningless model with 99% accuracy. For instance, pretend a rare disease only impacts 0.1% of the population. If I have a model that simply tells every patient "you don't have the disease," I've achieved 99.9% accuracy, but my model is worthless.
This is a common pitfall in statiatics/data analysis. I work in the field, and I commonly get questions about why I chose model X over model Y despite model Y being more accurate. Accuracy isn't a great metric for model selection in isolation.<|eor|><|eols|><|endoftext|> | 746 |
programmerhumor | BullCityPicker | hwshqv7 | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>And by "real world", you mean "real world data I used for the training set"?<|eor|><|eols|><|endoftext|> | 553 |
programmerhumor | panzerboye | hwtjben | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Our university professor told us a story about how his research group trained a model whose task was to predict which author wrote which news article. They were all surprised by great accuracy untill they found out, that they forgot to remove the names of the authors from the articles.<|eor|><|sor|>For some reason, this made me remember a really obscure book I once read. It was written as an actual scientific journal, but filled with satirical studies. I believe one of them was about how to measure IQ of dead people. Dead people of course all perform the same on the test itself, but since IQ is often calculated based on ones age group, they could prove that dead people actually have different IQ compared to each other, depending on how old they were when they died.
Edit: I found the book! It's called "The Primal Whimper: More readings from the *Journal of Polymorphous Perversity*",
The article is called "On the Robustness of Psychological Test Instrumentation: Psychological Evaluation of the Dead".
According to the abstract, they conclude that "dead subjects are moderately to mildly retarded and emotionally disturbed".
As I mentioned, while they all scored 0 on all tests, the fact that the raw scores are converted to IQ using a living norm group, means that it's possible to differentiate between "differently abled" dead people. Interestingly, the dead become smarter as they age, with an average 45 IQ at age 16-17, up to 51 IQ at 70-74. I suspect that their IQ at around 110 or so may even begin to approach the score of the living.
These findings suggest that psychological tests can be reliably used even on dead subjects, truly astounding.<|eor|><|sor|>>dead subjects are moderately to mildly retarded and emotionally disturbed
On their defense, they had to undergo a *life altering* procedure<|eor|><|eols|><|endoftext|> | 552 |
programmerhumor | CodeMUDkey | hwsjdap | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Overfitting it is<|eor|><|sor|>Talk smack about my 6th degree polynomial. Do it!<|eor|><|eols|><|endoftext|> | 486 |
programmerhumor | _Ralix_ | hwsx0z3 | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I guess this usually happens when the dataset is very unbalanced. But I remember one occasion while I was studying, I read a report written by some other students, where they stated that their model had a *pretty* good R2 at around 0.98 or so. I looked into it, and it turns out that in their regression model, which was supposed to predict house prices, they had included both the number of square meters of the houses as well as the actual price per square meter. It's fascinating in a way how they managed to build a model where two of the variables account for 100% of variance, but still somehow managed to not perfectly predict the price.<|eor|><|sor|>I worked on a model that predicts how long a house will sit on the market before it sells. It was doing great, especially on houses with very *long* time on the market. Very suspicious.
The training data was all houses that sold in the past month. Turns out it also included the listing dates. If the listing date was 9 months ago, the model could reliably guess it took 8 or 9 months to sell the house.
It hurt so much to fix that bug and watch the test accuracy go way down.<|eor|><|sor|>Now I remember being told in class about a model that was intended to differentiate between domestic and foreign military vehicles, but since the domestic vehicles were all photographed indoors unlike all the foreign vehicles, it in fact became a sky detector.<|eor|><|eols|><|endoftext|> | 384 |
programmerhumor | Datboi_OverThere | hwslstw | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>Round peg goes in square hole, rectangular peg goes in square hole, triangular peg goes in square hole...<|eor|><|sor|>Please send me the link to that video<|eor|><|sor|>https://youtu.be/baY3SaIhfl0<|eor|><|eols|><|endoftext|> | 384 |
programmerhumor | Xaros1984 | hwsj58j | <|sols|><|sot|>something is fishy<|eot|><|sol|>https://i.redd.it/wy9b0y106mh81.gif<|eol|><|sor|>I'm suspicious of anything over 51% at this point.<|eor|><|sor|>Then you will really like the decision making model that I built. It's very easy to use, in fact you don't even need a computer, if you have a coin with different prints on each side, you're good to go.<|eor|><|eols|><|endoftext|> | 324 |
programmerhumor | kirbyfan64sos | 99esk3 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|eols|><|endoftext|> | 48,285 |
programmerhumor | jvrcb17 | e4n2mzc | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Woah! On your resume:
"I wrote code for _____ function that runs daily. Over the course of three years, I worked on improving the code and cut down runtime by 100x. This saved the company $$$. I was awarded _____ for my tireless effort."<|eor|><|eols|><|endoftext|> | 7,659 |
programmerhumor | MisterBlister5 | e4n5694 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>I feel like I should remind everyone here about the famous [speed-up loop](https://thedailywtf.com/articles/The-Speedup-Loop) design pattern<|eor|><|eols|><|endoftext|> | 2,302 |
programmerhumor | sandy_catheter | e4ndos9 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>And to make it go five seconds faster put
`Thread.sleep(-5000);`
​<|eor|><|sor|>So, I just tried this, and noticed my cat vacuuming turds out of her litterbox and water dripping up into the kitchen faucet. Something bad is happening here...<|eor|><|eols|><|endoftext|> | 2,150 |
programmerhumor | fgben | e4n4p6l | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Woah! On your resume:
"I wrote code for _____ function that runs daily. Over the course of three years, I worked on improving the code and cut down runtime by 100x. This saved the company $$$. I was awarded _____ for my tireless effort."<|eor|><|sor|>This guy STARs.<|eor|><|eols|><|endoftext|> | 1,136 |
programmerhumor | dread_deimos | e4ne86v | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>I feel like I should remind everyone here about the famous [speed-up loop](https://thedailywtf.com/articles/The-Speedup-Loop) design pattern<|eor|><|sor|>When I was a child and wrote my first games, I didn't know how to properly set up time delays and used these loops instead. Later, when my hardware got updated, I couldn't play any of my games because the loops were ticked a lot faster and I couldn't control my character that fast.<|eor|><|eols|><|endoftext|> | 959 |
programmerhumor | niffuMelbmuR | e4n6t0k | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Really need to replace that magic number with a variable... makes it less obvious, and when you do "work tirelessly" to speed it up you only have to change one line of code instead of many. <|eor|><|eols|><|endoftext|> | 701 |
programmerhumor | re_error | e4n6ay1 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>doesn't work in open source software though.<|eor|><|eols|><|endoftext|> | 629 |
programmerhumor | pikeamus | e4nakul | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Woah! On your resume:
"I wrote code for _____ function that runs daily. Over the course of three years, I worked on improving the code and cut down runtime by 100x. This saved the company $$$. I was awarded _____ for my tireless effort."<|eor|><|sor|>[deleted]<|eor|><|sor|>[a round of applause at the show and tell]<|eor|><|eols|><|endoftext|> | 601 |
programmerhumor | RBeck | e4nd7a0 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Woah! On your resume:
"I wrote code for _____ function that runs daily. Over the course of three years, I worked on improving the code and cut down runtime by 100x. This saved the company $$$. I was awarded _____ for my tireless effort."<|eor|><|sor|>[deleted]<|eor|><|sor|>I shit you not a customer gave one of our people a $50 gift card as a thank you. There was like $19.32 left on it.<|eor|><|eols|><|endoftext|> | 564 |
programmerhumor | wertercatt | e4nflw4 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>I feel like I should remind everyone here about the famous [speed-up loop](https://thedailywtf.com/articles/The-Speedup-Loop) design pattern<|eor|><|sor|>When I was a child and wrote my first games, I didn't know how to properly set up time delays and used these loops instead. Later, when my hardware got updated, I couldn't play any of my games because the loops were ticked a lot faster and I couldn't control my character that fast.<|eor|><|sor|>Early-PC-Games.txt<|eor|><|eols|><|endoftext|> | 503 |
programmerhumor | sandy_catheter | e4ng3d6 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>And to make it go five seconds faster put
`Thread.sleep(-5000);`
​<|eor|><|sor|>So, I just tried this, and noticed my cat vacuuming turds out of her litterbox and water dripping up into the kitchen faucet. Something bad is happening here...<|eor|><|sor|>Don't open pornhub<|eor|><|sor|>Oh no... it looks like a bunch of elephants doing sticky cocaine<|eor|><|eols|><|endoftext|> | 503 |
programmerhumor | docfunbags | e4nhjd4 | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Woah! On your resume:
"I wrote code for _____ function that runs daily. Over the course of three years, I worked on improving the code and cut down runtime by 100x. This saved the company $$$. I was awarded _____ for my tireless effort."<|eor|><|sor|>Interviewer: "Whoa, we're impressed! Could you please describe in detail what you did to reduce runtime so drastically?" <|eor|><|sor|>NDA muthafuckas. Need to buy the cow to get the milk. <|eor|><|eols|><|endoftext|> | 489 |
programmerhumor | pomlife | e4n3yyh | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>I mean, can't someone just see a `Thread.Sleep(5000);`?
Solution:
class veryImportant {
public void doTask() {
Thread.Sleep(5000);
}
}<|eor|><|sor|>> having a class declaration in camelCase<|eor|><|eols|><|endoftext|> | 439 |
programmerhumor | Kontorted | e4n1gsc | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>I mean, can't someone just see a `Thread.Sleep(5000);`?
Solution:
class veryImportant {
public void doTask() {
Thread.Sleep(5000);
}
}<|eor|><|eols|><|endoftext|> | 378 |
programmerhumor | emmmmceeee | e4ncz9u | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Really need to replace that magic number with a variable... makes it less obvious, and when you do "work tirelessly" to speed it up you only have to change one line of code instead of many. <|eor|><|sor|>Make it a constant and either bury it in a header somewhere, or set it in the makefile.<|eor|><|sor|>Calculate it from the version number. <|eor|><|eols|><|endoftext|> | 358 |
programmerhumor | futuneral | e4nfcej | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>doesn't work in open source software though.<|eor|><|sor|>Or in a company that enforces code reviews before applying changes. Unless everybody is in on it, of course.<|eor|><|sor|>Thread.sleep(5000); // Ensures following lines execute when expected<|eor|><|sor|>Thread.sleep(5000); // if this is removed, there are some weird race conditions. DO NOT REMOVE<|eor|><|eols|><|endoftext|> | 332 |
programmerhumor | corobo | e4naloq | <|sols|><|sot|>How to make your users love you 101<|eot|><|sol|>https://i.imgur.com/aUIJYKk.png<|eol|><|sor|>Woah! On your resume:
"I wrote code for _____ function that runs daily. Over the course of three years, I worked on improving the code and cut down runtime by 100x. This saved the company $$$. I was awarded _____ for my tireless effort."<|eor|><|sor|>[deleted]<|eor|><|sor|>[a round of applause at the show and tell]<|eor|><|sor|>[not even a thanks]<|eor|><|eols|><|endoftext|> | 317 |
programmerhumor | Hacka4771 | rsbq8p | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|eols|><|endoftext|> | 48,279 |
programmerhumor | sphintero | hqlyyvz | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|eols|><|endoftext|> | 2,367 |
programmerhumor | Salanmander | hqm0tqk | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|sor|>After some feature creep, we are now developing a house.<|eor|><|eols|><|endoftext|> | 1,688 |
programmerhumor | Johnny_Suede | hqliip1 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>*Shrug*... It still works<|eor|><|eols|><|endoftext|> | 913 |
programmerhumor | MischiefArchitect | hqlqh5h | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>The doggy failed to show the middle paw to the developer<|eor|><|eols|><|endoftext|> | 625 |
programmerhumor | svidlakk | hqlhul1 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>UI vs UX in a nutshell<|eor|><|eols|><|endoftext|> | 538 |
programmerhumor | jeffderek | hqm9i42 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|sor|>After some feature creep, we are now developing a house.<|eor|><|sor|>I see you work at the same company I work at<|eor|><|eols|><|endoftext|> | 464 |
programmerhumor | literal-hitler | hqn1msz | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>*Shrug*... It still works<|eor|><|sor|>Reminds me of the toothpaste story though:
>A toothpaste factory had a problem: Due to the way the production line was set up, sometimes empty boxes were shipped without the tube inside. People with experience in designing production lines will tell you how difficult it is to have everything happen with timings so precise that every single unit coming off of it is perfect 100% of the time. Small variations in the environment (which cannot be controlled in a cost-effective fashion) mean quality assurance checks must be smartly distributed across the production line so that customers all the way down to the supermarket wont get frustrated and purchase another product instead.
>Understanding how important that was, the CEO of the toothpaste factory gathered the top people in the company together. Since their own engineering department was already stretched too thin, they decided to hire an external engineering company to solve their empty boxes problem.
>The project followed the usual process: budget and project sponsor allocated, RFP (request for proposal), third-parties selected, and six months (and $8 million) later a fantastic solution was delivered on time, on budget, high quality and everyone in the project had a great time. The problem was solved by using high-tech precision scales that would sound a bell and flash lights whenever a toothpaste box would weigh less than it should. The line would stop, and someone had to walk over and yank the defective box off the line, then press another button to re-start the line.
>A short time later, the CEO decided to have a look at the ROI (return on investment) of the project: amazing results! No empty boxes ever shipped out of the factory after the scales were put in place. There were very few customer complaints, and they were gaining market share. That was some money well spent! he said, before looking closely at the other statistics in the report.
>The number of defects picked up by the scales was 0 after three weeks of production use. How could that be? It should have been picking up at least a dozen a day, so maybe there was something wrong with the report. He filed a bug against it, and after some investigation, the engineers indicated the statistics were indeed correct. The scales were NOT picking up any defects, because all boxes that got to that point in the conveyor belt were good.
>Perplexed, the CEO traveled down to the factory and walked up to the part of the line where the precision scales were installed. A few feet before the scale, a $20 desk fan was blowing any empty boxes off the belt and into a bin. Puzzled, the CEO turned to one of the workers who stated, Oh, thatOne of the guys put it there cause he was tired of walking over every time the bell rang!<|eor|><|eols|><|endoftext|> | 399 |
programmerhumor | oh_look_a_fist | hqmacf0 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>QA: What if we just tip the bowl over?
Business: That's an edge case.
QA: *shrugs* Ready for prod<|eor|><|eols|><|endoftext|> | 319 |
programmerhumor | WomanNotAGirl | hqls7dv | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>This is exactly how I felt when I saw this video. Huge team of software team from architect, user experience specialist, developers, BAs. So many fucking eyes but everybody will overlook something so fucking obvious and the result will be something so well design with a gigantic easy way to break it.<|eor|><|eols|><|endoftext|> | 271 |
programmerhumor | sofa_king_we_todded | hqmqpft | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|sor|>After some feature creep, we are now developing a house.<|eor|><|sor|>I see you work at the same company I work at<|eor|><|sor|>We all work for the same company. Just different teams, names, and goals<|eor|><|eols|><|endoftext|> | 232 |
programmerhumor | Brilliant_String_774 | hqm4ghr | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Even if they toss it, it still slows them down. We love our puzzle bowl.<|eor|><|eols|><|endoftext|> | 209 |
programmerhumor | puz23 | hqm7n16 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>*Shrug*... It still works<|eor|><|sor|>Also they'll inevitably lose a few pieces and eat less<|eor|><|eols|><|endoftext|> | 203 |
programmerhumor | user_8804 | hqm4wc2 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>This is exactly how I felt when I saw this video. Huge team of software team from architect, user experience specialist, developers, BAs. So many fucking eyes but everybody will overlook something so fucking obvious and the result will be something so well design with a gigantic easy way to break it.<|eor|><|sor|>thats why you need to involve actual users who aren't pros in the field<|eor|><|eols|><|endoftext|> | 154 |
programmerhumor | HashFap | hqly0yl | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>When they try to rate limit your web scraping, but you launch 20 containers using different VPN endpoints.<|eor|><|eols|><|endoftext|> | 153 |
programmerhumor | waltjrimmer | hqmf14a | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|sor|>After some feature creep, we are now developing a house.<|eor|><|sor|>A house whose one and only selling feature is that it has a slow-eat dog bowl in the middle, but we're assured that this is what new homeowners want and it will be the next big thing in home ownership.<|eor|><|eols|><|endoftext|> | 144 |
programmerhumor | taytek | hqm0uzl | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>UI vs UX in a nutshell<|eor|><|sor|>*installing every single gtk library* "I just wanted to parse my curl output!"<|eor|><|eols|><|endoftext|> | 131 |
programmerhumor | C5-O | hqm3lpf | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>The doggy failed to show the middle paw to the developer<|eor|><|sor|>Not out of character, I mean my dogs still haven't figured out that they could just push these bowls down the stairs to get their food more easily...<|eor|><|eols|><|endoftext|> | 128 |
programmerhumor | IAmTheOneWhoClicks | hqms1u4 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|sor|>After some feature creep, we are now developing a house.<|eor|><|sor|>I see you work at the same company I work at<|eor|><|sor|>We all work for the same company. Just different teams, names, and goals<|eor|><|sor|>I have a feeling a lot of teams are named team rocket.<|eor|><|eols|><|endoftext|> | 125 |
programmerhumor | Ajreil | hqmebcr | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>Bowl 2.0 will be anchored to the floor<|eor|><|sor|>User: My floor is upside down<|eor|><|eols|><|endoftext|> | 124 |
programmerhumor | CrescentSmile | hqmb8u8 | <|sols|><|sot|>Human Error<|eot|><|sol|>https://i.redd.it/1liz3790sq881.gif<|eol|><|sor|>*Shrug*... It still works<|eor|><|sor|>Also they'll inevitably lose a few pieces and eat less<|eor|><|sor|>But then you get ants a bug if you will<|eor|><|eols|><|endoftext|> | 121 |
programmerhumor | Akki53 | vblhns | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|eols|><|endoftext|> | 48,220 |
programmerhumor | DividedContinuity | ic94s6w | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>This is why I always use excessive brackets when doing math. cant fall foul of ambiguity if there is no ambiguity.<|eor|><|eols|><|endoftext|> | 10,337 |
programmerhumor | Nimyphite | ic96k6k | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>This is why I always use excessive brackets when doing math. cant fall foul of ambiguity if there is no ambiguity.<|eor|><|sor|>If you dont have at least five layers of brackets, youre using your calculator wrong.<|eor|><|eols|><|endoftext|> | 4,010 |
programmerhumor | snoryder8019 | ic8xomy | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>Hey google...how do i push my TI calculator to github<|eor|><|eols|><|endoftext|> | 3,555 |
programmerhumor | Who_GNU | ic921yz | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>A retired UC Berkeley math professor has a good writeup on why this is ambiguous: https://math.berkeley.edu/~gbergman/misc/numbers/ord_ops.html<|eor|><|eols|><|endoftext|> | 2,471 |
programmerhumor | CoderDevo | ic9bls9 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>This is why I always use excessive brackets when doing math. cant fall foul of ambiguity if there is no ambiguity.<|eor|><|sor|>If you dont have at least five layers of brackets, youre using your calculator wrong.<|eor|><|sor|>I agree. My maths teacher hated me for making insanely long formulas with multiple layers of brackets. Record was 18 or so, for some geometry calculation.<|eor|><|sor|>A lisp programmer at heart.<|eor|><|eols|><|endoftext|> | 1,996 |
programmerhumor | NotA56YearOldPervert | ic97l43 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>This is why I always use excessive brackets when doing math. cant fall foul of ambiguity if there is no ambiguity.<|eor|><|sor|>If you dont have at least five layers of brackets, youre using your calculator wrong.<|eor|><|sor|>I agree. My maths teacher hated me for making insanely long formulas with multiple layers of brackets. Record was 18 or so, for some geometry calculation.<|eor|><|eols|><|endoftext|> | 1,989 |
programmerhumor | Dasoccerguy | ic9i56i | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>A retired UC Berkeley math professor has a good writeup on why this is ambiguous: https://math.berkeley.edu/~gbergman/misc/numbers/ord_ops.html<|eor|><|sor|>My most downvoted comment ever was an attempt at explaining why these equations are ambiguous. Reddit really do be like that sometimes.<|eor|><|eols|><|endoftext|> | 1,648 |
programmerhumor | tazfriend | ic94hro | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>Hey google...how do i push my TI calculator to github<|eor|><|sor|>I know it is a joke, but check out the Graph 89 app. Full emulator for Ti89 and similar calculators for smart phones.<|eor|><|eols|><|endoftext|> | 1,610 |
programmerhumor | stereoroid | ic8y892 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>I just tried it on my HP 35s, also got 9. This is a dual mode calculator that does RPN too: using RPN, its up to you to get the order of operations correct, not the calculator!<|eor|><|eols|><|endoftext|> | 1,482 |
programmerhumor | Pretty_Industry_9630 | ic9139o | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>Math is broken, inconsistent accross implementations, lacking clear documentation and no support whatsoever <|eor|><|eols|><|endoftext|> | 1,127 |
programmerhumor | ProfessionalShower95 | ic9oo5j | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>This is why I always use excessive brackets when doing math. cant fall foul of ambiguity if there is no ambiguity.<|eor|><|sor|>If you dont have at least five layers of brackets, youre using your calculator wrong.<|eor|><|sor|>I agree. My maths teacher hated me for making insanely long formulas with multiple layers of brackets. Record was 18 or so, for some geometry calculation.<|eor|><|sor|>A lisp programmer at heart.<|eor|><|sor|>More elegant language from a more civilized age<|eor|><|sor|>A more thivilized\* age.<|eor|><|eols|><|endoftext|> | 1,113 |
programmerhumor | Cmdr_Jiynx | ic9eklp | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>This is why I always use excessive brackets when doing math. cant fall foul of ambiguity if there is no ambiguity.<|eor|><|sor|>If you dont have at least five layers of brackets, youre using your calculator wrong.<|eor|><|sor|>I agree. My maths teacher hated me for making insanely long formulas with multiple layers of brackets. Record was 18 or so, for some geometry calculation.<|eor|><|sor|>A lisp programmer at heart.<|eor|><|sor|>More elegant language from a more civilized age<|eor|><|eols|><|endoftext|> | 880 |
programmerhumor | orebright | ic99rdo | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>I always assumed paren multipliers "m(a + b)" were just shorthand for "m (a + b)" and therefore would follow the usual order of operations, since a shorthand is not meant to be a new format, just a shorter representation.<|eor|><|eols|><|endoftext|> | 758 |
programmerhumor | richasalannister | ic9j656 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>A retired UC Berkeley math professor has a good writeup on why this is ambiguous: https://math.berkeley.edu/~gbergman/misc/numbers/ord_ops.html<|eor|><|sor|>My most downvoted comment ever was an attempt at explaining why these equations are ambiguous. Reddit really do be like that sometimes.<|eor|><|sor|>Same. Basically tried to explain how changing the division to a fraction changes it but I got downvoted by every person who got 9 and felt the need to comment LOL some people are so dumb! Dont they remember elementary math (I always read these types of comments in the most obnoxious voice possible because thats how they come across.
Somehow those commenters never stop and consider maybe people getting a different answer arent stupid and know something they dont.<|eor|><|eols|><|endoftext|> | 634 |
programmerhumor | MacksNotCool | ic959j7 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>Math is broken, inconsistent accross implementations, lacking clear documentation and no support whatsoever <|eor|><|sor|>It's also depricated. Use meth instead.<|eor|><|eols|><|endoftext|> | 624 |
programmerhumor | throwawayHiddenUnknw | ic8vvi9 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>Based on CS logic and implicit multiplication:
Casio calculator is incorrect.
- parentheses
- Exponential
- Div or mul (left to right)
- Add or sub (left to right)<|eor|><|eols|><|endoftext|> | 560 |
programmerhumor | Eclectic_Radishes | ic99y5y | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>I just tried it on my HP 35s, also got 9. This is a dual mode calculator that does RPN too: using RPN, its up to you to get the order of operations correct, not the calculator!<|eor|><|sor|>What doe...
Reverse Polish Notation<|eor|><|sor|>uoou slod s<|eor|><|eols|><|endoftext|> | 413 |
programmerhumor | wugs | ic9nq7v | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>i'm pleased the comments here are all addressing how this is ambiguous/poor notation
when explaining it, i use the word "unlockable". If one person understands the word to mean "able to be unlocked" and another person understands it to mean "unable to be locked", they can spend hours and hours arguing about which is "unambiguously correct" on the One True Meaning, but a normal human being would say "well, it depends. An upgrade in a video game can be unlocked, but maybe you know of a door that is impossible to lock. Both can be unlockable given context."
If you want to try and ban one specific use of the word "unlockable" to get an unambiguous meaning, well... good luck. Language doesn't work that way. (Same with math notation.)<|eor|><|eols|><|endoftext|> | 338 |
programmerhumor | Lithl | ic9u2p6 | <|sols|><|sot|>DEV environment vs Production environment<|eot|><|sol|>https://i.redd.it/qqmijfkr6g591.jpg<|eol|><|sor|>I just tried it on my HP 35s, also got 9. This is a dual mode calculator that does RPN too: using RPN, its up to you to get the order of operations correct, not the calculator!<|eor|><|sor|>I would have thought 9 was correct. Brackets first gives 62(3) which just means 62x3, and then just go left to right.<|eor|><|sor|>An implicit multiplication like 2(3) is sometimes treated as having higher precedence than division or explicit multiplication. This is more common in systems capable of handling variables; while many people will say 62(3) is equal to (6/2)\*3, many of those same people would say 62x with x=3 is equal to 6/(2\*3).<|eor|><|eols|><|endoftext|> | 288 |
programmerhumor | Drollian | iatz5w | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|eols|><|endoftext|> | 47,472 |
programmerhumor | SoMuchJamImToast | g1qwb4m | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>That spaghetti is much too organized and consistent<|eor|><|eols|><|endoftext|> | 4,429 |
programmerhumor | i_use_camel_case | g1qwp99 | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>Fresh spaghetti? All my homies **copies dried sapaghetto from stackoverflow posts from 2014**.<|eor|><|eols|><|endoftext|> | 1,324 |
programmerhumor | domin8r | g1qy8l8 | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>That spaghetti is much too organized and consistent<|eor|><|sor|>Too fresh too.<|eor|><|eols|><|endoftext|> | 1,276 |
programmerhumor | KnightOfThirteen | g1r5lw0 | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>That spaghetti is much too organized and consistent<|eor|><|sor|>Too fresh too.<|eor|><|sor|>30% copy and pasted directly from Stack Overflow, 50% copy and pasted directly from previous projects (recursive ad infinitum)
15% googling specific functions for novel behavior.
5% I have typed this line so many times that it would take longer to find an example to copy (index++)<|eor|><|eols|><|endoftext|> | 693 |
programmerhumor | EviRs18 | g1r5b9x | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>I think the third frame is what 80% of my country thinks computer knowledge breaks down to.<|eor|><|sor|>I have to constantly remind myself most people assume Comp Sci is IT<|eor|><|eols|><|endoftext|> | 368 |
programmerhumor | UltraCarnivore | g1qve8h | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>4th panel: me_irl (he looks pretty proud of his spaghetti)<|eor|><|eols|><|endoftext|> | 281 |
programmerhumor | CoolTrainerAlex | g1ra1l1 | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>That spaghetti is much too organized and consistent<|eor|><|sor|>Too fresh too.<|eor|><|sor|>30% copy and pasted directly from Stack Overflow, 50% copy and pasted directly from previous projects (recursive ad infinitum)
15% googling specific functions for novel behavior.
5% I have typed this line so many times that it would take longer to find an example to copy (index++)<|eor|><|sor|>I have worked in two major aerospace companies and in BOTH we had the same function copied directly from stack overflow in our main library. With comments and ERRORS alike. At both companies I filed a bug report and fixed it<|eor|><|eols|><|endoftext|> | 279 |
programmerhumor | Appeased_Seal | g1rbltc | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>I think the third frame is what 80% of my country thinks computer knowledge breaks down to.<|eor|><|sor|>I have to constantly remind myself most people assume Comp Sci is IT<|eor|><|sor|>Are you telling me you didn't go to school in order to help grandma set up her new fire TV stick?<|eor|><|eols|><|endoftext|> | 247 |
programmerhumor | meamZ | g1qx9pg | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>Well.. Your boss might not be that wrong. Maybe you are working with beans a lot...<|eor|><|eols|><|endoftext|> | 221 |
programmerhumor | aliserjaliwej | g1rhlyv | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>Reasonably accurate. All the way through grad school my mom complained that "I needed to get a real job and stop doing video game stuff". Software = video games. Then when my dad told her I make more than both of them combined she wouldn't speak to me for a month.<|eor|><|eols|><|endoftext|> | 150 |
programmerhumor | hangfromthisone | g1r6t2y | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>4th panel: me_irl (he looks pretty proud of his spaghetti)<|eor|><|sor|>Sr developer
15 years experience
Best spaghetti in town<|eor|><|eols|><|endoftext|> | 147 |
programmerhumor | PMFRTT | g1rbydc | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>That spaghetti is much too organized and consistent<|eor|><|sor|>Too fresh too.<|eor|><|sor|>30% copy and pasted directly from Stack Overflow, 50% copy and pasted directly from previous projects (recursive ad infinitum)
15% googling specific functions for novel behavior.
5% I have typed this line so many times that it would take longer to find an example to copy (index++)<|eor|><|sor|>I have worked in two major aerospace companies and in BOTH we had the same function copied directly from stack overflow in our main library. With comments and ERRORS alike. At both companies I filed a bug report and fixed it<|eor|><|sor|>Jesus that's crazy. So there were just copied bugs in flight software basically<|eor|><|eols|><|endoftext|> | 146 |
programmerhumor | 812many | g1r22lh | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>That spaghetti is much too organized and consistent<|eor|><|sor|>Wait until its merged into the plate<|eor|><|eols|><|endoftext|> | 138 |
programmerhumor | Antheal | g1qxlta | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>Fresh spaghetti? All my homies **copies dried sapaghetto from stackoverflow posts from 2014**.<|eor|><|sor|>Too like freeze dried ramen code<|eor|><|eols|><|endoftext|> | 131 |
programmerhumor | bennett_us | g1qygtj | <|sols|><|sot|>Working as a software engineer<|eot|><|sol|>https://i.redd.it/h8uhxvhurdh51.jpg<|eol|><|sor|>Third panel is all too accurate.<|eor|><|eols|><|endoftext|> | 115 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.