Daniel Roy Greenfeld's Avatar

Daniel Roy Greenfeld

@daniel.feldroy.com

Writes at daniel.feldroy.com Climate advocate on sabbatical from kraken.tech 🌎 Co-Author of Two Scoops of Django πŸ“š Husband of Audrey Roy Greenfeld https://bsky.app/profile/audreyfeldroy.bsky.social πŸͺ Father of Uma 🧸

658 Followers  |  310 Following  |  169 Posts  |  Joined: 18.10.2024  |  1.7155

Latest posts by daniel.feldroy.com on Bluesky

Preview
Make AI Work With Any Codebase This talk shares practical strategies from a real-world project integrating AI into development workflow. What works, Β Β what doesn't, and how to structure code so AI tools can help without degrading ...

Some coders have the budget and time to play with all the latest LLMs and various AI tools.

That's not me.

My budget for tools is $0. I have little spare time.

I still get stuff done with AI.

For free join me and Isaac Flath as we talk about it on August 5th.

maven.com/p/0ede3d/mak...

04.08.2025 13:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I mean multiple spoken, historical languages πŸ™‚

03.08.2025 11:23 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

What is the status quo for open source libaries handling multiple languages in a Python app with GitHub as version control? What should I use?

Pretend I'm an absolute newbie supporting users reading and writing in multiple languages. Sticking with one language is not an option.

03.08.2025 10:06 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

What's the best contributor-friendly way to handle multiple languages in an open source Python project using git for version control?

03.08.2025 02:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Soft-launching the secret-but-not-secret new project with
Audrey Roy Greenfeld at @pythonph in an hour!

02.08.2025 06:03 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Make AI Work With Any Codebase This talk shares practical strategies from a real-world project integrating AI into development workflow. What works, Β Β what doesn't, and how to structure code so AI tools can help without degrading quality.

Super excited for this talk next week with @pydanny and @isaac_flath!

Two people who understand web frameworks went on a journey to built the ultimate one, using AI every step of the way, and have so much experience to share. This is going to be awesome!

maven.com/p/0ede3d/ma...

29.07.2025 19:31 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Zapier started in a hackathon.

29.07.2025 01:02 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Unpack for keyword arguments Keyword arguments can now be more narrowly typed by using typing.Unpack and typing.TypeDict.

Thanks to Luke Plant I wrote about typing.Unpack.

daniel.feldroy.com/posts/2025-0...

I had fun figuring out where Python catches the types and where it just lets things slide.

27.07.2025 17:42 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Is this a new show?

27.07.2025 09:33 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - miguelgrinberg/microdot: The impossibly small web framework for Python and MicroPython. The impossibly small web framework for Python and MicroPython. - miguelgrinberg/microdot

Today I'm marvelling at @miguelgrinberg.com's Microdot framework. Concise yet understandable code. Lovely in-line documentation.

I've always respected his work, today I'm in awe of it.

github.com/miguelgrinbe...

27.07.2025 05:49 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
Preview
TIL: How to type args and kwargs A reduction in boilerplate confused me, the answer is that the type to define is the value in the containers.

daniel.feldroy.com/posts/til-20...

Thanks to @willmcgugan.bsky.social for making this TIL possible. πŸ˜ƒ

26.07.2025 08:56 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks for the guidance and example package. ❀️

As always, you are awesome. πŸ™Œ

23.07.2025 01:16 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Can you link to a package of yours that does it well?

22.07.2025 16:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
TIL: Single source version package builds with uv Tired of updating the version in multiple places before publishing a package update? Leery of using inspect.metadata to fetch the package? Here's how to have a single source of version using UV's buil...

Just figured out something in uv: only having to set version once in your package!

daniel.feldroy.com/posts/til-20...

22.07.2025 03:23 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Wow, looks awesome! Got a link to it?

21.07.2025 12:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Welcoming The Next Generation of Programmers Vibe coders and self-tought ChatGPT users are programmers too.

It is time for us to invite vibe-coders into our programming communities. lucumr.pocoo.org/2025/7/20/th...

20.07.2025 10:00 β€” πŸ‘ 39    πŸ” 8    πŸ’¬ 7    πŸ“Œ 5
Preview
uv run for running tests on versions of Python Using uv run with make to replace tox or nox for testing multiple versions of Python locally.

daniel.feldroy.com/posts/2025-0...

20.07.2025 05:57 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

In 2020 I was offered a role at Astronomer, instead I went with Kraken Tech working to save the planet. I had zero regrets then and if possible have even more zero regrets now.

18.07.2025 05:37 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Casual Python Meetup with pyDanny & Audrey + Python Game Show, Sat, Jul 26, 2025, 3:00 PM | Meetup **PythonPH July 2025 Casual Meetup** Casual Python Meetup with pyDanny & Audrey + Python Game Show **Hey Pythonistas!** Are you thrilled about this month's meetup? The upc

If you're in Manila, Philippines on Saturday the July 26, come and meet me and @audrey.feldroy.com for a casual afternoon Python event.

www.meetup.com/pythonph/eve...

18.07.2025 01:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Polls show that 80% of professional software developers consider themselves self-taught, even those with a "formal CS education".

That's why I tend to ignore articles or labels about being self-taught, it's a meaningless term.

18.07.2025 01:29 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A Python script which plays sounds whenever exceptions occur

A Python script which plays sounds whenever exceptions occur

The Zen of Python says "Errors should never pass silently.". Here is a solution for that problem.

17.07.2025 21:24 β€” πŸ‘ 21    πŸ” 6    πŸ’¬ 2    πŸ“Œ 0

Switched a small project (913 LOC) from mypy to @astral_sh's ty:

1. Local CI checks non-cached went from ~31 seconds to under 1 second
2. Same checks on GH actions went from ~30 seconds to ~15 seconds

I respect mypy--prototyping types is hard. Yet I look forward to moving on.

17.07.2025 09:05 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Decided to go with "Jinja" because 1) it was more popular in discussions about it and 2) it is how Jinja refers to itself.

17.07.2025 08:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Going oldschool with asking questions in social media:

How do you get Ruff to format only the code examples within markdown files? Can it do this or do I need to write a tool to make it happen?

17.07.2025 05:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Does Central America count? PyCon Latin America is in Costa Rica and if we were on your continent that would be quite the temptation.

17.07.2025 05:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'm writing code and docs about Jinja2 templates, how should I refer to it?

- "jinja2" (classic name but we're on version 3.1.6 of it)
- "jinja" (shorter but pedants might have an issue)

16.07.2025 05:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
Django Community Building the Django Community. Come join us!

I'm delighted to see that Django has added a page describing its ecosystem: www.djangoproject.com/community/ec...

10.07.2025 22:24 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Is it just me or have GitHub pages-hosted sites intermittently been very slow for the past few weeks?

08.07.2025 02:16 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Finally moved into the new place, kid is in her new school, and I have time to sit and code.

However, my daughter is next to me doing homework for school. She's building apps in Scratch. It's so cute and distracting.

I wouldn't have it any other way. Parenthood is awesome. πŸ™‚

03.07.2025 05:43 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I 100% agree with this statement

30.06.2025 22:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@daniel.feldroy.com is following 20 prominent accounts