Cover Image

Give your JPEGs alpha channels

If you need alpha transparency on the web, 24-bit PNGs are usually your best bet. The only problem is that PNGs are lossless and can grow in file size very quickly—much larger than your average JPEG. So what if there was a way for JPEGs to support alpha channels?

Cover Image

How to get faster and better help from support

It's tempting to take out your frustrations on the support person answering your email, but don't send out a message raging about their incompetence. Don't tell them how their product sucks or doesn't work the way you expect it to. Don't TYPE IN ALL CAPS to make sure they understand that you're frustrated. It won't get you faster help—it just makes you look like an asshole.

Cover Image

Parsing URLs in JavaScript

There's an excellent trick to parsing URLs in JavaScript, which was introduced last year by John Long over on GitHub. This technique works great, but the resulting search property will be a raw query string. This isn't very useful if you need to access certain variables in said query string. Thus, the following function expands on this paradigm, providing an additional property that contains an object based on the original query string.