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.

Halo 3: Staggering Sales?

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!!!!

“BioShock” did shock.

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”.

Silverlight looks promising.

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.

Some major issues with hardware.

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.

Does Google “Ad Sense”?

It seems like when it’s Google, they can find a marketing edge anywhere. Google is all set to take it’s advertisements for website service a step further and actually have “AdSense for Games”. Those annoying ads that fill up a website, well now will appear in your favorite games too. I doubt if major development houses or AAA games will have them, but you can pretty much expect every small indie flash games and casual games to carry some sort of Google ads very soon. Currently Google is targeting web based games, but soon plans to move to console and PC games as well. Go figure! Apparently it will work similar to the current system where developers can basically put AdSense into theirs game and advertisers can then use Google’s system to have advertisements in the game while playing it.

Advertisement in games in not new, but the entry of heavy weights like Google and Microsoft is significant. I remember Coke tried something like this once, but without too much success. However players like Microsoft and Google have the technology engines to do it right. So advertisement in games could be here to stay. If it does become a success then we could well see most game publishers get bit by the money bug sooner rather than later. It would mean a whole new method of generating cash inflow for developers and publishers alike, and that means ads in games could well be the norm of the future.

Games are essentially a interactive entertainment medium so you could see yourself interacting with the ad too. Nothing is preventing developers and designers to have innovative ways to get the player’s attention just so that they can earn an extra buck. Does this mean, our experience with games will soon be marred by ads? Well frankly I don’t know. As a player I wouldn’t want to have nagging ads in an otherwise intense gameplay. But as a developer or a publisher, I could earn an extra buck every time a player interacts with an ad. It’s essentially who wins in the end. I hope sanity prevails.

Hmm… so the next time I am fragging Stroggs on Stroggos I guess I shouldn’t be surprised to see a hoarding inside the game saying, “Matrimony Online! Come Find Your Life Partner!” or “Get your degree online! No need to study, just play games!”. Or ..ooh, we could we have a Commercial-Break in a middle of a game, “HappyDent White Chewing-gum. Keeps your teeth shining white so you can see Alien HellSpawn in the Dark!”. Nice, can’t wait to see that day!

Vista Woes.

Ah had my first Vista experience! I am been doing some heavy debugging for the past week and have had to keep myself awake drinking 6 cups of tea a day. For the record I am not a heavy tea drinker, but I had to do it because the work load is a bit heavy. One of the machines I was debugging on happened to be a Vista machine. This is my first taste of Vista and, boy is the OS corny! The UI in true Microsoft tradition has been revamped. I was kinda expecting that, but it was nothing out of the ordinary. I have seen Linux boxes that looked slicker, but not bad on the whole.

It is the whole attitude of the OS that ticked me off. For one it takes me for a freaking dumb ass. The warning boxes are pretty nagging. Now, some people told me that they can be turned off, but even so I felt that the engineers have gone overboard. I can understand that safety is concern these days, but come on guys a box to ask me if a want to run an exe or copy a file is just too much. Even if you do want to, where are the “OK” and “Cancel” buttons. Why are you making me read “Do want to Move and Overwrite”, “Do you want to Move and Keep”, “Do you want to Move to Latvia” … every time I want to copy a file, bull shit let me do my job. I would like to ask Mr Gates, “Just because we use your OS, do you take us for a bunch of f***ing retards!” The OS kept nagging me like I was a 2 year old kid.

Another dumb message box for installation. The OS sounds a big alarm bell when you try to run any installation. Almost like an anti-virus program would when it detects a virus or a worm attack. Seeing the message box even scared me, and it was in-fact my very own installation package. For a moment I thought the installer was corrupted or infected by a virus. The next bad experience was when we tried to install VNC. No! Doesn’t work. Set a rule in the firewall, no, doesn’t work. Turn off the firewall, no, doesn’t work! Oh its our new Defender Service! Put a rule in the defender service, no, doesn’t work! Oh yes security, sorry we don’t allow programs like these to run. Please use our 1000$ Remote Desktop. Oh sorry, it’s not available for Home edition, buy our 10000$ Professional Vista Edition. Oh God getting VNC up and running was a nightmare. The OS is also a big resource hog. It was slow while pushing a lot of windows and applications on a AMD Turion 2.0 64bit, dual core CPU, which can run XP at comfortable speeds.

Eventually we did get everything working and the game ran with but the whole experience just left me with a very bad taste for Vista. There are many more things that got to me, but this rant has gone on long enough. Maybe I need some serious straight 8 hours of sleep. Looking objectively however, there is nothing special that Vista offers and I can’t think of 2 reasons to upgrade to it. The ONE reason I will have to upgrade to this naïve OS is DirectX 10. I know it will be punishing, but unless Microsoft comes up with DirectX 10 for XP, which I know will not happen, I will have to move to this OS ultimately. I hope sanity prevails and the service packs for Vista turn off the kindergarten nanny in the OS.