A soundtrack to accompany your reading: Spotify TLDR; Search for the ultimate productivity system is bogus. Better time management is possible, but the most beneficial is having a consistent outlook on one’s goals and desires and maintaining a stable energy level. Any task list + calendar covers a lot. Disclaimer The post above is just a personal story, not a manual to action. I (at the moment) don’t have critical areas in my life, such as children....
Making a Sudoku Solver: Having no Idea What I m doing.
I’m easily addicted. Addictions change, but my current ones are Call of Duty: Modern Warfare 3 multiplayer and Sudoku. Considering the latter, I have a soft spot for the mind-numbness and peace it gives me. It’s just you, numbers, and pretty evident strategies to win. At some point, I decided that I needed to quit this ugly habit that breaks the lives of millions of people and causes family splits. I had a spare weekend and not a lot of things to do, so I decided the best thing was to make a sudoku solver....
Anatomy of Graceful Shutdown: Part 2
Part 2: Docker Containers and graceful shutdown Part 1: Signals and Linux Part 2: Containers and signals Part 3: Graceful shutdown of K8S pods [you’re here] Part 4: Django and Gunicorn [WIP] Part 5: Celery [WIP] Part 6: Other frameworks and libraries [WIP] Intro The previous chapter was difficult, and I assumed things would get easier along the way. Little did I know. Instead of discussing the actual graceful shutdown topic, this post will focus more on the overview of the modern state of containers application....
Anatomy of Graceful Shutdown: Part 1
Part 1: Signals and Linux Part 1: Signals and Linux [you’re here] Part 2: Containers and signals Part 3: Python and signals [WIP] Part 4: Django and Gunicorn [WIP] Part 5: Celery [WIP] Part 6: Other frameworks and libraries [WIP] Intro There’s been quite a lot of issues surrounding application shutdowns in my line of work. Connections not being correctly closed, incoming requests being processed when they shouldn’t have been, various quirks around how new deployments affect customers during busy hours....
Python Multiprocessing Quirks on MacOS.
Prelude Currently, I’m working on the product, built around a large Django monolithic application and a bunch of microservices around it. The codebase is quite huge and has a lot of (tens of thousands) tests, that are normally run in a parallel mode in the CI environment. The CPython and Django versions are a little bit stale (3.8 and 3.2 respectively). For local development purposes, it’s well enough to run a subset of tests in a non-parallel mode or to wait for the whole suite to pass during the CI run, but for one specific use case I had to run a parallel test suite locally....
Learning music and the guitar as the never-ending failure.
TLDR; I’ve spent 10 years trying to become good at guitar and music, failed at it almost completely, and now give a last chance before understanding, that the whole stuff is just not my cup of tea. Preface I strongly believe that people nowadays do not share enough the ways they fail in life. Everywhere you look you will see the history of success, social media feeds will make you feel bad for sitting the evenings in front of your TV watching that new anime series....
A Rant on New Bluetooth Headphones
Disclaimer First, let me clarify: This post is not a sponsored advertisement. It’s simply a recounting of my journey and the satisfaction (or dissatisfaction) I derived from it. Any links here are not affiliated and are used only for reference. Recently, I made a significant stride in keeping up with the latest tech trends by upgrading all of my frequently used devices to the USB Type-C standard. This transition, largely influenced by EU legislation and the pressure it put on Apple, has been a game-changer in my tech setup....