user-avatar
Today is Thursday
November 21, 2024

Category: FSMK

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.

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.

February 26, 2012

Sky watching day expirience shared by Bhargavi

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

This article was written by Bhargavi about her experience on the sky watching day.

“I love science. In science, I love physics. In physics,  Astrophysics is very interesting and miracle too.
On 25th of February, I had been to FSMK office with my brother to see the moon and the planets with the help
of a telescope. In that program, a professor of Indian Institute of Astrophysics had come to give us
information about our universe. It was a very interesting session.
First he told us about light. Light travels very fast at about 3,00,000 km/sec. We can see everything in
this world only with the help of light. Light is made up of invisible particles called photons. Moon’s light
take approximately 4 sec to reach the earth and Sun’s light take approximately 8 min to reach the earth.
Universe was formed approximately 4 * 10^6 ago according to big bang theory. He told us also about
position of planets in our galaxy and about the constillations. He showed us some videos related to this.
After this session, we saw the surface of moon and the planets, Jupiter and Venus and their position with
the help of telescope.
This session was very useful to me. From this session, I was inspired to become an astronomer and know more
about more universe. I thank my brother who called me to such an interesting and educative program.”

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.