Hackathon Perl / Open Food Facts in Paris 2025

2025-05-24T08:00:00Z2025-05-25T16:00:00Z

Open Food Facts, 3 avenue victoria, 75004 Paris

English below

French

Suite à l’édition fructueuse de 2024, en association avec les mongueurs, nous proposons d’organiser un Hackathon (marathon de programmation) autour de l’utilisation de Perl dans le projet Open Food Facts. Perl est utilisé pour le serveur web qui est le cœur du projet.

Il se déroulera dans les locaux d’Open Food Facts, 3 avenue Victoria, 75004 Paris, le samedi 24 et dimanche 25 mai 2025 (de 10h à 18h environ).
Une participation à distance est possible.

Pour participer, il faut amener son ordinateur (minimum 8G de RAM).

Les sujets proposés pour cette édition:

  • Utiliser de l’orienté objet (Moose) dans ProductOpener pour remplacer les hashmap par des objets dans le code (mieux documenter): commencer à le faire morceau par morceau sur product_ref (la grosse hashmap qui représente un produit).
  • Améliorer le support des outils Perl dans l’environnement de dev: coverage, debugger, support vscode, etc.
  • Utiliser JSON + Postgres pour les remplacer les fichiers STO contenant les versions produits et tester les performances
  • Tester l’utilisation d’une base de donnée mémoire pour les taxonomies au lieu de hashmaps (diminution de l’empreinte mémoire)
  • Analyser des problèmes de performances (analyse d’un produit)
  • Mieux utiliser log4Perl
  • Réusiner (refactor) l’import des produits ou l’analyse des ingrédients
  • Autres propositions pragmatiques bienvenues !

Pour se préparer (environ 30 min):

Programme:

  • Samedi:
    • 10h accueil
    • 10h30 présentation des projets - questions - répartition des participants
    • 12h30 repas
    • 18h fin du code
    • 18h apéritif
  • Dimanche
    • 10h accueil
    • 12h30 repas
    • 18h fin

Vous êtes libre de ne participer qu’à une partie de programme.

Inscription obligatoire: alex - at - openfoodfacts.org

English

Following the successful 2024 edition, teaming up with the french mongers, we propose to organize a Hackathon (programming marathon) around the use of Perl in the Open Food Facts project. Perl is used for the web server which is the heart of the project.

It will take place at Open Food Facts’ office, 3 avenue Victoria, 75004 Paris, on Saturday May 24 and Sunday May 25 (from approximately 10 a.m. to 6 p.m.).
Remote participation is possible.

To participate in person, you must bring your computer (minimum 8G of RAM).

The proposed topics:

  • Use of object oriented (MOOSE) in Productopener to replace the hashmaps with objects in the code (better document): start making it piecemeal on product_ref (the big hashmap which represents a product).
  • Improve the support of PERL tools in the DEV environment: Coverage, Debugger, VSCODE support, etc.
  • Use JSON + POSTGRES to replace the STO files containing the product versions and testing performance
  • Test the use of a memory database for taxonomies instead of hashmaps (decrease in memory footprint)
  • Analyze performance problems (product analysis)
  • Better use of log4perl
  • Refactoring of products or ingredients analysis
  • Other pragmatic proposals welcome!

To be ready (about 30 min):

Program:

  • Saturday:
    • 10 a.m. welcoming participants
    • 10:30 a.m. presentation of projects - questions - distribution into groups
    • 12:30 meal
    • 6 p.m. end of coding
    • 6 p.m. aperitif
  • Sunday
    • 10 a.m. reception
    • 12:30 meal
    • 6 p.m. end

You are free to participate in only part of the program.

registration is mandatory: alex - at - openfoodfacts.org

2 Likes