École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of...

Post on 17-May-2015

1.250 views 4 download

Tags:

description

Talk of Olivier Girardot (École Centrale de Nantes, Alumni 2009) and Eric Bachard (lead of the OpenOffice.org Education Project) at the Libre Software Meeting 2009 (http://2009.rmll.info/)During academical year 2008-09, a group of students from Centrale Nantes worked on the integration of annotation features in the slideshow module of OpenOffice.org. Two of them (Olivier Girardot and Frédéric Gélot) have become official OOo developers and interact with the other members of OOo team (like Thorsten Behrens). This talk synthesizes their work and their collaboration with the OOo Education project, that Eric Bachard presents in more details. More information on https://pedagogie.ec-nantes.fr/tablet-pc/ and http://blog.educoo.org/dotclear/

Transcript of École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of...

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

École Centrale Nantes&

OpenOffice.orgEducation Project

featuring:

« The Eraser »« The Eraser »

2Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The project● OOo and the Education Project● Our project itself● How it works ?● The results of the project● The future for OOo● Conclusion

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

OOo and Educoo ...

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The OpenOffice.org Project, is ...A Community Project, Itself organized in (a lot of) projects

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Types of ProjectsThere are 3 project types in OpenOffice.org organization

● Accepted : code development (API, modules), Marketing, QA,...

● Incubator : new experimental projects: Education, Extensions

● Native lang : native lang communities

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Role of the « Incubators » projects

● Experiment● Validate a new need● Innovate and make the OpenOffice.org Project

progress

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Education Project is

an incubator andINTERNATIONALproject type

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The goals of the Education Project ?

This is a young project,Belonging to OpenOffice.orgwith the main goal tocreate a bridgebetween Educational World and OpenOffice.org

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

' Who ' is the Education Project ?

Approximatively 100 members,Students, developers (mostly)From all countriesAll participate to OpenOffice.org

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The 3 main objectives of the Education Project :

● Create a network of teachers using OpenOffice.org

● Provide a space for exchanging pedagogical contents, under free file formats

● Teach, provide young (core-)developers to write code for OpenOffice.org

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Back to the 3rd Objective : provide new developers

Idea :

Associate : theory (The teachers)The know how (professional developers)The actors (students, profs, and so on)Mentors (OpenOffice.org Project developers)The needs (features for OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Already started actions

● Online Courses « ClassRooms »● Projects with engineers schools students, and shools contributions

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ClassRooms

Online Courses ( IRC )

See:

http://wiki.services.openoffice.org/wiki/Education_Project/ClassRoom

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Education Project Effort

● Mentored projects with active participation of the schools

http://wiki.services.openoffice.org/wiki/Education_Project/Effort

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Schools who joined the project

Epitech/Epita (Paris, France)École Centrale Nantes (Nantes, FranceUTBM (Sévenans, France) Seneca College (Toronto Canada)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ExamplesMozilla 1.7.5 → Seamonkey 1.1.14 migration (Pierre Pasteau / Epitech Paris ) QA in progress, will be integrated

Developers who contributed : Frank Schönheit (Sun MicroSystems), Eric Bachard (unaffiliated)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ExamplesAude Quintana, Olivier Girardot (École Centrale Nantes): implementation of the eraser features, with Tablet PC and Impress. Code review in progress.

Developers who contributed : Thorsten Behrens (Novell)Managed by Morgan Magnin, for Ecole Centrale Nantes

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ExamplesFrédéric Gelot, Pierre-Jean Parot (École Centrale Nantes): annotations implementation with Tablet PC and Impress

Developers who contributed : Thorsten Behrens (Novell)

Managed by Morgan Magnin, for ECN

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Other example : Seneca College, TorontoProfessor : Fardad Soleimanloo(4 projects started, expected for Summer 09)

All other proposed subjects :

http://wiki.services.openoffice.org/wiki/Education_Project/Effort

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Scheduled Project: july to december 2009

Thomas Fontenay, Abdelkader Bellabes ( Epitech Paris ) : performance improvement of OOo4Kids on powerless machines (include backport to OpenOffice.org for the most interesting solutions), profiling, User Interface Improvement

Developers : Pierre Pasteau, Eric BachardManaged by Julien Ballet for Epitech Paris

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

(partial) Conclusions The creation of reliable relations with engineers schools from everywhere works well (promising !)

This project only needs help .. We miss - developpers - sponsors - … mainly money in fact (founding travel, hardware)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

back to the feature ...

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Tablet Pc and Centrale● The ECN was selected to take part into the

HP contest : Technology For Teaching● We chose to set up an OpenSource platform

(Linux/Ubuntu) on these computers and improve the way it worked

Improve how someone can annotate slides in OOo Impress during a slideshow

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

2 projects in one :● « The Eraser » :

– To erase these annotations.● « The Saving Machine » :

– To save them and restore them.

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Objectives and Specifications● Be able to completely erase screen

annotations;● Erase some parts manually at the following

sizes:– Little– Medium– Big

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

OpenOffice.org● C++ core;● 8.36 Go of data once everything compiled ;● 9,000,000 lines code ;● Has it's own system of :

– extensions : UNO (Universal Network Object) : to be able to contribute in Java/Python...

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

How things work

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Implementation and Concept

● First part : Persistence and Full Erasing

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Erasing Implementation● Erase, means :

– For one pixel, redraw it at its original color before the annotation;

– For a slide, redraw it entirely;● Problem :

– Erasing requires to have a copy of the original image before to proceed the modification;

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Where is the bitmap ?

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Implementation and Concept

● Second part : Partial deleting

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Notion of Clipping● Allows to define the part of the bitmap

to be redrawn, means :– Partial erasing ;– Optimisation ;– Eraser size management;

● Add parameters to the User Interface for modifying the eraser size.

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The bug with transformation

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Resolution

● With Thorsten Behrens's help, regarding the right coordinates transformation to perform

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Manage conflicts between projects

● The Saving Machine aims to assume annotation persistence ...

● … while The Eraser has the objective of erasing annotations;

Means : conflicts to solve

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Maintainability guaranteed● CWS creation (Child WorkSpace)● Strong collaboration, code review and

validation by Eric Bachard and Thorsten Behrens

● Follow-up of the OOo specification process

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Possible Optimisations

● Draw the polygons in a separate layer ;

● Improve the interaction between storage and erasing ;

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Conclusion● Collaboration with a big scaled FOSS

Project – Understanding of the existing code ;– Insertion in the community ;– Precise specifications writing ;– Real answer to a real demand;

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Conclusion

● Perspectives :– Upstream integration in a future

release– Possible improvements ;– Communication about the project ;

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Thanks !

Questions ?

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Auteurs : Olivier Girardot (ssaboum@gmail.com), Eric Bachard (eric.bachard@free.fr) www.educoo.org 2009

Document sous licence libre http://creativecommons.org/licenses/by-sa/3.0/deed.fr