Right, but I can have both now: tests plagiarist the public interface which don't need rewriting when I refactor the code, and tests againsts the underlying details that I can throw away and replace when I make changes
@simonw
-
Mocking External Services in Software Testing Best Practices
By
–
Ugh, yeah I really don't like mocking culture – I use mocks exclusively for external services that I have no control over, eg I'll mock an HTTP request against an external API so my test suite works even if that API is rate-limited or flaky
-
Integration Tests and Code Maintenance: A Modern Perspective
By
–
I've always been much more interested in integration tests than lower level tests myself, but that's because when maintaining tests is expensive it's important to have the highest value, most refactor-supporting tests possible Maintaining tests is much cheaper now
-
AI Agents Writing Tests: Cost-Benefit of Code Generation
By
–
That's mostly true, but I'm not convinced it's harmful to have agents also write tests for lower level details – code is cheap now, and I don't mind agents throwing away dozens of existing tests when they change how a feature works
-
Package Registry Update Delays in Ubuntu Debian Systems
By
–
The registries that DO make those promises are things like the Ubuntu/Debian operating system package repos – there's a reason it can take weeks, months or even years for updates to show up there
-
Package Registry Security Economics and Malware Prevention Challenges
By
–
And they mostly shouldn't, can you imagine how uneconomical it would be for a package registry to make guarantees that the packages in that registry are free from malware?
-

1T Parameter Kimi Model Runs at 1.7 Tokens per Second M4 Max
By
–
Here's 1T parameter Kimi running at 1.7 tok/s on an M4 Max
-
PyPI Uses AI Scanning to Detect Malicious Package Attacks
By
–
"just seems like a total no-brainer that PyPi/npm/crates.io/etc. should do AI-powered scans for this pattern of attack" PyPI does that via an API used by scanning partners. I expect that may be why the package was quarantined on PyPI within an hour of it going live
-
Python Community Growth Mission Statement Support
By
–
I mean, "support and facilitate the growth of a diverse and international community of Python programmers" is right there in our mission statement
-
Hesitation to Ship AI-Generated C Code in Production
By
–
Yeah that's why I've not been brave enough to actually ship any of the C that I've had them write for me yet