Wednesday, March 7, 2007

Distributed Hash Table

Distributed hash table, or DHT in short, has become more and more popular in P2P networks.

Refer to
http://blog.csdn.net/Crazy_Dreamer/archive/2007/01/06/1475413.aspx

Friday, January 19, 2007

Event Listener, a Java Pattern

The book, Java Threads, describes 'event listener' as a standard Java pattern. Has anyone heard of it?

Tuesday, January 16, 2007

Web Service Containers

In web services, request and response are common. However, a stateless web service (actually, should it be called static web pages?) could not provides something as easy as a counter that most websites have (or should they hide the counter for certain reasons). You might be familiar with dynamic pages or PHP, ASP etc. They are just the front end of a stateful web service, or to be more precise, connectors. They connect customers' requests to containers.

What is the relationship among containers, resources and services?

A service provides an entry to certain resources, and services and resources are all in containers. A typical container is Tomcat. Sometimes, standalone makes it easier for installation, but confuses terms. A standalone Tomcat seems more than just a container. It provides what a typical web server provides, at least.

Apache web server (Apache httpd) accepts modulars like PHP modular. Then, could PHP modular be called a container? The motive of PHP is to provides a flexible way to generate dynamical web pages.

Sunday, December 31, 2006

Happy New Year 2007

Today is the December 31st, the 365th day of 2006.

T.S.U.L was set up in June 2006

Tuesday, December 26, 2006

apache axis and tomcat

Apache Axis and Tomcat are popular tools on a Java based server.

However, apache, axis and tomcat are not something good.

Sunday, December 10, 2006

Solaris and Sun Studio

First,

Desktop computers older than 4 years old may not be able to run it.
Notebook computers older than 2 years old may not be able to run it.


so, my testing platform is P4 512MB.

Before inserting the dvd (I got the auto installation version), free enough disk (32G in my installation) space for solaris. Some suggests that the minimum is 6G or 8G.

Then insert the dvd. (You might have to set the boot order in the bios).

Should the dvd rom eject if everything works fine. (Well, this is an auto-installation :P). Remove the disk and reboot.

Then gdm starts and everything is easy.

BTW. If you can't find Sun Studio (probably not in the start menu. Did bill create such a menu?). Try type sunstudio with an enter in the console. (Oh.. please. the console is the terminal in linux.)

To be continued...

Next, we are supposed to discuss something about comiplation and start a little program in Sun Studio. Many tools are powerful, but what a pity that we do not even know their names. :D

Thursday, November 16, 2006

Social networks, Wikis, Communication tools, and Folksonomies

That is web 2.0, or the next generation of network.

Folksonomy, or tagging, could not deal with certain cases such that the sequence order of the words (tags) matters. [Example]

Further more, tagging could not understand. The system could find all pictures with triangle tags or circle tags, but it can't tell the difference between triangles and circles. The system could not learn to distinguish a triangle from circles by tags, even one hundred times.

Is tagging a solution? If we would like to find something by tags: First, we must speak the same languages (at least, could be translated). So a bird is not likely to find what it wants with human being's tags. Second, we have to specify enough tags. The word "mathematics" is not likely to help you find what you want. Although this might not be a problem. Third, precise tags. Certain groups of people would use different words to describe the same thing, or would they refer to different things with the same words. This could lead to some difficulties in finding information efficiently. Especially when certain group is very powerful, other smaller groups would submerge.