Monday, December 10, 2007

Copy Firefox bookmarks

Firefox provides an official way to export and import hence copy bookmarks from one machine to other. Now suppose your bookmarks got overwritten accidentally so what you do.

To save yourself, firefox backs up your bookmarks at regular intervals. Although it does not provide a GUI to restore old bookmarks but they are saved.


To do so: go to c:\Documents and Settings\your_username\Application Data\Mozilla\Firefox\Profiles\your_profile. There you will see a bookmarks.html file which is you current set of bookmarks. You will also see a "bookmarkbackups" folder wherein you have your backups. To restore, just copy the bookmark backup to the profile folder and restart your firefox and you are done.

Thursday, December 6, 2007

Setting $DISPLAY in bash and csh

For Bash, open the .bashrc file in you home directory in you favorite editor vi and append the following script at the end of it:

#
# Set the DISPLAY
#
if [ x"$DISPLAY" = x ]
then
TTYPORT=`tty`
if [ "$TTYPORT" = "/dev/console" ]
then
DISPLAY="localhost:0"
elif [ "$REMOTEHOST" = "" ]
then
TTYNAME=`echo $TTYPORT | cut -c6-`
REMOTEHOST=`who|grep "$TTYNAME"|awk '{print $5}'|sed 's/(//'|sed 's/)//'`
DISPLAY="${REMOTEHOST}:0"
else
DISPLAY="${REMOTEHOST}:0"
fi
fi


For Csh, open the .cshrc file in you home directory in you favorite editor vi and append the following script at the end of it:

#
# Set DISPLAY
#
if ( ! $?DISPLAY ) then
set TTYPORT=`tty`
if ( $TTYPORT == /dev/console ) then
setenv DISPLAY "localhost:0"
else if ( $?REMOTEHOST ) then
setenv DISPLAY "${REMOTEHOST}:0"
else
set TTYNAME=`echo $TTYPORT |cut -c6-`
set REMOTEHOST=`who|grep "$TTYNAME"|awk '{print $6}'|sed 's/(//'
|sed 's/)//'`
setenv DISPLAY "${REMOTEHOST}:0"
endif
endif

Note: The csh script is tested on Sun Solaris and the bash script is tested on Ubuntu and Fedora so is expected to work on other flavors of linux too. If you have a different *Nix system then check the output of 'who' and configure your awk accordingly.

Wednesday, November 14, 2007

India cracks top 10 is supercomputer list

Top 500 comes up with its list for the top 500 fastest super computers in the world. And surprise, India busted into the top 10 list. It was done by the Tata sons at their Computational Research Labs in Pune. Really Tata guys are doing India proud.
Here goes the story.
30th Edition of TOP500 List of World’s Fastest Supercomputers Released.

Wednesday, October 31, 2007

Sensex conquers 20000

Earlier in July, I celebrated Sensex scaling the 15K mark.

Now it has done even better by conquering the 20K level. And I am doing even better with my tango ratio increasing to 7. I still hope that increases as the sensex and Indian economy scales new peaks.

Tuesday, October 30, 2007

China companies are bigger than ..

China stock market has grown 4 fold this year and its price-earning ratio has touched 45. No surprise that single Chinese companies are worth more than the whole stock markets of other developing countries. And the pic gives an accurate picture of the same.


Friday, October 26, 2007

Petro Dollar

Last few days, I was reading about about monetary systems and then I came across this interesting thing called petro-dollar. It was a surprise to me to start with and my interest grew as I read on. So here it goes.

Suppose I am a member of a community. Each member has a printing press which can print bills aka money. Somewhere back in 1945 (in Bretton woods), I made a pact with the leading members of the community to use my bills for any buying-selling (trade) of wheat. At that time, almost half of the wheat produced in the community came from my fields. I was among the richest man in the community. I was the biggest trader too. So take example the washer woman says that she will clean my house and take some of my wheat in return. I say you can do barter but thats a old way. Lets do the new way wherein when you clean my house, I give you some money and that money can be used to buy wheat from my house, or you can very well use to say buy spices from some one else. As wheat was something which everyone needed to buy so everyone was convinced. I added that the money I give you is backed by gold i.e. if you have accumulated some of my money and dont want so much wheat from me, I can give you gold in return. At 1945 I had almost 80% of the community's gold so that was not an issue to me. At that time, I was good. I produced a lot more wheat that what I consumed in other products like rice, spices or services. Simply put I produced more value than I consumed hence I had sucked up so much gold from the system. I was running a capital surplus while others were running deficit as they were buying more wheat from me than selling me stuff which they produced. And that was 1950's.

