Friday, 8 July 2011

Microsoft Windows: Past, Present and Future

If there is one corporation in the world that has simply been ruling its arena without any real competition, then it has to be the mighty Microsoft. Microsoft Windows is undoubtedly the most easy-to-use operating system and the sales of copies of Windows in the past 18 or so years, is an indication of that. But there is one flaw in Microsoft WIDNOWS that has been there since the first copy of Windows was released. The internal mechanism, by which the kernel of the Windows OS passes control to the individual applications, is susceptible to attacks. Till now, we have seen a host of viruses for Windows systems, but only a few of them exploited this weakness. So, the biggest surprise for Microsoft is yet to come.












Whereas, the number of viruses that have been developed for APPLE Macintosh, is pretty less, the number of viruses, worms and Trojans that have been developed for the Windows, is pretty high. The answer to this question is the same as the answer the question as to why Microsoft Windows has been the most successful operating system till date. The mechanism, with which Windows Kernel makes API calls, is the answer to both questions. It is this very mechanism which makes Windows, both susceptible and at the same time, easy to use and easy to program for. Some Operating System experts trace this anomaly to the fact that Windows was a modified version of the APPLE
Macintosh. Most of us know that Bill Gates from Microsoft had stolen the logic of APPLE Macintosh to build Windows, and since Macintosh was targeted for a specific platform, but Windows wasn’t, such an anomaly had to be there. Whereas the APPLE platform has the Operating System being tied up to the hardware platform, the Windows OS can be used with a variety of platforms.




Actually Windows is based on the Microsoft’s previous OS DOS. DOS was known for being compatible with all the major hardware platforms and was a console based OS. Mr. Gates used the flexibility of DOS and combined it with the Graphical Capabilities that were inherited form APPLE MACINTOSH. Though the tie-up of Hardware and Os in APPLE has lots of advantages like increased processing, lesser vulnerability, better multimedia experience, but the rigidness has always limited the number of users who use APPLE.



But after saying that, even APPLE Macintosh has seen some families of viruses. It’s just that the APPLE family of viruses is targeted towards the firmware whereas the Windows viruses have more to do with files and registries. APPLE Macintosh and Microsoft Windows, both have their own positives and negatives.

On the other hand, the differences between Linux and Microsoft are of a different nature than that between Microsoft Windows and APPLE Macintosh. In simple words, whereas the Windows makes use of the API calling mechanism, the Linux environment uses a Shell. The use of this shell makes you configure your Operating system environment as you like. You can customize the operating system and you can replace the original system codes with your own codes. In short, when you are using the Shell in Linux, you can customize, reconfigure as well as use your operating system at the same time. Moreover, the Linux supports many more file systems than what Windows supports. Linux Os provides much more flexibility and much more security than Windows. The security part comes from Unix- the ancestor of Linux. The way in which file directories are accessed in Unix Kernel, almost nullifies the chance for some virus to cause any trouble. But, there have indeed been viruses targeted for Linux environment as well.





The last two paragraphs tell that there have been viruses for all the three OS, showing that all of them have some weaknesses. Then one could question that why does the number of viruses developed for Windows simply outnumbers the number of viruses developed for the other two. The answer is that the more popular an OS is, the more the number of viruses which are targeted for it. The virus-writers want their viruses to spread as much as they can. This can only happen, if viruses are targeted to infect the most widely used Operating System at that time. Before Windows had come into the scene, most of the viruses were developed for APPLE. And since till date,  Windows has seen the largest user base, the largest number of utility applications and the largest number of software suites, it has been the favorite OS of the virus-writers.

Though Windows could have been blown away in its early days, it was saved by its team of security engineers and the upsurge in anti-virus culture. The most fortunate thing for Microsoft was that the anti-virus culture began to pick up just after the release of the Windows. Peter Norton, John McAfee and Eugene Kaspersky came to Microsoft’s rescue. Since Windows was the most popular and most attacked platform at that time, most antivirus corporations decided to provide antivirus solutions for Windows. The Windows users who had already spent so much on getting their copy of Windows, never really bothered about the extra amount that they had to pay for purchasing an antivirus solution. The team at Microsoft also played intelligently, by providing free security patches to the Windows users, over the Internet. Though, the idea of leaving permanent vulnerabilities in the actual code, and patching code for dealing with threats as they arrive, is not good, but why would the user bother about this. The antivirus solution and the security patches made the user feel good while using Windows.



