About Me

My photo
'm frank, smart enough to deal with any kind of people, 've got ebility to communicate with al kind of peolpe, every1 who meets me start liking me.:) i love to smile... interestingly my name means smile:)

Tuesday, May 25, 2010

Being in UR 20's

I came across this mail long b4 aand found interesting. Saw it today its good not soooo good but worth reading.


It is when you stop going along with the crowd and start realizing that there are many things about yourself that you didn't know and may not like. You start feeling insecure and wonder where you will be in a year or two, but then get scared because you barely know where you are now.

You start realizing that people are selfish and that, maybe, those friends that you thought you were so close to aren't exactly the greatest people you have ever met, and the people you have lost touch with are some of the most important ones. What you don't recognize is that they are realizing that too, and aren't really cold, catty, mean or insincere, but that they are as confused as you.

You look at your job... and it is not even close to what you thought you would be doing, or maybe you are looking for a job and realizing that you are going to have to start at the bottom and that scares you.

Your opinions have gotten stronger. You see what others are doing and find yourself judging more than usual because suddenly you realize that you have certain boundaries in your life and are constantly adding things to your list of what is acceptable and what isn't. One minute, you are insecure and then the next, secure.

You laugh and cry with the greatest force of your life. You feel alone and scared and confused. Suddenly, change is the enemy and you try and cling on to the past with dear life, but soon realize that the past is drifting further and further away, and there is nothing to do but stay where you are or move forward.

You get your heart broken and wonder how someone you loved could do such damage to you. Or you lie in bed and wonder why you can't meet anyone decent enough that you want to get to know better. Or maybe you love someone but love someone else too and cannot figure out why you're doing this because you know that you aren't a bad person. You want to settle down for good because now all of a sudden that becomes top priority. Getting wasted and acting like an idiot starts to look pathetic. You begin to think a companion for life is better than a hundred in the shack and for once you would not mind standing tall for that special someone which otherwise you had never thought of until now. You go through the same emotions and questions over and over, and talk with your friends about the same topics because you cannot seem to make a decision. You worry about loans, money, the future and making a life for yourself... and while winning the race would be great, right now you'd just like to be a contender!

What you may not realize is that every one reading this relates to it. We are in our best of times and our worst of times, trying as hard as we can to figure this whole thing out. Send this to your twenty-something friends.... maybe it will help someone feel like they aren't alone in their state of confusion...

We call it the "Quarter-life Crisis".

Sunday, May 23, 2010

My first java application - simple calculator

yup!!! this is my first application in JAVA. its a calculator, yeh yeh it has bugs and 'm trying to take them off. but still eager to post this in my blog ;).

Anyways bug is the part of software cycle u see so its a bugfull calculator n soon a bugfree will be launched when i will learn jar creation. Kepp smiling and yes the mantra Happiness Always. dont forget it. cheers.

Please find the code below;

import java.awt.event.*;
import java.awt.*;
import javax.swing.*;

