October 2007

Earth Quake

At 8:03pm, the kittens were feed with their main course (dry food) and dessert (can food and egg). I just finished cooking my own dinner, put the serving tray with my dinner to the coffee table, and was about to enjoy my meal while chatting with Huahai on my cell. It just seem to be a normal weekday night for me these days. Before I took the first bite, however, I heard some huge noise and everything inside the apartment started shaking violently along the building itself. The kittens who were wondering around me startled and quickly ran away.

Yaha! A Math Game for Everyone.

Yaha! is a traditional math game popular among Chinese speaking populations. It has been historically given a varieties of names, but the essence of the game is the same: the players are given 4 playing cards, their task is to use the 4 numbers represented by the cards, use them once and only once, to get the number 24. The players are allowed to apply all four arithmetic operations: addition, subtraction, multiplication and division, as well as parenthesis as they see fit. The winner is whoever comes up with a correct solution first.

This program is a simulation of the game. It is at present form designed to be played by only one player. Remember, your goal is to form an arithmetic expression by dragging cards and operators into appropriate slots and let the result of your expression equals to 24. Got it? Click the picture below to load the game. It will start in a new window.

介绍娇娇

姓名:娇娇

性别:小美女。

品种: 巧克力点的巴利猫(Balinese, chocolate-point)

性情:哼,你们嫌我脸上有花,可我知道我是个美女~_~。我感情特细腻,特丰富的。隔一小会儿没见着巴巴麻麻,见着了我就特激动,一边使劲咕噜咕噜,一边还要使劲蹭他们。我最喜欢被抱在肩膀上了,站得高,看得远。每天早上7点钟我都要把他们给咕噜咕噜醒,这是我的工作嘛。我高兴了还会给麻麻按摸呢,我的技术好极了。对了,我特好养,人吃啥我就吃啥,玉米和waffle是我的最爱,每次都让我高兴得要发疯了(不要意思,这时候我总会忘了我是个淑女的)。我很聪明的,唐唐会的我都会,他不会的我也会,比如上桌子找东西吃啥的。

进门的经历:麻麻在网上看见我的玉照就喜欢我了,把我领回了家,他们都很爱我。我也爱麻麻和巴巴。嗯,我也喜欢唐唐。他这个傻大个,我老欺负他,他也不生气,嘻嘻。当然了,我对他也不错,经常给他舔毛的,他就是不愿意我也要舔。哼,我可不想和一个脏脏的男生整天呆一块儿。

介绍唐唐

姓名:唐唐

性别:小帅哥。

品种: 沙特尔猫(Chartreux, 法国的国猫喔:-))

性情:麻麻说我是一只象狗的猫。理由如下:(1)我喜欢舔人,第一次见面的客人也要舔,使劲舔,这样大家才喜欢我呀;(2)麻麻走到哪个房间,我就跟到哪,我一边呆着,没准麻麻就会给我分配一个光荣任务呢;(3)我喜欢趴在麻麻的脚下睡觉; (4) 我会被牵着到外面去遛达; (5) 我懂 come, sit, stand的指令。 哦,我还会roll over, 嘿嘿,其实我只是喜欢躺在地上晒我的肥肚子,"嗯,满腹经纶啊"。我是一只乖乖猫,不挑食,也不乱吃东西,只喜欢吃猫粮。嗯,猫treat我也不会拒绝的,呵呵。他们说我乖,还因为我好对付,给我洗澡剪指甲啥的,我动动就闭上眼不动了,就当它没有发生吧。

进门的经历:噢,要不是我乖,差点就进不了这个好人家的门的。虽然巴巴一开始就看上了我,可麻麻一开始没有选我的,巴巴没有发言权嘛。幸好麻麻开始选的那个家伙不知好歹,把麻麻都抓出血了,要不我还在和一大帮猫们挤在一个窝里度日如年呢。我可喜欢这个家了,现在要我出家门,我还老大不愿意呢。

Tom and Mayori's SUV

The most environment friendly SUV - human powered!

电脑病毒, Linux和中国

昨天我的从中国来的访问学生说他的电脑中病毒了,然后很形象的给我合掌鞠躬,说,熊猫烧香。这个病毒我听说过,没想到在美国还有人中招,很吃惊。来美国以后,我很有一些年没被电脑病毒所困扰了。唯一的一次病毒事件,还是中了那个有名的‘爱情信’病毒。 Continue reading »

一个关于逻辑和概率的简单科普

人们一般说的逻辑指命题逻辑,它是理性思维的基本规则。比如以罗素为代表的数理哲学家就把逻辑看作数学的基础。命题逻辑的规则并不多,很多人心里都是知道一些大概的的,不过有人没有正式学过,有些地方不太清楚而已。这篇文章就简单扼要地说一说。更重要的是,本文要介绍现在一个新的进展,就是把概率论看作逻辑的扩展,把传统的亚里士多德的逻辑看成是概率论的特例。 Continue reading »

Compiz-Fusion on KDE:

Introduction Continue reading »

A Thinkpad X61 Hotkeys Solution on Debian Linux

On my old Thinkpad X31, there is a nice little program called tpb that makes all Thinkpad hotkeys work on Linux. However, that project hasn't been updated for two years, and tpb does not work with the newer Thinkpad models. On my new X61, notably, the sound volume controls are broken: volume UP and volume Down keys produce the same effect - bring the volume to the half level. It seems that piece of hardware called nvram, on which tpb relies, now produces different values than older models. So, I have to ditch tpb. Continue reading »

yyhh.org

Now this site is added as a Facebook application. You can add this application to Facebook by linking to http://apps.facebook.com/yyhh_org

Nice place