Latest Posts

TIL: time travel with Python’s standard library

There are a few different approaches for writing tests for date and/or time-sensitive functionality.

One could choose to add a sleep() in the test, which would guarantee that the time passed, but that also has the downside of increasing the run time of the test.

Book review: The Programmer’s Brain

As a software developer, I usually self-refer as a “Professional learner” and this book’s subtitle ("What every programmer needs to know about cognition") caught my eye right away.

TIL: installed packages in Python – list, and show

If your Python project has a very short list of required packages (in requirements, pipfile, etc), it’s easy to see all packages you have. But on large projects, the dependencies can run pretty long, not to mention the dependencies for the required packages. And what about learning more about those dependencies?

Newer Posts