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 » 2007 » May NullVoid » 2007 » May

Archive for May, 2007

Install a New Document Class to Bakoma LaTeX

Tuesday, May 29th, 2007 -- By ET
  1. Download the file xxxx.cls, xxxx.sty.
  2. Copy the style and class files to the folder ‘\LOCAL\TeX\LaTeX’ of the BaKoMa TeX installation directory. (normally this would be under C:\BaKoMa.TeX\LOCAL\TeX\LaTeX).
  3. If there are template files, copy the template file ‘xxxx_template.tex’ to the folder ‘\BaKoMa\Template\Dir\User’ of the BaKoMa TeX installation directory (C:\BaKoMa.TeX\BaKoMa\Template\Dir\User).
  4. Copy the file ‘xxxx_template.lcd’ to the folder ‘\BaKoMa\Template\Class’ of the BaKoMa TeX installation directory (C:\BaKoMa.TeX\BaKoMa\Template\Class). This file usually defines the customizable document properties of the template.
  5. Now rebuild the folder structure. Open the CENTAUR Text Editor or BaKoMa TeX Word and choose from the menu ‘Options/Directories’. Select the entry ‘$TEXMFLOCAL…’ from the list and click on ‘(Re)Build ls-R’. Close this window.
  6. The template is now successfully installed. To apply this template for a document, you have to create a new document in BaKoMa TeX Word and choose the template from the list ‘User/xxxx_template’. After clicking on ‘open’ you can customize the specific document options you prefer for your document.

ISMT101 Final Score

Monday, May 28th, 2007 -- By ET

I have finished grading my first course: ISMT 101. This course is called “Introduction to Information Systems and E-Commerce”, offered to all first year undergraduate students in the business school. It was a very intensive semester for me, as it is the first time to teach, not to mention the size of the two sections of 240 students.

I think the semester went well. I proved that I am a great professor. Student not only liked my classes, they also respected me for broadening their horizon. I wish this course could be offered to second year students, that way, I can probably teach more quantitative materials to them.

Just to see how my students did, I plotted some figures below:

The following one is a scatter plot of mid-term score versus final score, they obviously have a positive relationship, especially in the range of high scores. What I learn here is that good students tend to be good students consistently.

 

mid_final.jpg

 

The next figure gives the distribution pie chart of the scores, I have roughly 20% A’s, 40% B’s, 35% C’s, then roughly 3.5% D’s, there are 2 F’s, they got the lowest score in midterm and final exam, and missed all my classes, and the labs.

 

score_pie1.jpg

I rank order the scores and plot a nice cumulative figure below:

 

final_ranked1.jpg

Finally, I have the histogram to show the score distribution. The curve is nice, as anyone with score above the mean gets at least B-.

The top 5 percentile people get A+. People within one standard deviation below mean get from C+ to C, and people within one standard deviation above mean get from B- to A-.

 

final_hist1.jpg

Buddha’s Birthday

Thursday, May 24th, 2007 -- By ET

 IMG_2137

Today is Buddha’s birthday.  So we have a day off to celebrate.  This is why I love HK, we celebrate birthday of Buddha, birthday of Jesus, Birthday of western year, birthday of Chinese year, birthday of China, and even birthday of the HKSAR.

Public Holidays in Hong Kong

2007
1 Jan
New Year’s Day.
18-20 Feb Chinese New Year.
5 Apr Ching Ming Festival.
6 Apr Good Friday.
9 Apr Easter Monday.
1 May Labour Day.
24 May Lord Buddha’s Birthday.
19 Jun Tuen Ng (Dragon Boat) Festival.
1 Jul Hong Kong Special Administrative Region Establishment Day.
25 Sep Chinese Mid-Autumn Festival.
1 Oct National Day.
19 Oct Chung Yeung Festival.
25 Dec Christmas Day.
26 Dec Boxing Day.

2008
1 Jan New Year’s Day.
7-9 Feb Chinese New Year.
21 Mar Good Friday.
24 Mar Easter Monday.
4 Apr Ching Ming Festival.
1 May Labour Day.
12 May Lord Buddha’s Birthday.
15 Jun Tuen Ng (Dragon Boat) Festival.
1 Jul Hong Kong Special Administrative Region Establishment Day.
Sep* Chinese Mid-Autumn Festival.
1 Oct National Day.
Oct* Chung Yeung Festival.
25 Dec Christmas Day.
26 Dec Boxing Day.

Overheard

Monday, May 21st, 2007 -- By ET

“Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma – which is living with the results of other people’s thinking. Don’t let the noise of other’s opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”

