1. 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
  2. Another reason why piping the outputs of curl into bash is a security risk - 2021 September 05

    Piping the output of curl into bash is a bad idea for a lot of reasons, please don't do it and don't suggest that other people do it either.


    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. Javascript support in this blog - 2021 July 05

    I've finally got around to supporting javascript in this blog.


    read more
  9. WordPress enumerations - 2021 June 09

    While looking through my server logs the other day I saw a bunch of suspicious requests looking to scan/exploit WordPress installs.


    read more
  10. Geoclue and other annoyances - 2021 June 01

    I'm not a fan of some of some apps that "call home" being both installed by default in certain versions of Ubuntu but also keeping open sockets. Some of these changes have happened quietly in software updates with the result that some software that didn't used to call home now does.


    read more

« Page 2 / 13 »