Re:Polish trains lock up when serviced in third-party workshops
by bombcar on Tuesday December 05, 2023 @11:24AM
(#38532934)
The real crime is not using a standard date time library and a simple > 2021-11-21
[ Parent
| on HN ]
Re:Polish trains lock up when serviced in third-party workshops
by rollcat on Tuesday December 05, 2023 @12:29PM
(#38533994)
Even being evil requires a certain level of competence. It's how we actually catch any of them.
Re:Polish trains lock up when serviced in third-party workshops
by p_l on Tuesday December 05, 2023 @12:10PM
(#38533702)
Can be often problematic on PLCs and the programming environment exposed to programmer.
Re:Polish trains lock up when serviced in third-party workshops
by cj on Tuesday December 05, 2023 @12:21PM
(#38533862)
Personally I prefer measuring time as seconds that have passed since January 1st, 1970.
Re:Polish trains lock up when serviced in third-party workshops
by Faaak on Tuesday December 05, 2023 @04:55PM
(#38537486)
And then your train is 32bits and stops working in 2038 ;-)
Re:Polish trains lock up when serviced in third-party workshops
by pixel8account on Tuesday December 05, 2023 @02:18PM
(#38535622)
This is a reason why it was detected a year later - the train service was delayed and it spent late November and whole December in service. So the "expiration" intended for 2021 only manifested in 2022.
Re:Polish trains lock up when serviced in third-party workshops
by delfinom on Tuesday December 05, 2023 @03:55PM
(#38536781)
This was programmed into a PLC, not traditional code.
PLCs are basically environments designed for mere technicians being able to adjust code in very clear concise fashion. It can be way more verbose, but the logic is clear and solid for decades of operation.
It doesn't require reading an api documentation on version X of a library downloaded from NPM 15 years ago nor rebuilding an entire project to the latest dependencies.