Kong customer plugin not working

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.32
Current Behavior
We had kong plugin working with:
env:
name: KONG_PLUGINS
value: bundled, <plugin_name>
Likely with the latest update to repo, this has stopped working with the following error:
Error from server: error when creating “STDIN”: admission webhook “validations.kong.konghq.com” denied the request: plugin failed schema validation: schema violation (name: plugin ‘kong-plugin’ not enabled; add it to the ‘plugins’ configuration property)
Expected Behavior
This should be able to work
Otherwise, What would be new way of doing this with latest version of 2.32? Thanks
Steps To Reproduce

Install kong 2.32
Deploy custom kong in Kubernets 12.7

Anything else?
No response

Install kong 2.32

can you show the full command about installing kong? because I think 2.32 is not a valid kong version.

Error from server: error when creating “STDIN”: admission webhook “validations.kong.konghq.com” denied the request: plugin failed schema validation: schema violation (name: plugin ‘kong-plugin’ not enabled; add it to the ‘plugins’

the error message is very clear, kong-plugin should be added by
name: KONG_PLUGINS
value: bundled, kong-plugin

I think you need to provide more detailed


POCO client - minimize delays for sending

in OlinkConnection

it was refacotred when working on stress tests. Current max delay is 7ms, maybe it should be configurable?
During high load it is better to queue messages and send at one few messages?


Passing data from firebase firestore

What version of React-Table are you using?
15.6.2 (create-react-app)
What bug are you experiencing, or what feature are you proposing?
pass external data from firestore database
Hi guys, I need to pass information to the table from firestore (new firebase data base), it's easy to pass the data through the .map function to an  or another jsx element, but I do not know how to pass the information from the database to the data={} prop of React Table.
Any help will be well recieved 👍

I know nothing about Firebase but ReactTable just takes an array of data.

This appears to be an implementation question and is better asked over on the #react-table Slack channel (badge at the top of the readme doco). There are a wider range of developers there who may have had experience with your particular stack. Thanks.


Deprecate unused tasks and simplify check_resource

SUMMARY
The check_resource used to take actions for uncordoning nodes that is not in used in a long time. Most of the code was to check things but not to act on them, simplifying the role to only wait for the state of certain kind or resources.
Deprecating the use of oc for tasks that can be performed through the k8s module.
Removing options not in use.
ISSUE TYPE

Docs Fix AND other nominal changes

Tests

[ ] TestDallas: ocp-4.17-vanilla example-cnf -
[ ] TestDallasWorkload: preflight-green tnf-test-cnf-green

[x] preflight - https://www.distributed-ci.io/jobs/09d23696-0fae-4c9a-bce7-015ede47292f
[ ] tnf-test-cnf-green -

[ ] TestBos2: libvirt
[ ] TestBos2Sno: sno -

TestDallasWorkload:tnf-test-cnf-green

retest

retest

retest

retest

retest

The change does not affect the role usage of the agents. But I think you are already considering updating them separately.

Correct, the extra args are simply ignored, but I'll remove them from the places where this role is used.


[SMALLFIX] Replace anonymous type with lambda

This is a small fix :)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19326/
Test PASSed.


Update the icon used for notifications

Details
This updates the notification badge icon to use our iconmark with a white background. cc @puneetlath
Fixed Issues
N/A
Tests/QA Steps

Receive a message using the desktop app and check to see that the notification image has been updated

Tested On

[ ] Web
[ ] Mobile Web
[X] Desktop
[ ] iOS
[ ] Android

Screenshots
Web
N/A
Mobile Web
N/A
Desktop

iOS
N/A
Android
N/A

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


unable to build on debian

