Archive for July, 2005

对芝加哥商品交易所 CIO 的质疑

Friday, July 29th, 2005

手头翻到了中文版的信息周刊的一篇文章,讲 Berkeley DB 应用于芝加哥商品交易所的数据库备份系统中,该所 CIO 说:  "It demonstrates how new technology can be used to support our real-time processing needs," 。

然而, 我们知道 Berkeley DB 实际上是 Unix/Linux 上很早的开源数据库,1997年就发布了 1.85 版本。

或许这位 CIO 在说 Berkeley DB 新的 Java Edition 吧?

不过,到是真的可以测试看看 Bekeley DB 的性能,如果要好于 MySQL 的话,  LAMP 应该叫 PLAB 了。 

Linux 还是 Solaris 10 ?

Friday, July 29th, 2005

这个世界有人说 Linux 比 Solaris 好, 有人说 Solaris 稳定。

看看这篇文章中芝加哥商品交易所和费城证券交易所等几个 CIO 的说法吧, 对于一个从来没有玩过 Linux 的人来说,沉迷于 Solaris 或许是最好的借口了。

当然, 性能是最好的理由。 而不是价格。

降低信息系统的运营成本

Friday, July 29th, 2005

在业务竞争日益激烈的今天,通过加强信息系统的建设来提高效率是很多企业十分关心的话题。然而,怎样有效降低信息系统本身的运营成本这个战术上的问题,恐怕是很多  CIO 未曾深入考虑的问题。

机房的面积,耗电,管理人员等等引起的业务连续性问题(Business Continiuty) 成为信息系统主管夜晚难以入睡的梦魇。

刀片服务器大概是技术上的一个趋势了,通过采用集中的服务器,磁盘的网络存储,一切计算皆可通过一个控制台实施,那是多么美好的生活啊。

相信这样的日子不远了。

用 xCat 作 Linux 集群

Friday, July 29th, 2005

看信息周刊杂志上提到刀片服务器的管理时,讲到 xCat 这个软件, 上网一搜索, 大约的阅读了些文档,手有点痒,感觉应该去做个 Cluster 出来。

网摘还是 黄灾

Tuesday, July 26th, 2005

编者按:恭喜您阅读本 Blog 最热门的帖子。 在阅读本帖子前,推荐您先阅读该文:

性与庸俗救了整个中国互联网

好让您知道我们的门户网站靠什么在贡献流量。 

至于下面的内容无足轻重,但是您可以看看人们在那些搜索引擎上用什么关键字在搜索。 

这就是中国丑恶的互联网现状。 

Please STOP.  (少儿不宜)。
                                          — 添加于2006 初春。 

======================================================
曾经写过批判 365key 的几句话, 今日偶然登陆天极网摘,看到的景象也可谓触目惊心。

点击进入标题为:

就要射了,是个美女喔(图片很黄)

的文章后, 再点击其中的连接,看到的是这张图片:

而在一个名为编辑推荐的栏目看到了这些标题:

少妇卧室激情表演
·妹妹床上功夫一流!!!!!! 搜咔咔娱乐 http://www.sokaka.com - power
·美国某海滩拍摄MM,几乎体无遮拦
·美女洗澡
·酒吧午夜性虐待小姐
·色猫爱看裸体美女 搜咔咔娱乐 http://www.sokaka.com - powered by
·如此美女波霸MM,令你心跳三百下!! 搜咔咔娱乐 http://www.sokaka.com
·漂亮大学女生MM欲做性家教(图片) 性家教
·小乱女私家床上大胆自拍
·少女被女老板下催性药10余次强迫拍黄碟(组图) 搜咔咔娱乐 http://www.sokaka.co
·摩托车车祸MM被偷拍,出了车祸还被偷拍
·湖南美女大学生宿舍玩自拍
·真正的丑女人

我们的媒体一边是在扫黄打非,一边是在制造着似是而非的擦边球。

yesky 也好, 365key 也好, 国家的相关部门应该重视起来了。


英语时文:热钱,升值

Friday, July 22nd, 2005

