llm

How to run the vigogne model locally

Vigogne is a LLM model based on LLAMA2, but trained with french data. As I’m working mostly in french, it might be useful. The current models that I can get locally are in english.

The information I’ve found online are scarse and not so easy to follow, so …

Creating a simple command line to post snippets on Gitlab

I’m trying to get away from Github, and one thing that I find useful is the gist utility they’re providing. Seems that gitlab provides a similar tool.

You can use it using python-gitlab:

pipx install python-gitlab

And then :

gitlab snippet create --title="youpi" --file-name="snip.py" --content snip …

Creating an online space to share markdown files

I wanted to create a space on my server where I can upload markdown files and have them rendered directly, for them to be shared with other people.

I stumbled on the markdown module for nginx which does exactly what I want, but seemed to ask for compilation of nginx …

Conversion d’un fichier svg en favicon.ico

Il y a plusieurs sites qui permettent de faire ça automatiquement, mais j’aime bien faire les choses depuis mon terminal, voici donc une commande qui permet de faire ça simplement, en utilisant ImageMagick. Merci à ce gist

convert -density 256x256 -background transparent favicon.svg -define icon:auto-resize -colors 256 …

Découverte de nouveaux outils pour le développement: LLM, Helix et plus

LLM

gitlab, docker

Running the Gitlab CI locally

Sometimes, I need to change how the continuous integration is setup, and I find myself pushing to a branch to test if my changes are working. Oftentimes, it takes me multiple commits to find the correct configuration, which is… suboptimal.

I discovered today Gitlab CI local which makes it possible …

arch-linux

ArchLinux et mise à jour du keyring

Pour les mises à jour Arch, j’utilise yay. Je ne fais les mises à jour que de manière semi-régulière, et parfois après une longue période je me retrouve avec des soucis de clé qui ne sont plus à jour ou manquantes.

Avec une utilisation fréquente du système, aucun problème …

python, packaging, zsh

Python packaging with Hatch, pipx and Zsh environment variables

It’s been a while I didn’t packaged something new. I recently remembered an old package of mine that needed some attention : debts. It’s now time to package it, so I discovered hatch

hatch new —init

This does the heavy-lifting for you, actually porting the setup.py files …

django, pytest

Profiling and speeding up Django and Pytest

Éloi made a pull request on IHateMoney to speedup the tests, with some great tooling for pytest that I wasn’t aware of:

Travail, Facilitation, Savoir-Être

Séparation travail et loisirs

Bien que nécessaire pour certains pour se protéger de l'exploitation, cette séparation ne risque-elle pas de déshumaniser le travail et d'empêcher la construction de relations authentiques entre collègues ?