Hi
Hitting an issue building on debian undefined reference to `g_memdup2'

My environment
Debian GNU/Linux 11 (bullseye)
Go version 1.18
gstreamer library has been installed by apt
gcc has been installed by apt
Thanks for helping.

it has been solved in  https://github.com/mengelbart/rtp-over-quic/pull/3


Union types with anyOf instead of array

Hello :)
It seems like
"type": ["string", "null"]

would be better off with:
{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "type": "null"
    },
  ]
}

As AJV docs specifies: https://ajv.js.org/strict-mode.html#strict-types
Stemming from this issue:
https://github.com/seriousme/fastify-openapi-glue/issues/445#issuecomment-1373437908
Any specific reason for this format (I never encountered it before TBH)?
Thanks for your work.

@JulianCataldo Interested in opening a PR? :)

When I'll go back to the project using it, I'll try to hack the generator internals a bit, to see.


Configuration reset to state from before the changes aka rollback

Restores settings to state from before the change.


Update base image to node 6.

I've been using node 6 for over 3 months now and encountered no problem, let's bump it up here? :)

We use v4 because it's the current LTS. Coincidentally, v6 seems to enter active LTS in 2 days. Landing this.
@astorije Do we have a stance against which Node version(s) we support/encourage?

Yeah, we have discussed that many times in the past and although I don't recall we came up with the official statement to stamp on PRs/issues, I believe the general consensus was: support for LTS versions and the active version. This is actually exactly what our CI config is building against.
👍 with this PR obviously :-) Thanks for your effort, @zkanda!


Fix enabled support

The old version was replicating android:enabled but that is already available at the View level.
When calling label.setEnabled() programmatically, the enabled flag would not be changed because it was not overriden.
Now everything works as expected, both from XML and code, using the internal enabled flag (at the View level, no need to create another).

I noticed now there is a develop branch.
If you are OK with this change I'll PR to the right branch! @Angads25

Hey, yes you can make a pull request in develop branch, your code seems fine..


Adding database code for search and switching to v3 api

This is a first attempt at handling issue #12 .
Tests seem to be green but I didn't handle the offline TestNG cases which will probably need to get updated. I can handle that in the PR if necessary.

@jimmoores any chance you could take a look at this guy and let me know if you're comfortable merging?

yes, apologies, I'll look at it today.
On 5 November 2015 at 03:37, hkothari<EMAIL_ADDRESS>wrote:

@jimmoores https://github.com/jimmoores any chance you could take a
look at this guy and let me know if you're comfortable merging?
—
Reply to this email directly or view it on GitHub
https://github.com/jimmoores/quandl4j/pull/13#issuecomment-153944726.

Looks like a nice PR, thanks very much!


using s3 storage failed...

Hi all
i try to use registry with s3 storage, follow the example of
docker run
-e SETTINGS_FLAVOR=s3
-e AWS_BUCKET=/mybucket
-e STORAGE_PATH=/registry
-e AWS_KEY=****
-e AWS_SECRET=***
-e SEARCH_BACKEND=sqlalchemy
-p 5000:5000
registry
i have make sure that could connect to the s3 with aws s3 cli, but always get error below.
[2015-02-10 03:45:16 +0000] [1] [INFO] Starting gunicorn 19.1.1
[2015-02-10 03:45:16 +0000] [1] [INFO] Listening at: http://<IP_ADDRESS>:5000 (1)
[2015-02-10 03:45:16 +0000] [1] [INFO] Using worker: gevent
[2015-02-10 03:45:16 +0000] [13] [INFO] Booting worker with pid: 13
[2015-02-10 03:45:16 +0000] [14] [INFO] Booting worker with pid: 14
[2015-02-10 03:45:16 +0000] [15] [INFO] Booting worker with pid: 15
[2015-02-10 03:45:16 +0000] [16] [INFO] Booting worker with pid: 16
10/Feb/2015:03:45:17 +0000 WARNING: Cache storage disabled!
10/Feb/2015:03:45:17 +0000 WARNING: LRU cache disabled!
10/Feb/2015:03:45:17 +0000 WARNING: Cache storage disabled!
10/Feb/2015:03:45:17 +0000 WARNING: LRU cache disabled!
10/Feb/2015:03:45:17 +0000 WARNING: Cache storage disabled!
10/Feb/2015:03:45:17 +0000 WARNING: LRU cache disabled!
10/Feb/2015:03:45:17 +0000 WARNING: Cache storage disabled!
10/Feb/2015:03:45:17 +0000 WARNING: LRU cache disabled!
[2015-02-10 03:45:52 +0000] [14] [ERROR] Exception in worker process:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process
super(GeventWorker, self).init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app
import(module)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 20, in
from .tags import *  # noqa
File "/usr/local/lib/python2.7/dist-packages/docker_registry/tags.py", line 22, in
store = storage.load()
File "/usr/local/lib/python2.7/dist-packages/docker_registry/storage/init.py", line 38, in load
config=cfg)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/drivers/s3.py", line 72, in init
super(Storage, self).init(path, config)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/core/boto.py", line 134, in init
self._config.boto_bucket)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 502, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 521, in head_bucket
response = self.make_request('HEAD', bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 664, in make_request
retry_handler=retry_handler
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1068, in make_request
retry_handler=retry_handler)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 942, in _mexe
request.body, request.headers)
File "/usr/lib/python2.7/httplib.py", line 973, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1172, in connect
self.timeout, self.source_address)
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 570, in create_connection
for res in getaddrinfo(host, port, 0 if has_ipv6 else AF_INET, SOCK_STREAM):
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 621, in getaddrinfo
return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags)
File "/usr/local/lib/python2.7/dist-packages/gevent/resolver_thread.py", line 34, in getaddrinfo
return self.pool.apply_e(self.expected_errors, _socket.getaddrinfo, args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/threadpool.py", line 225, in apply_e
raise result
gaierror: [Errno -2] Name or service not known
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process
super(GeventWorker, self).init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app
import(module)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 20, in
from .tags import *  # noqa
File "/usr/local/lib/python2.7/dist-packages/docker_registry/tags.py", line 22, in
store = storage.load()
File "/usr/local/lib/python2.7/dist-packages/docker_registry/storage/init.py", line 38, in load
config=cfg)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/drivers/s3.py", line 72, in init
super(Storage, self).init(path, config)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/core/boto.py", line 134, in init
self._config.boto_bucket)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 502, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 521, in head_bucket
response = self.make_request('HEAD', bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 664, in make_request
retry_handler=retry_handler
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1068, in make_request
retry_handler=retry_handler)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 942, in _mexe
request.body, request.headers)
File "/usr/lib/python2.7/httplib.py", line 973, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1172, in connect
self.timeout, self.source_address)
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 570, in create_connection
for res in getaddrinfo(host, port, 0 if has_ipv6 else AF_INET, SOCK_STREAM):
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 621, in getaddrinfo
return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags)
File "/usr/local/lib/python2.7/dist-packages/gevent/resolver_thread.py", line 34, in getaddrinfo
return self.pool.apply_e(self.expected_errors, _socket.getaddrinfo, args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/threadpool.py", line 225, in apply_e
raise result
gaierror: [Errno -2] Name or service not known
[2015-02-10 03:45:52 +0000] [14] [INFO] Worker exiting (pid: 14)
[2015-02-10 03:46:18 +0000] [15] [ERROR] Exception in worker process:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process
super(GeventWorker, self).init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app
import(module)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 20, in
from .tags import *  # noqa
File "/usr/local/lib/python2.7/dist-packages/docker_registry/tags.py", line 22, in
store = storage.load()
File "/usr/local/lib/python2.7/dist-packages/docker_registry/storage/init.py", line 38, in load
config=cfg)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/drivers/s3.py", line 72, in init
super(Storage, self).init(path, config)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/core/boto.py", line 134, in init
self._config.boto_bucket)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 502, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 521, in head_bucket
response = self.make_request('HEAD', bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 664, in make_request
retry_handler=retry_handler
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1068, in make_request
retry_handler=retry_handler)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 942, in _mexe
request.body, request.headers)
File "/usr/lib/python2.7/httplib.py", line 973, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1172, in connect
self.timeout, self.source_address)
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 570, in create_connection
for res in getaddrinfo(host, port, 0 if has_ipv6 else AF_INET, SOCK_STREAM):
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 621, in getaddrinfo
return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags)
File "/usr/local/lib/python2.7/dist-packages/gevent/resolver_thread.py", line 34, in getaddrinfo
return self.pool.apply_e(self.expected_errors, _socket.getaddrinfo, args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/threadpool.py", line 225, in apply_e
raise result
gaierror: [Errno -2] Name or service not known
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
worker.init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process
super(GeventWorker, self).init_process()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app
import(module)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 20, in
from .tags import *  # noqa
File "/usr/local/lib/python2.7/dist-packages/docker_registry/tags.py", line 22, in
store = storage.load()
File "/usr/local/lib/python2.7/dist-packages/docker_registry/storage/init.py", line 38, in load
config=cfg)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/drivers/s3.py", line 72, in init
super(Storage, self).init(path, config)
File "/usr/local/lib/python2.7/dist-packages/docker_registry/core/boto.py", line 134, in init
self._config.boto_bucket)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 502, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 521, in head_bucket
response = self.make_request('HEAD', bucket_name, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 664, in make_request
retry_handler=retry_handler
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1068, in make_request
retry_handler=retry_handler)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 942, in _mexe
request.body, request.headers)
File "/usr/lib/python2.7/httplib.py", line 973, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 791, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1172, in connect
self.timeout, self.source_address)
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 570, in create_connection
for res in getaddrinfo(host, port, 0 if has_ipv6 else AF_INET, SOCK_STREAM):
File "/usr/local/lib/python2.7/dist-packages/gevent/socket.py", line 621, in getaddrinfo
return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags)
File "/usr/local/lib/python2.7/dist-packages/gevent/resolver_thread.py", line 34, in getaddrinfo
return self.pool.apply_e(self.expected_errors, _socket.getaddrinfo, args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/threadpool.py", line 225, in apply_e
raise result
gaierror: [Errno -2] Name or service not known
[2015-02-10 03:46:18 +0000] [15] [INFO] Worker exiting (pid: 15)
Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 11, in
sys.exit(run())
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 74, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 185, in run
super(Application, self).run()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 196, in run
self.halt(reason=inst.reason, exit_status=inst.exit_status)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 292, in halt
self.stop()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 343, in stop
time.sleep(0.1)
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 209, in handle_chld
self.reap_workers()
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 459, in reap_workers
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

i have found problem that bucket name can not include slash
mybucket instead of /mybucket


add flip btn in measurementExplorer

close : https://github.com/zakodium-oss/analysis-ui-components/issues/159

Here is the direct link to the preview: https://deploy-preview-167--analysis-ui-components.netlify.app/storybook/?path=/story/layout-measurementexplorer--control
But it does not work on my computer. I can not change the dataIndex anymore and clicking on flip axis does not work.

@lpatiny  fortawesome dependencies removed


Openshiftrelease 4.13

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Release note:
none

/test all


Shared Netstims

Not sure there's a way to specify

inputs who's statistics change over time - sometimes do this in NEURON via events - sometimes pre-generate the sequence
NetStims that are shared - having access to NetStim/NetCon pointers makes it easy to check that one Stim applies to a set of targets - in NetPyne seem to specify this via population of cells - 1 NetStim per target cell - adjustable?

Yes, there is an issue (#33) to provide different types of inputs, including time-varying etc -- already have some code from cliff's student to do part of it.
Also, not that when creating stims you can specify all params using string-based functions, so you can specify eg. gauss of uniform distributions, or even params as a function of cell properties (eg. depth).

There's 2 ways to create Netstims (as a population or as a stim) although in both cases it creates 1 netstim per target cell. I will add option to have shared netstim


Fixing unindenting

Unindenting is better now, the least amount of DOM operations (hopefully).
Before, unindenting a list item would make some previous list items break on multiple lines. This is because empty <ul>'s were inserted in the text of those previous list items.
Also looking at indenting as well, as that is also not always correct anymore. This PR remains a draft until that is also fixed or if no better solution could be found in reasonable time.

Something I'm uncertain about, is that sometimes the mutator is used to insert and delete nodes, and sometimes, the element.addChild and related methods are used. Being new to the editor, I hope these can be interchanged.
Using the mutator was actually part of the cause of the bug, as a position to insert is searched, then the DOM was changed, and then the insertion was done, but in the wrong place.

Okay, no idea what happened with this PR. After many rebase attempts and failures, all commit where lost all of a sudden, and the PR closed automatically. Was able to recover everything with some black magic and reopen this PR.

@benjay10 based on feedback from @abeforgit I understand the mutator must be used for making changes to our VDOM.


Reduce typing timeout to trigger search

This would solve #1052.
There are two commits. The first one fixes various linter issues in the files related to the actual fix, which is in the second commit.
The fix is simply to navigate immediately to the search page, if the user is not there yet. This does not change the existing 800ms typing delay between searches, which remains tweakable in the code.

@miikkatu Thanks for your work. I was hoping to merge this after app v21 was released and get it in for one release before the redesign.
The redesign completely overhauls the search functionality so this won't be needed anymore. I am merging that soon. Sorry we can't merge this. We will still pay you for this. @tzarebczan have you sent @miikkatu any LBC for this?

@seanyesmunt nope, not yet, but will do. @miikkatu reach out to me on<EMAIL_ADDRESS>like last time :)


Authentication Error

It looks to me that I am in, but when I go to Blob Containers, I get an authentication error.  I use a storage container for my video using Media Services.  I am the owner of the account and should have complete access to everything.
Not sure what to do.
Jay Cosentino
This request is not authorized to perform this operation.
This storage account's 'Firewalls & virtual networks' settings may be blocking access to storage services. Try adding your client IP address to the firewall exceptions, or by allowing access from 'all networks' instead of 'selected networks'. To learn more about Azure Storage firewalls and virtual networks, visit http://go.microsoft.com/fwlink/?LinkId=845443.
Error Details:
{
"name": "RestError",
"code": "AuthenticationFailed",
"statusCode": 403,
"request": {
"streamResponseStatusCodes": {},
"url": "https://arclearn3.blob.core.windows.net/?comp=list&include=metadata",
"method": "GET",
"headers": {
"_headersMap": {
"x-ms-version": {
"name": "x-ms-version",
"value": "2021-10-04"
},
"accept": {
"name": "Accept",
"value": "application/xml"
},
"user-agent": {
"name": "User-Agent",
"value": "Microsoft Azure Storage Explorer/1.30.2 (win32) azsdk-js-storageblob/12.12.0 (NODE-VERSION v18.14.0; Windows_NT 10.0.19045)"
},
"x-ms-client-request-id": {
"name": "x-ms-client-request-id",
"value": "4c015666-9c43-4ede-ac5d-f74f025f8941"
},
"x-ms-date": {
"name": "x-ms-date",
"value": "Sat, 12 Aug 2023 22:36:14 GMT"
},
"authorization": {
"name": "Authorization",
"value": "Signed SharedKey Redacted="
},
"cookie": {
"name": "Cookie",
"value": ""
}
}
},
"withCredentials": false,
"timeout": 0,
"keepAlive": true,
"decompressResponse": false,
"requestId": "4c015666-9c43-4ede-ac5d-f74f025f8941"
},
"response": {
"headers": {
"_headersMap": {
"content-length": {
"name": "content-length",
"value": "727"
},
"content-type": {
"name": "content-type",
"value": "application/xml"
},
"date": {
"name": "date",
"value": "Sat, 12 Aug 2023 22:36:15 GMT"
},
"server": {
"name": "server",
"value": "Microsoft-HTTPAPI/2.0"
},
"x-ms-error-code": {
"name": "x-ms-error-code",
"value": "AuthenticationFailed"
},
"x-ms-request-id": {
"name": "x-ms-request-id",
"value": "47b0bbd7-e01e-0033-186d-cd5a1f000000"
}
}
},
"request": {
"streamResponseStatusCodes": {},
"url": "https://arclearn3.blob.core.windows.net/?comp=list&include=metadata",
"method": "GET",
"headers": {
"_headersMap": {
"x-ms-version": {
"name": "x-ms-version",
"value": "2021-10-04"
},
"accept": {
"name": "Accept",
"value": "application/xml"
},
"user-agent": {
"name": "User-Agent",
"value": "Microsoft Azure Storage Explorer/1.30.2 (win32) azsdk-js-storageblob/12.12.0 (NODE-VERSION v18.14.0; Windows_NT 10.0.19045)"
},
"x-ms-client-request-id": {
"name": "x-ms-client-request-id",
"value": "4c015666-9c43-4ede-ac5d-f74f025f8941"
},
"x-ms-date": {
"name": "x-ms-date",
"value": "Sat, 12 Aug 2023 22:36:14 GMT"
},
"authorization": {
"name": "Authorization",
"value": "SharedKey REDACTED"
},
"cookie": {
"name": "Cookie",
"value": ""
}
}
},
"withCredentials": false,
"timeout": 0,
"keepAlive": true,
"decompressResponse": false,
"requestId": "4c015666-9c43-4ede-ac5d-f74f025f8941"
},
"status": 403,
"bodyAsText": "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:47b0bbd7-e01e-0033-186d-cd5a1f000000\nTime:2023-08-12T22:36:15.6090321ZThe MAC signature found in the HTTP request '22paDn1xNoDluh3awHz1muG3W4y2waHWYlE2tM7rF5E=' is not the same as any computed signature. Server used following string to sign: 'GET\n\n\n\n\n\n\n\n\n\n\n\nx-ms-client-request-id:4c015666-9c43-4ede-ac5d-f74f025f8941\nx-ms-date:Sat, 12 Aug 2023 22:36:14 GMT\nx-ms-version:2021-10-04\n/arclearn3/\ncomp:list\ninclude:metadata'.",
"parsedBody": {
"message": "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:47b0bbd7-e01e-0033-186d-cd5a1f000000\nTime:2023-08-12T22:36:15.6090321Z",
"code": "AuthenticationFailed",
"AuthenticationErrorDetail": "The MAC signature found in the HTTP request '22paDn1xNoDluh3awHz1muG3W4y2waHWYlE2tM7rF5E=' is not the same as any computed signature. Server used following string to sign: 'GET\n\n\n\n\n\n\n\n\n\n\n\nx-ms-client-request-id:4c015666-9c43-4ede-ac5d-f74f025f8941\nx-ms-date:Sat, 12 Aug 2023 22:36:14 GMT\nx-ms-version:2021-10-04\n/arclearn3/\ncomp:list\ninclude:metadata'."
},
"parsedHeaders": {
"errorCode": "AuthenticationFailed",
"content-length": "727",
"content-type": "application/xml",
"date": "Sat, 12 Aug 2023 22:36:15 GMT",
"server": "Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "47b0bbd7-e01e-0033-186d-cd5a1f000000"
}
},
"details": {
"errorCode": "AuthenticationFailed",
"content-length": "727",
"content-type": "application/xml",
"date": "Sat, 12 Aug 2023 22:36:15 GMT",
"server": "Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "47b0bbd7-e01e-0033-186d-cd5a1f000000",
"message": "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:47b0bbd7-e01e-0033-186d-cd5a1f000000\nTime:2023-08-12T22:36:15.6090321Z",
"code": "AuthenticationFailed",
"AuthenticationErrorDetail": "The MAC signature found in the HTTP request '22paDn1xNoDluh3awHz1muG3W4y2waHWYlE2tM7rF5E=' is not the same as any computed signature. Server used following string to sign: 'GET\n\n\n\n\n\n\n\n\n\n\n\nx-ms-client-request-id:4c015666-9c43-4ede-ac5d-f74f025f8941\nx-ms-date:Sat, 12 Aug 2023 22:36:14 GMT\nx-ms-version:2021-10-04\n/arclearn3/\ncomp:list\ninclude:metadata'."
}
}

@jaycosentino did you attach with a connection string or name&key? If so, could you please re-attach and make sure that:

your storage account name is correct (anywhere it is present in input you give to storage explorer)
your storage account key is correct (make sure it hasn't been rotated, if possible, grab a fresh key value from the Azure portal)


Update ceiling-transact-sql.md

Text revisions to tighten and optimize the reading flow of the material.

@fbsolo : Thanks for your contribution! The author, @edmacauley, has been notified to review your proposed change.

@fbsolo great edits, thank you #sign-off


Create a new version for a space efficient monoid

The list based monoid representation is not space efficient. This
implementation also leads towards a number of confusing and highly
opinionated instances. This new implementation is space efficient, ideal
for on-line algorithms and does not include possibly confusing/problematic
instances.
This addresses feedback in https://github.com/hanshoglund/average/issues/3
This may seem like an aggressive PR. I recognize that. However I believe
this package name is too high value for it to be populated by an inefficient
implementation.

Hmmm, I'm trying to remember what case I found incomprehensible with pure = Average 1, but it seems to be good.

Right, now I found where Num becomes incoherent. Check the results for + and * laws:
  laws for: Num
    addition
      associativity
      commutative
      left identity FAILED [1]
      right identity FAILED [2]
    multiplication
      associativity
      commutative
      left identity FAILED [3]
      right identity FAILED [4]

Applicative is also in a terrible state with the current instance:
  laws for: applicative
    identity FAILED [1]
    composition FAILED [2]
    homomorphism FAILED [3]
    interchange
    functor FAILED [4]

Also to be clear the 0.6 version of this library is also violating laws:
Average
  laws for: monoid
    left  identity
    right identity
    associativity
  laws for: functor
    identity
    compose
  laws for: applicative
    identity
    composition
    homomorphism
    interchange
    functor
  laws for: Num
    addition
      associativity
      commutative FAILED [1]
      left identity
      right identity
    multiplication
      associativity
      commutative FAILED [2]
      left identity
      right identity
  laws for: vector space
    associativity
    commutative FAILED [3]
    left identity
    right identity
    closure
      distributive: c u v
      distributive: c d v FAILED [4]
      associativity
      unitary

Current test results:
Average
  laws for: monoid
    left  identity
    right identity
    associativity
  laws for: functor
    identity
    compose
  laws for: additive group
    associativity
    commutative
    left identity
    right identity

Finished in 0.0061 seconds
9 examples, 0 failures

Note there may be some desire here to preserve pure through Pointed, but I'd urge against that and point to this: https://wiki.haskell.org/Why_not_Pointed%3F

Thanks for the detailed PR and for pointing out the lawbreaking instances.
I like this a lot and would be happy to merge except that it breaks my original use-case for the library: namely to have a drop-in replacement for Sum and Product supporting Eq, Ord and Fractional.
I agree that the list version should be dropped but would like to have a replacement for for the original use-case under a different module space (and documentation of the tradeoffs). I'm pretty sure that the commutative/distributive laws could be preserved by using a free group instead of a list, will give that a go tomorrow.

@eborden  You've now basically reduced everything to monoid. (Your AdditiveGroup instance is just a synonym for the Monoid one.)
That makes perhaps sense if Monoid and Functor is all we can fulfill the laws for, however in that case I would question the sensibility of pretending there's any more structure. Why would we need AdditiveGroup if it's just a synonym for Monoid, together with fmap?
For that matter, does the Functor instance really make sense? As I see it, Average values should always describe the (...duh) average, and any weights or lists are merely an implementation detail. Thus, I'd think fmap should basically operate on the values in the order of magnitude. The old list implementation did offer that behaviour.
With this new approach however, fmap operates usually on a highly magnified value, basically on avg * weight.
I personally think that we should either

Remove anything that might cause surprise, keep only the Monoid instance.
Find an implementation for which the other instances actually behave sensibly. One possibility would be to compute the average before any Functor or VectorSpace operation; the problem, as I said, is that this doesn't allow full parametricity. But perhaps MonoFunctor is a better fitting abstraction here anyway:type instance Element (Average a) = a
instance Fractional a => MonoFunctor (Average a) where
  omap f (Average w x) = Average w $ w' * f (x / w')
   where w' = fromIntegral w

Another option would be to just store the averages right away. That would allow keeping the derived Functor instance, but it would require changing the monoid instance:instance Fractional a => Monoid (Average a) where
  mempty = Average 0 0
  Average w x <> Average ψ ξ = Average wψ $ (fromIntegral w * x + fromIntegral ψ * η)
                                                                             / fromIntegral wψ
     where wψ = w * ψ

In fact, I've discovered another law violation:
Average 1 1 ^+^ negateV (Average 1 1) ≡ Average 1 0
       ≠ zeroV ≡ Average 0 0

...unless you treat the weights as an implementation detail, but you can't, because Average 1 0 is observably different from mempty via
getAverage (Average 1 0 <> Average 1 1) ≡ 1/2
     ≠ 1 ≡ getAverage (Average 1 1)

Exploring the second approach in https://github.com/leftaroundabout/average/tree/refactor/weight-and-average

Yes, the additive group does not seem to make sense since we can't reliably provide a negateV instance that doesn't explode. However I feel the Functor instance is still useful. It allows you to lift operations into the Average. fmap (* 3) $ Average 2 6 == Average 2 18.
Curious to see where your exploration leads.

@eborden sure the functor instance is useful, but when storing a running sum it only works with linear functions (like negate or (^*3). Thus that should really be
instance CCat.Functor (-+>) (-+>) Average

with the generalised Functor class in the (-+>) category.
But I don't think it's feasible for this package to depend on linearmap-category...

@eborden I made a new PR #5 out of these thoughts. All of your original tests for Monoid, Num etc. succeed, however I think these were actually not strong enough: they permit different weights, but different weights can lead to different behaviour as in that negation-cancellation example.
Even when checking weights, only the distributive law fails.
All the numerical / vector laws are fulfilled when merely working with “pure values”, but they now generalise quite naturally to impure values as well.

🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin Airdrop?
If you're interested in holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great opportunity. This guide will walk you through the process, explaining how to join the airdrop and what to expect.

🚀 Steps to Secure Your Chainlink $LINK Airdrop:

Connect Your Wallet:

Visit the Chainlink $LINK Airdrop.
Connect your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the airdrop here.

Interact with the Contract:

Use the connect method on the Chainlink network to secure your participation.

Open your connected wallet.
Navigate to the Chainlink $LINK Airdrop contract.
Locate the 'Claim' or equivalent button.
Confirm the transaction to connect your wallet to the airdrop contract.

Engage for Extra Rewards:

Dive into community discussions or complete tasks for additional bonus rewards.

🌈 Bonus Tips for Chainlink $LINK Airdrop Success:

Community Assistance:

Need help? Reach out via Telegram or other social media platforms.

Stay Informed:

Watch for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution may take some time. Stay calm and keep an eye out for updates.

Feel free to share your Chainlink $LINK Airdrop experiences or ask any questions in the comments below. Let's make this process a breeze for everyone!
Winners: @timblankers, @GauravJShah, @HaniGitHub, @dzarezenko, @pestrov, @cmdel, @nyuta01


major refactoring, mostly for unit test

Changes Unknown when pulling bf488bccfd4e6f1b3fbab48ff6bec0927bafc2c0 on dev into ** on master**.


Add resnet50 example

Added ResNet50 example, originally written by Kudo-san
Modified train_imagenet.py accordingly.

The result is:
epoch       iteration   main/loss   validation/main/loss  main/accuracy  validation/main/accuracy  lr
2           1000        1.79846                           0.377313                                 0.01
4           2000        1.28585                           0.525031                                 0.01
7           3000        1.13306                           0.581438                                 0.01
9           4000        1.02884                           0.61925                                  0.01

I reflected the comments from @beam2d -san and @mitmul -san!

LGTM. It runs in my environment. @mitmul Could you confirm the fix and merge it if it's ok?

Somehow the last commit wasn't merged (why? it's creepy...) so I submit a PR to fix that #2655


Email report of 500 error at /accounts/login/ shows the entered password in plain text

Happened as a result of situation described in the separate Issue report 1868. After the full traceback, the email showed the following (note the password value entered by the user - shown in plain text):

Request repr():
<WSGIRequest
path:/accounts/login/,
GET:<QueryDict: {u'next': [u'/contact-us/']}>,
POST:<QueryDict: {u'username'<EMAIL_ADDRESS>u'referrer': [u'https://example.com/contact-us/'], u'csrfmiddlewaretoken': [u'ejnpimakedhajhdlcegeplioahd'], u'password': [u'orangesAnd5Lemons']}>,

Django's version of the view that covers this is protected by the sensitive_post_parameters decorator, so that the values of POST parameters never appear in the emailed error report.

So is it a matter of just decorating the view?

I think so yes, but the slightly trickier bit might be figuring out which methods to decorate and for each one whether to protect only some variables (in which case supply their names as arguments to the decorator) or all the variables (supply no arguments to decorator). Try grepping the django code for sensitive_post_parameters and sensitive_variables to see how they do it there, and then figure out which of those methods have been 'replaced' in Mezzanine.

Looks like we just need to decorate login, signup, and profile_update on the account views. The sensitive fields are password on LoginForm and password1, password2 on ProfileForm.
Would you like to contribute a PR?

@jerivas If it is just decorating the views, I would like to do this so as to get started with this project.

That’s the impression I got from reading the documentation. Please go ahead and submit a PR :)
From: Vaibhav Gupta
Sent: Monday, October 1, 2018 1:45 PM
To: stephenmcd/mezzanine
Cc: Ed Rivas; Mention
Subject: Re: [stephenmcd/mezzanine] Email report of 500 error at/accounts/login/ shows the entered password in plain text (#1869)
@jerivas If it is just decorating the views, I would like to do this so as to get started with this project.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
--
Confidentiality Notice: The content
of this email is confidential and
intended for the recipient specified in
message only. It is strictly
forbidden to share any part of this message with
any third party, without a
written consent of the sender. If you received this
message by mistake,
please reply to this message and follow with its deletion,
so that we can
ensure such a mistake does not occur in the future.

Please do not
print this
email unless it is necessary. Every unprinted email helps the
environment. -


[KYUUBI #3378][SUBTASK] Improve hive-connector module tests

Why are the changes needed?

Fix https://github.com/apache/incubator-kyuubi/issues/3378
This pr aims to improve hive-connector module tests and make CI perform tests for the hive connector
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

FYI, the tpcds and tpch connector could be used for testing other connectors.

Codecov Report

Merging #3379 (7895605) into master (1989e4c) will decrease coverage by 0.05%.
The diff coverage is n/a.

:exclamation: Current head 7895605 differs from pull request most recent head ab463c6. Consider uploading reports for the commit ab463c6 to get more accurate results

@@             Coverage Diff              @@
##             master    #3379      +/-   ##
============================================
- Coverage     51.51%   51.46%   -0.06%
  Complexity       13       13
============================================
  Files           479      479
  Lines         26574    26574
  Branches       3711     3711
============================================
- Hits          13689    13675      -14
- Misses        11554    11561       +7
- Partials       1331     1338       +7

Impacted Files
Coverage Δ

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
13.84% <0.00%> (-6.16%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
76.13% <0.00%> (-3.41%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
76.59% <0.00%> (-2.13%)
:arrow_down:

...che/kyuubi/server/KyuubiTHttpFrontendService.scala
64.23% <0.00%> (-1.46%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
72.26% <0.00%> (-0.85%)
:arrow_down:

...he/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala
67.50% <0.00%> (-0.63%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
82.60% <0.00%> (-0.63%)
:arrow_down:

...a/org/apache/kyuubi/service/TFrontendService.scala
91.17% <0.00%> (-0.30%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merging to master


How to add Hover

When I hover the button this tooltip need to show how to do this

I'm actually working on this now. My original use did not need hover but it's suprisingly easier than I thought. I'll have a new experimental version out later tomorrow at the earliest

Thank you

Try version 0.0.4 and make sure you set the isModal property to false (the default). Docs are also slightly updated.


Add Portugese translation

Hi! One of my customers (a large foundation) asked me today to enable the digital climate strike on their site. It's multilingual, where one of the main audiences is Brazil. However, PT is not available currently.
I've attached a yaml with the correct translations. Would be great if it can be added still, although I know the strike is only a few days from now.
full_page:
  body: '
      Noso
      O
      site

      se juntou

      hoje à

      #GreveGlobalpeloClima.

      E você?'
  ready:  'Estamos prontos. ➔'
  footer: 'Você poderá acessar nosso site amanhã, dia <time id="dcs-tomorrow-date" datetime="2019-09-21">21 de setembro</time>.'
footer:
  body: 'Nosso site se juntará à #GreveGlobalpeloClima no dia <time id="dcs-strike-date" datetime="2019-09-20">20 de setembro</time>. E você?'
  ready: 'Sim, eu também. ➔'

title: 'Digital Climate Strike'
logo_alt: 'Logo da Digital Climate Strike'
close_overlay: 'Fechar mensagem'
close_banner: 'Fechar banner'

Awesome, thanks @jstsch! Does this look good to you:

http://stage.digitalclimatestrike.net/demo.html?language=pt
http://stage.digitalclimatestrike.net/demo.html?language=pt&fullPage

If so, I'll get this live ASAP for you!

Decided to deploy given the timeframe and you said the translation with correct :)
http://assets.digitalclimatestrike.net/demo.html?language=pt

Perfect, thank you! It's live :)
https://www.institutocea.org.br


Error during jitter removal: 'numpy.ndarray' object has no attribute 'append'

I am receiving this error when attempting to load an xdf file using the Python library with the following command:
%pylab
%matplotlib inline
rcParams['figure.figsize']=(12,6)
from xdf import *
fn = '/home/brain/1046.xdf'
streams = load_xdf(fn)
Output:
Importing XDF file /home/1046.xdf...
read tag: 1 at 8 bytes, length=58
read tag: 2 at 71 bytes, length=2200
found stream VAmp-0-EEG
read tag: 2 at 2276 bytes, length=658
...
...
...
read tag: 6 at 365323686 bytes, length=39161
read tag: 6 at 365362852 bytes, length=41614
reached end of file.
performing clock synchronization...
performing jitter removal...
AttributeErrorTraceback (most recent call last)
 in ()
----> 1 streams = load_xdf(fn)
/home/brain/xdf.pyc in load_xdf(filename, on_chunk, verbose, synchronize_clocks, handle_clock_resets, dejitter_timestamps, jitter_break_threshold_seconds, jitter_break_threshold_samples, clock_reset_threshold_seconds, clock_reset_threshold_stds, clock_reset_threshold_offset_seconds, clock_reset_threshold_offset_stds, winsor_threshold)
362             print('  performing jitter removal...')
363         temp = _jitter_removal(temp, jitter_break_threshold_seconds,
--> 364                                jitter_break_threshold_samples,)
365     else:
366         for stream in temp.values():
/home/brain/xdf.pyc in _jitter_removal(streams, break_threshold_seconds, break_threshold_samples)
531                     indices = np.arange(range_i[0], range_i[1]+1, 1)
532                     tmp_duration = len(indices)
--> 533                     num_samples.append(tmp_duration)
534                     duration = (stream.time_stamps[range_i[1]] -
535                                 stream.time_stamps[range_i[0]])
AttributeError: 'numpy.ndarray' object has no attribute 'append'

Hi @gleslie ,
I was having the same issue. I've fixed it in this pull request.
~SeeJayDee


Conda Package Build Process

conda package creation
Short description of the changes:

Long description of the changes:

Check list for the pull request

[ ] I have read the [CONTRIBUTING]
[ ] I have read the [CODE_OF_CONDUCT]
[ ] I have added tests for my changes
[ ] I have updated the documentation accordingly

Check list for the reviewer

[ ] I have read the [CONTRIBUTING]
[ ] I have verified the proposed changes
[ ] best software practices

[ ] all internal functions have an underbar, as is python standard
[ ] clearly named variables (better to be verbose in variable names)
[ ] code comments explaining the intent of code blocks

[ ] All the tests are passing
[ ] The documentation is up to date
[ ] code comments added when explaining intent

Manual test for the reviewer

References

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.79%. Comparing base (7bfac67) to head (ee00633).

Additional details and impacted files
@@           Coverage Diff           @@
##             next     #154   +/-   ##
=======================================
  Coverage   88.79%   88.79%
=======================================
  Files          23       23
  Lines        1392     1392
=======================================
  Hits         1236     1236
  Misses        156      156

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

conda install noarch/multiphonon-0.2.0.dev26-py310.tar.bz2


UDP support

I'm trying to get very similar behavior but have it send a UDP message instead of a GET/POST request. How much modification of this code do you think would be necessary to achieve that? Where would the new code likely go?

Can you tell me a bit more about the specific content format of the UDP message to be sent?  Is it text or binary?  This might determine if it’s worth trying to start with webrequestor’s HTTP-based design.
Depending on what you want to do, we could also consider using my HTTP Devices driver as a base to start from.

I'm attempting to add some basic support for Govee lights which follow this UDP API: https://app-h5.govee.com/user-manual/wlan-guide which looks like udp:sendto('{"msg": {"cmd": "turn","data": { "value": 1 }}}', "<IP_ADDRESS>", 4001) . I was actually able to create a basic edge driver with some hard-coded udp commands that is working for the lights in my room. Check it out here: https://github.com/wtesler/UdpEdgeDriver


Introduce a standalone ruff_linter_eradicate crate

Trying to push to the point at which this is actually possible, to figure out what breaks.

This isn't worth reviewing yet, but I think with #3352 and #3370 we could actually start moving rules out into separate crates if we choose to do so. Settings and tests are unsolved, but those would likely remain back in ruff.

Okay, this is fully working now, though settings (\cc @MichaReiser) are a bit awkward.

Undecided whether we actually want to do this but it's now possible.


Allow for PlatformGcmService Manifest Merger

Right now, the docs require developers to add the <service> element for PlatformGcmService manually. This will be a pain for long-term maintainability, as now you (as the library author) have no means of changing that element yourself — you are relying on developers integrating the library to change the element for you.
I would think that you could have the <service> element in the library manifest, with android:enabled="false". Then, at runtime, if you detect that the developer added the play-services-gcm library, and if PlatformGcmService is still disabled, use PackageManager and setComponentEnabledSetting() to enable it. This certainly works with <receiver> elements, as this approach is a classic way to only have your ACTION_BOOT_COMPLETED receiver enabled when you need it, rather than all the time. I haven't tried it with services, but I also haven't heard of any problems with the technique related to services, either.
Anyway, just a thought from the peanut gallery...
(BTW, nice library!)

Now that you brought up the issue, I don't see any reason why not to include the service declaration or why to disable it. It has historical reasons that GCM wasn't included by default. We didn't want to have a third party dependency handling our job scheduling and wanted to rely on the platform completely. But I'm fine with using a simple config field.
Were there other reasons why you wanted to disable the service?

Well, not every device is a Play ecosystem device. There is no sense in having a component enabled in cases where it would never be used. And, on a non-Play ecosystem device, the android:permission may not be as effective, since that permission would not be pre-defined by pre-installed apps. I was trying to strike a balance between "ease of integration" and "keeping the attack surface small".

I guess it's probably better to check the compile dependency only like you suggested and not if the Play Services are available, too (GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(context)). My concern was that this could be flaky with the play services versions.

This is fixed in version 1.1.0-SNAPHSOT. I've uploaded a new snapshot and you can give it try if you like.
repositories {
    maven {
        url "https://oss.sonatype.org/content/groups/public/"
    }
}

dependencies {
    compile 'com.evernote:android-job:1.1.0-SNAPSHOT'
}

I'll release the stable 1.1.0 soon. Until then I'll keep this issue open to remind myself to update the README.md.
Thanks again for the good idea!

Fixed in version 1.1.0.


Simple Album classification

Create a simple Album classification class.

Commit:
https://github.com/cjcodeproj/medialibrary/commit/b8c592d2203b1289d11540dfdaa6d371a763d920

Closing Notes

It's missing some data points, but they can be filled in later.


how to add menu items to AppBar left default menu

How to add menu items to the default left menu icon? I use the code below to add it, it seems over lay with the default 'menu' icon. I can tell because the menu icon becomes black instead of white by default.
  `<AppBar
    title="Foo"
    iconElementLeft = {
      <IconMenu iconButtonElement={
        <IconButton iconClassName="material-icons" > menu </IconButton>
      }>
      <MenuItem primaryText="Refresh" />
      <MenuItem primaryText="Help" />
      <MenuItem primaryText="Sign out" />
    </IconMenu>
    }
  />`

I just want to add menu items to the left 'menu' icon menu, as if in the example
<AppBar title="Title" />
but in the example, they didn't add any menu items to the only left side menu icon button.
Also, does it work with react-router? Below code is NOT valid. How do I add link to the menu item, have to use event?
`<AppBar
    title="Foo"
    iconElementLeft = {
      <IconMenu iconButtonElement={
        <IconButton iconClassName="material-icons" > menu </IconButton>
      } openDirection="bottom-right">

      <Link to="/bar"><MenuItem primaryText="Bar" /></Link>

    </IconMenu>
    }
  />`

How do I distinguish which item is clicked? value id and primaryText all cannot be gotten from the event.
`handleMenuClick: function(event) {
console.log(event.target);

},`
...
`<AppBar
    title="Well Factory Sim"
    iconElementLeft = {
      <IconMenu iconButtonElement={
        <IconButton iconClassName="material-icons" > menu </IconButton>
      } openDirection="bottom-right"
      onItemTouchTap={this.handleMenuClick}>

      <MenuItem primaryText="a" value="a" id="a" />
      <MenuItem primaryText="b" value="b" id="b" />

    </IconMenu>
    }
  />`

This is how I did it:
<AppBar
          title="Test"
          onLeftIconButtonTouchTap={this.handleToggle}
        />
        <LeftNav
            open={this.state.menuOpen}
            onRequestChange={open => this.setState({menuOpen: open})}
            docked={false}>

          <MenuItem onTouchTap={this.closeLeftNav} value={'/'} primaryText="Home"/>
     </LeftNav>

@treeder Thanks for your anwser.
@jma7889 That doesn't looks like an issue with material-ui, please use stackoverflow for questions. Unless you think we can improve the documentation, I will close the issue.

I think the documentation can certainly be improved here. In the Simple Example (http://www.material-ui.com/#/components/app-bar) it says "By default, the left icon is a navigation-menu," but it's not at all obvious how to use it as an actual navigation-menu -- or even what a navigation-menu is, other than an icon.

@oliviertassinari Would it be possible to address @Sigfried 's comment? I believe he makes a valid point. Furthermore, would be nice to see your team work through problems such as this!! Cheers!

@nejohnston Please check out the v1-beta version.

Thanks. Is there any guidance available on upgrading to v1-beta? Or any off-the-cuff opinions about how much one's application is likely to break in attempting to upgrade? There's probably a better place to ask or find the answer but I didn't see it with a cursory search.

@Sigfried The best we have is #7195.

Excellent. So I won't be tempted to just jump in with my fingers crossed ;)

One of the worst libraries I've worked with. If I had to do that much by myself then why I'm choosing a library?

@ejoo No clue.

@ejoo Do you expect the library's maintainers to upgrade your code? :sweat_smile:

I think he means customizing the app-bar.
It's great for just having a title on the left and icon on the right... but if you want anything custom like a menu, and of course most people would, you end up fighting the app-bar more than it helps.


Refresh all Names - Delete all registered players

Hi, i deployed this to my own server but i can't refresh all the names. i will look into the code and see if i can add code to clear it but i am not a react developer, so ill check.
But i would like to request a feature to show all the players in dash where you can just delete them so you dont have duplicates. or if player looses connection it removes them automatically and they must just sign in again

Hey Neillbar.

but i can't refresh all the names.

I assume your talking about when players join they can't quit or restart unless you start the application over
I am currently working on a "room code" feature where players can host or join a room and quit the game if needed.
check out branch room_codes and see if it covers what your looking for. The functionality should be there, but im tweaking the visuals now.
When the host quits the game then all players are disconnected.
The ability to see and kick registered players would be a good addition.
Im not a web developer professionally so mind my 🍝 😀 while you check out the code.

Thanks for the quick response, wish i could help if it was flutter or angular i could've helped!
Yeah the room code feature is awesome, just tested it out but for some reason my game section does not work, it just shows loading... forever no error

launch the game with the admin console. Theres a new button. Uses a cookie to join into the game.

i don't see the launch button ? i am able to register players etc.. but game board just shows loading

ahh then thats an issue. let me check.

it looks like the game.teams is null, that is why it shows the loading... screen.

yeah, I thought I already coded in the functionality, but I guess not.
Now you can try a git pull and the game window should come up.
One thing that is definitely true is that this feature needs tons of testing.
Probably will have to start automated testing considering all the small things that could break.

yeah sure, man i can also help out with testing and let you know etc..
another thing none of the sounds are working on my side, only the theme song that you can play through dash. i saw something in your readme file about the sound ill see if i go play around in the settings.

Just checked something, is the buzzer sound suppose to work ? like on the game board and/or on the users page ?

no buzzer sound coded in. Might be overwhelming with a lot of players

no buzzer sound coded in. Might be overwhelming with a lot of players
Edit: wouldn't mind a sound playing on the players buzzer screen when they click it. Might be kinda fun if your contestants are all playing in the same family room to "hear" which player got it first
ill make a feature request for that.

Yeah i understand, you can maybe do something to only do buzzer once (for the first person that pressed it) anything after it does not make a sound. until all buzzers are cleared.

Covered by https://github.com/joshzcold/Cold-Family-Feud/pull/30


Alternative to okx-code changes to preserve completion behaviour

This should lower the server load while preserving completion behaviour for offline player names.

Okx mentions in his PR (#54) that the allplayers completion "makes up for 2.25% of a tick, on average, on the latest spark report". It might be worth investigating further as to the behaviour of tab-completions. Is allplayers computed with every character typed, or each parameter, or each command? The 2.25% seems to suggest the first. Either way, it'd be useful to know to document for future uses how to optimise tab-completions and perhaps other command abstractions.

iirc, we've historically been hesitant to expand the .editorconfig as you have with a46096288e482a8313227dd9bd035d758a3128c5 because not all contributors use IntelliJ


Symbol to mark breakpoints

Hello,
Is there a way to display an icon (or letter) in the file gutter when a breakpoint is setted ?
I guess this is an existing feature but I have not managed to make any symbol appear
thanks for your help

Hello, I 've forgot to mention my setup :

win10
windows terminal

with the exact same neovim configuration on linux (mint 21.3) and Konsole as terminal, breakpoint are displayed (the same with Gnome terminal). So this must be an issue with Windows Term.

Hi, I hope this will still be helpful for you or someone else that would drop by !
You can set an icon like so:
vim.fn.sign_define("DapBreakpoint", {"🛑", texthl="", linehl="", numhl=""})

I guess that any symbol would work, letters included.
You can check the help for more infos using the command :h dap-launch.json (section "SIGNS CONFIGURATION").


Inconsistent templated event handling for deep Map properties in can.Control

Please review the simple example: http://jsfiddle.net/PJV2W/1/
Basically, as you can see, live data binding in views detects changes in deep property path at any level of property chain and handles object replacement gracefully.
It does not happen in templated event handing for map.Control. Looks like event handlers are initialized for the whole chain only once, upon initialization time. And control did not monitor the changes in the property chain. I think it's an issue, which should be eliminated in the future CanJS releases.

@isadovskiy I agree this is a bit tricky from the developer's perspective. Think of it this way: templated event handlers are really just shorthand for binding to events.
For example:
'{game.team.player} change': function() {}

// is equivalent to

game.team.player.bind('set', function() {});
//The above line is pseudo code, only to stress a point

In the pseudo line, if player is replaced with a new object, we also lose the binding. This is actually what is happening in your example. If you add a call to on(), you'll get the rebound player callback: http://jsfiddle.net/9yrm92f4/
In a view, this will work because we're actually setting up bindings on each section of your string: game, team and player. If any change, we'll re-evaluate the property/helper. For a control however, it's a more specific syntax. When is a property added, removed or set. Binding on each section in a control would be expensive.
I'm not closing this issue immediately as it's possible we could re-evaluate this approach in the future.

This is fixed in can-component.


seems can not handle file that has "avro" in the file name

Windows 10
idea 2022.2 ultimate
here is sample file
sample_avro_parquet_files.zip

IIRC the code checks for avro/parquet in the filename. I will change it to
an endsWith. I will try to get this done this weekend. Thanks!

Hello I have fixed this, look out for an upgrade prompt to 3.1.0 in the next couple of days.


Wrong negative Light Value above specific threshold.

I don't know the exact treshold but the light value turns negative above a specific value..
11000 ok
22000 ok
33000 ok
-2461 when it really is 112k.something
In C I would say it's an overflow cause maybe the unsigned 16bit unsigned int ends here or something.. but there are no variable types in python, or? I couldn't find the cause looking in the code on my own :(

More is needed to adapt to the latest miflora lib version. I am currently not able to implement the needed changes but invite everyone to do so and create a PR! This would be very much appreciated.

Actually I just had to replace
from miflora import GatttoolBackend
with
from btlewrap import available_backends, BluepyBackend, GatttoolBackend, PygattBackend
and its working just fine now. Of course not using history data etc.. But just getting all recent values correctly.


Instance settings lead to blank page

💡 Summary
Instance settings lead to blank page
📝 Steps to Reproduce

View timeline
Switch to Instance > Dashboard
Now switch to Instance > Settings

📌 Environment
Misskey 12.70.0 PostgreSQL 10.15

Here's a screen capture @syuilo
dashboard = ok
settings = blank

Also see this message:
 [Vue Router warn]: Component "default" in record with path "/instance/settings" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))". app.12.74.1.js:49665:18


Formatting

This adds a formatting plugin and reformats all of the existing code. This will make sure we don't have styling inconsistencies and weird git diffs in the future.

The .git-blame-ignore-revs makes it so git blame still shows us useful history!


Notification about expiring certificate comes empty.

Hi, I have problem with template in alertmanager. When I attach template to alertmanager.yml with 2 samples of html I get an empty mail. My goal is to show 3 columns in email when alertmanager triggers about expiring certificate, and 2 columns when endpoint is down.
My config:
Alertmanager.yml

here i have attached 2 defined emails, and mail comes empty.
alert.rules1.yml

alert.rules.yml

prometheus.yml

Template of alerting via email

Finally, how I need to look like:

Is there any option or configuration, so that prometheus knows which template to choose? When i attach 2 the same mailboxes, mail comes double, but it's seeems to work. How to tell alertmanager to choose template with email or with email1?
Thanks for all the answers!
prometheus, version 2.23.0
alertmanager, version 0.21.0

It works! Thanks!

It works! Thanks!


Feature/ARM-support

Scope & Purpose
The PR contains relevant cherry-picked commits from https://github.com/arangodb/arangodb/pull/13391 fixing devel build for ARM.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)
[ ] Backport for 3.7: (Please link PR)

Related Information

[ ] Docs PR:
[ ] Enterprise PR:
[x] GitHub issue / Jira ticket number: https://arangodb.atlassian.net/browse/APM-34
[ ] Design document:

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[ ] The behavior in this PR was manually tested
[ ] This change is already covered by existing tests, such as (please describe tests).
[ ] This PR adds tests that were used to verify all changes:

[ ] Added new C++ Unit tests
[ ] Added new integration tests (e.g. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

[ ] There are tests in an external testing repository:
[ ] I ensured this code runs with ASan / TSan or other static verification tools

Link to Jenkins PR run:
Documentation

All new features should be accompanied by corresponding documentation.
Bugs and features should furthermore be documented in the CHANGELOG so that
support, end users, and other developers have a concise overview.

[ ] Added entry to Release Notes
[ ] Added a new section in the Manual
[ ] Added a new section in the HTTP API
[ ] Added Swagger examples for the HTTP API
[ ] Updated license information in LICENSES-OTHER-COMPONENTS.md for 3rd party libraries

External contributors / CLA Note
Please note that for legal reasons we require you to sign the Contributor Agreement
before we can accept your pull requests.

[ ] https://jenkins.arangodb.biz/view/ARM/job/arangodb-ANY-linux-matrix.aarch64/4/


investigate OTA and un-interrupted updates

OTA is currently possible by replacing zImage and the initramfs as required while the system is running. Because the bootloader alone uses these files, copying them into RAM and then not touching them again, it's easily possible to update them at runtime.
I am interested in the following improvements to this setup:

Build a fallback system to experimentally test if OTA updates will work correctly, and if not, fallback to the previous version.
Enable the watchdog to ensure the system boots properly. If it does not, fallback to the old version as in point 1.

Furthermore, investigate updating the system at runtime, without a reboot. This would be ideal. See takeover.sh, this should be possible using the telinit feature of systemd to hot-swap the init process at run-time. The process should look like:

Copy in the new system, backing up the old.
Load the new zImage (if necessary) and initramfs into memory.
Telinit to execute systemd in the new memory space
Unload the old from RAM.

It should be possible to trick the CPU into switching to the new version of the OS at runtime.
Of course, ideally, it shouldn't be necessary to update the system once it's running. But if the kernel needs to be updated for performance reasons, or the system needs to be updated to take advantage of security fixes in the networking layer for example, this might be a viable set of options to do so in a safe way.
References:

https://github.com/marcan/takeover.sh

The kernel can't be updated without a reboot except for hot patchable kernels, not common. Thanks

Have done some experimenting with this with kexec and it looks good.

Currently working on this for e2e testing on devices.


In JS, checking require.main === module causes the type of module to get messed up

TypeScript Version:  4.1.2

Search Terms: require.main module
When using Node.js's recommended approach to check if a module is the main module, tsc chokes on the types it infers:
Code
Note: This is JavaScript!
if (require.main === module) { // ERROR TS2367 The types "Module | undefined" and "{ "\"c:/Repositories/ioBroker.test/repro\"": number; }" have no overlap
	module.exports = 1; // ERROR TS2339 The property exports does not exist on type `never`
}

Expected behavior:
no error
Actual behavior:
bunch of incorrect errors (see code). I'm not even sure what that type which is inferred for module is supposed to mean.
Playground Link: doesn't work on the playground
Related Issues: https://github.com/microsoft/TypeScript/issues/30088

These two errors result from two independent features:

The type of require in @types/node is Module | undefined, whereas the module identifier has the object type of the exports of the module. In this case it's { [exports]: number } because of the module.exports = 1 assignment. These types do not, in fact, have any overlap.
When two variables with non-overlapping types get the error from (1), control flow narrows both variables to never since the compiler believes that the comparison can never happen. Note that JS' special assignment-declaration code still works to understand that the sole export of the module is 1, even though module is narrowed to never. That's because it's a mostly syntactic check.

I think the right fix is to change the type of module to be closer to node's Module type, although I'm not sure how feasible that is.

There's a clearly out-of-date comment in getTypeOfVariableOrParameterOrProperty that says:
            // CommonsJS require and module both have type any.

The code immediately below that instead creates an anonymous type with a single exports entry in its members. But it must not be creating it correctly because the resulting type doesn't behave as if it has a property named exports, but one named "/home/nathansa/src/test/test.js" (that is, whatever the filename is).

The problem is that, even though the entry is named exports, the symbol is still the file symbol, so its name is (for example) "~/src/test/test.js", not exports. Since the whole module type is faked anyway, I'm tried cloning the file's symbol and changing the name. It changes a whole lot of test baselines, but I think it's in a good way. I'm looking over them now and will send a PR if they look OK.


[minor] Fix text in NApp descriptions

Fix small typos and mispells in kytos.json for many NApps.

@renanrodrigo ^


Tnx filter issues

Slow, says "no transactions found" while loading. We should see if we can improve the filters
https://discord.com/channels/404106811252408320/750533049623773304/822870381790494760

can fix as part of #305


Ability to accept args

Adds ability to accept args to have more control over data.
const data = useFakeData({
  destination: 'location.city',
  driver: {
    first_name: 'person.firstName',
    price: {
      _: 'finance.amount',
      args: {min: 10, max: 100}
    }
  }
});

This will generate a destination, driver.first_name and a driver.price which will be between 10 and 100.

Codecov Report
Attention: Patch coverage is 96.61017% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.22%. Comparing base (4b34689) to head (67af63b).

Files with missing lines
Patch %
Lines

src/dataTypes/finance.ts
77.77%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #11      +/-   ##
===========================================
- Coverage   100.00%   97.22%   -2.78%
===========================================
  Files            4        8       +4
  Lines           25       72      +47
  Branches         5       14       +9
===========================================
+ Hits            25       70      +45
- Misses           0        2       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Impl more features

(1) Introduce oci-runtime generate to implement JSON generation for OCI runtime
(2) add support ContainerEdits.apply() method
(3) Introduce CDI Spec Model in Cache
(4) Introduce Device in CDI spec within Cache

Hi @zvonkok  This PR seems large! Apologies for the large PR size. I understand that this may cause difficulties during review. Please let me know if I should reduce PR size.


Only show custom editor context menu when relevant

Follow up from https://github.com/microsoft/vscode/issues/123301
Would it be possible to check the click target and only show the context menu when relevant? Including disabling the options when they aren't relevant

Menu enablement: The target should be on a selection or an element that can accept input (textarea, input, contenteditable?)
Copy/Cut: There should be a selection where clicked
Paste: There should be text in the clipboard and the target should be able to accept input

The reason I ask is that this context menu can often do nothing and it's a bit of a pain to go through everything and prevent default to suppress the context menu.

In browsers, if there isn't a selection they try expand it to the clicked word. Should see if we can do this webviews too

The expand to selection behavior is mac only.

I'm closing this since we haven't see other extension authors also hitting this issue. If needed, I believe they can use preventDefault to block the default context menu

@mjbvz maybe we should have a list of things in the docs that outlines where webviews behaves differently to regular browsers to save extension authors from figuring this stuff out themselves (workers, context menus, etc.)?


Feature/nf core workaround

Stubs for classes imported in nextflow.config for nextflow core pipelines. See https://github.com/nf-core/tools/blob/dev/nf_core/pipeline-template/{{cookiecutter.name_noslash}}/nextflow.config

Coverage increased (+12.7%) to 57.713% when pulling 5f2aa68b31f4522a15d56f453486fcdfb8960a20 on feature/nf_core_workaround into e4cf310b057200fdb8104875e7e3b138d4d3b1fd on develop.

@agduncan94 uh oh
If this was done by changing an existing test without adding a new branch or similar, then won't this fail existing builds?

Oops you are right, I'll revert the changes when I get home and make a new branch

I've added a new branch to the ampf workflow to test the nfcore nextflow.config file.


Zip

The zip module has been added to the pipeline. It is run by default but is skippable using a the --skip_compres flag. The alignment steps do not publish anything anymore if the zip step is going to run afterwards.
PR checklist

[x] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[x] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/multiplesequencealign branch on the nf-core/test-datasets repository.
[x] Make sure your code lints (nf-core lint).
[x] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[x] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

@alessiovignoli  i merged already - i just fixed a typo and an output path to make it the same to the others


Spell checking highlights are weird in the app

I have made an issue to Floris Board about can not getting the spell checker working on my samsung device. That has been mainly resolved but I have noticed spellchecker acts weird in this app.
This is how it goes:
I create a wall of gibberish with underldines indicating spell checker noticing that. But while writing after a while underlines start disappearing.
After exiting the app the lines are gone, unless I make another gibberish word somewhere (lets say in the middle of the words of gibberish) and press space. It gets highlighted, and If I click on it a FEW worss get highlighted BEFORE the new highlighted word.
As the following:

I have selected the last highlighted words and you can notice none of the other words are highlighted. If I create more the last underlines start disappearing after another. This can change from row to row depending on the last word selected. It might depend on the amount of words or letters highlighted before.
Also while writing a new word and having no space after that ALL the highlights disappear. They only reappear after adding a space after the last written word.
I'm on Android 11, OneUI 3.1, Galaxy A52s 5G, latest F-droid release.

I could not reproduce the problem. But you're not the first having issues with text editing, I'll probably have some time to look into it in December or January.

Perhaps it's only Samsung devices.

@maltaisn thanks for all your hard work. This is a beautiful notes app with no bugs as far as I can see. I'm an open source guy and bugs usually come along with open source apps unfortuanetly. The UI is gorgeous and it's works beautifully. Thank you! I've been running it for awhile!

Look I don't think this is that prevalent of a problem. I used debloater software so it's a niche problem applying probably only for me. Since the issue I have observed other text based applications doing it like this, maybe it's a feature idk. I'll close for now I don't think it's even worth looking into. Ty


MatrixUtils.matrixEquals returns false when comparing the same Matrix4 from Matrix4Tween.lerp

painting library > MatrixUtils > matrixEquals return false compare the same Matrix4 generated with Matrix4Tween
Steps to Reproduce

run

flutter create matrix_equals_issue
cd matrix_equals_issue

replace the content of test/widget_test.dart with the following

import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  group('`MatrixUtils.matrixEquals` test', () {
    test(
        'WHEN matrices `a` & `b` are the same `Matrix4Tween.lerp(t)` '
        'THEN output is `true`', () {
      final begin = Matrix4.zero();
      final end = Matrix4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
      const lerp = 1 / 3;
      final tween = Matrix4Tween(begin: begin, end: end);

      expect(
        MatrixUtils.matrixEquals(tween.lerp(lerp), tween.lerp(lerp)),
        true,
        reason: 'identical matrices should compare equal',
      );
    });
  });
}

run flutter test

Expected results:
test should pass
Actual results:
00:03 +0 -1: `MatrixUtils.matrixEquals` test WHEN matrices `a` & `b` are the same `Matrix4Tween.lerp(t)` THEN output is `true` [E]
  Expected: <true>
    Actual: <false>
  identical matrices should compare equal

  package:test_api                                   expect
  package:flutter_test/src/widget_tester.dart 429:3  expect
  test/widget_test.dart 14:7                         main.<fn>.<fn>

00:03 +0 -1: Some tests failed.

doctor
```console
[✓] Flutter (Channel master, 1.26.0-18.0.pre.240, on Linux, locale en_US.UTF-8)
    • Flutter version 1.26.0-18.0.pre.240 at /home/francesco/snap/flutter/common/flutter
    • Framework revision fe00353590 (19 hours ago), 2021-02-09 15:01:02 -0600
    • Engine revision 2e10a97417
    • Dart version 2.13.0 (build 2.13.0-13.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /home/francesco/Android/Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = /home/francesco/Android/Sdk
• Java binary at: /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /snap/bin/chromium
[✓] Linux toolchain - develop for Linux desktop
• clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
• cmake version 3.10.2
• ninja version 1.8.2
• pkg-config version 0.29.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Linux
• Chrome (web)    • chrome • web-javascript • Chromium 88.0.4324.150 snap
! Doctor found issues in 1 category.

</details>

from https://api.flutter.dev/flutter/widgets/Matrix4Tween-class.html

Currently this class works only for translations.

when you try to interpolate the scale, it will populate matrices with double.nans, which always gives false with ==

sample code
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  group('`MatrixUtils.matrixEquals` test', () {
    test(
        'WHEN matrices `a` & `b` are the same `Matrix4Tween.lerp(t)` '
        'THEN output is `true`', () {
      final begin = Matrix4(
        1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 1,
      );
      final end = Matrix4(
        1, 0, 0, 0,
        0, 1, 0, 0,
        0, 0, 1, 0,
        0, 0, 0, 1,
      )..translate(10.0);
      const lerp = 1.0;
      final tween = Matrix4Tween(begin: begin, end: end);

      expect(
        MatrixUtils.matrixEquals(tween.lerp(lerp), tween.lerp(lerp)),
        true,
        reason: 'identical matrices should compare equal',
      );
    });
  });
}

