Feed aggregator
Intel Will Shed 24,000 Employees This Year, Retreat In Germany, Poland, Costa Rica, and Ohio
Read more of this story at Slashdot.
AMD CEO Sees Chips From TSMC's US Plant Costing 5%-20% More
Read more of this story at Slashdot.
Trump, Who Promised To Save TikTok, Threatens To Shut Down TikTok
Read more of this story at Slashdot.
Google URL Shortener Links Will Stop Working Next Month
Read more of this story at Slashdot.
Apple Releases Public Betas of Its New Software Updates With Liquid Glass
Read more of this story at Slashdot.
Starlink Suffers Worldwide Outage
Read more of this story at Slashdot.
Google's New 'Web Guide' Uses AI To Organize the Search Results Page
Read more of this story at Slashdot.
Microsoft CEO Addresses 'Enigma' of Layoffs
Read more of this story at Slashdot.
An Inventor Is Injecting Bleach Into Cancerous Tumors - and Wants to Bring the Treatment To the US
Read more of this story at Slashdot.
'Boiling Frog' Effect Makes People Oblivious To Threat of Climate Crisis, Shows Study
Read more of this story at Slashdot.
Satellite Imagery and Phone Data Reveal Romance Scam Centers Still Expanding Despite Crackdowns
Read more of this story at Slashdot.
NFTs Qualify For Trademark Protection, Ninth Circuit Rules
Read more of this story at Slashdot.
Board Game Crowdfunding Platform Gamefound Acquires Indiegogo
Read more of this story at Slashdot.
Microsoft Says Some SharePoint Server Hackers Now Using Ransomware
Read more of this story at Slashdot.
VMware Prevents Some Perpetual License Holders From Downloading Patches
Read more of this story at Slashdot.
Physicists Blow Up Gold With Giant Lasers, Accidentally Disprove Renowned Physics Model
Read more of this story at Slashdot.
Sweet Spot For Daily Steps Is Lower Than Often Thought, New Study Finds
Read more of this story at Slashdot.
CodeSOD: ConVersion Version
Mads introduces today's code sample with this line: " this was before they used git to track changes".
Note, this is not to say that they were using SVN, or Mercurial, or even Visual Source Safe. They were not using anything. How do I know?
/** * Converts HTML to PDF using HTMLDOC. * * @param printlogEntry ** @param inBytes * html. * @param outPDF * pdf. * @throws IOException * when error. * @throws ParseException */ public void fromHtmlToPdfOld(PrintlogEntry printlogEntry, byte[] inBytes, final OutputStream outPDF) throws IOException, ParseException {...} /** * Converts HTML to PDF using HTMLDOC. * * @param printlogEntry ** @param inBytes * html. * @param outPDF * pdf. * @throws IOException * when error. * @throws ParseException */ public void fromHtmlToPdfNew(PrintlogEntry printlogEntry, byte[] inBytes, final OutputStream outPDF) throws IOException, ParseException {...}Originally, the function was just called fromHtmlToPdf. Instead of updating the implementation, or using it as a wrapper to call the correct implementation, they renamed it to Old, added one named New, then let the compiler tell them where they needed to update the code to use the new implementation.
Mads adds: "And this is just one example in this code. This far, I have found 5 of these."
.comment { border: none; } [Advertisement] ProGet’s got you covered with security and access controls on your NuGet feeds. Learn more.Google Develops AI Tool That Fills Missing Words In Roman Inscriptions
Read more of this story at Slashdot.
US To Withdraw From UNESCO Again
Read more of this story at Slashdot.