Écrire

Avec — enfin — un peu de recul, je suis content de la quiétude et de l’espace mental qui se dégage pour moi ces temps cis.

En pleine traversée j’ai parfois trouvé refuge dans des ateliers d’écriture. Je trouve l’exercice à la fois réconfortant et stimulant intellectuellement. Au …

django , orm , migrations

Changing the primary key of a model in Django

I had to change the primary key of a django model, and I wanted to create a migration for this.

The previous model was using django automatic primary key fields

I firstly changed the model to include the new uuid field, and added the id field (the old primary key …

django , urls , uuid

Using uuids in URLs in a Django app

After adding a regexp for uuids (which are quite hard to regexp for), I discovered that Django offers path converters, making this a piece of cake.

I was using old school re_path paths in my urls.py, but it’s possible to replace them with path, like this:

url_patterns = (
    path …
conflit , agression , facilitation

Le conflit n’est pas une agression

Rhétorique de la souffrance, responsabilité collective et devoir de réparation
umap , geojson , websockets

Adding collaboration on uMap, third update

I’ve spent the last few weeks working on uMap, still with the goal of bringing real-time collaboration to the maps. I’m not there yet, but I’ve made some progress that I will relate here.

JavaScript modules

uMap has been there since 2012, at a time when ES6 …

Javascript

Returning objects from an arrow function

When using an arrow function in JavaScript, I was expecting to be able to return objects, but ended up with returning undefined values.

Turns out it’s not possible to return directly objects from inside the arrow function because they’re confused as statements.

This is covered by MDN.

To …

collectif , raconter , facilitation

L’art de conter nos expériences collectives

Faire récit à l'heure du storytelling

Format an USB disk from the command-line on MacOSX

sudo diskutil unmountDisk /dev/disk5
sudo diskutil eraseDisk "MS-DOS FAT32" Brocolis /dev/disk
Linux , Asahi

Rescuing a broken asahi linux workstation

How I used Alpine linux as a rescue system
Pelican , Work , Vega , Markdown

Using pelican to track my worked and volunteer hours

Graphs, progress-bars and python-markdown extensions