A shooting at a church in Michigan becomes the latest site of American gun violence. A potential government shutdown looms over Capitol Hill this week. And President Trump takes birthright citizenship to the Supreme Court again.
The experimental cognitive psychologist and popular science writer, Steven Pinker delves into the intricacies of human interactions in his latest book, ‘When Everyone Knows That Everyone Knows...: Common Knowledge and the Science of Harmony, Hypocrisy and Outrage’. From avoiding the elephant in the room to the outing of the emperor’s new clothes, Pinker reveals the paradoxes of human behaviour.
Common knowledge can bind people and communities together in a shared purpose, but Aleks Krotoski, the presenter of BBC Radio 4’s The Artificial Human and The Digital Human, journeys to the fringes of human endeavour in The Immortalists. There, Silicon Valley tech billionaires are using their wealth to focus on their own futures, attempting to disrupt and defy their own mortality.
How people behave to strangers and how much they’re willing to spend to help them, is at the heart of David Edmonds’s biography of the philosopher Peter Singer. Death in a Shallow Pond considers Singer’s most famous thought experiment and his contention that we’re morally obliged to come to the aid of those less fortunate if we can. It’s a practical philosophy that has divided opinion, but also inspired a new movement of effective altruism.
The collapse of Russia’s wartime economy has long been foretold, yet massive fiscal stimulus has compensated for the effect of sanctions. Though the pinch is now being felt, the labour market is surprisingly resilient. Protesters in China are getting more creative. And why car touchscreens are a hazard.
Over the last several centuries, one of the weapons that has defined warfare has been artillery.
It was used in the conquest of Constantinople by ships on the high seas, reached its apex during the First World War, and is still being used today.
What has allowed this weapon to remain in use for so long is technological advancements, which have made artillery more accurate, powerful, and deadly.
Learn more about cannons and artillery and how they evolved and shaped warfare over the centuries on this episode of Everything Everywhere Daily.
Sponsors
Quince
Go to quince.com/daily for 365-day returns, plus free shipping on your order!
Mint Mobile
Get your 3-month Unlimited wireless plan for just 15 bucks a month at mintmobile.com/eed
Stash
Go to get.stash.com/EVERYTHING to see how you can
receive $25 towards your first stock purchase.
ExpressVPN
Go to expressvpn.com/EEDto get an extra four months of ExpressVPN for free!w
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?
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.
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_upgrade retains 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 OR optimization, 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, and RETURNING can expose both OLD and NEW.
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_FAST collation, faster upper/lower, a casefold() helper, and clearer collation behavior for LIKE/FTS.
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.
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.
“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.
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.
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.
English is now an API. Our apps read untrusted text; they follow instructions hidden in plain sight, and sometimes they turn that text into action. If you connect a model to tools or let it read documents from the wild, you have created a brand new attack surface. In this episode, we will make that concrete. We will talk about the attacks teams are seeing in 2025, the defenses that actually work, and how to test those defenses the same way we test code. Our guides are Tori Westerhoff and Roman Lutz from Microsoft. They help lead AI red teaming and build PyRIT, a Python framework the Microsoft AI Red Team uses to pressure test real products. By the end of this hour you will know where the biggest risks live, what you can ship this quarter to reduce them, and how PyRIT can turn security from a one time audit into an everyday engineering practice.
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.