Wednesday, July 23, 2008

My favorite comic


PHD Comics is one of my favorite comics because it really showing both the interesting and boring academic life of the graduate students.

Monday, July 21, 2008

kSar Interrupt list

Here is my new patch for kSar: Interrupt list


It was a missing feature of kSar for Linux. And an option is also added to show it in the stacked way.

Sar would capture first 16 interrupts by default. The interrupts are identified by an number, which is known as IRQ. And you can check the mapping between IRQ and the device in /proc/interrupts on the system.

I don't think normal system admin need to investigate IRQ closely. I would like to add this feature mainly because of functional completeness. And it may be useful if you want to monitor the Interrupt rate or binding, for tuning for better system response time (e.g. for a Real time system). For more information about Interrupt binding, you can see here .

Here is the patch for kSar-4.0.14.
Here is the compiled jar with this feature as an option.

Sunday, July 20, 2008

Gift Card

It is interesting that our company have an quite flexible encouraging mechanism "recognition reward". Everyone can nominate any other colleague (usually in another team or in another Geo) to have a reward because of his/her help on their work. The reward includes a paper certificate with our marketing souvenir for a help, or a USD50 gift card (Debt card) for a big help.

Recently I got a USD50 gift card because I help the customer services team to translate some Chinese customer email when their Chinese staff is on a trip.

Then the problem comes, how to spend the USD gift card in China? I think the company who can receive Visa card can use this. And my colleagues, who have received this card before, share that they can use this card in Super Market in China, like Walmart or Carrefour.

Reference:
Utopia de Fai: Reward

中國特色雪糕

生活在中國內地,每天都會見到不少有中國內地特色的事情。

今天在超市看到一款中國有名的雪糕品牌出的“三條裝”雪條:


有沒有發現有什麼特別?三條裝的雪條是兩大一小的。再看看價錢牌上說明這是“家庭裝”。香港的“家庭裝”東西一般是四件包裝的,但大陸的一孩政策下,家庭一般是兩大一小,公司這樣的包裝也真夠體貼。

伸延閱讀:
《家有儿女》的平常幸福已不平常