David Horner

Results 65 comments of David Horner

ah. I see. yes that's right I did move on. i didn't glean anything actionable from the comment you linked. if someone has an idea to try.... I'm ears.

I have committed code that does left click toggle on(green)/off(red) and right click exits. https://github.com/olback/tray-item-rs/compare/master...davehorner:tray-item-rs:master I do not think it is PR ready but I wanted to get some feedback...

its been a minute since I touched this; and I think I felt it wasn't ready at the time and still have concerns with changing the api without fixing all...

testing in show-image-rs repo. ``` set LIBTORCH_USE_PYTORCH=1 set LIBTORCH_BYPASS_VERSION_CHECK=1 ``` I had to update tch dep to in Cargo.toml to 0.14.0 to get it to work and now I'm on...

I'm running on windows. I have also had problems with the server hanging on "salvo_core::server: wait for all connections to close" which never seems to return. I have a endpoint...

I forked and that works fine for testing modifications. I am able to force close and exit the app, but I am still holding the port open after termination when...

I think the detached process is holding the socket open from inheritance. ``` use windows::Win32::Foundation::HANDLE; use windows::Win32::System::Threading::{SetHandleInformation, HANDLE_FLAG_INHERIT}; fn disable_handle_inheritance(socket_handle: HANDLE) -> Result { unsafe { SetHandleInformation(socket_handle, HANDLE_FLAG_INHERIT, 0); }...

I implemented ``` #[cfg(windows)] impl AsRawSocket for TcpAcceptor { fn as_raw_socket(&self) -> std::os::windows::io::RawSocket { self.inner.as_raw_socket() } } ``` and tried setting ``` let raw_socket = ipv4_listener.as_raw_socket(); println!("Raw socket handle: {}",...

I'm trying to understand how to do the argument parsing using getargs and take on these faster characteristics. I was looking for a better way than what I have. If...