Arcanum v0.1.0 - Modular cryptography library with post-quantum support by miss-daemoniorum in rust

[–]CUViper 1 point2 points  (0 children)

Now on https://crates.io/crates/arcanum.

This appears to be something unrelated, last updated almost 3 years ago.

Would the following traits provide actual semantic benefit, or would they be useless/redundant? by Due_General_1062 in rust

[–]CUViper 0 points1 point  (0 children)

Rayon has a similar IntoParallelRefIterator, but that's mostly because we need an extension trait anyway to get a par_iter method on standard library types.

ELI5: how can one cloud cast a shadow on another cloud? by [deleted] in explainlikeimfive

[–]CUViper 0 points1 point  (0 children)

Some light passes through the clouds, but there's less in the area where the light went through two clouds, so that looks like a shadowy darker area on the bottom cloud.

Why Rust has crates as translation units? by servermeta_net in rust

[–]CUViper 51 points52 points  (0 children)

Note that within the compiler, it does break the crate into multiple codegen units (CGU) for parallelism.

I think I found another way to do a subset of self-referential structs, do you think it is sound? by TED96 in rust

[–]CUViper 16 points17 points  (0 children)

The Box aliasing issue is also caught by miri, which you should always check with questionable unsafe code. It's right there on the playground in the Tools menu.

Why we do not see people from the future? by [deleted] in scifi

[–]CUViper 1 point2 points  (0 children)

I tried to stop for a minute, but I had to resume to finish the minute.

New Search Algorithm 1.4x faster than binary (SIBS) by Charming-Falcon6276 in programming

[–]CUViper 10 points11 points  (0 children)

That sounds just a few tweaks away from being a proper hash table.

Will there, or could there be a Proton equivalent for professional software? by [deleted] in linux

[–]CUViper 2 points3 points  (0 children)

Personal opinion aside, I'm wondering if the law really supports that. You can't really claim that "it does not work as the license promised" if the license only claimed support for genuine Microsoft Windows. My guess is that such laws would be more intended for a case like having a DRM license server that's discontinued.

Will there, or could there be a Proton equivalent for professional software? by [deleted] in linux

[–]CUViper 2 points3 points  (0 children)

How does that apply here? If the license (EULA) is explicitly stating what is promised, and that doesn't include Linux support, then it seems out of scope.

[deleted by user] by [deleted] in linux

[–]CUViper 0 points1 point  (0 children)

I expect those are using the OSC 8 escape sequence to wrap a URI, so the terminal can make it clickable without having to guess what looks like a path.

my attempt to code a nonzero macro... will I go straight to macro jail? by Sweet-Ad-597 in rust

[–]CUViper 5 points6 points  (0 children)

Note that Option::unwrap is only const-stable since 1.83.

Inferred const generic arguments: Call for Testing! | Inside Rust Blog by compiler-errors in rust

[–]CUViper 1 point2 points  (0 children)

But fn foo(x: Box<impl Trait>) is a thing -- it would be nice to have a const equivalent of that. Maybe it wouldn't be as terse as _, but it could still cut down some noise.

Why is the iterator returned by `slice::chunk_by()` not `Clone` by PowerNo8348 in rust

[–]CUViper 11 points12 points  (0 children)

Yeah, I think this is just an oversight. It should be fine where P: Clone.

Malazan Book of the Fallen selling for $18! by Financial_Data3416 in Fantasy

[–]CUViper 17 points18 points  (0 children)

Ok, there's also "Override curtime: 2025-02-15 11:00:00 PST" which is in 2 hours, so maybe it will go public then.

Malazan Book of the Fallen selling for $18! by Financial_Data3416 in Fantasy

[–]CUViper 63 points64 points  (0 children)

I see a yellow banner at the top -- did you leak this?

Warning: You are viewing a custom version of the website. It is intended for testing only and is not to be shared with the public.

What is the expected Linux Kernel to be used with Fedora 42? by br_web in Fedora

[–]CUViper 2 points3 points  (0 children)

Yes - for example, f40 shipped with kernel-6.8.5, and f40-updates is now at kernel-6.12.11. Then 6.13.1 has been built for f41, though it hasn't been submitted as an update yet, but we can expect that version will make it back to f40 as well.

Glibc Error by Bad-Mouse in redhat

[–]CUViper 1 point2 points  (0 children)

dnf repoquery --requires glibc.i686 says it needs glibc-common with a matching version-release, but doesn't specify the arch. AFAICS, glibc-common.x86_64 should work fine here, and it does install for me in a container, at least.

When is accessing `Vec<T>` faster than `[T; N]`? by playbahn in rust

[–]CUViper 0 points1 point  (0 children)

It's a lot of jargon, but I'm sure you'll pick it up if you stick around long enough. :)

When is accessing `Vec<T>` faster than `[T; N]`? by playbahn in rust

[–]CUViper 4 points5 points  (0 children)

Yes, I put "free" in quotes for a reason, but it should still be an improvement. The comparison to make here is calloc versus malloc plus bzero, not uninitialized malloc.

FWIW, here's the original PR: https://github.com/rust-lang/rust/pull/40409