After extensively using the #lens#Haskell library for half a year at work I have now played around with the #optics library again. I am amazed by how much more helpful error messages are with #optics. It’s an amazing library and I would recommend it over #lens whenever you have the choice.
“Our results suggest that improving code maintainability from very high to excellent pays off. The returns in the upper end of the quality spectrum are not diminishing — they are increasing. This underscores that exceptional code quality is not only a developer’s vanity metric.” — https://arxiv.org/pdf/2401.13407.pdf (PDF)
Jesus, I knew nixpkgs were a huge and well maintained repository, but not that it’s to that level, sorted by project up to date the top 6 repos are all nixpkgs, including 4 deprecated versions.
software jobs are either 'you'll be writing verified machine code for pacemakers keeping thousands of people alive' or 'we need someone to add buttons with rounded corners to our website' and they both pay the same
@eh you know about "nixos-rebuild test"? Switches to the new configuration, but doesn't set it to boot, so if you can trigger a reboot remotely, that would be enough to recover from a firewall incident.
@chris__martin "Has One/Has One or None/Has Many/Is a Kind Of"
It's almost the exact same set of relationships you'd have in a UML Class diagram, except they're evidenced because the optics are actual real values, rather than a line on a whiteboard
It drives me nuts when new multi-use (bike/ped) paths are designed like this. Why is it curvy? People just want to #bike and walk in a straight line. Is there some planning class teaching them to design it like this? 😂 #BikeTooter