A lot of us software engineering types lack integrity and are perfectly happy to work on socially harmful projects as long as the pay's right and there's opportunity to grow one's skills.
Thats the most typical HN look at it
Firstly, only in the past year have Google's or Facebook's reputations taken a turn for the worse. There are critics but there are many more cheerleaders, excuse-finders and whataboutists.
Secondly, this is not an HN bubble thing. Major publications in both the EU and US have written about the damage companies like Google and Facebook do to democracy, society and individuals. And even if it were an HN bubble, it's about time HN woke up to the malignancy of these corporations.
This is pretty insulting, working at Facebook doesn't necessarily mean you don't have integrity. The majority of the company is engaged in development efforts that aren't related to the odious part of the business to do with brokering personal data.
Additionally, I'm sure Facebook would move away from that if there was a viable way to get people to pay directly for social media. It's not like they're selling data because they're moustache twirling villains, they're doing it because it's the only business model anyone can make work for social media.
Further, it's interesting how Google is in exactly the same business at Facebook, yet receives a small fraction of public hatred for it.
Would you justify working for the Nazis if it was on open source libraries to better enable tracking people?
The top 5 rockstars % (the ones they really want to attract with big money) are the ones taking all decisions.