News for hackers. Stuff that matters.
Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @01:08AM (#36858167)
The thing is that oftentimes people who want to do 'X by Y' are actually asking how to accomplish Q. They think 'X by Y' is the solution and get hit by a roadblock, not knowing that it will not help them and they are wasting time.

This is called the XY problem and is extremely common on tech related forums and mailing lists.

* https://xyproblem.info/

Re:The Fall of Stack Overflow by floren on Tuesday July 25, 2023 @01:22AM (#36858277)
You know what's at least as common on SO? "I don't understand the thing you're asking, so I'll pretend it's the XY problem and tell you about something I do understand"
Re:The Fall of Stack Overflow by ideamotor on Tuesday July 25, 2023 @01:32AM (#36858339)
I’m not convinced anyone interacting on SO can diagnose something like this. The act of breaking down a problem to a tiny part so you can post it kinda guarantees this scenario.

But I think it will always be up to the user of SO (not the poster or answerers) to make the real judgement on what is useful.

Often I think SO is useful to use as a bunch of puzzles folks solved. You gotta decide if they are relevant.

Re:The Fall of Stack Overflow by SOLAR_FIELDS on Tuesday July 25, 2023 @03:14AM (#36859012)
Just some random musings about Stackoverflow:

SO is at its best when it’s actual error debugging IMO. When you google some specific error whoever else has the similar error it’s right there. I feel like GitHub is replacing this more and more though - I often get the GitHub ranked specific error higher than Stackoverflow these days. Usually you get better discussions on the GitHub issues too, for a multitude of reasons. Two off the top of my head:

1. all of the people working on the stuff related to the issue are very close by

2. the moderation is not nearly as heavy handed as SO.

ChatGPT is also much better than SO as well if you can give it enough context and the thing you are working on wasn’t built on stuff released after 2021

I also really like Stackoverflow for current event type stuff, like black swan type events. One recent example is when google’s Paris data center was on fire and infra guys were helping each other out trying to get systems online.

All of this combined means that StackOverflow the forum is probably on its way out though. They made the mistake of taking VC money and the model hasn’t really proven profitable so they have really made some poor decisions to please the vc overlords.

I won’t miss Stackoverflow much other than nostalgia unfortunately - better alternatives have arrived. Seeing the decline of all of the other Stackexchange sites kind of sucks though. There aren’t better alternatives for many of those

Re:The Fall of Stack Overflow by yarekt on Tuesday July 25, 2023 @04:07AM (#36859389)
Just out of curiosity, what are the alternatives? I still find the moderation approach well made, even if it looks heavy handed. It’s important to create information for the future, not just for now
Re:The Fall of Stack Overflow by pasc1878 on Tuesday July 25, 2023 @05:00AM (#36859765)
ChatGPT is not in anyway better than SO - no see the current moderation strike.

Both sides can identify ChatGPT answers as being wrong. The question is how can they be deleted. The moderators say they can delete a lot by manual inspection. SO say that AI tools were deleting wrong ones.

Re:The Fall of Stack Overflow by ElFitz on Tuesday July 25, 2023 @07:19AM (#36860662)
In my experience it’s usually often enough been right enough, and has the added benefit of adapting it’s answer to my issue.

Which is more than Google, or a previously answered StackOverflow question, can say.

But then, it’ll probably greatly vary depending on the problem you are facing.

Re:The Fall of Stack Overflow by fireflash38 on Tuesday July 25, 2023 @07:59AM (#36861011)
My biggest problem with github issues is similar to the problems with SO:

Bots closing issues because someone doesn't spam the page. Closing as duplicate of (non related bug). A slew of random solutions that are only tangentially related and don't really solve the problem.

Re:The Fall of Stack Overflow by casey2 on Tuesday July 25, 2023 @01:41AM (#36858407)
Everybody is aware and have read esr etc. The point is that people who are asking X by Y want to learn Y, with accomplishing X as a side goal at best. It's funny that you call wanting to learn Y a waste of time. Is it because you believe Z is a superior way of doing X? Why do you believe that? Experience, science or mathematical proof?
Re:The Fall of Stack Overflow by axblount on Tuesday July 25, 2023 @01:21AM (#36858257)
The issue is that sometimes poeple just want 'X by Y'. To get a question answered, you shouldn't have to list every constraint and design descision that led you to that point.

Comes up all the time when people ask how to do things in bash/sh. I know there are better tools for the job, but this is the one I have.

Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @01:49AM (#36858444)
Since I apparently did a terrible job explaining it (the link does a much better one) -- it is when someone has a problem that they are trying to solve in a way which will not solve their problem adequately or at all -- it is not when they are using the perceived wrong tool for the job.
Re:The Fall of Stack Overflow by lelanthran on Tuesday July 25, 2023 @02:39AM (#36858778)
And what all the replies are telling you is that the most XY problems are misdiagnosis.

Explaining what the XY problem is to people who are telling you about it's high false positive identification is, itself, an XY misdiagnosis.

Your reply is an example of what people are complaining about - you are addressing the issue you wished was asked, not addressing the issue you were presented with.

Re:The Fall of Stack Overflow by xyproto on Tuesday July 25, 2023 @03:46AM (#36859242)
Sometimes people ask questions like "how do I shoot myself in the foot and still have a working foot", though. Questions are not always reasonable. A question is not always "pure" either, but can embed incorrect assumptions.
Re:The Fall of Stack Overflow by lelanthran on Tuesday July 25, 2023 @04:17AM (#36859459)
> Sometimes people ask questions like "how do I shoot myself in the foot and still have a working foot", though. Questions are not always reasonable. A question is not always "pure" either, but can embed incorrect assumption

But those are correctly diagnosed XY problems. No one is complaining about those.

My parent was told the issue is too many incorrectly identified XY problems, and responded with an explanation of what the XY problem is.

That is the example of a misdiagnosed XY problem, which was kinda my point. This sort of behaviour makes the actual experts leave the site in droves.

If, when answering a question, one where to discard the answer the minute they write "Why would you want to do this?", you'd get much fewer incorrectly diagnosed XY problems.

As I said in a different thread, ChatGPT sometimes does this as well, but at least with ChatGPT, when it is answering a question that was never asked, it doesn't also act like a condescending jackass. There are no "Why would you want to do this?" type of questions.

Re:The Fall of Stack Overflow by IIsi50MHz on Monday July 31, 2023 @02:40PM (#36947009)
Asking why does not have to be condescending. I agree that some responses can read that way, or seem in some other way hostile. In text, or with any reasonable spoken tone, I would not assume that a person asking me why is condescending.

But on second consideration, I suppose you would not, either, and I suppose you are specific'ly talking about responses which, each taken as a whole, are easily interpreted as some form of hostile.

Re:The Fall of Stack Overflow by yarekt on Tuesday July 25, 2023 @04:11AM (#36859408)
I do see both of your points of view. There are some good answers on SO that capture both. They first explain why it’s infeasible, talk about a better approach, then lastly give pointers on how to achieve what is asked regardless using their best reasoning. Think it just depends on the quality
Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @05:38AM (#36859984)
> And what all the replies are telling you is that the most XY problems are misdiagnosis.

I responded to the person above me when there were literally two other comments in this thread.

> Your reply is an example of what people are complaining about

Defining something is not an example of an XY problem.

> - you are addressing the issue you wished was asked, not addressing the issue you were presented with.

As I am not much of a programmer but work on electronics and computer hardware I deal with different types of people than would be on SO, so I am not addressing anything but my own experiences.

Re:The Fall of Stack Overflow by techdragon on Tuesday July 25, 2023 @02:01AM (#36858524)
Oh god that just reminded me how often people ignore the question asking for posix shell or “/bin/sh” or other specific shell scripting language… and processed to answer the question using bash, zsh, Perl, python, or even the slightly less wrong (because it is kinda weird to be shell scripting without a moderately normal unix environment) of using a bunch of Unix binary programs to do the requested job without actually solving the core problem of the question, because the tools made it easier…

And then to ice the cake you find the question because your question has been marked as a duplicate of the older question where they answered using unix binary tools… and you specifically asked about doing something in “pure shell script” or something similar to that phrase.

Stack overflow is fundamentally a system design that breaks down at scale due to misalignment of incentives that are necessary for it to work well at smaller scales (as can be seen in the successful operation of various smaller Stack Exchange sites for various topics such as Law, Aviation, Physics, etc)

Re:The Fall of Stack Overflow by pasc1878 on Tuesday July 25, 2023 @05:07AM (#36859802)
The bash not sh issue is due to ignorance on the part of the answerers not an XY problem. Also shell can"t do everything - you are in a POSIX environment so use POSIX tools. The Unix environment is an environment of putting together many small tools and not just using one so any shell script can call POSIX tools as a minimum. So just making a complex shell script rather than using the tools does need to explain why.

I must admit that I don"t buy in to that philosophy and like using one tool so for scripting I would do all in python, so I would not be asking that question.

Many Linux users think that their way is the only and thay means bash as the shell and many others like GNU coreutils, gcc etc.

Re:The Fall of Stack Overflow by pwdisswordfishc on Tuesday July 25, 2023 @03:08AM (#36858967)
> I know there are better tools for the job, but this is the one I have.

You may know, but someone else asking the exact same question may not.

So sorry then, but listing every constraint and design descision it is.

Re:The Fall of Stack Overflow by lelanthran on Tuesday July 25, 2023 @06:18AM (#36860272)
> So sorry then, but listing every constraint and design descision it is.

You don't need to do that, a simple "I know what the XY problem is, and this isn't it" prefixed to every question you ask should be enough to stop the race to tell you all about the XY problem.

I mean, at this point it's clear that more people know about the XY problem than people ho don't.

Re:The Fall of Stack Overflow by usrbinbash on Tuesday July 25, 2023 @09:53AM (#36862217)
> you shouldn't have to list every constraint and design descision that led you to that point

True, but that logic goes both ways: Unless told otherwise, whoever reads the question, isn't required to assume that there is a constraint.

If I get asked how to water plants with a sieve, without getting told why getting a watering can is impossible, "You don't, use a watering can", is a perfectly acceptable answer.

Especially when the question is aked in a question archive, rather than a help-forum.

If specific constraints apply to a question, then they should be a part of the question.

Re:The Fall of Stack Overflow by zulban on Tuesday July 25, 2023 @01:31AM (#36858331)
Alternatively, people might have to use X and Y to accomplish Q because of their organization or team. If it's technically doable, there should be a solution and explanation for that X and Y problem somewhere.
Re:The Fall of Stack Overflow by _3u10 on Tuesday July 25, 2023 @01:45AM (#36858430)
Like how to use a database as a queue, which generally works much better than any queuing system I’ve ever used, except ones that use redis as the database engine for the queue.

I’m sure if you’re twitter Kafka is actually a better solution, for everyone else, it isn’t.

Re:The Fall of Stack Overflow by shriek on Tuesday July 25, 2023 @01:20AM (#36858255)
Often the better answer is to just explain what's being asked by strongly encouraging them in the Z direction. Sometimes people just want to understand what's happening behind the scenes rather than just looking to solve for Y.
Re:The Fall of Stack Overflow by berkes on Tuesday July 25, 2023 @02:39AM (#36858779)
But that's a different question. And should be asked different.

"I'm trying to learn foo.js and attemt to do so by porting Tetris to it. I know foo.js is a terrible option for a game. So. How can I write to the canvas from foo.js?"

Is often answered properly, if only because to many it's a nice puzzle.

"How can I write to the canvas fro foo.js?" Is different in that it will attract a lot of people explaining that foo.js deliberately did not allow writing to the canvas, because Z"

Re:The Fall of Stack Overflow by dan-0 on Tuesday July 25, 2023 @09:00AM (#36861558)
This is part of the problem. You know your constraints, other people do not, but like to assume they do. So you end up having to write a defensive argument about your problem rather than just plainly asking your real question.

This may help less experienced engineers not understanding their problem set, but for a more experienced engineer it's absolutely obnoxious to think of all the ways to defend my question so I don't have to deal with a rush of "oh but you should do this instead" answers getting up voted that don't actually answer my question, then asking to accept the answer.

To one set of users it's possibly helpful, to another it's useless if not also condescending, often condescending to both sets.

The bottom line is now, SO is so filled with these types of responses, I can't expect to get a very specific question answered, which is really the only reason I'd ask a question in the first place, so why use it?

There are plenty chat groups now via Slack and discord in my field where I can get much more direct answers. People aren't worried about getting down voted for a bad question, people aren't giving low quality answers to boost their points. So for me, SO is practically dead except for the occasional obscure error message that I can query for there.

Re:The Fall of Stack Overflow by berkes on Thursday July 27, 2023 @09:17AM (#36892980)
> So you end up having to write a defensive argument about your problem rather than just plainly asking your real question.

My experience is that it's not so much a defensive argument, but context. My example was poor in that it could be misread as a defensive argument, sorry about that.

I meant it to show how adding some context changes the question. Because, in programming, it is all about context. AKA that "It Depends" meme.

Re:The Fall of Stack Overflow by cwillu on Tuesday July 25, 2023 @01:18AM (#36858233)
Telling people they're doing the wrong thing is extremely common. People actually wanting the wrong thing is common, but not _extremely_ common, and the mismatch is one of the more rage inducing things on the internet.
Re:The Fall of Stack Overflow by msla on Tuesday July 25, 2023 @01:39AM (#36858386)
That can be infuriating.

Want to host videos on a laptop (which has a big SSD) and stream them to a Pi (which is attached to a big screen) over a LAN? Hey, here's a post about how to host videos on a Pi and stream them to a laptop! Upvote and share! My point is, you don't even have to be trying to do something all that strange for people to apply the XY Problem logic and refuse to help you.

(Solution: NFS mount and a patient understanding that the Pi cannot play certain kinds of video, so you'll need to transcode some of them first. See? Nothing bizarre, but surprisingly outside-the-box given what I could find online at the time.)

Re:The Fall of Stack Overflow by tunesmith on Tuesday July 25, 2023 @02:01AM (#36858518)
Part of this is because problems (X) are complicated and people just as commonly demand the "simplest possible example" (Y) that demonstrates the problem. So people ask how to do Y, and then others ask why on earth they would do that.

One common example I've run into lately, as I've been reading about state machines, is people asking how to implement a simple react component as a state machine, and others objecting to the premise of the question since using a state machine for a simple react component is obviously a bad idea.

Re:The Fall of Stack Overflow by placesalt on Tuesday July 25, 2023 @02:09AM (#36858561)
My assumption whenever I see that behaviour in a response is that the responder simply does not know the answer to the question asked.

It’s fine, I think, to answer a question and then suggest a better method. It’s presumptuous in the extreme to dismiss a question with some pseudoacademic neologism.

Re:The Fall of Stack Overflow by lelanthran on Tuesday July 25, 2023 @02:33AM (#36858729)
The trouble with SO that I've seen is that there are more false positive identification of the XY problem than false negatives.

IOW, any time you think you have spotted an XY problem, you're probably wrong.

And that's the problem with SO moderators and regulars. They classify everything as an XY problem because it allows them to answer the question they know the answer to rather than answer the question that was asked.

Re:The Fall of Stack Overflow by jason-johnson on Tuesday July 25, 2023 @02:59AM (#36858901)
Sure, but the issue is that SO was used largely for people working in companies with arcane rules. I can’t tell you how many times I’ve gotten one of these annoying “don’t do X, do Y” when I already know this. I have to do X for some reason, I don’t know how to do X because I do Y when given a choice and now no one will answer how to do X because someone killed interest in the question by apparently answering it. I use whatever points I get to downvote these answers.

The thing people don’t get is: when you answer on SO you’re not answering that poster. You’re answering anyone who will ever have this question. It’s quite arrogant to assume it will be an XY for every single person forever more.

The proper way to answer is to answer the question exactly as ask and then insert your “but you probably should be doing Y instead” at the end.

Re:The Fall of Stack Overflow by underdeserver on Tuesday July 25, 2023 @04:31AM (#36859536)
Disagree.

Doing things the right way is BETTER.

If you can't, you should add a bit to your question saying "I know the standard way is to do Y, not X, but because of reason Z I can't do it."

Re:The Fall of Stack Overflow by jason-johnson on Tuesday July 25, 2023 @04:36AM (#36859569)
Again, you’re not answering the person who asked but every person who ever will. Some of them will be asking because the “right way” is not an option in their situation.
Re:The Fall of Stack Overflow by pasc1878 on Tuesday July 25, 2023 @04:58AM (#36859750)
Yes but the right way should be the answer unless it is explicitly stated why they can't use this.

Most readers will be able to use the "right way".

Re:The Fall of Stack Overflow by jason-johnson on Tuesday July 25, 2023 @12:01PM (#36864352)
No, the best thing is not assume you know better than anyone who will ever ask this. It’s good to mention what the right way is and why but your answer should always include the answer to the question exactly as asked at a minimum.
Re:The Fall of Stack Overflow by pasc1878 on Tuesday July 25, 2023 @03:28PM (#36868037)
I agree but sometimes the answer exactly as asked leads to wrong things. So sometimes you don"t provide the answer to the exact question but include the reason why the exact question is not good. This gives the option for the questioner to comment why the exact answer is needed.

My experience with less experienced developers is that they ask the exact question as that is where they have stuck but they are ignorant of the better ways.

I do tend to answer differently depending on the questioners reputation. If they have a higher rep then I can assume they know what they are doing.

Re:The Fall of Stack Overflow by ivanbakel on Tuesday July 25, 2023 @04:58AM (#36859755)
And those people can look for questions where the "right way" is justifiably unusable, or pose those questions themselves (and find out if they really have to avoid it.)

Because you're answering every person who ever will ask, a lot of the people who pass through your question & answer will be people who don't know the difference between the right way and the wrong way. If they want to know how to do something the wrong way, because they don't know what the right way is, an answer that simply tells them how is a bad resource.

It's not enough to tag caveats onto such dangerous answers, because people can't read. Instead, newbies should have to overcome a sufficient amount of opposition to filter out those who don't know why they're doing what they want to do, and the rest can make the little effort of being very explicit about why they want to do something the wrong way.

Re:The Fall of Stack Overflow by lelanthran on Tuesday July 25, 2023 @06:14AM (#36860232)
> And those people can look for questions where the "right way" is justifiably unusable, or pose those questions themselves

Can't be done, will be marked as duplicate.

Re:The Fall of Stack Overflow by chimprich on Tuesday July 25, 2023 @07:00AM (#36860537)
Exactly. I've seen precisely this "documentation antipattern" occur many times. "How do I do X with Y"? "You probably want to do Z instead". Upvoted, question answered, all other related questions of "no, really I do want to do Y" get closed as duplicates.

Then Googling for doing X with Y gets you a bunch of closed questions and a labyrinth of links all leading to a question that was answered 10 years ago on a different software version where Z possibly was the right way to do it but now isn't.

And of course there's no way to reopen the question because it has been closed by a level 15 Magister Templi moderator and a lowly level 3 apprentice moderator like yourself needs to either answer 146 more questions or moderate 192 other questions to clear enough arbitrary hurdles to achieve holy question reopening powers.

And there's possibly an appeals process but that involves recruiting 13 moderators who you have to convince to give this question special treatment and declare that one of their number of sacred moderators made a mistake.

Re:The Fall of Stack Overflow by underdeserver on Tuesday July 25, 2023 @09:07AM (#36861629)
This is bad then. They are not duplicate questions.
Re:The Fall of Stack Overflow by paulmd on Tuesday July 25, 2023 @09:42AM (#36862071)
Yes. StackOverflow mods frequently mark questions duplicate that are not. That is something that has been observed by many many people.

Some of it is that SO has gamified shitting on and suppressing the question/asker instead of gamified providing the answer, and built a culture of toxicity that tolerates the abuse of the tools in this fashion.

And when the CEO asked them to tone it down maybe 5 years ago they basically did a collective “am I so out of touch? no, it’s the askers who are wrong”. Extremely funny to read the meta responses to that at the time.

https://stackoverflow.blog/2018/04/26/stack-overflow-isnt-ve...

https://news.ycombinator.com/item?id=16934942

(admittedly "women and people who don't speak english well are particularly unlikely to adopt to the pedantic neckbeard culture we've built" is a spicy take for your average SO'er, or wikipedian, but it's also not actually a wrong one either. SO's culture problems probably do disproportionately chase away users with marginal engagement, nobody likes putting up with formalized neckbeard culture.)

Re:The Fall of Stack Overflow by tivert on Tuesday July 25, 2023 @10:28AM (#36862752)
> Because you're answering every person who ever will ask, a lot of the people who pass through your question & answer will be people who don't know the difference between the right way and the wrong way.

Then you have to do two things in your answer:

1. Correctly answer the question as asked.

2. Add your opinion about the "right way" to do it.

If you only do #2, you are failing "every person who ever will ask."

Re:The Fall of Stack Overflow by ivanbakel on Wednesday July 26, 2023 @09:38AM (#36877493)
Again, I don't think this enough - because it's a well-acknowledged fact that people can't read[0] (as I said in my comment.) How many newbies are going to see a working solution, try it out, and immediately skip all the extra text that they don't think they need?

[0]: https://www.joelonsoftware.com/2000/04/26/designing-for-peop...

Re:The Fall of Stack Overflow by tivert on Wednesday July 26, 2023 @10:18AM (#36878140)
> Again, I don't think this enough - because it's a well-acknowledged fact that people can't read[0] (as I said in my comment.) How many newbies are going to see a working solution, try it out, and immediately skip all the extra text that they don't think they need?

You know that's not your responsibility. If some newbie makes a mistake, that's their responsibility (and a learning experience for them).

And frankly, I think you overestimate how valuable and essential your non-responsive answer is.

> https://www.joelonsoftware.com/2000/04/26/designing-for-peop...

That link is about users. You're misapplying its lesson if you're using it to justify not answering a developer's development question.

Quit coming up with excuses for not answering the question.

Re:The Fall of Stack Overflow by ivanbakel on Wednesday July 26, 2023 @03:40PM (#36883703)
>That link is about users. You're misapplying its lesson if you're using it to justify not answering a developer's development question.

Why do you think "users" is an inaccurate description of the role question askers have on a developer Q&A board?

Put another way - when was the last time you used a development tool, or a library, or some other resource, and sat down to read the full documentation of it? I would posit that that's very rare as an activity, even for developers who need to develop a deep understanding of what they're using.

It's much more common to learn by doing, and the limit of that learning is very often what the developer can't do. Answers which easily enable developers to do something are overwhelmingly likely to lead to developers doing that thing - much in the same way that a long page of library documentation which gives an example is likely to lead to developers repeating that example, even if at the end of the docs, there's a little caveat saying that you shouldn't follow the example for so-and-so reason.

>If some newbie makes a mistake, that's their responsibility (and a learning experience for them).

But is it a good experience? Sure, maybe they'll learn that they always have to read the whole answer before they use any part of it. But we sensibly have abandoned this no-guardrails approach to teaching in almost every arena where it's been used, because it's not really suited to the way people do things in real life - and in real life, people often end up affecting others with their mistakes.

Does junior developer who learns how to glue SQL strings together in their favourite programming language, and makes the "small mistake" of not learning anything about SQL injection in the process, benefit from the learning experience when they cause a data leak? Do their customers? Or should the learning resources they access maybe use the pedagogical tools available to make sure those kinds of mistakes are really hard to make, even if it occasionally inconveniences a seasoned pro?

Re:The Fall of Stack Overflow by tivert on Friday July 28, 2023 @01:21AM (#36903333)
> Why do you think "users" is an inaccurate description of the role question askers have on a developer Q&A board?

The are a lot of different kinds of "users," and I think the kind of thinking in that article is totally inappropriate when applied to developer Q&A board.

To be perfectly blunt: the result if what you're advocating is to condescendingly treat experienced people as newbies so dumb that their question should not be answered, because you think they're so dumb the real answer might distract them from the lecture you want to condescendingly give them.

People like that are super annoying and almost always unhelpful.

Every single fucking question I ask on SO has some lazy condescending dude chiming in to answer the easy question he thinks I should have asked, after he totally failed to understand the constraints that made my question hard. Of course, lazy condescending dude always thinks he knows better.

Re:The Fall of Stack Overflow by kerkeslager on Tuesday July 25, 2023 @03:39AM (#36859188)
LOL. It's not "called the XY problem" just because some Dunning-Krugerite decided to make a website on a budget TLD.

Here, I'll coin a name for a problem I see much more often, which is called the XX problem:

1. User has problem X, and asks for a solution for it.

2. People viewing the question decide that the original user actually has problem Y.

3. Those people tell the original user that they actually want to solve problem Y, flame the original user, and if they have the power to do so, edit the original user's question to be asking about problem Y.

4. Those people use poorly-thought-out pop-social-psychology to justify their shitty behavior.

5. The original user still doesn't have a solution to problem X, because they really needed a solution to problem X all along.

Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @05:51AM (#36860067)
I understand your frustration but honestly the tone and style of your comment is dismissive and condescending. It strikes me that you are complaining about people treating others high-handedly and without understanding by epitomizing that attitude in your own post.
Re:The Fall of Stack Overflow by kerkeslager on Tuesday July 25, 2023 @11:02AM (#36863323)
"You're saying your problem is (X) people don't answer questions, but have you considered that your problem is actually (Y) that your tone is condescending and dismissive?"

You realize that it's dismissive and condescending to ignore the problem I'm describing and respond with an assumption that I'm unaware of the tone of my post, right? Pot, meet kettle.

Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @12:12PM (#36864578)
I'm not ignoring anything, and this conversation has gotten strangely emotional for people responding to me. I joined this thread when it had a few comments and explained what an XY problem was. I don't use stackexchange and I am a little bewildered why people are accusing me of being condescending.
Re:The Fall of Stack Overflow by kerkeslager on Tuesday July 25, 2023 @01:48PM (#36866393)
> I don't use stackexchange and I am a little bewildered why people are accusing me of being condescending.

Because you're propagating the idea that you (or anyone asking questions) knows better what a person asking needs than the person asking does. Telling people you know what they need better than they do is pretty close to the definition of condescending.

People are emotional because nearly everyone who asks a question on the internet has to deal with people telling them "You don't actually want an answer to your question, you want an answer to this other question." By boosting the signal of the horrible XY problem idea, you're contributing to that problem.

I'm not saying this kind of miscommunication never happens, but the opposite is actually far more common.

Re:The Fall of Stack Overflow by Eisenstein on Tuesday July 25, 2023 @05:15PM (#36869702)
I ask follow up questions and get at what the person really wants, confirm it, and help them with it. I'm sorry if I am making troubleshooting harder -- I think that the answerer of the questions should be obligated to solve the problem or they shouldn't be helping.

Unfortunately I had no idea about the perverse incentives for question answering and the terrible moderator practices on SO, so I walked into a minefield giving an answer here that I thought was helpful based on my experience as a hands on technician working directly with people -- but it turned out to be a lightning rod for people's frustrations on these issues.

Re:The Fall of Stack Overflow by sznio on Tuesday July 25, 2023 @03:57AM (#36859320)
which you can discuss in the comments below the question, instead of polluting the answers.
Re:The Fall of Stack Overflow by rjmunro on Tuesday July 25, 2023 @07:49AM (#36860930)
You can't discuss in the comments unless you have enough reputation. This is IMHO the absolute stupidest feature of Stack Overflow.
Re:The Fall of Stack Overflow by ndriscoll on Tuesday July 25, 2023 @11:12AM (#36863506)
I actually finally made an account this year to leave a comment on this question[0]. I'm not familiar with what or why curricula are what they are so I can't really answer the question, but as a math teacher it'd be helpful for the OP to know that calculus and linear algebra are deeply related; the derivative of a function is the best linear map (i.e. matrix) that approximates it! For practical purposes, calculus is a toolbag to turn (intractable) nonlinear problems into (tractable) linear ones.

But apparently I can't comment as a new user so I guess the discussion will just be "because calculus classes use matrices in examples".

[0] https://matheducators.stackexchange.com/questions/26417/why-...

Re:The Fall of Stack Overflow by PurpleRamen on Tuesday July 25, 2023 @06:48AM (#36860456)
Is it SO's purpose to make assumption about the intention or context of questions? I would say no, and that it's even harmful, as it prevents the quest-giver from learning the flaws in their solutions on their own.
Re:The Fall of Stack Overflow by rerdavies on Tuesday July 25, 2023 @06:57AM (#36860522)
That's unkind, and doesn't really address the nature of the problem at hand.

What's the name for the "I don't want to use a sledgehammer to solve a problem that should be solvable with a screwdriver" problem?

Or in this case, the "spinning up 300 lines of code to integrate an XML parser vs. a dozen lines of code based on regexes" problem. For reasons that are unclear to me, XML parser libraries tend to be painfully difficult to use (speaking from personal experience with 4 different XML parser libraries).

I don't think it's a surprise to anyone involved that an XML parser is going to solve the problem.

Re:The Fall of Stack Overflow by dspillett on Tuesday July 25, 2023 @07:06AM (#36860573)
If doing X by Y is possible and will achieve Q, then the best way to respond to these questions is either of:

1. To do Q that way you would to <solution, or at least pointers to how to find the solution elsewhere> but you will likely it far more efficient/easy/whatever to do <something else> instead.

2. Q can be achieved far more efficient/easy/whatever by doing <alternative>, but if you are stuck with using Y then try <solution or pointers as above>.

Of course this relies on you correctly deriving that they are trying to achieve Q, or them explicitly stating the fact. Maybe instead they are trying to get to K.