« first day (1649 days earlier)      last day (1833 days later) » 

1:19 AM
@hellow Error checking during divided by zero
 
 
8 hours later…
9:41 AM
I guess this question could use some updating to Rust 1.0. I would do it, but I'm not qualified to answer.
 
 
3 hours later…
12:34 PM
@LukasKalbertodt thoughts on dupe of stackoverflow.com/questions/47748091/… ?
@mcarton I really got to fix my keyboard :-(
 
@Shepmaster It's alright! Given the amount of housekeeping you do around here, I think we can let one typo or two through once in a while :)
 
 
2 hours later…
3:05 PM
halp
 
 
2 hours later…
5:10 PM
@E_net4 o/
 
@Shepmaster I gave up again, unfortunately. It did feel like I was close, though.
 
@E_net4 gave up on what
 
@Shepmaster My attempts at building a Rust program for MS-DOS, in protected mode.
Got as far as to have a seemingly well structured EXE file, but it would always pagefault when run.
 
5:27 PM
@E_net4 What are you even
 
@Shepmaster Just... curious.
(I'm also dangerously nostalgic sometimes)
Heh, turns out that someone managed 16-bit real mode DOS, not long ago. github.com/Serentty/rusty-dos
 
 
3 hours later…
8:11 PM
0
A: How to put a reference to a trait object in an Option?

BobThanks for the answers above. Prior to them being posted I had an idea myself and came up with this (cut down to a minimal example that shows more or less what I'm trying to do): use std::{env, process}; use std::fs::File; use std::io::{self, BufWriter}; pub struct Parameters { pub log: Option

i'd feel bad about downvoting op's own answer, but...
 
8:27 PM
Huh. I guess I added the initial versions of CString::into_raw and from_raw.
 
9:09 PM
@Shepmaster the cast as usize seem redondant
 
9:22 PM
@Stargateur in that code from 2015?
 

« first day (1649 days earlier)      last day (1833 days later) »