Entries for the ‘Tech stuff’ Category

Setting up cMake with minGW on Windows

I develop mostly in safety of Visual Studio or Visual Studio Code. And in .NET. Only recently, I rediscovered passion for C++. The speed, the elegance, numerous hours thrown into the thin air trying to find a solution to a simple problem, that somehow is just notoriously difficult in C++… You get the gist of […]

Raspberry Pi drone – Part 1 – Overview

This article is in fact a second one in a Rapberry Pi drone series. Previous article can be read here. In Part 1 I will cover basic overview of drone architecture and elaborate on components used. As the image below displays, this project will need: main controller, 2 batteries, 4 brush-less motors, 4 ESC controllers, […]

Raspberry Pi drone – Prelude

Lately, I just could not find motivation to work on my side-project, hence I spent my time procrastinating on a well known video sharing social website. Purely for motivation purposes that is. Yeah. That is it. Purely for motivation purposes. During my procrastination… ummm… motivation period, I have encountered a vlog of a guy doing […]

Bug tracking – yes or no

Yesterday, I encountered an article on Medium titled A Better Bug Tracker by Anthony Sciamanna. The author goes to great lengths describing why bug trackers are unnecessary and point to the problem in your development workflow. Further, Mr. Sciamanna quotes Uncle Bob Martin (self proclaimed Software Craftsman):   “Think about what it means to use […]

What I learned last week… uh… months

It has been a long time, since I have written a post. Reasons vary. Most of it is down to my laziness and limitations to my spare time. Some of it is down to lack of motivation as well. Anyway, during several last months I have, surprisingly, learned many new things. I limited my pick […]

What I learned last week at work #3

In a 3 day week, I only managed to learn how to get distinct IP addresses from log file. How to get distinct IP addresses from log file For a customer of ours, I had to screen two years of log files and find distinct IP addresses for certain criteria. You could check those log […]

What I learned last week at work #2

It’s been a quiet week at work. Fixing a bug here and there, implementing minor features, writing some documentation etc etc. Hence, this weeks findings are not programming related. Without further ado, here is what I learned last week: Windows 10 app restart on unexpected shutdown (or after update restart) cannot be disabled; Solving ‘PkgMgr.exe […]

What I learned last week at work

I am a firm believer of a fact, that if you are not learning anything new at your work, it is time to move out of that comfort zone, pack your bags and find a gig where you will. Lately, my work shifted and consists of 99% maintenance grunt work and 1% of actual new […]

Quick tip: Optimizing repeating try-catch-finally statement

Lately, I’ve started noticing a pattern in data layer of one of our projects at work. The pattern looks like this: SqlConnection connection = null; SqlTransacton transaction = null; try { connection = new SqlConnection(connectionString); connection.Open(); transaction = connection.BeginTransaction(“transactionName”); // execute database queries and do mapping and stuff } catch (Exception) { if (null != […]

Failed to load resources from file. Please check setup

Not so long ago an application written in .NET 1.1 started to pop this error up and about. Funniest thing though, only Windows 10 clients with Creators update installed were affected. Now, we could argue, why there is still an application written in .NET 1.1 and running, but that could be a lengthy debate in […]