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.

26 comments:

  1. Replies
    1. Big data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Corporate TRaining Spring Framework the authors explore the idea of using Java in Big Data platforms.

      Spring Training in Chennai

      The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. 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
  3. Pointed for this for last 3 months. Thank you for the information. Worked very well for me.

    Python Training Institute in South Delhi

    ReplyDelete
  4. 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
  5. 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
  6. 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
  7. 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
  8. Thanks for sharing this article here about the essaycoachers. 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.Case Study Writing Services in USA site.

    ReplyDelete
  9. 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
  10. 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
  11. 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
  12. 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
  13. This is a topic that’s near to my heart… Many thanks! Where are your contact details though? Indian tourist visa citizens are eligible to apply for the Indian eVisa. You can apply for an Indian 30 days tourist visa registration via mobile phone, computer or desk.

    ReplyDelete
  14. This is a wonderful inspiring article. I am practically satisfied with your great work. You have really put together extremely helpful data. Keep it up.. Are you planning to visit Kenya?For this, you need to fill the Kenya Visa Application Form and pay the kenya e visa fees online.

    ReplyDelete
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. This comment has been removed by the author.

    ReplyDelete

  21. 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
  22. Impressive content sharing, reading your blog gives me a great solution. Thanks for sharing valuable information. CMA Dubai

    ReplyDelete