Other articles


  1. Natural sorting and pelican series

    Looks like the plug in I was using to make series of posts on here doesn't actually sort them the way I'd want.


    read more
  2. A handy git command

    git pull --rebase is quite a useful command, I use it a lot when I'm working on this blog.


    read more
  3. Git preview for a single file?

    I'd really like to be able to give people access to a single file in a Git repository without having to share the whole repository with them. This would really help in situations where people are looking for feedback on something.


    read more
  4. PHP turns 25

    PHP is now a quarter of a century old!


    read more
  5. The MIT licence is community hostile

    The more I think about the MIT licence the more I think it encourages freeloading and other community hostile behavior. It also has very substantial issues with software patents that can, and do, derail projects.


    read more
  6. PyPi web API

    PyPi has a web API that will give you JSON encoded information about packages.


    read more
  7. 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
  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 / 10 »