Category Archives: Thoughts

Ra.One

Managed to watch Ra.One this evening on the IMAX screen (the picture was quite grainy at times, so not sure if it was actually meant for IMAX), and it was definitely a unique experience for a Bollywood movie in terms of the special effects. There are plot holes aplenty in the movie, but if you go in without bias then it can be pretty entertaining (if you managed to sit through TMK, then this one’s a breeze). There are however quite a few other interesting things, including my customary tech observations about the movie:

  • This movie probably has the maximum density of Apple products, given the number of iMacs we are shown, along with the customary iPhone (3 GS though)
  • Which brings me to the second point that it is really peculiar that the game is being developed on iMacs…
  • which have not been using NVidia GPUs for some time now (NVidia is a pretty prominent partner for the movie)
  • The PS3 is probably the only product shown in the movie that uses an NVidia GPU, unless you consider the Alienware laptop & MacBook Pro used in the beginning of the movie for the demo.
  • On the topic of gaming consoles, Microsoft definitely missed out a golden opportunity to showcase Kinect’s motion sensing capabilities.
  • The comic book (Superman – he was a jumper initially), video game (Crysis for the suit design, and action games like Mortal Kombat, Tekken etc. for the general concept) and Hollywood (Terminator, Iron Man, Matrix) influences are very apparent.Crysis
  • Talking of video games, Bollywood is definitely getting more serious about them. Even the recent flop Toonpur Ka Super Hero had a climax involving video game concepts.
  • Coming to the non-technical aspects, the movie creators seem to have done quite a bit of Market Research to target the youth segment. The way they have researched action video games is pretty evident. The elite gadgets like the PSP & PS3 are also thrown in for good measure. Besides that, the impact of Japanese animes (just try switching to the Animax channel) is also pretty visible – the first action dream sequence for one. Even the soundtrack is not left alone.
  • The car number plates were pretty interesting, particularly for the VWs owned by SRK – they all had featured IO (Aiyo?) in them. Rajnikanth’s was of course SUPERSTAR.
  • UK seems to be getting back some of Bollywood love that it lost out to the US, with this movie (could have been due to budget constraints though) following in the footsteps of Mere Brother Ki Dulhan and Patiala House.
  • Armaan Verma reminded me a lot of Ritesh Deshmukh
  • SRK also seems to be pretty serious about song copyrights – this time it was “Stand By Me” (after “Pretty Woman” in Kal Ho Na Ho)
  • Last but not the least, Chammak Challo will never be the same once you realise that it is G.One dancing with Ra.One

Percy Jackson and the Olympians, the tech discontinuity & more

Have you found it odd that the first book (The Lightning Thief) in the Percy Jackson and the Olympians series is bereft of cell phone references? I certainly did, and found a likely explanation in the series’ wikipedia page – the book was written in the mid 1990s (Rick Riordan completed the manuscript in 1994), but published only in 2005. Those were the days when cell phones were a lot less commonplace, and kids certainly did not carry them around. In fact, it was probably not that common among adults either. However, the remaining books more than make up for this technology gap (and even offer a post facto explanation for demi-gods not carrying cell phones).

Coming to the series itself, Percy Jackson and the Olympians was one of the first series that I have read from start to end after the Harry Potter series ended. Incidentally, I also happened to buy all of the books from the Kindle Store and read it across 3-4 devices (on my Samsung Galaxy S & iPod Touch using the Kindle Apps, and my laptop using Amazon’s Cloud Reader – the furthest read location sync is really handy). This was one of the rare times that I also happened to watch the movie before reading the book (unlike Harry Potter, LOTR etc.). I did like the movie when I saw it – quite entertaining with a bunch of special effects.

