Fast Random bool in C++

With lots of benchmarks

While playing around with fast random number generators, I’ve started contemplating what’s the fastest way to uniformly generate random boolean values. The correct solution is this (never mind the bad seeding of mt19973, but it’s just too cumbersome to do it correctly): [Read More]

Visualizing Bitcoin's Unspent Transaction Output

UTXO in all it's glory

About 5 years ago I’ve created a nice graph of all the bitcoin addresses. I got this: A year later I’ve tried to recreate it, but couldn’t because my PC at that time did not have enough RAM for znort987’s parser that I had used. Fast forward to September 2018, bitcoin now has an a fantastic simple REST interface! So I’ve tried again to create an updated graph of all unspent bitcoin transactions. Unfortunately, my previously used gnuplot script didn’t cut it any more. Too much RAM useage even for my now 32GB machine. I wrote my own renderer and... [Read More]

Essential Linux Dev Stuff

I’ve recently started developing more in Linux, here is a collection of tools, tips and tricks to get the most out of the box. I’ll expand this list from time to time. [Read More]

Analyzing Keto Calculator Demographics

Recently my Keto Calculator has grown huge. So big, that in January 2016 alone I’ve had 222,781 page views. That is a record for my site, and I have no reason to believe that it will slow down anytime soon. In my quest to make all the visitors as happy as possible, I’ve done quite a bit of analysis of my visitors to find out what I need to do with my homepage. Here is some of the data that I have gathered using Google Analytics. [Read More]

Google Analytics Experiments is Buggy

Google Analytics has a very interesting nice feature: it is possible to use it for A/B testing, and in a nice client-side way that just uses javascript. I am using this to improve my keto calculator website. An interesting feature is that google uses a multi-armed bandit implementation, which optimizes the A/B split ratio while optimizing. [Read More]

Beautiful Git Logs

git has a very configurable logging options. I’ve played a while with the configuration, and found an awesome alias that looks just beautiful. It only works as of git 1.8.3 (March 24, 2013) because it uses auto coloring. [Read More]

FreeArc Compression Settings

I have been playing around with compression tools for quite a while, and FreeArc is one of the best of the bunch. It has the best compression / runtime ratio of any compression tool I know. Here are two parameter sets I especially like: [Read More]