Skip to main content


Showing posts from February, 2009

The Internet, Broadband Connection, Browser Tab Interface, and Attention Deficit Disorder

Have you ever logged on to the Internet looking for something? And while you were doing your research you realized you can open another tab in your browser to check the latest news. And while you are at it you open another tab listen to a music stream. And then you open another tab to play a massively multiplier online game. And then while you were doing all those things you decide to open another tab so that you can watch video streams.

Ah, the convenience of having endless websites to visit, a very fast internet connection, and a user friendly internet browser.

But as you get used to these perks, do you ever feel that it’s getting harder to focus?

I have read that Attention Deficit Disorder begins from childhood and continues throughout a person’s adult life. But is there a case when an adult never had this problem but gains it because of his lifestyle and activities? Or does it lie dormant or perhaps subdued, but somehow the endless choice presented by technology aggravates it?


Actionscript: Custom Random Function

I made a custom random function in case you are looking for a random number generator in Actionscript. Actionscript has a random number function but it does not really allow you to specify a minimum and maximum range. Here is the code:

private function getRandomNumber(min:int, max:int):int
    var xRandomNumber:int;
    xRandomNumber= Math.floor(Math.random() * (max -1)) ) + min; 

} // getRandomNumber

Back from Neverland

Wow. I leave for couple of weeks and the traffic has dropped 75%. Lol. I guess blogging is kind of like office work. In the office you are slave to the bosses. With blogging we are slave of our readers and the almighty search engine - Google.

Google show me some love please. Bring back the precious traffic. I promise I will try to update as often as I can. Please.

Anyway, kidding aside, where have I been? I would like to tell you that I have been hauled in the basement for the past weeks. The only problem is we don't have a basement.

So let me just say, I have been busy with something. Here is an article about  Flash Game Development to give you an idea.

Programming games is what got me interested in computer science in the first place. It is something that I always wanted to do.

It has not been a viable profession years ago unless you live in the US. Not until the past two years. Thanks to the internet, now anyone can enter this industry irregardless of where you are in the wo…