Saturday, June 24, 2006

Mind ur own figure!!

I just hate it when people pass these comments upon how thin I am, it seems like an imperative piece of talk in any conversation. Actually in any open family gatherings when my parents got nothing to say they direct the whole talk towards my figure!!!

Why do people get so frenzy about me getting fatter?!..like there's not enough fat people in the world to begin with and by the way for your knowledge people I do like my figure and yes i'm aware that i'm skinny even. Furthermore, who could possibly go thru what i've been thru & still got an appetite for nutrition?.

So next time anyone throws a comment on my figure, I'll look him/her in the eye and say "Please, mind ur own figure".

Monday, June 19, 2006

"WHO" does "WHAT" EXACTLY?

I face that problem at work, I always discuss it with my team memebers as well as managers.Why can't we have a clear role assignment?!. In my opinion it'll save us alot of time and won't over pressure people in expense of others which will eventually lead to higher productivity.

Why don't we apply significant role assingement?, One of the argument was that it's much fasterto do it myself!. Is that a good argument?!

For example why would I as a developer answer the phone?!, why would a financial manger do an hr job?!why would a manger do an administrator job?!

Can u see where I'm heading..this is Chaos people!!!..If it will take a longer time for the right assinged pesonnel to do his job than if you do it urself, then may b we need to reassign jobs in a more efficient way.

I'll call it the "who does what syndrome?!". It'll lead to lots of pressure on youif you r doing ur own tasks subsided by other tasks that others should do. The bigger problem is that the assigned people for that task would take ur voluntary action as a regular thing and at the end of the road you will find urself doing "everything" urself.

Now was that a good argument after all?!

Sunday, June 18, 2006

This Code gave me a hard time!!

The following code is in ruby..What the following lines should do is to generate a new guid in SalesTarget table..The before_save method is invoked before saving the record.

class SalesTarget < ActiveRecord::Base
def before_save()
@result = SalesTarget.find_by_sql("select newid() as id")
self.rowguid =@result[0].id
end
end

But it didn't work as I desired, it kept on giving me the following error:
Can't cast int into a unique identifier

I spent so many hours trying to speculate where I went wrong but in vain. It turned out that the primary key of the table is "id" same as the alias i gave for the newid() query, so it made a cast conflict problem, ruby couldn't differentiate between the priamry key & the new guid query.

so all u need to do is:
class SalesTarget < ActiveRecord::Base
def before_save()
@result = SalesTarget.find_by_sql("select newid() as guid")
self.rowguid =@result[0].guid
end
end

Just add a "gu" :)

Tuesday, June 13, 2006

Mr Big Shot

Mr-I own a fancy pansy BMW- gave me a hard time today, and u all know me...Miss-I got a bad temper while driving- gave him a hard time back :)It was a small incident but showed how egyptian guys, like Mr big shot here,behave when it comes to women driving, it's always our fault no matter what!!.

If a woman took a bad turn or anything of the sort, the whole world in the street points out at her saying: "sure sure she's a woman driving, it's natural for her to make driving mistakes"
while if a guy did the same mistake, the whole world in the street'd say: "he didn't take notice, not a big deal".

How that drives me furious!!!!!!! I want to get this STRAIGHT ONCE AND FOR ALL, "Being a woman doesn't imply I'm a bad driver by nature, ARE WE CLEAR ON THIS GUYS?!"

On a side matter, I honestly don't know the deep relationship that develops between a guy and his car..I always find that amusing. I got a friend I can ensure u that If he ever got a child of his own, he won't love his child as much as he loves his own car!!

You guys r freaks about ur cars, while to us it's just some means of transportation, which sounds more logic to me.

Saturday, June 03, 2006

Pleaaaase Hide my credit cards...QUICK

My fever turned into a shopping fever!!!. I'm shopping like crazy, i don't know y?!I do shop whenever I feel down, but this is not the case here, I'm in a perfect good mood AHL. So y am I shopping?!, may b cos my friends r in their shopping mood and I just can't resist shopping anymore?!.
It's not the amount of things I buy that worries me, it's a far serious problem, I buy few items but really really expensive stuff. I need to quit this b4 it turns into a habit.

I think I'll go hand my credit cards to my mum or something :(