I'm Software Engineer.

I've been at Joyable since the fall of 2014. Before that I was at Threadflip and Expensify.

Disguising Ruby as Javascript

Because my parents didn't raise me right, I decided to take another crack at making valid ruby that is indistinguishable from javascript.

Read more


Twitter + Ffmpeg

Want to upload audio to twitter? You can't. You'd have to upload it to soundcloud, then post that link to twitter. Some clients will give you a nice in-app soundcloud player and some won't.

You can upload video to twitter, though.

Read more


Catcher's Mitt- A Simple Tool To Print Http Requests

The other day I released Mitt, a simple tool that listens for http connections on a specified port and prints out requests to stdout.

Read more


Bulk Upload Mailgun Suppressions CSV

This is just another one of those posts summarizing some time I wasted so hopefully someone else won't waste theirs.

If you have a big list of suppressions (emails of users who unsubscribed, marked you as spam, etc) from another email provider (eg Sendgrid) and want to import them into Mailgun, there's no easy way to do it. The web UI doesn't seem to have a way and their SDKs don't support it yet.

Their API, however, does. Here's a little ruby script that will read a sendgrid csv and upload all the emails to mailgun as suppressions (in this case "complaints", which are the equivalent of sendgrid's "spam" list emails).

Read more


How to use time

How much work should you do? If you manage a team, how much work should each of your direct reports do?

It's a simple question, but how you answer it can have a profound impact on your company and culture.

Read more