Sorry, I really meant refactor here. I did ask it to optimize code, and it came with a suggestion of trimming down my function into a smaller chunk and creating a new function. So it actually refactored it TBH, but I am going to try how I can check if it can optimize code too.
Write unit tests, document code, optimize code, explain code. I've tried Python functions and React code. It even converted a class based React component to a functional style component!
While programming in Elixir, iex. I spend most of my time in the REPL, testing my functions, learning new features, and of course the recompile command!
I'm using a ThinkPad E480, with 2 monitors attached. Lubuntu 19.10. It's my main dev machine running Postgres, VirtualBox, Elixir, Node, etc. Battery is still amazing after 4 months.
I've always wanted to buy a MacBook Pro, mostly for music production, but the ThinkPad is a fine beast by itself. For music, I use Studio One 4 on Win 10.
I'm currently reading Statistics for Dummies, and these kind of techniques used i.e. wrong scale, incorrect starting point, etc is explained very well. Highly recommended.
I use Ansible via the API. I want to do it Python 3. I moved the ansible directory from /usr/local/python2 ... to /usr/local/python3 and then squashed out any bugs by hand.
It works! I'm using Ansible via the API in Python 3!
I used Arch Linux around 4 years back. I did a routine upgrade and it broke my system.
What is this rolling release fiasco? Even Ubuntu, which I use now has a "release" (technically an pt-get upgrade), almost every other day. But I've never had it break my system. If you keep your Ubuntu updated a dist-upgrade works just fine.
I might try Arch again, but for now I'm sticking to Ubuntu.