Mail sent by Narayan Murthy to all Infosys staff:


Mail sent by Narayan Murthy to all Infosys staff:

It’s half past 8 in the office but the lights are still on… PCs still running, coffee machines still buzzing… And who’s at work? Most of them ??? Take a closer look…

All or most specimens are ?? Something male species of the human race…

Look closer… again all or most of them are bachelors…

And why are they sitting late? Working hard? No way!!! Any guesses??? Let’s ask one of them… Here’s what he says… ‘What’s there 2 do after going home…Here we get to surf, AC, phone, food, coffee that is why I am working late…Importantly no bossssssss!!!!!!!!!!!’

This is the scene in most research centers and software companies and other off-shore offices.

Bachelors ‘Passing-Time’ during late hours in the office just bcoz they say they’ve nothing else to do… Now what r the consequences…

‘Working’ (for the record only) late hours soon becomes part of the institute or company culture.

With bosses more than eager to provide support to those ‘working’ late in the form of taxi vouchers, food vouchers and of course good feedback, (oh, he’s a hard worker….. goes home only to change..!!). They aren’t helping things too…

To hell with bosses who don’t understand the difference between ‘sitting’ late and ‘working’ late!!!

Very soon, the boss start expecting all employees to put in extra working hours.

So, My dear Bachelors let me tell you, life changes when u get married and start having a family… office is no longer a priority, family is… and That’s when the problem starts… b’coz u start having commitments at home too.

For your boss, the earlier ‘hardworking’ guy suddenly seems to become a ‘early leaver’ even if u leave an hour after regular time… after doing the same amount of work.

People leaving on time after doing their tasks for the day are labelled as work-shirkers…

Girls who thankfully always (its changing nowadays… though) leave on time are labelled as ‘not up to it’. All the while, the bachelors pat their own backs and carry on ‘working’ not realizing that they r spoiling the work culture at their own place and never realize that they would have to regret at one point of time.

So what’s the moral of the story??
* Very clear, LEAVE ON TIME!!!
* Never put in extra time ‘ unless really needed ‘
* Don’t stay back unnecessarily and spoil your company work culture which will in turn cause inconvenience to you and your colleagues.

There are hundred other things to do in the evening..

Learn music…..

Learn a foreign language…

Try a sport… TT, cricket………..

Importantly,get a girl friend or boy friend, take him/her around town…

* And for heaven’s sake, net cafe rates have dropped to an all-time low (plus, no fire-walls) and try cooking for a change.

Take a tip from the Smirnoff ad: *’Life’s calling, where are you??’*

Please pass on this message to all those colleagues and please do it before leaving time, don’t stay back till midnight to forward this!!!

IT’S A TYPICAL INDIAN MENTALITY THAT WORKING FOR LONG HOURS MEANS VERY HARD WORKING & 100% COMMITMENT ETC.

PEOPLE WHO REGULARLY SIT LATE IN THE OFFICE DON’T KNOW TO MANAGE THEIR TIME. SIMPLE !

Regards, NARAYAN MURTHY.

Opacity – CSS3


The most widely implemented feature of CSS3 up till now is opacity. It’s probably also the one people have been waiting for the most

The following codes will help you get a more clear idea.


style="background: rgb(255, 0, 0) ; opacity: 0.2;"
style="background: rgb(255, 0, 0) ; opacity: 0.4;"
style="background: rgb(255, 0, 0) ; opacity: 0.6;"
style="background: rgb(255, 0, 0) ; opacity: 0.8;"
style="background: rgb(255, 0, 0) ; opacity: 1;"

How to create colored borders with CSS3


W3C has offered some new options for borders in CSS3, of which, next to rounded borders, border-color is also very interesting. Mozila/Firefox has implemented this function, which allows you to create cool colored borders. A sample code has been shown below :

border: 8px solid #000;
-moz-border-bottom-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
-moz-border-top-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
-moz-border-left-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
-moz-border-right-colors: #555 #666 #777 #888 #999 #aaa #bbb #ccc;
padding: 5px 5px 5px 15px;

Return back via Javascript


