Qt Quick 2’s high DPI scaling is utterly ridiculous. Automatic scaling only uses integer factors, which means comically huge UI elements on a 4K desktop monitor where 150% is the appropriate factor — it literally gets rounded to 200%. The weirdest thing though: fonts sized in points are scaled to the exact DPI of the monitor, ignoring the rounded UI scaling factor. Which means that the UI elements on my desktop are bigger than on a low DPI monitor, relative to the text inside of them. What were they thinking?!

When will UI toolkit developers STOP believing that non-integer scaling is bad?

Three days ago, I received an email from DigitalOcean. They said that they were doing some maintenance and my VPS, the one that currently runs this website, will be rebooted soon. I didn’t pay much attention to that.

Today, I wanted to look at my website… and it didn’t open. The server didn’t even respond to ping. Yes, yes, I should use a service that monitors my stuff, I know. Few people care about my website though :D

So I rebooted the server, went to the DigitalOcean VNC console, logged in… as a regular user that can’t sudo. Becuase For Security™, my sudoer account does not have a password. Only authorized SSH keys. Fuck.

The solution was to use the JavaScript devtools to automate typing the ssh key into the console and ssh to localhost as the regular user. The script was suggested by someone on DigitalOcean’s support site. I had to modify it a little to work with newlines. However, mistakes were introduced: some letters ended up as lowercase instead of uppercase or vice versa. After getting in as a sudoer, I was able to set up networking.

The actual problem? bsd-cloudinit didn’t work because a symlink in /etc/rc.digitalocean.d was broken, and as a result, the network settings were not set.

I’d say that the actual actual problem is the use of cloud-init stuff instead of, you know, DHCP/SLAAC.