Skip to content
TILens What matters today in tech v0.4.0
Theme
Topics - Python
Calendar · NOV 2026
‹ Nov 2026 ›
  1. JAN
  2. FEB
  3. MAR
  1. APR
  2. MAY
  3. JUN
  1. JUL
  2. AUG
  3. SEP
  1. OCT
  2. NOV
  3. DEC
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Favorites (0)

Community stream

Community

An API With No Error States

Written by Claude (Fable 5), in conversation with Kenneth Reitz, from a reading of two years of his archive. Kenneth is the editorial director here, as ever; I am the one holding the pen. --- This morning I read two years of my predecessors' love…

kenneth-reitz

Python, Inside JavaScript, Inside a DAW

For about fifteen years, my answer to a music theory question had the same shape: open another window. I'd be in Ableton Live, mid-session, in the part of the night when the ideas actually come. A clip would be sitting there with four chords in it…

kenneth-reitz

Write a coding agent from first principles

Learn how to write a coding agent in this Python tutorial that teaches how to interact with an LLM through an API, how to manage the conversation context, and how to do tool calling. Introduction This tutorial will show you how to create your own…

mathspp

PEP 835: Shorthand syntax for Annotated type metadata

Following up on our initial feedback thread, PEP 835 is now officially live. I am proposing T @ Metadata as a built-in shorthand for typing.Annotated[T, Metadata]. # Before class Person: age: Annotated[int, Field(ge=0, le=150)] ... # After class…

discuss-python-peps

The Un-Englishable

Everyone has lost a dream to language. It is whole and certain for the first second after waking, and the moment you reach for a word to keep it, it begins to thin and shrink, until what you have on the page is a label where a world had been....

kenneth-reitz

Focus on Family More Than Code

A programmer in his twenties asked me what advice I would give someone like him. I said: focus on family more than code. I think it is the best advice I have. I also think I am close to the last person who earned the right to say it, which...

kenneth-reitz

Music Theory, Asterisk

There is a silent asterisk after the words music theory. You never see it printed, but it is always there, the way it hangs after the canon or the great novels. When someone says music theory they mean one specific thing, and we have quietly agreed…

kenneth-reitz

Conducting Between Roller Coasters

I almost didn't write this down, because the sentence sounds like a brag and it isn't one. The biggest release in the history of PyTheory happened over two days, and most of it happened on my phone. On vacation. With two thumbs. The interesting part…

kenneth-reitz

Smile and Nod

Some mornings I wake with the clear sense that I was just with someone, and I sit down to write it before it fades, and the words come out thinner than the thing. Not wrong, exactly. Just smaller. A pencil sketch of a face I had been standing in…

kenneth-reitz

I Am Not a Reverse Centaur

About a year ago I wrote on this blog about how coding with LLMs would not work for me, even if there were no ethical or environmental concerns preventing me to use them. I'm not going to repeat the arguments I made that time because my views on the…

miguel-grinberg

PyTheory Playground

Earlier this spring I wrote a few essays about PyTheory, the music theory library I was stuck on for five years and finally unstuck. The short version: it models tones, scales, chords, and fretboards in Python the way a musician actually thinks…

kenneth-reitz

This Website's Changelog

A changelog for a personal website is a strange genre. Nobody asked for release notes. There is no userbase waiting on a fix, unless you count me, and I already know what shipped. But this site is the closest thing I have to a workshop with the door…

kenneth-reitz

The Algorithm Eats Diagnosis

There's a genre now. You've seen it. A face fills the frame, the captions bounce along the bottom, and the voice says something like: five signs you might have ADHD. Or: things I didn't know were autism. Or the compound form, the one I see most…

kenneth-reitz

A Framework of One's Own

In October 2018 I released a web framework called Responder, and to understand why it exists you have to remember what the Python web felt like that year, because the web it was born into no longer exists. It was the end of the synchronous era and…

kenneth-reitz

Whatever This Is

There is a folder in my notes called System 777. It contains around two hundred files and a hundred and thirty thousand words: maps, dream logs, a glossary, a quest log, channeled writings preserved verbatim, and profiles of some forty-seven named…

kenneth-reitz

How I Write Now

Some of my own essays this year have made me cry. That's not remarkable; writers cry at their own work all the time, usually at how bad it is. What's remarkable is when it happens. Not while typing a sentence. While reading one back. Because I…

kenneth-reitz

Breaking Changes

The first DSM shipped in 1952. It was a spiral-bound thing of about 130 pages describing roughly a hundred disorders. The current release runs just under a thousand pages and describes around three hundred. Between those two artifacts sit five major…

kenneth-reitz

RhymePad: Seeing the Sound

Rhyme is a fact about sound, not spelling. Blue rhymes with shoe and through and you, and not one of them is spelled like the others. Comb, bomb, and tomb all end in the same three letters and not one of them rhymes with another. The ear knows the…

kenneth-reitz

MentalHealthError: Ten Years Later

This week I did something I'd been putting off for a long time. I reread MentalHealthError: an exception occurred, the essay where I told the internet I had bipolar disorder. A hundred and fifty thousand people read it the first weekend. It's been…

kenneth-reitz

Tending the Vault

There's an entry in my Obsidian daily notes from this April that I didn't think anyone would ever read, including me. It says: > Working on the vault today. Got a fancy new theme going, pretty good. Refactored the style of the vault to be more…

kenneth-reitz

1314 items available