The codes below can be used to traverse back to previous link via javascripts.

Using a button:

Text link :

« Go back

The best way would be to use the HTTP_REFERER with php.

<?php $referer = $_SERVER['HTTP_REFERER'f (!$referer == '') {
echo '

« Go back

';
} else {
echo '

« Go back

';
}
?>

The new google plus social networking


Hi everyone.. Hope you have noticed the latest bzz going around the world of internet that is the google plus.. A sample demo has been provided and its getting huge positive reviews.. This is definitely going to be a hit in the stomach for facebook and Mark.. This traces back to the day when orkut was the social networking site that everyone visited provided by google.. All was going well until facebook came and it literally got all orkut and other smaller social networking members into a single place- facebook…

Face it guys , facebook needed a major change or else it was gonna fall someday due to boredom.. The google’s efforts to displace facebook had failed in the previous two attempts with BUZZ and similar ones that they released.. But nothing was a hit.. But this time i feel they have definitely got their act together and this is gonna be huge.. Check out google plus for a small demo and its gonna blow you off.. Remember this is just a small piece of whats gonna come banging…. Lets wait for it and see how facebook reacts to this..:)

Best Framework in PHP- Poll


Add Google +1 to your website…


Hi.. Everyone must have seen the new tool released by google for sharing purpose… We can easily add this gadget to our site with the help of the following code..


(script type="text/javascript" src="https://apis.google.com/js/plusone.js")(/script)


(g:plusone)(/g:plusone)

Jquery – Ajax


jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. It is a flexible, query-based source code browser, developed as an Eclipse plug-in. After selecting a java working set of interest, a JQuery user can define his or her own top-level queries (or “browsers”) on-the-fly by formulating logic queries and running them against his/her source code. Alternatively, the user can choose from a variety of pre-written browsers, and use as-is or modify to suit their specific needs. Individual elements in the tree can then be queried individually in the same fashion. The user can specify how query results are organized in the hierarchical tree viewer using a simple variables editor interface.

There are thousand of applications that run with jquery. Because its lightweight its most sought after library source when compared with other scripting languages like javascript. Jquery and ajax combination for a formidable combination and can literally find a way around any problem. Everyone will have his/her time learning jquery. If you are having a base in Javascripts then understanding jquery will be pretty easy task.

While JavaScript doesn’t necessarily be an eye-catchy one, jquery definitely has that one. This one difference, makes jquery hugely. The most common jquery plgins used are UI-Calendar, Jquery Lightbox, Jquery Slider, Jquery Scroller, Jquery Drag & Drop, Accordion(vertical and horizontal), Auto-complete(which I’ve personally used), Jquery Tabs, Progress Bar etc… The jquery has become so popular and developer friendly that it’s almost wiping out the entire usage of flash gallery in web development projects. The latest release in the jquery ui has been the jquery ui 1.8.13.

I can suggest certain articles through which one can learn and try to understand jquery,
Written Articles
• Getting Started with jQuery – this is the official jQuery getting started guide.
• jQuery for JavaScript Programmers – Simon Willison (creator of django) gives you an introduction to jQuery for people who already understand JavaScript.
• jQuery Crash Course – Nathan Smith gives a quick introduction to jQuery on Digital Web Magazine.
• Introduction to jQuery – Rick Strahl,

E-Books
• jQuery Fundamentals – open-source e-book written by Rebecca Murphey in collaboration with other well-known members of the jQuery community.
• jQuery Enlightenment – Cody Lindley’s e-book covers advanced topics on jQuery with links to working code examples in jsbin.

Web Link
http://jquery.com/
http://jqueryui.com/

The above mentioned sites and books have helped me a lot in understanding and getting deep into the world of Jquery.
The very basic code for jquery is as follows :

$(document).ready(function(){
$(“p”).click(function(){
$(this).hide();
});
});

click me, I will disappear.

</html

The first step will be to try and figure out the above code by yourself and change the paragraph tag(

) and replacing with

tags and so on. And before you know it, you will be addicted to jquery and you’l try to use jquery wherever and whenever possible.

That’s for now guys… Happy Coding…!!