Programming

Babel 6 won’t work, and I hate everything!!!

Posted on

So, you just installed the latest version of Babel, and you transpiled your ES6 code into ES5. At least, that’s what you thought. But then, your code exploded at runtime, and your dog left the room disgust. What could have possibly gone wrong? Dismayed, you glanced at the transpiled output to see the following:

[…]

Programming

How to speak Django

Posted on

G’day, mate! The last few months have been a fantastic adventure! I have been integrating with the Django natives, learning their language and their culture. It’s really been quite an eye-opening experience, and it has truly helped me appreciate the modern conveniences of polyglot programming. The initial immersion was admittedly a bit rough, and it […]

Programming

Fizz-Buzz-Wheeze-Cough

Posted on

Are you interviewing a know-it-all who thinks that the fizz-buzz problem is too easy?  Then try giving them the advanced version of the problem: fizz-buzz-wheeze-cough! Rules First, start with the classic (boring) rules: If N is divisible by 3, then print “fizz” If N is divisible by 5, then print “buzz” Otherwise, print N Then, sprinkle in these […]

Random

Book Review: The Call of Cthulu

Posted on

A young woman leaves her fast paced job in New York to care for her ailing mother in Cthulu, Kentucky.  After being hypnotized by the small town’s cult…ure, she finds that she cannot stop dreaming about Cthulu.  Will she sacrifice her life (in New York) to pursue the Call of Cthulu? 4 Stars

Productivity

Why I’m becoming an Early Riser

Posted on

Admittedly, I’m kind of obsessed with being productive.  If I’m doing the dishes, then I’m also listening to an audiobook.  If I’m watching television, then I’m also making dinner.  In general, if I’m performing a task that doesn’t require much thought, then I’m also trying to do something productive at the same time. For most […]

Programming

Distributed Resque (or Pyres!) Workers

Posted on

According to the Redis security guide: Redis is designed to be accessed by trusted clients inside trusted environments. Basically, this means that it is not safe to expose a Redis server to the public internet.  But, what if you’re using Resque (or Pyres!) and your worker machines are distributed across the internet?  How can they […]