However, after reading the book and the entire series, the differences stand out and makes me wonder if they even intend to make movies from the remaining books. And the differences run far deeper than Percy’s pen-sword being a click type vs. a capped one. They’ll really need to rewrite the entire series if they want to bring out sequels, particularly because the main characters are a lot older (already look to be past their 16th birthdays), there’s no Oracle to give out prophecies and the key antagonist – Kronos – is not featured in any way (the latter two could be retrofitted I suppose). I also wonder how Percy is going to take the dip in River Styx when Charon seems to be ferrying people across thin air. The movie however went all out on the tech front with Percy using an iPod Touch as a mirror to defeat Medusa.

Getting back to the books, there’s another bit that seemed a bit forced and that was the reference to 9/11 and Ground Zero in the later parts (Annabeth’s dream of building a structure on Ground Zero) while it doesn’t come up in the Lightning Thief. This is another piece that gives away the fact that the first part was completed much before the others, and might have even had a reference to the Twin Towers in it which was subsequently edited out.

All said and done, the series did make me interested in Greek mythology and had me return to playing Titan Quest (Steam had a sale which coincided with my book reading, and I got Titan Quest & its expansion for $5) and long for Age of Mythology. Now, if only there were some Percy Jackson mods for these games…

Amazon enters the retail store business with Kindle Fire

It’s not about tablet wars anymore and the past year has shown that you can’t treat the tablet market like the PC hardware one. From the hardware side Apple is the one who’s going to be profitable for the near future, and the tablet as a PC replacement will really take off once Windows 8 enters the fray.
Until then Amazon & Apple are going to be the ones making money through tablets. The one who should be really worried is Google, as there Android tablet strategy is falling apart. Looks like Microsoft & Amazon are the ones who’ll be making money from Android. Google really needs to leverage its Motorola deal and go for vertical integration.
Tablets are more like consumer appliances and that’s the way Amazon is treating the device. So, just like a brick & mortar retailer would rent our buy its shop floor, Amazon is using a tablet to setup its own shop and eliminate the middle man (PCs, browsers etc). Apple is the only one with a similar strategy, albeit across a wider range of devices that are technically more open to competitors (kindle app). Then again their primary revenue is from the hardware sales, while Amazon is all about selling you stuff.
This will of course change once the tablet market matures & saturates, but that’s a long way away. Apple is the one setting itself up for this future, while Amazon will be there come November.

What if Apple released a second iPad this year…

and it were a 7″ version that had the same 1024×768 resolution as the current 10″ model? For one, they would be able to reach a lower price point, now that the kindle fire is in the scene. Secondly, it would make a good replacement/upgrade for the ipod touch. Thirdly, they do have the content offering along the lines of amazon.
Of course they lose the economies of scale associated with an iphone-ipod touch combo. It would also help Samsung say that Apple copied them for a change. But, this would pretty much slow down the kindled fire…

2012: The right time for Windows 8 tablets

Windows_8_Developer_Preview_Start_Screen

That is of course if the world doesn’t end. Jokes apart, the reason I think that the second half of 2012 is the right time for Windows 8 tablets is that it’ll guarantee the right mix of hardware will be available around that time. Quad core & higher ARM tablets would be the norm then with pretty powerful graphics (which would be a must if display resolutions hit the 2Kx1K levels with the iPad 3). Intel would also be closer to providing a compelling x86 based SoC in the tablet space. In fact, the tablet hardware is going to continue to scale up in leaps & bounds over the next 2-3 years before we reach a level of acceptable performance (just look at the roadmaps of the major SoC makers).

 

Apart from the hardware angle, the software landscape and usage model on tablets is also evolving. At the moment people are trying to mostly replicate the desktop or smartphone UI paradigms on the tablet. For Windows 8, it all boils down to how well Microsoft is able to adapt their MS Office UI to the tablet. Then again, we could also be looking at tablets being used as a laptop\desktop replacement when docked – Apple seems to be heading that way with their Thunderbolt display (MacBooks for now).

So, don’t fret over the timelines, and instead be excited over the emerging paradigms over the next couple of years.

P.S. Extremetech has a nice how-to for building your own Windows 8 tablet (you will need an existing Windows 7 tablet of course)

