February 18, 2010
Pow () PHP Function
Definition: In mathematics, an exponent is used to take a number and multiply it by itself a certian a number of times. For example 4^5 (four to the power of five) would be 4*4*4*4*4, or 1024. We can do the same thing in PHP using the pow () function. It is written as pow(base, power) ; Our previous example of 4^5 would be written as pow (4, 5) ;
马伯庸:寂静之城
美利坚合众国,2015年,纽约。
当电话响起来的时候,阿瓦登正趴在电脑前面睡觉。电话铃声十分急促,尖锐,每一
次振动都让他的耳膜难受好久。他揉了揉干涩的眼睛,十分不情愿地爬起来,觉得脑子沉
滞无比。
(more…)
《寂静之城》
And in the naked light I saw then thousand people, maybe more;
People talking without speaking, people hearing without listening.
People writing songs that voices never share. No one dare disturb the sound of silence.
天天看到你
“你们把外衣拿过来。”
“你们俩把外衣拿过来。”
这两句话听上去区别不大,但是美国芝加哥大学心理学家拉奎尔·克里班诺夫(Raquel Klibanoff)在《发育心理学》杂志撰文指出,幼儿园老师如果都习惯用第二种方式说话,尽可能地多用数字,那么他班上的孩子在数学方面的技能就会提高得更快。
(more…)
我们为何会犯投资错误
陳詞文摘 】【来自Meir Statman】
经常地,虽然我们知道自己犯了投资错误,并且发誓不会重蹈覆辙,但是大多数人根本不明白他们究竟犯了什么错,或者更重要的是,他们为何会犯下这些错误。我们当时为何会那样想,那样认为,那样决策?今天回过头来看,当时我们怎么会做出那么愚蠢的事?只有了解这些问题的答案,我们才能改善自己的财务未来。
(more…)
