星期五, 三月 28, 2008

Giant Antarctic ice shelf breaks into the sea

Giant Antarctic ice shelf breaks into the sea

http://www.guardian.co.uk/environment/2008/mar/26/poles.antarctica

28 March 2008 (Antarctic ice shelf collapses)

Another Antarctic ice shelf has collapsed. Scientists predicted this might happen within 30 years, 15 years ago. Things are getting worse faster.

Since ice shelves float on the ocean, the loss of one does not affect sea level. But the loss of the ice shelf enables ice on land to move faster into the ocean, and it also increases absorption of sunlight (since ice is a better reflector than water), which speeds further warming.


--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期二, 三月 25, 2008

[reading] inspiration from "The Anatomy of a Large-Scale Hypertextual Web Search Engine"

inspiration from the paper:
1.computer do better job than human when the model of computing is good, i.e., essential to the problem to be solved.
2.the start point of a good company may not be the goal of money or success. Just do the things well, and everything comes.

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

推荐歌手――王若琳

今天找歌的时候发现的,lucky to find the beautiful thing at the first time.

我觉得中国未来十年可能最好的女歌手就是她了――王若琳 Joanna Wang

http://www.verycd.com/topics/225218/


--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

review: hacker rule no. 1 - The world is full of fascinating problems waiting to be solved

reading today: The Anatomy of a Large-Scale Hypertextual Web Search Engine

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

[推荐][博客]吴虹飞 颠倒众生的糊涂

http://blog.sina.com.cn/wuhongfei
忍不住推荐。

be true to life
be independent
be different
be in solitude

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期日, 三月 23, 2008

Every man has his toy


In one of Prof. Hwang's lecture this week, when talking about clusters, he said in a teasing tone that 'every man has his toy'. The story is that after he has build a cluster in UCA, many professors ask him to build one for them. I really like the 'toy' idea, i.e., doing a serious job while remaining a 'having fun' attitude. In Confucius's words, "To know it is not as good as to like it, to like it is not as good as to have enjoy it."


--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期五, 三月 21, 2008

reading the f**king source code



--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期日, 三月 16, 2008

Starcraft II - Zerg

10号出的星际II虫族的视频,今天刚刚看到。
http://www.tudou.com/programs/view/J6BymhlTq4Y/

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期五, 三月 14, 2008

[People]说说Sky

一直在关注Sky的博客,今天看他的《回忆3》。呵呵。人皇Sky打星际时也被别人菜嘛。

在星际中输,在魔兽中赢。对于一个好胜心强的人,在星际中输的经验是他一笔非常大的财富。因为有在星际中输的经验,所以会更勤奋地练魔兽。

从什么起点开始并不重要,重要的是你怎么去改进和你最终一定想要达到的目标是什么。

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

推荐电影《我叫刘跃进》

好看。

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期四, 三月 13, 2008

[quotation] from Tagore

I cannot chose the best. The best chooses me.
--Tagore

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

A tip use GREP

动机:查找当前目录下所有扩展名为.h/.c/.cc中关键字为foo的文件
方法
代码:
grep -r --include=*.[ch] --include=*.cc ./ -e foo

因为这个搜索很常用,所以可以在~/.bashrc中加一行:
代码:

文件:~/.bashrc
alias gr='grep -r --include=*.[ch] --include=*.cc ./ -e'

应用场景
找工程中某个函数foo,cd到这个工程的目录下,gr foo[/b]


--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期三, 三月 12, 2008

[Reading]The Effective Executive

Time centered executive.

Recommended reading: LiuRen's Digest of the book
http://blog.donews.com/liuren/archive/2008/03/11/1261866.aspx

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期二, 三月 11, 2008

Todo: Improve English

    Two reasons:
    It is important to use English fluently, to get ready for international communications. To learn from all the world, not merely in China. To be excellent in the surrounding is difficult enough, however, it is not the end. One should be ready for the challenge around the corner. The one who see the opportunity in advance would get fully prepared and grasp the chance.
    The second reason is practical: it is the urge to read a lot of English papers. Scientific research is international. It is not sufficient that you "almost" understand what others say. To know is to understand, to understand is to communicate, and to communicate, one should use languages well. Not as a tool, as at which level many people would stop, one should use it as naturally as a native do. To think in it.

    Summary:
    1.Put end to first. The vision of international communications.
    2.Use the language naturally. Be true, think free!

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

不同的人

不同人的分类:
工作8个小时的人
工作10个小时的人
工作12个小时的人
工作14个小时的人
工作16个小时的人

16 = 8 × 2
这就是为什么成功的原因。

p.s.
对应的,
9点起床的人
8点起床的人
7点起床的人
6点起床的人
5点起床的人

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

[Reading]电脑启示录

Stallman和GCC的故事:因为没有free的编译器,就自己写一个。

如果世界上没有你想要的事物,go ahead and creat it!

