Claus Witt

How to be an idiot at coding part infinite + 1

We had some code read partial responses from a server. This code was tested thoroughly and worked as intended. We got the amount of bytes we needed from the head...

One of those "I just needed to deploy"-days

It all began when I had to deploy a change, that needs to go live today.

The software to build the docker image failed because of the ruby version not being...

Pretty Print json in vim

I hand edit json many times a week. For that reason the vim command for doing a quick pretty printing of json in current buffer usually is muscle memory for...

Our most simple transcoding service

At Fliva we had an issue; customers kept uploading iPhone footage in HDR formats with varying framerates, and our software could not handle it. The colors looked washed out, and...

Writing a Progress Bar Overlay Shader

Some of our customers in Fliva want to show a simple progress bar inside their video. You see this a lot nowadays in social media videos, where the progress of...

Writing a Hubot Adapter for Bitrix

Back in the day, we installed hubot on our Hipchat developer chat. When hipchat got sold to Atlassian we jumped ship and chose Slack instead. Years later the company chose...

Corona Beats from Last Year

Last year I spent some time one afternoon making a short corona-beat. I never really shared it... Now it's here...

SoundCloud · Corona Beatz #1

Decoding Video Frames with ffmpeg/libav

Opening the file

AVFormatContext *formatContext;

if (avformat_open_input(&formatContext, "path/to/file.ext", nullptr, nullptr) != 0) exit(1); // Couldn't...

Install Datadog in Kubernetes

First of all, we use helm. So we start here: https://docs.datadoghq.com/agent/kubernetes/?tab=helm

Add the repository

helm repo add datadog https://helm.datadoghq.com
helm repo add stable https://charts.helm.sh/stable

...

Just Create a Relation

I recently read You might as well timestamp it and today I came across an equal truism

Just create a relation.

Many a time have i seen tables of a given object...