Back around 2002 we built an IRC bot that logged everything in a channel, built up a frequency table of which word follows what word and then randomly would spew out some text using a random walk of the frequency tables and had some logic for when to stop (I think probability increased with sentence length).
Sometimes it came up with very funny stuff, but mostly non-sense.
On Desktop I am perfectly happy running Debian sid again after a long detour to Mac OS X until it got enshittified too much. Ubuntu is interesting for enterprise use though, the microcloud and LXC/LXD stuff is at least worth considering if starting to build things up on bare metal. Containers are relatively easy with Nomad/K8s, but if you want to spin up your own VM layer (OpenStack?) then I would consider Ubuntu before going to Nutanix and others
I had a license at 16, but did not renew it for 24 years, so I managed to get my license again at age 39. It's not too hard, takes a while to get used to rush hour traffic situations, driving on a highway is more relaxed and easier. Maybe the first couple of months I suggest driving extra carefully at intersections/left turns until more familiar with possible dangerous situations.
For me if I get into a topic (like 2-3 hours focus time) then interruptions are OK, I won't drop context until end of the day.
If the interruptions happen early in the morning so I never have the 2-3 hours boot up time, then that day is pretty much a zero from lines of code produced perspective.
Note: if it's some trivial boilerplate code then I can even be productive without booting up and with constant interruptions, this only applies to things I don't know how to do and need to research/think