Page 11 - Monthly Archives: September 2025
-
Maxim Mironjuk
-
September 13, 2025
A missing translation key or an incorrectly formatted currency amount never shows up in a project's default language, since that's where nearly all development and review activity happens anyway, but it shows up instantly, visible to real customers, in every other, less frequently reviewed language version. Automated i18n tests close exactly this blind spot by systematically, instead of only spot-checking, testing store view switching, translation completeness, and locale-dependent formats.
-
Maxim Mironjuk
-
September 12, 2025
TypeScript ships Partial, Pick, Omit, Record, and several other utility types as ready-made building blocks for type-safe data structures, so developers never have to manually duplicate or keep existing interfaces in sync. Applying these built-in type transformations deliberately cuts redundancy across API contracts, forms, and build scripts, and lets the compiler catch inconsistencies early, long before they surface in production.
-
Maxim Mironjuk
-
September 12, 2025
"Segmentation fault (core dumped)" in the log marks the end of the investigation for many teams instead of the beginning. Yet a correctly enabled core dump combined with gdb and coredumpctl almost always yields a complete backtrace down to the exact line of code. This guide shows how to configure core dumps correctly on Linux, read backtraces, and systematically narrow down typical causes such as faulty PHP extensions.
-
Maxim Mironjuk
-
September 12, 2025
Magento 2 · Design Patterns
Service Locator &
ObjectManager in Magento 2
The ObjectManager is the Service Locator pattern in Magento 2, and at the same time the platform's best known anti-pattern. This article explains why using it directly in production code is forbidden, which exceptions are legitimate, and what correct Dependency Injection looks like.
13 min read
PHP 8.4
Magento 2.4.8
What is the Service Locator pattern?
The Service Locator pattern is a design pattern for resolving dependencies
-
Maxim Mironjuk
-
September 12, 2025
.env files look like plain text files at first glance, but PhpStorm treats them as a dedicated file type with syntax highlighting, inspections, and auto-completion. Used correctly, this prevents exactly the errors that would otherwise only surface at runtime inside the container.
-
Maxim Mironjuk
-
September 11, 2025
Incremental Static Regeneration combines the delivery speed of statically generated pages with the freshness of server-rendered content, by regenerating individual pages in the background once a defined cache window expires, without needing a full rebuild of the project. This article shows how to configure ISR in Nuxt through routeRules, where the difference to SWR lies, and what a practical use case with product pages looks like.
-
Maxim Mironjuk
-
September 11, 2025
Date.now() delivers milliseconds with a precision that is not sufficient for serious performance measurement, and falls into the trap of system clock synchronization. The JavaScript Performance API provides sub-millisecond timestamps, structured marks and measures, a non-blocking observer mechanism, and direct access to Web Vitals without an external library.
-
Maxim Mironjuk
-
September 11, 2025
Instagram Reels and YouTube Shorts look interchangeable at first glance as variants of the same short video format, but they work on fundamentally different discoverability mechanics. While YouTube Shorts benefit directly from the text based search index and tight Google integration, the visibility of Instagram Reels depends almost entirely on the internal recommendation algorithm. This article compares both formats on a solid technical basis, highlights typical cross posting pitfalls, and offers a practical decision guide for allocating resources within a team.
-
Maxim Mironjuk
-
September 11, 2025
docker stack deploy turns a familiar compose file into a complete, highly available Swarm stack, including networks, volumes, secrets and configs in a single rollout. Knowing the differences between local compose and stack deployment helps you avoid the most common pitfalls when moving from development to production.
-
Maxim Mironjuk
-
September 11, 2025
Not every team uses GitLab's own Kubernetes integration. Often a plain kubectl call directly from the pipeline is enough, as long as the kubeconfig and access rights are configured cleanly and safely. This article walks through the full path from the kubeconfig variable to a verified rollout.
-