Logan Collins
Logan Collins
essentially all of the algorithms in this crate are poorly suited to unicode because they iterate over the `char`s in the string instead of the graheme clusters. https://crates.io/crates/unicode-segmentation is the...
See https://github.com/maxbachmann/rapidfuzz/issues/13 for generous details from another fuzzywuzzy compatible project author. Essentially, `partial_ratio` attempts to align strings optimally, then take the ratio of the aligned string subsets. The method of...
The wisdom for a while has been "anyhow" for binaries, "thiserror" for libraries. The macros from thiserror are simply and non-magic enough that I feel comfortable using them normally. _Originally...
The only standard library uses we currently have are `HashSet`, for which there are [excellent replacements](https://crates.io/crates/hashbrown/0.1.0), and `std::cmp::{min, max}` which are obviously functions we can live without.
fixes #24 fixes #22 fixes #20 fixes #7 (mostly - once you have extractWithoutOrder, the rest are basically just 'get top N' which can be done by callers) #6 might...
https://blog.rust-lang.org/2020/11/19/Rust-1.48.html#easier-linking-in-rustdoc ```rust pub mod foo { /// Some docs for `Foo` /// /// You may want to use `Foo` with [`Bar`]. /// /// [`Bar`]: ../bar/struct.Bar.html pub struct Foo; } pub...
I believe this is expected as `_slf` in `fn wrap` in `py_fn_impl!` is not passed to our function. However, even once I started passing `_slf` to my function, it seemed...
As title. This fixes some issues surrounding debugging outside scripts, etc. In particular, the BABEL_CORE script include could use this. It should probably be configurable for the very rare case...
``` try: import jsx_props self.default_props = jsx_props.__dict__.get('init%s'%name, dict) except ImportError: pass ``` Do not silently swallow import errors in non-prod environments.
fixes #22 Assuming `importlib.util.find_spec` is a suitable method for these purposes. I'm not sure what bottle-react's Python version guarantees are - this is certainly not in Python 2.7.