I feel misunderstood on most of my questions. People downvote me (some upvote me too), or vote to close, or are rude or unpleasant to talk to, and I'd like to know how I could do better.
If my question is too broad please tell me what I should have done - this is the meta, if I can't ask here, I can't ask anywhere.
#1 The most obvious one is this post. I am asking a question about what does happen in practice with undefined behavior. I won't use it in my code, it is only for curiosity and for betting understanding of computing internals.
- First comment talks about theory. LOL.
- I got threatened "Still wondering whether to vote for close as being too broad."
- Got downvoted
- Got several answers and comments where people just tell me not to use UB in my code. "10,000 customers [...] will want their money back talk to their lawyers if you do this". I don't want to do this, I want to learn.
- Few answers try to really answer me
Am I not allowed to post question about bad practices in order to learn?
I know my question was broad, but should I really have spammed Stack Overflow by creating seven posts? If I did so, people would have blamed me not showing research effort.
I wrote this in the question:
You obviously cannot get root by doing a signed integer overflow.
I voluntarily omitted obvious details. I know that if kernel is really broken you could get root by doing i++
. An user wrote a full answer about it. Yet his answer was interesting, should I have put even more details in my questions?
#2 Why was this question closed? It's precise and was even answered in comments!
#3 Why do you think people did downvote me here? Even if final vote count is zero.
#4 In this post, I ask about GCC warnings, and the first comments are rude. Some user tells me to apply for a Nobel prize, then asks me to show a reference to the C standard where it says there has to be a warning for it. I never said there should be a warning, I want to understand the spirit behind it, why implementors did decide it. Now it got it! Answers and comments were helpful, but still there were rude people.
#5 The same user annoys me here. I saw contradictions between different references/manuals so I thought it was a good idea to ask. He tells me to update my man pages, which is silly because if I have some man pages, lots of people will have the same, and I thought man pages were a safe reference (also, they were up to date). Can't he just answer the question or say nothing?
#6 I didn't got the Stack Overflow spirit at the time, and I didn't knew about communities when posting this. Answers and comments have helped me to understand better how it works. Why so many downvotes?
#7 Why would this be a XY problem? Maybe I just spend more attention to details than you.
If my question is too broad please tell me what I should have done
then I get DV and close-voted without reason. Helpful. Just wanted to improve my questions