2007-02-27

Show Us the Code: An Open Letter to Steve Ballmer

We're requesting anyone involved in the Linux communities & companies to stand up & demand that Ballmer show the world where Linux violates MS's IP. This is a challenge & when answered, Linux devs will be able to modify the code so it remains "free" software. If such code doesn't exist, the bluff will be called & many companies can rest soundly.



read more | digg story
From: http://linux.solidot.org/article.pl?sid=07/02/25/0218236&from=rss
这是一次真正的挑战,Showusthecode.com,正如名字所言,在一封公开信中,它请求Linux世界中的每一位技术领袖,对Linux进行投资的众多公司,一起来反抗和要求Steve Ballme拿出证据,向世界展示Linux在哪些地方侵犯了微软的知识产权。自从Novell-Microsoft进行合作以来,他数次声称Linux侵犯了微软的知识产权。如果微软回复了这次挑战——截至日期5月1日——拿出了证据,那么Linux开发者们将修改这些代码以便使其仍然成为一款自由(free)软件。如果代码根本就不存在,我们会告你诽谤,微软是个骗子。如果这次挑战吸引了很多人的注意,但鲍尔默先生却始终保持沉默,那么Linux开源社区和开发公司会认为是默认了,微软确实是个骗子。


参见: http://showusthecode.com/

2007-02-17

看过好几个版本的come sweet death的MTV,包括原版和粉丝制作的,还是觉得这个版本最好,比较嚣张的字幕应用,片尾那堆追加的杂音似乎更嚣张,不过很符合EVA以及这首歌的感觉。

值此新春佳节,把这首歌献给大家。

http://www.youtube.com/watch?v=9IHkhEIFGCk





2007-02-11

a trap I met today

the following code:


vector<int> a;
// init a
for(int i = 0; i < a.size()-1; i+=2) {
// do something;
}


will crash if a is empty, because a.size() return a size_t, which is unsigned, then a.size()-1 is a very large unsigned value. it should be changed to:


vector<int> a;
// init a
for(int i = 0; i+1 < a.size(); i+=2) {
// do something;
}


P.S. I does not consider a.size() > 2G, at least it will not happen in this program.

2007-02-09

topcoder yellow!

第15轮,终于变黄了,不容易啊。

http://www.topcoder.com/tc?module=MemberProfile&cr=20557476
if you want to rediscover the web, please install following extensions:

现在的维基百科访问方法

1. 英文直接访问,不过由于无法下载CSS,所以界面有点丑陋,不过可用
2. 中文
2a. 用tor访问,速度相当慢,不稳定
2b. 手机版的维基百科 http://zh.wikipedia.7val.com/ ,可以用,不过界面太窄了,而且无法编辑 (应该是一个编码的bug)
2c. 申请港澳通行证,去香港上网

相关网页:
[1] http://www.douban.com/group/zhwikipedia/
[2] http://groups.google.com/group/zh_wikipedia

我的网络:
SZUC-CN (应该是教育网和电信的混合线路)