Tuesday 27 August 2013

Java Definition and some related terminologies


Java Definition and some related terminologies

Java  

Definition

New generation, general purpose, versatile programming language that can run on virtually any type of computer (is 'platform and device independent'). Developed in 1995 by James Gosling of Sun Microsystems specifically for network  heavy environments such as internet and enterprise intranets), it is a major part of the information infrastructure being developed all over the world. Like the C++ language (on which it is based) Java is object oriented: meaning its programs are built with 'modules' of code (like the Lego bricks) which can be employed in building new programs without rewriting the same code. However (unlike C++) it is an interpreted language and therefore has longer execution time than the compiled languages, although the gap has considerably narrowed over the last few years.

Object oriented programming (OOP)
Definition

Programming paradigm that views a computer program as a combination of data structures (called objects) which can exchange information a standardized manner, and can be combined with one another as modules or blocks. Each object is independent (can be changed without affecting other blocks), can run (execute) by itself, and can be interlocked with other objects. Objects interact by passing information among each other, and each object contains information about itself (a property called encapsulation) and the objects it can interact with (a property called Inheritance). Major OOP-oriented languages are C++Java, and Smalltalk.

Structured query language (SQL)
Definition

English-like set of commands used in accessing, editing, or updating, information stored in a database. Invented by International Business Machines (IBM) Corp., in 1974, SQL continues to be enhanced and (having been adopted by both ANSI and ISO), is a de-facto worldwide standard. Capable of running on practically every computer from mainframes to handheld ones, it comprises of about 60 commands of which four (SELECT for data retrieval, UPDATE for data insertion, DELETE for data removal, and INSERT for data insertion) are the most basic. However (unlike BASIC or Java) it is not a complete programming language capable of creating usable application programs, and must be embedded in another programs or employed through computer languages that can include SQL commands.

Hypertext Mark-up Language (HTML)
Definition

