Computer
Apple Adds Hypertension and Sleep-Quality Monitoring To Watch Ultra 3, Series 11
Read more of this story at Slashdot.
AirPods Pro 3 Arrive With Heart-Rate Sensing, Live Translation Using Apple Intelligence
Read more of this story at Slashdot.
Canon is Bringing Back a Point-and-Shoot From 2016 With Fewer Features and a Higher Price
Read more of this story at Slashdot.
Apple Launches iPhone 17 Lineup Featuring Ultra-Thin 5.6mm iPhone Air
Read more of this story at Slashdot.
Reuters Withdraws Xi, Putin Longevity Video After China State TV Pulls Legal Permission To Use It
Read more of this story at Slashdot.
Microsoft Forces Workers Back To the Office
Read more of this story at Slashdot.
The Renewed Bid To End Quarterly Earnings Reports
Read more of this story at Slashdot.
US Created 911,000 Fewer Jobs Than Previously Thought in the 12 Months Through March
Read more of this story at Slashdot.
No Alpha Left in Public Markets
Read more of this story at Slashdot.
US Tech Companies Enabled the Surveillance and Detention of Hundreds of Thousands in China
Read more of this story at Slashdot.
Pakistan Spying On Millions Through Phone-Tapping And Firewall, Amnesty Says
Read more of this story at Slashdot.
Sam Altman Says Bots Are Making Social Media Feel 'Fake'
Read more of this story at Slashdot.
Red Hat Back-Office Team Moving To IBM From 2026
Read more of this story at Slashdot.
Gemini App Finally Expands To Audio Files
Read more of this story at Slashdot.
Myopic Focus
Chops was a developer for Initrode. Early on a Monday, they were summoned to their manager Gary's office before the caffeine had even hit their brain.
Gary glowered up from his office chair as Chops entered. This wasn't looking good. "We need to talk about the latest commit for Taskmaster."
Taskmaster was a large application that'd been around for decades, far longer than Chops had been an employee. Thousands of internal and external customers relied upon it. Refinements over time had led to remarkable stability, its typical uptime now measured in years. However, just last week, their local installation had unexpectedly suffered a significant crash. Chops had been assigned to troubleshooting and repair.
"What's wrong?" Chops asked.
"Your latest commit decreased the number of unit tests!" Gary replied as if Chops had slashed the tires on his BMW.
Within Taskmaster, some objects that were periodically generated were given a unique ID from a pool. The pool was of limited size and required scanning to find a spare ID. Each time a value was needed, a search began where the last search ended. IDs returned to the pool as objects were destroyed would only be reused when the search wrapped back around to the start.
Chops had discovered a bug in the wrap-around logic that would inevitably produce a crash if Taskmaster ran long enough. They also found that if the number of objects created exceeded the size of the pool, this would trigger an infinite loop.
Rather than attempt to patch any of this, Chops had nuked the whole thing and replaced it with code that assigned each object a universally unique identifier (UUID) from a trusted library UUID generator within its constructor. Gone was the bad code, along with its associated unit tests.
Knowing they would probably only get in a handful of words, Chops wonderered how on earth to explain all this in a way that would appease their manager. "Well—"
"That number must NEVER go down!" Gary snapped.
"But—"
"This is non-negotiable! Roll it back and come up with something better!"
And so Chops had no choice but to remove their solution, put all the janky code back in place, and patch over it with kludge. Every comment left to future engineers contained a tone of apology.
Taskmaster became less stable. Time and expensive developer hours were wasted. Risk to internal and external customers increased. But Gary could rest assured, knowing that his favored metric never faltered on his watch.
[Advertisement] Keep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.Learn more.Warming Seas Threaten Key Phytoplankton Species That Fuels the Food Web
Read more of this story at Slashdot.
Disposable Face Masks Used During Covid Have Left Chemical Timebomb
Read more of this story at Slashdot.
William Shatner Says He 'Didn't Earn a Penny' From Star Trek Re-Runs
Read more of this story at Slashdot.
Plex Suffers Security Incident Exposing User Data and Urging Password Resets
Read more of this story at Slashdot.
All 54 Lost Clickwheel IPod Games Have Been Preserved For Posterity
Read more of this story at Slashdot.