Declaration of VAR

and some other stuff

The Girl in the Spider's Web

2019-01-26 23:22:00 +0100

2019-01-26 23:22:00 +0100 | Comments

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

2019-01-26 22:20:32 +0100

2019-01-26 22:20:32 +0100 | Comments

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

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

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

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

5/10

Fixing "corrupted" JPG files on Mac OS

2019-01-03 20:49:55 +0100

2019-01-03 20:49:55 +0100 | Comments

Sometimes when I save certain images from particular imageboards, I cannot preview or open those on Mac OS. They work fine on Windows, but I cannot even edit those on Mac OS using graphic editors. If you ever saw this infinitely loading preview, then you know what I am talking about:

If video doesn’t play in your browser, you can download it here

So far my solution was to re-save the picture on Windows using GIMP or something else, but as I suspected it can actually be fixed on Mac OS as well - by editing the file in a HEX editor.

Telegram бот через webhook

2018-12-02 06:42:42 -1000

2018-12-02 06:42:42 -1000 | Comments

Я тогда давно написал статью про создание Telegram бота, и обещал дополнить её описанием настройки работы через webhook, но так и не дополнил. Вот только сейчас дошли руки.

This article in english 🇺🇸.

Convert PNG to ICNS on Mac OS

2018-10-09 14:17:03 +0200

2018-10-09 14:17:03 +0200 | Comments

Developing an application for Mac OS, sooner or later you’ll want to add an icon to it. And Mac OS uses Apple’s own format for application icons - Apple Icon Image format - files with .icns extension. But how does one create such a file?

It is actually not so hard, but there are some tricky moments. I’ll cover those and as a bonus I’ll show you how to use .icns icon in Qt-based application (deadly simple).

Wells Fargo and 2FA via one-time code generator

2018-09-09 20:09:15 -0700

2018-09-09 20:09:15 -0700 | Comments

As you know, I have an account at Wells Fargo bank. A very nice bank, from my experience, but there were some issues along the way, most of which I was hoping to avoid having in future by using a two-factor authentication (2FA) with one-time code generator:

But I was amused to learn that it seems to be not possible.

XBMC/Kodi remote control application

2018-09-01 20:46:42 -0700

2018-09-01 20:46:42 -0700 | Comments

There is this great piece of software - XBMC/Kodi media player. I’ll write a separate article about that one, but today I want to show you a remote control application for it, which I’ve created for myself.

Beauty, innit.