Danny Roberts

Senior Engineer

Danny Roberts is a strong believer in applying his general life principle of being nice and having fun to software engineering. A Boston-area native and half-Brazilian, Danny’s interest in the world led him to study a number of languages which he speaks to various degrees of proficiency including Portuguese, Latin, German, Chinese, Romanian, and Ancient Greek.

Danny graduated from Princeton University in 2010 with a Bachelor of Science and Engineering degree in Computer Science. While at Princeton, he became interested in web development as a way to “be the change you want to see in the world” after working on a few web projects. Danny joined Dimagi in 2010 to improve his knowledge of geography, to use what he knows to be the change he wants to see in the world, and of course to be nice and have fun.

Most Recent Posts By Danny Roberts

One of the great things about Python is how easy it is to hit the ground running. The standard library is vast, and for every common problem people have, someone has written and published a library that you can download and install with pip. Often there is one right way to do things. Want to make […]

A little more than five years ago, I started working with CouchDB. I had recently joined Dimagi, and before I arrived on the scene, Dimagi had found some success using CouchDB in one of our largest projects at the time, an offline EMR in Zambia. We chose CouchDB because of its replication capabilities, which let us keep data […]

This came up when I was trying to mail out lines appended to the apache error log as they came in. The essence of what I wanted to do could be written succinctly as: tail -f logfile | python email_lines.py Where email_lines.py is essentially for l…

This isn’t anything new, but I use these all the time so it’s nice to have something to point to for git newcomers.# create a new branch and check it outgit checkout -b BRANCH # list all branches—you should prune regularly to keep the list small…

I’m going to preface this by saying that it might be more clever than useful, but I’ve already started using it code and gotten kind of addicted. Sometimes you have some really long list comprehension that starts spanning multiple lines, e.g. good…

Loading posts...
HTML Snippets Powered By : XYZScripts.com