Blog

  1. type object ‘MyModel’ has no attribute ‘DoesNotExist’ •
    TIL not all model attributes are created equally
    django python til
  2. Origins of “The Rule of Three” •
    Investigating a piece of software folklore
    programming history
  3. Better Python mock assertions •
    Avoiding tortured assertions when mocking
    python testing
  4. Python mocks should always have a spec •
    Except when they shouldn’t!
    python testing
  5. Learning about Python performance optimisation •
    Adventures in making my code faster
    performance python
  6. highway-code-diff •
    How I keep up-to-date with changes to the UK Highway Code
    python
  7. Removing errors from Datadog traces •
    How to ensure your application monitoring ignores a specific error
    datadog django python
  8. Django database couldn’t be flushed •
    A strange error in an unrelated part of my test suite
    django postgres python wth
  9. Identifying gaps in your knowledge •
    How do you figure out what you don’t know?
    professional development
  10. Cassini Traceback •
    My entry for NaNoGenMo 2019 imagines how a machine might tell the story of another machine (contains flashing images)
    nanogenmo python
  11. B9 Indifference •
    My entry for NaNoGenMo 2017 generates Star Trek TNG scripts!
    nanogenmo python
  12. Captain’s Log •
    My entry for NaNoGenMo 2016 generates an arbitrary number of words of luckless captains and their endeavours
    nanogenmo python

An RSS feed is available.