One point I wanted to reply to:
> But higher up the food chain, where you're at the end of the market where you actually DO stuff like write original javascript, or develop some new server platform, or whatever it is on that end of the spectrum—those jobs aren't going anywhere for awhile.
I agree, but I feel this part of the market is shrinking as more people squash into it. More and more of my current clients - and I could well have ended up in a backwater of sub-$18000 projects - are considering that 'good enough' is good enough while money's tight and there's a recession on. Perhaps the interesting jobs will move away from agencies and into the tech players (Google, Facebook, Oracle etc), and the self-employed market will struggle as anything other than contractors?
Despite what I hear myself say I know other industries have gone through this doom-and-gloom over the last few centuries, and not all have become like manufacturing...
AFAIK, no other entity is able to do so, and therefore we are an essential part of the universe, giving it an entirely different ontology. You could eradicate some kind of bacteria, and the universe wouldn't change of essence. If you eradicated humanity, it would (at least, until and IF, it can evolve another sapiens sapiens specie, which is probably, but still seems to take a lot of time, even at the scale of the universe).
But even without taking into account those mechanistic considerations, as a human agent, you can choose to build around yourself (and ourselves), any kind of society you want. So the question is whether you want to build a Nietzschean or a Christian or some other kind of society. Do you want the rule of the Jungle, or do you want some kind of higher civilization? Do you want the brutal application of natural selection, (don't provide any medical care, let the strongest survive and multiply), or would you prefer to let the humanity choose its evolutive path, by applying artificial selection and having even ill-fitted members survive and prosper?
Finally, occidental civilisation, ie. greco-roman civilization, always has been about, and been developed by, citizen having a lavish life of leisure and culture, provided by hordes of slaves. Thanks to the judeo-christianism influence, we now know that slavery is bad, and thanks to the technical progress, we're about to be able to replace it entirely by robots and other computerized systems. The result is that instead of having 2000 citizens, we'll have seven billion citizens, and instead of having a million slaves, we'll have trillions of little robots and computers, to provide us the leisure and culture we want.
But if you're looking for jobs where your likelihood of being outsourced is negligible, look for the ones that are hardest for machines to do. These, by the way, aren't necessarily those at the top of the knowledge spectrum. Doctors as a profession, for example, will eventually fall to machine learning systems like Watson, and medical school will become more a technician's school than anything else. Nurses, however, perform a wide variety of functions that are difficult to automate safely, nor can they be offshored. Its difficult to outsource sticking a needle in someone.
Last thing: I'd argue with the idea that web development is commoditized. At the lower end of the spectrum, sure—tons of wordpress themes out there, its easy to offshore something like that, basic development provided by good software. But higher up the food chain, where you're at the end of the market where you actually DO stuff like write original javascript, or develop some new server platform, or whatever it is on that end of the spectrum—those jobs aren't going anywhere for awhile.