Bug Genie strips out HTML formatting in comments. I had a hard time with that as clients who were using this were copy pasting from third party and the formatting was lost. Initially I though that it stripped down HTML during POST and fixing that will fix my future comments. But, after few mins of fondling around I made the “awesome” discovery that, Bug Genie doesn’t convert htmlentities during post, but during printing out. This would mean, all my past comments, which have HTML will work !!
Continue reading »

  • Share/Bookmark

Have an iFrame inside a document and you need to access the iframe data and make decisions based on that data…
Few problems

  1. Same Origin Policy
  2. Frame Load incomplete.

Continue reading »

  • Share/Bookmark

Browsers are designed to think that Images with same name don’t change rapidly so regularly.  This creates a problem in some cases where you have to reuse a  specific name Or a specific location for a system.
Continue reading »

  • Share/Bookmark
$numbers = array(2,3,4,5,1,8,11,0);
$count = count($numbers);

for($i=1;$i<$count;$i++){
	$j=$i-1;
	$key = $numbers[$i];
	while($j>=0 && $numbers[$j] >  $key){
		$numbers[$j+1] = $numbers[$j];
		$numbers[$j]= $key;
		$j= $j-1;
	}
}
print_r($numbers);
  • Share/Bookmark

OK , so you are all excited about running a 10 minute process and you are happy that
you have set the processing as a background process, while the user can surf along your
website / CMS. If you are are using sessions, not quite smarty !

Continue reading »

  • Share/Bookmark
© 2010 Think Lamp Suffusion WordPress theme by Sayontan Sinha