byteauthor.comMaking the monolith testableTo write reproducible and isolated tests, we need two things : Isolate global mutable state to the same scope as the test. Either the state can be scoped to the test or the test needs to isolate that global state. Control the inputs and outputs of a...Apr 9, 2022·4 min read
byteauthor.comGo slow and break thingsIt takes one person to change a lightbulb. Maybe a second person to hold the ladder. Any more people assigned to the job will slow it down. Go slow Assigning too many people to a project is a pernicious way of slowing it down. The number of people on...Jan 22, 2022·3 min read
byteauthor.comWho's talking to my cloud?It's the second time we get into this situation. It always begins the same. Someone says : "We'll do authentication after proving the design". Then a few months into the project, it's time to implement authentication. It takes a few weeks to sync all...Jan 8, 2022·2 min read
byteauthor.comChanging development machine on WindowsAnything I work on is either natively in the cloud like design documents and emails or it has a common distributed backup strategy with a few hundreds of replicas. I mean git repositories... Everything else is transient on this machine, from unpubli...Dec 18, 2021·6 min read
byteauthor.comSudoku solverThis is an old post from August 9th, 2010 I recently had to build an optimized Sudoku puzzle solver for a homework which turned into a contest between students. I was part of a team of three and we competed again six similar teams… And we won! Here, ...Dec 18, 2021·8 min read