Thursday, August 30, 2012

Solving problem with Update Manager in Ubuntu 12.04

Hi,
Yesterday I got a problem in my Ubuntu 12.04 machine after downloading few third party softwares. The Update Manager was giving the error...
"E:Encountered a section with no Package: header,
E:Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages,
E:The package lists or status file could not be parsed or opened."
I tried different things like removing the newly added entries in /etc/apt/sources.list but it didn't work.
Then, I removed all the available listings in the directory.. /var/lib/apt/lists and updated the list using apt-get update and to my surprise it worked!
Remember, you need to do all the above operations as sudo!

Just posted if you would find it helpful and not waste time in trying different crazy things to fix this, like I did! :P :)

Thanks. Comments are welcome!

Wednesday, May 19, 2010

Service Orientation... A new approach of Web Services

Hi everyone,

It's been so long since I've published a post in my blog. Now I've come up with a post on the latest buzz, "Service Orientation". Of course, many people should have already posted tens or hundreds of articles on this issue, but let me also put my views in this post. I request you to kindly  be very patient going through this post as it is little lengthy!

There has been lot of buzz in the industry for quite a long time about "Service Oriented Architecture". Let me use "SOA" to refer to it in my post (of course, universally acceptable!). What is SOA? A lay man can give its definition as an Architecture that is meant to provide services! Its true. If you ask an under-graduate student, he says.. a slightly unfashioned and untraditional manner of providing web services (I'll elaborate the same soon). If you ask an IT Professional, he says.. "An architectural approach that helps solve problem in a distinct, yet simpler manner, that has evolved from the roots of XML...."(the definition continues..)!!!

In a lay man's perspective, assuming he/she is a regular user of the Internet, he/she feels that anything being provided to him in the Web is a service. The services is perhaps, offered by a provider and he is probably one like Google, eBay, Amazon, etc., and he/she is the Service Consumer. Hence he/she feels SOA as just a tool that provides services. He/she would perhaps derive it from the term SOA itself and miss many important aspects of it!!!

Certainly, SOA has something more than it! I'll come to it soon.

In the perspective of an under-graduate, who is well-versed with Internet, SOA seems something like unpleasant term. He/she would rather feel..."What is service and what is orientation, moreover what is architecture??!!" I don't mean to say an under-grad will not know about the term but have come across many people who felt so. He knows that something is being provided to him over web and can satisfy himself by correlating the word 'service'. The question that an under-grad would look at is 'what is an architecture? How is it concerned to providing something over web?' and many more! I'll come to these soon.

In the perspective of an IT Professional, SOA is an approach that enhances the construction of solution to a problem that tries to modularize the solution and make it re-usable. After all, what we all are concerned today is about some re-usable solutions to some ever-existing critical problems to save the time and cost. SOA looks at it! An IT Professional would not look at it as a special concept, rather he looks at it as an advancement to the traditional Web-service architectures. SOA is an extension to XML (Extensible Markup Language). SOA is based on SOAP, WSDL. SOA is just an extension to already existing technologies but a finer and sophisticated approach of providing Internet services over web.

SOA is an architectural paradigm. It is different w.r.t. various other technologies only in the sense that the communication is in the form of services (Remember, this services is different from the services a lay man thinks of!!). Any middle-ware programmer would and should be aware of CORBA (Common Object Request Broker Architecture). In CORBA, communication between two entities is in the form of objects with the help of an Interface Definition Language (IDL). But in SOA it is in the form of services through the use of WSDL (Web Services Description Language)!

In short, WSDL is similar to IDL; yes, of course it has much advancements. IDL is a common language for all object-oriented languages and the scope of WSDL is more. With the concept of 'services' it has created a new spectrum for itself.

In short again, in my perspective, SOA is similar to CORBA except that it makes use of services and the latter makes use of objects apart from the architectural differences. Hence I refer SOA as something called CORBA++!!! :) SOA offers communication in the form of services which are inter-operable and platform-independent.

I have earlier said I'll be describing the term 'Architecture' and the relevance of the word in the context of Web services. Let me put this way... Suppose a person wants to communicate to another person. He can do this with the help of a mutually understandable language or with the help of a translator, in any language. Certainly mere language and/or translator is not sufficient for a good, formal and effective communication. There are certain practices to be followed for a good communication, for example, body language, dress code, etc., depending on the kind of communication (formal/informal). Architecture simply addresses these. Architecture, in the context of SOA addresses.. what the service roles, service models, service endpoints and service descriptions are. Hence a communication between two entities relies broadly on the architecture underlying it. This is very essence of 'architecture'. Examples include Client-Server Architecture, 2-tier client-server architecture, distributed internet architecture, Hybrid Web-Service Architecture, and many of their kind.

I would not go into much details of the service types, service roles, service models and all as it ends up to writing a book as a whole and I'm not so well-versed with the corresponding literature, any how. Let me wind up by just pointing out the very first point I quoted, i.e., it is a latest buzz. It is, because of its simplicity, adaptability, re-usability and advance-ability. Many vendors like Microsoft, IBM, BEA Systems, Sun Microsystems, Oracle, eBay, Tibco, Hewlett-Packard, Canon, Commerce One, Fujitsu, Software AG, Nortel, Verisign, and WebMethods are all extending their continuous support towards the development of standards for SOA. Various standards organisations contributing to the continuing evolution of SOA include W3C, OASIS, WS-I, etc.

