I think you're missing the point. I will be staying in Palo Alto full-time. I won't be commuting to LA very often.
I can understand wanting to be in SV for the networking opportunities and so on. But you can code anywhere, including in your home in LA, and the results will be the same.
SV is a fantastic place to create a startup, but it isn't the only place you can ever do it- I'm in NYC and plenty here have no trouble. Presuming that the only reason you haven't been successful is because you haven't got to SV yet is a very dangerous path of thinking.