mate util functions for coffeescript, includes log macro, dict comprehension,  pseudo-random, and so on