<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[天空]]></title> 
<link>http://www.xjtuer.com/index.php</link> 
<description><![CDATA[我的天空]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[天空]]></copyright>
<item>
<link>http://www.xjtuer.com/cholesterol-content-table/</link>
<title><![CDATA[食物胆固醇含量表]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[生活点滴]]></category>
<pubDate>Thu, 09 Oct 2008 05:49:25 +0000</pubDate> 
<guid>http://www.xjtuer.com/cholesterol-content-table/</guid> 
<description>
<![CDATA[ 
	食物胆固醇含量表<br/><a href="http://www.xjtuer.com/attachment.php?fid=41" target="_blank"><img src="http://www.xjtuer.com/attachment.php?fid=41" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>该减肥了<br/><br/><br/>Tags - <a href="http://www.xjtuer.com/tags/%25E8%2583%2586%25E5%259B%25BA%25E9%2586%2587/" rel="tag">胆固醇</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/eAccelerator-vhost-and-user-cache/</link>
<title><![CDATA[eAccelerator深入了解之虚拟主机用户级别缓存]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[纯粹技术]]></category>
<pubDate>Thu, 09 Oct 2008 02:20:56 +0000</pubDate> 
<guid>http://www.xjtuer.com/eAccelerator-vhost-and-user-cache/</guid> 
<description>
<![CDATA[ 
	使用eAccelerator有很长一段时间了，也遇到过一些问题，今天查了下手册，记录一下，呵呵<br/><br/>先附上现在的配置文件：<br/><div class="code">extension=&quot;eaccelerator.so&quot;<br/>eaccelerator.shm_size=&quot;128&quot;<br/>eaccelerator.cache_dir=&quot;/tmp/eaccelerator&quot;<br/>eaccelerator.enable=&quot;1&quot;<br/>eaccelerator.optimizer=&quot;1&quot;<br/>eaccelerator.check_mtime=&quot;1&quot;<br/>eaccelerator.debug=&quot;0&quot;<br/>eaccelerator.filter=&quot;&quot;<br/>eaccelerator.shm_max=&quot;0&quot;<br/>eaccelerator.shm_ttl=&quot;0&quot;<br/>eaccelerator.shm_prune_period=&quot;0&quot;<br/>eaccelerator.shm_only=&quot;0&quot;<br/>eaccelerator.compress=&quot;1&quot;<br/>eaccelerator.compress_level=&quot;9&quot;<br/>eaccelerator.allowed_admin_path = &quot;/opt/www/control&quot;</div><br/><br/><br/>问题一：eAccelerator在不同域名下缓存的结果不一样？同一台服务器岂不是浪费内存和mysql了<br/><br/>查看手册，找到参数eaccelerator.name_space<br/>官方文档如下<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">When using the user cache api for storing data in shared memory, all keys are prepended by the hostname used for the current request. This hostname equals the ServerName? set in the vhost section of apache. This is done to avoid duplicate keys between vhosts. Sometimes this behaviour is desired to share data between vhosts. When setting this option this namespace is used to prepend to each key. By default this is set to "" which instructs eAccelerator to use the hostname as namespace. <br/><br/>When setting this in the main PHP configuration file this namespace will be used by all vhosts. This value can also be set in the vhost section or even in a .htaccess file to allow sharing of data between only two vhosts. <br/><br/>eaccelerator.name_space = ""</div></div><br/><br/>这个似乎是解决不同域名不同缓存的关键，哎，俺又有好习惯，key命名的时候都考虑到这个了，呵呵<br/><br/>继续看相关的函数<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">eaccelerator.keys &#124; session &#124; content<br/>These settings control the places eAccelerator may cache user content. Possible values are: <br/><br/>shm_and_disk cache data in shared memory and on disk (default value) <br/>shm cache data in shared memory or on disk if shared memory is full or data size greater then "eaccelerator.shm_max" <br/>shm_only cache data in shared memory <br/>disk_only cache data on disk <br/>none don't cache data <br/>eaccelerator.keys&nbsp;&nbsp;&nbsp;&nbsp; = "shm_and_disk"<br/>eaccelerator.sessions = "shm_and_disk"<br/>eaccelerator.content&nbsp;&nbsp;= "shm_and_disk"</div></div><br/><br/>里面2个名词：user cache&nbsp;&nbsp;user content<br/>暂且可以理解为用户级别的缓存，回头再想缓存不是包括2部分么：<br/>系统级别的缓存：编译后的 PHP 字节码放在内存中，然后下次访问的时候就执行内存中相应文件的字节码并输出给客户端，这些操作都是自动进行的，无需用户进行干预<br/>用户级别的缓存：就是可以在程序中根据实际的需要进行一些变量的缓存操作<br/><br/>ok，这样，在php.ini配置文件里面加上eaccelerator.name_space，收工！<br/>Tags - <a href="http://www.xjtuer.com/tags/eaccelerator/" rel="tag">eaccelerator</a> , <a href="http://www.xjtuer.com/tags/%25E8%2599%259A%25E6%258B%259F%25E4%25B8%25BB%25E6%259C%25BA/" rel="tag">虚拟主机</a> , <a href="http://www.xjtuer.com/tags/%25E7%2594%25A8%25E6%2588%25B7%25E7%25BA%25A7%25E5%2588%25AB%25E7%25BC%2593%25E5%25AD%2598/" rel="tag">用户级别缓存</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/failure-of-the-main-reasons-for-venture/</link>
<title><![CDATA[创业失败主要原因]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Tue, 07 Oct 2008 01:11:14 +0000</pubDate> 
<guid>http://www.xjtuer.com/failure-of-the-main-reasons-for-venture/</guid> 
<description>
<![CDATA[ 
	1） 没有明确的生活目标。<br/>没有奋斗的中心目标或明确的努力主向，就没有成功的希望。<br/>2） 没有非同寻常的雄心抱负。<br/>如果对凡事漠不关心，不想在人生中求发展，不愿付出代价，那么这样的人也将成功无望。<br/>3） 缺乏自律。<br/>纪律来自自我控制，这意味着人必须控制所有的消极思想，只能先控制自己，才能控制环境。自制是人类面对的最艰巨任务，如果无法战胜自我，就会被自我征服。<br/>4） 拖拉。<br/>这是失败最普遍的原因之一，拖拉“老人”存在于每个人心中的阴暗角落，正是因为一直都在等待“适当时机”，才开始做那些值得做的事情，其实时机永远不会“适当”。<br/>5） 缺乏毅力。<br/>不管做什么，大部份人开始时都满怀信心，但却不能善始善终。大部份人一遇到失败就容易放弃。毅力是不可取代的。把毅力当座右铭奉行到底的人，发现失败会自行退下，失败是无法对抗毅力的。<br/>6） 消极的个性。<br/>因为消极的个性，而将别人拒于千里之外者，不会有成功的希望。成功来自力量的运用，而力量又来自与他人的合作，消极的个性无法促成合作。<br/>7） 无法克制“不劳而获”的欲望。这种机体本能使很多人走向失败。<br/>8） 缺乏果断的决策力。<br/>成功的人士会果断决策，然后如果有必要，再慢慢改进。失败者往往花很长时间才能作出决策，但很快就需要修改，而且要频繁修改。犹豫和拖拉是一对双包胎，只要找到其中一个就一定能找到另一个，所以必须趁它们没有将你完全束缚在失败的车轮上，果断地把它们消灭。<br/>9） 过度谨慎。<br/>不主动抓住机会的人往往只能捡别人挑剩的机会，过度谨慎和不够谨慎都不可取，人生本来就充满偶然成分。<br/>10） 迷信与偏见。<br/>迷信是恐惧的一种形式，也是无知的表现，成功人士心胸宽广，无所畏惧。<br/>11） 目标不专。<br/>“万事通，万事松”，要全心全意专注于一个主要目标。<br/>12） 缺乏热情。<br/>没有热情，一个人就没有说服力，而且热情有一种感染力，一个人如果拥有热情，并能适当控制热情，往往会受到人们的欢迎。<br/>13） 偏执。<br/>心胸狭窄很难取得任何进步，偏执说明一个人不积极获取知识。<br/>14） 蓄意不忠。<br/>诚实是一种不可替代的品质，受无法控制的环境所迫，一个人可能一时不忠诚，也不会带来永久的破坏。但是，如果一个人蓄意不忠，则无药可救。他的得行为迟早会被发现，他负出的代价可能是失去信誉，甚至失去自由。<br/>15） 自私和虚荣。<br/>这些品质问题好比亮起红灯，让人不敢靠近，是妨碍成功的致命因素。<br/>16） 猜测而不思考。<br/>多数人往往漫不经心或者过于懒惰，不愿费心获取用于准确思考的事实。他们喜欢根据猜测或仓促得出的“结论”了事。<br/>观念改变人生！选择决定未来！行动决定成败！<br/>Tags - <a href="http://www.xjtuer.com/tags/%25E5%2588%259B%25E4%25B8%259A/" rel="tag">创业</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/txt2html/</link>
<title><![CDATA[用PHP脚本自动把纯文本文件转换成Web页面]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Tue, 07 Oct 2008 01:08:04 +0000</pubDate> 
<guid>http://www.xjtuer.com/txt2html/</guid> 
<description>
<![CDATA[ 
	最近，我的一个老朋友向我打电话求助。他从事记者的职业有多年了，最近获得了重新出版他的很多早期专栏的权利。他希望把他的作品贴在Web上；但是他的专栏都是以纯文本文件的形式保存的，而且他既没有时间也不想去为了把它们转换成为Web页面而学习HTML的知识。由于我是他电话本里唯一一个精通计算机的人，所以他打电话给我看我是否能够帮帮他。<br/>“让我来处理吧，”我说：“一个小时以后再给我打电话。”当然了，当他几个小时以后打电话过来，我已经为他准备好了解决的方法。这需要用到一点点PHP，而我收获了他没完没了的感谢和一箱红酒。<br/>那么我在这一个小时里做了些什么呢？这就是本篇文章的内容。我将告诉你如何使用PHP来快速将纯ASCII文本完美地转换成为可读的HTML标记。<br/>首先让我们来看一个我朋友希望转换的纯文本文件的例子：<br/>Green for Mars!<br/>John R. Doe<br/>The idea of little green men from Mars, long a staple of science fiction, may soon turn out to be less fantasy and more fact.<br/>Recent samples sent by the latest Mars exploration team indicate a high presence of chlorophyll in the atmosphere. Chlorophyll, you will recall, is what makes plants green. It's quite likely, therefore, that organisms on Mars will have, through continued exposure to the green stuff, developed a greenish tinge on their outer exoskeleton.<br/>An interview with Dr. Rushel Bunter, the head of ASDA's Mars Colonization Project blah blah...<br/>What does this mean for you? Well, it means blah blahblah...<br/>Track follow-ups to this story online at http://www.mars-connect.dom/. To see pictures of the latest samples, log on to http://www.asdamcp.dom/galleries/220/<br/>相当标准的文本：它有一个标题、一个署名和很多段的文字。把这篇文档转换成为HTML真正需要做的是使用HTML的分行和分段标记把原文的布局保留在Web页面上。特殊的标点符号需要被转换成为对应的HTML符号，超链接需要变得可以点击。<br/>下面的PHP代码（列表A）就会完成上面所有的任务：<br/><div class="code">&lt;?php<br/>// set source file name and path<br/><br/>$source = &quot;toi200686.txt&quot;;<br/><br/>// read raw text as array<br/><br/>$raw = file($source) or die(&quot;Cannot read file&quot;);<br/><br/>// retrieve first and second lines (title and author)<br/><br/>$slug = array_shift($raw);<br/>$byline = array_shift($raw);<br/><br/>// join remaining data into string<br/><br/>$data = join(&#039;&#039;, $raw);<br/><br/>// replace special characters with HTML entities<br/><br/>// replace line breaks with &lt;br /&gt;<br/><br/>$html = nl2br(htmlspecialchars($data));<br/><br/>// replace multiple spaces with single spaces<br/><br/>$html = preg_replace(&#039;/ss+/&#039;, &#039; &#039;, $html);<br/><br/>// replace URLs with &lt;a href...&gt; elements<br/><br/>$html = preg_replace(&#039;/s(w+://)(S+)/&#039;, &#039; &lt;a href=&quot;12&quot; target=&quot;_blank&quot;&gt;12&lt;/a&gt;&#039;, $html);<br/><br/>// start building output page<br/><br/>// add page header<br/><br/>$output =&lt;&lt;&lt; HEADER<br/>&lt;html&gt;<br/>&lt;head&gt;<br/>&lt;style&gt;<br/>.slug &#123;font-size: 15pt; font-weight: bold&#125;<br/>.byline &#123; font-style: italic &#125;<br/>&lt;/style&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>HEADER;<br/>// add page content<br/><br/>$output .= &quot;&lt;div class=&#039;slug&#039;&gt;$slug&lt;/div&gt;&quot;;<br/>$output .= &quot;&lt;div class=&#039;byline&#039;&gt;By $byline&lt;/div&gt;&lt;p /&gt;&quot;;<br/>$output .= &quot;&lt;div&gt;$html&lt;/div&gt;&quot;;<br/><br/>// add page footer<br/><br/>$output .=&lt;&lt;&lt; FOOTER<br/>&lt;/body&gt;<br/>&lt;/html&gt;<br/>FOOTER;<br/>// display in browser<br/><br/>echo $output;<br/><br/>// AND/OR <br/><br/><br/>// write output to a new .html file<br/><br/>file_put_contents(basename($source, substr($source, strpos($source, &#039;.&#039;))) . &quot;.html&quot;, $output) or die(&quot;Cannot write file&quot;);<br/>?&gt;</div><br/>让我们来看看它是如何工作的：<br/><br/>第一步是把纯ASCII文件读取到一个PHP数组里。这通过file()函数很容易就可以完成，这个函数会把文件的每一行都转换成为一个用数字索引的数组中的元素。 <br/>然后，标题和作者行（我假设这两个都是文件的前两行）都通过array_shift()函数从数组里提取出来，放到单独的变量里。数组剩下的成员然后被连接成一个字符串。这个字符串现在就包括了整篇文章的正文。 <br/>文章正文里像“'”、“<”和“>”这样的特殊符号通过htmlspecialchars()函数被转换成相应的HTML符号。为了保留文章的原始格式，分行和分段通过nl2br()函数被转换成HTML的<br />元素。文章中间多个空格通过简单的字符串替换被压缩成为一个空格。 <br/>文章正文里的URL用正则表达式来检测，两边是<a href=...></a>元素。当页面在Web浏览器里显示的时候，它会把URL转换成为可点击的超链接。 <br/>然后用标准的HTML规则创建输出的HTML页面。文章的标题、作者和正文都用CSS样式规则格式化。尽管这段脚本没有这样做，但是你可以在这个地方自定义最终页面的外观，你可以向模板添加图形元素、颜色或者其他眩目的内容。 <br/>一旦HTML页面构建完成，它就可以被送到浏览器或者用file_put_contents()保存为静态文件。要注意的是，在保存的时候，原来的文件名会被分解，一个新的文件名（叫做filename.html）会为新创建的Web页面创建。你然后就可以把这个Web页面发布到Web服务器上、保存到光盘上或者对它进行进一步编辑。 <br/>注意：在使用这个脚本创建和保存HTML文件到磁盘的时候，你要确保这个脚本对文件保存的目录有写权限。<br/><br/>正如你看到的，假如你有标准格式的ASCII纯文本数据文件，你可以相当迅速用PHP把它转换成为可使用的Web页面。如果你已经有了一个Web网站，并计划把新的Web页面加入进来，那么调试页面生成器所使用的模板，使之适应原有Web网站的外观是相当容易的。你自己试试看！<br/><br/>Tags - <a href="http://www.xjtuer.com/tags/txt/" rel="tag">txt</a> , <a href="http://www.xjtuer.com/tags/html/" rel="tag">html</a> , <a href="http://www.xjtuer.com/tags/php/" rel="tag">php</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/sort-in-database-applications/</link>
<title><![CDATA[排序应该在数据库还是在应用程序中进行？]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Sun, 21 Sep 2008 15:38:47 +0000</pubDate> 
<guid>http://www.xjtuer.com/sort-in-database-applications/</guid> 
<description>
<![CDATA[ 
	此文首发在 InfoQ 中文站。作者：明灵(dragon) , Fenng .<br/><br/>在网站开发中，究竟是在数据库（DB）中排序好，还是在应用程序中排序更优，这一直是个很有趣的话题。DBANotes.net博主，在数据库方面比较有研究的冯大辉就这一问题日前和读者明灵（Dragon）做了探讨，本文是关于该问题的总结。<br/><br/>问：请列出在PHP中执行排序要优于在MySQL中排序的原因？<br/><br/>答：通常来说，执行效率需要考虑CPU、内存和硬盘等的负载情况，假定MySQL服务器和PHP的服务器都已经按照最适合的方式来配置，那么系统的可伸缩性（Scalability）和用户感知性能（User-perceived Performance）是我们追求的主要目标。在实际运行中，MySQL中数据往往以HASHtables、BTREE等方式存贮于内存，操作速度很快；同时INDEX已经进行了一些预排序；很多应用中，MySQL排序是首选。而在应用层（PHP）中排序，也必然在内存中进行，与MySQL相比具有如下优势：<br/><br/>考虑整个网站的可伸缩性和整体性能，在应用层（PHP）中排序明显会降低数据库的负载，从而提升整个网站的扩展能力。而数据库的排序，实际上成本是非常高的，消耗内存、CPU，如果并发的排序很多，DB很容易到瓶颈。<br/>如果在应用层(PHP)和MySQL之间还存在数据中间层，合理利用的话，PHP会有更好的收益。<br/>PHP在内存中的数据结构专门针对具体应用来设计，比数据库更为简洁、高效；<br/>PHP不用考虑数据灾难恢复问题，可以减少这部分的操作损耗；<br/>PHP不存在表的锁定问题；<br/>MySQL中排序，请求和结果返回还需要通过网络连接来进行，而PHP中排序之后就可以直接返回了，减少了网络IO。<br/>至于执行速度，差异应该不会很大，除非应用设计有问题，造成大量不必要的网络IO。另外，应用层要注意PHP的Cache设置，如果超出会报告内部错误；此时要根据应用做好评估，或者调整Cache。具体选择，将取决于具体的应用。<br/><br/>问：请提供一些必须在MySQL中排序的实例？<br/><br/>答：在PHP中执行排序更优的情况举例如下：<br/><br/>数据源不在MySQL中，存在硬盘、内存或者来自网络的请求等；<br/>数据存在MySQL中，量不大，而且没有相应的索引，此时把数据取出来用PHP排序更快；<br/>数据源来自于多个MySQL服务器，此时从多个MySQL中取出数据，然后在PHP中排序更快；<br/>除了MySQL之外，存在其他数据源，比如硬盘、内存或者来自网络的请求等，此时不适合把这些数据存入MySQL后再排序。<br/>必须在MySQL中排序的实例如下：<br/><br/>MySQL中已经存在这个排序的索引；<br/>MySQL中数据量较大，而结果集需要其中很小的一个子集，比如1000000行数据，取TOP10；<br/>对于一次排序、多次调用的情况，比如统计聚合的情形，可以提供给不同的服务使用，那么在MySQL中排序是首选的。另外，对于数据深度挖掘，通常做法是在应用层做完排序等复杂操作，把结果存入MySQL即可，便于多次使用。<br/>不论数据源来自哪里，当数据量大到一定的规模后，由于占用内存/Cache的关系，不再适合PHP中排序了；此时把数据复制、导入或者存在MySQL，并用INDEX优化，是优于PHP的。不过，用Java，甚至C++来处理这类操作会更好。<br/>从网站整体考虑，就必须加入人力和成本的考虑。假如网站规模和负载较小，而人力有限（人数和能力都可能有限），此时在应用层（PHP）做排序要做不少开发和调试工作，耗费时间，得不偿失；不如在DB中处理，简单快速。对于大规模的网站，电力、服务器的费用很高，在系统架构上精打细算，可以节约大量的费用，是公司持续发展之必要；此时如果能在应用层(PHP)进行排序并满足业务需求，尽量在应用层进行。<br/><br/>Tags - <a href="http://www.xjtuer.com/tags/%25E6%258E%2592%25E5%25BA%258F/" rel="tag">排序</a> , <a href="http://www.xjtuer.com/tags/%25E6%2595%25B0%25E6%258D%25AE%25E5%25BA%2593/" rel="tag">数据库</a> , <a href="http://www.xjtuer.com/tags/%25E5%25BA%2594%25E7%2594%25A8%25E7%25A8%258B%25E5%25BA%258F/" rel="tag">应用程序</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/mobilephone-seven-weapons/</link>
<title><![CDATA[未来手机必备的“七种武器”]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Sun, 21 Sep 2008 14:19:01 +0000</pubDate> 
<guid>http://www.xjtuer.com/mobilephone-seven-weapons/</guid> 
<description>
<![CDATA[ 
	<br/>自从十年前谷歌创立以来，互联网已经给全世界人们的生活带来了巨大的影响。它已经改变了政治、娱乐、文化、商业、医疗、环境等诸多方面以及几乎每个你所能想到的领域。这促使我们思考：未来的十年内将发生什么？这种惊人的技术将如何演进？我们将如何适应互联网，而且（更重要的是）互联网将如何适应我们？怀着这些问题，我们询问了十个资深的专家，并将在9月（在我们创立10周年的月份）发表他们的回答。就像计算机科学专家Alan Kay的名言所说的那样，最好的预测未来的方法就是去创造它，因此我们每天都将尽我们的最大努力，逐步实现专家们的预言。<br/><br/>全世界目前有大约32手机用户，而且在未来几年内，这个数字还将至少增加10亿。如今，手机已经变得比汽车（全世界登记的汽车大约为8亿辆）和信用卡（只有14亿张）还要普遍。在固定电话的普及上，我们用了100年的时间才使80％以上的国家用上固定电话，而手机做到这一点只用了16年。越来越少的青少年佩戴手表，因为他们现在都用手机来看时间。因此我们现在可以大胆地宣称手机是有史以来最普及的消费者产品。<br/><br/>不过，你有没有考虑过这些手机的性能到底有多强？你放在口袋、背包或者手提袋里面的手机的性能很可能要比8年前或9年前放在桌面上的个人电脑还要强10倍（假设你有一台个人电脑；大部分的手机用户没有个人电脑）。手机所拥有的一系列传感器几乎堪比火星探测器。一个仅具备基本功能的手机就拥有：时钟，电源传感器（显示电池用量），温度计（因为电池在低温下的充电效果不好），测光表（决定是否开启屏幕背光灯）；而更高级的手机还拥有：位置传感器，加速计（监测运动方向的矢量与速度），甚至还可能有指南针。最重要的是，所有这些传感器始终都是互相连接的。<br/><br/>我们来看看未来十年内的趋势。你可能将一周七天，一天24小时都携带着手机（中国移动最近的一项研究显示，大部分手机用户在睡觉的时候都把手机放在距离一米以内的地方），而这些手机的功能非常强大，始终保持连接，并充满各种传感器。而且更酷的是，你身边的每个人都是如此。那么，除了你现在已经利用的功能外，你还将利用这些手机来做什么呢？下面是几种可能：<br/><br/>智能提醒<br/><br/>你的手机将时刻洞悉你目前的状况，并在需要的时候提醒你。现在就已经是如此了——eBay可以在你投标失败的时候给你发提示信息，而提示服务（比如谷歌新闻）可以为你提供新闻、运动、或股票方面的最新信息。未来，这些应用程序将更加智能化，更加迎合你的个人偏好（将被存储在网络云里），并在你需要的时候才发送所需的信息。一个非常有用的应用情景：你的手机知道你正在前往市中心用晚饭，它将提醒你交通状况以及哪里停车最方便。<br/><br/><br/>增强现实（Augmented reality）<br/><br/>你的手机会利用它的传感器来了解你状况，并为你提供有用的信息。例如，你站在橱窗前，心里想知道里面的小狗价格。你的手机马上就会通过GPS和指南针了解到你正在看这只小狗。在你甚至还没问这个问题之前，手机就会告诉你答案了。此外，还会告诉你它的食物和最佳训练方式。<br/><br/>众包（Crowd Sourcing）主流化<br/><br/>你的手机就是你的万能传声筒。通过手机，你可以发布图片、电子邮件、文本、Twitter（一种多对多互联网短信群发平台）信息以及博客文章等。如果所有人都这么做，那么世界上每个角落的人都可以实时分享他们的经历。大量的信息内容以一种全新且有趣的方式被归档、分类并重新发布给其他人。你可以在网上询问在附近最好玩的地方，并在手机上浏览其他人的评价和他们所上传的图片。如果你很有兴趣，那么你的手机就会告诉你如何前往那里。<br/><br/>（腾讯科技注：众包的特征是由非专业开发人员的普通群体配合进行开发）<br/><br/>无处不在的传感器<br/><br/>你的手机能够获取周围情况的大量信息。如果你获取该信息，并将它和云里面的所有其他手机的信息结合起来，那么你就会看到不可思议的世界动态实景。气象信息的更新将不再根据数百个传感器，而是根据数亿个传感器。交通信息的报道将不再仅仅根据直升飞机的观察和道路传感器，而是根据交通阻塞区域的手机（以及人）的密度、速度和方向来作出判断。<br/><br/>个人发展的工具<br/><br/>你的手机不仅能够方便你的生活，它还可以为你带来收入。对于世界上的许多人来说，这已经成为现实：在印度南部，渔民们通过短信来发现最好的市场，以便出售他们今日的产品；甘蔗农场主们可以收到建议性的短信来决定作物灌溉量；在撒哈拉以南的非洲，拥有手机的企业家变成了手机运营商，为他们所在的城镇提供通信服务。未来，随着手机成为经济发展的重要推动力，这些创新只会不断增加。<br/><br/>与时俱进的设备<br/><br/>就像现在的互联网一样，你的手机将更加开放，这样开发人员就可以更加方便地开发或改进应用程序和内容。你可以将你所关心的应用程序自动地安装在你的手机上。比如说，你的手机上有个软件，该软件可以改善电源管理（从而增加电池寿命）。如果有一个开发人员对该软件进行了改进。那么你不用动一根手指头，这个更新就会自动安装在你的手机上。随着时间推移，你的手机将越来越好。<br/><br/>信任与验证提高软件安全性<br/><br/>你的手机将提供工具和信息来帮助你决定下载哪些内容，浏览哪些信息，共享哪些数据。在一个互联的世界里，信任是至关重要的，而你的手机将帮助你控制好你的信息。你可以选择不共享任何信息（缺省模式），或者只同特定人员——你所信任的朋友圈子和家庭成员——共享特定信息。你将根据你从服务提供商和软件提供者那里所得到的信息以及社区的集体评级来进行做出这些决定。你的手机会像忠心耿耿的仆人一样：它知道你的许多信息，但是如果没有你的同意，它将不会透露任何信息。<br/><br/>Tags - <a href="http://www.xjtuer.com/tags/%25E6%2589%258B%25E6%259C%25BA/" rel="tag">手机</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/web-site-revision-2008-top-10/</link>
<title><![CDATA[2008年10佳改版网站(组图)]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Sun, 21 Sep 2008 13:36:44 +0000</pubDate> 
<guid>http://www.xjtuer.com/web-site-revision-2008-top-10/</guid> 
<description>
<![CDATA[ 
	<span style="font-size: 14px; line-height: 22px; font-family: simsun" class="Apple-style-span"><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px"><span style="font-family: 楷体_GB2312">　　导语：国外媒体今天发表分析文章称，目前点评&ldquo;2008年10佳改版网站&rdquo;也许为时尚早，但2008年毕竟已经过去了9个多月，周四又同时有Twitter和FriendFeed两家网站改版，因此当前也算是评选&ldquo;2008年10佳改版网站&rdquo;恰当时机。而且，入围网站也具有较强的代表性。</span></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　到目前为止，入围&ldquo;2008年10佳改版网站&rdquo;的分别为Twitter、Facebook、FriendFeed、雅虎、MySpace、Digg、MobileMe、LinkedIn、Delicious和Last.fm。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　此外，CNET、Engadget、《华尔街日报》网络版、TechCrunch、CenterNetworks、Mashable、Bebo、Revision3和coCommen等网站也进行了改变，用户反馈也不错。以下为2008年10佳改版网站，排名不分先后：</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>1. Twitter</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i1.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F1070DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　Twitter的改版并不是很激进，与原版页面出入不大。主要变化在于两方面：一是简化界面，二是减少网页所加载资源。最显著的变化是标签上的变化，新版页面把顶部的标签转移到右部。这有利于用户访问，更重要的是，这是出于投资需要。将来，Twitter准备添加更多标签，而顶部空间已经明显不足。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>2. Facebook</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i2.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3303DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　Facebook新页面把聊天与应用开始工具栏相结合，更重要的是，添加内容，对内容进行分类变得更容易。新页面还充分考虑到了宽屏趋势，充分利用两侧多出的空间。对于Facebook而言，此次改版是最激进的一次，因此也遭到了部分用户的反对。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>3. FriendFeed</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i3.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3304DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　新版FriendFeed页面的最大变化是将导航标签从顶部移到左侧，充分利用了宽屏优势。更重要的是，在增加新功能的同时，页面内容没有丝毫挤压感。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>4. 雅虎</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i0.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3305DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　雅虎此次大胆改版削减了一些冗余内容，添加了一些类似于My Yahoo服务的实用功能。更重要的是，用户可以对很多内容进行定制，甚至面向第三方互联网应用开放。例如，在屏幕右侧添加Netflix等电影网站链接。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>5. MySpace</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i1.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3306DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　MySpace于6月中旬进行了改版，改版后的新页面更加整洁，且突出了用户创作内容。更重要的是，新页面增加了新的搜索、编辑器和播放器等实用工具。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px"></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>6. Digg / Digg mobile</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i2.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3307DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)(2)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　在保留核心服务的基础上，Digg和Digg移动版对原版页面进行了改善。新版页面增加了推荐引擎，确保用户以最快速度找到感兴趣的内容。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>7. MobileMe (原.Mac)</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i2.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3442DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)(2)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　新的MobileMe Web电子邮件服务更加现代化，陈旧的.Mac平台被一些基于云计算的Web应用所取代，并与多种设备同步。其中，最大的变化之一是增加了日程安排、文件和联系人信息管理工具等。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>8. LinkedIn</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i3.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3443DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)(2)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　LinkedIn于今年2月改版，改版幅度不大，但增加了一些实用服务。与旧版Facebook页面有些相似，LinkedIn把工具条和标签都转移到了左侧。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>9. Delicious</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i0.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3444DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)(2)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　Delicious于7月进行大幅改版，新版页面与旧版完全不同，几乎每一处都经过重新设计，标签管理功能得到极大强化。此外，Delicious的域名也从del.icio.us直接改为delicious.com，在很大程度上方便了用户访问。</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<strong>10. Last.fm</strong></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　<img style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: #000000; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px" src="http://i1.sinaimg.cn/IT/images/2008-09-21/U2162P2T78D13920F3445DT20080921110320.jpg" border="0" alt="2008年10佳改版网站(组图)(2)" /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-style: initial; border-color: initial; font-size: 14px; line-height: 164.28%; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; border-width: 0px">　　7月中旬，音乐社交网站Last.fm进行了彻底改版，无需同步和共享当前音乐数据库，只需提供乐队名称，用户即可获得音乐家推荐。</p><p></p></span><br/>Tags - <a href="http://www.xjtuer.com/tags/%25E6%2594%25B9%25E7%2589%2588/" rel="tag">改版</a> , <a href="http://www.xjtuer.com/tags/%25E7%25BD%2591%25E7%25AB%2599/" rel="tag">网站</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/spore/</link>
<title><![CDATA[震撼！《孢子》让我重新拿起iphone玩游戏]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[生活点滴]]></category>
<pubDate>Tue, 09 Sep 2008 00:44:47 +0000</pubDate> 
<guid>http://www.xjtuer.com/spore/</guid> 
<description>
<![CDATA[ 
	老婆送了psp后很少用iphone玩游戏了，毕竟小i和小p玩游戏还是有差距的，呵呵，等待了数日（ea原先说的是9月7号提供，不过之前提供的是pc版的），终于今天早上，起床下载到了ea创意大作《孢子》，哈哈<br/><br/>下面是来自ea官方的一些资料<br/><br/>《孢子》来自Will Wright，《模拟人生》系列的创始人的想象力，这段史诗式的旅程将带你从生命的起源和发展开始，经历文明与技术的发展，最终踏上进入遥远宇宙空间之路。<br/><br/><a href="http://www.xjtuer.com/attachment.php?fid=40" target="_blank"><img src="http://www.xjtuer.com/attachment.php?fid=40" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>特色：<br/>完全控制你的生物的命运，引导它度过六个进化阶段：<br/><br/>海洋阶段： 与其他生物进行竞争，吸收他们以调整你的生物形态。这是在显微镜下争夺生存权的时期。<br/><br/>生物阶段： 冒险登上陆地并教会你的生物如何在你的安全天堂以外的世界中生存发展。草食还是肉食动物？群居或是独居？决定在于你。<br/><br/>部落阶段： 你将不再继续控制一个单独生物个体，而是控制一个由你创造的生物组成的完整部落。你可以交给他们工具并指导他们的互动，逐步让他们发展进化。<br/><br/>城市阶段： 将你的生物种族带入黄金时代，为他们发展技术，进行建设，完成他们的城市。<br/><br/>文明阶段： 当你的城市建立后，你的生物将开始寻找机会与其他文明接触。你可以让他们以战争或是和平的方式这样做，最终目标是让你的种族统治这个星球。<br/><br/>太空阶段： 是时候迁移到你的星系中的其他天体了。进行快速联系、殖民或是整体迁居，然后进一步在辽阔的宇宙中寻找其他恒星系。新的“任务”模式将伴随你在宇宙中扩张发展。<br/>Tags - <a href="http://www.xjtuer.com/tags/spore/" rel="tag">spore</a> , <a href="http://www.xjtuer.com/tags/ea/" rel="tag">ea</a> , <a href="http://www.xjtuer.com/tags/iphone/" rel="tag">iphone</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/google-chrome-shortcuts/</link>
<title><![CDATA[Google Chrome 键盘快捷键大全]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Sun, 07 Sep 2008 07:37:19 +0000</pubDate> 
<guid>http://www.xjtuer.com/google-chrome-shortcuts/</guid> 
<description>
<![CDATA[ 
	以下是整理的Google Chrome,键盘快捷键大全,Chrome为网页浏览设置了许多快捷键,许多复杂的鼠标操作可以用键盘轻松完成.<br/>合理地使用快捷键可以让你的操作事半功倍.<br/><br/><br/>　　窗口和标签页快捷方式 Ctrl+N 打开新窗口 <br/>按住 Ctrl‎ 键，然后点击链接 在新标签页中打开链接 <br/>按住 Shift 键，然后点击链接 在新窗口中打开链接 <br/>Alt+F4 关闭当前窗口 <br/>Ctrl+T 打开新标签页 <br/>Ctrl+Shift+T 重新打开上次关闭的标签页。 谷歌浏览器可记住您关闭的最后 10 个标签页。 <br/>将链接拖动到标签页内 在指定标签页中打开链接 <br/>将链接拖动到两个标签页之间 在新标签页横条上的指定位置打开链接 <br/>Ctrl+1 到 Ctrl+8 切换到指定位置编号的标签页。 您按下的数字代表标签页横条上的位置。 <br/>Ctrl+9 切换到最后一个标签页 <br/>Ctrl+Tab 切换到下一个标签页 <br/>Ctrl+Shift+Tab 切换到上一个标签页 <br/>Ctrl+W 或 Ctrl+F4 关闭当前标签页或弹出式窗口 <br/>地址栏快捷方式在地址栏，进行下列操作之一： 键入搜索字词 使用默认搜索引擎进行搜索 <br/>键入网址中"www."和 ".com"之间的部分，然后按 Ctrl+Enter 为您在地址栏中输入的内容添加"www."和".com"，然后打开网址 <br/>键入搜索引擎关键字或网址，按Tab 键，然后键入搜索字词 使用与关键字或网址相关联的搜索引擎进行搜索 如果谷歌浏览器可以识别您要使用的搜索引擎，将会提示您按 Tab 键。 <br/>F6 或 Ctrl+L 突出显示网址区域中的内容 <br/>输入网址，然后按 Alt+Enter 在新标签页中打开网址 <br/><br/>打开谷歌浏览器功能的快捷方式 Ctrl+B 打开和关闭书签栏 <br/>Ctrl+H 查看历史记录页 <br/>Ctrl+J 查看下载页 <br/>Shift+Escape 查看任务管理器 <br/>Shift+Alt+T 将键盘焦点设置在谷歌浏览器工具栏上。 使用键盘上的向右和向左箭头，导航至工具栏的不同区域。 <br/><br/>网页快捷方式 Ctrl+P 打印当前页 <br/>F5 重新加载当前页 <br/>Ctrl+F5 或 Shift+F5 重新加载当前页，但忽略缓存内容 <br/>按住 Alt 键，然后点击链接 下载链接 <br/>Ctrl+F 打开"在网页上查找"框 <br/>Ctrl+G 或 F3 查找与您在"在网页上查找"框中输入的内容相匹配的下一个匹配项 <br/>Ctrl+Shift+G 或 Shift+F3 查找与您在"在网页上查找"框中输入的内容相匹配的上一个匹配项 <br/>Ctrl+U 查看源代码 <br/>将链接拖动到书签栏 将链接加入书签 <br/>Ctrl+D 将当前网页加入书签 <br/>Ctrl++ 放大文字 <br/>Ctrl+- 缩小文字 <br/>Ctrl+0 还原到正常文字大小 <br/><br/>文字快捷方式 突出显示内容，然后按 Ctrl+C 将内容复制到剪贴板 <br/>将光标置于文字字段中，然后按 Ctrl+V 从剪贴板粘贴当前内容 <br/>将光标置于文字字段中，然后按 Ctrl+Shift+V 从剪贴板粘贴当前内容的纯文字部分 <br/>突出显示文字字段的内容，然后按 Ctrl+X 删除内容 <br/><br/>Tags - <a href="http://www.xjtuer.com/tags/chrome/" rel="tag">chrome</a>
]]>
</description>
</item><item>
<link>http://www.xjtuer.com/apache-keepalive/</link>
<title><![CDATA[Apache 中 KeepAlive 配置的合理使用]]></title> 
<author>langyufeng &lt;admin@yourname.com&gt;</author>
<category><![CDATA[拿来主义]]></category>
<pubDate>Mon, 18 Aug 2008 09:04:09 +0000</pubDate> 
<guid>http://www.xjtuer.com/apache-keepalive/</guid> 
<description>
<![CDATA[ 
	　　在 Apache 服务器中，KeepAlive 是一个布尔值，On 代表打开，Off 代表关闭，这个指令在其他众多的 HTTPD 服务器中都是存在的。<br/><br/>　　KeepAlive 配置指令决定当处理完用户发起的 HTTP 请求后是否立即关闭 TCP 连接，如果 KeepAlive 设置为 On，那么用户完成一次访问后，不会立即断开连接，如果还有请求，那么会继续在这一次 TCP 连接中完成，而不用重复建立新的 TCP 连接和关闭 TCP 连接，可以提高用户访问速度。<br/><br/>　　那么我们考虑3种情况：<br/>　　1。用户浏览一个网页时，除了网页本身外，还引用了多个 javascript. 文件，多个 css 文件，多个图片文件，并且这些文件都在同一个 HTTP 服务器上。<br/>　　2。用户浏览一个网页时，除了网页本身外，还引用一个 javascript. 文件，一个图片文件。<br/>　　3。用户浏览的是一个动态网页，由程序即时生成内容，并且不引用其他内容。<br/><br/>　　对于上面3中情况，我认为：1 最适合打开 KeepAlive ，2 随意，3 最适合关闭 KeepAlive<br/><br/>　　下面我来分析一下原因。<br/><br/>　　在 Apache 中，打开和关闭 KeepAlive 功能，服务器端会有什么异同呢？<br/><br/>　　先看看理论分析。<br/><br/>　　打开 KeepAlive 后，意味着每次用户完成全部访问后，都要保持一定时间后才关闭会关闭 TCP 连接，那么在关闭连接之前，必然会有一个 Apache 进程对应于该用户而不能处理其他用户，假设 KeepAlive 的超时时间为 10 秒种，服务器每秒处理 50 个独立用户访问，那么系统中 Apache 的总进程数就是 10 * 50 ＝ 500 个，如果一个进程占用 4M 内存，那么总共会消耗 2G 内存，所以可以看出，在这种配置中，相当消耗内存，但好处是系统只处理了 50次 TCP 的握手和关闭操作。<br/><br/>　　如果关闭 KeepAlive，如果还是每秒50个用户访问，如果用户每次连续的请求数为3个，那么 Apache 的总进程数就是 50 * 3 = 150 个，如果还是每个进程占用 4M 内存，那么总的内存消耗为 600M，这种配置能节省大量内存，但是，系统处理了 150 次 TCP 的握手和关闭的操作，因此又会多消耗一些 CPU 资源。<br/><br/>　　在看看实践的观察。<br/><br/>　　我在一组大量处理动态网页内容的服务器中，起初打开 KeepAlive 功能，经常观察到用户访问量大时Apache进程数也非常多，系统频繁使用交换内存，系统不稳定，有时负载会出现较大波动。关闭了 KeepAlive 功能后，看到明显的变化是： Apache 的进程数减少了，空闲内存增加了，用于文件系统Cache的内存也增加了，CPU 的开销增加了，但是服务更稳定了，系统负载也比较稳定，很少有负载大范围波动的情况，负载有一定程度的降低；变化不明显的是：访问量较少的时候，系统平均负载没有明显变化。<br/><br/>=============================================================================　　总结一下：<br/>　　在内存非常充足的服务器上，不管是否关闭 KeepAlive 功能，服务器性能不会有明显变化；<br/>　　如果服务器内存较少，或者服务器有非常大量的文件系统访问时，或者主要处理动态网页服务，<br/>&nbsp;&nbsp;&nbsp;&nbsp;关闭 KeepAlive 后可以节省很多内存，而节省出来的内存用于文件系统Cache，可以提高文件系统访问的性能，并且系统会更加稳定。<br/>=============================================================================<br/>Tags - <a href="http://www.xjtuer.com/tags/apache/" rel="tag">apache</a> , <a href="http://www.xjtuer.com/tags/keepalive/" rel="tag">keepalive</a>
]]>
</description>
</item>
</channel>
</rss>