packaging projects with bash

2020-06-26

 | 

~3 min read

 | 

560 words

As part of the build pipeline for a project I’ve been working on lately, we’ve been packaging up projects into zip files that are then…

raising (custom) exceptions in python

2020-06-25

 | 

~2 min read

 | 

281 words

If a Python program receives values it cannot handle, it can abort by raising an exception. Most of errors in Python are built on the…

a looping cheatsheet for python

2020-06-24

 | 

~2 min read

 | 

309 words

The following post is inspired by Trey Hunner’s great post on looping with indexes in Python. What’s below: Standard loop through an…

throwing errors in golang

2020-06-23

 | 

~2 min read

 | 

346 words

Imagine we’re counting the nucleotides in a given strand of DNA. If there’s an invalid nucleotide, we want to abort the process. How might…

list comprehension and chunking in python

2020-06-23

 | 

~2 min read

 | 

225 words

Previously, I wrote about basic use cases of list comprehension in Python. Today’s example is slightly different and has to do with chunking…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!