Other articles


  1. Finding system temperature from the command line - 2023 November 10

    Here's a command I've been using to find the temperature of some of the hardware I've bene running from the command line.


    read more: Finding system temperature from the command line
  2. Spinning rust drives - 2023 September 01

    Old platter based hard drives are really slow compared to some newer SSD technology, but they are still cheap!


    read more: Spinning rust drives
  3. Debugging an issue with Pelican - 2022 February 21

    I ran into a slightly weird issue with Pelican, here's how I debugged it.


    read more: Debugging an issue with Pelican
  4. My bank workshop experience - 2022 February 17

    Just as the Covid pandemic was starting I ran a workshop that was easily the worst one I've run in my career. Despite things going poorly there was a huge learning opportunity that I'm glad I had. The banking industry has changed dramatically and I wasn't prepared for it.


    read more: My bank workshop experience
  5. Getting CORS to work with Flask - 2021 September 14

    Getting CORS to work can be a pain, here's an annoying issue I ran into with flask.


    read more: Getting CORS to work with Flask
  6. Good developers care about their tools - 2020 October 15

    Good tools are important and organizations that shut down progress on this front don't succeed longer term.


    read more: Good developers care about their tools
  7. Default parameters and sentinel objects - 2020 August 18

    How you can use sentinel objects to define default parameters in Python without running into the mutable default parameter pitfall.


    read more: Default parameters and sentinel objects
  8. Python's data model and intuitive operators - 2020 July 11

    Being familiar with the implications of Python's data model will help you be able to make more intuitive APIs.


    read more: Python's data model and intuitive operators
  9. Updating your setup.py files to the newer format - 2020 May 11

    One of the not so nice things about legacy installable python packages is the executable nature of setup.py files. This means amongst other things that you can't reliably determine the contents of some setup.py files without arbitrary code execution. This is what led to PEP 518 which specified a declarative metadata format that can be stored in easy to parse file. Updating is a pain though, but thankfully there's some tooling that makes this easier as I found out recently.


    read more: Updating your setup.py files to the newer format

Page 1 / 5 ⇉