All Questions
62 questions
109
votes
2
answers
9k
views
Questions about thread+loop not working without print statement
Consider the following scenario in Java:
A developer has written a loop that waits for some state to be changed from a different thread.
The loop doesn't seem to see the change.
The developer adds a ...
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 ...
74
votes
6
answers
3k
views
Canonical duplicate for "floating point is inaccurate"
The question of "why is my floating point operation coming up as 0.0999999999999784" comes up really frequently. Usually we just leave a link to What Every Computer Scientist Should Know About ...
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 ...
66
votes
3
answers
3k
views
"Duplicate questions" versus "RTFM"
I have added a question in my answer to iTextSharp - when extracting a page it fails to carry over Adobe rectangle highlighting important info
I don't want to sound frustrating, but I would really ...
60
votes
3
answers
1k
views
Process for nominating and promoting canonical questions
In the bash tag, we get a lot of duplicates. Off the cuff, I would speculate that 10-20% of all Bash questions are reiterations of maybe 50 common questions -- basic quoting, variables, syntax, ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
35
votes
2
answers
1k
views
How best to redirect all duplicates of "Why doesn't <Python string method> do anything unless you assign its result"?
What's the best way to create and name a primary source question to redirect the high volume of Python questions asking why calling a string operation doesn't change the string.
Naming this something ...
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-...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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....
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 ...
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....
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 ...
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
...
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 ...
17
votes
1
answer
340
views
Would it be appropriate to create a better duplicate?
Over in c#, we get a lot of questions from (primarily new) users asking the same question of
How can I access formA from formB?
To which of course there are numerous duplicates.. but the majority ...
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 ...
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, ...
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 ...
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 ...
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?
...
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 ...
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/ ...
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 ...
12
votes
3
answers
982
views
NullPointerException Question on Stack Overflow
I saw a moderator closed one question in which OP had issue related to NullPointerException
How can I make this custom adapter work
I don't know whether it is right to do so or not.
We all know ...
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 ...
11
votes
2
answers
285
views
Does the existence of this question make any new null pointer questions obsolete? [duplicate]
This question pretty much sums up NullPointerExceptions and how to solve them for almost all cases. Many new questions on NPEs are frequently closed as duplicates of this one.
Because of this, it ...
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 ...
11
votes
1
answer
181
views
Proposal for exact-duplicate sink for all the "double-backslashes in filename" questions
Today I saw again a question where the problem was OP didn't know he needs to escape the backslashes in a filename that was hard-coded in the source code. It usually boils down to this:
const char *...
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 ...
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 ...
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 ...
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....
8
votes
0
answers
207
views
Canonical questions and the dupe-hammer [duplicate]
A while back, I noticed that a particular Spring question was exceedingly common and wrote up a canonical question on it; I then proceeded to march through a bunch of questions that were essentially ...
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 ...
6
votes
1
answer
168
views
Is it reasonable to create an "authority" post and close all older questions as duplicates? [duplicate]
I just saw this question and it is showing behavior I have never seen on a post before. It appears that multiple, older posts have been closed as duplicates of this new post. In the comments, the user ...
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-...
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 ...
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. ...