Tuesday, January 12, 2010

Prime Ass

Once DS met his Boss for a casual discussion. A new hire didn't have any workstation and DS asked, how about meaningfully using the one Boss dumped in his stable ?


Startled Ass Boss, .... Hmm .. Yes, you could use that for a few days !! Just that my program running on that would have to wait for that many number of days!!

Seems Ass was trying to calculate the Greatest Prime number ever seen by  Asskind mankind.




Awesome !! ... Stumped and  inquisitive DS asked,  what about  program ? Did you write it ?

Of course !! ... And you know ! ... Its running on millions of other smart Ass's workstations as well. Program is smart enough to find all 99 % CPU  available and run on them !! whoa ! Why 99% alone ? asked DS !

Hmm, ... 1 % goes waste on all CPUs as Smart Ass operate them.
DS: How is master CPU chosen and which one is that ? ...
ASS Boss : Er ... thats mine, as its 100 % available !!
DS: ... Makes sense !! ... 1% CPU usage for Smart Ass is certainly saved by ensuring that Dumb Ass has kept it powered off !!

And then next simple question ! .. Whats the Data size of your program and how does algorithm work ? After all when greatest prime number reaches, there would be no RAM possible to hold it in todays workstations !!
Well, with a loud blast explained Ass, this is the algorithm ..




Wacko !! Who can deny that its not gonna work ? Would there be any one standing on his feet? Of course other than the Dumb Ass Boss  to dispute, at first place ?

No comments:

Post a Comment