public class CalC implements ActionListener {
private JFrame f;
private JButton b1, b2, b3, b4, b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16,b17,b18;
private JLabel l1;
public int sum = 0,res=0,n1=0,n2=0,sum1=1,d,n3=1;
public char a;

public CalC() {
f = new JFrame("Tabu's calculator");
b1 = new JButton("1");
b1.addActionListener(this);
b2 = new JButton("2");
b2.addActionListener(this);
b3 = new JButton("3");
b3.addActionListener(this);
b4 = new JButton("4");
b4.addActionListener(this);
b5 = new JButton("5");
b5.addActionListener(this);
b6 = new JButton("6");
b6.addActionListener(this);
b7 = new JButton("7");
b7.addActionListener(this);
b8 = new JButton("8");
b8.addActionListener(this);
b9 = new JButton("9");
b9.addActionListener(this);
b16 = new JButton("0");
b16.addActionListener(this);
b17 = new JButton("Reset");
b17.addActionListener(this);
b10 = new JButton("+");
b10.addActionListener(this);
b11 = new JButton("-");
b11.addActionListener(this);
b12 = new JButton("*");
b12.addActionListener(this);
b13 = new JButton("/");
b13.addActionListener(this);
b14 = new JButton("%");
b14.addActionListener(this);
b15 = new JButton("=");
b15.addActionListener(this);
b18 = new JButton("Exit");
b18.addActionListener(this);
l1 = new JLabel(" ");
}



public void launchFrame() {
f.setLayout (new GridLayout(7,3));
f.add(b1);
f.add(b2);
f.add(b3);
f.add(b4);
f.add(b5);
f.add(b6);
f.add(b7);
f.add(b8);
f.add(b9);
f.add(b16);
f.add(b10);
f.add(b11);
f.add(b12);
f.add(b13);
f.add(b14);
f.add(b15);
f.add(b17);
f.add(b18);
f.add(l1);
f.pack();
f.setSize(300,300);
f.setLocation(200,200);
f.setVisible(true);
}

public void actionPerformed (ActionEvent ev)
{
try
{
if(ev.getSource()==b1)
{
n1=n1*10+1;
l1.setText(" " +n1);

}

if(ev.getSource()==b2)
{
n1=n1*10+2;
l1.setText(" " +n1);
}

if(ev.getSource()==b3)
{
n1=n1*10+3;
l1.setText(" " +n1);
}

if(ev.getSource()==b4)
{
n1=n1*10+4;
l1.setText(" " +n1);
}

if(ev.getSource()==b5)
{
n1=n1*10+5;
l1.setText(" " +n1);

}

if(ev.getSource()==b6){
n1=n1*10+6;
l1.setText(" " +n1);
}

if(ev.getSource()==b7)
{
n1=n1*10+7;
l1.setText(" " +n1);
}

if(ev.getSource()==b8)
{
n1=n1*10+8;
l1.setText(" " +n1);
}

if(ev.getSource()==b9)
{
n1=n1*10+9;
l1.setText(" " +n1);
}

if(ev.getSource()==b16)
{
n1=n1*10+0;
l1.setText(" " +n1);
}

if(ev.getSource()==b10)
{
n2=n1;
n1=0;
sum= sum+n2;
l1.setText(" " +sum);
a='+';
}

if(ev.getSource()==b11)
{

if (n3==1)
{
n2=n1;
sum = n2;
l1.setText(" " +n2);
n3=0;
n1=0;
a='-';
}

else

{
n2=n1;
n1=0;
sum=sum-n2;
l1.setText(" " +sum);
n3=0;
a='-';
}
}

if(ev.getSource()==b12)
{
n2=n1;
n1=0;
sum1=sum1*n2;
l1.setText(" " +sum1);
a='*';
}


if(ev.getSource()==b13)
{
n2=n1;
n1=0;
l1.setText("singlw div only");
a='/';
}

if(ev.getSource()==b14)
{
n2=n1;
n1=0;
l1.setText(" " +n2);
a='%';
}


if(ev.getSource()==b17)
{
n1=0;
n2=0;
sum=0;
res=0;
l1.setText("00");
sum1=0;
n3=1;
}

if(ev.getSource()==b18)
{
f.setVisible(false);
}


if(ev.getSource()==b15)
{
switch (a)
{
case '+':
res =sum+ n1;
l1.setText(" " +res);
sum=res;
break;

case '-':
res = sum-n1;
l1.setText(" " +res);
sum=res;
break;


case '*':
res = n1*sum1;
l1.setText(" " +res);
sum1=res;
break;

case '/':


if(n2==0)
1.setText("/by0");
else

{
res = n2/n1;
l1.setText(" " +res);
}

break;


case '%':
res = n2%n1;
l1.setText(" " +res);
n1=0;
n2=0;
sum=0;
break;


}
a=' ';

}

}

catch(Exception e)
{
System.out.println("Error: " +e.getMessage());
}
}



public static void main(String args[]) {
CalC grid = new CalC();
grid.launchFrame();
}
}

Sunday, May 9, 2010

I think its law if attarction


This always happen with me. I now experiencing the bangalore traffic in real through BMTC busses. My class is just in front of a signal. If the bus wont stop in signal i have to again walk around like 1KM to come back to my class. So wen ever my bus reaches near my class i keep thinking signal red hoja red hoja red hoja. When i am late its sure ki the bus missed the signal n crosses the road n i have to get down in next stop n walk back again to class. When i an 30 mins early to class n i dont think abt the signal"my dear bus" stops at signal for hell lot of time. Grrrrrrrrrrrr
It happens not once but always. I am new to BMTC though old to bangalore. I make it sure i stamp on few or i myself fall a number times on bus. I am still getting used to bus crowd n getting used to the people n bus stops. But one thing is sure, travelling in bus i got to discover many routes in bangalore. Pehle jab meri scooty thi i had known only one way.


I wonder ki jab bhi i am late for class my bus happen to meet with many red signals n i happen to miss few busses or take a wrong us n bla bla. and wen u have lot of time n leave early n i think i can go araamse. My bus always faces green signal in trafic n i get bus many frequently n also no any other drama. every day i leave at 8. thought the class at 9:30 i leave at 8 then there wont be much traffic problems n reach class at 8:50. and wen class is at 9 i leave at 8 n i reach class at 9 :15. coz of traffic signal n bla bla. My badluck? no its law of attraction. Wen i am early to class i dont care abt signals n wen i am late i keep looking at signal n expect it not to be red. The law of attraction acts reverse n the signal turns red. I dont know y i am writting this blog, may be coz i am frustrated with the traffic in bangalore. God plz mujhe isse mukti dilado.

Yes, I dont like pumpkin.


No no no its not about me..... Its about a girl in my PG(Paying Guest house) who happen to stay with us for a while. Lets call her Taany. In our PG there are few ppl who r guess visitors i mean who come to stay for a while like for 2-3 months. Taany happen to be one of them. Cute, cute n cute is the only word i got in my mind wen i saw her. I was shocked for a sec. when i heard she just passed her 12th n here for some CLaw coaching. Had a nice time with her.


