user-avatar
Today is Saturday
November 23, 2024

Category: FOSS

April 13, 2015

Wikipedia(0) – free first dose of the drugs

by viggy — Categories: FOSS, FSMK, internet — Tags: , , , , Leave a comment

Free First Dose of the drugs

Free First Dose of the drugs


Access to knowledge is one of the crucial factors for growth of a human being and internet has ensured that access to knowledge to any human across the globe is possible. However lot of the knowledge is still blocked behind artifical economic blockade. Wikipedia is one of the best example of how Internet has helped liberate knowledge from clutches of a few priviliged with resources to make it available for the commons. What makes this possible over internet which was not possible by traditional means of communication is the peer to peer nature of the internet along with free flow of data across different entities over the network without any discrimination. If a user intends to access Wikipedia site, the fact that his request to the server will be treated in the same way as millions of other request travelling over the internet ensures that he gets the same level of service like anyone else over the internet.

However sadly this is not the same anymore. The very essence of internet that “All Bits are Equal” is now being broken and sadly Wikipedia is in the forefront of breaking it. In their blog explaining their stand and viewpoint on NetNeutrality, they try to make a stand that since their agreement with Telecos is not a commercial program, they can be excused for breaking NetNeutrality.

AllBitsAreCreatedEqual
One of the fundamental problem in the Wikipedia’s approach in this case is the idea that Wikipedia is knowledge as an independent entity and hence giving access to it in places very there is lot of scarcity of the same is atleast some improvement. This is true only partially. Yes, Wikipedia is a great source of knowledge but it is also a small source of knowledge as compared to the whole internet and wikipedia alone cannot suffice. It is good to start with but can hardly be the sufficient enough. Wikipedia themselves ask users not to rely on their information and ask users to verify it by going through the references and looking at other sources also. This is why I believe Wikipedia Zero is the free first dose of the drug which is very convinient for the telecos, not so much for the users. There is no doubt that Wikipedia has real impact but so is also access to social networking site and messaging apps. In this case, being non-commercial does not necessarily matter. Imagine a class of students having free access to Whatsapp so that they can now all interact with class mates and teachers anytime. Imagine thousands of students interacting with each other across the world over Facebook and organizing a MOOC over it. Wonderful things are possible with access to different platforms but at the heart of it is access to internet, not one site, not few sites but all sites.

Infact Wikipedia Zero breaks Wikipedia itself as it sees its users only as readers and not as editors. The blog did give an example of a Nepali editor but how can someone edit Wikipedia articles without proper references pointing to other sites. If so, how does he access other sites on Wikipedia Zero? I am not clear on this.

Again heart of all this is the issue with access to internet and by leaving it in hands of for-profit entities, both government and private, we have just put one of the best creation of mankind into the merciless competition market. In my opinion, what Wikipedia actually needs to do is strive for more community owned infrastructure, either as community owned mesh networks like Guifi.net or as community owned fiber-network like Chattanooga. It is time Wikipedia works on liberating internet itself by making use of the power of the community like it did for the knowledge and this is something it is already good at.

Even if it wants to work with Telecos, the emphasize and the discussion has to be on giving limited access to whole of internet rather than unlimited access to few sites.

I understand that since I am not the student in far fledged town in Africa or someone with very poor internet penetration like in Nepal, I may not be able to appreciate what they would when they get even basic access to Wikipedia free of cost. However the fact that their understanding of internet will be very limited and restricted is also dangerous. It sets a very dangerous pathway in such regions as the logical next step to exploit the user is to start offering access to other limited services at very basic charges and so on. Hence the title I use here that Wikipedia Zero is the free first dose of the drugs.

October 1, 2014

FSMK Website QR Code

by viggy — Categories: FOSS, FSMK — Tags: , , , , , , Leave a comment