Standard text based computer language for creating electronic (hypertextdocuments for the web or offline uses. Being a 'mark-up' language, the value of HTML lies not so much in designing a visual structure (fonts, line spacing, layout, etc.) of an electronic document but in formulating its logical structure. The logical structure permits 'intelligent' information processing that is a prerequisite for the information's organizationindexationcommunication, and discovery on the web. HTML supports inclusion of audio, video, and animation into an electronic document through helper software such as ActiveXJava applets, Quick-Time. See also Extensible Markup Language. Abbreviated HTML.

Portability
Definitions (2)

1. Ability of a software to run (with little or no modification) on different hardware and/or software platforms, or work with different versions of the same hardware or program. In general, software written in Java has this ability.

2. Ability to carry a benefit, interest, or right (such as pension benefits) from one environment (such as a pension plan) to another.

Applet
Definition
Small utility programdesigned to perform a specific function within a larger program. On the internet, applets are used to make a webpage more attractive, interactive, and useful. Written commonly in Java language, their applications range from animation and 'hit counters' to sophisticated search engines.

Java virtual machine (JVM)
Definition
Java operating program that sits on top of a computer's operating system and runs Java applets and other Java programsCalled virtual machine because the environment it creates for executing the Java code behaves like a computer separate from the one it is running on, and can be installed or removed without interfering with the computer's operating system.



 

 

Business Lessons I Learned from Steve Jobs


Business Lessons I Learned from Steve Jobs

by Thomas Murcko, CEO of BusinessDictionary.com

One of the best techniques for success in business and in life is intelligent selection of role models. They can serve as sources of wisdom and inspiration, as bright lights illuminating the path to the person you want to become. In Steve Jobs I found much that was worthy of emulation, so I decided to put together a list of business and life lessons I learned from biographies and interviews of him. Here they are:

1

Be bold.

When Steve was just 12, he called the co-founder of electronics giant Hewlett-Packard to get spare parts for a hobby project. Hewlett was so impressed in that one conversation that he gave Steve a job that summer that started him on his career in technology.

2


Always ask, why do we do it that way? Often the answer is just inertia: it’s done that way today because it was done that way yesterday, not because it’s the best way. By questioning the way things were, he became an expert at seeing how things could be better. He envisioned desktop publishing, the networked office, and the pervasive, transformative power of the internet long before most others.

3

Make your own rules.

At college he skipped the required classes and instead just took whatever interested him. (This included a calligraphy class, which contributed to Apple’s leadership on fonts and desktop publishing.) After a while he decided that school was too expensive for his parents to pay for, so he stopped paying his tuition, but he was so charismatic that the dean allowed him to audit classes and stay in a dorm with friends, effectively going to college for free.

4

Live with intensity.

Life is short. Don’t spend it living someone else’s life, and don’t spend it on small matters. If something isn’t worth doing with intensity, then it’s not worth doing at all.

5

Learn from the best.

Steve wanted to innovate, so he studied the leading innovators. In Apple’s early days, this was Xerox Parc, so he visited their research labs and saw demonstrations on cutting-edge technologies that changed the trajectory of his company, including graphical user interfaces, object oriented programming, and networked computing.

6

Let everything be your teacher.

Apple took the best ideas from all fields. The early Macintosh team included people with backgrounds in music, poetry, art, history and other liberal arts, who also happened to be among the best programmers in the world. If not for computer science, they would’ve done amazing things in these other fields. Bringing together diverse expertise made the products better in countless ways.

7

Think for yourself.

At Apple, Steve didn’t use focus groups and did little or no market research. To be innovative, you can’t rely on customers to tell you what to do, because they don’t know they want and need things that don’t exist yet. You have to think for yourself, in product innovation and all other areas of business.

8

Learn to program.

Even if you don’t intend to pursue a career in programming, Jobs thought it was worthwhile to learn to program, as it helps you learn to think clearly (and provides you with immediate feedback when you’re not). He felt a business school degree was unnecessary for entrepreneurs, since business isn’t rocket science, and can be learned on the job.

9

Passion is essential to success.

When hiring, Steve looked for some of the same traits others do, including intelligence and creativity. But his primary recruiting criterion was a passion for the product that person would be working on.  In fact, his passion was so contagious that he was careful to first gauge the passion of the recruiting candidate before expressing his. Also, he emphasized that passion matters much more than money. When Apple came up with the Macintosh, IBM was spending at least a hundred times more than Apple on R&D, but it didn’t matter.

10


Microsoft’s Zune music player failed. Why? Because it was worse than the iPod. But why was it worse? Because mission matters. The Apple team loved music and art and their mission was to make a device they themselves wanted to use. Also, they were inventing something completely new, the first of its kind, which is a powerful motivating mission. The Zune was neither innovative nor driven by a passionate mission, so it’s no surprise that it failed. Really, Sony should’ve owned the MP3 player market, but it also lacked mission; it feared cannibalization of its walk-man, and its company divisions had separate P&L and didn’t work well together, so there was no room for a shared mission.

11

Make something for yourself.

Jobs and Wozniak built the first Apple for themselves because computers at the time were too expensive for them to afford. When their friends saw it, they wanted them too, so the Steve’s built a kit which enabled their friends to build their computers quickly. Then a local store wanted several dozen pre-built computers, and they realized the retail market was a much bigger opportunity than the do-it-yourself hobbyist market. That’s how Apple got started. Many other successful companies were also born from entrepreneurs creating something that they wanted for themselves, or something that removed a pain point from their lives. By starting a company that makes a product or service you want to use, you’ll be able to better judge its quality, and you’ll also be more passionate about it.

12

The execution matters more than the idea.

The idea is the easy part. Getting from a great idea to a great product requires genius, craftsmanship and toil to navigate the problems, opportunities, interconnections, subtleties and trade-offs. This is under-appreciated by most people because when it’s done right, the product’s users don’t know about these complexities; the product just works the way it should.

13


For most things in life, the difference in magnitude between ideal and average is two to one, or less. This isn’t the case in some fields, such as innovative technology product development. Here, sometimes the difference is ten to one. Sometimes it’s a difference not of magnitude but of kind, in that one person or team can do something that another couldn’t do, even given infinite time. In these fields, A players are much, much more valuable than B players. A company should be prepared to pay a lot for these stars, but only if they’re capable of differentiating quality; otherwise they might be paying A money for B players. The additional benefit of hiring A players is that it’s self-reinforcing: A players like working with other A players, so having A players makes it easier to hire and retain other A players.

14


In the early days, when Jobs couldn’t directly persuade Wozniak to quit his day job to work on the Apple full time, Jobs persuaded Wozniak’s friends and family, and then they persuaded Wozniak to do it. Later, when Jobs was building the world’s first automated computer factory (which he described as machines building machines), he went to Japan and visited not five or ten but eighty automated factories. These are just two examples of how extraordinary results require extraordinary effort.

15

Master the art of persuasion.

John Sculley had spent fifteen years climbing the ranks at Pepsi, and seemed destined to spend his life there. Jobs wanted him to join Apple, so he shattered those plans with a single question: do you want to sell sugar water for the rest of your life, or do you want to change the world? On another occasion, a Mac developer told Jobs he couldn’t cut ten seconds off the start-up time. Jobs said, what if you could save a life by doing it? The developer said yes, if it was a matter of life or death he could. Jobs replied by saying that 10 seconds per day for 10 million users is the equivalent of 100 lifetimes a year saved. The developer made it happen.

16

Build a toolbox of techniques for getting what you want.

If logic was on his side, Steve would use that first. If not, he would use charisma, persuasion, or sheer force of will. Often it was a combination of all these. A lot of the tactics mentioned in this article were also used in service of getting what he wanted: being bold, thinking for himself, questioning everything, and making his own rules.

17

Leverage what already exists.

As kids, Jobs and Wozniak heard about a guy who had found a way to make free long distance phone calls, so they scoured libraries and found an obscure technical journal at a university with the satellite codes necessary to send instructions through AT&T’s system as if coming from AT&T itself. After three weeks of work they had built a device that enabled free long distance calls. The lesson they learned was that they themselves could build something that could control billions of dollars of existing infrastructure, that they could leverage the world.

18

Believe in the power of technology to change the world.

As a kid, Steve was affected by a Scientific American article he saw that listed the efficiency of locomotion of different species. The condor was first, and the human was closer to the middle than the top of the list. But a human on bicycle was the clear winner. With this simple comparison he saw how humans as tool builders can amplify our abilities and change what’s possible. Later he even used this idea in an ad, calling Apple Computer the bicycle of the mind.

19


Act like what you do matters, because it does. You will have some impact on the world, so let it be a positive impact, in the service of something bigger than yourself.

20


Steve was able to convince people of almost anything, and sometimes even to make false things true. He could create self-fulfilling prophesies through charisma and sheer mental force. Those around him called it his reality distortion field, and it worked even when people were aware of it and anticipated it. They eventually accepted it as a force of nature, like gravity.

21

First impressions matter.

If one characteristic of your product, your service, or yourself is high quality, people are likely to assume the others are too. But if they see one feature or trait that’s low quality, they’ll lower their overall impression and expectations. So impute greatness by making sure the most prominent features, the ones people will see first, are as high quality as possible.

22

Make something beautiful.

Everyone creates things. You can create beautiful things or ugly things, so why not create beautiful things? Life isn’t just about function; aesthetics matter so let everything you do be a work of art. What is beautiful? You get to define it for yourself. For Steve, beauty was elegant, simple, intuitive, and powerful.

23

When looking for role models, admire the trait, but don’t worship the person.

Don’t expect to find perfect role models. People are complex creatures, each with much that’s worth emulating and much that’s not. Steve Jobs was no different in this regard. He had much to teach about how to succeed in business, but he also had many personality traits that I wouldn’t advise modelling yourself after. With any role model, focus on the traits they have that you think will help you move in the direction of the career and life that you want.

 

Sunday 25 August 2013

Thinking out of the Box


Thinking Out of the Box 


Every company has a performance appraisal system in place to measure the effectiveness of its employees. Employees are normally rated in most of the companies in the above categories. Apart from the above nonperformance category is also there, which is not depicted here ) . Needless to say everyone wants to be rated Outstanding. What is the yard stick and how do you measure these aspects?


