Maybe if everyone's, say, getting a $1000/mo UBI...
And if all the still-unemployed former coal miners in town have $1k/mo instead of $0/mo, there is much more opportunity for former coal miners (and everyone else in town) to offer them services.
It doesn't have to be from coal miner to software engineer, or some kind of massive transformation. Skills training and education for adults is more than that, IMO.
It's like saying no one will regret learning to farm or hunt. They're essential should for some of us but we become incredibly inefficient as a society if we all try to learn all of the important skills.
When the time came that my profession sort of blended in with data science (or rather that data science became a part of it and we'd rather keep the domain experts), I had/am having a great time. So I understand the tunnel vision.
The thing is that people have different talents and inclinations. Despite the outstanding role of economic necessity, liking or even being proud of something about one's work life is a psychological necessity that has to be much more common than enjoying code. I see construction workers on top of tall buildings to be, looking into the sky -- they must like this feeling, or the endorphins of hard physical labor, or the fact that something so tangible and durable is coming out of their muscle aches. Or something. There are easier ways to make a lower-class wage than work on top of buildings.
I don't like dealing with new people a lot, so I would be miserable working the cashier in a 24/7 store. But there has to be some psychological return to this work. Despite people resenting it and sort of being stuck for economic reasons.
Would these people have the same sense of accomplishment and belonging-in-the-world as middling coders in the typical death-march situations coders experience in real life?
All 3 are popular with the HN crowd. Not surprising.
Trump's populist promises to keep the coal mines open and auto factories rolling and dial the American economy back to the 1950s won't work, the world has moved on. Reeducation and retraining won't work at scale, especially not in the US where education means an unpayable private debt in many cases.
So if not UBI, then what?