“We’re here to put a dent in the universe. Otherwise why else even be here?”

“Innovation distinguishes between a leader and a follower.”

“Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”

“The only way to do great work is to love what you do. If you haven’t found it yet, keep looking. Don’t settle. As with all matters of the heart, you’ll know when you find it.”

“You know, we don’t grow most of the food we eat. We wear clothes other people make. We speak a language that other people developed. We use a mathematics that other people evolved… I mean, we’re constantly taking things. It’s a wonderful, ecstatic feeling to create something that puts it back in the pool of human experience and knowledge.”

“There’s a phrase in Buddhism, ‘Beginner’s mind.’ It’s wonderful to have a beginner’s mind.”

“We think basically you watch television to turn your brain off, and you work on your computer when you want to turn your brain on.”

“I’m the only person I know that’s lost a quarter of a billion dollars in one year…. It’s very character-building.”

“I would trade all of my technology for an afternoon with Socrates.”

 –Steve Jobs

How a good photo was taken

Thursday, May 17th, 2007 -- By ET

Found this here.

“No makeup artists, no stylists, no trendy fashions, no managers, no publicists, no record label politics, no artificial lighting, no gimmicks, no self-conciousness. Just natural light, some foliage, and Bjork.”

bjork.jpg

Bjork (1991, Woodstock) – I’m often asked if I have a favorite photo and I can say without hesitation that it’s this one right here. All of the elements combined to make it one of my favorite moments as a photographer, and it happened purely by chance. I met Bjork the night before when she invited herself along and joined some friends and me for a late night pool game up in Woodstock. At the time she was upstate recording with the Sugarcubes. I was already a fan, and had always wanted to photograph her, and when I asked her if I could she said sure. Just like that. We’d been talking all night, she trusted me, and I guess that was all she needed to go on.

The next day I picked her up and brought her to my friend Ben’s house, who helped out as my assistant for the shoot. I knew he had a lovely forest glade behind his house and I thought the setting fit in nicely with her freespiritedness. As happens often in shoots I’ve done (don’t ask me why), she gradually began to to shed her clothes. I picked out a couple of oversized leaves (a la Eve in the Garden of Eden) and she stepped onto a large boulder. At that moment it started to drizzle, she stood on tippy-toe and opened her mouth to catch a raindrop on her tongue. Click.

Having spent a long time talking with her the night before I felt this image really captured her essence - a woodland sprite, a free spirit, playful, earthy, and open . (Some other reasons why this is a favorite? No makeup artists, no stylists, no trendy fashions, no managers, no publicists, no record label politics, no artificial lighting, no gimmicks, no self-conciousness. Just natural light, some foliage, and Bjork.).

南京半日闲 III

Tuesday, May 15th, 2007 -- By ET

离开了紫金山天文台,我们去了廖仲恺、何香凝合葬的墓。廖先生20年代去世,何先生(何香凝是女中豪杰,毛主席这样称呼)70年代去世,现在还能鸳鸯眷侣相伴很是令人羡慕。一看这个墓修得就是好,风水里面的各种讲究都可以在这里看到。门口镇住大门的是一对貔貅。

pishen.jpg

貔貅是龙的第9个儿子,龙头、马身、麟脚,在古代是军队的象征。因犯天条,玉帝罚它以四面八方之财为食,吞万物而不泻。值得一提的是南京的代表物就是貔貅,出租车上的标志也是它。

从明孝陵,到廖仲恺墓,到中山陵,好像一直在拜坟。它们各有特点,我最喜欢的还是中山陵。

img_3206.jpg

这个香炉很漂亮,是中山大学送给南京的,上面刻了智、 仁、勇三个字,可以说是中山先生的写照。

中山陵的设计很讲究,中西合璧,处处精心。

img_3270.jpg

一共392个台阶,8个平台。从下面看,只见台阶不见平台。

img_3264.jpg

从上面看,只见平台,不见台阶。呵呵,这个是导游说的,很玄妙的样子,其实数学上这个不难,只要设计一下台阶和平台的宽度就可以了。

去拜谒中山陵的有不少台湾人,伟人就是这样,大家政见可以不同,但所有人都崇敬你。

出了中山陵,突发奇想,决定搭乘公车返回,结果生等了1个小时才来,浪费了宝贵的时间。到了很憧憬的鸡鸣寺的时候,那里已经关门了。

img_3288.jpg

鸡鸣寺听起来不大,不过是南朝四百八十寺之一,建在山上,很是雄伟。当时的梁武帝信佛,三次到寺里要求群臣来赎身,为寺里募到上亿的银子。后来战火毁坏,1980年才重新开放,里面住的是尼姑啦。寺里供的是药师佛金身,是北京雍和宫送的,我此次无缘就没有看到。

