4 ms·
> As the following script shows, however, a Western Digital developer created five lines of code to password-protect the reset command. For unknown reasons, the
by oldgradstudent 5y ago
> As the following script shows, however, a Western Digital developer created five lines of code to password-protect the reset command. For unknown reasons, the authentication check was cancelled, or in developer parlance, was commented out as indicated by the double / character at the beginning of each line.
function get($urlPath, $queryParams=null, $ouputFormat='xml'){
// if(!authenticateAsOwner($queryParams))
// {
// header("HTTP/1.0 401 Unauthorized");
// return;
// }
- deleted 5y ago[deleted]
- ivrrimum 5y agolol, this is why TDD should be government mandated for companies which have reached at least 1 million users or government systems.
- CodeWriter23 5y agoNever thought I’d see Ars explain what “commenting out” means.
- beerandt 5y agoIt's not the site it used to be. Forums are all but dead. Comments alone have kept me from visiting the site for a while now. Used to be one of the sites I'd check daily, now I don't even like to click through on articles like these.
- CodeWriter23 5y agoI don’t begrudge the founders taking their payday. That said, I really do miss the special place they made.
- beerandt 5y agoOf course not. But it's the restaurant you hate to go to now, because it just reminds you of how good it used to be.
- axiosgunnar 5y ago> ouputFormat