James Thomas Moon

Results 69 comments of James Thomas Moon

FWIW `cargo bench` still prints with color with despite `CARGO_TERM_COLOR=never` and `--color=never`. ### Steps to reproduce For some project with benches ```text $ CARGO_TERM_COLOR=never cargo bench --benches --quiet --color=never ```...

> I didn't want to spam the system log with some cryptic or redundant successful HTTP response I prefer to know when such updates have run. The per 30 minute...

> Would it be sufficient to have this documented properly? Perhaps a user hint describing that command `journalctl --grep dietpi-ddns` would be sufficient. The hint could be placed somewhere in...

[Noted in this Stackoverflow Answer](https://stackoverflow.com/a/76410068/471376).

> There's the `content_size` flag in the frame format header, but it's existence is optional. How do I access the `content_size` for some file? Can you complete this code example:...

> There's the content_size flag in the frame format header, but it's existence is optional... So it would be the sum of the content_size. > current_frame_info in FrameDecoder is private...

Thanks @PSeitz . I got this working. I was not setting the length of the passed buffer (see https://github.com/rust-lang/rust/issues/96915). This code works (notice the call to `resize`) ```rust use std::fs::File;...

Makes sense. Thanks for the example code 🙏