> libertarian/pro-gun friends have not been shy about their political views and it hasn't hurt their tech careers at all
It's interesting that you specifically choose "libertarian". While maybe technically further to the right than Republican it truly seems supporting specifically Republican candidates is wholly furiously unacceptable in the bay area -- especially at tech companies. Try wearing a pin, t-shirt, hat, etc... "openly" supporting Trump to a tech company in the city -- actually for the safety of your career and physical self better not.