Hacker’s diary

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 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 […]

A docker containing not running anything particular in the foreground will exit immediately after start. Specifying /bin/sh as the startup command does not help. Some Internet sources suggest tail -f […]

I noticed that whenever I pressed arrow keys on the keyboard, my mouse cursor moves in funny ways. This felt quite creepy, as if some software was trying to intercept […]

In the beginning, Brian and Dennis created C, and C had the void keyword, and Brian and Dennis saw that this is good. It all went downhill from there. In […]