Luca Palmieri

Results 278 comments of Luca Palmieri

We built `cachepot` using `cargo install --locked --git https://github.com/paritytech/cachepot`. We are using the local cache.

Sure! Environment variables: ``` RUSTC_WRAPPER: "/usr/local/cargo/bin/cachepot" CACHEPOT_DIR: "~/.cache/cachepot" CACHEPOT_ERROR_LOG: "/tmp/cachepot_log.txt" CACHEPOT_LOG: "trace" CACHEPOT_IDLE_TIMEOUT: 0 CACHEPOT_SERVER_PORT: 8001 ``` Logs when running `cachepot --start-server`: ``` [2021-12-17T11:13:15Z TRACE cachepot::cmdline] parse cachepot 0.1.0 [2021-12-17T11:13:15Z...

Hey Yatekii! Could you share the NumPy equivalent of what you are trying to implement? So that we can provide a translation 😄

Communication about `ndarray`, `ndarray-linalg` and `ndarray-stats` happens on GitHub issues and PRs more than anything else, so you are in the right place. I am in that Gitter channel as...

The inverse computation looks like this: ```rust use ndarray::array; use ndarray_linalg::Inverse; fn inverse() { let a = array![ [1., 3.], [4., 2.] ]; let inverse = a.inv().expect("Failed to invert matrix");...

I would have to play around with it a little, but you could probably use `Orthogonalizer` to do something equivalent to what `orth` is doing: you just need to append...

Classic - you write the issue and then find the solution: https://docs.rs/argon2/0.3.0/src/argon2/params.rs.html#320-339 There is a `TryFrom` implementation for `Params` from `ParamsString` when using the concrete algorithm crates. I wonder if...

Rust's floats (`f64` and `f32`) do not implement the [`Ord`](https://doc.rust-lang.org/std/cmp/trait.Ord.html) trait because of how `f64::NAN` and `f32::NAN` behave in comparisons - see this little snippet https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6190375f8d1a48bc1a885ce38981ebea If you remove Not...

Yes, that's what I meant @jturner314.

Once #9 gets merged I think we are in a good position to officially release version 0.1.0 on crates.io - what do you think? @jturner314