Gradually things changed, I became lazy. I added up production slowly. Other ramped up their production fast. Being used to comfort and thrift, I started consuming more what others produced. The system remain the same. Only that I started consuming more rice which others produced and paid them with my money. Others were not able to spend all of my money which they got from me to buy wheat. They dont require so much wheat so asked for my gold. I had to give them my gold for the extra rice I was consuming. So my gold reserves dropped. It dropped to a level wherein for every 100 units of money which I had already given to others and promised them to repay it with 100 units of gold, I had only 20 units of gold. This was 1970. I knew people had my money and can come up to my door and asked for gold and I was able to pay only 20% of the total value. So I was about to default. So what do I do. Things were worse on the wheat side. Others had caught up and now I produced and sold only 20% of the wheat. People were now buying wheat from others. I was in a terrible situation.

So the first thing I do to solve the gold issue is to delink my money to gold that is I renege on my promise that I will give gold for my money. I know other wont take it lightly and dump my money back to me and make me bankrupt. So I still need to show them that my money still is important and has use so that they still keep my money and dont return it back to me. So I made a pact with the Sauds who were now producing and selling around half of the total wheat sold in the market. I convinced them to still continue selling wheat in my currency (in return I provided them protection. I acted as a mafia - so what?)

So in the market, people still bought wheat in my money and sold it in my money although now the seller were the Sauds and I was a buyer. Now I was producing less than what I was consuming. I have drained my gold reserve. Still I had 20% of the wheat market but I was buying more rice and spices than the amount of wheat I was selling. Now how was I able to support it. I devised the petro currency. Now as the Sauds were getting a lot of my currency, they need to use it. I was not producing enough services to sell those services to the Saud's than the amount of money they wanted to use by buying my services. So they started putting money into my house, my stock exchanges and so on. The money came back to me and increased my asset price. My land became more valuable. People were buying it with more of my money. Although the land remained the same - the price increased because of the current situation. Things were going fine.

I kept to my usual ways. I consumed more than I produced. I just printed my money notes and bought things from other people using it. People wanted my money because they need wheat from the Saudis. The Saudis took only used my money to sell their wheat because of my pact with them. Then in turn put the money to buy my assets raising their value up. This went on till end of the century.

The world changed. Wheat still had its value but now steel and code came into picture. Some of the older guys in the community had kids who were called chinkus and desis. These guys were good and they worked hard and they produced a lot. They did not produce wheat. The chinkus produced a lot of steel and the desis produced a lot of code. Still as both needed the wheat to survive, they needed my money. So they sold a lot of their steel and code to me which I happily consumed and just printed more money and gave it to them. They got a lot of my money, a part of which they spent to buy the wheat but still they had a lot left. They also bought some of my assets but they figured out that the price of my assets were inflated and were not really worth it. So it was a losing game for them. They just kept my money in their lockers and it gave them no return. So they started ganging up against me. They knew that I was just printing my money and consuming services which they produced with their blood and sweat (khoon-paseena). So they ganged out with some other guys and tried the saudis to accept their money instead of my money.

It took time and I opposed it a lot but gradually it happened. As they now dont need my money to buy the wheat, they started dumping it. When I tried to give them my money for their steel and code, they did not take it instead asked for their common money. My money lost its value in the market. I suffered in two ways. First I was not unable to just print my money and buy services. Secondly as no one demanded my assets, their price tumbled. My land prices went down as was the home price and so on. As I was producing a lot less than I consumed, I had given others a lot of my money (or was in debt financed by others) which they had accumulated. Now they were using my money which they had saved to buy whatever little I purchased. So things turned terrible to me. I had to work hard and produce stuff which the chinkus and desis bought after I was able to get all of my money back from their reserves hence clear my debt, I started accumulating their money and things got better because earlier, even if I sell I just get my money back which I cant use in the market to buy what I need as it has lost its value and no one wants it now. Now I have the currency which is in demand so its better for me.

