Computer
Quantum Teleportation Between Photons From Two Distant Light Sources Achieved
Read more of this story at Slashdot.
CodeSOD: Invalid Route and Invalid Route
Today's representative line comes from Capybara James (most recently previously). It's representative, not just of the code base, but of Goodhart's Law: when a measure becomes a target, it ceases to be a good measure. Or, "you get what you measure".
If, for example, you decide that code coverage metrics are how you're going to judge developers, then your developers are going to ensure that the code coverage looks great. If you measure code coverage, then you will get code coverage- and nothing else.
That's how you get tests like this:
Mockito.verify(exportRequest, VerificationModeFactory.atLeast(0)).failedRequest(any(), any(), any());This test passes if the function exportRequest.failedRequest is called at least zero times, with any input parameters.
Which, as you might imagine, is a somewhat useless thing to test. But what's important is that there is a test. The standards for code coverage are met, the metric is satisfied, and Goodhart marks up another win on the board.
[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.In the AI Race, Chinese Talent Still Drives American Research
Read more of this story at Slashdot.
China's Diesel Trucks Are Shifting To Electric
Read more of this story at Slashdot.
Tokyo Court Finds Cloudflare Liable For Manga Piracy in Long-Running Lawsuit
Read more of this story at Slashdot.
Adobe Bolsters AI Marketing Tools With $1.9 Billion Semrush Buy
Read more of this story at Slashdot.
Apple N1 Wi-Fi Chip Improves On Older Broadcom Chips In Every Way
Read more of this story at Slashdot.
Saudi Makes Big Bet On AI Films As Hollywood Moves From Studios To Datacenters
Read more of this story at Slashdot.
Nvidia Beats Earnings Expectations, Even As Bubble Concerns Mount
Read more of this story at Slashdot.
Dutch Hand Back Control of Chinese-Owned Chipmaker Nexperia
Read more of this story at Slashdot.
Can Chinese-Made Buses Be Hacked? Norway Drove One Down a Mine To Find Out
Read more of this story at Slashdot.
New Antibiotic Could Be a Breakthrough in Treatment for Killer TB, Trial Suggests
Read more of this story at Slashdot.
Ultra-Processed Food is Global Health Threat, Researchers Warn
Read more of this story at Slashdot.
Europe's Cookie Nightmare is Crumbling
Read more of this story at Slashdot.
Linus Torvalds Says Vibe Coding is Fine For Getting Started, 'Horrible Idea' For Maintenance
Read more of this story at Slashdot.
UK To Ban the Resale of Tickets For Profit To Protect Fans
Read more of this story at Slashdot.
The Growing Problem With China's Unreliable Numbers
Read more of this story at Slashdot.
More Than 60 US and Canadian Police Units Now Use Boston Dynamics' Robot Dog
Read more of this story at Slashdot.
CDC Data Confirms US is 2 Months Away From Losing Measles Elimination Status
Read more of this story at Slashdot.
Chinese University Collected More AI Patents Than MIT, Stanford, Princeton and Harvard Combined
Read more of this story at Slashdot.
