Sunday, February 01, 2009

Can the God of Wealth help people to overcome the financial crisis?

It is said that it is the birthday of the God of Wealth on the fifth day of Chinese New Year. About 300,000 people went to the God of wealth on that day in Wu Han, China. People certainly hope to get some help from the God of Wealth in the current economy circumstance.

u1565p1t1d17127415f21dt20090201093044

u1565p1t1d17127415f23dt20090201093044

About 300,000 people went to Guiyuan Temple to pray for prosperity on 30th Jan, 2009–The fifth day of Chinese New Year.

Resource: Joehe.com

Saturday, January 31, 2009

My Thesis for Sharing

I graduated from University College Cork, Ireland with Msc degree in 2006. Since then, I have never touched my thesis again. It is useless to only keep it in my hard drivers. I would like to take it out and hope it can help some one who may need. The thesis is put on the following page: http://www.joehe.com/my-thesis/. Some simple introductions are as follows:

A Multimedia Ordering System for Restaurant

Hu He, Department of Computer Science, University College Cork, Ireland, December 2005

Abstract:

This thesis is about a project which is developed as a multimedia ordering system for restaurant. The project includes two parts: Website Ordering System and In-restaurant Ordering System. In the Website Ordering System, customers can check the dishes, make their orders, and pay their orders through a website which has rich information (pictures, text etc) about dishes. In restaurants, PDA can be used to present the multimedia information of dishes to customers, as well as deal with the orders which can be transferred to kitchen and be recorded into database through the mobile devices and server. Also, this system provides a PC client which also can deal with orders and present the multimedia information to staff for training purpose.

Technology involved:

1: JVM on PocketPC
I use the PDA with Pocket PC system as the wireless mobile device for the ordering system, There are many JVMs which can run on the Pocket PC. Such as IBM’s J9 JVM [1] or NSICOM’s CrEme JVM [2]. There are several other JVMs on the market, but they all suffer from these problems: not supported anymore (Sun’s PersonalJava), not fully Java compatible (SuperWaba), not fully Java compatible (EWE), on sale to OEMs only (Esmertec JBed, formerly Insignia Jeode), or out of date (Insignia Jeode). Because the price for IBM’s J9 JVM is very good at $5.99/each., so I choose the J9 JVM at first.

Other technology used:

2: JVM and JDK on PC

3: RMI server-client mechanism

4: MySQL Database

Please go to this page for the details.

Tuesday, January 27, 2009

Fireworks show during Chinese New Year.

A real Chinese New Year cannot be there without fire works. The following pictures come from fireworks show in Guangzhou on 26 January for this Chinese New Year.
u2107p1t1d17115217f23dt20090127043329
People are watching the fireworks show in Guangzhou although it is raining.
1233045023994_00105cbd00750ae8b35d07
u1010p1t1d17115217f1394dt20090127154633
Bazhou, Guangzhou, 26 Jan 2009
200901270007_8075
1233045023998_00105cbd00750ae8b35d08
Beautiful fire on the sky, Baietang, Guangzhou.
The fireworks last for 30 minutes. It is reported that 20,000 fireworks had been fired during the time.

Monday, January 26, 2009

How to check blog if it is a nofollow

Nofollow is a HTML attribute introduced by Goolge to prevent spamindexing. The way to use this attribute is to add rel="nofollow" into the hyperlink tags "href". Nofollow will tell the search engines that do not follow the link. If the hyperlink has the attribute, then it would not affect the link target's Page Rank. Currently, three search engines support this attribute: Google, Yahoo, MSN Search, although they have different interpretations about the attribute. Now many blogs are using this attribute. Usually, the nofollow attribute is used on the link provided by commenters, which can prevent spammy links gaining any benefit for page rank. However, if you want to know if a blog has nofollow attribute. There are two ways to check if a blog has the "nofollow" attribute.

1: Check the HTML source code of the page, look for the tags that have <a rel=”nofollow”>, if you are seeing a "nofollow" on a link to a commenter, then the page is a nofollow page. Search engine won't follow this link automatically.

2: Firefox users can add a plugin to check "nofollow" attribute. This will speed up the checking. This plugin is named SearchStatus . If you use the "Highlight Nofollow Links" function, then you can see highlight on nofollow links every time you open a web page.

If you know more methods to detect the nofollow attribute, please put it into the comment box.

Resource: www.joehe.com

Saturday, January 24, 2009

Irish Scenery- King John’s Castle(Limerick)

King John’s Castle is located in Limerick City, Ireland, next to River Shannon which is the biggest river in Ireland. It was firstly built by the Viking sea-king in 922. I went there this summer. The castle has a really good view of Limerick city and River Shannon.

Overview of the castle and River Shannon

img_1106

The entrance of the castle, some people are sitting on the cannon.

The weapon made by wood. It looks like a little bit fragile, doesn’t it?

