Hacker’s diary

Coming from C# background, I was trying to understand whether Python allows to pass obj.method where ordinary function is expected, and if yes, how could it possibly work. Consider this […]

The growth of command-line options: 1979-2017

I stumbled upon an article (https://danluu.com/cli-complexity/), that explores the dramatic growth of the number of command line options in most popular Unix commands between 1979 and 2017 and explains why […]

When I was going to Worldometer’s coronavirus page, it would redirect me to some stupid scam web site saying “you made 5 billionth search”. It happened only one one of […]

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