<?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>Tairan&#039;s Story &#187; Uncategorized</title>
	<atom:link href="http://www.tairan.net/index.php/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tairan.net</link>
	<description>「知之真切笃实处即是行，行之明觉精察处即是知，知行工夫不可离。」</description>
	<lastBuildDate>Fri, 02 Dec 2011 08:08:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>向下兼容</title>
		<link>http://www.tairan.net/index.php/2009/04/24/downward-compatible/</link>
		<comments>http://www.tairan.net/index.php/2009/04/24/downward-compatible/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 13:44:46 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tairan.net/?p=382</guid>
		<description><![CDATA[向下兼容是好是坏？ 传说Microsoft就是因为良好的向下兼容的作风赢得了今天的市场。可有些时候，向下兼容会带来很多的包袱。 这几天一直在为安装操作系统的事情发愁。这也是我聊向下兼容的起因。 最近买了一套服务器，配置如下：（终于用上XEON了 ^_^） ASUS P5BV-E INTEL XEON E3110 KINGSTONE ECC DDR2 2G × 2 Seagate ST3500320SV × 4 Seventeam 500w 冲着提高磁盘I/O的方向，准备做RAID 0。因预算紧张，没有买SCSI/SAS硬盘。 安装操作系统时遇到问题了，因为Windows2003的安装光盘没有集成RAID的驱动程序，在安装操作系统的时候需要按F6来用软盘安装驱动程序。如今网龄稍微年轻的人可能都不曾见到软驱为何物，为啥还要用软驱来装驱动呢？在主板上保留软驱接口是一种向下兼容的行为。也许服务器上也还有很多的软驱存在，也许品牌服务器上还提供软驱。 硬件提供商们能不能给个可选的方案，比如用光盘或者U盘来安装RAID驱动？ 没有软驱，我开始找另一种解决方案：自己集成带RAID驱动的系统安装光盘。 做Windows 2003的集成光盘，一般都是采用配置OEM信息。手工集成OEM信息虽然简单，资料也多，但是毕竟手工容易出错。好在广大的程序员提供了好用的基于UI操作的集成工具 nlite 就是用来集成Windows 2003的好工具。如果要集成 VISTA 那么可以使用 vlite。在寻找集成工具的同时，我还发现一个好东西，就是下载操作系统更新补丁的工具，使用这个工具可以把操作系统历史的更新补丁下载到本地，然后配合 nlite/vlite 将补丁集成到安装光盘中。服务器嘛，安全第一！ 安装好操作系统，还要安装其他的驱动程序如网卡。当我把主板带的驱动光盘插入光驱后，一度让我以为是光驱坏掉了。其实我的光驱是一个CD-ROM，而驱动光盘是DVD，为什么要用DVD作为驱动载体发布呢？是因为数据量太大？我自己检查了一下，光盘中的数据才400多M！此时我又在想，为什么不考虑一下向下兼容呢？明明没有那么的数据，非要用个DVD来装，真不成DVD光驱比U盘的普及度还高？ 向下兼容/不兼容？是好是坏呢？这个还是要看市场，看大家有没有这个的需要！Python 3.0 就是迈出了不向下兼容的一步，是好是坏，让时间来说明吧。 PS：这次买的硬盘，有一块中奖了。4块硬盘中开包的第一块硬盘就中奖了&#8211;坏的！我担心其他硬盘也有问题，就用 Linux 上的 badblocks 检查到半夜！淘宝上的卖家服务态度不错，硬盘已经发回去了。下周一就回到手里了。 © Daniel Wang for Tairan&#039;s Story, 2009. &#124; Permalink [...]]]></description>
			<content:encoded><![CDATA[<p>向下兼容是好是坏？</p>
<p>传说Microsoft就是因为良好的向下兼容的作风赢得了今天的市场。可有些时候，向下兼容会带来很多的包袱。</p>
<p>这几天一直在为安装操作系统的事情发愁。这也是我聊向下兼容的起因。</p>
<p>最近买了一套服务器，配置如下：（终于用上XEON了 ^_^）<br />
ASUS P5BV-E<br />
INTEL XEON E3110<br />
KINGSTONE ECC DDR2 2G × 2<br />
Seagate ST3500320SV × 4<br />
Seventeam 500w</p>
<p>冲着提高磁盘I/O的方向，准备做RAID 0。因预算紧张，没有买SCSI/SAS硬盘。<br />
安装操作系统时遇到问题了，因为Windows2003的安装光盘没有集成RAID的驱动程序，在安装操作系统的时候需要按F6来用软盘安装驱动程序。如今网龄稍微年轻的人可能都不曾见到软驱为何物，为啥还要用软驱来装驱动呢？在主板上保留软驱接口是一种向下兼容的行为。也许服务器上也还有很多的软驱存在，也许品牌服务器上还提供软驱。</p>
<p>硬件提供商们能不能给个可选的方案，比如用光盘或者U盘来安装RAID驱动？</p>
<p>没有软驱，我开始找另一种解决方案：自己集成带RAID驱动的系统安装光盘。<br />
做<a href="http://www.microsoft.com/china/windowsserver2003/default.mspx">Windows 2003</a>的集成光盘，一般都是采用配置OEM信息。手工集成OEM信息虽然简单，资料也多，但是毕竟手工容易出错。好在广大的程序员提供了好用的基于UI操作的集成工具 <a href="http://www.nliteos.com/">nlite </a>就是用来集成<a href="http://www.microsoft.com/china/windowsserver2003/default.mspx">Windows 2003</a>的好工具。如果要集成 VISTA 那么可以使用 <a href="http://www.vlite.net/">vlite</a>。在寻找集成工具的同时，我还发现一个好东西，就是下载操作系统更新补丁的工具，使用这个工具可以把操作系统历史的更新补丁下载到本地，然后配合 <a href="http://www.nliteos.com/">nlite</a>/<a href="http://www.vlite.net/">vlite </a>将补丁集成到安装光盘中。服务器嘛，安全第一！</p>
<p>安装好操作系统，还要安装其他的驱动程序如网卡。当我把主板带的驱动光盘插入光驱后，一度让我以为是光驱坏掉了。其实我的光驱是一个CD-ROM，而驱动光盘是DVD，为什么要用DVD作为驱动载体发布呢？是因为数据量太大？我自己检查了一下，光盘中的数据才400多M！此时我又在想，为什么不考虑一下向下兼容呢？明明没有那么的数据，非要用个DVD来装，真不成DVD光驱比U盘的普及度还高？</p>
<p>向下兼容/不兼容？是好是坏呢？这个还是要看市场，看大家有没有这个的需要！Python 3.0 就是迈出了不向下兼容的一步，是好是坏，让时间来说明吧。</p>
<p>PS：这次买的硬盘，有一块中奖了。4块硬盘中开包的第一块硬盘就中奖了&#8211;坏的！我担心其他硬盘也有问题，就用 Linux 上的 badblocks 检查到半夜！淘宝上的卖家服务态度不错，硬盘已经发回去了。下周一就回到手里了。</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2009. |
<a href="http://www.tairan.net/index.php/2009/04/24/downward-compatible/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2009/04/24/downward-compatible/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2009/04/24/downward-compatible/&title=向下兼容">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2009/04/24/downward-compatible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QUAKE LIVE™ is now available to the public as an open beta.</title>
		<link>http://www.tairan.net/index.php/2009/02/27/quake-live/</link>
		<comments>http://www.tairan.net/index.php/2009/02/27/quake-live/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 05:41:43 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Game]]></category>

		<guid isPermaLink="false">http://blog.tairan.org/?p=238</guid>
		<description><![CDATA[你还在玩着那种用鼠标点啊点的网页游戏吗？ 太老土了！看看 id software 给我们带来了什么！ http://www.quakelive.com Quake Live 开始公测了，这是 Quake3 基于浏览器的版本。 上班族可以利用休息时间好好的放纵一下了，Quake Live对机器配置要求不高，目前支持 Windows + IE or Firefox 组合，其他平台正在开发中。 目前游戏玩家众多，如果进来的时候不巧，那么要经过漫长的排队才能进入游戏。 好像在国内 Quake 的群众基础不如 CS。 不知道在 Quake Live 上能遇到多少国内的玩家。 我实在想知道在技术上他们是怎么实现的？ © Daniel Wang for Tairan&#039;s Story, 2009. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: Game Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>你还在玩着那种用鼠标点啊点的网页游戏吗？ 太老土了！看看 id software 给我们带来了什么！</p>
<p><a href="http://www.quakelive.com/" target="_blank">http://www.quakelive.com</a></p>
<p>Quake Live 开始公测了，这是 Quake3 基于浏览器的版本。 上班族可以利用休息时间好好的放纵一下了，Quake Live对机器配置要求不高，目前支持 Windows + IE or Firefox 组合，其他平台正在开发中。</p>
<p>目前游戏玩家众多，如果进来的时候不巧，那么要经过漫长的排队才能进入游戏。</p>
<p>好像在国内 Quake 的群众基础不如 CS。 不知道在 Quake Live 上能遇到多少国内的玩家。</p>
<p>我实在想知道在技术上他们是怎么实现的？</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2009. |
<a href="http://www.tairan.net/index.php/2009/02/27/quake-live/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2009/02/27/quake-live/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2009/02/27/quake-live/&title=QUAKE LIVE™ is now available to the public as an open beta.">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/game/" rel="tag">Game</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2009/02/27/quake-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>摩尔定律</title>
		<link>http://www.tairan.net/index.php/2008/10/28/moerdinglv/</link>
		<comments>http://www.tairan.net/index.php/2008/10/28/moerdinglv/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 04:44:51 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Intel]]></category>

		<guid isPermaLink="false">http://blog.tairan.org/?p=78</guid>
		<description><![CDATA[托摩尔定律的福，如今的PC硬件实在是便宜啊！一般主流的PC也就是3-4k。我们这个价格拿到其它产品上去试试： 一个单反相机，最低也要4k+ 一个智能手机，也不便宜2-4k+，比较下体积和功能，除了能打电话哪一点强过PC? 所以嘛有钱还是买个PC玩，超级适合宅男！ 以上这些也是就是随便感慨一下，别太过认真的去比较。电子产品始终是消费品，就是图一个新鲜劲。过了瘾就完了。PC 可是我吃饭的家伙！ © Daniel Wang for Tairan&#039;s Story, 2008. &#124; Permalink &#124; One comment &#124; Add to del.icio.us Post tags: Intel Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>托摩尔定律的福，如今的PC硬件实在是便宜啊！一般主流的PC也就是3-4k。我们这个价格拿到其它产品上去试试：</p>
<p>一个单反相机，最低也要4k+</p>
<p>一个智能手机，也不便宜2-4k+，比较下体积和功能，除了能打电话哪一点强过PC?</p>
<p>所以嘛有钱还是买个PC玩，超级适合宅男！</p>
<p>以上这些也是就是随便感慨一下，别太过认真的去比较。电子产品始终是消费品，就是图一个新鲜劲。过了瘾就完了。PC 可是我吃饭的家伙！</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/10/28/moerdinglv/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/10/28/moerdinglv/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/10/28/moerdinglv/&title=摩尔定律">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/intel/" rel="tag">Intel</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/10/28/moerdinglv/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bruce Lee</title>
		<link>http://www.tairan.net/index.php/2008/10/24/bruce-lee/</link>
		<comments>http://www.tairan.net/index.php/2008/10/24/bruce-lee/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 13:24:58 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bruce Lee]]></category>

		<guid isPermaLink="false">http://blog.tairan.org/?p=74</guid>
		<description><![CDATA[Bruce Lee （李振藩） 一直都是我的偶像。曾经认真的追随过他，却也忘记他很久了。现在央视热播的《李小龙传奇》又唤醒了自己。 下面是一段采访 Bruce Lee （李振藩）的视频。让他亲自来介绍他的武学，哲学。 © Daniel Wang for Tairan&#039;s Story, 2008. &#124; Permalink &#124; One comment &#124; Add to del.icio.us Post tags: Bruce Lee Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>Bruce Lee （李振藩） 一直都是我的偶像。曾经认真的追随过他，却也忘记他很久了。现在央视热播的《李小龙传奇》又唤醒了自己。</p>
<p>下面是一段采访 Bruce Lee （李振藩）的视频。让他亲自来介绍他的武学，哲学。</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/uXOtmhA6Nvw&amp;hl=zh_CN&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/uXOtmhA6Nvw&amp;hl=zh_CN&amp;fs=1" allowfullscreen="true"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/RRdTJi0v3fQ&amp;hl=zh_CN&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/RRdTJi0v3fQ&amp;hl=zh_CN&amp;fs=1" allowfullscreen="true"></embed></object></p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/10/24/bruce-lee/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/10/24/bruce-lee/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/10/24/bruce-lee/&title=Bruce Lee">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/bruce-lee/" rel="tag">Bruce Lee</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/10/24/bruce-lee/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving to WordPress from Google Blogger</title>
		<link>http://www.tairan.net/index.php/2008/10/16/moving-to-wordpress-from-google-blogger/</link>
		<comments>http://www.tairan.net/index.php/2008/10/16/moving-to-wordpress-from-google-blogger/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 06:44:34 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.tairan.org/?p=5</guid>
		<description><![CDATA[Blogger的稳定性实在人揪心，国内网络时常不能访问。今天从朋友那里借来一块宝地，在上面搭建起了WIMP环境。很久都没有手工搭建，陌生了很多，所以改用Windows上特有的安装方式。setup-&#62;next-&#62;finish. 安装WordPress以后才发现，原来WordPress提供从多种Blog系统导入的功能，很幸运，Google Blogger也在其中。按照WrodPress上的链接一步步的操作以后，却一直没有成功导入。总是提示: We were not able to gain access to your account. Try starting over. 操起史上最强大的troubleshooting工具-&#62;Google，看看别人有没有过相同的遭遇。“90%以上的问题都是别人曾经遇到过的”&#8211;在IT领域这话很有道理！发现有人支了不错的一招，传说 wordpress.com 可以导入Google Bloger，于是一种曲线救国的道路就此展开。 先在wordpress.org上注册一个免费帐户，通过此帐户从Google Blogger导入。然后再将wordpress.com的信息搬到自家的server上。这方法够cool。可等我操作的时候又有新的问题出现。在wordpress.com上注册的账户死活访问不了。http://tairan.wordpress.com 链接不上！ 看来只能明天到公司里试试了。 Update： wordpress.org -&#62; wordpress.com 后者是wordpress.org提供的商业blog空间 wordpress.com 和 blogger 差不多，受阻于国内网络原因而不能正常访问。 IIS的确不靠谱，各种权限都试过以后，还是不能把wordpress.xml文件上传。改用apache在内网导入wordpress.xml后切换到IIS中 © Daniel Wang for Tairan&#039;s Story, 2008. &#124; Permalink &#124; 4 comments &#124; Add to del.icio.us Post tags: blogger, Wordpress Feed [...]]]></description>
			<content:encoded><![CDATA[<p>Blogger的稳定性实在人揪心，国内网络时常不能访问。今天从朋友那里借来一块宝地，在上面搭建起了WIMP环境。很久都没有手工搭建，陌生了很多，所以改用Windows上特有的安装方式。setup-&gt;next-&gt;finish.</p>
<p>安装WordPress以后才发现，原来WordPress提供从多种Blog系统导入的功能，很幸运，Google Blogger也在其中。按照WrodPress上的链接一步步的操作以后，却一直没有成功导入。总是提示: We were not able to gain access to your account. Try starting over.</p>
<p>操起史上最强大的troubleshooting工具-&gt;Google，看看别人有没有过相同的遭遇。“<strong>90%以上的问题都是别人曾经遇到过的</strong>”&#8211;在IT领域这话很有道理！发现有人支了不错的一招，传说 wordpress.com 可以导入Google Bloger，于是一种曲线救国的道路就此展开。</p>
<p>先在wordpress.org上注册一个免费帐户，通过此帐户从Google Blogger导入。然后再将wordpress.com的信息搬到自家的server上。这方法够cool。可等我操作的时候又有新的问题出现。在wordpress.com上注册的账户死活访问不了。http://tairan.wordpress.com 链接不上！</p>
<p>看来只能明天到公司里试试了。</p>
<p>Update：</p>
<ol>
<li>wordpress.org -&gt; wordpress.com 后者是wordpress.org提供的商业blog空间</li>
<li>wordpress.com 和 blogger 差不多，受阻于国内网络原因而不能正常访问。</li>
<li>IIS的确不靠谱，各种权限都试过以后，还是不能把wordpress.xml文件上传。改用apache在内网导入wordpress.xml后切换到IIS中</li>
</ol>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/10/16/moving-to-wordpress-from-google-blogger/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/10/16/moving-to-wordpress-from-google-blogger/#comments">4 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/10/16/moving-to-wordpress-from-google-blogger/&title=Moving to WordPress from Google Blogger">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/blogger/" rel="tag">blogger</a>, <a href="http://www.tairan.net/index.php/tag/wordpress/" rel="tag">Wordpress</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/10/16/moving-to-wordpress-from-google-blogger/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>所看见的并非是事情的全部。</title>
		<link>http://www.tairan.net/index.php/2008/10/09/not-see-all-things/</link>
		<comments>http://www.tairan.net/index.php/2008/10/09/not-see-all-things/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 05:07:00 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Thinking]]></category>

		<guid isPermaLink="false">http://tairan.wordpress.com/2008/10/09/%e6%89%80%e7%9c%8b%e8%a7%81%e7%9a%84%e5%b9%b6%e9%9d%9e%e6%98%af%e4%ba%8b%e6%83%85%e7%9a%84%e5%85%a8%e9%83%a8%e3%80%82/</guid>
		<description><![CDATA[十一回家，因为没买到坐票，只好在动车组上站着，中途见一对母女(女孩大约3-4岁的样子)上车，在火车行驶的过程中，这位母亲到处走动并告诉人家说她手上的车票是有坐的，但是位置被别人占了。很多好心人都劝她去跟别人理论，凭什么有座票却没座位，何况还带个孩子。这位母亲推说不想跟别人吵架，非要等列车员来解决。原本如此简单的事情，让周围的人议论纷纷，有的说这位母亲比较软弱，有的给她打气，最终只见说话不见任何人以任何实际行动来帮忙。 此时，我十分的看不顺这些动嘴皮子的，所以就在心里盘算着该怎么帮忙。心中设想着各种情况出现的可能，把最坏的暴力解决问题的想法都有了。 也许是我想的太多，也属于沉默的大多数。 列车员来了，列车员带着母女两人，来到了座位旁。拿着票说这母女有车票，座位在这。可座上的人却说她也有座票，而且座位也是这里。??? 怎么会出现同一张座位有两张票？列车员拿着票，左看右看，上看下看，许久后，对这母女说，你的票是假票。传说中的假火车票就这样横空出世了。 列车员把母女两人又带到了列车长那里，后面的事情就不知道了。。。。 上面这件事，让我思考了很久。 1. 助人为乐，没有错。该出手时就出手 2. 做事情要考虑周全，因为不是什么性命攸关的事情，所以还是要考虑一下的，千万不能动不动就想到暴力解决问题。暴力只会带来更多的暴力，除非对方就是欠扁！ 3. 我们看到的是事情的全部吗？如果不是在列车员几经研究才发现出是假票，难道我们拿着假票理直气壮的去要座？ &#8211; 写到这里，不知该怎么继续了，我开始迷惑自己刚开始坚持的观点了。刚刚脑袋里闪现出我们经常看电视遇到的情形，某人做了很多好事，却因为别人看到某人恰巧做的一件不好的事情而产生种种的误会。所以还是要冷静的分析，多沟通。把事情的全部过程弄明白了再发表意见。也许这是我想表达的意思。 © Daniel Wang for Tairan&#039;s Story, 2008. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: Thinking Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>十一回家，因为没买到坐票，只好在动车组上站着，中途见一对母女(女孩大约3-4岁的样子)上车，在火车行驶的过程中，这位母亲到处走动并告诉人家说她手上的车票是有坐的，但是位置被别人占了。很多好心人都劝她去跟别人理论，凭什么有座票却没座位，何况还带个孩子。这位母亲推说不想跟别人吵架，非要等列车员来解决。原本如此简单的事情，让周围的人议论纷纷，有的说这位母亲比较软弱，有的给她打气，最终只见说话不见任何人以任何实际行动来帮忙。<br />
此时，我十分的看不顺这些动嘴皮子的，所以就在心里盘算着该怎么帮忙。心中设想着各种情况出现的可能，把最坏的暴力解决问题的想法都有了。<br />
也许是我想的太多，也属于沉默的大多数。<br />
列车员来了，列车员带着母女两人，来到了座位旁。拿着票说这母女有车票，座位在这。可座上的人却说她也有座票，而且座位也是这里。??? 怎么会出现同一张座位有两张票？列车员拿着票，左看右看，上看下看，许久后，对这母女说，你的票是假票。传说中的假火车票就这样横空出世了。<br />
列车员把母女两人又带到了列车长那里，后面的事情就不知道了。。。。<br />
上面这件事，让我思考了很久。<br />
1. 助人为乐，没有错。该出手时就出手<br />
2. 做事情要考虑周全，因为不是什么性命攸关的事情，所以还是要考虑一下的，千万不能动不动就想到暴力解决问题。暴力只会带来更多的暴力，除非对方就是欠扁！<br />
3. 我们看到的是事情的全部吗？如果不是在列车员几经研究才发现出是假票，难道我们拿着假票理直气壮的去要座？</p>
<p>&#8211; 写到这里，不知该怎么继续了，我开始迷惑自己刚开始坚持的观点了。刚刚脑袋里闪现出我们经常看电视遇到的情形，某人做了很多好事，却因为别人看到某人恰巧做的一件不好的事情而产生种种的误会。所以还是要冷静的分析，多沟通。把事情的全部过程弄明白了再发表意见。也许这是我想表达的意思。</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/10/09/not-see-all-things/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/10/09/not-see-all-things/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/10/09/not-see-all-things/&title=所看见的并非是事情的全部。">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/thinking/" rel="tag">Thinking</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/10/09/not-see-all-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不仅要造砖，还要和泥，还要讲究方法！</title>
		<link>http://www.tairan.net/index.php/2008/09/25/pay-attention-to-methods/</link>
		<comments>http://www.tairan.net/index.php/2008/09/25/pay-attention-to-methods/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 03:45:00 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Thinking]]></category>

		<guid isPermaLink="false">http://tairan.wordpress.com/2008/09/25/%e4%b8%8d%e4%bb%85%e8%a6%81%e9%80%a0%e7%a0%96%ef%bc%8c%e8%bf%98%e8%a6%81%e5%92%8c%e6%b3%a5%ef%bc%8c%e8%bf%98%e8%a6%81%e8%ae%b2%e7%a9%b6%e6%96%b9%e6%b3%95%ef%bc%81/</guid>
		<description><![CDATA[传说中的程序高手说写程序就像搭积木，把各个模块做好然后搭在一起就好了。 以前我都是把焦点放在积木上面，想着怎么造积木。积木的制造方法有个准则就是：高内聚，低耦合。 然而当积木造好以后却不知怎么搭起来。 此时我们需要的就是和泥，用水泥把各个砖头连接起来，从而造成高楼大厦。水泥也有另一个说法叫：胶水层，顾名思义就是像胶水一样把各个模块连接起来。 积木和胶水都有了，怎样才能更有效的把大楼搭建起来呢？设计模式，最有名的就是4人组的23个设计模式，当然我们不能局限于这几种模式，这些模式是前辈们总结整理出来的，具有一定的通用性和代表性。在实战中我们也要把自己的一些常用方法总结出来，如果也同样具有通用性的话，那可是造福人类了。 积木,胶水。其实也是软件分层开发的原因之一。 © Daniel Wang for Tairan&#039;s Story, 2008. &#124; Permalink &#124; No comment &#124; Add to del.icio.us Post tags: Thinking Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>传说中的程序高手说写程序就像搭积木，把各个模块做好然后搭在一起就好了。</p>
<p>以前我都是把焦点放在积木上面，想着怎么造积木。积木的制造方法有个准则就是：高内聚，低耦合。</p>
<p>然而当积木造好以后却不知怎么搭起来。</p>
<p>此时我们需要的就是和泥，用水泥把各个砖头连接起来，从而造成高楼大厦。水泥也有另一个说法叫：胶水层，顾名思义就是像胶水一样把各个模块连接起来。</p>
<p>积木和胶水都有了，怎样才能更有效的把大楼搭建起来呢？设计模式，最有名的就是4人组的23个设计模式，当然我们不能局限于这几种模式，这些模式是前辈们总结整理出来的，具有一定的通用性和代表性。在实战中我们也要把自己的一些常用方法总结出来，如果也同样具有通用性的话，那可是造福人类了。</p>
<p>积木,胶水。其实也是软件分层开发的原因之一。</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/09/25/pay-attention-to-methods/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/09/25/pay-attention-to-methods/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/09/25/pay-attention-to-methods/&title=不仅要造砖，还要和泥，还要讲究方法！">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/thinking/" rel="tag">Thinking</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/09/25/pay-attention-to-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>杂记</title>
		<link>http://www.tairan.net/index.php/2008/08/07/jottings/</link>
		<comments>http://www.tairan.net/index.php/2008/08/07/jottings/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 07:52:00 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tairan.wordpress.com/2008/08/07/%e6%9d%82%e8%ae%b0/</guid>
		<description><![CDATA[我们可爱的人民公仆，他们是在掩耳盗铃？总是限制着我们，难道整个国家都要做愚民吗？ 今天终于把自己的域名转接到了Blogger上了，Google官方的设置说明需要变得有中国特色才行，通过Google找到了几个ip，作为自己域名的A记录地址才可以用过 http://blog.tairan.org 访问我的blog. CName 设置是不顶事咯，如果你也需要Google一把，准能有不错的收获。 今天还动手做了一次 SVN 版本库的同步 使用 svnsync 命令。目前只支持单向同步。这意味着写操作都要到提交到主版本库，正常的话，一定是看得比写的多，所以这种方式能满足要求。具体同步步骤如下1. 创建一个新的空版本库，as 从版本库2. 在从版本库的hook目录中建立一个空的文件, pre-revprop-change.bat3. C:&#62;svnsync init 从版本库URL 主版本库URL4. C:&#62;svnsync sync 从版本库URL 另外可以在主版本库中增加hook，让从版本库在每次主版本库改动后同步。有时间好好研究下 SVN HOOK，貌似很有意思。 now， 已经是2008年8月8日了，今天晚上奥运开幕式，期待惊喜！ © Daniel Wang for Tairan&#039;s Story, 2008. &#124; Permalink &#124; One comment &#124; Add to del.icio.us Post tags: Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>我们可爱的人民公仆，他们是在掩耳盗铃？总是限制着我们，难道整个国家都要做愚民吗？</p>
<p>今天终于把自己的域名转接到了Blogger上了，Google官方的设置说明需要变得有中国特色才行，通过Google找到了几个ip，作为自己域名的A记录地址才可以用过 <a href="http://blog.tairan.org">http://blog.tairan.org</a> 访问我的blog. CName 设置是不顶事咯，如果你也需要Google一把，准能有不错的收获。</p>
<p>今天还动手做了一次 SVN 版本库的同步 使用 svnsync 命令。目前只支持单向同步。这意味着写操作都要到提交到主版本库，正常的话，一定是看得比写的多，所以这种方式能满足要求。具体同步步骤如下<br />1. 创建一个新的空版本库，as 从版本库<br />2. 在从版本库的hook目录中建立一个空的文件, pre-revprop-change.bat<br />3. C:&gt;svnsync init 从版本库URL 主版本库URL<br />4. C:&gt;svnsync sync 从版本库URL</p>
<p>另外可以在主版本库中增加hook，让从版本库在每次主版本库改动后同步。有时间好好研究下 SVN HOOK，貌似很有意思。</p>
<p>now， 已经是2008年8月8日了，今天晚上奥运开幕式，期待惊喜！</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/08/07/jottings/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/08/07/jottings/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/08/07/jottings/&title=杂记">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/08/07/jottings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vim</title>
		<link>http://www.tairan.net/index.php/2008/08/06/vim/</link>
		<comments>http://www.tairan.net/index.php/2008/08/06/vim/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 15:54:00 +0000</pubDate>
		<dc:creator>Daniel Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://tairan.wordpress.com/2008/08/06/27/</guid>
		<description><![CDATA[VIM 学习笔记 设置文件模板，通常使用两种设置文件模板的方法在使用这两种方法之前都必须打开文件类型识别 filetype plugin indent on 1. 从模板文件中加载 autocmd BufNewFile *.py 0r $VIM/vimfiles/templates/python.tpl 文件必须存在，这里使用的是Windows版本的默认目录结构 2. 通过程序来设置文件中的模板 autocmd BufNewFile *.py &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \call setline(1, &#39;#!/usr/bin/python&#39;)&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \call setline(2, &#39;# -*- coding:utf-8 -*-&#39;)&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \call setline(3, &#39;# $Id$&#39;)&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \call setline(4, &#39;# vim:set shiftwidth=4 tabstop=4 expandtab:&#39;)&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \call setline(5, &#39;&#39;)&#124;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \exe &#39;normal G&#39; 在vim中一行命令如果需要折行的话在下一行的开始使用 \ 符号，&#124; 作为管道符，把多个命令穿起来作为一组命令执行 两种设置方法采用实现 BufNewFile 事件，并自动执行特殊命令的方法来实现模板操作的 © [...]]]></description>
			<content:encoded><![CDATA[<p>VIM 学习笔记</p>
<p>设置文件模板，通常使用两种设置文件模板的方法<br />在使用这两种方法之前都必须打开文件类型识别</p>
<p>filetype plugin indent on</p>
<p>1. 从模板文件中加载</p>
<p>autocmd BufNewFile *.py 0r $VIM/vimfiles/templates/python.tpl</p>
<p>文件必须存在，这里使用的是Windows版本的默认目录结构</p>
<p>2. 通过程序来设置文件中的模板
<div class="source" style="font-family:[object],Consolas,'Lucida Console','Courier New';background-color:#333333;"><span class="lineno" style="color:#87ceeb;"></span><span style="color:#ffffff;">autocmd </span><span style="color:#ffffff;">BufNewFile</span><span style="color:#ffffff;"> *.</span><span style="color:#f0e68c;">py</span><span style="color:#ffffff;"> </span><br /><span class="lineno" style="color:#87ceeb;"></span><span style="color:#ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</span><span style="color:#f0e68c;">call</span><span style="color:#ffffff;"> setline</span><span style="color:#ffffff;">(</span><span style="color:#ffffff;">1</span><span style="color:#ffffff;">,</span><span style="color:#ffffff;"> </span><span style="color:#ffffff;">&#39;#!/usr/bin/python&#39;</span><span style="color:#ffffff;">)|</span><span style="color:#ffffff;"></span><br /><span class="lineno" style="color:#87ceeb;"></span><span style="color:#ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</span><span style="color:#f0e68c;">call</span><span style="color:#ffffff;"> setline</span><span style="color:#ffffff;">(</span><span style="color:#ffffff;">2</span><span style="color:#ffffff;">,</span><span style="color:#ffffff;"> </span><span style="color:#ffffff;">&#39;# -*- coding:utf-8 -*-&#39;</span><span style="color:#ffffff;">)|</span><span style="color:#ffffff;"></span><br /><span class="lineno" style="color:#87ceeb;"></span><span style="color:#ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</span><span style="color:#f0e68c;">call</span><span style="color:#ffffff;"> setline</span><span style="color:#ffffff;">(</span><span style="color:#ffffff;">3</span><span style="color:#ffffff;">,</span><span style="color:#ffffff;"> </span><span style="color:#ffffff;">&#39;# $Id$&#39;</span><span style="color:#ffffff;">)|</span><span style="color:#ffffff;"></span><br /><span class="lineno special" style="color:#f810b0;"></span><span style="color:#ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</span><span style="color:#f0e68c;">call</span><span style="color:#ffffff;"> setline</span><span style="color:#ffffff;">(</span><span style="color:#ffffff;">4</span><span style="color:#ffffff;">,</span><span style="color:#ffffff;"> </span><span style="color:#ffffff;">&#39;# vim:set shiftwidth=4 tabstop=4 expandtab:&#39;</span><span style="color:#ffffff;">)|</span><span style="color:#ffffff;"></span><br /><span class="lineno" style="color:#87ceeb;"></span><span style="color:#ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</span><span style="color:#f0e68c;">call</span><span style="color:#ffffff;"> setline</span><span style="color:#ffffff;">(</span><span style="color:#ffffff;">5</span><span style="color:#ffffff;">,</span><span style="color:#ffffff;"> </span><span style="color:#ffffff;">&#39;&#39;</span><span style="color:#ffffff;">)|</span><span style="color:#ffffff;"></span><br /><span class="lineno" style="color:#87ceeb;"></span><span style="color:#ffffff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \exe </span><span style="color:#ffffff;">&#39;normal G&#39;</span><span style="color:#ffffff;"></span></div>
<p>在vim中一行命令如果需要折行的话在下一行的开始使用 \ 符号，| 作为管道符，把多个命令穿起来作为一组命令执行</p>
<p>两种设置方法采用实现 BufNewFile 事件，并自动执行特殊命令的方法来实现模板操作的</p>
<hr />
<p><small>© Daniel Wang for <a href="http://www.tairan.net">Tairan&#039;s Story</a>, 2008. |
<a href="http://www.tairan.net/index.php/2008/08/06/vim/">Permalink</a> |
<a href="http://www.tairan.net/index.php/2008/08/06/vim/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.tairan.net/index.php/2008/08/06/vim/&title=Vim">del.icio.us</a>
<br/>
Post tags: <a href="http://www.tairan.net/index.php/tag/vim/" rel="tag">vim</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tairan.net/index.php/2008/08/06/vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

