« first day (2401 days earlier)      last day (1073 days later) » 

5:03 AM
This may be a standard font but this doesn't look like a standard kerning. I feel like pausing between all letters when reading, with such space between them
 
 
3 hours later…
8:00 AM
@DenysSéguret It does. It selected the font Cantarell on my system for some reason, while I do have many out of the following --ff-sans variable: "system-ui,-apple-system, BlinkMacSystemFont, "Segoe UI", "Ubuntu", "Roboto", "Noto Sans", "Droid Sans", sans-serif;" :shrug:
Anyway, good morning! :-)
 
 
1 hour later…
9:01 AM
The Rust Playground is a bit slow today.
Could this be a performance regression from the lack of incremental builds?
 
Usually you can fix this kind of slowdown with a favicon
4
 
9:22 AM
@DenysSéguret Hmmm, haha
 
9:57 AM
haw haw
 
 
2 hours later…
12:34 PM
@Shepmaster So no? That only raises more questions.
 
@E_net4thejanitor not really, it just means that you've only recently noticed it :-)
 
12:59 PM
ErrorUserCode == user provided code that failed to compile. Aka a "normal" error.
The timeout categories are the bad ones
 
1:23 PM
@Shepmaster I'm not sure about the userbase of the playground, but it sure is an interesting metric to see that half of the compilations actually fail.. As if, it would be hard to write correct code in Rust ;)
 
@PeterVaro I agree on interesting, and it's something I've wondered about for a long time, but I don't know how actionable it is
I like to think of myself as a good Rust programmer
but I still make typos, get the wrong argument order, not to mention actual borrow checker errors
 
Not sure about that either, it was more of a sarcastic and at the same time genuinely wondering comment.
 
@Shepmaster Could these metrics be more fine-tuned to the kind of error? Such as syntactical, type mismatch, borrow checking, etc.
 
@E_net4thejanitor Depends on what kind of "could" you mean :-)
 
1:26 PM
The problem, right now, is that I'm already kind of stretching what I should be doing with prometheus
I can potentially make, IIRC, 1e6 different metrics buckets
so any more fine-grained detail should probably be done via offline logging scraping
but (a) I don't know that tool space (b) infra doesn't have one set up
Then there's the problem of figuring out which kind of error it was
Which would likely involve changes to how the playground invokes the compiler
 
1:40 PM
 
is not solf timeout just people reading stdin ?
or infinite loop
 
Not necessarily.
 
Those cases are included in that group
or timeout(long_time)
soft timeout == the docker command self-terminated due to a timeout
hard timeout == the playground killed the docker command from outside
 
Is there a difference to the end user?
 
soft timeouts also include cases when "hello world" timed out
@E_net4thejanitor not really. Those are mostly for me to distinguish where to look for problems
 
 
1 hour later…
3:05 PM
posted on May 11, 2021 by Mara Bos

We are happy to announce that the third edition of the Rust language, Rust 2021, is scheduled for release in October. Rust 2021 contains a number of small changes that are nonetheless expected to make a significant improvement to how Rust feels in practice. What is an Edition? The release of Rust 1.0 established "stability without stagnation" as a core Rust deliverable. Ever since t

 
"IntoIterator for arrays" 😍
Should be in 1.53 already, righty?
"Disjoint capture in closures" --> damn, so much good stuff!
 
Array party time
 
it's... Iter Array Party Time, Iter Array Party Time 🎶 🎵
> error: edition 2021 is unstable and only available with -Z unstable-options.
aww
 
3:20 PM
@Feeds But where the hell is my GAT? Or my macro 2.0? :sob:
 
ye gimmi GATs
 
@LukasKalbertodt AND macro 2.0.
 
@PeterVaro To be honest, I hardly followed that feature :D Are we talking declarative macros?
I am currently more interested in getting some of the proc macro pain points resolved. Maybe I'm writing too many proc macros ^_^
 
We're talking about the one true way of having macros, no more decl_macro.
Proc macros are the way to go, but they should be nicely wrapped up by the macro keyword
I don't know if that's what people call officially macro-2.0, but I sure do
I want nicely namespaced, same crate, completely integrated proc macros, and only one way to do macros.
 
3:31 PM
But is there even a tracking issue for that?
 
I think what people mean by "macro 2.0" is the decl macro 2.0, which is basically just a slightly different syntax for macro_rules plus proper namespacing. But as I said: I hardly know anything about this topic :P
but oh gosh yeah, same crate proc macros? plsss
 
I concur - "macros 2.0" is just about declarative macros AFAIK
 
4:06 PM
Can it be that GATs happening is a bit more realistic?
 
@LukasKalbertodt This looks really nice!
> This will especially be a problem once implicit format arguments are stabilized. That feature will make println!("hello {name}") a short-hand for println!("hello {}", name).
 
ooohhh, "hello {name}" is shiny :-)
 
4:22 PM
But why did I never see anything about the feature resolver 2?
(and why us there no kink here to the plan 2021 ?)
 
@E_net4thejanitor I think we're getting closer. In case you meant that.
 
4:46 PM
@DenysSéguret what kind of "never"?
 
@DenysSéguret It was released in 1.51.0.
I imagine that only a few projects will greatly benefit from the new resolver.
 
I'll have to look but it may let me move some feature selection I do with a script into cargo
 
 
4 hours later…
8:21 PM
stackoverflow.com/q/67493190/155423 - too many questions in one
 
8:33 PM
@DenysSéguret didn't you write a crate for this? stackoverflow.com/questions/67493190/…
that I kept saying should be called .tap?
oh, hey
 
 
1 hour later…
9:42 PM
Jan 23 at 6:51, by Denys Séguret
@Shepmaster You made me look. There's a tap crate which does exactly the same
 

« first day (2401 days earlier)      last day (1073 days later) »