TL;DR: Python type cast looks like an assertion: # Python x = expression_returning_Base assert isinstance(x, Derived) This corresponds to Java or C# // Java Derived x = (Derived)expression_returning_Base; In languages […]

"Register" is a new "buy"?

I needed an IRC client for Windows, and mIRC came up in searches as #1 recommended. It said something about “registration” during the installation, but I ignored assuming that registration […]

When a host directory is mounted into a docker container, how are file permissions handled? Docker copies files permissions from the host to the container verbatim, inluding numeric user ids. […]

A funny story about Mac hardware

I have a MacBook Pro now, courtesy of my new employer, but it only has four USB-C ports and nothing else, so none of my existing hardware could connect to […]

I am using a MacBook for work now. Got a stuck installer, trying to restart the computer. Messages (not exact quotes). The system: cannot restart, please exit installer [Cancel], [Try […]

I have moved my blog to DigitalOcean platform: they provide a decent virtual server for $5/month, with static IP address to boot. It’s all highly scientific now: I have moved […]