harman/kardon HS 280 – the 2 month usage review

hs280

Got this home theatre system a couple of months back after doing quite a bit research on speakers & home theatre systems. Have been pretty satisfied with the system so far. The footprint is quite small, while the sound quality is very good. And, it looks quite good too. It goes nicely with the Samsung 32” LCD TV that I got earlier, while also serving as a network media player.

Why a 2 speaker system?

I went for a 2 speaker system mainly due to the smaller footprint as my living room is not that big, and the additional wiring hassle for a 5+ speaker system, which is a big issue when staying in a rented flat. Also, I was mainly focussed on getting a system to play music well rather than watching movies (it does enhance the sound experience compared to the TV speakers for movies, but 5 speaker systems give you the true surround sound experience).

The alternatives

One of the alternatives would have been to go for an A/V receiver with a 2 speaker + sub woofer option and expand later on to a 5+ speaker configuration. However, I eventually eliminated that option as that has its own set of issues. The A/V receiver for one, as going for a low to mid range model could make future upgrades difficult, and second, finding a set of speakers compatible with the initial ones would be another exercise in itself when the time came for the upgrades. Moreover, I would also have to buy an additional DVD\Blu-ray player if I wanted to watch disc content. So, I decided to lookout for a 2 speaker HTIB.

I came across the harman/kardon HS 280 in the JBL showroom in the Palladium Mall in Mumbai, and it was one of the few 2 speaker systems that I found during my research. The other HTIB alternatives in a similar price range were from Bose. There were also a couple of speaker systems minus the DVD player from Bose in that range.

The research findings

I looked around quite a few forums for suggestions on speakers & brands, and saw that Bose had a really poor rating in terms of sound quality (check out this essay that features in a lot of Bose bashings). This was one of the surprise findings from my online endeavours. Some of the highly regarded brands were Wharfedale (warm sounding), Polk Audio (bright) and Klipsch (check out this forum thread for the sound descriptions like warm, bright etc.). However, I found very little information on the system I eventually bought.

That was when I decided to get some hands on (ears on?) research done & visited a bunch of showrooms to listen to the system demos. The HS 280 sounded really great, both for music (I had made a demo playlist on my iPod & they played it using a stereo cable, but still sounded very good) & movies. As for Bose, I was really disappointed with their 2 speaker systems and I seem to understand first hand the reason behind the forum bashings. I listened to both movies & music (my iPod docked at that rather than using a stereo cable) and the systems sounded pretty flat.

One of the reasons behind the poor Bose impression could be the fact that I had demoed some great 5 speaker systems from Mirage (Nanosat & MX) & Energy (Take Classic & RC-Micro) just before going to the Bose showroom. If you are considering a 5 speaker setup, do check these out. The Mirage dome speakers in particular create a very interesting cloud of sound effect that’s quite an experience for movies, while the Energy speakers are good value for money. Incidentally, this was at the Atria Mall in Worli, Mumbai. I also demoed a Polk audio 2 speaker set at ProFX in that mall, & understood why they are called bright.

If you plan to do ears on research, make sure to carry a music demo playlist\CD with you. It will really help in comparing the different systems, and if you are used to hearing the playlist tracks on your existing audio devices, then you have a baseline to compare them with. There are some ready made demo discs (the Chesky Records one in particular) available too that can help you analyse different aspects of an audio system.

The 2 month impression

