Long time since I blogged :-) Well life’s getting on busy ;-) .

We had placements 3 months back and for that we had a so called ‘training’. We were informed that we are to attend VETA classes for improvising on english language. Classes were conducted every monday last two hours killing our only free time available. Attendance was taken and we were mandatorily made to attend the classes!!. It was one such Monday and myself and ma friend had turned up early to that class. So we thought of getting back after some time and eventually turned up late. Well what I saw was an eccentric fellow who made me reiterate my name until i felt like telling him-’Dont worry i wont forget my name’ Phew!!!!

I looked at him absolutely uninterested. He was impressing upon the point that he had come to deliver some motivational talk. The talk started with him telling that he was addressing some gathering and this is how it went ‘Ladies or gentlemen ‘. I thought i heard it wrong initially.

Then suddenly he was distracted when he saw a guy talking. He made him get up and asked for his name. He made him say again and again(Guess he likes people to get their names by rote). Then there was this soft girl in my class and he asked for her name. She was terribly soft but did nt make her repeat her name. And then looked at this guy of my class and said ‘You are best than her’ (presumably a tone of sarcasm).

It was when he was narrating a story the real climax came!. The story goes like this:(I’ve tried so much to follow his style of talking but pardon me if the English sounds decent at some places)

He had been to interview to select guys for veta. They had so many applicants but he was not really impresed by them. So he took a break to ’smoke’!!.And then he noticed this guy- He was wearning CHAPPALS,TALKING IN MALAYALAM OVER THE PHONE AND SMOKING TOO!!! . He liked his attitude and he got selected.The fellow demanded 9 lakhs and he asked for 4.5 lakhs and both setteld for 4.75 lakhs. So wondering why he said all this- coz attitude matters!!!

The moral of the story is- if at all there are guys who wear ‘ chappals, t-shirts and jeans and importantly smoke ‘ contact him. He is ready to give jobs. Hearing his talk my friend and myself tried to stilfe a laughter when it just went uncontrollable and i gave out a loud yelp trying to control it.

He looked at both of us and I was laughing right into his face!.And now the talk was on how not to hurt people. It began like this- When you get up in the morning tell youselves-don’t emotionally attack people. If you are sugar coating on your dialogue…….and then the world around me changed. I was no longer listening to the crap. Suddenly when he was emoting too much waking me up from my world I heard him say’ D anser would ve caaaaaameeeeeee‘. Some more maniacal talks on  ‘Everybody is like elephant‘ fell into ma ears.

Finally the bell outside buzzed me back to my world. These were the concluding words-Believe me when i talk like this to – IIMs- ABC. Well no fool in his most insane form will believe this!!!.

So people wanna catch up with more fun like this- Do ask your college to arrange for Veta classes:-))))

Many would know about MinGw and this blog is for amateurs like me.MinGW is basically Minimalist GNU for windows.For those who dont have linux installed you can still use a gcc compiler this way!Download for MinGW is available in the official MinGW site.

Problems in compilaton: 

You just have to move into your folder of your c program in the command prompt for compilation.

What really went wrong here was I still could’nt compile though I had downloaded MinGW!!!

when i tried gcc my_file.c this is what i got:

‘gcc ‘ is not recognised as an internal or an external command

operable program or batch file 

gcc is present in the path: C:\MinGW\bin.So when yougo to the path and type gcc it says

gcc:no input files 

So if you encounter these errors then it just means that you have not set the command path for MinGW.Command path is basically the list of directories or folders that the computer should look for programs to be excecuted from command prompt!

To set command path:

set Path=c:\MinGw\bin;%Path% .

This should just work fine:)

mutating errors….These were bothering me big time for some days!!!I was trying to desperately resolve it.Well I still am trying!!.Apparently I hit on a google search and this is what I figured out:

Let’s first check out when a mutating error comes:

1.You create a trigger on a table and you try to perform a DML operation on the same table.A mutating error is fired coz oracle tries to maintain a consistent view of data

