What I learned this week

Software

Exploring UV

  • You can run a tool in an ephemeral environment uvx pycowsay 'hello world!'
  • uvx is an alias for uv tool run
  • install different python versions uv python install 3.10 3.11 3.12 and pin them in a directory uv python pin 3.11; however, by default, Python versions are automatically downloaded as needed without using uv python install
  • The .python-version file can be used to create a default Python version request. uv searches for a .python-version file in the working directory and each of its parents. If none is found, uv will check the user-level configuration directory.
  • Executes standalone scripts with run. echo "print(2+2)" > example.py | uv run example.py
  • uv pip freeze: List installed packages and their versions.

Cool project to visualize directory structure with tree

Fun introduction to Recursion from Al Sweigart

Updating local commits with more changes

Redshift Posix Operators~ And A ~~ is a synonym for LIKE. Pretty cool, had no idea!

Falsehoods Programmers Believe About Names, tried to read this in the Japanese translation and I can’t!

Business/Finance

Math/Stats

Travel

Other

Companion Planting French Marigold seems to ward off pests!?