« first day (1554 days earlier)      last day (1918 days later) » 

1:40 AM
> an option borrowed lifeline i32?
wut
 
@Shepmaster probably a friend of me ^^
 
 
1 hour later…
3:12 AM
Oh hell naw.
No plagiarizing in my
 
 
7 hours later…
10:29 AM
@Lukas
 
@E_net4wisheshappyholidays
:D
 
^^
 
^^
I'd give you one of my hats, but they're no cowboy hats and I like them anyway.
 
Do you also think that this information about rev was kinda hidden? I tried finding it but it's really not very clear in the guide.
 
@LukasKalbertodt A bit, yeah. But I think it was only because there is no concrete example of rev in there.
Plus the fact that the set of possible parameters here is not aligned in a bullet list or something of the sort.
 
10:31 AM
@E_net4wisheshappyholidays Yeah, I think so. I think there was some better example some time back...
I'm still unsure what to do with my answer :P yours has more useful information in it and I wouldn't mind deleting mine, but I kinda wanna see what format of answer people prefer in this situation :P
@E_net4wisheshappyholidays Oh and also: I was fairly sure this is a dupe, but I absolutely couldn't find a matching question here in SO...
 
@LukasKalbertodt I searched for dupes meself.
I found nothing of the sort.
 
You won! :'((((
 
wow, 10 questions in the last 12 hours
 
10:49 AM
@LukasKalbertodt We're all winners in this game, don't forget it! :)
 
11:04 AM
@E_net4wisheshappyholidays Sure, my message very much meant jokingly ;-)
 
@LukasKalbertodt Let's get sirius: u into chalk yeet?
 
Does someone know where is the dup of that?
Or you can swap memory: let tmp = std::mem::replace(&mut a[1], Vec::new()): play.rust-lang.org/…. Either way, that's a duplicate. — Boiethios 1 min ago
 
shep's answer says "There are uncountably many safe things to do that the compiler unfortunately does not recognize yet. ". Is it expected that the compiler should be able to recognize it's safe in a not too far future ?
 
@DenysSéguret That depends on the "safe things", right?
 
11:17 AM
Speaking of this:
a[0].append(&mut a[1]);
in the last question
for a vec of vecs
 
This is tricky. Right now vector element borrows are not granular unless with suitable methods (split). An Index operation will just borrow the whole thing.
 
 
2 hours later…
12:55 PM
I have a hard time believing that stackoverflow.com/questions/54199125/… is not a duplicate
 
@MatthieuM. Yes it is, I'm totally sure about it.
 
you're totally sure it is a duplicate ?
I should have read here before answering then...
 
1:15 PM
Hopefully there is a good dupe target which explains that x[i] is not a valid pattern.
 
I've spent many minutes trying to be sure the doc specifies it's not one. I'm still unsure I understood all the branches of the doc and how to tell it's not one of A, or B, or C, or D which are valid outerattributes or patterns that are ok when matching on a value...
 
@DenysSéguret I'd look for what the Reference says about patterns.
 
I've read that
What's exactly the outerattribute?
 
