January 13, 2008


Madhuri Dixit's comeback vehicle 'Aaja Nachle' has been declared a flop. But I have grown up admiring her and cant forget her countless movies which I watched many times over. Some of her movies which I still love are - Tezaab, Ram Lakhan, Dil, Beta, Parinda, Saajan, and of course HAHK.

January 11, 2008

My foosball champ!

Shady boy won the yahoo wide foosball tournament! The excitement, tension, competition made it a mini t-20 tournament for me. And the final match drew parallels from the India-Pak draw match . With both team having won two sets each and equally poised at the decider with 4 points each, Shady's match winning goal from the defender's end came like a sixer. Also worth mentioning is Suhas's (Shady's parter) incredulous accuracy and speed with the ball from the attacker's end.
Way to go my gaming gizmo!

December 24, 2007

Taara zameen par



I am talking about Aamir Khan! Hats off to the perfectionist for putting this the story of a child so beautifully. The camera movements while trying to capture the child's imagination is brilliant. I saw this at the sprawling new Citywalk mall in Delhi (yeah I am cooling my heels in Delhi).

November 22, 2007

Yahooooooo!!

It's me - http://research.yahoo.com/bouncer_user/122 :-)

October 24, 2007

Calm Sea


a1 1, originally uploaded by Aditya Pal.

Pic taken by Aditya in SFO

October 19, 2007

OOPs

Inheritance Vs. Composition vs Parameterized Types:
Inheritance - white-box-reuse. Internals of parent class visible.
Inheritance defined at compile time. Possible to modify implementation. (overriding)
Disadv - Parent class influence the physical representation.
Composition - black box reuse. No internal details visible.
Composition - defined at run time. Wont break encapsulation. Class hierarchies will remain small.
General rule of thumb - Prefer Composition over Inheritance.
Parmeterized Types - Generics , Templates

October 18, 2007

Soul touching renditions

By Nusrat Fateh Ali Khan
Tere bin dil naiyo lagda - http://youtube.com/watch?v=rrfITzLhCqM
Afreen Afreen - http://youtube.com/watch?v=zmB8yt-wf7A
Piya re - http://youtube.com/watch?v=7oscIjdZix8

October 14, 2007

Short n sweet

I came across this algorithm - Sieve of Eratosthenes to generate prime numbers from 2 to n.

public boolean[] sieve(int n)
{
boolean[] prime=new boolean[n+1];
Arrays.fill(prime,true);
prime[0]=false;
prime[1]=false;

int m=Math.sqrt(n);

for (int i=2; i<=m; i++)
if (prime[i])
for (int k=i*i; k<=n; k+=i)
prime[k]=false;

return prime;
}

September 03, 2007

Some lines these

A love is immortalized even as it dies...
A union is celebrated even as it breaks...
A hero is born, even as he is defeated...

September 01, 2007

Java Lessons - part 1

My java learnings for the day -
1. Always implement toString - It seriously is a pain for otherwise to decode the object.
2. Be aware of memory leaks! Nullify object references when required but NOT always. At times trust the garbage collector ;).
3. Evaluate static factory methods vs. constructors.
4. Singletons are a great way to ensure single object instance.
5. Object creation is costly! It hurts performance many times over. Create only when you should.