Inspired by Redhat QR Code with Logo that I saw in Pycon, I decided to check if something similar can be developed for FSMK with FSMK site link as the QR code text. This link explains clearly the technical aspect of modifying a generated QR Code with some custom text/design.
Then using FSMK logo and a QR Code image generated through QR Code Image Generator Firefox Addon, I mashed up this modified QR Code using GIMP.
FSMK Modified QR Code

September 22, 2014

No more reinstall campaign #AvoidedReinstall

by viggy — Categories: FOSS, FSMK, linux, ubuntu — Tags: , , , , , , , Leave a comment

How often do you screw your GNU/Linux based system such that you decide to reinstall your system? Are you the go-to person in your group for any issues with any GNU/Linux based OS? How often do you suggest to people who come to you that there is no other way to recover than re-installing?

I have been helping people to migrate to GNU/Linux based distribution, mainly Ubuntu. And its quite often that I come across people who while doing something or other have messed their system and need to help to fix it up. More than often, I used to give up quite quickly and ask them to take a backup using live-boot and reinstall the system. Many times, I would just search for first error I noticed and see if I could get solution online and if that didnt work give up and ask to reinstall. Though this is quick, it actually meant that I wasnt learning anything new. It also meant that many things in Ubuntu which might have been actual bugs might not be getting noticed due to this.  And it also contradicted one of the popular examples I used to mention as to why Free Software is better than proprietary? Have you noticed the Blue Screen of Death, Can you fix it on Windows? Because Free Software allows you to study it and play with it, you can know why your system has actually crashed and try to understand how to fix it. Really? How often do we do that?

Hence I have decided to start this self-campaign and if possible motivate others to also follow it where in I put my maximum whenever I come across a messed up system to recover it without reinstall. The way the success of this campaign will be judged is by maximum number of systems I can avoid reinstall before coming across a system I am forced to reinstall as I cant find any other way around it. Hopefully as time goes on, the gap between every two systems forced to reinstall will increase which would mean I am improving/learning and avoiding many more systems from re-install.

I am already successful in doing it for 1 system. Hoorrrraaaayyyy!!!!! Hence #AvoidedReinstall 1 I spent 3 nights on it, close to 8-10 hours in all but finally it is recovered and system is now working without having to re-install Ubuntu. Hope to find sometime and blog about it also.

 

September 2, 2014

Taming googlegroups for those without Gmail Account

by viggy — Categories: FOSS, FSMK — Tags: , , , , , , , Leave a comment

I have recently migrated my primary email address to my own domain and started using it for all communication purposes. One of the main thing is to subscribe to various Google Groups which GNU/Linux User’s Groups under FSMK have. The straight forward way, you would think, would be to just search for the groups in groups.google.com website, then there should be a subscribe button where you would enter your email address and then you should receive a email to confirm that you want to subscribe. This is what most of the mailing lists software would do. However not Google Groups. If you want to subscribe to Google Groups, when you click to join the group, it asks you to sign in a Google Account, hence any non-google account wont be able to subscribe to a group.

The other way is to request the group admins to add your email address in the group, this will not work always as most of the times I wouldnt even know the admins of the group. Also it means that you now have to depend on the other person to find time to add you which will be slow. Idea of public mailing lists is that anyone interested should be able to subscribe. Unfortunately google does a reasonable job in ensuring it becomes very difficult for you unless you have a Google Account.

So I found out a more difficult way to subscribe/unsubscribe google groups and this is again borrowed from traditional mailing lists softwares.

If you know the google group’s mailing address, say

glugdsce@googlegroups.com

You can subscribe to the group, by sending a mail to

glugdsce+subscribe@googlegroups.com

To unsubscribe, send a mail to

glugdsce+unsubscribe@googlegroups.com

Similarly, to directly visit the page of the group in a browser, you can use the following link

https://groups.google.com/forum/#!forum/glugdsce

In all above cases, just remove glugdsce with the name of the group that you are interested in.

Overall, I think Google Groups continue the evils of Google and if you are a well established group/community, it is always better to host your own mailing list and move out of Google Groups as soon as possible.

 

