fix: fromMask of image containing only '1'

close: https://github.com/image-js/image-js-typescript/issues/287

I don't understand. Tests are not failing


Bootstrap rhel nodes

You know you want to be able to bootstrap RHEL. Make it happen.

Start with CentOS 6.7, https://wiki.centos.org/HowTos/NetworkInstallServer

CentOS 7: https://github.com/jjasghar/pxe_dust-cookbook/pull/16


after editing name, the old slug errors

example: I fixed 'newsletterstah' to be 'newslettersstash'
the link in the audit log points to 'newsletterstah', and navigating to that link gets an application error.
2 possibilities to fix this:
1- audit log should provide working link to new slug
2- keep history of old slugs, and redirect them to the new slugs

I feel like the audit system is the part that needs the rework the most. The 'audited object' should be some kind of polymorphic association. Hard linking to things is just going to cause headaches now and down the line. The hard linking is kind of systemic of the way the routing's been done in this project though (manually setting each route instead of RESTy/resource-y style). Which isn't to say the current style is "wrong", it just makes things more somewhat more complicated once you're (somewhat needlessly) working outside 'the rails way'.

@wonderbread I agreed about the audit model not being super thought through.
Personally, I'm not a fan of the way rails resources abstracts away a very simple route mapping file (for the sake of brevity).
I guess it's a matter of taste, but I prefer an explicit routing file, where I can see exactly where each path goes.
I also try to avoid using built in url helpers in rails. As more functionality moves to JS, I found it's much simpler just making your routes a static part of the API, so you can reference them without worrying about them changing (which web apps shouldn't ever do anyways).

i think the real bug here is that set_slug should only be set on after_create not after_save

fixed via 98ef0153850e50dc0e862c9677c56cdd59e865b6


ModuleNotFoundError: No module named 'neo4j.bolt'

bash$ pybolt
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/pybolt", line 33, in <module>
    sys.exit(load_entry_point('neo4j==4.2.0', 'console_scripts', 'pybolt')())
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 473, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2447, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2453, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'neo4j.bolt'

dev-db/neo4j-community-4.0.4
dev-python/neo4j-4.2.0
Operating System: Pentoo/Gentoo
Steps to reproduce
python3.7 setup.py build -j 4
running build
running build_py
creating /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/routing.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/packstream.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/meta.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/exceptions.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/debug.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/data.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/conf.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/api.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/addressing.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/_exceptions.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
copying neo4j/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j
creating /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
copying neo4j/work/transaction.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
copying neo4j/work/summary.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
copying neo4j/work/simple.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
copying neo4j/work/result.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
copying neo4j/work/pipelining.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
copying neo4j/work/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work
creating /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
copying neo4j/time/metaclasses.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
copying neo4j/time/hydration.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
copying neo4j/time/clock_implementations.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
copying neo4j/time/arithmetic.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
copying neo4j/time/__main__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
copying neo4j/time/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time
creating /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/spatial
copying neo4j/spatial/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/spatial
creating /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io
copying neo4j/io/_common.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io
copying neo4j/io/_bolt4.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io
copying neo4j/io/_bolt3.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io
copying neo4j/io/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io
creating /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/graph
copying neo4j/graph/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/graph
warning: build_py: byte-compiling is disabled, skipping.

>>> Source compiled.
>>> Test phase [not enabled]: dev-python/neo4j-4.2.0

>>> Install dev-python/neo4j-4.2.0 into /var/tmp/portage/dev-python/neo4j-4.2.0/image
 * python3_7: running distutils-r1_run_phase distutils-r1_python_install
python3.7 setup.py install --skip-build --root=/var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7
running install
running install_lib
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/graph
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/graph/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/graph
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io/_bolt3.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io/_bolt4.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/io/_common.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/spatial
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/spatial/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/spatial
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time/__main__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time/arithmetic.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time/clock_implementations.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time/hydration.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/time/metaclasses.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time
creating /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work/pipelining.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work/result.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work/simple.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work/summary.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/work/transaction.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/__init__.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/_exceptions.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/addressing.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/api.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/conf.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/data.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/debug.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/exceptions.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/meta.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/packstream.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
copying /var/tmp/portage/dev-python/neo4j-4.2.0/work/neo4j-4.2.0-python3_7/lib/neo4j/routing.py -> /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/graph/__init__.py to __init__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io/__init__.py to __init__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io/_bolt3.py to _bolt3.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io/_bolt4.py to _bolt4.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/io/_common.py to _common.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/spatial/__init__.py to __init__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time/__init__.py to __init__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time/__main__.py to __main__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time/arithmetic.py to arithmetic.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time/clock_implementations.py to clock_implementations.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time/hydration.py to hydration.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/time/metaclasses.py to metaclasses.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work/__init__.py to __init__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work/pipelining.py to pipelining.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work/result.py to result.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work/simple.py to simple.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work/summary.py to summary.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/work/transaction.py to transaction.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/__init__.py to __init__.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/_exceptions.py to _exceptions.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/addressing.py to addressing.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/api.py to api.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/conf.py to conf.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/data.py to data.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/debug.py to debug.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/exceptions.py to exceptions.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/meta.py to meta.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/packstream.py to packstream.cpython-37.pyc
byte-compiling /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j/routing.py to routing.cpython-37.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/neo4j-4.2.0/temp/tmp5jn77_x0.py'
/usr/bin/python3.7 /var/tmp/portage/dev-python/neo4j-4.2.0/temp/tmp5jn77_x0.py
removing /var/tmp/portage/dev-python/neo4j-4.2.0/temp/tmp5jn77_x0.py
writing byte-compilation script '/var/tmp/portage/dev-python/neo4j-4.2.0/temp/tmpq5uf1b58.py'
/usr/bin/python3.7 /var/tmp/portage/dev-python/neo4j-4.2.0/temp/tmpq5uf1b58.py
removing /var/tmp/portage/dev-python/neo4j-4.2.0/temp/tmpq5uf1b58.py
running install_egg_info
running egg_info
writing neo4j.egg-info/PKG-INFO
writing dependency_links to neo4j.egg-info/dependency_links.txt
writing entry points to neo4j.egg-info/entry_points.txt
writing requirements to neo4j.egg-info/requires.txt
writing top-level names to neo4j.egg-info/top_level.txt
reading manifest file 'neo4j.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.class' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
no previously-included directories found matching 'tests'
writing manifest file 'neo4j.egg-info/SOURCES.txt'
Copying neo4j.egg-info to /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python3.7/site-packages/neo4j-4.2.0-py3.7.egg-info
running install_scripts
Installing pybolt script to /var/tmp/portage/dev-python/neo4j-4.2.0/image/_python3.7/usr/lib/python-exec/python3.7
 * Using python3.7 in global scope
 * python3_7: running distutils-r1_run_phase distutils-r1_python_install_all
>>> Completed installing dev-python/neo4j-4.2.0 into /var/tmp/portage/dev-python/neo4j-4.2.0/image

 * Final size of build directory: 1100 KiB (1.0 MiB)
 * Final size of installed tree:  1364 KiB (1.3 MiB)

 * Verifying compiled files in /usr/lib/python3.7/site-packages

The error message is correct. There is indeed no module called neo4j.bolt in the official driver.
I'm not sure what you are attempting to run here exactly...
bash$ pybolt
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.7/pybolt", line 33, in <module>
    sys.exit(load_entry_point('neo4j==4.2.0', 'console_scripts', 'pybolt')())
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 473, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2447, in load
    return self.resolve()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2453, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'neo4j.bolt'

... but there is no pybolt executable bundled with the driver either. This is not our code causing the error.

The undocumented pybolt executable was removed in Neo4j 4.0. The corresponding entry point should have also been removed, but appears to have been left hanging. This will be bug fixed and removed.
For command line usage, please use the Cypher Shell instead.


Unable to build

Sail Version: 1.10.1
Laravel Version: 8.57.0
PHP Version: 7.4
OS: Windows WSL2(ubuntu 18.04)

