Jason Swails
Jason Swails
I have it working on my dishwasher. Haven't found many useful things to do with it yet. My nest hub announces the dishes are clean via tts (when time left...
Yes, it should be thread-safe. If it's not, that's a bug. That said, in multithreaded applications I've written utilizing this library, I usually instantiate a separate connection for each worker...
What version of OpenMM are you using?
What compilers (with versions) are you using?
CVEs are [tracked vulnerabilities](https://cve.mitre.org/) in commonly used software. Three of them affect shared libraries that pytraj currently links to/brings in (@JoeGardner000 I assume this is conda-forge? PyPI? What repository are...
Every Python unit test framework I've used before that has provided comparison functions (nose and unittest) has used the pattern `comparator(actual, expected)`. `assert_that` seems absolutely crazy in its silence. If...
> It wouldn't be very pythonic to require a boolean type, It's also not pythonic to do `isinstance` checks when duck typing is more aligned with the "Zen of Python"....
Ah, you let `matcher` be `reason` when not an instance of `Matcher`. I think this function could be made substantially safer without adding a ton of complexity. I'll post a...
> If only [`singledispatch`](https://docs.python.org/3/library/functools.html#functools.singledispatch) allowed dispatching on the 2nd argument, that would be _much_ nicer. Well you can, kind of: ```python def assert_that(arg, matcher=None, reason=None): return _assert_that(matcher, arg, reason) @singledispatch...
It lets you break up the logic and write cleaner functions for the individual situations. In my opinion, there are 5 different scenarios that should be handled independently: 1. `arg`...