« first day (1104 days earlier)      last day (2368 days later) » 

1:46 PM
Oh, there is a repository of design patterns after all. github.com/rust-unofficial/patterns
 
@E_net4 clearly unofficial
^_^
Also, starts with a typo: "catalogue"
This is AMERICA
> TODO convertible to Foo trait for more generic generics
That's the one we were talking about, I suppose
modulo "trait"
 
2:06 PM
@Shepmaster So? That doesn't invalidate its usefulness. Plus, it's got some good names behind the content.
@Shepmaster No THIS IS SPARTA!
 
My morning silliness is only half accepted, I see.
 
 
1 hour later…
3:22 PM
I think this is where I got the idea for IntoInputRedirection from
 
@user4815162342 ah, yeah, that makes sense because of the extra associated type
 
I'm starting to experience some fatigue in dependency updating. :(
blas has marked all of its functions as unsafe because it doesn't really do bounds check.
And hyper 0.9.x in another project was using a bad, outdated version of openssl which was not compiling.
 
3:47 PM
@Shepmaster I've now noticed that the documentation said that I should preferably implement From, not Into. I.e. I should prefer impl From<File> for InputRedirection over impl Into<InputRedirection> for File, although both would work
unfortunately it doesn't explain why, and I can't find From and Into in the book
 
4:04 PM
@user4815162342 Well, there's an implementation of Into<X> for T where X: From<T>.
I would call this a sufficient justification, weren't there to be exceptions.
 
@user4815162342 Great question... stackoverflow.com/q/29812530/155423
^_^
@kennytm with the updates!
 
that's quick response o_O
 
4:19 PM
@kennytm haha, I had the page open and noticed movement
 
hahaha
 
 
3 hours later…
7:35 PM
so, when you implement From, you get both, but when you implement Into you only get Into?
ok, that answer pretty much explains it
it's a type system thing :)
 
7:48 PM
yup!
 
8:05 PM
rustc silently fails with 3780268884 when compiling exec (pretty big, ~117MB in debug before I added new deps), I'm gonna guess it's a failed allocation?
 
3780268884 is the shell exit code?
@набиячлэвэли ^
 
@Shepmaster Quite
Google wasn't hlepful in dec nor in hex
Aааааnd same exit code in release, so it's probably not file size
 
8:32 PM
Deleted Cargo.lock twice анд it works xD
Wait no it works as long as I don't link to diesel_codegen
 
 
3 hours later…
11:03 PM
@набиячлэвэли speaking of memory usage - github.com/rust-lang/rust/issues/45457
 
Hmm, funny thing is, this doesn't look like it's OOMing nor does it happen at link time.
-Ztime-passes cuts off after 22MB on "plugin registration"
Macros 1.1 strikes again?
Even without a #[macro_use] on it, a extern crate diesel_codegen; just halts rustc :spooky:
 

« first day (1104 days earlier)      last day (2368 days later) »