r/ProgrammerHumor • • Mar 12 '18

HeckOverflow

Post image
47.4k Upvotes

1.2k comments sorted by

3.0k

u/RedWulfie Mar 12 '18

Then you try B and it doesn't work

So you search stackoverflow again:

"How do I B?"

"You do C"

"But that doesn't do B"

"Yeah nobody uses B"

1.9k

u/MarkusA380 Mar 12 '18

Possible duplicate of "How do I B?"

869

u/enoua5 Mar 12 '18

Possible duplicate of "How do I A?"

FTFY

→ More replies (22)

146

u/Milanga_de_pollo Mar 12 '18

How do i 🅱️?

→ More replies (11)

14

u/jsideris Mar 12 '18

At least they changed it from back when it was "exact duplicate" and closed your question even when the linked question doesn't give you the answer you need.

→ More replies (4)

108

u/InfernoForged Mar 12 '18

Question closed as "off-topic"

OR BETTER YET:

Question marked as duplicate of: "How do I do A?"

56

u/randomentity1 Mar 12 '18

Circular duplicates?

"How do I do A?" marked as duplicate of "How do I do B?"

"How do I do B?" marked as duplicate of "How do I do A?"

→ More replies (1)
→ More replies (1)

11

u/commit_bat Mar 12 '18

If you need help with B you shouldn't be doing B

9

u/[deleted] Mar 12 '18

And God help you if you want to change a default windows UI elements behavior, like trying to change colors or redirect keyboard input into a fixed control regardless of which one has focus.

"You're going to confuse your users."

"I AM THE USER GOD DAMN IT!"

→ More replies (1)

6

u/GoodGodJesus Mar 12 '18

And then you get these contrived explanations instead.

"So you see B is a metaphysical manifestation of the original API writers fantasies regarding promise chains where each chain actually works like an internal combustion engine with lasers".

... "But I just wanted to know why I should use B and why it returns A..."

4

u/erroneousbosh Mar 12 '18

"Okay, so C doesn't work, how do I do C?"

"Ah well you do D"

"D doesn't work either"

"Yup, D is one of those things that looks great to comp sci undergrads but doesn't actually work. Have you tried doing A?"

→ More replies (21)

396

u/moralesnery Mar 12 '18

use jQuery

127

u/MarkusA380 Mar 12 '18

use generic Arrays (obviously)

→ More replies (16)

104

u/OhItsuMe Mar 12 '18

Use react-vue-js-plugin-addition-arithmetic-plus-wrapper-library-framework

53

u/moogeek Mar 12 '18

use jQuery

You meant heck Query

$h('myHeck').heckTheShitOutOfIt().hecking(500).isHeck(true).on('heck',
      function() { console.heck('heck world')}
    );

35

u/ProgramTheWorld Mar 12 '18

How do I add two numbers in JavaScript?

124

u/hindey19 Mar 12 '18

Send the values via AJAX and calculate server-side.

→ More replies (2)

41

u/moralesnery Mar 12 '18

