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
Huge thank you to everyone who boosted or responded to my previous post!
I’ve since updated my resume and written a little bit about myself and my perfect match:
Hire me: https://nkantar.com/blog/2023/08/hire-me-v202308/
Resume: https://nkantar.com/resume/
Back from #Iran, and busy processing #photos. Working on #Kashan atm, struck by the elegance of the Agha Bozorg Masjid: https://en.wikipedia.org/wiki/Agha_Bozorg_Mosque?wprov=sfla1
While parts of it date back 700 years, it was mostly constructed in the 1700s, and is noted for its bare domes and symmetry.
Today in zerover (https://0ver.org) news, #ziglang joins the 0verusers.
Also, notable emiriti #PyTorch surpassed #Bitcoin in #GitHub stars. Truly, #crypto is dead and #ai is the future.
Featured 0ver users: MAME (https://github.com/mamedev/mame) and ReactOS (https://github.com/reactos/reactos), both fast approaching 30 years of 0veruse!
A wrote a thing over at Tidelift about supply chain security and #FOSS maintenance: https://blog.tidelift.com/not-all-open-source-work-is-equal
Today is a great day to submit your talks for PyBay 2023! We *want* to hear about your Python project!
https://sessionize.com/pybay2023-food-truck-edition/
I just wanted to visualize a waveform, randomly searched for "audacity like online", not expecting much... and by god, they did it. The maniacs.
If you missed my talk but still want to see it, the video is already available for PyCon Online and in-person attendees!
This also explains a bunch of "technical debt".
A pattern that repeats throughout my almost 20 year career (I old) is an engineer finds a bug that requires a non-trivial effort to fix systemically.
They make a local change to avoid (not fix) the bug.
Why? Because they don't have time. They can't take time. They don't feel like they can justify it to their manager. Maybe they're worried they won't hit an OKR.
This happens a lot with less experienced engineers but I find myself doing it.
Fintech, FOSS, and fatherhood. And some photography: http://mahmoud.photos