<?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>I&#039; lI haI</title>
	<atom:link href="http://ilihai.com/feed" rel="self" type="application/rss+xml" />
	<link>http://ilihai.com</link>
	<description>用信用卡买虚拟主机建立的Wordpress博客,来讲述生活中喜欢听和看动漫音乐电影,也聊和IT有关的搜索引擎、Linux系统软件和电脑外设。</description>
	<lastBuildDate>Sun, 07 Feb 2010 17:23:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eaccelerator&#8217;s open_basedir error</title>
		<link>http://ilihai.com/eaccelerators-open_basedir-error.html</link>
		<comments>http://ilihai.com/eaccelerators-open_basedir-error.html#comments</comments>
		<pubDate>Sun, 07 Feb 2010 17:23:12 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=841</guid>
		<description><![CDATA[新版eaccelerator-0.9.6或rc2在我这里有open_basedir error，导致http 500错误和PHP crash，文中给出这个错误的patch.]]></description>
			<content:encoded><![CDATA[<p>前两天有点空，不知道头脑里哪根筋出问题了，居然想到把VPS上的软件更新一下，结果直接导致这个VPS上所有动态PHP站点无法访问长达三个小时&#8230;</p>
<p>Mysql的升级很正常，没有什么好说的；PHP 5.2.11到PHP 5.3.1的升级也很正常；问题主要出在eaccelerator上面，从0.9.6-rc1升级到rc2，编译安装一切都很正常，无错。重启apache后所有动态站点都给我闹http 500错误，错误日志显示：</p>
<blockquote><p>PHP Warning:  Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/xxxx/:/tmp:/var/tmp:/usr/local/lib/php/) in Unknown on line 0<br />
PHP Fatal error:  Can&#8217;t load /home/xxxx/domains/ilihai.com/public_html/index.php, open_basedir restriction. in Unknown on line 0</p></blockquote>
<p>默认情况下，php.ini中的“<a title="open_basedir" href="http://www.php.net/manual/en/ini.core.php#ini.open-basedir">open_basedir</a> = ”是被冒号注解掉的，我去掉冒号，把错误中提到的那些目录加入：</p>
<blockquote><p>open_basedir = /home/xxxx/:/tmp:/var/tmp:/usr/local/lib/php/</p></blockquote>
<p>没有一点帮助，问题依旧。无赖，只好暂时不要eaccelerator，在php.ini中修改：</p>
<blockquote><p>eaccelerator.enable=&#8221;0&#8243;</p></blockquote>
<p>没有加速的网站觉得是有那么一点点慢，不甘心，又把eaccelerator-0.9.6-rc1这个老版本下载下来编译安装。嘿！在PHP 5.3.1下居然能用，那就继续用老版本吧。</p>
<p>次日，当我继续研究这个问题的时候，在<a title="eaccelerator" href="http://eaccelerator.net/">eaccelerator主页</a>上发现，就在2月4日他们居然放出了稳定版0.9.6，真是及时雨啊，啥也不想了，下载，编译！结果http 500：</p>
<blockquote><p>PHP Warning:  Unknown: open_basedir restriction in effect&#8230;<br />
PHP Fatal error:  &#8230; open_basedir restriction. in Unknown on line 0</p></blockquote>
<p>PHP crash了，TMD又玩我，升级升的反倒不如从前了。继续研究&#8230;</p>
<p>终于功夫不负有心人，找到了一个bug report，而且还有人给出了patch。如果有人遇到和我相同的情况，下载eaccelerator 0.9.6后先不要安装，解包后找到eaccelerator.c这个文件，打开第1156行，这样的：</p>
<pre>if (PG(open_basedir) &amp;&amp; php_check_open_basedir(realname TSRMLS_CC)) {</pre>
<p>修改成：</p>
<pre>if (PG(open_basedir) &amp;&amp; php_check_open_basedir(file_handle-&gt;filename TSRMLS_CC)) {</pre>
<p>然后再编译安装吧。</p>
<p>如果说这次的升级给我啥教训的话，用老外的一句话很贴切：&#8221; If It&#8217;s Not Broken, Don&#8217;t Fix It !&#8221;翻译成中文：没事干也别TMD去当小白鼠！</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=841&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/eaccelerators-open_basedir-error.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Baiduspider, disallowed.</title>
		<link>http://ilihai.com/baiduspider-disallowed.html</link>
		<comments>http://ilihai.com/baiduspider-disallowed.html#comments</comments>
		<pubDate>Fri, 05 Feb 2010 09:26:13 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[百度]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=836</guid>
		<description><![CDATA[2010年一月中旬，正式把User-agent: Baiduspider Disallow: / 放入robots.txt，这么优秀的博客不是百度能搜录的。]]></description>
			<content:encoded><![CDATA[<p>今年一月中旬，我把下列字母组合放入<a title="robots.txt" href="http://ilihai.com/robots.txt">http://ilihai.com/robots.txt</a>：</p>
<blockquote>
<pre>User-agent: Baiduspider
Disallow: /</pre>
</blockquote>
<p>做网站的都知道这是啥意思。然后网站在<a title="百度" href="http://ilihai.com/category/baidu">百度</a>的搜录量开始稳步下降，前两天再去查的时候，得到下面的结果：</p>
<p><img class="aligncenter" src="http://ilihai.com/images-2010/baidu-site-result.png" alt="百度搜索结果" width="213" height="182" /></p>
<p>如图，“博客”这两个字是Baiduspider在哪里截的？比较说的过去的解释是：百度会对网站进行归类(这个过程不知道是人工的还是机器的，我猜是机器先归类然后再人工部分审核)，我的这块自留地被百度归类为“博客”，那截图上的两个字自然就来自归类名称。</p>
<p>Disallow Baiduspider的理由？这么优秀的博客不是百度能搜录的，这些文字不是经常用百度的人能看的，彪悍的博客做事是不需要解释的。</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=836&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/baiduspider-disallowed.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Name.com域名抢注</title>
		<link>http://ilihai.com/name-com-domain-pendingdelete.html</link>
		<comments>http://ilihai.com/name-com-domain-pendingdelete.html#comments</comments>
		<pubDate>Thu, 04 Feb 2010 09:32:16 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[网页]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=822</guid>
		<description><![CDATA[在Name.com搜索处于pendingdelete状态域名时候的一点小发现，随着距离删除域名的时间越短，价格相对越低。]]></description>
			<content:encoded><![CDATA[<p>受不了电信与Godaddy之间的连线速度，就逐步的把我手里的几个域名转到了<a title="Name.com" href="http://www.name.com/">name.com</a>。随后在name.com搜索一些域名的时候，发现了一个比较有趣的现象：</p>
<p><img class="aligncenter" src="http://ilihai.com/images-2010/name.com-1.gif" alt="name.com first" width="427" height="77" /></p>
<p>如上图，我搜索的itcha.com域名是pendingdelete状态，还没有完全掉出来，所以不能注册。然后我并没有关闭name.com的这个搜索窗口，去浏览其他页面了，若干分钟后我切换了回来，结果发现：</p>
<p><img class="aligncenter" src="http://ilihai.com/images-2010/name.com-2.gif" alt="name.com second" width="592" height="108" /></p>
<p>突然又变得可以注册了，只不过这个价格是非常不亲民的14.95美元。我完全不明白发生了什么，决定做个实验。关掉当前窗口，再打开name.com后搜索该域名，确实不能注册。等待约半分钟，页面再次返回上图的结果：“xxx.com is available for $14.95.”</p>
<p>之后第二天，我再到name.com搜索该域名，仍旧是unavailable，等半分钟变available，只不过价格变了，从$14.94降到$9.95，估计该域名是被完全删除了吧：</p>
<p><img class="aligncenter" src="http://ilihai.com/images-2010/name.com-3.gif" alt="name.com third" width="425" height="82" /></p>
<p>作了一点调查，出现这种情况的仅限于在name.com注册的、处于pendingdelete状态的域名，由于pendingdelete状态一般会持续五天左右，所以也导致这期间抢注价格的不同，$5为一跳，距离完全删除域名的时间越近越便宜：</p>
<ul>
<li>距离删除24小时内：$9.95；</li>
<li>24～48小时：$14.95；</li>
<li>48～72小时：$19.95；</li>
<li>72～96小时：$24.95；</li>
<li>四天以上：$29.95。</li>
</ul>
<p>抢注还在pendingdelete期间的域名可以保留域名的创建时间，比如文中提到的itcha.com是我在2010年1月5日注册的，现在的whois信息是：</p>
<blockquote><p>Creation Date: 2003-11-24 19:15:25<br />
Expiration Date: 2011-11-24 19:15:25</p></blockquote>
<p>缺点也很明显，有效期只到2011年11月24日，损失了一个多月。但从SEO-er的角度出发，这个价钱买一个年龄长达到八岁的域名还是值得的。</p>
<p>目前尚不清楚其它域名注册商是否有像Name.com这样的域名抢注机制，应该有吧。</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=822&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/name-com-domain-pendingdelete.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JA News中的Category顺序</title>
		<link>http://ilihai.com/ja-news-category-order.html</link>
		<comments>http://ilihai.com/ja-news-category-order.html#comments</comments>
		<pubDate>Wed, 03 Feb 2010 16:26:31 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=826</guid>
		<description><![CDATA[JA News 2在Joomla首页显示Category的时候，是按照ID来排序的，可以修改module源文件实现Category按照我们设置的Order来排序。]]></description>
			<content:encoded><![CDATA[<p>正在搞的一个站点上使用了<a title="Joomlart" href="http://www.joomlart.com/">Joomlart</a>的JA News2 Module。这个Module在Joomla首页上显示Section中Category顺序的时候，是按照Category ID来排序的，即创建分类的时间先后顺序，率先建立的Category在前。但实际上，我们希望按照自己的意愿来排序，比如在Content-&gt;Category Manager中设置Order，但Ja News2并不支持我们的设置，只能修改module源文件。</p>
<p>以我正在使用的JA News II module version 1.0.1为例，编辑 modules/ja_news2/helper.php，第421行，找到：</p>
<blockquote><p>$query = &#8220;SELECT `id`, `title`, `description`, CASE WHEN CHAR_LENGTH(`alias`) THEN CONCAT_WS(\&#8221;:\&#8221;, `id`, `alias`) ELSE `id` END as `slug` FROM `#__categories` s WHERE published = 1 and section=&#8221; . ( int ) $sid . $where;</p></blockquote>
<p>在找到的这行的下面添加一行代码：</p>
<blockquote>
<pre>$query .= " ORDER BY s.ordering ASC";</pre>
</blockquote>
<p>然后到Content-&gt;Category中去设置Order就可以了。</p>
<p><img class="aligncenter" src="http://ilihai.com/images-2010/joomla-category-order.png" alt="Joomla Category Order" width=" 574" height="224" /></p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=826&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/ja-news-category-order.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mercurial的$PYTHONPATH</title>
		<link>http://ilihai.com/mercurial-pythonpath.html</link>
		<comments>http://ilihai.com/mercurial-pythonpath.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 07:40:09 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=815</guid>
		<description><![CDATA[关于Mercurial ' couldn't find mercurial libraries '，找不到$PYTHONPATH的问题，在/home/user/.bashrc中加入export PYTHONPATH.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://ilihai.com/images-2010/Mercurial.gif" alt="Mercurial" width="194" height="234" />受朋友之托，让我帮他看看VPS上的<a title="Mercurial" href="http://mercurial.selenic.com/">Mercurial SCM</a>怎么运行不起来。我本来就属于<a title="Linux" href="http://ilihai.com/category/linux">Linux</a>菜鸟，只是他比我更菜&#8230;</p>
<p>SSH登录他的Linux VPS，输入hg回车，得到：</p>
<blockquote><p>abort: couldn&#8217;t find mercurial libraries in [/usr/local/bin /usr/lib/python24.zip /usr/lib/python2.4 /usr/lib/python2.4/plat-linux2 /usr/lib/python2.4/lib-tk /usr/lib/python2.4/lib-dynload /usr/lib/python2.4/site-packages]<br />
(check your install and PYTHONPATH)</p></blockquote>
<p>这个错误未免也太明显了，都已经告诉我们去检查PYTHONPATH，继续&#8221;echo $PYTHONPATH&#8221;，居然是空白。至于怎么告诉Mercurial哪里是PYTHONPATH，我也不会&#8230;翻文档，根据<a title="Mercurial UnixInstall" href="http://mercurial.selenic.com/wiki/UnixInstall">Mercurial UnixInstall</a>做了一点变通，在/home/user(你叫啥就写啥)/.bashrc中加入一行：</p>
<blockquote>
<pre>export PYTHONPATH=/usr/local/lib/python2.4/site-packages
</pre>
</blockquote>
<p>重登录SSH，搞定。</p>
<p>Mercurial和<a title="Subversion" href="http://subversion.apache.org/">Subversion</a>都属于版本控制系统，Subversion倒是接触过，Mercurial我之前都没听说过，也许以后会用到，那就在这里把$PYTHONPATH这个问题做个存档吧。</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=815&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/mercurial-pythonpath.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla &#8216;JFTP::login: Unable to login&#8217;</title>
		<link>http://ilihai.com/joomla-ftp-setting.html</link>
		<comments>http://ilihai.com/joomla-ftp-setting.html#comments</comments>
		<pubDate>Mon, 25 Jan 2010 17:26:39 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=800</guid>
		<description><![CDATA[在Joomla后台Save Global Configuration的时候出现FTP设置错误：JFTP::login: Unable to login, JFTP::write: Unable to use passive mode. Solved.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Joomla" src="http://ilihai.com/images-2010/Joomla_Logo.png" alt="Joomla Logo" width="250" height="171" />在测试站点上用<a title="Joomla 1.5.15" href="http://www.joomla.org/announcements/release-news/5249-joomla-1515-released.html">Joomla 1.5.15</a>建站，建成后便开始往主站点迁移，迁移很顺畅，表面上一切都很正常，但是在进入后台修改Global Configuration的时候出现了问题，Save Config，得到如下错误信息：</p>
<blockquote><p>* JFTP::login: Unable to login<br />
* JFTP::write: Unable to use passive mode</p></blockquote>
<p></p>
<ul>
<li>第一个反应，Ftp Settings里面帐户或密码错了，几经修改，一个字母一个字母的敲，甚至怀疑键盘上某个键帽卡住了；</li>
<li>Ftp路径错了？从/home到/public_html之间的目录，一层一层的改，没用；</li>
</ul>
<p>拜<a title="Google" href="http://ilihai.com/category/google">Google大神</a>，也没找到什么有用的信息，网上建议：</p>
<ul>
<li>关闭PHP的Safe Mod，我压根就没开过&#8230;</li>
<li>在Global Configuration里把Enable FTP打成No。</li>
</ul>
<p>&#8216;Enable FTP&#8217;打到No以后有点用处，至少能Save Config了，但是以后就不能从后台安装扩展了：</p>
<blockquote><p>* JFTP::login: Unable to login<br />
* JFTP::write: Unable to use passive mode<br />
* Warning! Failed to move file.</p></blockquote>
<p>安装失败，这个是我不能接受的。继续排除问题：</p>
<ul>
<li>sh404sef&#8230;ok；</li>
<li><a title=".htaccess的设置" href="http://ilihai.com/learn-htaccess.html">.htaccess</a>&#8230;fine；</li>
<li>换浏览器&#8230;</li>
<li>重启VPS&#8230;</li>
</ul>
<p>开始抓狂了。</p>
<p>删除主站上所有文件，下载一个全新的Joomla来安装。当安装走到设置FTP那步的时候，Joomla找不到FTP路径。而在同一<a title="Knownhost VPS" href="http://ilihai.com/move-to-knownhost-vps.html">VPS</a>的其它域名上安装时，Joomla却能正确的找到FTP路径。见鬼了，我又从来没有对主站域名进行过什么单独的服务器设置，郁闷开始&#8230;</p>
<p><img class="alignright" title="Joomla FTP设置" src="http://ilihai.com/images-2010/joomla-ftp-settings.gif" alt="Joomla FTP Settings" width="331" height="173" />对着屏幕，看着Joomla Global Configuration页面发呆：</p>
<p>安装Joomla不下二十次了，右图中红线部分的&#8217;127.0.0.1&#8242;我从来就没有修改过，每次都正常运行，难道是它？修改成主站的绝对FTP Host &#8216;ftp.xxxxx.com&#8217;，问题解决&#8230;</p>
<p>这个晚上，三个小时，就和这么不起眼的一个小问题纠缠了，再花三十分钟把它记录在博客上，希望对以后遇到类似Joomla ftp setting问题的朋友有所帮助吧。</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=800&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/joomla-ftp-setting.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>看The Big Bang Theory的起因</title>
		<link>http://ilihai.com/why-seen-the-big-bang-theory.html</link>
		<comments>http://ilihai.com/why-seen-the-big-bang-theory.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 06:17:58 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[电影]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=790</guid>
		<description><![CDATA[我并不是一个美剧迷，但很喜欢看搞笑美剧The Big Bang Theory（中文片名《生活大爆炸》）。开始看TBBT的起因非常的creepy.]]></description>
			<content:encoded><![CDATA[<p>如题，要说起这个起因，还真有点creepy&#8230; just like <em>The Big Bang Theory</em>. Ok, here is the thing:</p>
<blockquote><p>某见过一次面的网友A给我看一个网站，上面把女神<a title="Leah Dizon" href="http://zh.wikipedia.org/zh-cn/%E8%8E%89%E4%BA%9E%C2%B7%E8%BF%AA%E6%A1%91">Leah Dizon</a>放在了非常显眼的header位置，但内容主要讲的是日本文化，当然，我们并没有讨论太多。然后我又把这个网站show给朋友B，一个美剧迷，想让他在美剧之外了解一点日本文化。B说Leah Dizon非常像美剧<em><a title="The Big Bang Theory" href="http://en.wikipedia.org/wiki/The_Big_Bang_Theory">The Big Bang Theory</a></em>（中文片名《生活大爆炸》）中的Penny，所以我就去瞄了一下，结果就花了一个晚上的时间瞄完了第一季&#8230;</p></blockquote>
<p>我对<a title="美剧" href="http://ilihai.com/meiju.html">美剧</a>的评价不是很高，但还是要承认<em>The Big Bang Theory</em>非常搞笑，不过这部美剧对中国人来说受众小了一点：</p>
<ol>
<li>首先要是SF，看过很多美国科幻/奇幻电影，而且要熟悉很多桥段；</li>
<li>有一定的理工科基础，不了解的也要会google it，比如“<a title="薛定谔的猫" href="http://baike.baidu.com/view/1026425.htm">薛定谔的猫</a>”；</li>
<li>会玩游戏，知道wow，halo和那个跳来跳去的水管工；</li>
<li>理解美国式的幽默；</li>
<li>宅。</li>
</ol>
<p>否则就要错过<em>The Big Bang Theory</em>中很多爆笑的场景了，基于上面的理由，我并不打算推荐让我的女朋友看TBBT，否则会很累，要解释的东西太多，跨度太大。比如从<a title="罗伯特·奥本海默" href="http://zh.wikipedia.org/wiki/%E7%BD%97%E4%BC%AF%E7%89%B9%C2%B7%E5%A5%A5%E6%9C%AC%E6%B5%B7%E9%BB%98">罗伯特·奥本海默</a>到<a title="Sarah Connor" href="http://en.wikipedia.org/wiki/Sarah_Connor_%28Terminator%29">Sarah Connor</a>（实际上这两位还是有联系的，奥本海默领导研发的东西几乎毁灭了Sarah Connor所在的世界）；我非常肯定女友知道居里夫人，但她肯定不知道谁是弗多！</p>
<p>Ok，回到主题，看完了<em>The Big Bang Theory</em>的第一季，我也觉得其中的Penny在某些场景有点像某些照片上的Leah Dizon，比如：用线链接她们的嘴和肚脐得到线段L，位于线段L垂直中线上的东西&#8230;</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=790&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/why-seen-the-big-bang-theory.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6 Namoroka</title>
		<link>http://ilihai.com/firefox-36-namoroka.html</link>
		<comments>http://ilihai.com/firefox-36-namoroka.html#comments</comments>
		<pubDate>Mon, 11 Jan 2010 12:48:40 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=774</guid>
		<description><![CDATA[Mozilla发布了Firefox 3.6 RC1，下周会有正式版发布。不过我更推荐Ayakawa build的Firefox，3.6版本开发代号'Namoroka'。]]></description>
			<content:encoded><![CDATA[<p>看到Mozilla发布<a title="Firefox 3.6 RC1" href="http://www.mozilla.com/en-US/firefox/all-rc.html">Firefox 3.6 RC1</a>的新闻，而且若不出意外，还将于下周一发布Firefox 3.6的正式版，我就合计着我的浏览器也该升级了。但是说实话我并不推荐安装Mozilla官方发布的版本，官方版为了稳定和适应尽可能多的PC而缺乏激情，我的选择是<a title="Ayakawa build" href="http://marilab.hp.infoseek.co.jp/buildfx/index_en.html">Ayakawa&#8217;s private build</a>，它针对CPU的SSE2指令集做了优化，更快。如果你的CPU不支持SSE2，那你现在换的不应该是浏览器，而是你的电脑。</p>
<p>Ayakawa build通常会先于Mozilla官方发布新版，比如当前官方稳定版本是Firefox  3.5.7，而Ayakawa这边是Firefox 3.5.8pre。另外，Ayakawa build的Firefox是按照开发代号来命名的，比如Firefox 3.5的时候叫做Shiretoko，现在Firefox 3.6的开发代号是<a title="Firefox Namoroka" href="https://wiki.mozilla.org/Firefox/Namoroka">Namoroka</a>，所以默认安装后浏览器UA是Namoroka/3.6pre，这里最好做一下修改，免得去下载扩展的时候网站无法识别浏览器版本：</p>
<ul>
<li>about:config——搜索general.useragent.extra.firefox，我修改成了Firefox/3.6。</li>
</ul>
<p>Firefox 3.6相对3.5.x在外观上并没有什么变化（至少我没有看出来），那就来看看“内功”上的改进吧。之前的Ayakawa Firefox 3.5.8pre在我的机器上跑<a title="Peacekeeper" href="http://service.futuremark.com/peacekeeper/">Peacekeeper</a>得分是22XX，现在的Namoroka 3.6pre得分是27XX：</p>
<p><img src="http://ilihai.com/images-2010/firefox-36-run-peacekeeper.gif" alt="Firefox 3.6 run peacekeeper" width="249" height="124" /></p>
<p>回过头来看去年3月，还是在我这台电脑上，<a title="Peacekeeper" href="http://ilihai.com/peacekeeper-benchmark-firefox-chrome.html">Firefox 3.0.10跑Peacekeeper</a>不足千分 ，可见这一年来Firefox的进步很大，也许是来自<a title="Google Chrome" href="http://www.google.com/chrome">Google Chrome</a>浏览器的压力吧。当然，浏览器不是用来跑分的，用的称心最重要。</p>
<p>最后，我不大不小也算是一个站长，再补充两句：“国内的IE6众们，我恨死你们了！不要求你们现在开始使用Firefox 3.6，但你们至少应该把IE6更新到<a title="IE7" href="http://www.microsoft.com/downloads/details.aspx?familyid=9AE91EBE-3385-447C-8A30-081805B2F90B&#038;displaylang=zh-cn">IE7</a>。”</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=774&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/firefox-36-namoroka.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>2010. New World. New Start.</title>
		<link>http://ilihai.com/2010-new-world-new-start.html</link>
		<comments>http://ilihai.com/2010-new-world-new-start.html#comments</comments>
		<pubDate>Sat, 02 Jan 2010 06:21:26 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=767</guid>
		<description><![CDATA[2010, new world, new start. 祝自己2010年成功，也祝正在浏览本页的您新年新气象。]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://ilihai.com/images-2010/2010.jpg" alt="2010" width="349" height="232" />有句俗不可耐的话：</p>
<blockquote><p>睡觉睡到自然醒，数钱数到手抽筋。</p></blockquote>
<p>2009年，我实现了前半句，希望在2010年实现后半句。千万不能学紫霞仙子，猜中了开头却猜不中结局&#8230;</p>
<p>2010，这个博客也要改头换面，换下用了一年多的<a title="Wordpress主题" href="http://ilihai.com/wordpress-theme-youya-cheng.html">wordpress主题</a>，以更精致的页面来面对访客。也祝正在浏览本页的您新年新气象。</p>
<blockquote><p>It&#8217;s a new world<br />
It&#8217;s a new start<br />
It&#8217;s alive with the beating of young hearts<br />
It&#8217;s a new day<br />
It&#8217;s a new plan<br />
I&#8217;ve been waiting for you<br />
Here I am</p></blockquote>
<p>以上是<a title="Bryan Adams" href="http://en.wikipedia.org/wiki/Bryan_Adams">Bryan Adams</a>老歌《Here I Am》中的部分歌词，借用来迎接2010吧。</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=767&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/2010-new-world-new-start.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>中信银行信用卡——优客假日舒心活动</title>
		<link>http://ilihai.com/zhongxin-xinyongka-youke-huodong.html</link>
		<comments>http://ilihai.com/zhongxin-xinyongka-youke-huodong.html#comments</comments>
		<pubDate>Sat, 26 Dec 2009 17:20:16 +0000</pubDate>
		<dc:creator>li hai</dc:creator>
				<category><![CDATA[信用卡]]></category>

		<guid isPermaLink="false">http://ilihai.com/?p=750</guid>
		<description><![CDATA[中信银行信用卡推出了一个新颖的优惠——优客假日舒心活动，被选中的持卡人可以延长一个月再还款，而且没有利息和手续费。]]></description>
			<content:encoded><![CDATA[<p>前两天接到中信银行发过来的一条短信，有关信用卡分期的，对这类活动我通常都没有什么兴趣，就没仔细看。1月1日是我中信银行信用卡的最后还款日，今天登陆我的网银，查看欠款金额，准备今天抽空去还了，结果发现未出账单中存在异常出入，数量上正好是我12月份的应还账单金额：</p>
<p><img src="http://ilihai.com/images/优客假日舒心活动.gif" alt="优客假日舒心活动" width="502" height="66" /></p>
<p>才把短信翻出来认真看：</p>
<blockquote><p>尊敬的分期特选客户，迎新年特邀您参与优客假日舒心活动！您的卡末四位为xxxx的12月账单将可享受免费分一期优惠体验。您的最后还款日延期至2月1日（仅此一期）。如不参加，正常还款即可。【中信信用卡】</p></blockquote>
<p>1月1日前不用还款了？中信银行给我的信用卡延长了30天的免息期？这么好的事情掉到我头上了？不敢相信&#8230;登录<a title="中信银行信用卡中心" href="http://bank.ecitic.com/cards/">中信银行信用卡中心</a>，并没有找到有关“优客假日舒心活动”的介绍，还是打电话和客服确认一下比较好&#8230;中信银行客服的答复大意是：并不是所有中信信用卡持卡人都能参加这个活动，是系统选出来并主动调整的，持卡人不能申请，也不用同意，没有利息和手续费，说是分期，其实就是让持卡人晚一期还钱。</p>
<p>中信银行信用卡的这种优惠活动蛮新颖的，其它银行好像还没有这个先例。要是中信能提前通知一声就好了，我好把平时的消费都集中到这张卡上来，或者再免费多分几期就非常完美了~回头看看一年多前写下的，批评<a title="中信银行信用卡" href="http://ilihai.com/zhongxin-xinyongka-kefu.html">中信银行信用卡</a>的文章，hmmm&#8230;那个词怎么说来着？与时俱进吧&#8230;</p>
<img src="http://ilihai.com/?ak_action=api_record_view&id=750&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ilihai.com/zhongxin-xinyongka-youke-huodong.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
