1. Pair programming with beginners - 2018 November 12

    Effectively using pair programming to teach beginning programmers


    read more
  2. PyCon Australia 2018 - 2018 September 01

    Some of my notes from PyCon Australia 2018


    read more
  3. A couple of questions about mypy - 2018 July 20

    mypy is a useful tool for code quality in Python, I had a fellow developer ask me a few questions about it over email and my answers to some of the questions are in this post.


    read more
  4. Python's __hash__ function is not a cryptographic hash - 2018 July 14

    You may have noticed that Python has an internal hashing method. Please note that this is not suitable as a cryptographic hash. If you need a cryptographic hash please use something else like hashlib.


    read more
  5. Limiting the runtime of Python unit tests - 2018 June 23

    If you need to limit the run time of python unit tests you can use the pytest-timeout decorator to do it.


    read more
  6. Pytest fixtures with Flask - 2018 May 27

    Recently I've been working on a web API with Flask, here's how I went about making unit tests with pytest work well with Flask and testing the API via requests.


    read more
  7. Renaming Git branches - 2018 May 24

    I make typos in git branches from time to time, here's how I fix these mistakes.


    read more
  8. Moving commits from one repository to another. - 2018 May 11

    Sometimes you'll have a project using Git where you have some commits that you wish to move into a new repository. Here's a way you can do that using git cherry-pick


    read more
  9. Enforcing foreign key constraints with SQLite - 2018 May 07

    SQLAlchemy when used with SQLite as the backend doesn't enforce foreign key constraints by default, here's how to enable that behavior.


    read more
  10. Python self references - 2018 April 22

    This is a bit of Python trivia but Python containers can store items that are self references.


    read more

« Page 28 / 32 »