Slashdot Mirror


Big Tech Warns of 'Japan's Millennium Bug' Ahead of Akihito's Abdication (theguardian.com)

MightyMartian shares a report from The Guardian: On April 30, 2019, Emperor Akihito of Japan is expected to abdicate the chrysanthemum throne. The decision was announced in December 2017 so as to ensure an orderly transition to Akihito's son, Naruhito, but the coronation could cause concerns in an unlikely place: the technology sector. The Japanese calendar counts up from the coronation of a new emperor, using not the name of the emperor, but the name of the era they herald. Akihito's coronation in January 1989 marked the beginning of the Heisei era, and the end of the Shwa era that preceded him; and Naruhito's coronation will itself mark another new era. But that brings problems. For one, Akihito has been on the throne for almost the entirety of the information age, meaning that many systems have never had to deal with a switchover in era. For another, the official name of Naruhito's era has yet to be announced, causing concern for diary publishers, calendar printers and international standards bodies. It's why some are calling it "Japan's Y2K problem." "The magnitude of this event on computing systems using the Japanese Calendar may be similar to the Y2K event with the Gregorian Calendar," said Microsoft's Shawn Steele. "For the Y2K event, there was world-wide recognition of the upcoming change, resulting in governments and software vendors beginning to work on solutions for that problem several years before January 1, 2000. Even with that preparation many organizations encountered problems due to the millennial transition. Fortunately, this is a rare event, however it means that most software has not been tested to ensure that it will behave with an additional era."

Unicode's Ken Whistler wrote in a message earlier this month: "The [Unicode Technical Committee] cannot afford to make any mistakes here, nor can it just *guess* and release the code point early. All of this is pointing directly to the necessity of issuing a Unicode 12.1 release sharply on the heels of Unicode 12.0, incorporating the addition of the new Japanese era name character, which all vendors will be under great pressure to immediately support in 2019 software releases."

