Declaration of VAR

and some other stuff

On 19.05.2021 the website was moved to https://decovar.dev/. This is just a mirror now.
  • Logstalgia, build for Windows

    2019-08-17 | 6 min read

    There is this amazing tool Logstalgia which visualizes web-server logs. Sadly, there were no new builds for Windows after the version 1.0.9, so I decided to make one with the latest version (1.1.2 at the moment).

    Logstalgia, Windows build

    I will describe the process and also publish pre-built binaries.

    Read more
  • GLFW and Dear ImGui

    2019-08-04 | 8 min read

    Last time I tried SDL and Dear ImGui and that was quite interesting. So today I would like to explore a GLFW and Dear ImGui combo.

    GLFW, Dear ImGui on Mac OS

    There will be also a silly SDL vs GLFW comparison.

    Read more
  • Rectangle previews after recent Twitter redesign

    2019-07-22 | 3 min read

    Twitter got a new design, and that broke our pictures - these geniuses made rectangle previews for everything, even for square pictures.

    Fortunately there is a kinda workaround - to post GIFs instead of images, because GIFs don’t get rectangle previews. Retarded problems - retarded solutions.

    Read more
  • Yet another new set of Qt icons

    2019-06-22 | 3 min read

    Not that long ago Qt logo and other stuff got rebranded, and most of the Qt tools got new icons. But then some freshly hired demiurge from the design team apparently decided that those are just boring and came up with a new design, which in my arrogant opinion is basically a piece of shit:

    Qt Creator new icon

    Just what kind of designer would get an idea that this diagonally-mutilated two-color thingy (with all capital letters!) is better than the current nice and clean version? I reckon, a very creative and talented kind.

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

    2019-05-26 | 13 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 | 6 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 | 11 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 goo.gl. But then it stopped working (classic Google), so I created my own workflow with TinyURL.

    Alfred

    Read more