So this is the story. I am the US of A and my money is dollar. The wheat in question in oil. Everyone is selling their produce to me and ready to take my dollar which I printed at no cost to me as they need oil and oil is sold only in dollar. Once that changes to Euro, the demand for dollar will fell. Right now I take part in about 10-12% of total trade in the market but people have over 90% of their reserve in dollar. Gradually it will align to my trade volume and all those dollars, trillions of them will come back to me and I need to give something in return. The table would have been turned back to me and I will be in trouble for sure.

Update:
  1. Countries leaving the dollar
  2. Sinking Currency from Yahoo

Tuesday, August 21, 2007

Bogex

Recently a mail was sent to our alumni group wherein one of us was ranting about the group being kept alive only to send picnic and meeting requests and no one cares about his startup and hence entrepreneurship. He wanted/expected the alumni to join and promote his site.

Hmm. too much expectations from us. Marketing is the entrepreneur's job and not the alumni. If his startup aka site sucked so what can we do?

Some one replied voicing similar feelings and also suggested that its not that he is the sole entrepreneur among us but their are more and some of them have tasted success too.

I found a real good one called Bogex which has come up with a nice solution called Bogex SMS zipper. Its a nice mashup of google sugggest (AJAX) suggesting txting language (used is sms's) and as usual a free sms facility and its fast. The sms came in a second much faster that yahoo or other services which takes minutes if not hours.

Try it out .. its good .. http://8r1.syminet.com/zipper/

Thursday, July 26, 2007

3 years done

Today I complete my 3 years in TS2 and the feeling is like the initial lines of these songs.





Wednesday, July 25, 2007

Mysore Trip

On Monday when I reached home, plans were being made for a trip to Mysore. I was not much enthused as I had already been there. But Garima's and aunty's constant pestering to come along forced my to consent. So there it was. All planned.

Leave Bangalore at 6:00 am. Qualis was booked. Everyone took bath the previous day and some even went to the lengths to get their legs and hands waxed. For me it was a night of gossip and thought. Slept late but woke up at 5. A quick glass of horlicks and a bath with cold water set me for the day. The Qualis came on time. We boarded it and started to the tunes of 'Woh Lamhe' (nice songs btw).

The roads were empty and we cruised along. Once we were out of the city, it started drizzling. It was already cloudy but it was not so in the city. Gradually the drizzle turned to a downpour and again to a drizzle and sometime dry and the tango went on. The wind was cool and everyone slept. Being in the front seat and after a cold water bath, I was wide awake.

It was a nice ride, cool winds, slight rain and a nice road (Bangalore Mysore highway). I missed the ride of the Avenger (Feel Like God.).

First we touched base on Balamuri. It a small irrigation project which uses a small concrete wall to hold the water. The water splashing from the top of the wall gives a feel of a rapid. Took some pics and then moved into the water. The water was pleasant but a dip of half an hour brought in the shiver in my skin. The level of water was also rising so we moved out. Changed clothes and moved on to Mysore. Had our breakfast and moved straight to the Mysore Palace. Built by the Wodeyars, its magnificent, huge and beautiful.

We strolled through the visitors area and took some pics from the outside. Then went to a Mysore Sari and Handicrafts store and bought a sari for mom. Post that had a lunch and went to Chamundeswari Temple on top of a hill nearby. Full of monkeys, the place was a hell for Garima and we used this information to the hilt ;).

It was evening now and we moved down to hill to Krishna Raja Sagar (KRS) dam on Cauvery. One of the first dams to be built in India, it was the first to produce hydro-electricity and light up Bangalore. It has also has the renowned Brindawan Gardens at its base. We went through the garden till we reached the gates. The dam was full till its brim and the gates were opened to let out the excess water.

We stayed back there till it was time to experience the musical fountain. It was good. Thereafter we left for Bangalore. It rained heavily on the way back hence our destination time got pushed till 11 but we reached safe to Vineet bhaiya's house for a nice dinner to end the day.




Mysore Trip 24.7.2007

Friday, July 20, 2007

Cluster Maps

Just saw this cool Web 2.0 tool so thought why not try it out. It shows location of the visitor mashed on Google Maps. Lets see how cool is it really !!

Locations of visitors to this page

Did you know?

Its a cool video about whats going on and what may happen in future. Nice video packed with facts and is worth a view.



Did You Know?

Monday, July 9, 2007

Sensex Scales 15000

Sensex scaled 15K for the first time and I am doing a tango with it with a ratio of 5. Hope to increase it as it goes up up and all the way.

Monday, June 18, 2007

Billion Dollar Indian Companies

