SF is definitely where the social scene in, through there are lots of hackathons etc in the Peninsula. Check out the Hacker Dojo in Mountain view, for example. I personally settled in San Mateo just to be in between SF and Mountain View / Palo Alto, trade-off between location, rent, quality of life, etc. Feel free to ping when you settle.