Is that costing Hacker News "opportunities?" Compared to what? The opportunities afforded by not driving away all the users for whom threats of violence make a site toxic even if you aren't on the receiving end?
And what do you mean by a "large chunk of the tech community?" Do you mean a significant proportion relative to the "tech community?" Or a significant proportion relative to Twitter's user base as a whole?
And how do you define "the tech community?" Do you mean this cosy little echo chamber we inhabit made up of startup hackers and like-minded individuals? Or do you mean everyone working in tech, including the kinds of people working for BigCo who never go near Hacker News and visit Reddit for affinity subreddits like /r/volvo?
---
All design decisions are tradeoffs. If you make one choice, you alienate a certain set of users. But if you make a different choice, you'll alienate another set of users while placating some of the first set.
So yes, there is some opportunity given up if Twitter goes around banning people who incite threats of violence (your example), but there is some other opportunity given up if it tolerates them.
Not catering to the libertariat has never really harmed a mainstream-targeting business.