Finally we have a good bunch of Indian companies in the Billion Dollar club. The top is still dominated by public monopolies. I expect it to change in the next few years with the IT companies hogging the limelight.


Company NameNet Sales (2007) in $ billion (conversion rate Rs.40.90 per dollar)

Indian Oil Corporation Ltd52.53

Reliance Industries Ltd25.76

Bharat Petroleum Corp Ltd23.85

Hindustan Petroleum Corp Ltd21.95

ONGC9.75

State Bank of India9.73

Steel Authority of India Ltd8.63

NTPC Ltd8.04

Mangalore Refinery & Petrochemicals Ltd7.04

Tata Motors Ltd6.79

Chennai Petroleum Corp Ltd6.07

MMTC Ltd5.72

ICICI Bank Ltd5.67

Hindalco Industries Ltd4.51

Bharti Airtel Ltd4.39

Larsen & Toubro Ltd4.33

Tata Steel Ltd4.33

Bharat Heavy Electricals Ltd4.25

GAIL (India) Ltd3.96

Tata Consultancy Services Ltd3.68

Maruti Udyog Ltd3.61

State Trading Corp of India Ltd3.53

Wipro Ltd3.37

Infosys Technologies Ltd3.24

ITC Ltd3.05

Hindustan Lever Ltd**2.98

Sterlite Industries (India) Ltd2.91

Reliance Communication Ltd2.89

Punjab National Bank2.84

Canara Bank2.80

Adani Enterprises Ltd2.50

Mahindra & Mahindra Ltd2.48

Hero Honda Motors Ltd2.44

Bajaj Auto Ltd2.35

Bank of Baroda2.27

Bank of India2.26

Grasim Industries Ltd2.14

JSW Steel Ltd2.12

Hindustan Zinc Ltd2.11

Ruchi Soya Industries Ltd2.11

Videocon Industries Ltd***1.87

Ispat Industries Ltd1.85

Union Bank of India1.82

Ashok Leyland Ltd1.77

HDFC Bank Ltd1.70

Industrial Development Bank of India Ltd1.56

Ambuja Cements Ltd**1.55

Central Bank of India1.54

Satyam Computer Services Ltd1.54

Syndicate Bank1.49

National Aluminium Co Ltd1.46

Housing Development Finance Corporation Ltd1.45

Indian Overseas Bank1.44

Bongaigaon Refinery & Petrochemicals Ltd1.43

ACC Ltd**1.41

Reliance Energy Ltd1.40

Petronet LNG Ltd1.36

Suzlon Energy Ltd1.33

UCO Bank1.31

Oriental Bank of Commerce1.27

Mahanagar Telephone Nigam Ltd1.21

UltraTech Cement Ltd1.21

Allahabad Bank1.20

Jindal Stainless Ltd1.20

Tata Power Company Ltd1.16

Redington India Ltd1.16

National Bank for Agriculture & Rural Development1.15

UTI Bank Ltd1.12

Siemens Ltd***1.11

Indian Bank1.06

ABB Ltd**1.05

National Mineral Development Corporation Ltd1.03

* For manufacturing & service companies, net sales considered as revenue.For commercial banks, net interest income is considered as revenue.
** Firms’ financial year ending December 2006
*** Firms’ financial year ending September 2006
# For the nine months ended December 2006, ONGC’s sales were $9.75 billion. It has not yet announced its financial results for the full year. In 2005-06, the firm had recorded sales of $10.74 billion.

Thursday, June 14, 2007

Microsoft Photosynth

Some nice peek into new technologies that are coming in:



The technology is available at http://labs.live.com/photosynth/default.html

It makes me remember about the words in God's debris that internet is going to be the collective consciousness of the whole humankind

Wednesday, June 6, 2007

GAME THEORY

Read a article which gives a good idea of what Game Theory is all about and somethings about human psychology:
Have a look at:
The Traveler's Dilemma -- [ GAME THEORY ]: Scientific American

Wednesday, May 16, 2007

Promoting your video

Yesterday I got a mail from my friend about some IIT Alumni meet where some IIT girl sang an (unexpectedly) good song.

Here is the song which was forwarded to me : http://nostaljigs.com/index.php?option=com_content&task=view&id=86.

The song seemed good to me and it is good (keeping a typical IIT prototype in mind).

