Page 7 - Monthly Archives: July 2025
-
Maxim Mironjuk
-
July 24, 2025
Approval rules make sure code review does not depend on individual good will but is technically enforced, with CODEOWNERS integration, minimum approval counts, and clear rules for exceptions.
-
Maxim Mironjuk
-
July 24, 2025
Anyone parsing Claude responses with regular expressions or text search is building a fragile integration that breaks the moment the model phrases something slightly differently. JSON Schema combined with tool use turns structured output into a reliable contract between application and model instead of a guessing game with free text.
-
Maxim Mironjuk
-
July 24, 2025
Passwords share one structural flaw: the server and the user hold the same secret, and every place that secret ever gets typed or stored becomes a potential attack surface. WebAuthn solves this at the root by replacing shared secrets entirely with asymmetric public-key cryptography. Understanding why passkeys are not just more convenient but structurally more secure than passwords requires walking through the registration and authentication ceremony in detail.
-
Maxim Mironjuk
-
July 24, 2025
Docker Desktop is the standard entry point into containers for many development teams, but since 2021 larger companies fall under paid licensing terms. Teams that do not know the criteria risk either unnecessary spending or a license violation, and by now several mature alternatives exist that are more than sufficient for many teams.
-
Maxim Mironjuk
-
July 24, 2025
On catalogs with several hundred thousand SKUs, the catalogsearch_fulltext indexer quickly becomes an operational bottleneck: full reindex runs take hours, the cron job blocks other jobs, and PHP workers hit their memory limits. This article shows how batch size, partial reindex strategies and the Elasticsearch Bulk API work together to noticeably improve indexer performance on large catalogs.
-
Maxim Mironjuk
-
July 24, 2025
Anyone who writes shell scripts without error handling and clear patterns builds technical debt into their automation. set -euo pipefail, trap, arrays, and job control replace fragile ad hoc scripts with traceable, maintainable Bash patterns that also run reliably in CI/CD pipelines.
-
Maxim Mironjuk
-
July 24, 2025
Chain-of-thought prompting encourages Claude to break complex problems into traceable intermediate steps before producing a final answer. For multi-step debugging, refactor planning, and architecture decisions, this technique measurably improves accuracy and makes the reasoning verifiable by developers. For simple, well-defined tasks, the same method wastes time and tokens. This article shows concrete prompt patterns and the practical limits of the technique.
-
Maxim Mironjuk
-
July 24, 2025
An offsite backup is the copy that survives a fire, theft, or ransomware infection at the local site. The 3-2-1 rule gives a simple but effective formula for this: three copies of the data, on two different media types, at least one physically separated from the main site. This article shows how to implement that rule on Linux servers in an automated, encrypted, and monitored way.
-
Maxim Mironjuk
-
July 24, 2025
Modeling application state with several independent boolean flags risks contradictory states at runtime, such as being loaded and failed at the same time. Discriminated unions solve this by giving TypeScript a shared tag field that automatically identifies the exact state, so impossible combinations are ruled out at compile time and the editor only suggests fields that are actually valid.
-
Maxim Mironjuk
-
July 23, 2025
Accessibility isn't an optional extra, it's a legal requirement and a quality mark. Alpine.js makes it easy to keep ARIA attributes reactively in sync with UI state: aria-expanded follows the toggle state automatically, aria-hidden gets set dynamically, and focus traps keep keyboard focus in the right context.
-