21:59 comm或diff时:需要注意Windows/Unix文本结尾的回车符问题 » 车东[Blog^2]

Windows文件系统中的换行符是 /r/n
Apple的文件系统中的换行符是 /r
Unix的文件系统中的换行符是 /n

由于回车都是不可见的,所以commdiff之前最好先将多个不同来源的文本用换行符处理一下,否则diff出来的结果会差距很大。比较方面的时用系统自带的一些工具:tr(替换)和strings(只打印可显示字符)
tr -d "\015" B
strings A>B

21:46 2007: QQ有戏 » del.icio.us/chedong
中国元素: 获奖作品
21:20 每周博客推荐两次 » 抓虾日记

各位博客,站长朋友,大家好呀

经过一个月的试运行,每周博客推荐取得了不错的效果,被推荐的博客,无论原来的订阅数是多还是少,都取得了长足的进步,关注他们的虾友越来越多,虾友也能从这些推荐中发现自己喜欢的频道。比如说搜博客原来只有一个订阅者,现在已经有40多个喜欢的朋友订阅了这个频道。

由于目前申请的博客和站长数量太多,而每周一推、按申请时间先后的形式已经不能满足发现和被发现的需求,为此,从本周开始抓虾每周博客推荐改为每周两推,希望大家能够在热文页面的右下角不断发现你所喜欢的频道。

一个周末过去呢,新的一周就要开始呢,小虾在这里祝大家周周快乐~ :)

What Actually Happened in Last Thursday on Foreign Search Engines?China Web2.0 Review » Che, Dong's shared items in Google Reader

Last Thursday night(Beijing Time), three main foreign search engines (i.e. Google, Yahoo and MSN Live.com) all encountered problems of being redirected to Baidu. There were tons of the reports on this issue already, either from highly-influential blogs as Techcrunch and Search Engine Land, or from main stream media as AFP.

The speculation to its reasons were diversified, some suggested it was a response to Bush’s meeting with the Dalai Lama, some thought the DNS hijacking was done by the ISPs, or it was the results of GFW upgrading and tweaking, someone even believed that it was motivated by economic benefits.

What actually happened that night? I agree with Rebecca MacKinnon that “The truth, it appears, lies in a murky grey area - as is often the case with China stories.” However, I tend to agree that it was an accident caused by tweaking, or probably upgrading, Great FireWall.

When we paid almost all our attentions on these search engines, in fact, someone also reported that Myspace encountered the same problem. Actually, I’m also a victim of the redirection, but not for search service. When I tried to access ResearchandMarkets at that night, I was redirected to a Baidu error page. If a site like ResearchandMarkets had similar problem, I think the redirection is not a “cyberwar” against search engines.

Some thought that the hijacking was done by ISPs such as China Netcom, and suggest to use OpenDNS service. But when I encountered redirection problem, I was using OpenDNS service. I’m not a tech expert, I don’t know whether I can conclude that the redirection was not caused by DNS hijack by ISPs, but higher level firewall, based on the fact that OpenDNS service also failed to send me to right website.

Based on these two observations above, I personally guess the problem was caused by tweaking GFW. What is the real truth behind it? None of us can answer it. But all of us hope it will not happen again.

,

Share/E-mail


Please kindly take our reader survey to help us improve contents, thanks.

---
Related Articles at China Web2.0 Review:

  • Technorati Blocked Again in China
  • Technorati's China Problem
  • China IDC to Shut Down BBSs and Blogs
  • News Roundup: Zhuaxia, Netease and Real Name Blogging
  • Wikipedia Unblocked, But Gmail...May Have Problem
  • BusinessWeek Interviewed Gary of Toodou


  • ^==Back Home: www.chedong.com

    ^==Back Digest Home: www.chedong.com/digest/

    <== 2007-10-20
      十月 2007  
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31        
    ==> 2007-10-22