Monday, April 9, 2012

Deploy it as a service!

I used to make fun of people who were so in love with service-oriented architecture (SOA) that they would grandly want to deploy every general-use piece of code in the entire organization as a web service (rather than, for example, creating a Java class or something).

But I just had to create a web service to CALCULATE THE LOCAL TIME because Google Chrome -- which seems to be a pretty mature product -- has some sort of catastrophic time zone bug that somehow causes its time zone handling to get confused.

The debugger console shows the following ridiculous output (obviously today at 5:44 EDT):

> new Date()
Mon Apr 09 2012 10:44:42 GMT+0100 (Eastern Standard Time)


A quick search of the Chromium bug database reveals lots of users reporting bugs that are probably caused by this.

I seriously hope they don't introduce a bug into JavaScript mathematics and make me write the AddNumbers service from my fictional SOA-infested dystopia ...

P.S. Even as I write this, all the timestamps on the Blogger edit screen show incorrectly...

Update 2012 May 16:It's a bug in how Chrome deals with the TZ environment variable on Windows. See the Chromium issue.

22 comments:

  1. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us.scratch junior coding course

    ReplyDelete
  2. Pointed for this for last 3 months. Thank you for the information. Worked very well for me.

    Python Training Institute in South Delhi

    ReplyDelete
  3. The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.

    AutoCAD Training Institute in South Delhi

    ReplyDelete
  4. This is a smart blog. I mean it. You have an excellent knowledge about this topic. Thanks for sharing such a great blogs to us

    Data Science Training Institute in Delhi

    ReplyDelete
  5. It looks very exciting post about coding and their uses. It’s also very knowledgeable. The tips is helpful for beginners in the field. Thank you so much for sharing.

    Java Training Institute in Delhi

    ReplyDelete
  6. Thanks for sharing this article here about the Education. Your article is very informative and I will share it with my other friends as the information is really very useful. Keep sharing your excellent work.thesis writers in India Site.

    ReplyDelete
  7. Nice info, This information will always help everyone for gaining essential and good information. So please always share your valuable information. I am very thankful to you for providing good information. Read more info about Best Writing Services Online in Usa

    ReplyDelete
  8. Thank you for providing me with such valuable information. This article provided me with some useful knowledge. Continue to make posts like this. thesis writers in India

    ReplyDelete
  9. Thank you for providing me with such valuable information. This article provided me with some useful knowledge. Continue to make posts like this. <a href="https://tutordollar.com/assignment-help/criminology-subject/humanities-course/287>criminology assignment help online in usa</a>

    ReplyDelete
  10. Aw, this was a really nice post. And a genuine effort to make a really good website… You can apply for an online Turkish visa - If you are Planning a Trip to Turkey for tourism, business purposes. You can fill the e visa of Turkey application form in less than 5 to 10 minutes.

    ReplyDelete
  11. I am enjoying every bit of it. It is a good site, as well as the stock is well-chosen. Thank you emergency visa application India, emergency visa to India application form you can fill online. within 1 to 3 business days you can get your visa via fast track Indian visa services.

    ReplyDelete
  12. Nice article... Thanks for this article... keep it up... Is India issuing tourist visas? Great news for international travelers India start issuing tourist visas again and travelers have more time to explore India because the Indian government restored long-term visas.

    ReplyDelete
  13. You are sharing a particularly decent article here. It is a significant and factual article for us. Thankful to you for sharing an article like this.Online Physical Design Courses

    ReplyDelete
  14. Much obliged as a results a reasonable setup as you have been endorsed to share direction thinking us. we can totally praise through and through you have completed here because of the reality you have made my comport your self as pleasantly ventilated as ABC. Crack Hotspot Shield

    ReplyDelete
  15. You understand your tasks stand apart of the group. there might be something exceptional nearly them. It appears to me every one of them are in truth remarkable! FileviewPro Key

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete

  17. At the end of the day, whether or not those people are comfortable with how you're living your life doesn't matter. What matters is whether you're comfortable with it. Quotes For Life

    ReplyDelete
  18. Impressive content sharing, reading your blog gives me a great solution. Thanks for sharing valuable information. CMA Dubai

    ReplyDelete
  19. Thank you for giving us such interesting information. It taught us so much. We hope to see more information like this. Please enroll with Learners Point Academy in Dubai if you are interested in learning more about the CMA course.

    ReplyDelete