huang zuxing blog @ home the quieter you become, the more you are able to hear.

30Nov/09Off

2009年11月最后一天

昨夜尝试给我家二闺女喝牛奶,她老人家嘴叼,吸了两口,吐出来,很不高兴地瞪大眼睛看着我们,再把牛奶瓶塞进她的小嘴,她大闹,让我们束手无策。
早上起来,和老婆商量策略,在人奶中掺入小许牛奶粉,骗过刁钻的老二。

老大爱上学,我们害怕H1N1,不太想让她去“小朋友的家”,但早上起来,她早早就让她的阿姨穿好了校服,等着我们送她去。

晚上回来,就唱"citizen of Singapore la"。 我唱回给她”我们是山头村人”。

26Nov/09Off

小日子

door-20091126-143621

24Nov/09Off

text 2 ps 2 pdf, encrypt pdf, mailx attached

If we have a text file , in Linux machine we want to convert it into encrypted pdf file and send it out by email.

convert text file to ps format

>enscript -p  abc.ps abc.txt

convert ps file to pdf format

>ps2pdf abc.ps abc.pdf

encrypt pdf file

>pdftk abc.pdf  output encrypt_abc.pdf  owner_pw foo user_pw abc

send email with attached file using mailx command

file "message" is the mail content you want to send, encrypt_abc.pdf is the attached file

>(cat message ; uuencode encrypt_abc.pdf  encrypt_abc.pdf) | mail -s test abc@abc.com

users abc get the email, use password abc  to open the encrypt_abc.pdf file.

Tagged as: , , , , No Comments
19Nov/09Off

母女

door-20091119-161235

老大读这个

Tagged as: No Comments
19Nov/09Off

钱是拿来花的

转载自 http://www.caibangzi.com/forum/58/post/328

从前,有一个很有钱的富翁,他准备了一大袋的黄金放在床头,这样他每天睡觉时就能看到黄金,摸到黄金。

但是有一天,他开始担心这袋黄金随时会被歹徒偷走,于是就跑到森林里,在一块大石头下挖了一个大洞,把这袋黄金埋在洞里面。隔三差五地,这个富翁就会到森林里埋黄金的地方,看一看,摸一摸他心爱的这袋黄金。

有一天,一位歹徒尾随着这位富翁,发现了这块大石头底下的黄金,第二天就把这袋黄金给偷走了。富翁发觉自己埋藏已久的黄金被人偷走之后,非常伤心,正巧森林里有一位长者经过此地,他问了富翁伤心欲绝的原因之后,他对这位富翁说:“我有办法帮你把黄金找回来!”

话一说完,这位森林长者立刻拿起金色的油漆,把埋藏黄金的这块大石头涂成黄金色,然后在上面写下了“一千两黄金”的字样。写完之后,森林长者告诉这位富翁:“从今天起,你又可以天天来这里看你的黄金了,而且再也不用担心这块大黄金被人偷走。”

富翁看了眼前的场景,半天都说不出来话。。。。

故事讲完了,其实想象森林老者的做法真的让人难以捉摸,但后来想想又觉得感触很深。。。如果金银财宝没有拿出来使用,藏在洞穴里的一千两黄金与涂成黄金样的一千两大石头又有什么区别呢?

Tagged as: , No Comments
12Nov/09Off

当局者迷

当局者迷,旁观者清。 小时下棋时就知道的成语,今天成了一些心理学家研究的课题, 看完以下, 重新认识这句话在我们生活中的作用。

他们研究的结果是“Bad Decisions May Be Contagious”。

摘录如下:

Galinsky认为结果表明,企业如果想弥补过去的错误决策的话,他们需要找不相干的局外人。他以陷入困境的汽车公司为例,通用汽车雇用行业内人 士担任CEO,而福特公司则是从飞机制造公司波音挖来Alan Mulally担任CEO,现在分析人士都认为,福特的恢复速度比通用汽车要快得多。Galinsky说,确实局内人有丰富的经验,但如果你已经走下坡 路,你需要一位真正的局外人来重整旗鼓

Galinsky believes that the results suggest that companies trying to reverse results of bad decisions should find true outsiders. He points to troubled automaker Ford as an example. Instead of hiring from within--as General Motors (GM) recently did--Ford made Alan Mulally from Boeing, an aerospace company, their chief executive officer. Many experts believe that Ford is now recovering quicker than GM. "It's true that insiders have more knowledge," Galinsky says. "But when you are already down the road of a failed course of action, you really need ... a true outsider."

"I didn't realize just how easily linkages across decision-makers can be formed," says psychologist Barry Staw of the University of California, Berkeley, who was one of the first researchers to suggest using a second decision-maker to avoid sunk costs. Psychologist Joshua Ackerman of the Massachusetts Institute of Technology in Cambridge says the study is yet another demonstration of psychological contagions. "My first thought was where does it end?" Ackerman says. "When do people stop taking on the attributes of others?"

9Nov/09Off

在忙什么?

这两个月,都在忙它。 下了不少功夫,终于把这个“怪物”容进我们现有计算集群中,各类自动化程序也已经完成。

tachyon

Tagged as: , No Comments