-
XMLHttpRequest from QML
2018-06-09 | 4 min readXMLHttpRequest is a web standard (WHATWG/W3C, but better to read about it at MDN) for communication between JS-frontend and REST-backend.
And you can use it in QML.
Read more -
Copying files with qmake
2018-06-08 | 5 min readSometimes you need to copy certain files from source directory to build directory together with your application binaries. And Qt’s qmake tool is capable of performing such operations.
Some geniuses might actually want to use scripts for that, but it’s better not to, because it’s the cross-platform development we’re talking about, and your
Read morexcopy
from Windows works only on Windows, so it’s better to find some universal method. Andqmake
has such a thing, although it is not properly documented. -
Feed FlightAware
2018-05-27 | 5 min readTo put it (very) simple, FlightAware is a company that tracks air-planes. And they provide public access to the tracking data, although with some limitations. To lift those limitations and to gain some other features you can either purchase a Premium Account, or feed FlightAware with data.
But how does this feeding works?
Read more -
Etcher - two hundred megabytes for a simple dd
2018-05-18 | 1 min read200 MB (TWO MOTHERFUCKING HUNDRED MEGABYTES) of an Electron-based crap for a simple dd operation?
Are you retarded or something?
-
Avengers: Infinity War
2018-05-05 | 1 min readКакие клёвые были первые Avengers, как бодрил и веселил недавний Thor, и какая же шняга вот это кинцо. Два с половиной часа бессмысленного калейдоскопа супергероев из девяти тысяч фильмов (реально, не хватало только Бекона), шаблонной херни и шуткований по расписанию.
Где душа, Джосс? Джосс?.. А, так это не Джосс! Что, его уже и во втором фильме не было? А, ну тогда понятно всё.
6/10 -
Boot to Qt on WaRP7
2018-05-02 | 11 min readA new interesting reference device was added in Qt 5.9 - WaRP7. What’s so interesting about this device? It’s small, it’s based on i.MX 7Solo processor, and it features the following: Wi-Fi, Bluetooth, NFC, camera, barometer, accelerometer, magnetometer and gyroscope. It also has a battery and (optional) round display.
Being added as a reference device means that there is a pre-built Boot to Qt image for it, so let’s take a look.
Read more -
C# / .NET Core, publish to Telegram channel
2018-03-31 | 3 min readI can’t believe I haven’t wrote about publishing to Telegram yet. I have articles about Twitter, Facebook and VK, but I should have started with Telegram as it is the easiest among them all.
Read more -
C# / .NET Core, публикация ВКонтакте
2018-03-28 | 9 min readПубликацию в Twitter и Facebook мы уже запилили, настала очередь ВКонтакте.
Тут, конечно, получше дела обстоят, чем с Facebook, но местами всё равно пиздец.
Read more -
Slack now helps to spy on you
2018-03-22 | 2 min readA couple of days ago (on 20.03.2018) I received an e-mail from Slack saying that “…we’re launching new tools and features and updating our Privacy Policy and User Terms” (actually, that’s not how I learned about this). Changes in privacy policy and users terms are never good, so I went to their website to read about those.
Read more -
C# / .NET Core Identity with MySQL
2018-03-20 | 11 min readEventually, you will want to restrict access to some/all pages at your .NET Core MVC application, so everyone would have to enter their login and password first (authenticate themselves), and then server will decide whether to let them open the page or not (authorize the access).
Official manual guides you through the process pretty nicely, however it only tells about setting it up with MS SQL Server. But we, of course, would like to use MySQL for that.
I tried to use MySQL with .NET Core Identity before, but something was really wrong with its support back then, and now it actually works (more or less).
Read more
Social networks
Zuck: Just ask
Zuck: I have over 4,000 emails, pictures, addresses, SNS
smb: What? How'd you manage that one?
Zuck: People just submitted it.
Zuck: I don't know why.
Zuck: They "trust me"
Zuck: Dumb fucks