"Don't do that."
The standard recommendations for buying a house, in my opinion, are recommendations for buying a house you can barely afford. I recommend buying houses you can comfortably afford, and put some extra principal payments in towards the beginning if at all possible. (Especially if you're just starting now-ish... I suspect the whole "but you could have put it in the stock market instead and made tons more money" both looks a bit less appealing than it did a year ago, and may take a bit before it's advice that would turn out well again.)
An HN-specific nuance is that I might as well be saying "don't live in the valley"... you want to call that an exception, eh, go ahead, you're an adult. But in general I recommend that.
(Also, you have to check the area you are in. Where I happen to live & in the price zone I'm in, mortgages are quite a bit cheaper than rent. Though that may not be true in another year!)