Last night, I decided to finally take the plunge and buy a short vanity domain I had been considering for several years (2b1.me), only to find it had been purchased just 48 hours beforehand, at the very registrar I was planning to use (Porkbun).Continue reading post "#2656"
In versions of PHP before 5, constructors were functions with the same name as their class. PHP 5 introduced the
__construct() unified name, and has deprecated the old style in PHP 7. Cogneato still has code remnants from long ago, with the old style. I recently worked on improving the compatibility of our old code with PHP 7.
Up way later than I wanted to be, fighting with Symfony’s framework bundle trapping PHP errors from getting to my Apache logs, and Apache’s
ErrorLogFormat not being able to display
REQUEST_URI. Gonna have to come back to these later.
I use Letsencrypt with certbot for the HTTPS certificates of my personal sites. I use the
certonly method to allow full control over my server configuration. This means specifying one or more web-roots for each certificate.
A StackOverflow question showed me that Ansible handlers can be stored in their own YAML file and included into any playbook to avoid repetition.Continue reading post "Ansible: Share handlers between playbooks"
I had a bit of a scare at work today, thinking that a site that accepts credit card payments was allowing them to go through without running the charge through the payment gateway.Continue reading post "#2567"
I have turned on this DoH (DNS over HTTPS) thing in Firefox for the last several weeks.Continue reading post "#2543"
This weekend, I implemented a dark theme for my site.Continue reading post "Dark theme for my site"
In the interest of progressive enhancement, my site doesn’t force browsers to connect over HTTPS unless they demonstrate support for it.Continue reading post "Forcing HTTPS and progressive enhancement"
I had a weird loss of a git commit when my battery died unexpectedly.Continue reading post "#2520"