My Productivity System Search Failure: Lather, Rinse, Repeat

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....

January 28, 2024 · 10 min · 2004 words · Andrei Sviridov

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....

March 21, 2024 · 9 min · 1842 words · Andrei Sviridov

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....

March 9, 2024 · 14 min · 2895 words · Andrei Sviridov

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....

March 3, 2024 · 25 min · 5229 words · Andrei Sviridov

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....

January 14, 2024 · 8 min · 1639 words · Andrei Sviridov

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....

January 1, 2024 · 11 min · 2329 words · Andrei Sviridov

Book Review Blindsight

Blindsight is when someone is blind and cannot consciously see things, but their brain can still sense and respond to visual information without them realizing it. Even though they are blind in some areas, their brain can still detect and react to things shown in their blind spots, without the person being aware of seeing them. This shows that there are parts of the brain that can process visual information without the person consciously perceiving it....

March 31, 2024 · 5 min · 951 words · Andrei Sviridov