30 years ago I recognized that computer programming was the only job I could hope for in the future and as it turns out, non-Americans in general write lousy code and demand for my skills remain high. What I can't understand is our general disregard for our own nation's children; I had the ability to educate myself, which my classmates lacked. So they partied through school while I got on-the-job training during the day while taking college classes at night. I moved up the career ladder from testing to support and eventually, programming.
So continue to invest in yourself and don't let articles like this discourage you from achieving your full potential. It was possible to see the trend and ride the wave.