从鸡鸣寺很近就可以到玄武湖,我本意不想再进去了,想快一点找湖南路、山西路去吃小吃。走到门口一问,买票的大叔说,从公园里就可以到,于是就往里走。 大叔一下拦住说 30元门票。我郁闷呀,为什么别人可以随便进,我不行?

img_3297.JPG

傍晚时分,很多人吃完晚饭已经来这里遛弯了。我饥肠辘辘的还要找吃饭的地方。大叔说顺着湖靠左走就行了,还好心的说,不妨照照相,散散心。结果走了快一个小时,我郁闷至极,原来绕湖一周快到了起点了,我才看见那个玄武门。

img_3314.jpg

瞧这天黑的。

很快就找到了湖南路的美食街。

img_3332.JPG

看来看去,其实没有什么想吃的,已经饿过了。这里的鸭血粉丝汤和臭豆腐 都不如夫子庙的好。吃完,理个发,满意而归啦。

南京半日闲 II

Tuesday, May 15th, 2007 -- By ET

到的第二天要工作,早上很早去自助餐,认识了大名鼎鼎的同去promotion的各系教授,招生主任朱老师,物理系的葛老师都很风趣,说了很多清华北大的轶事。后来返港后和葛教授同车,更是从林徽音,薛定谔方程,聊到文革,颇有相见狠晚,忘年之交的感觉。

信息发布会上,Econ的Prof. Francis Lui 更是有趣,什么话说出来就停不住。人家家长很想知道招生报考的情况,想了解科大各个系的情况,不想雷教授指点江山,从香港的国际化说道他老人家当年在美国芝大读书的经历,一众家长纷纷被侃晕。后来我们回酒店的车少一个座位,雷老自告奋勇,留下来继续和家长侃。如果我们招生有提成,他老先生一定拿最多commission.

工作完毕,就要出去走走了。打车去中山陵,才20元。下车就有一“如花”(特指与吴宗宪同事的那个)般美女拦住做promotion,说只要120元就可以去看好几个地方,司机还可以讲解。以南京的物价,这个确实很贵,不过我时间不多,只有半天,这个是性价比最好的方案了。先去了明孝陵。

img_2985.JPG

去过北京十三陵的对这里应该很熟悉了。规模比北京的较小,但我上次去十三陵的时候连胡子还没长呢,所以在明孝陵的utility倒也很高。

img_2974.jpg

石碑有600年的历史了,字还很清晰。有一圈墙把碑围在中间,四面通风,四周的树木丛丛,很是清幽。 可能因为交通不方便,游人不多。值得一提的是出了南京城,就有法国梧桐夹着的林荫道,很漂亮。到了明孝陵和中山陵,空气清新宜人,风水果然不同凡响。

img_3024.JPG

南京的神道和北京十三陵的很像,也有石兽夹道。参观一下70,但是我的导游兼司机认识那里的人,所以免了门票,大大降低了我使用他服务的成本。这种pricing方式可能值得我们在JPE上发了一堆关于corruption文章的雷教授研究研究。大致算一下,我使用他服务的净成本是120-70=50,这个数字和他的服务价值是大致一致的。

从明孝陵,我们去了紫金山天文台,司机说来这里主要是俯瞰一下南京的全景,其实我更感兴趣的是天文台。

img_3085.JPG

我从小就对这些东西感兴趣, 花15元进来,简直如入宝山。那些天文仪器真的是神秘莫测,我要是生在古代,可能就不是PhD了,可能会在皇宫里做个司天文的法官,呵呵。记得小时候写作文:“我长大后要成为xxx”,我就写的是天文学家,无奈老师少看了一个字,当堂讥笑与我说:小豆同学很有志向,要当文学家。我当时就faint.

img_3100.jpg

现在的天文台已经废弃了,门口的田家炳天文学研究中心听说要改成度假酒店了。

img_3114.JPG

不过这些精工细做的天文仪器十分值得我再来南京。

南京半日闲 I

Tuesday, May 15th, 2007 -- By ET

在南京没有时间四处走,只是忙着准备招生信息发布会的东西,到的那天在飞机上和酒店里review了两篇堆积已久的paper, 甚是满足。晚上在夫子庙找好吃的。

img_2845.JPG

夫子庙是个很热闹的地方,不过大多是游人。之所以叫夫子庙是因为有孔子供奉在那里。我没有进去,因为外面看看,里面好像不伦不类的用花纸扎了两条鱼,很是煞风景。

