月度归档:2007年11月

苦其心志

  小时候总能听见大人训斥那么一句话“东西可以乱吃,话不可以乱说”,所谓祸从口出,长大后渐渐明白了这些道理。写错字的后果有时候和说错话的后果一样严重,简单到一个签名,仅仅两三个字,却可能让你倾家荡产。

随风飘荡

  两年前的农历生日我二十五时,本以为终于可以结束北飘的生活了。一篇题为“I have a house of my own”的 Blog
记录了我的这一过程。只是事与愿违,一切都将退回原点。好在天无绝人之路,朋友说经历过了,对人生的领悟会不同。看山还是山,看水还是水,与没经历过之前只看到山水之表面,是截然不同的境界。

无题时

  书中自有黄金屋,书中自有颜如玉。十年以前,我经常抱着电脑工具书、人物传记书,从书里掌握了很多电脑知识,也从书里学到了很多为人之道。后来在电脑前痴狂了,渐渐改变了阅读习惯,多看些互联网的新鲜事,却少接触了很多书本。还记得五年前,我在出租屋的墙上,贴着那么一张纸,上面写着:“每天至少看一章书,相信一定有所收获”,还有一句是“学习如逆水行舟,不进则退”。再后来我的习惯又发生了一些改变,一边上网,一边还习惯了“打开电视看电影”,总把电视切在
CCTV6
电影频道上,深夜人静时,前方的电视声陪伴着我渡过了一个又一个凌晨。现在我决定再次培养一种好习惯,当我大脑无题想打开电视时,我应该抱起一本书。

N/A

  • 当“感情”遇上“金钱”时竟变成了“魔鬼”
  • 最大的“赢家”在某种环境下可能是“输家”

Google支持Firefox比自己做浏览器更划算

  Google 支持 Mozilla Firefox
项目,除了支付大笔大笔的搜索分成之外,还曾经用 Adsense 力推
Firefox,在此之前 Adsense 渠道只有上下文及搜索两种服务,使用
Adsense 推广见效后,才又使用同等手段推广自己的 Picasa
产品,由此可见 Firefox 对 Google
搜索市场份额影响的重要性及其之间的厉害关系。

  若 Google 真的做了 GBrowser
要付出的代价远不只这些搜索分成之类的费用,这样省掉多少人员成本、硬件成本,与微软直面竞争的风险等,交给一切反微软组织联合起来对抗,何乐不为?况且
Firefox 推广的越开、用户越多,意味着 Google
的搜索市场份额更高,更不可能轻易动摇。

  至于 Firefox 能生存下来,全赖 Mozilla
基金会那些背后的那一家家像 Google 般仇恨 Microsoft
的世界级企业的支持。这种背后有着千丝万搂利益关系组成的势力联盟,建立起一个强悍的反微软组织。

  其实相对于
Microsoft,有这样的组织存在,反而能让自己更加有危机感,不见得是件坏事,Internet
Explorer 7.0
也是在这种恶劣的环境下才诞生的,你的竞争对手也是你的“战友”。

  不论是 IE 还是 FF
的开发者们,大家各为其主,做好自己的产品,让对方也睡不好觉去吧!

TUX

http://people.redhat.com/~mingo/TUX-patches/

http://www.redhat.com/docs/manuals/tux/

TUX is a kernel-based web server licensed
under the GNU General Public License (GPL).
It is currently limited to serving static web pages and
coordinating with kernel-space modules, user-space modules, and
regular user-space web server daemons to provide dynamic content.
Regular user-space web servers do not need to be altered in any way
for TUX to coordinate with them. However, user-space code has to
use a new interface based on the tux(2) system call.
Although dynamic content is becoming increasingly popular, there is
still a need to serve static content. For example, nearly all
images are static. TUX can serve static content very efficiently
from within the Linux kernel. A similar operation is already
performed by the Network File System (NFS) daemon that runs in the
kernel.
TUX also has the ability to cache dynamic content. TUX modules
(which can be build in kernel space or in user space; user space is
recommended) can create “objects” which are stored using the page
cache. To respond to a request for dynamic data, a TUX module can
send a mix of dynamically-generated data and cached pre-generated
objects, taking maximal advantage of TUX’s zero-copy
architecture.
This new architecture for serving dynamic content requires a new
API. The current API’s for CGI can not be sufficiently mapped to
TUX’s API. Thus, existing CGI applications must be converted before
TUX will process them. If the CGI application does not require the
increased speed of TUX, TUX can process it by running the CGI
application normally. This is done through TUX’s CGI module. TUX
can also handle a complex request (CGI or otherwise) by redirecting
it to another web server daemon such as Apache. In other words,
static content, TUX modules, old-style CGI applications, and
programs specifically written for other webservers can be run on
the same system with TUX as the main web server.