dimanche, septembre 21, 2008

Imagining courses to "teach" OpenOffice.org source code

Education Project Logo

Imagine it becomes possible to organize courses, to teach OpenOffice.org Project and Source code to students. Crazy idea, but why not ?

Currently, we do provide applications, but maybe we'll need to improve the list.

How to evaluate and validate the formation ? Of course, it will be tricky to find all the mentors, but why not dream ? :)

Starting point: the student chooses a project himself (better be motivated )
Rule: no change by default. Once choosen, the student must go, and manage his project, validating milestones.

What could be those "milestones" ? Below, just a draft:

To validate : 0.1
discover the OpenOffice.org Project (needs to be better defined)
basics with mailing lists,
create login

Validation: Education Project membership validated,
must be able to connecty on EIS
must be able to find changes form a given cws

To validate :0.2
be easy downloading the sources
use cvs/svn and create/apply/reverse diffs
configure the build (one OS )

Validation:
Be able to checout
successfull configure
can start a build

To validate :0.3
first OpenOffice.org build (in autonomy)
build one module using symbols
run a installset, and start tracing the module

Validation:
with a prof, provide a commented trace,
answers questions
be able to describe a stack, extract values, set values

To validate :0.4
analyse the attached issue,
isolate the concerned code
propose a technical analyse of the issue as specification

Validation :
presentation during a project review ( as IRC meeting or better if possible)

To validate : 0.5
propose possible solutions as fixes
implement a proof of concept
improve specs
propose unit tests
create patches

To validate : 0.6
upload ssh2 key
create tunnel and validate

Validation : checkout sources, and issue closed

To validate : 0.7
request the Domain developer
validate the commit passport <- create a dedicated exam ?
commit the fixes

Validation :
commit passport validated
good quality commits
able to manage basics operations with cws using tunnel

To validate 0.8

improve the solution,
manage code cleanup

Validation:
cws content approved by follower and mentor
specs approved

To validate : 0.9
QA o the cws
follows the QA
cws management : targets, issues verified ..etc
proceed QA tests

To validate : 1.0

code integrated
specs finalization

Validation by the followers, and welcome boy !

Other parallel skills to be validated: autonomy, creativity, integration in the team

What a program !!


To be continued ...

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki

EducOO.org blog (french)

Many thanks to Ben Bois , author of the Education Project Logo

Libellés : , , ,

jeudi, septembre 18, 2008

Creator type

Not sure this is what we should have, but I finally get the "file creator " appear (using File Info application to verify it works as expected).

See the screenshot below:

creator type

APPL -> means an application to create the file

OOO3 -> means the file is of OpenOffice.org 3 type (yes, I know, I changed for 3 after discussing the point with Oliver Braun (aka obr ), who provided me precious advices, like the extremely usefull issue 60840 I was not able to find alone :-)

What was missing is a couple of parameters (who gave ???? when undefined ), the Finder needs, to be able to open OpenOffice.org files, even when the extensions are missing. Yet another Mac OS X feature :)

The fix is based on the patch P. Luby donated some times ago, and who was not integrated (I sincerily believed it was). But this patch is now obsolete, and I had to adapt, and add a second modification to make it work. After some thought, other members like extFinderInfo need some investigations.

After tracing a bit, I finally found the missing information: in the patch (see issue 55862 ), I had to create the second entry in the structure.

I hope someone will confirm the result is ok, and if I can find some time, I'll commit the change in some cws. Maybe we can expect other positive side effects since it works ?

Below, the trace, where all other parameters I've discovered during the debugging. the important is, in the aCatInfo structure, you have to set filetype and fileCreator, and things are ok :)

Update: it is important to explain nothing is so easy, and the estimated time of work to make that little feature work is approximatively 5 hours.

To be continued ...


The (partial) trace :

Breakpoint 1, oslSetFileTypeFromPsz (pszStr=0xbfffdf6c "/Users/ericb/Library/Application Support/OpenOffice.org/3/user/registry/cache/org.openoffice.Office.Paths.dat") at /Users/ericb/Desktop/DEV300_m31/sal/osl/unx/file.cxx:2266

2266 if ( FSPathMakeRef( (const UInt8 *)pszStr, &aFSRef, 0 ) == noErr && FSGetCatalogInfo( &aFSRef, kFSCatInfoFinderInfo, &aCatInfo, NULL, NULL, NULL) == noErr )


