Thayne McCombs

Results 397 comments of Thayne McCombs

`wtype -k F5`

FWIW, Systemd has this description for how `EnvironmentFile` is interpreted: ``` The text file should contain newline-separated variable assignments. Empty lines, lines without an "=" separator, or lines starting with...

hmm, it appears that mac won't actually let you create a file with an invalid utf-8 file name, and from some quick research windows might be similar? For now I've...

I didn't see that other PR. I'm doing a review of it now. Overall, it looks pretty similar.

I think this issue is related to https://github.com/time-rs/time/issues/380#issuecomment-1336212898 Basically in order to mitigate https://github.com/time-rs/time/issues/293, the time crate will return an error from `time::OffsetDateTime::now_local()` if there are multiple threads in the...

How about adding two functions, an `inputln` that reads a line of input without flushing stdout, and a `prompt` function that prints a prompt and flushes stdout before reading input?...

actually, it would probably be better for `prompt` to be a macro: ```rust macro_rules! prompt { ($args:tt) => { print!($args); io::stdout().flush().and_then(|_| inputln()) } } ``` so that you can use...

Personally, I think that ```rust let guess = prompt!("Enter a number: ")?; ``` is a also more clear than, ```rust print!("Enter a number: "); std::io::stdout().flush().unwrap(); let guess = io::inputln().expect("Failed to...

> However, I don't think a deny-by-default lint is a good idea. Some types can just be too cumbersome to type, and I think we should leave this decision up...