Sharded Mongo Db in Test Containers TLDR; Recently I had a pleasure to fix integration tests in one of inherited projects from another team. It used to run from 8 to 15 minutes (!!!), failed to run on M1 Apple Silicon Chip and was leaving some mess on machine where it executed. The root of those troubles was setting up sharded MongoDb with use of de.flapdoodle.embed.mongo . After using TestContainers and few tweaks they need around 4 minutes to finish, developers with M1 Apple Silicon Chip are able to run them and they leave machine in clean state.
TL;DR In this post I sum up my recent time spent on Advent Of Code 2021 puzzles. Instead of month it took me 3 months to solve all of them. I share new scars I gained during this period and some findings that weren’t obvious for me before starting (or I knew about but didn’t respect so they kicked my ass). You can check out my solutions here - I am aware that they are far from perfect so don’t hesistate to point out anything that could be done better in PR.
TL;DR This post is kind of a sales pitch of using Command Line Interface in programmer’s everyday work. I list all the things I appreciate in using shell, all my favourite tools, tips and tricks related to console with some description why I consider those awesome. I also share my personal config so anyone can have the same setup on own machine in seconds - just take a look at section about dotfiles Context I don’t know what was your thought process that led you to becoming software engineer, however I remember the moment when I decided to become one.