Update CentOS 8 Stream snapshots

Updates CentOS Stream 8 OS snapshots
Updates all additional repos used in CentOS Stream 8 container images

Versions from: https://github.com/stackhpc/stackhpc-release-train/actions/runs/6071032032

Going to build container images and include them in this PR.

Building new images here: https://github.com/stackhpc/stackhpc-kayobe-config/actions/runs/6071548155

Will rebuild bifrost as this was missed in the initial build. See: https://github.com/stackhpc/stackhpc-kayobe-config/pull/616

New biforst image here: https://github.com/stackhpc/stackhpc-kayobe-config/actions/runs/6074709414/job/16479354501

In testing, I hit:
 Problem: package centos-release-kmods-rebuild-2-1.el8.noarch requires centos-release-kmods = 2-1.el8, but none of the providers can be installed
  - cannot install both centos-release-kmods-8-3.el8s.noarch and centos-release-kmods-2-1.el8.noarch
  - cannot install the best update candidate for package centos-release-kmods-rebuild-2-1.el8.noarch
  - cannot install the best update candidate for package centos-release-kmods-2-1.el8.noarch

Promoted latest images here: https://github.com/stackhpc/stackhpc-release-train/actions/runs/6094936491

Ready to merge?

Ready to merge?

Think so

A Rocky 8 job failed on kibana:
RUNNING HANDLER [kibana : Restart kibana container] ****************************
Thursday 07 September 2023  14:09:16 +0000 (0:00:00.001)       0:17:40.447 ****
fatal: [controller0]: FAILED! => changed=true
  msg: '''Traceback (most recent call last):\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/api/client.py", line 268, in _raise_for_status\n    response.raise_for_status()\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/requests/models.py", line 960, in raise_for_status\n    raise HTTPError(http_error_msg, response=self)\nrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.43/images/create?tag=yoga-20230905T130221&fromImage=pulp-server.internal.sms-cloud%3A8080%2Fstackhpc-dev%2Fcentos-source-kibana\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py", line 406, in main\n  File "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 656, in recreate_or_restart_container\n    self.start_container()\n  File
    "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 674, in start_container\n    self.pull_image()\n  File "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 456, in pull_image\n    repository=image, tag=tag, stream=True\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/api/image.py", line 430, in pull\n    self._raise_for_status(response)\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/api/client.py", line 270, in _raise_for_status\n    raise create_api_error_from_http_exception(e)\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception\n    raise cls(e, response=response, explanation=explanation)\ndocker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.43/images/create?tag=yoga-20230905T130221&fromImage=pulp-server.internal.sms-cloud%3A8080%2Fstackhpc-dev%2Fcentos-source-kibana:
    Not Found ("manifest for pulp-server.internal.sms-cloud:8080/stackhpc-dev/centos-source-kibana:yoga-20230905T130221 not found: manifest unknown: Manifest not found.")\n'''

Jammy failed on grafana but should get past it after a kolla-ansible fix merged.

A Rocky 8 job failed on kibana:
RUNNING HANDLER [kibana : Restart kibana container] ****************************
Thursday 07 September 2023  14:09:16 +0000 (0:00:00.001)       0:17:40.447 ****
fatal: [controller0]: FAILED! => changed=true
  msg: '''Traceback (most recent call last):\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/api/client.py", line 268, in _raise_for_status\n    response.raise_for_status()\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/requests/models.py", line 960, in raise_for_status\n    raise HTTPError(http_error_msg, response=self)\nrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.43/images/create?tag=yoga-20230905T130221&fromImage=pulp-server.internal.sms-cloud%3A8080%2Fstackhpc-dev%2Fcentos-source-kibana\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py", line 406, in main\n  File "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 656, in recreate_or_restart_container\n    self.start_container()\n  File
    "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 674, in start_container\n    self.pull_image()\n  File "/tmp/ansible_kolla_docker_payload_puxeb39e/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 456, in pull_image\n    repository=image, tag=tag, stream=True\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/api/image.py", line 430, in pull\n    self._raise_for_status(response)\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/api/client.py", line 270, in _raise_for_status\n    raise create_api_error_from_http_exception(e)\n  File "/opt/kayobe/venvs/kolla-ansible/lib64/python3.6/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception\n    raise cls(e, response=response, explanation=explanation)\ndocker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.43/images/create?tag=yoga-20230905T130221&fromImage=pulp-server.internal.sms-cloud%3A8080%2Fstackhpc-dev%2Fcentos-source-kibana:
    Not Found ("manifest for pulp-server.internal.sms-cloud:8080/stackhpc-dev/centos-source-kibana:yoga-20230905T130221 not found: manifest unknown: Manifest not found.")\n'''

Ooh, did that not get built?

Seems like it only builds opensearch...

TASK [dev-tools : Ensure required packages are installed] **********************
Thursday 07 September 2023  15:59:28 +0000 (0:00:02.469)       0:00:45.138 ****
fatal: [controller0]: FAILED! => changed=false
  msg: 'Failed to download metadata for repo ''extras-common'': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried'
  rc: 1
  results: []

Strange, since:
[cloud-user@will-control-host-0 ~]$ curl http://pulp-server.internal.sms-cloud:8080/pulp/content/centos/8-stream/extras/x86_64/extras-common/20230905T090158/repodata/repomd.xml

Seems to return data

TASK [dev-tools : Ensure required packages are installed] **********************
Thursday 07 September 2023  15:59:28 +0000 (0:00:02.469)       0:00:45.138 ****
fatal: [controller0]: FAILED! => changed=false
  msg: 'Failed to download metadata for repo ''extras-common'': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried'
  rc: 1
  results: []

Strange, since:
[cloud-user@will-control-host-0 ~]$ curl http://pulp-server.internal.sms-cloud:8080/pulp/content/centos/8-stream/extras/x86_64/extras-common/20230905T090158/repodata/repomd.xml

Seems to return data

The version tag it's using is different: 20220401T032901

Rocky 9 jobs failed, unsure if it's relevant:
TASK [dev-tools : Ensure required packages are installed] **********************
Friday 08 September 2023  10:28:18 +0000 (0:00:06.195)       0:00:55.523 ******
fatal: [controller0]: FAILED! => changed=false
  msg: 'Failed to download metadata for repo ''extras'': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried'
  rc: 1
  results: []

