Difference between revisions of "Summer of Code/2015/Image Viewer JS"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "<big><big>'''About You'''</big></big><br /> '''What is your name?'''<br/> My name is Vikram Ahuja and i am a Undergraduate student at IIIT hyderabad. <br/><br/> '''What is y...")
 
Line 1: Line 1:
 
<big><big>'''About You'''</big></big><br />
 
<big><big>'''About You'''</big></big><br />
  
'''What is your name?'''<br/>
+
'''<big>What is your name?</big>'''<br/>
 
My name is Vikram Ahuja and i am a Undergraduate student at IIIT hyderabad. <br/><br/>
 
My name is Vikram Ahuja and i am a Undergraduate student at IIIT hyderabad. <br/><br/>
  
'''What is your email address?''' <br/>
+
'''<big>What is your email address?</big>''' <br/>
 
My email address id vikramahuja8803@gmail.com. <br/><br/>
 
My email address id vikramahuja8803@gmail.com. <br/><br/>
  
'''What is your Sugar Labs wiki username?'''<br/>
+
'''<big>What is your Sugar Labs wiki username?</big>'''<br/>
 
Vikram Ahuja <br/><br/>
 
Vikram Ahuja <br/><br/>
  
'''What is your IRC nickname on irc.freenode.net?'''<br/>
+
'''<big>What is your IRC nickname on irc.freenode.net?</big>'''<br/>
 
vikramahuja1001 <br/><br/>
 
vikramahuja1001 <br/><br/>
  
'''What is your first language? (We have mentors who speak multiple languages and can match you with one of them if you'd prefer.)'''<br/>
+
'''<big>What is your first language? (We have mentors who speak multiple languages and can match you with one of them if you'd prefer.)</big>'''<br/>
 
My first language is Hindi, but i am comfortable in English as well.<br/><br/>
 
My first language is Hindi, but i am comfortable in English as well.<br/><br/>
  
'''Where are you located, and what hours (UTC) do you tend to work? (We also try to match mentors by general time zone if possible.)'''<br/>
+
'''<big>Where are you located, and what hours (UTC) do you tend to work? (We also try to match mentors by general time zone if possible.)</big>'''<br/>
 
I am located in Hyderabad, India(UTC + 5:30). I tend to work from 06:30 to 18:30(UTC)but it can be adjusted according to the needs of the project. <br/><br/>
 
I am located in Hyderabad, India(UTC + 5:30). I tend to work from 06:30 to 18:30(UTC)but it can be adjusted according to the needs of the project. <br/><br/>
 
 
'''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?''' <br/>
+
'''<big>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?</big>''' <br/>
 
I have been using FOSS like Linux, Firefox, VLC , Apache from many years, so I think I need to give something to a FOSS community. Since I have a good idea of various web - technologies and programming languages now i think I can contribute by code. I have been contributing to Sugarlabs from last 3 months regularly and this is my first open-source Project. <br/><br/>
 
I have been using FOSS like Linux, Firefox, VLC , Apache from many years, so I think I need to give something to a FOSS community. Since I have a good idea of various web - technologies and programming languages now i think I can contribute by code. I have been contributing to Sugarlabs from last 3 months regularly and this is my first open-source Project. <br/><br/>
 +
 +
 +
 +
'''<big>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, schoolwork, and that sort of thing, but be creative. Link to prior work or other resources as relevant.</big>''' <br/>
 +
I have done a number of projects in my college till now, some of them are :
 +
* I had made an Online File System and Terminal in web2py which had basic features  like copying, moving ,deleting,  playing audio and videos, reading text files from both the Terminal and the UI based Filesystem. Made using Web2py, python and JS.
 +
          https://github.com/vikramahuja1001/Online-Filesystem-Terminal
 +
* Made a Question-Answer portal like StackOverflow.
 +
          https://vikramahuja.pythonanywhere.com/QuestionAnswer/default/index <br/>
 +
It was made using web2py, python and JS.  <br/>
 +