I went to youtube to look for the same song so that I can download the same song and 'what the hell is it?'. She a well known pakistani singer. Went back to the original site and started reading the comments. The 1st page was all innocence and then from 2nd page onwards truth was out and people were baying for the blood of the poster.

Still its a good song worth listening quite a number of times.

And yes the video got promoted well, got a lot of hits to the site as well as youtube.

Monday, May 14, 2007

Mid Size car analysis

Vineet bhaiya bought a new Verna and a lot of analysis went into it.
Would like to share some of it with all..

LOGAN SX4 - Zxi
GLS 1.6 Petrol
Boot Space 510 (ltrs)
Overall Length 4247 (mm) 4490
Overall Width
1740 (mm)
1735
Height
1534 (mm)
1570
Wheel Base
2630 (mm)
2500
Ground clearance(unladen)
172 (mm)
190
Fuel tank capacity
50 (Ltr)
50
Turning Radius
5.25 (meter)
5.3
Kerb Weight 1200
Type 4 cylinder ,8 valve 16v DOHC
4 cylinder, 16 Valve
Displacement 1598 1586
Max. Power (hp/rpm) 84.5 / 5500 102 / 5500
Max. Torque (nm/rpm) 128/3000 145 / 4200
Price 568789 700000
735000


Verna XXi (Petrol) City EXi / GXi

Boot Space 500
Overall Length 4310 4390
Overall Width 1695 1695
Height 1490 1495
Wheel Base 2500 2450
Ground clearance(unladen) 170 160
Fuel tank capacity 45 42
Turning Radius 4.92 4.9
Kerb Weight 1060
Type 16V - DOHC 4-Cylinder, In-line
8- V Petrol
Displacement 1599 1497
Max. Power (hp/rpm) 103.2 / 5500 77 / 5000
Max. Torque (nm/rpm) 14.9 / 3000 12.8 / 2700
Price 7,02,854 City ZX EXi : Rs.688000
City ZX GXi : Rs.738000

Friday, May 11, 2007

Alternative Rock

Dashboard Confessional - Stolen





After a long time heard some music so close to the genre of U2. May be after some more years, they come close to U2 themselves.

Here goes the 2 compositions of U2 which I believe brings the best out of them:

U2 - With Or Without You





U2 - Beautiful day



Cool Iris

Just got a new plugin recommended by Vinay and its really cool. It basically opens a new div when you hover over a hyperlink and shows the preview of the target (href) of the hyperlink in it thereby saving you a lot of time and hassle to check out the link in a new tab/window

Try your self with this new addon to Firefox (can be installed from mozilla addons).

Thursday, May 10, 2007

Legal Videos @ MTV

After all the debate and discussion about illegal videos at youtube and other similar site and countries and corporations going for lawsuits against it - MTV has openly hosted all the latest and hot videos up at the site for voting.

One can go up here and watch those videos legally.

NJOI :)

The tenth dimension

I read a lot about string theory and its discourses on higher dimensions like the 10th or 11th or the 12th dimension. It was hard to perceive for my small mind. Then I came across this small video which explained the concept with relative ease and here it is.

http://www.tenthdimension.com/medialinks.php

Wednesday, May 9, 2007

Before Time Stopped

NatGeo carries out a series named 'Before Time Stopped'. It speaks about what happened before something started like one which told about how earth was formed.

Similarly in .NET, before execution starts a lot of things happen:

1) You develop something in C#
2) You compile it using the C# compiler
3) The C# compiler spits out IL code and a manifest into a read-only part of the exe that has a standard PE header.
4) The compiler also imports a function named _CorExeMain from the .NET EE
5) When you attempt to run the PE, the OS loads the PE (which loads the DLL that exports the _CorExeMain function: MSCorEE.DLL).
7) The OS loader then jumps to the entry-point inside the PE (put there by the C# compiler)
8) That code is just a small stub that jumps to the _CorExeMain function
9) _CorExeMain then starts the execution of the managed code that was placed in the PE
10) Since IL can not be executed directly, the EE compiles the IL using a JITter into native CPU instructions as it processes the IL. This part only occurs as functions are called the first time.

and hence time starts ..

Applying Design Patterns

Design patterns is something which has intrigued me since I joined the industry and my seniors informed me about the mystical thing. Earlier I dreaded it but gradually I learnt it through lot of readings, examples and real code in projects.

Today I saw another nice and simpler explanation of 4 of the basic and most used design patterns (besides some creational patterns like factory and singleton).

