Page 252 - Mironsoft Blog
-
Maxim Mironjuk
-
May 26, 2025
react-native-web renders the same View, Text and ScrollView primitives used on iOS and Android as regular DOM elements in the browser. This article looks at how that translation actually works, where styling and platform APIs create real limits, and how much code genuinely ends up shared once navigation, native hardware access and layout details enter the picture.
-
Maxim Mironjuk
-
May 26, 2025
Bash history is often the first data source an administrator checks after a security incident. Configured correctly with HISTFILE, HISTSIZE and HISTTIMEFORMAT, it provides a timeline of executed commands. But relying on it alone overlooks that any user with shell access can clear or manipulate their own history at any time, which is why auditd belongs in every serious hardening effort as an independent complement.
-
Maxim Mironjuk
-
May 26, 2025
An ordinary PHP array is internally an ordered hash table with considerable overhead per element, even when only sequential integer keys are used. SplFixedArray, SplStack, SplQueue and SplHeap provide specialized, memory-efficient data structures that noticeably reduce that overhead for large, clearly structured data volumes.
-
Maxim Mironjuk
-
May 25, 2025
A database schema changes over years through many small migrations, and without systematic regression tests it stays unclear whether a new change silently breaks an existing application. Schema snapshots, contract tests and automated diff checks make exactly that visible before a deployment causes damage.
-
Maxim Mironjuk
-
May 25, 2025
Data pipelines rarely fail loudly. Usually a few rows are missing, a timestamp shifts by an hour, or a transformation quietly rounds incorrectly. Claude helps narrow down such silent bugs systematically by analyzing logs, intermediate results and transformation code together, instead of manually walking through each stage. This article shows the complete debugging workflow using concrete pipeline examples.
-
Maxim Mironjuk
-
May 25, 2025
With prefers-contrast, CSS can detect whether a user has requested more or less contrast in the operating system settings, and adjust colors, borders and focus indicators accordingly. The media feature closes a real accessibility gap that used to be solved awkwardly with separate high contrast stylesheets.
-
Maxim Mironjuk
-
May 25, 2025
Marking errors only in red, success only in green, and links only through color excludes color-blind and low-vision users from important information. A second cue such as an icon, text label, or underline makes forms, status badges, and links reliably readable for every user group and satisfies WCAG 1.4.1 without extra design effort.
-
Maxim Mironjuk
-
May 25, 2025
eval in Bash takes a concatenated string and evaluates it a second time as a shell command, and that is exactly the problem: any unvalidated input flowing into that string can inject arbitrary commands. This article walks through concrete attack scenarios involving eval and introduces safe alternatives such as arrays, namerefs, and printf minus v, which achieve the same dynamism without command injection.
-
Maxim Mironjuk
-
May 24, 2025
A classic firewall filters network traffic by IP address and port, but never sees what's actually inside an HTTP request. A Web Application Firewall inspects exactly that content and detects attack patterns such as SQL injection or cross-site scripting. This article explains the difference, covers rule types, false-positive tuning, and practical configuration basics for ModSecurity and cloud WAFs like Cloudflare or AWS WAF.
-
Maxim Mironjuk
-
May 24, 2025
Git is generally considered robust because every object is identified by a hash of its content, but an object database built on SHA hashes is not immune to failing disks, killed processes, or accidentally deleted files. The built in git fsck command scans exactly that object database for inconsistencies and surfaces problems before they turn into real, irreversible data loss. This article explains what fsck actually checks, how to read its most common error messages, and which steps repair a damaged repository.
-