May 13, 2014

JavaScript browser code to invite all your friends to like facebook page

by viggy — Categories: FOSS, FSMK, FSMK, programming, web — Tags: , , , , , 1 Comment

We have recently announced the FSMK Summer Camp for the year 2014 and also have a facebook page for the same. We wanted to spread the word out about the page by inviting all our friends to ‘like’ the page. FB shows you a list of your friends  and gives an option to click ‘invite’ for each one of them separately. When you do this, the invited friend gets a notification about the invite and hence more chances of his liking the page.

However this is still cumbersome as it means to invite all your friends which may be around 1000+, you have to click invite so many times.

But you have java script to the rescue. All you need to do is open javascript console on your browser and then execute the following code:


//Note that there is a space after uiButton. This class is the class of the invite button.
var inputs =
document.getElementsByClassName('uiButton _1sm');

for( var i=0; i < inputs.length; i++)
{
inputs[i].click();
}


To find out how to run javascript code in Firefox, check the following link.

If sadly you are not using the best and fastest browser, Firefox, then you can of course find similar tutorials for other browsers or realize it is time to switch to Firefox as Firefox29 is just released and its AWESOME!!!

P.S. The code was shared to me by Karthik Nayak from BMSIT GLUG.

December 12, 2013

Using jhbuild to compile and run gnome applications

by viggy — Categories: debian, FOSS, FSMK, linux, software — Tags: , , , Leave a comment

I have been trying to compile and run gnome-chess from source. The first way, I tried was by downloading the source tarball and then running configure, make and make install. This worked fine after I fixed the dev libraries dependencies. This is one of the first point that you need to remember if you are compiling anything by source on any GNU/Linux distribution.

Point 1: If the compilation fails due to bad dependencies, it is generally because the dev library of that package is not installed.
If on debian, use apt-cache search to check which pacakges are available to download and apt-cache policy to check which package version you currently have installed.

This worked just fine and I was able to run gnome-chess with the latest code. Now when I modified few lines of code and tried to build it again, I started getting errors and that too in files which I hadnt even modified.

After looking a lot around for answers, I decided to use jhbuild and try compiling the source using it. I had hoped that it will help resolve all dependencies issues and hence I will be able to run the modified code.

I do not understand jhbuild yet completely, however I started following the manual in the gnome website.
Downloaded the jhbuild source from git repo.
build is using autogen.sh, make and make install.
Copied the sample jhbuildrc to my ~/.config directory.
Ran jhbuild sanitycheck and fixed the issues that were shown.
Then ran jhbuild build. This again gave me close to 60-70 missing packges.
Went through each one of them and again installed all the dev libraries.
Then when I ran jhbuild build, it started the process of downloading the source and building each of the gnome packages. In all 175 of them.
Finally I was loosing patience as some of the packages were as big as 300MB say for GTK+. It didnt make sense that just to build gnome-chess, I needed to build complete gnome from source.

This is when I met Mario(maweki) on #gnome-chess on IRC. Frustrated, I had sent a mail to games-list@gnome.org few minutes ago and he pinged me on IRC to help me.
He explained to me patiently what I exactly need to do.

Point 2:
So if you need to just compile and build gnome-chess,
Add the following in your jhbuildrc file which should in ~/.config directory.
ignore_suggests = True
This will reduce what needs to be build as much as possible

You can use the following command of jhbuild.

jhbuild build gnome-chess
Note: I had not given any module name in my previous command and hence it was downloading everything required for gnome.
This for me downloaded only 21 packages.
In some cases you may have to first build gnome-standard-themes package first. This is when the application doesnt use graphics but css-rules.

You can run jhbuild it using
jhbuild build gnome-standard-themes

However this might not always be necessary for all applications. So you can skip it safely also.

Point 3:
If you make changes to the source file and want to build the application again, use the following command
jhbuild buildone -n 'application-name'

