rssed

a collection of dev rss feeds - blogroll

Add a new feed

+

322 feeds


Adam Johnson

Posts

Python: fix TypeError: NamedTuple() got an unexpected keyword argument πŸ”—

Take this code, defining a small NamedTuple with a keyword argument per field: from typing import NamedTuple Point = NamedTuple("Point", x=int, y=int [...]

Python: introducing emojet, a fast emoji lookup library πŸ”—

New package just landed! emojet is an emoji library for Python: it converts between emoji and their names, in both directions, plus the searching and [...]

Python: tprof 1.3.0: now with less overhead πŸ”—

Back in January, I introduced tprof, a targeting profiler for Python 3.12+ that measures the time spent in specific functions, rather than your whole [...]

Django: introducing django-msgspec πŸ”—

It’s another day, another new package day here. Say hello to django-msgspec, a package of drop-in replacements for Django and Django REST Framework (D [...]

Git: my git stash -p optimization in Git 2.55 πŸ”—

I got another commit merged in Git 2.55 (2026-06-29), yay! The release note reads: Here is the story of this change. Patch mode slowness The -p (--pat [...]

Git: list files at a given commit with ls-tree πŸ”—

To list all files in your repository as they were at a given commit, use git ls-tree with its -r and --name-only options: $ git ls-tree --name-only -r [...]

Zsh: select files with arbitrary code in (e) or + glob qualifiers πŸ”—

Zsh glob qualifiers can select files by many built-in attributes: type, size, modification time, and more. But when no built-in qualifier fits, you ca [...]

Git: exclude commits by an author in git log with --perl-regexp πŸ”—

git log has an --author option to limit the output to commits from matching authors: $ git log --author=<pattern> But there’s no option to invert the [...]

Zsh: list recently modified files with (m0) glob qualifiers πŸ”—

My downloads directory is a junk pile that I just never get around to fully clearing. So if I’ve just downloaded a bunch of files, I normally want to [...]

Python: how time-machine is O(1) where freezegun is O(n) πŸ”—

time-machine is my library for mocking the current date and time in Python tests. Its headline advantage over freezegun, the library that inspired it, [...]