Employee "A" in a company walked up to his manager and asked what my job is for the day?

The manager took "A" to the bank of a river and asked him to cross the river and reach the other side of the bank. "A" completed this task successfully and reported back to the manager about the completion of the task assigned. The manager smiled and said "GOOD JOB"


Next day Employee "B" reported to the same manager and asked him the job for the day. The manager assigned the same task as above to this person also. The Employee "B' before starting the task saw Employee "C" struggling in the river to reach the other side of the bank. He realized "C" has the same task. Now "B" not only crossed the river but also helped "C" to cross the river. "B" reported back to the manager and the manager smiled and said "VERY GOOD JOB" 


The following day Employee "Q" reported to the same manager and asked him the job for the day. The manager assigned the same task again. Employee "Q" before starting the work did some homework and realized "A", "B" & "C" all has done this task before. He met them and understood how they performed. He realized that there is a need for a guide and training for doing this task. He sat first and wrote down the procedure for crossing the river, he documented the common mistakes people made, and tricks to do the task efficiently and effortlessly. Using the methodology he had written down he crossed the river and reported back to the manager along with documented procedure and training material. The manager said "Q" you have done an "EXCELLENT JOB".


The following day Employee "O' reported to the manager and asked him the job for the day. The manager assigned the same task again. "O" studied the procedure written down by "Q" and sat and thought about the whole task. He realized company is spending lot of money in getting this task completed. He decided not to cross the river, but sat and designed and implemented a bridge across the river and went back to his manager and said, "You no longer need to assign this task to any one". The manager smiled and said "Outstanding job 'O'. I am very proud of you."


