UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x8b in position 1: invalid start byte


When upgrading one of my development servers from Ubuntu 14.04 LTS to 16.04 LTS, I encountered a fun little error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte. Googling gave me an AskUbuntu post that suggested I look inĀ /etc/apt/sources.list.d/ for a bad character. I decided I’d just rm * the contents of the directory and save myself time. That...

Mixing Multiple Audio Files With SoX


SoX, the “Swiss Army knife of sound processing”, is awesome. I’ve been using it a lot lately for a project I’m working on, and I encountered a situation not quite covered in their documentation. I wanted to mix multiple audio files together to create a new file. Let’s say I have a file with a really cool beat and I wanted to completely ruin it by adding another file...


I'm a software developer by day, and writer by night. I also write code at night, and occasionally words by day. Really, the main takeaway is I enjoy typing on a keyboard a lot.

Get in touch

You can find me on Github and Goodreads.

Fork me on GitHub

Recent Posts

Recent Comments