Using ffmpeg to convert audio cassettes to videos

The excellent ffmpeg is the swiss army knife of all video processing. Just as a reminder to myself, here's a command line to convert an image and audio file to a video. ffmpeg -y -loop 1 -framerate 1 …

Yet another rsync based backup script

Just putting this here for easy reference, or to help any random passers by. I know there are tools that are supposed to automate this like rsnapshot but I was disappointed to see that rsnapshot is …

Setting up owncloud on ubuntu 18.04

In this article I will walk us throught installing a bare metal owncloud server based on ubuntu server 18.04. Throughout this guide we will assue that our server is named myowncloud.mydomain.com. Base …

The story with keyboard switching shortcuts

And so one day, I set to build a lightweight desktop environment around lxde. After some customizations, the thing that bugged me was that I could not set the keyboard layout change shortcut to the …

OpenCV calibration patterns

It has been surprisingly difficult to find good opencv calibration patterns. I had found what I though was a good calibration image and ended up wasting my time. Turns out that file does not consist …

Moving to a git monorepo without losing history

I am still hesitant to recommend to everyone to simplify their lives and move to a monorepo. But one can certainly go to extremes with many repositories. Juggling a system with tens of repositories is …

Type safe identifiers in C++

In many cases when writing an API, we need to express the concept of an identifier. In C++ there is a better, type-safe way to do identifiers.

John Carmack on Static code analysis

This is an mirror of a post from John Carmack. Recently I learned that his articles on #AltDevBlog are no longer acessible. So, in order to archive them, I am re-posting them here. These articles are …

John Carmack on Parallel Implementations

This is an mirror of a post from John Carmack. Recently I learned that his articles on #AltDevBlog are no longer acessible. So, in order to archive them, I am re-posting them here. These articles are …

John Carmack on Functional Programming in C++

So, this is an mirror of a post from John Carmack. Recently I learned that his articles on #AltDevBlog are no longer acessible. So, in order to archive them, I am re-posting them here. These articles …