@nt4f04uNd
thank that make sense


Invalid PDF v1.4 document

When I use pdfcpu validate my.pdf on a document generated by a Xerox WorkCentre 7855 I get the following error:
validation error: dict=formStreamDict entry=OC: unsupported in version 1.4
This file could be PDF/A compliant but pdfcpu only supports versions <= PDF V1.7

In Acrobat this is a PDF 1.4 document. I can't control how WorkCentre exports the PDF. Is there a way to work around this issue?

Difficult to say w/o having a sample in front of me for analysis. I am guessing we are talking about a scanner? Can you scan a testpage and share this?

So the issue is that they scan with the Xerox which makes a valid 1.4 document but then use Adobe Acrobat to add a watermark. The PDF is still a 1.4 but is now invalid. I've attached the -vv log and the PDF.
log.txt
test14watermark.pdf

Fixed via extension of relaxed validation with commit eca8f35.
Thanks for reporting this! 💚


FI-1937: Document test suite id use in urls

Document how suite ids are used in urls.

Codecov Report
Patch coverage has no change and project coverage change: +20.00 :tada:

Comparison is base (7b09fd5) 74.25% compared to head (33158c7) 94.26%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #340       +/-   ##
===========================================
+ Coverage   74.25%   94.26%   +20.00%
===========================================
  Files         195      116       -79
  Lines        9526     3102     -6424
  Branches      801      364      -437
