Aug 29, 2023
About six months ago, I upgraded our family accounts from Ledger to hledger. The CLI API of hledger is better than that of Ledger and the feedback received when a balance assertion fails is just one example.
Jul 26, 2023
Using pipx has improved my daily development experience considerably.
Dec 19, 2022
Sanity checking Pytest’s .gitignore files.
Apr 23, 2020
Open source maintainers can move their projects from travis-ci.org to travis-ci.com to get more reliable GitHub integration.
Apr 02, 2020
GitHub’s API rate limits are hurting Travis CI’s service quality. What does this mean for the future of the GitHub ecosystem?
Apr 21, 2018
Thoughts on the benefits of extracting library code from Python projects into their own packages.
Aug 07, 2017
This post explores how to extract arrangement code when working with the Arrange Act Assert pattern so that it can be used with certainty across the test suite.
Jul 06, 2017
This post introduces the Arrange Act Assert pattern of testing and shows how it can be used in a Python context with Pytest.
May 30, 2017
An updated simple assertion helper for comparing instances of Django’s Q objects using pytest in Python 3.
Jan 04, 2017
My current Vim setup for Python development.
Nov 13, 2016
Using pip-tools with multiple requirements files can be difficult. This post describes my current workflow that manages the complexity with a Makefile.
Oct 12, 2016
Exploring the various model instance factories available for Django. Each factory is tested based on the quality of the instances it creates. Bonus: talk version and slides also available.
Sep 18, 2016
My PyConUK 2016 talk about the AAA pattern for unit tests and how using it can help us all make our tests cleaner, easier to read and as Pythonic as possible.
May 12, 2016
Exploring Python’s unittest module boolean assert methods and how they can be misleading in certain situations, but not if you RTFM of course.
May 04, 2016
How can documenting an API help us to communicate with our team and API consumer developers efficiently?
Mar 28, 2016
A super simple assertion helper for comparing instances of Django’s Q objects.
Nov 15, 2015
Confirming that Django can screw up your data when saving, and exploring why this is still the case.
Aug 16, 2015
At July’s Vim London I gave a talk about some of Vim’s irregular behaviours. Using bare-bones Vim to present and demonstrate from is a risky business!
Jul 18, 2015
Django has been my go-to web framework for about three years. But I wish I’d started with it sooner. This became a talk which I gave at the London Django meetup in July this year.
Jan 09, 2015
A small Python 3 sketch of a solution to a water pouring problem.
Nov 17, 2014
Found that tests on a recent project started breaking for no clear reason, and it turned out it was because I’d used get to retrieve values from Contexts.
Oct 12, 2014
For the last month I’ve been using Codeship for Continuous Integration on my current client project. These are my current thoughts on this hosted service that works with Github and BitBucket repositories.
Mar 29, 2014
Agencies often provide flat designs to web developers as a specification, but these only scratch the surface of a true website functional specification. This is a check-list of features which can be fleshed out to start the journey towards a full functional spec.
Jan 31, 2014
A presentation I made at ustwo’s Tech Thursday about Seinfeld Technique and how it can help coders to get their personal projects moving.
Dec 14, 2013
Notes to myself on generators and how to create them with generator expressions and the yield statement.
Nov 19, 2013
Should detailed history be kept for development features, if so, where?
Nov 01, 2013
This week I presented at Vim-London about vi nature and the benefits for using it in more than vim.
Oct 22, 2013
Notes to myself about Python decorators with a focus on making them testable.
Jul 14, 2013
So you want to earn some extra cash on your weekends, what should you charge?
Jun 16, 2013
Talk at Pyramid London meetup about testing strategies for Pyramid applications.
May 08, 2013
Talk at the first Pyramid London meetup about the Pyramid Router, URL Traversal and Dispatch.
Apr 28, 2013
Reincublog is a super mini Django blog weekend hack, coded as part of a recruitment process.
Mar 29, 2013
Migrating a project from Django 1.4 to Django 1.5 had a couple of gotchas that cost me dev time.
Feb 21, 2013
A tweaked fork of the Pelican Svbtle theme with some cleaned CSS and HTML.
Jan 25, 2013
A newly structured documentation site and tutorial for the online editor.
Jan 20, 2013
Using Pelican to generate this blog, a move away from Jekyll and to some pure Python.
Jan 20, 2013
My Mako question got no views and no answers - should we be using Mako if things are so quiet?
Nov 30, 2012
Updates to pyramid_simpleauth to allow for uppercase passwords and some bug fixes.
Sep 25, 2012
Some small updates to the django-mailchimp library to upgrade to the latest Mailchimp API.
May 05, 2012
A tiny pull request to stop django-menu from throwing exceptions on new unconfigured sites.