Monday, November 7, 2005

Mandriva 2006

I upgraded my and my clients PCs to Mandriva 2006 PowerPack. It is
fantastic. Shorter boot time, look and feel, and the list grows. I
copied the CDs' contents to my harddisk then invoked urpmi.addmedia
--distrib, and then urpmi --auto-select. It worked like charm.

But...

There is one disappointment. There is no postgresql-server package. I
was forced to download it manually.

Friday, November 4, 2005

FasterFox Break

Recently I discovered that FasterFox extension located in mozilla break
WebWork's token mechanism.
It appears that FasterFox caused the lines

public static String setToken(String tokenName, HttpServletRequest
request) {
HttpSession session = request.getSession(true);
String token = GUID.generateGUID();
session.setAttribute(tokenName, token);

return token;
}

in TokenHelper to be executed twice. This make the token saved in the
session differs to those rendered in the page. As a result,
invalid.token is always returned thus disabling user from using forms.

Thursday, November 3, 2005

Found Resin Xml Bug Revisited

After I wrote my blog titled Found Resin Xml Bug (http://tew.blogspot.com/2005/09/found-resin-xml-bug.html), I discovered that it only applies to JDK 1.4. Things are different in 1.5.
Here it is:
 	<system-property javax.xml.parsers.DocumentBuilderFactory= 				 "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/> 	<system-property javax.xml.parsers.SAXParserFactory= 				 "com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/> 

Solitaire is Deadlock-Prone

Solitaire is one of my favorite games. Recently, I discovered that it is
deadlock-prone. Why? I think you who have ever played it have noticed
it. Sometimes I cannot make any progress and is forced to give up the
game session because one or more important cards are buried.

I think this is interesting because people tend to use Philosopher to
explain deadlock.

PS: I use PySol in Linux for playing. PySol contains several games. The
game I play is Klondike.