<?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/"
	>

<channel>
	<title>Lihan&#039;s</title>
	<atom:link href="http://www.lilihan.cn/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lilihan.cn/blog</link>
	<description>I blog in English @Lihan.me</description>
	<lastBuildDate>Sat, 18 Feb 2012 09:20:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How many are we missing</title>
		<link>http://www.lilihan.cn/blog/how-many-are-we-missing/</link>
		<comments>http://www.lilihan.cn/blog/how-many-are-we-missing/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 09:18:13 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=98</guid>
		<description><![CDATA[&#160; A man sat at a metro station in Washington DC and started to play the violin; it was a cold January morning. He played six Bach pieces for about 45 minutes. During that time, since it was rush hour, it was calculated that 1,100 people went through the station, most of them on their [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://www.lilihan.cn/blog/wp-content/uploads/2012/02/426031_3356990362519_1201788636_3542808_1500753098_n.jpg"><img class="aligncenter size-medium wp-image-100" title="426031_3356990362519_1201788636_3542808_1500753098_n" src="http://www.lilihan.cn/blog/wp-content/uploads/2012/02/426031_3356990362519_1201788636_3542808_1500753098_n-300x178.jpg" alt="" width="300" height="178" /></a>A man sat at a metro station in Washington DC and started to play the violin; it was a cold January morning. He played six Bach pieces for about 45 minutes. During that time, since it was rush hour, it was calculated that 1,100 people went through the station, most of them on their way to work. Three minutes went by, and a middle aged man noticed there was musician playing. He slowed his pace, and stopped for a few seconds, and then hurried up to meet his schedule. A minute later, the violinist received his first dollar tip: a woman threw the money in the till and without stopping, and continued to walk. A few minutes later, someone leaned against the wall to listen to him, but the man looked at his watch and started to walk again. Clearly he was late for work. The one who paid the most attention was a 3 year old boy. His mother tagged him along, hurried, but the kid stopped to look at the violinist. Finally, the mother pushed hard, and the child continued to walk, turning his head all the time. This action was repeated by several other children. All the parents, without exception, forced them to move on. In the 45 minutes the musician played, only 6 people stopped and stayed for a while. About 20 gave him money, but continued to walk their normal pace. He collected $32. When he finished playing and silence took over, no one noticed it. No one applauded, nor was there any recognition. No one knew this, but the violinist was Joshua Bell, one of the most talented musicians in the world. He had just played one of the most intricate pieces ever written, on a violin worth $3.5 million dollars. Two days before his playing in the subway, Joshua Bell sold out at a theater in Boston where the seats averaged $100. This is a real story. Joshua Bell playing incognito in the metro station was organized by the Washington Post as part of a social experiment about perception, taste, and priorities of people. The outlines were: in a commonplace environment at an inappropriate hour: Do we perceive beauty? Do we stop to appreciate it? Do we recognize the talent in an unexpected context? One of the possible conclusions from this experience could be: If we do not have a moment to stop and listen to one of the best musicians in the world playing the best music ever written, how many other things are we missing?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/how-many-are-we-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>谨慎通过购买外链来提升流量</title>
		<link>http://www.lilihan.cn/blog/%e8%b0%a8%e6%85%8e%e9%80%9a%e8%bf%87%e8%b4%ad%e4%b9%b0%e5%a4%96%e9%93%be%e6%9d%a5%e6%8f%90%e5%8d%87%e6%b5%81%e9%87%8f/</link>
		<comments>http://www.lilihan.cn/blog/%e8%b0%a8%e6%85%8e%e9%80%9a%e8%bf%87%e8%b4%ad%e4%b9%b0%e5%a4%96%e9%93%be%e6%9d%a5%e6%8f%90%e5%8d%87%e6%b5%81%e9%87%8f/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 10:31:07 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=92</guid>
		<description><![CDATA[当你把Wordpress，主题，插件全部安装好，并且能平稳的运行之后，你还却一样东西，那就是流量。你可能已经建立了一个闪亮的博客，但是这个时间还不知道它，现在是时间行动起来，开始让大家注意你了，这其实比想象得要难。 搜索引擎的强大 最好的方法去获得一个稳定的日均访客就是在搜索引擎里面去的一个更高的排名。这里我们主要讲一个需要注意的地方。 我们先简单了解下Google的排名机制之一，外链。这套机制非常复杂，我们用简单的方法展示。 A, B, C 三个独立网站，他们都有类似质量和数量但不重复的内容，这种情况在搜索引擎的排名系统内，他们的排名应该是一样的。如果A和B互相有回应链接，而C只给了A一个链接，那么A比B和C的排名都高。 但是，如果站点C只是一个单纯的出卖外链的网站，或者在搜索引擎的排名不好，这时C其实不能给A带去太大的利益，反而会使得A失去搜索引擎的权重。 Google已经全面调整了搜索引擎机制来控制这种作弊方式，所以，请花更多的时间去顽固内容吧。]]></description>
			<content:encoded><![CDATA[<p>当你把Wordpress，主题，插件全部安装好，并且能平稳的运行之后，你还却一样东西，那就是流量。你可能已经建立了一个闪亮的博客，但是这个时间还不知道它，现在是时间行动起来，开始让大家注意你了，这其实比想象得要难。</p>
<h2><img class="size-full wp-image-93 alignright" title="panda seo" src="http://www.lilihan.cn/blog/wp-content/uploads/2012/02/images.jpg" alt="" width="282" height="179" /></h2>
<h2>搜索引擎的强大</h2>
<p>最好的方法去获得一个稳定的日均访客就是在搜索引擎里面去的一个更高的排名。这里我们主要讲一个需要注意的地方。</p>
<p>我们先简单了解下Google的排名机制之一，外链。这套机制非常复杂，我们用简单的方法展示。</p>
<p>A, B, C 三个独立网站，他们都有类似质量和数量但不重复的内容，这种情况在搜索引擎的排名系统内，他们的排名应该是一样的。如果A和B互相有回应链接，而C只给了A一个链接，那么A比B和C的排名都高。 但是，如果站点C只是一个单纯的出卖外链的网站，或者在搜索引擎的排名不好，这时C其实不能给A带去太大的利益，反而会使得A失去搜索引擎的权重。</p>
<p>Google已经全面调整了搜索引擎机制来控制这种作弊方式，所以，请花更多的时间去顽固内容吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/%e8%b0%a8%e6%85%8e%e9%80%9a%e8%bf%87%e8%b4%ad%e4%b9%b0%e5%a4%96%e9%93%be%e6%9d%a5%e6%8f%90%e5%8d%87%e6%b5%81%e9%87%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>升级什么硬件才能最大限度提升电脑性能</title>
		<link>http://www.lilihan.cn/blog/%e5%8d%87%e7%ba%a7%e4%bb%80%e4%b9%88%e7%a1%ac%e4%bb%b6%e6%89%8d%e8%83%bd%e6%9c%80%e5%a4%a7%e9%99%90%e5%ba%a6%e6%8f%90%e5%8d%87%e7%94%b5%e8%84%91%e6%80%a7%e8%83%bd/</link>
		<comments>http://www.lilihan.cn/blog/%e5%8d%87%e7%ba%a7%e4%bb%80%e4%b9%88%e7%a1%ac%e4%bb%b6%e6%89%8d%e8%83%bd%e6%9c%80%e5%a4%a7%e9%99%90%e5%ba%a6%e6%8f%90%e5%8d%87%e7%94%b5%e8%84%91%e6%80%a7%e8%83%bd/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 08:43:03 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[PC]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=88</guid>
		<description><![CDATA[到底应该给电脑升级哪个配件，其实，在这里并没有一个绝对的固定答案。这取决鱼你主要用电脑做什么。比如，如果你做很多多任务应用程序，或者你用到的软件需要大量内存（比如 虚拟机）， 那么，升级内存一定是一个最佳选择。如果你玩很多游戏，选择升级一块新诞生的显卡更容易提升性能。视频编辑的工作者则更青睐一块更快的多线程处理器。这里我把一些配件的最佳升级case简单的讨论一下。 内存： 升级内存是最经济有效的提升电脑性能的方法。通常来说4GB的内存足够一个标准的用户使用。如果你的电脑仍然只有512M或者1GB，升级到4G会有一个大幅度的性能提升。对于一些使用photoshop, Vmware, Virtualbox的用户来说，也会有一个明显的性能提升，因为更大的内存意味着更少的次数读取硬盘。 硬盘/固态硬盘：升级到固态硬盘是提升电脑速度最好的方法之一。一块固态硬盘（SSD）会大幅度提升电脑的和应用程序的启动速度。请注意，固态硬盘不会使得视频的处理速度变得更快，也不会使网站的加载时间变得明显更短，但是会使得一些需要长时间启动的应用程序在不到十分之一的时间内启动完成。 处理器：处理器的升级没有内存或者硬盘的升级那么简单，因为你要知道你只能升级到和主板接口相配的处理器。通常来说，升级处理器对一些重负荷运算的任务会有较大的性能提升，例如视频处理。多核心的CPU会帮助多任务执行，的速度提升，特别当电脑处于繁忙状态时。更快的处理器也能提升游戏性能。 显卡：如果你是一个游戏玩家，这个可能是你最需要升级的。没有任何一个配件能像升级显卡一样提升游戏性能来得直接。然而，新显卡并不便宜，你可以在二手市场找到一块合适使用。如果你不是一个游戏玩家，你则不需要太在意显卡。现在任何一台电脑都能应付大部分的视频操作，包括HD视频。 &#160;]]></description>
			<content:encoded><![CDATA[<p>到底应该给电脑升级哪个配件，其实，在这里并没有一个绝对的固定答案。这取决鱼你主要用电脑做什么。比如，如果你做很多多任务应用程序，或者你用到的软件需要大量内存（比如 虚拟机）， 那么，升级内存一定是一个最佳选择。如果你玩很多游戏，选择升级一块新诞生的显卡更容易提升性能。视频编辑的工作者则更青睐一块更快的多线程处理器。这里我把一些配件的最佳升级case简单的讨论一下。</p>
<p>内存： <em>升级内存是最经济有效的提升电脑性能的方法</em>。通常来说4GB的内存足够一个标准的用户使用。如果你的电脑仍然只有512M或者1GB，升级到4G会有一个大幅度的性能提升。对于一些使用photoshop, Vmware, Virtualbox的用户来说，也会有一个明显的性能提升，因为更大的内存意味着更少的次数读取硬盘。</p>
<p>硬盘/固态硬盘：升<em>级到固态硬盘是提升电脑速度最好的方法之一</em>。一块固态硬盘（SSD）会大幅度提升电脑的和应用程序的启动速度。请注意，固态硬盘不会使得视频的处理速度变得更快，也不会使网站的加载时间变得明显更短，但是会使得一些需要长时间启动的应用程序在不到十分之一的时间内启动完成。</p>
<p>处理器：处理器的升级没有内存或者硬盘的升级那么简单，因为你要知道你只能升级到和主板接口相配的处理器。通常来说，<em>升级处理器对一些重负荷运算的任务会有较大的性能提升</em>，例如视频处理。多核心的CPU会帮助多任务执行，的速度提升，特别当电脑处于繁忙状态时。更快的处理器也能提升游戏性能。</p>
<p>显卡：<em>如果你是一个游戏玩家，这个可能是你最需要升级的</em>。没有任何一个配件能像升级显卡一样提升游戏性能来得直接。然而，新显卡并不便宜，你可以在二手市场找到一块合适使用。如果你不是一个游戏玩家，你则不需要太在意显卡。现在任何一台电脑都能应付大部分的视频操作，包括HD视频。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/%e5%8d%87%e7%ba%a7%e4%bb%80%e4%b9%88%e7%a1%ac%e4%bb%b6%e6%89%8d%e8%83%bd%e6%9c%80%e5%a4%a7%e9%99%90%e5%ba%a6%e6%8f%90%e5%8d%87%e7%94%b5%e8%84%91%e6%80%a7%e8%83%bd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Lantern Festival</title>
		<link>http://www.lilihan.cn/blog/happy-lantern-festival/</link>
		<comments>http://www.lilihan.cn/blog/happy-lantern-festival/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 10:38:01 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[Life view]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=84</guid>
		<description><![CDATA[Tonight is the celebration of the Latern Festival(元宵节) which is a Chinese festival having on the fifteenth day of the lunar month, officially the ends of Chinese New Year (Spring Festival) celebration. During the festival celebration, in my town (the mid of China), there are a lot of lanterns hanging besides the Gan river. They [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight is the celebration of the Latern Festival(<span style="font-family: 'DejaVu Sans';">元宵节</span>) which is a Chinese festival having on the fifteenth day of the lunar month, officially the ends of Chinese New Year (Spring Festival) celebration.</p>
<p><a href="http://www.lilihan.cn/blog/wp-content/uploads/2012/02/lantern-festival.jpg"><img class="size-medium wp-image-86 alignright" title="lantern-festival" src="http://www.lilihan.cn/blog/wp-content/uploads/2012/02/lantern-festival-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>During the festival celebration, in my town (the mid of China), there are a lot of lanterns hanging besides the Gan river. They are wrapped by a piece of thin red paper with riddle on it. Kids are together and guess them as main entertainment. It wasn&#8217;t really fun to me honestly, since I couldn&#8217;t read lots of Chinese characters by that moment, and lack of life experience, workout the answer is nearly impossible. And I believe most kids with average intelligent level do share this same point of view. It&#8217;s more like a evening that SOMEBODY shows off how smart he/she is, and suck the rest of us.</p>
<p><img class="size-thumbnail wp-image-85 alignleft" style="border-style: initial; border-color: initial;" title="yuanxiao-300x249" src="http://www.lilihan.cn/blog/wp-content/uploads/2012/02/yuanxiao-300x249-150x150.jpg" alt="" width="150" height="150" /></p>
<p>Additionally, there is another very meaning for the festival. That is &#8216;be together&#8217;. The whole family members usually go to their grand parents&#8217; house and having dinner together. &#8216;Tangyuan&#8217; and &#8216;Yuanxiao&#8217; is the essential traditional dish on the table what is round shaped dumpling means wholeness. An interesting finding that is more than half of the Chinese population(including myself) consider &#8216;Tangyuan&#8217; and &#8216;Yuanxiao&#8217; to be the same kind of food, but they are certainty not.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/happy-lantern-festival/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Never too late to start</title>
		<link>http://www.lilihan.cn/blog/never-too-late-to-start/</link>
		<comments>http://www.lilihan.cn/blog/never-too-late-to-start/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 06:35:00 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[Lihan News]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=81</guid>
		<description><![CDATA[So, What happened After months of being busy for uni and work, I had to sacrifice the time for blogging so I could focus on study and work. But the facts has proven it&#8217;s wrong. I did not feel I have done my study any better than I could, and hadn&#8217;t perform any nicer at [...]]]></description>
			<content:encoded><![CDATA[<h2>So, What happened</h2>
<p>After months of being busy for uni and work, I had to sacrifice the time for blogging so I could focus on study and work. But the facts has proven it&#8217;s wrong. I did not feel I have done my study any better than I could, and hadn&#8217;t perform any nicer at work. Instead, the lazy dude caught me and then tried to take over my control. I knew that&#8217;s absolutely wrong and will destroy my remaining positive thinkings. So I started exercise in the morning so I could have dump the &#8216;lazy&#8217; dude from my back. And today, I would like keep sharing my views with you by this blog.</p>
<h2>What is your plan</h2>
<p>Someone told me that if you fell aimless in your life, you&#8217;d better to establish a 5-year plan, that is what you want to be after 5 years. And then you break it down into years and months, then it&#8217;s a lot clear to set up a plan for a recent future.</p>
<p>I am working 40 hours per week, so it&#8217;s pretty difficult to code much outside work and having anything impressive done without destroy my balanced lifestyle. But I keen on producing something that will help me in the future, I need an idea, a great idea for a web app that could helping people. My friends, that&#8217;s all.</p>
<p>I also planned to do some readings that related to business. Because I&#8217;ve been many years in IT field and want some fresh air, learn how to turn my professional into real business and benefit people. <a title="Rework" href="http://www.amazon.com/Rework-Jason-Fried/dp/0307463745">Rework</a> by Jason Fried has selected for my study material, not for any special reason, but it&#8217;s proposed by many of my friends who have business background. And I will share my findings with you in the next few days. See you there.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/never-too-late-to-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A python quiz</title>
		<link>http://www.lilihan.cn/blog/a-python-quiz/</link>
		<comments>http://www.lilihan.cn/blog/a-python-quiz/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 10:07:04 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=76</guid>
		<description><![CDATA[Python 2.5 is relatively recent and not supported everywhere yet, so it&#8217;s important to understand the behavior of both Python 2.5 and earlier versions. This quiz is cited from here. (a) What number does the following code print? adders = [] for i in range(0, 100): adders.append(lambda x: x+i) print adders[17](42) (b) What about the [...]]]></description>
			<content:encoded><![CDATA[<p>Python 2.5 is relatively recent and not supported everywhere yet, so it&#8217;s important to understand the behavior of both Python 2.5 and earlier versions.</p>
<p>This quiz is cited from <a href="http://web.mit.edu/rwbarton/www/python.html">here</a>.</p>
<ol>
<li>(a) What number does the following code print?
<pre>adders = []
for i in range(0, 100):
    adders.append(lambda x: x+i)

print adders[17](42)</pre>
<p>(b) What about the following similar-looking code?</p>
<pre>adders = [lambda x: x+i for i in range(0, 100)]
print adders[17](42)</pre>
</li>
<li>(pre-Python 2.5 only) What does the following code print? Partial credit for approximately correct answers. (Hint: the function that exits a program is called <tt>sys.exit</tt>.)
<pre>try:
    exit(0)
except Exception, e:
    print e</pre>
</li>
<li>What number does the following code print?
<pre>units = [1, 2]
tens = [10, 20]
nums = (a + b for a in units for b in tens)
units = [3, 4]
tens = [30, 40]
print nums.next()</pre>
</li>
<li>Which of these lines produce the same output?
<pre>print "word" in [] == False
print ("word" in []) == False
print "word" in ([] == False)</pre>
<p><span id="more-76"></span></p>
<pre>Answer
1. (a) 141
   (b) 141
2. 'str' object is not callable
3. 31
4. None of them</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/a-python-quiz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ essentials for OpenGL</title>
		<link>http://www.lilihan.cn/blog/c-plus-plus-essentials-for-opengl/</link>
		<comments>http://www.lilihan.cn/blog/c-plus-plus-essentials-for-opengl/#comments</comments>
		<pubDate>Sun, 15 May 2011 05:38:25 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=72</guid>
		<description><![CDATA[The tutorial includes the topics below: Pointers Arrays and strings Parameter passing Class basics Constructors &#38; destructors Class Hierarchy Virtual Functions Coding tips Advanced topics c++ tutorial for opengl]]></description>
			<content:encoded><![CDATA[<p>The tutorial includes the topics below:</p>
<ul>
<li>Pointers</li>
<li>Arrays and strings</li>
<li>Parameter passing</li>
<li>Class basics</li>
<li>Constructors &amp; destructors</li>
<li>Class Hierarchy</li>
<li>Virtual Functions</li>
<li>Coding tips</li>
<li>Advanced topics</li>
</ul>
<p><a href="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/1_2_cpp_tutor.pdf">c++ tutorial for opengl</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/c-plus-plus-essentials-for-opengl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A few highlights from Google I/O 2011 (Photos)</title>
		<link>http://www.lilihan.cn/blog/highlights-from-google-io-2011/</link>
		<comments>http://www.lilihan.cn/blog/highlights-from-google-io-2011/#comments</comments>
		<pubDate>Tue, 10 May 2011 22:25:46 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[IT Trends]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=59</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-07_14_42-01-img_0040/' title='19-07_14_42-01-IMG_0040'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-07_14_42-01-IMG_0040-150x150.jpg" class="attachment-thumbnail" alt="19-07_14_42-01-IMG_0040" title="19-07_14_42-01-IMG_0040" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-07_20_26-01-img_0050/' title='19-07_20_26-01-IMG_0050'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-07_20_26-01-IMG_0050-150x150.jpg" class="attachment-thumbnail" alt="19-07_20_26-01-IMG_0050" title="19-07_20_26-01-IMG_0050" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-07_32_04-01-img_0073/' title='19-07_32_04-01-IMG_0073'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-07_32_04-01-IMG_0073-150x150.jpg" class="attachment-thumbnail" alt="19-07_32_04-01-IMG_0073" title="19-07_32_04-01-IMG_0073" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-07_59_24-01-img_0115/' title='19-07_59_24-01-IMG_0115'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-07_59_24-01-IMG_0115-150x150.jpg" class="attachment-thumbnail" alt="19-07_59_24-01-IMG_0115" title="19-07_59_24-01-IMG_0115" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-08_27_46-01-img_0204/' title='19-08_27_46-01-IMG_0204'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-08_27_46-01-IMG_0204-150x150.jpg" class="attachment-thumbnail" alt="19-08_27_46-01-IMG_0204" title="19-08_27_46-01-IMG_0204" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-10_30_28-01-img_0221/' title='19-10_30_28-01-IMG_0221'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-10_30_28-01-IMG_0221-150x150.jpg" class="attachment-thumbnail" alt="19-10_30_28-01-IMG_0221" title="19-10_30_28-01-IMG_0221" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-19_29_28-01-img_7418/' title='19-19_29_28-01-IMG_7418'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-19_29_28-01-IMG_7418-150x150.jpg" class="attachment-thumbnail" alt="19-19_29_28-01-IMG_7418" title="19-19_29_28-01-IMG_7418" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-20_42_10-01-img_7703/' title='19-20_42_10-01-IMG_7703'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-20_42_10-01-IMG_7703-150x150.jpg" class="attachment-thumbnail" alt="19-20_42_10-01-IMG_7703" title="19-20_42_10-01-IMG_7703" /></a>
<a href='http://www.lilihan.cn/blog/highlights-from-google-io-2011/19-20_50_42-01-img_7764/' title='19-20_50_42-01-IMG_7764'><img width="150" height="150" src="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/19-20_50_42-01-IMG_7764-150x150.jpg" class="attachment-thumbnail" alt="19-20_50_42-01-IMG_7764" title="19-20_50_42-01-IMG_7764" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/highlights-from-google-io-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenGL glut bundle for download</title>
		<link>http://www.lilihan.cn/blog/opengl-glut-bundle-for-download/</link>
		<comments>http://www.lilihan.cn/blog/opengl-glut-bundle-for-download/#comments</comments>
		<pubDate>Mon, 09 May 2011 11:58:03 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[OpenGL]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=57</guid>
		<description><![CDATA[I&#8217;ve been looking for some missing header file from glut for ages, and finally have all of them, just in case I&#8217;d like make a copy on my webiste, you also can download, that&#8217;s all you need to do opengl programming. The package is tested with Visual Studio 2010, any other version should be working! [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for some missing header file from glut for ages, and finally have all of them, just in case I&#8217;d like make a copy on my webiste, you also can download, that&#8217;s all you need to do opengl programming.</p>
<p>The package is tested with Visual Studio 2010, any other version should be working!</p>
<p><a href="http://www.lilihan.cn/blog/wp-content/uploads/2011/05/opengl_glut.zip">opengl_glut</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/opengl-glut-bundle-for-download/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>程序员看母亲节</title>
		<link>http://www.lilihan.cn/blog/programmers-perspective-to-mothers-day/</link>
		<comments>http://www.lilihan.cn/blog/programmers-perspective-to-mothers-day/#comments</comments>
		<pubDate>Sun, 08 May 2011 10:15:56 +0000</pubDate>
		<dc:creator>lihan</dc:creator>
				<category><![CDATA[Life view]]></category>

		<guid isPermaLink="false">http://www.lilihan.cn/blog/?p=56</guid>
		<description><![CDATA[母亲节（Mother&#8217;s Day），作为一个感谢母亲的节日，最早出现在古希腊，时间是每年的1月8日，而在中国、美国、加拿大和一些其他国家，则是每年5月的第2个星期天，其他一些国家的日期也并不相同。 母亲们在这一天通常会收到礼物。康乃馨被视为献给母亲的花，中国的母亲花是萱草花，也称忘忧草。作为一个特殊的群体——程序员，我们的表述方式自然也 会有些特色。我们这一辈程序员的父母（至少是绝大部分父母），别说这下面的编程语言，有些甚至都还不知道如何操作电脑。虽然也许母亲们会看不懂，但这种表 述你我都能领会。或许几十年后，等我们自己的儿女用这种方式来表达他们对父母的爱，你我绝对不会陌生。 你送了什么礼物？ 是上文中说到的康乃馨么？还是忘忧草？其实并非一定要什么礼物，多花时间多陪陪父母。如果你恰巧也是一位Beyond的歌迷，你应该知道我要说哪一首歌了。那就是《真的爱你》……]]></description>
			<content:encoded><![CDATA[<p>母亲节（Mother&#8217;s Day），作为一个感谢母亲的节日，最早出现在古希腊，时间是每年的1月8日，而在中国、美国、加拿大和一些其他国家，则是每年5月的第2个星期天，其他一些国家的日期也并不相同。</p>
<p>母亲们在这一天通常会收到礼物。康乃馨被视为献给母亲的花，中国的母亲花是萱草花，也称忘忧草。作为一个特殊的群体——程序员，我们的表述方式自然也 会有些特色。我们这一辈程序员的父母（至少是绝大部分父母），别说这下面的编程语言，有些甚至都还不知道如何操作电脑。虽然也许母亲们会看不懂，但这种表 述你我都能领会。或许几十年后，等我们自己的儿女用这种方式来表达他们对父母的爱，你我绝对不会陌生。</p>
<p><span id="more-56"></span></p>
<pre class="brush: csharp; title: ; notranslate">
public class MothersDayFromCodeMonkeyView
{
public MothersDayFromCodeMonkeyView()
{
int age=0; //猿猿刚出生的时候
saying=&quot;crying&quot;; //除了哭啼，还不知道如何去表达

while(true)
{
try
{
Thread.sleep(365*24*60*60*1000L);
}
catch (InterruptedException e)
{
break; //猿猿明白这意味着什么
}

age++; //岁月如梭

switch(age)
{
case 3:
saying = &quot;妈妈，我爱您&quot;;
break;
case 10:
saying = &quot;妈，听您的&quot;;
break;
case 16:
saying = &quot;我妈真的很烦&quot;;
break;
case 18:
saying = &quot;想要离开这个家&quot;;
break;
case 25:
saying = &quot;妈,您当时是对的&quot;;
break;
case 30:
saying = &quot;我想要去我妈家&quot;;
break;
case 50:
saying = &quot;我不想要失去我妈&quot;;
break;
case unknownAge:
saying = &quot;只要我妈还能在这,我愿意为了我妈放弃一切&quot;;
break;
default:
saying = youDefineIt();
break;
}
}

new Thread(){public void run()
{
while(isPeopleStillLive())
{
saying = &quot;每个人都只有一个妈妈，要好好的孝敬我们的妈妈!&quot;;
}
} }.start();

}

public boolean isPeopleStillLive()
{
return true || false; //猿猿很明白，人类最清楚
}

public String youDefineIt()
{
//猿猿自己说......
StringBuffer result = new StringBuffer();
result.append(&quot;......&quot;);
result.append(&quot;......&quot;);
result.append(&quot;......&quot;);
result.append(&quot;......&quot;);

return result.toString();
}

private static final int unknownAge = 70; //业界把这个常量设成了70，猿猿希望是100
private String saying =&quot;&quot;;

public static void main(String[] args)
{
new MothersDayFromCodeMonkeyView();
}
}
&lt;pre&gt;</pre>
<p><strong>你送了什么礼物？</strong></p>
<p>是上文中说到的康乃馨么？还是忘忧草？其实并非一定要什么礼物，多花时间多陪陪父母。如果你恰巧也是一位Beyond的歌迷，你应该知道我要说哪一首歌了。那就是《真的爱你》……
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lilihan.cn/blog/programmers-perspective-to-mothers-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

