Feed aggregator
Aaron Sorkin's The Social Network Sequel Officially in Development
Read more of this story at Slashdot.
US Senators Push For American Version of EU's Digital Markets Act
Read more of this story at Slashdot.
Psylo Browser Obscures Digital Fingerprints By Giving Every Tab Its Own IP Address
Read more of this story at Slashdot.
Bazzite Would Shut Down If Fedora Goes Ahead With Removing 32-Bit
Read more of this story at Slashdot.
Games Run Faster On SteamOS Than Windows 11, Ars Testing Finds
Read more of this story at Slashdot.
Overfishing Has Caused Cod To Halve in Body Size Since 1990s, Study Finds
Read more of this story at Slashdot.
Mozilla Formally Discontinues Its DeepSpeech Project
Read more of this story at Slashdot.
Bernie Sanders Says If AI Makes Us So Productive, We Should Get a 4-Day Work Week
Read more of this story at Slashdot.
Lyon Abandons Microsoft Office To Strengthen 'Digital Sovereignty'
Read more of this story at Slashdot.
Majority of US K-12 Teachers Now Using AI for Lesson Planning, Grading
Read more of this story at Slashdot.
'The Computer-Science Bubble Is Bursting'
Read more of this story at Slashdot.
How Foreign Scammers Use U.S. Banks to Fleece Americans
Read more of this story at Slashdot.
HDMI 2.2 Finalized with 96 GB/s Bandwidth, 16K Resolution Support
Read more of this story at Slashdot.
Stem Cell Treatment May Cure Severe Type 1 Diabetes, Study Finds
Read more of this story at Slashdot.
Australia Regulator and YouTube Spar Over Under-16s Social Media Ban
Read more of this story at Slashdot.
Intel Will Shut Down Its Automotive Business, Lay Off Most of the Department's Employees
Read more of this story at Slashdot.
Google Rolls Out Street View Time Travel To Celebrate 20 Years of Google Earth
Read more of this story at Slashdot.
Health Secretary Wants Every American To Be Sporting a Wearable Within Four Years
Read more of this story at Slashdot.
Researchers Discover How Caffeine Could Slow Cellular Aging
Read more of this story at Slashdot.
CodeSOD: Classic WTF: When it's OK to GOTO
Everybody knows that you should never use "goto" statements. Well, except in one or two rare circumstances that you won't come across anyway. But even when you do come across those situations, they're usually "mirage cases" where there's no need to "goto" anyway. Kinda like today's example, written by Jonathan Rockway's colleague. Of course, the irony here is that the author likely tried to use "continue" as his label, but was forced to abbreviate it to "cont" in order to skirt compiler "reserved words" errors.
while( sysmgr->getProcessCount() != 0 ) { // Yes, I realize "goto" statements are considered harmful, // but this is a case where it is OK to use them cont: //inactivation is not guaranteed and may take up to 3 calls sysmgr->CurrentProcess()->TryInactivate(); if( sysmgr->CurrentProcess()->IsActive() ) { Sleep(DEFAULT_TIMEOUT); goto cont; } /* ED: Snip */ //disconnect child processes if( sysmgr->CurrentProcess()->HasChildProcesses() ) { /* ED: Snip */ } /* ED: Snip */ if( sysmgr->CurrentProcess()->IsReusable() ) { sysmgr->ReuseCurrentProcess(); goto cont; } sysmgr->CloseCurrentProcess(); } [Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.