knaxuslearn · build · ship

Roadmaps / Python / Setup and lab safety

Read first

Setup and lab safety

You need one laptop with 8 GB of RAM or more, uv, the current stable CPython and its free-threaded build (the 3.15t variant), Docker and Postgres in a container. Everything is free. Linux or macOS works best; the profiling tools in Phase 3 are easiest on Linux.

RiskRule
Installing packages runs codeUse a throwaway virtual environment for any package you have not vetted. The milestone has a dependency budget.
Load tests can flood a serviceLoad test only your own service on your own machine or a private network.
pickle and eval run arbitrary codeNever load a pickle you did not create. Week 15 shows why with a seeded example, run in a container.
A database test can destroy dataRun tests against a throwaway Postgres container, never a shared database.