Anger is not the only use case for the word "fuck", nor is expressing an emotional state. Really, there's a fuckload of other fucking examples; enough to make one tired as fuck just fucking thinking about them, so I won't enumerate them here (those readers who give a fuck can now exclaim "thank fuck!").
"Respectable" media are beholden to their advertisers, who in turn are concerned that specific demographics might be scandalised by certain words and affect their bottom line. I don't think HN or much of the internet fits into this category.
Academic papers are an interesting case. I suspect their avoidance of the word fuck is a combination of their inherited sense of propriety and the fact that such an ambiguous word as "fuck" rarely has a place in scientific writing.