buildone just builds the single application
-n switch is for networkless building and this will ensure that the source from your local directory is picked rather than checking out from the repo.

Point 4:
If you want to run the application from the newly build source, use the following command,

jhbuild run 'application-name'
By this, you should be able to see the changes, if any you made in the source directory.

Most of the pointers above were what Mario suggested me. I hope this would help you to get started with atleast downloading, compiling and running gnome-applications from source.

November 21, 2013

Bytestruck-13, An experience

by viggy — Categories: experience, FOSS, FSMK, social — Tags: , , , Leave a comment

I had been hearing about ByteStruck a lot for close to one year. This is how I came across PACE GLUG in Mangalore. Unlike any other Free Software fest or conference, atleast that I know of, which generally targets graduate students or working professionals, the participants of ByteStruck are actually high school and pre-university students. The event aims to introduce students at a very young age to computer programming and Free Software ideology.
My usual interaction with school students are through the community centers that FSMK runs. The centers attract students from lower middle class or poor families who are generally completely new to computers. Many of them would have used a computer only at schools with very little understanding of its usage or internals. The centers are run with the aim to introduce these students with various usages and internals of computer and actually allow them to play with and explore computers at the centers. We have been quite successful in this effort and many of the students are very comfortable in using and understanding the systems. Some of them are now trying to get into the internals of the system. By this effort, we had hoped to see if we can in anyway try to control the increasing digital divide between the haves and have nots.
With this context, ByteStruck was a different experience for me where I actually met the other side of the high school student population. ByteStruck to its credit has now become a major event in Mangalore region and attracts the best of the students from some(if not, all) premier schools and pre-university colleges who mostly(hoping that I am not over-generalizing) come from upper middle class and rich families.
The brief interaction with the students during the event helped me understand the extent of the digital divide that exists currently in the society. On one side where we are happy to introduce office tools and browser to students in their 12th std or doing their B.Com/B.Sc, the students here were already talking about Android App Development, Spoofing web pages and flashing Mint on memory card and using it on a Raspberry Pi and these are students just in their 9th or 10th grade. Not only did all of them had used Wikipedia for completing their school homework before, they also had social networking accounts and email addresses. Many of the schools which participated followed syllabus from CBSE and hence all the students were familiar with the idea of open source(I was told that they have it as a chapter in Class 9th).
This event was an eye opener for me of how much we are loosing in the fight against the digital divide present in the country. Not only do we have to start working more actively with our community center students giving them much exposure, we also need to engage with them at a younger age and get them to explore computers and internet themselves. A major challenge that needs to be addressed is to allow students as much time as possible with the systems. This will then allow them to probably come over the idea that computer is only to play games and they will start exploring computer for other things(It took me over 2 years after having my own system to realize it. :)).

October 18, 2013

Being committed to free software is the only way forward

by viggy — Categories: FOSS, FSMK, linux, software — Tags: , , Leave a comment

One of my friend shared this article about how Facebook is now a leading open source contributor and how most of the web giants are encouraging open innovation. The article also mentioned about how this trickle down is helping the community in general. Though I largely agree to the points mentioned in the article, I think the author missed one main point.
It only makes sense to open source your changes rather than maintaining forks
Its a common practice for any start-up to go with free software tools. When you are experimenting lot of ideas, free software tools help you to quickly come up with prototypes which you can get it validated with potential customers. The teams can also work independently without having to deal with licensing costs and other agreements with proprietary software companies.
What I think the article missed to point out is that when companies start developing their infrastructure around free software tools, it becomes a necessity for them to contribute back their code to the parent repository. Else maintaining and merging different code bases as and when new released for the particular project is released becomes very time consuming defeating the whole purpose of using free software tools. Hence I think it is not that Facebook and Google want to open source their technologies(Definitely, it can be that they want to contribute to the community), but the choice of becoming free software users ensures that you also contribute your changes back to the repository.
For example, we know that Google dumped its Google Compute Engine Linux and shifted to Debian as per this report.

