chrysn
mastodon 4.6.9🏳️🌈 Technology enthusiast with a focus on Free Software and embedded systems. Science fiction promised us general purpose electronics, let's build them! (And get their security properties right.)
I've known that #RustLang's Cargo has been taught to not update dependencies that it can't use (because they require a newer Rust version), but just learned that it can be told to respect the own crate's MSRV for that:
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo update
allows me to utilize this even though my MSRV is so old that Cargo didn't have that feature back then.
Thanks to @epage@hachyderm.io for pointing this out in the handling of @epage@hachyderm.io@chaos.social.
Preparing a demo for the @ariel@floss.social booth at #CLT. If things goes to plan, you can control different #embedded systems running the same application from your browser.
With the speed around #JpegXL picking up (now in #Firefox and #Chrome nightlies), I'm wondering what good use of an #HTML srcset would be there.
As JXL's progressive compression is good, we don't need different files in the srcset (so there's no need to load the first few KiB again when zooming in), but how can or should the HTML somehow tell the browser that for (say) up to 800px width it can request the Range: bytes=0-12345, and the next usable zoom level of 1600px needs the first 42KiB?
@diondokter@fosstodon.org Thinking of this again while implementing an embassy_net_driver_channel made me realize that there can be a fn f<'t>(data: &'t [u8]) -> impl Future + use<> { … }, and the data buffer can be freed before the future completes. 🤯
@diondokter Could an async fn / block waive the "does not do anything until polled" guarantee? (Like #[allow_eager_parts]. Ideally, this might even become default in a future edition).
The only reason I see for this guarantee to be there is so that all the inner parts can be pinned, but then if anything relevant is not Unpin, the compiler could still go into the old mode.
@alexglow@chaos.social @Legit_Spaghetti@mastodo.neoliber.al I think the word order to justify the "hoc" (it is an emphasis, otherwise it'd be moot to say anything at all) would be to have it first. And I'd probably not repeat it; all is spoken in a hurry.
Hoc absconde. Protege.
