Computer
Influencers and OnlyFans Models Dominate US 'Extraordinary' Artist Visas
Read more of this story at Slashdot.
Samsung's CES Concepts Disguise AI Speakers as Turntables and Cassette Players
Read more of this story at Slashdot.
People of Dubious Character Are More Likely To Enter Public Service
Read more of this story at Slashdot.
Stack Overflow Went From 200,000 Monthly Questions To Nearly Zero
Read more of this story at Slashdot.
Samsung Co-CEO Says Soaring Memory Chip Prices Will 'Inevitably' Impact Smartphone Costs
Read more of this story at Slashdot.
As US Communities Start Fighting Back, Many Datacenters are Blocked
Read more of this story at Slashdot.
2025 Ends With Release of J. R. R. Tolkein's Unpublished Story
Read more of this story at Slashdot.
Announcements: New Year, New You?
During the holiday season, we got some of your holiday WTFs. For the next few weeks, we'd love to see your New Year's Resolutions. Maybe ones for you- what WTF do you do that you want to stop doing? But mostly, we're looking for the resolutions you want to give other people- the teammate who microwaves salmon for lunch everyday (it's healthy protein bro), the pointy-haired-boss who thinks they can code because ChatGPT generates code, the company that thinks CI is too much of an expense. What in your day or workplace needs to take on a resolution for this year?
Click submit and let us know!
[Advertisement] Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!CodeSOD: The Utils
We know 2026 is not a leap year. But how do we know that? We need to call some function to find out.
Steve sends us a bit of representative code; on it's own, it's not so bad, but with the broader context, it's horrifying:
namespace Utils{ public static class Utils { public static bool IsLeapYear(int year) { return CultureInfo.CurrentCulture.Calendar.IsLeapYear(year); } … } }CultureInfo.CurrentCulture.Calendar.IsLeapYear is a .Net built in function. It does what you think. This code wraps it in their own IsLeapYear function, in a class called Utils, in a namespace called Utils.
I think you can see where this is going: Utils.Utils is a "god" class that has all the random utility functions you might want in it. It basically wraps the .Net core library up in its own interface. Sure, it's only the parts that the application needs to use, but it's still a lot of useless code that just piles a big old heap of functions that could mostly be one-liners already in a big bucket.
And of course, not everyone follows this convention, which means that much of the code uses the core library directly, and much of it uses the Utils.Utils. The mixture creates a maintainability nightmare, and it shows: the application has an ever growing bug list.
[Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.Workstation Owner Sadly Marks the End-of-Life for HP-UX
Read more of this story at Slashdot.
39 Million Californians Can Now Legally Demand Data Brokers Delete Their Personal Data
Read more of this story at Slashdot.
North Dakota Law Included Fake Critical Minerals Using Lawyers' Last Names
Read more of this story at Slashdot.
Are Hybrid Cars Helping America Transition to Electric Vehicles?
Read more of this story at Slashdot.
Fleischer Studios Criticized for Claiming Betty Boop is Not Public Domain
Read more of this story at Slashdot.
'Fish Mouth' Filter Removes 99% of Microplastics From Laundry Waste
Read more of this story at Slashdot.
A Drug-Resistant 'Superbug' Fungus Infected 7,000 Americans in 2025
Read more of this story at Slashdot.
Microsoft's Risky Bet That Windows Can Become The Platform for AI Agents
Read more of this story at Slashdot.
Trump Organization's $499 Smartphone Delayed Again, Now Until the End of January
Read more of this story at Slashdot.
Archboot Adds COSMIC Desktop as a New Install and Rescue Option
Read more of this story at Slashdot.
Furiosa's Energy-Efficient 'NPU' AI Chips Start Mass Production This Month, Challenging Nvidia
Read more of this story at Slashdot.
