You can avoid many of these places if you let the recruiters, HR and interviewers know that your looking for a place with good work life balance. It is hard to find good companies to work for in the bay area, but there are a few that exist. Make sure you read the glassdoor reviews: don't pay attention to the star rating (those are completely messed up), but the truth tends to come out in the writings, especially the longer reviews. Read those very carefully. If the place is toxic, it often comes out.