Thursday, October 08, 2009

Documentum DQL to retrieve latest version of an object

To find the latest version of a dm_document from documentum based on r_object_id, use the following dql.

select r_object_id from dm_document where i_chronicle_id in (select i_chronicle_id from dm_document(all) where r_object_id = '?')

Monday, August 17, 2009

Beautifully Imperfect

Monday, August 03, 2009

329 Balloons Launch from Flickr

The largest hot-air balloon gathering in the world,, Chambley, France

The largest mass ascent of hot air balloons took place recently at the biennial Lorraine Mondial Air Ballons rally in Chambley, France. Pilots from around the world lifted off in 329 balloons on 26 July. So beautiful, just like a scene from bed time stories.

Monday, June 08, 2009

Joachim de Posada says, Don't eat the marshmallow yet

In this short talk from TED U, Joachim de Posada shares a landmark experiment on delayed gratification -- and how it can predict future success. With priceless video of kids trying their hardest not to eat the marshmallow.

Thursday, August 02, 2007

Configuring SSO with LTPA

I had just wasted a few hours of my life because of some careless mistake made by our computer engineers.
I was tasked to configure single sign on for two servers, a Websphere Application Server v6 and a Websphere Portal Server v6. I configured my application server to use the same LDAP configuration as the portal. Export the LTPA key from Websphere Portal and import it to WAS.
I thought it will work. But it didn't. I thought I configured it wrongly thus tweak here and there. Tried every single thing I could imagine. I was also careless as I forgot to consult the log files. I just thought the LTPA token was not propagated properly.
I finally remembered to read the logs and found the following.
[8/2/07 21:55:35:047 PDT] 0000001d LTPAServerObj W SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: Thu Aug 02 08:54:41 PDT 2007, current Date: Thu Aug 02 21:55:35 PDT 2007.
Finally I check the server date time settings. Guess what I found. The Portal server is just beginning to wake up at 6 in the morning. The WAS has the same time as my machine, 9:55 p.m., but it is somewhere in US. The engineer who setup the server didn't change the regional settings back to my country and it is still following US timezone.
I wonder who should I be screaming at when this type of things happens. I guess this is what happens when you are not surrounded by geniuses.

Thursday, July 26, 2007

Show current Windows Media Player music status in Google Talk

My Google Talk is not showing the current music I am playing in Windows Media Player even though I had enabled the show current music status. After consulting Google Talk Help, I found the following tips. So, the following is for the convenience of those who faced the same problem as me.

Windows Media Player is designed to disable all plug-ins (including the Google Talk music status plug-in) whenever Windows Media Player or your Windows desktop crashes. To re-enable the Google Talk plug-in:

  1. Open Windows Media Player.
  2. From the View menu, select Plug-ins > Options...
  3. From the Category section of the Plug-ins tab, select Background.
  4. Select the Google Talk Music Plugin checkbox.
  5. Click OK.

You'll need to close and restart Windows Media Player for your change to take effect.

Monday, July 23, 2007

All Was Well

(might contain what some consider as spoilers on Harry Potter and the Deathly Hallows)
I got my copy of Harry Potter and the Deathly Hallows from a nearby Tesco around 7.00 am. Since there was news that our hypermarkets will run out of the special priced books around noon, I thought it is better to grab it early.
Initially, I planned to purchase the book from Kinokuniya as they were offering a 30% discount for readers with The Star cut out coupon. However, the special price by our hypermarkets is really too tempting to resist.
Anyway, I finished the book early Monday morning with quite a number of breaks in between for shopping malls, food, drinks, Germany F1, etc. The summary of the story is per expected, Harry survives and lived happily ever after :)
One thing I really miss from this final book is Hogwarts. There is very little mention of Hogwarts. The main reason I really like the story is not because of Harry but because of Hogwarts, the stories of young witches and wizards growing up in a magical boarding school.
For those who had not read it, go get a copy. However, if you try to read only the last book, you might be very disappointed as the stories picks up from the previous books and you will not be able to comprehend a lot of it. So, to thoroughly enjoy it, start reading from book one.
I am sleep deprived and is in a zombie like state now. I think I am no longer young enough to finish 600 pages in two days.