Page 154 - Mironsoft Blog
-
Maxim Mironjuk
-
October 13, 2025
execCommand('copy') was a hack that is now marked deprecated in modern browsers. The Clipboard API delivers a clean, Promise-based interface for reading and writing the clipboard, including image and rich text support plus a built-in permission model.
-
Maxim Mironjuk
-
October 13, 2025
Weighted aggregates account for the fact that not every value in a report should count equally, for example because one order contains more items than another, or an exam counts more than a quiz. This article shows why a plain AVG returns misleading averages in such cases, and how weighted average and weighted sum, using SUM(value times weight) divided by SUM(weight), compute the correct result.
-
Maxim Mironjuk
-
October 12, 2025
Memory fragmentation occurs when the jemalloc allocator holds more physical memory than Redis actually needs for its data, and it can be measured precisely via mem_fragmentation_ratio. Anyone who understands how jemalloc manages memory blocks can configure Active Defrag deliberately and knows when a controlled restart is the better choice over live defragmentation.
-
Maxim Mironjuk
-
October 12, 2025
GraphQL doesn't put version numbers in the URL, and that's intentional, not an accident. Running a GraphQL API stably over years requires a different discipline: additive schema evolution, clearly defined deprecation cycles, and automated checks that catch breaking changes before they ever get deployed.
-
Maxim Mironjuk
-
October 12, 2025
B2B blog SEO follows its own rules. Instead of high search volume, precise buying intent counts, technical depth builds trust with a specialist audience, and every article gets deliberately mapped to a stage in the long B2B buying cycle. Combined with targeted LinkedIn distribution, this creates a content strategy that generates real leads instead of anonymous traffic and makes expertise visible.
-
Maxim Mironjuk
-
October 11, 2025
Anyone working with ml-4 and pl-6 is writing physical CSS properties that have to be manually mirrored for RTL languages such as Arabic or Hebrew. Tailwind Logical Properties such as ms-4 and ps-6 solve this problem elegantly: they automatically adapt to the document's writing direction, with no separate RTL stylesheet and no JavaScript logic.
-
Maxim Mironjuk
-
October 11, 2025
Video and audio playback in React Native isn't one uniform problem: a short TikTok-style video feed, a podcast player with lock screen controls, and an on-demand video player with adaptive streaming all need different technical foundations. The choice between expo-video, react-native-video and react-native-track-player directly decides whether background audio, DRM protection and memory management work reliably.
-
Maxim Mironjuk
-
October 11, 2025
Caching strategies decide how often a React application reloads data, how quickly changes become visible, and how much memory the client spends on it. SWR, TanStack Query and Apollo Client solve the same basic task with different caching strategies, from simple stale while revalidate to full object normalization, with noticeable consequences for consistency and maintenance effort.
-
Maxim Mironjuk
-
October 11, 2025
OPcache is usually treated purely as a PHP setting, yet its effectiveness depends directly on the underlying Linux filesystem. Inode behavior, mount options and network filesystems such as NFS can make the exact same OPcache configuration reliable on one server and unusable on another.
-
Maxim Mironjuk
-
October 11, 2025
Largest Contentful Paint is widely regarded as the most important of the three Core Web Vitals for perceived load speed, yet in practice it often gets approached wrong, with teams generically trying to make the entire page faster. The first necessary step is identifying the actual LCP element on a page, which is often not the element you would intuitively expect. The second step is breaking the LCP time down into its four phases, TTFB, Load Delay, Load Time, and Render Delay, and optimizing each phase specifically and individually, instead of chasing a diffuse improvement of the total time.
-