Bloomberg Columnists Andy Mukherjee .
China Has Revalued Yuan; What Happens Next?: Andy Mukherjee
July 22 (Bloomberg) — If punters end up making money betting on a much stronger yuan than China has so far allowed, they must thank the half-hearted Chinese currency revaluation.
Had the Chinese central bank made a more significant move, at least some speculators would have retreated on a view that Beijing had allowed as much flexibility as it could — for now.
However, with a tiny 2.1 percent change in the yuan from its fixed value of 8.3 to the U.S. dollar and no widening of the 0.3 percent trading band, further revaluations will very likely become self-fulfilling prophecies.
“Speculation in the short run will increase,'’ says New York University economist Nouriel Roubini, “as investors will test the narrow band and China’s willingness to not allow the currency to breach the band.'’
The first change in the yuan’s exchange rate in a decade isn’t going to cool the overheated Chinese economy, nor will it narrow the U.S. trade deficit, or satisfy New York Senator Charles Schumer who wants to slap punitive tariffs on China.
Thus, the diplomatic case and the economic rationale for a stronger yuan are as valid as they were before the revaluation.
Meanwhile, there’s a crack in the door: Now that Beijing has gotten over its reluctance to give up the dollar anchor, it may find further revaluations politically easier to do.
The decision to manage the yuan against a Singapore-style currency basket shows that within China those who favor a market- oriented approach to macroeconomic management are gaining an upper hand in policymaking.
Symbolic Step
Even then, pending more meaningful appreciation, the yuan move is only a symbolic step. It may prove ineffectual in the face of the speculative money that may come rushing into China, straining against the upper end of the yuan’s trading band.
New York University’s Roubini, an economics adviser in President Bill Clinton’s administration, has been a leading critic of China’s currency peg. In a July 16 posting on his Web site, he predicted that, “it’s highly likely that a modest Chinese currency revaluation will occur in the fall of 2005.'’
Yesterday’s modest appreciation is, as Roubini now says, “the beginning of a much larger currency regime change in China and Asia.'’
Sure enough, soon after China announced its decision, Malaysia scrapped the ringgit’s link to the dollar and said it would adopt a managed float. Hong Kong, however, said it would keep its currency pegged to the U.S. dollar.
One-Way Street
China needs to raise interest rates boldly to stamp out overcapacity in industries such as steel and property. It can’t do that as long as its undervalued currency remains a magnet for speculative capital.
By going for a small revaluation, China may have bought a little more time. Soon, however, it may have to act again. For speculators, the yuan remains a one-way street.
To contact the writer of this column:
Andy Mukherjee in Singapore at amukherjee@bloomberg.net.
Last Updated: July 21, 2005 17:57 EDT

如果中国不放松对人民币汇率的控制,美国就对进口自中国的产品加征27.5%的关税

Friday, July 22nd, 2005

参议员查尔斯·舒默(Charles
Schumer)正发誓要向北京施加新的压力,以使其营造一个更加开放的投资环境。这位来自纽约州的民主党参议员说,使中国学会公平竞争是一项长期的任
务。舒默是国会中批评中国的主要人士,他正推动国会通过的一项法案要求,如果中国不放松对人民币汇率的控制,美国就对进口自中国的产品加征27.5%的关


似乎美国人要对 Made in China 的日常使用的那些锅碗瓢盆,那些圣诞礼品,都要增加关税,提高美国人民的经济水平。

回到中国以前对家电产品(彩电,录像机)的高‘额关税。

保守和自由的斗争就是这样进行着的。



互联网卷款第一案和职业经理人的道德

Thursday, July 21st, 2005

中华网大概是目前国内的门户网站里面最落寞的了,究其运营的失败无非就是 CEO 的无能。

这次笔记本频道总监捐款潜逃,说明了这种频道合作的风险。

而经理人的职业道德以外,看来还要考核其其他道德问题。

我的一位同事据说就有 “口德”问题,喜好嘴巴上占便宜,而不能团结同事。

为李开复博士投奔 Google 叫好

Thursday, July 21st, 2005

上次看第一财经频道采访唐骏的一个节目,他讲到离开微软中国总裁投奔盛大的原因是能直接参与盛大的战略规划,而在微软,战略是美国的 Gates 他们制定的。这次李博士投奔 Google 不知道是否也是基于同样的理由,当然李博士对于国家的拳拳之心是完全跃然纸上的。

Google 对于技术之追求恐怕是极致的,无论是数字图书馆,桌面搜索,还是最近的数字地球仪,处处透露出技术领先,技术创新的霸气,因此招用李博士这样的研发人才,聚集智慧是十分明智的。

有的人认为, Google 应该招聘那些商业领袖来负责中国业务,但是无论从历史还是 Google 的实际来看,招聘李博士这样的科学家来负责业务不见得是下策。反而体现了 Google 本来就是技术至上的公司。

类似百度,3721 这些生产流氓软件的公司,其 CEO 能真正把中国业务做好么?很多人都很浮躁,都是吹嘘的成分多。作为一个踏踏实实的科学家,李博士应该会给 Google 的中国业务搜刮到最好的天才。