Hence SOA is a continuing 'phenomenon' and the industry is slowly shifting to this latest paradigm and thus it is future generation Internet Technology. Thus a great shift in paradigm is needed towards SOA and SOA is going to revolutionise the concept of Web and Web-based services.

Thank you for going through this very long post and any comments are always welcome. I would feel utmost pleasure in discussing the technology with you all.

Have a great day! :)

Saturday, July 25, 2009

Cloud Computing... A Revolution!!!

Cloud Computing... A Revolution!!!
Hi everyone,

I would like to bring in to your notice about the latest hot topic in the field of IT, which, many of you might have already known, the "Cloud Computing". Cloud computing is a generic term for anything that involves delivering some hosted services over the Internet. One of the examples of this is,'Google Docs'.

I would say that the Cloud Computing is a revolution as it facilitates every application in the 'cloud'. The major advantage of the latest development in IT is that users need not have their Desktops/Laptops with high processing capabilities, hard disk storage, latest upgrades to the hardware/software. In fact, user can perform any job in the Internet from hosted services. Of course, all they need is an Internet Connection.

The potential problems that users face with the traditional desktops is the exhaustion of Hard Disk Space, heavy load on Processor to perform several tasks. These can be significantly overcome by the Cloud Computing, as the entire applications can be performed in the 'cloud'. Moreover, the storage of data is also very well possible in the 'cloud'. This should imply the amount of the disk space saved for the user. Other important things about the advantage of the cloud includes the security of data. The traditional Hard Disks contain many GBs/TBs of data, but still suffer from the problem of crash. If the Hard Disk crashes, entire data will be lost. Instead, the entire data can be stored safely in the cloud, and one can access the stored information from anywhere across the web.

Cloud Computing not only supports data access from anywhere on the web, but also document compatibility. A document is common for everyone in the cloud, no matter what platform they have or what suite they have to have. A document can also be shared by many, perhaps a group of people for a collaborative work. Thus Cloud Computing has many advantages that one should feel while working.
This type of computing is offered by various giants of IT like Microsoft, Google, Yahoo, Amazon, etc. and is expected to revolutionize the concept of computing in the present arena, even though there are many concerns about implementing it globally.

Thanks a lot for going through the content. You are free to share your comments or views on this and any other latest technology.

Monday, March 2, 2009

Photo hosting, free and easy to use! Upload your photos to share. Instantly get direct URLs to your photos.

Hi everyone,


Let me give you some details about a web link that enables easier upload of pictures and easier creation of photo galleries.


http://photo-hosting.winsoftmagic.com/


I recommend you all to follow this link and enjoy photo hosting that is free and very easy to use. I have used this service and am pretty much impressed. I hope you all would follow my recommendation to use this service.


Thanks for going through this content.

Friday, February 27, 2009

Adobe Systems’ Products

Hi everyone,


I would like to bring to your notice some important issues regarding some of the Adobe Systems' Products, which I found very interesting when I attended a seminar today held by Adobe Systems. I knew a few new things from that, and would like to present here in my blog as I hope many may find them interesting and useful.


Firstly, Adobe Flash 10, the currently used version in the market, is known to be installed on around 95% or more of the systems integrated with internet by any means. What a great fact to be known?!!! This has been possible only because of the serious efforts put by the Adobe Systems in developing their products and updating that regularly in the internet. Even if anyone of has it not installed, Java Script code present in the Dynamic HTML page would ask for it, while trying to load any content, as many of us would have observed. This is the greatest deal of work from Adobe Systems that they are distributing it for free on every system in the Internet. In fact, the Adobe Flash supports many applications, makes applications interactive, easy to use, understand well.


Secondly, Adobe Systems has developed a new collection of technologies, called Adobe Flex, presently version 3, for the development and deployment of cross-platform Rich Internet Applications (RIA). The concept of RIA is new in a sense that the computational power of the client PCs is also used along with the servers' capability. RIA goes beyond page metaphor. RIA supports Rich data visualization, Real time data push and alerting, Rich data entry, Cinematic experience and Data flows to the user. Adobe Flex is like an SDK, which makes these RIAs possible with great ease and also enables the applications be easily developed. Basically there are two languages followed by the Adobe Flex applications, namely, MXML and Action Script, similar to the traditional HTML and Java Script. The Action Script is slightly different with respect to Java Script in the sense that Action Script is compiled rather than interpreted, it is 100% Object Oriented and a strongly typed language. As we have IDEs like Eclipse, NetBeans for traditional Java based applications' development, similarly there is an IDE developed by the Adobe Systems for developing Flex applications, called Flex Builder, which can work along with some other softwares like Flash CS4 Professional, Flash Catalyst, etc., and some other suites like Adobe Photoshop.


And many more……. like GUMBO, upcoming version of Flex Builder… I knew in that session.


I really enjoyed the session and I'm sure, everyone interested in new products can really enjoy the session. For your information, one can follow the links listed below to know more about Adobe Systems and its products.


http://opensource.adobe.com/


http://flex.org


http://weblogs.macromedia.com/mxna


I hope you all share your thoughts with me regarding Adobe Products and we all can gain knowledge together.


Thank you for reading my blog. I hope you found it interesting. Please feel free to write your comments...