Skip to content

Category: Technology

Rapidly firing myself in the foot with C pointers

Now that I am dedicated to becoming a somewhat decent C programmer, I need to master pointers. Last week, I leveled up in my pointer usage by debugging a particularly nasty segfault. It took the help of gdb (the GNU Project Debugger) for me to notice that my segfault was accompanied by very weird values for some increment counters, while the pointer involved was a char* pointer, not a pointer to an int. Read More »

WW challenge 1: learning better C by working on XJot

Since the beginning of this month (October 2021), I become officially jobless, after 6 years at YTEC. That's not so much of a problem for a software developer in 2021—especially one in the Dutch IT industry, where there has been an enormous shortage of skilled developers for years. However… I don't (yet) want a new job as a software developer, because: in the programming food pyramid, I'm a mere scripter. That is, the language in which I'm most proficient are all very high-level languages: Python, PHP, XSLT, Bash, JavaScript, Ruby, C# (in order of decreasing (recency of) experience. I have never mastered a so-called systems language: C, C++, Rust. Read More »

MQTT benchmark of HiveMQ, VerneMQ, Mosquitto and FlashMQ

Watch this demoscene style benchmark of HiveMQ, VerneMQ, Mosquitto and FlashMQ: Read More »

Breaking amplifier fault current with relays and MOSFETs Read More »

FlashMQ version 0.8.0

Just released FlashMQ version 0.8.0, a multi-threaded (multi-core) lightweight MQTT server. The latest new feature is a native authentication plugin interface for easy implementation of custom authentication and authorization. Read More »

Gitlab ‘Your password expired. Please access GitLab from a web browser to update your password.’

I just fixed a very obscure error in Gitlab of 'Your password expired. Please access GitLab from a web browser to update your password.' This error would appear during SSH operations, and in various log files in /var/log/gitlab. Also XHR requests to the server got that response. Read More »

Introducing MQTT server FlashMQ version 0.5.0

Introducing my the MQTT server that I've been working on, FlashMQ. I'm starting with test version 0.5.0. It's ready for some testing and benchmarks, and of course development will continue. Read More »

Disable roaming profile for one user on a Samba domain controller

Sometimes you want to mix users with and without a roaming profile. As found here, you can use Samba's pdbedit to set the "Profile Path" to empty: Read More »

Icinga 2 dependencies, downtimes and host/service unreachability

There are a few gotchas you have to be aware of when working with Icinga 2 dependencies and downtimes. Read More »

Speed up xsltproc xhml – install DTDs

I keep forgetting which package to install in Ubuntu to get the DTDs for html, to stop xsltproc from hanging forever. So, for posterity: w3c-sgml-lib. I think it was w3c-dtd-xhtml in Ubuntu 16 and older. Read More »