The other thing which went in favor of Windows was that it was ready to use. All the codecs were there since you had installed your copy. These codecs are not available in Linux and you have to add them by yourself. The normal user hence always preferred Windows over Linux, so what if Windows charges you so much and Linux would have cost you nothing. As the base of Windows users grew up, all the major Generic software developing corporations chose Windows as the target platform. The .EXE of Windows became the most popular file format, off late. Hence, with time, Windows became the favorite Operating System of the masses. With time, its dominance increased only.


But then, what about the problems in Windows? Careless coding which was done initially had to manifest, in the end. For a user who used his Windows as badly as he could, had to format his computer every six months. With time, registry problems, invalid file associations and viruses would slow down your processing to such an extent, that you will have no option but to reinstall Windows. This has always been provoking frustrated Windows users to switch to some other Operating System. In fact, in the USA, Microsoft began to eat into the user share of APPLE during the 1980’s. But, when the users realized
The problems with Microsoft Windows, they decided to switch back to APPLE, even though an APPLE PC would cost twice as much as one that runs Windows. Since most of the popular applications had their APPLE Mac versions, the users had no problems in switching to APPLE and they did. But the corporations who needed more flexibility than what APPLE would have provided them, stuck to Microsoft.



So what is it that made Microsoft Windows survive, even after having so many problems? It survived partly because of its luck, partly because of the corporations that depended heavily on it, and partly because of the users who got satisfied with what they had. The antivirus companies, in fact, had the biggest role to play, in saving Microsoft’s skins. But they had to do what they did. If they did not work to save Windows, they wouldn’t have got anything to offer to the customers. Hence, on one hand Windows depended on the antivirus companies for its survival, and on the other hand, the antivirus companies had to depend on the weaknesses of Windows for their survival. The patching up of security updates, over the Internet also saved Windows. But the biggest thing that came to Microsoft’s rescue was the lack of options that users had. The users were willing to spend any money on their OS, but they were not willing to spend a lot of time in setting it up. Though Linux provided them with all that Microsoft did, and that too at a lesser cost, the fear of spending time in setting it up, made them stick to Microsoft. Moreover, all the major utility software was available for either windows or Mac, and not Linux. This is how Windows survived the test of time.




Over time, users from the developed countries, where piracy is minimum and you have to spend a handsome amount to get your copy of Windows, users began to feel that if they can spend some time in learning Linux and setting it up, then not only they can save their skins by the weaknesses of Windows, but they can also save their money. Hence, the Open Source culture became much stronger than what it was at its very inception. More and more users began to use Linux and those who did so, never even looked back at Microsoft. For those applications, where only a Windows executable was available, WINE came to their rescue. Slowly and slowly, the distribution channels of Open source software widened up and more and more users started to show interest in using such software. The open source community also began to build utility software which would work on both Linux as well as the commercial operating systems. The Mozilla firefox web browser project and open source suites like OpenOffice.Org are some early examples of this. With time, the open source community got heavily into developing applications specifically for Linux and as a result, a lot of utility software became available to the Linux users. At present, Linux distributions as large as 5 GB, are available. Such distributions have almost all the utilities which one could expect a normal user to use.






 Companies, who have seen Microsoft as their biggest rival, began to fund GNU and assist it in acquiring codecs and the free CD program. The number of Linux users increased considerably in the last 10 years or so and is increasing at a very high pace. PCs that had one or two Windows versions, now had Windows + Linux in dual-boot or only Linux. With this surge in Open Source culture, players like Google and Oracle joined in. Lots of Open source applications began to develop and lots of users started contributing to the Open source community. As it stands now, the Open source culture is at its peak as far as developed nations are concerned. But as far as the developing countries like India, are concerned, the Open source culture hasn’t really kicked off. The reason is that most of the copies of Windows are pirated, rather than original. Since the users had pirated copies of Windows, they didn’t have to spend anything on it. This has made them stick to the Windows, since there was no motivation that could have provoked them to change their OS. But, even in these countries, the impact of Open source culture has been somewhat visible.

