Plan B was to treat it temporary like it is, avoid lifestyle inflation, save and invest such that you won't be impacted when the job market comes back to earth.
There will always be jobs in tech, but what will change is how well paid they are and how enjoyable they are. If you're not dependent on it for survival then those two things matter less, and you can even look to career switch into something more "normally paid" if the enjoyment factor starts to weigh on you. I don't get the family & friends part with layoffs - your concern should be you and your dependents (a subset of family).
Not sure why you're lumping in layoffs with wars here, the two are very different scenarios. I don't think you can really plan for war in any meaningful way except for ensuring your financial, mental and physical health is as good as it can be. Preppers are probably just trying to sell you something.
About the family, I really mean your primary family, wife and kids. The friends part is more to put the question to everyone and not only those who have families.
English is not my primary language, so sorry if the question was badly formulated.
Have six months worth of your expenses in a savings account. Do not have it in investments because their worth can collapse very fast (market downturns coincide with massive amounts of layoffs).
I think it's very difficult to stay with a company for a long time today. But if your goal is to make a living through earning money, the difficulty of this thing is still acceptable.
At the same time, I have been saving money for investment for several years. Currently, I have about $50,000 for investment. So relatively speaking, I feel quite at ease, not to the point where my family's economy would collapse immediately after being laid off.
There are 2 big issues with that approach:
None of them are commercial. Even if I got lots of visitors, I would still need a job.
Everyone is trying to build new stuff now. Even though mine are niche and aren't trying to steal your money, they get hidden under a massive pile of other posts with a very low probability of even getting noticed.
So, I guess I should have answered your question with "no, but trying" :(
What about you?
I am going to take a look at the Wunderkammer.
Really though these layoffs have been more than 20 years in the making. There are some incredibly brilliant people out there writing original solutions to challenging problems. And there are people who cannot do more than put text on screen using a JavaScript framework. There are so many people hired to write software who cannot write software.
plan B definitely is no-computers. though ill keep my hobbies ofc :)