Wednesday, December 16, 2009

Handy Manny song


Let's get going and fix it right,
Twist & turn, make it tight,
Trabajamos juntos, we work together now!

Cut it, measure it, tap it flat
Bend and twist, just like that!

Each of us have a special job,
We work together, todos juntos,
We can fix it right!

Se7en Review

A thriller serial murder movie based on Seven deadly sins which are following:

1. Greed

2. Gluttony

3. Sloth

4. Wrath

5. Lust

6. Envy

7. Pride

Serial killer starts killing people who are at extreme level of each of sin. Two detectives Morgan freeman and Brad pitt works together for solving themselves. 5 of the siners were killed and they didn’t succeed. After that Killer surrender himself with all surprise.

Movie end was too bad for imagination. After surrender, killer demands that he has already committed two more death and he will inform only if two of detective alone comes with him to the site. Killer and two of detectives drive to the site showed by killer. They reach to some outskirts and a van appeas. Morgan stops the van, asks him for more detail. He admits that he is courier man and someone pays him to took one box to this place. Morgan opens the box, with bad surprise it contains someone’s badly cutted head and which was of Brad pitt’s wife.

Killer admits the fact that he was jealous of their love and try to live his life with his wife. He tried to "play husband" with Tracy earlier that day but it did not work out and he took a souvenir instead her head. And that way he committed “Envy” and makes the pitt to responsible for “Wrath” by killing the serial killer.

Movie contain good debates between two of detectives throughout the investigation as both are quite different. Well all murders are depicted so badly that I was somehow sad after watching this movie. Overall can say movie was good. But one might have seen such things on TV detective shows. J Instead A good timepass!

Monday, October 5, 2009

Regular expression for password


Regular expression for password check:

1. ^.*(?=.{8,10}) (?=.*[a-zA-Z0-9]).*$
This password RegEx will check length between 8 to 10 characters, which includes alphabets either uppercase or lowercase and digits.

2. ^.*(?=.{8,10})(?=.*\d)(?=.*[a-zA-Z]).*$
This password RegEx will check length between 8 to 10 characters, minimum one digit and minimum one alphabet either uppercase or lowercase. It doesn’t allow any special characters.

3. ^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=]).*$
This password RegEx will check minimum length of 8 characters, minimum one 2 digits, minimum one lowercase alphabet, minimum one uppercase alphabets and minimum one occurance of special character.

