online CAT preparation – resources
CAT 2010 is behind, and some of you guys must have started preparing for the next CAT. I am going to put few links for the best CAT preparton materials resources and guides here. I will be updating this thread till the end of next years CAT. So, please leave all the interesting links as a comment and I will verify the same and update the thread as soon as I can.
ohmyexams put up a very good summary of all the resources and links avilable for online CAT Preparation. Here you can find all the websites that have content to prepare for CAT.
Other major sites that dealing with CAT Prepration materials is topcatcoaching.com. They claim to have materials prepared by IIM, IIT and FMS. They have free mock test and paid online test resources.
javascript – using regular expression to remove certain tags from string
From today, I am trying to post again on a regular basis
Here is a one line regular expression to remove a particular html tag from a string.
In the example given below I am stripping the span tags from the given string.
<script language="javascript">
linkText = '<a href="test.html"><span><span class="random">Hello World</span></span></a>'
alert(linkText);
linkText = linkText.replace(/<[\/]{0,1}(span|SPAN)[^><]*>/g,"");
alert(linkText);
</script>
Cat 2009 – summary of analysis, score percentile calculator and updates
CAT 2009 Update from IIMA.
Update on ongoing Computerized CAT 2009
IIMA, November 30, 2009: The decision to conduct computerized CAT was taken unanimously by all IIMs. The contract for delivery of computerized CAT was awarded to Prometric, a world leader in computerized test delivery. IIMs were responsible for generating questions for the tests and Prometric was responsible for conducting the test. The delivery could not be executed flawlessly because of virus attack on several test sites. Prometric is working to address the issues arising from the attacks.
IIMs would categorically like to assure candidates who could not take the test that they would get another opportunity to take the test. This assurance has been given by Prometric. The details will be worked out by Prometric shortly and announced.
Resources
CAT 2009 takers share their problems @ Rediff – CAT 2009 was a nightmare he’d like to forget
percentile calculator for CAT 2009 from career launcher can be found here
CAT 2009 FAQ from IIM A website can be found here with updates.
Testfunda guys put up their analysis for CAT 2009 here
IMS CAT updates can be found here and more updates here
Minglebox CAT 2009 daily analysis can be found here
TCYOnline CAT 2009 analysis can be found here
If you find any other interesting links please leave it as a comment. I will update this post with your links.
*UPDATE 1*
Day 4 analysis and experience from pagalguy can be found here
*UPDATE 2*
CAT 2009 Day 2 analysis can be found here.
*UPDATE 3*
CAT 2009 answer keys will be released only after December 7th.
create a digg facebook like frame to display external content
You might have noticed the stylish iframes used by digg or facebook that display external content. There are plenty of argument about how bad is the iframe for the web , I believe its okay to use iframe if you wanted to share some interesting content for your visitors and keep them inside your site. Here is the simplest, optimised html and css to create a digg like frame to show external content inside your website. Enjoy.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<style type="text/css">
body {
overflow: hidden;
}
body, iframe {
margin: 0 auto;
padding: 0;
}
#frameHeader {
background: #ccc;
height: 30px; /* change this to increase the bar height */
left: 0;
top: 0;
position: absolute;
width: 100%;
z-index: 999;
}
#content {
padding: 5px;
}
iframe {
margin-top: 30px; /* change this to increase the bar height */
width: 100%;
height: 101%; /* just to make sure that iframe takes the full content, you can reset this to 100% */
}
</style>
</head>
<body>
<div id="frameHeader">
YOUR SPACE TO ADD STUFFS
</div>
</body>
</html>
*Update* – 30/Aug/2009
I am glad to know that folks at broadbandproviders.co.uk implimented this code in their broadband news section.
XHTML strict mode and table height
I wanted to vertically align something central to the screen. To avoid all the unwanted positioning and looping using DIV tags I decided to try it with a table. My Doctype was XHTML strict mode.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>your page</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body> <table width="100%" border="0" style="height: 100%;"> <tr> <td>HELLO</td> </tr> </table> </body> </html>
It turned out that, in XHTML strict mode, you can’t really have 100% table height like the transitional.
Take a look at the allowed attributes for table and valid attributes for td on the XHTML website[http://www.xhtml.com] . Height is not a valid attribute. I would like to know the reason behind removal of height from the table attribute compared to the ‘bad practices’ from HTML 4 standard mode.
Standards are good, provided it meet their purpose. People like me who take extra pain to validate their html every day, we respect standards. But in this case it definitely a broken standard for me.
And oh, the DIV lovers will come and tell me I can do a vertical align to the center of screen ‘easily’ using DIV tag. Yeah right! Again is there a standard way of doing vertical align using a single div tag? I would love to see that
Anyway this is how I made it work finally. So here is the code to align a div block center to the screen both horizontal and vertical. And yeah, this one works on FF and even on IE6;) [see my IE 6.0 support pledge]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>your page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
body{
margin: 0 auto;
}
#verticalWrapper {
display: block;
height: 1px;
left: 0px;
position: absolute;
top: 50%;
text-align: center;
width: 100%;
}
#verticalContainer {
height: 140px;
left: 50%;
margin-left: -76px;
position: absolute;
top: -10px;
width: 150px;
}
</style>
</head>
<body>
<div id="verticalWrapper">
<div id="verticalContainer">
CENTER
</div>
</div>
</body>
</html>
stop crying, we have to support IE 6.0
I am tired of seeing numerous post about not supporting IE 6.0 anymore.
If you look at the sentiments from the web developer community most of them are tired of writing hacks for IE 6.0 specific. For a change I dont consider IE 6.0 as enemy of the web developer. I think its the bad development practice of developer that create issues.
For example, when you know IE 6.0 have issues like box model you still tend to avoid doctype or excessive usage of padding on your div tags. How many of us actually take the pain to validate our css and HTML for each single page we develop on a daily basis.
Why IE 6.0 is still valid and important?
If you install a fresh windows xp even today, by default the browser version is IE 6.0. Even today, there are plenty of customers who are on windows xp and stick with whatever gets shipped in the package. IE 6.0 user base is fading but still its a very large user base to ignore completely.
My Two cents
Stop crying. Seriously. If your page is having cross browser issues, 70% of the time your HTML/CSS is not cross browser friendly.
Upgrade yourself to FF 3.5 or new chrome but don’t expect your users to do that. Upgrade your knowledge and try to develop solid css and html to fight against cross browser issue.
Resources
I should show you some way to get there also right?
6 Steps to Create a Cross-Browser Friendly Web Page
India Election 2009 – tracker – theindiaelection.com
http://www.theindiaelection.com/ helps you to track all the 2009 India Election news from your state. Visit the site, click on your state on the map, and you could see the total number of seats, last poll result, 2009 election date in your state and the link to all the election news you like to read.
autodrivers in bangalore – are they really drivers or a mafia?
If you ever been to Bangalore, you may be in love with this city. But most of the people may have some complaints about the auto drivers though. Take a look at this picture. One of the regular incident near the U-turn in front of leela palace hotel. There are two lines for the vehicles to take a u-turn to manipal hospital, intel and other offices near by. Almost every day I see auto drivers change the line whenever they want while waiting for the green signal and then getting into arguments and even manhandling with the car and bike owners.

My rights!
Forget about meter tampering and asking extra charge. Shouting and swearing at lady passengers, pulling them down on the middle of the trip, bullying them are the last year trends. This year it extended to man handling and fights with car drivers and two wheelers.
Who will teach them some lesson? Who will make sure that the uniformed over a lakh auto drivers are not with a criminal background, and they will follow the traffic rules. Someday, when the metro comes to the city , the demand for autos may go down, I wonder what these auto drivers will turn into then?