So, after almost 2 months with the system here are my thoughts:

  • Audio quality is really good and the Dolby Virtual Speaker modes enhance the sound in most cases (oldies don’t get impacted much). I’ve listened to a variety of music ranging from oldies (Hindi, English & Bengali) and instrumental to the latest soundtracks and the system sounds great all around.
  • The network play support is a really helpful feature. All you need is a router (I’ve got a Belkin wireless one) & a media server (any machine running Windows 7, or a dlna certified device). You can then play pretty much all kinds of media ranging from music & videos to photos on the system. However, since the device is not dlna certified, you can’t push content to it, i.e., you can select tracks from your PC to have them play on the system. The video format support is also somewhat limited though – doesn’t seem to play mp4, but it does support wmv & xvid\DivX. Also, lossless wma is not supported, so no ripping CDs in lossless formats & streaming them.
  • The system also supports USB storage devices including hard disks, so even if you don’t have a home network, you can always attach external drives & play content. Browsing through the file system can get a bit tedious though.
  • The system has made me appreciate the difference in audio quality between audio CDs and mp3s, especially the lower bit rate ones. In fact, I ended up buying a bunch of audio CDs just to have some good quality audio.
  • The remote can serve as a universal one to control a couple of other devices. You need to program it of course, and the instructions are provided in the user manual. The keys need to be programmed one at a time, and so can be pretty time consuming. I tried programming it for my TV & the Tata Sky box, but the utility is not very reliable as the buttons don’t seem to work most of the time. Overall, the remote is not very user friendly with small buttons and a non-intuitive interface.
  • There are quite a few audio input options including a couple of optical & line in links. So, you can connect your TV audio & a bunch of other devices to the system. No video input options though.
  • The sub-woofer is downward firing, and has a few controls & a 11 o’clock volume position is suitable for most music. It can get pretty boomy otherwise.
  • The disc drive is slot loading & the remote has an eject button – quite handy. The system seems to get pretty hot when playing disc content (this could be due to the confined space I have the system in though)
  • The HDMI video out supports 1080p output and up scales video content accordingly. This goes quite well with our full-HD TV.

You Pay More in Mechanical Metered Taxis

I’ve been doing quite a bit of travelling in taxis in Mumbai over the last 4-5 months, and one of the interesting things I noticed that the fares on the taxis with mechanical meters usually comes out higher than taxis with digital ones. This is especially true when there is a significant amount of waiting time due to heavy traffic. Here’s my theory on why this is so:

Faulty waiting time calibration on mechanical meters

On mechanical meters, we use a reference chart to convert the meter reading to the appropriate fare. All this was fine when the meters came out originally many years back and the meters were calibrated for a particular waiting fare rate. However, after several fare hikes that just raised the rate per km & not the waiting time rates, this calibration has become erroneous.

An example is in order to explain this. Say, initially 1.00 on the meter meant Rs 10 (per km) and 0.10 on the meter corresponded to 2 min waiting time at the rate of Rs 0.50/min (effectively meaning that for every 0.10 you pay Re 1, i.e., the same as the per km rate). Here, we have a uniform multiplication factor of 10 for both distance and waiting time.

Now, let’s say that there have a series of revisions and the rate per km has doubled, but the waiting rate is still the same. So, we should have 1.00 on the meter corresponding to Rs 20 (per km) as the distance rate, while 0.10 still signifies a 2 min waiting time at the rate of Rs 0.50/min. Therefore, the multiplication factors are now different for distance (20) and waiting time (still 10).

However, the fare charts are created only keeping the distance fares in mind, due to which you have the following scenario: For a trip of 2 km with a waiting time of 10 mins, the meter will read 2.50 (2×1.00 + 10×0.50×0.10) for both old and new rates.

  • As per the initial rates, the fare would be Rs 25 (meter: 2.50×10 or rate breakup: 2×10 + 10×0.50)
  • For the new rates, the actual fare should be Rs 45 (2×20 + 10×0.50)
  • However, the new rate chart prepared would have only factored the increase in per km rates and would suggest a uniform multiplication factor of 20 for the meter reading, due to which you would end up paying Rs 50 (2.50×20)

Long live digital meters?

In the case of digital meters, they are recalibrated (at least in Mumbai, but not so much in Kolkata due to which the same problem exists) for the new fares without changing the waiting rates. Due to this you end up paying the actual fare (Rs 45 from the example above) when you use a taxi with a digital meter.

