Archive for April, 2005
[GramOOo] petite réctification
A mon grand regret, j’ai appris que malgré que était considéré comme
correct par l’accadémie française.
J’ai donc retiré cette règle de mon correcteur, qui dorénavant ne marquera
plus malgré que comme faux.
(Post originally written by Myriam Lechelt on the old Nuxeo blogs.)
The sickness of Zope
Zope is great, but there are some things that
are seriously annoying. Much of it comes from things showing their age.
There is lots of code that does things in particular and complicated ways
because of the need to behave the way things have always behaved, even if
that no longer makes much sense. Also, CMF has a couple of basic design
flaws, the biggest of them being portal_skins. So in this way, Zope3 will be
very welcome, as it rewrites things from the start, and does thing The Right
Way (tm).
But there is one thing that is not going to automatically be solved with
Zope 3: Peoples tendency in the Zope community to first of all do things
their own way, and secondly, not move these "own ways" into the common code
base, even if they could be of use to others.
I was hit by one … Read more
I’m so happy I’m using Python
http://www.ozonehouse.com/mark/blog/code/PeriodicTable.html
(Post originally written by Lennart Regebro on the old Nuxeo blogs.)
[GramOOo] tests de règles grammaticales et construction des règles
Je suis en train de tester quelques règles grammaticales sur les deux
moteurs, Gramadoir et Languagetool, pour voir celui qui serait le mieux
adaptable au français.
Nous l’avons dit, nous aurons besoin de travailler sur deux niveaux, que
nous avons appelés “intrachunk” et “interchunk”. Le premier concerne les
règles qui définissent des erreurs au sein d’un chunk, à savoir des accords
de type nom-adjectifs. Le deuxième niveau va permettre de corriger des
fautes d’accords sujet-verbes par exemple.
Nous commencerons par les règles intrachunks.
Un exemple avec Gramadoir:
<D f s>ANYTHING</D> <J f p>ANYTHING</J> <N f
s>ANYTHING</N>:ERREURACCORD
Un déterminant fémin singulier, suivit d’un adjectif féminin pluriel,
suivit d’un nom féminin singulier est une faute, car il n’y a pas
unification du trait nombre.
<D m s>ANYTHING</D> <J f p>ANYTHING</J> <N f
s>ANYTHING</N>:ERREURACCORD
<D f s>ANYTHING</D> <J f s>ANYTHING</J>
<N m s>ANYTHING</N>:ERREURACCORD
<D f p>ANYTHING</D> <J f p>ANYTHING</J>
<N f s>ANYTHING</N>:ERREURACCORD
Notre … Read more
Python Statement Considered Harmful
Martijn Faassen posted two entries on alternative template languages for
Zope 3:
http://faassen.n–tree.net/blog/view/weblog/2005/04/15/0
http://faassen.n–tree.net/blog/view/weblog/2005/04/16/0
The idea behind this is simple: Templates should be data-driven! That is,
they should contain no calls, no logic (other than for display) and no other
monkey-business at all. It might be easiest to explain why this is a good
idea by explaining the problems with NOT doing it.
In the beginning there was DTML
DTML was the first template language for Zope. Although a huge improvement
on how PHP and ASP templates work, DTMLs syntax, gets ugly pretty quickly.
Also, people tended to write complete aplications in DTML. That's OK; it was
designed to do that, Python Scripts didn't exist in the first versions of
Zope. DTML was the replacement of PHPand ASP. But this quickly tirned ugly
and complicated (as it does in ASP and PHP too). Something better was
desired.
Let there be … Read more
Workshop: Making music with the internet
The 4th of May I'll be there talking about making music on the internet;
communities, collaboration and distribution, an area where things are moving
and changing very rapidly. This talk is a part of a larger event for DJs.
The event is held at The Blue Tree in Gaborone, Botswana.
(Post originally written by Lennart Regebro on the old Nuxeo blogs.)
[OOo]DicOOo & Thesaurus V2
I worked on extending DicOOo to handle the new thesaurus format. I wanted
DicOOo to propose the right files depending on the OOo version it was
running on.
DicOOo handles all plateforms and all OOo versions and i want to keep this
feature (at least for 1.1.x branch) as not everybody will switch at the same
time to the great OOo 2.0 …
The key point is that a wrong thesaurus file format will lead to errors and
sometimes crashes in old Ooo versions.
So i designed, aggreed with lingucomponent project,
a new list of thesaurus dedicated to v2. It already contains german,
polish and french thesaurus. English one, which is shipped with OOo, will
also be added but once it has been correctly
renamed …
DicOOo now detects the OOo version and use the right list according to the
version. Off-Line packs engine have also been updated to … Read more
[OOo] IRC conferences on #ooonlc
The Native-Lang Confederation is the association of all the native-lang
projects in OpenOffice.org (French, German, Dutch, Japanese …)
Daniel Carrera set up some times ago the IRC conference on the #ooonlc
channel. At a given time, widely announced on OOo lists, everybody meet on
#ooonlc and a “writer” speaks about a topic of its interrest. Slides are
available before the start so everybody can follow the presentation. This is
followed by Questions & Answers and discussions.
This IRC conference occurs every two weeks, during a week-end, at a time
that suits the most of the attendees all around the world.
This week end, saturday at 17:00 (Paris time), Simon Brouwer, the
leader of Dutch project, will speak about european software patent as he is
very active against them. Everybody is welcomed
Official announcement
Conference
homepage
Time
IRC
guidelines
The next conference, in two weeks, will be from myself dealing with … Read more
[GramOOo] nécessité d’un segment intermédiaire entre les mots et la phrase
En examinant quelques fautes de français, et en se demandant comment il est
possible de les corriger, on se rend vite compte de la difficulté à laquelle
on est confronté.
Nous avons désambiguïsé les mots par rapport au contexte immédiat, gauche
ou droit. On voit bien qu’on pourra faire la même chose pour corriger un
accord entre un nom et un adjectif par exemple.
Si un adjectif masculin singulier est suivit d’un nom féminin singulier, il
y a faute, car il n’y a pas concordance, unification des traits.
Mais prenons la phrase suivante:
* La grève des lycéens
continuent.
( l’astérisque signifie que la phrase est agramaticale)
Comment le programme va-t-il détecter que le verbe continuer
doit s’accorder avec le nom grève et non pas lycéens si
on se base uniquement sur le contexte immédiat?
Nous avons besoin d’un segment intermédiaire entre les mots et la phrase.
On … Read more
[OOo] a patch for 1.1.4
A security
patch has been announced on OOo release list by Martin Hollmichel
it covers a
heap overflow on opening DOC files. This hole could then be exploited by
a malicious document. Everybody using OOo 1.1.4 should update.
The patch is actually spreading over mirrors and should be available
soon
It is located on the mirror at /contrib/rc/1.1.4secpatch/
(a french mirror : ftp://openoffice.cict.fr/openoffice/)
To install it (on linux – read announce for other OS)
- go to <ooo>/progam
- replace the file libsot645li.so by the new one (you may have to change
permissions).it is advised to previously backup this file
This patch is only given for the official 1.1.4 version. For other versions
(distrib specific and/or oldest versions) a new milestone 645_m53 containing
the patch sources is available on CVS
It is good that such flows are adressed and patches given but OOo team will
have to think to end-users that … Read more