Skip to main content


Showing posts from September, 2006

Alice in the Forest...

Heaps, Random Number, Hashing algorithms,Self-Balancing Trees have always had me kind of confused a bit around the edges. Add AVL and Red-Black Trees into the equation and the plot thickens. Recently I had to get my ankles wet with self-balancing Binary Trees to avoid the degenerate worst case, and found myself sinking to the depths instead. I recalled some of the things I had studied, but there was the fuzz arounbd the edges, that you usually see on old sepia toned photographs.I called out to Google for help and Eternally Confuzzled was among the first few pages it threw back at me. Written by Julienne Walker[], it deals with Trees, hashes, Rand Numbers, etc. If you are also one of those who think a "Hit" is something that the mob orders, and that you should avoid being the target of one, this site is just the place to get you started. An excellent resource for those who are interested in doing more than just CCPT and getting the job done.Granted that…

Animate any webpage

This works especially well with IE, works partially in Firefox too. Open any website that contains images. Copy paste the javascript given below in the address bar and press enter. javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i < DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5;*y1+i*y2+y3)*y4+y5}R++}setInterval('A()', 35); void(0) Sit back and enjoy the fireworks.