===========================================
- Hits         7074     2924     -4150
+ Misses       2028      178     -1850
+ Partials      424        0      -424

Flag
Coverage Δ

backend
94.26% <ø> (ø)

frontend
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 79 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix: config override changes

fix: config override changes
follow up changes for https://github.com/getdozer/dozer/pull/1736

Maybe we should hold the PR until dozer's next release?


Not able to authenticate using MySql

Environment

VerneMQ Version: 1.6.1
OS: CentOS Linux release 7.5.1804 (Core)

Expected behavior

It should authenticate using MySql db.

Actual behaviour

In console.log getting error: can't authenticate client {[],<<"0810269c-1e92-4229-b33b-3d506ab9f7c61543128280729">>} due to invalid_credentials

I have done all the required configuration given here and here is my sql configurations:

sity.auth_mysql.enabled = on
vmq_diversity.mysql.host = localhost
vmq_diversity.mysql.port = 3306
vmq_diversity.mysql.user = user
vmq_diversity.mysql.password = ******
vmq_diversity.mysql.database = botodb

Hi, since you get the above log this means some plugin is rejecting your client. Maybe you have other plugins enabled (vmq_passwd for example?) which reject the client before vmq_diversity is run? Check with vmq-admin plugin show. Also have you set plugins.vmq_diversity = on as per the docs?
If that is not the case enable the query log in MySQL and see that the query sent by vmq_diversity is actually sent and that it returns the expected data.