So what threat does the Open source culture pose to Windows? Well, if the GNU is able to acquire most of the paid codecs, then the Open Source OS will provide functionality equivalent to Windows Os, for free. Plus, the most popular Open Source OS Linux, is known to be much more secure, fast and flexible than Windows. Hence, once the users feel like switching to Linux, they might never look back at Windows. Of course, it’s a long time for all the codecs to get acquired by the GNU, but once this gets done, the road will get very difficult for windows. Google is about to release its new Operating System called Chrome.



 The company has spent lots of bucks and claims it to be a revolutionary type of OS. Experts believe that Chrome might be having inbuilt support for many codecs and may also have an inbuilt functionality for supporting Windows API calling mechanism(Unlike in Linux, where WINE is separately available and not a part of the OS itself.) Hence, Google Chrome OS may just do what Linux couldn’t do in the past so many years.

What all can save Windows? Its quite obvious that Windows will stay in the arena for at least the next decade, but its existing-base has already begun to shrink. One thing that can save Windows, is obviously by removing the flaws by building next Windows from scratch, But this does not seem to be a viable solution. Building the next version from the scratch will make it pretty different from the ones that we have already seen. This may render the new versions incompatible with the older ones. Hence this solution will need a lot of insight and investment, and Microsoft as we know it, would prefer continuing on the Automatic update philosophy to this. So what else can save Microsoft’s skin? The answer follows.



If there is one thing that can come to Window’s rescue, then it is the DOTNET platform. Microsoft has spent millions of dollars in developing it and is keen to spend millions more in making further improvements in it. The framework is a conglomerate of multiple programming environments such that the programmer is allowed to code in his favorite language but the overall system would generate a .EXE and a set of DLLs, so that the application, no matter what language it was built in, can be executed on Windows. The Framework realizes this by making use of transforming code from native compiler to an intermediate Language called MSIL (Microsoft Intermediate Language). Then the final compilation would include compiling MSIL code and producing .EXE and the DLLs. If your target environment is Windows, then it is much easier to code in .NET than to code in Java and other development frameworks. The platform provides much more flexibility than any other platform, just because it has been optimized for a target system, rather than being platform independent in order to be deployable on various environments. Moreover, integrating with Ms Office and SQL Server as well as the other Microsoft services, goes seamless with .NET. The company has already invested a lot in maintaining and extending the framework and the dividends have been evident. The platform gives tough competition to Java. The timing of introducing the platform was pretty tactical. Just when Java programming was at surge, Microsoft chose to tempt the Windows developers by introducing DOTNET. And with time, Microsoft has been attempting to show that it’s the best programming platform, if you are a Windows developer. All the latest technologies from Microsoft have been integrated into .NET and hence the .NET programmer has much more flexibility than a Java programmer, when writing code for Windows. As a result, Windows, which was already popular, may become more popular because of the quality of applications that you can produce for it. Currently, .NET and Java are the most widely used development platforms and as long as this stays, Windows will remain in the race.



Having said about the competition which Windows is bound to get from the Open source community, Microsoft will always have the option of doing something to delay the inevitable. The company has a great marketing wing, and the strategies which it uses can make its user base grow instead of shrinking. The company is always known to tempt the customers with great tie ups. At times, it tied up with Japanese computer Manufacturers and Intel to provide a PC that would cost half as much as APPLE PC., and at times it has tied up with Server Manufacturers to provide corporations with irresistible packages. Microsoft’s support is also something which makes users feel as if Microsoft can serve them better than anything. Though the computer companies will not be affected pretty much even if Windows gets phased out, but almost all the computer companies have reaped in heavy profits by providing a combination of Hardware that was specifically designed for Windows. The companies may also worry that what would happen if APPLE begins to reclaim the share once Windows gets phased out. If users turn to APPLE, then no one would buy those simple computers. Hence, Microsoft is due to get full support from computer manufacturers so that Windows stays alive.



