If it’s a motivation issue, you will need to figure it out on your own. I could give you some advice but motivation depends on a specific use case. If you want I can share what motivates me but there’s no guarantee it will work for you.
As for getting back on a tech horse, there’s a trick I’ve been using every time I was learning a new thing and it worked every single time. I start with a project idea. I write down the major goals I want to achieve and start working on it. At first I do the “quick start” adjusted to fit my project. It usually ends up with a working proof of concept and a list of things I don’t know/understand. Next, I learn about the those unknowns and update the project with what I have learned. This raises more unknowns which leads to more things to learn about. After few iterations, when I’m happy about the project, I start a new, more complex project. And so on.
It’s a complex and polarising issue. The main problem is that some, sometimes most, of immigrants don’t want to assimilate. They are creating ghettos, don’t respect local laws. Other issue is that governments prefer to spend tax payer money for accommodating immigrants instead of solving nation’s issues.
I wouldn’t limit immigration per se. I would limit unchecked illegal immigration and spend more money on assimilating immigrants that want to contribute to a country they moved into.