Coding with Titans

so breaking things happens constantly, but never on purpose

Raspberry Pi 3 and QEMU

At first glance, it seemed to me to be a really easy task. Install QEMU for Windows, download latest Raspbian and run! Unfortunately after whole evening of tries I still fail to have it usable anyhow. Maybe it’s not totally not running, but still it’s pretty useless in terms of any further development of application without a device. Simply, at current state (as of 2018-02-18) of QEMU, it doesn’t support emulation of the USB controller, and since the whole network relays on it, there are huge connectivity issues (no network interface at all, so no SSH, no tools installation, no file transfers neither). Read more →

Wake-on-LAN from Raspberry Pi and Synology NAS

Some time ago I have written a post about, how to setup Windows 10 to wake it up remotely via network using magic packet. The question that remained unanswered is: how to actually send this packet to the PC to trigger it running. In the first example I will use Raspberry Pi with Rasbpian Stretch Lite installed: First make sure a tool etherwake is available. If not, this could be fixed with following command, otherwise skip this step: Read more →

Xiaomi HotSpot (tethering) not working

Yet, Internet connection sharing is an easy-to-use feature on my Xiaomi Redme Note 5 phone that has wasted me whole evening to get it right. Funny thing, really, since as a user I was supposed to enter Settings, navigate to Mobile Hotspot, define password and swipe to enable it. Also from that point of view, that’s all you can do, due to lack of any other configuration options. But as it turned out, there is a subtle “bug”, that causes it not to work on any Xiaomi phone (with MIUI and without). Read more →

HowTo: Setup SSIS via TeamCity – fixing problems

Some time ago I have shown how to configure automatic build of SSIS projects (SQL Server Integration Services). Unfortunately they require full version of Visual Studio installed on a build machine as it’s an overwhelming plugin (not only a toolset), what potentially could hit me back. And well, of course it failed and hit me after 30 days! Turned out Visual Studio 2017 Community Edition expired and was refusing to cooperate more, producing this nice error log: Read more →

Gearbest + DPD (UK) + too short parcel number problem

Some time ago I read a post from Jakub Jędryszek about using a boogie board to make notes. The theory behind it was good enough to convince me to buy one from Gearbest.com. And to be honest I also recommend this toy after such a short period of time. The quality of sketches is amazing for daily tasks for such a low price! Although when I gave it to my kids I wish there was a button (second one) to preserve it and save somewhere as a bitmap image. Read more →

HowTo: Split web.config file

Among all the features of ASP.NET framework, there is one I love the most: moving parts of the configuration (i.e. Web.config) into separate files! It’s just it, a little something, that makes life so much easier by: less effort while working with GiT (conflicts are subtle and with better context, changing braches mostly let you move also your local changes, or reset parts of it) quicker navigation, as they are files with my custom naming convention (via R# hit Ctrl+T and start typing the name using only first uppercase letters of the file to open it) custom sections can also be put in an another file. Read more →

HowTo: Setup SSIS project to build via TeamCity

It should be simple, it should be quick. And as usual it turned out to be hard, painful and forced me to install Visual Studio 2017 back on a build machine. I’ve cried a lot that hour. Now I am just waiting, what will fail next, once I see this comment in TC build logs, even though I logged-in and obtained permanent license. [13:05:08][Step 3/3] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script5352870621326270693.cmd [13:05:08][Step 3/3] in directory: C:\TeamCity\buildAgent\work\2906b7d01f979ef5[13:05:12][Step 3/3] [13:05:12][Step 3/3] Microsoft Visual Studio 2017 Version 15. Read more →

HowTo: Custom fields in ApplicationInsights

Recently, I have shown, how to enable Application Insights within own WCF server application (look here). It might similarly work in other kinds of apps, so we won’t bother with further demystification of this procedure. But as you might suspect (or already stepped on), you will quickly require more metadata transmitted than it is done by default. My scenario is pretty simple. The WCF server is installed multiple times, in multiple physical locations across the whole country. Read more →

HowTo: Azure ApplicationInsights into my WCF server

Here I would like to present a small recipe, that will let you enable monitoring of WCF server-side calls with Microsoft’s ApplicationInsights service. It might help you in analytics of: what services are used mosts what hours users are active what are the response times what is called far too often and needs optimization and probably most important thing - what crashed, why, when with the callstack! It’s pretty straightforward and I split it into two parts. Read more →

Windows 10 Wake up on LAN

After recent upgrade to Windows 10 Fall Creators Update my wake-on-lan feature of the desktop PC stopped to work. It was not very surprising, as most of the settings during such a big OS update usually goes to defaults. Here are two simple steps to restore it. Only two - as I already had it enabled in my UEFI BIOS on the motherboard and also installed drivers for my build-in Intel network card 82579V. Read more →