Blog Migrated….!!

As of October 17th, 2007, my blog has been migrated to blog.susheelspace.com. I will no longer be updating this site (, at least in the foreseeable future). My blog remains active and all new updates will go on the new site.

Website: blog.susheelspace.com
Update Main Entry RSS: http://blog.susheelspace.com/?feed=rss2
Update Comments RSS: http://blog.susheelspace.com/?feed=comments-rss2

Chipping the Bug.

There is an old saying in software development circles which goes something like this, “A bug can never be created nor destroyed. It can only be changed from one form to another.” While that is not to be taken too literally, bug fixes do often lead to regressions that are difficult to track down and fix. Especially the ones that occur at the end of release cycles, or the worst ones that occur at the end user’s or the customer’s machines. Well not if two researchers, Chad Sterling and Ron Olsson, from UC Davis have their way.

Their research has lead to the creation of a new technique in debugging software which reduces a large piece of software into smaller fragments called “variants” which are then used to track down the bugs (reference). The technique is called “chipping”. They have even developed a software (“chipper”) called ChipperJ in Java that they claim reduced a large program down to 20 to 35 % of it’s size. I have no idea how the program does this but apparently it uses the original software code to do it. While it is debatable if and how such a system would apply to industry level software that spans more than million lines of code, it is certainly something to be interested in if you are a developer. While the technique may not remove the human factor all together from the process of debugging, it certainly is a novel idea that could push automated testing to another level.

The authors of the ChipperJ program seem to suggest that their system could be applied to large and complex projects. Their research paper does provide interesting insights into the method. The authors are of the view that their paper is just a preliminary draft of what promises to be a new approach to debugging software. The method, they claim can be combined with other more traditional methods like “slicing” in the debugger to get even better results.

New accessory.

My old aging Nokia 6600 cell finally passed away on Monday, leaving me franticly searching for a new one. After some deliberation and after seeing a myriad of cell models, I finally settled for the Nokia 6300. To tell that truth it’s a little on the steeper side for me. I rarely use any fancy features on a phone except for the FM radio, which by the way is a must for me. Hopefully the MP3 player that this phone carries will also be another feature I will use. I rarely talk long hours with anyone except with a few close friends, and that is often not that long either. Talking on a phone too much is a waste of time ;). That is exactly why I hate spending on something like a phone.

Nokia 6300

The phone is pretty sleek and slim and looks pretty stylish. Yeah, got suckered in by the looks, couldn’t help it. Call me daft, but that was the major reason I pick this beauty up. OK to be honest, I did do a spec scan but the phone has just too many features that I know I will just never use.

The phone dimensions are 106.4 x 43.6 x 11.7 mm, about the correct size to fit into your hand. The body is metallic gray, you can see it in the pic, but leaves a lot of finger prints marks because of the metallic finish. The screen is top notch. 16 million colors give an amazing display quality. The phone features a 2 mega-pixel camera but, unfortunately, the picture quality is pretty ordinary. I think the camera needs a firmware update because the pictures appear distinctly dithered when light intensity goes down. Under normal lighting conditions the camera is kinda OK, not the best I have seen.

The best feature of the phone is probably the music player. It can play all your songs when loaded in a custom converted format. Nokia music manager does this very nicely and neatly for you. The sound quality is pretty good. This I think is one feature that I am going to thoroughly use and maybe overuse. The FM tuner of the phone is pretty ordinary. My 6600 had a better tuner. It’s not the music quality that is bad but the tuner. Since music files play just fine, I can only conclude it’s not the preamp but the tuner which is at fault. It is clearly not up to the mark. I am disappointed with the FM tuner. I had expected Nokia to give better quality for the FM radio.

The phone has an impressive OS. No issues like slow navigation or faulty menus. I had initially feared that the OS would be poor since earlier phones with Symbian OSes were known to be particularly weak in these areas. Nothing of that sort. The phone is built for connectivity. It has a “push-to-talk” (PTT) feature that allows you to use your phone as a walki-talki radio, haven’t used it though. It has a mini USB connector and is just way too easy to connect to your PC. There is also a bluetooth connectivity option that I haven’t tested.

The phone has a lot of applications that come preloaded. Browsing the internet is just a charm with the the pre-loaded Opera browser. There are a few games, (and you thought I wouldn’t….;)) ), but they are pathetic. However in my opinion, playing any game on this phone will be a nightmare. The controls and keys are tightly packed and pretty flat, not suitable for gaming. The (large) screen to (small) keypad ratio makes playing anything awkward. The phone comes with a 128 MB micro SD card that is like way too less if you are a big music fan like I am. You will have to go for another 2 or 4 GB card to have your entire collection on the phone.

