Oh, and clean all doesn't work reliably. Since trying to build in release mode after building in debug mode then cleaning is weirdly broken.
And It's not clear from the README how to build in release mode without running test --release. And the fact that all combinations of --release-sysroot and --release --sysroot and --release --release-sysroot exist doesn't help 😉
In any rust project, you start with API docs, and the examples folder if one exists. Just make sure the examples belong to the current version you will depend on, not the master/main branch. The link above is from v0.13.1 for example.
Didn't click on your links. But LEA does this move against any network that may offer anonymization. Don't use Tor hidden services. Don't go near I2P. Stay away from Freenet...etc. This even includes any platform that is seen as not fully under control, like Telegram at some point.
In its essence, this move is no different from "Don't go near Lemmy because it's a Putin-supporting communist platform filled with evil state agents".
Does any network that may offer anonymization (even if misleadingly) attract undesirable people, possibly including flat out criminals? Yes.
Should everyone stay away from all of them because of that? That's up to each individual to decide, preferably after seeing for themselves.
But parroting "think of the children" talking points against individual networks points to either intellectual deficiency, high susceptibility to consent-manufacturing propaganda, or some less innocent explanations.
Apologies if I was presumptions and/or my tone was too aggressive.
Quibbling at No Moderation = Bad usually refers to central moderation where "someone" decides for others what they can and can't see without them having any say in the matter.
Bad moderation is an experienced problem at a much larger scale. It in fact was one of the reasons why this very place even exists. And it was one of the reasons why "transparent moderation" was one of the celebrated features of Lemmy with its public Modlog, although "some" quickly started to dislike that and try to work around it, because power corrupts, and the modern power seeker knows how to moral grandstand while power grabbing.
All trust systems give the user the power, by either letting him/her be the sole moderator, or by letting him/her choose moderators (other users) and how much each one of them is trusted and how much weight their judgment carries, or by letting him/her configure more elaborate systems like WoT the way he/she likes.
This has been discussed and experimented with to death where such networks existed for a long time. Just because you never heard of them or even knew they exist doesn't mean that they don't.
See Freenet/Hyphanet and the three approaches (local trust, shared user trust lists, web of trust) if you want to learn something. The second one worked out the best from a performance and scalability point of view compared to the third.
Not only is IPFS not built on solid foundations, offered nothing new to the table, and is generally bad at data retention, but the "opt-in seeding" model was always a step backwards and not a good match for apps like plebbit.
The anonymous distributes filesystem model (a la Freenet/Hyphanet) where each file segment is anonymously and randomly "inserted" into the distributed filesystem is the way to go. This fixes the "seeder power" problem, as undesirable but popular content can stay highly available automatically, and unpopular but desirable content can be re-inserted/healed periodically by healers (seeders). Only both unpopular and undesirable content may fizzle out of the network, but that can only happen in the context of messaging apps/platforms if 0 people tried pull and 0 people tried to reinsert the content in question over a long period of time.
Doubly linked list is one of std's collections. And safety in Rust is built on top of unsafely, because there is no way around that.
Did you try to actually look up literally anything before asking?! Because simply checking out std::collections docs would have given you some answers.
Now that others got all the technicalities out of the way, maybe ChromeOS/ChromiumOS would be something along the lines of what you're looking for? not that anyone should choose to daily-drive it.
#![feature(gen_blocks)]
gen fn gfn() -> i32 {
for i in 1..=10 {
yield i;
}
}
fn gblock() -> impl Iterator<Item = i32> {
gen {
for i in 1..=10 {
yield i;
}
}
}
fn main() {
for i in gfn() {
println!("{i} from gfn()");
}
for i in gblock() {
println!("{i} from gblock()");
}
}
Note that the block-in-fn version works better at this moment (from a developer's PoV) because rust-analyzer currently treats gfn() as an i32 value. But the block-in-fn pattern works perfectly already.
While you missed the mark here since typst has all the important stuff open (I wouldn't use the web interface even if it was free/open source), I appreciate that you're keeping an eye open.
If you were in r*ddit's rust community a few years ago, you probably would have been banned, just like me😄
A blog post from M$ mentioning Rust with zero code
=> straight to the top
A news article regurgitating the same thing a week later
=> straight to the top
Another news article two weeks later regurgitating the same thing, possibly with the addition of a random tweet from some M$ dev
=> straight to the top
Anyone not sucking nu-M$'s ****
=> banished to the bottom, or worse.
Things got so silly to the point where I made this jerk post (archive link) about one of these silly posts.
I wouldn't correct you if this was a general community where the internet gantry hangs in numbers like the multiple !linux communities, but let's keep things more factual here in !rust.
After Wedson quit months ago, no one from the Rust-For-Linux effort has quit/resigned/whatever. No one quit who is relevant to current mainline kernel development in general, either.
There is a difference between the actual Rust-For-Linux team, and Rust proponents who may write kernel code out-of-tree, or may happen to still be listed as maintainers in a dead poor GPU driver. Confusing the two is good for drama, but let's not do that here.
And the bad boy maintainer is entitled to his opinion (which I disagree with of course). An opinion which will always be more informed and relevant than 99.999% of whatever the internet gantry has been contributing.
How dare you change the click-bait title❓I mean, it's a moronix post. No one was expecting some serious reporting anyway🙂Otherwise, you could have just pointed to the mailing list thread directly (preferable).
If you're serious about creating something good/better, you should use alacritty_terminal (not to be confused with the terminal app built on top of it) for low-level (from your PoV) terminal support.
This is something zellij didn't do. And now they have "basic functionality" bugs like this one open for years.
I also wonder what made you pick screen as a baseline to improve on instead of tmux.
Oh, and
clean alldoesn't work reliably. Since trying to build inreleasemode after building indebugmode thencleaning is weirdly broken.And It's not clear from the README how to build in
releasemode without runningtest --release. And the fact that all combinations of--release-sysrootand--release --sysrootand--release --release-sysrootexist doesn't help 😉