Description:
Got error on sail build
not found
not found
[+] Building 1.9s (2/3)
[+] Building 1.9s (3/3) FINISHED
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => ERROR [internal] load metadata for docker.io/library/ubuntu:21.04                                              1.8s
------
 > [internal] load metadata for docker.io/library/ubuntu:21.04:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: ``

When update Dockerfile and make FROM ubuntu:20.04 instead  FROM ubuntu:21.04 got another error  related with php installation

#6 27.12 Reading package lists...
#6 27.88 Reading package lists...
#6 28.58 Building dependency tree...
#6 28.73 Reading state information...
#6 28.83 Some packages could not be installed. This may mean that you have
#6 28.83 requested an impossible situation or if you are using the unstable
#6 28.83 distribution that some required packages have not yet been created
#6 28.83 or been moved out of Incoming.
#6 28.83 The following information may help to resolve the situation:
#6 28.83
#6 28.83 The following packages have unmet dependencies:
#6 28.92  php8.0-bcmath : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-cli : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92               Depends: php8.0-opcache but it is not going to be installed
#6 28.92               Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92               Depends: libxml2 (>= 2.8.0) but it is not going to be installed
#6 28.92  php8.0-curl : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-dev : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92               Recommends: pkg-php-tools but it is not going to be installed
#6 28.92  php8.0-gd : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-igbinary : Depends: php8.0-common but it is not going to be installed
#6 28.92  php8.0-imap : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-intl : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92                Depends: libicu67 (>= 67.1-1~) but it is not installable
#6 28.92  php8.0-ldap : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-mbstring : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-memcached : Depends: php8.0-common but it is not going to be installed
#6 28.92  php8.0-msgpack : Depends: php8.0-common but it is not going to be installed
#6 28.92  php8.0-mysql : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-pcov : Depends: php8.0-common but it is not going to be installed
#6 28.92                Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92  php8.0-pgsql : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-readline : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-redis : Depends: php8.0-common but it is not going to be installed
#6 28.92  php8.0-soap : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92                Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92                Depends: libxml2 (>= 2.7.4) but it is not going to be installed
#6 28.92  php8.0-sqlite3 : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92  php8.0-swoole : Depends: php8.0-common but it is not going to be installed
#6 28.92                  Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92  php8.0-xdebug : Depends: php8.0-common but it is not going to be installed
#6 28.92                  Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92  php8.0-xml : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92               Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92               Depends: libxml2 (>= 2.9.0) but it is not going to be installed
#6 28.92               Depends: libxslt1.1 (>= 1.1.25) but it is not going to be installed
#6 28.92  php8.0-zip : Depends: php8.0-common (= 8.0.10-1+ubuntu21.04.1+deb.sury.org+1) but it is not going to be installed
#6 28.92               Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
#6 28.92               Depends: libzip4 (>= 1.7.0) but it is not installable
#6 28.93 E: Unable to correct problems, you have held broken packages.
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2     && mkdir -p ~/.gnupg     && chmod 600 ~/.gnupg     && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C     && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu hirsute main" > /etc/apt/sources.list.d/ppa_ondrej_php.list     && apt-get update     && apt-get install -y php8.0-cli php8.0-dev        php8.0-pgsql php8.0-sqlite3 php8.0-gd        php8.0-curl php8.0-memcached        php8.0-imap php8.0-mysql php8.0-mbstring        php8.0-xml php8.0-zip php8.0-bcmath php8.0-soap        php8.0-intl php8.0-readline php8.0-pcov        php8.0-msgpack php8.0-igbinary php8.0-ldap        php8.0-redis php8.0-swoole php8.0-xdebug     && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer     && curl -sL https://deb.nodesource.com/setup_16.x | bash -     && apt-get install -y nodejs     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -     && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list     && apt-get update     && apt-get install -y yarn     && apt-get install -y mysql-client     && apt-get install -y postgresql-client     && apt-get -y autoremove     && apt-get clean     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*]: exit code: 100

Steps To Reproduce:
open existing project in terminal then
composer require laravel/sail --dev
php artisan sail:install --with=mysql
in my wsl2 ubuntu go to project dir and type
alias sail='bash vendor/bin/sail'
sail build

Solve it with downgrade sail
composer require laravel/sail:^1.7.0
php artisan sail:install
and in ubuntu terminal
sail up --build


invalid_request

Hi @stevenalexander!
I'm trying your example.
The node app starts like expected but when trying to click on authenticate I'm redirected to:
GET https://my-alias.auth.eu-central-1.amazoncognito.com/login/?response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback&client_id=234lfvjv4vtdocdrs36tik551m
and finally get an error: "invalid_request"
I've followed your guide in setting up cognito. Do you know what I missed?

solved... => there was a typo in the config


Distributed Chaos Engineering link does not work

https://www.youtube.com/watch?v=8xIeu4S-Cro

I removed the entry! Thank you for letting me know!


Binance Gekko recvWindows = 60000. Binance actually recommends < 5000

Note: for support questions, please join our Discord server

I'm submitting a ...
[ x ] bug report
[ ] feature request
[ x ] question about the decisions made in the repository

Action taken (what you did)
Looking at Binance API.
An additional parameter, recvWindow, may be sent to specific the number of milliseconds after timestamp the request is valid for. If recvWindow is not sent, it defaults to 5000.
Serious trading is about timing. Networks can be unstable and unreliable, which can lead to requests taking varying amounts of time to reach the servers. With recvWindow, you can specify that the request must be processed within a certain number of milliseconds or be rejected by the server.

Recommended to use a small recvWindow of 5000 or less!

Expected result (what you hoped would happen)
Im assuming it should be 5000 as I cannot find where this suggested 60000 is?

Actual result (unexpected outcome)
Gekko binance.js //line 27
recvWindow: 60000, // suggested by binance (cant find any suggestions on this actually infact its the exact opposite of what is suggested)

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Was this a typo? Am I not understanding something?

Would there be any downside to gekko if I switched my window to the default of 5000?

Serious trading is about timing.

Not with Gekko, this 100% depends on the type of trading you do. Gekko is not designed to be fast. The fastest Gekko can be (even before doing an actual trade) is 1 minute precision. However most people actually use it at hourly or daily precision. Reacting milisecond fast is only necesarry for a different kind of trading relient on orderbooks, microstructures, etc.

I actually rather turn the number up than down. A ton of users are still having problems, see #1885 for example.

Would there be any downside to gekko if I switched my window to the default of 5000?

A ton of people encountering more errors since they are on slow wifi on the other side of the world (binance is hosted in japan).

I'm open to discussing this, but please let's do it on the forum: https://forum.gekko.wizb.it
There is a reason this number is so high right now, until we change that this is intentional and not a bug.

Not sure what #1855 has to do with this? Not sure what your saying here at all. But alright. I'm not on WiFi and my connection isn't slow.


xchange-idex has no tests or examples

Tried to write a simple test but encountered multiple bugs and design issues.
Please fix. @jnorthrup

I have been working with The AuroraDev team and had to hold off on pursuing this to completion due to a bit of rapid backend redesign under the load.  there were some crucial test phase details that required a testnet instance which never materialized in the last mile of implementing trades and verifying order books.
my own personal usecases focus on the UserAccountInfo featureset and as mentioned, this is a backport of the version i use for those features.
it is reasonable to get in touch with the auroradev team vie telegram and get the latest updates and see if they will disclose the API revisions
I took this up on a bounty because I wrote it for the mentioned usecases anyways, and the orderbook was disabled and hasn't to my knowledge ever been turned back on.
due to the easily juxtaposed currencies in trades, I disabled those soas to save someone the heartache of liquidating an asset when they intended a small test trade.  there may yet be a testnet they will provide access to however there were some priorities that took precedence over the Xchange module rewrite

@trixprod apoligies for the NPE, btw, no that seems unlike the intended push.  it may be some time before I can address this.
other matters pulled me away from this and I wanted to push the in-testing progress and pick this up when the auroradev team had more cycles to address the API

