Pytest pro-tips
September 21, 2024
A compilation of pro-tips. This page will be periodically updated.
this and that
September 21, 2024
A compilation of pro-tips. This page will be periodically updated.
August 26, 2024
Understanding these closely related methods can help us write better classes. The devs who use your code will thank you!
August 18, 2024
If you don’t already have a pyproject.toml file for your existing project, you should. It is required to use with pip install . and with poetry. Let’s take a look at what a pyproject file looks like.
August 3, 2024
When you write a function in MATLAB, each function typically is a single .m file. So let’s say you’ve written my_function() and saved that function as my_function.m.
To gain access to this function, you would use the addpath function to add that script to your MATLAB’s search path. After calling addpath(/path/to/myfolder/), which contains myfunction.m, then you can call my_function(). How do these function imports work in Python?
July 13, 2024
A look at how the shoreline of Boston changed over time, which partially explains why the streets of Boston is so poorly laid out.
July 4, 2024
A template for using Makefiles to orchestrate Docker containers