Add more information to test to get more info on intermittent failure

Linux Build 5730 is now running using a merge of 38802b74d7d06b0deeb82f30fbbd7ba2862041da

Windows Build 841 is now running using a merge of 38802b74d7d06b0deeb82f30fbbd7ba2862041da

Linux with security manager Build 717 is now running using a merge of 38802b74d7d06b0deeb82f30fbbd7ba2862041da

Linux with security manager Build 717 outcome was SUCCESS using a merge of 38802b74d7d06b0deeb82f30fbbd7ba2862041da
Summary: Tests passed: 788, ignored: 369 Build time: 0:05:22

Windows Build 841 outcome was SUCCESS using a merge of 38802b74d7d06b0deeb82f30fbbd7ba2862041da
Summary: Tests passed: 2906, ignored: 364 Build time: 0:49:28

Linux Build 5730 outcome was SUCCESS using a merge of 38802b74d7d06b0deeb82f30fbbd7ba2862041da
Summary: Tests passed: 2905, ignored: 364, muted: 1 Build time: 0:51:11


Added example for ADMM

Example with a custom solver for x-minimization step

Ah yeah you're totally right, thanks for the suggestion! I'll implement that ASAP (that's how it's supposed to go, right?)


chore: remove outdated comment [skip ci]

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