(gdb) p aCatInfo
$1 = {
nodeFlags = 57305,
volume = -16385,
parentDirID = 0,
nodeID = 0,
sharingFlags = 237 '?',
userPrivileges = 245 '?',
reserved1 = 0 '\0',
reserved2 = 0 '\0',
createDate = {
highSeconds = 34290,
lowSeconds = 2247236563,
fraction = 7123
},

[...cut...]


Important information is below :


permissions = {466847000, 2415923616, 158532224, 1024},
finderInfo = "h\031\024\022$??? ?????!",
extFinderInfo = "??????!\000???\033???\033",
dataLogicalSize = 9574975677652728,
dataPhysicalSize = 9479542736618108,
rsrcLogicalSize = 13835339100762201912,
rsrcPhysicalSize = 386186189282738764,
valence = 0,
textEncodingHint = 467473592
}
Current language: auto; currently c++

Libellés : , , ,

mardi, septembre 16, 2008

Call for donation for Education and Mac OS X porting projects

Education Project Logo

Several OpenOffice.org Projects have no or very limited resources. e.g. Mac OS X Aqua port and Education Project (still incubator project). But to continue the effort, like mentor students writing code for OpenOffice.org project, help developers attending conferences, or pay them expensive memberships for development (like Apple ADC, or iPhone SDK ), or even pay one skilled developer to write some new feature, they need a bit of money.


EducOO.org is a french association (non profit) who aims to help OpenOffice.org Education Project, or other OpenOffice.org Project like the Mac OS X port, but not only.

This association is there to receive legally money from donators, for a lot of reasons, like help the developers to write missing features, attend conferences, or buy machines and even more.

If you want to support both Mac OS X and Education Project, you can simply donate.

Thank you very much !

Further information : EducOOo page for donations


"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki

EducOO.org blog (french)

Many thanks to Ben Bois , author of the Education Project Logo

Libellés : , , , ,

vendredi, septembre 12, 2008

News from Education Project

Education Project Logo

Pierre Pasteau and Rakesh Pandit have seen their rights granted (thanks to Martin Holmichell, Louis Suarez Potts and Stefan Taxhet who have accepted the requests). This means Pierre and Rakesh can now create their own cws's, commit code using tunnel, and ask to a confirmed developer to validate their code. Like all other OpenOffice.org developers. If you join #education.openoffice.org channel (IRC server is irc.freenode.net), their IRC nicknames are (respectively) pierrep and chacha_chaudhry.

This means too, the Education Project now counts 2 new Domain developers !

Other tasks in progress :

This morning, I was invited to Valentin Janiaut presentation. The topic was about his task : Image Capture Implementation on Mac OS X. Was a very interesting presentation, and Valentin did big progress, and presented several possibilities.

Valentin is yet another student involved in Education Project Effort, and no doubt, he will soon propose code.

From my side, still playing with OpenGL, I tested FLipView, and I have some ideas for the future. If you don't understand what means FlipView, you can have a look at the video ( ugly, but we see what happens) I put there OpenGL FlipView .(tested ok using VLC under Linux and Mac OS X)

To be continued ..

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki

EducOO.org blog (french)

Many thanks to Ben Bois , author of the Education Project Logo

Libellés : , , , , ,

dimanche, septembre 07, 2008

Student and willing to contribute to OpenOffice.org ?

Education Project Logo


OpenOffice.org Education Project does propose you to discover the OpenOffice.org Project (developpement side), and understand how things work. We got a dedicated IRC channel ( #education.openoffice.org, on irc.freenode.net server), and you are welcome to ask for further information.

The idea is to drive you in the OpenOffice.org nebula, answering all of your questions, and accompany you at the begining. After that, if you are volunteer, we can propose you a little application helping to fix a bug or adding a feature, or even something not usefull, but for the Fun.

For example, have a look at :

- Education Project Effort (new proposal have been added recently, about Impress),
- The ClassRoom

Note: if nothing goes wrong, two other students should join the project for an application soon :)



"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki

EducOO.org blog (french)

Many thanks to Ben Bois , author of the Education Project Logo

jeudi, septembre 04, 2008

Present Education Project at Epitech (Paris )

Education Project Logo

I'm invited at Epitech Paris, the 24th September (starting 16h ).

I hope it will be a great occasion to present the OpenOffice.org Education Project, meet students for true and explain how things work in OpenOffice.org.

Agenda :

- present OpenOffice.org Project

- present Education Project , the Effort, the ClassRoom

- Present EducOOo (french link, only at the moment) , the association who aims to be our resource



Many thanks to Pierre Pasteau who organized the event.

Stay tuned ...
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Education Project on the wiki

EducOO.org blog (french)

Many thanks to Ben Bois , author of the Education Project Logo

Libellés : , , ,