The observer pattern is explained here.
The other three patterns namely strategy, decorator and builder are explained here.

Monday, May 7, 2007

Druvaa

So now jassi' startup is official.

Named Druvaa.

And hence we have our first entrepreneur.

Friday, May 4, 2007

Comics

Well Dilbert is my favorite but found this new site today and it looked exciting:

http://www.xkcd.com

Wednesday, May 2, 2007

Digg and the hex code

It was just another day and I was not at digg in the morning as was busy with some code. In the evening I went through the news and got to this page (cached) . I got suspicious coz being a google lover, I believe google never supports such things. To enquire more, I looked into the net which pointed me straight to digg.

It looked like I had missed a big war over there. It was all like, some one (stud) had cracked the HD_DVD processing key and had posted it at doom9 some 6 months back. Someone had posted the same on digg. A few days back, a DMCA takedown notice was served to it (along with google) by AACS who algorithm used the 16 digit Hex code that was cracked.

The Digg cracked and forgot its sense of fair use and free speech and started deleting posts and banning users. This was responded which overwhelming force by users who reposted more articles on the same as well as requests to bring back the banned users and talks about digg's fair use started. People started talking about leaving digg for reddit/netscape. This whole thing is well captured in this post. Finally digg backed down with its founder Kevin Rose accepting the will of the masses.

This embarrassment of digg was well captured and used by reddit and netscape supporting the revolt of digg user. I also in support with other digg users opened a reddit account as it was very simple to register. I tried netscape but it was tough so left it.

The war seems to ebb now but lets watch out what AACS does is respond.
Will it be something like Novell cracking lawsuits against linux or will it just cow down and accept defeat that the algorithm it design was not good enough that it got hacked within months?

Update: Now you even have it in youtube :)
Update 2: Digg story is top ranked for the second consecutive day in the Sci/Tech section of google news. Here goes the snapshot:

Friday, April 27, 2007

Thursday, April 26, 2007

India, now a $1-trillion economy!

Thanks to the appreciating rupee, India has become the 12 economy to be valued above a trillion dollars at current rates.
In PPP we are well above :)

http://www.rediff.com/money/2007/apr/26india.htm

Tuesday, April 24, 2007

India Poised

Nice statement made on India as it is now.

Thursday, April 19, 2007

B-schools: misleading the gullible junta

So finally one student spoke up on the inflated salaries quoted by Indian B-Schools.

And here it goes:

"On further prodding, I was told about the method. The average and median salaries were calculated on the number of offers and not on the final accepted offers. Also, all the foreign salaries are converted to their INR equivalents and then added to the pool! Moreover, in calculation of the lowest salary the higher of the offers is taken into account for all the students. Confusing, isn’t it? Let me explain."

And digg this article at: http://digg.com/offbeat_news/B_schools_misleading_the_gullible_junta

Wednesday, April 18, 2007

CSS3 - background-size

Since today morning was working on setting a good template for this blog. The problem was the current template had a width of 700 px. It had a div and a background image with width 700 px. Now that look awfully thin on my 1280 x 1024 LCD screen. So wanted to extend it to 800 px.

So here is how it looked like in the css:

#main-top {
width:700px;
height:56px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_top.jpg") no-repeat top left;
margin:0px;
padding:0px;
display:block;
}


Simply I extended its width to look like:

#main-top {
width:800px;
height:56px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_top.jpg") no-repeat top left;
margin:0px;
padding:0px;
display:block;
}

The div got extended with the background color. The problem was that the image was of width 700 px which did not get extended and hence started my R&D.

CSS provides the img with two attributes to stretch the image namely width and height and they are implemented well both on IE and FF. The problem is div:background does not support width or height attributes.

So I first went through google to find any similar problem being reported in any of the forums/groups. Got a few but most were questions but with no elegant answers. They were mostly hacks in the line of http://www.htmlite.com/faq022.php . Most of them created 2 divs: one to host the image with z-index lower than the other div hosting the text. This does not seem to be a good solution to me and was not convinced that CSS (being a well known standard) does not implement such a thing.

So went to w3.org for CSS background and got a new property called 'background-size' and tried it out but it did not work. Neither in IE nor in FF. Thats bad. So looked into google again for more information and got to know that its only implemented in Konqueror (Thanks to KDE guys to implement is in KHTML hence it got into Apple Safari/Webkit).

So what to do.. remove the background image totally and it looks plain simple and better.