Dec 18
I saw the attached picture in the news today, it reflects quite nicely on Musharraf’s view of Enlightened Moderation (It should be noted that I am not against the concept of enlightened moderation).

Attached is a picture of police beating up women protesters in Islamabad on Monday Dec 17 outside a private television’s office.
If the emergency has been lifted, why is police permitted for such shameful acts? A news paper (Nawa-i-Waqt to be specific) says the honorable magistrate specifically instructed police to target journalists, is that justifiable? Had the police officials been punished (in accordance with the verdict of SC prior to Nov 3), these gentlemen would know some respect for the public (women at least)
written by ishaq
Dec 14
Today I received the attached photo with the following comments:
Police at work in Lahore. If you needed visual proof of pre-poll rigging here it is. The bicycle is the symbol of Musharraf’s PML Q. So much for Musharraf’s claims about fair elections! Every instrument of state will be used to ensure the results are according to Musharraf’s plan, his life depends on it as he knows he violated Article 6.
Even if we say the comment is exaggeration of political activists, isn’t Musharraf trying everything to save himself. He admitted himself on Al Jazeera the other day that he imposed emergency (and sacked the judges) because they were going to give their verdict against him.
My opinion is that, like any desperate man, Musharraf has started to put everything on table.
here’s the photo

Technorati Tags: pakistan politics, musharraf, q leagu
written by ishaq
Dec 08
PrintJob has been giving me a couple of problems lately, one of them was proper placement of the objects on page. This post discusses the fix
NOTE: I have not been able to confirm the behavior described here, may be it was just something i was doing wrong. However i am posting it here so that if it’s really a problem, this fix might help
Say, there’s a Sprite/MovieClip of a standard page size (say A4), say it’s called ‘p’, naturally you would print it as:
var pj:PrintJob = new PrintJob();
if(pj.start())
{
pj.addPage(p); // p is the Sprite/MovieClip of full page size
pj.send();
}
Say you had an rectangle (the only object in the Sprite) right in the middle of the sprite, since the sprite’s size equals the page size, you’ll expect the rectangle to be printed in the middle of the page, right? Surprise! it gets printed in the top left corner.
What happened here is that actionscript aligned the first drawn pixel (the top left corner of the rectangle) to the top left corner of the page. To workaround, you may draw an invisible rectangle of the full page size to the Sprite so that everything gets printed neatly. here’s what you would do:
var pj:
PrintJob =
new PrintJob();
if(pj.
start())
{
p.
graphics.
lineStyle(1, 0xFFFFFF,
0);
p.
graphics.
drawRect(0,
0, PageWidth, PageHeight
);
pj.addPage(p); // p is the Sprite/MovieClip of full page size
pj.send();
}
written by ishaq
Dec 08
I just finished Who Moved My Cheese by Dr. Spencer Johnson (I hope I spelled that right
) after it had been lying around for about 6 months. It’s a great short story, takes about 45 minutes to complete and nicely describes different behaviors when a change is encountered.
I didn’t like the discussion in the later part of the book though, It seems, may I say, too artificial.
And btw, while I am not Sniff or Scurry, I do try to be Haw. (if you don’t understand what I mean, go read the book
)
Technorati Tags: change management, spencer johnson, who moved my cheez
written by ishaq
Dec 06
I am working on an ActionScript 3.0 module in my day job, and although I am new to ActionScript, I rarely touch the documentation (yeah yeah, I know I should do it more often =) ), most of the time it works, may be because I was on Java before.
Last day, I needed to find out the stage’s height somewhere, so I just typed
stage.h
and thanks to intelli-sense, it quickly told me that it was
stage.height
i was looking for. But something strange happened and i was not getting the value i expected. After a couple of hours of hair pulling, it dawned on me that I should be using
stage.stageHeight
instead of
stage.height
to get stage’s height.
I can’t say whether Adobe/Macromedia’s decision to use
stage.stageHeight
and
stage.stageWidth
instead of
stage.height
and
stage.width
was right, but the property name is not abundantly clear in what it is going to return.
Technorati Tags: actionscript 3.0, stage.height, stage.width
written by ishaq