Daniel Roy Greenfeld

Daniel Roy Greenfeld

About | Articles | Books | Jobs | Tags | Search

Recent Writings

Using pyinstrument to profile FastHTML apps

Quick instructions for a drop-in FastHTML middleware for identifying performance bottlenecks in FastHTML apps

Pi Day

A really quick exploration of Pi in Python plus a call to action!

Places I have lived

In alphabetical order, a list of the cities in which I have dwelled in for over a month.

Building a playing card deck

Today is Valentine's Day. That makes it the perfect day to write a blog post about showing how to not just build a deck of cards, but show off cards from the heart suite.

Read all articles

TIL (Today I learned)

Undecorating a functools.wraps decorated function

Typer commands defaulting to help

Every Jupyter notebook cell runs in an async loop

Using inspect and timeit together

yield from

types.SimpleNamespace is a Bunch class

run vs source

Read more TIL articles

Popular 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.