John Simon
John Simon
I poked at your code for a while, and I don't believe it's possible to express what you want in Rust's type system right now (though I'd be happy to...
If you want to preserve all capabilities of the original generator, why not just return a concrete `Gen`?
Good catch, this is just an oversight, there's no reason it couldn't exist. I'd accept a PR for this, otherwise I'll try to get to it myself at some point.
I'm interested in this. When I destructure an array I like to name all the values even if I don't use them, for clarity. Example: ```ts function findByKey(haystack: Array, needle:...
Here's a drop-in replacement `event!` macro that supports dynamic levels. I stuck this at the top of my crate and I'm using it instead of importing the real `event!`. ```rust...
I think it makes sense for it to be possible. It's a nice elegant way to describe how to read the same type in different ways: ```rust let str1 =...
We ended up solving the problem by putting a call to this function at the end of our scripts: def silence_stdout_until_process_exit(): """ Upon process exit, Sentry sometimes prints: Sentry is...
https://github.com/getsentry/raven-python/blob/a698fc406d2e0f26616f0163b2b22e1a3a5b30f5/raven/transport/threaded.py#L62 ```diff timeout = self.options['shutdown_timeout'] - - # wait briefly, initially - initial_timeout = min(0.1, timeout) + initial_timeout = self.options['initial_timeout'] if not self._timed_queue_join(initial_timeout): ``` Who will be the hero? ---...
I understand. That's an unfortunate limitation. Thanks for the explanation and workaround 👍
I think I might understand what @coolit was trying to say. Let's say you hover your mouse over the top border of a window. Windows will set the cursor to...