Pied Piper’s Compression Code From HBO’s Silicon Valley, Compiled

The third season of HBO’s Silicon Valley is now under way and if you caught the first episode, you would have noticed a snippet of Pied Piper’s valuable compression code towards the end of the show. Turns out this code actually compiles, though the output isn’t what you might expect.

Or perhaps it is.

Obviously, Mike Judge doesn’t hold the key to a compression algorithm that tosses the laws of information entropy out the window. So, what’s the next best thing? Well, that would be a joke.

You can see the code snippet from the show, in written form, over on Wikicoding. For those with sore clicking fingers, here it is replicated: