<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BEAUTIFUL MEMORY</title>
	<atom:link href="http://axida.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://axida.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 15 Jun 2010 11:57:35 +0000</lastBuildDate>
	<language>zh-cn</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='axida.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>BEAUTIFUL MEMORY</title>
		<link>http://axida.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://axida.wordpress.com/osd.xml" title="BEAUTIFUL MEMORY" />
	<atom:link rel='hub' href='http://axida.wordpress.com/?pushpress=hub'/>
		<item>
		<title>阴阳历</title>
		<link>http://axida.wordpress.com/2010/06/15/%e9%98%b4%e9%98%b3%e5%8e%86/</link>
		<comments>http://axida.wordpress.com/2010/06/15/%e9%98%b4%e9%98%b3%e5%8e%86/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 11:57:35 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/?p=73</guid>
		<description><![CDATA[4月15日 阴历和阳历的转换公式推导 中国的阴历，又称农历，大家应该都很熟悉。很多的传统节日，像春节，中秋都是阴历的节日。不过，若是问起阴历的规则，怕是知道的人就不多了。多数人知道初一是新月出现的那一天，月圆的那一天则在十五左右。不少人也知道二十四节气在阳历的每月中大概的日期。再细节的概念如闰月对大多数人则不甚了解了。本人经过一番查找与阅读，终于对阴历的规则有了一定的认识。在此愿与大家分享。 首先阴历以月为基本单位，一个月以新月出现的那一天为始直至下一个新月出现的前一天。由于月亮公转的周期介于２９到３０天之间，阴历的一个月也就由新月出现时刻的早晚或是２９天或是３０天。大月为３０天，小月为２９天。与阳历不同的是，大小月在不同的年中不固定。如春节的前一天常称为大年三十，但有不少年如２０００年的阴历十二月只有２９天。由于十二个月的时间较阳历年即地球绕太阳公转一周的时间短１１天左右，为了使阴历年与阳历年保持相对稳定，每隔两三年就需要加入一个闰月。大约每十九年要加入七个闰月。而二十四节气则是由地球在绕太阳公转的轨道上的位置确定的。以每年的冬至为始，每１５度为一个节气。是故二十四节气在阳历的每月中有大概固定的日期。古时以二十四节气指导农耕，这就是阴历又称农历的原因。其中阳历下半月的十二个节气又称为中气。中气出现的时刻和闰月的确定有直接的关系。 中国阴历的计算有下列四条规则： 所有新月和节气出现的时刻的计算以东经１２０度即东八区标准时为准。但计算１９２９年以前的阴历时应以北京即东经１１６度２５分的当地时为准。此条规则用以区分中国阴历和其他类似阴历如日本阴历。 新月出现的一天为一个月的第一天。如某个节气的出现时刻也在这一天，则不论该节气的出现时刻是否比新月晚，一律算落入新的一个月中。 每年的冬至总是出现在这年的阴历十一月中。 从一年的冬至后一天起到下一年冬至这一天止的这段时间中，下称其间，如有十三个新月出现，则其间要加入一个闰月。需要加入闰月时，其间第一个没有中气的月为闰月。因为其间只有十二个中气，所以其间至少有一个月没有中气，也存在有两个月没有中气的可能性。但这种情况下只有第一个没有中气的月为闰月。闰月的前一个月为几月则该闰月称为闰几月。 以上所列的阴历的计算规则是在清朝顺治年间，即公元１６４５年，开始采用的。以上规则的一个重要特点就是理论上完全以天文观测为依据，其中没有任何数学关系。这和阳历，即格里历，完全是由数学关系确定的形成了鲜明的对比。当然，具体到未来阴历的计算，仍然需要月亮与地球运动的数学模型，而且精度高的这种数学模型相当复杂，在没有电脑的情况下，一般人根本不可能推算出精确的阴历来。而阳历的数学关系则非常简单，是不是闰年很容易计算。这又形成了另外一种鲜明的对比。 公历，也就是太阳历，其本质就是对太阳在黄道上的视位置进行划分 农历，也就是月亮历，其本质就是对月球在白道上的视位置进行划分 因此公历-&#62;农历的转换就是 已知太阳黄经刻度求月亮白经刻度的计算 在换算成更通俗一点的解释就是 已知地球轨道位置，求此时月球的视位置 粗略的计算方法需要的参数就是地球、月球的基本轨道参数（半长径、半短径、向径、偏心率、周期等）、质量，另外还包括轨道焦点的进动和地球的章动这两个偏移量 具体的计算公式就比较复杂了，其中包含大量的三角函数方程和迭代计算法 以上是一个基本的计算方法，用于日历换算足够了 农历是把朔望月的时间作为历月的平均时间，这一点和纯粹的阴历相同，但它运用了设 置闰月的办法和二十四节气的办法，使历年的平均长度等于回归年。这样它又有了阳历 的成分。所以农历比纯粹的阴历实用，方便。由于农历与农业生产联系密切，中国广大 农民十分熟悉，喜爱农历。 农历是中国传统文化的代表之一，它的准确，巧妙，谐趣凝聚了中华民族的智慧。 根据中国历史记载，从黄帝时起到清朝末年这段时间里，一共使用过一百零二种历 法，基本上都是属于阴阳历的性质。这说明，中国人民在三四千年前，就已经把纯粹的 阴历和阳历很好地调和起来了。这种兼顾朔望月周期和回归年长度的历法，也是我们华 族祖先的伟大创造。 农历在中国使用久远，又称夏历。曾被贬为&#8221;废历&#8221;。最后一次修订在清乾隆七年 （约1742年），由载进贤对汤若望的&#8221;时宪历&#8221;进行修订后确定的。中国广大农民对农 历非常熟悉，很多民俗节日以农历为根据。与农历共同广泛流行的还有二十四节气，朔 ，望，十二生肖等。农历比阳历每年少11天之多，3年则少33天，所以，逢3年加一个月 ，叫闰月。但3年一闰还剩下三四天，仍不精确。于是采用5年两闰法。但5年两闰又多了 四五天。于是用8年三闰来补救，但8年三闰又少了2天。经过反复观测天象和实践检验， 终于订出了19年七闰法，即19年之间设7个闰月。公历19年是6939.6018天，农历19年（ 含7个闰月）是6939.691天，因此两种历法之间只差2小时左右，可以说，是比较精确的 了。还应指出的是，中国古代科学家祖冲之创造性地提出了在391年中设144个闰月的闰 法，这就更精确了。 由此可见，农历年有时十二个月，有时十三个月，并不是杂乱无章的，而是有着严 格的科学规律的。但是，闰月究竟放在哪一年的哪一月呢？农历闰月的安置，历史上曾 有过不同的处理。大致上，在西汉初期以前，都把闰月放在一年的末尾。例如，汉初把 九月做为一年的最后一个月，那时的闰月就放在九月之后，而称&#8221;后九月&#8221;。到了后来 ，随着历法的逐步精密，安置闰月的方法也有了新规定，这就是把不包含有中气的月份 做为闰月。这个置闰规则直到今天仍在使用。所以下面专门介绍中气。 农历是把朔望月的时间作为历月的平均时间，这一点和纯粹的阴历相同，但它运用了设 置闰月的办法和二十四节气的办法，使历年的平均长度等于回归年。这样它又有了阳历 的成分。所以农历比纯粹的阴历实用，方便。由于农历与农业生产联系密切，中国广大 农民十分熟悉，喜爱农历。 农历是中国传统文化的代表之一，它的准确，巧妙，谐趣凝聚了中华民族的智慧。 java实现阳历与阴历的转换 import java.text.DateFormat; import java.text.SimpleDateFormat; import [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=73&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>4月15日<br />
阴历和阳历的转换公式推导</p>
<p>中国的阴历，又称农历，大家应该都很熟悉。很多的传统节日，像春节，中秋都是阴历的节日。不过，若是问起阴历的规则，怕是知道的人就不多了。多数人知道初一是新月出现的那一天，月圆的那一天则在十五左右。不少人也知道二十四节气在阳历的每月中大概的日期。再细节的概念如闰月对大多数人则不甚了解了。本人经过一番查找与阅读，终于对阴历的规则有了一定的认识。在此愿与大家分享。 </p>
<p>首先阴历以月为基本单位，一个月以新月出现的那一天为始直至下一个新月出现的前一天。由于月亮公转的周期介于２９到３０天之间，阴历的一个月也就由新月出现时刻的早晚或是２９天或是３０天。大月为３０天，小月为２９天。与阳历不同的是，大小月在不同的年中不固定。如春节的前一天常称为大年三十，但有不少年如２０００年的阴历十二月只有２９天。由于十二个月的时间较阳历年即地球绕太阳公转一周的时间短１１天左右，为了使阴历年与阳历年保持相对稳定，每隔两三年就需要加入一个闰月。大约每十九年要加入七个闰月。而二十四节气则是由地球在绕太阳公转的轨道上的位置确定的。以每年的冬至为始，每１５度为一个节气。是故二十四节气在阳历的每月中有大概固定的日期。古时以二十四节气指导农耕，这就是阴历又称农历的原因。其中阳历下半月的十二个节气又称为中气。中气出现的时刻和闰月的确定有直接的关系。 </p>
<p>中国阴历的计算有下列四条规则： </p>
<p>所有新月和节气出现的时刻的计算以东经１２０度即东八区标准时为准。但计算１９２９年以前的阴历时应以北京即东经１１６度２５分的当地时为准。此条规则用以区分中国阴历和其他类似阴历如日本阴历。<br />
新月出现的一天为一个月的第一天。如某个节气的出现时刻也在这一天，则不论该节气的出现时刻是否比新月晚，一律算落入新的一个月中。<br />
每年的冬至总是出现在这年的阴历十一月中。<br />
从一年的冬至后一天起到下一年冬至这一天止的这段时间中，下称其间，如有十三个新月出现，则其间要加入一个闰月。需要加入闰月时，其间第一个没有中气的月为闰月。因为其间只有十二个中气，所以其间至少有一个月没有中气，也存在有两个月没有中气的可能性。但这种情况下只有第一个没有中气的月为闰月。闰月的前一个月为几月则该闰月称为闰几月。<br />
以上所列的阴历的计算规则是在清朝顺治年间，即公元１６４５年，开始采用的。以上规则的一个重要特点就是理论上完全以天文观测为依据，其中没有任何数学关系。这和阳历，即格里历，完全是由数学关系确定的形成了鲜明的对比。当然，具体到未来阴历的计算，仍然需要月亮与地球运动的数学模型，而且精度高的这种数学模型相当复杂，在没有电脑的情况下，一般人根本不可能推算出精确的阴历来。而阳历的数学关系则非常简单，是不是闰年很容易计算。这又形成了另外一种鲜明的对比。</p>
<p>公历，也就是太阳历，其本质就是对太阳在黄道上的视位置进行划分<br />
农历，也就是月亮历，其本质就是对月球在白道上的视位置进行划分<br />
因此公历-&gt;农历的转换就是<br />
已知太阳黄经刻度求月亮白经刻度的计算<br />
在换算成更通俗一点的解释就是<br />
已知地球轨道位置，求此时月球的视位置<br />
粗略的计算方法需要的参数就是地球、月球的基本轨道参数（半长径、半短径、向径、偏心率、周期等）、质量，另外还包括轨道焦点的进动和地球的章动这两个偏移量<br />
具体的计算公式就比较复杂了，其中包含大量的三角函数方程和迭代计算法<br />
以上是一个基本的计算方法，用于日历换算足够了</p>
<p>农历是把朔望月的时间作为历月的平均时间，这一点和纯粹的阴历相同，但它运用了设<br />
置闰月的办法和二十四节气的办法，使历年的平均长度等于回归年。这样它又有了阳历<br />
的成分。所以农历比纯粹的阴历实用，方便。由于农历与农业生产联系密切，中国广大<br />
农民十分熟悉，喜爱农历。<br />
    农历是中国传统文化的代表之一，它的准确，巧妙，谐趣凝聚了中华民族的智慧。</p>
<p>    根据中国历史记载，从黄帝时起到清朝末年这段时间里，一共使用过一百零二种历<br />
法，基本上都是属于阴阳历的性质。这说明，中国人民在三四千年前，就已经把纯粹的<br />
阴历和阳历很好地调和起来了。这种兼顾朔望月周期和回归年长度的历法，也是我们华<br />
族祖先的伟大创造。<br />
    农历在中国使用久远，又称夏历。曾被贬为&#8221;废历&#8221;。最后一次修订在清乾隆七年<br />
（约1742年），由载进贤对汤若望的&#8221;时宪历&#8221;进行修订后确定的。中国广大农民对农<br />
历非常熟悉，很多民俗节日以农历为根据。与农历共同广泛流行的还有二十四节气，朔<br />
，望，十二生肖等。农历比阳历每年少11天之多，3年则少33天，所以，逢3年加一个月<br />
，叫闰月。但3年一闰还剩下三四天，仍不精确。于是采用5年两闰法。但5年两闰又多了<br />
四五天。于是用8年三闰来补救，但8年三闰又少了2天。经过反复观测天象和实践检验，<br />
终于订出了19年七闰法，即19年之间设7个闰月。公历19年是6939.6018天，农历19年（<br />
含7个闰月）是6939.691天，因此两种历法之间只差2小时左右，可以说，是比较精确的</p>
<p>了。还应指出的是，中国古代科学家祖冲之创造性地提出了在391年中设144个闰月的闰<br />
法，这就更精确了。<br />
    由此可见，农历年有时十二个月，有时十三个月，并不是杂乱无章的，而是有着严<br />
格的科学规律的。但是，闰月究竟放在哪一年的哪一月呢？农历闰月的安置，历史上曾<br />
有过不同的处理。大致上，在西汉初期以前，都把闰月放在一年的末尾。例如，汉初把<br />
九月做为一年的最后一个月，那时的闰月就放在九月之后，而称&#8221;后九月&#8221;。到了后来<br />
，随着历法的逐步精密，安置闰月的方法也有了新规定，这就是把不包含有中气的月份<br />
做为闰月。这个置闰规则直到今天仍在使用。所以下面专门介绍中气。<br />
农历是把朔望月的时间作为历月的平均时间，这一点和纯粹的阴历相同，但它运用了设<br />
置闰月的办法和二十四节气的办法，使历年的平均长度等于回归年。这样它又有了阳历<br />
的成分。所以农历比纯粹的阴历实用，方便。由于农历与农业生产联系密切，中国广大<br />
农民十分熟悉，喜爱农历。<br />
    农历是中国传统文化的代表之一，它的准确，巧妙，谐趣凝聚了中华民族的智慧。 </p>
<p>  java实现阳历与阴历的转换 </p>
<p>import java.text.DateFormat;<br />
import java.text.SimpleDateFormat;</p>
<p>import java.util.Calendar;<br />
import java.util.Date;</p>
<p>public class DateBean {<br />
    private final static int MONTH_DAYS[] = { 29, 30 };<br />
    private final static int DAYS_MONTH[][] = {<br />
                                                  { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },<br />
                                                  { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }<br />
                                              };<br />
    private final static int DATAS[][] = {<br />
                                             { 23, 3, 2, 17, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0 },<br />
                                             { 41, 0, 4, 23, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1 },<br />
                                             { 30, 7, 5, 28, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1 },<br />
                                             { 49, 0, 6, 33, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 },<br />
                                             { 38, 0, 0, 38, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 26, 6, 2, 44, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0 },<br />
                                             { 45, 0, 3, 49, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 35, 0, 4, 54, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 24, 4, 5, 59, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1 },<br />
                                             { 43, 0, 0, 5, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1 },<br />
                                             { 32, 0, 1, 10, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1 },<br />
                                             { 21, 2, 2, 15, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 },<br />
                                             { 40, 0, 3, 20, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 },<br />
                                             { 28, 7, 5, 26, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 47, 0, 6, 31, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 36, 0, 0, 36, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 26, 5, 1, 41, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 },<br />
                                             { 44, 0, 3, 47, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1 },<br />
                                             { 33, 0, 4, 52, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0 },<br />
                                             { 23, 3, 5, 57, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1 },<br />
                                             { 42, 0, 6, 2, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1 },<br />
                                             { 30, 8, 1, 8, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 48, 0, 2, 13, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 38, 0, 3, 18, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 27, 6, 4, 23, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 45, 0, 6, 29, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0 },<br />
                                             { 35, 0, 0, 34, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 },<br />
                                             { 24, 4, 1, 39, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0 },<br />
                                             { 43, 0, 2, 44, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0 },<br />
                                             { 32, 0, 4, 50, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1 },<br />
                                             { 20, 3, 5, 55, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 },<br />
                                             { 39, 0, 6, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 29, 7, 0, 5, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 47, 0, 2, 11, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 36, 0, 3, 16, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0 },<br />
                                             { 26, 5, 4, 21, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1 },<br />
                                             { 45, 0, 5, 26, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1 },<br />
                                             { 33, 0, 0, 32, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1 },<br />
                                             { 22, 4, 1, 37, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1 },<br />
                                             { 41, 0, 2, 42, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1 },<br />
                                             { 30, 8, 3, 47, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 },<br />
                                             { 48, 0, 5, 53, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1 },<br />
                                             { 37, 0, 6, 58, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 27, 6, 0, 3, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0 },<br />
                                             { 46, 0, 1, 8, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0 },<br />
                                             { 35, 0, 3, 14, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1 },<br />
                                             { 24, 4, 4, 19, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1 },<br />
                                             { 43, 0, 5, 24, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1 },<br />
                                             { 32, 10, 6, 29, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1 },<br />
                                             { 50, 0, 1, 35, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0 },<br />
                                             { 39, 0, 2, 40, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1 },<br />
                                             { 28, 6, 3, 45, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0 },<br />
                                             { 47, 0, 4, 50, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 },<br />
                                             { 36, 0, 6, 56, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0 },<br />
                                             { 26, 5, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1 },<br />
                                             { 45, 0, 1, 6, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0 },<br />
                                             { 34, 0, 2, 11, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0 },<br />
                                             { 22, 3, 4, 17, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0 },<br />
                                             { 40, 0, 5, 22, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0 },<br />
                                             { 30, 8, 6, 27, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1 },<br />
                                             { 49, 0, 0, 32, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1 },<br />
                                             { 37, 0, 2, 38, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 },<br />
                                             { 27, 5, 3, 43, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1 },<br />
                                             { 46, 0, 4, 48, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1 },<br />
                                             { 35, 0, 5, 53, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1 },<br />
                                             { 23, 4, 0, 59, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 42, 0, 1, 4, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 31, 0, 2, 9, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0 },<br />
                                             { 21, 2, 3, 14, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 39, 0, 5, 20, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 28, 7, 6, 25, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1 },<br />
                                             { 48, 0, 0, 30, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1 },<br />
                                             { 37, 0, 1, 35, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1 },<br />
                                             { 25, 5, 3, 41, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 },<br />
                                             { 44, 0, 4, 46, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1 },<br />
                                             { 33, 0, 5, 51, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 22, 4, 6, 56, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 40, 0, 1, 2, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 30, 9, 2, 7, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 },<br />
                                             { 49, 0, 3, 12, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1 },<br />
                                             { 38, 0, 4, 17, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0 },<br />
                                             { 27, 6, 6, 23, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1 },<br />
                                             { 46, 0, 0, 28, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0 },<br />
                                             { 35, 0, 1, 33, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 },<br />
                                             { 24, 4, 2, 38, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 },<br />
                                             { 42, 0, 4, 44, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 },<br />
                                             { 31, 0, 5, 49, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 },<br />
                                             { 21, 2, 6, 54, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1 },<br />
                                             { 40, 0, 0, 59, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1 },<br />
                                             { 28, 6, 2, 5, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0 },<br />
                                             { 47, 0, 3, 10, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1 },<br />
                                             { 36, 0, 4, 15, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1 },<br />
                                             { 25, 5, 5, 20, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0 },<br />
                                             { 43, 0, 0, 26, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 },<br />
                                             { 32, 0, 1, 31, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0 },<br />
                                             { 22, 3, 2, 36, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0 }<br />
                                         };</p>
<p>    /**<br />
     * 根据阴历取得对应的阳历日期（该日期必须在1936—2028年之间）<br />
     * @param date  阴历日期（字符串）<br />
     * @return      返回对应的阳历日期<br />
     * @throws Exception<br />
     */<br />
    public static Date getGregorianCalendar(String date) {<br />
        Calendar c = getCalendar(date);<br />
        int year = c.get(Calendar.YEAR);<br />
        int month = c.get(Calendar.MONTH) + 1;<br />
        int day = c.get(Calendar.DAY_OF_MONTH);<br />
        int index = year &#8211; 1936;<br />
        int endIndex = month;</p>
<p>        if ((DATAS[index][1] != 0) &amp;&amp; (month &gt; DATAS[index][1])) {<br />
            endIndex++;<br />
        }</p>
<p>        int dayNum = 0;</p>
<p>        for (int i = 0; i  year_days) {<br />
            year++;<br />
            dayNum -= year_days;<br />
        }</p>
<p>        month = 1;</p>
<p>        int dayOfMonth[] = DAYS_MONTH[0];</p>
<p>        if (isLeapYear(year)) {<br />
            dayOfMonth = DAYS_MONTH[1];<br />
        }</p>
<p>        int i = 0;</p>
<p>        for (; i &lt; 12; i++) {<br />
            dayNum -= dayOfMonth[i];</p>
<p>            if (dayNum &lt;= 0) {<br />
                break;<br />
            }</p>
<p>            month++;<br />
        }</p>
<p>        day = dayOfMonth[i] + dayNum;</p>
<p>        return getDate(year + &quot;-&quot; + month + &quot;-&quot; + day);<br />
    }</p>
<p>    /**<br />
     * 根据阳历取得对应的阴历日期（该日期必须在1936—2028年之间）<br />
     * @param date     阳历日期（字符串）<br />
     * @return         返回阴历日期<br />
     * @throws Exception<br />
     */<br />
    public static Date getLunarCalendar(String date) {<br />
        Calendar calendar = getCalendar(date);<br />
        int year = calendar.get(Calendar.YEAR);<br />
        int month = 1;<br />
        int day;</p>
<p>        if ((year  2028)) {<br />
            return null;<br />
        }</p>
<p>        int index = year &#8211; 1936;<br />
        int l_days = DATAS[index][0];<br />
        int day_year = calendar.get(Calendar.DAY_OF_YEAR);<br />
        int days;</p>
<p>        if (day_year &gt;= l_days) {<br />
            days = day_year &#8211; l_days;<br />
        } else {<br />
            index&#8211;;<br />
            year&#8211;;</p>
<p>            Calendar c = getCalendar(year + &#8220;-12-31&#8243;);<br />
            days = (c.get((Calendar.DAY_OF_YEAR)) + day_year) -<br />
                   DATAS[index][0];<br />
        }</p>
<p>        int i = 0;<br />
        int day_num = 0;</p>
<p>        for (; i = days) {<br />
                break;<br />
            }</p>
<p>            month++;<br />
        }</p>
<p>        day = MONTH_DAYS[DATAS[index][i + 4]] &#8211; (day_num &#8211; days);</p>
<p>        if ((DATAS[index][1] != 0) &amp;&amp; (month &gt; DATAS[index][1])) {<br />
            month&#8211;;<br />
        }</p>
<p>        return getDate(year + &#8220;-&#8221; + month + &#8220;-&#8221; + day);<br />
    }</p>
<p>    private static Calendar getCalendar(String date) {<br />
        Date dd = getDate(date);<br />
        Calendar calendar = Calendar.getInstance();<br />
        calendar.setTime(dd);</p>
<p>        return calendar;<br />
    }</p>
<p>    private static Date getDate(String date) {<br />
        DateFormat format = new SimpleDateFormat(&#8220;yyyy-MM-dd&#8221;);<br />
        Date dd = null;</p>
<p>        try {<br />
            dd = format.parse(date);<br />
        } catch (Exception e) {<br />
            e.printStackTrace();<br />
        }</p>
<p>        return dd;<br />
    }</p>
<p>    private static boolean isLeapYear(int year) {<br />
        if ((year % 400) == 0) {<br />
            return true;<br />
        }<br />
        else if ((year % 100) == 0) {<br />
            return false;<br />
        }<br />
        else if ((year % 4) == 0) {<br />
            return true;<br />
        }</p>
<p>        return false;<br />
    }<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=73&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/06/15/%e9%98%b4%e9%98%b3%e5%8e%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>A good idea</title>
		<link>http://axida.wordpress.com/2010/05/19/a-good-idea/</link>
		<comments>http://axida.wordpress.com/2010/05/19/a-good-idea/#comments</comments>
		<pubDate>Wed, 19 May 2010 10:10:27 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2010/05/19/a-good-idea/</guid>
		<description><![CDATA[Lets be &#8220;weekday vegetarian&#8221;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=72&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lets be &#8220;weekday vegetarian&#8221;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=72&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/05/19/a-good-idea/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>これから土曜日出勤</title>
		<link>http://axida.wordpress.com/2010/04/19/%e3%81%93%e3%82%8c%e3%81%8b%e3%82%89%e5%9c%9f%e6%9b%9c%e6%97%a5%e5%87%ba%e5%8b%a4/</link>
		<comments>http://axida.wordpress.com/2010/04/19/%e3%81%93%e3%82%8c%e3%81%8b%e3%82%89%e5%9c%9f%e6%9b%9c%e6%97%a5%e5%87%ba%e5%8b%a4/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 12:56:23 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/?p=70</guid>
		<description><![CDATA[今日お兄さんに土曜日も会社に来てと言われました。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=70&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>今日お兄さんに土曜日も会社に来てと言われました。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=70&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/04/19/%e3%81%93%e3%82%8c%e3%81%8b%e3%82%89%e5%9c%9f%e6%9b%9c%e6%97%a5%e5%87%ba%e5%8b%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>JDBC</title>
		<link>http://axida.wordpress.com/2010/04/16/jdbc/</link>
		<comments>http://axida.wordpress.com/2010/04/16/jdbc/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 06:14:10 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2010/04/16/jdbc/</guid>
		<description><![CDATA[I dont know what is different between java.sql.statement and java.beans.statement?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=69&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I dont know what is different between java.sql.statement and java.beans.statement?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=69&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/04/16/jdbc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>PostgreSQL in Virtual Box linux</title>
		<link>http://axida.wordpress.com/2010/04/07/postgresql-in-virtual-box-linux/</link>
		<comments>http://axida.wordpress.com/2010/04/07/postgresql-in-virtual-box-linux/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 12:37:25 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2010/04/07/postgresql-in-virtual-box-linux/</guid>
		<description><![CDATA[1. To disable the NAT networking in SUN Virtual Box setting 2. To add the port number of 5432 for postgres TCP (not UDP)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=68&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. To disable the NAT networking in SUN Virtual Box setting<br />
2. To add the port number of 5432 for postgres TCP (not UDP)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=68&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/04/07/postgresql-in-virtual-box-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>reverse-i-search</title>
		<link>http://axida.wordpress.com/2010/04/07/reverse-i-search/</link>
		<comments>http://axida.wordpress.com/2010/04/07/reverse-i-search/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 03:29:41 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2010/04/07/reverse-i-search/</guid>
		<description><![CDATA[reverse-i-search ctrl + rを入力するとreverse-i-search機能が使用できます。 reverse-i-search機能とは、過去に実行したコマンドを検索する機能です。ctrl + rを押すと以下のようなreverse-i-searchモードになります。 reverse-i-search reverse-i-search 過去にcdコマンドを実行した場合、cと入力すると、過去に入力されたcから始まるコマンドcdが表示されます。 この時、Enterを押せばコマンドを実行することが出来ます。 過去に実行したコマンドを検索し、検索したコマンドの内容を少しだけ変更したい場合などは、ESCもしくはctrl + jを押すとコマンドが入力されますが実行はされませんので編集可能になります。 編集が終わればEnterを押して実行します。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=67&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>reverse-i-search<br />
ctrl + rを入力するとreverse-i-search機能が使用できます。<br />
reverse-i-search機能とは、過去に実行したコマンドを検索する機能です。ctrl + rを押すと以下のようなreverse-i-searchモードになります。</p>
<p>reverse-i-search<br />
reverse-i-search</p>
<p>過去にcdコマンドを実行した場合、cと入力すると、過去に入力されたcから始まるコマンドcdが表示されます。<br />
この時、Enterを押せばコマンドを実行することが出来ます。</p>
<p>過去に実行したコマンドを検索し、検索したコマンドの内容を少しだけ変更したい場合などは、ESCもしくはctrl + jを押すとコマンドが入力されますが実行はされませんので編集可能になります。<br />
編集が終わればEnterを押して実行します。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=67&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/04/07/reverse-i-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>开始早跑</title>
		<link>http://axida.wordpress.com/2010/04/05/%e5%bc%80%e5%a7%8b%e6%97%a9%e8%b7%91/</link>
		<comments>http://axida.wordpress.com/2010/04/05/%e5%bc%80%e5%a7%8b%e6%97%a9%e8%b7%91/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 13:08:18 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2010/04/05/%e5%bc%80%e5%a7%8b%e6%97%a9%e8%b7%91/</guid>
		<description><![CDATA[从明天开始坚持早晨跑步。只要不是特别恶劣的天气坚持跑步。跑一辈子！<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=66&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>从明天开始坚持早晨跑步。只要不是特别恶劣的天气坚持跑步。跑一辈子！</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=66&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/04/05/%e5%bc%80%e5%a7%8b%e6%97%a9%e8%b7%91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>放弃博士去挣钱。。。</title>
		<link>http://axida.wordpress.com/2010/03/28/%e6%94%be%e5%bc%83%e5%8d%9a%e5%a3%ab%e5%8e%bb%e6%8c%a3%e9%92%b1%e3%80%82%e3%80%82%e3%80%82/</link>
		<comments>http://axida.wordpress.com/2010/03/28/%e6%94%be%e5%bc%83%e5%8d%9a%e5%a3%ab%e5%8e%bb%e6%8c%a3%e9%92%b1%e3%80%82%e3%80%82%e3%80%82/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 14:17:14 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2010/03/28/%e6%94%be%e5%bc%83%e5%8d%9a%e5%a3%ab%e5%8e%bb%e6%8c%a3%e9%92%b1%e3%80%82%e3%80%82%e3%80%82/</guid>
		<description><![CDATA[我决定放弃博士去了一个小公司开始了我事业的第一步。 我从最低级开始动手了，要搞清楚不是底层而是低级&#8212;不是搞汇编语言而是数据录入。如果把开发程序看成是盖楼的话，我就是从搬运砖，水泥，钢筋等活开始呢。 具体就是： map.zip &#8212;&#62; map.xml &#8212;&#62; map.shpe &#8212;&#62; map.sql &#8212;&#62; map.table 就是这样输入数十万条纪录，这仅仅是日本的map. 我感到没有学的东西很多。我急着学perl等<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=65&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>我决定放弃博士去了一个小公司开始了我事业的第一步。<br />
我从最低级开始动手了，要搞清楚不是底层而是低级&#8212;不是搞汇编语言而是数据录入。如果把开发程序看成是盖楼的话，我就是从搬运砖，水泥，钢筋等活开始呢。<br />
具体就是： map.zip &#8212;&gt; map.xml &#8212;&gt; map.shpe &#8212;&gt; map.sql &#8212;&gt; map.table 就是这样输入数十万条纪录，这仅仅是日本的map.<br />
我感到没有学的东西很多。我急着学perl等</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=65&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2010/03/28/%e6%94%be%e5%bc%83%e5%8d%9a%e5%a3%ab%e5%8e%bb%e6%8c%a3%e9%92%b1%e3%80%82%e3%80%82%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>Fedora startup program</title>
		<link>http://axida.wordpress.com/2009/10/20/fedora-startup-program/</link>
		<comments>http://axida.wordpress.com/2009/10/20/fedora-startup-program/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 09:44:55 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2009/10/20/fedora-startup-program/</guid>
		<description><![CDATA[If you have any program you want to start automatically just after booting, you need to do: system &#8211;&#62; reference &#8211;&#62; personal &#8211;&#62; sessions<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=63&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have any program you want to start automatically just after booting, you need to do:<br />
system &#8211;&gt; reference &#8211;&gt; personal &#8211;&gt; sessions</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=63&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2009/10/20/fedora-startup-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
		<item>
		<title>Intel C compiler and Intel Math Kernel Library (MKL)</title>
		<link>http://axida.wordpress.com/2009/10/11/intel-c-compiler-and-intel-math-kernel-library-mkl/</link>
		<comments>http://axida.wordpress.com/2009/10/11/intel-c-compiler-and-intel-math-kernel-library-mkl/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 00:22:05 +0000</pubDate>
		<dc:creator>axida</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://axida.wordpress.com/2009/10/11/intel-c-compiler-and-intel-math-kernel-library-mkl/</guid>
		<description><![CDATA[It is necessary to use -mkl option when you use Intel C compiler and Intel Math Kernel Library together. Otherwise you will get this kind of error: xxxxx.so: undefined symbol xxxxx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=62&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is necessary to use -mkl option when you use Intel C compiler and Intel Math Kernel Library together.<br />
Otherwise you will get this kind of error:<br />
xxxxx.so: undefined symbol xxxxx </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/axida.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/axida.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/axida.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/axida.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/axida.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/axida.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/axida.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/axida.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=axida.wordpress.com&amp;blog=3771901&amp;post=62&amp;subd=axida&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://axida.wordpress.com/2009/10/11/intel-c-compiler-and-intel-math-kernel-library-mkl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/acb97d29f6c3aa8fbd82e3bc8254e59e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">axida</media:title>
		</media:content>
	</item>
	</channel>
</rss>