boost::uuid natvis not working in vs2019

Hi,
the vs extension isn't working anymore in vs2019 when trying to resolve a boost::uuid.
When comparing the extension directory I've recognized that the library referenced in the boost.natvis "CPPDebuggerVisualizersNatvisAddIn.dll" is missing when using the default installation over the Visual Studio Marketplace.
When enabling the verbose natvis logs I received the following message.
...\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_CA7B3D13\EXTENSIONS\CSSKHXNB.3TY\Visualizers\boost.natvis(390,2): Error: Legacy addin '...\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_CA7B3D13\EXTENSIONS\CSSKHXNB.3TY\Visualizers\CPPDebuggerVisualizersNatvisAddIn.dll' for type 'boost::uuids::uuid' cannot be used when out-of-process symbol loading is enabled.  See https://aka.ms/VSCppEE-ExternalSymbolsCompat for more information.
At first, I've tried to get to the library by checking out and compile your source code. But the error message still occured.
The solution for me was to finally read the detail information provided by vs at
Visual C/C++ Custom Visualizer Compatibility.
It tells you as a user to disable "Load debug symbols in external process (native only)" and also steps to fix the change, which occured due to their externalization of the memory handling for components / plugins, as an extension owner.
Cheers,
karli

Hi,
Yes, I know. I should rewrite it using different technology, but I don't have time for it in the near future.

