Programming
Iterables in Segments
Start with an iterable (list, tuple, set, etc.) and loop through it. Only instead of taking one element at a time, grab a segment of elements and then loop through them respectively. Recently I needed to improve upon some ways I found to do this, so I documented three approaches ...
Beautifying Dict Output in Python
Printing dictionaries in the terminal for purposes of debugging is sometimes a last resort. Yet a last resort needs to work, that's why we do it! But printing these types of data structures is actually hard to work with because if the problem you're trying to debug is ...
Aliases for Virtualenv
I've been using the following aliases in conjunction with virtualenv wrapper a while now: alias v="workon" alias v.mk="mkvirtualenv" I got them from this blog post This makes virtualenv activation and creation pretty damn easy! But today I wanted to get a little more out of them ...
JSON > DICT > OBJ
Weird little situation came up while I was working on a research project last night. I've been taking a string representation of a dictionary and converting it into JSON to render with handlebars.js but It's finally gotten to the point that I needed a bit more from ...
Latest Posts
The Martian.
This book was absolutely riveting. It kept me up two nights in a row and had me imagining amber Martian landscapes around the clock. The author, Andy Weir, was previously a software engineer,...
Pragmatic MVP, References
The Pragmatic MVP is a talk I gave at TalTech Expo 2015 on building effective early stage prototypes. Below is a list of websites, articles, and books I used in preparation...
Iterables in Segments
Start with an iterable (list, tuple, set, etc.) and loop through it. Only instead of taking one element at a time, grab a segment....