Worth putting an explanatory exception in the code or somewhere really obvious to indicate that this implementation isn't working atm?  I can also confirm that this NPEs if you try and create an IdexExchange.
Tempted to just put in a PR which throws if you attempt to instantiate IdexExchange, unless there's anyone successfully using this for anything...

There was a version submitted prior to the style guide priorities that
ensued.  I'm not able to give this much time right now but I am surprised
that instantiation isn't working.
On Tue, Jun 12, 2018, 5:45 AM Graham Crockford<EMAIL_ADDRESS>wrote:

Worth putting an explanatory exception in the code or somewhere really
obvious to indicate that this implementation isn't working atm? I can also
confirm that this NPEs if you try and create an IdexExchange.
Tempted to just put in a PR which throws if you attempt to instantiate
IdexExchange, unless there's anyone successfully using this for
anything...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChange/issues/2612#issuecomment-396410502, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEfKmJ77GyX6Xyxd8yweGtB9pUR5X79ks5t7vMmgaJpZM4UOy3u
.

NPE and some design issues fixed by request #2693


Change error response to be well-formed JSON

Added quotes to the error response, so it becomes well formed JSON. This
allows the error to be captured in the client code by using JSON.Parse.

Thank you @gruas
(I've also reviewed dotnet and java and they both seem to be using quotes / wellformed JSON)


Test and add Facepager to Facebook Tools

https://twitter.com/jajuenger/status/1207024036032786432?s=20

This app is actually on my "Check later for improvements" list :D! He finally got approved which is pretty cool. Before the API wrapping kept failing and therefore it didnt make the List. I will work through the app in the following week. I am still in the mids of the Instagram tests.

I worked through the App and it amazingly works for Twitter, Youtube and Facebook. The documentation is very good too, it has a GUI running on Linux,Mac and Win, which makes it the very first GUI program we have :). I am still not done with the ocumentation, but I will add it to our list. I

Great, thank you!


TopHits aggregation is missing DocValueFields

Currently, Nest only supports DocValueFields in InnerHits, however, this is also a valid argument for TopHits aggregations. However, I see that in Nest there is the option to specify FieldDataFields which DocValueFields will ultimately make use of if available. FieldDataFields is currently not listed as a supported per hit feature in the documentation. https://www.elastic.co/guide/en/elasticsearch/reference/6.2/search-aggregations-metrics-top-hits-aggregation.html
Should this be renamed or is there a reason for using FieldDataFields?

Thanks for opening @jtreher. This is a bug; I'll add DocValueFields and deprecate FieldDataFields


DNSRecord does not support IPv4-mapped IPv6 addresses

Using 3.5.5
A toString()of the record prints:
[IPv6Address@633075331 type: TYPE_AAAA index 28, class: CLASS_IN index 1-unique, name: test ttl: '3599999/3600000' address: ['<IP_ADDRESS>']]
java.lang.ClassCastException: class java.net.Inet4Address cannot be cast to class java.net.Inet6Address (java.net.Inet4Address and java.net.Inet6Address are in module java.base of loader 'bootstrap')

	at javax.jmdns.impl.DNSRecord$IPv6Address.getServiceInfo(DNSRecord.java:285)

Test case demonstrating this

Fixed with https://github.com/jmdns/jmdns/pull/209.


Gemini Compatibility with Outlines

Is gemini compitable with outlines. if not then this integration is very useful.

What would you like to do with Outlines that you can't do with the API already?

Yes, outlines works with Gemini; see our blog post for an example.

Sorry, misread that!  Reopening.

@rlouf is right, Gemini is capable of doing anything if given right set of instructions. need to focus on prompt engineering for gemini


[ART-5074] remove CI test result in comment

the test result will show in the details link of the test job in the merge box, no need to also add in the comment

tested the label function https://github.com/openshift/elliott/compare/5cb0e5cacecc14deca058f2cbfbff93a60261b9c..b793cb4e71f733a70e6be929d3323baffe2fc7f9
and move the add/remove CILabel function in https://github.com/openshift/art-ci-toolkit/pull/19

replace the work of https://issues.redhat.com/browse/ART-6367


TS 5.5.2: JavaScript and TypeScript language service has been disabled after crashing repeatedly

🔎 Search Terms
JavaScript and TypeScript language service has been disabled after crashing repeatedly
🕗 Version & Regression Information

This is a crash
This changed between versions SDK 5.3 and NuGet 5.5.2

TS language server crashes after I upgraded my csproj:s (from 5.3 SDK) to use NuGet version of TS (v 5.5.2).
I've restarted VS, cleaned and recompiled.
Any idea how I can track down what the problem might be?
VS Community 2022 (64-bit). Version 17.10.3
Windows 11.
⏯ Playground Link
No response
💻 Code
// Your code here

🙁 Actual behavior
VS reports:
"The highest TypeScript version from all loaded projects is the NuGet package's TypeScript version 5.5. Using this version for IntelliSense.
The JavaScript and TypeScript language service has been disabled after crashing repeatedly. You may see reduced IntelliSense support for your project. Please try reloading your solution to reenable the language service."
🙂 Expected behavior
Working language service
Additional information about the issue
No response

The nuget package was pulled and is being fixed.

Installed 5.5.3 and everything is back to normal. Thanks! Coding without LS was nearly impossible.


Heapster is unable to connect Kubelet and gets periodically terminated

Hi,
I'm experimenting with Kubernetes on a single VM (CentOS 7.1 - VirtualBox) cluster.
When trying to setup resource monitoring using
heapster:v0.20.0-alpha3
heapster_influxdb:v0.5
heapster_grafana:v2.1.1
heapster gets periodically terminated with producing the following logs:
I0203 14:52:14.311104       1 heapster.go:59] /heapster --source=kubernetes:'' --sink=influxdb:http://monitoring-influxdb:8086 --metric_resolution=60s
I0203 14:52:14.312671       1 heapster.go:60] Heapster version 0.20.0-alpha3
I0203 14:52:14.316566       1 configs.go:59] Using Kubernetes client with master "https://<IP_ADDRESS>:443" and version "v1"
I0203 14:52:14.316593       1 configs.go:60] Using kubelet port 10255
I0203 14:52:14.685582       1 influxdb.go:165] created influxdb sink with options: host:monitoring-influxdb:8086 user:root db:k8s
I0203 14:52:14.685619       1 heapster.go:86] Starting with InfluxDB Sink sink
I0203 14:52:14.685627       1 heapster.go:86] Starting with MetricSink sink
I0203 14:52:14.708167       1 heapster.go:145] Starting heapster on port 8082
I0203 14:53:05.024675       1 manager.go:76] Scraping metrics start: 2016-02-03 14:52:00 +0000 UTC, end: 2016-02-03 14:53:00 +0000 UTC
E0203 14:53:05.047570       1 kubelet.go:283] Node <IP_ADDRESS> has no valid hostname and/or IP address: <IP_ADDRESS>
I0203 14:53:05.056353       1 manager.go:139] ScrapeMetrics: time: 3.822365ms size: 0
I0203 14:53:05.062554       1 manager.go:141]    scrape  bucket 0: 0
I0203 14:53:05.062566       1 manager.go:141]    scrape  bucket 1: 0
I0203 14:53:05.062569       1 manager.go:141]    scrape  bucket 2: 0
I0203 14:53:05.062572       1 manager.go:141]    scrape  bucket 3: 0
I0203 14:53:05.062575       1 manager.go:141]    scrape  bucket 4: 0
I0203 14:53:05.062578       1 manager.go:141]    scrape  bucket 5: 0
I0203 14:53:05.062581       1 manager.go:141]    scrape  bucket 6: 0
I0203 14:53:05.062584       1 manager.go:141]    scrape  bucket 7: 0
I0203 14:53:05.062587       1 manager.go:141]    scrape  bucket 8: 0
I0203 14:53:05.062589       1 manager.go:141]    scrape  bucket 9: 0
I0203 14:53:05.062592       1 manager.go:141]    scrape  bucket 10: 0
F0203 14:53:05.070629       1 manager.go:135] Error in processor: No node info in pod namespace:default/pod:monitoring-influxdb-grafana-v3-oui7n: map[namespace_name:default pod_namespace:default pod_name:monitoring-influxdb-grafana-v3-oui7n pod_id:85fbd52d-ca85-11e5-b2c5-080027f6b007 labels:k8s-app:influxGrafana,kubernetes.io/cluster-service:true,version:v3 namespace_id:06f4f5c1-ca82-11e5-b2c5-080027f6b007 type:pod]