Lastly the battery. The phone is power hungry and the battery discharges pretty quickly. That is too be expected from such a power guzzling display. The battery life is about 2 days with moderate usage. That is pretty low, but since I use the phone pretty sparingly, this is OK for me.

In conclusion, not too much. I am still pretty new with the phone, but I am quite happy with it. There is a lot of functionality that I haven’t tested, so there may be parts missing in this short review. The phone is “good value for money ” and if you get a good bargain, well worth it. If you are a heavy camera user or plan to run a lot of multimedia applications, maybe not the ideal choice. If you are looking for a decent good looking phone which can double up as a music player and a small PIM, this could be one for you.

I have always been interested in soft-body physics, but this is one of those algorithms which promises to stand out of the crowd. While soft body simulations have been under considerable research, their applications to the games in general have been limited. That is due to the fact that such simulations are complex and time consuming. Simulating a lot of soft bodies at a time can be punishing to the frame rate. Th FastLSM algorithm appears to be pretty impressive in term of speed and accuracy even for a fair number of objects in the scene. However I am not so sure how it will scale to an arbitrarily complex world often encountered in a game.

I am particularly interested in soft body physics for simulation of liquids ever since I first saw soft body simulation (and that was a while back). I never got around to really “getting my hands dirty” with this stuff though. Maybe I should give it a try one of these days. I must say the authors have been extremely kind enough to give fully commented source code along with their paper. That will definitely help any aspiring candidates like me who want to implement such simulations.

It seems that Halo 3 has hit new records in sales. However this figure is from Microsoft themselves.

The staggering figure presumably came from Microsoft’s internal estimates.

Apparently Halo 3 has outsold every entertainment release in history and is making and breaking sales records all over the world. Oh great, Microsoft should stop making OSes and concentrate on making games instead. I guess this is going to be where the bulk of the revenue is going to come from for Microsoft.

Chuck-De-India!

!!Chuck-De-India!!

Wooh!! It’s been one of those days which you never forget in your lifetime. One you tell your grand-children about. A rare event in time. A historic moment for Indian cricket. For the clueless, “INDIA HAS WON THE FIRST EVER 20-20 WORLD CUP” by beating arch rivals Pakistan. In India Cricket is a religion, hell it comes before religion, so you can guess the party thats going on over here. Lead by a new captain, a young resurgent side has proved everybody wrong by archiving a memorable victory.

OK I am just a bit woosey here, not it a state to write any more, so I will head back to the partying and….. more later!!!!

Yesterday I had the opportunity to finally have a sneak peek at the much hyped game BioShock. Had heard a lot about it from friends and I was eager to see what the game was. Unfortunately my PCs have nowhere near the hardware configurations required to push the game even at its lowest setting. But yesterday I was visiting a friend of mine who is a avid gaming freak. His system has the new 8800 GT (or was it the GTX, can’t quite recollect, anyways), and it so happened that he had already installed BioShock.

I must make some confession here. Initially I had figured BioShock to be one of those mad shooting FPSes which, I am sure, all of us (or at least I have) played gazillion times before. I had a notion that it was another of those graphic pipeline consuming hogs that are filled with unnecessary eye candy just to make you go “whooo… cool graphics dude!” How wrong I was! BioShock turned out to be quite different. It has a more depth in game play than just dark corridors and shooting bright eyed monsters. The fact is I should have expected that from a team that brought us SystemShock 2. It’s just that FPS games have just got so nauseating in the past couple of years that I tend to turn away from most of them. I am not a big fan of SystemShock 2 and there are several things about the game that ticked me off when I first played it. Sure many may disagree with me, but I though that the game was not properly beta tested and while some innovations were made in the FPS gameplay they were not fine tuned enough. The weapons degraded far to quickly and that is one other game that I dropped half-way.

But BioShock is different. I think the team has got it right this time. Again the game seems to be modeled on decision-consequence behavior, meaning your decisions directly affect the gameplay. Over the past few months, ever since I started playing Oblivion, I have become fond of this type of gameplay and to see it in a FPS game is refreshing. I don’t know how much affect this has to the overall game-plot since, and I must confess, I have played only a very small part of the game, about 2-hours or so. A more interesting Cricket match got my attention away from BioShock, but now I sorely miss playing the game. Too bad my PCs don’t have powerful cards like the 8800.

