
Recherche avancée
Autres articles (40)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)
Sur d’autres sites (4878)
-
Anomalie #3197 (Nouveau) : Proposer les résultats similaires au terme recherché dans les rrésultat...
3 avril 2014, par Valéry -Je vois que dans WordPress on peut activer les résultats de recherche selon la distance de Levenshtein qui mesure de la similarité entre deux chaînes de caractères. http://fr.wikipedia.org/wiki/Distance_de_Levenshtein Cf. aussi http://www.php.net/manual/fr/function.levenshtein.php
C’est ce qui permet d eproposer des réusltats même quand on s’est trompé dans la saisie du terme recherché.
Or dans SPIP 3.0 j’ibserve que si j’oublie une lettre je n’ai pas de résultat (« epagne » ne donne pas de résultat alors que « Espagne » en donne : on devrait pouvoir trouver des résultats Espagne ou épargne par ex.)
-
Evolution #4184 (Nouveau) : Ajuster le défilement de $.positionner(), notamment dans le cas d’un h...
29 septembre 2018, par placido .Le repositionnement des fomulaires ajax est inadéquate si la partie publique dispose d’un header en position fixed. (le haut du bloc est masqué)
Une solution souple serait de prendre en compte la valeur d’une variable (Jquery.spip.positionner_delta ?!) dans le calcul de la distance de scroll.
Sa valeur par défaut reste à 0, donc ne change pas l’existant, mais ouvre la porte à des ajustements avec une simple affectation en javascript :
Jquery.spip.positionner_delta = 60;
-
avformat/matroskaenc : Avoid unnecessary seek
2 mai 2020, par Andreas Rheinhardtavformat/matroskaenc : Avoid unnecessary seek
The Matroska muxer has a pair of functions designed to write master
elements whose exact length is not known in advance : start_ebml_master()
and end_ebml_master(). The first one of these would write the EBML ID of
the master element that is about to be started, reserve some bytes for
the length field and record the current position as well as how many
bytes were used for the length field. When writing the master's contents
is finished, end_ebml_master() gets the current position (at the end of
the master element), seeks to the length field using the recorded
position, writes the length field and seeks back to the end of the
master element so that one can continue writing other elements.But if one wants to modify the content of the master element itself,
then the seek back is superfluous. This is the scenario that presents
itself when writing the trailer : One wants to update several elements
contained in the Segment master element (this is the main/root master
element of a Matroska file) that were already written when writing the
header. The current approach is to seek to the beginning of the file
to update the elements, then seek to the end, call end_ebml_master()
which immediately seeks to the beginning to write the length and seeks
back. The seek to the end (which has only been performed because
end_ebml_master() uses the initial position to determine the length
of the master element) and the seek back are of course superfluous.This commit avoids these seeks by no longer using start/end_ebml_master()
to write the segment's length field. Instead, it is now written
manually. The new approach is : Seek to the beginning to write the length
field, then update the elements (in the order they appear in the file)
and seek back to the end.This reduces the ordinary amount of seeks of the Matroska muxer to two
(ordinary excludes scenarios where one has big Chapters or Attachments
or where one writes the Cues at the front).Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>