img_1129

Oven and stools

img_1133

The shooting hole. Soldiers can fire arrows from there.

img_1134

img_1135

Bird’s-eye views of the castle and Limerick city.

img_1142

img_1145

River Shannon

img_1154

img_11441

Formidable watchtower

img_1157

The man making coins

img_1164

Gun and power

Some introduction about the castle from Wikipedia.

The Viking sea-king, Thormodr Helgason, built the first permanent Viking stronghold on Inis Sibhtonn (King’s Island) in 922. He used the base to raid the length of the River Shannon from Lough Derg to Lough Ree, pillaging ecclesiastical settlements. In 937 the Limerick Vikings clashed with those of Dublin on Lough Ree and were defeated. In 943 they were defeated again when the chief of the local Dalcassian clan joined with Ceallachan, king of Munster and the Limerick Vikings were forced to pay tribute to the clans. The power of the Vikings never recovered, and they reduced to the level of a minor clan, however often playing pivotal parts in the endless power struggles of the next few centuries.

The arrival of the Anglo-Normans to the area in 1172 changed everything. Domhnall Mor O’Brien burned the city to the ground in 1174 in a bid to keep it from the hands of the new invaders. The Anglo-Normans finally captured the area in 1195, under John, Lord of Ireland. In 1197 local legend claims Limerick was given its first charter and its first Mayor, Adam Sarvant. A castle, built on the orders of King John and bearing his name, was completed around 1200.

More introduction please see the link: Wikipedia.

Resource: www.joehe.com

Thursday, January 22, 2009

Two girls are kissing whales

On 15 Jan 2009, a very difficult new show named “The Kiss of Sea” was performed successfully in Haerbin, Northeast of China.It is said that this is the first time to succeed in such kind of show in the world. The two female tamers took half year to practice for this show. People can watch their official show during Chinese New Year.

Photo from Heilongjiang Daily.


Resource: www.joehe.com

Tuesday, January 20, 2009

Obama's brother's Chinese life.

As many people may know that one of Obama's brother, Mark Ndesandjo, is living in China. Which city? It is Shenzhen, 45 minutes bus from HongKong. He has been living in Shenzhen for 6 years with a pretty low profile until his old brother Obama become the USA president. He lives a happy life in China. He is a boss of a restaurant chain named "Mu Wu Barbecue". He has been helping orphans and teaching them piano during his spare time for 6 years. He got married with a Chinese girl who comes from Henan Province. He can speak very good Chinese and is a vegetarian. People around him really like him, they might not know he is the USA presidents' brother, but know he is a good man.

Mark Ndesandjo (Photo from ifeng.com)



Mu wu Barbecue shop (photo from southcn.com)



Teaching Orphans Piano (photo from southcn.com)

Monday, January 19, 2009

Wordpress's bug caused my blog's sidebar disappeared

Today, I found my sidebar on my blog (www.joehe.com) disappeared. At the beginning, I thought it was because of my current themes, but after changed several themes, this issue still existed. I set up an apache server on my local machine, and install Wordpress on it. I found the theme that I current used on my blog is perfectly displayed from my local machine. Then I started to investigate this issue. I found the sidebar was not actually disappeared, it was just placed on the bottom of the page, since the index page is so long that I did not see it at the first glance. I compared the code of my current page to the code of normal page. Finally, I found it was because of one of the post which contains < div id="main_r" > where I should use "& lt" and "& gt". This cause this problem since the browser think there is a < div id="main_r" > in the code of the page but has no < /div > to close it。If Wordpress can check if the post contains symbols like "<" or ">" before the post can be submitted, this could reduce this kind of errors. BTW, my wordpress version is 2.7.

Source: http://www.joehe.com/2009/01/wordpresss-bug-caused-my-sidebar-disappeared/

Friday, January 16, 2009

A 309 Kilogram fish is ready to be cooked.

A 309 Kilogram, 2.05 meters long fish was caught in Zhuhai, South of China. The staff of a Cantonese restaurant are preparing for cooking this fish. The fish looks like tiger grouper. It was caught in the deep sea. Fishmen took 1 hour to land the fish with the help of divers. Need 7 men together to move this fish. Tiger grouper is delicious and expensive in China. People in south China look this fish as a high class food.




Resource: http://www.joehe.com/2009/01/a-309-kilogram-fish-is-ready-to-be-cooked/

Thursday, January 08, 2009

A tiger golf game online

I just found a really funny game for golf funs. It is a kind of flash game online. The role of the game is a Tiger(Not Tiger Wuzz though). The operation is pretty simle. I only need to use my mouse to adjust the direction and the force to hit the ball. The very fisrt scenario is very simple, but the second is more difficult. I got familia with this game quickly and enjoyed this game very much. The game comes from one of flash games online site. Its' address is: http://www.miniclip.com/games/tiger-golf/en/