November 2, 2011

Localization sprint as rajyotsava celebration

by viggy — Categories: FOSS, FSMK, FSMKLeave a comment

Around 15 people met at FSMK office at 3:00 pm on Nov 1st to celebrate Rajyotsava. The plan was to have a localization sprint to localize Debian Installer. Since many were new to localization, we started by giving a brief about what localization is and the different tools used for localization. Then we divided ourselves into 5 groups and started the sprint. In around 2 hours, we were able to localize 46 strings. Most of the localization was done by Naveen, Shishir, Raghavendra, Prabodh and Jayakumar as each one was leading their group. Hopefully new comers understood the whole process of localization and will contribute to it in future. There are still 324 strings in debain-installer kn.po file and hence a very long way to go. However with few more such localization sprints, we should be able to complete the localization of remaining strings.

Along with the localization of strings, Rameez created a glossary of commonly used Computer Jargon. This will help any new comer to quickly find respective Kannada word for the English word. Also this will be followed as a standard while localizing. You can find the glossary here . Please feel free to add more words and correct if anything wrong.

In all, I feel very happy that in such short notice, we were still able to gather good number of participants and were actually able to localize a significant number of strings.

Prabodh and Naveen deeply into localizing the strings

March 12, 2011

FOSS in curriculum

by viggy — Categories: curriculum, discussion, FOSS, FSMK, FSMK, Misc, panel, tech1 Comment

Having missed most of the excitement of the two days of the State level academicians convention on Free Software in Research and Teaching, I arrived at the venue fortunately to get a chance to attend the panel discussion. The topic of discussion was “Foss in Curriculum”. The discussion was moderated by Senthil and the panel consisted of the following distinguished persons.

Prof. K Gopinath, IISc

Dr. K. Rajnikant, Principal, MSRIT

Dr. C. R. Venugopal, Prof and Head, SJCE, Mysore

Dr. Sunil Manvi, Prof and Head, Reva ITM

A time limit of 8 minutes was given to each panellist to express their views. Senthil started the discussion by stating the position of Free Software Movement on the subject. He said that the whole FOSS movement was started initially by academicians and researchers from various universities who did not want vendor lock in for the tools they were using in their research. Hence it was apt for even faculties and university as a whole to ensure that there is no vendor specific courses or instances in the syllabus. He compared the situation of profs struggling to understand the proprietary tools  even when FOSS tools are available like people trying to get the recipe of Coco-Cola even though there is tender coconut available. He emphasized that when tools are proprietary and hence closed for everybody, how will the students be able to play with it and understand it. It is like asking a mechanic to learn to repair the car without actually being allowed to open the car hood. With this, he asked Dr. K. Rajnikant to express his views.

Dr Rajnikant who is principal of MSRIT and also an academic senate member of VTU was the VTU representative for this panel discussion. He told that when the questions comes of mandating tools in curiculum, there are many factors they need to consider. Due to this factors, they are forced to keep a blend of both proprietary and FOSS tools in the syllabus. One such factor was the importance of the knowledge of tools to the students placement. If the industry is using mainly a proprietary tool in particular domain then for helping students to get placed in the industry, they will have to inclucate such a tool in the syllabus. However, he made it very clear that VTU did not have any mandate on compulsarily using any proprietary tools in the curiculum. For example, he told that the graphics subject is already being thought using OpenGL which is a popular FOSS cross-platform API for developing graphics applications. Hence colleges always have freedom to explore various FOSS tools if they want. But in reality, since colleges already have paid licensed versions of proprietary tools and thier profs already have put effort in developing course material around the proprietary tools, they are unwilling to move to FOSS tools. Another factor he pointed was that at present, students are using the just the tools to develop the applications and not to actually understand how the tool is developed and internals of it. Hence for them, it does not matter even if the source code of the tools actually exist. In conclusion, he made it very clear that VTU in near future as such cannot mandate the use of FOSS tools in its syllabus and it was necessary for them to keep a blend of both proprietary and FOSS tools in the curiculum.

