Feed aggregator
Netflix Will Air Traditional TV Channels in France
Read more of this story at Slashdot.
The Biggest Companies Across America Are Cutting Their Workforces
Read more of this story at Slashdot.
DC Studios Chief Says Movie Industry Is 'Dying,' Claims Disney 'Killed' Marvel With Output Mandates
Read more of this story at Slashdot.
Altman Says Meta Targeting OpenAI Staff With $100 Million Bonuses as AI Race Intensifies
Read more of this story at Slashdot.
Microsoft Is Calling Too Many Things 'Copilot,' Watchdog Says
Read more of this story at Slashdot.
Field Notes Went From Side Project To Cult Notebook
Read more of this story at Slashdot.
CodeSOD: Stop Being So ####
Many a network admin has turned to the siren song of Perl to help them automate managing their networks. Frank's predecessor is no exception.
They also got a bit combative about people critiquing their Perl code:
# COMPLEX SUBNET MATH # Looking up a value in an array was faster than any mathematical solution. Yes, it's hard coded, but these values won't ever change anyway. Stop being so #### about it. $Subnets = @("0.0.0.0","128.0.0.0","192.0.0.0","224.0.0.0","240.0.0.0","248.0.0.0","252.0.0.0","254.0.0.0","255.0.0.0","255.128.0.0","255.192.0.0","255.224.0.0","255.240.0.0","255.248.0.0","255.252.0.0","255.254.0.0","255.255.0.0","255.255.128.0","255.255.192.0","255.255.224.0","255.255.240.0","255.255.248.0","255.255.252.0","255.255.254.0","255.255.255.0","255.255.255.128","255.255.255.192","255.255.255.224","255.255.255.240","255.255.255.248","255.255.255.252","255.255.255.254","255.255.255.255")I believe them when they say that the lookup array is faster, but it leaves me wondering: what are they doing where performance matters that much?
I don't actually think this ascends to the level of a WTF, but I do think the defensive comment is funny. Clearly, the original developer was having a time with people complaining about it.
Frank notes that while Perl has a reputation as a "write only language," this particular set of scripts was actually quite easy to read and maintain. So yes, I guess we should stop being so #### about it.
[Advertisement] Plan Your .NET 9 Migration with ConfidenceYour journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. Download Free Guide Now!
California AI Policy Report Warns of 'Irreversible Harms'
Read more of this story at Slashdot.
Iran Is Going Offline To Prevent Purported Israeli Cyberattacks
Read more of this story at Slashdot.
Senate Passes Stablecoin Bill In Major Win For Crypto Industry
Read more of this story at Slashdot.
Trump Extends TikTok Deadline For Third Time
Read more of this story at Slashdot.
Why China is Giving Away Its Tech For Free
Read more of this story at Slashdot.
KDE Plasma 6.4 Released
Read more of this story at Slashdot.
AI Will Shrink Amazon's Workforce In the Coming Years, CEO Jassy Says
Read more of this story at Slashdot.
Spain's Government Blames Huge Blackout On Grid Regulator and Private Firms
Read more of this story at Slashdot.
All Videos On Facebook Will Soon Be Shared As Reels
Read more of this story at Slashdot.
Honda Successfully Launches and Lands Reusable Rocket
Read more of this story at Slashdot.
OpenAI Weighs 'Nuclear Option' of Antitrust Complaint Against Microsoft
Read more of this story at Slashdot.
Iran Bans Officials From Using Internet-Connected Devices
Read more of this story at Slashdot.
Salesforce Announces 6% Price Increase as It Pushes AI Features
Read more of this story at Slashdot.