首页›Trey Hunner›文章

Systems, gates, and rage

Trey Hunner · 2026年11月11日

AI 摘要 AI 生成,可能有误

本文呈现了 PyCon US 2025 一场闪电演讲的全文,该演讲认为大语言模型(LLM)如同 Stack Overflow 和畜牧业一样,是虽显混乱但可能有用的工具,其危害应通过系统层面的解决方案来应对,而不是归咎于个人用户。作者承认对大语言模型存在合理的担忧,例如知识产权、环境影响和就业冲击等问题,同时指出这些工具不会消失。最后,演讲敦促读者在批评之前先反思自己是否在进行“守门”,并将对新技术的挫败感转化为更有成效的事情。

At PyCon US 2025, I gave a lightning talk entitled Systems, gates, and rage. This page contains a text version of that talk.

Not Experts Exchange

Do you remember Experts Exchange?

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Trey Hunner

Python Black Friday & Cyber Monday sales (2026)

AI 摘要This is the author's ninth annual roundup of Python-related Black Friday and Cyber Monday deals for 2026, listing discounts from creators such as Python Morsels, Talk Python, Data School, Reuven Lerner, Brian Okken, and Mike Driscoll, along with Django-related sales compiled by Adam Johnson. The author also highlights their own sale offering lifetime access to Python Morsels, an exercise-driven Python skill-building platform, for $649 through November 30. Readers are invited to submit additional Python-related deals to be added to the list.

Python Morsels Lifetime Access Sale (2026)

AI 摘要Through November 30, Python Morsels is offering lifetime access to its Python skill-building service for $649 (compared to the usual $240 per year), marking the first time the offer includes the new Daily Recall spaced repetition system launched in September. The service is built around deliberate practice through exercises, hints, and screencasts, and lifetime access covers 270+ exercises, 240+ screencasts, 300+ articles, 500+ Daily Recall questions, courses, and all future content updates. A 7-day free trial and a 30-day money-back guarantee are available for new users.

Python Morsels now has spaced repetition

AI 摘要Python Morsels has launched Daily Recall, a spaced repetition system for Python programmers that uses the FSRS algorithm to prompt users with quick recall questions just before they would forget the material. The system is built on the principle of active recall—retrieving information from memory rather than re-reading—which helps learners beat the forgetting curve with just a few minutes of daily practice. Most packs (covering topics like time complexity, uv, string methods, and f-strings) are free, with the rest included in the All Access plan, and early users reported retaining 25 to 50 new facts after their first month.

A Dolly Parton developer

AI 摘要The author, feeling both sad about Dolly Parton's passing and nostalgic while friends gather at DjangoCon US, reflects on Rikki Endsley's keynote about being a "Willie Nelson developer" and extends the concept by proposing a "Dolly Parton developer" mindset. They highlight three of Dolly's admirable traits—knowing your rights (refusing to give Elvis half the publishing to "I Will Always Love You"), exiting with grace (leaving the Porter Wagoner Show amicably), and prolifically writing the next song regardless of publication or success. The piece closes with an encouragement to developers to embody these values and keep creating.

Reorganizing Python's sys module

AI 摘要The author presents a thought experiment on reorganizing Python's sys module—which functions as a 'junk drawer' with 115-121 attributes—into nine hypothetical submodules such as sys.cli, sys.imports, sys.io, sys.memory, and sys.runtime. They demonstrate a proof-of-concept called 'newsys' that uses module-level __getattr__ and __setattr__ tricks (via a ModuleType subclass) to keep old flat names like sys.stdout synchronized with the nested structure. Ultimately, the author concludes that such a refactoring would likely never happen due to enormous backwards-compatibility challenges, framing it not as a serious proposal but as a practical lesson that submodules can help tame overgrown utils-style modules.