TQ
dev.com

Blog about software development

Subscribe

The P in CAP is for Performance

07 Mar 2024 - by 'Maurits van der Schee'

I was reading the (well written) article "The CAP Theorem. The Bad, the Bad, & the Ugly" by Dominik Tornow (recommended read). On "partition tolerance" (the P in CAP) he writes: "network partitions are inevitable in a realistic system model" and that...

Continue reading...

Install KVM from the CLI on Debian 12

24 Dec 2023 - by 'Maurits van der Schee'

In a previous post I have showed how to install Debian 12 with disk encryption. In this post I will show how to install KVM on it, so that you can start using it as a GNU/Linux hypervisor to run virtual (Windows 10) machines. In this post I will also show...

Continue reading...

LUKS encrypted Debian 12 server (Hetzner)

23 Oct 2023 - by 'Maurits van der Schee'

In this tutorial I'll walk you through the steps of setting up Debian 12 with LUKS full disk encryption on a server you bought from the Hetzner auction. I'm using the recommended method using the "installimage" script (that Hetzner provides) to make things really easy for myself...

Continue reading...

ASRock N100DC-ITX

16 Sep 2023 - by 'Maurits van der Schee'

The fairly new N100 processor was mainly available in mini PC's and firewall devices, but now we have ASRock that offers it as "N100DC-ITX" on an ITX sized motherboard. I'm using it to rebuild a PC in my living room that I designed to be powerful and silent and always on. My previous...

Continue reading...

TicTacToe in TypeScript

31 Aug 2023 - by 'Maurits van der Schee'

In my last post I've told you about how I'm writing (simple) games in TypeScript. In this post I'll share the source code of a Simple TicTacToe game I rewrote in TypeScript. I'm using Visual Studio Code and the TypeScript plugin. I'm working on Linux, but on Windows you...

Continue reading...

Writing games in TypeScript

30 Aug 2023 - by 'Maurits van der Schee'

I loved programming in Actionscript (for Flash) and I have tried Haxe and other languages when Flash was widely abandoned. I felt JavaScript was lacking features for better structural programming. Typescript and Visual Studio Code provide a great development experience...

Continue reading...

LUKS disk encryption threat models

18 Jul 2023 - by 'Maurits van der Schee'

Any IT security measure must be evaluated in the context of a specific set of threats with context specific relevance. IT security is much like the security of the windows of a house. In a bad neighborhood of a city having steel bars in front of your ground floor windows...

Continue reading...

LUKS recovery from initramfs shell

17 Jul 2023 - by 'Maurits van der Schee'

When writing LUKS tutorials I often made mistakes preventing my system to boot. This resulted in a dreadful message saying:

ALERT! /dev/mapper/debian--vg-root does not exist.  Dropping to a shell!...
Continue reading...

LUKS with HTTPS unlock

14 Jul 2023 - by 'Maurits van der Schee'

I feel that using full disk encryption of servers is a must. Not to protect against attacks with physical access (to the unencrypted boot loader or unprotected BIOS), but to avoid leaking data when a disk or computer is either stolen or replaced. But what do you do when you need to reboot...

Continue reading...

Migrating from SQL Server to MariaDB

17 Jun 2023 - by 'Maurits van der Schee'

I have a .net application that runs on SQL Server that I want to migrate to MariaDB for licensing reasons. The .net code to query MariaDB looks a lot like the code to query SQL Server, so that is not much work (mainly search and replace). Also the SQL queries...

Continue reading...