The Kubernetes version i use:
[root@kubernetes-monitoring vagrant]# kubectl version
Client Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.0.1464+2bfa9a1f98147c", GitCommit:"2bfa9a1f98147cfdc2e9f4cf50e2c430518d91eb", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.0.1464+2bfa9a1f98147c", GitCommit:"2bfa9a1f98147cfdc2e9f4cf50e2c430518d91eb", GitTreeState:"clean"}

The single node i use i up:
[root@kubernetes-monitoring vagrant]# kubectl get nodes
NAME        LABELS                             STATUS    AGE
<IP_ADDRESS>   kubernetes.io/hostname=<IP_ADDRESS>   Ready     16m

IP address of the Kubelet (<IP_ADDRESS>) seems to be reachable from heapster container:
[root@kubernetes-monitoring vagrant]# kubectl exec -it heapster-v13-mgi2x -c heapster -- /bin/sh
/ #
/ #
/ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=64 time=0.128 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=64 time=0.126 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=64 time=0.067 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.067/0.107/0.128 ms

Any ideas what could go wrong?

you must configure the --source=kubernetes:'' in heapster-controller.yaml,  configure it in heapster yaml with "- --source=kubernetes:'http://$kube-apiserver' " for example.

Thanks for the hint!
I've configured the source as was suggested, but no luck yet:
I0204 09:33:09.291775       1 heapster.go:59] /heapster --source=kubernetes:https://<IP_ADDRESS>:6443 --sink=influxdb:http://monitoring-influxdb:8086 --metric_resolution=60s
I0204 09:33:09.292406       1 heapster.go:60] Heapster version 0.20.0-alpha3
I0204 09:33:09.292738       1 configs.go:59] Using Kubernetes client with master "https://<IP_ADDRESS>:6443" and version "v1"
I0204 09:33:09.292751       1 configs.go:60] Using kubelet port 10255
I0204 09:33:09.345396       1 influxdb.go:165] created influxdb sink with options: host:monitoring-influxdb:8086 user:root db:k8s
I0204 09:33:09.345433       1 heapster.go:86] Starting with InfluxDB Sink sink
I0204 09:33:09.345438       1 heapster.go:86] Starting with MetricSink sink
I0204 09:33:09.357588       1 heapster.go:145] Starting heapster on port 8082
I0204 09:34:05.000208       1 manager.go:76] Scraping metrics start: 2016-02-04 09:33:00 +0000 UTC, end: 2016-02-04 09:34:00 +0000 UTC
E0204 09:34:05.000319       1 kubelet.go:283] Node <IP_ADDRESS> has no valid hostname and/or IP address: <IP_ADDRESS>
I0204 09:34:05.000330       1 manager.go:139] ScrapeMetrics: time: 1.183µs size: 0
I0204 09:34:05.000337       1 manager.go:141]    scrape  bucket 0: 0
I0204 09:34:05.000340       1 manager.go:141]    scrape  bucket 1: 0
I0204 09:34:05.000343       1 manager.go:141]    scrape  bucket 2: 0
I0204 09:34:05.000346       1 manager.go:141]    scrape  bucket 3: 0
I0204 09:34:05.000348       1 manager.go:141]    scrape  bucket 4: 0
I0204 09:34:05.000351       1 manager.go:141]    scrape  bucket 5: 0
I0204 09:34:05.000354       1 manager.go:141]    scrape  bucket 6: 0
I0204 09:34:05.000357       1 manager.go:141]    scrape  bucket 7: 0
I0204 09:34:05.000359       1 manager.go:141]    scrape  bucket 8: 0
I0204 09:34:05.000362       1 manager.go:141]    scrape  bucket 9: 0
I0204 09:34:05.000365       1 manager.go:141]    scrape  bucket 10: 0
F0204 09:34:05.000804       1 manager.go:135] Error in processor: No node info in pod namespace:default/pod:monitoring-influxdb-grafana-v3-4s5sm: map[pod_name:monitoring-influxdb-grafana-v3-4s5sm pod_id:1a48f95a-cb22-11e5-88b9-080027f6b007 labels:k8s-app:influxGrafana,kubernetes.io/cluster-service:true,version:v3 namespace_id:eff755ad-ca88-11e5-88b9-080027f6b007 type:pod namespace_name:default pod_namespace:default]

My kube-apiserver indeed listens on port 6443:
[root@kubernetes-monitoring kubernetes]# netstat -nlp | grep 6443
tcp6       0      0 :::6443                 :::*                    LISTEN      9313/kube-apiserver

Detected/default Kubelet port seems to be correct, too:
[root@kubernetes-monitoring kubernetes]# netstat -nlp | grep 10255
tcp6       0      0 :::10255                :::*                    LISTEN      9467/kubelet

Furthermore, using the above provided URL i was able to connect to kube-apiserver from an arbitrary pod using the auto-mounted service account.

We've fixed the no node info ...` error that was causing it to exit, should be released with v0.20.0-alpha4 when it's released (soon I hope).
As for the Node <IP_ADDRESS> has no valid hostname and/or IP address: <IP_ADDRESS> error that looks like something unexpected with your node config. Can you share the output of kubectl get node <IP_ADDRESS> -oyaml so I can see why? Also, what version of Kubernetes are you running?

Node info and kubernetes version:
[root@kubernetes-monitoring vagrant]# kubectl get node <IP_ADDRESS> -oyaml
apiVersion: v1
kind: Node
metadata:
  creationTimestamp: 2016-02-03T15:15:20Z
  labels:
    kubernetes.io/hostname: <IP_ADDRESS>
  name: <IP_ADDRESS>
  resourceVersion: "6196"
  selfLink: /api/v1/nodes/<IP_ADDRESS>
  uid: f0c51a66-ca88-11e5-88b9-080027f6b007
spec:
  externalID: <IP_ADDRESS>
status:
  addresses:
  - address: <IP_ADDRESS>
    type: LegacyHostIP
  capacity:
    cpu: "3"
    memory: 3882260Ki
    pods: "40"
  conditions:
  - lastHeartbeatTime: 2016-02-03T20:17:53Z
    lastTransitionTime: 2016-02-03T15:15:20Z
    reason: kubelet is posting ready status
    status: "True"
    type: Ready
  nodeInfo:
    bootID: 5e182318-29e0-48b7-8bf9-d44cdfd029ec
    containerRuntimeVersion: docker://1.8.2-el7.centos
    kernelVersion: 3.10.0-327.4.5.el7.x86_64
    kubeProxyVersion: v1.1.0-alpha.0.1464+2bfa9a1f98147c
    kubeletVersion: v1.1.0-alpha.0.1464+2bfa9a1f98147c
    machineID: 02ab91023f244febb8c38be42e37cc2d
    osImage: CentOS Linux 7 (Core)
    systemUUID: 9182636F-5EEF-404A-8B9B-0A8647AA1640
[root@kubernetes-monitoring vagrant]# kubectl version
Client Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.0.1464+2bfa9a1f98147c", GitCommit:"2bfa9a1f98147cfdc2e9f4cf50e2c430518d91eb", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.0.1464+2bfa9a1f98147c", GitCommit:"2bfa9a1f98147cfdc2e9f4cf50e2c430518d91eb", GitTreeState:"clean"}

Thanks - fix support for legacy node IP in PR. Will try to get this in next release too.

OK, thanks for your kind help!

This is now fixed in master, will be in next release.

@jimmidyson I got the same issue of kubelet.go:279] Node node-02 has no valid hostname and/or IP address: node-02 But in my case the node is configured with ExternalIP:
status:
  addresses:
  - address: x.x.x.x
    type: ExternalIP

