Wednesday, December 17, 2008

LTSP Training of Trainers conducted

LTSP (Linux Training of Trainers) technology is gaining momentum in Nepal considering the impact that it can cause at very low cost. Organizations like Help Nepal Network and FOSS Nepal have set up a vision of establishing 1 e-library per district. I am proud to be associated with this vision and was one of the deployers of the e-library project in Bhaktapur district.

The vision itself is very innovative since it not merely empowers rural Nepal but also students of technical institutions who are given opportunity to go to different parts of Nepal to set up the e-library. Since, not much students are familiar with the use of this technology, a training was conducted. This was the second training on LTSP being conducted, last one being conducted on 15-16 December '07. I was part of the instructing team for both the training events.

I have made a blog post of the training @ http://elibrary-ltsp.blogspot.com/2008/12/2nd-ltsp-training-of-trainers-conducted.html

Monday, December 1, 2008

Classifying data to class interval using AWK

Recently, I needed to do a 'Simulation And Modeling' assignment which required me to classify the discrete datas into class interval.
Thanks to my counting skill (or probably it was concentration), I ended up finding different frequencies for the class-intervals each time I counted.
I knew I would never complete the assignment if I continue counting. I thought I would better go for a script to do counting for me. And hence, I wrote a small one for myself using awk.
I copied the discrete data in a plain text file called dataset. The data was separated by a blank space and looked like this:

07 05 96 14 10 90 ..............

Had to write only a few lines of code to do the trick for me. In the class interval, I had to include the maximum class limit and exclude the minimum class limit. Wrote the following code in a file called class.sh and executed it.


#!/bin/bash
awk '
{
for(j=1;j<=NF;j++){
p[int(($j-1)/10)]++;
}
print "Class Inverval","\t","Frequency";
for(k=0;k<100;k+=10){
printf("%2d lt; r <= %3d",k,(k+10));
printf("\t\t%2d\n",p[int($k/10)]);
}
}' dataset

The output of the script would look like this:

Class Inverval Frequency
0 < r <= 10 8
10 < r <= 20 13
20 < r <= 30 8
30 < r <= 40 12
40 < r <= 50 7
50 < r <= 60 8
60 < r <= 70 8
70 < r <= 80 8
80 < r <= 90 12
90 < r <= 100 11



Easy, huh? Isn't it.

Wednesday, November 26, 2008

FOSS Nepal wins best SFD '08 event for consecutive year

Today, it was a day of wonderful surprise for the FOSSians here.

The results of the best SFD (Software Freedom Day) events was announced and guess what we have managed to stand one of the best SFD events team for the second time in a row!

Thanks to the effort put by together by the collective effort of volunteers. Bibek Paudel ensured that our effort were properly logged in a report to be submitted. And here we are!!!

SFD announces three best SFD events team every year (in no particular order). The other two teams who managed to tell precisely how they managed the event were: SFD Nicaragua and DabaweGNU. The information is available at :

http://softwarefreedomday.org/Competition2008

FOSS Nepal was declared one of the best events even last year ('07) along with SFD Nicaragua and Beijing SFD.

SFD was celebrated throughout the world on September 20 this year. You can find a post about activities in this year's event in Nepal on Pravin Gautam's weblog

Everyone is enthralled and we will soon be having party to celebrate this victory!!! And, now that we have tasted the fruit of success, we are looking at making a hattrick. :)

Friday, November 21, 2008

A week long journey to hightech rural Nepal

It was unexpected but very pleasant surprise for me to receive a call from Basanta Dai (http://basantashrestha.blogspot.com) asking me if I could manage time to go to Nangi for follow-up training of PAN localization, a project by MPP (Madan Puraskar Pustakalaya: http://madanpuraskar.org/). I needed to teach the trainees about Blogging and CMS.


But then I was a bit hesitant since I needed to miss college for at least 10 days. I talked about this to Suraj, Manish and Shishir Dai. Everyone said that I should go. And so I was ready for a lifetime experience.

We started our journey from Kathmandu on Nov. 17 and had a night stay at Beni. The next morning we had to trek for 10 hours to reach our destination, Nangi. It has been the most difficult trek of my life till date but such a beautiful place is worth every pain.
The view of Annapurna South, Annapurna II, Dhaulagiri, Gurja Peak all make you feel like a heavenly creature.

While you trek, you wonder if you would even find salt at such a place, you will be amazed that most of the villagers use VOIP as the sole telephony medium. Most of them are good at emailing, chatting and you would find most of the communication in the neighbouring villages taking place through forum on a local webpage. What more, they have a tele-medicine centre.
I was really stunned to see this hightech village. And despite this all, they are so friendly to you.

The training was arranged by ENRD (E-Network Research and Development). Uttam Sir and Ambika Madam from ENRD accompanied us.

While Basanta Dai needed to discuss the new features in Nepalinux 3.0 like Text-to-speech, Nepali Sabdakosh, Nepali spell checker in Open office as well as GIMP, English/Nepali Wikipedia, Web Domain Registration, I was assigned the task of teaching Blogging and Website building using CMS. I chose Drupal (http://www.drupal.org).

From the next day, we had to start the training session. And, it was supposed to be a 9 day training session.

The trainees (or probably I say trainers since it was a Training of Trainers programme) were from 5 different locations namely: Krishna Sir, Kishan Sir and Boj Sir from Nangi (Myagdi), Sete Sir and Yamshree miss from Shikha (Myagdi), Narayan sir and Amrit ji from Tolka (Kaski), Shivaram Sir from Dandagaun (Rasuwa) and Chhanu Sir from Jhuwani (Chitwan).

In these 9 days, we got along very well with everyone and it was all fun inside and outside the class. We would take classes from 9.30 AM to 4.30 PM with an hour break and would then go for walk around village.What more, we also got to participate in the traditional Magar dance. I am glad that I got to experience all this.

In the meanwhile, Amar Sir from MPP joined us on training on 8th day while on his way to Ghorepani with his friends. We organized a small feedback session. And it was pretty good that we received good remarks about the training from the participants. Only the complaint that the participants had was that the curriculum in schools had to be Vendor independent so that they themselves had the opportunity to use Nepalinux regularly and teach their pupils. We assured that we would do the best we can. By the way, let me bring it to your notice that we are already putting the curriculum issue before CDC (Curriculum Development Committee) and I am taking charge on this front on behalf of FOSS-Nepal.

By the end of the training, the participants from the centers had developed the center's respectives sites. The following are the links to the sites:

Dandagaun -- http://dandagaun.com.np

Jhuwani -- http://jhuwani.com.np

Nangi -- http://nangi.com.np

Shikha -- http://shikha.com.np


Tolka -- http://tolka.com.np


Well, I have a lot to say, but let photos express it in a better way.

http://www.flickr.com/photos/jitendra-pic/sets/72157609561027757/