Unix & Linux Survival Guide for Data Science etc.

Posted on Mon 21 February 2022 in TDDA • Tagged with tests, cartoon

Cheat-sheet for unix and linux

PDF Version (A4)

PDF Version (Letter)

Continue reading

One Tiny Bug Fix etc.

Posted on Wed 16 February 2022 in TDDA • Tagged with tests, cartoon

White Cat: The tests have failed again. Black Cat: Did you change the code? White Cat: No! Black Cat: Really? White Cat: I just fixed on TINY BUG in a COMPLETE DIFFERENT part of the code. There's NO WAY that could cause this!

Continue reading

Why Code Rusts

Posted on Mon 07 February 2022 in TDDA • Tagged with tests, reference tests, rust

or Why Tests Spontanously Fail

You might think that if you write a program, and don't change anything, then come back a day later (or a decade later) and run it with the same inputs, it would produce the same output. At their core, reference tests exist because this isn't …

Continue reading

Flat Files (a.k.a. CSV files)

Posted on Fri 16 July 2021 in TDDA • Tagged with data

This week, a client I'm working for received a large volume of data, and as usual the data was sent as "flat" files—or CSV (comma-separated values1) files, as they are more often called. Everyone hates CSV files, because they are badly specified, contain little metadata and are generally …

Continue reading

Sharing Tests across Implementations by Externalizing Test Data

Posted on Sun 30 August 2020 in TDDA • Tagged with tests, reference tests, data

I've been dabbling in Swift—Apple's new-ish programming language—recently. One of the things I often do when learning a new language is either to take an existing project in a language I know (usually, Python) and translate it to the new one, or (better) to try a new project …

Continue reading