Huahai's blog

Use Vim to read manual page

Command line manual page is an indispensable tool for working with Linux system.If you forget how to use a command, just type man followed by the name of the command. One thing I don't like about the manual system on my Debian sid is that it uses most to display the manual. The key bindings of most feel awkward for me since I am used to vim. Of course, there are many "vimers" like me, and they've found ways to fix this.

Running Windows Vista on Debian Linux with VirtualBox

All of my laptops are now running Debian based Linux. It works great. Linux handles all my daily works well. However, there are occasions where I need a Windows machine. For example, I recently need to deliver a lecture on a system that runs only on Windows. Also, in the past, we developed a system that works only on Windows, and I still need to demonstrate it from time to time. Of course, the solution is to run Windows on a virtual machine on top of Linux. In the last couple of years, I have been using VMware for this purpose. However, I was not very impressed by its performance. I remember last year during a presentation, the virtual machine was so slow that my demonstration was negatively impacted by it.

Open source edition

Laser pointer drove kittens crazy

See for yourself. Be careful though, you don't want to hurt their precious eyes.

介绍娇娇

姓名:娇娇

性别:小美女。

品种: 巧克力点的巴利猫(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 »

Syndicate content
Nice place