> How do you manage to be productive, not be in a constant state of annoyance?
This is why programming is paid so well. You get paid to bang your head against the wall and live in Google and Stack Overflow. The trick is in the delayed gratification premise, in that you only see the fruits of your labor after a long period of headaches.