CS8 OVS failed, two tests both failed with Nova API read timeouts:
7c1f7d08-55d6-4904-aa6e-63526e46aa70
Traceback (most recent call last):
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1348, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 316, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 277, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/test.py", line 168, in setUpClass
    raise value.with_traceback(trace)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/test.py", line 161, in setUpClass
    cls.resource_setup()
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/api/compute/servers/test_instance_actions.py", line 34, in resource_setup
    cls.server = cls.create_test_server(wait_until='ACTIVE')
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/api/compute/base.py", line 272, in create_test_server
    body, servers = compute.create_test_server(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/common/compute.py", line 292, in create_test_server
    body = clients.servers_client.create_server(name=name, imageRef=image_id,
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/services/compute/servers_client.py", line 115, in create_server
    resp, body = self.post('servers', post_body)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/common/rest_client.py", line 299, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/services/compute/base_compute_client.py", line 47, in request
    resp, resp_body = super(BaseComputeClient, self).request(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/common/rest_client.py", line 695, in request
    resp, resp_body = self._request(method, url, headers=headers,
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/common/rest_client.py", line 574, in _request
    resp, resp_body = self.raw_request(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/common/rest_client.py", line 614, in raw_request
    resp, resp_body = self.http_obj.request(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/repo/tempest/lib/common/http.py", line 110, in request
    r = super(ClosingHttp, self).request(method, url, retries=retry,
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/request.py", line 78, in request
    return self.request_encode_body(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/request.py", line 170, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
    retries = retries.increment(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/packages/six.py", line 770, in reraise
    raise value
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 451, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/home/rally/.rally/verification/verifier-51551059-802e-4262-93f8-80a54db4fbf5/.venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8774): Read timed out. (read timeout=60)

I think the RL9 tests are irrelevant. CS8 OVS probably a random failure but would be nice to see a green run. I'll recheck


Support AoT Compilation

Would be great to support Ahead-of-Time (AoT) compilation.

Right, I will check this out.

@shaneog, the new 1.0.4 version supports AOT now.

Thank you!

@shaneog @cesarrew Thanks for your work! Now the AOT doesn't brake, but when I open the app though nothing happens and this what the chrome's console tells me:
Uncaught Error: Module build failed: Error: /Users/foo/Projects/bar/node_modules/ng2-currency-mask/src/currency-mask.directive.d.ts (1,1): Cannot find type definition file for 'core-js'.)(…)

Do you know what this could be?
Thanks.

I was able to test the component using this repo: https://github.com/qdouble/angular2webpack2-starter.git.
Check if you are using typescript 2.0.3 or higher and using "@types/core-js": "^0.9.34" in your devDependencies instead of typings.json.

@cesarrew
Our project is based on angular-cli and apparently there is an unresolved issue with adding @types/core-js to it: https://github.com/angular/angular-cli/issues/1908

Also: http://stackoverflow.com/questions/38814049/howto-import-core-js-map-into-angular-cli-webpack-generated-application

Fixed it.
A change in the tsconfig.json file is necessary for those who are using angular-cli:
// before
"lib": ["es6", "dom"],

// after
"lib": ["es5", "dom"],

Thanks for the feedback @lfv89.

Version 1.0.6 fixed the problem and no more changes in tsconfig.json is needed.


associate versions with hashed values for certain types to allow for version downgrading

For example, if I have x=0, y=x+1, then I set x = 2, then I set x = 0, ideally we should give x its original version for the second x=0 assignment so that y is not detected as stale.
This is not feasible to do for every data type (due to efficiency issues), but common containers are a good starting point.

Not gonna happen. Monotonically increasing timestamps are pretty baked into the model at this point.


computed cookies

Makes cookies on S4.Request computed instead of stored.
This prevents duplicate storing of cookie information in both the headers and the cookies property.

I think this one and #59 should wait for #56, don't you? I have an update I want to send to #56. I'll finally have time today.

@paulofaria yeah it would make sense to come after #56. We can do them on the same Tuesday if everyone supports it.


Changing the replication factor does no result in an altered topic

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

Create a topic with some replication factor
Apply (succeed)
Change the replication factor
Apply
Execution will succeed, but the replication factor is not changed

Expected behavior
The replication factor should be changed or an error should be returned if the change is impossible
Runtime environment

Jikkou: 0.16.0 (Docker)
Docker version: 20.10.21 baeda1f
Kafka Cluster Version: 3.3.2 (Amazon MSK)

I have the same problem and just want to add an example of apply log:
TASK [NONE] Unchanged topic 'my-first-topic' (partitions=6, replicas=2, configs=[cleanup.policy=compact]) - OK
{
  "status" : "OK",
  "changed" : false,
  "failed" : false,
  "end" :<PHONE_NUMBER>733,
  "data" : {
    "name" : "my-first-topic",
    "partitions" : {
      "after" : 6,
      "before" : 6,
      "changeType" : "NONE"
    },
    "replicas" : {
      "after" : 2,
      "before" : 1,
      "changeType" : "UPDATE"
    },
    "configs" : {
      "cleanup.policy" : {
        "after" : "compact",
        "before" : "compact",
        "changeType" : "NONE"
      }
    },
    "changeType" : "NONE"
  }
}
EXECUTION in 40ms
ok : 1, created : 0, altered : 0, deleted : 0 failed : 0
There are different replicas in "before" and "after" but no changes applied.
It was run in docker image.
Jikkou version "0.27.0" 2023-09-06
JVM: 17.0.8 (Oracle Corporation Substrate VM 17.0.8+9-LTS)
Docker version 19.03.1, build 74b1e89


Xiaomi ERR Connect

Why do I always get this error message? The Ip address is correct, token was checked. Since I have connected my Fritzbox to the mesh, I always get this error. Does anyone know what to do? Have a Xiaomi Roborock S6
[Xiaomi Roborock] ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout

+1 Same problem here

[17/10/2021, 16:32:22] [Xiaomi Roborock] ERR getFirmware | Failed getting the firmware version. Error: Call to device timed out
    at DeviceInfo._retryOnTimeout (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:295:29)
    at DeviceInfo.call (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:227:12)
    at XiaomiRoborockVacuum.getFirmware (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/index.js:846:24)
    at module.exports (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/lib/callbackify.js:5:20) {
  code: 'timeout'
}

Get the same with my Robos
[05/11/2021, 18:06:51] [RobiS5] ERR getSerialNumber | Failed getting the serial number. Error: Call to device timed out     at DeviceInfo._retryOnTimeout (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:295:29)     at runMicrotasks (<anonymous>)     at runNextTicks (internal/process/task_queues.js:60:5)     at listOnTimeout (internal/timers.js:526:9)     at processTimers (internal/timers.js:500:7)     at DeviceInfo.call (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:227:12)     at module.exports.getSerialNumber (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/devices/vacuum.js:179:20)     at XiaomiRoborockVacuum.getSerialNumber (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/index.js:827:28)     at module.exports (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/lib/callbackify.js:5:20) {   code: 'timeout' } [05/11/2021, 18:06:51] [RobiS5] ERR getFirmware | Failed getting the firmware version. Error: Call to device timed out     at DeviceInfo._retryOnTimeout (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:295:29)     at DeviceInfo.call (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/miio/lib/device_info.js:227:12)     at XiaomiRoborockVacuum.getFirmware (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/index.js:846:24)     at module.exports (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/lib/callbackify.js:5:20) {   code: 'timeout' } [05/11/2021, 18:06:51] [RobiS5] ERR getState | {"code":"timeout"} [05/11/2021, 18:07:22] [RobiS5] ERR getState | {"code":"timeout"}

I keep getting this error message:
[03/01/2022, 19:16:26] [Xiaomi Roborock] ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout
Already tried everything: Roborock reset, wlan...
I think they have no interest to expand the plugin. Will look for another solution. What a pity.

I would love to extend the plugin. I just have not as much spare time as I'd like to. Contributions are welcomed via Pull Requests :)

Thank you for your answer. I think if you could solve this problem here it would be great. Because many here have this problem.

I'd love to solve this issue for you all. It looks to me like resetting the connection would probably solve it.
However, comments like the one below makes me believe that the issue is somewhere else in the router (most of the folks reporting this issue use the Fritzbox router):

same here on Xiaowa E Series - used to work until a couple of days ago

If the plugin was not changed in the meanwhile, it shouldn't be the one to blame.
I personally had a similar issue with my carrier's router and it got solved when I bought my own router.
I don't know the internals of that router, but in my case, I knew that BT's routers had host isolation when using 2.4GHz vs 5GHz so sometimes I couldn't see my Chromecast and my raspberry couldn't see the vacuum.
With all that said, we could probably look at this plugin's connection layer to see if we can change the reconnection strategy so it fixes the issue that you all are suffering from.

I bought my own router (7590) I have now tried everything: reset the router and wifi, my robot vacuum completely to factory settings but without success. I would appreciate it if you can take the time to solve this tu. Thank you for the effort and time.

[23/05/2022, 14:15:42] [Xiaomi Roborock] ERR getState | {"code":"timeout"}
(node:23506) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 disconnect listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
(Use node --trace-warnings ... to show where the warning was created)
(node:23506) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 childBridgeStatusUpdate listeners added to [HomebridgeIpcService]. Use emitter.setMaxListeners() to increase limit
(node:23506) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit

I'm having the same issue ERR connect | miio.device, next try in 2 minutes | Error: Could not connect to device, handshake timeout
It worked fine for a few months after setup, but then just stopped working. I've made no changes in my networks setup. Tried to restart and reset plugin and wifi but no help (I don't have a Fritzbox router). Are there any pointers on what is the reason for connection failure or what I could do about it?

Same problem with a xiaomi R3p convert to openwrt and wifi mesh :/

In my case, it occurs as soon as homebridge is started.

@kornflex, if it doesn't connect from the beginning, IMO, this is a different issue from what I've seen in the past.
Are you positive that the token is correct? You can validate it by running the following command:
miio-vacuum inspect YOUR_IP --token YOUR_TOKEN

To fetch the token, I found the easiest and most reliable tool is https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor

In my case, it occurs as soon as homebridge is started.

@kornflex, if it doesn't connect from the beginning, IMO, this is a different issue from what I've seen in the past.
Are you positive that the token is correct? You can validate it by running the following command:
miio-vacuum inspect YOUR_IP --token YOUR_TOKEN

To fetch the token, I found the easiest and most reliable tool is https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor

Yes I'm sure. I use this token in jeedom and the vacuum works.
It works before I switch to wifi mesh with openwrt.
Before, with the xiaomi r3p router and his stock firmware, all was OK.

@kornflex, it sounds like a specific configuration of OpenWRT is blocking the connections, doesn't it?
Is there any specific request the plugin needs to do to OpenWRT to allow it? At the moment, it is connecting to the robot via UDP/datagram sockets: https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/blob/757cef36262199676834126ccf29a4e9cb81bdab/src/miio/lib/network.js#L128
Could that be it? That the OpenWRT config is blocking UDP connections?

[31/08/2022, 03:07:44] [Xiaomi Roborock] ERR getState | {"code":"timeout"}
this error message always appears.

[31/08/2022, 03:07:44] [Xiaomi Roborock] ERR getState | {"code":"timeout"}
this error message always appears.

@bsoener, thanks for confirming 🧡. Then similar questions apply. If it never connects and always shows timeout from the beginning, my gut feeling is not that the plugin has a bug in the connection logic, but something else. IMO, it could be either:

Misconfiguration: Either the IP or the token are wrong. You can validate that they are correct with the command miio-vacuum inspect YOUR_IP --token YOUR_TOKEN.
Network issue: It may happen that the router's configuration is blocking the connections (either rejecting UDP packets or isolating each host/subnetwork (some routers have isolated networks for 2.4GHz and 5GHz wifi bands) so the machine where homebridge is running cannot reach to the robot and viceversa.
Model is not supported yet: In the past, we've seen the ERR getState | {"code":"timeout"} log message for models that are not supported by this plugin yet. Like the Dreame model in this other issue: https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/434

According to your original description, the IP, token, and model seem to fit, so I'd look at a potential network issue. Can you validate that running miio-vacuum inspect YOUR_IP --token YOUR_TOKEN from the same machine where homebridge is running, you get a response?

So the ip and token are correct. Must be something else... It may be that it really is the Fritzbox!?

Good morning Unfortunately, I am out of my depth on this question. This would have to do someone who has more knowledge of it.

Good morning Unfortunately, I am out of my depth on this question. This would have to do someone who has more knowledge of it.

Hello,
I have updated my openwrt & librairies.
My vaccum always switches between mesh access point, so I have added a mac address blacklist on one of mesh AP.
He always tries to connect but he is quickly rejected. So I don't loose the connection too long.
Homebridge works a little better.

@kornflex FWIW, I have a mesh connection at home as well and it just works. I'm using the Google WiFi routers though.

[02/09/2022, 07:23:09] [homebridge-xiaomi-roborock-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'Serial Number' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info. [02/09/2022, 07:23:10] [Xiaomi Roborock] [Model=roborock.vacuum.s6] getSerialNumber | Failed getting the serial number. Error: Call to device timed out     at DeviceInfo._retryOnTimeout (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/src/miio/lib/device_info.js:295:29)     at DeviceInfo.call (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/src/miio/lib/device_info.js:227:12)     at module.exports.getSerialNumber (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/src/miio/lib/devices/vacuum.js:193:20)     at ProductInfo.getSerialNumber (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/src/services/product_info.ts:82:28) {   code: 'timeout' }

@kornflex FWIW, I have a mesh connection at home as well and it just works. I'm using the Google WiFi routers though.

Yes. But in my case, an other plugin, for my domotic, works with this vacuum when I can't use it with homebridge.
If my routeur is in cause, I should be the same problem everywhere...
it's "xiaomi home" plugin for "jeedom"
I don't know how it work. It's python request, but I don't see if it's TCP or UDP.
It's using a xiaomipacket class like this :
class XiaomiPacket():
	def __init__(self,token=''):
		self.magic =      "2131".decode('hex')
		self.length =     "0020".decode('hex')
		self.unknown1 =   "FFFFFFFF".decode('hex')
		self.devicetype = "FFFF".decode('hex')
		self.serial   =   "FFFF".decode('hex')
		self.stamp =      "FFFFFFFF".decode('hex')
		self.checksum =   "ffffffffffffffffffffffffffffffff".decode('hex')
		self.data = ""
		self.token = ""

	def setRaw(self, raw):
		self.magic =      raw[ 0: 2]
		self.length =     raw[ 2: 4]
		self.unknown1 =   raw[ 4: 8]
		self.devicetype = raw[ 8:10]
		self.serial =     raw[10:12]
		self.stamp =      raw[12:16]
		self.checksum =   raw[16:32]
		self.data =       raw[32:]
		if self.length=="0020".decode('hex'):
			self.token=self.checksum
		return

When I use command miio-vacuum inspect YOUR_IP --token YOUR_TOKEN device not found.
But, when I use python-miio everything is OK.
Maybe this information will be useful.

But, device found if i usemiio-vacuum discover --token<PHONE_NUMBER>78317276634e30574f6168

@yangirov I think your case is different to the ones above. That model is not supported yet by this plugin. Refer to https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/434 for more info.

for what it's worth, on a fritzbox, i am having the same experience as @yangirov
Token is successfully extracted:

charlesvestal@CharlesV-MacBookPro18 ~ % bash <(curl -L https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/raw/master/run.sh)

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
100   292  100   292    0     0     79      0  0:00:03  0:00:03 --:--:--    79
Archive:  token_extractor.zip
   creating: token_extractor/
  inflating: token_extractor/token_extractor.py
 extracting: token_extractor/requirements.txt
Requirement already satisfied: requests in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (2.28.1)
Requirement already satisfied: pycryptodome in /opt/homebrew/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (3.15.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 1)) (2022.9.24)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 1)) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 1)) (1.26.12)
Requirement already satisfied: charset-normalizer<3,>=2 in /opt/homebrew/lib/python3.10/site-packages (from requests->-r requirements.txt (line 1)) (2.1.1)

[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: python3.10 -m pip install --upgrade pip
Username (email or user ID):
<EMAIL_ADDRESS>Password:
xxx
Server (one of: cn, de, us, ru, tw, sg, in, i2) Leave empty to check all available:
de

Logging in...
Logged in.

Devices found for server "de":
   ---------
   NAME:     Mi Robot Vacuum-Mop P
   ID:       309265658
   MAC:      5C:E5:0C:81:8F:6E
   IP:       <IP_ADDRESS>
   TOKEN:    4f5571477xxx
   MODEL:    viomi.vacuum.v8
   ---------

Press ENTER to finish

and via miiocli
charlesvestal@CharlesV-MacBookPro18 ~ % miiocli cloud list
Username<EMAIL_ADDRESS>Password: xxx
Locale (cn, de, i2, ru, sg, us, all): de
== Mi Robot Vacuum-Mop P (Device online ) ==
	Model: viomi.vacuum.v8
	Token: 4f5571477xxx
	IP: <IP_ADDRESS> (mac: 5C:E5:0C:81:8F:6E)
	DID: 309265658
	Locale: de

but can't be inspected with miio-vacuum
charlesvestal@CharlesV-MacBookPro18 ~ % miio-vacuum inspect <IP_ADDRESS> --token 4f5571477xxx
 INFO  Attempting to inspect <IP_ADDRESS>
 WARNING  Could not find device

and doesn't return device info

charlesvestal@CharlesV-MacBookPro18 ~ % miio-vacuum discover --token 4f5571477xxx
 INFO  Discovering devices. Press Ctrl+C to stop.

Device ID: 309265658
Model info: Unknown
Address: <IP_ADDRESS>
Token: 4f5571477xxx via stored token
Support: Unknown

Googling around I found many applications that use UDP to struggle when running on Fritz! networks.
It looks like Fritz! has a special treatment for those packages. From previous comments, it seems that it tries to optimize the routing of the packages, sending them to the place that responded to them.
If the routing table changes for any reason, Frizt! doesn't auto clean that routing optimization table, and sends the packages to a place where the robot is no longer listening to.
Can you look at the Fritz! configuration to figure out if there's anything UDP-related that can be tweaked?


@-mentioning stops working in tasks as soon as it includes #todo

It seems as though there's a conflict between this plugin and the Tasks plugin. I have my Tasks plugin setup with a global filter of #todo. It seems that as soon as this tag is included in a regular task, @-linking completely stops working on that line.
Attached is a brief video:
https://github.com/Ebonsignori/obsidian-at-symbol-linking/assets/124363/6c5dc0ca-2a91-49e5-a16d-e259ba5ac031
It works fine with other tags -- it just seems to be the specific global filter tag that causes issues.
Steps to reproduce:

Install this plugin.
Install Tasks.
Configure Tasks to use a global filter -- for example, of #todo.
Create a task list item. Note that @-linking works beautifully.
Add the #todo tag to the item. Note that now you cannot @-link anywhere on that line until the tag is removed.

Hi @barryvan first off, thank you SO much for pulling this down and using it. Even more so for reporting bugs ❤
Was able to fix the other issue you opened, but having trouble with this.
I've tried following the steps you listed but am able to keep @-linking after typing the global filter, #todo which I added in the Tasks plugin options.
If you try updating the tasks plugin to the latest version does it still happen?
If so, mind sharing the following so I can try other ways to reproduce?

The rest of your Tasks settings
@ symbol linking settings
Operating system (I'm assuming Mac OS based on your screenshare which is what I'm testing on too)
Obsidian version

I think I've worked out what's causing this: the Task plugin's auto-suggest capabilities. Specifically if it's set to "on" and the "length" option is greater than 0. I've worked around this for now by dropping it back to 0. I'm not quite sure how we could go about getting the two working together, so perhaps this is more just something to be aware of if other people run into the issue. :) For now I've just set my own settings such that it's not an issue any more. 😃

Hmm, that's strange! Your settings look like they match mine exactly, so I don't know why it would be working for me and not for you, @judisohn. I think @Ebonsignori is investigating in #7, and I'll also try and have a poke around if I get a chance.
In the meantime, it may be worthwhile trying to force the plugins to load in a different order... I think you can do this by (for example) disabling A then B, then enabling B then A -- but you may need to experiment, and I have about 5% confidence that this will help. 😕
FWIW, I've also started a discussion over on the Tasks plugin's repo to see if anyone has insights: https://github.com/obsidian-tasks-group/obsidian-tasks/discussions/2239

There is a workaround for this given in:

https://github.com/saibotsivad/obsidian-at-people/issues/6#issuecomment-1694767072

@judisohn @barryvan I've added "Compatibility Mode" in 1.4.0 which should allow the @ to trigger a link in a task. Please try it out and let me know if you run into any bugs!

@Ebonsignori It works well now! Thank you so much for implementing this quickly. :-)


fix importlib import

Following fix for PR #24

I close this because it was fixed in a different PR. Thanks, anyway!


Double tap not working sometimes

Hi there, I noticed sometimes a double tap gesture is interpreted as something else which results in a strange looking behavior where you double tap and the zoom changes by a tiny bit (like 0.5-1%).
This is pretty easy to reproduce, at least on my device. I can record a video if that would help.
It seems to be caused by this part in PointerInputScope.detectTapAndQuickZoomGestures:
var dragged = false
verticalDrag(secondDown.id) { drag ->
  dragged = true
  val dragDelta = drag.positionChange()
  val zoomDelta = 1f + (dragDelta.y * 0.004f) // Formula copied from https://github.com/usuiat/Zoomable.
  onQuickZoom(Zooming(secondDown.position, zoomDelta))
  drag.consume()
}

if (dragged) {
  onQuickZoom(QuickZoomStopped)
} else {
  onDoubleTap(secondDown.position)
}

It calls onQuickZoom instead of onDoubleTap. Could you provide some info on why onQuickZoom() is there and what kind of gesture it covers? Thanks

I noticed sometimes a double tap gesture is interpreted as something else which results in a strange looking behavior where you double tap and the zoom changes by a tiny bit (like 0.5-1%).

Can you share a video? I've a theory on why this might be happening but I'd like to verify it.

I noticed sometimes a double tap gesture is interpreted as something else which results in a strange looking behavior where you double tap and the zoom changes by a tiny bit (like 0.5-1%).

Can you share a video? I've a theory on why this might be happening but I'd like to verify it.

https://github.com/saket/telephoto/assets/24581068/97ec70c9-63df-4e04-8717-59d398d79001

Huh I am not sure what's happening there. Any chances you could help me investigate by adding breakpoints/print statements to ZoomableState? There are two functions that can interrupt a double-tap-to-zoom gesture:

refreshContentTransformation(). This gets called if a change is detected in any of the layout parameters such as its size, alignment, etc.

https://github.com/saket/telephoto/blob/ab5fdaf5c2ccb2468611842785e5d5b76ec32618/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/ZoomableState.kt#L396-L398

resetZoom(). This can only be called by the app.

https://github.com/saket/telephoto/blob/ab5fdaf5c2ccb2468611842785e5d5b76ec32618/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/ZoomableState.kt#L384-L386

Ohey I was able to reproduce this on a Samsung Galaxy A20. It seems like compose is detecting very tiny drags on phones with non-stellar displays. I'll have to ignore quick zooms until the drag distance crosses a certain threshold.

I was about to make a report about something like that. My users report something that I can't reproduce but is not about double tap. But about zooming not always working reliably.

Pinching the screen (especially with single hand) doesn’t reliably zoom images and I have to try multiple times to get it to work

Which can reproduce by doing

If you put 2 fingers on the screen in a fullscreen image and slide them even the tiniest millimeter it will go into “pan mode” or so instead of zooming mode. You can no longer zoom until you release your fingers and place them without moving them at all before you pinch to zoom. (I have this happen much more often in practice while using the phone 1 handed on an unstable environment like a tram or train.

Interestingly, you can pan and zoom at the same time if already zoomed in, but on a full image where panning doesn’t do anything, it will lock both actions until you release your fingers.

Do you think this was caused by the same issue or was this something else?
see context https://programming.dev/post/2375491

I believe that's happening because your vertical scrollable modifier is interfering with telephoto's gesture detector. Can it be removed? Compose does not support 2d nested scrolling so unfortunately they can't play nice with each other automatically.

Hmm, is there way I can keep the swipe up to exit feature while removing the nested scrolling? I'll try make a build without it and ask if they can still reproduce it

Wanna try out telephoto's upcoming FlickToDismiss() composable? I'm still ironing out the edges and the APIs might change before the public release, but it's very much usable.
implementation "me.saket.telephoto:flick:0.6.0-SNAPSHOT"

Usage:
val flickState = rememberFlickToDismissState()
FlickToDismiss(flickState) {
  ZoomableAsyncImage(…)
}

(flickState.gestureState as? Dismissing)?.let { gestureState ->
  LaunchedEffect(Unit) {
    delay(gestureState.animationDuration / 2)
    navigator.goBack()
  }
}

I got back from one of my users that the problem did seem to be resolved by removing the nested scroll. Once I have some time I'll take a look at ur library and see if I can implement it. Thanks for investigating!


Change the name for the data entity component to data list

Summary of the changes
Change the name for the data entity component to data list as data list is more descriptive of the component.
Related issue
#79
Checklist
General

[x] Changes to docs package checked and committed.
[x] All acceptance criteria reviewed and met.

Testing

[x] Relevant unit tests and visual regression tests added.
[x] Visual testing against Figma component specification completed.

A reminder for reviewers to not merge this into develop, it is going into v3 when it exists

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: GCHQ-Developer-112:x: github-actions[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


Move the server out of the SteamVR driver

As title says, I wish ALVR would be able to work like VD - autorun with Windows in a "listening" mode without starting SteamVR and launching it only once client connects to a host.
Then, when client disconnects (by exiting SteamVR on a headset) revert back to listening mode instead of closing entire app.
The way things work now, you have to remember to manually launch ALVR on a computer before running it on headset each time, which is a little bit annoying.
Original Title: Start ALVR in "listening" mode and revert to it once session is closed instead of exiting application

I plan to split the server into server + SteamVR driver but right now there is still too much legacy code to do so.

If we do end up doing this, we'll need to discuss what the exact responsibilities of each newly minted part would be.

Ideally the SteamVR driver should only worry about the OpenVR API and maybe also a bit of glue for DirectX. The encoder should be moved to the main executable. The communication should happen through IPC, similarly how it works with the Vulkan layer on Linux

As discussed a while ago on Discord, this is not the preferred way forward.


[Help Wanted] Change Nginx to NGINX

In all its documentation NGINX refers to itself in all capitals: https://www.nginx.com/resources/wiki/

Ticket is slightly wrong, it's spelling is NGINX not NGNIX (ie it's not nix it's inx)

thanks @norganna, corrected now, much appreciated!

Hi.
My PR to change Nginx to NGINX. https://github.com/mattermost/docs/pull/149

Thanks @ajerezr great work!


Camera

Use camera_ros from Pipebots.  Make sure it is public.
Install and test with new camera on RPi Zero.
Add parameter to set frame rate.

Works with Pi camera v3.  ArduCam does not register using rpicam-hello on Raspberry Pi OS Lite.
Needs another setting change made somewhere?


Character set not supported

I am on Ubuntu 14.04.
When I run micro executable  I get the message:

character set not supported

My current locale is en_IN .
Installed locales in my machine  obtained by  locale -a is:

C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX

I'm having the same problem on Ubuntu 15.10.
nabeel@nabeel-Inspiron-3542:~/Documents/Github/micro$ make
go get -u github.com/jteeuwen/go-bindata/...
/home/nabeel/go-packages/bin/go-bindata -o runtime.go runtime/...
mv runtime.go cmd/micro
go get -d ./cmd/micro
go build -ldflags "-X main.Version="0d1ba36"" -o micro ./cmd/micro
nabeel@nabeel-Inspiron-3542:~/Documents/Github/micro$ ./micro
character set not supported

Any utf8 encoding will work properly. I've just added a commit so if the character set is not found, it will fall back to ASCII. This isn't ideal, but I think it's the best I can do.

Aparently any UTF-8 encoding is not working  :smile:. But it does work with ASCII files after 4f6a686.

Does it not work properly if you use en_IN.utf8 instead of en_IN?

Yeah, it does. Thanks.

It does not seem to work for me .
@nabeelomer did you revert back?


various fixes

This now compiles:
#r "type_passing_tp/bin/Debug/type_passing_tp.dll"

open Test

type MyRecord =
    { Id: string }
    member x.TestInstanceMember(y:string) = y
    static member TestStaticMember(y:string) = y

type Test = TypePassing.TypePassingTP<MyRecord>

type Test2 = TypePassing.TypePassingTP<System.Int32>

type Test3 = TypePassing.TypePassingTP<int32>

Well, it works now, for that simple example.  Fun fun fun


gf gen service supports the generation of service files in the specified naming format

Codecov Report

Merging #1953 (eeb31ff) into master (d7faae0) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1953      +/-   ##
==========================================
+ Coverage   75.56%   75.58%   +0.02%
==========================================
  Files         512      512
  Lines       46398    46403       +5
==========================================
+ Hits        35060    35075      +15
+ Misses       9334     9324      -10
  Partials     2004     2004

Flag
Coverage Δ

go-1.15-386
75.53% <ø> (+0.02%)
:arrow_up:

go-1.15-amd64
75.51% <ø> (+0.04%)
:arrow_up:

go-1.16-386
75.47% <ø> (+0.02%)
:arrow_up:

go-1.16-amd64
75.49% <ø> (+0.01%)
:arrow_up:

go-1.17-386
75.53% <ø> (+0.02%)
:arrow_up:

go-1.17-amd64
75.51% <ø> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

os/gfsnotify/gfsnotify_filefunc.go
74.02% <0.00%> (-3.90%)
:arrow_down:

os/glog/glog.go
42.85% <0.00%> (ø)

os/glog/glog_logger_handler.go
91.17% <0.00%> (ø)

os/gcron/gcron_schedule.go
67.52% <0.00%> (+0.42%)
:arrow_up:

os/gcron/gcron_entry.go
60.63% <0.00%> (+0.85%)
:arrow_up:

os/gfsnotify/gfsnotify_watcher.go
84.03% <0.00%> (+2.52%)
:arrow_up:

os/gfsnotify/gfsnotify_watcher_loop.go
83.19% <0.00%> (+2.52%)
:arrow_up:

net/gtrace/gtrace.go
70.51% <0.00%> (+5.17%)
:arrow_up:

contrib/registry/polaris/polaris_watcher.go
73.21% <0.00%> (+5.35%)
:arrow_up:

Continue to review full report at Codecov.

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


add CI for publishing releases to PyPi

Make publishing of releases automatic on tag.

closed by #9


Add 5 new rebuses

Associated Issue: #121
Summary of Changes
Added rebuses:

Batman
Cowboy
Penpals
Starbucks

Pull Request Test Coverage Report for Build 278

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.686%

Totals

Change from base Build 275:
0.0%

Covered Lines:
126

Relevant Lines:
137

💛  - Coveralls


GWT build fails

Currently GWT build is failing with error:
(Family.java)
[ERROR] Line 157: @SafeVarargs annotation cannot be applied to non-final instance method all
Javadoc states that SafeVarargs annotated method must be either static or final.
I wonder if this annotation is necessary for GWT to compile?

Same story...

This is happening from 1.3.3 and does not happen with 1.3.2.

Ich have the exact same error now, although I have the version which contains this fix. Do you have any idea how that is possible?
Error log
>>>gradlew :html:assemble
Configuration on demand is an incubating feature.
:core:compileJava UP-TO-DATE
:core:processResources UP-TO-DATE
:core:classes UP-TO-DATE
:core:jar UP-TO-DATE
:html:compileJava UP-TO-DATE
:html:processResources UP-TO-DATE
:html:classes UP-TO-DATE
:html:addSource
:html:compileGwt
Mai 05, 2015 6:24:04 PM java.util.prefs.WindowsPreferences <init>
WARNUNG: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Compiling module de.oneupmedia.games.riseofmana.GdxDefinition
   Validating units:
      [ERROR] Errors in 'com/badlogic/ashley/core/Family.java'
         [ERROR] Line 126: @SafeVarargs annotation cannot be applied to non-final instance method all
         [ERROR] Line 136: @SafeVarargs annotation cannot be applied to non-final instance method one
         [ERROR] Line 146: @SafeVarargs annotation cannot be applied to non-final instance method exclude
      [ERROR] Errors in 'file:/C:/rise-of-mana/core/src/de/oneupmedia/games/riseofmana/RiseOfMana.java'
         [ERROR] Line 57: The method format(String, int, float) is undefined for the type String
   [ERROR] Aborting compile due to errors in some input files
:html:compileGwt FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':html:compileGwt'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.333 secs

Project gradle file
buildscript {
    repositories {
        mavenCentral()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
        jcenter()
    }
    dependencies {
        classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
        classpath 'com.android.tools.build:gradle:1.0.0'
        classpath 'org.robovm:robovm-gradle-plugin:1.0.0'
    }
}

allprojects {
    apply plugin: "eclipse"
    apply plugin: "idea"

    version = '1.0'
    ext {
        appName = 'Rise Of Mana'
        gdxVersion = '1.5.6'
        roboVMVersion = '1.0.0'
        box2DLightsVersion = '1.3'
        ashleyVersion = '1.4.0'
        aiVersion = '1.5.0'
    }

    repositories {
        mavenCentral()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
        maven { url "https://oss.sonatype.org/content/repositories/releases/" }
    }
}

project(":desktop") {
    apply plugin: "java"

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
        compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
        compile "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-controllers-desktop:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-controllers-platform:$gdxVersion:natives-desktop"
    }
}

project(":android") {
    apply plugin: "android"

    configurations { natives }

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
        compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
        compile "com.badlogicgames.ashley:ashley:$ashleyVersion"
        compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
        compile "com.badlogicgames.gdx:gdx-ai:$aiVersion"
        compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-controllers-android:$gdxVersion"
    }
}

project(":ios") {
    apply plugin: "java"
    apply plugin: "robovm"

    configurations { natives }

    dependencies {
        compile project(":core")
        compile "org.robovm:robovm-rt:${roboVMVersion}"
        compile "org.robovm:robovm-cocoatouch:${roboVMVersion}"
        compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
    }
}

project(":html") {
    apply plugin: "gwt"
    apply plugin: "war"

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-box2d-gwt:$gdxVersion:sources"
        compile "com.badlogicgames.ashley:ashley:$ashleyVersion:sources"
        compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion:sources"
        compile "com.badlogicgames.gdx:gdx-ai:$aiVersion:sources"
        compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-controllers-gwt:$gdxVersion:sources"
        compile "com.kotcrab.vis:vis-ui:0.7.4:sources"
    }
}

