Thomas Hurst
Thomas Hurst
Wasted a fair bit of time trying to work out why my ElasticSearch importer was breaking because of this - I have PostgreSQL array types which are behind Sequel's [Array-delegating...
I ran into a similar difficulty while updating [tarssh](https://github.com/Freaky/tarssh) to Tokio 0.3 - I was [setting send/recv buffers](https://github.com/Freaky/tarssh/blob/f6f33e2a888f9549c2549fc320224d15e684c6ea/src/main.rs#L112-L116) on the `TcpStream` from an `accept()` call, but there seems no way...
Another option might be to have javavmwrapper support a command to output its calculated JAVA_HOME. JRuby's launchers could then try that before falling back to the current symlink-chasing, and would...
> Is this now the standard way that FreeBSD handles `java` commands? It is - all the JVM's in ports have it as a runtime dependency to provide `$PREFIX/bin/java`, which...
I've opened https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259468 to see about adding this functionality to javavmwrapper.
My [filesize crate](https://crates.io/crates/filesize) may be of interest - it's already used by several Rust `du`-alikes and abstracts across Windows and Unix.
Perhaps [`os_str_bytes`](https://crates.io/crates/os_str_bytes) could be of use.
`argh` is fundamentally `&str`-driven: https://github.com/google/argh/blob/e59f2c8c7869619253902e0b42545787b3ac912a/src/lib.rs#L188 I mentioned `os_str_bytes` because it looks useful for argument parsing, though I suspect the simplified approach `argh` takes makes it less important.
FWIW for [monotime](https://github.com/Freaky/monotime) I just went with `CLOCK_UPTIME_RAW` for macOS and `CLOCK_MONOTONIC` for everything else. I only *just* justified the former on the basis of: 1. It benchmarked faster on...
What I said but really this time. 