Why Open Source

Open Source is not a concept, it's thought process.

Keep Watching this Space

This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Keep Watching this Space

This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Blog for open Source lovers

We live in a World of Technology and that tecnoglogy is for All to explore and understand. Period. !!

Showing posts with label Open Source. Show all posts
Showing posts with label Open Source. Show all posts

Tuesday, August 1, 2017

How to add Prefix to Every Field with Notepad ++

If your System doesn't support heavy applications or editors which are required for data editing or development purposes then the next best thing after notepad is notepad ++. It contains pretty cool features and one of them is adding/appending similar data to front of string in every row.  This is best show via example.

So let's say you have a file with numbers and you want to separate numbers with inverted commas like ' ' or let's say by ' , ' , then we can do it in following way.



Select the numbers and then Select "Replace" or Ctrl + H.

Now make sure that the radio button with option "Regular Expression" is selected.

Now put ' ^ ' in the text box with "Find what" option.



And put character name you want to replace it with in "Replace with" text box option, which is " ' " in our case.

Now Click on "Replace All" options and Bingo !! You are done. " ' " character is added in front of every string.  You can use this method to replace it with any string.



Also in similar fashion, if you want to append any character or string in the end of every row, you can also do that in similar way. Instead of  ' ^ ' in the "Find what" option put ' $ ' and click "Replace All" and you will get the results as below. 



Cheers !! 

Monday, February 20, 2017

Beginning Android Development - Must Not Undeclare Prefix

Usually when we start with some development activities, especially for new developers, there are many common errors which we face. They are usually not big issues but they become roadblock for new developers and hence de-motivates them to start development. 

However, if we see the brighter side, they help us in learning system better and troubleshooting them helps us in understanding tool quickly.

One of the most common error users face while starting with Android Application Development with Android Studio is: 

Error:(2) Error parsing XML: must not undeclare prefix


If you see on other websites and blogs, it has been suggested to add below line or make sure you have below lines:

xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"

However, there are chances that above lines are already there and if you look at the exception or error message closely, you will see that it talks about some prefix which is not declared, so try to look for undeclared prefix and remove it. For eg. it could be like:



xmlns:app2="" 
Try removing it and any other similar undeclared prefix and then compile it. You should be able to move ahead and the program should compile.

Cheers !!

Please leave your comments if more solutions are found and if this has been helpful.

Wednesday, July 15, 2015

Learn Basic Linux Quiz : Part 1




Linux Basic learner quiz covers questions which focuses on improving basic knowledge in open source areas. These are useful for both new and experienced Linux learners. This blog is first in the series and more questions will be shared. you can subscribe to the blog if you want questions directly on mail. Each Question has only one correct answer and explanations are provided along with that. If you see any issues in the questions, please drop a mail to planetopensrc@gmail.com or leave a comment below.

Enjoy the Quiz and do leave your feedback.


Basic Quiz








Tuesday, July 14, 2015

Why Open Source

Most of us have heard about the word "Open Source" but not everyone understands it completely. Let’s start with this. You brought yourself a pair of Shoes worth 500 Dollars from a shop. Felt great? You must be after all you got the coolest stuff in the town. Now you wore it on your girlfriend birthday or on some party who loves your sporty look and appreciate the brand you are wearing. Then what happened is you got stumble upon something and the front sole has come out. Now what to do. It’s simple. Hardly spend 15 to 20 Dollars and get it repaired from any cobbler in the town.

But here is the catch now. What if you have a restriction that you can get it repaired only from that branded shop from which you have brought those shoes with no less then  100 dollars. Doesn't make sense. You have got the shoes, you paid for it. So they are yours now.

Why they are suppose to impose such a thing on you.

Well, my dear friends the proprietary software companies are doing the same thing. Once we have brought the software its our choice to do what ever we want to do with that. Then why we have to always go back to them in case of any update, patch or any single error solution. Answer is: we don't have the source code.

But if we see through open mind then we should be given the source code, may be at a higher price with the software we are buying, so that we can get it to any concerned person who can modify, customize, update in the way we want it. We can go back to the maker company by our own choice if we feel that they are giving us the best solution at the best price. But i am sorry they are not doing that. That’s why we are taken for granted.

The whole creativity, innovation dies there as few minds work to find the solution. But what if we have the most beautiful minds of this world working on that. Then you can always get the best solution. The solution of your choice at your price. Even you can modify it by your own. The concept of Open Source can change the face of the world we are living in.

And this World will be a more creative and beautiful place.