Skip to main content

Posts

How to install Google Chrome on Ubuntu

I installed Google Chrome today. Its easy, I just followed the following steps: 1> Download the .rpm package from the google chrome site. 2> Once that is done ...cd to the directory where it is located. 3> Now, type: sudo dpkg -i google_chrome.rpm( replace google_chrome with the actual file name) 4> It may not be done...due to lack of certain files...so do the following:     type: sudo apt-get install -f 5> There you go...you can get the chrome via Unity...so launch it and do the nice works.. /> Cheers...

Ubuntu Problems solved for installing new softwares.

I had a problem in Ubuntu of not being able to install a software. It gave me the following errors: E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened.   or like this one:   E: Malformed Description-md5 line; includes invalid character 'fc1f7600accbcc"07ef9954ba3306c14' E: The package lists or status file could not be parsed or opened But it was an easy problem to solve: The reasons for the problem arise from failed update attempt or may be when you try mess around with /var/lib/dpkg/status     Or may be you have too many sources in your repo,,,,that could also be a problem. To solve this is simple,,just do the following steps:   1> Open the terminal with ctrl+alt+t; 2> Type: sudo rm /var/lib/apt/lists/* -vf  3> Now type: sudo apt-get ...

Android: Understanding Intents and starting activity from it..

Basic understandings of Android Intents and starting activity from it.. .................................................................................................................... Toast and its simplest work to show the text: Toast.maketext(getActivity(),textview.getText().toString(),Toast.LENGTH_SHORT).show(); Starting Activity: >startActivity(i); //if i is a defined Intent object already; >startActivity(new Intent("name of the class from manifest.xml"); >startActivity(new Intent(this, "name of the java class"); Intents in Android and its invocations  1>Intent i = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("http://website")); startActivity(i); 2> Intent i = new Intent(android.content.Intent.ACTION_VIEW); i.setData(Uri.parse("http://website")); startActivity(i); **************** Uri.parse can take values as such to be shown: Like :> geo---for map application or activity; tel---...

Why study of algorithms are still very important in computing

Algorithms is the mother of computing science(If Mathematics is the father!!). The very first concept of computing was the algorithm on which depended the first simple operations and all that followed.              Yes, it was algorithms which preceded all the fancy big and small systems and electronics that has enabled us to visualize  all the fascinating results it yields according to it.  Derived from the name of Al Khwarizmi, the great mathematician who invented algebra, it lays down the basic step of realizing the solution to any problem being dealt. One great thing about it is that it involves all the mathematical details of the problem and gives a worthy information about its speed and space complexity. And hence, it provides a summative look on how the problem is going to be solved and all its estimates for the operation. A great thing one might want to know is that " Good algorithms are better than  Supercom...

How to compete online programming competitions

It so happened to me this month that I broke the final barrier of not being a rated member of Codechef and Codeforces.  It has been a bit of time since I registered at both the reputed online programming platforms. Though I have been practicing some problems, still it didn't occur to me to make it a point when it came to the contests on this two sites- The coveted Long and Short contest of Codechef and regular contest for Codeforces. About how I did....Nothing so extra ordinary because all it needed was just one thought and determination that "I had to do it this time..at all cost". It paid off and now I am rated in both the platforms. Its a small step yet it is a big leap because it makes me motivated in all that I do now and  yes, I can say that I am more confident now than I was and this will help me in doing better. If there is anyone still not being a part of these things, I sincerely invite you to it. Not just that we can improve our skills but that it makes u...

Machine Learning: Creating Efficient Intelligence

Advent of Machine Learning  Artificial Intelligence has been used extensively in many applications over the last 3 decades. Areas of prime importance such as manufacturing, research, healthcare,finances and banking has been using AI on an extensive and intensive basis.      Over the recent years, researches has been conducted on the sidelines of AI to make its application much more productive. Things such as Data Mining popped up following the internet explosion and took a very pleasing growth proving its use in industrial scale applications.      One question has though  been asked since its inception:"Whether the machine themselves can be made to learn on its own?". This lead the researchers to conceive the idea of "Machine Learning",where the machine itself will learn from its own experience and derive appropriate action for a thing in future based on this, without having to write any program necessarily for the same. This almost...

Unable to open drives on double-click: How to solve it

Sometimes we get a buggy thing happening with us when most of our USB slots are filled up and we try to open a disk-drive by double clicking and we can't open except using  right-click options.  Well, many post and many suggestions go for checking the virus-stuff in the USB drive providing links to many third party tools and other anti-virus options. On the contrary of all these superficial tweets....I found my problem solved through a simple handling with the computer management tool for disk management. Before jumping on to the steps for solving the problem, I would like to highlight that the main cause for this problem is due to external disk(s) connected with the system bus. Each disk drive is allotted a unique letter from C - Z. Sometimes due to multiple connection, there may perhaps be a collison for the names and the system cannot recognize them. So,it does not allow it to be open through d-clicking! How to solve it.. You must be logged on as an administrator ...