Questions tagged [canonical]
is for questions about canonical questions or answers, i.e. those often used or referred to.
203
questions
21
votes
0
answers
242
views
Establishing a canonical for shadowing builtins (especially causing TypeError) in Python
Background
[Feel free to skip this section if you are familiar with Python. I just want to briefly explain the subject matter needed for the canonical - it should be easy to grasp for anyone with ...
10
votes
4
answers
332
views
Please float some less broken canonical titles for this post
There was an established canonical that deals with floating point arithmetic with the catchy title "Is floating point math broken?".
The "was" used because now the title is "...
8
votes
0
answers
142
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 ...
6
votes
1
answer
95
views
Any way to fit a reference/canonical for techniques for a category of homework questions within the focus guidelines?
I've noticed that a lot of homework questions asked about on Stack Overflow, particularly in the Python tag, task students with "drawing" some sort of "shape" or pattern at the ...
4
votes
1
answer
167
views
How can we link together these web-api question posts about getting the dimensions of base64-encoded images?
I just encountered this question and thought—there has got to be a duplicate target for this: How to get the dimensions of Base64 encoded image in JavaScript.
I did a Google search (get dimensions of ...
28
votes
0
answers
148
views
For certain extremely common duplicates, it should be possible to put prominent warnings up front
I just closed yet another question about an extremely common error message as a duplicate of its canonical: Truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
...
10
votes
0
answers
209
views
What should I do with old questions where the problem was mis-identified?
The site is full of examples with a few upvotes and many years of history like: Need a way to load embedded, escaped JSON strings in Python
The problem here is that the title implies a how-to question,...
6
votes
2
answers
162
views
Is there any way to "draft" questions on-site and show them to specific people, but not publicly?
I am the room owner for the Python canon discussion chat room, where I have been trying to sort out a variety of issues related to important canonical questions in the python tag. (I also use it to ...
12
votes
0
answers
403
views
Canonical question for importing content from dynamic websites using IMPORTHTML / IMPORTXML Google Sheets functions
In How to flag dozens of almost identical answers I have mentioned that I have found dozens of "bad" questions from people having problems importing content from dynamic websites using ...
11
votes
1
answer
175
views
Canonical question on how to generate lists of inputs in Snakemake?
The last couple of months I found a number of questions about Snakemake that all concern how to generate a list of expected inputs with expand when the default behavior of expand doesn't do the trick. ...
14
votes
0
answers
717
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 ...
5
votes
4
answers
272
views
Canonical question for TypeError Cannot [call method / read property / set property] of null in Google Apps Script
Tl;Dr: In the last few days three community members are working around the tag wiki of google-apps-script. The goal is to have a "FAQ". This question is specific to make a FAQ about few ...
31
votes
1
answer
589
views
How can/should we broaden questions where the same problem can manifest in multiple related ways, to make the most useful canonicals?
I have encountered a problem many times while trying to fix up python canonicals, where a question would be great for explaining a common problem (and already has high-quality answers) - if only the ...
18
votes
7
answers
920
views
What should I do when the question is fine, but existing answers "need more focus" or are off topic?
The specific Stack Overflow question motivating my question here is How do I count the occurrences of a list item?.
As you can see, this is an extremely important question for python. As of writing, ...
5
votes
2
answers
355
views
Can we close Markdown rendering bugs against a related but maybe not fitting duplicate
We currently have 27 open bug reports for markdown rendering and most of those are of the type:
The preview shows X, after posting it shows Y
where X and Y can be any markdown/html that you can ...
22
votes
1
answer
517
views
What should I do when external search results for a missing canonical are full of misleading junk?
tl;dr: There's a seemingly missing Python canonical that's a natural pair for an extremely popular canonical. The corresponding search terms turn up garbage questions; the most popular results (still ...
10
votes
1
answer
356
views
Canonical question for calling non-exported Linux kernel functions from a kernel module
I've been wandering around linux-kernel for quite a while now, reading questions almost daily and answering interesting ones. In this time, I've seen a fair amount of users asking help about calling ...
33
votes
2
answers
662
views
Seeking Canonical: Non-returning PHP Recursion
I've scratched together a heap of open or suboptimally closed pages that are all resolved in the exact same way.
I would like to close them with a single canonical page that will best help researchers....
40
votes
8
answers
2k
views
How can we handle a question where the problem in the title is different from the problem in the body, and OP refuses to change the title?
This is the post. The title has usually been "How do I calculate square root in Python?", but the body is actually about a problem that's specific to division in Python 2 (namely that 1/2 ...
24
votes
0
answers
371
views
Looking for canonical dup about choosing include directories in C/C++ for relative '#include <foo/bar.h>'
In my favorite tags (cmake) I regularly see questions with the core problem like
I have specified include directory /some/dir/include/foo, which contains the header bar.h, but compiler cannot resolve ...
72
votes
3
answers
1k
views
Making canonical answers easier to find
How can we make canonical answers easier to find, especially from the review queue?
I was stumbling upon many Java questions with ArrayIndexOutOfBoundsException, being sure there must be some question ...
-1
votes
2
answers
414
views
Allow voting to close questions as duplicate of Articles
As far as I understand Articles are official "how-to" guides and as such represent and can serve as canonical duplicate targets.
Allow voting to close questions as duplicate of Articles.
...
16
votes
2
answers
848
views
How should THIS specific regex-based close/re-open/delete/un-delete war end?
Moderator note: This will be left up for a time while we debate a larger rule change. Do not take this as approval of the personal mentions of activity below (personal attack comments have been ...
1
vote
0
answers
115
views
Should we create a canonical for questions asking why HTTP requests work only in a specific scenario?
A very common question I often see takes the form of the following:
I have made an HTTP request in <Tool A> and it works. But when I try to do the same in <Tool B> and/or <Tool C> ...
-21
votes
1
answer
224
views
Appropriate response to questionable question closure [duplicate]
I recently answered a question and then that question was closed as duplicate of the usual canonical "null pointer exception" questions and my answer was downvoted.
As far as I am concerned, ...
34
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 ...
22
votes
0
answers
738
views
What should be done with questions regarding unlocatable elements in Selenium?
A quick search in selenium brings up some questions like this:
I am doing automation with selenium, I have tried this:
[Some code of a Selenium automation, often with a complicated XPath query, and ...
-10
votes
2
answers
164
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 ...
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 ...
23
votes
1
answer
693
views
Is there a canonical question for user-defined type guards in TypeScript?
I frequently see a question in the TypeScript tag where an asker does some logic that semantically should be enough to check that a given type supports a certain operation, but does not satisfy the ...
27
votes
1
answer
734
views
Should my canonical about read_clipboard usage in Pandas be on Meta or Main?
If you've ever tried answering questions in pandas, you'll know 90% of them cannot be answered unless the OP posts their data (or, at least a sample) that gives us an idea what they're working with ...
2
votes
0
answers
224
views
Reopen question on how to generate a readme programmatically in Python
I don't have any idea why this copped such a bad reception, but I'll try to improve it more if people have suggestions.
It's long, but I hope it's clear what is trying to be achieved (even if wasn't ...
16
votes
1
answer
493
views
Canonical Q&A for people that have problems with NoSuchMethod/called on null in [flutter]
I'm relatively new to Flutter. There seems to be huge amounts of people who are starting to work with Flutter and who have not heard of the concept of a null reference exception in Flutter or in other ...
17
votes
2
answers
521
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
...
41
votes
1
answer
2k
views
Canonical question for Java "resources in JAR"
Based on the community's positive response to my canonical question about Spring, I think it would be helpful to have a similar canonical about using classpath resources from JAR files or similar ...
6
votes
0
answers
106
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
0
answers
187
views
Canonical Q/A for people that have problems with Future<T> in [flutter]
I'm relatively new to flutter. There seems to be huge amounts of people who are starting to work with flutter and who have not heard of the async/await concepts either in flutter or in other languages ...
1
vote
0
answers
128
views
Canonical question about different versions of Angular
Recently out of a specific need to know the breakdown, new features and changes within the Angular versions from 2 to 10 (current) to prepare for technical interviews, created a question in SO (https:/...
2
votes
0
answers
90
views
Is it OK to remove obsolete content from canonical answers that have updated by adding EDIT / UPDATE labels? [duplicate]
Some "old" answers that became obsolete over the time in an attempt to keep them up to date were edited to include relevant changes.
Here is one example
The current documentation (June 2013)...
6
votes
0
answers
215
views
Canonical question for "You do not have permission" in Google Sheets custom functions
TL;DR I'm looking for guidance regarding which question should be used as a canonical question for Google Sheets customs functions returning "You do not have permission"
This question is ...
5
votes
4
answers
252
views
What should we do with "How to solve common errors in Google Apps Script development"?
Recently How to solve common errors in Google Apps Script development was posted and had several upvotes, but it was also closed.
NOTE: This is not a duplicate of What to do about hundreds of the ...
12
votes
0
answers
212
views
A way to identify a future popular question
After around three years contributing on SO I have noticed the following for many of the old questions I have answered:
They are popular with a big number of views and votes.
They didn't even cross ...
6
votes
1
answer
119
views
Answering own new generic question vs generic answer to existing specific question
Recently I've seen quite a few questions on the same topic, where each had a different problem (with provided code), but all stemmed from the same misunderstanding of the language feature being used.
...
9
votes
0
answers
79
views
Is there a canonical Q&A that explains TypeScript's type erasure and compile time vs run time behaviour?
I see a lot of questions who expect TypeScript to simply do something it cannot. They are based on a fundamental misunderstanding about what TypeScript does and how it works. The whole type system ...
-11
votes
1
answer
216
views
How can I make this question/answer more relevant it order to make it pop in the close as a duplicate dialog?
There is a question that would be very good duplicate target but I can't make it to show up in "suggested duplicates" dialog often enough to be used as duplicate target. I'm looking for edit ...
5
votes
0
answers
134
views
Is there a canonical dupe target for illegally mutating variables in react?
Every day, multiple times per day, questions pop up in the reactjs tag where the problem boils down to someone
Failing to use this.setState in a class component and instead trying to use instance ...
5
votes
1
answer
214
views
Should I perform a large edit on this useful Google Sheets scripting that is too long and not easy to understand?
There's this Q&A:
"SpreadsheetApp.getUi() cannot be called from this context"
As you can see, the question is huge, and the answer is correct but incomplete, so both need editing, and ...
4
votes
1
answer
80
views
Canonical for ODBC error: Data source name not found and no default driver specified
One very common question I encounter often is when connecting to a database, people get the following error:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver ...
-12
votes
3
answers
363
views
How can generic questions in Stackoverflow have thousands of upvotes when this is something unacceptable? [duplicate]
Below you can see a great example of this:
There are no examples of what the user tried, no specifications, nothing. Just a "tutorial" question. How is this possible?
3
votes
1
answer
96
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 ...