4. ^.*(?=.{8,20})(?=(?:.*?\d){2})(?=(?:.*?[a-zA-Z]){2})(?=.*[!@#$%^&\*+=\\?]{0,}).*$
Or
^.*(?=.{8,20})(?=.*\d{2,})(?=.*[a-zA-Z]{2,})(?=.*[!@#$%^&\*+=\\?]{0,}).*$
This password RegEx will check length between 8 to 20 characters, minimum no of 2 digits, minimum of 2 alphabets either uppercase or lower case and zero or more occurances of special characters.

Basic terminology: http://www.regular-expressions.info/reference.html
Download: http://www.radsoftware.com.au/regexdesigner/
Msdn Link: http://msdn.microsoft.com/en-us/library/ms972966.aspx

Thursday, August 6, 2009

Pan card

For applying new pan card first time, fill the form of new pan card which is available at: http://tin.nsdl.com/downloads/Form-49A_110708.pdf. Instructions for applying new pan card found at: https://tin.tin.nsdl.com/pan/form49A.html. The fee for processing new or duplicate copy of PAN application is Rs.94.00.

For any data change in pan card you need to fill form of Change/Correction form which is available at: http://tin.nsdl.com/downloads/Form-49A-1_110708.pdf you need to fill all details and check left hand side checkbox only for places where you need corrections. All other checkbox should leave empty. Instructions for Changes or corrections in pan card details found at: https://tin.tin.nsdl.com/pan/correction.html

If you have lost your pan card, you need to apply for a duplicate pan card. Police complain is not required, but you can do it as formality so that no one misuse your pan card detail.

There isn’t any form available for lost (duplicate copy) pan card. What you need to do is just apply for change or correction in pan card detail form. You can find the form at following location: http://tin.nsdl.com/downloads/Form-49A-1_110708.pdf and don’t check any checkboxes given left hand side. All required documents should be attached while applying for pan card.

Monday, July 13, 2009

paradox terminology

paradox is a statement that contradicts itself. Isnt it strange? It is quite difficult to understand it. Literature is always been so complex for me. Or may be I am so much complex to understand all this terminology. could you produce such statement that conflicts with itself? you might be thinking its too difficult. If one dont understand even meaning, how can one make such statements so easily? well, many of you had used such statements in their routine life.

e.g.: "I always lie" is a paradox because if it is true it must be false. Isnt it cool?
I found this term in while reading on Socrates. I was searching for followers sequence among Socrates, Aristotle, Plato & Alexander. and got the sequence. First came Socrates => Plato => Aristotle => Alexander the great.


Socratic Paradoxes
Many of the beliefs traditionally attributed to the historical Socrates have been characterized as "paradoxal" because they seem to conflict with common sense. The following are among the so-called Socratic Paradoxes:

  • No one desires evil.
  • No one errs or does wrong willingly/knowingly.
  • Virtue - all virtue - is knowledge.
  • Virtue is sufficient for happiness.
  • I know that I know nothing.


Reference : http://en.wikipedia.org/wiki/Socrates. Wikipedia is always good stuff to read.
Keep wiking!

Programming Design

string abcdefghijklmnopqrstuvwxyz = string.Empty;
string abcdefghijklmnopqrstuvwx = string.Empty;
string abcdefghijklmnopqrstuv = string.Empty;
string abcdefghijklmnopqrst = string.Empty;
string abcdefghijklmnopqr = string.Empty;
string abcdefghijklmnop = string.Empty;
string abcdefghijklmn = string.Empty;
string abcdefghijkl = string.Empty;
string abcdefghij = string.Empty;
string abcdefgh = string.Empty;
string abcdef = string.Empty;
string abcd = string.Empty;
string ab = string.Empty;
string abcd = string.Empty;
string abcdef = string.Empty;
string abcdefgh = string.Empty;
string abcdefghij = string.Empty;
string abcdefghijkl = string.Empty;
string abcdefghijklmn = string.Empty;
string abcdefghijklmnop = string.Empty;
string abcdefghijklmnopqr = string.Empty;
string abcdefghijklmnopqrst = string.Empty;
string abcdefghijklmnopqrstuv = string.Empty;
string abcdefghijklmnopqrstuvwx = string.Empty;
string abcdefghijklmnopqrstuvwxyz = string.Empty;

Thursday, June 11, 2009

A thought to Epicurus' Philosophy


Let me start with Author Epicurus. Epicurus is a famous Greek ancient philosopher. He taught that pleasure and pain are the measures of what is good and bad, that death is the end of the body and the soul and should therefore not be feared, that the gods do not reward or punish humans, that the universe is infinite and eternal, and that events in the world are ultimately based on the motions and interactions of atoms moving in empty space.

More details can be seen at wikipedia link: http://en.wikipedia.org/wiki/Epicurus

It’s a weird quote I found on internet plus quite interesting. Just give a thought to yourself. Isn't it true? We people are too Orthodox to believe everything what others say.

I always have question in my mind "Does God really exists?" and so many of you might have! Well it is similar to question "Who came first: Hen or Egg?" Answer will vary from person to person, because no correct solution exists. Thing is what to believe or what not to!

If god survives us then why there is evil inside a human, cant he removes evil? If he can’t remove evil then how can he became God? We think god with super natural power, then how can one evil survive against this supernatural power? Why God is invisible to everyone? What is the significance of God if thousands of people calling him and he is not coming? Does he have any kind of Laws in his list? What order does God used to follow? Does God stay in any Idol?

According to me, God is just belief of people, their hope of making things correct, removing all malicious things and make society happy. Not more than that. What is happening around us, only we are responsible for that and does by ourselves only. If we are driven by God, then why he driving us to do wrong things? Going temple with new clothes everyday won’t vanish your sins if you are cheating someone at office every day. What we are supposed to do is follow realism and doing correct things in our lives.

More on "The Principal Doctrines" from Epicurus can be found at: http://www.epicurus.net/en/principal.html

What do you think? Is Author correct in his philosophy?