Wednesday, November 9, 2011

"Interface" The Middle Man

We will always find middle man in between producer and consumer of anything. Sometimes more than one layer of middle man. Both producer and end user hate those middle man. They just rip profit by somehow involving in transaction. But no one will deny it require lots of thinking to establish a model which doesn't need middle man. Let’s understand what kind of value these middle men bring.
Like real world every software or services is integration of various modules. Each module is responsible to carry out certain task. Some component consumes the output of other; to integrate these we need middle man. In Java we say it “Interface”.  The basic idea of interface is to act like middle man. But in Java world it can do some additional things.
1)     As the name suggest Interface is basically to integrate two different components.  It exposes the functionality of one component to other in a simple manner.
2)     It can be used to hold Constants of the project. As the properties of Interface are always public and final.
3)     Java doesn’t allow multiple inheritance. So One class can’t extend multiple classes, the work around in Interface. One class can implement multiple interfaces. And a reference of an Interface can hold the Object of implementing class. 
Class A implements Ia {}
Ia ia = new A();
In this way it gives lots of option to designer.
4)     Interface enforces certain behavior on the class. For ex: if my object is instance of Serializable, then the object can be persisted. Interface is used to mark the Object.
5)     I found the best use of interface is it helps to design lots of generic stuffs. It helps in reducing tight coupling between component.
Please share your thoughts and experience with Interface in programming and real life as well.


Monday, October 24, 2011

Let's Talk About FRIDAY

Hi All,

We are now living in a fast growing world. Everyday gives us something new to wonder about and new to think about. And the first thought comes to my mind, what next. And everyday i again start with the same thought...WHAT NEXT....

When the other day i was sitting and having a coffee at a wee hour in office, one of my colleague pointed out that the biggest shock our time has also given birth to probably one of the finest inventions of our time. Used to seeing these technologies in movies like MI and all the Bond movies suddenly this became a beautiful reality of our times. Those who are wondering what i am talking about, yes it is Steve Jobs and SIRI respectively.

Everyone appreciated it and hailed Steve Jobs for this wonderful innovation. But now allow me to go back to that wee hour in office, where my colleague also told me (although rather vaguely) about IRIS. Yes, looking at those bold letters you can find out that this is SIRI in reverse. That is exactly what you find in the app overview in the Android Market. I went and downloaded the app then and there. It was interesting, nothing like SIRI, but still interesting. And the mother of all surprises, it was developed by a small group of individuals in Kochi lead by Narayan Babu after a marathon 8 hour long stretched adrenaline rush (http://blog.dexetra.com/a-day-when-siri-inspired-us-to-create-iris-fo). I rest my case here to the further analysis of my readers about how successful IRIS would be.

But I am not going to bash SIRI nor am I going to praise the team for evolving IRIS. Rather I would like to draw all of your attention to something very interesting that they were developing. Of course the development of IRIS gave them a good exposure to the world, but it simply doesn't make their innovation any less spectacular.

So let's talk about FRIDAY. No no no....not the weekend (It is certainly not a weekend but we always make it one.Gone are the days when Sunday used to be the only weekend...rather the term weekend was non-existent. Anyway, let's focus on the topic). That is what these guys were developing for almost a year now. Before I confuse you with all my explanations, just have a look at the video to see what it is(http://www.youtube.com/watch?v=6vTqYgcKJZ0&feature=player_embedded). Doesn't need much more explaining...does it ?

The interesting thing is, this can tell you where you were, when your battery died last time or for that matter when you were talking to your girlfriend :P (Atrocious logic...why would someone like to know that....But you never know). And you know what, you can register for the Hangout in Google+ for this and check out the launch of friday-app. At least Google+ will have some more hits.

Check this out...And I will let you know about the features...till then....

This is Bishnu Signing Off.....

Saturday, October 15, 2011

iPhone 4S



After launch of iPhone 4s it disappoints many people who are expecting lots form it. It was a very important event as it took Apple long 13 months and there was no Steve Jobs this time. It’s the first iPhone launched with Out Steve Jobs taking stage. So there were lot of buzz and comparison of Tim Cook’s show with Steve Jobs. 
People expectation from Apple CEO on stage is very high, probably no other company’s product launch can match. There were lots of speculation that next version iPhone will all new design some thing like thinner, big screen etc.
Lets understand the realities, it is certainly very clear no body can step into Steve Jobs shoe. And unfortunately Steve Job can’t take stage anymore due to law of nature. 
And coming to new design, Apple can’t just change the design with each new version. If design change adds significant values then it makes sense. Design change also involves change in manufacturing process. And iPhone 4 is still the sexiest phone available  with respect to design.
With iPhone 4s it catch up with some linear hard ware changes like dual core processor, better antenna and better camera. Yes you can say even Samsung does same thing with each new version.  iPhone 4s comes with iOS 5 and iCloud. Those are phenomenal and game changing. But all of us knew about it before.
The surprise was “Siri”. It is voice recognize system. Which understand what you speak and carry out the task. Voice recoginize system us already there much before. But people don’t use that. The problem with it is we have to remember specific commands or key word and  need to tell it. In case of “Siri” user can talk naturally and Siri figure out what you mean. The words what you speak its not important it looks for the meaning of whole thing.  The beautiful example was “ What is the weather forecast today ? ” and “ Do I need to carry Umbrella today ? “. Siri is smart enough to understand both. Yes that was ground breaking.
It is the future how we interact with Computer. In 80s there were command based interaction, 90s graphical user interface came. The next thing is voice recognize system. Siri is a serious step towards it.
With Siri iPhone 4S is the most amazing device available on earth.