I see my code projects in trees and lines, and it affects how I want it to be formatted.
My requirements and solution for a safe storage of personal secrets.
As I maintain several FOSS projects, I figured it would be convenient to have in a central place some concise guidance on contributing.
To deal with hardcoded or configurable key events in a cross-platform terminal application written in Rust, you'll probably need to
- determine what keybindings you can really use,
- use convenient hardcoded keybindings,
- and read keybindings from a configuration file
So you want your unix application to select different sets of colors depending on whether the terminal is set to a light or dark theme ?
Here's an how-to. It's first targeted at Rust programmers but each step can be ported to other languages.
I've seen too many good programmers struggle learning Rust, or even give up.
Here are the mistakes I've seen which may make you fail at learning Rust. I hope this list will help you avoid them.
As my disks tend to be quite messy with time, I had to devise ways to reclaim space, which means both spotting big directories and files, and to deal with the thousands of duplicates you can't delete one per one.
Here's my toolbox for cleaning my disks on linux in 3 major steps:
Generating or modifying Excel files in Java is easy with Apache POI.
But when you generate Excel reports, you always end up having to export them in PDF too.
If you look for a library for this conversion, you'll find many ones, most of them expensive, and none of them giving acceptable results.
I explain here the efficient and reliable enough solution I've used in a Java application.
Glassbench is a Rust micro-benchmark harness. It uses a SQLite database to store bench measurements.
I wanted to give it the option to open an interactive data viewer and grapher, with ability to search the history.
An usual web based solution for that is to run a simple web server.
But Glassbench is executed by cargo and immediately quits and I didn't want it to leave behind anything to clean, especially not daemons. Besides, when you open a single HTML local file, it can't query additional resources, due to browser's security protections.
So I decided to make it a single temporary html page opened in the user's browser.
TOML was originally the only format for configuring broot.
Here I explain why Hjson is now the preferred one.