There are so many calculations of Chinese solar terms. But the results didn't even match each other.
unfortunately, I found this after a implemented two of those algorithms.
when i found this don't match thing, I decided to find the most accurate data about solar terms.
At the beginning, i found this
http://www.math.nus.edu.sg/aslaksen/calendar/chinese.shtml
and
http://www.coa.gov.tw/view.php?catid=286
but they just point the direction:
1. date of solar terms is related to the sun.
2. 紫金山天文台 provide the date set of year 2013, and this is the official data of China mainland.
after hours of searching, I finally found this:
http://yijiantong.blog.hexun.com/28971438_d.html
http://culture.163.com/06/0119/13/27R75FVD00280024.html
http://blog.163.com/ren_zongliang/blog/static/17288574420119117614184/
they point out:
1. one Taiwanese people build a set of computer program based on data released from JPL-NASA which can calculate the star system things, including solar terms.
2. one french website is offering the calculated dates of solar terms.
but they didn't show the URL of these website. then I'm looking for JPL things.
http://en.wikipedia.org/wiki/Jet_Propulsion_Laboratory
http://en.wikipedia.org/wiki/Ephemeris
http://ssd.jpl.nasa.gov/?horizons
and other thing about JPL using cloud computing.
http://www.cloudchinaexpo.com/article.asp?id=574
after all, I have found the Taiwan website:
http://destiny.xfiles.to/app/calendar/SolarTerms?0
Saturday, June 8, 2013
Wednesday, May 29, 2013
tornado decodes arguments as utf-8 by default
program crashed while calling RequestHandler.get_argument(), tried to avoid auto-decode before value returns, but seems not possible.
the comment of get_argument says:
...The returned values are always unicode.
and after i googled [tornado get_argument unicode], i found this:
see https://github.com/facebook/tornado/issues/407#issuecomment-2971210
so, it's very simple to handle this issue. just override method named "decode_argument".
the comment of get_argument says:
...The returned values are always unicode.
and after i googled [tornado get_argument unicode], i found this:
see https://github.com/facebook/tornado/issues/407#issuecomment-2971210
so, it's very simple to handle this issue. just override method named "decode_argument".
Subscribe to:
Comments (Atom)