Feed aggregator
Stack Overflow's Radical New Plan To Fight AI-Induced Death Spiral
Read more of this story at Slashdot.
Anthropic CEO Warns AI Could Eliminate Half of All Entry-Level White-Collar Jobs Within Five Years
Read more of this story at Slashdot.
There's More Film and Television For You To Watch Than Ever Before - Good Luck Finding It
Read more of this story at Slashdot.
Demand For American Degrees Has Already Hit Covid-Era Lows
Read more of this story at Slashdot.
Linux Format Ceases Publication
Read more of this story at Slashdot.
California Has Got Really Good at Building Giant Batteries
Read more of this story at Slashdot.
macOS 26 May Not Support 2018 MacBook Pros, 2019 iMacs, or the iMac Pro
Read more of this story at Slashdot.
HP Hastens China Exit as Tariffs Kick a Hole in its Profits
Read more of this story at Slashdot.
Researchers Warn Against Treating AI Outputs as Human-Like Reasoning
Read more of this story at Slashdot.
AI May Already Be Shrinking Entry-Level Jobs In Tech, New Research Suggests
Read more of this story at Slashdot.
World Faces New Danger of 'Economic Denial' in Climate Fight, Cop30 Head Says
Read more of this story at Slashdot.
Astronomers Discover Mystery Cosmic Body Bursting With X-Rays
Read more of this story at Slashdot.
CodeSOD: Recasting the Team
Nina's team has a new developer on the team. They're not a junior developer, though Nina wishes they could replace this developer with a junior. Inexperience is better than whatever this Java code is.
Object[] test = (Object[]) options; List<SchedulePlatform> schedulePlatformList = (List<SchedulePlatform>)((Object[])options)[0]; List<TableColumn> visibleTableCols = (List<TableColumn>)((Object[])options)[1];We start by casting options into an array of Objects. That's already a code stench, but we actually don't even use the test variable and instead just redo the cast multiple times.
But worse than that, we cast to an array of object, access an element, and then cast that element to a collection type. I do not know what is in the options variable, but based on how it gets used, I don't like it. What it seems to be is a class (holding different options as fields) rendered as an array (holding different options as elements).
The new developer (ab)uses this pattern everywhere.
[Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.Data Broker Giant LexisNexis Says Breach Exposed Personal Information of Over 364,000 People
Read more of this story at Slashdot.
Microsoft Is Opening Windows Update To Third-Party Apps
Read more of this story at Slashdot.
EA Cancels Black Panther Game, Closes Cliffhanger Games
Read more of this story at Slashdot.
Discord's New Currency Pays Users To Interact With Ads
Read more of this story at Slashdot.
Mysterious Database of 184 Million Records Exposes Vast Array of Login Credentials
Read more of this story at Slashdot.
CD Projekt Red is Moving Forward With Cyberpunk 2
Read more of this story at Slashdot.
US Will Ban Foreign Officials To Punish Countries For Social Media Rules
Read more of this story at Slashdot.