3 liens privés
A post-modern text editor.
Event Sourcing with Elixir
Today I learned
The pipe operator |> always passes the value as the first argument. But sometimes the function you want needs it somewhere else.
then/2 solves this by wrapping the call in an anonymous function so you can place the piped value in any slot via &1.
Example
"super-secret-token"
|> then(&:crypto.hash(:sha256, &1))
|> Base.encode16(case: :lower)
|> binary_part(0, 8)
Step by step:
- Start with a string.
:crypto.hash/2has signature (algorithm, data) — the data goes second, so we need then to slot our piped value into&1.- Hex-encode the resulting binary.
- Keep the first 8 chars as a short fingerprint.
Without then, writing "super-secret-token" |> :crypto.hash(:sha256) would expand to :crypto.hash("super-secret-token", :sha256) — arguments swapped, crash.
Think of then as an escape hatch: "pipe into this specific slot, not the default first one." Especially handy with Erlang stdlib calls (:crypto, :binary, :ets) whose signatures weren't designed pipe-first.
Travaillez Mieux, Pas Plus.
Gagnez du temps, puis trouvez votre format de semaine de 4 jours
parallel-rsync
Parallel rsync launcher with fancy progress bars.
LLMFit : Quel LLM faire tourner sur votre ordinateur ?
Contourner l’algorithme Youtube les fils RSS ?
grub windows
via https://korben.info/grub2win-multiboot-windows-linux.html
The free system maintenance suite your PC deserves.
15+ powerful tools to clean, optimize, and protect your Windows, macOS, and Linux machines. Open source, no ads, no bloatware. Just a faster computer.
Meshnetwork.fr : Communiquer sans internet ni opérateur, pour moins de 50 €
Run any GUI app in the terminal❗
via https://korben.info/term-everything-gui-terminal-linux.html
Complete Controller Testing
No software downloads required, just connect. Get real data on your controller's analog sticks, buttons, and vibration performance.
via https://korben.info/controllertest-io-suite-test-manettes.html
Markdown Architectural Decision Records part of ADR
“Markdown Architectural Decision Records” (MADR) [ˈmæɾɚ] – decisions that matter [ˈmæɾɚ].
An Architectural Decision (AD) is a justified software design choice that addresses a functional or non-functional requirement of architectural significance. This decision is documented in an Architectural Decision Record (ADR), which details a single AD and its underlying rationale.
Open source voice cloning studio with support for multiple TTS engines. Clone any voice, generate natural speech, and compose multi-voice projects — all running locally.
ai token compression
maintenant
Monitor everything. Manage nothing.
Drop a single container. Your entire stack is monitored in seconds.
Configurez. Sécurisez. Déployez.
Tout depuis votre terminal.
Aucun service tiers. Aucune donnée envoyée. Votre serveur, vos clés, votre contrôle.
ghostty config tool