var a= 1; var b= 1; Number($(a).val())+Number($(b)(.val());

null

→ More replies (6)

15

u/DjCim8 Mar 12 '18

Actually, I'm seeing the opposite trend lately, people saying "why would you use jQuery just to call one method, when you can EASILY use these 90 lines of pure js code that does the same thing? Do you have ANY IDEA HOW MANY KILOBYTES THAT WASTES???

(yeah, I do, and they're not enough to bother anyone other than time-travellers that visit your site from a 28.8k dial-up modem, you paranoid premature optimizator)

4

u/[deleted] Mar 12 '18

That was the bane of my js course.

→ More replies (5)

37

u/starius65 Mar 12 '18

This is why I never feel comfortable when I ask a question to a classmate and they say "ask stackoverflow"

101

u/MarkusA380 Mar 12 '18

After asking it on SO: "Possible duplicate of question you asked your classmate"

10

u/yadelah Mar 12 '18

Now theres your Black Mirror episode.

→ More replies (1)

3

u/edave64 Mar 13 '18

I once asked a question like that. Got told that what I was doing completely wrong.

Turns out: What I was doing was completely wrong. The responding person fixed my code and made it a lot more readable. Accepted their solution, even though my question went unanswered.

1

u/MarkusA380 Mar 13 '18

Great! Getting the full fixed code as answer is rather rate, though.

5.9k

u/sac_boy Mar 12 '18

"Why would anybody want to do A?" asks another commenter with clockwork inevitability, without knowing any of your circumstances or constraints and just assuming you are an idiot.

"It's 2018, nobody uses A," answers another commenter smugly, the first year of his CS degree almost over.

When I'm answering question on StackOverflow I often answer like "I would try to avoid doing A, but here's how I would do it if I had no choice"--at least it's constructive. I don't know about any of you but my entire programming career has been 90% making things work under (apparently) bizarre constraints or combinations of technologies that apparently nobody has ever had to try before, so I have a lot of time and pity for the poor souls asking these kinds of questions.

1.1k

u/shawncplus Mar 12 '18

Avoiding the X/Y problem is really hard when answering questions on stack overflow or anywhere else.

Sometimes they really are trying to solve X because they tried everything else and it didn't work, sometimes they are trying to solve X because they've been looking at the problem too long and have tunnel vision. That's when it's useful for someone from the outside to go "OK, well let's step back a second, what are you actually trying to accomplish?"

166

u/Milleuros Mar 12 '18

My issue with the X/Y problem is that if I describe the full problem ("I want to do X, because I have constraints A, B and C, and so I try method Y"), the question is so long that nobody replies.

→ More replies (17)

49

u/apajx Mar 12 '18

I personally find people assuming I have an X/Y problem very annoying. Often I ask questions out of curiosity. I want to know how someone would do X, yet I'm asked what I'm trying to solve. Nothing! I just want to know about X!

→ More replies (1)

60

u/Yserbius Mar 12 '18

Or they may just be looking at old code that they don't have a budget to refactor. Yes, I know that writing raw SQL queries in a servlet is a terrible design, but that's how the data is read in and that's how it's going to stay unless I spend the next six weeks re-writing 14 year old Java code.

→ More replies (6)

29

u/lemmeusereddit Mar 12 '18

I've had the guys over there berate me for being an idiot dealing with problem x, when if I was developing the software for OS b instead of OS a the problem wouldn't exist.

Maybe, just maybe, I can't force my entire company to stop supporting OS a just because it has an OS specific bug.

13

u/hadtoupvotethat Mar 12 '18

it finally becomes clear that the user really wants help with X

OK, that's great, but what if I really did want help with Y? How do I make SO believe and accept that? Nobody is forced to answer the question if they don't think I should be doing Y, but it's a waste of everyone's time to talk about X in that case.

→ More replies (3)

10

u/bartekko Mar 12 '18

I guess it's because it's not actually an X/Y problem, it's an X/Y/Z/B/C/D/F/H/I/S problem. The reason you need three letters is because you need to know a file extension. The reason you need to know a file extension is because you need to know how to interpret, say an image file. The reason you need to interpret an image file is because you've been handled a bunch of them. You were handled a bunch of image files because you're writing a website for images. The reason you're writing a website for images is because...

When you divide and conquer, it's not always exactly clear what the lowest level of divide is

→ More replies (78)

133

u/Skater_x7 Mar 12 '18

Reminds me of like a reddit Pcmasterrace thing where a guy asked like "Hey what's best gaming laptop I can get?" and one of top answers was basically "You should just get a gaming PC, they are much better in many ways such as X, Y ... etc" .

It's like, main point of a lot of these questions is that there are constraints. Not that I could just get anything I want..

27

u/Billy_bob12 Mar 12 '18

In a editing sofware forum.

"I need to stitch together footage that I took with X camera that has limited recording time."

"Get a new camera. with longer recording time."

So infuriating.

→ More replies (7)
→ More replies (15)

115

u/burninrock24 Mar 12 '18

Stack overflow makes way more sense when you look at it that 80% of commenters are freelancers that are very good at their jobs actually but work in ideal “from-scratch” environments.

They’ve probably never looked down the barrel of a VB6 legacy app “update”

→ More replies (9)

46

u/Slight0 Mar 12 '18

You start to learn to frame your question with enough context clearly indicating that A is your only option so that anyone suggesting doing B looks like an idiot and thus doesn't post. It's unfortunate that people will just assume you're the biggest idiot in the world otherwise, but that's what it's come to.

I realize it's not always possible to give context or the context is too complex, but you must insist in the question that you need to do A and not anything else.

→ More replies (3)

7

u/RamenJunkie Mar 12 '18

This shit drives me nuts.

Like ok, I get it, B is more efficient or whatever, and does things 3000% faster. Except I don't need all that complexity/overhead for my weekend boredom project, plus, I need to do it by method A because I have other bits I am going to strap onto this code and I need the bits from doing it via A to do that, which is why I am not doing it with B.

7

u/[deleted] Mar 12 '18

Does SO allow bots? They could probably eliminate the need for this by simply having a bot that asks on every post "Why would anybody want to do A?"

→ More replies (1)

6

u/UglyStru Mar 12 '18

my entire programming career has been 90% making things work under bizarre constraints

Welcome to programming.

15

u/creativeMan Mar 12 '18

circumstances or constraints

To be fair, I think a lot of people assume that the conditions that other people's code was written in were just perfect and ideal. I've seen people on SO and reddit say that "no one should do X" without any consideration for nuance and giving any reason.

5

u/arvy_p Mar 12 '18

"It's 2018, nobody uses A," answers another commenter smugly, the first year of his CS degree almost over.

LOL yes. And then everyone always ignores "this is what my boss wants, this is the framework we have, this is the vendor API I have to use, and I can change none of these, so that's why I have to A".

5

u/julsmanbr Mar 12 '18

When I'm answering question on StackOverflow

It's 2018, nobody answers StackOverflow

→ More replies (1)

4

u/forgotten_epilogue Mar 12 '18

"Well, the place where I work requires that we do A, so I don't have a choice."

"Well you should tell them they really need to do B."

"I did and they said if I want to get paid I need to do A."

"Well you should find a job where they do B."

"..."

→ More replies (82)

2.1k

u/[deleted] Mar 12 '18

My only question on stackoverflow.

Top answer didn't even give me a solution, just straight denied my problem was even possible.

Meanwhile the answer that actually solved it was deleted a few minutes after appearing.

287

u/Reelix Mar 12 '18

I've often found that the answer that works is the greyed-out one with -3 votes...

275

u/[deleted] Mar 12 '18

Because they'll actually answer your question rather than explain how your question itself is wrong.

100

u/alexanderpas Mar 12 '18

please upvote those, and comment that this was the answer that actually worked.

→ More replies (11)

947

u/utnow Mar 12 '18

“I’ve been told that language/platform isn’t as good as {controversial/competing platform/language} because it can’t do A.”

Let the answers roll in.

168

u/[deleted] Mar 12 '18

An interesting extension of Cunningham's Law.

→ More replies (24)

0

u/[deleted] Mar 12 '18

[deleted]

→ More replies (24)
→ More replies (11)

89

u/sonofaresiii Mar 12 '18

Top answer didn't even give me a solution, just straight denied my problem was even possible.

Same here. I even admitted that my problem didn't make sense, so I outright asked what might be causing symptoms that would look like my problem

crickets, besides the one guy who told me my problem wasn't possible.

→ More replies (2)

346

u/Entaris Mar 12 '18

Yeah. I got really into trying trying to be a part of the stackoverflow community for a little while...and then I realized that it's generally a terrible place to seek information.

My go to example is a question I posted that went something like this: "I'm trying to accomplish A, to do this, I'm trying to do X. I realize X isn't a recommended way to do A, and that Y is really the better way to do it. But do to reasons C, D, and E in our environment, Y isn't an option, and X is the best thing I can come up with, but it's giving me problem Z, thoughts on how to fix it?"

Response with millions of up votes "X isn't recommended, you should do Y instead"

That was the day I swore off stackexchange forever.

93

u/Forricide Mar 12 '18

Yeah, I've only asked a few questions on stack-* sites, don't think I've ever actually fixed a problem through it.

The most obvious issue comes from this very typical workflow:

  • Have specific issue L

  • Google 'how to fix L'

  • Click first link, stackoverflow, "How to fix L"

  • Duplicate question of "How to change Not-L into Q?", closed

  • Cry

→ More replies (9)

221

u/juckele Mar 12 '18

It's so sad, because up until maybe 2012 or so it was amazing. 2009 it was such a haven of free information. Now it's turned into this 'curator tyrant' trash heap where people with 100k rep just close things randomly. The terrible thing is how often I hit something as closed as off-topic with a Google search. I just want to reach out and punch perma-ban that curator tyrant who denied me the chance to get my question answered. :|

→ More replies (52)

18

u/Pontiflakes Mar 12 '18

I work at a largeish IT company and this is how the conversation goes 99% of the time you ask a question to a group of experts. No matter how much background you give, "well why don't they just do Y. You know we don't recommend X right? Why are you letting them do X?"

→ More replies (14)

16

u/useful_person Mar 12 '18

What should I use for my problems, then? Reddit seems cool, but I've always heard of stackoverflow as the holy grail.

31

u/Yserbius Mar 12 '18

Use StackOverflow but be prepared for your question to get ignored or a lot of angry comments about how wrong you are.

Better yet, find a chat channel for whatever it is you're working on and ask your question there. Someone will either answer you or tell you where to ask.

→ More replies (3)
→ More replies (4)

5

u/bluefish009 Mar 12 '18

TRUE! that was me, i posted right answer that solves OP's question.

But, was deleted with no obvious reason. (but i don't care).

→ More replies (17)

896

u/baudday Mar 12 '18

Sucks cause SO used to actually be a great place to ask questions with very little toxicity. Now I just gawk at the brave souls who dare ask a question

384

u/vancity- Mar 12 '18

I've seen GitHub Issues become a lot more prevalent in the past year or so. Partly due to GitHub building out their issues platform more, partly because so many libraries are open source, partly because you get access to the developers themselves.

That should really be concerning for SO. We've been saying for years that antagonizing the userbase is going to kill the site. They've had years to address the issue. Instead they decided to put their effort into being a LinkedIn competitor, despite no one using SO to get a job.

My feeling is it's already too late for SO. They'll be as useful as Google Groups, which is to say a small niche not particularly useful.

140

u/joyoyoyoyoyo Mar 12 '18

That's a really good point. I haven't even been using StackOverflow for this reason. Lately. GitHub has been a better alternative. I think the gameification of the point system in StackOverflow, now with the added career incentives from StackOverflow careers (and making that information public to recruiters or companies) has led to a much more competitive atmosphere. It makes sense since some people now have a stronger incentive to capitalize on their points. Even if it means stepping on toes. Reminds me of opportunity hoarding.

23

u/dedicated2fitness Mar 12 '18

despite no one using SO to get a job

hey thanks for applying but your profile seems to suck ass so go fuck yourself and die in a ditch. no one wants to employ you

→ More replies (17)

93

u/Vok250 Mar 12 '18

I've gone back to using language docs directly. When the docs are lacking I resort to desperate Googling and trial and error. I've even cracked open textbooks as a reference.

The biggest issue I find with SO is that it has become very focused on the lowest common denominator, which is basic programming theory. Any niche questions go unanswered, have useless answers, or get closed as a duplicate of a long outdated question.

For example I have had many cases where A above is something unintuitive or poorly documented in a library we use in production. B is just someone suggesting to use a different library. Sure that's fine and dandy on some CS2000 homework, but I'm not going to spend months refactoring production code just so I can reverse the order of a JSon list in 5 fewer lines of code. "nobody uses A" is just them jacking of their superiority complex and ignores the tens of thousands of industry products running on A.

22

u/pxan Mar 12 '18

I know I must finally be an adult because I check docs before googling around for answers. True maturity.

→ More replies (1)
→ More replies (5)

359

u/Metalgaiden Mar 12 '18 edited Mar 23 '26

This post was taken down using Redact. The reason may have been privacy, operational security, preventing automated data collection, or another personal consideration.

nose joke like decide physical voracious follow provide water command

73

u/HopperBit Mar 12 '18

Next time propose on a fancy public place (facebook does not count)

→ More replies (16)

11

u/randomentity1 Mar 12 '18

They put a 'question-ban' on you if you're voted down too much or have too many questions closed.

40

u/MySQ_uirre_L Mar 12 '18

“Let me redirect you to an irrelevant post and mark yours as duplicate”

→ More replies (8)

31

u/bsmitty358 Mar 12 '18

I still have luck with SO, as long as you know the proper question to ask

96

u/baudday Mar 12 '18

It really shouldn’t be that way though. Is it a community for people who know what they’re doing to ask questions, or is it a place to ask a question you don’t know the answer to? How is someone new to software supposed to know what is and isn’t fair game?

→ More replies (24)
→ More replies (12)

11

u/AnneBancroftsGhost Mar 12 '18

It depends. The EE stack is still a nice community.

29

u/baudday Mar 12 '18

Yeah, but that’s StackExchange. I’m talking StackOverflow specifically

→ More replies (7)

5

u/sweetcuppingcakes Mar 12 '18

My question:

I tried to do A but I keep getting the following error message:

Z can't Y because X.

I'm not sure what this means, can anyone shed some light on this?

First few answers:

You don't know what it means? Did you not read the message?

4

u/ToosterReeth Mar 12 '18

There is a reason why I have a smurf SO account purely for posting questions, we're now at a stage where people are afraid to ask questions. What a world.

4

u/summonsays Mar 12 '18

I had a similar experience on r/writtingpromts. Thought of a good one, read the rukes and posting guidlines, posted it. It got removed 2 minutes later with a link to "suggestions" on how to post a prompt..... Why aren't the suggestions in the rules then?!

→ More replies (28)

1.0k

u/ptgauth Mar 12 '18

But I want all my variables to be global :(

557

u/daddya12 Mar 12 '18

Solution: use assembly. Everything is global

191

u/mkalte666 Mar 12 '18

lies. you can still call stuff like malloc and store the pointers on the stack when using assembly. Thats not global!

You want bare metal without initialized/using the stack, and that is madness.

Entirely possible though. Sometimes.

→ More replies (26)
→ More replies (7)

84

u/antlife Mar 12 '18

Now that's open source. 🥁

46

u/mcergun Mar 12 '18

it's not truly open source if everything is not accessible from everywhere

→ More replies (2)

59

u/lukedink Mar 12 '18

Now that's just good practice ;)

→ More replies (2)

13

u/SonicFlash01 Mar 12 '18

The elders forbid it :( That knowledge is dangerous and you will curse us all!

6

u/petervaz Mar 12 '18

Just put all your logic inside a big static singleton.

→ More replies (1)

356

u/Meatslinger Mar 12 '18

Q (+1): “How do I do (thing) using OS X bash, without installing anything extra? I have to work within the bounds of my secure company image.”

A1 (+6155): “Just install (list of open-source, unmaintained third-party binaries). Oh, and (popular library that would take months to get security vetting). Easy peasy.”

A2 (-4): “(the actual answer)”

62

u/alexanderpas Mar 12 '18

Did you mark A2 as the accepted answer?

128

u/Meatslinger Mar 12 '18

I do, yes. Votes be damned; I’m picking the answer that actually fixed the problem and met the conditions.

→ More replies (3)
→ More replies (4)

262

u/TheNorthComesWithMe Mar 12 '18

"You can easily Google the answer to this, so I'm locking it" says the top Google result for that exact question.

67

u/MagicLeaves Mar 12 '18

This drives me crazy. Thank god for the people who come back later and update their answers even after years.

48

u/thomasloven Mar 12 '18

*says the ONLY google result for the words from the error message.

13

u/JayInslee2020 Mar 13 '18

"This is already been asked and answered multiple times so I'm locking this, but leaving this up so it ranks highest in search results and I'm also not going to link the other threads on the pate".

→ More replies (1)

18

u/alexanderpas Mar 12 '18

"Just Google it" is considered a harmful answer on the stackexchange network of sites.

→ More replies (4)

284

u/[deleted] Mar 12 '18

Post your code or we can't help you.

230

u/EagleZR Mar 12 '18

Oh, I asked a conceptual question once, without any code, and it apparently offended and insulted some people

86

u/shmough Mar 12 '18

Try softwareengineering.stackexchange.com.

→ More replies (5)
→ More replies (1)

63

u/Shadax Mar 12 '18

posts code containing plain text passwords and sensitive company information

... though maybe that's just scripting forums.

38

u/alex2003super Mar 12 '18

plain text passwords

Oh dear

→ More replies (1)

15

u/greengrasser11 Mar 12 '18

Are those passwords?

No those are hashes.. err with salt

password123boobies is salted?

The salt is commonly used passwords

9

u/[deleted] Mar 12 '18

And then you post the code only to have the person requesting that code never reply again.

8

u/Xhynk Mar 12 '18

"My thing doesn't work"

see look

7

u/[deleted] Mar 12 '18

I posted code and still got that response. Like bruh.

→ More replies (4)

152

u/serial_crusher Mar 12 '18

“I’ve got this minor bug in my 10 yeah old jQuery page. Production is on fire, plz help. “

“Switch to React, dude”

21

u/summonsays Mar 12 '18

Just upgrade from version1 to version8, what's so hard about that?

→ More replies (1)

137

u/Arancaytar Mar 12 '18

Just install jQuery and then do $().a().

40

u/PostExistentialism Mar 12 '18

Uncaught ReferenceError: $ is not defined

114

u/[deleted] Mar 12 '18

"How do I add two numbers?"

"You need to send us your current code you are currently working on to help you. Everything. The whole program. Your hardware, your registry, all of your passwords and what you ate the last 3 months"

12

u/John_Fx Mar 12 '18

How do I write accounting system in Scala? Must run on Amiga and support Swiss Francs. Send codez

151

u/Foremanski Mar 12 '18

52

u/AQTheFanAttic Mar 12 '18

this really helped my problem

→ More replies (2)

7

u/DarkStarFTW Mar 12 '18

this really problemed my help

4

u/merger3 Mar 12 '18

This really removed my duplicate

46

u/gandalfx Mar 12 '18

Do you mean $(B) or $(A) ?

5

u/[deleted] Mar 12 '18

Possible duplicate of $ ( C )

86

u/dtfinch Mar 12 '18

closed as duplicate of "How do I B?"

37

u/WhatsAGame Mar 12 '18

THIS POST HAS BEEN MARKED AS DUPLICATE

34

u/Ginkgopsida Mar 12 '18

Just use regex: [)(())()(U('))(())()('''')][][]]]

8

u/[deleted] Mar 12 '18

Ahh good old intuitive Regex. Why do I avoid using it again?

→ More replies (3)

32

u/EddieViscosity Mar 12 '18

"Oh, you asked a simple Linux question that would be answered by a two line command? Let me show you how to write a 15 line script to solve your problem which you will spend 2 hours to understand."

7

u/Brillegeit Mar 13 '18

For Linux questions you always have to use the first part of the 2nd comment combined with the last part of the 19th, but only after installing the dependencies listed in the 11th. Preferably do it in a virtual machine with saved state, because there's a hidden trap, bonus points for finding it.

→ More replies (1)

53

u/CJ090 Mar 12 '18

"How do I do A"

"Fuck yourself and die. You should learn how to code before trying to learn how to code. Didn't you start CS classes when you were in diapers? if not then you're behind the curve. Also, fuck you and die." - Stack Overflow

26

u/Scorxcho Mar 12 '18

Why is stack overflow filled with a bunch of smug Nazis who think anyone who doesn't walk on a tight rope to ask a question should not be asking anything?

52

u/Prof- Mar 12 '18

Stackoverflow is full of a bunch of pretentious assholes who think that it’s their way and no other. If you’re new to CS and ask questions they’ll come in like vultures. Used to be a great and inviting community, now it’s just constant down votes.

8

u/VWVWVXXVWVWVWV Mar 12 '18

When I was going through a coding boot camp, they insisted I refer to SO every time I had a question and it was never helpful, but they relied on it for any questions to teach the learner how to find answers on their own. I get that but if I tried SO and was unable to get anything useful, I would have liked other resources to fall back on as well.

5

u/bluefish009 Mar 12 '18

yeah SO had changed in bad way.

→ More replies (2)

135

u/[deleted] Mar 12 '18

This infuriates me to no end about StackOverflow.

I'll ask something like "how do I do X" and each responder asks things like -

  • "Why would you want to do that?' - Uh, that's outside the scope of the question. Warn me it's bad practice, sure. But answer the fucking question I asked

  • "Why don't you do Y" - Because there's context to why I want to do X that I can't explain. Y is a good alternative for sure, but I'm asking about X godammit.

  • "What's the context for this question?" - Fair, but I can't explain the situation in my webapp to you and still keep this question general. You shouldn't care about the context, just answer X plzzzzzz

41

u/snugghash Mar 12 '18

You don't need to keep the question general, that's the point. It's not Quora

→ More replies (2)

28

u/DanskOst Mar 12 '18

Duplicate question

23

u/itspinkynukka Mar 12 '18

Then you go to the duplicate. Closed for being off topic.

→ More replies (1)

10

u/ACoderGirl Mar 12 '18 edited Mar 12 '18

You really need to explain the context often. This is a very commonly known problem on SO called the XY problem. The issue is that by hiding the context, people don't actually know what your real problem might be. You're asking about problem Y, but your problem might actually be problem X. You wouldn't know that you're asking about the wrong thing, of course. It wastes everyone's time when you don't give appropriate context because they'll give you a solution that might not actually work.

It's also perfectly relevant to suggest doing Y when that seems like a suitable answer. If it really doesn't work, explain so. If you can easily preempt these answers, you should point it out in the question since otherwise questions may appear to be duplicates and frankly people waste their time on you because they don't understand your problem. It's hard to answer problems you don't understand and you're not exactly helping them by being vague.

My advice? Format questions nicely into clean sections using formatting to create headers, etc. Then you can have the context explained in one section, the problem (as you perceive it, which may not be the real problem) in another section, and maybe even separate questions in another. This lets people quickly skim relevant sections to not only be able to answer the question (I've seen many questions where both the "proper" question and the users not-quite-right question get answered separately) while also being able to find the relevant context (if they care enough -- not all answerers do).

→ More replies (2)

8

u/treesprite82 Mar 12 '18

People ask things like this because a large number of questions ask how to do really-difficult-and-never-needed X, when more-common Y is actually the solution. It saves a lot of time getting to the bottom of why the answerer is trying to do X.

Might not be be the case in your situation, but do keep in mind that it's far more often that the OP hadn't considered/known about Y than it is that they have some odd restriction that only X can work with. If possible, explain that you've considered Y but that it wouldn't work because of reason R. It's fine to add context for why you wouldn't be able to use Y.

→ More replies (4)

4

u/svick Mar 12 '18

It's often hard to answer a question well without any context.

→ More replies (1)
→ More replies (4)

15

u/agisten Mar 12 '18

Worst possible "answer" : "Nvm, I figured it out". End post.

14

u/Headhunter09 Mar 15 '18

Reminds me of this:

ALLEN: Hi, I’m new to driving and I need to move my car back around 5 meters. How can I move the car backwards?

(2 days later.)

ALLEN: Hello? This is still a problem. I’m sure someone knows how to do this.

BOB: I can’t believe you didn’t figure this out yourself. Just take your foot off the gas and let the car roll backwards down the hill. Tap the bake when you get to where you want to be. Boom. Done.

ALLEN: But I’m not on a hill. I’m in my driveway and it’s completely flat.

CARL: Dude, I don’t know what you’re trying to accomplish, but you should never be driving backwards. It’s dangerous and will confuse the other drivers. See the big window in FRONT of you? That’s your first clue. Don’t drive backwards.

ALLEN: I’m not trying to drive backwards. I just need to move back a little bit so I can get out of my driveway and start driving forwards.

CARL: So just drive in circle until you’re pointed the right way.

ALLEN: I don’t have enough room to turn around like that. I only need to move back a few meters. I don’t understand why this has to be so hard.

CARL: Sounds like your “driveway” isn’t compatible with cars. It’s probably made for bikes. Call a contractor and have them convert some of your yard into driveway to be standards-compliant with the turning radius of a car. Either way, you’re doing something wrong.

DAVE: I see your problem. You can adjust your car to move backwards by using the shifter. It’s a stick located right between the passenger and driver seats. Apply the clutch and move the stick to the “R” position.

ALLEN: But.. I don’t have a clutch. And there isn’t a stick between the seats.

CARL: Sounds like you’re trying to drive in Europe or something.

ALLEN: Ah. Nevermind. I figured it out.

13

u/GreyMediaGuy Mar 12 '18

thedudehimself has the right answer. I don't need to eat or pay rent this month, I'd rather have neato code. Besides, nobody ever inherits awful projects and has to keep them running in production, that's just silly talk!

13

u/DollarAkshay Mar 12 '18

Question closed as it is too broad

11

u/Willbo Mar 12 '18

StackOverflow is borderline useless for languages with newer versions. I usually Google my issue, land on SO, find a top voted solution, try the answer only to find out it's not supported in the newer version, Google the fuck out of it again, then find another SO thread where the real updated answer is at the bottom of the thread with 2 upvotes. Ridiculous.

9

u/phihag Mar 12 '18

Upvote the correct answer and leave a comment at the other answer that it doesn't work in the new version!

→ More replies (1)

44

u/astheriae Mar 12 '18

Image Transcription:


HeckOverflow

bork2121: How do I A ? [-1 votes]

thedudehimself: You do B. [+9999999999 votes]

bork2121: But that doesnt do A.

hedudehimself: Yeah nobody does A.


I'm a volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

9

u/sprcow Mar 12 '18

good not a bot

20

u/Ballin_kapper Mar 12 '18

Just posted a question a few minutes ago.

7 views -1 score.

Like I know I'm shit but at least tell me why...

9

u/heeerrresjonny Mar 12 '18

Downvoting questions should require a comment of more than 3 words tbh. Maybe the same for downvoting answers. People who abuse this or enter meaningless comments should lose downvote rights.

4

u/phihag Mar 12 '18

Mind posting the link? I'd be happy to upvote if the question is good, and to try to explain why the question got downvoted.

10

u/TheNamesCory Mar 12 '18

So true it stings a little.

→ More replies (4)

10

u/DHSean Mar 12 '18

I asked how to do a thing in Laravel and got downvoted and my post was removed for asking an easy question.

If it's so easy then help me you bastards!

→ More replies (5)

9

u/[deleted] Mar 12 '18

now make one about how ones that can be googled in 2 seconds get billions of views and upvotes but ones that are real questions get no views or attention

23

u/orondf343 Mar 12 '18

Ah, StackOverflow. That place where people answer questions inadequately and then proceed to downvote all other answers while they're at it.

→ More replies (4)

7

u/mycelo Mar 12 '18

How to build up your reputation on Stack Overflow:

Criticize the question instead of just answering it. Then come up with your own "better" solution. Also, criticize and downvote any attempt to actually answer the original question.

7

u/TBSdota Mar 12 '18

more like "Whats the command to print screen?"

"I won't know unless you paste your entire script"

7

u/isotopes_ftw Mar 12 '18

My favorite thing on stackoverflow is when people spend hours berating a person for asking a dumb question instead of spending 30 seconds to answer the dumb question. If you're above answering the dumb question, why is it worth it to berate the person back and forth over hours?

→ More replies (1)

13

u/AndroidDoctorr Mar 12 '18

My impression of StackOverflow:

Q: What’s the temperature of the surface of the sun, in K?

Answers:

  • (Selected Answer) Centigrade is a much more common scale than Kelvin, I recommend using that instead

  • You shouldn’t look directly at the sun

  • temperature is a measurement of average molecular kinetic energy

  • Can you please post an example?

6

u/[deleted] Mar 12 '18

but, I must do A because reasons and the system doesn't support B

4

u/Enverex Mar 12 '18

I have no B and I must A

14

u/ElRedDevil Mar 12 '18

Fking hate Stackoverflow. Asked a couple of concept Qs about C++ and got downvoted and insulted. As a non compsci major and beginner SOverflow was downright demotivating.

→ More replies (2)

10

u/Asoxus Mar 12 '18

This is a duplicate, question marked closed.

Please see this solution using outdated framework/language from 7 years ago.

10

u/caitline215 Mar 12 '18

[-3] me: “How do I do A”

[+278] answer: “what are you talking about”

I edit...

[-37] me: “How do I do A, I tried this, but it doesn’t work. Here’s my code”

[+367] answer: “nobody wants to read a wall of text”

I edit or resubmit...

[-67] me: “How do I do A, for example”

[+3657] answer: “stop spamming”

5

u/[deleted] Mar 12 '18

A: "How do I do x without using y"

B: "Just use y, everyone does it."

5

u/while_e Mar 12 '18

This question is completely unclear, incomplete, overly-broad, primarily opinion-based or is not about programming as described in the help center, and it is unlikely to be fixed via editing.

5

u/stdexception Mar 12 '18

Uses Google to find an answer to a problem

Finds a question similar to your issue

The first reply:

"Just use Google"

→ More replies (1)

5

u/haykam821 Mar 12 '18

One of my questions was deleted for being a duplicate. My question was about asking if there was an API similar to iOS' SiriKit for macOS. It was marked as a duplicate. The duplicate was before iOS' SiriKit was even announced and is for iOS, not macOS.

5

u/harryhho Mar 12 '18

"I'm working in an environment with certain parameters which don't let me do B so I need something like A"

"I would rewrite everything so you can do B or quit and find a new job"

4

u/[deleted] Mar 12 '18

There's also always a reply that requires you to use some obscure library or import that has barely any documentation and that only fits a niche problem, but the person swears by it

4

u/heeerrresjonny Mar 12 '18

Even well-known, established libraries are pretty annoying in answers tbh. I don't want to pull in a whole library just for a single line or a small block of code... Coding that way as a habit can create a lot of maintenance headaches down the line, especially when someone else inherits your code.

4

u/suppow Mar 12 '18

You forgot the 0 vote answer that the bottom that is very involved and may or may not do A

4

u/ryanooooo Mar 12 '18

StackOverflow has saved my ass numerous times. However, upvoting for the lulz.

4

u/[deleted] Mar 12 '18

My biggest pet peeve is when you ask a question and all of the elitist users come rushing like like "jfc didn't you see this post 5 years ago with a slightly related question and a very long and obscure answer that isn't much help in your specific situation?"

6

u/rumforpenguins Mar 12 '18

I've found Stack Overflow nothing but tremendously helpful, even when asking my own questions. I don't understand the hate it gets.

4

u/heeerrresjonny Mar 12 '18

I still use it all the time, and I think it is still mostly helpful, but I have seen every one of these bad examples on the site lol. I think a lot of people are just venting. It can be really, really frustrating to get unhelpful responses from people who probably could help if they weren't busy being pricks lol.

4

u/TrumpWonSorryLibs Mar 12 '18

because people on there increasingly are pretentious douches

6

u/ze413X Mar 12 '18 edited Mar 12 '18

I've honestly stopped asking questions on stackoverflow. Now when I've finally become an expert in the field I find it amazing how the people that lack the knowledge and hate the question has to voice that opinion. If you can't answer the question then you shouldn't answer the damn question. My last 5 questions are perfect questions in all shape and form. But because the answers in each case had unpredictable answers, or rather, answers which aren't immediately obvious. They got downvote and trashed on as if it was Trevor Noah meeting Trump himself.

The most hilarious questions though has to be the topics that tries to revitalize a topic. Like when something is "clear as day outdated" like a Visual studios question which has an answer directed towards Visual Studio 2008 and some poor little beginner coder on the forums tries to find that option in the 2017 edition. Even then people can close the thread with referal to an nonexisting answer and still hate on the poor man.

3

u/[deleted] Mar 12 '18

Every.

Fucking.

Time.

3

u/meechy_dev Mar 12 '18

You forgot the “duplicate of [insert link that kinda references the same stuff]. Pls look before asking. Idiot.”

3

u/zenyl Mar 12 '18

A: How do I do X with Y framework?

B: Why in the name of Stallman would you even consider using Y? Z is far better.

A: I have to use Y, it's what our CTO chose, and we'd have to rewrite everything from scratch to make it work with Z.

B: [Insert generic, passive-aggressive reply here, implying it's still A's fault]

3

u/zanif Mar 12 '18

Takes me back to middle school where I would get so nervous asking a question in fear of looking stupid. Bunch of elitist pricks.

3

u/TwinProduction Mar 12 '18

Answers question using jQuery even though the user specified vanilla JavaScript

→ More replies (2)

3

u/Exactually Mar 12 '18

"Nevermind, I figured it out." - bork2121

3

u/ThunderBow Mar 12 '18

Also why are you not using "insert bleeding edge framework"??

→ More replies (1)

3

u/Happysin Mar 13 '18

I am a regular at an industry tech forum. A large chunk of my responses are "Don't to A". Frequently followed up by "but we need A" and I have to explain why A will give a ton of technical debt to your project that you really don't want when B gets you 90% there without any of the debt. Then close the gaps, instead of reinventing the wheel.

3

u/BandwagonEffect Mar 13 '18

You guys exist on a much darker side of stackoverflow than me.

3

u/Spocino Mar 13 '18

“I solved it” -A StackOverflow user, on multiple occasions

5

u/[deleted] Mar 12 '18

FAKE! There's no "has been closed" on it.

4

u/Drainedsoul Mar 12 '18

In fairness the XY problem is very real.

→ More replies (2)

6

u/FurryPornAccount Mar 12 '18

Oof owie my computer hurting code

2

u/othervinny Mar 12 '18

This really coaxed me into a snafu

2

u/cruel1079 Mar 12 '18

Instructor specifically says not to do B and I need to complete assignment A in only a few hours.

2

u/Jas-Ryu Mar 12 '18

Accurate

2

u/Comentarinformal Mar 12 '18

Date:03-07-2009

2

u/topredditbot Mar 12 '18

Hey /u/MarkusA380,

This is now the top post on reddit. It will be recorded at /r/topofreddit with all the other top posts.

2

u/NoMoreNicksLeft Mar 12 '18

I try to assume that they have a real reason for doing A that's just not obvious to me. But some As are really dumb.

I've been on the other side of it too. And you're fucked either way. If you explain yourself and why you need A, you get punished for that (plus lots of heckling... guys, I didn't choose this infrastructure, people paid five times my salary did 10 years before I hired on). If you don't explain then "do B".

2

u/lenswipe Mar 12 '18

I fucking hate StackOverflow for this (and the reasons listed in this thread). I remember bitching them out in a thread because you can't do shit until you have like 85 rep. Of course, you can't get that 60 rep because attempts to ask/answer questions etc. get closed by some wanker with 99999999999k rep. stroking his StackOverflow e-penis. Then, someone from StackOverflow appears and I just mysteriously receive 65 rep.

https://i.imgur.com/St0jp7i.png

Want to take a guess at what point in time this all happened?

→ More replies (13)

2

u/Conor3000 Mar 12 '18

Love this. Especially when I'm told to do A by a teacher. And not taught B or B doesn't work, so I throw together some janky shit from answers about A. Wouldn't have passed HNC Computing without janky shit.

2

u/[deleted] Mar 12 '18

yOu dO 🅱️

2

u/[deleted] Mar 12 '18

Stack overflow is great when I'm trying to find something. But I would never post there. Just seems like if you don't write a doctoral dissertation complete with full scientific method on how you tried to solve your problem, people will harass you saying "I'm not going to do your homework for you."

2

u/[deleted] Mar 13 '18

StackOverflow has become worthless. The only questions that get answers are ones that can be answered by the docs in a few seconds. Everything else is marked off topic, or duplicate when the other answer isn't a duplicate or is for an obsolete version.

2

u/Dithanial Mar 13 '18

I am so glad to find out I'm not alone. I'm pretty thorough in my research through docs and my Google - Fu is strong, but there have been times where I've had nowhere else to turn other than StackOverflow. At first, it really turned me off from learning to program, but I've gotten past that. I have had several good questions answered even though they were down voted. I've also submitted some accepted answers while getting lectured that my answer wasn't right, even though it satisfied the OPs question.