Open in app
Home
Notifications
Lists
Stories

Write
Stéphane Raimbault
Stéphane Raimbault

Home

About

Sep 6, 2021

Clean Docker image with Poetry

If like me, you have difficulties to find a clear guide on how to create a Docker image in an app whose dependencies are managed via Poetry, this article is for you. The goals are: to keep only the code useful to the runtime in the final image (not Poetry’s…

Docker

1 min read

Clean Docker image with Poetry
Clean Docker image with Poetry

Jan 4, 2021

Walk in the weird Flask eco-system

I started the draft of this post a few years ago (2016) and I’m published it now because to my surprise it still relevant in 2021! I used to code my server-side Web applications with Django. I often verified the Django’ motto « The web framework for perfectionists with deadlines…

Flask

4 min read

Walk in the weird Flask eco-system
Walk in the weird Flask eco-system

Feb 21, 2016

Deploy your Django project as directory

This method of deployment is convenient if you have a non wildcard SSL certificate for your domain. This way, you can add another application to your domain in a new directory (eg. example.com/foo/). The first step is to set up nginx to pass SCRIPT_NAME to your app: location /foo/ {…

Django

1 min read


Aug 26, 2015

Quand et comment utiliser ArrayField en Django?

Lorsque je devais lier un modèle à une liste de valeurs en SQL, j’avais pris l’habitude d’utiliser une relation de ce type: Lorsque la liste est fixe (ou a minima non modifiée par l’utilisateur), il n’y a pas d’intérêt à disposer d’un modèle distinct. Ce type de relation…

Django

2 min read


Feb 12, 2015

LVM — Incorrect metadata area header checksum

If LVM2 shows some warnings like “Incorrect metadata area header checksum”, it’s certainly because it checks some partitions without LVM support (x8e). The filesystem works fine with this message but you can get rid of it, exclude not LVM partitions by editing /etc/lvm/lvm.conf : filter = [ “r|/dev/cdrom|”, “r|/dev/hda1|”, “r|/dev/hda3|”…

1 min read


Feb 12, 2015

Current Tranformer

At home or at work, you probably have spotlights which indicate only 20W or 35W of power consumption, but sadly these spotlights are powered by a lower voltage and so they require a transformer (hidden in the ceiling, a cupboard or a hood) which in turn consumes around 40W. I’ve…

1 min read

Current Tranformer
Current Tranformer

Feb 12, 2015

The perfect git workflow!

It’s strangely hard to find documentation on the git workflow to follow to keep a clean commit history when you want to merge external contributions. First enable rebasing by default As it’s written on live.gnome.org, many users find that they happen to do “git pull —rebase” most of the time…

2 min read


Feb 12, 2015

Succès pour les premières rencontres Django FR !

Bravo aux organisateurs de la première édition des rencontres Django FR, qui avaient même prévu des activités pour les accompagnateurs (conjoints, conjointes et enfants). Le planning des conférences a été fidèlement respecté malgré les aléas de la restauration. L’ambiance était chaleureuse et l’évènement idéal pour rencontrer et discuter avec les…

1 min read


Feb 12, 2015

Trop « high-tech » pour être robuste

Les produits que l’on nous persuade d’acheter son souvent excessivement techniques, pour des avantages peu probables et une fragilité bien réelle. Qu’il est compliqué de choisir parmi la pléthore d’appellations brevetées, j’apprécie les produits simples et bien conçus, qui vont remplir leur tâche de longues années sans montrer de signes…

1 min read


Feb 12, 2015

coreutils en français

Dorénavant, vous ne lirez plus la question suivante en ligne de commande : rm: détruire fichier régulier `toto.c’? mais rm : supprimer fichier « toto.c » ? bien que la seconde forme ne soit pas parfaite (limitation interne), elle est d’une des améliorations qui résulte d’un long travail de relecture…

2 min read

Stéphane Raimbault

Stéphane Raimbault

I like clean and open code (Django, JS, Rust, libmodbus). http://webstack.fr

Following
  • Google Developers

    Google Developers

  • Damien Detcherry

    Damien Detcherry

  • Tyrone Tudehope

    Tyrone Tudehope

  • ngEurope

    ngEurope

  • Samuel Laurent

    Samuel Laurent

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable