Archive for the ‘Technical’ Category

As we speak now, Twitter is under a Denial Of Service(DOS) attack. No more details are available. People have been experiencing trouble accessing twitter for a few hours,but there was no confirmation on what exactly is happening. You can read here what they have to say about the incident. They are almost completely recovered but the API clients are still experiencing a timeout.

Techs suspect its a case of DDOS or Distributed DOS where the attacker causes infected computers to attack the target by sending large volumes of requests. Unconfirmed reports are coming in that Facebook is also suffering from a few glitches.

But the funny part is that some people are cosidering it as the signs of “End of Days”…lol.

It was a week back I got the invitation to join G.ho.st from one of my friends and he told me that they offer as much as 15 GB storage space and an extra 5 GB for every successful refferal you make. Although I joined I was expecting nothing more than an online storage space from it. But when I started using it, I found it much more than just some storage space.

G.ho.st is more of a virtual computer. It offers almost everything a normal computer can offer. It has a music player, a video player, document editor, spreadsheet editor and presentation makers. It support almost all file types including docx and xlsx. In addition to these features there is a number of online web applications that can be used from the virtual machine. Applications range from games to torrent downloaders.

I am not feeling well, I will finish this post later.

Seems like Microsoft has gone panicky with the recent announcements from Google and the hype its causing. They are trying everyway to counter it and get over their nightmares. Chrome when it came as a browser itself, caused so much of trouble for the Microsoft people. But that was pretty ok. IE was never a trump card for MS in the market. Although I am a regular windows user, I never ever use IE. Its such a horrible terrible thing in every possible way.

When Google came in with chrome that was goddamn light(pops up the second u click it..) and with innovative features like the “Incognito window” (something that was very essential for my kinda ppl) they too fought back with IE8 where they called incognito as “in-private”..And guess what they came up with as a promo..well they came up with this..

That was such a pathetic ad that i cudnt even believe that was a product of MS. Infact this OMGIGP will catch u if u just use IE.

It was at this point Google came up with the idea of extending Chrome to an OS..an internet based OS. The first response from MS  to it was the usual one, mock at it. Microsoft CEO Steve Ballmer was trying to belittle Chrome as just an “interesting” thing.”Who knows what this thing is? To me, the Chrome OS thing is highly interesting,” said Ballmer, choosing his words carefully and drawing more amusement from the largely pro-Microsoft crowd.”It won’t happen for a year and a half and they already announced an operating system,” he added, referring to Google’s Android system for smartphones. [Taken from a Reuters report].

Good one Mr.Ballmer, perhaps you should watch this video before making another comment.

Mr. Ballmer do you remember one of the comments thats pictured in that video that was actually made by you. May be in a couple of years that statement can be replaced with the one you just made.Ok now if you dont see Google as a competitor at all, then why did u just hit the panic button. You guys were running around announcing Microsoft Gazelle , a browser with a kernel funda, that is built for clouds. Well thats the same thing but even better what Google aims by Chrome OS. And what was that all of a sudden announcement for an online version of MS word for?And Office 2010 too…Because you know it well that Windows is the trump card. The rest of the story is dependant on the future of Windows. If MS lose the OS bussiness, then they are finished. So its absolutely necessary to fight off this threat. Doesnt matter if it takes to use a ‘Puking’ ad.

I couldnt believe the Math.round() function in AS3 is so crippled. All it returns is the nearest integer value and ofcourse there is no way you can specify what is the precision of rounding. To make it worse it always rounds 1.5 to 1. Hmmm..

But the solution to this problem is pretty simple.  For example if u want a 2 decimal place rounding all we have to do is multply with 100,then round it and then divide it by 100. Confusing..well here is the code:

public static function roundDecimal(num:Number, precision:int):Number{

var decimal:Number = Math.pow(10, precision);

return Math.round(decimal* num) / decimal;

}

Well that was pretty simple right. Now go coding..all the best.

Wow..it seems like google is planning to take over the world. This time its an OS from them and they call it the Google Chrome OS. The official blog calls it an “extension” of the Chrome browzer, they were kidding. Chrome OS is a lightweight, open-source PC-operating system that is built over the Linux kernel. And like most google products its supposed to be free of cost as well. Now thats a real deal..all the freedom of open-source and the support of a giant, thats most men’s dream.

The very concept the Chrome OS is that its the browzer thats the real OS. Most applications are kept online. Now what the OS is supposed to provide is a quick-starting light and power saving OS that can support this concept. Cynics might ask then how can it be a danger to the current  OS giant Microsoft when chrome is not designed for those power users out there at all. The issue gets strong when the figures show that most of the PC users are not the so called power users. They use PC to access the net, to stay in touch, to make words docs, spreadsheets and do presentations.People dont want to worry about carrying around files and searching out for drivers. Now for them Chrome is the answer to their prayers. And they are the majority. But of course those power users are gonna have a bad time with Chrome. Those like the multimedia eds and the gamers. But they are just a handfull in this world.

The announcement came this tuesday night and in just two days itself it has become one of the most discussed topics in the internet world. People are shooting questions on more detailed informations on the OS and its supports. Unconfirmed reports are coming from around the globe regarding Google negotiating with most OEMs invluding Dell, HP, Asus and Acer. But till this moement they havent given an official comment on that.And as far as the experts can think, it will be a good offer for those OEMs as well. Afterall it can save them around $50 per machine.Considering the ability of Chrome to run on X86 and ARM processors there is every reason to think chrome to be better suited for Netbooks than Windows.

However I was feeling like its Google’s vision into the future. They have already understood computing cannot be contained in a small box. They have realized cloud is the future. With the ability of clouds to share resources the internet becomes the backbone of all computing and all you will ever need is a browzer(what will a browzer look like at that time is something I cant predict).Now in that scenario, it will be the Chrome that makes the future. And what can we use Windows for then…perhaps to sit back and watch the clouds moving in the sky. I would like to quote a a few words I have read about this issue, “If indeed Google puts out a fast, easy to use operating system that lets netbooks soar and free users from constant software patches, Microsoft will find it very hard to explain to consumers why they should continue to use its software, other than just out of a foolish consistency.”

But at the end of the day,there is one thing that makes me wonder…what happened to the android project. HP already had plans to make it their OS for netbooks . Chrome is an entirely different OS and has nothing to do with the Android. Did they really drop the Android project or did they decide to keep it exclusive for the mobile devices. Man its Google. When they do something, there is always a purpose.

Unlike C and java where u can declare an m x n array simply by writing arr[m][n], its a bit difficult in actionscrpit3.
It was like u have to make an array of arrays:

new Array(new Array(),new Array(),…)

But a little bit effort can find a way out of this mess. You may make use of the following snippet:

function arrayTest(){

var m:int = 2;
var n:int = 2;
var mainArr:Array = new Array(m);
var i:int;
var j:int;
for (i = 0; i < m; i++) {

mainArr[i] = new Array(n);
for (j = 0; j < n; j++) {

mainArr[i][j] = “[” + i + “][” + j + “]”;

}

}
trace(mainArr);

}

It is a bit of a mess but it will work for sure..

Sometimes you need to pass more than one arguements other than the “event” object. In that case you can use the following code:

//–Listener Function–//

private function listenerFunction(e:MouseEvent,passedVariable:Object): void {
        trace(passedVariable.name);
 }

---------------------------------------------------------------------

//--Caller--//
private function callerFunction(): void {
      var callerObject:Object = {name:"I have a name for sure..."};

            someObject.addEventListener(MouseEvent.CLICK,function (e:MouseEvent) : void {
                  listenerFunction(e,callerObject);
            });
}

Hope that was useful.