Warning: include_once(/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 217

Warning: include_once(): Failed opening '/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 217
NullVoid » 2006 » March NullVoid » 2006 » March

Archive for March, 2006

急了,

Monday, March 27th, 2006 -- By Jade

真的急了. 看样子lg真的急了.呵呵,毕业在即, paper还没有完工. 今天以前偶打电话搔绕这个家伙,他还有心情和我瞎说两句. 刚刚打完的电话, lg听上去气急败坏, 慌慌张张的要挂了. 算了, 不给他添堵了.

对了, 昨天刚在家里请完客, 我的郑重决定:从今天起到lg答辩完, 我们只吃请, 不请吃. 可是,这个重大决定,今天就要被破了. 今天戴老板要在偶家吃顿便饭. 只此一次,下不违例. 

快到清明了

Saturday, March 25th, 2006 -- By Jade

爸爸,姐夫(姐姐在家看着宝宝)和常泽去妈妈那里了. 妈妈走了快3年了. 希望她在天上看到我们的进步而为我们高兴.

总觉得冥盟 中妈在天上帮我们. 生薇薇之前做了一个梦. 梦到妈妈还在我身边,对我说: 你去玩吧,我帮你看着宝宝.我还特地对妈妈说: 妈,别给她吃太多了,3oz就够了. 薇薇到现在两个月整了. 她很乖,睡觉的时候很peaceful; 她很聪明,醒着的时候,水灵灵的大眼睛四周张望, 已经能和我们一起牙牙学语了.她是一个很好照看的宝宝, 让我有足够的时间休息, 看书, 陪萱萱, 做一些家务, 还可以写blog. 是您在帮我们吧, 谢谢了. 还有,我很想念您.

孙悟空

Saturday, March 25th, 2006 -- By Jade

今天, 大小姐翻出了孙悟空的DVD,然后让爸爸给放.小人就兴高采烈地看.一会儿,萱萱高兴地说:妈妈,你看孙悟空还会说中国话呢. 我晕道: 宝贝,这个本来就是中国猴子呀.

老公的决定

Saturday, March 25th, 2006 -- By Jade

我是一律支持的.但是我是不为此承担责任的.呵呵,因为我胆小的说. 呵呵,有人看了小豆昨天写的东西了么? 要搬去香港了.这个可是小豆的决定哟,绝不能算到我头上的.虽然这很大部分可能是受了我的影响. 是好是坏,阿猫阿狗, 也都得认了. 和偶的同学聊起这个来, 小英说:"你们会不习惯的, 最后你们还得搬回去." 这个,我不好说,因为我也不好预料将来,但是我觉得,只要是lg的决定就应该不会错的了. 江江说:"要我说, 对你来说没有好与不好之分,只有好和更好." 哈哈,这话说的有理, 我喜欢. 反正都是一个"好". 总之,不论在那里,都希望我们的生活越来越精彩.

 

Big Decision

Friday, March 24th, 2006 -- By ET

After spending 6 years at MIT. I decided to commit a major change in my life, I took the offer from HKUST (Hong Kong University of Science and Technology). That means, we are moving back to Asia, and it will be in the near future.

The job market was funny, I may write a longer piece later since I can’t really describe how much I experienced here. The IT market has not been any better than the previous years after the Internet bubble burst, as a consequence, there are only less than 10 openings in the so-called research institutions, which are generally considered to be better than "teaching institutions" since professors in research institutions have less burden of teaching and can do more creative things in research. The number of job candidates goes beyond 200 people. That means a lot of potentially creative people who might be great researchers will end up in teaching institutions and be burdened with 6 courses to teach a week. Some may just go to the industry and never will be able to use some of what they have learned to be a researcher.

I guess some people need to thank me since I gave up a few nice offers here in the US. I like these schools very much (again, this warrants a longer blog entry, I made some really good friends from these campus visits), but I can only take one offer and my optimization problem is a constrained one with factors about my wife, children, our parents, our friends, our career plans, etc… HKUST turned out to be the best option for me.

I’m eager to write about the great things about HKUST now, I may write a longer piece later with more details

research support

  1. it is comparable to top 10-20 US business school’s support
  2. as a consequence, it is not surprising that just by counting the number of top business journal publications, it ranked about 20 among US schools

strong faculty profile

  1. I was surprised to find that the majority of the faculty members are affiliated with very good business schools
  2. the dean got his PhD in U Chicago, the head of my department came from Stanford, … …

amazing history

  1. HKUST started in the early ninties, within 15 years, it has accomplished to be a major research institute in Asia
  2. it really sets a good example for how to build a good school, I know other universities in Hong Kong are strongly influenced by this
  3. there is a book written by the first president of HKUST about the history, I heard many good things about the book, looking forward to read it

 

gorgeous campus

  1. My friend Gordon Gao named it "the best campus in Asia"
  2. it has ocean view and mountain view, you can not be not productive with these :-p

Since I’m working on my thesis now and have to defend my thesis on May 1st, I really don’t have time to notify all my friends about this decision. Hope this entry can serve as an announcement to let you know about my future whereabouts. If you are in Asia, we are much more closer, and if you are in the US, don’t worry, I’ll be back at least twice a year, plenty of chances to hang out together!

进步了

Wednesday, March 22nd, 2006 -- By Jade

这两天小东西又进步了.和我们说的话越来越多.而且声音也越来越大了. 对我们笑的也更多了.小家伙咧开没牙的大大的笑. 8周了.还得感叹一下,真是乖巧有规律的小家伙.

Wednesday, March 22nd, 2006 -- By Jade

這兩天還是一個忙字。(這個。。好奇怪也,怎么成繁體字叻呢?)忙着填稅錶,忙着寫簡歷。(换回简体,看不懂繁体). 刚填完税表,郁闷ing.竟然还欠州税柒佰多大洋.明明没挣几个子儿,还要交税. 不过想想偶们也享受叻麻州的一些福利么,所以也是应该的了. 钱这东西, 就是应该按老爹的话说是easy come,easy go. 但我还没有偶家老头的境界,拿着钱到处散.

写简历,也整的我晕 云乎乎的. 关键是偶太困了. 还是Chang LV说她们公司香港可能有职位空缺,让我发了简历过去.试试先.不过刚才给Lixia打了电话, 说起偶找工作的事.Lixia说:你着什么及呀.找到了,孩子那么小,你能忍心把她就和阿姨天天放一起? 听了这话, 偶一颗敏感的心就颤抖了一下.呜呜…….说的也是呀.薇薇好可爱,又乖,到现在都没有大哭过.每天都是很温柔的笑一笑,还张着小嘴和我们说说话. 怎么办啊.不过想想这也是庸人自扰,找工作的事还没影呢,瞎担心.到时候再说吧. 

Gini Coefficient

Tuesday, March 21st, 2006 -- By ET

The Gini coefficient is a measure of inequality. It is usually used to measure income inequality, but can be used to measure any form of uneven distribution. It is closely related to Lorenz Curve

(figure courtesy to WikiPedia)

I usually use perl to manipulate my datasets, and I could not find a procedure to calculate gini coefficient in perl. So I wrote one. :-)

