Failed to begin subsegment named 'AWSXRay'

When you use the CentralizedSamplingStrategy it will create a java sdk AWSXRay client which uses the XRay http api to communicate with the local xray daemon.
This client is used from a polling threads which typically do not have any context set.
When you have enabled the aws-xray-recorder-sdk-aws-sdk-instrumentor it will trigger the currently configured ContextMissingStrategy (throwing a runtime exception or logging an error).
We think this is rather ugly.
We are wondering if this is the designed behaviour.
Wouldn't it be better to run these pollers within a dummy segment or disable the xray request handlers for the AWSXRay client?

Hi Steven,
Sorry for the issue, this was not intended. The AWSXRay client requests to the new Centralized Sampling API should not be traced as they are not part of the application's request code path. We'll be investigating this and pushing a fix as soon as we can.
Closing in favor of tracking this issue on #25


Please add me to the NAACL Beaker organization

Hi, please add me to the NAACL Beaker organization.

My Beaker username is: alanramponi
The title of my paper is: Features or Spurious Artifacts? Data-centric Baselines for Fair and Robust Hate Speech Detection

For admins :point_down:
You can add this user to the Beaker NAACL organization by manually triggering the
Beaker NAACL Add Member workflow.
Just click the "Run workflow" dropdown on the right, fill in the username, and then click the green "Run workflow" button. Once the job has completed you can close this issue.

Added!


Google maps not generating properly

The CSS breaks down while generating google maps. See 3rd page in this pdf
output.pdf
Expected output:

Any ideas. Please suggest.

Hey @sameerpallav, How did you get the pagebreaks to display so beautifully?  I'm having problems.

I hardcoded the heights of div to 1122px for a4. html2pdf_page_break class doesn't work properly for me.

Thanks, it doesn't work properly for me either...:(

@sameerpallav Did you resolve this issue? I can't even get google maps to embed in the first place, what was your code to do this?

Hi, there are a few known issues that might be contributing to this problem - please see the list here:
Develop branch - Known issues
In particular, please check issues 1-3 (html2canvas rendering, node cloning, and resizing). If one of these fixes or narrows down your problem, please post here!


feat(rule): add secrets rule

This is a redo of https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/116 after accidental merge.

Added secrets rule.
required secrets format : {{secrets.SECRET_WORD}}
secrets can be in zeebe:properties, zeebe:ioMapping and in zeebe:subscription
result :
  Activity_0gcnr68  error  Element of type <zeebe:input> contains an invalid secret format in property 'body'. Must be {{secrets.YOUR_SECRET}}                               camunda-compat/secrets
  StartEvent_1      error  Element of type <zeebe:property> contains an invalid secret format in property 'activationCondition'. Must be {{secrets.YOUR_SECRET}}             camunda-compat/secrets
  Event_0hdo39k     error  Element of type <zeebe:property> contains an invalid secret format in property 'inbound.responseBodyExpression'. Must be {{secrets.YOUR_SECRET}}  camunda-compat/secrets
  Message_0pier1w   error  Element of type <zeebe:subscription> contains an invalid secret format in property 'correlationKey'. Must be {{secrets.YOUR_SECRET}}              3741e070-ac1a-4bca-8936-dc04dca5c408

Related : https://github.com/camunda/team-connectors/issues/448

Thanks. We'll follow up on this PR + merge once everything is clarified.


feat-4453-Write a deepgramTopicDetection() Function using Dart

This PR adds an example of Dart function to transcribe audio using Deepgram
Closes https://github.com/appwrite/appwrite/issues/4453
Working screenshots of the function:
Success

Failure

Let me know if anything else needs to be implemented!

Thanks for the amazing PR 😇 I have added small changes to readme.
Merging the PR now 🥳


[FEA] Spark main branch builds with jdk17

Is your feature request related to a problem? Please describe.
The Spark main branch now requires jdk17 to build  by default. Update our builds of snapshots accordingly.

merged a workaround internally. We will keep monitoring


Show "RA Info" also for Non-OID object types

I noticed that the section "Registration Authority" is only displayed on the GUI pages of OIDs, but not on any other object type.
~/dev/plugins/viathinksoft/objectTypes$ grep -r "%%RA_INFO%%"
oid/OIDplusOid.class.php:                                   '<h2>'._L('Registration Authority').'</h2>%%RA_INFO%%';

I think the GUI pages should look equal to all object types, and as long as there are owners (every OIDplus object has owners), there should be the RA visible.

Fixed in release <IP_ADDRESS>


Criterion 1: Devices should automatically discover and connect to each other using Bluetooth or local network without internet access.

Cancealed


the model gpt-4o does not exist or you do not have access to it

Hi team, I encountered the error code "the model gpt-4o does not exist or you do not have access to it", I created a project API key from OpenAI, and I am using the free account. You can see the code below, and let me know if you need extra info to solve this problem:

I had the same problem and solved it:
This error is because you do not have an available Openai API KEY, you have to go to the openai website to apply. Then make sure you have a quota for the API KEY, and save the API key to your system environment variable: write it in the following format: OPENAI_API_KEY [your API KEY]
In short, it may be that your environment variables are not matched; Or maybe your API KEY is out of quota. This prevents access to GPT, so the error message is Litellm Notfound


ERROR: validating buildpacks: buildpack<EMAIL_ADDRESS>does not support stack io.buildpacks.stacks.jammy.tiny

I'm creating a builder image to use paketo builder tiny stack, but I have this error:
ERROR: validating buildpacks: buildpack<EMAIL_ADDRESS>does not support stack io.buildpacks.stacks.jammy.tiny
Expected Behavior

It should to allow create builder image.
Current Behavior

It is giving this error:
ERROR: validating buildpacks: buildpack<EMAIL_ADDRESS>does not support stack io.buildpacks.stacks.jammy.tiny
Possible Solution

I think in the tiny jammy stack it should be added libraries or packages to support buildpack<EMAIL_ADDRESS>Steps to Reproduce

Use https://github.com/paketo-buildpacks/builder-jammy-tiny/blob/main/builder.toml
Add into of builder.toml
[[buildpacks]]
uri = "docker://gcr.io/paketo-buildpacks/nginx:0.15.3"
version = "0.15.3"
An when you want to create an own builder with pack cli, it should can to create this new builder custom, with the command:
pack builder create custom_tiny_jammy --config ./builder.toml

Motivations

I want to create an custom builder image using paketo jammy tiny stach with Nginx 0.15.3

Hi @karlos84-sudo, thanks for creating the issue.
For a blocker why this buildpack can't run on the tiny stack, I can think of one example. NGINX is built with pcre support which is not available on tiny.
As to if libraries should be added to tiny to support nginx buildpack, I don't know if that will defeat the purpose of the tiny stack. Anyway that's a major discussion and needs broader community consensus, especially from the Stacks maintainer group. If you believe tiny stack should include the libraries, I'd advise you to figure out what libraries are missing, and then propose an RFC for discussion.
I'm closing this issue, but feel free to re-open it for any further discussion.


Dockerfile not working