What is the difference between A, B, Q & O????????


Many a times in life we get tasks to be done at home, at office, at play….,

Most of us end up doing what is expected out of us. Do we feel happy? Most probably yes. We would be often disappointed when the recognition is not meeting our expectation.


Let us compare ourselves with "B". Helping someone else the problem often improves our own skills. There is an old proverb (I do not know the author) "learn to teach and teach to learn". From a company point of view "B" has demonstrated much better skills than "A" since one more task for the company is completed.


"Q" created knowledge base for the team. More often than not, we do the task assigned to us without checking history. Learning from other's mistake is the best way to improve efficiency. This knowledge creation for the team is of immense help. Re-usability reduces cost there by increases productivity of the team. "Q" demonstrated good "team-player" skills,


Now to the outstanding person, "O" made the task irrelevant; he created a Permanent Asset to the team. If you notice B, Q and O all have demonstrated "team performance" over and above individual performance; also they have demonstrated a very invaluable characteristic known as "INITIATIVE".


Initiative pays of everywhere whether at work or at personal life. If you put initiative you will succeed. Initiative is a continual process and it never ends. This is because this year's achievement is next year's task. You cannot use the same success story every year. The story provides an instance of performance, where as measurement needs to be spread across at least 6-12 months. Consequently performance should be consistent and evenly spread.


Out-of-Box thinkers are always premium and that is what everyone constantly looks out for. Initiative, Out-of-Box thinking and commitment are the stepping stone to success. Initiative should be lifelong. Think of out of the box.


This is the extended version of this episode:


This manager went to his reporting authority immediately after all the subordinates had finished their assigned tasks and submitted his consolidated report with an expectation of a word of appreciation. Alas! To his utter dismay he heard him talking to the Accounts chief: “Hey! Immediately settle the account of Mr. X (this manager). I never knew he has a set of self-starters who don’t need to be supervised at all.”

Moral: only such of those tasks that cannot be completed without the ultimate solution of the manager should be assigned by him to his subordinates!

(Make sure that the many negatives in the sentence do make sense!!)

Have a great day!!