Twitter Updates

Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Thursday, April 17, 2008

Listening to UC Berkeley's Search Engine Class

I have been learning and researching more on search engine lately and I am glad to found out that there is a free 2007 class online on this subject from UC Berkeley, one of the best university in the world.

UC Berkeley Webcasts | Video and Podcasts: INFO 141

I wish they could also post the slides for the class as well so I could visually the algorithm that they are talking about.

The internet has really changed how people learn.

I am currently taking classes from two different universities in HK, yet at the same time I am also listening to this class from UC. All the educational information are available now and the only one stopping me to learn is myself.

I could still remember how difficult it was to find out information on game programming when I wrote my first game using QuickBasic (Yeah...it was a long time ago...). Now, there are so many learning opportunities now and the key is information discovery and filtering.

We are living in exciting time.

[Updated: this 2005 version of the class with Video. I remembered I blog about it before too]


Friday, June 15, 2007

Managing both Management and Programming Responsibilities

Here is a great article about how to manage both programming and management responsibilities at the same time. I was in this situation not long ago where I have to manage the project, but also needed to work on part of the application because of resource constraint. Focus is really the key! Luckily the resource constraint problem should be solved very soon. For the next two projects coming it seems that I don't need to do any programming myself.

Wednesday, August 02, 2006

[Java Tips] How to convert between different Unicode and Chinese character sets with only 3 clicks!!!

I was given a task to add simplified Chinese support for an existing application yesterday. I talked to myself: "It isn't that bad, I just need to create another ResourceBundle file in Simplified Chinese". Than I notice that the current Traditional Chinese ResourceBundle file contain HTML Unicode data, not Java Unicode. That means I cannot use the JDK's native2ascii tool to convert it back. Does it mean that I have to type all those texts in simplified Chinese all over again?? I talked to myself:" This is insane! I am not going to sit here all day and re-type the whole thing in HTML Unicode simplified Chinese!".

I decided to find ways to make my life easier. And this is the steps that I took to do it.

Before the start of the process, install Alibabar to your IE. I have this installed long ago already. It will add the following toolbar to your IE.



1) Goto this Unicode converter page. (Works in IE only)
2) Select HTML Unicode on the top menu, you could also use java Unicode, depending on your needs.
3) Copy and past the traditional Chinese resource bundle data to the lower left text box, than click the "Decimal Code to Characters" button under it.
4) You will see the original data on the top textbox. For me, I saw the original Traditional Chinese Characters.
5) Remember Alibabar? Now click the "Simplified Chinese" button in the Alibabar toolbar. This will convert exiting traditional Chinese data to simplified Chinese. Just like magic!!!
6) Click the "Characters to Dex, Hex Codes" button. Viola! You will see the converted text in the lower text box again! It is now in HTML Unicode formatted Simplified Chinese! No need to retype all of these!

Hope this tips help you in dealing with language convert for Java or other applications.