I spent considerable time researching and crafting a question which was unlucky enough to get a downvote from one of the first 3 to see it because it dared to ask more than one related questions at once. Thus cursed, it was doomed to be closed later.
(But it seems this now requires only 2 votes not 3 or 4 as it used to. When did this change?)
So I asked two related questions separately and had to refer comments from one to the other. Perhaps demonstrating that one question would have been better.
While I was doing this both of these questions were closed with single "golden" votes from the same user as "Not suitable for this site".
(I thought this only applied to duplicate questions - When did I get close-vote superpowers?, but apparently any moderator can do it.)
So today I am finding Stack Overflow particularly unwelcoming. Perhaps I should just flag them for moderator attention but I may as well go the whole hog and endure the meta effect as well. What is wrong with my two questions?
Given we have `/proc/pid/status` why do we still have `/proc/pid/stat`?
Is it better practice to use `/proc/pid/stat` or `/proc/pid/status`
Was the mighty Mjölnir wielded instant close vote applied justly or not? Please explain.
A question about which API to use is better practice is surely on topic for Stack Overflow rather than superuser.
Also note:
https://superuser.com/help/on-topic
and it is not about …
programming and software development,
So superuser is definitely wrong. Voting to close as opinion based might be more reasonable.
Another bullet point against superuser:
Though I typically find that opinions matter. If the majority view is that X is better than Y or Y should be deprecated it is useful to know. I think that close reason should be reserved for when there is higher risk of conflict.
After consideration I believe the following:
My first question was off-topic. I have replaced it with a slightly improved question on unix&linux
However, I believe my second question i.e.
Is it better practice to use `/proc/pid/stat` or `/proc/pid/status`
Is on topic. More over my answer for both questions is the same:
It is better practice to use /proc/pid/status because, in my opinion at least, /proc/pid/stat should be deprecated. /proc/pid/stat is harder to parse correctly and failure to do so can result in subtle bugs and a possible security risk.