MOK's Onomatomaniske Kaos
Super Cool

Tags

    Patching suckless programs using Quilt
    I created a system to patch suckless programs using GNU quilt. When building suckless programs from source I found that dealing with the patches was confusing and error prone. I therefore made a tool to make looking at patches systematic and reproducible by making use of quilt. This tool is used by Debian for patching source packages which is why I know about it. The advantage of using quilt is that you can always reverse the patches and get back to a blank slate, which means you can do git pull from the upstream repo and then reapply your patches. ...

    Using pyenv to manage your Python versions
    In this blog post I will explain how I use pyenv to manage my Python installation. The following is only of relevance if you develop Python programs. Most – if not all – Linux distributions come with a system version of Python, and the most important reason to include it as a system package is to run Python code from other packages. If you develop Python programs you find you’ll need to install other Python modules. ...

    Timezone Aware Timestamps in Python

    The datetime object in Python is very powerful, but if you want to do serious timeseries analysis and use data from around the world, you need to use timezone aware datetime objects, and these are not the default.

    ...