--
, ,
/ \
((__-^^-,-^^-__))
`-_---' `---_-'
`--|o` 'o|--'
\ ` /
): :(
:o_o:
"-"

星期五, 三月 07, 2008

quotation from Bob Dylan

Come writers and critics who prophesy with your pens
And keep your eyes wide, the chance won't come again
And don't speak too soon for the wheel's still in spin
And there's no telling who that it's naming
For the loser now will be later to win
For the times they are a changin'
--
The Times, They Are A-Changin'
(Bob Dylan)


--
 ,           ,
/             \
((__-^^-,-^^-__))
`-_---' `---_-'
 `--|o` 'o|--'
    \  `  /
     ): :(
     :o_o:
      "-"

星期四, 三月 06, 2008

少做一点和多做一点

少做一点:少点,但要成熟,不留下进一步要做的事情,极度严格的要求
多做一点:比别人要求你的多做一点,积极主动,自发地去做应该做的事情,并且,乐之。

少做一点事,多做一点正在做的事。

--
 ,           ,
/             \
((__-^^-,-^^-__))
`-_---' `---_-'
 `--|o` 'o|--'
    \  `  /
     ): :(
     :o_o:
      "-"

星期一, 三月 03, 2008

从逻辑上来看,从不牛到牛的过程是这样的。

认为自己很牛,认为别人不牛。
认为自己不牛,认为别人牛。
认为别人牛,认为自己也牛。
认为别人不牛,认为自己也不牛。

--
 ,           ,
/             \
((__-^^-,-^^-__))
`-_---' `---_-'
 `--|o` 'o|--'
    \  `  /
     ): :(
     :o_o:
      "-"

All These Days

这几天有点慵懒迟钝。睡觉睡少了。
刚刚在想:想是一件事,做是一件事,正好练练,看能不能把这么多事情做好。
其实很简单,抓最主要的,其他的也要过得去。
但最近我的字典里面似乎没有"过得去"。
刚刚在想:the 8th habit, find your voice & help others to find theirs,现在正好是一个练习的机会。
自己还没有这种运筹帷幄、统帅千军的能力,或者,数量级比起以前又提高了。
向前跨过去,或者退后一步?
刚刚在想:focus,没有focus是做不成一件事的。
次要的事情,做成功了多少,也不算成功。
最主要的事情,如果没做成,那就是失败。

--
 ,           ,
/             \
((__-^^-,-^^-__))
`-_---' `---_-'
 `--|o` 'o|--'
    \  `  /
     ): :(
     :o_o:
      "-"

星期六, 三月 01, 2008

[tools]my vim cheat sheet

. - repeat last command
O - open blank line above the current line
I - insert at the beginning of the line
A - append at the end of the line
:w - write(save)
:bd - close current buffer
:buffers - show all buffers
:ls - show all buffers
:bn - go to the next buffer
:bp - go to the previous buffer
:edit - edit another file
:sp filename - Open a file in a new buffer and split window
C-w c - close current window
C-w w - change to the next split window
u - undo
C-r - redo
v - visual mode
y - yank,copy
p - paste
yy - yank a line
2yy - yank 2 lines
dd - delete current line

语法提示与自动补齐
★ <C-N><C-P> 插入模式下的单词自动完成
★ <C-X><C-L> 行自动完成(超级有用)

--------------- moving around ---------------------
C-e - scroll down 1 line
C-d - scroll down 1 screen
C-y - scroll up 1 line
C-u - scroll up 1 screen
C-f/b - scroll forward/backward
zz - see the context of the line with cursor.
L - move the cursor to Low
M - move the cursor to Middle
H - move the cursor to High
* - search the word under the cursor
/searchword\c - search the word and ignorecase
:%s/foo/bar/g - replace 'foo' with 'bar' without ask
:%s/foo/bar/gc - replace 'foo' with 'bar' and ask you for grant every time
C-o - jump to last old position
C-i - jump to next new position (on the keyboard, "i" is next to "o")
m{a-zA-Z}, then ' or `{a-zA-Z} - m{a-zA-Z} to mark current position, ' or `{a-zA-Z} move to the marked position.
'' or `` - To the position before latest jump.
(            [count] sentences backward.  |exclusive| motion.
)            [count] sentences forward.  |exclusive| motion.
{            [count] paragraphs backward.  |exclusive| motion.
}            [count] paragraphs forward.  |exclusive| motion.

--------------- programming tips ---------------------
:!ctags *.c - use ctags
== - indent the current line
v(select), == - indent the selected block

--------------- select things quickly---------------------
The objects that can be used are:
    aw    a word (with white space)            |v_aw|
    iw    inner word                    |v_iw|
    aW    a WORD (with white space)            |v_aW|
    iW    inner WORD                    |v_iW|
    as    a sentence (with white space)            |v_as|
    is    inner sentence                    |v_is|
    ap    a paragraph (with white space)            |v_ap|
    ip    inner paragraph                    |v_ip|
    ab    a () block (with parenthesis)            |v_ab|
    ib    inner () block                    |v_ib|
    aB    a {} block (with braces)            |v_aB|
    iB    inner {} block                    |v_iB|
    a<    a <> block (with <>)                |v_a<|
    i<    inner <> block                    |v_i<|
    a[    a [] block (with [])                |v_a[|
    i[    inner [] block                    |v_i[|

--------------- modify quickly---------------------
gi - go to Insert mode where you last left it last time
ci" - change text inside quotes
ci' - change text inside quotes

--------------- vim configure file: .vimrc ---------------------
set number

set fileencoding=gb2312
set fileencodings=utf-8,gb2312,utf-16,big5

set nobackup
set nowritebackup
" set ignorecase "ignore case sensitive

--------------- tips on shell ---------------------
Shift + Insert: insert into shell

--------------- RESOURCES ---------------------
Bram Moolenaar
http://www.moolenaar.net/

七个高效的编辑文本的习惯
http://blog.csdn.net/tangl_99/archive/2007/06/03/1636397.aspx

Seven habits of effective text editing
Bram Moolenaar
http://www.moolenaar.net/habits.html

books: Hacking Vim
https://groups.google.com/group/oss_gucas_linux_newbies/files

vim for php grogrammers


--
 ,           ,
/             \
((__-^^-,-^^-__))
`-_---' `---_-'
 `--|o` 'o|--'
    \  `  /
     ): :(
     :o_o:
      "-"