Over the years, as a software developer, freelancer and now lead developer software architect, I have come to the conlusion that, on balance, the methodology called scrum is a bad idea in the long term. In this post, I will try to explain why.
I had a server running Mariadb or MySQL within Docker on top of Btrfs. It ran happily for a while, then got so monumentally corrupted that it was not possible to restore it. I could not dump the data from the docker container because it was impossible to start docker itself, but I was able to make a copy of the mysql directory, so once I had restored the server itself (nixops <3) I had to figure out how to restore the database. In the end, it turned out to be quite simple.
How to fix the "PHP stream_filter_prepend cannot find iconv filters" message in PHP
To be more efficient, Laravel can optimize its files, by putting certain classes in `bootstrap/compiled.php` to allow the framework to load all of them in one go. The standard composer.json includes a call to `php artisan clear-compiled` as a post-update and post-install command, which has the effect of removing this file. Unfortunately if the updated files are incompatible with the old ones that were just replaced, this can lead to the following error: