Explore Kartoza

Try searching for: QGIS, Training, GeoNode, PostGIS

A Beginner's Guide to Asking Good Questions on StackExchange
Back to Blog
Conference Community
October 7, 2022 Victoria Neema

A Beginner's Guide to Asking Good Questions on StackExchange

Every software beginner eventually encounters problems that search engines cannot resolve.

A Beginner's Guide to Asking Good Questions on StackExchange

Conference

Asking Good Questions

To get a good response or answer on StackExchange sites, one must ask a good question. This not only applies to StackExchange sites but also to any other Q&A forums, lists or sites e.g. StackOverflow.

What is a good question?

‘Good’ is such a simple yet vague term. The checklist below provides a few criteria by which to measure your question to determine if it is a ‘good’ question. The example question used to demonstrate these criteria comes from the Geographic Information Systems StackExchange site under questions tagged [open-data-cube].

Checklist for Good Questions

Has this question been asked before?

Check if your question has been asked before. This can be done using the site search bar or using Google search (or your preferred web search engine). A quick search of the example question reveals the question is not a duplicate, therefore it can proceed to be asked. If you find your question has been asked before, please attempt to implement the solutions provided.

Have you provided enough information for a user to replicate the problem?

For someone to find a solution to the problem, they need to know what the actual problem is and how it occurred. This means including as many details as possible about what you were trying to do when the problem occurred. Depending on the problem, this information can include:

  1. The operating system you’re running the software on
  2. The programming language, package and package version you are using
  3. The code you were trying to run
  4. What the software or package thinks is going on (found in logs, logfiles, or error messages)

When adding this information, avoid pasting pictures of text; ensure you write or paste text as words in images are not searchable. In the example question, code is copied and pasted, allowing testing to determine where the problem occurs—something not possible with code screenshots.

If your question has been asked before but the solutions or answers did not work, or if you have tried solutions from related questions, include information on what you tried, why that did not fix your issue, and add links to the relevant posts or questions.

Have you indicated the end goal?

In your question, ensure you communicate the end goal or purpose of what you are trying to do. This provides context for others when coming up with answers/solutions. In the example question, the end goal is to compare the values of two measurement variables of an xarray.

Have you added an appropriate title to your question?

The title of your question should summarise your problem concisely. The title is the first thing readers see about your question so make it count! If your title is not interesting then they won’t read the rest of the question.

Have you added all the relevant tags to your question?

Tags help people locate your question. The more visible your question is to others the higher your chances of getting an answer.

Have you proofread your question before posting it?

Always proofread your question before posting. You want to make a good impression on potential answerers.

Other Notes

The example question provided enough information to be able to replicate the problem and for a solution to be provided. If the solution meets the user’s needs, then the answer will be accepted.

Other notes to keep in mind when posting a question in a forum:

  1. No spam
  2. Read the local rules and guidelines
  3. Read the code of conduct for the site and adhere to it
  4. Respond to feedback. Note that this checklist only provides a starting point to ask a good question. Feedback from the community will go further in helping you make your question good
  5. If you get an answer that works, accept it

References

  1. Example question - https://gis.stackexchange.com/questions/428666/plotting-open-data-cube-xarray-data-with-two-or-more-measurement-parameters-in-t
  2. How to get a good response on stackexchange - https://www.ianturton.com/talks/foss4g2022/slides.pdf
  3. Stack Overflow Help Centre - https://stackoverflow.com/help/how-to-ask
  4. Meta Stack Exchange Help Centre - https://meta.stackexchange.com/help/how-to-ask

Want to Learn More?

Explore our training courses or get in touch to discuss how we can help your organization.