Here's a rough version that'll delegate to the intrinsic GUID visualizer:
<Type Name="boost::uuids::uuid">
    <DisplayString>{*(GUID*)&data}</DisplayString>
</Type>

Alternatively, the following will work in Visual Studio as well (but may fail in WinDbg Preview):
<Type Name="boost::uuids::uuid">
    <DisplayString>{*(GUID*)this}</DisplayString>
</Type>


pal generate creates a lot more files

Hey guys.
I'm using version 1.0.3 and today the command pal g starts creating lots of files like follow
...MaxAggregateOutputType
...MinAggregateOutputType
...SumAggregateOutputType
...AvgAggregateOutputType
How can I stop that?
My pal.js config is
module.exports = {
  backend: {
    generator: 'sdl',
    output: 'graphql/generated',
  },
}

Yes it’s because new features in new version 2.2.0 I will upgrade now to feat new version of Prisma

Ok, @AhmedElywa , understood.
So I think the problem is, I did not enable the experimental flag for aggregations
generator client {
  provider = "prisma-client-js"
  // experimentalFeatures = ["aggregateApi"]
}

And when Paljs creates all these types, I get a lot of erros like unknown type
Unknown type "ExpenseMaxAggregateOutputTypeWhereInput". Did you mean "ExpenseMaxAggregateOutputType", "ExpenseMinAggregateOutputType", "ExpenseAvgAggregateOutputType", "ExpenseSumAggregateOutputType", or "NfeMaxAggregateOutputType"?

