Nature of Man Kind – this includes women, they are like bio wars, very silent :P
L.V.R.PAVAN KUMAR E's blog - Means it is my blog :P. Just for blogging on any thing I like. Track me by 'surpavan' for my online profiles.
Sunday, February 28, 2010
HDD Partitions
Partitions are virtual divisions that we do to a HDD. They actually do not split the HDD into parts but they virtually do that. By partitions we will be able to organize well instead of having one single drive.
Partitions are folders. By having our data organized in folders we will be able achieve effective data storage, in here the folder i.e. each partition is referred as disk. Each disk acts like a folder, but it gives many options that are not possible for a folder, this makes the difference. And these partitions gives the MBR too……..
Partitions are of 3 types:
- Primary partition.
- Extended partition.
- Logical partition.
Primary partition:
Primary partition is treated as first partition of the HDD. The main necessity for creating a primary partition is because only this type of partition have MBR. It is explained as follows.
MBR means Master Boot Record. It tells the system where the OS is installed and which is the first file that it has to start on. With out and MBR their cannot be an OS. You can create up to 4 primary partitions.
Note: Only one partition is created during installing windows, by the use of computer management tool from the administrative tool in control panel we can create the rest of the primary partitions .
Extended partition:
The left over space after the creation of primary partition and leaving the unallocated space is called as extended partition. This called so because it is just an extension of primary partition except that it has no MBR. It contains logical partitions i.e. it gives it space to create a logical partition.
Logical partition:
It is the sub-partition of extended partition. It is used as an additional drive. Extended partition's space is useless unless its space is assigned to logical partitions.
Thursday, February 25, 2010
Gandhiji’s Favourite Song
Raghupati Raghav Rajaram
Patit Paavana Sitaram
Sitaram Jai Sitaram
Bhaj pyare tu Sitaram
Raghupati Raghav..........
Ishwar Allah Tere Naam
Sabko sanmati de Bhagwan
Raghupati Raghav........
Translation is:
Rama, the Lord of heavens
Blessed is thy name
Victory to you Ram
the husband of Sita
Oh so lovable, joyous
it is to worship thee...
Some of us call you as Shiva
and some others as Allah
but we beg you Lord
that you bless us all...
Does an MBA Matter in the Real Business World
57% of Executives Say the Advanced Degree is Nice, But Not Necessary In TheLadders.com Survey
New York, NY (PRWEB) February 28, 2005 -- With the average salary of business school graduates now topping $82,000, and some elite schools boasting average graduate salaries well into the $100k+ range, it may seem that getting a Masters Degree in Business Administration is the ticket to financial security. But does having an MBA really impact your success in the business world? According to a survey conducted by TheLadders.com, the worlds leading $100,000+ job website, 57% of executives said the degree is valuable, but not essential.
A total of 1,521 executives in the $100k+ job market responded to the survey, which asked: How would you rate the value of an MBA in your business? While the 57% majority characterized a business school diploma as a nice addition, but not necessary,” 26% said it was very important” to have the degree. Only 17% said it was altogether unimportant” to have an MBA in the current business climate.
An MBA can be a fantastic credential for executives; its not just a diploma, its an entire network of shared experiences and overcome challenges,” explained TheLadders.com founder and president, Marc Cenedella. But no degree can guarantee success ‘in the arena. Its important for executives to focus on how an MBA enables job success, not just cocktail party bragging rights. A diploma on the office wall doesnt mean youll reach the penthouse.”
The survey of registered $100k+ executives was conducted on TheLadders.com Web site from February 16, 2005 through February 24, 2005. The margin of error is ±2.6%.
Now reaching over 270,000 readers and featuring over 17,000 new $100k+ job listings each month, TheLadders.com is the largest online job search service catering exclusively to the $100k+ market. Marc Cenedella founded TheLadders.com in July 2003 after a tenure as Senior Vice President, Finance & Operations, at HotJobs.com, ultimately shepherding that companies sale to Yahoo, Inc. (NASD: YHOO) in 2002. In May 2004 he was named Entrepreneur of the Year by award-winning marketing newsletter, MarketingSherpa, which cited TheLadders.coms unique business model as a key to its sustained growth.
Source: http://www.prweb.com/releases/2005/2/prweb213254.htm
Wednesday, February 24, 2010
Life Punch lines
- Don't love the Heart that hurts you and don't hurt the Heart that loves you.
- Don't cry over anyone who won't cry over you.
- Good friends are hard to find, harder to leave, and impossible to forget.
- Most people walk in and out of your life, but only friend's leave footprints in your heart.
- True friendship "never" ends. Friends are forever.
- People are lonely because they build walls instead of bridges.
- If we are incapable of finding peace in ourselves, it is pointless to search elsewhere.
- The bond that links your true family is not one of blood, but of respect and joy in each other's life. Rarely do members of one family grow up under the same roof.
- A change of heart changes everything.
- Our greatest glory is not in ever falling, but in rising every time we fall.
- You only live once - but if you work it right, once is enough.
- One generation plants trees, and the next enjoys the shade.
- It is difficult to live in the present, ridiculous to live in the future, and impossible to live in the past. Nothing is as far away as one minute ago.
Embedded Fonts – Carry fonts in Word document
One of the new feature in office line of products that came new in office 2007 is the option to include the source fonts into the save file.
This option is present from this series only.
This option will allow the user to carry the document along with the source fonts that he used in his document.
This will help the user to not loose formatting of his text on any other machine which does not have these fonts.
This comes really handy and one more major care taken by Microsoft in here is that the fonts that are used in the document are not going to be installed in the system where it is used but the fonts can be changed their.
This will help in the security of the fonts that are bought separately.
The only disadvantage of using this option is that, the size of the file is increased vastly.
On my test on a small file of 74kb which used to fonts, when converted into file including font files, it came around 1.8mb.
Process to be followed to activate this feature for a file:
- At the time you are saving the document do the following
- Go to File
- Go to Word Options.
- In the Pop up dialog, go to Save tab on the left hand menu.
- check the ‘Embedded Fonts’ choice box to yes.
- And the save the document.
The verification is simple, just go back and see the size of the a file or even just open the document and go back the entire process and to verify weather the option is marked as checked.
Tuesday, February 23, 2010
Folder Trick
An Indian discovered that nobody can create a FOLDER anywhere on the
computer which can be named as "CON".
This is something pretty cool...and unbelievable. .. At Microsoft, the
whole Team, including Bill Gates couldn't answer why this happened!
TRY IT NOW, IT WILL NOT CREATE "CON" FOLDER
Try To rename the New Folder as CON or con it will not accept...the same case in the names of COM1, COM2 and so on.
Rabindranath Tagore VISION
His Vision
Where the mind is without fear and the head is held high.
Where knowledge is free.
Where the world has not been broken up into fragments
By narrow domestic walls.
Where words come out from the depth of truth.
Where tireless striving stretches its arms towards perfection.
Where the clear stream of reason has not lost its way
Into the dreary desert sand of dead habit.
Where the mind is led forward by Thee
Into ever-widening thought and action.
Into that heaven of freedom, my Father, let my country awake.
-Rabindranath Tagore
The vision articulated by Rabindranath Tagore is all encompassing in every sense. It has laid down what he considered to be the basic constituents of the “heaven of freedom”.
We can identify eight components of this vision reflected in the poem quoted earlier, which we can attempt to translate into operational terms for India’s vision 2020.
Where the mind is without fear – Peace and security, internal as well as external, is the first and most essential foundation for the nation’s future progress. Fearlessness can only be attained when this security extends to cover, over and above our physical safety, our social rights and economic well being, to eliminate all forms of vulnerability and discrimination.
Where the head is held high – Self-respect and self-esteem are the psychological foundations for the development of individuality and individual initiative, which are the means through which the nation builds its strength and fulfils its aspirations. The nation prospers through the development and flowering of all its citizens as individuals. Health, education and employment opportunities for all, and awareness of our rich spiritual and cultural heritage are the essential bases for fostering self-respect and self-esteem.
Where knowledge is free – Development takes place when people become aware of opportunities for advancement and acquire the knowledge needed to convert those opportunities into practical accomplishments. Knowledge in the form of education, technology and access to a wide range of information is a catalyst for individual and social progress. The free flow of knowledge is the basis for a free and prosperous society.
Where the world has not been broken up into fragments by narrow domestic walls – The spirit of globalization which is rapidly reshaping the world today cannot be better expressed. The accelerated flow and exchange of trade, capital, technology, information and people will create unprecedented opportunities for the progress and prosperity of all countries that can transcend the narrow confines of national boundaries. India can however realise its full potential in the wider world only when it is internally united, surmounting all the centrifugal forces that overlook our common heritage and accentuate our differences.
Where words come out from the depth of truth — Integrity, honesty and trustworthiness are the essential foundations for a successful democracy and a prosperous society. Both good governance and commercial success demand rigorous standards of transparency, accountability and reliability in word and action.
Where tireless striving stretches its arms towards perfection – Prosperity is the result of productivity and efficiency which require the highest level of productive skills, technological excellence and human effort.
Where the clear stream of reason has not lost its way into the dreary desert sand of dead habit – Nations develop by choosing the best the future has to offer, while being willing to discard outmoded ideas and behaviours that retard future progress and even threaten to undermine the country’s unity and strength.
Where the mind is led forward by Thee into ever-widening thought and action – Education, innovation and creativity are the ultimate driving forces for the continuous advancement of scientific knowledge and material accomplishment.
These threads from Rabindranath’s poem are the vital strands from which a fulfilling vision of India 2020 can be woven.
Thanks to the Rabindranath Tagore for awakening my spirit with his great poem.
JAI HIND!!!!!
Opinion on Love - by Swami Vivekananda
NICE ARTICLE ABOUT LOVE-by Swami Vivekananda
I once had a friend who grew to be very close to me. Once when we were sitting at the edge of a swimming pool,
she filled the palm of her hand with some water and held it before me,
and said this: "You see this water carefully contained on my hand? It symbolizes
Love." This was how I saw it:
As long as you keep your hand caringly open and allow it to remain there, it will always be there. However, if you attempt to close your fingers round it and try to posses it, it will spill through the first cracks it finds. This is the greatest mistake that people do when they meet love...they try to posses it,
they demand, they expect... and
just like the water spilling out of your hand,
love will retrieve from you. For love is meant to be free, you cannot change its nature. If there are people you love,
allow them to be free beings. Give and don't expect. Advise, but don't order. Ask, but never demand. It might sound simple, but it is a lesson that may take a lifetime to truly practice.
It is the secret to true love.
To truly practice it,
you must sincerely feel no expectations from those
whom you love,
and yet an unconditional caring.
Passing thought... Life is not measured by the number of breaths we take; but by the moments that take our breath away..... Life is beautiful!!! Live it !!!
Monday, February 22, 2010
Subjects to score the best in Life exams Guide
Live as if your were to die tomorrow. Learn as if you were to live forever. - Gandhi
I cannot teach anybody anything, I can only make them think - Socrates
Personally, I am always ready to learn, although I do not always like being taught. - Winston Churchill
Knowing is not enough; we must apply.
Willing is not enough we must do. - Goethe
The only real mistake is the one from which we learn nothing." - John Powell
You cannot teach a man anything. You can only help him discover it within himself. - Galileo Galilei
Learning is not a spectator sport. - D. Blocher
For learning to take place with any kind of efficiency students must be motivated. To be motivated, they must become interested. And they become interested when they are actively working on projects which they can relate to their values and goals in life. - Gus Tuberville, President, William Penn College
The only kind of learning which significantly influences behavior is self-discovered or self-appropriated learning - truth that has been assimilated in experience. - Carl Rogers
It's all to do with the training: you can do a lot if you're properly trained. - Elizabeth II, Queen of Great Britain and Northern Ireland (b. 1926). Television documentary, BBC1, 6 Feb. 1992.
I have lived some thirty years on this planet, and I have yet to hear the first syllable of valuable or even earnest advice from my seniors. - Henry David Thoreau
I never teach my pupils; I only attempt to provide the conditions in which they can learn. - Albert Einstein
The teacher if he is indeed wise does not teach bid you to enter the house of wisdom but leads you to the threshold of your own mind. - Kahlil Gilbran, Lebanese symbolist poet and painter
The author himself is the best judge of his own performance; none has so deeply meditated on the subject; none is so sincerely interested in the event. - Edward Gibbon ìMemoirs of my Lifeì (1796)
Retention is best when the learner is involved. - Edward Scannell, director, University Conference Bureau, Arizona
Examinations, sir, are pure humbug from beginning to end. If a man is a gentleman, he knows quite enough, and if he is not a gentleman, whatever he knows is bad for him. - Oscar Wilde, ìLord Fermor, in The Picture of Dorian Grayî (1891)
Training is everything. The peach was once a bitter almond; cauliflower is nothing but cabbage with a college education. - Mark Twain ìPudd'nhead Wilsonî
It takes two to speak the truth,--one to speak, and another to hear. - Henry David Thoreau
Common-sense is part of the home-made ideology of those who have been deprived of fundamental learning, of those who have been kept ignorant. This ideology is compounded from different sources: items that have survived from religion, items of empirical knowledge, items of protective skepticism, items culled for comfort from the superficial learning that is supplied. But the point is that common-sense can never teach itself, can never advance beyond its own limits, for as soon as the lack of fundamental learning has been made good, all items become questionable and the whole function of common-sense is destroyed. Common-sense can only exist as a category insofar as it can be distinguished from the spirit of enquiry, from philosophy. - John Berger, British author, critic.
The real voyage of discovery consists not in seeking new lands, but in seeing with new eyes. - Marcel Proust, French novelist
The mediocre teacher tells. The good teacher explains. The superior teacher demonstrates. The great teacher inspires - William Arthur Ward
The biggest enemy to learning is the talking teacher. - John Holt
Education is what survives when what has been learned has been forgotten. - B. F. Skinner
Everybody who is incapable of learning has taken to teaching. - Oscar Wilde "The Decay of Lying"
Some, for renown, on scraps of learning dote, And think they grow immortal as they quote. - Edward Young
Wisdom lies neither in fixity nor in change, but in the dialectic between the two. - Octavio Paz
The road to wisdom?-Well, it's plain and simple to express: Err
and err
and err again
but less
and less
and less.
- Piet Hein, Danish inventor and poet.
To know yet to think that one does not know is best; Not to know yet to think that one knows will lead to difficulty. - Lao-Tzu (6th century B.C.), Legendary Chinese philosopher.
Some are born with knowledge, some derive it from study, and some acquire it only after a painful realization of their ignorance. But the knowledge being possessed, it comes to the same thing. Some study with a natural ease, some from a desire for advantages, and some by strenuous effort. But the achievement being made, it comes to the same thing. - Kung Fu Tzu (Confucius)
When you know something, say what you know. When you don't know something, say that you don't know. That is knowledge." - Kung Fu Tzu (Confucius)
What I hear, I forget.
What I see, I remember.
What I do, I understand.
- Kung Fu Tzu (Confucius)
There can be no knowledge without emotion. We may be aware of a truth, yet until we have felt its force, it is not ours. To the cognition of the brain must be added the experience of the soul. - Arnold Bennett (1867-1931), British novelist. The Journals of Arnold Bennett (1932), entry for 18 March 1897.
If you want to know the taste of a pear, you must change the pear by eating it yourself. . . . If you want to know the theory and methods of revolution, you must take part in revolution. All genuine knowledge originates in direct experience. - Mao Zedong (1893-1976), founder of the People's Republic of China. Speech, July 1937, Yenan, China.
Knowledge is and will be produced in order to be sold, it is and will be consumed in order to be valorized in a new production: in both cases, the goal is exchange. Knowledge ceases to be an end in itself, it loses its use-value. - Jean FranÁois Lyotard (b. 1924), French philosopher. The Postmodern Condition: A Report on Knowledge, Introduction (1979).
Knowledge in the form of an informational commodity indispensable to productive power is already, and will continue to be, a major-perhaps the major-stake in the worldwide competition for power. It is conceivable that the nation-states will one day fight for control of information, just as they battled in the past for control over territory, and afterwards for control over access to and exploitation of raw materials and cheap labor. - Jean FranÁois Lyotard (b. 1924), French philosopher. The Postmodern Condition: A Report on Knowledge, Introduction (1979).
The things we know best are the things we haven't been taught. - Luc Vauvenargues, Marquis de (1715-47), French moralist. ReflÈxions et Maximes, no. 479 (1746).
Learning without thought is labor lost. Thought without learning is intellectual death. - Confucius (551-479 B.C.)
To know yet to think that one does not know is best;
Not to know yet to think that one knows will lead to difficulty. - Lao-Tzu (6th century B.C.), Legendary Chinese philosopher. Tao-te-ching, bk. 2, ch. 71 (tr. by T. C. Lau, 1963).
The art of teaching is the art of assisting discovery. - Mark Van Doren, poet
The most important part of teaching = to teach what it is to know. - Simone Weil (1909-43), French philosopher, mystic. London Notebook (written 1943, published 1950; repr. in First and Last Notebooks, pt. 4, ed. by Richard Rees, 1970).
It is by teaching that we teach ourselves, by relating that we observe, by affirming that we examine, by showing that we look, by writing that we think, by pumping that we draw water into the well. - Henri-FrÈdÈric Amiel (1821-81), Swiss philosopher, poet. Journal Intime (1882; tr. by Mrs. Humphry Ward, 1892), entry for 27 Oct. 1853.
I have never let my schooling interfere with my education - Mark Twain
If the past cannot teach the present and the father cannot teach the son, then history need not have bothered to go on, and the world has wasted a great deal of time. Russell Hoban (b. 1925), U.S. author. - Jachin-Boaz, in The Lion of Boaz-Jachin and Jachin-Boaz, ch. 1 (1973).
Nothing is more terrible than activity without insight. - Thomas Calyle, Scottish essayist and historian
Before you become too entranced with gorgeous gadgets and mesmerizing video displays, let me remind you that information is not knowledge, knowledge is not wisdom, and wisdom is not foresight. Each grows out of the other, and we need them all. - Arthur C. Clarke
Creative thinking may mean simply the realization that there's no particular virtue in doing things the way they have always been done. - Rudolph Flesch
In the outskirts of Dubuque, on the farm, when I was growing up - back there, back then - I learned, with all the pigs and chickens and the endless sameness everywhere you looked, or thought, back there I learned - though I doubt I knew I was learning it - that all the values were relative save one..."Who am I?" All the rest is semantics - liberty, dignity, possession. There's only one that matters: "Who am I?" - Elizabeth, in The Lady from Dubuque, a play by Edward Albee
I have never in my life learned anything from any man who agreed with me. - Dudley Field Malone
Choices
A small message can change the life of an entire person. Read it, it says what you are now is what you have chosen to done earlier.
What ever comes in our way,
Bad or Good,
We always have a choice,
It is the choices that make us 'who we are'
And we can always choose to do what is right
Sunday, February 21, 2010
Dynamic Button Creation in C#
First we have to create an Instance for a button:
Button myButton = new Button();
Give some name for the button:
myButton.Name = "ButtonX";
Give the location to the button, basically it is necessary because we need to position it on the form at some given X,Y coordinates; if this value is not given the default position take would be (0,0), that is the starting position of the form:
myButton.Location = new Point(80,80);
Text value of the button is given like this:
myButton.Text = "Click me";
Finally and the most important of all, we are required to add this control to the forms controls, else this control would not be used by the code or program:
this.Controls.Add(myButton);
Completed……Enjoy!!!
Attach a SQL DB to SQL Server
To add or attach an existing sql db to sql server, we are required to follow the following steps:
Step 1 : Open the Windows Command prompt by going into START>RUN and type “cmd” and press enter.
Step 2: Type the following code:
sqlcmd -S PAVAN\SQLEXPRESS
where PAVAN\SQLEXPRESS stands for the sql instance in PC, it is independent for every installation or registration. You could get this information from the SQL Configuration Manager program that got installed with the SQL Server (shortcut is placed in Start menu by default).
Step 3: Type the following code:
USE [master]
GO
CREATE DATABASE [MISDBDONE] ON
( FILENAME = N'C:\Pavan\Shared\MIS_DB\MISDB.mdf' ),
( FILENAME = N'C:\Pavan\Shared\MIS_DB\MISDB_log.ldf' )
FOR ATTACH ;
GO
Please fill in the mdf and ldf file paths in the Filename command. Then execute the code.
And this is how it is done. Thanks for reading.
Remove a Control Dynamically at runtime in C#
The following code could be used to remove a control dynamically at runtime:
For i As Integer = 0 To Me.Controls.Count - 1
If Me.Controls(i).Name = "NameofcontroltobeRemoved" Then
Me.Controls.RemoveAt(i)
End If
Next i
Enjoy it.
GOTO statement in C#
GOTO statement is a very useful statement when the flow of control is very narrow. Following is the syntax sample for this statement.
Sample Code:
if (k==12)
{
goto Yes;
}
Yes:
Console.WriteLine("Same”);
Done:
Console.WriteLine("Search Completed”);
In the above sequence of code, if K is equal to 12 then the control would jump to “Yes” line and start executing them. Point to note is the that even if the condition is satisfied, the Done block would also be processed because GOTO statement is only for transferring control and the blocks like “Yes” and “Done” acts merely as line number/names.
Constructor for Form and Class overloading
In c#, for creating constructor for class, we simply use the class name as the method/function.
Example:
Class test
{
Public Void test (String k)
{ codes}
}
In case of C# for creating an overload for Form, we do it the same way.
However in case of VB, this defers. We create a method/function or Form overload with the name as “New”
Example:
Class test
{
Public Void New(K as String)
{ codes}
}
I hope it is simple to understand.
Array Length/Size in C# and VB
I found out a pretty interesting fact when I was working on a program, I used a Array of string of 5 in C# and got a Perfect 5 items to use.
However, this was not the case in VB, when I used the same size of Array of string , i.e. length of 5, I found out that I get 6 items to use. This is a fascinating fact suddenly for me.
So I understand that in VB we get the array count starting from 0 however in C#, the count starts from 1. IMPORTANT STUFF.