* Made an Android Application for a Online Event Planner Company (yourevent.co) which allows users to make video invitations for their events. This project was a part of Course which took place for 12 weeks.
 +
          https://github.com/vikramahuja1001/Invitube <br/>
 +
* Made a 2D Carron game using OpenGL.
 +
  https://github.com/vikramahuja1001/CarromOpenGL <br/>
 +
* Created an 9X9 intelligent Tic Tac Toe game using python
 +
* Created a Pacman game using python
 +
* Created a Photo Sharing portal using Ruby on Rails.
 +
All the above mentioned projects had strict deadlines and were completed on time. In most of these projects I had to learn the technologies first and then implement them. Also I have no commitment other than this project this summer. <br/>
 +
In order to learn how sugar-web works and how CamanJS works, I created basic Image Viewer and a very basic Plugin system.
 +
            https://github.com/vikramahuja1001/ImageJS/ <br/>
 +
            https://rawgit.com/vikramahuja1001/ImageJS/master/index.html <br/>
 +
            ImageJS 1 (basic): https://www.youtube.com/watch?v=uWTsEVzVp0A <br/>
 +
            ImageJS 2 with CamanJS and plugin: https://www.youtube.com/watch?v=EQOT7g6jnKs <br/>
 +
 +
 +
'''<big><big>You and the community</big></big>''' <br/>
 +
'''<big>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.</big>''' <br/>
 +
 +
'''My Views''' : I think learning has to be experimental. A student should be able to experiment thing that he is learning about. This will not only tell about how things work but also gives an idea of when things do not work. Thus it gives more experience to the user. The project is about Image Processing but it also focuses on other aspects(basics) like color. It will give an experimental platform to kids to learn. <br/>
 +
 +
'''Walterbender (mentor)''' :  It is all about learning, how can we make each experience with the machine an opportunity for learning. In this case we are exposing the user to the how, not just the what of image processing. <br/>
 +
 +
'''Gonzalo Odiard (godiard@sugarlabs.org)''' : The impact on SugarLabs community would be that we will have better tools to understand how the images are processed by the computer, and increase the possibilities of expression of kids. <br/><br/>
 +
 +
'''<big>What will you do if you get stuck on your project and your mentor isn't around?</big>''' <br/>
 +
If I get stuck around somewhere I will try and find the solution on Internet. If unable to do so I will ask on the irc channel of sugarlabs, there are many experienced developers in that channel and will also post the problem on the sugarlabs developer mailing list and on Stack Overflow. <br/>
 +
 +
'''<big>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?</big>'''<br/>
 +
I will be maintaining a blog regarding my work and will be updating it every week. Other than that i will also make a report of each week and will mail to my mentor as well as the sugar labs community so that they are informed about my progress over the course of project. <br/><br/>
 +
 +
'''<big><big>Miscellaneous</big></big>''' <br/>
 +
<big>'''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 "logout".'''</big> <br/>
 +
 +
'''<big>Send us a link to a pull request or merge request you have made on a Sugar or Sugar activity bug.</big>'''<br/>
 +
I have been regularly contributing to sugar labs activities from last 3 months. I have reported and solved many bugs <br/>
 +
