Maxim Mironjuk | Page 239
Posts by Maxim Mironjuk
-
Jun 20, 2025
String.split(' ') fails on emoji, Chinese characters, and composed characters. Intl.Segmenter splits text in a language aware, rule compliant way, with no external library at all.
-
Jun 19, 2025
The checkout is the most business-critical page in any online store, and it is exactly where accessible interfaces fail most often. Blocked progress indicators, invisible error messages and keyboard traps in the payment step cost paying customers and open legal exposure under accessibility law. This article shows how to systematically audit, test and implement every single step of the checkout process for Magento and Hyva.
-
Jun 19, 2025
A database with low CPU utilization can still respond drastically slowly, because sessions are actually waiting on locks, disk IO, or the network, not on free compute time. Wait events make exactly that invisible wait time measurable and categorizable. Systematically distinguishing lock waits from IO waits leads to the actual root cause, instead of optimizing past CPU or memory metrics.
-
Jun 19, 2025
Cross-Site Scripting has been one of the most common vulnerabilities in web applications for years, letting attackers run their own JavaScript in another user's browser. This article explains the three XSS types, reflected, stored, and DOM-based, shows how unescaped output turns into executable code, and delivers concrete protection through context-aware encoding, Content-Security-Policy, and the escaping helpers built into Magento and Hyva.
-
Jun 19, 2025
Multi tenancy decides whether a SaaS application safely separates data from hundreds of tenants or one day risks a data leak between customers. This post compares shared schema with tenant_id, schema-per-tenant, and database-per-tenant by isolation, migration effort, and resource isolation, so the decision rests on real criteria instead of gut feeling.
-
Jun 19, 2025
TypeScript allows generics over concrete types, but not generics over type constructors themselves. A function that works equally well for any container type such as Array, Option, or Promise cannot be written directly. Through a technique called defunctionalization, known as the URI pattern from fp-ts, this missing feature can still be simulated in a practical way.
-
Jun 19, 2025
Every Linux process carries a unique PID and points to its parent via its PPID, which naturally forms a traceable tree of parent and child processes. This article shows how to read that tree with ps and pstree, why orphaned processes get reparented to PID 1, and how to track down and terminate a hung PHP-FPM worker in practice.
-
Jun 19, 2025
Anyone who treats kernel modules as a black box is missing one of the most useful diagnostic tools on Linux. lsmod, modinfo and modprobe show which drivers and subsystems are actually loaded, how dependencies between modules get resolved, and how to load, remove or permanently block a module without ever recompiling the kernel.
-
Jun 19, 2025
When frontend and backend define their own independently maintained types for the same API, both sides eventually drift apart, and the bug only surfaces at runtime for the customer. A shared contract package in a TypeScript monorepo makes such deviations visible at compile time instead.
-
Jun 19, 2025
An automatically generated invoice PDF from Magento looks correct to sighted customers, but to screen reader users it is often just an unstructured collection of text fragments, or even a plain image with no recognizable text at all. This article covers what the PDF/UA standard concretely demands, how tagged PDFs differ from scanned images, and how to rework Magento invoices, catalogs, and data sheets into accessible documents step by step with Adobe Acrobat and the PAC checker.