Maxim Mironjuk | Page 229
Posts by Maxim Mironjuk
-
Jul 4, 2025
Constantly jumping between a feature branch, a hotfix, and a pull request review wastes time on stashing, switching, and waiting for freshly installed dependencies. Git worktree solves this structurally: multiple branches at once in their own directories, one shared repository, no lost context, and no interrupted work.
-
Jul 4, 2025
Pipeline aggregations do not run over individual documents, they run over the results of other aggregations. That lets trends, moving averages and cumulative sums be computed directly in the query, instead of rebuilding them in application code where they are error-prone. Confuse sibling and parent pipelines, and you get aggregation errors or incorrectly nested results.
-
Jul 4, 2025
Every CI pipeline that reinstalls dependencies or rebuilds artifacts from scratch on every run wastes time and money. A Bash script that consistently derives its cache key from a checksum of the relevant files ensures a cache gets invalidated automatically the moment something changes, and reused reliably otherwise.
-
Jul 3, 2025
CI/CD variables are the configuration contract of every GitLab pipeline. Get SSH keys, Composer auth tokens and ENV files wrong, and you risk exposed secrets, broken builds and unclear environment separation. This article shows how to set up variables in GitLab correctly, scope them properly and consume them safely in pipelines.
-
Jul 3, 2025
A mini-cart that updates only visually leaves screen reader users unsure whether a product was actually added. With a correct live region, full keyboard operability and clean focus management, the flyout becomes usable, testable and WCAG compliant for every visitor alike.
-
Jul 3, 2025
The Supply Chain Due Diligence Act, known in Germany as the Lieferkettensorgfaltspflichtengesetz or LkSG, requires large companies in Germany to respect human rights and environmental standards in their own business operations and along their supply chain. Many owners of smaller online shops believe this law has nothing to do with them, because it officially only applies to very large companies. In reality, small retailers can be indirectly affected as soon as they supply products to larger business partners or sell imported goods from countries with elevated risk.
-
Jul 3, 2025
The moment a team senses that working through a security incident will end with naming a guilty party, behavior during that process changes: details get withheld, timelines get smoothed over, and uncomfortable questions get avoided. A blameless postmortem consistently shifts the focus away from who made a mistake and toward what conditions made that mistake possible in the first place, and that shift demonstrably produces more honest, more complete reports.
-
Jul 3, 2025
1fr sounds like a simple, flexible share, but it does not behave the way it looks. Grid items carry an implicit minimum size that can be larger than their fr share, and that exact mechanism produces the overflow bug that makes minmax(0, 1fr) the real default, not just an optimization for edge cases.
-
Jul 3, 2025
A natural key like an email address or a product code looks tempting during the first schema draft: it is already unique, it seemingly saves an extra column, and it makes foreign keys more readable at first glance. The problem only shows up later, when that exact business value needs to change, a case that occurs in practically every long-lived system eventually. This article explains why natural keys are structurally fragile as a foreign key target, how a stable surrogate key resolves that fragility, and walks through a realistic migration to show how expensive the fix becomes later.
-
Jul 3, 2025
Expensive state updates block the main thread and freeze inputs. useTransition marks updates as low priority so React can render them interruptibly, inputs stay responsive, and isPending signals the loading state without useState overhead.