Peter Morlion logo

Escaping the Catch-22 of Anti-Test Arguments

There’s a Catch-22 hidden in the arguments that many people use to rationalize not writing tests. The Catch A Catch-22 is a situation that you can’t escape out of due to contradictory rules or limitations. In case of automated tests for software, the arguments often go like this. At the start of the project, both […]

Taking Care of Your Voice

I recently had a call with Carlos Schults who will be giving an ASPE course on Git and GitHub I developed. We discussed how talking for an entire working day can be stressful on your voice. I recently experienced the same while recording a LinkedIn Learning course (more on that later). Luckily, my wife is […]

How to Get Away with Unit Testing Legacy Code

A while ago, I did a webinar for TypeMock about unit testing legacy code. It’s about why we want to unit test legacy code, the advantages and disadvantages, and it includes some minor live coding using TypeMock’s Isolator tool. You can watch it here: I hope you like it. Let me know what you think!

NestJS & AWS Lambda Without HTTP

At a current client, we’re looking to move (most of) our AWS Lambda functions to NestJS. The company has built up an extensive collection of Lambda functions and it’s time to bring some structure and similarity in them. But NestJS is geared towards incoming HTTP calls. This is fine if your Lambda function is behind […]

Property-Based Testing with TypeScript

I’ve written about Property-Based Testing for .NET previously. It’s a way of writing unit tests with random (but constrained) inputs. This means your tests are run multiple times with different inputs and your code is tested more thoroughly. You might even find bugs you didn’t know were there. As I’m working quite a bit with […]

Debugging WSL from VS Code

I love Visual Studio Code. I love the Windows Subsystem for Linux (WSL). Ever since I had to do Python development, I use the WSL for almost all of my non-.NET work: PHP, Python, Typescript/Node.js. That means running Visual Studio Code in Windows, but running the program in Linux. Up until now, I was missing […]

Building Bruges Meetups

There are many meetups and events about software development in Belgium, but they’re mainly located in and around bigger cities like Brussels, Antwerp and Ghent. This isn’t always practical for people in Bruges. Which is why we’ve started a group that will organize meetups and events in Bruges. Driving 40 minutes to an hour may […]

Log Parser Tutorial: Learn to Parse Many Formats

This post was written for the¬†Scalyr blog. You can find the original¬†here. Logs come in a variety of formats and are stored in multiple different locations. Getting insights from all of these logs isn’t a trivial task. Microsoft Log Parser is a tool that helps us extract such information easily, using a SQL-like syntax. It […]

Finding AWS Lambda Cold Start Durations

I recently had to provide some numbers on AWS Lambda cold starts. These aren’t readily available in the AWS console. In fact, I couldn’t find a way anywhere online. There are lots of articles about AWS Lambda cold starts, how to avoid them, but none on how to measure them (without code changes). Here’s at […]

The Lifetime of TODO Comments: the Results

I’ve had a longtime theory that TODO comments in code don’t get fixed any time soon. To get some numbers on this, I set out to analyze a set of GitHub repositories. You can read how I researched the lifetime of TODO comments in my previous post. In this post, I’ll look at the numbers. […]