🦘 Jump into the repositories (git, mercurial…) of your filesystem with telescope.nvim, without any setup

Hi, it’s Clément! 👋
I’m currently working as a software engineer at Cloudflare in London, where I get to work with exciting technologies like eBPF or Rust. Previously, I worked on non-intrusive performance analysis at the SnT, a lab part of the University of Luxembourg.On my spare time, I enjoy writing and contributing to open-source programs. Most of that activity is visible on GitHub and Stackoverflow. I blog mainly about performance and tools I use (like NeoVim, Hugo or SQLite). Some pages made it to the front page of HackerNews or Lobsters, sparking fruitful discussions in the comments.
See also this selection of interesting places on the Internet.
💻 Current Software Projects
Readme in Static Site
💎 Transform and insert your GitHub readme in your static site.
Rusqlite Migration
↕️ Simple database schema migration library for rusqlite, written with performance in mind.
Sesters
💱 Fast, offline currency converter 💴 💷 💶 💵
🗞️ On the Blog
Rust Default Values for Maintainability
TL;DR The Default trait can enhance the maintenability of your code. Default values for common types are listed at the end. A PR Review Recently, while reviewing a PR1, I noticed that part of the patch was introducing a new field to a struct: 1diff --git a/src/lib.rs b/src/lib.rs 2index eba9a3a..8619e06 100644 3--- a/src/lib.rs 4+++ b/src/lib.rs [email protected]@ -106,8 +108,9 @@ use std::{ 6 #[derive(Debug, PartialEq, Clone)] 7 pub struct M<'u> { 8 up: &'u str, 9 down: Option<&'u str>, 10+ foreign_key_check: bool, 11 } 12 13 impl<'u> M<'u> { [email protected]@ -137,8 +140,9 @@ impl<'u> M<'u> { 15 pub const fn up(sql: &'u str) -> Self { 16 Self { 17 up: sql, 18 down: None, 19+ foreign_key_check: false, 20 } 21 } That prompted me to reflect on the code I had initially written....
From UltiSnips to LuaSnip
TL;DR LuaSnip is fast and doesn’t have to be complicated. Give it a try! Even if that article shows how LuaSnip shines, I have great respect for the work that has gone into UltiSnips. It is still a reliable, reasonably fast plugin given the constraint it operates in (in particular, Vim compatibility requires a fair amount of Vimscript). I’ve written this article shortly after trying LuaSnip and I’m still very much evaluating it....
You “Own” 16 Milion+ IPv4 Addresses!
TLDR For the foreseeable future, you can likely use 127.0.0.0/8 freely (or at least 127.0.0.0/16). Introducing 127.0.0.0/8, the Loopback Range Visualization of the 127.0.0.0/8 range, from cidr.xyz by Yuval Adam If you have ever done web development or otherwise set up a local server, you have most likely used the IP address 127.0.0.1 to communicate with a local server. Often, localhost is even internally translated to that address....