OA1194 - NY defense attorney Liz Skeen joins to talk about the evolution (or devolution?) or our Miranda rights in the past several decades. How does an actual criminal defense attorney who deals with these issues every day think about them?
Python Bytes - #451 Databases are a Fad
- * PostgreSQL 18 Released*
- * Testing is better than DSA (Data Structures and Algorithms)*
- * Pyrefly in Cursor/PyCharm/VSCode/etc*
- * Playwright & pytest techniques that bring me joy*
- Extras
- Joke
About the show
Sponsored by us! Support our work through:
Connect with the hosts
- Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)
- Brian: @brianokken@fosstodon.org / @brianokken.bsky.social
- Show: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky)
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.
Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Michael #1: PostgreSQL 18 Released
- PostgreSQL 18 is out (Sep 25, 2025) with a focus on faster text handling, async I/O, and easier upgrades.
- New async I/O subsystem speeds sequential scans, bitmap heap scans, and vacuum by issuing concurrent reads instead of blocking on each request.
- Major-version upgrades are smoother:
pg_upgraderetains planner stats, adds parallel checks via-jobs, and supports faster cutovers with-swap. - Smarter query performance lands with skip scans on multicolumn B-tree indexes, better
ORoptimization, incremental-sort merge joins, and parallel GIN index builds. - Dev quality-of-life: virtual generated columns enabled by default, a
uuidv7()generator for time-ordered IDs, andRETURNINGcan expose bothOLDandNEW. - Security gets an upgrade with native OAuth 2.0 authentication; MD5 password auth is deprecated and TLS controls expand.
- Text operations get a boost via the new
PG_UNICODE_FASTcollation, fasterupper/lower, acasefold()helper, and clearer collation behavior for LIKE/FTS.
Brian #2: Testing is better than DSA (Data Structures and Algorithms)
- Ned Batchelder
- If you need to grind through DSA problems to get your first job, then of course, do that, but if you want to prepare yourself for a career, and also stand out in job interviews, learn how to write tests.
- Testing is a skill you’ll use constantly, will make you stand out in job interviews, and isn’t taught well in school (usually).
- Testing code well is not obvious. It’s a puzzle and a problem to solve.
- It gives you confidence and helps you write better code.
- Applies everywhere, at all levels.
- Notes from Brian
- Most devs suck at testing, so being good at it helps you stand out very quickly.
- Thinking about a system and how to test it often very quickly shines a spotlight on problem areas, parts with not enough specification, and fuzzy requirements. This is a good thing, and bringing up these topics helps you to become a super valuable team member.
- High level tests need to be understood by key engineers on a project. Even if tons of the code is AI generated. Even if many of the tests are, the people understanding the requirements and the high level tests are quite valuable.
Michael #3: Pyrefly in Cursor/PyCharm/VSCode/etc
- Install the VSCode/Cursor extension or PyCharm plugin, see https://pyrefly.org/en/docs/IDE/
- Brian spoke about Pyrefly in #433: Dev in the Arena
- I’ve subsequently had the team on Talk Python: #523: Pyrefly: Fast, IDE-friendly typing for Python (podcast version coming in a few weeks, see video for now.)
- My experience has been Pyrefly changes the feel of the editor, give it a try. But disable the regular language server extension.
Brian #4: Playwright & pytest techniques that bring me joy
- Tim Shilling
- “I’ve been working with playwright more often to do end to end tests. As a project grows to do more with HTMX and Alpine in the markup, there’s less unit and integration test coverage and a greater need for end to end tests.”
- Tim covers some cool E2E techniques
- Open new pages / tabs to be tested
- Using a pytest marker to identify playwright tests
- Using a pytest marker in place of fixtures
- Using page.pause() and Playwright’s debugging tool
- Using assert_axe_violations to prevent accessibility regressions
- Using page.expect_response() to confirm a background request occurred
- From Brian
- Again, with more and more lower level code being generated, and many unit tests being generated (shakes head in sadness), there’s an increased need for high level tests.
- Don’t forget API tests, obviously, but if there’s a web interface, it’s gotta be tested.
- Especially if the primary user experience is the web interface, building your Playwright testing chops helps you stand out and let’s you test a whole lot of your system with not very many tests.
Extras
Brian:
- Big O - By Sam Who
- Yes, take Ned’s advice and don’t focus so much on DSA, focus also on learning to test.
- However, one topic you should be comfortable with in algortithm-land is Big O, at least enough to have a gut feel for it. And this article is really good enough for most people.
- Great graphics, demos, visuals. As usual, great content from Sam Who, and a must read for all serious devs.
- Python 3.14.0rc3 has been available since Sept 18.
- Django 6.0 alpha 1 released
- Python Test Static hosting update
- Some interesting discussions around setting up my own server, but this seems like it might be yak shaving procrastination research when I really should be writing or coding. So I’m holding off until I get some writing projects and a couple SaaS projects further along.
Joke: Always be backing up
Talk Python To Me - #521: Red Teaming LLMs and GenAI with PyRIT
Episode sponsors
Sentry AI Monitoring, Code TALKPYTHON
Agntcy
Talk Python Courses
Links from the show
Roman Lutz: linkedin.com
PyRIT: aka.ms/pyrit
Microsoft AI Red Team page: learn.microsoft.com
2025 Top 10 Risk & Mitigations for LLMs and Gen AI Apps: genai.owasp.org
AI Red Teaming Agent: learn.microsoft.com
3 takeaways from red teaming 100 generative AI products: microsoft.com
MIT report: 95% of generative AI pilots at companies are failing: fortune.com
A couple of "Little Bobby AI" cartoons
Give me candy: talkpython.fm
Tell me a joke: talkpython.fm
Watch this episode on YouTube: youtube.com
Episode #521 deep-dive: talkpython.fm/521
Episode transcripts: talkpython.fm
Developer Rap Theme Song: Served in a Flask: talkpython.fm/flasksong
--- Stay in touch with us ---
Subscribe to Talk Python on YouTube: youtube.com
Talk Python on Bluesky: @talkpython.fm at bsky.app
Talk Python on Mastodon: talkpython
Michael on Bluesky: @mkennedy.codes at bsky.app
Michael on Mastodon: mkennedy
Strict Scrutiny - The Trump Administration’s SCOTUS Winning Streak
Leah and Kate dive into the week’s legal news, explaining how SCOTUS continues to carry water for the Trump administration. They also cover an epic slapdown of the Roberts Court out of Hawaii, Sam Alito’s Italian sojourn, and the DOJ’s refusal to investigate the wads of cash lining border czar Tom Homan’s pockets. Then all three hosts are joined by special guests Sherrilyn Ifill, founding director of the 14th Amendment Center for Law & Democracy at Howard University, and New York Times columnist Jamelle Bouie to discuss the Supreme Court in the years after the Civil War and Reconstruction and why that era, known as the Redemption Court, resonates with today’s legal landscape.
Favorite Things:
- Leah: Trump’s Dream of Infinite Presidential Power, Jamelle Bouie (NYT); Jimmy Kimmel’s comeback monologue (ABC)
- Kate: Chris Hayes’ WITHpod episode with Bill McKibben
- Jamelle: “How Comedy was Destroyed by By an Anti-Reality Doomsday Cult,” Elephant Graveyard (YouTube)
- Sherrilyn: Charles Sumner: Conscience of a Nation by Zaakir Tameez; King of the North: Martin Luther King Jr.'s Life of Struggle Outside the South by Jeanne Theoharis
Get tickets for STRICT SCRUTINY LIVE – The Bad Decisions Tour 2025!
- 10/4 – Chicago
Learn more: http://crooked.com/events
Order your copy of Leah's book, Lawless: How the Supreme Court Runs on Conservative Grievance, Fringe Theories, and Bad Vibes
Get tickets to CROOKED CON November 6-7 in Washington, D.C at http://crookedcon.com
Follow us on Instagram, Threads, and Bluesky
Hosted by Simplecast, an AdsWizz company. See pcm.adswizz.com for information about our collection and use of personal data for advertising.
What A Day - How To Survive Online Speech Wars Without Self-Censorship
Following the assassination of conservative activist Charlie Kirk, a wave of everyday people have been punished, getting doxxed and even losing their jobs because of statements they made online regarding Kirk and his death. Even the Vice President of the United States, JD Vance, encouraged Americans to call the employers of anyone they feel is “celebrating Charlie’s murder.” Free speech matters now, more than ever. But what can we say without fear of retribution? To find out what the rules around speech in America really are, and why this is no time to self-censor, we spoke to Ari Cohn. He’s lead counsel at the Foundation for Individual Rights and Expression, with a focus on tech policy.
And in the news: Oregon sues the Trump administration to stop the deployment of the state’s National Guard to protect federal buildings, current New York City Mayor Eric Adams pulls out of the upcoming mayoral race, and Israeli Prime Minister Benjamin Netanyahu changes his story on what happened with those bunker busters in Iran.
Show Notes:
- Call Congress – 202-224-3121
- Subscribe to the What A Day Newsletter – https://tinyurl.com/3kk4nyz8
- What A Day – YouTube – https://www.youtube.com/@whatadaypodcast
- Follow us on Instagram – https://www.instagram.com/crookedmedia/
- For a transcript of this episode, please visit crooked.com/whataday
Hosted by Simplecast, an AdsWizz company. See pcm.adswizz.com for information about our collection and use of personal data for advertising.
The Indicator from Planet Money - What media consolidation means for free speech
Jimmy Kimmel’s brief departure from the airwaves triggered a wave of debate over free speech. Partly triggering his suspension was the government threatening to leverage its power over pending media deals. That’s in part due to a piece of decades-old legislation.
Today on the show, we look at how the Telecommunications Act of 1996 set the stage for government meddling and corporate capitulation.
Related episodes:
Breaking up big business is hard to do
Mergers, acquisitions and Elon’s “rude” proposal
For sponsor-free episodes of The Indicator from Planet Money, subscribe to Planet Money+ via Apple Podcasts or at plus.npr.org. Fact-checking by Sierra Juarez. Music by Drop Electric. Find us: TikTok, Instagram, Facebook, Newsletter.
Learn more about sponsor message choices: podcastchoices.com/adchoices
NPR Privacy Policy
The Best One Yet - 🥃 “Negroni Hotel” — Death & Co’s hotel chain. Costco’s 9am DINK hour. Apple acquires Intel? +Ad-supported Toilet Paper
Death & Co. started the craft cocktail movement… and now it’s becoming a hotel chain.
Apple’s surprise Made in America power move?... Buy Intel (the whole company).
Costco opened 1 hour early for executive members … and it led to a surge in upgrades.
Plus, video advertising is coming for your… Toilet Paper.
$COST $INTC $AAPL
Want more business storytelling from us? Check out the latest episode of our new weekly deepdive show: The untold origin story of… Saturday Night Live 📺
Subscribe to The Best Idea Yet: https://wondery.com/links/the-best-idea-yet/ to listen.
Fat Bear Week Voting: https://explore.org/meet-the-bears
NEWSLETTER:
https://tboypod.com/newsletter
OUR 2ND SHOW:
Want more business storytelling from us? Check our weekly deepdive show, The Best Idea Yet: The untold origin story of the products you're obsessed with. Listen for free to The Best Idea Yet: https://wondery.com/links/the-best-idea-yet/
NEW LISTENERS
Fill out our 2 minute survey: https://qualtricsxm88y5r986q.qualtrics.com/jfe/form/SV_dp1FDYiJgt6lHy6
GET ON THE POD:
Submit a shoutout or fact: https://tboypod.com/shoutouts
SOCIALS:
Instagram: https://www.instagram.com/tboypod
TikTok: https://www.tiktok.com/@tboypod
YouTube: https://www.youtube.com/@tboypod
Linkedin (Nick): https://www.linkedin.com/in/nicolas-martell/
Linkedin (Jack): https://www.linkedin.com/in/jack-crivici-kramer/
Anything else: https://tboypod.com/
About Us: The daily pop-biz news show making today’s top stories your business. Formerly known as Robinhood Snacks, The Best One Yet is hosted by Jack Crivici-Kramer & Nick Martell.
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.
What Next | Daily News and Analysis - The Gaza Flotilla That’s Under Attack
With Gaza cut off from food and aid, activists have taken matters into their own hands, and are attempting to circumvent Israel’s blockade themselves via the Mediterranean.
Guest: Zue Jernstedt, member of About Face: Veterans Against the War and participant on the Veterans Boat of the Global Sumud Flotilla.
Want more What Next? Subscribe to Slate Plus to access ad-free listening to the whole What Next family and across all your favorite Slate podcasts. Subscribe today on Apple Podcasts by clicking “Try Free” at the top of our show page. Sign up now at slate.com/whatnextplus to get access wherever you listen.
Podcast production by Elena Schwartz, Paige Osburn, Anna Phillips, Madeline Ducharme, and Rob Gunther.
Learn more about your ad choices. Visit megaphone.fm/adchoices
NPR's Book of the Day - Ian McEwan’s latest novel ‘What We Can Know’ is science fiction without the science
To listen to Book of the Day sponsor-free and support NPR's book coverage, sign up for Book of the Day+ at plus.npr.org/bookoftheday
Learn more about sponsor message choices: podcastchoices.com/adchoices
NPR Privacy Policy
Short Wave - Why Do Some Hurricane Survivors Thrive After Disaster?
The term was coined in the 90s to describe the positive psychological growth that researchers documented in people who had been through traumatic or highly stressful life events. Psychologists and sociologists conducting long-range studies on survivors of Hurricane Katrina – which hit 20 years ago and remains one of the most devastating natural disasters to hit the US – are continuing to learn more about it.
So how do you measure post-traumatic growth? Can it co-exist with PTSD? NPR mental health correspondent Rhitu Chatterjee explains what scientists have found so far … and how it could help shape disaster relief efforts in the future.
Interested in more psychology and social science stories? Email us your question at shortwave@npr.org.
Listen to every episode of Short Wave sponsor-free and support our work at NPR by signing up for Short Wave+ at plus.npr.org/shortwave.
Learn more about sponsor message choices: podcastchoices.com/adchoices
NPR Privacy Policy
