Soma or North Beach
lacker: I'd recommend the Haight (upper) or the Mission (closer to 24th than to 16th). They're good places to live, and you can get to anywhere else pretty easily. There will be techies wherever you go in SF.