DG

Posts

Fixing ASPM and Deep C-States on Intel NUC 7th gen

If you own an Intel NUC and are struggling to reach deep power-saving states like C8 or C9, your issue might be related to PCIe Active State Power Management (ASPM). I recently ran into this problem with my Intel NUC 7th Gen, where the system was stuck at C3 states despite my best efforts to tweak Linux power settings.

6 March 2025 · 4 min read

LaTeX in Visual Studio Code (VSCode) on macOS

A practical setup for writing LaTeX in VSCode on macOS: installing MacTeX without the GUI apps, wiring up the LaTeX Workshop extension, and getting a fast local editing workflow as an alternative to Overleaf.

10 September 2024 · 5 min read

Remote software development with VSCode and Docker Compose

Modern software development often requires us to juggle multiple services and environments. When you add the constraint of sensitive data or specific hardware requirements, this complexity can grow. Fortunately, tools like VSCode, Docker, and SSH are here to simplify our lives. In this post, we'll walk through setting up a development environment that leverages a virtual machine (VM) remotely, providing both security and flexibility.

3 October 2023 · 4 min read

Millions of cells in Pathology Images: calculating cell density

We all know that digital pathology demands efficient handling of large-scale images. However, I hadn't anticipated that the sheer volume of cell detections would significantly impact the performance of my cell density calculations within these images. This article combines the ease of WholeSlideData, shapely, rasterio, and geopandas to achieve this in a fast and simple way.

27 September 2023 · 6 min read

Website Analytics with Umami, Netlify and a self-hosted database.

Umami is a sleek, open-source analytics tool that provides an alternative to mainstream solutions like Google Analytics. Its simplicity and transparency make it a preferred choice for those wary of the intricacies and potential privacy concerns associated with bigger platforms.

22 August 2023 · 2 min read

Journey to Optimized Images: Hugo, Decap CMS, and Page Bundles

This turned out to be an unexpected long journey. It all began when I realized that my [website](https://dekeukenvandael.nl) images weren't optimized as I had expected. I had been relying on the PaperMod and PaperModX themes in Hugo to handle image optimization. Everything seemed to be in place, but my images were still bulky and slow to load. The problem was evident, but the cause? Not so much.

9 August 2023 · 3 min read

Enhancing Your Hugo Blog: Embedding GitHub Repositories

I code a lot, and GitHub is where I share my work. But I wanted to take it a step further and feature my projects on my own website, as you can see on my main page. If you're in the same boat and want to showcase your GitHub repositories on your Hugo blog, have a look at this article. We'll explore two straightforward ways to make it happen.

25 July 2023 · 5 min read

Setting Up an Isolated Virtual Server in a VLAN on Ubiquiti and Proxmox

Hosting your own services to be accessed by the public internet comes with its share of challenges, especially when exposing ports security concerns are involved. Cloud hosting providers are a good way to solve some of these problems, but can the costs can rise pretty quickly.

14 June 2023 · 3 min read

Dockerized Backup and Restore System for Home Directory

In this article, I'll guide you through creating a Docker-based system for backing up and restoring your `/home/user` directory, storing backups on a mounted HDD, and implementing a 30-day data retention policy. Later, we will discuss how to automate this backup process using `crontab`.

25 May 2023 · 3 min read

Proxmox: how to Expand Storage in a Linux VM with LVM

After bolstering the storage capacity of a Linux VM within Proxmox or another hypervisor, you'll discover that the operating system inside the VM doesn't automatically recognize or utilize this newly added space.

15 May 2023 · 3 min read

Automating MariaDB Backups in Docker with a Shell Script

Backing up your data regularly is essential, especially for critical applications like Home Assistant running MariaDB in a Docker container. This article will guide you through creating scripts that automate the backup and restoration processes, designed to be flexible by accepting arguments for the password and paths.

25 April 2023 · 2 min read