In the world of computers, nothing can be predicted with cent percent surety. In 1970’s, the CEO of DEC(which was the leading computer manufacturer at that time, courtesy of its VAX computers) was asked that why isn’t the company entering mainstream PC manufacturing. He replied that “what would a normal user do with a computer?”. He said that 10000-20000 powerful computers are sufficient for the entire world. The company was blown away in the PC revolution of the 1980’s, showing that in the world of computers, lack of insight can be fatal. Windows is the heartbeat of Microsoft. If Windows gets phased out, the company will be virtually nothing in comparison to what it is today. So, at the end of it, if Microsoft shows enough insight and acts accordingly, it can make Windows remain what it is today – the most used OS. Otherwise, the company may become history, like DEC. The choice is theirs and the ball as of now, is in their court.




Tuesday, 21 June 2011

What to do with our old communication media ???


Technological advancements in the world of communications, have always been welcomed with strict evaluations of how they will change the way something was accomplished previously and how well will the new technologies accomplish those goals. There are government agencies, non-profit groups, technical societies and manufacturer forums which take good care of this evaluation and ensure that only good advancements are accepted and the bad ones are rejected. They take almost all the aspects into consideration, but they forget (deliberately, in some cases) one big aspect – how will the new technology put the existing technology’s infrastructure (as in wires, amplifiers, branch exchanges, trunk offices, circuit switching nodes in wired communications and signaling towers, repeaters and signal switching nodes in wireless communications) into use. In some cases, a new technology standard specification would give an annotation at the end, saying that the existing infrastructure can be used with the new technology, but it will never reveal the difference that would result in the performance when using an entirely new infrastructure versus using the older one and hence the manufacturers and service providers sought to building a new infrastructure from the scratch.









But you cannot blame anyone for this, can you? These agencies strive to promote new technologies and they tend to do it in a way that ensures that new technologies do sprang up. Moreover, the new technologies when given an entirely new infrastructure, have almost always offered greater benefits that what they would have offered if they were used by making modifications to the old infrastructure. Since the profits which the manufacturers and service providers incepted they would get with new infrastructure, were always higher than the profit which making use of the existing infrastructure could have resulted in, the manufacturers and service providers never really bothered about the old infrastructure. They just formulated policies that would suggest that as long as the old technology is in some us, they are ought to maintain the infrastructure which was built to support it, but the policy never states what would be done when the old technology gets completely phased out.

Though there have been a handful of examples where the old infrastructure was put to some excellent use- e.g. the infrastructure for AMPS was reused to implement DAMPS. The X.25 communication backbone which was initially meant for some conventional communication and not carrying Internet payload, was later on modified to be used as an efficient carrier of Internet payload.(In fact it is still used as a communication backbone in some regions). But the number of such examples falls pretty short of the number of examples where the existing infrastructure was left to rot or was removed to put the newer one in place.

Its not that the old communication infrastructure causes any considerable loss to the environment or add to some other issue, but it’s just that we ignore the possibility of putting it to some good use. A set of standalone transmission towers cannot cause a lot of harm to the environment, can they? (Of course, ignoring the possibility of the tower growing too old and falling on a person passing from the nearby). Nor can the bundles of copper wires cause a lot of harm to the environment. So one might ask as to what is the point in caring about the old communication infrastructure. Why shouldn’t we leave it as it is and move on to build one for the new technology? If the masters of the domain have been thinking in the same way, then why should we take a different stand on this? The experts of the domains, the manufacturers and the service providers have set this trend, because they lacked insight. They have a lot of insight, when it comes to implementing the new technologies in the optimal manner and ensuring that the overall operation is robust and flexible, but they lack insight when it comes to doing something unanticipated with the existing infra. 

The DAMPS and X.25 backbone examples that were provided at the beginning indicated a different class of reuse. They were instances when the new technology could be implemented by making slight modifications to the existing infrastructure. Though such examples are motivating, but they are very rare in the present context. If you are switching from conventional copper cable telephony to optic fiber-based communication, then there is no way in which you could use the old infra in implementing the new technology. You have to build the new infrastructure from the scratch. But what we forget here is that we can do plenty of innovational things with the existing infrastructure. The conventional copper cable-based systems are about to become obsolete. The infrastructure used by such communication was humongous and this system was undoubtedly, very reliable. Some wireless communication technologies like the DAMPS, PHS are also near becoming obsolete. So what all things can we do with them? A few proposals follow.


