Other articles


  1. Updating your setup.py files to the newer format

    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
  2. Stockfish vs AlphaZero

    The match of the strongest traditional chess engine Stockfish vs the AlphaZero chess engine was extremely interesting on a number of levels.


    read more
  3. Demand shocks and toilet paper

    Maybe of the most iconic moments of the COVID19 situation was the run on toilet paper. This was an interesting moment in terms of the supply and demand.


    read more
  4. Air quality

    The air quality in Melbourne is noticeably better at the moment.


    read more
  5. End of an Australian airline era

    Virgin Australia's collapse brings back memories of the collapse of Ansett Australia. Digging into the details was far more interesting than I expected and led to this post.


    read more
  6. Number pyramid problem

    Got asked about an interesting mathematics problem the other day, here's some thoughts about it.


    read more
  7. Maker vs manager schedules

    Due to world events lately I've been able to spend a lot more time on the maker schedule as compared to the manager schedule. This has been amazingly good for my ability to do creative work because I work on especially hard problems that take a lot of uninterrupted time to be able to effectively work on.


    read more
  8. Creating your own user events in pygame

    Here's how you can create your own user events in Pygame.


    read more
  9. Unicode whitespaces in Python

    Getting a list of all the Unicode whitespace characters is less straightforward than I would have hoped.


    read more

Page 1 / 11 »