compression Base64 vs. Gzip For personal projects I mostly try to avoid using databases. Instead, I try to use what I call the "JSON repository" pattern. I create a file structure that contains my data
compression Why isn't it possible to read gzip files from the middle? For instance, consider the case of a backup gone wrong and the first 100k of your backup.tar.gz went missing for some reason. Why isn’t is possible to start reading a
scala Losing Track (Part 2) In part 1, I introduced the problem of debugging cycling code using stack traces. We have seen that we already lose debugging information if tail call optimization kicks in. Let's see what happens
scala Losing track (Part 1) Code has bugs. If you are lucky you spend only half of your life as a coder on debugging code. Most kind of bugs are easy to find and simple to fix. However,