Opens profile photo
Follow
Seth Michael Larson
@sethmlarson
🌐 I write about Python, API design, and Internet technologies 🐍 Maintainer of packages like and Requests πŸ‘‹ SDK dev, Minnesotan, He/Him
Minneapolis, MNsethmlarson.devJoined April 2016

Seth Michael Larson’s Tweets

πŸŽ‰ Excellent thread on asyncio.TaskGroups, ExceptionGroups, and why these are much better than the tools we have today for managing tasks:
Quote Tweet
Exciting news: @gvanrossum has just merged TaskGroups to #asyncio. They will be part of Python 3.11 and I can't hold my excitement! πŸš€
Show this thread
Image
1
4
I was curious what this looked like for so I ran some queries: For the top 1% (~3.5K) packages: - mean: 2.17 maintainers - mode: 1 maintainer - median: 2 maintainers - max: 30 maintainers I think the mode of 1 maintainer is probably as concerning as npm's average of 32.4!
Quote Tweet
In case you missed the bombshell from this article: "The Top 1% packages (14,941) had an average of 32.4 maintainers per package" 😱😱😱 twitter.com/di_codes/statu…
Show this thread
4
22
68
In case you missed the bombshell from this article: "The Top 1% packages (14,941) had an average of 32.4 maintainers per package" 😱😱😱
Quote Tweet
At this point, distributing software without using two-factor authentication for your account is just reckless. Are you a @pypi user? Go to pypi.org/manage/account and set up 2FA today. therecord.media/thousands-of-n
Show this thread
3
2
11
Show this thread

Topics to follow

Sign up to get Tweets about the Topics you follow in your Home timeline.

Carousel

It's finally here: v8.0.0 of the #Python #Elasticsearch client!!! πŸŽ‰πŸ₯³πŸŽ‰ There's a ton in here, but the highlights are: – Dropped support for Python 2.7 and 3.5 – Body field parameters for all APIs – Started using the elastic-transport library
1
1
7
One reader noticed that the diagrams used whichever monospace font was configured for the system. I wrote a little tool that replaced the font on the exported SVGs with `font-family: monospace`. Left is iOS using "Menlo" and right is Ubuntu+Firefox using "DejaVu Sans Mono" 😍
Comparison of two fonts depending on the platform. Left is Menlo on iOS which has slashes in the zeroes. The right is DejaVu Sans Mono on Ubuntu and Firefox which has dots in the zeroes.
2
8
This new article explores using SVG visuals, something I've never done before but I'm interested in using more. Tried to strike a balance between information density and making things look good on mobile.
Article text interspersed with diagrams showing how UTF-8 transforms emojis into bytes
Quote Tweet
New article: How does UTF-8 turn πŸ˜‚ into F09F9882? sethmlarson.dev/blog/utf-8
1
2
9
That is so awfully dismissive and tone deaf. No, people don’t want Safari to "just go away". People (of all genders!) want Apple to respect user choice and stop forcing everyone to use Safari on iOS whether they want to or not. It’s pretty simple, really.
Quote Tweet
Gosh. Catching up with tech Twitter this morning and there seems to be an angry pocket of men who really want Safari to just go away. Do we really want to live in a 95% Chromium browser world? That would be a horrible future for the web. We need more voices, not fewer.
11
52
463
Show this thread
In Animal Crossing for Gamecube, you could collect NES games like Excitebike and play them in your house. It was so cool~. In 2015, I found where the NES binaries were located in code and swapped in one of my homebrew games, making it playable within Animal Crossing, too:
Quote Tweet
Feb 2015: Animal Crossing (Sweet-N-Fun Hack) I hacked Animal Crossing for Gamecube to make my own NES game playable from inside your character's house. Here's a video demo. It has a lot of downvotes for some reason. Oh well. πŸ€·β€β™€οΈ youtu.be/KkDweI9U4Jg?t=
Show this thread
5
39
201
The problem described in sethmlarson.dev/blog/python-pr has been solved for actions/setup-python πŸš€ The issue was fixed by , give them a follow!! He maintains tons of important #Python packages and is always working hard to make the ecosystem a better place. Thanks, Hugo! 🀩
3
5
I adopted keyword-only arguments in 2021 and I am never looking back.
Quote Tweet
Hitting that horrible point in an API design where I have to decide between (latitude, longitude) or (longitude, latitude) GeoJSON uses (longitude, latitude), so I'm currently leaning in that direction (though latitude, longitude has always felt far more natural to me)
Show this thread
4
3
47
I've spent the last many weeks singularly focused on complete pep-484 integration for SQLAlchemy 2.0 with no external stubs or plugins. I've been bugging typing / mypy / pyright folks endlessly. Here's what I have, passes strict mypy and of course backwards-compat is maintained
Image
18
51
408
Show this thread
There are a couple articles that I wrote years ago that I've been thinking of refreshing and republishing one day. I've grown as a writer and back then I had way fewer people reading my stuff! What do you think about that? πŸ€”
3
9
FINALLY! It never made sense to be a merge request in the first place. I hope we can disable the "Update branch via merge request" too?
Quote Tweet
I think this may be the solution to my single least favourite Git interaction twitter.com/ashtom/status/…
1
4
Sponsors-only repositories are great, but hear me out: ✨ Sponsors-only issues ✨
Quote Tweet
Sponsors-only repositories, custom amounts, and more! Here’s a look at what’s new and what’s next for Sponsors. github.blog/2022-02-02-new
5
7
34