No comment yet
March 10th, 2011

“找一批人,做一点事,留下一串闪亮的名字和让人采撷的珍珠。” —— 摘自某篇日记

No comment yet
March 5th, 2011

It turns out my old scheduler performed poorly recent days and things become hard to get done. The older one uses a FIFO queue with ad-hoc prioritize items, and the problem is, when an item takes really long time, it will block every consequent operations.

Without further due, I will present the new one. The new scheduler have a new ETC (Estimated Time to Complete) attribute which indicates the deadline for a particular job. It still has a FIFO queue structure, such that any new job will enter the bottom of the queue, with a ETC. Job on the top of the queue, if completed, will be removed; if the ETC reached, will request a new ETC, save the context, and put it in the bottom of the queue again.

The main take on the new scheduler is that, it will pursuit earliest start time rather than earliest completion time in order to be “fair”. Assume no priority setting, each job will have a strict start time.

I will experiment the new scheduler in the next few days.

No comment yet
February 28th, 2011

使我悲哀地意识到,经过这么多年的修养,仍然是一个天才的鼓动家。

No comment yet
February 23rd, 2011

假期的时候攒了不少的多余睡眠,本想慢慢用的,结果刚开学一个月就消耗殆尽,现在又是老样子了。昨天通宵了之后虽然有2罐红牛和一打咖啡,还是晚上又睡了14个小时。刚开学的时候那是6个小时每天没有兴奋剂也清醒得跟牛一样啊。想来暑假的三个月也不是靠每天两瓶红牛支撑的每天6小时睡眠么。看来要更努力啊恰同学少年!

No comment yet
February 21st, 2011

that words contain power. It shouldn’t. Wait Ender’s, his game.

No comment yet
February 11st, 2011

鲜雪覆盖了小城,教堂又响起了钟声。去上学的孩子们,走过一片沼泽地,淹死了四分之一。剩下的女人嫁到了别家,她们砍断了一节手指,以示忠贞。最后来的,是邻居的吼叫,他们说,带头的已经被杀死,因为他竟然想要和平。

而我们要战争,战争。站在摄像机前念文稿,仍然舍不得名号,我已经是最富有的人了,可是福布斯却不知道;又或者,是我让他们不知道应该知道。窗外的秃鹫盘旋了许久,吓得小猫浑身颤抖。突地一下,抓走在树干上的松鼠。他们说,这就是社会可替代性(Social Substitutability)啊。

原来这是我一个人的报复。30年前射中了我的伙伴,那截肱骨做的骨枪,完整地保存在上舷窗上。也许有一天,里面的病菌不再繁衍,千年后的人类,当做了镶金的发髻。很好看。多年之后,未被杀掉的历史学家会用伟大来形容他们,而那枚骨枪,其实射中我也一样。北极熊和黑熊,正在进行一场战争,也被称作伟大。未参透的人,还在为碳排放而争吵。他们不是阴谋论者吧。

说这是一个人的战争,而我知道,就身处在在一群人谋杀的现场。

No comment yet
February 2nd, 2011

do a lot of things; be productive; make concrete progress and patient.

No comment yet
January 29th, 2011

Look & Feel:

Output:

No comment yet
January 27th, 2011

伊耶那岐和伊耶那美的故事很有趣。伊耶那美在生下火神之后被烧死了,然而当伊耶那岐追到黄泉,却发现伊耶那美全身脓疮,已不是以前那个美女子后,却发出了夫妻诀别的誓言。有意思的地方在于日本人民似乎早就认可了爱情和美貌是联系在一起的,我想这才是真实的。

西里奥诺是多妻制社会,然而妻子之间并不是和平的,年长的妻子常常会尝试殴打年轻的妻子,因为年轻的妻子得到更多的性交次数,因此在食物分配上获得更多。当事情发展到这样一针见血,就确实很有意思了。

No comment yet
January 24th, 2011

http://www.ftchinese.com/story/001036635?page=1

这篇文章思路很清晰。