So here's a pumpkin story. Mere PG ka khaana (good but still its mess food yaar). logon ke dil me bas jaata hai ki mess food not good though it taste's same as home food but still hum comment karte hain. Once we had some sabzi in dinner. I tasted it, it tasted weird so i served myself some ketchup n roti. Then i saw other they wer enjoying food, so the conversation between me n taany went like this:
Me:Tum ye sabzi kha rahi ho?
Taany: Haan kyun? achi hai,Aloo ki sabzi toh hai :P
Me: acha u have pumpkin also?
Taany: no me pumpkin kabhi nahi khaati.
Me: toh ye kya hai, the sabzi has pumpkin smashed in it. The oranfe thing is pumpkin n yellow is aloo.
Taany: arey nahi,. Then she had a close look at the sabzi. She kept the plate n went out. when i asked she said i dont like pumpkin, i have never had it. But the funny part it. B4 i tel her there's pumpkin in the sabzi she was enjoying it, n now wen i said her its pumpkin, its not tasting good.

I never knew that sabzi ka naam also matters. so i say naam pe mat jaao apni zabaan lagao(i mean taste pe jaao). he he he

Sunday, February 7, 2010



I never imagined I could ever prepare Dhoklas at home..As we've always had it from snack shops. They would have a huge tray on the counter, cut into with big square shaped pieces. Often served with green chutney and fried green chillies, it tastes delicious. I still believe, street food is the best food!!! Ofcourse discount the hygiene factor..:-)

Ingredients:
2 cups gram flour,
1 cup sour curds,
2 tsp ginger-green chilli paste,
1 tbsp oil,
1 tsp fruit salt or sweet soda(cooking soda) (ENO),
1 tsp lemon juice,
1/2 cup warm water,
Salt as per taste

For tempering:
2 tbsp oil,
1 tsp mustard seeds,
1 tsp sesame seeds,
grated coconut

Method:

1.)Combine the gram flour, sour curd, and 1/2 cup of warm water in a bowl and mix till smooth. Set aside for 45 mins.
2.) Add the ginger-green chilli past, oil and salt and mix well.
3.) Grease a 7 inch diameter thali and set aside.
4.) Just before steaming add the fruit salt and lemon juice. Fold the batter once bubbles form, very gently.
5.) Pour the batter immediately into the greased thali and spread the batter evenly.
6.) Steam for 15 to 20 mins or till a skewer inserted comes out clean.
7.) For the tempering, heat the remaining oil. Add the mustard seeds and sesame seeds. Once the seeds crackle add asafoetida and 2 tbsp of water. Pour the tempering over the prepared dhoklas.
8.) Cool slightly and cut into equal pieces. Garnish with coriander and green chilli and serve hot.

Tips:
Add the fruit salt to the batter just before you are ready to steam the dhoklas, or they will not rise.
The water in the steamer/cooker should be boiling before you put in the uncooked batter, so that the dhoklas will cook faster and rise well.

The more u garnish the more delecious it turns good. U can have it with a combination of green and sweet chutney.

Ingredients

Powdered sugar : 1 cup
Butter : ½ cup
Milk powder : 1 cup
Cocoa powder : ½ cup
Water : ¼ cup

Method

Set microwave to high power.
In a bowl, mix sugar and water and keep it in the oven for 4 - 5 minutes.
Check to see if it has attained a two string consistency.
That is, if we take the syrup between the tip of our fingers and stretch our fingers two strings of syrup should appear.
Add butter and keep the bowl in the oven for1 minute.
Remove from the oven, add milk powder, cocoa powder and mix well.
Pour this on greased plate or chocolate moulds to set.
If needed we can garnish it with cashew, badam, pista etc.

P.S.: Add roasted almonds and raisens and more nuts to the mixture. If u follow the procedure corredtly u'll end up making delicious chocolate as good as Gadbury Temptations.

ALL The best

Thursday, January 7, 2010

beetroot curry


Beet root curry.

Ingredients : Beet root 2 numbers
Zeera: 1 T spoon
Coconut: 2cm-2cm cube
Red dry chilly: 8-10 numbers
Kari patta(kari bevu): 10-15 leaves
Green Coriander : 5 twigs
1 onion finelt chopped
Tamarind: 4 numbers
Oil for tadka

Procedure:
Shallow fry all ingredients except beetroot on medium flame and grind to paste.
Cut beetroot into small cubes and boil in 1 leter of water. Collect the drained water and keep aside.

Now take little oil and add mustard seeds and kari patta, onion for tadka and add the paste of the ingredients made. Now add beetroot drained oink colour water collected. Add salt and tamarind paste according to the taste. Leave it to boil for some time. Beet root curry is ready and u can also sip it as a soup.

This is usually made for Dal Curry. We usaully replace beetroot with Dal, rest all procedure. use dal stock inplace of beetroot stock. I tried it with beetroot stock as it is more colourful, temptating to eat. U can use the left over beetroot to make side dish. Use the usual tadka of curry leaves, mustard seeds, onion and add left over beetroot. Add salt to taste. Garnish with some grated coconut. Yummie dish. Taste good with white rice.