Insulate your house with cash as much as possible, I understand better than most that saving is possible sometimes and not others, but to the degree possible? Stack it up.

Cash on hand is leverage in tech employment just like anywhere, but amolified during periods of structural demand shift. If one can get a year or three of easy runway, one can reskill/upskill into stuff with demand shifting into it. Right now I'm screwing around with Jetson boards and stuff like that: LLMs may cone and go but robots are here to stay.

And even the BATNA of "I'll go do OSS full time for a year" is leverage with your current employer. People with options are less likely to be fucked with in the first place.