Yeah that happened to one of my best pals from college too, 25 years in the industry sweating 60-hour weeks, then he was laid off just as the H-1B’s were brought on-board and the rest of their positions were outsourced to Bangalore. Then in the ultimate insult, he had to train his own rude, arrogant replacements shipped straight in from Mumbai and a couple other cities. The one bit of satisfaction about it is that he got his revenge, striking at the backstabber firm wherever possible as word spread to boycott whatever they put out- a good thing anyway since the H-1B hires from India and Pakistan couldn’t code their way out of a soggy paper bag. This ruined whatever they put out, which practically any stupid outsourcing company is finding out these days. In this case, the price for this short-sightedness was especially harsh: the company wound up declaring bankruptcy.
That’s what it takes when up against this corruption, especially when you’ve gotta keep the roof over the kids’ heads back home- hardball and getting nasty. The most successful anti-H1B efforts thus far have somehow found a way to boycott anyone doing business with Wipro and Infosys and the other bodyshops out of India, including at one point smothering Microsoft itself when a whole town went to Linux and sent the business in that direction for its neighbors. I guess the supporting expertise for Linux and the software ports are good enough that for once, that’s a realistic option on a mass scale.
These imbecile firms (Microsoft and Amazon chief among them) also don’t seem to realize that a lot of the software produced by foreign labor will be stolen, given to foreign competitors and governments, or be opened up to hackers.