Use Black to Format Python and get on with Your Life
Nov 03, 2020
When I first started working in software development teams, I can remember heated discussions on pull requests on a few occasions. Typically these were when I or other developers reviewed code that didn’t meet formatting rules that were felt best for that piece of work. It didn’t matter whether the rules in question were in code, documented in a README or just held in a developers head, the simple fact that something was wrong on the project meant the author needed to make changes, be severely reprimanded and never make the mistake again.
How to Deploy a Django App to the DigitalOcean App Platform
Oct 28, 2020
Digitalocean recently launched their App platform, a platform as a service (PaaS) which can be seen as a competitor to the likes of Heroku. As a Python developer, I wanted to see how easy it was to deploy a django app to App platform. It took me a little while to configure everything correctly so I thought I’d go through some of the points that tripped me up here.
I’ve been looking for some time for a relatively simple method for deploying my projects, but I also want to use a pattern where my repo is the primary source of truth for my app.
Publishing to PyPI Using Github Actions
Oct 23, 2020
In creating my first package on PyPI, I realised that many of the tasks I’d want to do on a subsequent publish would be repetitive. If I wanted to push out a simple fix, I wanted to automate away those tasks so I could focus on my code rather than a sequence of repetitive steps.
Github actions is a simple way to do this and has given me the ability to quickly push out changes without lots of manual work.
Publishing a Package to PyPI with Poetry
Oct 20, 2020
I recently published my first ever package to the Python Package Index (PyPI). The process was particularly novel for me as it meant my first ever use of the Poetry package management tool. If you happen to work in a production studio that uses ftrack and is now working remotely, you might even want to take a look at it as it enables sharing of assets using the Simple Storage Service (S3) from Amazon Web Services.
Dec 06, 2018
I’ve been thinking recently about purpose for Nifty Digits and myself, reviewing the clients I’ve done work for in the past and that work which I’ve felt most fulfilled by.
I’ve straddled a path between web/pipeline developer thus far - so it’s fairly difficult to pin down what I do in a single mission statement. A more enterprising developer may well have done that as part of a business plan when they first started.
Nov 21, 2018
As we nearing Christmas, we’re met with the familiar annual trickle of uplifting, heartwarming adverts that show just how wonderful your world will be if only you would buy your gifts from a particular retailer. After several weeks of this I’m already feeling bad for thinking our simple, paired down family Christmas experience might just not compare and wondering how anyone can’t help but feel any different after two months of constant commercial brainwashing.
My Web Development Stack in 2018
Nov 07, 2018
Over my time as a web developer, I’ve jumped between many frameworks and languages, attempting to find ones that work well for me. This seems to be pretty typical for developers who always have a take on the latest trend, either to quickly adopt or criticise it.
I really wanted to be a member of the Ruby crew for a time and ended up buying multiple copies of “Agile Web Development with Rails”, before having the opportunity to really apply it to a project and disposing of them because the material was outdated.
What’s in a name?
Oct 16, 2018
I usually get one of two looks when I announce the name of my company as “Nifty Digits”. Either a “Ah, I like that” or a raised eyebrow. Generally, it’s the person latter in years who might raise an eyebrow.
When I picked the name, I was still a PhD student at University and wanted something that “sounded technical (digits), but also sort of British (nifty)”. I also was heavily influenced number of web design bloggers at the time, particularly Dan Cedarholm’s blog “Simple Bits”.
Blogging with Hugo
Oct 04, 2018
All my most recent blog posts seem to be about updating my blog tooling (much as Rick commented earlier today). By recent, I obviously mean within the last 5 years.
I back tracked through my blog updates and discovered I’ve used 5 different tools over my 15 year history on the web.
Moveable Type (2003) b2/Cafelog (2003) WordPress (2003) Jekyll (2014) Metalsmith (2015) Hugo (2018) Something got lost in the process of migrating through all these blogging platforms, using increasingly complex plugins to generate what is simple static html.
User Generated Forms with WTForms
Apr 18, 2017
As part of my past work with the Office for National Statistics (ONS), I worked with the survey runner team to add additional features to their Electronic Questionnaire which enabled the business to take regular surveys electronically via the web. During my final months there, I took it upon myself to tackle what was seen to be one of the projects major pieces of technical debt, its use of a custom form renderer.