Peter Sobot

388 Followers
489 Following
21 Posts

I teach computers to listen to music.
🇨🇦🎶👨🏼‍🔬🥁🎹🎸


Staff ML Engineer at Spotify. You might recognize my voice from your PagerDuty ringtones.

home web pagehttps://petersobot.com
bird sitehttps://twitter.com/psobot
My #PyConUS keynote, with all the hand drawn doodles and animations: https://youtu.be/Bglsof9b23k

@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.

#pyconus

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

#pyconus

The booth is ready for you, #PyConUS #PyConUS2024 !
At #pyconus? Find me in the hallway track or expo hall to talk all things music, audio, and Python!
It needs to be illegal for a talk to just say "so you can see it's faster" without actually *showing* that it's faster. We're at a technical conference, you can show code, you can show network graphs, you can show timing information. Build a real example in both and actually show that one is faster than the other in a comparable situation.

Please don't celebrate half-assing your conference talk. Doesn't matter if it's a small event or a juggernaut like #PyConUS. People pay to travel to the event, take time away from family and work, and have some expectations regarding what they will learn. Understandable!

The hallway track is great value but it isn't everything. It's your responsibility to give your public speaking engagement justice. There's many tips but at least don't prepare your slides the night before.

I’m staying out of the #Python nogil discussion, b/c I don’t feel like I have a lot to add, but I need to plant my flag now:

Leaving aside the INCREDIBLE effort Sam went thru, the discussion around it is disingenuous with constant goal post moving and frankly myopic.

Yes, threads as a user-level abstraction are BAD.

But we’ve never built higher-level abstractions for them and guess what: asyncio gets 1.5–2.5x faster on nogil w/o any API being designed for it: https://discuss.python.org/t/pep-703-making-the-global-interpreter-lock-optional-3-12-updates/26503/17

[1/4]

PEP 703: Making the Global Interpreter Lock Optional (3.12 updates)

We (the Faster CPython team) have taken a careful look at the PEP and I have written up a summary. It is mainly about performance, but also compares PEP 703 to multiple interpreters. I have attempted to be objective, please say if you think I am being unfair. Performance assessment Performance comparison of NoGIL with the status quo PEP 703 claims that NoGIL has a 6% execution overhead on Intel Skylake machines, and 5% on AMD Zen 3. Our benchmarking shows an 11% overhead on our (Cascade Lak...

Discussions on Python.org

@PyConUS! I’m hosting an open space on Audio and Music in Python this afternoon. 2pm, Room 251D. 🎶

Come by for interesting discussion (and stickers!)

For the past 6 years, each of my managers at work was confused about why I was so stressed out about being on a US work visa. "What's the worst that could happen?"

Well, this Twitter thread is a terrifying example. Laid off while on a work visa but outside the US? Oops, can't come back.

https://twitter.com/neuman/status/1619682115469328386

neuman on Twitter

“What about the 60-day grace period? This refers to being able to stay in the US after getting terminated. Not helpful if overseas. Grace period is about status (remaining in the US), but reentry requires a valid visa which requires "active" work, which means...”

Twitter