I think the most important thing for me was finding a mentor. I was fortunate enough to get an internship at a startup with little programming experience (possibly out of a sheer determination to learn).
The engineer I paired with was able to answer all of those early "roadblock" questions — the ones that you can't really Google since they seem so obvious to someone with experience that no one writes about them (this was before Codeacademy, etc.).
Anyway, finding a mentor can be tough, but I've generally found that friends who program are pretty eager to talk about it or willing to help out. I've been programming for a while and I'm still learning stuff all the time.