Skip to main content

All Questions

Filter by
Sorted by
Tagged with
7 votes
2 answers
415 views

Are these 3 related questions duplicates? If not, where should I (not) answer?

I was about to answer Is there a way to highlight certain class usage as a warning? but before doing so, I wanted to make sure it had no duplicates. After searching, I found these 2 pretty related ...
nalka's user avatar
  • 2,320
3 votes
0 answers
305 views

Do we have a canonical for parsing indented code with ast.parse?

While doing a cleanup of some other IndentationError questions, I closed a bunch of questions - including IndentationError during `ast.parse` and `ast.walk` of a function which is a method inside ...
Karl Knechtel's user avatar
25 votes
2 answers
2k views

Canonical for Java EE vs Jakarta EE

Java EE was donated to the Eclipse Foundation which had to rename it to Jakarta EE. In the process, they had to change the dependency coordinates of the specifications and change the root package name....
dan1st's user avatar
  • 16k
24 votes
1 answer
837 views

What is a beginner-oriented canonical Q&A and how can it help me curate my watched tags?

This is intended to be a light satire to assist would-be site curators who find that the tags they're most interested in are flooded with low-quality questions, but who either misuse What is a ...
Karl Knechtel's user avatar
8 votes
0 answers
159 views

What should we do with flawed attempts to solve a problem, where the flaw is unrelated, both are common, and the question isn't explicit?

What should we do with flawed attempts to solve a problem, where the flaw is unrelated, both are common, and the question isn't explicit? This is an extremely common issue I've been running into with ...
Karl Knechtel's user avatar
15 votes
0 answers
725 views

Is there a canonical question where asker doesn't know what a browser extension or userscript is, but is essentially asking how to make one?

I just came accross this: How to import javascript code into developer tools in browser? One time forever And tried looking for something to mark is as a duplicate of. I found this: How do I add a ...
starball's user avatar
  • 48.1k
35 votes
8 answers
1k views

Are canonical duplicates useful anymore?

To quote CodeCaster's answer from Is there a canonical duplicate for "how do I fix my ArgumentNullException" questions? : Over the years I kinda grew against closing questions as those very ...
Ian Kemp's user avatar
  • 29.8k
-10 votes
2 answers
167 views

Should parallel versions of this question be created for other programming languages?

This question seems to be a useful dupe target for basic Java questions about debugging. It was written a long time ago and was apparently created intentionally as a reference for exactly that sort of ...
Karl Knechtel's user avatar
40 votes
3 answers
2k views

Is there a canonical duplicate for "how do I fix my ArgumentNullException" questions?

I was reviewing this question from the "first posts" queue. Since it's asking more or less "How to fix my ArgumentNullException?", I instantly thought this question could be closed ...
nalka's user avatar
  • 2,320
17 votes
2 answers
540 views

Canonical question for issues relating to upgrading to Discord.js v12

There are a lot of questions relating to results from upgrading to Discord.js v12, most commonly dealing with the addition of managers and having to use .cache: discord.js V12 'filter' undefined ...
Lauren Yim's user avatar
6 votes
0 answers
108 views

A canonical Swift answer for "My function with an asynchronous call returns empty data"

There are already over 400 questions on StackOverflow with the Swift tag that relate to asynchronous execution. It feels like there has been a recent increase in the number of questions asked by low-...
Daniel's user avatar
  • 3,575
3 votes
1 answer
97 views

Dubious dupe target for JavaScript spread syntax

I came across a question asking "What does ... mean in JavaScript?" I assumed such a basic question must have been asked before, and unsurprisingly I found several similar questions: Javascript what ...
John Montgomery's user avatar
-12 votes
3 answers
272 views

What to do when someone starts a "close as duplicate" on a canonical Q&A?

I'm a bit annoyed by this. Someone has decided to start a vote-to-close as duplicate on a canonical Q&A that I created: What does "possible lossy conversion" mean and how do I fix it? ...
Stephen C's user avatar
  • 718k
21 votes
1 answer
555 views

Can a reference question be used as a dupe target?

Here’s the specific problem I’m trying to tackle: Roughly once a week, someone ends up posting a question along the lines of “Help! My GraphQL endpoint is returning null!” Unfortunately, the ...
Daniel Rearden's user avatar
13 votes
1 answer
445 views

Do we need a canonical for Python ModuleNotFoundErrors?

Lately I've noticed that we've got a lot of python questions about ModuleNotFoundErrors. As in, 3330 questions a lot. Most of these questions seem to have the root cause of the module not being ...
Picachieu's user avatar
  • 3,762
15 votes
4 answers
506 views

Can I create this new question or will it be closed as a dupe or otherwise cause controversy?

What I want to do: I wish to create a question: Title: Print all lines between two patterns, inclusive (in sed, AWK or Perl) Question: it'll look much like this one, but ask about the inclusive, ...
Alex Harvey's user avatar
  • 15.4k
9 votes
4 answers
252 views

How should we call the assumed original of a question marked as duplicate?

