English

Finding happiness: a cat's story

Long long time ago, there's a prince named Thomas. He's a handsome boy, but often sad, because he's parents passed away when he's very young.

很久很久以前,有一个年轻英俊的王子叫作唐唐。他名如其人,长得仪表唐唐。可是因为从小就父母双亡的缘故,他的心里总是充满了淡淡的忧伤。

Kitty Singing a Birdy Song

偶家的娇娇爱唱歌

How to save millions per year for your newspaper?

 

Dear CEO of XXX News:
 
I am writing in regard to an automatic news article writer (NAW) that can  save your company millions of dolloar per year (see appendix below for peudo code). The basic idea of NAW is to be able to automatically generate news articles with comparable quality to news articles written by actual human reporters by your company.
 

Suspending to RAM on Debian laptop

I am tracking Debian sid on my Thinkpad laptop, a few months ago it started to use pm-utils and broke suspending to RAM (sleep) functionality. Basically, the machine would go to sleep then immediately resume.
It turned out that this problem can be easily fixed by creating a file /etc/pm/config.d/local, and put in a line

SUSPEND_MODULES="e1000"

The reason is that pm-utils by default does not unload Ethernet card module e1000, so the machine would be waken up by Ethernet card activities.

YouTube censors BBC's documentary in USA

BBC is broadcasting a documentary series titled "A year in Tibet". From the program description on BBC Web site, this documentary shows the real life today in Tibet. The first segment was shown on Mar. 6. Not surprisingly, there is a Youtube video of this first show. Surprisingly, if you attempt to access this video in US, Youtube says "

an interesting birthday gift

Huahai has received his birthday gift from Yunyao, a few days early.

What's inside?

Wow, a scenic flight certificate, what a lovely gift! Thank you, babe.

A nice political commercial is for girls everywhere.

http://www.youtube.com/watch?v=l9z-Aatd0wA

 

Girls need role models like Hilary Clinton, not fancy dressed Hollywood teenagers stars (not all of them are that bad; but you know what I mean).

Create Multiple Modules Maven Project in Eclipse

Modularized software system design is often a good idea. Maven is the new software build system that is purported to be better than ant. For my new project, I want to create a maven build consisting of multiple modules. To do this, and let Eclipse treats these modules as parts of a single Eclipse project, I used the following procedure.

First create the top level maven project, which will be the container of the modules. Our top level maven project is called "cool".

Syndicate content