Coming back from .NET Framework, it feels like Win32 API was invented by some rather cold people with total disregard for the well being of the application programmers. Every other […]

Warning: this post is politically charged. Russia has just enacted a law that forbids dessimination of “untruthful information” over the Internet. The actual legal definition is very lengthy, but it […]

Recently I’ve got another reminder why constructors should be simple. The situation in a nutshell: class BaseHandler subscribes to an observable in its constructor. The handler is virtual, class DerviedHandler adds incoming […]


After a trip to Europe I ended up with a mix of US and Euro coins in my wallet. Sorting them out proved surprisingly easy: if you can quickly figure […]

This week-end I looked at C++ rvalue references and move semantics. Here’s the code, the good stuff is in  matrix.h. Rvalue references seem useful, but way too treacherous. Any programming construct that raises […]

I absolutely detest the “what number/letter/picture comes next” type of puzzles. They are typically based on catching the pattern that the author had in mind when creating the puzzle. Well, […]