Archlinux.Fr
64 subscribers
1 photo
7.38K links
Bienvenue sur le canal Archlinux.fr, le canal de la communauté francophone de la distribution Arch Linux.
Download Telegram
NixOS is not reproducible
Okay, sorry for the clickbait. NixOS is not reproducible according to the Reproducible Builds definition. I keep reading people making this claim repeatedly on orange-site, even LWN.net made a similar claim when writing about Nix and Guix earlier this week.1 Along with their recently launched wiki. So, what is the Reproducible Builds definition?2 When is a build reproducible? A build is reproducible if given the same source code, build environment and build instructions, any party can recreate bit-by-bit identical copies of all specified artifacts.
Read more...
ffmpeg set sub as default
Copy of my answer to the question “Is there an option in ffmpeg to specify a subtitle track that should be shown by default?” on superuser: No, there isn’t an option in ffmpeg to specify a subtitle track that should be shown by default. (ffmpeg version 2.6.1 built with gcc 4.9.2 (GCC) 20150304 (prerelease) as default on Arch, see end of answer for compile flags) Resources highlighting the lack of command line options for setting default/forced subtitles stream in ffmpeg include the following: this Oct. 2012 mailing list thread (which delves in the matroska format and explains that …
Read more...
Data transmission
Everything “digital”, everything related to computers is based on signal and quantization theories. Today I was considering the following question: “How do electricity and light convey information?”. It seemed incomprehensible to me that we could vehicle structured information via those raw streams of particles. How is it possible to give electrons a specific meaning, like to register this text I am writing and send it over various types of wire (copper and optic fiber)? I picture the phone line getting out of my house and my home modem-router plugged in it. Everything Internet related goes through this one copper wire. …
Read more...
Hugo on Vercel
As an attempt to diversify, I have been using Vercel to build and host this website since its inception, as opposed to going with the more common choice of Netlify. After being pleasantly surprised with the initial setup-and-first-build flow (the automatic HTTPS on custom domains is awesome), I stumbled upon something that baffled me: the default Hugo version Vercel uses to build your site dates from September 2019, and you have to jump through hoops to find out about it. Getting the version of Hugo used to build your site This came out due to the many discrepancies …
Read more...
Cryptocurrenshit
From Cryptocurrency is an abject disaster by Drew DeVault: Cryptocurrency is one of the worst inventions of the 21st century. I am ashamed to share an industry with this exploitative grift. It has failed to be a useful currency, invented a new class of internet abuse, further enriched the rich, wasted staggering amounts of electricity, hastened climate change, ruined hundreds of otherwise promising projects, provided a climate for hundreds of scams to flourish, created shortages and price hikes for consumer hardware, and injected perverse incentives into technology everywhere. Fuck cryptocurrency. Ditto. Further reading on this topic on Wikipedia, and …
Read more...
Editor-induced bugs
While working on this site, I suddenly noticed that an extra space was added after any link, but it was only visible when that link was followed by another character like a parenthesis. I dug hard and on a hunch, found that it was caused by my recent addition of a render hook for links. I had simply followed the instructions and added the following snippet in layouts/_default/_markup/render-link.html: <a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a> Eventually, I found this …
Read more...
Parallel ffmpeg stream manipulation
This post will illustrate how we can apply different operations (audio transcoding, subtitles selection, video, chapters and fonts passthrough) on multistream MKVs with ffmpeg, while optimizing for multicore systems. More precisely, here is what we are trying to achieve: transcode the Japanese audio track from a entire anime season, from a superfluously lossless Flac to the more efficient Opus format1 shed the useless (to me) English audio track (also in Flac, and 5.1…), as well as the unneeded “Signs-only” subtitle tracks pass-through the video track retain all attachments (fonts, chapters…) preserve file modification times replace the original files with …
Read more...
A system imaging tale: LUKS, Clonezilla and friends
Today’s project: make a system image of my previous laptop for archival purposes before refurbishing it. Conditions: make a space efficient image, i.e. not a block-level copy: no need to retain encryption or logical volume setup, only their content matters. However: all standard and extended file attributes must be correctly preserved, so that if I ever want to boot this image the system will be in a correct state. The plan: boot up an Arch ISO, open the encrypted drives, set everything up for clonezilla – profit. Here is how it actually went. An unexpected obstacle to boot: Ventoy shenanigans …
Read more...
Ejecting and reattaching a USB drive from the CLI
Setup: I was booted on archlinux-2022.02.01-x86_64.iso using a multiboot USB flash drive made with Ventoy 1.0.65, and had selected the “Copy to RAM” option in the ISO menu with the idea of reusing the drive as a backup destination for a system backup. The issue: I was unable to normally eject the drive, both eject and udisksctl power-off (after installing udisks2) gave the error Device or resource busy, and lsof | grep -e ventoy -e sdb didn’t return anything. Here is what it looked like: root@archiso ~ # lsblk NAME MAJ:MIN RM SIZE RO …
Read more...
Offline Arch install with local pacman cache
While developing my Arch VM script, I had to go through the installation over and over to test every change. I am tethered to my phone for Internet connectivity, and the quality and speeds are… How should I put it? Underwhelming to say the least (I live in a mountainous rural area). So while doing so, I grew increasingly wary of the long wait for packages to download and the 287 MB worth (gah!) of data it would chip off my 40 GB plan each and every time. What I needed was a way to provide a …
Read more...
Moving an existing install into a virtual machine
This a follow-up to my tale of a system image. For fun and convenience, I now wanted to have a bootable image of my old laptop. So at first I thought of making a Live ISO out of it, but didn’t know the name of the process. I tried a few searches like “convert a configured system into ISO” or “create live ISO from running system”, but what I found looked strangely difficult and didn’t seem to really address my need. Then in the course of writing the aforementioned post, I was reminded of an Archwiki article I had …
Read more...
Graphical management interfaces for Linux servers
Terminology considerations “Server management interface”, “control panel”, “dashboard”… While investigating Free and Open Source graphical server management software, I had trouble establishing the categorical difference between the different solutions I was reading about. My use case being a “single user homelab/server” and not a multi-tenancy reseller/web hosting solution, I initially left aside the well established category of control panels (with the exception of HestiaCP). The projects that caught my interest were Cockpit, HestiaCP, Portainer, CapRover, CasaOS, Cloudron, and to a lesser extent, Yacht. But try as I …
Read more...
Using a container to sidestep a forgotten password in CasaOS
Problem statement As part of dabbling with self-hosting again, I installed CasaOS on an Oracle Cloud free Ampere instance to try it out. After setting it aside for a few weeks, when I logged in via SSH and tried to use sudo I realized I absolutely couldn’t remember my user’s password 😅 The standard operating procedure in this case is to either reboot the machine on a live system and use that to chroot into the local install, or fiddle with GRUB rescue/kernel command line.1 But since I could still install containers through CasaOS web interface, I thought I’d …
Read more...
Increasing the default vm.max\_map\_count value
The vm.max_map_count paramater will be increased from the default 65530 value to 1048576. This change should help address performance, crash or start-up issues for a number of memory intensive applications, particularly for (but not limited to) some Windows games played through Wine/Steam Proton. Overall, end users should have a smoother experience out of the box with no expressed concerns about potential downsides in the related proposal on arch-dev-public mailing list. This vm.max_map_count increase is introduced in the 2024.04.07-1 release of the filesystem package and will be effective right after the upgrade. Before upgrading, in case you are already setting your own value for that parameter in a sysctl.d configuration file, either remove it (to switch to the new default value) or make sure your configuration file will be read with a higher priority than the /usr/lib/sysctl.d/10-arch.conf file (to supersede the new default value).
Read more...
Ratatui Received Funding: What's Next?
Let's delve into the realm of open source funding along with Ratatui's journey.
Read more...
Augmentation de la valeur par défaut de vm.max\_map\_count
La valeur par défaut du paramètre vm.max_map_count sera augmenté de 65530 à 1048576. Ce changement devrait aider à résoudre les problèmes de performances, de plantage ou de démarrage pour un certain nombre d’applications gourmandes en mémoire, en particulier (mais sans s’y limiter) certains jeux Windows joués via Wine/Steam Proton. Dans l’ensemble, les utilisateurs finaux devraient …
Read more...
Arch Linux 2024 Leader Election Results
Recently we held our leader election, and the previous Project Leader Levente "anthraxx" Polyák ran again while no other people were nominated for the role. As per our election rules he is re-elected for a new term. The role of of the project lead within Arch Linux is connected to a few responsibilities regarding decision making (when no consensus can be reached), handling financial matters with SPI and overall project management tasks. Congratulations to Levente and all the best wishes for another successful term! 🥳
Read more...
Résultats de l’élection 2024 du leader d’Arch Linux
Récemment, nous NdT: l’équipe Arch Linux avons procédé à l’élection de notre chef et, l’ancien chef de projet, Levente « anthraxx » Polyák, s’est présenté à nouveau alors qu’aucune autre personne ne s’est proposée à ce rôle. Conformément à nos règles électorales, il est réélu pour un nouveau mandat. Le rôle de chef de projet au sein …
Read more...