/home/thomas

cs doctor and nlp researcher

English posts

Homelab 101: setting up your server

For the past year, I've spent a lot of time setting up a homelab. There are many reasons why I decided to pursue this hobby. I'm a insufferable nerd privacy-minded tinkerer. Secondly, I have a paranoid cautious approach to data preservation, and I want my decades of photos and documents...

Read More_

Running LLMs on air-gapped machines with Docker

In my research, I often have to run machine learning experiments on very sensitive data. This data lives in a protected environment, and one of the features of this environment is that it is sealed off from the internet. This makes running experiments a bit challenging. We don't want to...

Read More_

Rescuing orphaned Immich assets — without nuking the DB

So, you've been experimenting with Immich. Maybe, you noticed that the specific way you like to organize photos didn't match what the Immich maintainers have dictated. You thought that "hey, I'm a developer. I'm sure the very strong recommendation not to mess with the file hierarchy created by Immich applies...

Read More_

Automatic em dash conversion in Eleventy

I recently decided to migrate this blog from (an extremely outdated version of) Jekyll to Eleventy. This process was pretty smooth, although there were some hiccups. One of the more annoying differences is that the default Markdown renderer in Eleventy doesn't convert repeated dashes into en and em dashes. Although...

Read More_

Looking for anomalies in my MyHeritage DNA

Back when genetic testing was starting to become trendy, and privacy concerns were not as prescient, I agreed to get my DNA analyzed by MyHeritage. The rest of my family and I were curious to see if we'd find any surprising information in the ethnic estimation. In the end, my...

Read More_

Seamless migration from Google Photos to Immich

Hosting your own services is fun! Recently, I have been trying out Immich, which is an open-source and (optionally) self-hosted alternative to Google Photos. However, Google Photos (unsurprisingly) lacks a built-in way to conveniently export all your data to another service. The only way to download all of your content...

Read More_

Centered Multi-Column Tables in LaTeX

From time to time, I need to create tables in LaTeX. Increasingly, these tables have become more and more complex. On particular complexity that I've had to tackle a few times recently is how to create multi-column tables. There are many use-cases where you might want to do this. One...

Read More_

Fixing the Ubuntu Suspend Issue on the Razer Blade Advanced 2021

I have been using a Razer Blade Advanced 2021 for the last year during my PhD studies. It's really powerful and has a RTX 3070 GPU which means you can do some basic machine learning with CUDA which really speeds up my prototyping work. Overall, I think it's a great...

Read More_

Merging repositories

Sometimes you run into the unfortunate situation where you receive a code base without its Git history. It may even be the case that you don't even know such a history exists. And so, you run git init and start tinkering. Later, you learn that, in fact, a repo exists!...

Read More_

Fusing images with Pillow

Every once in a while I think it's nice to print out some photos, but often the paper sizes available to me are a bit to large and not appropriate for what I want to use the printouts for. A workaround I usually employ is fusing the images together pairwise,...

Read More_

Demo - Vocalizing the Perso-Arabic script

Today my first project demo is live! When I decided to create this site, one big reason was for me to be able to showcase some projects I have worked on. One big issue, however, is that most of them have been part of courses and lack a UI. But...

Read More_

Wrestling with Scala database libraries

I've really enjoyed coding in Scala during my time as a back-end intern at Truecaller. It allows you to write really elegant and type-safe solutions while avoiding all the boilerplate you have to write in Java and other traditional static languages, and it also encourages you to write functional code....

Read More_

Hello, world!

Any developer should have a basic web page. I plan on showcasing some of my projects here, together with the occasional blog post!

Read More_