Olly Murs' ambitious plan for Chelmsford after huge BBC music festival success
Humiliation for Macron as his government LOSES confidence vote and plunges France into chaos after desperate warning: 'don't make the same mistake as the British'
Councillor says Katie Price & Kerry Katona event will be 'bursting with personality'
Councillor says Katie Price & Kerry Katona event will be 'bursting with personality'
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.
Polestar 5 revealed: The electric Grand Tourer for those with very deep pockets
The truth about what it's like to work at Center Parcs: Ex-employees reveal what guests don't see at popular UK holiday parks
Why I feel more confident in my body at 53 than I did at 20: 'Workout queen of middle England' Caroline Idiens shares the fitness routine that 'transformed her' - and why it can help all midlife women
Pregnant Michelle Dockery displays her baby bump in sparkling black gown as she joins her Downton Abbey co-stars at NYC premiere for final movie
Inside the missing millions scandal that still haunts Diana's family - and truth about stepmother 'Acid Raine' who would have turned 96 today
AMANDA PLATELL: Harry is 'desperate' to come back to Britain and reclaim his royal role - but this fresh snub from William makes it clear why it will never happen... and why he'll never forgive his brother
Gordon Ramsay reveals his top tips to cook the perfect patty as he teams up with Burger King to launch The Wagyu
Now Labour on the brink of civil war: No 10 accused of 'mother of all stitch ups' in battle to replace Angela Rayner
Fidelity launches up to £2,000 Sipp cashback offer - could it boost your pension pot?
This major bank has a little-known 'dream fund' prize fund draw with £72,500 to be won every month - here's how to enter
Has your cash Isa bonus evaporated? The best rates to switch to NOW
Breaking Bad actor arrested over garden hose incident
Use it or lose it: AI may cause you to forget some skills
Using AI may cause some of your skills atrophy, and your employer therefore needs to take steps to keep you sharp.…
Pictured: the Braintree sex offender jailed for 12 years for child molestation
Warming Seas Threaten Key Phytoplankton Species That Fuels the Food Web
Read more of this story at Slashdot.