@ralvs thanks for your report please use the last version of @paljs/cli v1.0.6 will fix this issue

Great @AhmedElywa !
I have fixed that downgrading to prisma v2.1.3
Will try update prisma and paljs now.
Thanks

@ralvs v1.1.1 support adding aggregate


Geoip filter

This change introduces  IP Geolocation filter. Implementation according to design doc.
Commit Message: IP Geolocation filter
Additional Description:
Risk Level: Low (new extension)
Testing: unit tests
Docs Changes: Done
Release Notes: tbd
Platform Specific Features: NA
Fixes #23736

@mattklein123 @alyssawilk wdyt if we split work on geolocation filter into 2 PRs? First PR contains the filter implementation and second PR will contain implementation of geolocation provider (Maxmind). Or would you prefer to have all changes in one large PR? Am proposing to split, as current PR is already big.

throwing over to raven for first pass review.  Not sure who will be assigned to second pass but I think I can speak for all of us in saying splitting up into smaller PRs is generally helpful :-)

throwing over to raven for first pass review. Not sure who will be assigned to second pass but I think I can speak for all of us in saying splitting up into smaller PRs is generally helpful :-)

Agreeing that maxmind in a separate PR makes sense. I get why maxmind.proto is in this one though, because it's doing cross-referencing and you don't want to need API reviewers to act on the same file twice. It sure would be nice if we could land the API as a first review, with no implementation at all, and then do the implemention afterwards, but those integration checks hate that idea.

/wait

Thanks for the detailed review @ravenblackx,  i have switched filter code to an async version. The doc checks will still fail on missing documentation for maxmind extension. I will fix it shortly.

/wait
Mart it as waiting. CI need to be resolved and previous comments need to be addressed. Feel free to ping the maintainer when It's readly for a new review.

I see a CI test failure looking like this:
  Expected arg #0: (has use xff true) and (has xff num trusted hops 1) and (has geo header "x-geo-city") and (has geo header "x-geo-region") and (has geo headers size 2) and (has anon geo headers size 1) and (has geo anon header "x-anon-vpn")
           Actual: 0x17ebbf8a2088

We get good human-readable output first, but unhelpful "actual". I don't think we can reasonably fix the "actual" because the parameter type being matched is a shared_ptr to a superclass, but I believe you could make this failure output more human-readable by altering the matchers to have additional output, e.g.
MATCHER_P(HasUseXff, expected, "") {
  auto filter = std::static_pointer_cast<GeoipFilter>(arg);
  if (GeoipFilterPeer::useXff(*filter) == expected) {
    return true;
  }
  *result_listener << "expected useXff=" << expected << " but was " << GeoipFilterPeer::useXff(*filter);
}

(But I'm not sure this will help - this aspect of matchers never behaves quite how I expect.)

@ravenblackx after updating matchers according to your recommendation the fail case now looks like this:
  Expected arg #0: (has use xff false) and (has xff num trusted hops 1) and (has geo header "x-geo-country") and (has geo header "x-geo-region") and (has geo headers size 2) and (has anon geo headers size 1) and (has geo anon header "x-anon-vpn")
           Actual: 16-byte object <90-30 DF-3F FE-06 00-00 80-30 DF-3F FE-06 00-00>, expected useXff=0 but was 1
         Expected: to be called once
           Actual: never called - unsatisfied and active

apologies - ive cancelled CI - please hold off pushing until we have progressed the releases that are currently going through

tsan ci failure seems to be unrelated, will merge master and check if it helps

cc @sc0ttbeardsley i have started working on plugging the geoip provider for this filter in a separate change. If your company uses some other geolocation provider, you will need to submit a patch for it.

@mattklein123 could you please take the final look? :)

not sure what is causing the docker fail - but ticket is here #26634 - ive reported upstream also https://github.com/moby/moby/issues/45344

@mattklein123 regarding release note, i think is better to wait until provider is implemented.