I agree that the H1B train is a red herring but I explained in my comment how AI has enabled mediocre talent to become more effective. Effective enough where they are "good enough" for what most companies need.
One of the reasons why offshoring was difficult was that asynchronous work wasn't the normal, so what a lot of companies would do is give the uninteresting pieces to the offshored teams.
That's taken a 180 in 2026. Google, OpenAI, Meta are building core infrastructure and software out of India. They don't even have to pay H1B rates.
Tech was already moving towards asynchronous working, expedited post COVID but AI just exponentially accelerated asynchronous work. Bulk of the software in 2026 has been written, reviewed and tested by AI (whether the HN crowd likes it or agrees with the practice, or not). All asynchronously.
These two factors have come together where the average tech worker out of SF is not longer very valuable - companies are just hiring equally talented workers out of Austin or Vietnam, for way cheaper, assisted by token spend.
The highly skilled will continue to get hired but the median worker out of San Francisco is being replaced