Some expert has marked a question as duplicate of another question. In my eyes that is totally correct. I made a comment to the asker that I think he should go to the 'original' question. What I want ...
yunzen's user avatar
  • 33.4k
54 votes
3 answers
879 views

What to do about this deleted "canonical" question and its duplicates?

While looking at the result of my SEDE query for find duplicates of deleted questions, I noticed a rather large number of java questions about ArrayIndexOutOfBoundsExceptions that were all orphaned ...
Ilmari Karonen's user avatar
33 votes
1 answer
853 views

A canonical answer is not actually canonical; what to do?

C++ has this issue, which is called "most vexing parse". It is a never-ending source for duplicate questions. It seems that we don't have a canonical answer for that. But worse, we have a highly-...
anatolyg's user avatar
  • 28.2k
26 votes
3 answers
1k views

What to do about off-by-one questions?

Is there anything we can do about the oft-experienced off-by-one error? I've noticed that a steady stream of questions from people who don't realize what the error means, and people who've made a ...
Andrew Li's user avatar
  • 57.8k
15 votes
0 answers
527 views

Cleaning up the top questions on "python 2 super" according to Google

The top Google hits on SO for python 2 super are a bad mix of the obsolete, irrelevant and non-generalizable, from Python 2.5.2 to 2.7.x, along with known duplicates (but for some reason the canonical ...
smci's user avatar
  • 33.9k
14 votes
0 answers
2k views

Canonical for "Why are wildcards not being expanded by subprocess.call/run/Popen* / shlex?" or "Why isn't <cmd> working?"

Which question and answer should be the canonical for all the many well-trodden duplicates/variants on the Python theme "Why is my command not being expanded by subprocess.run/call/Popen* / exec/ ...
smci's user avatar
  • 33.9k
44 votes
3 answers
838 views

What should I do about a lack of good canonical questions?

I have been growing increasingly annoyed by the lack of good canonicals and the number of bad questions that are commonly used as duplicate targets. (Sometimes because there's no better alternative, ...
Aran-Fey's user avatar
  • 42.9k
4 votes
1 answer
99 views

Closed as duplicate on a question close as to broad (self proclamed canonical)

I recently end up on this question "How to use java.util.Scanner to correctly read user input from System.in and act on it?" That is a closed question ("too broad") based on a moderator a while ago. ...
AxelH's user avatar
  • 14.6k
31 votes
1 answer
573 views

Deciding a Canonical Question for R: How to load packages automatically/ by default?

I suggest we need a canonical for this (it comes up all the time, let's merge the duplicates into it). Below are my suggestions on what are duplicates, and non-duplicates, and why; let me know what ...
smci's user avatar
  • 33.9k
26 votes
4 answers
1k views

Is there a canonical for passing callback functions in JavaScript?

There are a lot of questions within the javascript tag that have to do with passing callback functions wrong, for example doing this: setTimeout(foo(), 3000); Instead of, correctly: setTimeout(foo, ...
Andrew Li's user avatar
  • 57.8k
42 votes
0 answers
1k views

17+ questions all on the same topic with no good answers

I have been trying to connect two computers together using Python and pass information between them. While I have a broad grasp of Python, my networking knowledge (stuff like public/private IP ...
Tom Burrows's user avatar
  • 2,335
32 votes
2 answers
1k views

What to do with all the questions about scanf?

You've probably seen it. The thousands of different questions where the solution is changing scanf("%c to scanf(" %c, that is, put a space before %c. At first it was funny, but I do get tired of it ...
klutt's user avatar
  • 31.2k
16 votes
1 answer
513 views

Canonical question for using PHP SimpleXML with namespaces

Over and over again, people ask questions about SimpleXML (the PHP built-in XML library which is, well, simple), because either: They don't know that : in a tag name denotes a namespace (e.g. most of ...
IMSoP's user avatar
  • 97k
5 votes
2 answers
146 views

Create a similar question for a different framework (Unity)

There is a well known C# question about what a NullReferenceException is and how to fix it. Unity which has the Unity3d tag on Stack Overflow uses C#, but I noticed a-lot of Unity questions with the ...
Programmer's user avatar
  • 125k
8 votes
0 answers
166 views

Java "ClassNotFoundException" canonical question

I meet each day dozens of similar questions where people claim about java.lang.ClassNotFoundException in java. Just recent examples: java.lang.ClassNotFoundException:org.apache.tika.sax....
Andremoniy's user avatar
  • 34.8k
-1 votes
2 answers
115 views

Using a canonical duplicate to close a syntax error question [duplicate]

Recently I stumbled upon a question about a basic PHP syntax error. The problem was not too hard to understand, but before any answer was posted, the question was marked as a duplicate of a wiki ...
Loïc's user avatar
  • 11.9k
25 votes
4 answers
793 views

Can anyone suggest a good generic "turn this JavaScript object to this JavaScript object" question for duplicates?

Basically I'm a bit fed up of questions along the lines of Here's a JavaScript/JSON object I need to be this similar but slightly different JavaScript/JSON object. Please can someone do this for ...
Liam's user avatar
  • 29.4k
3 votes
0 answers
69 views

Canonical "My JavaScript isn't working" question for the answer "IDs must be unique"?

Is there a good canonical question we can use to close duplicates of questions (like this recent one) that are basically "My JavaScript code doesn't work" to which the answer is "You cannot use the ...
T.J. Crowder's user avatar
3 votes
0 answers
124 views

Procedure and requirements for writing a canonical question/answer [duplicate]

I noticed over the last few days that one particular problem keeps showing up. I went searching for a good canonical question to deal with all of these and wasn't satisfied with what I found. I wrote ...
Mike Cluck's user avatar
  • 32.5k
4 votes
1 answer
96 views

Canonical question for Cartesian product

I just came across several recent questions asking variations of "how to find all possible combinations of multiple lists", and I regularly see similar questions. The reason that people post new ...
m69 ''snarky and unwelcoming'''s user avatar
75 votes
4 answers
3k views

What to do about hundreds of the same basic question?

For the umpteenth time someone asked the question "what does 'str object is not callable' mean?" with the tag [python]. This is a very common error for newbies, so it just gets asked over and over and ...
Bryan Oakley's user avatar
32 votes
2 answers
1k views

Canonical question on how to use parameterized queries in C#

I recently notice a lot of "Why doesn't my SQL statement work?" questions, where the cause of the problem is some improperly formatted (date) or improperly escaped (string) value. Of course, we all ...
Heinzi's user avatar
  • 172k
38 votes
3 answers
726 views

How to handle questions closed as an incorrect duplicate

At least once a week, a user will ask a question on one of the asp.net-mvc sites as to why their model, or a property of their model is null when they submit their form back to the controller's action ...
user avatar
-17 votes
1 answer
223 views

"Null Pointer Exception" questions closed as duplicates [closed]

Whenever someone posted a question attached with nullpointerException logcat, the question will be down-voted and marked as duplicated, and soon it will be closed. I admit this post is a very ...
Hoo's user avatar
  • 1,840
-8 votes
1 answer
343 views

Another SO user reversed the dupe target on a pair of questions, closing the canonical of a more specific question [duplicate]

I've been using this question as a canonical for closing questions asking about manipulating inherited properties for quite a while now. Yesterday, a question asking about appending property values ...
cimmanon's user avatar
  • 68.2k
12 votes
3 answers
1k views

The REST fallacy, or how to prevent opinion-based questions [closed]

As opposed to SOAP, building a REST service gives you a lot of creative freedom. You can choose your own URI scheming, which content types to use, what HTTP verb to send and which HTTP status code to ...
CodeCaster's user avatar
  • 151k
23 votes
0 answers
479 views

Canonical Java answer for object reference assignment "why does x change when I mutate y after x = y"?

I have noticed a large number of Java questions that are really just variants of: "When I update b, a changes - please help." SomeObject a = new SomeObject("myObject"); SomeObject b = a; b....
Andy Brown's user avatar
  • 19.1k
17 votes
2 answers
267 views

How should we expand common duplicate targets to be more acceptable to the folks asking duplicate questions?

Summary A user did research, couldn't find an answer, and asks a question. The new question is closed as a duplicate, but he can't understand the answer provided on the original. How should we alter ...
Griffin's user avatar
  • 242
2 votes
1 answer
139 views

Canonical question/answer for an out of place JavaScript callback

As we know, there is a very good canonical target for returning values from an asynchronous call. I just came across this question where the OP has included the necessary callback function, but ...
James Thorpe's user avatar
  • 32.2k
71 votes
3 answers
1k views

Deliberately opening duplicate questions as search targets

In the last year and a half I've answered almost 500 questions in the promise tag. We have a rather small community there and we like to open canonicals such as this one this one or that one. They ...
Benjamin Gruenbaum's user avatar
14 votes
2 answers
288 views

Canonical for "maintaining aspect ratio with CSS"

These questions ask how to maintain the aspect ratio of an element (usualy a div) according to a dynamic width with CSS. One of them should be chosen as a canonical answer and the others closed as ...
web-tiki's user avatar
  • 104k
11 votes
1 answer
196 views

Many questions about the same broken reCAPTCHA sample code

It seems that, somewhere on the Internet, there's a badly written PHP code sample1 purportedly explaining how to implement reCAPTCHA. Users frequently come to Stack Overflow to ask problems about this ...
user avatar
8 votes
3 answers
290 views

Marking disputed review audits as duplicates

Over the weekend, one user appears to have cast close votes on all of the open questions under the disputed-review-audits tag as duplicates. I could see this action as being constructive if we are ...
Brian's user avatar
  • 15.6k
14 votes
1 answer
365 views

Which of these four Java BufferedReader questions should I use as a duplicate target?

Here are four essentially identical questions: Reset buffer with BufferedReader in Java? How do I read a file again using buffered reader in Java? Java BufferedReader back to the top of a text file? ...
Jason C's user avatar
  • 40.2k