Tic-tac-toe screenshot

I was just experimenting with HTML5 canvas. The game is entirely in HTML5/JavaScript, it should work on desktop and on mobile devies. The moves table is pre-generated in C#. Play […]

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

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