284 private links
A small crate to check which directory
The library provides the location of these directories by leveraging the mechanisms defined by
- the XDG base directory and the XDG user directory specifications on Linux,
- the Known Folder system on Windows, and
- the Standard Directories on macOS.
It can be a good idea.
How the ZIP format has exceptions and sans-io is justified.
Sans-IO is a programming design does not dictate how the implementation runs, but only what to do (as far as I understand).
The dependency inversion principle says that policies (what to do) should not depend on implementation details (how to do it) ‒ https://www.firezone.dev/blog/sans-io#:~:text=the%20dependency%20inversion%20principle%20says%20that%20policies%20(what%20to%20do)%20should%20not%20depend%20on%20implementation%20details%20(how%20to%20do%20it)
First things first, you’ll need an account on crates.io to acquire an API token. To do so, visit the home page and log in via a GitHub account (required for now).
Free software is too dependent on MicrosoftHub but for Rust libraries, it is worse, a MicrosoftHub account is mandatory: "log in via a GitHub account (required for now)" I believe it is the only big programming language in that case?
(via https://mastodon.gougere.fr/@bortzmeyer/114008682103118141)
So dynamic-linking saves us about 11%11% of build time in incremental case.
This time dynamic-linking saves us 0.25 seconds, or about merely 5%5%.
A blazingly fast, open-source backend with type-safe REST & realtime APIs, built-in JS/ES6/TS runtime, SSR, authentication, and admin UI built on Rust, SQLite & V8.
Simplify with fewer moving parts: an easy to self-host single-executable with everything you need to focus on your mobile, web or desktop application. Sub-millisecond latencies eliminate the need for dedicated caches, no more stale or inconsistent data.
About the new Anki algorithm to schedule flashcard reviews. I didn't read it yet, but it can become handy.
Hydro is a high-level distributed programming framework for Rust. Hydro can help you quickly write scalable distributed services that are correct by construction. Much like Rust helps with memory safety, Hydro helps with distributed safety.
Awesome
The current nightly preview to run rust file as scripts.
alias cargo-script='cargo +nightly -Zscript -q'
is my new friend.
Technical debt ? It's not anymore if the dependency is vendored in the crate itself.
Jon Gjengset make great tools. The idea of Noria is to compute reads in advance when update occurs. It leads to faster reads.
At a high level, Noria takes a set of parameterized SQL queries (think prepared statements), and produces a data-flow program that maintains materialized views for the output of those queries.