That’s enough.
That’s money.
That’s business.

从卡系统公司丢失信用卡信息想到的

Thursday, July 21st, 2005

今天有新闻报道卡系统公司被 Visa 运通炒了鱿鱼。卡系统公司没有及时升级 Windows 补丁当然是引起这场全球持卡人人心惶惶事件的直接原因。

但是深入的追究起来,我们为什么不问问卡系统公司为什么没有及时打补丁呢?

更深入的追寻下去,一个重要的问题出现了, 如果卡系统公司这次采用的是 Unix/Linux/BSD 的操作系统,而不是 Windows 呢?

可想而知, 卡系统公司遭受攻击的风险要小很多。为什么?因为 Windows 是全球计算机用户桌面系统最常用的操作系统,也是病毒传染的最主要的平台,也是黑客攻击最主要的平台。那么如果服务器的操作系统也是基于 Windows 平台的话,就等于加大了服务器暴露信息的风险。

国内很多的证券公司都是分很多网段隔离的, 尽管看上去很安全,但是实际上由于在服务器的网段上,服务器相对不连接 Internet ,或者只能向外访问,因此有可能系统管理员不愿意去机房对每台服务器打补丁,这种情况就很容易导致服务器被攻击。

反过来,如果服务器采用 Unix/Linux/BSD 之类的操作系统的话,因为天生就和 Windows 系统就有了隔离,所以被攻击的风险就无形中少了一层。

从金融单位对安全性的高要求来看,在这类操作系统的选型方面,虽然没有对操作系统的安全级别作具体的规定, 但是卡系统的这个案例已经给我们生动的上了一课。

这或许应该引起那些使用 Windows 平台作为重要生产服务器的信息管理人员的高度重视。除非 Windows 服务器和 Windows 客户端在架构上有巨大的差别,否则,采用 Windows 作为服务器的操作系统, 将成为信息主管永远的痛。

抓住 Yahoo 中国 Spiderman 的尾巴

Thursday, July 21st, 2005

Yahoo 中国的 一搜  是我不很欣赏的搜索引擎。 要阻挡他,用 robots.txt 其实找不到标志的关键字。 今天抓住了它的尾巴: 

202.165.102.178

OrgName: Asia Pacific Network Information Centre
OrgID: APNIC
Address: PO Box 2131
City: Milton
StateProv: QLD
PostalCode: 4064
Country: AU

ReferralServer: whois://whois.apnic.net

NetRange: 202.0.0.0 - 203.255.255.255
CIDR: 202.0.0.0/7
NetName: APNIC-CIDR-BLK
NetHandle: NET-202-0-0-0-1
Parent:
NetType: Allocated to APNIC
NameServer: NS1.APNIC.NET
NameServer: NS3.APNIC.NET
NameServer: NS4.APNIC.NET
NameServer: TINNIE.ARIN.NET
NameServer: NS-SEC.RIPE.NET
NameServer: DNS1.TELSTRA.NET
Comment: This IP address range is not registered in the ARIN database.
Comment: For details, refer to the APNIC Whois Database via
Comment: WHOIS.APNIC.NET or http://www.apnic.net/apnic-bin/whois2.pl
Comment: ** IMPORTANT NOTE: APNIC is the Regional Internet Registry
Comment: for the Asia Pacific region. APNIC does not operate networks
Comment: using this IP address range and is not able to investigate
Comment: spam or abuse reports relating to these addresses. For more
Comment: help, refer to http://www.apnic.net/info/faq/abuse
Comment:
RegDate: 1994-04-05
Updated: 2005-05-20

OrgTechHandle: AWC12-ARIN
OrgTechName: APNIC Whois Contact
OrgTechPhone: +61 7 3858 3100
OrgTechEmail: search-apnic-not-arin@apnic.net

# ARIN WHOIS database, last updated 2005-07-14 19:10
# Enter ? for additional hints on searching ARIN’s WHOIS database.

Referred to whois.apnic.net 43
Searching for whois record at whois.apnic.net

% [whois.apnic.net node-1]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html

inetnum: 202.165.96.0 - 202.165.111.255
netname: YAHOO-ASIA-2
descr: Internet Content Provider
country: US
admin-c: YI12-AP
tech-c: YI12-AP
status: ALLOCATED PORTABLE
mnt-by: APNIC-HM
mnt-lower: MAINT-AP-YAHOO-INC
remarks: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
remarks: This object can only be modified by APNIC hostmaster
remarks: If you wish to modify this object details please
remarks: send email to hostmaster@apnic.net with your organisation
remarks: account name in the subject line.
remarks: -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
changed: hm-changed@apnic.net 20040114
changed: hm-changed@apnic.net 20041013
changed: hm-changed@apnic.net 20050311
source: APNIC

