Commodity memory prices set to double as fabs pivot to AI market
Updated Memory prices could soon be double what they were earlier this year as chipmakers switch to advanced products to target the AI market, leaving a shortfall of more mature chips such as those meeting the LPDDR4 standard.…
Named: The World Cup country whose fans could be BANNED from the tournament because of Donald Trump order
SARAH VINE: Just when you thought Christmas couldn't get any more nakedly commercial, here is Meghan's cheesy ad!
JACK ANDERTON: My generation shouldn't be paying for Waspi women and other baby boomers to enjoy the goodlife - it's legal larceny
Andrew had 'consensual sex with one of Jeffrey Epstein's employees'
Terror accused tells jury he wanted to 'sabotage' gun attack on Jewish people
'This is where we die': Brit survivor of Patagonia blizzard hell tells of how tragedy unfolded - killing his friend from Cornwall and four other tourists
Trump orders DOJ to release all Epstein files in 30 days… but panic sets in as major loopholes emerge
Kelly's in the Brook! Former glamour model gets her first I'm A Celeb jungle shower moment as she sports a low-cut swimsuit to take a dip with Shona McGarty and Alex Scott
House prices slump just seven days before Rachel Reeves' Budget as demand slows - how much has YOUR home's value changed?
World's biggest company Nvidia stuns Wall Street as it gives biggest clue yet to state of US economy
Mum was 'warned to get rid of XL bullies' before she was mauled to death
Couple pay from just £40-a-month to heat home - using tiny computers in shed
Braintree couple heat their home for £40 a month - all thanks to feature in their garden shed
Should Princesses Beatrice and Eugenie be given more royal roles? Have your say in the Palace Confidential Poll
Leonardo DiCaprio and best pal Tobey Maguire are 'surrounded by female fans' as they party into the early hours at London private members' club
Quantum Teleportation Between Photons From Two Distant Light Sources Achieved
Read more of this story at Slashdot.
Hundreds of new homes could be built around Essex railway stations
Vin Diesel cleared of sexual battery claims made by former assistant over Fast 5 filming
CodeSOD: Invalid Route and Invalid Route
Someone wanted to make sure that invalid routes logged an error in their Go web application. Artem found this when looking at production code.
if (requestUriPath != "/config:system") && (requestUriPath != "/config:system/ntp") && (requestUriPath != "/config:system/ntp/servers") && (requestUriPath != "/config:system/ntp/servers/server") && (requestUriPath != "/config:system/ntp/servers/server/config") && (requestUriPath != "/config:system/ntp/servers/server/config/address") && (requestUriPath != "/config:system/ntp/servers/server/config/key-id") && (requestUriPath != "/config:system/ntp/servers/server/config/minpoll") && (requestUriPath != "/config:system/ntp/servers/server/config/maxpoll") && (requestUriPath != "/config:system/ntp/servers/server/config/version") && (requestUriPath != "/config:system/ntp/servers/server/state") && (requestUriPath != "/config:system/ntp/servers/server/state/address") && (requestUriPath != "/config:system/ntp/servers/server/state/key-id") && (requestUriPath != "/config:system/ntp/servers/server/state/minpoll") && (requestUriPath != "/config:system/ntp/servers/server/state/maxpoll") && (requestUriPath != "/config:system/ntp/servers/server/state/version") { log.Info("ProcessGetNtpServer: no return of ntp server state for ", requestUriPath) return nil }The most disturbing part of this, for Artem, isn't that someone wrote this code and pushed it to production. It's that, according to git blame, two people wrote this code, because the first developer didn't include all the cases.
For the record, the application does have an actual router module, which can trigger logging on invalid routes.