I'm headed to San Francisco to speak at @pybay on September 21st.
See you there!
Register now at https://pybay.org
I got 50% off discount codes in the next post.
And, for members of PyLadies only, I have special code that unlocks free conference registration!
Watch and read more.
Just converted two packages to use UV in dev workflows when available, @hynek's cached uv actions¹ on CI, and PyPI trusted publisher² to automatically publish builds for new tags. Feels like stepping into an entirely different world. 😅
So 2 down and 20-ish to go? 🤪
¹: https://github.com/hynek/setup-cached-uv
²: https://docs.pypi.org/trusted-publishers/using-a-publisher/
lolling off the title alone. cannot wait to see how this unfolds in part 2. https://www.youtube.com/watch?v=WILYaDNez4g
real talk asottile is doing amazing work and no amount of thanks will offset the underflow when it comes to python web software infra.
Fediverse woes: Just noticed I'm missing a bunch of updates from fosstodon. E.g., @pybay and @djangolondon both show months-dormant accounts despite having posted in the last 3 days.
Not really sure how to report this, so I'm just going to @ the qoto admins:
@freemo
@khird
@barefootstache
Here are my slides from the Language Summit:
Should Python adopt CalVer?
https://hugovk.github.io/python-calver/
#PyConUS #PyCon #Python #CalVer #CalendarVersioning #LanguageSummit
And #Wiki Loves Monuments 2023 is officially a wrap! See the #wlm International Winners here: https://medium.com/freely-sharing-the-sum-of-all-knowledge/where-time-stands-still-the-winners-of-wiki-loves-monuments-2023-11b5601d7a20
Congrats to Mona Hassan from Egypt for the shot that one top prize. One of two from #Egypt this year!
Another week, another update: https://www.patreon.com/posts/patron-update-100453962
Since I already posted a bunch about https://glyph.im/patrons/ this week, I'll keep it brief. If you like my writing at <https://blog.glyph.im/> or any of my #python #opensource libs & tools, such as Fritter, DBXS, Automat, TokenRing, PINPal, Encrust, SponCom, DateType, python-docstring-mode, streamrandom, MOPUp, QuickMacHotKey, QuickMacApp, horsephrase, etc, and would like to support me continuing more of that work, consider signing up.
I think this is why GenAI sounds so much like a cryptocurrency scam to a lay audience. When Microsoft launched the Xbox they didn't spend hours talking about the wafer lithography they used for the GPU, they just told you about video games. The iPhone announcement talked about listening to music and using a web browser, the relative merits of capacitive and resistive touchscreens. But Blockchain and GenAI hype both have this obsession with minor details that really should not be user-visible.
I learned about glom (https://github.com/mahmoud/glom) by @mahmoud two days ago,
At that point, I felt that kind of approach is good for CLIs but was unsure if I'd put it in my code.
Today I was working on a deeply nested JSON and decided to try it out and it was so good. It made the code much easier to read and manage.
The memory-centric folks have long moved on to entity component systems, would be nice if there were more affordances for the rest of us, too.
Instead, FastAPI/Pydantic/typing in general is just pouring more concrete on the inheritance approach.
More proof that maybe we shouldn't have taken a sometimes-convenient way to lay out memory gets and elevated it to a dogma of ontology.
Heh, I just noticed that it looks like `virtualenv` seems to use the "COVID-time" version of #calver: https://virtualenv.pypa.io/en/latest/changelog.html
Version 20 starting in 2020, still version 20 now... 😛
These thoughts brought to you by Python 3.10 generating a SyntaxWarning on "x is not 0"
(x can be either False or 0, and, fun fact, in Python, False == 0)
"sure, inheritance sucked for the use case we know most intimately as programmers, but it will be great for all those other fields we are fuzzy on"
Funny how object-oriented programming got so big, when the unsolved hierarchy of numerical types has been there from the beginning.
The idea that inheritance will solve conceptual problems when we can't define whether `unsigned int` is a parent or child of `int`. And don't even start on the special casing necessary for type promotions in numerical expressions.
@pganssle GrapheneOS has this feature and I'd love if it would become a general part of AOSP.
It allows you to choose which contacts to share, or just pretend you don't have any.
She played plenty of music more familiar to westerners, too: https://www.youtube.com/watch?v=1SDQUn54Iy4
Probably the most famous #Persian guitarist just passed away, at 63, Lily Afshar.
Interestingly, #wikipedia articles in 6 languages, but none of them English, so here she is playing a Persian song I know: https://www.youtube.com/watch?v=eoqYNWfPV1w
Fintech, FOSS, and fatherhood. And some photography: http://mahmoud.photos