Now that I think about it… I’ve flagged at least one post years ago.
There was a second post I considered flagging more recently as off topic but I can’t remember if I did or not.
What I do remember is that the post in question had only a the subject for the very general question with a wall of code or stacktrace without any context. If this was your question and I forgot that I flagged it; @Janus, sorry for the confusion.
I much prefer to reply over flagging any posts. The only reason I remember the post in question is because I almost flagging it due to being a wall of code and zero context to a unrelated question. The only reply I could think of at the time was, “What? Can you restate your question from scratch?”
I often end up passing on those types posts without replying but ideally it would be nice to have some generic link to advise on how to properly format their question.
For future readers who find a post of theirs was removed for being off topic:
Please check you’ve described your question. It also may be worth trying to google your question if it’s something that has a direct answer–otherwise we can help you find the right question to search or point you to the right place
If your topic body is mostly code or a stacktrace, make sure you’ve described what you’re trying to doing. Try to narrow the code you’re posting to only relevant sections if possible and add more later if needed. We can also help you narrow your code down but at least give it a first pass. Point out which line is triggering the the error if possible.
For example, instead of this post:
SUBJECT: Error calling method
I get an error with this code:
[Long unformatted copy/past of code]
Error: [entire unformatted stacktrace]
Do the following alternative:
SUBJECT: Error passing list to vararg method
I’m trying to pass a list as an argument to another method that accepts a variable list of arguments but I’m getting a from the following line:
[A small few lines of code where the error is thrown and the relevant lines around it]
I’ve tried searching Google but I’m not sure what to look up. I checked the doc on vararg and I believe I’m doing everything correctly. Any ideas for me to look into?
The second has a more descriptive subject, an explanation of what the user is trying to do, a narrowed snippet of code of the lines triggering the error, and the error at that line. It also shows some evidence for what the poster needs help with by revealing their level of experience and what they’ve researched. The poster even specifically asks for any leads not just completed code or a raw answer.
This format of question usually gets quick and helpful answers
@Janus, your question doesn’t perfectly fit the mold of an error related question, but here’s an example of how I would format it:
SUBJECT: Advise for drawing vector graphics on Android
I’m in the process of learning Android with Kotlin. I’m trying to work with vector graphics using objects but I’m having some trouble knowing where to start.
I’ve seen several examples online that use either XML or third party game engines and graphics libraries. I’m successfully able to create graphics in XML but I was hoping to do graphics with objects instead.
Is there a simple recommend way of drawing vectors with objects? Or any tutorials that could help?
In this format it’s clear what you’re trying to do, what you level of experience might be, what you’ve found so far, and what is still unknown.