« first day (1992 days earlier)      last day (1496 days later) » 

10:39 AM
The message you get when you try to cargo publish your crate and it's too big could be improved. It could suggest to run cargo package --list so that you notice you're publishing cumbersome things you didn't want to
 
 
5 hours later…
thx google
 
Also them
 
3:30 PM
@Shepmaster What ? Did you switch to Go ? Good idea, Rust is too complex
 
In case you folks missed it, a New Question Close Experience was announced.
The controversy is in the proposed auto-reopening of questions.
 
let ours = rust_code::parse(s);
let theirs = go_code::parse(s);

match (ours, theirs) {
(Ok(_), Err(e)) => {
panic!("We succeeded, Go failed: {}", e);
}
(Err(e), Ok(_)) => {
panic!("We failed, Go succeeded: {}", e);
}
as a hint :-)
 
I don't get this answer, it basically tells use function instead of a closure, stackoverflow.com/questions/60897823/…
I suspect that answer might get influenced by my comment, so I guess I've influenced from the answer, but i would solve the issue with this way, i am confused should i just add counter answer or just propse: play.rust-lang.org/…
 
Is there a dupe to the recent Q?
 
4:41 PM
@E_net4removesmeta-commentary strange I have no strong opinion
let's test
would be better to improve notification feature...
@Ă–merErden why people bother of this in Rust... even in C it's stupid
people never change
 
@Stargateur You mean the question? I don't know the use case, i just assumed this is minimized example for the problem
What's it called in C ?
 
4:57 PM
? it's not called anything
it's just why bother of address of variable on the stack
it's implemented behavior
 
@Stargateur Yes but i don't know, it could contain some converter logic(OP needed to define this logic explicitly) or some API expects a closure as input.
 
5:46 PM
@Shepmaster Is it possible to configure playground to bring in a version of a crate from git or will I have to change code for that?
 
6:00 PM
@PeterHall not a change
 
@Stargateur Is it through the overrides toml?
 
ah you mean a local build playground ?
maybe
 
@Stargateur yeah
 
 
3 hours later…
8:50 PM
Thanks @Stargateur. Could this be a bug in the question? codewars.com/kata/544aed4c4a30184e960010f4/rust The question implies that the value of the Err will be &str but also dynamically generated. — Salim Fadhley 9 mins ago
The kata does say "use [...] Result<Vec<u32>, String> in Rust". — trentcl 8 mins ago
 
Come on folks, we can close this much faster.
 
@E_net4removesmeta-commentary I don't read there question anymore
 
9:07 PM
can't wait the question to be instantly reopen by OP :p
 
 
3 hours later…
11:44 PM
@PeterHall if you are building it yourself... you'll be building a docker image. There's a Cargo.toml that's copied in; so if it's accessible from there, then seems like it.
 
@Shepmaster The Cargo.toml is generated?
 
@PeterHall -ish. The Cargo toml is built by the top-crates utility in the same repo. Then it's checked in. I run the util by hand "every so often"
 
Ah. Ok so I can just edit that
 
yep
and use the normal git specification
I wasn't sure if you needed a private repo or something
 

« first day (1992 days earlier)      last day (1496 days later) »