Feed aggregator
Thunderbird 140 Released
Read more of this story at Slashdot.
What is AGI? Nobody Agrees, And It's Tearing Microsoft and OpenAI Apart.
Read more of this story at Slashdot.
Georgia Court Throws Out Earlier Ruling That Relied on Fake Cases Made Up By AI
Read more of this story at Slashdot.
SUSE Launching Region-Locked Support For the Sovereignty-Conscious
Read more of this story at Slashdot.
A Marco Rubio Impostor is Using AI Voice To Call High-Level Officials
Read more of this story at Slashdot.
X Says It's 'Deeply Concerned' About India Press Censorship
Read more of this story at Slashdot.
Unless Users Take Action, Android Will Let Gemini Access Third-Party Apps
Read more of this story at Slashdot.
Microsoft, OpenAI, and a US Teachers' Union Are Hatching a Plan To 'Bring AI into the Classroom'
Read more of this story at Slashdot.
Weedkiller Ingredient Widely Used In US Can Damage Organs and Gut Bacteria, Research Shows
Read more of this story at Slashdot.
Arizona Brings a Huge Grid Battery Online Ahead of Peak Demand
Read more of this story at Slashdot.
Massive Study Detects AI Fingerprints In Millions of Scientific Papers
Read more of this story at Slashdot.
CodeSOD: Off Color
Carolyn inherited a somewhat old project that had been initiated by a "rockstar" developer, and then passed to developer after developer over the years. They burned through rockstars faster than Spinal Tap goes through drummers. The result is gems like this:
private void init(){ ResourceHelper rh = new ResourceHelper(); for ( int i = 0; i < 12; i++) { months[i] = rh.getResource("calendar."+monthkeys[i]+".long"); months_s[i] = rh.getResource("calendar."+monthkeys[i]+".short"); } StaticData data = SomeService.current().getStaticData(); this.bankHolidayList = data.getBankHolidayList(); colors.put("#dddddd", "#dddddd"); colors.put("#cccccc", "#cccccc"); colors.put("#e6e6e6", "#e6e6e6"); colors.put("#ff0000", "#ffcccc"); colors.put("#ffff00", "#ffffcc"); colors.put("#00ff00", "#ccffcc"); colors.put("#5050ff", "#ccccff"); colors.put("#aa0000", "#ff9999"); colors.put("#ff8000", "#ffcc99"); colors.put("#99ff99", "#ccffcc"); colors.put("#ffcc99", "#ffffcc"); colors.put("#ff9966", "#ffcc99"); colors.put("#00c040", "#99cc99"); colors.put("#aadddd", "#ccffff"); colors.put("#e0e040", "#ffff99"); colors.put("#6699ff", "#99ccff"); }There are plenty of things in this function that raise concerns- whatever is going on with the ResourceHelper and the monthkeys array, for example. But let's just breeze past that into that colors lookup table, because boy oh boy.
There's the obvious issue of using JavaScript to manage colors instead of CSS, which is bad, sure. But this translation table which converts some colors (presumably already used in the display?) to some other colors (presumably to replace the display colors) is downright mystifying. How did this happen? Why did this happen? What happens when we attempt to apply a color not in the lookup table?
I want to say more mean things about this, but the more I stare at the original colors and what they get translated to, I think this lookup table is trying to tell me I should…
…
…
lighten up.
[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.People Are Using AI Chatbots To Guide Their Psychedelic Trips
Read more of this story at Slashdot.
Tennis Players Criticize AI Technology Used By Wimbledon
Read more of this story at Slashdot.
Fubo Pays $3.4 Million To Settle Claims It Illegally Shared User Data With Advertisers
Read more of this story at Slashdot.
Apple Just Added More Frost To Its Liquid Glass Design
Read more of this story at Slashdot.
The Open-Source Software Saving the Internet From AI Bot Scrapers
Read more of this story at Slashdot.
Waymo Starts Robotaxi Testing In Philadelphia and NYC
Read more of this story at Slashdot.
Jack Dorsey Launches a WhatsApp Messaging Rival Built On Bluetooth
Read more of this story at Slashdot.
Samsung and Epic Games Call a Truce In App Store Lawsuit
Read more of this story at Slashdot.