Skip to content
View ponsfrilus's full-sized avatar
🤖
Ideas are easy. Execution is everything.
🤖
Ideas are easy. Execution is everything.

Organizations

@donax @fixme-lausanne @epfl-sdf @epfl-dojo @epfl-enacit2 @epfl-si @epfl-fsd @r-engineeringresumes

Block or report ponsfrilus

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ponsfrilus/README.md

Hello World 👋

Nicolas Borboën aka ‟ponsfrilus„

Hello world! I'm a full stack engineer working @epfl-si in Lausanne, Switzerland.
Apparently, I'm hanging around on GitHub since 16 years and 10 months.
You can reach me on mastodon @mastodon.social@ponsfrilus or LinkedIn.
I'm also a teacher, a bots breeder, a happy husband and father of 2.

#EPFL | #EPFL-SI | #EPFL-FSD | #EPFL-Dojo | #EPFL-Dojo-kata 🔥 | #1TBS

GitHub followers Twitter Follow



My last starred repos

Image Image

My last commits

[doc] Add the project brief and gitignore

Record the owner's requests verbatim in brief.md so that every later change can be traced back to a requirement:

  • 2 grids per page, PDF output
  • prompt for the grid sizes (for example 5x5 up to 12x12)
  • solutions at the end of the PDF, 4 grids per page
  • grids spread from easy to extreme
  • prompt for the number of grids (default 64)

The sources are the Innoludic Yakazu page and Yakazu Player.

.gitignore is added before any other file so that generated PDFs, dependencies and local environment files are never committed.

[doc] Announcements
[bump] to version v4.7.6
[fix] pgdump
[feature] Allow iframization
[unfeature] Stop cloning mastodon.ops on the target

roles/mastodon/tasks/web.yml cloned this repository into {{ mastodon_web_build_dir }} (/srv/mastodon/build/web) so that the target could build a custom Mastodon image from docker/mastodon-web.

Nothing uses the clone anymore: the image build has been disabled since ad5ee8d, the containers run the official Mastodon images, and since 2071093 docker/ is removed and adhoc.rb is deployed from the mastodon role.

Removed:

  • the "Mastodon build directory" and "Clone mastodon.ops to build Docker images out of it" tasks;
  • the commented out tasks referring to the build directory (HTTPS clone, docker/mastodon-web directory, image build);
  • the mastodon_web_build_dir variable.

The existing /srv/mastodon/build directory is left untouched on the servers and can be removed manually. ForwardAgent=yes, introduced in 5c62e30 for the SSH clone, is kept in ansible.cfg.

[doc] Update the Mastodon upgrade note

The README note explained that, because of the metrics instrumentation, upgrading Mastodon required pushing docker/mastodon-web/Dockerfile with the new version so that the target could clone and build it.

Since 2071093, docker/ is gone: the official Mastodon images are used as they are, with the built-in Prometheus instrumentation enabled by the MASTODON_PROMETHEUS_EXPORTER_* variables, and the custom metrics collector deployed by Ansible from roles/mastodon/templates/adhoc.rb. Upgrading now only requires changing mastodon_version in vars/versions.yml.

The links of the note are now reference-style links, which also fixes the broken link to the removed Dockerfile.

Refs:

[bump] Mastodon to version 4.7.5

Security release, from the upstream changelog:

  • Fix password authentication bypass for inactive accounts (GHSA-3xjw-gv43-3w62);
  • Fix DoS through JSON-LD compaction (GHSA-cf49-73r7-rxj6);
  • Fix Forwarded header taking precedence over X-Forwarded-For (GHSA-qp4r-p842-mw5c);
  • Update dependencies to address security advisories in addressable, loofah, rack and rails-html-sanitizer.

It also changes invites use counts to not decrease if an invited user deletes their account.

Upgrading from 4.7.4 with Docker only requires restarting all Mastodon processes, no database migration is needed.

Only vars/versions.yml is bumped, docker/mastodon-web/Dockerfile having been removed in the previous commit.

Refs:

[refactor] Deploy adhoc.rb from the mastodon role

The mastodon-prometheus-exporter container used to mount the ad hoc collector from the mastodon.ops clone on the target ({{ mastodon_web_build_dir }}/docker/mastodon-web/monitoring/adhoc.rb).

The collector now lives in roles/mastodon/templates/adhoc.rb (with a TODO list of the metrics to come) and roles/mastodon/tasks/monitoring.yml:

  • creates {{ mastodon_monitoring_dir }} (/srv/mastodon/monitoring);
  • templates adhoc.rb into it;
  • mounts it at the same path in the container (/mastodon/monitoring/adhoc.rb), so the exporter command is unchanged;
  • restarts the container when adhoc.rb changes, as prometheus_exporter only loads it at startup and a single file bind mount keeps pointing to the replaced inode.

The rest of docker/mastodon-web is removed. The image build has been disabled since ad5ee8d and the containers run the upstream ghcr.io/mastodon/mastodon image, which ships the same instrumentation (enabled by the MASTODON_PROMETHEUS_EXPORTER_* variables already set in roles/mastodon/vars/mastodon-vars.yml):

  • Dockerfile bundle install: prometheus_exporter is in the upstream Gemfile;
  • config/initializers/prometheus_exporter.rb: upstream config/initializers/prometheus_exporter.rb;
  • config/initializers/sidekiq_monitoring.rb: upstream config/initializers/sidekiq.rb;
  • config/puma_prometheus.rb: upstream config/puma.rb.

The task pre-creating {{ mastodon_web_build_dir }}/docker/mastodon-web is commented out accordingly.

Refs:

[fix] Clone mastodon.ops over SSH

The epfl-si/mastodon.ops repository is private: the anonymous HTTPS clone done by the "Clone mastodon.ops to build Docker images out of it" task in roles/mastodon/tasks/web.yml fails on the target.

Clone it over SSH (git@github.com:epfl-si/mastodon.ops.git) instead:

  • accept_newhostkey: true adds github.com to the target's known_hosts on the first run instead of failing on the host key verification;
  • ssh_extra_args = -o ForwardAgent=yes in ansible.cfg forwards the operator's SSH agent to the target, so that it can authenticate to GitHub without storing a deploy key on the server.

The former HTTPS task is kept commented out for reference.

Refs:

Image ⏰ Updated on Fri, 27 Nov 2026 22:18:24 GMT

Pinned Loading

  1. Awesome-TPI Awesome-TPI Public

    Dépôt regroupant des ressources utiles aux apprentis, chefs de projet et experts pour les taravaux pratiques individuels (TPI) de fin d'apprentissage des informaticien·ne·s CFC.

    HTML 21 1

  2. octave-x11-novnc-docker octave-x11-novnc-docker Public

    A docker that runs Octave (and a little bit more)

    JavaScript 52 12

  3. ponsfrilus.tdesktop-theme ponsfrilus.tdesktop-theme Public

    A low-poly Telegram theme

    Makefile 12

  4. dockerGUI dockerGUI Public

    Testing GUI apps with Docker

    7

  5. arch-novnc arch-novnc Public

    Docker container running ArchLinux accessible through novnc in a browser

    Dockerfile 16 7

  6. EPFLArrival EPFLArrival Public

    A vue application for EPFL's newcomers (but not only...)

    JavaScript 12 6