Mutating errors are never fired for statment level triggers but for row level ones when the above mentioned DML operation is performed you are sure to get a mutating error.

Even in statment level triggers when a single insert is performed on the table onwhich trigger is created no mutating errors are generated.But when a junk of values are inserted mutating erros are created.

okie if I’ve confused you too much check this out:-p

Statment level triggers-NO mutating error

row level triggers:

single insert-No mutating error.

more inserts,updates,deletes-mutating error.

2

When on delete cascade option is used :

A trigger is created on a table and this table’s attributes are referred by a table and on delete cascade option is set.

Now when a DML is performed inside the the trigger on the referencing table a mutating error is created.

Table y references an attribute in table x and on delete cascade option is set.Now a

create or replace trigger trigger_name

on x

before insert or delete or update

/*declare section and begin section follows*/

select attribiute_name

from y

into varible_name

when <condition>

Now a

delete from x

where<condition>

gives a mutating error!!

This is because a trigger on x has a DML operation that involves a table which references x and on delete cascade option is set!!

Okie so how on earth are you to resolve it????

One way is donot create row level triggers.But tht’d be too much of a constraint on the trigger you create.

Now if you are a lazy ass like me saying I’ll create a row level trigger but I am not going to tolerate mutating errors,then here’s something for you.

There is a feature called pragma autonomous_transaction(available only from 8i) which acts indepently on the table as if no predominant changes have taken place on the table.Just give this statment in the declare section and you are done with your mutating error. Thus this prevents the conflict that the trigger actually has with the table.However just pray that the data does’nt go inconsistent with this!!!!.You have to necassarily commit at the end with this feature.

Well this nerve cracking mutating error of a trigger after all helps you maintain the table in a consistent form ;)

I boadred the bus giving a big beam to my friend Jenifer.She threw back a friendly hiiii.I sat next to her and announced”What a great evening!!!”.She acceded with me as the bus was virutually empty and we had place to sit(which is never the case).I only wish I had a Sidney Sheldon or a Jeffery Archer to feed to my laziness.And then the bus started….Well it has to!!!I dozed off and suddenly someone was screaming into my ears ‘GET UP!!!!’.It was all bizzaire for a moment and then everything came into picture.My bus driver was having a nasty loud conversation with some fellow and  figured out that our driver hit this guy’s vehicle.(NO casualities but the head lights broke).Then everyone got down and I had to follow them too:(.We stopped another bus and boarded it which was as housefull!!OMG I had to stand all the way back home!!.Well it was a cramped place where some even bothered to sit on the floor of the bus.Two girls out there were having an heated argument on virtually every topic.After an hour’s journey the place where we had to get down finally came.Phew!!!!What a journey that was.The pain on my legs were lingering for two whole days.And then from the place we got down we had to take a bus.Some 15 girls got down with me.All the ‘delicate darlings’ called their parents to pick them up while three of us decided to make our own way(nothing unusual though).So one of them was thoroughly pissed with the other one and decided not to give her company in the bus.So all three of us decided to walk.It was at first a nice one(Hey! I love walking with company).Suddenly 3 guys going in a bike stopped and commented something.Only one girl managed to hear it and started swearing under her breath.What nerves I thought.But lemme tell you I’d love to see those all roasted in hell.Alas!!!finally I managed to reach home.

A plethora of events can change your evening so much???

After many apprehensive thoughts I’ve finally decided to blog!!!I really didnt think that I’ll end up blogging one dayHmmmm….I think it’s nice to blog now:).’A toast’ to abc who told me it’ll be fun to blog.Ah…well it is nice!!!!

Well life’s pretty tight with exams, labs, assignments,projects.Oops…gimme a break.Hey but believe me slogging it out gives so much of satisfactionEverytime I crib about working this is what flashes to me:

Woods are lovely dark and deep

But I have promises to keep

Miles to go before I sleep

Miles to go before I sleep!