Show newer

I'll be at #PyConUS sprints today and Wednesday.

I am beginning the process of replacing my ThinkPenguin laptop battery in case anyone here wants to help - am in room 308 currently.

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

@feoh @roguelynn Glad you liked it! If you see me around please say hi! I am wearing a blue hawaiian shirt with taco cats on it today.

From your other posts it seems like you are partially blind, hopefully that's a bright enough signal, but if you don't feel confident that you can identify me by sight and you did want to chat, let me know how I can find you and I'll keep an eye peeled!

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-

@hugovk @adamchainz Does `pull_request` still fire on a draft PR? I guess the maintainer still gets notified about a draft PR, which maybe defeats the purpose, but it seems like a fairly small fraction of people are running CI on their own forks. I basically never do that, I just make a draft PR early.

I guess this at least partially explains why ever PR I've ever gotten from you has been flawless and basically ready to merge from the get-go, though. 😅

Show older
Qoto Mastodon

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