What if you agree with this article, you
do feel constrained in an unhealthy way by your job in a large organization, but you don't feel that leaving for a small company or startup is an option (or at least not an option anytime soon)?
Well, here's a coping skill that can help you. Focus on doing your duty as well as you can, regardless of the context.
In other words, imagine your boss says that the web app must be written in C++ for political reasons, and you cannot convince him to switch to Ruby on Rails, and you just know that the project would die a slow painful death if written in C++. Well, supposing you are correct, you are in a crappy job: constrained to do the wrong thing and with a boss that cannot be convinced otherwise. And for whatever reason you've got to stick it out through this project.
Focus on being the best C++ web developer in the world. Do the absolute best job you can on the tasks that are assigned to you. Throw yourself into your work 110%. But to do this you have to shift your point of view. You cannot think about this as "wasted effort" since you know the project will ultimately fail. You must think about this as training. You are putting your mind through intense training, keeping your skills sharp, so that when the opportunity finally does come to leave your job (or perhaps a new boss comes along), your mind is in top form and ready to go. Sure, you've probably acquired some less than useful skills for web development (managing pointers) but you've probably acquired and maintained some very good transferrable skills.
Whatever you do, don't give up, because then your skills will atrophy.