The "10-page anti-diversity screed" that got a Google employee fired this week is a prime example of many, many societal ills. Besides the larger issues of systematic oppression, workplace harassment, and misogyny and racism that are rampant in the tech industry at large, there's a simpler lesson to be learned here:
If you'd got a company-wide message board, blog, or Slack channel, maybe use some common sense before blasting something out to the entire staff, including your bosses?