Menu

25 May 2011

Bitrate of Slidecasting

I have uploaded the slide-casting demo - http://code.narendrasisodiya.com/slidecast/Slidecasting-Demo.zip
it is 1.2 MB and total size is 2 minute 9 second.
So , You actually need 1200/129 = 9.4 KB per second...  {1 hour lecture = appx 30MB}

My goal is bring it down to something like 5 KB per second or may be like 1 KB per second.. but I am happy with even 10KBps bitrate..
I am improving my system and hopefully I will be able to create a website similar to Youtube but for educational contents.. 

By- Narendra Sisodiya

23 May 2011

Firefox 4 beta for 64 bit user

I spend whole weekend to figure out why I am unable to run firefox 4 on my 64 bit machine..
Actually whenever I was downloading, I was getting 32 bit firefox.. The correct url for downloading firefox  for 64 bit is 

Firefox 4.0.1

Firefox 5 beta

By- Narendra Sisodiya

22 May 2011

HTML5 based Eduvid Slidecasting Demo : Low Bandwidth Streaming

Screenshot

Today I escaped normal routine and sit down to have a minimal version of slidecasting using HTML5.

Slidecast is basically a combination of html-slides, image, and audio. HTML5 support Video/Audio element.
I prepared this proof-of-concept demo for html5 version of slide-casting my presentation. We do not need flash.
Normally audio will take only 10% of bandwidth and 90% bandwidth is used by video. uploading and downloading videos is very hard.
So it is time to slidecasting your work. If you organise workshop or conference or meetup then you can upload slidecast , you do not need any video camera to do this. I will try to create a software to note down the timing of slides.

This kind of demos are very useful to create educational contents. If we (FOSS community) of India create such slidecasts in each meetups then very soon we will be having a good amount of slidecasts (Or Eduvids)

I hope this year , I will be able to produce some good version of Project Eduvid and We all will be generating good contents from our own desk..

Here is the demo : http://code.narendrasisodiya.com/slidecast/demo-slidecasting.html

Let me know if you want to collaborate or have any suggestions ?


By- Narendra Sisodiya

21 May 2011

Need Project Intern to create better One-Click train searching algorithm

Suppose you want to find Train availability of train JAT BDTS SPL (09022) on 25-05-2011 From DELHI SAFDARJNG To BANDRA TERMINUS for GENERAL category

then you need to give this format to URL.


http://indiatrain.in/Rail/getAvailabilityMMT2.aspx?Train_No=09022&Station_From=DSJ&Station_To=BDTS&mDay=25&mMonth=5&mYear=2011&mClass=SL&mQuota=GN&temp=1305975273236

This GET command will return availability , You can perform same Operation to different trains for same day..

Different trains can be found via this command

http://erail.in/rail/getTrains.aspx?Station_From=NDLS&Station_To=BCT&DataSource=0

you can apply following javascript function to parse this response body (check out the source code of erail.in)

Now, When user try to search train availability from Station A to Station B then , our script can load availability of all possible trains in the same route and only display trains which has available seats..

Please contact info@elpacorp to get start this project..
Or join http://groups.google.com/group/oscontrib and discuss there..
Thanks

By- Narendra Sisodiya

19 May 2011

How students and I was able to install Software in a Computer Lab today

I use to teach kids how to use Computer as part of SchoolOS.org project. NCERT (Delhi) hosted Computer Workshop for Kids. morning session is for kids below 12 years and noon session is for children above 12 years..

I use to teach lots of program to students. I will share other experience later but today I will tell small story.

1.5 year back when we created schoolOS I forget to add tuxmath and childplay software in it.
I wanted to install these software in all 20 computers.. System was having very slow Internet connection. The solution is DebBundle. "Download Once, Install Everywhere"

So I download my own software (DebBundle)..
http://code.google.com/p/debbundle
and applied following command

./OneClickInstall_Deb_Creator Tuxmath_and_Childsplay tuxmath childsplay
This will generate
Tuxmath_and_Childsplay
.i686.OneClickInstall file


I copied this file to all systems and and clicking it , I was able to install tuxmath and childsplay software in all computer.

Now come to student.. Student like supertux game a lot. whenever they get even a small amount of time they tried to play supertux..
Even I was about to detain one student for this..

I removed supertux from all computer.. Now there were 1-2 smart student who were trying some commands like
$ INSTALL SUPER TUX
$ SU DO SUPER TUX
etc
 on their desktop to install supertux game.

then I game a small challenge.. Every student must search on internet on "How to install Supertux on linux"  .
all student started to find..

Finally after 10 minute of hard work one student  figured out -- the synaptic package manager..  they liked it very much because installation to any software is very easy .. but it took 30 minute to install supertux again on all system...

By- Narendra Sisodiya

16 May 2011

[Commercial] 4 Week Summer Training on Introduction to FOSS and Open Technology at ELPA Technologies

Finally we are up with 4 Week Summer Training on FOSS (free and open source software) and Open Technology
Visit for all details http://elpacorp.com/training/
One can ask more details at info@elpacorp.com

By- Narendra Sisodiya

11 May 2011

Please check, is it true ? -- "CRITICAL ISSUE/SECURITY FLAW with Google Apps"

I got this mail from some source.. may someone check it ??

----Steps to reproduce the issue------

1. Create an announcement group in the Google Apps (My university is using the education edition). 

Let the group name be testgroup and the group email id - test.group@sample.edu

2. Add some email ids to the group.

3. Add a email id as the owner of the group say email id - group.owner@sapmle.edu.