project(":core") {
    apply plugin: "java"

    dependencies {
        compile "com.badlogicgames.gdx:gdx:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
        compile "com.badlogicgames.ashley:ashley:$ashleyVersion"
        compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
        compile "com.badlogicgames.gdx:gdx-ai:$aiVersion"
        compile "com.badlogicgames.gdx:gdx-controllers:$gdxVersion"
        compile "com.kotcrab.vis:vis-ui:0.7.4"
    }
}

tasks.eclipse.doLast {
    delete ".project"
}

Yeah, it's really broken now in 1.4.0 (#156). But have been fixed in current sources.
I'm wondering, @saltares when it will be new release with this changes?

Mmmm, I'll try to make a release this week because I'll be away during the weekend.

Hi, I'm still getting the same issue, any plan to make a release?

@pigiuz which version are you using? The latest is 1.5.0, 1.5.0 fixed GWT issues. could you please confirm?

@saltares fixed, I was using 1.4.0 (shame on me)

Same here with 1.6.1 and the desktop version work :+1:
Compiling module com.mygdx.game.GdxDefinition
   Validating units:
      [ERROR] Errors in 'jar:file:/home/bussiere/.gradle/caches/modules-2/files-2.1/com.badlogicgames.ashley/ashley/1.4.0/2dfd33c58150d135a1b8b14a76d6d79d6252a329/ashley-1.4.0-sources.jar!/com/badlogic/ashley/core/Family.java'
         [ERROR] Line 126: @SafeVarargs annotation cannot be applied to non-final instance method all
         [ERROR] Line 136: @SafeVarargs annotation cannot be applied to non-final instance method one
         [ERROR] Line 146: @SafeVarargs annotation cannot be applied to non-final instance method exclude
   [ERROR] Aborting compile due to errors in some input files
