Cleanly isolated work that can be shipped anywhere in the world is like making plastic widgets, it's a race to the bottom in terms of wages. So as a general rule it's the messy, on-site, highly iterative and negotiated work that pays the kind of money no one is willing to believe on HN.