Various tips and tricks, mainly for development| Clément Joly – Open-Source, Rust & SQLite
Limiting certificate issuance to a server that possesses a particular private key| Blog on Clément Joly – Open-Source, Rust & SQLite
Integrate Vim and Cargo info with just a few lines of Lua using keywordprg.| Blog on Clément Joly – Open-Source, Rust & SQLite
I’ve just added the last 8 versions of the Asciinema player to gohugo-asciinema, my Hugo module to easily integrate the Asciinema player to your website. Lots of exciting new features, like improved decoding and rendering efficiency as well as some support for streaming asciicasts. See the changelog links below for details of the changes. There were no changes made to the Hugo module itself, besides copying the JS & CSS from the Asciinema player.| Blog on Clément Joly – Open-Source, Rust & SQLite
Announcement I’m now signing my git commit and tags with an SSH key. Details of the fingerprint can be found in the security document. It says that commit after 2024-01-01 are going to be signed, because I’m starting now on one machine and I will propagate the configuration over the next few days to other machines. Why Why bother with cryptographic signatures? Anyone can pretend to be me. They just need to write my name and email in the author fields of a commit message. However1, I’m t...| Blog on Clément Joly – Open-Source, Rust & SQLite
An example on Go error handling.| Blog on Clément Joly – Open-Source, Rust & SQLite
I co-authored this post on the Cloudflare Blog: How we built Network Analytics v2 Archived copies: WaybackMachine Archive.is Perma.cc| Blog on Clément Joly – Open-Source, Rust & SQLite
When decompressing is faster than reading from the disk.| Blog on Clément Joly – Open-Source, Rust & SQLite
Hidden benefits of the humble Default trait| Blog on Clément Joly – Open-Source, Rust & SQLite
Git ls-files is up to 5 times faster than fd or find in this benchmark, but why?| Blog on Clément Joly – Open-Source, Rust & SQLite
I’m happy to introduce RISS (README In Static Site), a tool that transforms a README file and insert it on your website| Blog on Clément Joly – Open-Source, Rust & SQLite
Here is some interesting papers I’ve read this year. Weaponizing Middleboxes for TCP Reflected Amplification https://www.usenix.org/system/files/sec21-bock.pdf This paper uses the fact that some middleboxes are non-compliant TCP stacks. In particular, middleboxes sometimes see only one side of a connection and as a result, it’s possible that they answer spoofed packets. After an initial training (with a genetic algorithm) on a subset of known censoring networks to optimize amplification f...| Blog on Clément Joly – Open-Source, Rust & SQLite
Last updated: March 18, 2024.| Clément Joly – Open-Source, Rust & SQLite
DISCLAIMER: This is not a comment on Reddit’s future profitability or any reflection on the stock performance. This is a technical discussion on how a relatively simple link-aggreggator can be hosted, with the trade-offs. Reddit went public today. Its IPO document states1 that they use AWS and GCP. But I cannot find a break-down of infrastructure costs separately. That makes me wonder: what does the infrastructure costs of a pure link-aggreggator look like?| cj.rs
Sometimes when your pull request is reviewed, it turns out that you have to make a small change. For instance, you have to remove a white space. Here is a really quick way to fix it, that will not even fire your editor to change the commit message. Make sure you are on the branch of the pull request (for instance, by reading the output of git status) Edit and save your file, removing the white space.| cj.rs
Generating repetitive snippets with code, like time variant of section titles.| Clément Joly – Open-Source, Rust & SQLite
ℹ️ Note 2023-05-20: Updated to account for the features of NeoVim 0.9 and obsolete plugins You have found a (Neo)Vim plugin that you want to fiddle with, either to contribute changes upstream or for your own use. Sounds familiar? Here are some tips and tricks I use for my NeoVim plugin development. The aim of these small tricks is to iterate faster on changes, by loading your changes in a live NeoVim instance as quickly as possible.| Clément Joly – Open-Source, Rust & SQLite
Shaving off a few milliseconds from Neovim startup time.| Clément Joly – Open-Source, Rust & SQLite