File Sharing Utility

Revision as of 18:09, 27 March 2009 by Kashes911 (talk | contribs)

About you

Q.1 : What is your name?

Ans : Kartik Rustagi


Q.2 : What is your email address?

Ans : kashes911 [AT] gmail [DOT] com


Q.3 : What is your Sugar Labs wiki username?

Ans : kashes911


Q.4 : What is your IRC nickname?

Ans : kartik_rustagi


Q.5 : What is your primary language? (We have mentors who speak multiple languages and can match you with one of them if you'd prefer.)

Ans : English and Hindi


Q.6 : Where are you located, and what hours do you tend to work? (We also try to match mentors by general time zone if possible.)

Ans : Located in New Delhi, India, UTC +530. Since most of the period of Gsoc comes at a time of summer vacation for me, therefore I am comfortable working at any time of the day.


Q.7 : Have you participated in an open-source project before? If so, please send us URLs to your profile pages for those projects, or some other demonstration of the work that you have done in open-source. If not, why do you want to work on an open-source project this summer?

Ans : I have done the following relevant work:

->Implemented 7-zip compressed commics support in Evince Document Viewer, Gnome Bug: #532312

 * Link: http://ftp.gnome.org/pub/GNOME/desktop/2.23/2.23.5/NEWS

-> Was involved in the designing of a Joint Architecture for Unmanned Systems (JAUS) compliant Software Development Kit as a part of a startup I am co-founder off. Things I worked on (all in c/c++):

 * Unix System calls
 * Unix,UDP and TCP sockets
 * Threads, semaphores and mutex.
 * Design of the architecture which involved making UMLs
 * Object oriented designing 

I cant provide the link to the source code since the work if proprietary.

->Designed and implemented an Asynchronous Information Dissemination System using Delay Tolerant Networks. Was selected in the top 12 teams from Asia Pacific by Google as a part of Google Product Prodigy. The finals will take place in April.

 * Link: http://www.google.co.in/intl/en/productprodigy/finalists.html  
 * Team: Mobile Health
 * Here specifically a lot of PyGtk was used along with XML DOM, imaplib, smtplib etc.

TODO: Ask Google if the source code can be made public.

->Implemented a peer-to-peer file search and transfer utility in python. It had the following main features:

   #Remote discovery of active peers
   #File search queries using Multicast and File transfer
   #Object matching using regular expressions
   #Link: http://code.google.com/p/p2p-lan/downloads/list

->Made a distributed game based on Flash and Python and used Asynchronous servers, Mysql db, DOM in its design and implementation.

 #Link: http://code.google.com/p/etheravtar/downloads/list

About your project

Q.1 : What is the name of your project?

Ans : File Sharing Utility




Q.2 : Describe your project in 10-20 sentences. What are you making? Who are you making it for, and why do they need it? What technologies (programming languages, etc.) will you be using?

a) : What are you making

Ans : There is a lack of file sharing ability in the Sugar Learning Platform right now. Sugar relies on Telepathy for most of its network requirement. Telepathy in turn uses XMPP Extensions as the bases of their various interfaces. The XMPP Extensions for File Repository and Sharing is XEP:0214 . There is no Telepathy interface for this XEP currently and therefore File Sharing is not their right now. Also the File Transfer API is only to send files at the most, not request them. Therefore there will be a need to design a Telepathy interface to announce files, retrieves files from contact and request a file.

Steps for the complete implementation :

1) To design a Telepathy interface to announce files, retrieves files from contact and request a file.

2) Understand XEP-0214 and Telepathy enough to write a Telepathy Interface Specification for the functionality of XEP-0214.

3) Implementing that interface in Gabble.

4) XEP-0214 only gets you us as far finding out what files a person has. Step 4 is writing python code to actually retrieve those files, using Telepathy's existing FileTransfer API.

5) Modify the Sugar interface (probably Journal and Neighborhood view) to expose this functionality to the user, i.e to give an option to share a file or not.


b) : Who are you making it for

Ans : This will be of immense use for any one associated with sugar be it students, teachers and even developers since allowing such kind of functionalities will truly enhance Sugar's ability and bring to it a feature which is considered a basic utility in any platform.


c) : Why do they need it

Ans : A typical use of this application is the transfer of assignments and similar work among students. Their can be many uses of this functionality for other activities as sharing has been a primary goal for the Sugar Platform. In order to connect the sugar community File Sharing according to me is some thing of prime importance.


d) : What technologies (programming languages, etc.) will you be using?

Ans : Most of the programming will be done in C followed by some part in python too. A major portion of this project will be to understand Telepathy's existing interfaces therefore Telepathy will be a major technology involved. The GUI will be done using PyGTK. Other technologies involved include D-BUS as the underlying IPC mechanism, GObject etc.


