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.
Special needs staff at Essex schools threatening to strike over pay demands
Eleven years after Lenovo acquired IBM’s x86 server biz, profits are still elusive
Lenovo has again said its enterprise hardware business is on the cusp of becoming consistently profitable, despite the division again posting a loss after massive revenue growth.…
CMA Awards 2025 winners: Lainey Wilson shocks as she earns three including top prize of the night on top of hosting duties
New Essex roundabout plans can move ahead allowing 500 new homes to be built
Essex man behind one of largest art festival on 'putting hometown on global map'
Road Safety Week highlights needs for upgrades on 'high risk' A120
Carers reminded of their rights as part of annual awareness day for 'unspoken heroes'
Essex man behind one of largest art festival on 'putting hometown on global map'
Road Safety Week highlights needs for upgrades on 'high risk' A120
Prime Minister's breakfast appeal to 41 Essex schools for best chance in life
Palo Alto CEO tips nation-states to weaponize quantum computing by 2029
Palo Alto Networks CEO Nikesh Arora has suggested hostile nation-states will possess quantum computers in 2029, or even a little earlier, at which point most security appliances will need to be replaced.…