AI is the flying car of the mind: An irresistible idea nobody knows how to land or manage
Column Steve Jobs probably didn't remember how many times he skinned his knees learning to ride a bike before describing a personal computer as a "bicycle for the mind." Jobs' point was that both tools help us to go further, faster, with just a little extra effort.…
How Olivia Attwood and Bradley Dack saved their 'struggling' marriage after a 'challenging' six months and selling their Cheshire home
Former champion golfer branded manipulative and bullying by judge as she loses seven-year dispute with tenants living in luxury lodges on her land
England fans target Gary Neville with x-rated chants after outrage at 'middle-aged white men' rant and hit back at Thomas Tuchel
Common Yeast Can Survive Martian Conditions
Read more of this story at Slashdot.
Full breakdown of police officers dismissed in Essex since 2020/21
Full breakdown of police officers dismissed in Essex since 2020/21
Critical evidence that collapsed the China spy trial will be kept secret
Sam Thompson's new girlfriend Talitha Balinska attempts to avoid awkward run-in with his ex Samie Elishi at beauty event
Small boat migrant jailed for five years for threatening to kill Clacton MP Nigel Farage
Labour isn't working (again): Unemployment hits a four-year record as Britain faces highest inflation in G7 and growth in wages stalls
Epping council to make bid to block asylum seekers being housed in Bell Hotel today
Plan to build 150 new houses behind existing homes in Billericay
Council's bid to block use of hotel to house asylum seekers to be heard at high court
Council's bid to block use of hotel to house asylum seekers to be heard at high court
A Refreshing Change
Dear Third-Party API Support,
You're probably wondering how and why your authorization server has been getting hammered every single day for more than 4 years. It was me. It was us—the company I work for, I mean. Let me explain.
I’m an Anonymous developer at Initech. We have this one mission-critical system which was placed in production by the developer who created it, and then abandoned. Due to its instability, it received frequent patches, but no developer ever claimed ownership. No one ever took on the task of fixing its numerous underlying design flaws.
About 6 months ago, I was put in charge of this thing and told to fix it. There was no way I could do it on my own; I begged management for help and got 2 more developers on board. After we'd released our first major rewrite and fix, there were still a few lingering issues that seemed unrelated to our code. So I began investigating the cause.
This system has 10+ microservices which are connected like meatballs buried deep within a bowl of spaghetti that completely obscures what those meatballs are even doing. Untangling this code has been a chore in and of itself. Within the 3 microservices dedicated to automated tasks, I found a lot of random functionality ... and then I found this!
See, our system extracts data from your API. It takes the refresh token, requests a new access token, and saves it to our database. Our refresh token to this system is only valid for 24 hours; as soon as we get access, we download the data. Before we download the data, we ensure we have a valid access token by refreshing it.
One of our microservice's pointless jobs was to refresh the access token every 5, 15, and 30 minutes for 22 of the 24 hours we had access to it. It was on a job timer, so it just kept going. Every single consent for that day kept getting refreshed, over and over.
Your auditing tools must not have revealed us as the culprit, otherwise we should've heard about this much sooner. You've probably wasted countless hours of your lives sifting through log files with a legion of angry managers breathing down your necks. I’m writing to let you know we killed the thing. You won’t get spammed again on our watch. May this bring you some closure.
Sincerely,
A Developer Who Still Cares