:html:compileGwt FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':html:compileGwt'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED


Calculated Service Metric DT Config Pusher fails with TypeError Exception

While pushing a calculated service metric configuration, an Exception is thrown:
configPusher.js:202 Uncaught TypeError: Cannot read property 'split' of undefined     at HTMLInputElement.pushConfig (configPusher.js:202)     at Object.Bm.dtAWF (b94c132cf8396fed_complete.js:268)     at Object.oa.generateWrapper (b94c132cf8396fed_complete.js:539)     at HTMLInputElement.Na (b94c132cf8396fed_complete.js:533)     at HTMLInputElement.dispatch (jquery.min.js:2)     at HTMLInputElement.v.handle (jquery.min.js:2)
JSON configuration source:
https://raw.githubusercontent.com/popecruzdt/BizOpsConfiguratorPacks/main/config/LoadTest_LTN_Request_Count.json

Config API spec has changed: metricKey -> tsmMetricKey.
Added handling for both. Confirmed no longer causes crash


update user consent flow

Docs Build status updates of commit 1dfd435:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


chore: use flake8-bugbear

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

Project coverage is 100.00%. Comparing base (ae8d56f) to head (62afecb).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #107   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          243       243
  Branches        27        27
=========================================
  Hits           243       243

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


sqlccl: disallow bulk IO statements in txn

