Installing CUDA and drivers on Ubuntu

First: I do not like Ubuntu. To be more precise, I dislike versioned distros and their forced upgrades. The funny thing is that Ubuntu, at least in my opinion, is the distro that embodies all of this best: Ubuntu is the “default” distribution in my lab, so computers come with it preinstalled with it and I do not want to redo all the partitioning and LDAP setup myself. Many CLI programs are not available in the default apt repositories and need to be installed with snap (yuck), as AppImages (meh) or with their own installers (which is fine, just need to add auto-update in my update script). Programs that are available through apt can be months or years behind the latest realease, which is an issue when other programs depends on them or if you need a specific feature. But if there is one especially annoying thing on Ubuntu, it is graphics card management, at least when you need the GPU to train or use neural networks. On Arch Linux (btw), it is pretty simple : ...

November 13, 2026

Writing LaTeX with Vim

Over the last few months, I’ve changed IDEs, switching from VSCode to NeoVim, because this editor has always had my affection for its lightness and comfort in the terminal. So I went from an editor that I’d configured to write mainly Python to a multi-language editor, powerful because of the keyboard control and the multiple, easily configurable plugins. However, I always wrote my LaTeX files on Overleaf, even at the draft stage, when I wasn’t yet sharing them with my supervisors. That’s why I wanted to move to a local editor that I’m familiar with. ...

July 9, 2024