![]() |
|
Spaces home biggates难得更新的网页ProfileFriendsBlogMore ![]() | ![]() |
|
7/28/2008 校内网 BT 的用户协议我们都知道很多用户协议其实都是霸王条款,但是大家往往都没有仔细研究。今天突然心血来潮,想考察一下著名的SNS的用户协议。那么,就从本人深恶痛绝的校内网开刀吧!
注意后面还有这个:
因此,如果哪天有人整容以后没有及时更新自己的头像,可能会被封停帐号哦……
再来看这个:
第(4)的意思:如果有第四方、第五方以及第N方,其中任意一方愿意“与第N+1方合作,向用户提供相关的网络服务”(垃圾邮件也算是相关的网络服务吧……)并同意承担与校内网同等的责任,那么都能获得用户在校内网上的注册资料(注意这些都是真实、有效和及时的资料)。 第(5)的意思是校内网可以在透露“多于一个”的用户的隐私资料的前提下,对用户数据库进行商业上的利用。
典型的强X广告吧……
看完隐私制度,你有什么感觉?我觉得“千橡公司认为必要的其他情况下”这句太XX了……
如果由于用户的帖子,校内网被GFW了,那么用户将承担所有赔偿责任……
用户在校内网上发表的一切东西都失去了版权……并且后面还有这个:
“与内容有关的派生产品”,很强大……
囧,估计南山法院给了千橡很大提示……
最后当然没有忘了这条:
不过还有这么一句,很和谐……
PS: 在校内网的隐私声明中还有这个:
根据这个声明,只要发现用户“违反了服务条款或其他使用规定”(其他使用规定,这个也很XX啊),就可以把用户的个人资料信息出租或出售给任何第三方。 7/8/2008 IELTS口语考官常见170问1. What’s your name?Xiaoyu Guo 2. Does your name have any special meaning?3. Where were you come from?4. What kind of landscape surrounds your hometown?5. What is the main crop in your hometown?6. What is the difference between Beijing and your hometown?7. What are the main places of interest in your hometown?8. What is the climate like in your hometown?9. What is the character of the people like in the region where you live?10. What are the differences in accent between the people of your hometown and Beijing?11. What is people’s favorite food in your region?12. How do you make dumplings?13. What do you do during the Spring Festival?14. Why is the Spring Festival so important to Chinese people?15. Can you describe one of the main festivals celebrated in your country?16. Tell me something about the Lantern Festival.17. Tell me something about the Qing Ming Festival.18. Tell me something about the customs of your country.19. How long have you lived in Beijing?20. What is the weather like in Beijing?21. How do you compare the climate in Beijing with that in your hometown?22. What place in Beijing do you like best? Why ?23. Which is the worst place you"ve been to China?24. Which is the best place you"ve been to China?25. What places in Beijing should a foreigner visit? Why?26. What are the major social problems in Beijing? How can they be solved?27. What is the biggest problem China faces?28. What places in Beijing should a foreigner visit? Why?29. Could you tell me something about your family?30. Have you any children?-- 31. What is your child’s name? Does his name have a meaning?-- 32. What does your wife/husband do?-- 33. When did you get married?-- 34. Describe your wedding.-- 35. How have weddings changed in recent years?36. Are there any special customs about wedding in your region?37. Describe a traditional wedding ceremony.38. Where did you go for your honeymoon?-- 39. Did you have to ask for permission from your parents before you got married?-- 40. Is it acceptable for couples to live together without marrying?41. Where do you think a newly couple should live? Living with their parents or on their own?42. What responsibilities should a couple take?43. How do Chinese usually celebrate birthdays?44. Are there any traditions concerning the birth of a baby?45. What kind of parent do you intend to be?46. What do you think of One-Child Policy in China?47. Why do people in China traditionally want to have a son?48. What difficulties do Chinese farmers have concerning their old age?49. What do you think needs to be done in order to relieve the farmer"s worries?50. What hope or fears do you have for your children?51. What sort of culture do you hope your child will grow up in?52. Are you going to bring up your child differently from the way you were brought up? How?53. Do you enjoy shopping?54. Who does most of the shopping in your family?55. What are you good at cooking? What is your favorite dish?56. Who does most of cooking in your family?57. Is there *** discrimination in China?58. How do you sum up women"s conditions in China?59. What are the causes of *** discrimination?60. Should government pay certain salaries to those housewives? Why or why not?61. Would you want your wife to continue with her career or to stay at home taking care of the household after you get married?62. Have you ever wished to be one of the opposite ***? Why (why not)?63. What would you do if your next-door neighbour were noisy nearly all the time?64. Do you have a lot of friend?65. What does friendship mean to you? What kind of people do you make friend with?66. What is your major?67. How do you like your major?68. When and where did you graduate? What qualifications have you obtained?69. Do you still remember your school days?70. What impressed you most when you were at university?71. Which is the best university in your country?72. Could you sum up your own study habits in a few points?73. What do you think of the practice of setting up key schools in primary and secondary school education in China?74. Do you think the subjects you are studying today are relevant to present-day society? Why ?75. What do you think education should be? Should it be a process of learning what is useful for your future life or should it be simply learning for enjoyment? Why?76. What do you do for a living?77. What do you do in the office every day?78. Since your job seems too professional to me, could you explain it in detail?79. What are your job prospects?80. If you had the opportunity to change your job, what would you do with it?81. Do you have any ambitious?82. Will any possible future changes affect your job in any way?83. What are your spare time interests?84. How do you spend your weekends?85. What is your favorite sport? What are the rules?86. What is the most popular sport in your country?87. What are the sporting facilities like in your university/Beijing?88. What do you know about Qigong? Do you believe in Qigong?89. What do you do in your spare time?90. Do you often read newspapers? If not, why ones do you read?91. What do you think of computer?92. Do you think computer has changed our life so much?93. Do you often go to the cinema/theatre?94. What kind of films do you like best?95. Do you often watch TV? What is your favorite program?96. Do you think watching TV too much is a waste of time?97. What kind of music do you enjoy?98. Who is your favorite film star? Will you describe him/her to me?99. Do you enjoy travelling?100. Where have you been travelling to? Which place interested you most?101. Do you smoking?102. Do you think smoking is a problem that needs special attention and has to be solved? If so, why?103. What do you know about ABC?104. What problem do you think you will have in ABC?105. How will you overcome the difficulties?106. Do you think you will be able to cope with English-demands of your intended study program in ABC?107. What difficulties do you think you’ll encounter in your studies in ABC?108. Can you imagine what life in Britain/Canada/Australia/London, etc. would be like?109. How will you fare in Britain/Canada/Australia, etc. without your family?110. What do you intend to study?111. Which university are you going to study at?112. Why did you choose this university?113. Where are you going to study in ABC?114. What are you plans in ABC?115. What is your research proposal all about?116. What do you hope for most from your study abroad?117. Will your study abroad help your job prospects after come back to China?118. Should you study more theory or do more practice? Give your reasons, please.119. What kind of differences in the cultures are you expecting between China and the ABC?120. How will your study in Britain benefit your work in China when you come back to China?121. What do you intend to do after you finish studying?122. What will be your main problem when you are study in a foreign country?123. What problem can you foresee in the future when you come back to China?124. Will there be any adjustment problems in your life when you come back to China? If so, what are they?125. Will you have to make any changes in your work/life when you come back to China?126. Do you think there will be a gap between your knowledge gained in China and the level of knowledge you are going to encounter on arrival? If so, what will it be?127. What do you think of the future of China keeps an open policy?128. What do you regard as the most significant events in your country’s recent history?129. Are there any special places you want to see in Canada? What are they?130. What do you especially want to do in Canada?131. How do you like your life in ABC University?132. What do you think of the training in the university?133. In what way do you think university training is helpful or falls short?134. What aspect of English do you find the most difficult?135. Do you find American English easier to understand than Britain English?136. What sports are played in your country?137. Could you describe the traditional architecture of your country?138. What role dose religion play in everyday life in your country?139. What would you regard as the most significant events in your country"s recent history?140. How aware do you think people are nowadays about environmental issues?141. Could you tell me why you chose to study at the university of ABC?142. What role dose tourism play in your country"s economy?143. How serious is unemployment in your country?144. In your opinion, what are the most serious problems associated with modern life?145. What do you think have been the most important changes in your field over the past 5 years?146. What are you going to major in ?147. Are you going to do your own cooking when you are at university?148. Some local students feel that overseas students get preferential treatment. What is your opinion?149. Do you think you will be able to cope with the English-language demands of your intended program?150. What do you think are the main causes of road accidents?151. Do you think the government is doing enough to prevent road accidents?152. As there are more and more private cars, what do you think the government should do in order to encourage citizens to use public transport?153. How do you see yourself in ten years’ time?154. Have you ever thought to have your own business?155. What business do you hope to have?156. Do you know about any policies about opening a business abroad?157. What are your plans for your future?158. Why do you think there are more and more people leaving to immigrate to other countries?159. Is it good for China that so many people are going to other countries?160. Will your life change a lot after you immigrate to ABC?161. What will you do if you are ill abroad?162. Do you know what to do in case of emergency?163. What will do if you cannot find a job in ABC?164. Why do you want to immigrate to ABC?165. What will you do after the IELTS test?166. What will do if you fail the IELTS test?167. What’s your dream job?168. How long have you been learning English?169. What troubles you most at the moment?170. Does your family support your decision on going ABC? What help do they offer?1/14/2008 来自 TIOBE 的 2007 年度总结以下是来自 TIOBE 的 2007 年度语言总结。Python 荣获 "2007年度最佳语言" 称号。 Python 荣获 "年度最佳程序设计语言" 称号。虽然评分差距不大,但是最后 Python 还是以 2.04% 的评分年增长率夺得头筹。与 C# 等语言不同,似乎没有什么显而易见的原因导致 Python 能获得如此巨大的进步。12月份, Python 有史以来第一次超过了 Perl ,这意味着 Python 已经成为系统级的 "标准"。而事实上,Python 也成为了系统管理员和编译经理们的最爱。对于 Python 来说,由于 Python 3 即将发布,2008 年又将迎来一次新的飞跃。 从 2007 年的数据我们可以发现一些有趣的现象:首先,不具备自动垃圾收集机制的语言正在迅速地衰落,以 C / C++ 最为显著(二者差不多都下跌了 2%)。其次,虽然表面上风平浪静,脚本语言之间的竞争也越来越激烈:新的脚本语言不断涌现。2006年 Ruby 进入了我们的视线;2007年 Lua 紧随其后;现在 Groovy 和 Factor 这些新生儿也进入了前 50 。所谓 "长江后浪推前浪,前浪死在沙滩上",并没有一种脚本语言能够长久地占领鳌头。 2007 年进步最大的语言:Lua 从 46 上升到 16; Groovy 从 66 上升到 31; Focus 从 78 上升到 41, 还有 Factor 从无名小卒晋升到了 45 名。 同样,也有失意者:ABAP 从 15 名下跌到 29,IDL 从 23 名跌到了 48。 在 2007 年初,TIOBE 作出了这样的预言:
C# 的确非常成功,Perl 也的确失败了。然而 D 语言 和 Delphi 的预言则完全错误:D 语言一点动静都没有,而 Delphi 仍然停留在前 10 名。
C 和 C++ 将由于缺乏自动垃圾收集机制而继续衰退,尤其是在 Microsoft 不再主动支持 C++ 的情况下,C++ 会获得更坏的影响。Perl 现在似乎已经没什么悬念了。Java 和 C# 在 2007 年做的非常好,相信 2008 年将会继续保持强劲的势头。至于其他可能进入前 20 的语言,现在还很难进行预测,不过 TIOBE 看好 ActionScript 和 Groovy 。 12/17/2007 将svnserve架设的Subversion服务器加入Windows服务中由于没有适合Apache 2.2.6的Subversion版本,一直使用svnserve.exe作为Subversion服务器。使用的时候都要先开启svnserve -d -r "路径" 这个批处理文件,而且一直有一个DOS窗口开着,很烦。 今天查了一下svnserve的参数,发现一个 --service 模式。进行资料查询以后,成功将其加入Windows的服务之中。 具体方法:使用命令行输入以下命令: sc create svnserve binpath= "\"F:\Program Files\Subversion\bin\svnserve.exe\" --service -r 路径" displayname= "Subversion" depend= tcpip start= auto 该命令将在Windows服务中增加一条名为"Subversion"的服务。手动将其启动(或重启之后也将启动),即可正常使用。 此后,svnserve将一直处于启动的状态。
详细内容,可以参考http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt 12/15/2007 从已有的数据库生成建立数据库的SQL语句在调试的时候不断地修改数据库的设计,最后需要根据修改好的数据库建立install.php文件。 使用MySQL自带的mysqldump.exe即可完成该功能。 mysqldump -c -d -uuser -ppassword TeleWeb >test.txt 之后对test.txt进行少量的修改即可 注:mysqldump的参数很多,这里不再列出。 参见:
12/8/2007 php调用dll经验小结最近做一个网站,需要频繁使用远程数据,数据接口已经做好。在做转换的时候遇到了性能上的问题:开始打算用php来实现转换,苦苦查了数天,都没有找到直接操作字节的方法。虽然可以使用 pack() 方法将各个数据压入结构中,但是在解压的时候却不能通过 unpack() 简单的解出来,需要通过 //php code for( $i = 0; $i < $length; $i+=2 ){ $tempstr = $tempstr.chr( hexdec(substr($array["data"], $i, 2)) ); } $array["data"] = $tempstr; 这类方法进行解码。频繁的使用各种字符串操作,无疑将对性能造成很大的影响。经过研究,发现有以下方法可以实现对字节的操作:
由于网上找不到相关的文档(其实是没好好找),stream和socket先后被PASS掉了。为了编译COM的dll,还专门下载了VC++ 6.0(为啥不装2005?硬盘太小,装不下,没办法啊)。经过无穷无尽的Google(全是php调用VB写的dll的信息,没多大帮助)和编译/调试,终于成功的把结果传递到php中。
几点疑问
参考资料
11/16/2007 计算机语言正向多元化发展再次回到 TIOBE 的语言排名,结合8月份的比较可以看出,这三个月来,C(-3.23%)和C++(-2.30%)的下降速度明显增大,而Ruby(+1.37%)和D(+1.02%)语言以1.02%的增幅继续保持着良好的上升。Lua(+0.66%)涨势减缓,而Perl(-1.49%)和SAS(-1.08%)则显出了跌落的趋势。Basic(+0.76%)和Python(+0.59%)开始抬头,微软在其中起到的作用不可忽视。 从整体来看,Java虽然从21.77%下降到了20.54%,但仍然保持着独大的局面。而前20的语言所占的总数从93.66%下降到了91.65%,也从一个侧面反映了计算机语言正在向多样化的方向发展。
11/15/2007 MySpace.cn:面试11/14/2007 MySpace.cn:新的征途(?)下午参加了 MySpace 的笔试,晚上就接到了面试通知。话说选择题的判卷效率还真的不是一般的高啊…… 下午2点举行的宣讲会邀请到 MySpace 中国CEO 罗川(也是 MSN 中国区的前CEO)进行宣传,不过等到我从公交车上挤下来,然后挤到熙熙攘攘的图书馆,宣讲已经进入尾声。我只来得及赶上一句“已经网投过的同学可以离场了”,就被半赶半挤地'请'出来了…… 笔试由50道选择题,2道算法题和3道简答题构成。搞笑的是监考的工作人员居然特别强调不许作弊,以及不许使用手机(哪年的传统啊)。于是在第一时间判断出题目很简单。果然,选择题忽略,依然是考IQ;算法题只要求将给定的C风格字符串反转(哪年的题啊……),以及说明 nth_element()的用法(这个当年恶补STL的时候好好的看过)。简答题则分别考察了 Web 2.0 、RSS 以及 Web Service 的概念和个人的理解。恰好都在我的知识覆盖领域之内,于是……水过。 今年 MySpace 在中国四所城市进行校园招聘。经过网投,受邀参加陕西地区 .NET 开发工程师 笔试的人只有7名,加上现场投递简历的人员(一般来说会有研究生,及'霸王试'的人员),本应有十余人参加笔试。然而真正坐下来进行考试的却只有2人。教室里的大部分人不知 .NET 为何物,而集中在全国只招15名的C++开发部门。答最后一题时,工作人员好心地提醒我还有一面题(当然,我已经做完那一面了,嘎嘎);开考1小时,把检查过两遍(居然检查出一道错题)的试卷交了(我的一贯风格),然后在一教室人的各种目光的注视下扬长而去…… PS:为了坐免费的校车回新校区,之后参加了恒生电子股份有限公司(杭州一金融IT行业)的宣讲会,并也得到了笔试的邀请。话说宣讲会这东西不能参加,参加了以后就有想投简历的冲动…… 作为 Web 2.0 时代的成功网站代表(2005年 MySpace 被新闻集团以5.8亿美元的价格收购,因此也成为了互联网小团队成功创业的代表),MySpace 在欧美市场获得了相当大的成功,注册用户已逾两亿,年广告收入约5.25亿美元,Alexa 排名达到第6。然而要进军中国市场,还有很多需要改善的地方。相对于欧美,中国大陆的互联网应用人群非常集中,因此通过校园活动(音乐会等)所进行的宣传无疑是正确(而且成功)的,但是 MySpace 意图通过社区和音乐作为特色进行用户笼络,则是一大败笔(MSN 的失败一定程度上也是因为这一点)。 国内成熟的社区有很多,天涯(得到 Google 注资)、猫扑(被收购到千豫旗下)等著名社区均通过并购的方式获得了大笔进行商业运作的资金,以校内网 为代表的 2.0 时代SNS更是通过收购而一举成名(进而达到一发而不可收拾的地步)。通过模仿腾讯进行的网络营销模式似乎永远都没有赔钱的。然而,Chinaren、5416等传统SNS的淡出,以及 MSN 和 Yahoo! 在中国市场的惨败(相对于其国际市场上的成功)也在时刻提醒着我们:互联网泡沫仍然存在。正如俗话所说:投资有风险,入'网' 需谨慎。 回到本文的标题,无论是 MySpace 在中国的发展前景,还是我个人是否进入这一领域,都还是一个未知数。因此在'新的征途'之后,加上了一个不大不小的问号。 11/12/2007 Git --- The stupid content trackerGit --- The stupid content tracker, 傻瓜内容跟踪器。Linus 是这样给我们介绍 Git 的。 Git 是用于 Linux 内核开发的版本控制工具。与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版本库的方式,不必服务器端软件支持,使源代码的发布和交流极其方便。 Git 的速度很快,这对于诸如 Linux kernel 这样的大项目来说自然很重要。 Git 最为出色的是它的合并跟踪(merge tracing)能力。 实际上内核开发团队决定开始开发和使用 Git 来作为内核开发的版本控制系统的时候,世界开源社群的反对声音不少,最大的理由是 Git 太艰涩难懂,从 Git 的内部工作机制来说,的确是这样。但是随着开发的深入,Git 的正常使用都由一些友好的脚本命令来执行,使 Git 变得非常好用,即使是用来管理我们自己的开发项目,Git 都是一个友好,有力的工具。现在,越来越多的著名项目采用 Git 来管理项目开发,例如:wine, U-boot 等,详情看 http://www.kernel.org/git 作为开源自由原教旨主义项目,Git 没有对版本库的浏览和修改做任何的权限限制。它只适用于 Linux / Unix 平台,没有 Windows 版本,目前也没有这样的开发计划。 以上来自http://www.bitsun.com/documents/gittutorcn.htm。对Git的认识来自本月的《程序员》杂志。 Git提供了和CVS及SVN的无缝集成,可以方便的把现有的CVS和SVN版本控制系统转换到Git,同时仍然可以通过原有的CVS/SVN来访问Git(这个好强)。 作为一款分布式的版本控制系统,Git的最大好处就是避免了SVN中的‘分支’功能经常出现的分支混乱问题。在SVN中,如果我们创建一个分支,那么分支和主发行库之间并没有任何关系,并且如果在分支和主发行库之间进行合并,将会出现很多复杂的问题。这一点在wowace的SVN维护中,就已经频繁地出现了。 另外,Git非常适合像 Linux Kernel 这样的开发组织形式高度分散,严重依赖 email 来进行交流的项目。不过,Git目前仍然没有Windows下的开发计划(也许Linus本人就不准备这么做?呵呵),这的确很妨碍我们来试用它。 据称,MingGW Git和TortoiseGit正在开发中,这为Git进入Windows有着很大的意义。不过,Git以及它所倡导的分布式软件开发模式在中国会得到多大的发展,还是个未知数。 10/16/2007 Fly Light : lighttpdSecurity, speed, compliance, and flexibility -- all of these describe lighttpd (pron. lighty) which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the perfect solution for every server that is suffering load problems. And best of all it's Open Source licensed under the revised BSD license. lighttpd 的最新版是1.4.18,正在逐渐蚕食Apache的市场。作为YouTube、wikipedia和meebo的服务器程序,lighttppd使用很少的CPU资源就达到了很高的性能。据称,在某些应用中,甚至达到了数倍的效率。 根据lighttpd提供的传输量为100MBytes的性能分析,得到以下结论: 在100kByte的文件传输中,lighttpd仅比Apache高出一点点:
但是在10MByte的文件传输中,lighttpd就比Apache高出不少了:
当然,如果仅仅处理小规模的数据查询,还是传统一点的Apache比较熟悉。然而无疑的,作为服务器程序,lighttpd为我们提供了一条扩展服务性能的新道路。 8/20/2007 C# now fastest moving languageTIOBE 编程社区8月份的语言排名指出,C# 语言以 1.30% 的得分提升,正在迅速获得业界的广泛认可。 TIOBE 指数(TIOBE Index) 是根据全球程序员人数、课程、第三方企业支持数量,以及Google、MSN、Yahoo! 的搜索结果计算得到的,每月更新一次。下表为今年8月的排名。
可见,我所关注的语言 C# (第7,上升1位)以及 Lua (第15,上升37位)均开始了迅猛上升的势头。老牌语言均有不同程度的下降,但 Java 仍然稳坐第一。脚本语言方面,随着 Ruby (+1.10%)、Lua(+0.59%)风头正胜, Python 、Lisp 等则开始下滑。当然,IronPython 的推出有望挽回 Python 的颓势。特别注意到,排名中 很多语言的前身 C 语言正在以 -1.73% 的速度疾速下跌,而计算机程序语言鼻祖 Ada 已经滑落到排名榜的低端。 The Lua Programming Language
The C# Programming Language
7/22/2007 Lua正则表达式语言元素
|