The definition of Gini coefficient is:G==(sum_(i==1)^(n)sum_(j==1)^(n)|x_i-x_j|)/(2n^2mu)

but,The Gini coefficient is often calculated with the more practical Brown Formula shown below:

G = | 1 - \sum_{k=1}^{n} (X_{k} - X_{k-1}) (Y_{k} + Y_{k-1}) |

G: Gini coefficient
Xk: cumulated proportion of the population variable, for k = 0,…,n, with X0 = 0, Xn = 1
Yk: cumulated proportion of the income variable, for k = 0,…,n, with Y0 = 0, Yn = 1

In the following program, I use yet another formula, which is even concise and straightforward:

G==(sum_(i==1)^(n)(2i-n-1)x_i^')/(n^2mu) (see Dixon et al. 1988, Damgaard and Weiner 2000)

Okey, the program itself:

#!/usr/bin/perl

my @origx=(20, 23, 18, 25, 28, 18);

my $gini=calc_gini(@origx);
print "$gini\n";
exit;

sub calc_gini{

my @origx=@_;
my @x = sort { $a <=> $b } @origx;

my $ginisum=0;
my $sum=0;
my $count=@x;

for (my $i=1;$i<=$count;$i++) {

$ginisum=$ginisum+(2*$i-$count-1)*$x[$i-1];
$sum=$sum+$x[$i-1];

}

my $gini=$ginisum/($count-1)/$sum;
return $gini;

}

References:

Damgaard, C. and Weiner, J. "Describing Inequality in Plant Size or Fecundity." Ecology 81, 1139-1142, 2000.

Dixon, P. M.; Weiner, J.; Mitchell-Olds, T.; and Woodley, R. "Erratum to ‘Bootstrapping the Gini Coefficient of Inequality.’ " Ecology 69, 1307, 1988.

 

好累的周末呀

Sunday, March 19th, 2006 -- By Jade

总算到了周日晚上了。我怎么觉得周末比平时累很多呢?

先不说别的,这买菜通常情况下就要占一天的光景。从中国店到美国店,有时还得去趟Costco,真是耗时有耗力。还剩一天,还要会会友或是坐坐东。

这周末就是连做两天东,连买两天菜。

昨天老友Taka来了,带他去石库门吃饭。Taka 是个日本人,他得夫人Misuko和儿子Joe 女儿Keiko和我们曾经是邻居。

Joe 比萱萱小3周,他们两个当时常在一起玩。Joe是个难缠得小男生。因为他吃牛奶,鸡蛋和华生都过敏,所以脾气比较古怪。也难怪,看见别得小同伴吃好吃得, 自己不能吃,要是不小心占了一点,Joe得脸上立刻起大红包。起红包,算是轻得,严重的,Joe就会呼吸困难。相反,妹妹Keiko确即不过敏,脾气也好 很多。日本人天生的比较矮,萱萱从小就超出Joe很多。打起架,抢起东西来,当时的楼里同龄的小孩,除了小女孩Stasha可以和她平手,无人能及,算是 楼里一霸。所以,Joe到后来看见萱萱来了,几乎要抱起玩具立刻逃跑。我认为Misuko是个社会活动家,她因为出生在美国,所以英语几乎可以算她的母 语,楼里的人她都认识,还发起组织了Baby net 和 baby sitting exchange。不过,虽然她很socialized,确常常拿她的儿子Joe毫无办法,看着Joe以头撞地,只好答应Joe的不合理要求。说起 Taka,可是绝世好日本男人。都说日本男人不干活,可是这个Taka确不一样。我曾经看见他背后用日式背兜背着小Keiko炒菜,同时还得照顾着难对付 的 Joe。他一阵子还坚持每天晚上开车带 Joe出去,因为Joe只有坐车才能睡着,等Joe睡着了,再抱回家。

今天又和 Jennifer一家吃了午饭。Jennifer 和Scott收养了中国小女孩Oliva。好久没见Olivia,这个小丫头还是精力充沛。Jennifer大学是学政治的,真是能说啊。珍妮花滔滔不决 的说了2个小时,谁都査不上话,就连他老公,一个彻底的老美,也只有再珍妮花问他问题的时候才有机会发言。

看这个周末过的,连午觉都没睡。嗯,下周还有2个朋友排队见面呢。 

 

关于’小豆’

Friday, March 17th, 2006 -- By ET

 

‘小豆’, 源于六亩林的故事,也就是winnie the pooh啦.

我喜欢里面小猪说的一句很哲理的话:"我最大的恐惧就是我将面临更大的恐惧" .

小豆是一只袋鼠, 我称jade为小豆, 她称我也为小豆, 那不会很乱? 其实不会, so far so good.


BlogTimer
You are visitor number several since September 1, 2001

Copyright Xiaoquan (Michael) Zhang, 2004-2020. All rights reserved.
All trademarks property of their owners.