After this, Prof C. R. Venugopal from SJCE, Mysore and also an academic senate member of VTU right at the outset declared that he was a lover of open-source. He said that during his post-graduation in IIT-Bombay, there was already a culture of Eat Breathe and Drink Linux. He emphasized that as a computer science engineer, a student must be knowing inside out of the computers which can only be possible if they start playing with the source code of the tools which is possible only with FOSS in the curiculum. He said that the main problem that needs to be addressed immediately is the lack of faculties who can teach current subjects with FOSS tools.

Prof Gopinath started the discussion by giving his encounters in life for promoting FOSS. He said that when he had started teaching his subject, operating systems, he was making use of minix and encouraged students to start enhancing it and he found many students who were able to do it. He said that even after trying hard to equip his department machines to linux, he was not successful way back in 1992 as it was considered to be inferior. But within next 2-3 years, the institute itself started getting pre-loaded linux machines and soon all the machines were running only on Linux. In his opinion,FOSS is the perfect platform, a infrastructure to start to building things on it. Hence, it is the right way to teach any subject. He also said that, instead of colleges going to industry to buy licenses of softwares, colleges should actually invest on developing the necessary tools internally. He said that if the faculties find FOSS tools to be not as competitive as a proprietary software, then it should be used as a base for teaching. It can then be used to understand the problem and solve it. He also mentioned that he was probably a wrong person as a panellist as he has always been using FOSS and anything other than that is unthinkable to him. Hence even for the sake of discussion if he suddenly starts talking anything against using FOSS, then probably his head needs to be checked.

After Prof Gopi’s such strong statement, Prof Manvi, from Reva ITM was asked to express views on the discussion. He said that only FOSS tools can be played with. Hence a student should definitely use FOSS tools during his course. He also emphasized that at a time when colleges have very limited funds for infrastructure, they are forced to cut costs in every possible way and hence using FOSS tools in lab is a very viable option for colleges also. He mentioned that it costs around 5 lakhs per annum for 30 machines license of a popular proprietary tool used in Electronics department of which he is the HOD. If there is a FOSS alternative, like Scilab, then colleges should definitely use it. He said that using FOSS tools even after taking support license from vendors will save as much as 30% of the costs. He also mentioned that it is very difficult for colleges to use industry tools as the tools keep changing every 2-3 years and it is very difficult for them to upgrade it. It is even unnecessary for them to upgrade to newer versions as the subject fundamentals that they teach in the course remain the same. He pointed that the immediate problem that needs to be addressed is to the lack of necessary documentation for every FOSS tools so that the faculties can go through them and start using it. He saw this as the major hindrance for using FOSS in curriculum and if addressed it will certainly boost the rate at which colleges are moving to FOSS. Hence he requested organization like FSMK and FSMI to work on it. As a first step, he asked FSMK to come up with complete lab manuals for present lab subjects using FOSS tools.

With this we came to the end of the panel discussions and since very less time was left, Senthil quickly made the conclusion that as of now there was no complusion from university for colleges to use proprietary tools and if the few hinderance pointed by panellists were solved, colleges will deifinetely start using FOSS.

Again due to time constraints, only two questions were allowed. In the first one, an Audience pointed that to allow students to go to depth, it was necessary for the university to decrease the breadth of the course. For this, Dr. Rajnikant pointed that as an university it was necessary for them to look at a bigger picture while deciding the course. There are colleges which lack faculties in particular subjects and if the depth was increased then the lack of faculties for such subjects will be more. Hence they have to decide the curiculum keep these factors in mind. However, he pointed that under the university there were 14 autonomous colleges which had the freedom to decide their syllabus in each subject and conduct examination accordingly. But for this, colleges need to prove their abilities only after which the university can award them with such freedoms.