img_2897.jpg

夫子庙附近很多店,有不少卖笔墨纸砚,卖字画等的店,上面的就是一个店里的仿文物,看着不错呢。

中午是在飞机上凑合的午餐,所以下午很快就累了饿了,找到了著名的鸭血粉丝汤,麻辣牛肠和油炸臭豆腐。

img_2918.JPG

 这个是麻辣牛肠,很麻辣。

img_2919.JPG

 这个是油炸臭豆腐。

牛肠足豆腐饱,就在附近看看风景。秦淮河边的红廊青瓦,以及河上漂的挂着灯笼的船,不禁让人浮想联翩。想起旧时河里曼妙的琵琶、评弹的曲调,还有楼上红袖招招的情景,感觉甚有情调,呵呵。

img_2931.JPG

img_2961.JPG

 南京很出名的就是南京盐水鸭了。很多地方有卖,还有下面的这个老字号:老张兴。现在还挂着民国时候领的营业执照。

img_2955.JPG

晚饭自然是去小豆魂牵梦萦的晚晴搂了,说起这个晚晴搂那可是如雷贯耳呀 (小豆刚刚说 怎么就贯耳了?老字号嘛)其实我在n年前就在Boston被贯耳了,来香港工作也与其有不浅的渊源呢,这里按下不表。

img_2914.JPG

 晚晴搂有好几处地方的门脸,有专门喝茶的,还有专门火锅的,我则去了专门吃淮阳菜的那个。

img_2940.JPG

人很多,价钱在南京可不便宜呀。不同的标准,可以100、120、150、200、300元一位,分别由更贵的材料制作。我的理论是好的厨师应该把任何食材都发挥出好味道,所以不在乎材料,如果便宜的材料作不好,贵的也会被糟蹋,所以点了120元的。不论价钱,所有的套餐都是24道菜,每道都很少的份量。这个本意可能是为了让人尝到最多的种类,不幸的是:when you care for quantity, you lose your quality. 对这24道菜,我至今还很不齿,诗云 “晚晴,晚晴,菜多做的不行”。

一个有趣的插曲是边吃饭,waiter边在拍卖字画,有仿制的清明上和图(呈惠800元),还有贾平凹的字(原价800, 酬宾价300),不知是真是假。这么有名的饭店老字号,应该不会作假吧。小豆我也一时兴起,买了两幅画一幅字(不是贾先生的了,下次去西安再看啦)。即便不指望它升值,挂在家里办公室里也很不错的。尤其是比起 Benoit同学上次在画廊花5000大洋买的现代中国油画,我简直是拣到大便宜了,哈哈。

第二天要作业(香港话啦,工作的意西啦),没有在秦淮河泛舟,打车回府。

南京招生

Tuesday, May 15th, 2007 -- By ET

学校去南京招生,今年是第一次去,在南京大学的一个报告厅。来的都是家长,还有不到一个月就高考了,所以学生都来不了。
除了南京的家长,还有镇江,徐州等附近的,还有一个上海来的父亲。

感觉很特别,象是一下子回到了15年前,面临报考志愿的选择发愁,不过现在发愁的是他们,不是我。

内地的学生,如果要上HKUST,不但要交昂贵的学费和生活费 (4年40-50万人民币,大约6万美金),还要成绩十分十分好,去年在北京招的最低分比清华的最低分只低4分。 北京的文理科状元都被科大,港大录取了,最后都来了我们商学院,明年再教我的ISMT101就该有幸瞻仰一下了。

听说招生面试也很好玩,像超级女声的海选。学生各自施展自己的全面能力以求得到入场券。可惜今年去不了,6月底要去新加坡开会。

很遗憾没有时间在南大走走,因为是直接送到报告厅,开完会直接接回酒店,从车上看,南大和清华很像,那些运动场,花园,长廊很熟悉底感觉。

njstreet.jpg

南京有点像我小时候熟悉的北京和西安,人们很文明,街上很多有文化气息的书店、文具店。不经意的地方就可以发现很古老的飞檐和宝塔。看惯了香港和北京的嘈杂和喧嚣,真的感觉回到幼时的北京。

Picture Processing

Thursday, May 10th, 2007 -- By ET

Original

bb.jpg

Neon

bb-neon.jpg

Pencil

bb-bw2.jpg

Water Color

bb-color.jpg

Cartoon Background

bb-bw.jpg

Strange World

bb-luan.jpg

Stranger world

bb-twist.jpg

Pen Cartoon

bb-pencartoon.jpg


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.