Other articles


  1. 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
  2. Type annotations in Python 3.7 - 2021 August 31

    Forward type annotations are significantly easier in Python 3.7+ since PEP 563 landed in the language, here's how you can use them.


    read more
  3. Numpy and mypy type checking - 2021 August 11

    Getting numpy to work with mypy requires installing the right package and making a few configuration changes.


    read more
  4. SQLAlchemy and mypy type checking - 2021 August 10

    Getting SQLAlchemy to work with mypy requires installing the right package and making a few configuration changes.


    read more
  5. Beware of Python assertions in production code - 2021 July 18

    Python assertions have a few important downsides that need to be discussed.


    read more
  6. Sentinel objects and mypy type checking - 2021 July 16

    There's a few annoying edge cases with using sentinel objects with mypy. Since I think both sentinel objects are useful and mypy is useful I want to be able to use both.


    read more
  7. The fmt library - 2021 March 26

    Recently I found out about the fmt library for C++ and I like what I see (so far at least)


    read more
  8. How wide are the underlying data types for Python integers - 2021 March 11

    Here's how you can find out how many bytes wide the underlying data structures are for Python integers.


    read more
  9. Dependency management in code files is not great - 2021 January 03

    Managing dependencies via executable code files seems OK but actually turns into a massive pain, here's why.


    read more

Page 1 / 6 »