That is a bit overkill and lacking in energy efficiency and sustainability, though. A more environmentally conscious solution would be for western nations to bring back some French innovations from the centuries ago such as the bidet followed by the trebuchet.
1. Read this great "Surviving A Layoff" essay [1] and build a plan for yourself.
2. Take the time to level up on one or two foundational skills whose barriers to entry are combinations of tenacity and intelligence, or tech stacks that are very close to a foundational skill. Something like "Fart App Framework" is not a foundational skill because it becomes obsolete in a very short amount of time. Things like mathematics, statistics, hard sciences, cryptography, security, etc. will carry you through the rest of your career and create a moat.
3. Network, network, network.
4. Remind yourself that nothing lasts forever, that you're not in control of everything, that feelings of safety/security are merely feelings, and that the root of all suffering is attachment. If something's making you feel anxious or vulnerable, ask yourself why until you get to the bottom of it.
5. If you're consistently having negative thoughts, frame this experience in terms of gaining something (resilience, experience, wisdom) rather than losing something.
For 1), foundational skills don't help at all apart from being able to solve LC problems. For me solving LC is a breeze but then they ask if I know their favourite stack and how well I know it. Now you need to know React, Redux with online non-trivial project in that to even be considered for interview. DB indexing is a common question as well. Web security pops up as well.
In my opinion just focusing on React/Redux is a lot better than review of algos and this is for no-name companies as well.
The thing is for tech jobs you really need to know a lot. Algorithms don't cut it anymore unless you went to top 10 school and can secure a FAANG interview where they only ask those.
The skill inflation is real. It gets more and more competitive. Nowadays they expect you to hit the ground running.
Foundational skills can mean different things. In your example of React/Redux the foundational skills means learning things like how the JS Eventloop works, browser APIs, Layer 7 networking protocols, etc. i.e. the underpinnings of what React/Redux relies on to work correctly rather than just learning how to write a bunch of stuff on top of React without fully grokking the what/why of what's happening.
All of the aforementioned skills are broad and will allow you to pick up new things a lot faster because you understand the foundations vs just being shoehorned into being "$Framework Engineer"
> 2. Take the time to level up on one or two foundational skills whose barriers to entry are combinations of tenacity and intelligence, or tech stacks that are very close to a foundational skill. Something like "Fart App Framework" is not a foundational skill because it becomes obsolete in a very short amount of time. Things like mathematics, statistics, hard sciences, cryptography, security, etc. will carry you through the rest of your career and create a moat.
I've understood this for a long time, and especially over the last year of unemployment it's seemed more and more relevant, but I've never been able to figure out how to do it.
The thing about building your career on "Fart App Framework" is that it's feasible to break into it no matter your background. This sector of software development does not have a lot of gate-keeping, not only in the sense of academic credentials, but also in the availability of entry level work. It's not uncommon for someone to be able spend some time learning "Fart App Framework" to the point where a company considers them skilled enough to employ them.
But for most of the suggested foundational skills I don't think I've ever seen entry level work available. I've definitely seen jobs for developers in the hard sciences, statistics, etc., but more than often they're looking for an established domain expert, with an established history in a particular niche. My understanding is that the early experience in these industries is gained through things like getting the right internship or going through the academic post-grad grind, things not usually accessible to people outside of academic institutions.
To expand a little more concretely, I've occasionally seen over time job listings in some of the suggested areas. Most commonly, I see jobs looking for a developer in [hard science]. The impression I get from most of these jobs is that they're looking for "[hard science] PhD who can write code" or at least "Developer with 10+ years of experience writing code for [hard science]". The often tend to be more specialized that just [hard science]. While I could hypothetically spend years of my life trying to learn and work on projects in [hard science], at the end of the day without any relevant degree, "real experience", and with my professional history (and thus majority of my resume) screaming "Fart App Framework developer" am I really ever going to be competitive with people who do have those things? The market is much smaller than that for Fart App Framework developers anyway. I've focused in hard science here, but I think the same about mathematics, statistics, cryptography, etc.
Security seems to be the biggest outlier. I don't want to waste too much space talking about security work and its many forms, but in any form, it seems to be much more accessible for people without a "correct" background, more like general software development.
The real problem with previous efforts for finding extraterrestrial life wasn't the technology, it was the lack of competition plus the open ended and uncertain goal. A seed rounds of $50M should be given out to two groups of competing researchers: One group tries to find evidence of extraterrestrial life, and the other group tries to find evidence of the abominable snowman in the Tibetan mountain ranges. The first group to make a discovery takes home the remaining $100M and settles the SETI vs. Yeti debate once and for all.