PR: https://github.com/cockroachdb/cockroach/pull/21488
From release notes:

BACKUP and RESTORE statements are now disallowed inside transactions.

Duplicate of https://github.com/cockroachdb/docs/issues/2505.


Missing licence

Hi,
thanks for this plugin! We wanna have hue as service in cluster and this plugin looks nice, can you please provide more details about licence for this plugin?
Thanks!

Hi LesTR,
These is no licence,you can use it in your cluster.

Hi EsharEditor,
yes, i see, there is no licence and that's the problem and we can't use it without licence.
Can you please pick one licence (Apache for example) and put information into Readme? I'll make PR if you need but i don't know what type of licence you wanna use.
Thanks!

Hi,
I have added the Apache License,you can use it.

Thanks!


Update how-to-configure-auto-train.md

@ssalgadodev : Thanks for your contribution! The author(s) have been notified to review your proposed change.

IMPORTANT: When this content is ready to merge, the reviewer -  @CESARDELATORRE - must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
#assign:@MicrosoftDocs/public-repo-pr-review-team

The following users don't have valid GitHub IDs, or are not collaborators on this repo: microsoftdocs/public-repo-pr-review-team


Bug with variables of one char length

Does this issue occur when all extensions are disabled?: Yes/No
Maybe

VSCode version
Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:57:40.428Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-137-generic
Sandboxed: No
OS Version:  Xubuntu 20.04

Steps to Reproduce:
NOTE This bug is too old but never was a problem until now.

create a variable of just one char length (ex. let a = 0)
cretae another variable of one char legnth but uppercase of the first (let A = 0)
now, try to put the first var (lowercase) at the end of a line and press semi-collon (;)
note that the variable put is the uppercase instead of lowercase, even if I don't write Uppercase before

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


[GLUTEN-3943]Tuple element support nullable input to support spark function getarraystructfields

Changelog category (leave one):

Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Tuple element support nullable input to support spark function getarraystructfields

@liuneng1994 @baibaichen can you help review this change, thanks!


Update README.md

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-rp7jMDIK1wBN
Commit ID: 0e294b26e6f184b665350e06c8199d19042c89b6
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
Commit ID: 0e294b26e6f184b665350e06c8199d19042c89b6
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
Commit ID: 0e294b26e6f184b665350e06c8199d19042c89b6
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-rp7jMDIK1wBN
Commit ID: 0e294b26e6f184b665350e06c8199d19042c89b6
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Unknown edit feature in disabled editor

Hello,
I am using editor in react just for displaying content without ability to edit it.
Property disable is set to true .
When i go with my mouse just slightly over the top of image this feature appears.
See attached screenshot.