I am new to Kubernetes, so correct me if i am wrong but it  should be a part of ExternalIP in this snippet , right?


Implement proxy's database interactions for image push and pull

Purpose

Add the implementation of the saving of metadata and updating of counts in the Cellery Hub database by the proxy.

Goals

Extract and save metadata when pushing an image and updating the pull count when and image is pulled.

Approach

The proxy intercepts push and pull docker manifest requests and extracts the relevant data and saves them to the Cellery Hub database (If the response has a 2xx response code). Any other requests are proxy-ed to the Docker registry without any changes.

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   40.84%   40.84%
=======================================
  Files          20       20
  Lines         284      284
  Branches       47       47
=======================================
  Hits          116      116
  Misses        157      157
  Partials       11       11

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9074693...f41ee3e. Read the comment docs.


Report deprecation of Provider.forUseAtConfigurationTime()

It is already soft deprecated (@Deprecated annotation).
This issue is about adding deprecation reporting/logging for invocations.
This issue needs to be fixed and a KGP version available with the fix before we can add the nagging.

KT-53823 - Kotlin Gradle Plugin uses deprecated Gradle API: Provider.forUseAtConfigurationTime()

This issue in the Protobuf plugin needs to be fixed first:

https://github.com/google/osdetector-gradle-plugin/issues/29

This can't be done just yet as the Kotlin Gradle Plugin still uses that function
https://youtrack.jetbrains.com/issue/KT-53823/Kotlin-Gradle-Plugin-uses-deprecated-Gradle-API-ProviderforUseAtConfigurationTime

KT-53823 is marked as fixed in 1.8.0-Beta-49

@gradle/bt-configuration-cache Pre-requisites are handled. Could you add this in 8.2?

https://github.com/google/protobuf-gradle-plugin/releases/tag/v0.9.3 just released and upgraded the dependency of osdetector-gradle-plugin to the fixed version.

Thank you @ejona86!


Add analyzer and codefix for adding the CustomizeEndpoint method to a…

…n endpoint, tests WIP

@viceroypenguin I'm still having some issues with formatting & referencing Microsoft.AspNetCore.Builder.IEndpointConventionBuilder in my tests


Annotation in CategoryChart always inside of bars

I've been trying to make the annotations in the CategoryChart to be always outside the bars but im getting this result:

i followed the example codes in the XChart Website
This is my code:
Font font = new Font("Arial", Font.PLAIN, 12);

CategoryChart chart = new CategoryChartBuilder().width(800).height(600).title(tituloGrafico).xAxisTitle(nombreEjeX).yAxisTitle(nombreEjeY).theme(ChartTheme.GGPlot2).build();
chart.getStyler().setChartBackgroundColor(ChartColor.getAWTColor(ChartColor.WHITE));
chart.getStyler().setPlotBackgroundColor(ChartColor.getAWTColor(ChartColor.WHITE));
chart.getStyler().setChartTitleBoxBackgroundColor(ChartColor.getAWTColor(ChartColor.WHITE));
chart.getStyler().setChartTitleBoxBorderColor(ChartColor.getAWTColor(ChartColor.WHITE));
chart.getStyler().setChartTitleBoxVisible(false);
chart.getStyler().setLegendVisible(true);
chart.getStyler().setLegendPosition(LegendPosition.InsideNW);
chart.getStyler().setHasAnnotations(true);
chart.getStyler().setAnnotationsPosition(1);
chart.getStyler().setShowTotalAnnotations(true);
chart.getStyler().setBaseFont(font);

As you can see im using chart.getStyler().setAnnotationsPosition(1); to force the annotation to be at the top (and i think outside the bars). After this im jut going adding the series in a for loop like this
chart.addSeries(datosSeriesHistograma.get(i).getNombreSerie(),  Arrays.asList(serieX),Arrays.asList( serieY)).setFillColor(new Color(datosSeriesHistograma.get(i).getColorSerie().getRed(), datosSeriesHistograma.get(i).getColorSerie().getGreen(),datosSeriesHistograma.get(i).getColorSerie().getBlue()));
Is this some kind of "error" or am i making a something wrong?

Hi, I have a big issue for Category's annotations. I don't understand how to have on the top bars annotations (globalAnnotations) and haven't any annotations inside the bars.
Can I manage in some way this requirement?
Another issue for Category If I have a big number the numbers exceds from margin bars.
How I can resolve?
Thank in advance

Hi, I have a big issue for Category's annotations. I don't understand how to have on the top bars annotations (globalAnnotations) and haven't any annotations inside the bars.
Can I manage in some way this requirement?
Another issue for Category If I have a big number the numbers exceds from margin bars.
How I can resolve?
Thank in advance

Hi Thanks. I'm looking into it...

Hi Thanks. I'm looking into it...

Right now this feature is not supported. I will leave this open as a feature request...

Right now this feature is not supported. I will leave this open as a feature request...

I'm pretty sure its a bug (this, just if im not doing something wrong). The annotations in the examples page are outside the bars in the categorychart (basic bar chart).

I'm pretty sure its a bug (this, just if im not doing something wrong). The annotations in the examples page are outside the bars in the categorychart (basic bar chart).

yeah, it's a bug. I'll add the bug tag.

yeah, it's a bug. I'll add the bug tag.

Not sure if this is documented anywhere, but currently setAnnotationsPosition taking values from the range of [0.0, 1.0] is for placing the values within the bar. 0 makes it, the lowest possible place within the bar. 1 makes it the highest possible place within the bar.
So, in order to support placing the values outside of the bar I see several options for the API:

change semantics of 1.0 to mean "just above the bar"
allow for values outside of the range [0.0, 1.0], so that people can specify e.g. 1.1 (would most likely look ugly)
add another method, e.g. setAnnotationsPositionOutside(boolean) or something similar, the current setAnnotationsPosition would only be used if the new property is set to false
... else?

@timmolter what should happen here?


Implement tools for axon-wise morphology metrics extraction based on output segmentation

similar structure to the AxonSegPy axonlist class structure
how to extract myelin objects from output
stats evaluation method : aggregated vs axon per axon

At the end, save the computed metrics as follows:

add a flag for hdf5 output that contains already computed stats (diameter, circularity, solidity, centroid and g-ratio per axon)

One possible approach for addressing this issue, would be to:

from the axon+myelin mask, apply watershed segmentation
loop across objects. Multiply object i by ADS' output axon map to retrieve the axon segmentation of object i. Then, compute the equivalent diameter of the axon+myelin and axon to retrieve the axon-wise metrics of interest (g-ratio, etc.).


Add retry trigger for builds

I'm noticing that we have frequent random build failures from flaky tests, so I thought we could introduce a single retry here instead of having to manually retry on most PRs.  This kinda hides the problem with the tests though, but it'll be a struggle to fix them all with the different platforms, etc.

Hey @bjhham, thanks for the PR. Could we have retry for the specific tests in gradle instead?

Yeah that could work, I'll look into it 👍


Dollar Sign?

Am I missing something or is there no dollar sign $ in the symbols set? On my phone (Sonim XP3plus), I get a symbols list by pressing 1, or 0, I don't see a $ or any other type of currency for that matter.

Since v28.0 there has been slight reorganization. Now all currency symbols are accessible using 0 + Next Mode key. See the manual.


Add Customer Heatmap

This is good for showing where the customers are.
https://developers.google.com/maps/documentation/javascript/heatmaplayer#customize_a_heatmap_layer

I'll work on this one.

Cool!


