Show newer

Great thing about PyCon: You can find out from @carljm directly how the High Sticks are doing even before it's announced on core.py.

Downside of PyCon: All the spoilers for future core.py episodes.

.py

PyCon was lots of fun! The slides for my talk on processing large JSON files without running out of memory:

pythonspeed.com/pycon2025/slid

Looking forward to videos getting posted so I can watch all the talks I ended up missing due to scheduling conflicts/practicing my talk/getting lost/meeting someone in the hallway.

#PyCon #PyConUS #python

While I missed the remaining talks today, on my flight back from #PyConUS I was quite productive and made a new thing!

pyref.dev is a fast, convenient way to access Python reference docs.

It's also available as a CLI tool (pip install pyrefdev).

May as well throw this query out to the fediverse.

I am looking for *concrete examples* of code that works correctly when interpreted by Python 2.7 but *silently produces incorrect output* when interpreted by Python 3.x. I encountered such a thing about 10 years ago but didn't save it and have been unable to reconstruct it.

All examples are good, but examples that produce output from which it's difficult or impossible to recover the correct output are better.

#python #pycon

Thanks @masonasons for the tip that yt-dlp can download from RSS feeds. Here's the command I came up with to download all available podcast items from a feed in chronological order (oldest first) to nicely numbered files with the title and date.

yt-dlp --no-abort-on-error --color "no_color" --download-archive ".download_history" --windows-filenames --embed-metadata --embed-chapters --playlist-items "::-1" --output "%(n_entries+1-playlist_index)02d %(title)s (%(upload_date>%B %d %Y)s).%(ext)s" --format bestaudio "example.com/rss"

Show thread

Reading the asyncio docs on stage, very "A monad is a monoid in the category of endofunctors, what's the problem?" energy.

Show thread

"First thing to do is check robots.txt and see if this is allowed."

Probably not a subtle dig at the people DDoSing like 90% of the internet to scrape training data right now, but it should be 😛

That was an excellent talk by @pganssle with some good takeaways:

* You can use whatever tech stack you want
* Projects are a great way to learn
* You can use programming to answer questions for yourself
* Your projects don't have to pay
* It's OK to make something just for you
* It's also great to tell other people about your work

The slides include links and references to all of the projects:

pganssle-talks.github.io/2025-

#PyConUS #PyConUS2025

Remember, if you can't remember the name of an eponymous law, just call it Cunningham's Law and someone will surely correct you.

@psobot I did not know that pedalboard could lazily read from mp3s and other compressed formats. Awesome! I once tried and failed to write a wrapper for minimp3 just to solve this issue. Glad to know I can not do that.

Show thread

Man, @psobot has some beautiful slides. Curious to know how some of this was done.

hey friends if you are at #PyConUS we semi desperately need volunteers so it would be super cool of you to step up 💞 us.pycon.org/2025/volunteer/vo

Also, I apologize in advance, I had much more limited time than normal to prepare this talk this year and I haven't had a chance yet to go through and add good alt text to all the images. If that's something that is valuable to you, check back in ~1 week.

Show thread

If you are at and you might be interested in my talk, "Programming for Yourself", it is today at 14:45 in Room 301-305

The slides are available on github here: pganssle-talks.github.io/2025-

Thanks for the help everyone who was looking for this. Just heard back from the Uber driver and apparently they found it! ☺

Paul Ganssle  
If anyone at #PyConUS finds this fitness tracker, please let me know. It fell out of the band today around noon, possibly near the registration desk.

If anyone at finds this fitness tracker, please let me know. It fell out of the band today around noon, possibly near the registration desk.

I'm facilitating another #PyConUS open space:

Still on Python 2?
Sun. May 18th
11am-noon
room TBD

An opportunity for software #maintainers who are still supporting #Python 2.x to talk with people who are still using Python 2.x. What do users need before we can migrate? What do maintainers need to know or get before we can fully deprecate 2.x support? What funding might be necessary to make these happen? A supportive and nonjudgmental discussion.

us.pycon.org/2025/events/open-

#PyCon
#sustainability

Show thread
Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.