Daniel Roy Greenfeld

Daniel Roy Greenfeld

About | Articles | Open Source | Books | Tags | Search

Recent Writings

Writing tools to download everything

Using AI to help download photos so we can consolidate all our images into one place.

Adding Type Hints to my Blog

Using pyrefly to identify type failures on this site and then fixing one of them.

Visiting Tokyo, Japan from November 12 to 24

Our first time in a new country!

uv+just for testing multiple Python versions

In the old days we relied on tox and nox to test a Python project against multiple Python versions, now we can lean on uv+just. For most projects this keeps our configuration straightforward and reduces dependencies.

Read all articles

TIL (Today I learned)

Default code block languages for mkdocs

Loading .env files with uv run

Merging two git projects

Setting environment variables for pytest

Using SQLModel Asynchronously with FastAPI (and Air) with PostgreSQL

Single source version package builds with uv (redux)

How to type args and kwargs

Read more TIL articles

Featured Writings

The Thirty Minute Rule

What to do when you get stuck on a coding issue for more than 30 minutes.

What's the Best Thing about Working for Octopus Energy?

An in-depth discussion about my employment at Octopus Energy.

Code, Code, Code

I'm often asked by new programmers how they can forge a path into using their skills professionally. Or how they can get better at writing software. In this article I share the secret master-level method to improvement.

I Married Audrey Roy

The story of one of the best days of my life.