I can not build docker image because of this:
pi@iDom-RaspberryPi4:~/GIT/comfoconnect-mqtt-bridge $ docker build . -t comfoconnect-mqtt-bridge
Sending build context to Docker daemon  98.82kB
Step 1/6 : FROM python:slim
---> 50e61686af4c
Step 2/6 : WORKDIR /app
---> Using cache
---> f55bb3bf27c8
Step 3/6 : COPY requirements.txt .
---> 7a8c3c43cdd1
Step 4/6 : RUN pip install -r requirements.txt
---> Running in 0b2061ba4af9
Collecting aiocomfoconnect==0.1.5 (from -r requirements.txt (line 1))
Downloading aiocomfoconnect-0.1.5-py3-none-any.whl (28 kB)
Collecting aiohttp==3.8.4 (from -r requirements.txt (line 2))
Downloading aiohttp-3.8.4.tar.gz (7.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.3/7.3 MB 9.3 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting aiomqtt==1.0.0 (from -r requirements.txt (line 3))
Obtaining dependency information for aiomqtt==1.0.0 from https://files.pythonhosted.org/packages/cf/7b/c842643452c12c02a1cbc03c9cef24188c81d7b557bd319ebd2c065dbf75/aiomqtt-1.0.0-py3-none-any.whl.metadata
Downloading aiomqtt-1.0.0-py3-none-any.whl.metadata (8.4 kB)
Collecting aiosignal==1.3.1 (from -r requirements.txt (line 4))
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting async-timeout==4.0.2 (from -r requirements.txt (line 5))
Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs==23.1.0 (from -r requirements.txt (line 6))
Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 3.3 MB/s eta 0:00:00
Collecting build==0.10.0 (from -r requirements.txt (line 7))
Downloading build-0.10.0-py3-none-any.whl (17 kB)
Collecting charset-normalizer==3.1.0 (from -r requirements.txt (line 8))
Downloading charset_normalizer-3.1.0-py3-none-any.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.2/46.2 kB 2.7 MB/s eta 0:00:00
Collecting frozenlist==1.3.3 (from -r requirements.txt (line 9))
Downloading frozenlist-1.3.3.tar.gz (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.6/66.6 kB 3.9 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting idna==3.4 (from -r requirements.txt (line 10))
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 3.2 MB/s eta 0:00:00
Collecting multidict==6.0.4 (from -r requirements.txt (line 11))
Downloading multidict-6.0.4.tar.gz (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.3/51.3 kB 2.5 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting nanopb==0.4.7 (from -r requirements.txt (line 12))
Downloading nanopb-0.4.7-py2.py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 kB 2.7 MB/s eta 0:00:00
Collecting packaging==23.1 (from -r requirements.txt (line 13))
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 2.5 MB/s eta 0:00:00
Collecting paho-mqtt==1.6.1 (from -r requirements.txt (line 14))
Downloading paho-mqtt-1.6.1.tar.gz (99 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.4/99.4 kB 4.6 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting protobuf==4.23.3 (from -r requirements.txt (line 15))
Obtaining dependency information for protobuf==4.23.3 from https://files.pythonhosted.org/packages/90/ca/da1d7e066196c8da33600bc74a31bb5b5e5538d00977e9fba4eb106992e9/protobuf-4.23.3-cp37-abi3-manylinux2014_aarch64.whl.metadata
Downloading protobuf-4.23.3-cp37-abi3-manylinux2014_aarch64.whl.metadata (540 bytes)
Collecting pyproject_hooks==1.0.0 (from -r requirements.txt (line 16))
Downloading pyproject_hooks-1.0.0-py3-none-any.whl (9.3 kB)
Collecting tomli==2.0.1 (from -r requirements.txt (line 17))
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting yarl==1.9.2 (from -r requirements.txt (line 18))
Downloading yarl-1.9.2.tar.gz (184 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.7/184.7 kB 6.6 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Downloading aiomqtt-1.0.0-py3-none-any.whl (14 kB)
Downloading protobuf-4.23.3-cp37-abi3-manylinux2014_aarch64.whl (303 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 303.5/303.5 kB 4.6 MB/s eta 0:00:00
Building wheels for collected packages: aiohttp, frozenlist, multidict, paho-mqtt, yarl
Building wheel for aiohttp (pyproject.toml): started
Building wheel for aiohttp (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for aiohttp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [97 lines of output]
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-312
creating build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/base_protocol.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/streams.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/init.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_request.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/client_proto.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/payload_streamer.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/cookiejar.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/test_utils.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/locks.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/worker.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/http_exceptions.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/connector.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/multipart.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/log.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/abc.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/client_reqrep.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_fileresponse.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_exceptions.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_middlewares.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/resolver.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_urldispatcher.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_runner.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_log.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/tracing.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_routedef.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/http_parser.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/http.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_ws.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/http_websocket.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/client_exceptions.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/client_ws.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/client.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_server.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/formdata.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/pytest_plugin.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/typedefs.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/http_writer.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_protocol.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/helpers.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/payload.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/tcp_helpers.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_response.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/hdrs.py -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/web_app.py -> build/lib.linux-aarch64-cpython-312/aiohttp
running egg_info
writing aiohttp.egg-info/PKG-INFO
writing dependency_links to aiohttp.egg-info/dependency_links.txt
writing requirements to aiohttp.egg-info/requires.txt
writing top-level names to aiohttp.egg-info/top_level.txt
reading manifest file 'aiohttp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'aiohttp' anywhere in distribution
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.pyd' found anywhere in distribution
warning: no previously-included files matching '.so' found anywhere in distribution
warning: no previously-included files matching '.lib' found anywhere in distribution
warning: no previously-included files matching '.dll' found anywhere in distribution
warning: no previously-included files matching '.a' found anywhere in distribution
warning: no previously-included files matching '.obj' found anywhere in distribution
warning: no previously-included files found matching 'aiohttp/.html'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE.txt'
writing manifest file 'aiohttp.egg-info/SOURCES.txt'
copying aiohttp/_cparser.pxd -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_find_header.pxd -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_headers.pxi -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_helpers.pyi -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_helpers.pyx -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_http_parser.pyx -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_http_writer.pyx -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/_websocket.pyx -> build/lib.linux-aarch64-cpython-312/aiohttp
copying aiohttp/py.typed -> build/lib.linux-aarch64-cpython-312/aiohttp
creating build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-aarch64-cpython-312/aiohttp/.hash
running build_ext
building 'aiohttp._websocket' extension
creating build/temp.linux-aarch64-cpython-312
creating build/temp.linux-aarch64-cpython-312/aiohttp
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -c aiohttp/_websocket.c -o build/temp.linux-aarch64-cpython-312/aiohttp/_websocket.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aiohttp
Building wheel for frozenlist (pyproject.toml): started
Building wheel for frozenlist (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for frozenlist (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [36 lines of output]
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-312
creating build/lib.linux-aarch64-cpython-312/frozenlist
copying frozenlist/init.py -> build/lib.linux-aarch64-cpython-312/frozenlist
running egg_info
writing frozenlist.egg-info/PKG-INFO
writing dependency_links to frozenlist.egg-info/dependency_links.txt
writing top-level names to frozenlist.egg-info/top_level.txt
reading manifest file 'frozenlist.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.pyd' found anywhere in distribution
warning: no previously-included files matching '.so' found anywhere in distribution
warning: no previously-included files matching '.lib' found anywhere in distribution
warning: no previously-included files matching '.dll' found anywhere in distribution
warning: no previously-included files matching '.a' found anywhere in distribution
warning: no previously-included files matching '.obj' found anywhere in distribution
warning: no previously-included files found matching 'frozenlist/.html'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'frozenlist.egg-info/SOURCES.txt'
copying frozenlist/init.pyi -> build/lib.linux-aarch64-cpython-312/frozenlist
copying frozenlist/_frozenlist.pyx -> build/lib.linux-aarch64-cpython-312/frozenlist
copying frozenlist/py.typed -> build/lib.linux-aarch64-cpython-312/frozenlist
running build_ext
building 'frozenlist._frozenlist' extension
creating build/temp.linux-aarch64-cpython-312
creating build/temp.linux-aarch64-cpython-312/frozenlist
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -c frozenlist/_frozenlist.c -o build/temp.linux-aarch64-cpython-312/frozenlist/_frozenlist.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for frozenlist
Building wheel for multidict (pyproject.toml): started
Building wheel for multidict (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for multidict (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [77 lines of output]
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-312
creating build/lib.linux-aarch64-cpython-312/multidict
copying multidict/init.py -> build/lib.linux-aarch64-cpython-312/multidict
copying multidict/_multidict_base.py -> build/lib.linux-aarch64-cpython-312/multidict
copying multidict/_abc.py -> build/lib.linux-aarch64-cpython-312/multidict
copying multidict/_multidict_py.py -> build/lib.linux-aarch64-cpython-312/multidict
copying multidict/_compat.py -> build/lib.linux-aarch64-cpython-312/multidict
running egg_info
writing multidict.egg-info/PKG-INFO
writing dependency_links to multidict.egg-info/dependency_links.txt
writing top-level names to multidict.egg-info/top_level.txt
reading manifest file 'multidict.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict/_multidict.html'
warning: no previously-included files found matching 'multidict/.so'
warning: no previously-included files found matching 'multidict/.pyd'
warning: no previously-included files found matching 'multidict/.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'multidict.egg-info/SOURCES.txt'
/tmp/pip-build-env-4dascdzx/overlay/lib/python3.12/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'multidict._multilib' is absent from the packages configuration.
!!
          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'multidict._multilib' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'multidict._multilib' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'multidict._multilib' to be distributed and are
          already explicitly excluding 'multidict._multilib' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  copying multidict/__init__.pyi -> build/lib.linux-aarch64-cpython-312/multidict
  copying multidict/py.typed -> build/lib.linux-aarch64-cpython-312/multidict
  running build_ext
  building 'multidict._multidict' extension
  creating build/temp.linux-aarch64-cpython-312
  creating build/temp.linux-aarch64-cpython-312/multidict
  gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -c multidict/_multidict.c -o build/temp.linux-aarch64-cpython-312/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
  error: command 'gcc' failed: No such file or directory
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for multidict
Building wheel for paho-mqtt (setup.py): started
Building wheel for paho-mqtt (setup.py): finished with status 'done'
Created wheel for paho-mqtt: filename=paho_mqtt-1.6.1-py3-none-any.whl size=62120 sha256=da540b5afb9240c00b2beb1c25f855c93bf36e02f6c4be24460ae8ec9b01d995
Stored in directory: /root/.cache/pip/wheels/23/d5/af/1f3cbcc350dec9d8e95040f388e0163d132eff0c9a453db659
Building wheel for yarl (pyproject.toml): started
Building wheel for yarl (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for yarl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
**********************
* Accelerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-312
creating build/lib.linux-aarch64-cpython-312/yarl
copying yarl/init.py -> build/lib.linux-aarch64-cpython-312/yarl
copying yarl/_url.py -> build/lib.linux-aarch64-cpython-312/yarl
copying yarl/_quoting_py.py -> build/lib.linux-aarch64-cpython-312/yarl
copying yarl/_quoting.py -> build/lib.linux-aarch64-cpython-312/yarl
running egg_info
writing yarl.egg-info/PKG-INFO
writing dependency_links to yarl.egg-info/dependency_links.txt
writing requirements to yarl.egg-info/requires.txt
writing top-level names to yarl.egg-info/top_level.txt
reading manifest file 'yarl.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '.pyc' found anywhere in distribution
warning: no previously-included files matching '.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl/.html'
warning: no previously-included files found matching 'yarl/.so'
warning: no previously-included files found matching 'yarl/*.pyd'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'yarl.egg-info/SOURCES.txt'
copying yarl/init.pyi -> build/lib.linux-aarch64-cpython-312/yarl
copying yarl/_quoting_c.pyi -> build/lib.linux-aarch64-cpython-312/yarl
copying yarl/_quoting_c.pyx -> build/lib.linux-aarch64-cpython-312/yarl
copying yarl/py.typed -> build/lib.linux-aarch64-cpython-312/yarl
running build_ext
building 'yarl._quoting_c' extension
creating build/temp.linux-aarch64-cpython-312
creating build/temp.linux-aarch64-cpython-312/yarl
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -c yarl/_quoting_c.c -o build/temp.linux-aarch64-cpython-312/yarl/_quoting_c.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Successfully built paho-mqtt
Failed to build aiohttp frozenlist multidict yarl
ERROR: Could not build wheels for aiohttp, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.2.1 -> 23.3.2
[notice] To update, run: pip install --upgrade pip
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
pi@iDom-RaspberryPi4:~/GIT/comfoconnect-mqtt-bridge $

The Dockerfile should use a FROM python:3.11-slim or something. Not all dependencies have wheels available for Python 3.12.

Thanks for reporting and the friendly hint on how to solve it. I have updated dependencies and recreated requirements.txt as well. Can you see if it works now?

now the docker image has been built correctly


improve adjust label functionality

by default make labels closer - and change title of "Adjust Label" to "Shift Label"

done


docs(search): add basic index search

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[ ] Unit tests (yarn test) were run locally and passed
[ ] Visual Regression Tests (yarn visual-regression) were run locally and passed
[ ] Linting (npm lint) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

[ ] Bug fix
[x] Feature
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the new behavior?

Implement basic search based on lunr local search plugin https://github.com/praveenn77/docusaurus-lunr-search
Swizzle SearchBar components (keep existing more or less "bad code")
Tag search is currently no supported (https://github.com/praveenn77/docusaurus-lunr-search/issues/81) #63

Does this introduce a breaking change?

[ ] Yes
[x] No

Cannot review the search functionality since the input field says Loading.. and will not change.

You have to build docusaurus, because index is only generated during build time.
yarn build
yarn workspace documentation serve

@danielleroux Search looks nice :) But somehow theme is not loading in playground it seems:

@danielleroux Search looks nice :) But somehow theme is not loading in playground it seems:

@nuke-ellington Cannot reproduce this behavior 👀


Multiple inputs/outputs

A QUESTION:
How do the API calls look for multiple inputs/outputs?
e.g. if device1 has 1 output and device2 has 1 input, we can call
device1.connect(device2);
if the devices have several inputs/outputs, how do we connect
the 2nd output from the device1 to the 3rd input of the device2 ?
And any suggestions of how the API should address MIDI inputs/outputs ?

Just conform to the WebAudio spec. We implemented the spec. From memory var destinationNode = AudioNode.connect(destination, outputIndex, inputIndex);
AudioNode.connect(destination, outputIndex);
See: https://developer.mozilla.org/en-US/docs/Web/API/AudioNode/connect
I found the bug about multiple instances. Not an easy one to fix. Will do my best to fix it today. Thanks a lot for spotting it... It works when you have a multiple set of plugins, the bug comes in the promise that creates the link rel=import href=url for the WebComponent, instead of blocking until the html file has been loaded completely, it resolves earlier, so when you do the second call to loadGUI for the second instance, as the link has not loaded its file completely, it breaks. I have a promise and an onload inside (see loadGUi code). I need to change the algorithms and be sure that we don't try to create a second instance before the link is not 100% complete. Will find the solution as soon as possible.

How do you prefer to do MIDI connections in the new API? I see 3 possibilities:

same as audio, device1.connect(device2, index1, index2); - we need to remember which index corresponds to MIDI and which corresponds to Audio, and make sure they are of the same type.

index MIDI and Audio inputs/outputs separately, and call different function, e.g.  device1.connectMidi(device2, ...);

you may have some better ideas...

I have a couple of simple MIDI devices in my branch, and ready to implement connections.

I'd prefer solution number 2 I think... then, with your solution, midi events will be sent asynchronously from source to dest ? I only know how the WebMidi API works with the onMidiMessage listeners, etc... The idea of "routing" midi is to make direct connections. So far in our  plugins, each plugins can implement support for a midi keyboard (select from drop down menu), but I'd like to be able to route a sort of "global host defined midi input" too (imagine on the left another input with another color), if you connect a synth to the global midi input, then it will be connected to midi devices defined at the host level. If you connect a synth to another one you do midi chaining, an arpegiattor to a synth, you are also routing a midi emitter to a midi receiver... That's how I imagine this, but I'm not a MIDI guy, you are certainly much more an expert than I :-)
But I prefer not to alter the semantic of the AudioNode interface by altering connect/disconnect.
Michel

Yes, of course, the main problem is: 1) there is no support for AudioWorklets yet in these browsers, so Faust plugins won't work, WAM plugins won't work and 2) (more problematic): there is no support for the way we add WebComponents (using a <link rel="import" href="http://...../main.html"> that is not supported yet by any other browser than Chrome, and that might change as the WebComponent working group did not agree yet on a proper way to do this... ES6 modules is certainly the way that will be chose, but unfortunately there is yet no consensus on the way WebComponent files should be imported. I'll be at the TPAC conference the next week and will talk with people from these W3C working groups and with people from Edge, FF etc. I'm in the W3C WebAudio working group. As soon as there is a standard way to import web components, we'll update the SDK. If there is a workaround we'll take it into account too. There is an official javascript polyfill but unfortunately it does not work when we create the <link rel="import" href="http://...../main.html"> on the fly programmatically. Maybe there is a way to activate the polyfill as soon as we create this html element, or to create instead the code the polyfill generates... I'll ask experts aout this the next week.

I have MIDI connections working. Please have a look at my fork.
I want to implement a couple more MIDI nodes before creating a pull request.

WOW, this looks so... clean and simple :-) And it works pretty well! I gave a very quick look to the code and it seems very clear. I will have more time this afternoon to give you detailed feedback but it looks pretty good. We will have to think about what to put on the SDK and what to leave as is (the midi in/out for example, should be declared in a way through the SDK so that hosts can "ask plugins" about their number of midi I/0s, etc. JJZ might be included at the host level as a global dependency too, for the moment... I really like the fact that you packaged your piano, synth and monitor as WebAudio Plugins...
For me, here are the steps I'm  gonna do:

Look  at your code

Try to use for example your piano with another synth (not one of yours, one we'll modify) in a simple tester

Try to publish your plugins (give them URIs on a real remote server)

Try to load them in the testers (even if they do not pass the tests)

Try to load them in the pedalboard

Update the pedalboard to be able to draw "midi wires" between midi plugins


Automated cherry pick of #10970: [wip]feat(scheduler): optimize the speed of network predicate

Cherry pick of #10970 on release/3.5.
#10970: [wip]feat(scheduler): optimize the speed of network predicate

Codecov Report

Merging #10971 (98bbf12) into release/3.5 (6a15e02) will increase coverage by 1.76%.
The diff coverage is 0.93%.

@@               Coverage Diff               @@
##           release/3.5   #10971      +/-   ##
===============================================
+ Coverage         5.98%    7.74%   +1.76%
===============================================
  Files              796      249     -547
  Lines           125693    34246   -91447
===============================================
- Hits              7522     2654    -4868
+ Misses          117504    31328   -86176
+ Partials           667      264     -403

Flag
Coverage Δ

aFlag
7.74% <0.93%> (+1.76%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/baremetal/cronjobs.go
0.00% <0.00%> (ø)

pkg/baremetal/manager.go
0.50% <0.00%> (-0.01%)
:arrow_down:

pkg/baremetal/utils/ipmitool/ipmitool.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/db_dispatcher.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/jointbase.go
0.00% <ø> (ø)

pkg/cloudcommon/db/metadata.go
4.96% <0.00%> (-0.08%)
:arrow_down:

pkg/cloudcommon/db/opslog.go
1.36% <0.00%> (-0.01%)
:arrow_down:

pkg/cloudcommon/db/rbac.go
0.75% <0.00%> (-0.03%)
:arrow_down:

pkg/cloudcommon/db/sharablebase.go
6.01% <0.00%> (-0.06%)
:arrow_down:

... and 494 more

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 c279b90...98bbf12. Read the comment docs.


Session locking

Thank you for this awesome package. I wanted to use this, but it seems session locking is not implemented, am I correct?

Yes, that's true, but it's also intentional.  In an environment with multiple instances of an application, it is not possible to use simple in-memory locking mechanisms to synchronize access (because the instances are on different machines).  And a more complex multi-machine locking mechanism more or less defeats the purpose of using a solution as simple as memcache.
But this is usually how memcache-backed applications operate in general.  You design the app and the pattern of how it updates memcache with the knowledge that there might be race conditions.  It is true that this can be deal-breaker for some applications (I would not be doing payment-related transactions based solely on memcache, for example), but for many it is not.

Okay, well I do build high traffic sites and sticky sessions on your load balancer ensures that you hit the right machine. I suggest the following (where 'Get' acquires the lock):
session, _ := store.Get(r, "session-name")
defer session.Save(r, w)
session.Values["foo"] = "bar"
session.Values[42] = 43

and for read-only (no locking):
session, _ := store.GetReadOnly(r, "session-name")
user := session.Values["user"]

I think that that would avoid race conditions.

Is that a global lock, one for all sessions?  Or a lock for each session?
Right now there is no concept of keeping one of anything per session in memory - this allows the overall memcache size to be completely independent from the memory in each machine.  So adding a lock for each session would mean adding a big map with a sync.Mutex for every session.
If you mean a global lock, that's not a good idea because it's serializes all session access and in high traffic environments will kill performance.
As a additional note, sticky sessions do not take into account failover (presumably the reason you have load balancing in the first place), so while it's true that this helps, it doesn't guarantee - you can still have race conditions when machines fail (or even just get slow enough for the load balancer to take a machine out of the cluster).

You should implement a lock per session. The lock can be kept in memcache using the 'add' operation to ensure atomicity on an extra key (with '.lock' suffix).
I wrote this for PHP, see:  https://github.com/LeaseWeb/LswMemcacheBundle/blob/master/Session/Storage/LockingSessionHandler.php#L114
I think it should not be too hard to implement.

As for your additional note: sticky sessions may lead to (some) lost sessions on server failure (because the session stickyness is not respected and the other machnine's memcache does not know about the session). This may in practice be acceptable. There are no race conditions, just lost sessions.

I think what is happening here is that you have a specific use that works for you, and while I'm sure it's a valid one, it is not necessarily the only way to do it.  Your note above implies a separate memcache per-machine - but that is not always the case, in fact it is very common to have a shared memcache on a separate server(s).
That said, it does make some sense to perform locking in memcache - I can see that working.  This should not be the default behavior though. Doing so would mean that calling store.Get(r, "session-name") would issue a lock (effectively blocking any other access to this session until whatever timeout happens), and yet that is not obvious when you are calling a "Get" method.  (Also, "Store" is an interface in Gorilla, http://www.gorillatoolkit.org/pkg/sessions#Store) so you can't really just add a GetReadOnly method)
This is not something I'm able to spend time on, but I'd be willing to merge a pull request that has this implemented as an option that could be turned on, not default.

Your note above implies a separate memcache per-machine - but that is not always the case, in fact it is very common to have a shared memcache on a separate server(s). (And in this case the behavior you describe above is not what happens.)

No, in that case the user won't even notice the fail-over as you don't need sticky sessions at all.

Doing so would mean that calling store.Get(r, "session-name") would issue a lock...

But the problem is that you need to know whether or not the intention is to write to the session or not. If you do an AJAX call that requires login you want a non-blocking read-only session, while a normal "page load" may require adjusting the session data and should thus be locking.
The fact that the Gorilla interface does not facilitate that merely explains why this feature is missing from all implementations, but it does not make it right to (strictly) follow that interface.

Definitely agreed that the Gorilla interface does not express this difference between read-only Gets and Gets that are followed by a write.
As an idea, maybe explicit methods like GetAndLock and GetNoLock get added to MemcacheStore and then there is an option to indicate which of these is used by Get.
Existing code would run as-is because Get would by default call GetNoLock.  With the appropriate option, this could be changed so Get calls GetAndLock, and the caller would have to know what they are doing if they set this option.  For more flexibility, the caller could just cast direct to *gsm.MemcacheStore and call whatever methods directly.

I like the proposal in the gorilla session issue:
store.Lock(r, "session-name")
defer session.UnLock(r, "session-name")
session, _ := store.Get(r, "session-name")
session.Values["foo"] = "bar"
session.Values[42] = 43
session.Save(r, w)

and for read-only (no locking):
session, _ := store.Get(r, "session-name")
user := session.Values["user"]

I think that is very simple and allows the user to choose.

I agree, I like it.

Okay, I may need a few days to implement (and test) this. Please have some patience...

Of course :)

I'm closing this for now.


Using official TypeScript definitions

Since there was so much work on the generated TypeScript definitions, I thought that playcanvas-gltf should use them and act as an example
I confirm I have signed the Contributor License Agreement.

Great idea. Thanks!


Sortable relation trait

Port @tobias-kuendig PR to add SortableRelation trait
ref. https://github.com/octobercms/library/pull/526

Is there not some way of identifying the sortable information from the related model's own usage of sortable traits?

@bennothommo what are those failing tests?

@LukeTowers I've changed the code path you didn't like and added an event instead to handle this gracefully for non-pivot based relations.

Replaced by #94 on an internal branch.


Add investment project permissions for LEPs

Restricting collections and detail page API's for investment projects

Codecov Report

Merging #633 into develop will decrease coverage by 0.04%.
The diff coverage is 89.18%.

@@             Coverage Diff             @@
##           develop     #633      +/-   ##
===========================================
- Coverage    96.43%   96.39%   -0.05%
===========================================
  Files          129      132       +3
  Lines         3873     3938      +65
  Branches       332      338       +6
===========================================
+ Hits          3735     3796      +61
- Misses          97      100       +3
- Partials        41       42       +1

Impacted Files
Coverage Δ

datahub/investment/filters.py
100% <100%> (ø)

datahub/investment/permissions.py
85.71% <85.71%> (ø)

datahub/core/permissions.py
84.61% <87.5%> (+4.61%)
:arrow_up:

datahub/company/models/adviser.py
85.48% <0%> (ø)
:arrow_up:

datahub/company/management/commands/manageusers.py
100% <0%> (ø)

datahub/search/investment/views.py
94.82% <0%> (+0.13%)
:arrow_up:

datahub/company/admin.py
88.88% <0%> (+2.68%)
: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 0bdbad8...c92355f. Read the comment docs.

@marcofucci @elcct There's still a bit more to do, but I think there's a lot in this PR already.
These are still to be done:

Tidy up how the permission tests create test users (it's a bit hacky)
Add permissions for the team members endpoints
Apply associated permissions to the search view (i.e. finish off https://github.com/uktrade/data-hub-leeloo/pull/652)

Will tackle those in separate PRs (so you can start looking at this one).

@marcofucci I replaced CustomPermissionAdminMixin with a decorator. Avoids the messy inheritance.

yeah, I noticed 👍


SHIELD Agent SSH Key Failure when co-located with daemon

If the Agent and the Daemon are co-located on the same host, the agent will create a blank "authorized_keys" file if it starts before the daemon.  The agent should not be allowed to create a blank file and should fail, so that it can try to start again once Monit successfully starts the daemon.

Migrated to https://github.com/starkandwayne/shield-boshrelease/issues/68


Add RelativeTime?

It seems useful to have a RelativeTime, i.e. offset w.r.t. some defined DateTime, such as a scan start. This would be quite useful in de-identifying some data. In some cases, the time of scan needs to be removed from the data, but it'd be painful to have to adjust all times in the file.

Are you thinking a RelativeTime is linked (via pointer) to a specific DateTime? Or standalone like Python's timedelta?

I think standalone would be best. You could have a lot of RelativeTime entries (e.g. a vector). If they all need to link to a DateTime, that'd be a ton of overhead. Which DateTime it is relative to would then be part of the semantics of the model described by the yardl file.


litd crashes upon LND accounts payment timeout

I created an LND account with some funds in it
I pay an invoice, but the payment attempt times out
litd crashes when my wallet tries to look up the timed-out payments

2023-02-24 01:04:53.293 [WRN] CRTR: payment attempt not completed before timeout
2023-02-24 01:04:53.305 [DBG] CRTR: Payment baa0ccccf40ad95c59de4b09789bd3775be186b25aad7195348ed5cc65157b61 in state terminate=true, active_shards=0, rem_value=231179000 mSAT, fee_limit=100000 mSAT
2023-02-24 01:04:53.305 [ERR] CRTR: Payment baa0ccccf40ad95c59de4b09789bd3775be186b25aad7195348ed5cc65157b61 failed: timeout
2023-02-24 01:04:53.320 [ERR] LITD: Received critical error from subsystem, shutting down: payment baa0ccccf40ad95c59de4b09789bd3775be186b25aad7195348ed5cc65157b61 not mapped to any account

Actual behavior

To reproduce

litd 0.8.6 in integrated mode, compiled from source

I am having the same thing happen with HOLD invoices, getting the error:
[ERR] LITD: Received critical error from subsystem, shutting down: payment xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx not mapped to any account
In this case, the "LND Account" is sending a HOLD invoice payment, rather than receive it (can't receive HOLD invoices with LND Accounts because of https://github.com/lightninglabs/lightning-terminal/issues/538). The error is intermittent, but it comes up I believe after the HOLD invoice is cancelled. I am using Zeus to send the payments, so I think there may be some timing issue of Zeus making a call to request the status of the payment while the payment is being cancelled by the receiver.
I am wondering if this is related to https://github.com/lightninglabs/lightning-terminal/issues/632  because in my case the accounts also stop working and the litd process stays running.
I am using the following version, compiled from source:
[INF] LITD: LiT version: 0.10.5-alpha commit=v0.10.5-alpha

I think I've seen the above HODL invoices error before, but it should be fixed. I'm on "version":  "0.12.1-alpha commit=v0.12.1-alpha" and have successfully paid HODL invoices through my LND Accounts.


some basic questions

1-Hi, is it "odom" TF static against "base_link_somooth/rectified" TFs, like could be "map" TF compared with "camera_link" in realsenses?.
2-Can both TFs "base_link_somooth/rectified" be published simultaneosly working?
I mean will activate the rectified disconnect the smooth?
3-the odometry topic /visual_odometry/tf_stamped refer always to base_link_smooth TF?
4- recitified always appear in my my TF tree in Rviz2 even set in false, is this correct?
5- rectified include or means with loop closure?
thanks  by share it is a great peace of software, smart people

Thanks by your fast answer  and amazing job.
Las question:
Am I right thinking that in case of both base_link are active the odometry topic refer to the rectified one? .
Just show you how good your package works. In only VIO and applied to SLAM in RVIZ2 onboard as I didn't use the standard  installation as I didn't use docker. Low and very low light condition. Via VNC the slam video
https://youtu.be/V2Gz6kAzCzY
https://youtu.be/FWPwGUXdsIs

Am I right thinking that in case of both base_link are active the odometry topic refers to the rectified one?

visual_odometry/tf_stamped topic will always report both the rectified_transform and smooth_transform. In case of  enable_rectified_pose = false,  rectified_transform will be equal to smooth_transform. And, in case of  enable_rectified_pose = true, rectified_transform will report pose from loop closure and smooth_transform will report pose from pure visual odometry.


CI: Not testing based on target

Hi,
I've got a question/bug report. I've noticed that the CI setup uses ${{ matrix.target }} meta-variable but the matrix section uses other key (not target).
I think they should match so either use ${{ matrix.other }} or rename or other keys to target but since I'm not a GitHub actions expert I'll leave a bug-report instead of PR :)

Fixed with latest updates.


PLNSRVCE-697: Upgrade kcp to v0.8.0

In this PR, replaced the use of release versions of kcp to tags.
Added a timeout for a loop in ckcp script.
Removed KCP_BRANCH arg in access-setup Github Actions because that var is not used anywhere in access setup image.
In a subsequent PR, will work on automating the upgrade process and using digests.

Apart from Romain's comment of renaming KCP_BRANCH to KCP_TAG, LGTM

/lgtm


Make used hashing algorithm configurable per SP

This issue is imported from pivotal - Originaly created at Dec 23, 2015 by Thijs Kinkhorst
As a federation operator, I want to phase out the deprecated SHA1 hashing algorithm. EB currently uses SHA1 to sign its SAML assertions. We cannot do a big-bang change so we want the hashing algorithm to use to be configurable per SP in the serviceregistry.

The Service Registry implementation is configuration only. Metadata should be updated to allow the reading of the newly introduced field.
Switch should be created that allows for using different algorithms for signing.  (Daan van Renterghem - Jan 6, 2016)

@DRvR Is it opportune to approach this while the refactoring of metadata (#111132276) is still open or isn\'t it something that inhibits this issue? (Alex Rothuis - Apr 11, 2017)

@alexrothuis nope. This is way too much work for that as it also requires changes in libraries that decrypt and verify the signatures, which is done in SAML2/SSP/XmlSecLibs. The possible additional field is something that I could implement, but not necessarily a must to do within the scope of the metadata (as it than becomes blocking which is unnecessary). (Daan van Renterghem - Apr 12, 2017)

(Nic Wortel - Apr 24, 2017)

A specific error is now shown to the user if an unsupported (forbidden by application config) signature method is used.
Everything is merged to master and ready for test. Note: this change requires a database migration (column added to sso_provider_roles_eb5). (Joris Steyn - Jan 22, 2018)


Typo (?) in definition of Response 201 for "Post Thing with existing Location"

Hi all,
I recently generated Java code for your GOST API via https://apimatic.docs.apiary.io/#. In line 417 of apiary.apib there seems to be a superfluous element (",366") in the definition of Response 201 for "Post Thing with existing Location":
<EMAIL_ADDRESS>"http://localhost/v1.0/Locations(1)",366
This messes up the code creation for this response.
Best regards
Jannis

look like a type error yes, can you try again now?

Thanks! I already fixed that yesterday in my local version and the code generation worked fine (at least for the classes that I use).

Great!


App crashes on adding a large number of media files

When I went to add files to a playlist, it crashes after I press OK. Upon relaunching, the files were not added. The total number of files across playlists and tracks is above 60.
It would be greatly appreciated if the app could handle more music files.
If it helps: I once tried to add around 300 files into a playlist. That was the first time it crashed.

Sorry, I admit I kind of rushed the update out because I wanted to make the volume boost feature available, and I totally forgot to test things like adding a large number of files at once. I'll try to see if I can reproduce this and get it fixed quickly.
In the meantime, you might try long pressing the app icon to get to the system settings for the app, and clearing the app data on that screen. You'll have to re-add all of your files if you do this of course, but it should at least temporarily fix this crash whenever to try to add new files at all.
As for the long playlist, I'm not sure if this will work before I know what is causing the crash, but I would try:

Add just the first five files you want in the playlist
Tap the playlist's more options icon, then open up the 'playlist options' dialog
Tap the add button in the 'playlist options' dialog
Add five or so more tracks at a time to the playlist. The new track list isn't saved until you confirm the 'playlist options' dialog, so you'll have to confirm the dialog each time you add the new tracks, not just once after adding all of them five or however many at a time.

It might be that it isn't the number of files you're adding to the playlist that's causing the crash, but some specific file? I restricted the system file chooser to files with an audio mime type. I think these should all be playable through Android's built in MediaPlayer, but it could be that some file type that shows up in the system chooser isn't actually playable.


az ssh vm problem with Portal ssh configuration reset

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Related command

az ssh vm -n myVM -g dev
Extension name (the extension in question)
ssh
Description of issue (in as much detail as possible)

A coleague was having problem accessing a Linux VM with az cli plugin, although I could access the VM by both azure cli and my host ssh (using manually added ssh pub key on VM on "ubuntu" user) I followed this troubleshooting and I reset the VM SSH configuration in Azure Portal (Virtual Machines -> select the VM in question -> Reset password -> "Reset configuration only" -> Update). After that no one was capable to access the VM with az ssh vm anymore.
I then run the ssh extension with the debug option and could check that everything was working fine at the AD authentication with Azure and the temporary certificate generation. The problem was when trying to ssh the VM with the temporary ssh certificate created.
I then checked the /var/log/auth.log on remote and it was printing the following:
Aug 24 18:29:02 influx-test sshd[2756]: rexec line 18: Deprecated option UsePrivilegeSeparation
Aug 24 18:29:02 influx-test sshd[2756]: rexec line 21: Deprecated option KeyRegenerationInterval
Aug 24 18:29:02 influx-test sshd[2756]: rexec line 22: Deprecated option ServerKeyBits
Aug 24 18:29:02 influx-test sshd[2756]: rexec line 33: Deprecated option RSAAuthentication
Aug 24 18:29:02 influx-test sshd[2756]: rexec line 41: Deprecated option RhostsRSAAuthentication
Aug 24 18:29:03 influx-test sshd[2756]: reprocess config line 33: Deprecated option RSAAuthentication
Aug 24 18:29:03 influx-test sshd[2756]: reprocess config line 41: Deprecated option RhostsRSAAuthentication
Aug 24 18:29:04 influx-test sshd[2756]: Connection closed by authenticating user<EMAIL_ADDRESS><IP_ADDRESS> port 51525 [preauth]
Aug 24 18:29:06 influx-test sshd[2760]: rexec line 18: Deprecated option UsePrivilegeSeparation
Aug 24 18:29:06 influx-test sshd[2760]: rexec line 21: Deprecated option KeyRegenerationInterval
Aug 24 18:29:06 influx-test sshd[2760]: rexec line 22: Deprecated option ServerKeyBits
Aug 24 18:29:06 influx-test sshd[2760]: rexec line 33: Deprecated option RSAAuthentication
Aug 24 18:29:06 influx-test sshd[2760]: rexec line 41: Deprecated option RhostsRSAAuthentication
Aug 24 18:29:06 influx-test sshd[2760]: error: kex_exchange_identification: Connection closed by remote host

I figured that the SSH configuration reset broke something and was probably not accepting the type of temporary key generated by az ssh. I found a backup file for /etc/ssh/sshd_config on the same /etc/ssh/ folder and restore it. Reload the sshd service and az ssh vm login was working again. I later found that my colleague was having internet problems.
My questions are:

Shouldn't az ssh extension report that the remote ssh server is rejecting the connection with certificates, even more if we are using the az ssh vm with "AAD issued certificates" option?
How could I report this bug of the "Reset SSH Configuration" in Azure Portal?

The correct_config.txt
and bugged_config.txt sshd_config files.

route to CXP team

Adding Service team to look into this.


Issue 248 test spm

Description
Added a set of general tests on the outputs of SPM, SPMe, LOQS, Newman-tiedeman. I have omitted tests on the fluxes for now as this requires #333. DFN cannot be tested due to an issue exporting the OCV as a processed variable (@tinosulzer I tried merging your latest changes but this didn't resolve the issue). Once these two issues are resolved it should be a simple extension to add the relevant tests.
I have also commented out many tests involving averages for now instead of adding all of these quantities to the standard output list. Instead, I think it would be better as suggested in #334 to have the ability to average a processed variable. This condenses the output variables list by quite a lot.
Lead-acid composite does not pass the voltage consistency test so maybe I have missed something @tinosulzer? I have just skipped testing composite for now.
EDIT:
I should additionally say that I have fixed algebraic expressions that were wrong in the process of doing this testing. The main one was that I had previously used boundary ocps and overpotentials to determine the constant in the electrolyte potential and positive electrode potential. We actually need to use the averaged versions which required a bit of shifting around of the order things are defined in the models.
Fixes #248
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
[x] Any dependent changes have been merged and published in downstream modules

Looks good, go ahead and merge when this is ready


Support for Postgresql Array query ?

Postgresql support data type of array:https://www.postgresql.org/docs/9.1/arrays.html

native query like  select * from user where 1 = any (1,2,3)

is it possable mybatis-dynamic-sql(without XML) support this?

This library supports Arrays like any other data type. The real challenge with Arrays is in the underlying execution engine.
I'm assuming you want to use MyBatis for executing SQL. If you're using Spring JDBC template than the concepts are similar.
I've committed a complete example for working with Arrays in MyBatis here: https://github.com/mybatis/mybatis-dynamic-sql/tree/master/src/test/java/examples/array
The key is to get the type handler working correctly. MyBatis has a built-in type handler for Arrays, but it is somewhat limited in function - it will only handle arrays that are declared as Object.  My example shows how to build a type handler that will return String arrays.
Another limitation of the MyBatis Array type handler is that it only handles single dimensional arrays. PostgreSQL supports multi-dimensional arrays. If you want to use multi-dimensional arrays, then you will need to write your own type handler.

No response.

maybe like this:
public class ImmutablePairIsAnyForString extends AbstractSingleValueCondition<String[]> {
private ImmutablePairIsAnyForString(String[] value) {
    super(value);
}

@Override
public ImmutablePairIsAnyForString filter(Predicate<? super String[]> predicate) {
    return  filterSupport(predicate, ImmutablePairIsAnyForString::empty, (ImmutablePairIsAnyForString) this);
}

@Override
public String renderCondition(String columnName, String placeholder) {
    StringBuilder sb = new StringBuilder();
    sb.append("'").append(value[0]).append("'").append(" = ").append(" any(coalesce(").append(columnName).append(", array[]::VARCHAR[]))");
    return sb.toString();
}

public static ImmutablePairIsAnyForString of(String[] value) {
    return new ImmutablePairIsAnyForString(value);
}

private static ImmutablePairIsAnyForString empty() {
    return EMPTY;
}

private static final ImmutablePairIsAnyForString EMPTY = new ImmutablePairIsAnyForString((String[]) null) {
    @Override
    public boolean shouldRender() {
        return false;
    }
};

}
Integer[] typeArr = {OrganizationTypeEnum.HOSPITAL.getType()};
ImmutablePairIsAny typeAny = ImmutablePairIsAny.of(typeArr).filter(ArrayUtils::isNotEmpty);
SqlBuilder.or(HealthArticleDynamicSqlSupport.matchesChannelTypes, typeAny)


Use of angle brackets around file names for include statements

Would you like to replace any double quotes by angle brackets around file names for include statements?

We explicitly chose to use double quotes for internal includes, i.e., includes of one PEGTL header file from within another PEGTL header. That way we are independent of additional include paths and their order, thus more robust in some use cases.
I am not aware of any problem or drawback caused by this. Do you have any problem with it?

I suggest to reconsider the consequences of the following wording from the section "16.2 Source file inclusion" in the standard specification for the programming language "C++".
…
The named source file is searched for in an implementation-defined manner. If this search is not supported, or if the search fails, the directive is reprocessed as if it read

#include <h-char-sequence> new-line
…

How do you think about to avoid "a duplicated file search" here?
Would you like to restrict the searched directories for header files of your software?

You are quoting 16.2/p3, but that kind of wording is also found in 16.2/p2 which therefore also applies to #include directives using angle brackets:

16.2 [cpp.include]
2A preprocessing directive of the form
# include < h-char-sequence > new-line
searches a sequence of implementation-defined places for a header identified uniquely by the specified sequence between the < and > delimiters, and causes the replacement of that directive by the entire contents of the header. How the places are specified or the header identified is implementation-defined.

(taken from N4140, emphasis mine)
That said, it is defined quite well by all implementations I know of (and which are relevant to the PEGTL's minimum requirements). The "duplicate search" can not happen as the file referenced is our own and thus the first candidate.
The last link you mentioned (from GCC) explicitly says:

#include "file"
This variant is used for header files of your own program. [...]

And that is exactly what we are doing.

There are different opinions about the handling of the involved implementation-defined behaviour.

Will header files be also searched outside the specified include directories if double quotes are used for the discussed preprocessor statement?
Is there a speed difference measurable if a file is not found there and the search will be retried with "the angle brackets inclusion method"?

Those points do not apply as the header we are referencing (in a relative way) is always found. Also, you would break the use-case where a user copies pegtl.hh and pegtl directory to his own project and doesn't even add the include path for pegtl. The user will only use
#include <my_project/my_parser_component/pegtl.hh>

And the PEGTL header would not even be able to use #include <pegtl/input.hh> as the user will not add -Imy_project/my_parser_component to the compiler flags.
This is a important and from our side supported use-case which can only be achieved with double quotes. Your suggestion would break that use-case. It would not be any faster (as the files we are including with double quotes are always found) and there is no actual problem. I'm thus closing this issue.

… as the user will not add -Imy_project/my_parser_component to the compiler flags.

I suggest to think again about consequences from such an expectation.
I would generally prefer to exclude the potential for the inclusion of header files from unexpected directories. Can such a security detail become a bit more important occasionally?

Using double quotes is explicitly meant to exclude the "potential for the inclusion of header files from unexpected directories", thus preventing security issues. And we do not require the user to not include the path, it is just an option the user can chose if he/she wants to.

Would you like to support the use case that your header files should occasionally only be found from the installed system directories?

Yes, and it is currently supported by copying the PEGTL to a system include directory. We very purposefully and intentionally use double-quote includes inside the PEGTL.

Your library can also be installed as it usual with other software.

Can any conflicts and version mismatches happen if the inclusion style will trigger the reuse of header files from other storage locations?
When do you want to choose between inclusion from "blessed" directories instead of a random and "convenient" folder?

No, there is no potential for conflicts, and no, we never include from a "random or convenient" folder unless it is the folder in which the PEGTL itself resides and was chosen by the user, in which case it is by definition no longer "random". With quotes the search for include files starts relative to the file containing the include, so there are no problems.


CXXODM-35 Perform save() in model with updateOne and $set instead of replaceOne

LGTM!

lgtm

Merged as https://github.com/mongodb/mongo-cxx-odm/commit/8f6ac231cff96a04f21ba154f0bb7b4c6a551ba4


Choose color of each bar in hv.Bars object

I have a Bar chart and I would like to choose the color of each bar in my chart.
To give an example, let say I have this data and I plotted a bar chart from it:
data = [('a', 1), ('b', 3)]
bars = hv.Bars(data, 'option', 'value')
And I have two colors:
colors = ['#f44f39', '#f9f9f9']
Now, I want to assign the color '#f44f39' to the column 'a' and '#f9f9f9' to the column 'b'.
I tried to modify the style of the plot using the opts this way:
bars = hv.Bars(data, 'option', 'value').opts(style={'color':hv.Cycle(['#f44f39', '#f9f9f9'])})
but the bars have now the color #f44f39.
Any idea how to do this ?
Thanks

This can be achieved using the color_index and cmap options:
hv.Bars([('A', 1), ('B', 2)], 'option', 'value').options(cmap=['#f44f39', '#f9f9f9'], color_index='option')

Great, thanks a lot !


CSS not loaded

The CSS is not loaded when using bloomer with next.js. Take a look at this example:
componentes/hero.js
import { ... , Hero, ... } from 'bloomer'
export default () => (
  <Hero isSize='medium'>
  ...
)

layouts/body.js
import Head from '../components/head'
import Header from '../components/header'
import Footer from '../components/footer'

export default ({ children }) =>
  <div>
    <Head/>
    <Header/>
    { children }
    <Footer/>
  </div>

pages/index.js
import Body from '../layouts/body'
import Hero from '../components/hero'
export default () =>
  <Body>
    <Hero/>
  </Body>

There are no errors in the dev console. The css from

Are you importing bulma? Right now you need to import bulma in your project
since bloomer currently is just a wrapper. So doesn't import bulma by
itself.
In future releases is going to be a styled-componentes library with his own
styles.
El 8 oct. 2017 04:44, "Kasper Marstal"<EMAIL_ADDRESS>escribió:
The CSS is not loaded when using bloomer with next.js. Take a look at this
example:
componentes/hero.js
import { ... , Hero, ... } from 'bloomer'
export default () => (

...
)
layouts/body.js
import Head from '../components/head'
import Header from '../components/header'
import Footer from '../components/footer'
export default ({ children }) =>

    { children }

pages/index.js
import Body from '../layouts/body'
import Hero from '../components/hero'
export default () =>

There are no errors in the dev console. The css from

Appreciate the quick response. How do I load Bulma with import? Could not find it in your otherwise excellent documentation. A naive approach like import 'bulma' or import 'bulma/css/bulma does not work.

Well... That's weird.
If you're using SASS, you can import modules like:
@import "bulma/sass/utilities/_all"
@import "bulma/sass/grid/columns"

If not, `import 'bulma/css/bulma' should work. Do you have an example nextjs repo where I can test this? I've never tried next but I can try now igual you help me with that :)

Sure! Here it is: https://github.com/kaspermarstal/x-rai-website. Run npm install and npm run dev. The website is styled because of the link rel. You can remove this line and uncomment the import to see the error.

Hey, this seems to be a configuration error.
You may need an appropriate loader to handle this file type
So, you need something for Next like css-modules.
Please check this thread.
Once that you have the correct loader, you're going to be able to import bulma css.
I'm going to close this issue since this is only a configuration problem with Next.js.
Please tell us if you found your solution :)

Thanks will try that and let you know!

For those having a similar issue with the CSS not rendering when using create-react-app, this is the import that fixed it for me:
import 'bulma/css/bulma.css';
Referenced here: https://github.com/jgthms/bulma/issues/388#issue-190008467

@kaspermarstal Could you get this to work?


[BUG] Developer documentation not building properly

Our developer docs for this project should rebuild on each push to master, and be visible at https://docs.greenweb.org.
The build has started to break, and here's the error trace.
More information at the link to the specific build
Running Sphinx v4.5.0
loading translations [en]... done

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/sphinx/cmd/build.py", line 272, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/sphinx/application.py", line 223, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/sphinx/application.py", line 380, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/sphinx/registry.py", line 438, in load_extension
    metadata = setup(app)
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/myst_parser/__init__.py", line 12, in setup
    from myst_parser.sphinx_parser import MystParser
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/myst_parser/sphinx_parser.py", line 15, in <module>
    from myst_parser.main import create_md_parser
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/myst_parser/main.py", line 6, in <module>
    import attr
ModuleNotFoundError: No module named 'attr'

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/greenweb/envs/latest/lib/python3.8/site-packages/myst_parser/main.py", line 6, in <module>
    import attr
ModuleNotFoundError: No module named 'attr'
The full traceback has been saved in /tmp/sphinx-err-7ywyuqr3.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

This is resolved now. We updated the dependencies and it's now working as intended.


AUR entry?

Probably could relate to #4

Please have a look at c703e4e
Let me know if there are any issues

Currently I'm getting;
...
  -> Creating working copy of mirro-rs git repo...
Cloning into 'mirro-rs'...
done.
==> Starting prepare()...
error: failed to parse manifest at `/home/milk/.cache/yay/mirro-rs-git/src/mirro-rs/Cargo.toml`

Caused by:
  feature `strip` is required

  The package requires the Cargo feature called `strip`, but that feature is not stabilized in this version of Cargo (1.57.0-nightly (33ee5f82e 2021-09-17)).
  Consider adding `cargo-features = ["strip"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#profile-strip-option for more information about the status of this feature.
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mirro-rs-git

Hey, are you able to update your toolchain?

I'm using Arch, which has a policy of packaging the very latest releases. I've done a full system update but I'm getting the same result.

Sounds like your rustup package is up to date, not the toolchains that rustup installed - pacman doesn't manage those. Could you please try running rustup update if you hadn't?


Parse User class not updating for one user

Issue Description
[Parse User Class is not updating for just one user. All other users are able to update their records except one specific user.]
Describe your issue in as much detail as possible.
[If this question should be posted elsewhere, I would sincerely appreciate it if you could please explain why this issue is not appropriate for Parse-Server github.
Client-side coding is done in Xcode 8, Swift 3.
The database shows the user is logged in properly and shows that the database successfully records the user making updates to other Parse Classes. However, this user is unable to update his own record in Parse User Class. The issue is that all other users are able to update their records in Parse User Class except this one user. Again, the user in question is logged in and the database shows that this user can create records in other Parse Classes. However, this user is unable to update his own record in Parse User Class.]
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

[PFUser.current()?["TorF"] = true
PFUser.current()?.saveInBackground(block: { (success, error) in
  if error != nil {

  } else {

  }

})]

Expected Results
[The code above is in a button action function. Simply, when the user click the button, "TorF" should change to true for the user in Parse User class.]
Actual Outcome
[All users except the user in question is able to change the "TorF" value from false to true. Only the one user is unable to update the value from false to true, and Parse User class doesn't change "updatedAt" after the user has clicked the button.]
Environment Setup

Server

parse-server version (Be specific! Don't say 'latest'.) : [2.2.22]
Operating System:     [cedar-14 Ubuntu 14.04]
Hardware:             [Heroku Dyno]
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): [Heroku]

Database

MongoDB version: [3.2.9]
Storage engine:  [FILL THIS OUT]
Hardware:        [FILL THIS OUT]
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [mLab]

Logs/Trace
You can turn on additional logging by configuring VERBOSE=1 in your environment.
[No errors recorded on Heroku logs]

Closing as duplicate of #2812


Actual progress bar

De here
It's fine if it jumps back and forth because the total count is also changing

Avoid feature bloat by just having either both numbers and bar or none at all

Duplicate of #63


Alizer executable called go.exe !!!!

Maybe because the Go module ends with go ?

Just tried on my machine and it works fine apparently. How do you build the executable?
If you run go build -o alizer.exe does it get changed to go.exe?

I tried go build ./... (as Makefile) but does not seem to work on Windows so I tried go build

Ah ok. Yes if i execute go build on linux it's the same, but not sure what i can do here. Do i fix the makefile to execute the build command with an output name? Because there is nothing i can do in the code.

If there is a command in the Makefile that works on all platforms, that should be good then


Exception when calling LanguageData.get with "en-gb-oed"

>>> import langcodes
>>> langcodes.get('en-GB-oed')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
----> 1 langcodes.get('en-GB-oed')

/opt/venv/local/lib/python2.7/site-packages/langcodes/__init__.pyc in get(tag, normalize)
    173                 data[typ] = value
    174
--> 175         return LanguageData(**data)
    176
    177     def to_tag(self):

TypeError: __init__() got an unexpected keyword argument 'grandfathered'

Interesting edge case. I've found two things to fix here:

If you end up with a tag that's parsed as 'grandfathered', clearly it shouldn't just crash with an unexpected keyword argument. This can happen if the database is missing a replacement for a grandfathered tag, or if you ask it not to normalize the tag. It should just use the 'grandfathered' value as the 'language' value.

This showed up, in particular, because even though en-GB-oed was listed as a grandfathered tag, the IANA didn't mention its replacement en-GB-oxendict in their registry until 2015, and I downloaded the registry file before that. So I'll also update the registry file.

This is now fixed in langcodes 1.2 and langcodes-py2 1.2. Thanks for the report.


add a provision to get LastEvaluatedKey from last executed query,

so we can paginate manually. We are building an api where we would like to send the limit and page_no in and would like to return a chunk of data.
eg:
GET /posts/user1?limit=5
items : [...],
"pagination": {
   "type": "standard",
  "nextPageKey": "abc",
  "limit": 5,
  "total_records": 7
 } }

GET /posts/user1?nextPageKey=abc&limit=5
items : [...],
"pagination": {
   "type": "standard",
  "nextPageKey": "",
  "limit": 5,
  "total_records": 2
 } }

In order to make 2 queries() that can continue data set, we need a way to get the last querie's LastEvaluatedKey value.

Coverage increased (+0.01%) to 97.924% when pulling 7db0328b1c891eacb48d783968a209f7249304f2 on aonamrata:get_LastEvaluatedKey into 24e14caef9f0588ea7fcb89e4742fa3253a1b667 on jlafon:devel.

This is likely to be error-prone when used in gevent environments, where cls._last_query_evaluated_key will be incorrect given any context switching happening between the set and when you read it from the class.

hmm, I see what you mean @garrettheel. It will have to be called exactly after query() to get the right key.
Maybe send a param in query say, getNextKey as boolean and return the key in yield item itself.. that way concurrency might not be a problem. We will just have to get it from model obj 🤔

maybe a better approach is to pass in last_evaluated_key as an object and then update the object within the scan, query, rate_limited_scan?


Share Screen Through Internet

Hi, Can I share the android screen through internet(3G/4G) to other computer browser?

Hi  @knkrth  . Yes, but need to be modified.
The current architecture is
|---------------------------------|
|
|   Screen -> WebSocket Server    |       <--->   Wlan   <--->    computer browser
|
|---------------------------------|
               Android App

If we want to share the screen through internet(3G/4G), the architecture should be
|---------------|
|
|     Screen    -> |     --->   【WebSocket Server on public network(ip)】 <--->  computer browser
|
|---------------|
   Android App

Thank you.

Hi @knkrth , Did you modify the architecture?

@pingothedoer Hi, No. I don't modify the architecture.


feat(datahub-client): add java kafka emitter

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Is it intended not to have emit(List<UpsertAspectRequest> request, Callback callback) method for KafkaEmitter similar to the RestEmitter? Having that will make it compatible with existing codebase and need not to migrate to emit(MetadataChangeProposalWrapper mcpw, Callback callback) - Any thoughts?

Is it intended not to have emit(List<UpsertAspectRequest> request, Callback callback) method for KafkaEmitter similar to the RestEmitter? Having that will make it compatible with existing codebase and need not to migrate to emit(MetadataChangeProposalWrapper mcpw, Callback callback) - Any thoughts?

The UpsertAspectRequest object uses the OpenAPI conpatible models rather than the Avro compatible models so I don't think it makes sense to support it. Would require converting back from the OpenAPI models to Avro.


watchwindow  collapse all the children at once

I am using vdebug and vim to debug php scripts.
After starting the debugger i can see the array values with first childs in a uncollapsed manner in the debuggerwatch widow.
▾ $wp_filter = (array [365])
  \
   ▸ $wp_filter['pre_term_name'] = (array [2])
   |
   ▸ $wp_filter['pre_comment_author_name'] = (array [2])
   |
   ▸ $wp_filter['pre_link_name'] = (array [2])
   |
   ▸ $wp_filter['pre_link_target'] = (array [2])
   |
   ▸ $wp_filter['pre_link_rel'] = (array [2])

I have a vary big (365 elements) array with 3 childrens inside each first child of array
In the vims debugger watch window, it shows an arrow in the array only till the first child. If you click it collapses futher to show the children.
▾ $wp_filter = (array [365])
  \
   ▾ $wp_filter['pre_term_name'] = (array [2])
    \
     ▾ $wp_filter['pre_term_name'][10] = (array [2])
      \
       ▾ $wp_filter['pre_term_name'][10]['sanitize_text_field'] = (array [2])
        \
         ⬦ $wp_filter['pre_term_name'][10]['sanitize_text_field']['function'] = (string [19]) `sanitize_text_field`
         |
         ⬦ $wp_filter['pre_term_name'][10]['sanitize_text_field']['accepted_args'] = (int) 1
        /
       ▸ $wp_filter['pre_term_name'][10]['wp_filter_kses'] = (array [2])
      /
     ▸ $wp_filter['pre_term_name'][30] = (array [1])
    /
   ▸ $wp_filter['pre_comment_author_name'] = (array [2])
   |
   ▸ $wp_filter['pre_link_name'] = (array [2])
   |
   ▸ $wp_filter['pre_link_target'] = (array [2])
   |
   ▸ $wp_filter['pre_link_rel'] = (array [2])

So is there a way i can collapse till the last level of the array for all the array elements at once, instead of presseing the arrow manually. I tried the unfolding command zo. It says no folds found.

Closing due to inactivity - please re-open if still an issue.


a Typo?

hardwareid root\sysvad_TabletAudioSample
should be root\sysvad_TabletAudioSample

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9226c2e0-2c63-788b-5164-4856f66cc12b
Version Independent ID: ba393947-45d1-935d-aba2-b776e163915b
Content: Debug Drivers - Step-by-Step Lab (Sysvad Kernel Mode) - Windows drivers
Content Source: windows-driver-docs-pr/debugger/debug-universal-drivers--kernel-mode-.md
Product: windows-hardware
GitHub Login: @DOMARS
Microsoft Alias: domars

@airwolf2026 - Thanks for calling out an issue here. It looks like as we were converting the text extra slashes were added in, that are no longer needed. The updated topic should be live in a day or so.

@airwolf2026 - The fix for the extra slashes is live, so closing this issue.


Removed checked in podfile.lock and fixed some typos

@mgorbach pull requested this here since the podfile.lock only exists on master right now

@adamhrz Thanks for the typo fixes. Why check in the Podfile.lock though? I specifically kept it out, because if you check it in, the sample project will need to be changed every release, which I don't want.

Oversight but you had checked it in one of your builds on master I noticed
—
Sent from Mailbox
On Mon, Mar 23, 2015 at 5:10 PM, Michael Gorbach<EMAIL_ADDRESS>wrote:

@adamhrz Thanks for the typo fixes. Why check in the Podfile.lock though? I specifically kept it out, because if you check it in, the sample project will need to be changed every release, which I don't want.
Reply to this email directly or view it on GitHub:
https://github.com/Raizlabs/RZDebugMenu/pull/50#issuecomment-85198975


[TASK][EASY][DOC] Introduce Kyuubi Web UI Engine Page

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What type of changes will we make to the documentation?
Usage of New Feature
Affects Version(s)
master/1.8.0
Improving the documentation
https://github.com/apache/kyuubi/pull/5762
Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

This task is completed by @zhaohehuhu via https://github.com/apache/kyuubi/pull/5762


Fix the weather icon

Fix the weather icon

Add new images for the weather.
Fix the styling.
Add readme file.

Issue resolved :heavy_check_mark:


:sparkles: Use space framework in placement-translator

Summary
Related issue(s)
Fixes #

/lgtm
/approve


RFE: Display Backup file name on Status of the backup CR

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy backup-restore chart on master-head
Create a resourcet set
Create a backup CR.
The backup CR does not have Backup file name

Expected Result:
Backup CR can have the name of the backup file created in S3.
Recurring backups should also have the file name in the CR>
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head commit id: 5e1b21b931
Installation option (single install/HA): HA

Available with the latest tag, you can get the latest commit from this branch https://github.com/mrajashree/charts/tree/backup-restore-sep-charts

Verified on master-head - commit id: 731b33e1 and backuprestore - tag rc9
filename: test-b2-0cf6e9d6-1d57-4959-a471-1b5a46e8abe5-2020-09-03T17#42#18Z.tar.gz is available in the Backup CR.


Add capability to use terraform workspaces

Some of the test approaches we need to take have a dependency on the use of Terraform workspaces. Before working on a PR to add this feature I'd like to get some feedback on if this is a feature that fits with this project.
My first thought on an approach is to add a new optional parameter to the setup function that allows a Terraform workspace name to be provided and if it is creation/selection of the workspace would be carried out after the init.

Hey Graham, use case seems completely valid, and as you wrote the path of least resistance is to try and make it work by adding an option. Do you have time to send a PR? I'm a bit busy but might also get to it eventually.

I'll try to pull something together in the next week or so.


First-cut pdr-analytics plots

Where: do this in pdr-backend as we flesh out analytics, to avoid spending too much time on dependency mgmt among lake, pdr-backend, and analytics repos. Then at some point, carve it out to its own repo.
TODOs
First outcome: simple first-cut plots being rendered in the browser. [Roberto, Norbert, Mustafa, Calina]
Key reference: pdr-analytics prototypes (Gslides)
Pre-requisites

[ignore] First-cut pdr-lake repo. pdr-lake#1

Context
Nov 21 Slack msg with architecture

Obsolete


Disablers cannot fit in armor suit storage slot.

Description
Disablers cannot be stored in the standard security armor vest's suit storage slot.
Reproduction

Wear a security officer's armor vest.
Attempt to place a disabler into the armor storage slot.

Additional context
Items of the same shape and size like the standard pistol still fit in the slot just fine. I cannot remember exactly when this issue started, but I do remember that this was working fine with disablers directly after grid inventory was implemented. Looking at the disabler definition it seems to be missing the suitstorage tag under slots.

I have made a fix for this, but I'd like to confirm this is a bug before making a PR.

Wait, pistols are supposed to fit on back slot for internals/2x4/4x4 guns?
Or you mean armor vests used to have storage like like jackets?

Wait, pistols are supposed to fit on back slot for internals/2x4/4x4 guns?
Or you mean armor vests used to have storage like like jackets?

This slot to the right of your pockets. Which can only be used when wearing something like an armor vest or hardsuit. Right now pistols fit in it but disablers don't, despite being the exact same shape and size.

Considering that you could store more valuable things like a O2 tank or shotgun/more dangerous thing in that slot and that security can just take vesting (rigging?) or a belt for a more versatile storage; I would be inclined to think that this isn't a bug.

Considering that you could store more valuable things like a O2 tank or shotgun/more dangerous thing in that slot and that security can just take vesting (rigging?) or a belt for a more versatile storage; I would be inclined to think that this isn't a bug.

If you can fit something a small as an emergency o2 tank (2x1 in inventory) or something as large as a lasergun (4x4 in inventory) then why couldn't you fit an L shaped disabler in there that takes up 3 tiles? Again, regular pistols that are also 3 tiles and L shaped already fit in the slot. Of course you should definitely be using an o2 tank there whenever the situation demands it, but early on in a shift it's nice to have a disabler readily available in an easy to access slot like suit storage.
It's the inconsistency between items that makes me think this is a bug because I remember disablers fitting in suit storage before. If disablers aren't supposed to fit there then why can pistols?

I never knew that the disabler could fit in that slot or a pistol as I always assumed that slot was reserved for shoulder-slung weapons or gas tanks. I'm no coder so I have no say as to why the pistol can even go there in the first place. However, if I had to guess it is likely something related to what the suit storage is using to define what goes there.


Reorganize _pywt

In my opinion, the size of _pywt.pyx has gotten a bit out of hand (basically I'm having trouble finding things). I propose to split it up into smaller files, with the following organization:
pywt
|-dwt.py
| |-dwt
| |-idwt
| |-upcoef
| +-downcoef
|-swt.py
| +-swt
+-src
  |-c
  | +-*.[c,src]
  |-_dwt.pyx
  | |-dwt
  | |-dwt_axis
  | |-downcoef
  | |-idwt
  | |-idwt_axis
  | +-_upcoef
  +-_swt
    +-swt

This would also move most of the non-typed bits into pure python. I could keep them in Cython, but they're almost valid python as-is and there are no loops or other heavy bits in them.
Any thoughts, comments or should I get on with it?

I am +1 on this.  I think it makes it a bit easier to find things and would also reduce the size of the cython-generated C code.
one minor point:
In #38, @aaren renamed the modules multidim.py to _multidim.py, etc, so I would follow that convention with dwt.py->_dwt.py and swt.py->_swt.py.

+1 on both splitting up the Cython code and on adding underscores.

+1. I'd like to get #55 in first though to avoid possibly messy rebasing (should be in the next week).

@grlee77 I think that would clash with imports for the cython modules, wouldn't it?

pywt/src/_dwt.pyx -> build/lib.xyz/pywt/_dwt.cpython-xyzm.so
pywt/_dwt.py -> build/lib.xyz/pywt/_dwt.py

right.  perhaps rename _dwt.pyx to something like _dwt_cy.pyx.  There are a few places in skimage where that convention is used, but I don't know if it is a common one.

What is the reasoning behind the rename to _multidim.py? I don't quite understand so perhaps that'll help me figure out what to do.

multidim -> _multidim is because the contents are not necessarily public API - this is indicated by the preceding _. API access is defined in __init__.py.

I see. I think I'll put everything compiled in a sub-module (_extensions) for now. It might be time to think about organizing the namespace as a whole.
It would make sense to have some partitioning by transform (e.g. dwt, swt, modwt), and perhaps in each have a multilevel and multidim file? But I'm not sure how things that are both multilevel and multidimensional would fit into that. Hmmm.

Keep in mind "flat is better than nested". Right now there are about ~50 objects in the pywt namespace. Partitioning that up isn't really needed I think. Maybe when we add new types of transforms though, like the curvelets that were proposed a while ago, those should get their own submodule.

Fair enough. I like my functions organized into lots of small modules, so I'll leave the organization up to you guys.


preparing the release

all jars are collected now
using slf4j 1.7.7

I wouldn't include jars that are not shaded. I ran into this issue myself when trying to run with Squirrel. Versions of Jackson are not compatible with each other.

Why not use 1.7.25 ?

moved it back to 1.7.25
we should favour the fatJar build.


Fix Travis build

Please ignore. I just need this pull request to figure out what's wrong with Travis.

This should be good to go.
@rust-embedded/hal Anyone, please review, or if not, just tell Bors to merge it. The least this will do un-break all pull request builds, which means we can finally merge pull requests again. If it breaks the automatic documentation updates, we can deal with that later.

bors r+

(oops, I have no power here :) )

Thanks everyone!