Selling Self Respect in Moments of truth
October 26th, 2008 Filed Under Thinking Out Loud
They believe they can sell emotions and they prove it by doing it. The reality shows on TV these days have gone crazy and breaking the barriers like anything.
Just now I was watching a program called “Moments of truth”. Oh my GOD. They are making money by insulting the whole family before the nation. And the great fool thing is to see that these people do anything for money. Just anything. When they are asked questions, it breaks the crap out of their stomach almost. But when they hear that the “Answer was true”, they are happier than the grief they should be into after someone questioning so badly in front of everybody.
People have started making money by selling their self respect. I think becoming a sex worker is far better job for these guys.
But yeah they cannot make $500000 in a single night. Shame on these people.
Post Linx
Permalink | Trackback |
|
Print This Article | 1 Comment
Cheating HTML javascript load delay
October 17th, 2008 Filed Under Good to know, Javascript, Tips & Tricks, browser, gyan, vivek
When you write the following code in your HTML:
<script language="javascript" type="text/javascript" src="www.somewhere.com/somejs.js"></script>
Your page halts till the javascript is fully loaded. Just imagine the scenario where you have more than 10 different javascript files from 3 or 4 different domains/locations on your page.That means the javascript loading is synchronous in nature. Which means, untill all the javascript is loaded and interpreted the HTML control doesn’t move to the next tag after the current script tag. Hence, you see a 4-5 seconds delay which is really embarrasing for a visitor. To overcome this problem, what you can do is make javascript to load asynchronously. Now what does that mean?That means, you load your javascript dynamically. And that means, create your script tag using createElement function and insert it in the head tag via DOM manipulation.If you do so, you can see all the script tags load parallely and your load time reduces drammatically and you see lesser time as a white page.Enjoy!!
Post Linx
Permalink | Trackback |
|
Print This Article | Leave a Comment

