Other articles


  1. Practical Pylint usage - 2022 May 31

    Pylint is a very powerful tool but it's also hard to use effectively.


    read more
  2. 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
  3. 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
  4. 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
  5. 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
  6. Beware of Python assertions in production code - 2021 July 18

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


    read more
  7. 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
  8. 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
  9. 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

Page 1 / 6 »