route: 202.165.96.0/21
descr: Yahoo China - CNB
country: CN
origin: AS10228
mnt-by: MAINT-AP-YAHOO-INC
changed: kirkw@yahoo-inc.com 20050428
source: APNIC

role: YAHOO INC
address: 701 First Avenue
address: Sunnyvale, CA 94089
country: US
phone: +1 408 349 3300
fax-no: +1 408 349 3301
e-mail: netblockadmin@yahoo-inc.com
trouble: send spam and abuse reports to abuse@yahoo.com
trouble: or visit http://abuse.yahoo.com
admin-c: KW133-AP
tech-c: KW133-AP
nic-hdl: YI12-AP
notify: netops@yahoo-inc.com
mnt-by: MAINT-AP-YAHOO-INC
changed: kirkw@yahoo-inc.com 20050225
source: APNIC

看看百度是怎样让 Web 服务器疯狂的

Thursday, July 21st, 2005

早在2001年的时候,我就提出过防止“度蜘蛛” BaiduSpider 的侵蚀。直到现在四年多过去了, 这个蜘蛛依然危害着互联网,侵占互联网的带宽。 看看下面的一段日志: 

202.108.11.233 - - [21/Jul/2005:14:36:20 +0800] "GET http://nalai.net/content/view/305174/31/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:21 +0800] "GET http://nalai.net/content/view/304951/32/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:23 +0800] "GET http://nalai.net/content/view/306886/27/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:23 +0800] "GET http://nalai.net/content/view/310054/28/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:23 +0800] "GET http://nalai.net/content/view/306963/32/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
61.49.186.145 - - [21/Jul/2005:14:36:24 +0800] "GET http://albertxu.nalai.net/post/1/9124/ HTTP/1.1" 200 197752 "-" "Mozilla/4.0(compatible; MSIE 5.0; Windows 98; DigExt)"
202.108.11.233 - - [21/Jul/2005:14:36:24 +0800] "GET http://nalai.net/content/view/305244/33/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:26 +0800] "GET http://nalai.net/content/view/307014/31/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:26 +0800] "GET http://nalai.net/content/view/306971/32/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:26 +0800] "GET http://nalai.net/content/view/306004/31/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:30 +0800] "GET http://nalai.net/content/view/305282/7/ HTTP/1.1" 403 456 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:30 +0800] "GET http://nalai.net/content/view/306236/33/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:30 +0800] "GET http://nalai.net/content/view/307039/33/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:32 +0800] "GET http://nalai.net/content/view/314483/31/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:32 +0800] "GET http://nalai.net/content/view/306820/32/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:33 +0800] "GET http://nalai.net/content/view/305283/27/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:34 +0800] "GET http://nalai.net/content/view/314486/33/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:34 +0800] "GET http://nalai.net/content/view/306961/30/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
68.142.250.88 - - [21/Jul/2005:14:36:35 +0800] "GET http://oso.nalai.net/print/1/11408/pdf HTTP/1.0" 200 2595 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"
202.108.11.233 - - [21/Jul/2005:14:36:35 +0800] "GET http://nalai.net/content/view/305242/7/ HTTP/1.1" 403 456 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:35 +0800] "GET http://nalai.net/content/view/305839/27/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:37 +0800] "GET http://nalai.net/content/view/306842/33/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:37 +0800] "GET http://nalai.net/content/view/306626/30/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
202.108.11.233 - - [21/Jul/2005:14:36:38 +0800] "GET http://nalai.net/content/view/306814/32/ HTTP/1.1" 403 457 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"

这是一段连续的日志,这里的 403 错误, 是我通过修改 Apache 的配置, 通过识别 User-Agent 来阻止这只蜘蛛愚蠢的行为。

如果你去和百度交涉, 他会说他们的算法是如何优秀,不会这样疯狂的爬网站的,可是, 如果您是 Webmaster ,有时间去关注您的 Web 服务器的日志的话, 我相信您也会在自己的Web 服务器日志看到这样疯狂的行为。 

如果你的服务器是 Unix 的话, 用以下命令即可查看: 

tail -f /var/log/apache/access_log|grep Baiduspider+

这就是百度,the stupid spider crawling the internet in a crazy way.

他要上市圈钱了, 据说也只有 8000 万的规模,我想, if you are investor, and happenly read
this article, please think about carefully before you  buy the
stock of this company.

四年前我就倡议过,消灭度蜘蛛, 而今, 我依然这样倡议。