You just discovered the field of calculus! If you look closely enough at any smooth function it looks locally linear, and the slope of that linear function is it’s derivative
Not quite what’s happening here, here the problem is if you consider geodesics on a sphere to be straight. In special geometry they are, for all intents and purposes, but in higher euclidian geometry they form large circles
For me it’s probably the way I self-host overleaf, a online LaTeX editor. The community version has a docker image that’s horribly maintained (because they want to sell enterprise, I reckon), and instead relies on a horrendous amalgamation of setup scripts that wrap docker compose.
What I have is a Dockerfile that pulls the image, manually installs a second version of TeX with the right dependencies, unlinks the old one and links the second one. Then for the database, it uses Mongo replsets, which be to be manually initialized. So I wrote a health check for the container that checks if the repl set is initialized, and if that fails the health check initializes it.
It’s horrendous, it’s disgusting, and it’s an all-in-one compose file to get overleaf running. Good enough.