1. Fixed log10 function ( #4809 )
 +
    Fix log10 function using base 10 algorithm - Fixes #4809
 +
    PR - https://github.com/godiard/sugarlabs-calculate/pull/3
 +
2. Removed the redundancy of Factorial Function (#3531)
 +
    Fac() function removed - Fixes #3531
 +
    PR - https://github.com/godiard/sugarlabs-calculate/pull/6
 +
3. The output the input equation is not displayed correctly, for negative power (#4810)
 +
    Displaying output correctly for a negative power - Fixes #4810
 +
    PR - https://github.com/godiard/sugarlabs-calculate/pull/11
 +
4. Fixed an infinite loop in Calculate Activity
 +
    Input of form a+x**y making the activity unreactive
 +
    PR -  https://github.com/godiard/sugarlabs-calculate/pull/19
 +
5. Do not show decimal zeros if the result is an integer
 +
    PR - https://github.com/godiard/sugarlabs-calculate/pull/24
 +
6. Problem of significant digits in Calculate (#4814)
 +
    Fixed Significant digits with both exponential and scientific calculators. Fixes #4814
 +
    PR - https://github.com/godiard/sugarlabs-calculate/pull/28
 +
7. Adding Calculate functions in source/calculate.rst in help activity
 +
    Added Calculate functions in source/calculate.rst
 +
    PR - https://github.com/godiard/help-activity/pull/11
 +
8. Tab numbers enhancement in Pippy
 +
    Make Ctrl-(1-9) changes current tab to that number
 +
    PR - https://github.com/walterbender/Pippy/pull/8
 +
9. Pippy tabs defect
 +
    Executing the Ctrl-w code if number of tabs is greater than 1
 +
    PR - https://github.com/walterbender/Pippy/pull/14
 +
10. Pippy tabs name defect
 +
      Solved the problem of naming tabs when adding/deleting tabs
 +
      PR - https://github.com/walterbender/Pippy/pull/16
 +
11. Pippy Pep8 fixes.
 +
      PR - https://github.com/walterbender/Pippy/pull/18
 +
12. Tab numbers enhancement in Browse Activity
 +
      Make Ctrl-(1-9) changes current tab to that number
 +
      PR - https://github.com/sugarlabs/browse-activity/pull/3
 +
13. Tab numbers enhancement in Terminal Activity
 +
      Make Ctrl-(1-9) changes current tab to that number
 +
      PR - https://github.com/godiard/terminal-activity/pull/11

Revision as of 17:29, 25 March 2015

About You

What is your name?
My name is Vikram Ahuja and i am a Undergraduate student at IIIT hyderabad.

What is your email address?
My email address id vikramahuja8803@gmail.com.

What is your Sugar Labs wiki username?
Vikram Ahuja

What is your IRC nickname on irc.freenode.net?
vikramahuja1001

What is your first language? (We have mentors who speak multiple languages and can match you with one of them if you'd prefer.)
My first language is Hindi, but i am comfortable in English as well.

Where are you located, and what hours (UTC) do you tend to work? (We also try to match mentors by general time zone if possible.)
I am located in Hyderabad, India(UTC + 5:30). I tend to work from 06:30 to 18:30(UTC)but it can be adjusted according to the needs of the project.

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?
I have been using FOSS like Linux, Firefox, VLC , Apache from many years, so I think I need to give something to a FOSS community. Since I have a good idea of various web - technologies and programming languages now i think I can contribute by code. I have been contributing to Sugarlabs from last 3 months regularly and this is my first open-source Project.


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, schoolwork, and that sort of thing, but be creative. Link to prior work or other resources as relevant.
I have done a number of projects in my college till now, some of them are :

  • I had made an Online File System and Terminal in web2py which had basic features like copying, moving ,deleting, playing audio and videos, reading text files from both the Terminal and the UI based Filesystem. Made using Web2py, python and JS.
          https://github.com/vikramahuja1001/Online-Filesystem-Terminal
  • Made a Question-Answer portal like StackOverflow.
          https://vikramahuja.pythonanywhere.com/QuestionAnswer/default/index 

It was made using web2py, python and JS.

  • Made an Android Application for a Online Event Planner Company (yourevent.co) which allows users to make video invitations for their events. This project was a part of Course which took place for 12 weeks.
          https://github.com/vikramahuja1001/Invitube 
  • Made a 2D Carron game using OpenGL.

https://github.com/vikramahuja1001/CarromOpenGL

  • Created an 9X9 intelligent Tic Tac Toe game using python
  • Created a Pacman game using python
  • Created a Photo Sharing portal using Ruby on Rails.

All the above mentioned projects had strict deadlines and were completed on time. In most of these projects I had to learn the technologies first and then implement them. Also I have no commitment other than this project this summer.
In order to learn how sugar-web works and how CamanJS works, I created basic Image Viewer and a very basic Plugin system.

           https://github.com/vikramahuja1001/ImageJS/ 
https://rawgit.com/vikramahuja1001/ImageJS/master/index.html
ImageJS 1 (basic): https://www.youtube.com/watch?v=uWTsEVzVp0A
ImageJS 2 with CamanJS and plugin: https://www.youtube.com/watch?v=EQOT7g6jnKs

You and the community
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.

My Views : I think learning has to be experimental. A student should be able to experiment thing that he is learning about. This will not only tell about how things work but also gives an idea of when things do not work. Thus it gives more experience to the user. The project is about Image Processing but it also focuses on other aspects(basics) like color. It will give an experimental platform to kids to learn.

Walterbender (mentor) : It is all about learning, how can we make each experience with the machine an opportunity for learning. In this case we are exposing the user to the how, not just the what of image processing.

Gonzalo Odiard (godiard@sugarlabs.org) : The impact on SugarLabs community would be that we will have better tools to understand how the images are processed by the computer, and increase the possibilities of expression of kids.

What will you do if you get stuck on your project and your mentor isn't around?
If I get stuck around somewhere I will try and find the solution on Internet. If unable to do so I will ask on the irc channel of sugarlabs, there are many experienced developers in that channel and will also post the problem on the sugarlabs developer mailing list and on Stack Overflow.

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?
I will be maintaining a blog regarding my work and will be updating it every week. Other than that i will also make a report of each week and will mail to my mentor as well as the sugar labs community so that they are informed about my progress over the course of project.

Miscellaneous
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 "logout".

Send us a link to a pull request or merge request you have made on a Sugar or Sugar activity bug.
I have been regularly contributing to sugar labs activities from last 3 months. I have reported and solved many bugs
1. Fixed log10 function ( #4809 )

   Fix log10 function using base 10 algorithm - Fixes #4809
   PR - https://github.com/godiard/sugarlabs-calculate/pull/3

2. Removed the redundancy of Factorial Function (#3531)

   Fac() function removed - Fixes #3531
   PR - https://github.com/godiard/sugarlabs-calculate/pull/6

3. The output the input equation is not displayed correctly, for negative power (#4810)

   Displaying output correctly for a negative power - Fixes #4810
   PR - https://github.com/godiard/sugarlabs-calculate/pull/11

4. Fixed an infinite loop in Calculate Activity

   Input of form a+x**y making the activity unreactive
   PR -  https://github.com/godiard/sugarlabs-calculate/pull/19

5. Do not show decimal zeros if the result is an integer

   PR - https://github.com/godiard/sugarlabs-calculate/pull/24

6. Problem of significant digits in Calculate (#4814)

   Fixed Significant digits with both exponential and scientific calculators. Fixes #4814
   PR - https://github.com/godiard/sugarlabs-calculate/pull/28

7. Adding Calculate functions in source/calculate.rst in help activity

   Added Calculate functions in source/calculate.rst
   PR - https://github.com/godiard/help-activity/pull/11

8. Tab numbers enhancement in Pippy

   Make Ctrl-(1-9) changes current tab to that number
   PR - https://github.com/walterbender/Pippy/pull/8

9. Pippy tabs defect

    Executing the Ctrl-w code if number of tabs is greater than 1
   PR - https://github.com/walterbender/Pippy/pull/14

10. Pippy tabs name defect

     Solved the problem of naming tabs when adding/deleting tabs
     PR - https://github.com/walterbender/Pippy/pull/16 

11. Pippy Pep8 fixes.

     PR - https://github.com/walterbender/Pippy/pull/18

12. Tab numbers enhancement in Browse Activity

     Make Ctrl-(1-9) changes current tab to that number
     PR - https://github.com/sugarlabs/browse-activity/pull/3

13. Tab numbers enhancement in Terminal Activity

     Make Ctrl-(1-9) changes current tab to that number
     PR - https://github.com/godiard/terminal-activity/pull/11