Skip to main content

Posts

Dangling Commas Are Gross

·1 min
I’m not a code style purest. I can swap styles with out much complaint. As long as code is in one unified style I am happy. But there is one thing that just doesn’t sit right with me and that’s the dangling comma.

Rsyslog stops logging after logrotate

·1 min
Are you seeing an empty /var/log/haproxy.traffic.log file after logrotate does it’s business? Perhaps it’s your postrotate script! Several tutorials on the web call “reload” in the logrotate postrotate script. For example the following is old and busted. /var/log/haproxy.log { ... postrotate reload rsyslog >/dev/null 2>&1 || true endscript } On my CentOS systems I removed the error redirect and manually ran logrotate with logrotate -v --force /etc/logrotate.

How to start a book club at work

·4 mins
Running a book club at work is an excellent way to dip your toe into leadership. It gives you a chance to organize and run a group. It will open opportunities to mentor your colleagues and it forces you to get use to uncomfortable silence.

Phaser 3 Touch Scroll on Mobile

·1 min
While developing Math Command I ran into an issue where mobile users could not scroll the page. It turns out Phaser 3 captures all touch events on the canvas which prevents page scrolling. The root cause is that Phaser automatically calls event.

Enable virtualization on Gigabyte AM4 boards

·2 mins
Tearing your hair out because virtualization won’t work on your new Ryzen & Gigabyte K7 PC? Make sure Secure Virtual Machine (SVM) mode is enabled in your Gigabyte motherboard’s bios, it’s buried in an unexpected spot. You can find it under: “M.

Wedding bulletin cover art

·1 min
My wife and I had a small budget for our wedding so we ended up doing a lot ourselves. For example, I created this clip art file for the cover of our wedding bulletin. I printed it on some simple stock from our local paper supplier.