NVS wifi channel update when connect (IDFGH-10753)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello
I am writing an app where esp32 is a station and connects with an ap.
The default storage is WIFI_STORAGE_FLASH
In my app I can choose the predeard channel where my station connects. If the number is 0, connects to any channel available. So I choose channel 0 (scan all channels) to connect and write it in NVS with esp_wifi_set_config. The STA is connected assume to channel 9. When the program restarts (off power/on power), I read STA configuration with esp_wifi_get_config and I find that wifi_sta_config_t.channel is set to 9. Is this a normal operation? If this is the case, every time the STA is connected to a different channel ESP firmware updates the NVS?.
Assume another scenario. I choose to connect in channel 5 but because the AP is in channel 9 the ESP is connected in channel 9. So far so good. Meanwhile ESP firmware has updated the NVS memory. When I restart the device I see that the selected channel is 9 and I also update NVS with channel 5 and the story repeats. Is there a way to avoid NVS channel update when
ESP connects to a station?. Is there a way to handle that, in order to avoid unnecessary NVS writing?
Thanks
Dimitris

Thanks kriegste
So you meen that after getting the configuration from NVS I can set WIFI_STORAGE_RAM. So when ever I want to store in NVS I can change again to WIFI_STORAGE_FLASH.
If that is the case I am ok
Dimitris


[Suggestion] CC SAT Support

Hi.
There are no mods that allow us to bounce signals for computercraft off of sattelites.
There is however a range setting in the mod to control the extent of wireless communications.
Although that exists, most servers have it set to default 64 blocks to keep off wireless hackers.
Anyhow, if there could be sattelites, we could bounce of signals to our own private channels.
Thus I am requesting if you can add CC support to all your blocks/items.
Particularly for the Satellite itself, as that is a very useful tool especially for ICBM defense.
Radar's dont have the best range, and even so im working on a Lua AI, I need more range.
The only possible way I can get more range for my radar is if satelites exist with cc support.
Im basically programming an early warning system, with mutually assured destruction within.
This works by creating a wireless and large grid of radars with 500 block radius ranges each.
Each radar is hooked up to a computer and sends back data to the main server computer.
This then can pinpoint the origin of a missile and feed it to my countermeasure server.
The countermeasures (ABM Server) then track and destroy the incoming targets.
After all targets are destroyed, the Launch Server is given coordinates of the origin.
Then a missile swarm is fired back at the origin, to destroy the sender as retaliation.
All this is possible if satellites can be given CC/OC support.
Without that, it would be impossible to guarantee mutually assured destruction.
Particularly on servers with town/faction plugins that limit the extent of claims.
Limiting the placement of hundreds of radars around the server.
It would be very appreciated on behalf of most CC/OC programmers.
IF you could provide us the means to bounce of our own programs on your Sats.
~Thanks!

I'm not 100% sure that is possible but I'll give it a try once I finish implementing core features.

It's doable by just redirecting the command calls threw a block on the ground to a block in the other location. You just use the sat as a requirement for the block to work but not actually a logic piece.

Please tell me this idea hasn't died out...
i would LOVE to have OC support added to AR satellites.
For the land-side interaction I suggest a "satellite up-link" block that looks like a satellite dish.
And use satellite id chips to tell the satellite up-link which satellite it connects to.
This should work for both satellites and space stations.
With the space-station side having larger (possibly multi-block) satellite dish facing downwards.
You might also be able to look at a wireless redstone mod's private redstone frequency source-code for inspiration on how to handle connections.

@majix560 As far as I know it has not died but not sure if it has been fully thought out yet. I would just give zmaster some time to work on it and it might happen in the distant future.

I think there should also be support for open computers, since Computer Craft isn't being updated to 1.12.2
And, open computers doesn't have wireless technology

There is a work in progress version of CC:
https://minecraft.curseforge.com/projects/computercraft/files/2478952
I don't know if it will be finished, but maybe when it is you could make support for it.

I would love opencomputers integration.


When we use --cooltipz-border-width : 1px (at least on chrome). There is a gap between tooltip border and tooltip arrow

Hi @bc-devle, thank you for your contribution. Could you please provide a reproduction of this bug either in something like CodePen or Sandbox that isolates the issue you're seeing?
I have seen this before though and suspect it is not related to the CSS. I have seen it on lower resolution devices that are below or equal to 1080p. I'm not 100% how to resolve that works for every scenario but it's likely that if you use a different device, you may not see this.

Hello Jack, good point, there is no gap in codepen : https://codepen.io/reign17/pen/RwEMKdv
seems to be related to my project...

It's either your project, your device or where the tooltip is positioned - I've found if the exact same tooltip is positioned in a different position, then the issue doesn't occur. It's a bit of an awkward one really.
Going to close this issue for now. Thanks 🙂

Its a problem with margin-top calculation in :after. I fixed it in myu project by overriding --cooltipz-arrow-size: 0.4rem;


Redis clear method

I save cache in Redis with this code:
$item = $pool->getItem('34', 'templates', 'page1');
$data = $item->get();
if($item->isMiss()) {
...
}
$item->set($data);
But then I execute:
$pool->getItem('34', 'templates')->clear();
And NO clearing was executed, may be I do simething wrong?

What do you mean exactly by "no clearing executed"? Does
$pool->getItem('34', 'templates', 'page1')->isMiss()

return false after using clear()?
Or do you mean that there is still something on the Redis server? If that's the issue, then look at this issue

Sorry ... "no clearing executed" means that key "'34/templates/page1" was not deleted from Redis

So if you retrieve ""34/templates/page1" again you get the value back and isMiss returns false, even though you cleared it? Can you show me a full script executing this?

the problem is not in isMiss method. The problem is in the following:

I created cache "34/templates/page1"
I created cache "34/templates/page2"
I want to clear all children of "34/templates"
I call "$pool->getItem('34', 'templates')->clear();"
BUT "34/templates/page1" and "34/templates/page2" are exist and were not deleted

Can you please answer my question? If you attempt to retrieve "34/templates/page1" and "34/templates/page2" from the caching system after clearing them what happens?

I will try at the moment, one minute)

Yes, result of "var_dump($item->isMiss())" is "true", it's correct.
But why the key exists in Redis? I think that key removing from Redis is a good idea.

Also not work with FileSystem driver... method $this->makePath($key = null) returned path to folder with .php extension.

Sorry to disappear from the conversation.
In order to get hierarchal caching to work Stash uses an index system that relies on numbered keys. When things are purged those keys are incremented and the stale items get orphaned. The downside to this method is that it isn't easy to clear those purged items from inside Stash itself, but the two systems we do this with (Redis and Memcache) will handle that automatically using the "Least Recently Used" expiration method.

Closing this out as it's expected behavior.


Make it noarch again?

Comment:
Currently, this package is not-noarch because we have a platform-dependent dependency, namely pyopengl on macOS.
I'm wondering if installing this (small) package on all platforms would be such a bad idea, even if it's only used on macOS?
This would allow us to make mne-qt-browser noarch again, meaning we'd have a single package that runs on all supported platforms and Python versions automatically… WDYT?

If it's always installable on all platforms and mne-qt-browser doesn't try to use it unless asked (except for macOS where we try to force it to avoid some segfaults IIRC) then it's okay with me


Add BZ1187122 test case

@Rikkola assigned this to you as the corresponding BZ is too.

Thank you. I'll make a fix for it.

Thanks, @Rikkola fixed (and added the test) in https://github.com/uberfire/uberfire-extensions/pull/112.


feat: remove hlx2 support

Fix #13

Only Helix 3 projects can be added
Existing Helix 2 projects are shown with a warning:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

GitHub release
v4.0.0

Your semantic-release bot :package::rocket:


uncertain_dist method that is used in "validation_lq/PFE/ijbs.py" is not implemented in the utils.py.

uncertain_dist method that is used in "validation_lq/PFE/ijbs.py" is not implemented in the utils.py.

The above function uncertain() is not needed in training AdaFace, so you can just delete it.


Feature/provider driver model