Of course, if the driver forgets to wind his mechanical meter before your trip, you end up avoiding the waiting charges altogether which gives you the lowest possible fare. So, I guess there’s a flip side to the whole mechanical vs. digital meter argument.

Interning on FOSS 1: Open Source Development

I’ve been interning at Sun Microsystems in Delhi from May 1st and during this period, I’ve had the opportunity to research a variety of open source applications. My initial project was to explore and research various open source applications suitable for use by students and compare them against each other and with the proprietary alternatives. There are indeed a bunch of alternatives available for the software we use during the course of our day to day work.

I managed to submit a paper on “Components of an Open Source Operating System for Sustainable ICT Education in Schools in Developing Countries” to the HICSS conference, and I’m starting off a multi part post with my learnings on open source software and development.


One of the interesting works that I read on open source development was Eric Raymond’s “The Cathedral and The Bazaar”. This is probably one of the definitive works on open source development, and a number of theories stem from it. In fact, quite a few papers that I referred to during the course of my research cited this work. He has postulated the following principles in the essay:

  1. Every good work of software starts by scratching a developer’s personal itch.
  2. Good programmers know what to write. Great ones know what to rewrite (and reuse).
  3. Plan to throw one away; you will, anyhow.
  4. If you have the right attitude, interesting problems will find you.
  5. When you lose interest in a program, your last duty to it is to hand it off to a competent successor.
  6. Treating your users as co-developers is your least-hassle route to rapid code improvement and effective debugging.
  7. Release early. Release often. And listen to your customers.
  8. Given a large enough beta-tester and co-developer base, almost every problem will be characterized quickly and the fix obvious to someone. (The full version of Linus’s law – Given enough eyeballs, all bugs are shallow)
  9. Smart data structures and dumb code works a lot better than the other way around.
  10. If you treat your beta-testers as if they’re your most valuable resource, they will respond by becoming your most valuable resource.
  11. The next best thing to having good ideas is recognizing good ideas from your users. Sometimes the latter is better.
  12. Often, the most striking and innovative solutions come from realizing that your concept of the problem was wrong.
  13. Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away.
  14. Any tool should be useful in the expected way, but a truly great tool lends itself to uses you never expected.
  15. When writing gateway software of any kind, take pains to disturb the data stream as little as possible—and never throw away information unless the recipient forces you to!
  16. When your language is nowhere near Turing-complete, syntactic sugar can be your friend.
  17. A security system is only as secure as its secret. Beware of pseudo-secrets.
  18. To solve an interesting problem, start by finding a problem that is interesting to you.
  19. Provided the development coordinator has a communications medium at least as good as the Internet, and knows how to lead without coercion, many heads are inevitably better than one.

Most of his principles are for software development in general, and so also apply to open source development. The key learnings form his essay are two-fold. First is that it is important to have a working prototype of the project before making it open source, or at least trying to find other developers who’d be interested in it. Second is that open source attracts a wide variety of talent that can be put to various uses, ranging from bug finding, to improvement suggestions to actual coding. Thus, it is essential to treat the participants in the right manner as everyone could make an important contribution.

One of the other observations to be made about open source development is the vital role that the internet has played in creating the synergy that exists between the developers, users and other contributors of any open source project. In fact, Eric Raymond has said as much in his essay:

… Another (in hindsight) was that the Internet wasn’t yet good enough.

Before cheap Internet, there were some geographically compact communities where the culture encouraged Weinberg’s “egoless” programming, and a developer could easily attract a lot of skilled kibitzers and co-developers. Bell Labs, the MIT AI and LCS labs, UC Berkeley—these became the home of innovations that are legendary and still potent.

Linux was the first project for which a conscious and successful effort to use the entire world as its talent pool was made. I don’t think it’s a coincidence that the gestation period of Linux coincided with the birth of the World Wide Web, and that Linux left its infancy during the same period in 1993–1994 that saw the takeoff of the ISP industry and the explosion of mainstream interest in the Internet. Linus was the first person who learned how to play by the new rules that pervasive Internet access made possible.

