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: , ,

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: , ,

written by ishaq

Dec 03

http://sean.cruels.net/directx has some video Tutorials on DirectX, they are pretty basic though (as is the case with most of the video tutorials) and may only help beginners to get started. Also, since they tutorials are made by some guy in his free time (in my opinion), do not expect the quality to be top of the notch.

and by the way, the above site (http://sean.crules.net) has some tutorials on other topics such as Java and SQL as well. I only checked SQL tutorials and they are very good especially for students who are using Oracle in their DB course labs.

Technorati Tags: ,

written by ishaq

Nov 19

I have not been writing my blog lately because work is keeping my totally tied up. But ever since Mush imposed emergency, I have not been able to concentrate on anything, and today when I came across the following column in nawaiwaqt, i had enough.

Here are a couple of suggestions from me (before you get to the column):

  • wear black strips on your arms to signify your hatred for this monster (Mush).
  • Post to your blog about it (better add a message to all the pages of your site (header/footer)).
  • Change your nick/message in your IM clients to “Go Musharraf Go!” or something similar that reflects your hatred for him
  • Participate in protests taking place at your location

Please, it’s time we come out of our shells, A good job, a house and a car should not be our primary objective. The least we can do is to wear a black strip and change our nicks.

Watch a video of shameful brutality of the police at: http://www.youtube.com/watch?v=kc_yrgaYTxU

Taken from: http://nawaiwaqt.com.pk/urdu/daily/nov-2007/19/columns2.php

Bay Niazian - Dr. Ajmal Niazi

written by ishaq

Sep 07

Whenever an installation is interrupted, you may get this message e.g. I just issued

apt-get remove gaim

and then realized that it was also uninstalling ubuntu-desktop which is a meta package, so I pressed Ctrl + C (while it was still “Reading the database”). A couple of hours later, when I tried to run Adept Installer, it snapped back with the error above. The solution is simple, open the terminal and issue:

sudo dpkg –configure -a

written by ishaq