_Highly_, highly related: https://gist.github.com/nylki/1efbaa36635956d35bcc
I tried condensing it a couple years ago ( https://news.ycombinator.com/item?id=14376816 - I was i336_ then), but I think the original is worth slowly reading through.
There are some definite gems in there that will most definitely cheer you up at the very least.