Feed aggregator
Cloudflare Explains Its Worst Outage Since 2019
Read more of this story at Slashdot.
Netgear Accused by Rival of China Smear To Fan Security Fear
Read more of this story at Slashdot.
Man Who Cryogenically Froze Late Wife Sparks Debate By Dating New Partner
Read more of this story at Slashdot.
CodeSOD: Are You Mocking Me?
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] Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!US Backs Three Mile Island Nuclear Restart With $1 Billion Loan To Constellation
Read more of this story at Slashdot.
Chinese Spies Are Trying To Reach UK Lawmakers Via LinkedIn, MI5 Warns
Read more of this story at Slashdot.
Mexico Partially Lifts Longstanding Website Ban On Tor Network
Read more of this story at Slashdot.
Gen Z Officially Worse At Passwords Than 80-Year-Olds
Read more of this story at Slashdot.
Cloud-Native Computing Is Poised To Explode
Read more of this story at Slashdot.
Red Hat Losing Another Prominent Linux Kernel Engineer
Read more of this story at Slashdot.
Blender 5.0 Released
Read more of this story at Slashdot.
Report Claims That Apple Has Yet Again Put the Mac Pro 'On the Back Burner'
Read more of this story at Slashdot.
ACLU and EFF Sue a City Blanketed With Flock Surveillance Cameras
Read more of this story at Slashdot.
Klarna Says AI Drive Has Helped Halve Staff Numbers and Boost Pay
Read more of this story at Slashdot.
Oracle is Already Underwater On Its 'Astonishing' $300B OpenAI Deal
Read more of this story at Slashdot.
'Talking To Windows' Copilot AI Makes a Computer Feel Incompetent'
Read more of this story at Slashdot.
IRS Accessed Massive Database of Americans Flights Without a Warrant
Read more of this story at Slashdot.
Federal Judge Rules Meta's Instagram and WhatsApp Purchases Did Not Stifle Competition
Read more of this story at Slashdot.
Fund Managers Warn AI Investment Boom Has Gone Too Far
Read more of this story at Slashdot.
Google Launches Gemini 3, Its 'Most Intelligent' AI Model Yet
Read more of this story at Slashdot.
