Bitware Labs Est. 2022

Bitware Labs/Notebook

The Notebook

Working notes, written while the work is still fresh. Mostly infrastructure, security and long-running AI — the unglamorous middle of the job, which is where the interesting parts live.

Subscribe by RSS →

All entries

§ 6 filed

Four nginx defaults that quietly cost you

Soft 404s, add_header inheritance, ten-year cache headers on unversioned files, and a gzip_types line that is commented out in the shipped config. All four were live on this very domain.

Sending mail from PHP-FPM when AppArmor says no

The contact form on this site does not call mail(). It speaks SMTP to loopback by hand, because the php-fpm AppArmor profile will not exec sendmail — and that turned out to be the better design.

Why WordPress is not permitted on our machines

Not snobbery. A hosting policy is a security boundary, and the plugin model puts the boundary in the wrong place — on the other side of code we did not write and cannot audit.

Correspondence

Write to the lab

Commissions, collaborations, or a quiet hello. The person you write to is the person who does the work — I reply within two working days.