Programming

$ grep -r -l "programming" /content/programming/*.html

Introducing wk

A while back I wrote about some handy aliases for virtualenv and serializing frequently and commonly chained commands that one uses to setup project environments. This is a first step at realizing the ideas I had when I wrote that post. The need for WK Like the previous post explained ...

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 ...

Conveniently Storing Lists in Database

Storing sequential data in database shouldn't require much effort. And storing lists of sequential data should be just as easy. Except. Dude?! If I want to store a list structure, won't I have to extend the Column Type? Well, if you're going to be inserting and removing ...

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. A review.

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...

Introducing wk

A while back I wrote about some handy aliases for virtualenv and serializing frequently and commonly chained commands that one uses to setup project environments. This is a first step at realiz...