Declaration of VAR

and some other stuff

  • SDL and Dear ImGui, C++ GUI without Qt

    2019-05-26 | 11 min read

    Qt is certainly great, but there are other ways for creating cross-platform GUI, one of such ways being a combination of SDL and Dear ImGui.

    SDL and Dear ImGui

    While, in my opinion, it barely can compete with Qt (especially Qt Quick) in terms of beauty and fancy, it is nevertheless a simple, lightweight and quite powerful “framework”.

    Read more
  • Visual Studio Code and CMake for Qt

    2019-05-11 | 5 min read

    After numerous promises of how Qbs will be the Qt’s default build system, The Qt Company suddenly killed it, announced that qmake is a dead man walking too, and actually Qt is switching to CMake.

    So I guess we should start using CMake for building Qt applications as well. Let’s see then what it takes to switch from qmake to CMake with a couple of basic examples.

    Qt, CMake and Visual Studio Code

    I also wanted to try Qt development with Visual Studio Code, and now is a good occasion for that.

    Read more
  • Custom CSS in SharePoint

    2019-05-04 | 3 min read

    What an ugly, tremendously complex, absolutely not-intuitive, horribly slow and simply retarded puddle of vomit this fucking SharePoint is. I hate it will all the fibers of my soul.

    Unfortunately, I have to deal with this crap at work. And the very first thing I wanted to do was to add a custom CSS file, so our pages wouldn’t look like total shit.

    Styling SharePoint

    There is an official documentation on the subject, but it didn’t help me much (if at all).

    Read more
  • GitHub comments for a Hugo-based blog

    2019-04-19 | 6 min read

    From the dawn of times (when I started this blog) I was using Disqus solution for comments on pages. I had almost no complains towards it, but recently I learnt that one can use GitHub issues as a source of comments! That sounds just too cool not to try.

    GitHub comments

    This article will focus on adding GitHub comments to a Hugo-based blog, but actually you can add those anywhere you want, would it be a different blog-engine or something completely different altogether.

    Read more
  • Huawei E3372 modem on Mac OS

    2019-04-17 | 5 min read

    So I have this 4G+/LTE modem - Huawei E3372, also known as Megafon M150-2 - which is exactly the variation I got.

    Huawei E3372 connected to MacBook Pro

    Eventually I got sick of its connection management software for Mac OS (the one that comes from Megafon), so I started looking for a way to be able to connect to the internet on Mac OS without it.

    Read more
  • TinyURL Alfred Workflow

    2019-04-02 | 1 min read

    For a long time I was using this useful Shorten URL workflow for Alfred, mostly via But then it stopped working (classic Google), so I created my own workflow with TinyURL.


    Read more
  • Mac OS service for checking media streams

    2019-04-02 | 1 min read

    I needed to be able to quickly find out if a movie/episode contains subtitles. “Quickly” means without opening the file in a media player and getting its information there.

    So I just created a Mac OS service that gets this info with FFmpeg:

    Mac OS automator

    And here’s how it works:

    Mac OS service

  • Migrating from Octopress to Hugo

    2019-03-17 | 9 min read

    Octopress is a great blogging engine/framework, and I was happy with it for several years, but recently I discovered a new one - Hugo.

    Octopress to Hugo

    I liked it so much that I decided to move my blog to it.

    Read more
  • The Girl in the Spider's Web

    2019-01-26 | 2 min read

    Stieg Larsson wrote 3 books from the Millennium series. Unfortunately, he died before he could write more.

    Looking at some parts of my blog, it’s rather easy to notice that these books made quite an impression on me. By the way, the original title and domain of the blog were actually “Wasp Enterprises”.

    So it was not a nice surprise when I suddenly discovered yesterday that this greedy piece of shit publishing company Norstedts contracted some random author David Lagercrantz to continue the series. And there are already 2 more books published, the first of which having the title “The Girl in the Spider’s Web”:

    The Girl in the Spider's Web book cover

    Read more
  • The Girl in the Spider's Web

    2019-01-26 | 1 min read

    The Girl in the Spider's Web

    Бинарник программы в 2725 байт с графическим интерфейсом пользователя и мультимедиа ресурсами, позволяющий управлять “онлайн” системами обороны (включая пуск ракет) различных стран, который нельзя копировать и можно только перемещать, а также который несколько минут грузится с серверов NSA (нечеловеческий объём ~2.6 КБ) - и это кино про Лисбет Саландер?

    Всё остальное выдержано в том же духе. Ну и актёры не вывозят.

    Поразительно, что Финчер принимал в этом участие, пусть и как продюсер. Хотя думаю сцену с подвешиванием на троссе это как раз он добавил - типа он это всё не одобряет.

    Что могу сказать создателям: FUCK YOU YOU FUCKING FUCKS.