Category Archives: Code

JSON and JSONlines from the command line

At Swoop we have many terabytes of JSON-like data in MongoDB, Redis, ElasticSearch, HDFS/Hadoop and even Amazon Redshift. While the internal representations are typically not JSON but BSON, MsgPack or native encodings, when it comes time to move large amounts … Continue reading

Posted in Code | Tagged , , , , , , , , | 5 Comments

One more vote for functional languages

I’ve been doing a lot of work on startup anti-patterns recently so it seems fitting that I look at other things through that lens. Every few months I fall into the same debugging anti-pattern: I start using a debugger to … Continue reading

Posted in Code | Tagged , , , , , , | Leave a comment

The fastest way to learn a new programming language

In school, I used to pick up new programming languages for fun. I could take my time to learn & explore them in whichever way felt right, without pressure. I implemented for fun and the code rarely ended up in … Continue reading

Posted in Code, Swoop | Tagged , , , , , , , | 1 Comment

One line Tropo debugging gem

I’ve worked with Tropo, a cloud telephony platform, for a few months now, primarily using the Ruby scripting API. Tropo’s script execution model is a bit strange–the script file is pre-pended with a bootstrap block of code and the combined … Continue reading

Posted in Code | Tagged , | 1 Comment