One proposal is that the existing copper cable communication be modified slightly and the cables which were once used to connect telephones to branch offices would be made to connect utility meters to the respective billing offices. This will obviously mean that for those houses that did not have a copper cable connection before, the corporation will have to provide one. One might argue that the data transfer rate on copper media is limited to 56Kbps, but the utility meters would send and receive much lesser data than this. Instead of providing a separate system for meter readings, the existing system can be put to very effective use. This would eliminate the job of meter reading personnel. But apart from this benefit, this system can also detect thefts, which result in major losses to the power generating corporations.

The second proposal is to use the existing copper cable infra to act as a signaling system in the modern communication technologies. GSM, GPRS and most of the modern communication protocols need a separate signaling system for optimal performance. Although, a portion of the overall infra can be used to function as the signaling system, but by making use of a separate signaling system, we can minimize noise and can ensure a higher quality service with reduced risk of network failures. Some GSM service providers, who owned copper cable – communication systems before coming into cellular technology, have indeed used this concept and have reaped in lots of benefits by doing so.

The third proposal is to provide a super secure communication by making use of any existing and obsolete transmission media. Since the early days of the science of network security, it has been realized that the most secure communication system is one in which two channels are used for overall transmission. One channel is used to carry encrypted data and the other channel is used to carry the security information. Since the amount of security information is pretty less when compared to actual data, the obsolete low data rate channels can be used with relative ease. At the beginning of the Internet era, the proposal of having a separate channel for transmitting security related information would have been considered to be a joke. But now, when we can use some obsolete transmission system to act as the second channel, we certainly consider the implementation of this proposal. This will undoubtedly mean some changes in the communication architecture and equipment, but by switching to the two-channel system, in an intelligent way, one can confine the changes to the terminal offices and the network gateways, which are easy to change than to change all network nodes or intermediate network switches. The best part is that the Internet protocols form part of a layered architecture and hence we can make changes on one layer and leave the other layers unchanged. Though the implementation of this proposal can solve many of the network security information that we have been facing off late, but the wide implementation also poses some practical challenges and problems that can be solved only when there is an equal commitment from everybody involved in the scene.

A fourth proposal is to provide the existing and obsolete infrastructure to some Cable TV company. The Cable TV companies have been making use of coaxial cables to reduce interference and the WAN concept to transmit cable signals to the homes of the subscribers. They chose this setup so that they can have overhead transmission than having underground transmission. But if these companies are provided with some old digital wireless communication infrastructure, then these companies can provide the same services with better quality and lesser clutter. Though the customers will have to spend more for the new terminal equipment, but the return which they get fro their investment is worth it. The cable companies on the other hand can provide extra services as they will now have a high bandwidth channel at their disposal. Moreover the maintenance required in normal cable TV networks will not be required in the new system. Since such companies operate in very small areas, so just one or two transmission towers may suffice, in most of the cases. This system will be somewhat similar to the DTH system. Though this system will not provide as much clarity and as many services as the DTH, but the cost of connection to this setup will be pretty less than cost of a DTH connection. 

Apart from these proposals, many more interesting and innovative proposals have been made by various research groups, but the question of feasibility in implementation had restricted some of these proposals from spreading. Anyways, no matter how many proposals we make and how good be the credibility of those proposals be, the final decision always remains at the mercy of the corporation which owns the dead network. It also depends on the willingness of the other corporation (the power generation corporation in the first proposal, for example) to replace its old way of doing things by this new and effective way. Hence, even if the corporation which owned the communication facility wants to use the existing infrastructure, it may never be able to do so because there was no one who came to ask for the services of the old network. Moreover, the type of reuse which a network can be put into differs for the type of network in question. Copper cable- based communication will obviously be less useful than some digital wireless network like DAMPS.


At the end, it is your own network so it is upon you as to whether you would use it, sell it or let it rot in the open. So the owners of the network infrastructure have the ultimate decision making power. They should allow new ideas to come up from the experts. They should check the credibility and practicality of mass scale implementation of these ideas. By making use of something that was rendered unusable- that’s how we build a smarter planet.