33 of 211 comments (clear)

  1. Oh damn! by RobinH · · Score: 4, Funny

    When Jesus comes back do we need to reset the year back to zero? Crap, as a programmer I hate our calendar system(s)!

    --
    "I have never let my schooling interfere with my education." - Mark Twain
    1. Re:Oh damn! by ShanghaiBill · · Score: 5, Funny

      Crap, as a programmer I hate our calendar system(s)!

      Me too. It would be so much simpler if the earth rotated the sun in exactly 256 days, divided into exactly eight 32 day months.

    2. Re:Oh damn! by Opportunist · · Score: 3, Funny

      Right, what computer illiterate idiot designed this system?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    3. Re:Oh damn! by RobinH · · Score: 5, Informative

      Well, I've always thought the International Fixed Calendar was a decent attempt at sanity, but if there's people in the world that can't adopt the metric system, there's no way in hell the calendar could change.

      --
      "I have never let my schooling interfere with my education." - Mark Twain
    4. Re:Oh damn! by AmiMoJo · · Score: 4, Interesting

      Interestingly in this case it probably won't be the numerical side of things that causes problems. Most IT systems use the same Gregorian calendar we do, and have a conversion function to handle translation to/from imperial eras.

      The problem is that, like leap seconds, there is no way to predict when eras will change so you have to update all your software every time there is a new one. Particularly for systems that handle personal data it's still common for people to enter their birthday using the imperial era system, so when the new era starts all those systems need to be able to handle it.

      It was bad enough the last time it happened, but this time IT is much more pervasive and user facing. All sorts of industries are affected, e.g. airlines need to be able to handle children born in the new era from day one.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    5. Re:Oh damn! by necro81 · · Score: 2

      It would be so much simpler if the earth rotated the sun in exactly 256 days, divided into exactly eight 32 day months.

      Ya know, with enough planets and moons of the right masses and orbits, you probably could generate a system that was locked into that kind of orbital resonance. Maintaining stability in such a system, where small perturbations accumulate, would probably be difficult to guarantee, though.

    6. Re:Oh damn! by xxxJonBoyxxx · · Score: 3, Insightful

      >> When Jesus comes back do we need to reset the year back to zero?

      Serious answer: No, because the current calendar is based on the BIRTH of Christ.

      https://en.wikipedia.org/wiki/Anno_Domini

      If Jesus comes back "in glory" it's unlikely that he'll be back as an infant (unless your a Stewie fan), so your timekeeping based on the birth of a highly religious infant should remain intact. Whether or not He will need clocks in the eternal world to come remains up for debate.

      https://en.wikipedia.org/wiki/Second_Coming

    7. Re: Oh damn! by guruevi · · Score: 3, Informative

      It's not uncommon either. Pregnant people can go in labor weeks early, stress of flying often exacerbates the issue.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    8. Re:Oh damn! by skullandbones99 · · Score: 2

      That is a classic out by 1 programming error. There is no year zero, the first year is year one.

    9. Re:Oh damn! by terrycarlino · · Score: 4, Interesting

      Its even more complicated than that. The second is a fundamental unit, so there are lots of other units which depend upon it's value. Change that and you've changed the value of the Hz, erg, amp,etc.. According to Wikipedia of the 22 names derived units only 3 do not depend on the second.

    10. Re:Oh damn! by Immerman · · Score: 2

      Solary is not a word, though from language patterns it would probably mean something like "sunny" if it was - "having the quality of solar", like "shiny" means "having the quality of shine". What concept where you trying to convey? Solarly (also apparently not a word) would be something like "relating to the sun", which I'm guessing might be what you mean.

      The appropriate term though, the one that caused the creation of leap years in the first place, is "seasons". Without leap years the date of the solstices and equinoxes changes by about 100 days every 400 years - doesn't take long before you're celebrating the winter solstice in July (or December, in the southern hemisphere). Strictly speaking seasons have nothing to do with the sun itself, and everything to the current orientation of our planet's axis in relation to it.

      Of course, the proper solution is obvious - we simply have to slow the Earth's rotation enough so that the length of a year is an integer multiple of the length of a day. Unfortunately tidal drag from the sun and moon are constantly lengthening our day, so we'd need to be constantly adjusting our rotation to compensate for that.... Unless we slowed down the Earth's rotation to something less than the moon's orbit, so that the combination of the moon speeding us up, and the sun slowing us down would balance out. Though that would cause the moon to spiral towards us, rather than away, which might eventually be a problem. It'd also more immediately throw out nice balance out of wack again. So I guess the only real solution is to jettison the moon entirely, and tidally lock the Earth with the sun so that gravity stops mucking things about so quickly. That would have the added benefit that you'd no longer need to convert between days and years at all - "time of day" would become a constant geographic property rather than something that changed over time. Sure, most life on Earth would probably perish, but that's a small price to pay for not having to deal with complicated leap-years anymore.

      --
      --- Most topics have many sides worth arguing, allow me to take one opposite you.
    11. Re:Oh damn! by GNious · · Score: 2

      The second is a fundamental unit, so there are lots of other units which depend upon it's value. Change that and you've changed the value of the Hz, erg, amp,etc.. According to Wikipedia of the 22 names derived units only 3 do not depend on the second.

      huh??
      1 second is defined to be exactly 9 192 631 770 cycles of a Caesium atomic clock

    12. Re:Oh damn! by skullandbones99 · · Score: 2

      Correct, in theory Jesus was born between 6 BC and 4 BC.

  2. So... by TFlan91 · · Score: 2

    "the official name of Naruhito's era has yet to be announced"

    Then... just announce it?

    1. Re:So... by Opportunist · · Score: 3

      I'm pretty sure it will be known in IT circles as the "placeholder era", and decades from now we'll find something along these lines in a lot of code...

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:So... by SinGunner · · Score: 4, Informative

      Japanese "eras" have only been tied directly to the emperor since the Meiji Restoration (mid-1800's). The current era is only the 4th since this change. The Emperor takes a new name when they ascend the throne, so there has never been a way to know the name of the era in advance. Given the intense superstition prevalent in Japanese society, it seems incredibly unlikely a name would ever be disseminated in advance.

  3. Fake news! by Jesus+H+Rolle · · Score: 3, Interesting

    Japanese regnal years are not used for any significant calculations. Behind the scenes it's YYYY, with regnal years used only for display. This is an aesthetic issue only, and hardly unforeseen.

    1. Re:Fake news! by nojayuk · · Score: 4, Insightful

      Heisei calendaring appears on official documents, train tickets etc. (quick check, a Japan Rail reserved-seat ticket I was issued back on the 12th of May this year has the date of issue as 30.-5.12, that is Heisei year 30, month 5, day 12). Nearly all common date expressions in Japan use Christian Era numbering though.

    2. Re:Fake news! by Jesus+H+Rolle · · Score: 2

      Would it kill anyone were their 2020 ticket to say 32-5-12? There's no ambiguity, even though it's technically wrong. Hey, it's Showa 93 right now! But seriously, a train machine printing an unambiguous but technically wrong date on a ticket is hardly a problem.

    3. Re:Fake news! by Megol · · Score: 2

      Yes that was pretty much what happened - BECAUSE THE CORE PROBLEMS WERE ALREADY CORRECTED.

      There haven't even been 20 years and history revisionism is going strong.

    4. Re:Fake news! by Rei · · Score: 3, Interesting

      Apart from things like minor transportation delays, radiation monitors sounding, credit cards failing to work, some phones deleting new messages rather than old when running out of space, etc, probably the worst Y2K bug I heard of was a bunch of expectant mothers in the UK being falsely told that their children were at a high risk of Downs' Syndrome when they weren't, and vice versa, due to miscalculation of the mother's age. There were some abortions in the former group as a result of the email. Still, given all the hype, the actual effects were (as everyone here expected) quite small.

      My favorite was when the government of Maine started issuing titles to peoples' new cars describing it as a "Horseless Carriage", as apparently that had been hard-coded as the terminology for vehicles from before 1916. ;)

      --
      "Lock and load, Brides of Christ!"
    5. Re:Fake news! by jellomizer · · Score: 2

      There were a bunch of Y2K bugs that happened during Y2k it wasn't end of the world stuff, because critical date/time information was not internally stored as yy/mm/dd or mm/dd/yy because of the complexity of date/time calculations these critical system just stored numbers such a utime. It would make reporting a bit funny though.

      I have been more concerned about the approaching 2038. There have been patches and most systems are now 64bit. but there are those crazy systems that people are afraid to upgrade or patch. That could have the 2038 problem, without all the press, because it is more difficult to explain. This affects the internal clock counter so it will have more reaching problem then the cosmetic changes.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  4. Explanation of the problem by Zontar_Thing_From_Ve · · Score: 5, Informative

    Officially years in Japan start with 1 and the coronation of the new emperor. Now it seems that the year in Japan is Heisei 30, which means it's the 30th year since the Heisei emperor (Akihito) took the throne. This would be something like in the US calling 2016 as Obama 8 or 2018 by the term Trump 2. The real problem here isn't that computers are going to shut down in Japan when the current emperor abdicates next year as planned. This isn't really a Y2K problem. The Guardian usually does good work but to say this is similar to Y2K is just not correct. The article even admits that some older computers have actually never updated the year from the Showa era (when Hiirohito was emperor) so they think this year is Showa 93. Those computers will have a problem in 2025 as their calendars were never designed to hold 3 digit years, which would make 2025 be Showa 100. The real problem with the abdication is that the next era for the upcoming emperor has not yet been named. OK, so why is that a problem? Well, Japan has a history of creating a brand new character for the era when it change and Unicode has a major release scheduled for right before the abdication is scheduled to happen. The brand new character is the problem because the next release of Unicode won't support it because nobody knows what it will be yet. They have the ability to guess, but nobody wants to guess because they could be wrong. So all this hubbub is that next year's major Unicode release will require a patch shortly after release with the patch including the new character for the new era. Do keep in mind that Akihito could die of natural causes before the abdication and this problem will happen immediately upon his death. And this problem will happen every time a new emperor takes over. I'm not convinced that this is really a major problem. Computers could easily just show Heisei 31 and so on until the Unicode fix is in place. I guess it's just fun on a slow news day to blow things out of proportion.

    1. Re:Explanation of the problem by omnichad · · Score: 3, Informative

      If Unicode was at least sane enough, there would be a range of consecutive reserved codepoints. However, 0x337A is already assigned to something else (as is 0x337F if they started going in the other direction). Having a character doesn't matter as much as having a reserved codepoint. You can test without a real character.

  5. will they also fix the 2038 bug as well? by Joe_Dragon · · Score: 3, Insightful

    will they also fix the 2038 bug as well?
    or hold off so they have jobs in 2037 fixing it.

  6. All commonly used calendars are bonkers by sjbe · · Score: 2

    Well, I've always thought the International Fixed Calendar [wikipedia.org] was a decent attempt at sanity, but if there's people in the world that can't adopt the metric system, there's no way in hell the calendar could change.

    Maybe the best solution is to use a sane calendar system similar to that one as a base system (similar to Universal Coordinated Time) and then just calculate offsets into whatever crazy calendar system some group prefers to use.

    Our current calendar system is pretty much bonkers anyway. We seem bizarrely attached to concepts like a 7 day week which is familiar but totally arbitrary. You could have a year with 73 weeks of 5 days each or a year with 5 months of 73 days and it would be equally valid and equally arbitrary. It's never been clear to me why we need to worry about keeping months coordinated with particular seasons. So what if Christmas in the northern hemisphere gradually drifts to summer over the course of a few hundred years?

    I've always liked the concept of metric time too.

    1. Re:All commonly used calendars are bonkers by Diss+Champ · · Score: 3, Informative

      Regarding a non-7 day week, this has been tried before and didn't work. See for example www.mdpi.com/2075-4698/3/4/399/pdf

      Sometimes a long-followed social construct has survived because it works well for us animals, and if that makes it harder for programming computers that is a reasonable cost.

  7. Re:It is a great japanese stupidity. by PPH · · Score: 2

    Only Japanese? We are at Jesus 2018.

    --
    Have gnu, will travel.
  8. Laughable cluelessness by K.+S.+Van+Horn · · Score: 2

    "...Unicode, the international standards organisation which most famously controls the introduction of new emojis to the world."

    This is a new level of cluelessness. "Most famously"? Like, internationalization and localization were just afterthoughts; it's the emojis that they really focus on.

    How is this guy a technology reporter for a major newspaper?

  9. "The Shwa era"? 8-Bit Slashdot wins again by rxmd · · Score: 5, Funny

    Akihito's coronation in January 1989 marked the beginning of the Heisei era, and the end of the Shwa era that preceded him

    Actually it's not the Shwa era, but the Showa era, with a bar on top of the o. The character in question (U+014D) is used in transliterating Japanese in Latin script to indicate pronunciation. It has been part of Unicode since 1991.

    It's interesting to see in the summary a discussion of Unicode 12.1 vs. 12.0, when Slashdot itself doesn't support the Unicode 1.0 characters necessary to write the summary :)

    --
    As a state gets corrupt, its laws multiply; the most corrupt states have the most numerous laws. (Tacitus, Annales 3:27)
  10. Re: The Emperor Has No Clothes by barbariccow · · Score: 2, Informative

    Metric is crap. "But muh 10s!" Whatever. Computers have no problems with calculations (nor do most people), and I'd rather have a measurement meaningful to people than easily divide. I'm almost never converting inches to yards, but if I do it's just divide by 12 * 3 = divide by 36. Sure I could convert meters to decametres slightly faster in my head... but why? Also, I'd like to continue to name the temperature without going into decimals. It's much nicer to say "It's 91 degrees out" than "It's 32.78 degrees out."

    There's really no argument in using metric other than "But everyone else is doing it" and "Everything divides by 10!" For me, the usability and perception of imperial units are more meaningful. They were defined without needing an external reference to understand or measure roughly.

  11. Informative, not Funny by SpammersAreScum · · Score: 2

    Who the heck moderated this Funny?? It's an Informative important correction to the Summary!

  12. Re: The Emperor Has No Clothes by Dragonslicer · · Score: 2

    I'm almost never converting inches to yards, but if I do it's just divide by 12 * 3 = divide by 36. Sure I could convert meters to decametres slightly faster in my head... but why?

    There's really no argument in using metric other than "But everyone else is doing it" and "Everything divides by 10!"

    And, as you yourself said, it's faster to do the conversions in your head.

    Also, I'd like to continue to name the temperature without going into decimals. It's much nicer to say "It's 91 degrees out" than "It's 32.78 degrees out."

    That's some pretty impressive trolling. The precision of Celsius degrees is a little over half the precision of Fahrenheit degrees. To get the same precision, you would only have to add 1/2 when necessary. Even so, I doubt most people can distinguish temperature to that precision without using a thermometer anyway, so there isn't any need to use fractions of a degree in normal conversation.