I found out it add empty line. Why is it shown in "disabled mode" ?
I should mention that i add that red image/logo to HTML string in backend based on business logic.
Note: i also created this issue in suneditor-react but i also posted it here since this is probably core problem/bug.

The 2.30.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


Remove/hrl

I started by wanting to remove the .hrls from this lib.
I made the necessary changes for this.
Then I got into a frenzy about modernizing this and making it more maintainable and the result is in sight.
Breaking changes are documented in MIGRATION.md.
I'm going to try and review everything now and leave appropriate comments where comprehensions issues might arise.
Also:

closes #12

Note: I believe this is better reviewed on a per-commit basis.

@g-andrade: if both open conversations have a satisfactory termination, to you, I would welcome merging this, since I believe it fulfills its initial requirements.


fails to build on 10.13.2

Node modules need to be updated to take into account a bug fix in node-gyp.  Node modulelzf depends on it. When looking into lzf, the readme url (https://github.com/Sonetica/node-lzf#readme) listed within node_modules/lzf/package.json lead to a 404.
npm i rdb-tools

><EMAIL_ADDRESS>install /Users/laura/Desktop/redis-db-test/node_modules/int64-native
> node-gyp configure && node-gyp build

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

  CXX(target) Release/obj.target/Int64/src/main.o
In file included from ../src/main.cc:8:
../src/Int64.h:10:22: error: expected class name
class Int64 : public ObjectWrap {

Pull requests welcome! :-)


no insights via Arduino IDE (MEGH-3773)

when logging in to the https://dashboard.insights.espressif.com
I do get the active and inactive nodes.
The nodes function perfectly, but there is no insight data. Is this something that is possible via the Arduino IDE? Or is that also something I should try via ESP-IDF ?
For example the "Chip" is invalid, and no data is logged. I do love the idea of the insights dashboard, is there a way to get this working via the Arduino IDE.

Hi @Michiel-FMI-ImProvia,
As of now, ESP-Insights is not available in Arduino. You will have to try using ESP-IDF.
Regards,
Sanket


Add integration tests

Add integration tests to make it safer to publish new versions.
At least #121 could be avoided with this

Done in PR #128


Compiled file detected as Trojan:Win32/Sabsik.TE.A!ml  by Windows Defender (Windows Server 2019)

It started being detected today.
I used the next modules:
import os
from pathlib import Path
from PIL import Image
import sys
import msvcrt as m
import time
The script is used to resize all image files inside of a specific folder.
This is the command I use to compile the script:
nuitka --onefile --standalone Resize.py
I installed zstandard for compression as indicated in the Nuitka logs.
Of course this is a false positive because I created the script, and I compiled it a month ago, but I guess some poeple with have problems with it in a commercial enviroment.

Onefile has issues on certain machines. I think nuitka-commercial is able to resolve some of the issues with av software

We have customers deploying to thousands of machines with no AV issues using this https://nuitka.net/doc/commercial.html but it's easy to make mistakes, you will need the information contained there to do it right and naturally I am not supporting the free Nuitka on this topic.


[renovate]Remove golang constraint

The shared global config already has a golang 1.20 constraint

Right, that explains the renovate failures about go mod tidy. :)


GCD compatibility?

I mostly use GCD for UI updates.
dispatch_async(dispatch_get_main_queue(), ^{
    // UI updates
});

But, your library checks using [NSThread isMainThread]. As GCD queues are not threads, my app often crashes. So I need to use selectors instead of calling blocks. Can we make this library GCD compatible?

Sorry..
I found my bug


ND4JIllegalStateException: op.X length != op.Y length:

While trying to get the next rnnTimeStep of RecurrentLayer i get the following error:
[main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
[main] INFO org.reflections.Reflections - Reflections took 2861 ms to scan 271 urls, producing 130736 keys and 144630 values
[main] INFO org.nd4j.nativeblas.NativeOpsHolder - Number of threads used for NativeOps: 2
[main] INFO org.reflections.Reflections - Reflections took 318 ms to scan 13 urls, producing 31 keys and 227 values
[main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for BLAS: 2
[main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Backend used: [CPU]; OS: [Windows 10]
[main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Cores: [4]; Memory: [1,8GB];
[main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Blas vendor: [OPENBLAS]
[main] INFO org.reflections.Reflections - Reflections took 529 ms to scan 13 urls, producing 387 keys and 1538 values
[main] INFO stock.predict.StockPricePrediction - Load model...
[main] INFO org.reflections.Reflections - Reflections took 5321 ms to scan 248 urls, producing 5177 keys and 34416 values
[main] INFO org.deeplearning4j.nn.multilayer.MultiLayerNetwork - Starting MultiLayerNetwork with WorkspaceModes set to [training: NONE; inference: SEPARATE]
[main] INFO stock.predict.StockPricePrediction - Testing...
Exception in thread "main" org.nd4j.linalg.exception.ND4JIllegalStateException: op.X length should be equal to op.Y length: [[2, 1, 5, 1, 1, 0, 1, 99]] != [[2, 1, 1, 1, 1, 0, 1, 97]]
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.exec(NativeOpExecutioner.java:578)
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.exec(NativeOpExecutioner.java:100)
at org.nd4j.linalg.api.ndarray.BaseNDArray.muli(BaseNDArray.java:1640)
at org.nd4j.linalg.api.ndarray.BaseNDArray.muli(BaseNDArray.java:3098)
at org.nd4j.linalg.api.ndarray.BaseNDArray.mul(BaseNDArray.java:2865)
at stock.predict.StockPricePrediction.test1(StockPricePrediction.java:102)
at Main.main(Main.java:17)
My version of nd4j is 0.9.1. I know there is one other case here with this same error but i haven't been able to fix mine with it.
Thank you

Based on that stack trace, it has nothing to do with rnnTimeStep:
at org.nd4j.linalg.api.ndarray.BaseNDArray.mul(BaseNDArray.java:2865)
at stock.predict.StockPricePrediction.test1(StockPricePrediction.java:102)
at Main.main(Main.java:17)

i.e., it's in your code - you are trying to do x.mul(y), where x has shape [1,5] and y has shape [1,2].

Thank you, solved the problem. I hadn't trained the network properly.


DragEvent not passed to pull() if target is empty

A series of sortable containers is created, each with the following constructor options:
{
 group: {
  name: 'drag',
  pull(to, from, element, e) {
    console.log(e) // this is where we can see the difference in behaviour
  }
}

In the pull() callback above, we console.log(e) to show the event that was passed to the callback.
When dragging an element from one container to a different container which already has at least one element in it, the object being logged is of the following form:
DragEvent {isTrusted: true, dataTransfer: DataTransfer, screenX: 530, screenY: 297, clientX: 530, …}

And when dragging an element from one container to a different container which is currently empty, the object being logged is of the following form:
{clientX: 496, clientY: 213, target: div.col-items-content, rootEl: div.col-items-content}

The context of this issue is I want to tie a e.ctrlKey if-check to return a different value from the pull() callback, like the following:
pull(to, from, element, e) {
  if (e.ctrlKey) {
    return 'clone'
  } else {
    return true
  }
}

This works great when pulling an element onto an already-filled container, but unfortunately, because of the behaviour described above, this doesn't work when pulling an element into a container which is so far still empty.
JSFiddle of the reproduction: https://jsfiddle.net/xc6hLy17/4/
In this JSFiddle, play with the elements, try to empty a container and fill it again, and check that a DragEvent is correctly fired when dragging an item onto a non-empty ul container, but not when dragging an item onto an empty container.

Solved in b483211c101f7a77839bd2477c9851922a6a805e.


Hype button text from Maestro module still shows

Hype button from the Maestro module still shows its text in sheet title bars

https://foundryvtt.com/packages/maestro

Hello and thanks for your feedback ! I released an update (v1.3.7) with a compatibility fix with Maestro module, you just have to update your module 👍


Elasticsearch Product Fetch has poor performance and crashes database

PHP Version: 8.2   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
The product indexing in shopware should complete quickly and not cause database crashes. It should additionally issue queries that are not harmful to OLTP workloads on MySQL servers.
Actual behaviour:
The product indexing in shopware (specifically, the SQL query here) runs for up to 60 seconds on fast and sufficient hardware. The query also causes memory spikes (sometimes multiple GBs with multiple workers running) that sometimes lead to OOM kills of MySQL by the Linux kernel. Not all queries cause this, but multiple of those queries at the same time sometimes do.
According to MySQL explains, the query does range scans on the product table and examines up to 26 million rows. The high amount of updates, that each time causes queries like this, leads to a MySQL Buffer Pool mistraining that is affecting performance.
Shop has 6k products (in admin, 58k rows in product table) with multiple tranlations and a high product update rate. This issue is currently causing this shop to have two million pending product indexing messages.
Customer has Beyond subscription, but I thought as first report it might be better here because this affects core functionality.
Maybe its a good idea to either run this query for each ID alone, or to use a low batch for the list.
How to reproduce:
Not sure.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38493
[created from NEXT-38493, comment 498492]

Can you share how does your product update process look like? Do you regular "exports" from your ERP system or do you sync changes as soon as they happen?
Do you use the sync-API for those updates? Do you specify any indexing-behavior on those requests?
Additionally what we have seen is that actually decreasing the number of workers that are running, might increase the overall throughput, because there are less locks etc.

Hi,
I work on the same project as @pkramme and therefore answer on his behalf.
We work through product updates from the ERP as soon as they happen, but collect them in a custom queue first. This queue is then worked through in batches.
We directly use the product repository via a PHP plugin and perform upserts of 100 products at once. The context state used during those upserts is configured with \Shopware\Core\Framework\DataAbstractionLayer\Indexing\EntityIndexerRegistry::USE_INDEXING_QUEUE, thus equivalent to use-queue-indexing in the sync API.
As for the number of workers, we use a single queue worker in our setup.

Thanks for those answers, i guess your setup is reasonable then and there are no quick fixes on that side.
We are currently actively reworking the ES indexing performance, esp. in setups with multiple translations (as you seem to have). Ticket is https://issues.shopware.com/issues/NEXT-38038.

@keulinho Thank you for your answer!
Do you have an estimation when the work might be done and there is an update for it?

Not sure when it will land in a final release, currently we need to check if the approach (splitting out the translation reads) actually solves the issues across the board.
We could give you access to the change (either via patch file or GH branch), that way you could maybe test the change directly on your (staging) system and see if it would actually solve your issues?

@keulinho that sounds good, we can happily test it as soon as it is ready!

Ok so the branch with the changes is here: https://github.com/shopware/shopware/tree/next-38038/optimizing-elasticsearch-product-indexing
For comparison: https://github.com/shopware/shopware/compare/trunk...next-38038/optimizing-elasticsearch-product-indexing

@keulinho we can notice a slight difference, but not an incredicly increase of speed here. I'd say roughly 20 seconds per message we have on average.
What is your goal here to reach or your benchmark on how quick this should be going ideally, so what are you aiming for?

Hard to say as numbers vary greatly based on actual data, e.g. translations per product, number of sales-channel, as well as other things, like concurrent load on the DB etc.
Did you monitor the DB metrics? Does the query time as well as load go down? As with the change we offloaded some of resource intensive stuff to the PHP side, hoping that we can allow better scaling that way.
If DB numbers looking good, would it be an option to increase the number of workers?

@keulinho we did check it now and on average the speed is at 10 seconds per message.
Those 10 seconds mainly consist of the sql query. The load looks fine for now.
Our devops told me that increasing the amount of workers doesn't necessarily make it faster, since the hardware ressources for the workers get split between them.
So if we add 1 more worker e.g., both of the workers will have half of the ressources and so forth.
We can look further into it now though.

Ok our internal testing led to ever further improvements of ~80% and greatly reduced DB load:

But probably the exact number depends hugely on the actual data set. Note that the trace in only for one batch of 5 to be able to get an understandable trace 🙈
But you can confirm that the performance as well as the DB load did improve with the change? (What i get from your comments was that the performance per message roughly increased from 20 to 10s right?)

@keulinho we could test if for a bit and the speed did increase indeed. Also using more workers helped.
We also noticed that we still could improve our pim connector in a way so it triggers less product index messages, which decreased the size of the queue.
We do agree, that the size of the shop has a big factor in the performance of the queue as well. Ours has 12 sales channels with 8 languages each.
Maybe longterm you could still create ways for these bigger enterprise shops, that still somewhat allow faster indexing for these huge amount of data.
Thank you for now though!


MVP database versioning (BaseX)

As end-user
I would to able to store multiple versions of a specific SCL file
So I can test if the versioning system works
Background:
Test it: import version 1, make some modifications and save it as version 2. Now, you should be able down retrieve both versions and the connection.
Acceptance criteria:

Separate file per version
Feature to load the latest version
Add history to XML file add storage time (select MAJOR/MINOR/PATCH)

Build


Bug fix: Models with shared layers shouldn't be considered Sequential like

As of now, the following model is being considered as a "Sequential-like":
from keras.layers import *
from keras.models import *

a = Input((5,))
dense = Dense(5)
b = dense(a)
c = dense(b)

model = Model(a, c)
model.summary()

@fchollet


⚠ ClamAV has degraded performance

In 46a4fd9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 08610de.


Display what the user chose

Hi, currently using smartselect multiple.
The list to choose from is extremely long, and I want to display what the user has selected so far on the list.
Is there a way to display and pin the current choices at the top of the list?

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.


ArgHandler error on Webpack/UglifyJS build

Using the latest versions of
NodeJS
VueJS
Webpack
xlsx-populate
When running the build option we get an error on the pages including xlsx-populate.

We also got a 'Can't resolve fs' error on the dev build. We fixed this by adding the following to the webpack config:
node: {
fs: 'empty',
}
This solution was provided for the same issue in another package:
https://github.com/webpack-contrib/css-loader/issues/447
Could these 2 issues be related to each other?
Steps to reproduce:
Setup new project using the vue-cli (default webpack project)
Install xlsx-populate
run 'npm run build' to create the production files. This should give you the error(s).
Or download the zip with sample project (without node_modules folder).
test.zip
And run 'npm install' followed by 'npm run build'

Hmmm.... I'm not sure what the issue is. The fs empty config is expected as we used Node's fs (if available) to load/write files. I'm able to get webpack to work fine by itself:

Here's my index.js:
import XlsxPopulate from 'xlsx-populate';

And here's my webpack.config.js:
module.exports = {
  node: {
    fs: 'empty'
  }
};

I'm going to close this since I can't reproduce. Please reopen if you can provide more detail.

Hi, I am actually running into the above issue, and I am not sure how to solve it. Here is the error that I am getting:
ERROR in app-9c9bcdfb7ba5099216d1.js from UglifyJs
Unexpected token: name (ArgHandler) [../node_modules/xlsx-populate/lib/ArgHandler.js:9,0][app-9c9bcdfb7ba5099216d1.js:122005,6]
I am able to run npm run buildlib, but when I run npm run build I get this error.
I updated the webpack config with:
node: {fs: 'empty'}
This got rid of the initial error that allowed me to work with the library.
For my index.js I am using the following to access xlsx-populate:
import * as XlsxPopulate from 'xlsx-populate'
I am using typescript which is why I am using that syntax.
Any help would be greatly appreciated, thanks!

Never mind, after digging a bit deeper I found my problem, in a previous question.
https://github.com/dtjohnson/xlsx-populate/issues/105
If anyone else is having this issue, what solved it for me was updating the import statement to the following:
import * as XlsxPopulate from 'xlsx-populate/browser/xlsx-populate';
Thanks for the help!

@vickdayaram worked for me too. Thanks!


Inference on personal data

Hi! First of all thanks for this great project.
I am currently working on a project where I want to detect specific actions performed by pedestrians and I thought that your code could provide me a great starting point.
Currently I am using OpenPose to extract two skeleton estimations from 10sec video clips at 30fps.
From what I have seen the JSON output format provided by OpenPose is a bit different from the input format of your network. I am planning on writing a script to convert the results to the right format, I just wanted to be sure that I was not missing anything.
Similarly, I believe that I need to modify slightly your code to add a method to generate predictions without labels provided (which I believe is the case in both eval and train method). Am I right with this?
Thanks for your thoughts!

Hi, Adrien,
Thanks for your interest in our work.
Actually, we use different data loader in the learning of different dataset.
The data loader for Kinetics read JSON files we provided and output
skeleton sequences and labels.
The data loader for NTU-RGB-D read "*data.npy" and "*label.pkl" file to
generate data and groundtruth.
If you don't want to rewrite data feeder, please refer to
tools/ntu_gendata.py. You should transform your data like we did in this
script and directly use default data loader  feeder.py in the learning. You
can also write a new data feeder if you want. But I do not recommend you
directly read JSON files provided by OpenPose. These files are too small.
The I/O cost is pretty high.
Of cause, you can also convert these JSON files to the format we defined
and directly use feeder_kinetics.py as you said. You do not need to modify
my code. Just provide one fake label for each sample.
Bests,
Sijie
2018-03-19 14:24 GMT+08:00 Adrien Gregorj<EMAIL_ADDRESS>
Hi! First of all thanks for this great project.
I am currently working on a project where I want to detect specific
actions performed by pedestrians and I thought that your code could provide
me a great starting point.
Currently I am using OpenPose to extract two skeleton estimations from
10sec video clips at 30fps.
From what I have seen the JSON output format provided by OpenPose is a bit
different from the input format of your network. I am planning on writing a
script to convert the results to the right format, I just wanted to be sure
that I was not missing anything.
Similarly, I believe that I need to modify slightly your code to add a
method to generate predictions without labels provided (which I believe is
the case in both eval and train method). Am I right with this?
Thanks for your thoughts!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yysijie/st-gcn/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJJeKoDWCbWWfG1B1DY_I7EBu7U20eTUks5tf08ogaJpZM4SvpeH
.

Thanks for the fast answer Sijie!
I thought that you had done something similar to create your Kinetics-skeleton data. I will go and write a script to convert OpenPose JSON format to the right one.
Yes it is indeed simpler to use fake labels.
Best regards,
Adrien

Hi @Chevrefeuille
May I know have you written the script converting from OpenPose JSON format to their input format? If so may I have a copy so that I can avoid reinventing the wheel? :-)

Hi @coldmanck !
Yes I have written this script, here is a copy of it (some parts like the name of the file are specific to my current project but the global idea might already be interesting for you):
import os
from pathlib import Path
import json
from pprint import pprint

if __name__ == "__main__":
    folder = '2010_10_06'
    p = Path('../data/poses/openpose_format')
    list_data_file = '../data/data_list.dat'
    labels = {}
    with open(list_data_file, 'r') as f:
        for line in f:
            vid  = int(line)
            j = 0
            stgcn_data_array = []
            stgcn_data = {}
            dest_path = '../data/poses/st-gcn_format/' + str(vid) + '.json'
            for path in p.glob(str(vid) + '*.json'): # each json file
                json_path = str(path)
                j += 1
                frame_id = int(((json_path.split('/')[-1]).split('.')[0]).split('_')[1])
                frame_data = {'frame_index': frame_id}
                data = json.load(open(json_path))
                skeletons = []
                for person in data['people']:
                    score, coordinates = [], []
                    skeleton = {}
                    keypoints = person['pose_keypoints_2d']
                    for i in range(0,len(keypoints),3):
                        coordinates +=  [keypoints[i], keypoints[i + 1]]
                        score += [keypoints[i + 2]]
                    skeleton['pose'] = coordinates
                    skeleton['score'] = score
                    skeletons += [skeleton]
                frame_data['skeleton'] = skeletons
                stgcn_data_array += [frame_data]
            if j == 300:
                labels[str(vid)] = {"has_skeleton": True,
                    "label": "fake_label",
                    "label_index": 0}
                stgcn_data['data'] = stgcn_data_array
                stgcn_data['label'] = 'fake_label'
                stgcn_data['label_index'] = 0
                with open(dest_path, 'w') as outfile:
                    json.dump(stgcn_data, outfile)

    labels_file = '../data/poses/fake_labels.json'
    with open(labels_file, 'w') as label_file:
        json.dump(labels, label_file)

I am not a python export so any comment are well appreciated 😄 . The condition j == 300 is due to an issue that I have with my input videos that are not always 300 frame long but you can probably assume that yours are.

Hi @Chevrefeuille
Thanks for the fast reply and the amazing script! I will try it and give feedback, if any :)

@Chevrefeuille
Thanks for the nice scripts! Do you mind contributing the script to the codebase? This way al users can benefit from your work. You are more than welcome to open a pull request.

I would be glad to do so, I will just make a few adjustments to have it less specific.

Hi @Chevrefeuill ,
Thanks for your scripts to convert Openpose output into ST-GCN format! I have several suggestions for the script
line 14
for path in p.glob('*.avi'):
    f.write(path.stem + '\n')

Basically path.stem will return the file's name without the suffix
line 45
dest_path = os.path.join(arg.stgcn_json_path, video_name + '.json')

In case the arg.stgcn_json_path contains no /
line 48
frame_id = int(path.stem.split('_')[1])

@xiaoyuliu
Please send a PR.

@yysijie
Thanks, I will create one for that soon. Actually I'd like to add one function top_k_by_category to display the accuracy for each category, should I do that in the same PR? (If you think it's ok to add the function)


Add draft beacon tutorial

untested, wip

From @mira-miracoli

I see a problem with postgres maybe, the role wants to run postgres in docker and uses port 5432 as default. The importer-role seems to assume that the db is not on the same node. the importer-role which runs the import script on cron, wants to install Python 3.9, but that should be fine, I guess?

run postgres in docker and uses port 5432 as default

Looks like we can change that, glad it's dockerized: postgres_external_binding: 5432 / beacon_db_port: 5432

seems to assume that the db is not on the same node

their example in the readme uses localhost so maybe it's fine? I'll test this in one of the VMs for sure.

wants to install Python 3.9, but that should be fine, I guess?

that is  not great, but, ok, we can work with that. at least ubuntu is sensible about coexisting python installations, as long as you're really careful to use the associated pip.

And, oof, the importer exposes the password on the CLI, nice /s


HashMap in C#

Introduction to HashMap
Complete explanation on HashMap
Code for Insertion Operation in HashMap
Explanation of Code Example

I would like to work on this issue.

I would like to work on this issue. @ridz0326

I would like to work on this issue. Please assign me


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Linux x64 4.15.0-45-generic
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /home/parvin/ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]

Thank You.


attempting fast finish again

This PR attempts fast finish (again) with the new environment procedures.

Travis is still sending an email for every "passed" job when fast_finish set to true. Closing PR.


Emu deck main

Apologies for spamming with pull requests, I'm trying to merge with my fork but github doesn't like me


switches don't toggle properly on objc version

Hi was wondering if I'm doing anything wrong, but I want to use your controller in my app that supports 7.1. So I chose the 1.4 pod install. This code creates buttons that don't toggle easily at all. Your swift example works beautifully though.
    SevenSwitch *mySwitch = [[SevenSwitch alloc] initWithFrame:CGRectZero];
    mySwitch.center = contentView.center;
    mySwitch.on = NO;
    mySwitch.offImage = [UIImage<EMAIL_ADDRESS>    mySwitch.onImage = [UIImage<EMAIL_ADDRESS>    mySwitch.onTintColor = [UIColor colorWithHue:0.08f saturation:0.74f brightness:1.00f alpha:1.00f];
    mySwitch.isRounded = YES;
    [contentView addSubview:mySwitch];

I'm having the same issue when using the 2.0 version. If i place a switch in a tableview cell, it becomes incredibly difficult to turn the switch on or off. The thumb even jumps out of the switch frame to the left or right sometimes.

This sounds scary, it looks cool but I'm going to skip the library :)

try to comment: cancelTrackingWithEvent

Did not see these comments, I'm using it but there is a uicollectionview in my project. Poor me :(
@author, please check and fix if possible (y)


[Feature Request]: Add Counting Sort in Sorting Algorithms

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add the counting sort in the sorting algorithms
Use Case
Counting Sort is ideal for sorting integers with a small, fixed range, such as in radix sort subroutines or competitive programming with constrained input sizes.
Benefits
It is efficient with O(n + k) time complexity, stable, simple to implement, and avoids the O(n log n) limit of comparison-based sorts.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar
Please assign this issue to me.
Thank you


(#1182) Allow the ispyb experiment_type field to be populated by GDA

Fixes #1182
Link to dodal PR (if required): #N/A
(remember to update setup.cfg with the dodal commit tag if you need it for tests to pass!)
To test:

ispyb experiment_type field should now be populated via the ispyb_params.ispyb_experiment_type field as specified by the call from GDA (for rotation scans)
For gridscans it will be left as "mesh" or "Mesh3D" as appropriate, and if unspecified for rotation scans it will be "SAD"

Thans @rtuck99, this seems good to me. If I was being nitpicky I think kind is maybe used more widely for this than type but not too fussed.

I'm just going by the nomenclature I see in IspyB and in GDA - I haven't seen anywhere in the code that references _kind

I'm just going by the nomenclature I see in IspyB and in GDA - I haven't seen anywhere in the code that references _kind

Fair enough, it looked like GDA had kind where i saw it. But I'm happy with type


Defund Palo Alto Police (California)

To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE***]
Message (Don't forget to replace the [x]'s with your information!) 🔗
To Mayor Adrian Fine, Palo Alto City Council Members,
My name is [YOUR NAME], and I am a resident of Palo Alto. This past week, our nation and community have been gripped by protests calling for an end to racism and anti-Blackness and a complete overhaul in our approach to criminal justice in America. We are demanding that our voices be heard, and that real change be made to the way this city allocates its resources.
The fact that the PAPD encompasses over 44 million dollars of the city’s general operating fund is shameful and unproductive. Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at reducing crime than police or prisons (Source: Popular Democracy).
There is not just a need for police reform, but police defunding and abolition, because the entire structure of the police force is inherently corrupt and ineffective. The average police recruit spends 58 hours learning how to shoot and only 8 hours learning how to de-escalate(Source: Campaign Zero). They are not trained or equipped to react to the vast majority of crises. Phillip McHarris (doctoral candidate focusing on race), argues that we must work towards a reality in which healthcare workers and emergency response teams handle substance abuse, domestic violence, homelessness, or mental health cases. Policies to “improve the police” are not enough, as there’s no evidence that implicit bias training or community relations initiatives help with reducing the abuses of policing (The Nation). We need to reimagine public safety to prioritize alternatives to conflict rather than defaulting to violence.
We demand the immediate freezing of budget increases to the police force, cancelling of cadet classes, refusal to fill the vacancies on the police department, demilitarization of our forces, and reallocation of funds from police to community-led health and safety strategies.
Please do not vote to increase police funding. Do not be complicit in the disproportionate targeting and continuous oppression of people of color. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
It is your duty to represent your constituents. I am urging you to revise the Palo Alto city budget for the next fiscal year, and to fund #CareNotCops. We can be a beacon for other cities to follow if only we have the courage to change.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]

Hi @sparklyasaprettyunicorn! Thanks so much for your submission.
Palo Alto’s letter is already live from a previous submission. If you would like to make specific changes to the existing content, please open a new issue so we can follow-up.
Thank you!


This Package needs update to support RNVC v3

This package is lacking maintenance, keep running into issues building with latest rnvc ...... you all should try out https://github.com/teslamotors/react-native-camera-kit#readme if you've been having same issue

An update that removes the reanimated dependency and supports worklets-core would be most welcome.

check this out guys, react-native-vision-camera now does QR/Barcode scanning
https://www.react-native-vision-camera.com/docs/guides/code-scanning

I've also just released a frame processor rebuilt for vision-camera 3+ that can do high (configurable) fps scanning and provides highlighting of detected barcodes out-of-the-box.
You can check a working demo on GitHub @mgcrea/vision-camera-barcode-scanner.
Hope it can help others.