John Belmonte
John Belmonte
I can work around it by replacing `...` with `yield`, but it doesn't seem that this should be necessary (and it wasn't in prior versions of Astroid). And it is...
correction: no-member works (it's no different than plain class attributes) and I guess before wanting type annotations to work for attrs classes, it should work on plain classes: ```python class...
I've prototyped a new implementation of the Ben-Haim streaming histogram in pure Python, no package dependencies. Given a max bin count of 64 (streamhist default), adding a value takes 12...
**implementation update** I improved the fill performance of the simple Python implementation and added a numba implementation: * 64 bins: streamhist 30 µs, new 6.5 µs, new_numba 2.3 µs *...
I don't believe that StreamHist uses fixed-width bins, yet is still able to have 5x faster update in pure Python. The README credits https://github.com/grantjenks/sorted_containers, if I understand correctly.
My use case is real time, and spikes from `fill_n()` batches would be unwanted. Also `fill_n()` is very slow for small arrays (probably because numpy is). ``` python -m timeit...
Here is a more fair timing of streamhist. Since my previous test filled with a constant value, the compute-intensive merging of bins was never triggered. ``` $ python -m timeit...
workaround: install a recent version of cython, and build from source ```python pip install --upgrade cython pip install git+https://github.com/MagicStack/[email protected] ```
the official prometheus Helm Chart sets `component` to `server` (based on server.name), and `app` to `prometheus`. https://github.com/helm/charts/blob/98d951ea63065349fa8a31f552376207fb6115e6/stable/prometheus/values.yaml#L541 If we don't select correctly on `component`, we'll get the wrong job. Currently...
@povilasv In the metric table of the README, it would be helpful to have a column indicating which enable flag, if any, controls the metric. Are you proposing an enable...