Xavier

@xavier@sunny.garden
237 Followers
297 Following
1.6K Posts

Artist & programmer based in Brussels. Queer, genderqueer, vegan, BLM, free Palestine, anticapitalist, etc.

I talk about programming languages, sometimes I share my art and ongoing projects, and retoot funny things :>

Feel free to say hi 😌

Websitehttps://lambein.xyz
Pronounsthey/them/he/him
Pronomsil/lui + masc.
@palomakop looks amazing 🥺 do you have a recipe for the pancakes?
@j2bryson @mort see, I'd never stopped to give this a thought, but the moment I read your toot I was immediately in agreement
Last week, @yvan showed me a very cool way to watch youtube videos. You can browse the website, add videos to a private playlist, then have a script download that on your computer for later offline watch.

This is pretty amazing for a offline-first approach when it come to videos. Also helps reducing doom watching crap.

In the process, I learned that yt-dlp can:

1. download private youtube playlists from yt-dlp. It can even re-use your firefox cookies to authenticate to youtube.
2. Have yt-dlp cut out the sponsors via the sponsor block data.

The way to implement that is pretty simple:

1. Use `~/.config/yt-dlp/config` to add the sponsorblock and cookies flags.

```
$ cat ~/.config/yt-dlp/config
--sponsorblock-remove all
--cookies-from-browser firefox
```

2. Create a wrapper in charge of downloading your playlist. You need a download-archive to make sure you're not re-downloading stuff you downloaded in the past but already watched and removed.

```
» cat ~/.local/bin/yt-sync
#!/usr/bin/env bash

statedir="$HOME/.local/state/yt-sync/"
mkdir -p "$statedir"

yt-dlp --download-archive "$statedir/download-archive" -P "/tmp/" "https://www.youtube.com/playlist?list=LISTID"
```

3. Launch that manually, or, add a systemd user service and timer running this periodically. (I prefer the manual sync)
@xavier Either way there are cons sequences.
@sanityinc more like rear-paren-dad
Senior Fullstack Engineer | Careers at Gigs

Apply now to do the best work of your life at Gigs. We’re making mobile connectivity accessible, seamless and affordable.

Gigs
it's only called a "car accident" when it's a frontal collision. if you get rear-ended it's actually called a "cdr accident"
Golang is unusual because in most languages the type system tells you when you made a mistake, but in Golang the type system tells you when Rob Pike made a mistake.
if you're running lix and you updated it for the CVE patches you should really check this post, there was a serious regression:

https://lix.systems/blog/2025-06-27-lix-critical-bug/

EDIT: new lix version with a fix for this has been released, check the post for the updated info

#lix #nix #nixos
Critical correctness bug in Lix

This is an ongoing incident. This post will be updated regularly. Summary The fix for CVE-2025-52992, released on June 24th, introduced a critical regression affecting derivation builds.

Lix
Rogatons Rediffusions - 12/05/2023 - "4 Conseils de dessin qui m'ont été utiles"
Source: https://www.bouletcorp.com/rogatons/2023/05/12