Technical insights and software architecture

Deep dives into PHP development, Horde Framework evolution, and practical software engineering. Focused on real-world solutions for complex technical challenges.

Core Topics

PHP, Horde Framework, authentication systems, composer workflows, and modern development practices.

Long-form Analysis

Comprehensive technical articles exploring architectural decisions, migration strategies, and lessons learned from real projects.

Code & Community

Open source contributions, framework development, and sharing knowledge with the PHP developer community.

Tag: trivial

  • perl: rounding KiB values to MiB boundaries

    by

    in

    When you have to deal with kilobyte or kibibyte values in today’s real-world computers, you often want extremely similar values to evaluate to “equal”. An easy solution is to round them to full Mebibytes. This can be easily done in every programming language which supports integer division and the modulo operator. For example in Perl:…