I'm proposing a new model for bevy spicy networking that will allow users to bring they're own transport layer, this will enable users to use udp or tcp based protocols (or really anything they can get to work), without adding too much overhead, and still keeping all the convenience of spicy. This is gonna need some more changes and docs to be a little bit nicer, but it does work!  Here's an example using a udp (via QUIC) based provider that's nearly working (I don't completely understand the protocol, but it does compile and allow us to send messages, it:
https://github.com/jamescarterbell/bevy_spicy_networking_tokio_quinn

I've also added a few other changes:

Removed the Tokio dependency
Added support for byo runtime (implemented for Bevy TaskPool in the crate)
Added a sub crate for tcp messaging provider that works with the Bevy TaskPool


ARROW-8808: [Rust] Fix divide by zero error in builder

Fix divide by zero error in one of the builders. This bug was exposed by the integration tests.

@maxburke had already picked this up in #7159 (https://github.com/apache/arrow/pull/7159/files#diff-f2e30b8a413036fbb623c52d0ffd519dR723). Perhaps we could port the unit test there, and fix this as part of that PR?

Thanks, I hadn't seen that. It might be faster to get this one merged since it is small. It looks like there are no reviews yet on #7159. I'm fine either way, but would like to unblock integration testing as much as possible.


About :: Clipboard Wrapper notice

The Link to the Clipboard Wrapper are wrong.
It link to a 404 error page
http://www.codeproject.com/script/common/404.aspx?aspxerrorpath=/KB/system/clipboard_backup_cs.aspx?display=Print

removed


Error "process not found" and "overlay failed to initialize"

I'm having trouble running the program, what should I do to fix the error?

Open Dota2 first then you can open the Overlay after.

Now the issue is when i open dota 2 and start running the overlay, the overlay covers my dota 2 tab so i can't see the game, if i press the "delete" button the app will stop. And the second issue is that the overlay always says "waiting", I have the latest offsets file but I don't know where to put the offsets file to fix the issue. How to solve these two issues? I really appreciate your help.


Update pricing.md

Added clarification how we charge for fractions of minutes

Learn Build status updates of commit d89980f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/102873/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Replace last occurrences of CmpDeeply by Cmp

Pull Request Test Coverage Report for Build 349

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 99.545%

Files with Coverage Reduction
New Missed Lines
%

cmp_deeply.go
4
90.0%

Totals

Change from base Build 347:
-0.09%

Covered Lines:
4597

Relevant Lines:
4618

💛  - Coveralls


Expose the xlsx sheetFile map

Rather than simply export the map, I've added a function that allows the user to supply the already exported sheetname, and get the corresponding zip.File for it.
This is particularly useful when the user wants to read some data from the underlying XML that is not read by the library.
I'm going to merge this on my fork, as I want to use my fork in a current project. If the bas repo ever updates I'll switch to that.

While I've not currently set up any automations, I have run test locally for this.  If we end up pursuing this route for the project I will set up the good stuff.


Bump phoenix_html

Tests pass locally.
This is needed to upgrade to phoenix 1.16

Thanks for merging. Can we get a release please?

ping

bump


Quick start tutorial failing on model creation

Following the steps in https://vissl.readthedocs.io/en/v0.1.5/getting_started.html, I get an error coming from model build process where vissl is trying to load weights from a file that does not exist. Checking default config file, I see MODEL.WEIGHTS_INIT.PARAMS_FILE is set to "", i.e., an empty string. However, using the PathManager from my fvcore installation (which came with installing vissl via pip) I see that PathManager.exists("") somehow evaluates to True. Then the line if PathManager.exists(init_weights_path): (line 380 in vissl/trainer/train_task.py) fails to prevent the model trying to load weights from an empty filename, and code errors out.
Instructions To Reproduce the Issue:

Install vissl as pip install --user vissl in the pytorch:ngc-20.10 docker image
Set up dataset config as described for imagenet_1k dataset (files stored in /tmp/)
Run the following:

python3 run_distributed_engines.py \
     hydra.verbose=true \
     config.DATA.TRAIN.DATASET_NAMES=[imagenet1k_tmp] \
     config.DATA.TRAIN.DATA_SOURCES=[disk_folder] \
     config.DATA.TRAIN.DATA_PATHS=["/tmp/train"] \
     config=quick_1gpu_resnet50_simclr \
     config.CHECKPOINT.DIR="/global/cscratch1/sd/pharring/vissl/checkpoints" \
     config.CHECKPOINT.AUTO_RESUME=true
     config.TENSORBOARD_SETUP.USE_TENSORBOARD=true

With hydra.verbose=true, lots of output so I will not include all irrelevant details. Initially some warnings from PathManager saying:

[PathManager] Attempting to register prefix 'http://' from the following call stack:
  File "run_distributed_engines.py", line 166, in _distributed_worker
    process_main(cfg, dist_run_id, local_rank=local_rank, node_id=node_id)
  File "run_distributed_engines.py", line 159, in process_main
    hook_generator=hook_generator,
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/engines/train.py", line 60, in train_main
    set_env_vars(local_rank, node_id, cfg)
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/utils/env.py", line 31, in set_env_vars
    PathManager.register_handler(HTTPURLHandler(), allow_override=True)
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/fvcore/common/file_io.py", line 288, in register_handler
    + "".join(traceback.format_stack(limit=5))

[PathManager] Prefix 'http://' is already registered by <class 'iopath.common.file_io.HTTPURLHandler'>. We will override the old handler. To avoid such conflicts, create a project-specific PathManager instead.

This same chatter appears for ftp:// and https://, then a bunch of printouts of env variables and build settings, then the error with traceback:
INFO 2021-03-24 22:34:05,852 train_task.py: 378: Initializing model from:
INFO 2021-03-24 22:34:05,852 util.py: 241: Broadcasting checkpoint loaded from
Traceback (most recent call last):
  File "run_distributed_engines.py", line 194, in <module>
    hydra_main(overrides=overrides)
  File "run_distributed_engines.py", line 179, in hydra_main
    hook_generator=default_hook_generator,
  File "run_distributed_engines.py", line 123, in launch_distributed
    hook_generator=hook_generator,
  File "run_distributed_engines.py", line 166, in _distributed_worker
    process_main(cfg, dist_run_id, local_rank=local_rank, node_id=node_id)
  File "run_distributed_engines.py", line 159, in process_main
    hook_generator=hook_generator,
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/engines/train.py", line 102, in train_main
    trainer.train()
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/trainer/trainer_main.py", line 155, in train
    self.task.prepare(pin_memory=self.cfg.DATA.PIN_MEMORY)
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/trainer/train_task.py", line 634, in prepare
    self.base_model = self._build_model()
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/trainer/train_task.py", line 462, in _build_model
    model = self._restore_model_weights(model)
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/trainer/train_task.py", line 399, in _restore_model_weights
    append_prefix=append_prefix,
  File "/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl/utils/checkpoint.py", line 404, in init_model_from_weights
    state_dict_key_name in state_dict.keys()
AttributeError: 'NoneType' object has no attribute 'keys'

Expected behavior:
Model should build successfully, without trying to loading in any weights upon initialization. I could be doing something wrong, but having trouble seeing where, as I followed the quick start steps closely!
Environment:
Full environment shown below:
--------------------  -----------------------------------------------------------------------------------------------------------
sys.platform          linux
Python                3.6.10 |Anaconda, Inc.| (default, May  8 2020, 02:54:21) [GCC 7.3.0]
numpy                 1.19.1
Pillow                8.0.1
vissl                 0.1.5 @/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/vissl
GPU available         True
GPU 0,1               Tesla V100-SXM2-16GB
CUDA_HOME             /usr/local/cuda
TORCH_CUDA_ARCH_LIST  5.2 6.0 6.1 7.0 7.5 8.0 8.6+PTX
torchvision           0.8.0a0 @/opt/conda/lib/python3.6/site-packages/torchvision
hydra                 1.0.6 @/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/hydra
classy_vision         0.6.0.dev @/global/homes/p/pharring/.local/cori/pytorch_ngc_20.10/lib/python3.6/site-packages/classy_vision
tensorboard           1.15.0
apex                  0.1 @/opt/conda/lib/python3.6/site-packages/apex
cv2                   3.4.1
PyTorch               1.7.0a0+7036e91 @/opt/conda/lib/python3.6/site-packages/torch
PyTorch debug build   False
--------------------  -----------------------------------------------------------------------------------------------------------
PyTorch built with:
  - GCC 7.5
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2019.0.1 Product Build 20180928 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.5.0 (Git Hash N/A)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.1
  - NVCC architecture flags: -gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_86,code=compute_86
  - CuDNN 8.0.4
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, FORCE_FALLBACK_CUDA_MPI=1, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=ON, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

CPU info:
-------------------  ----------------------------------------
Architecture         x86_64
CPU op-mode(s)       32-bit, 64-bit
Byte Order           Little Endian
CPU(s)               80
On-line CPU(s) list  0-79
Thread(s) per core   2
Core(s) per socket   20
Socket(s)            2
NUMA node(s)         2
Vendor ID            GenuineIntel
CPU family           6
Model                85
Model name           Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
Stepping             4
CPU MHz              2400.000
CPU max MHz          3700.0000
CPU min MHz          1000.0000
BogoMIPS             4800.00
Virtualization       VT-x
L1d cache            32K
L1i cache            32K
L2 cache             1024K
L3 cache             28160K
NUMA node0 CPU(s)    0-19,40-59
NUMA node1 CPU(s)    20-39,60-79
-------------------  ----------------------------------------

Hi @pzharrington , thank you for reaching out about this. Take a look at the issue https://github.com/facebookresearch/vissl/issues/248 . fvcore dependency recently seems to have some changes which are leading to this issue. In VISSL, we will look into pinning the fvcore and iopath version in future.

Ah! I don't know how I overlooked that issue, as it's my exact situation. Thanks for the explanation.

also reported to fvcore developers here https://github.com/facebookresearch/iopath/issues/6 :)


Feature Request: Unregister from Console

Can you add so we can unregister/reset players password from console please!!
DO NOT REMOVE THIS
Please make sure your issue complies with these guidelines:

[ ] Be using PMMP

[ ] Make sure the issue hasn't already been reported

[ ] Make sure you are on the latest version of PMMP & PiggyAuth

[ ] Have a detailed title like "Players are being kicked randomly"

[ ] Provide any crash dumps or errors

General

Server Software:

Version of PiggyAuth:

Data Provider:

[ ] MySQL
[ ] SQLite
[ ] YAML
[ ] JSON

Steps to Reproduce the Issue

Extra Information

Um, resetpassword?...


Refactor backend user service to be idiomatic and documented (#24)

Factored out separate create vs. update methods.
Made the signature of create and update in the user service idiomatic (subject first, user model second) and improved permission check to have both feature-specific rule (a user can edit their own profile), as well as administrative permission check.

Merging into main for emergency purposes of being ready for class. This merge does not resolve issue #16, but makes progress.


showata not test code not working

My code:
:dep showata = { version = "0.1.0" features=["show_ndarray"]}

extern crate ndarray;
extern crate showata;

use showata::Showable;
use ndarray::Array2;

let data = Array2::<f64>::zeros((3, 4));
data.show()

Error:
consider importing this struct

consider importing this struct

consider importing this struct

WHY
My code was all correct

The issue seems related to ndarray with evcxr, because I can reproduce the issue with only it (on excvr_jupiter and excvr_repl)
❯ evcxr                                                                                19:40:34
Welcome to evcxr. For help, type :help
>> :dep ndarray = "0.12.1"
>> use ndarray::Array2;
>> let data = Array2::<f64>::zeros((3, 4));

consider importing this struct

consider importing this struct

consider importing this struct

It could be related to how Array2 is declared as a type Alias:
#in aliases.rs
type Array2<A> = Array<A, Ix2>;
type Array<A, D> = ArrayBase<OwnedRepr<A>, D>;

#in lib.rs
pub use crate::aliases::*;

pub struct ArrayBase<S, D>
where
    S: RawData,
{

When I run the code into a regular Cargo project
use ndarray::Array2;

fn main() {
    let data = Array2::<f64>::zeros((3, 4));
    dbg!(data);
}

I got no error:
[src/main.rs:5] data = [[0.0, 0.0, 0.0, 0.0],
 [0.0, 0.0, 0.0, 0.0],
 [0.0, 0.0, 0.0, 0.0]] shape=[3, 4], strides=[4, 1], layout=C (0x1), const ndim=2

PS: the doc of showata is old, and need to be updated and fixed (typo, missing info,...). mea culpa as author of showata

By using all the public struct used by the type alias I have something working in evcxr_jupiter:
:dep ndarray = "0.12.1"
:dep showata = { version = "0.1.0", features=["show_ndarray"]}

use showata::Showable;
use ndarray::{Array2, ArrayBase, Dim, OwnedRepr};

let data = Array2::<f64>::zeros((3, 4));
data.show()

When I build localy the project cargo build on a copy of :last_compile_dir I got a more explicit error, something like:
error[E0412]: cannot find type `OwnedRepr` in this scope
   --> src/lib.rs:109:47
    |
109 | evcxr_variable_store.put_variable::<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>>(stringify!(data), data);
    |                                               ^^^^^^^^^ not found in this scope
    |
help: consider importing this struct
    |
2   | use ndarray::OwnedRepr;
    |

error: aborting due to previous error

Maybe its now a known limitation of excvr (I created this sample 2yo) ?

An other to workaround the issue (maybe simpler) is to be explicit about type
:dep ndarray = "0.12.1"
:dep showata = { version = "0.1.0", features=["show_ndarray"]}

use showata::Showable;
use ndarray::Array2;

let data: Array2<f64> = Array2::<f64>::zeros((3, 4));
data.show()

I didn't understand one thing that do we need to make a cargo project for evcxr jupyter if yes how do I connect my ipynb to main.rs

You don't need to create a Cargo project. I made it to debug and to isolate the issue, I shared the info to help author of evcxr to understand the issue.
Currently, to workaround the issue, you only need to explicitly set the type in your cell, see my previous comment. I also updated the doc of showata with the workaround and fixed the typo, missing info.


docs: update kernel minimum requirement

Related: #1769
According to this, 5.4 only introduces BPF_MAP_TYPE_DEVMAP_HASH for eBPF. Any explanation for why requiring 5.4 instead of the original 4.18+(e.g. Almalinux 8.7 would be excluded, for example)?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The introduction of BPF_MAP_TYPE_DEVMAP_HASH is unrelated to our requirements. We mainly have two constraints here:

We require BTF support in the kernel. This was added in 4.18, but wasn't enabled by most distros until later. We could download the needed BTF files on demand, and in fact we started this feature in https://github.com/parca-dev/parca-agent/pull/1131, but we have higher priority items and it's not likely going to be worked on in the near future;
We need reasonably modern kernels that are ok with some BPF features we use, such as bounded loops, introduced in 5.3;

Theoretically, the Agent should run in 5.3 or greater, but we only guarantee that the agent will work in the kernels we test on. Any kernel version in between the supported ones should work, minus bugs in the kernel.
We've done some experiments to allow the Agent to work in 4.x (we require tail-calls, released in 4.2, and there were some fixes around 4.10 that we need, too) but this is not a priority for us and it can introduce a performance regression for all kernels (1M instructions were only added in 5.2) , including modern ones that have features that allow our programs to run more efficiently.
All these versions have been pulled from https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md

Thank you for the explanation. Updated.


LICENSE files are missing

Apache-2.0 requires text license to be presented along with source... Having MIT text license would not hurt as well.

Also you probably should mention BSD license because d3js is BSD.

@TyOverby can you look at this please?

Done


Persistent attributes and types between sessions or just attribute export (Desktop)

Need a way to more easily share attributes between loaded data with minimal amount of user involvement

@mattdawkins, could you give an example of what you'd like to be able to do?

Whenever a user sets attributes, save them between different video folders so they don't need to re-enter them is my ideal. They should be global by default on desktop not tied to a specific video. That way there's no user activity necessary to re-enter or re-import attributes.
If that is too difficult given the state of girder, then at least the ability to import/export or more readily apply the possible attributes from another video to a new one.

@BryonLewis I think this should be linked to be closed by #1118 right?

Closing based on #1118, Allows importing/exporting configuration files (styling, attributes) for desktop and web and interoperability between them.