4. Use a "fake mailer service". In the "send from" field :- group.owner@sample.edu; "send-to" field:- test.group@sample.edu.

5. The mail will be sent to all the group members of testgroup.

6. The email will also appear in the Sent Items of the email id - group.owner@sample.edu


PS: I have not tested it with a "normal" PHP(or other) mail script, but with a fake mailer service available online.

This should be fixed at the earliest and just email based validation for the group owner (or others that have permissions to post/mail)

 for checking the permission should not be the ONLY (as others validation fail in this context) validation.

I would be happy to be contacted if some more information is required. And also to be notified when this is fixed.

/-----------------------------------------/



Mayank Gupta.


By- Narendra Sisodiya

09 May 2011

How to add Extra Swap in Linux

On Mon, May 9, 2011 at 10:22 AM, Amit Maheshwari <aamit.redhat@gmail.com> wrote:

Procedure to add a swap file

You need to use dd command to create swapfile. Next you need to use mkswap command to set up a Linux swap area on a device or in a file.

a) Login as the root user

b) Type following command to create 512MB swap file (1024 * 512MB = 524288 block size):
# dd if=/dev/zero of=/swapfile1 bs=1024 count=524288

c) Set up a Linux swap area:
# mkswap /swapfile1

d) Activate /swapfile1 swap space immediately:
# swapon /swapfile1

e) To activate /swapfile1 after Linux system reboot, add entry to /etc/fstab file. Open this file using text editor such as vi:
# vi /etc/fstab

Append following line:
/swapfile1 swap swap defaults 0 0

So next time Linux comes up after reboot, it enables the new swap file for you automatically.

g) How do I verify swap is activated or not?
Simply use free command:
$ free -m


Hope it help you

Cheers !!

--
Amit Maheshwari
Linux System Administrator
RHCE,MCSA,AFCEH,
New Delhi, INDIA
http://www.amitmaheshwari.in
http://technews.amitmaheshwari.in
http://blog.onedollardata.com

By- Narendra Sisodiya

08 May 2011

Two Book of RMS - must read #fsf #rms #freedom #linux

http://shop.fsf.org/product/book_bundle/

GNU Press is proud to offer a special holiday sale on Free as in Freedom(2.0) and Free Software Free Society: Selected Essays of Richard Stallman (2nd Edition). Get 10% off when you buy both books at the same time.

Download --  http://static.fsf.org/nosvn/faif-2.0.pdf

From the foreword of Free Software Free Society: Selected Essays of Richard Stallman (2nd Edition):

This book collects the writing of Richard Stallman in a manner that will make its subtlety and power clear. The essays span a wide range, from copyright to the history of the free software movement. They include many arguments not well known, and among these, an especially insightful account of the changed circumstances that render copyright in the digital world suspect. They will serve as a resource for those who seek to understand the thought of this most powerful man--powerful in his ideas, his passion, and his integrity, even if powerless in every other way. They will inspire other who would take these ideas, and build upon them.

-- Lawrence Lessig

Download -- http://www.gnu.org/doc/fsfs-ii-2.pdf

By- Narendra Sisodiya

05 May 2011

How to install Software package on a Linux System when it do not have Internet - debbundle

Problem - How to install Software package on a Linux System when it do not have Internet ?

I know there are multiple solution to this problem.. Here I am giving one very solution which looks perfect to solve the problem

you can down the script from http://code.google.com/p/debbundle/
What this little script will do..
For example, your system do not have vlc , then you can go to other system which has Internet and then run the script .
Script will produce VLC.i386.OneClickInstall ,

You can can carry this file to anywhere and then install it by just clicking it. Let me repeat, Just by clicking it, neither you terminal , nor you need any extra software to install it.
So enjoy it and give me feedback. ( narendra  AT narendrasisodiya DOT com )

Restrictions.

  • Those who want to create these OneClickInstall software package
    • The current process is only for deb based system. rpm lover can create similar thing very easily. Let me know
      • OneClickInstall package created from Ubuntu should be installed on Ubuntu itself. So you can see there have to many package for the same software - Ex -
        • vlc.ubuntu.i386.OneClickInstall
        • vlc.ubuntu.x86-64.OneClickInstall
        • vlc.debian.i386.OneClickInstall
        • vlc.debian.x86-64.OneClickInstall
      • In Nutshell, these OneClickInstall are just small repository of software. So for every Repo,there will be another package.
      • No OneClickInstall will be created if you already have the package.
      • Creation of these OneClickInstall Package will be done by central website. Script basically resolve dependency and download package and then create a single executable zip file. If you already have that package, then script will not download any package. So the person like me who want to create these oneclick packages , they are advice to use a freshly installed system. You can say it a Build system.
  • Those who want to INSTALL these OneClickInstall software package
    • No restriction
    • just click the .OneClickInstall file and then it click on "Run in Terminal" to install it

By- Narendra Sisodiya

01 May 2011

Comic for kids about FLOSS

---------- Forwarded message ----------
From: Franco Iacomella <yaco@gnu.org>
Date: Sat, Apr 30, 2011 at 12:23 AM
Subject: [osi-edu-discuss] Comic for kids about FLOSS
To: null <osi-edu-discuss@members.opensource.org>


Hi to all,
just wanna let you know that the Gleducar project published a comic about FLOSS (totally made using FS tools). It's available in spanish, french and english and many teachers are already using it in some way.

You can download it from this page: http://www.sembrandolibertad.org.ar/libros/libro-1/

Enjoy and spread!

Best,


--
Franco Iacomella

By- Narendra Sisodiya