October 22, 2024
I've spent the last few days running head-first into a problem over and over, and I hope this might help someone else avoid this pain.
The command `docker compose --env-file example.env up` does not do the same thing as `docker …
May 18, 2023
Are you a Python developer striving to write better software with fewer bugs? If you've been intimidated by the concept of refactoring or felt frustrated by the lack of Python-specific advice, then you're in the right place. Welcome to the …
March 3, 2023
Updated 2023-06-23: My initial solution started failing in a Chromium browser, so I had to create a more robust workaround. See below.
HTMX has done wonders to help me enjoy my web development tasks.
Recently, I became aware of a …
February 14, 2023
Type hints are a great tool to communicate your intent with your code.
When starting with type hints, many people will document functions similar to how I did with this function:
January 9, 2023
For years, I have been using the Bullet Journal Method to organize my daily life and projects at work. During this time, I have found several unexpected benefits from this practice, including large bonuses.
With the new year starting, I …
December 21, 2022
One of my frustrations with VisualStudio Code was creating a `launch.json` file whenever I wanted to debug a one-off Python file.
Today, I learned that you could add a debugger configuration to your user settings. This allows you always to …
November 30, 2022
This is a blogified version of my 18-minute PyJamas talk, Refactor refactoring—How changing your views on refactoring can make your job more satisfying.
You can watch it here:
June 17, 2022
The reason you use hash passwords is to provide a layer of data protection.
You should not save any data you don't want to be responsible for. Passwords are a valuable piece of data, and in the past, many developers …
April 13, 2021
The pre-commit project is immensely helpful. I use it on every project at home and work to run a few checks and ensure my code is formatted in a uniform fashion every time I commit it to the repo.
The …
March 16, 2021
In my last post, I talked about how using coding challenges, or katas, can help you grow as a python developer.
In particular, I mentioned how the Fizz Buzz challenge enabled me to think about the "O" in the SOLID …