Feed aggregator
Amazon To Use Nvidia Tech In AI Chips, Roll Out New Servers
Read more of this story at Slashdot.
SmartTube YouTube App For Android TV Breached To Push Malicious Update
Read more of this story at Slashdot.
Michael and Susan Dell Donate $6.25 Billion To Encourage Families To Claim 'Trump Accounts'
Read more of this story at Slashdot.
Google's Vibe Coding Platform Deletes Entire Drive
Read more of this story at Slashdot.
Zillow Drops Climate Risk Scores After Agents Complained of Lost Sales
Read more of this story at Slashdot.
Trump Administration To Take Equity Stake In Former Intel CEO's Chip Startup
Read more of this story at Slashdot.
Steam On Linux Hits An All-Time High In November
Read more of this story at Slashdot.
Supreme Court Hears Copyright Battle Over Online Music Piracy
Read more of this story at Slashdot.
An Independent Effort Says AI Is the Secret To Topple 2-Party Power In Congress
Read more of this story at Slashdot.
Russia Still Using Black Market Starlink Terminals On Its Drones
Read more of this story at Slashdot.
Russian Launch Site Mishap Shows Perilous State of Storied Space Program
Read more of this story at Slashdot.
CodeSOD: The Destination Dir
Darren is supporting a Delphi application in the current decade. Which is certainly a situation to be in. He writes:
I keep trying to get out of doing maintenance on legacy Delphi applications, but they keep pulling me back in.
The bit of code Darren sends us isn't the largest WTF, but it's a funny mistake, and it's a funny mistake that's been sitting in the codebase for decades at this point. And as we all know, jokes only get funnier with age.
FileName := DestDir + ExtractFileName(FileName); if FileExists(DestDir + ExtractFileName(FileName)) then begin ... end;This code is inside of a module that copies a file from a remote server to the local host. It starts by sanitizing the FileName, using ExtractFileName to strip off any path components, and replace them with DestDir, storing the result in the FileName variable.
And they liked doing that so much, they go ahead and do it again in the if statement, repeating the exact same process.
Darren writes:
As Homer Simpson said "Lather, rinse, and repeat. Always repeat."
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!Samsung Debuts Its First Trifold Phone
Read more of this story at Slashdot.
'We Built a Database of 290,000 English Medieval Soldiers'
Read more of this story at Slashdot.
Swiss Illegal Cryptocurrency Mixing Service Shut Down
Read more of this story at Slashdot.
Smartphones At Age 12 Linked To Worse Health
Read more of this story at Slashdot.
Apple AI Chief Retiring After Siri Failure
Read more of this story at Slashdot.
Flock Uses Overseas Gig Workers To Build Its Surveillance AI
Read more of this story at Slashdot.
Austria's Rebel Nuns Refuse To Give Up Instagram To Stay In Their Convent
Read more of this story at Slashdot.
Zipcar To End UK Operations
Read more of this story at Slashdot.
