a tumblelog
06 Mar 2020

Hacking up your own shell completion

In this post I’ll be walking through a simple hack I added to my shell that I think makes me more productive (if nothing else it makes me happy).

Source: Hacking up your own shell completion, an article by Jeremy Feltracco.

Zip Files: History, Explanation and Implementation

I have been curious about data compression and the Zip file format in particular for a long time. At some point I decided to address that by learning how it works and writing my own Zip program. The implementation turned into an exciting programming exercise; there is great pleasure to be had from creating a well oiled machine that takes data apart, jumbles its bits into a more efficient representation, and puts it all back together again. Hopefully it is interesting to read about too.

This article explains how the Zip file format and its compression scheme work in great detail: LZ77 compression, Huffman coding, Deflate and all. It tells some of the history, and provides a reasonably efficient example implementation written from scratch in C.

Source: Zip Files: History, Explanation and Implementation, an article by Hans Wennborg.

How to Work From Home Without Losing Your Mind

Yes, working from home has its perks. You’re always there to accept deliveries. You can play whatever music you want as loudly as you want. You don’t have to abide the loud chewing or ungracious smells of your colleagues. But you also have to contend with the Scylla and Charybdis of isolation and distraction.

Source: How to Work From Home Without Losing Your Mind, an article by Brian Barrett.