5 ms·
You know, I fully understand the reasons for MS to use a date format in an integer for a version number in some kind of package; it was a bit silly of them not
by jeroenhd 5y ago
You know, I fully understand the reasons for MS to use a date format in an integer for a version number in some kind of package; it was a bit silly of them not to use a 64-bit integer for the version number there, but at least it made sense.
With this, I don't understand the reason at all. It seems to be the same issue, but why would you ever use an integer formatted as a date to display the clock? That's the other way around, and it's probably more work to create such integers than to use string formatting!
This sucks for Honda owners because it'll take forever for any update to come out, and those updates will probably cost money as well. One of the forum users says a firmware update DVD goes for $150, that's just insane.
- rightbyte 5y ago> why would you ever use an integer formatted as a date to display the clock? Maybe the master date is sent over CAN and the bug is in the sender?
- gaius_baltar 5y agoNot a cause. CAN messages are up to 8 bytes long, not a 64-bit signed integer. There is enough space there for packing the time as a 64-bit time_t (which will ensure it will work literally forever, as the Universe will die before it overflows) or that ugly BCD format that RTCs use (which will last for practical uses).
- rightbyte 5y agoWhen I worked in the auto industry we had to fight for every bit on the CAN bus since it was always on the verge of congestion. We did insane statemachines to carry payload in unrelated bits. I can easily see someone doing: unsigned date = 202201011758; *(unsigned*)&tx[0] = date; And in another ECU: int date = *(int*)&rx [0]; int y = date / 100000000; // -20 int M = date / 1000000 - y*100; // -93 ... Or just saturating negative numbers to 0, since integer values over 0xFD00 0000 (something) are reserved for error handling.
- kingcharles 5y agoI'm with you on this, and that would explain the bug if Honda hadn't said the code will return to its correct output in August.
- rightbyte 5y agoYe I was figuring which algorithms might give that bug behaviour but I could not think of any. Maybe they have a "Y since X", hit the Autosar reserved range at 0xfd..., and it wraps around 0xff... to 0 in August? A free running counter through the "non physical" range is the only thing I could think of that would behave like this and fix it self by a date. The timer could be any bit width or unit really.
- kevin_thibedeau 5y agoRTCs still use two digit years so someone probably thought this was a quick way to pack a "struct" without thinking it through.
- KennyBlanken 5y ago> With this, I don't understand the reason at all. It seems to be the same issue > One of the forum users says a firmware update DVD goes for $150, that's just insane. There's your answer, although some additional context: this date issue has been a repeated problem for Honda and other Japanese auto companies. They likely know, and are using it to force people to come in for service. It's also worth noting that a large portion of Japan's economy is propped up by the auto industry, thanks to rules making it very difficult and expensive to keep a car beyond a couple years. Japan exports used cars like crazy. Toyota in particular has almost Umbrella Corp levels of tentacles into Japanese society because they are supplied by thousands of smaller suppliers around the country. Hence their kids books explaining how hybrids are great and electric vehicles are evil...and those books actually making it in front of kids.
- deleted 5y ago[deleted]
- viraptor 5y ago> kids books explaining how hybrids are great and electric vehicles are evil... Have you got a link to any photos of those? I can't find them
- jazzyjackson 5y agoI didn't believe them re: childrens books either, I guess they mean this: https://electrek.co/2021/11/11/how-toyota-sneakily-spreads-anti-ev-propaganda-in-japan/ https://electrek.co/2021/11/11/how-toyota-sneakily-spreads-a... Really more informational pamphlets than kids books.
- deleted 5y ago[deleted]
- MBCook 5y agoThe DVD is $150 because it contains updates to the mapping software and the latest maps available. Yes it’s overpriced, but it’s not $150 for a firmware update and nothing else.
- silon42 5y agoISO8601 date format will have Y10K bug.
- selfhoster11 5y agoY10K's runway is far larger than many people's lifespans.
- jtbayly 5y agoCurious which people are the exception!
- px43 5y agoThere's actually a whole lot of people who have never died, so the data isn't in on that one quite yet.
- selfhoster11 5y agoNot to mention the stupendously low amount of data available on unpredictable future medical breakthroughs that may or may not result in delaying death.
- scandinavian 5y ago> Y10K I appreciate the optimism regarding the long-term survival of the human race.
- mywittyname 5y agoThere's a chance of holocene/human era becoming a mainstream calendaring system. Whether that chance is greater than the chance of the human race lasting another 8000 years; I'm not sure.
- phkahler 5y ago>> 8000 years I think rather than cooking ourselves we are actually going to bring about the end of the holocene sooner than it would normally have happened. something seams to reach a tipping point at the end of each interglacial period. I like to imagine we can stop that via nuclear excavation of Panama ;-) https://www.forbes.com/sites/paulrodgers/2014/06/30/what-started-the-ice-ages-panama/?sh=6d024d631eb1 https://www.forbes.com/sites/paulrodgers/2014/06/30/what-sta...