An Odd Netflix Recommendation
August 9, 2007 – 20:24Caught this “Movie you’ll :heart” recommendation from Netflix today. WWII submarine && King Lear Japanese Edition && modern American office parody => documentary on insects?

Jing Xue’s Weblog

Caught this “Movie you’ll :heart” recommendation from Netflix today. WWII submarine && King Lear Japanese Edition && modern American office parody => documentary on insects?

Tried to install Horde Groupware WebMail Edition in my new server. Ran ./scripts/setup.php. Test.php showed everything fine. But when i try to hit the horde entry page for the first time, the browser gets into an infinite loop. The server log keeps showing
“GET /horde/index.php/login.php HTTP/1.1″ 302 26
Here’s a workaround.
When I generated a private key file for a new server I’m setting up, I put in a pass phrase. The PEM file for the private key is then encrypted with that pass phrase. Usually that’s a good thing, but a problem came when I needed to make postfix use that and the certificate issued based-on it. Postfix can only access a passwordless private key file. So to produce one, here’s what I did:
cat my.crt my.key >my.pem
openssl pkcs12 -export -in my.pem -nodes -out my.pfx
openssl pkcs12 -in my.pfx -out my-nodes.key -nodes -nocerts
As I have always had problems with Java’s checked exceptions, I had a little debate with Debasish in the comments section of his recent blog post regarding exceptions in DDD. Over there, I concluded my case with: more…
Here goes my version of the maze solver program to the Excellent Interview Question Shane Bell wrote about. My solution follows the classic “always keep your left hand on a wall” idea. It doesn’t guarantee to find the best route, but then it being non-recursive doesn’t blow up the stack with a large maze, and it at least eliminates all the loops. ![]()
When I was installing my Ubuntu, there was this part where an experienced admin would spend some time devising a plan for which part of file system should be mounted from which partition. I decided to skip it and kept everything except /home on one single partition - just to keep it simple. Well, at an unfortunate moment during the past weekend, it suddenly hit me that I should stop being such a noob, and “make things proper”. more…
I have many friends over at Microsoft working on various great products this company has built, so I don’t want this post to sound like average Microsoft bashing. But it is just sad to see Microsoft decided to go after Jamie Cansdale for something he did that actually benefits Microsoft by adding a critical piece to the development stack. Whether it is well within Microsoft’s rights to take these legal actions against Jamie Cansdale, or whether the EULA in question is overly vague, is simply beside the point. The point here is Microsoft, or at least its bureaucratic corporate arm, has once again shown its almost complete disregard of the goodwill of the development community - even its own development community. I know “prosecutorial discretion” as a legal term doesn’t really apply here, but still, perhaps Microsoft could use some of that here, too?
It is when reading news like this that I feel very grateful for being part of the Java community, where openness is the spirit, and where I don’t have to lose sleep over worrying being hauled into a court by an army of corporate lawyers.
Spring-AOP is implemented by creating proxies decorating the target bean. One typical gotcha from using these proxies, for instance, in declarative transaction management, is the proxy can’t intercept a call made from one method to another on the same target object (typically a service bean), even though both methods are supposed to be wrapped by the proxy. more…
I couldn’t wait until the Feisty release, and upgraded to the beta a couple of weeks before the release date. Everything else went through quite well, except for the new Network Manager. more…