Things on a Heap

A Collection of Programming Ramblings by chjdev

BRVTY - Ain't nobody got time for that


BRVTY is the result of a quick Sunday afternoon hack. It shortens web articles. Just drag the bookmarklet (image) to your bookmark bar and press it on an article you want to have shortened.

Docker overrules UFW!

Docker, by default, directly manipulates iptables in order to work its network magic. It thus completely circumvents UFW rules! In this post I show strategies to deal with this.

TLS secured Docker on Ubuntu 16.04 Quickstart


Installing a Vanilla-Docker environment on Ubuntu 16.04 was surprisingly non-straightforward for me. Turns out it would have been actually quite simple, but the docs and tutorials seem to be still assuming 14.04/non-systemd and led me in circles a bit.

HyperLogLog - Big Data™ in your Browser

In this post we’ll take a look at HyperLogLog, a probabilistic data structure that allows you to estimate the cardinality of huge data sets with minuscule memory requirements. This page is running an implementation JavaScript and uses 4kb to estimate a cardinality of up to 10,000,000 unique visitors based on 50,000,000 randomly generated visits.