Maxim Mironjuk | Page 230
Posts by Maxim Mironjuk
-
Jul 3, 2025
Conditional aggregation combines CASE WHEN or the FILTER clause with aggregate functions to compute several conditional metrics in a single pass over a table, instead of writing one query per metric. This article shows how conditional aggregation makes dashboards and reports faster, more maintainable, and clearer, and which pitfalls around NULL values and data types typically show up.
-
Jul 2, 2025
Working on the move on a train, in a café, or with switching WiFi regularly pushes classic SSH to its limits: every IP change or brief interruption ends the connection. Mosh solves exactly this problem with a UDP based protocol that transparently survives connection drops and network changes, while local echo makes it feel noticeably more responsive than SSH.
-
Jul 2, 2025
A Git workflow that only lives in a wiki page changes no developer behavior. Only once branch names, commit formats, and review rules are enforced through hooks, CI checks, and thoughtful onboarding does a good intention turn into a lived convention that stays stable even as the team grows and people change.
-
Jul 2, 2025
When an Elasticsearch or OpenSearch cluster suddenly slows down, aimless trial and error rarely helps. This checklist combines slow log, hot threads API, pending tasks and queue rejections into a systematic diagnostic path that finds the actual cause of a performance problem instead of just treating symptoms.
-
Jul 2, 2025
Star ratings look like a trivial component at first glance, but once half stars, an interactive input with a hover preview, and an accessible implementation are all required at the same time, there are more detail problems hiding inside than expected. This article shows how to cleanly implement both the read-only display of an average rating and the editable input variant with Tailwind CSS, including precise rendering of half stars and an accessibility approach that does not rely on visual stars alone.
-
Jul 2, 2025
Variadic tuple types allow the spread operator at any position inside a tuple type, not only at the end. This makes function signatures for currying, generic tuple concat, and typesafe event emitters possible, something that previously required many manual overloads or a fallback to any. This article shows the syntax, three practical examples, and the boundaries of tuple inference.
-
Jul 2, 2025
Once a GraphQL schema is developed by several teams in parallel, a single monolithic API hits its limits. Apollo Federation, GraphQL Mesh and Cosmo solve that problem in fundamentally different ways: through subgraph composition, through a gateway in front of arbitrary existing systems, or through an open router implementation without vendor lock-in.
-
Jul 2, 2025
React Hook Form advertises avoiding unnecessary re-renders by managing input fields uncontrolled through refs instead of state. That exact advantage disappears quickly, though, the moment watch() enters the picture, since the value this function returns triggers a re-render of the entire form component on every keystroke, while the dedicated useWatch() hook solves exactly this problem in a targeted way.
-
Jul 2, 2025
Star ratings in Google search results noticeably increase click-through rate, but Google's review schema policies are strict and actively enforced. Marking up reviews without visible content or borrowing third-party data risks losing rich result eligibility entirely. This article shows how to build Review and AggregateRating schema correctly, integrate it in Magento, and keep it within guidelines long term.
-
Jul 1, 2025
A commit is content immutable once created, any later change to the commit message produces a new hash. Git notes solve this problem by storing additional information in a separate, referenced namespace that is loosely linked to the commit without touching its identity.