The graphics of the game are (, you probably already know,) wonderful and allow for total player immersion in the game. That was to be expected. An engine like the powerful UE3 engine in the hands of good artists and game-designers can give scintillating graphics, and BioShock doesn’t fall behind in that respect. The scenes are flush with nice post-processing effects and the water effects are beautiful. I had heard that the BioShock team had heired a special engineer and an artist just for doing those effects, and it shows in the quality of those effects. One of my friends had told me the game featured amazing refraction effects on glass, and I did make it a point to look at those, and yes, he is quite right. Shadows and Lighting seems to be a combination of pre-baked lightmaps and shadow maps. I am not quite sure if the game features LDR or HDR, but I suspect strongly that the game does use HDR lighting since you could distinctly see some bright patches on the gun and some totally in shadow, but yet visible. I am not quite sure though, I think I will have to have a re-look at those.

So was the BioShock hype overrated. I think not. I thing the game does deliver on all the hype meted out. Awe! I miss playing BioShock already :(.

Leading a Second Life.

Ah again a long week with no updates to the blog. Actually this was something I was planning to write a couple of weeks back but never got the time. As it goes, a few of months back I had downloaded Second Life and decided to give it a try. I am still pretty new to this concept of Second Life so these are basically my initial reactions. Once again, the game is something new, something I certainly look out for thesedays. I haven’t really played any MMOs before this one, so I was a bit exited. Installation and setup of the software was a breeze. I did get a nice name for myself and decided to sign on.

The game features a in-depth tutorial but I found it a little bit difficult to understand. There were some poor unfortunate souls in there who couldn’t understand anything at all. I think the tutorial focuses more on how the program should be used, but fails to address what Second Life is all about. I would rather like a tutorial that explains to me the “possibilities” in the game. I would like the tutorial to explain to me the different experiences that can be had in the world of Second Life. Essentially how to go about having a very different life. Maybe some examples of how others, maybe senior players have gone about and created their own worlds. Yes, the tutorial does a good job at explaining stuff like which keys do what and what needs to be done to achieve something, but fails to address finer issues with the game. Like, for example, how to do macro level things like building your different life. You tend to pick things as you go along, but I would have loved a more in-depth tutorial.

The game is basically a 3D world or should I say a 3D chat room. You can log into a place and the content then gets pulled off the net into your PC and slowly you can see the world. The login interface looks deceptively similar to a chat or an IRC application. Maybe the developers intended it to be that way so players can pick things up rather easily. I tried to log into different places to see that it was all about. I must say, places with high number of users are particularly slow. Unfortunately these are the very places that are interesting and worth a visit. Catch 22 there. If you want to logon to Second Life you better have a high speed connection, else you can forget about it. Other places I visited were mundane and uninteresting. Some places were plain weired! Some were disturbing (, parents watch out there).

The game is great if you like to make friends on the internet or spend your time chatting on IRCs. The game allows you to push this further and adds a whole new dimension to your social networking experience. Second Life provides players with “Unlimited Freedom”. You can check out the FAQ for more details. You can even earn money off of Second Life, I haven’t explored that part however. The fact is I got bored rather quickly. I am not the kinda guy who you would expect to find on a chat channel, or one who spends a lot of time on a social networking site, so I quickly lost interest. I have too much things to do as it is in my First Life. I haven’t given up though. Maybe after a few days I might try again and see if I can really get the hang of a “Second Life”.

Recently Microsoft released version 1.0 of it’s “cross-browser, cross-platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web”, called Silverlight. Last week I had a sneak peek at the software and I was presently surprised to see that Microsoft is also developing a Linux version of the plug-in with the help of Novell, codenamed Moonlight.

As such Silverlight is just a plug-in that can deliver interactive .NET content on to your web-pages. It is particularly interesting to see where this leads to with regards to game development. Silverlight is almost certainly a challenger to Flash’s monopoly on web-based games. It offers a flexible programming model that supports javascript, .NET, and other languages, so it will particularly hit a cord with programmers that already know these languages.

Are we going to see more Silverlight based games? I am sure we will. .NET applications are very easy to build now that there are great environments like the Visual Studio, Visual Studio Express and #develop. It just means people are naturally going to build games that run on Silverlight. This software is clearly something to watch out for if you develop web-based games. I hope Microsoft offers graphics hardware acceleration in some form on the Silverlight platform. That will just be amazing.

Well I have been battling with some hardware issues on my internet PC for the past week and they seemed to be finally fixed as of now. Since the development and Internet PCs are different machines, and are not connected, my access to the internet was severely limited for the past couple of days. Updates to the blog have been quite slow. I am also doing some heavy debugging on some other issues with hardware with regards to the game on remote locations. That means I do have to be away from by desk most of the time. I am happy to say that most issues have been resolved.

Back to Top