Saturday, November 26, 2011

Limitless

One of our friend rented this video when he visited us. I always wanted to see this one but never got time, so I was really happy. The movie was cool, tight and clean, keep me guessing till the end. However the ending was not very good (spoiler after this), I hate the idea of drugs can actually be good.... Kind of like the gene in the bottle and you asked it to grant you more wishes. Anyway, my friend did suggested a much better ending, that the main character is bluffing.. Of course that will be a tragic ending and I won't sleep well.

Wednesday, November 23, 2011

World of tanks 7.0 might have replay feature

Noticed it in the 7.0 public test patch. Now that is a good feature to have!!

Thursday, November 17, 2011

NHibernate metadata reader closed problem

Encountered that exception, had no idea what it is. Googled and some people suggest it is a bad table, some suggested it is the session out of scope. None fits my situation. So I go ahead setup the nhibernate/active record/fluent source, did some debugging. What happened is someone is using StructureMap's ObjectFactory.Get() method inside a domain model's constructor, and while nhibernate is constructing that object, the constructor is doing more nhibernate calls via IOC. That is just bad, and now it is solved :-)

Tuesday, November 1, 2011

XMan First Class

Last weekend I finally got sometime and rent X-Man First Class from redbox. This is a good movie (maybe because I am a long time X-Man fun), good plot, some part of it is a bit too unrealistic (the teleport demon). A little bit of modification will be good, maybe make it take time to teleport (else he can zip out of trouble, instead of stay at the danger at end).