In essence, open source development has a lot of potential when used in the right manner. In fact, many companies use it quite strategically and couple them with interesting licenses (I’ll cover licenses in another part). There are also quite a few organizations championing free (as in freedom) software with the FSF (Free Software Foundation), headed by Richard Stallman being one of the pioneers. There is also a bit of controversy in the Free/Open Source world with some preferring the term free to open source. This has however not deterred organizations from leveraging open source development strategically. Open source development may not be practicable in every situation, particularly for routine software development in enterprises, but it definitely has its merits and I’ll be looking at other aspects of open source software in subsequent parts.

Filling in the gaps

This post marks the end of my longest gap in posting to my blog since I started it. So, what have I been doing in this period? Well, for one, I was really busy organizing the Systems Continuum 2009 (one part of the rolling seminar series of SJMSOM). In addition to this, there was the usual academic loads. I am also part of my school’s IT team. So, its been pretty busy over the last 3 months :-) .

I have quite a lot of posts in the pipeline & here’s a list of those that I’m planning (I’ll link to them as I complete):

  • Stock market game on Rails – A game I’d developed for our cultural fest (made it open source on rubyforge)
  • Follow-up on University 2.0 – I took a session in one of our Systems club meetings
  • Experiences using Google Sites & Apps
  • Experiences from Continuum 2009
  • Online toolkit for college goers – similar to the college goer’s freeware toolkit

That’s a fair number of posts, so let me get started on them.

Do education institutes need wikis?

Now that many companies have adopted wikis internally and are beginning to understand their power, why should education institutes be left behind. After all, the knowledge density in education institutes is bound to be as high as, if not higher, than in most companies. Moreover, content creation is part of any education process, and a wiki is an ideal medium for refining the content and making it available to a wide audience. So, what are the stumbling blocks in the widespread adoption of wiki or any knowledge/content management system for that matter?

Challenges

IBM has WikiCentral, an internal deployment of the Confluence wiki, and I was one of its 125,000+ users. We had wikis for our project, our team and various initiatives. In fact most of the documentation, FAQs etc of our project were on the wiki. So, we could easily refer to them and keep them up to date at the same time.

However, I have found a couple of limitations in wikis during my stint with IBM. Firstly, a wiki (barring wikipedia) is not the reference source (no prizes for guess the first) which means that even if we manage to aggregate a wealth of information, not too many people are going to actually refer to it. This can be tackled in some ways through publicity, which is precisely what was done in IBM. The second and biggest problem is the content creation part which is due to the lack sufficient contributors. Even wikipedia faces this problem (different scales though). I have ended up being one of the handful of contributors to quite a few wikis.

Wiki for SJMSOM

Finding the critical mass of contributors to sustain a wiki is the toughest challenge, and it gets even tougher with a tiny user base. However, I have not yet given up on wikis :-) , and now that I am back to being a student, I find that a wiki is an ideal fit for this environment. There is a lot of information that is exchanged among students, and most of this would be of value in the future too. However, this information in the form of emails and verbal communication which makes the persistence quite low. So, a wiki with its persistence and ease of editing is an ideal medium to store all this information.

I did some exploration of different wiki options on the internet, and found two that were well suited: Wikia and Zoho. In fact, Wikia already has a section for students. However, Zoho has better access control (supports domain level access control), and I chose it as the platform for my b-school wiki. Of course an internal wiki deployment would have been ideal, but I’m just doing this as an experiment to see if it works out.

I have been doing some work on it, and the support for HTML embeds is quite handy for adding different widgets on pages. I have currently kept the wiki visible to the public with the ability to add comments. However, editing is restricted to students from SJMSOM (my b-school). It is currently a work in progress, and I am still trying to find the tipping point of contributors :-) . So, if you have any comments or suggestions, do share them with me.

P.S. My father has blogged on a similar topic “How Important Is Technology For Knowledge Management?”, and it doesn’t seem to be very encouraging for my experiment :-)