Q.3 : What is the timeline for development of your project? The Summer of Code work period is 7 weeks long, May 23 - August 10; tell us what you will be working on each week. (As the summer goes on, you and your mentor will adjust your schedule, but it's good to have a plan at the beginning so you have an idea of where you're headed.) Note that you should probably plan to have something "working and 90% done" by the midterm evaluation (July 6-13); the last steps always take longer than you think, and we will consider cancelling projects which are not mostly working by then.

Ans : Since overall quite a lot of work is involved including learning many new things, therefore I specially aim to use the preios between filing my application and the actual begining of GSoc to maximum use. I aim to make my self done with Telepathy's existing source code in this period along with having a first draft of the TP interface to to announce files, retrieves files from contact and request a file in this period only.

TODO: Detail of the timeline in the official Gsoc period to be finalised after more discussion with developers.


Q.4 : Convince us, in 5-15 sentences, that you will be able to successfully complete your project in the timeline you have described. This is usually where people describe their past experiences, credentials, prior projects, school work, and that sort of thing, but be creative. Link to prior work or other resources as relevant.

Ans : The biggest asset with this proposal is that this proposal has been a result of intense discussion with developers associated with the parent projects i.e Telepathy and Sugar. Very crucial issues like the viability of the implementation and the actual use of such a project for the Sugar community were taken into account before I actually sat down to write this proposal. Therefore I am very clear about the major tasks that I need to complete. Also I being in constant touch with developers had provided me with a basic approach to actually implement these tasks. Regarding the issue of my personal skills to complete this task, I have been involved in a startup which helped me realise how the principles of Software Engineering are actually brought into action in the real world. Other then this most of the work I am doing in this startup is infact in C, the major language I will be using. Regarding the Python I have done many small/mid-sized projects which make use of each of the libraries I will be needing to conceptualise this proposal. I have also done few projects which were specifically addressing the File sharing (and transfer). This again brings clarity of the process involved. Other then this my wish to contribute to the Open Source community in any way possible (Gsoc or no Gsoc) will be the biggest inspiration that will make me complete this project.



You and the community

Q.1 : If your project is successfully completed, what will its impact be on the Sugar Labs community? Give 3 answers, each 1-3 paragraphs in length. The first one should be yours. The other two should be answers from members of the Sugar Labs community, at least one of whom should be a Sugar Labs GSoC mentor. Provide email contact information for non-GSoC mentors.

Ans :

From myself :

With the completion of this project a very essential feature will be made available to the Sugar Platform. Having the freedom of sharing with anyone any time is essential for such a platform and this project essentially achieves that. Other than this it opens the door for other developers to make creative use of this utility for their own activities. Also it will be a way for Sugar to payback to the Telepathy Community which it makes use of for so many of its needs :)

From Benjamin M. Schwartz :

"So what I mean is, this feature, file sharing, has been part of the Sugar design since before Sugar existed." This was said in reference to the discussion : http://lists.sugarlabs.org/archive/sugar-devel/2007-August/003323.html


Q.2 : Sugar Labs will be working to set up a small (5-30 unit) Sugar pilot near each student project that is accepted to GSoC so that you can immediately see how your work affects children in a deployment. We will make arrangements to either supply or find all the equipment needed. Do you have any ideas on where you would like your deployment to be, who you would like to be involved, and how we can help you and the community in your area begin it?

Ans : I would like the deployment to be at a near by Government school for the poor since they are the students that are usually isolated from the strength of electronic education and hence have the maximum curiosity to learn.


Q.3 : What will you do if you get stuck on your project and your mentor isn't around?

Ans : I will do the following things in the same order:

  1. Search about it Google
  2. Ask people on the mailing list and IRC for the solution
  3. Will go through the various discussion forums

Q.4 : How do you propose you will be keeping the community informed of your progress and any problems or questions you might have over the course of the project?

Ans : I will do the following things :

  1. Updating the project wiki
  2. Sending regular updates on the mailing list
  3. Ping IRC and asking users/developers for review

Miscellaneous

 
An example of the kind of screenshot of your first modification to your development environment which you should include in your application. Note that the drop-down menu text has Mel's email address in place of the word "Restart" - your screenshot should contain your email instead.
  1. We want to make sure that you can set up a development environment before the summer starts. Please send us a link to a screenshot of your Sugar development environment with the following modification: when you hover over the XO-person icon in the middle of Home view, the drop-down text should have your email in place of "Restart." See the image on the right for an example. It's normal to need assistance with this, so please visit our IRC channel, #sugar on irc.freenode.net, and ask for help.

Ans : [Here is the prerequisite]

Q.6 : What is your t-shirt size? (Yes, we know Google asks for this already; humor us.)

Ans : Large

  1. Describe a great learning experience you had as a child.
  2. Is there anything else we should have asked you or anything else that we should know that might make us like you or your project more?