The outerattribute of what? :(
 
1:23 PM
Those are just meta items.
 
yes
hadn't seen on my screen the # part in blue over a blue background...
 
At this part, what matters is a Pattern. And x[i] isn't a pattern.
 
1:47 PM
@DenysSéguret I doubt this will ever be possible. IndexMut is designed so that a[0] and a[1] might be the same element. How could you teach the compiler that it's OK to have &mut references to both?
(without making Vec special, preferably)
 
@trentcl Darke Magick
 
 
1 hour later…
3:10 PM
The number of issues I stumble upon when my seemingly working code fails in Rust 1.13.0 is actually significant. I'll take this as a good thing.
 
do you need 1.13 for some reason?
 
@PeterHall I just have a library with a guaranteed minimum rustc version.
If current code doesn't work in that one, it's a bug. If I bump the minimum version, then I consider that a breaking change.
 
right
 
So I've preferred to make a few tweaks to the code instead of bumping that one.
 
4:01 PM
So I made this terminal application which probably has some users as it has more than 100 stars on GH. But nobody cares enough to help me make a better code (apart the occasional comments related to clippy)
Or maybe all the starers are noobs like me and hope my code will help them ^^
 
What's your repo?
 
It works well and fast... but I'm sure the code could be much better with a deeper knowledge of Rust. Even if I hang here all the time I still didn't have much time to learn Rust
 
@DenysSéguret Or maybe they are actual users, not Rust programmers
 
I looked at the profiles. Most look like real programmers (and interestingly enough I find more go and python in their repositories than rust). Hard to tell their level in Rust
 
 
3 hours later…
7:27 PM
@E_net4wisheshappyholidays Sorry, did miss that. Ehm, no. Since I once tried to be active and make GATs happen (which I didn't, obviously), I haven't done a lot, to be honest. Except for encountering countless situation where I'd need them.
Have you looked into chalk? How is chalkification going btw?
 
@LukasKalbertodt I should be writing. :(
I didn't enter that rabbit hole yet because of this.
 
@E_net4wisheshappyholidays Your PhD thesis, right?
 
@LukasKalbertodt Right.
 
@E_net4wisheshappyholidays Man, having a PhD must be a cool feeling.
 
@LukasKalbertodt Uhhh can't feel any of that excitement tbh
 
7:30 PM
@E_net4wisheshappyholidays How much still left to go? Approximately, in percent? If one can even guess that :P
 
@LukasKalbertodt I have to send the first revision at the end of this month. Additional corrections and clarifications can be made afterwards (they should not involve new research though). I'll let you do the maths.
 
@E_net4wisheshappyholidays I see. Good luck (or rather success, productivity, ...) then! We'll talk about GATs afterwards ^_^
 
7:56 PM
@E_net4wisheshappyholidays 90% so
 
@Stargateur PFFFHAHAHAHAHA I don't think so :x
 
8:16 PM
@Stargateur @E_net4wisheshappyholidays only the second 90% to go!
 
8:32 PM
@Shepmaster 💪
 
8:51 PM
> This user seems to be plagiarizing other answers: [...proof...] – Shepmaster 17 hours ago helpful
awww yissss
DELETED
 
what wrong with people
do their think they will win anything with copy paste answer ??
 
9:18 PM
@Shepmaster Success!
 
9:36 PM
@Shepmaster by the way, any news from the "wall" ? XD
 
9:49 PM
@Stargateur ugh. Hopefully you saw the pictures of McDonalds served at the White House
 
@Shepmaster Yep. Full on 'murica mode.
Speaking of something else, is reborrow() a good method name or I'm going to get pitchfork'd?
Or maybe I'll just go for by_ref(), as also seen in std::io::Write.
...Or maybe I don't need any of this.
Thank you for being my rubber duck for now.
 
(quack)
 
10:05 PM
@Shepmaster yeah this one was so funny I mean, why not EVERYTHING else ^^
a big giant salade
and he if he want eat a mcdonald just do it
but not for sportif people xd
trump will be trump, I least he is funny (from the outside)
and to be clear, I do not judge and do not claim any politic here
 
0
Q: How do I define my own struct that contains an actix_web::HttpServer?

ddibiaseI'm working on an Actix Web binding with another project. I'm having some trouble understanding types and how to define them properly. I'd like to define a struct like this: use actix_web::{middleware, server, server::HttpServer, App, HttpRequest, Result}; pub struct Server { address: Stri...

I feel like this has to be a dupe
just not sure of what yeet
 
 
1 hour later…
11:34 PM
When a turbo fish is very long, does it become a turbo eel?
4
 
@E_net4wisheshappyholidays become turbo C++
 
@Stargateur :S I sure hope not.
 

« first day (1554 days earlier)      last day (1918 days later) »