GeistHaus
log in · sign up

My Weeknotes for the third Week of July

wersdoerfer.de

I've been thinking about blogging more regularly, even if it's just quick "Today I Learned" posts whenever I discover a new approach to something. In our latest podcast episode, we discussed sentinel values in Python, and my Auto sentinel approach didn't go over well. We even received an email from a listener suggesting improvements, which got me thinking—this deserves a blog post. The takeaway? Avoid sentinel values unless you can't use None because it already has special meaning (like representing null in a database). I also wrote about handling editable installs with uv, since running uv pip install -e ../some-dependency followed by uv run pytest can cause issues when uv run internally calls uv sync. While I don't have a perfect solution yet, my current workaround might help others facing the same problem.

1 page links to this URL
Link Dumps

An introduction to blog-bourne

4 inbound links article en technology Link Dumpsshellsharkstechnologyindieweb