400 bad request when sending to more then one connection in AWS Websocket

Confirm by changing [ ] to [x] below to ensure that it's a bug:

[x] I've gone though Developer Guide and API reference
[x] I've searched for previous similar issues and didn't find any solution

Describe the bug
A clear and concise description of what the bug is.
Sending to the first connection is fine, but when you try to send it to another connection, it throws 400 error.
SDK version number
1.8
Platform/OS/Hardware/Device
What are you running the sdk on?
AWS Lambda on Amazon linux 2
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)
create an array with 2 or more connectionId. When sending to the 2nd connection, it will throw a 400 bad request error. As you can see in the error log, it does not throw anything for the first connection log.
Expected behavior
A clear and concise description of what you expected to happen.
should give 200 for every postToConnection
Logs/output
If applicable, add logs or error output.
Normal Logs.
|2021-01-03T14:45:35.259+05:00 | connection id:YkOibd6goAMCLjg=
|2021-01-03T14:45:35.259+05:00 | success
  | 2021-01-03T14:45:35.290+05:00 | connection id:YkN3pfW4IAMCEJQ=
  | 2021-01-03T14:45:35.310+05:00 | [ERROR] 2021-01-03 09:45:35.310 AWSClient [140467762146880] HTTP response code: 400
  | 2021-01-03T14:45:35.310+05:00 | Resolved remote host IP address: <IP_ADDRESS>
  | 2021-01-03T14:45:35.310+05:00 | Request ID:
  | 2021-01-03T14:45:35.310+05:00 | Exception name:
  | 2021-01-03T14:45:35.310+05:00 | Error message: Failed to parse error payload
  | 2021-01-03T14:45:35.310+05:00 | 4 response headers:
  | 2021-01-03T14:45:35.310+05:00 | content-length : 122
  | 2021-01-03T14:45:35.310+05:00 | content-type : text/html
  | 2021-01-03T14:45:35.310+05:00 | date : Sun, 03 Jan 2021 09:45:35 GMT
  | 2021-01-03T14:45:35.310+05:00 | server : awselb/2.0
With traces:
Body for socket{"action":"rr","device_id":"*********","dist_rr":null,"rr":null,"rr_last_mint":{"avg":null,"dist_rr_avg":1.157407283782959,"tracker_ts":"2021-01-03 07:29:59"},"timestamp":1609658999,"type":"new_fw"}
[DEBUG] 2021-01-03 07:30:06.076 ClientConfiguration [139650888068672] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[WARN] 2021-01-03 07:30:06.076 ClientConfiguration [139650888068672] Retry Strategy will use the default max attempts.
[DEBUG] 2021-01-03 07:30:06.076 ClientConfiguration [139650888068672] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[WARN] 2021-01-03 07:30:06.076 ClientConfiguration [139650888068672] Retry Strategy will use the default max attempts.
[TRACE] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Checking HOME for the home directory.
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Environment value for variable HOME is
[WARN] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-03 07:30:06.076 Aws::Config::AWSConfigFileProfileConfigLoader [139650888068672] Initializing config loader against fileName /home/sbx_user1051/.aws/credentials and using profilePrefix = 0
[TRACE] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Checking HOME for the home directory.
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Environment value for variable HOME is
[WARN] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Final Home Directory is /home/sbx_user1051/
[TRACE] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Checking HOME for the home directory.
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Environment value for variable HOME is
[WARN] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-03 07:30:06.076 FileSystemUtils [139650888068672] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-03 07:30:06.076 ProfileConfigFileAWSCredentialsProvider [139650888068672] Setting provider to read credentials from /home/sbx_user1051/.aws/credentials for credentials file and /home/sbx_user1051/.aws/config for the config file , for use with profile default
[WARN] 2021-01-03 07:30:06.076 STSAssumeRoleWithWebIdentityCredentialsProvider [139650888068672] Token file must be specified to use STS AssumeRole web identity creds provider.
[DEBUG] 2021-01-03 07:30:06.076 DefaultAWSCredentialsProviderChain [139650888068672] The environment variable value AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is
[DEBUG] 2021-01-03 07:30:06.076 DefaultAWSCredentialsProviderChain [139650888068672] The environment variable value AWS_CONTAINER_CREDENTIALS_FULL_URI is
[DEBUG] 2021-01-03 07:30:06.076 DefaultAWSCredentialsProviderChain [139650888068672] The environment variable value AWS_EC2_METADATA_DISABLED is
[DEBUG] 2021-01-03 07:30:06.076 ClientConfiguration [139650888068672] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[WARN] 2021-01-03 07:30:06.076 ClientConfiguration [139650888068672] Retry Strategy will use the default max attempts.
[INFO] 2021-01-03 07:30:06.077 EC2MetadataClient [139650888068672] Creating AWSHttpResourceClient with max connections 2 and scheme http
[INFO] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] Initializing CurlHandleContainer with size 2
[INFO] 2021-01-03 07:30:06.077 InstanceProfileCredentialsProvider [139650888068672] Creating Instance with default EC2MetadataClient and refresh rate 300000
[INFO] 2021-01-03 07:30:06.077 DefaultAWSCredentialsProviderChain [139650888068672] Added EC2 metadata service credentials provider to the provider chain.
[DEBUG] 2021-01-03 07:30:06.077 EnvironmentAWSCredentialsProvider [139650888068672] Found credential in environment with access key id ************
[INFO] 2021-01-03 07:30:06.077 EnvironmentAWSCredentialsProvider [139650888068672] Found secret key
[INFO] 2021-01-03 07:30:06.077 EnvironmentAWSCredentialsProvider [139650888068672] Found sessionToken
[INFO] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] Initializing CurlHandleContainer with size 25
[TRACE] 2021-01-03 07:30:06.077 AWSClient [139650888068672] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2021-01-03 07:30:06.077 EnvironmentAWSCredentialsProvider [139650888068672] Found credential in environment with access key id ***************
[INFO] 2021-01-03 07:30:06.077 EnvironmentAWSCredentialsProvider [139650888068672] Found secret key
[INFO] 2021-01-03 07:30:06.077 EnvironmentAWSCredentialsProvider [139650888068672] Found sessionToken
[DEBUG] 2021-01-03 07:30:06.077 AWSAuthV4Signer [139650888068672] Calculated sha256 6c2f7242792aedff6f6056ce5dcc47b3ebdfbd75616a18647133e7a728c106d8 for payload.

[DEBUG] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] No current connections available in pool. Attempting to create new connections.
[DEBUG] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] attempting to grow pool size by 2
[INFO] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] Pool grown by 2
[INFO] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] Connection has been released. Continuing.
[DEBUG] 2021-01-03 07:30:06.077 CurlHandleContainer [139650888068672] Returning connection handle 0x555555e501d0
[DEBUG] 2021-01-03 07:30:06.077 CurlHttpClient [139650888068672] Obtained connection handle 0x555555e501d0
[DEBUG] 2021-01-03 07:30:06.084 CURL [139650888068672] (Text)   Trying <IP_ADDRESS>:443...

[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (Text) Using HTTP2, server supports multi-use
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (Text) Connection state changed (HTTP/2 confirmed)
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (Text) Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (Text) Using Stream ID: 1 (easy handle 0x555555e501d0)
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (HeaderOut) POST /prod/@connections/Yj546fRTIAMCK9Q= HTTP/2
Host: t2kpeb2tp2.execute-api.us-east-1.amazonaws.com
accept: /
amz-sdk-invocation-id: 7255493C-0FAD-4BD6-BC3F-D0EF5D9A24A8
amz-sdk-request: attempt=1
authorization: ****************************
content-length: 201
content-type: application/json
user-agent: aws-sdk-cpp/1.8-beta1 Linux/4.14.203-112.332.amzn2.x86_64 x86_64 GCC/9.3.0
x-amz-content-sha256: 6c2f7242792aedff6f6056ce5dcc47b3ebdfbd75616a18647133e7a728c106d8
x-amz-date: 20210103T073006Z
X-amz-security-token: **********
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (SSLDataIn) 5bytes
[DEBUG] 2021-01-03 07:30:06.104 CURL [139650888068672] (Text) Connection state changed (MAX_CONCURRENT_STREAMS == 128)!

[DEBUG] 2021-01-03 07:30:06.112 AWSClient [139650888068672] Request returned successful response.
[TRACE] 2021-01-03 07:30:06.112 AWSClient [139650888068672] Request successful returning.
[INFO] 2021-01-03 07:30:06.112 CurlHandleContainer [139650888068672] Cleaning up CurlHandleContainer.
[INFO] 2021-01-03 07:30:06.112 CurlHandleContainer [139650888068672] Cleaning up CurlHandleContainer.
[DEBUG] 2021-01-03 07:30:06.112 CurlHandleContainer [139650888068672] Cleaning up 0x555555e3be70
[DEBUG] 2021-01-03 07:30:06.112 CurlHandleContainer [139650888068672] Cleaning up 0x555555e501d0
[TRACE] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Checking HOME for the home directory.
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Environment value for variable HOME is
[WARN] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-03 07:30:06.124 Aws::Config::AWSConfigFileProfileConfigLoader [139650888068672] Initializing config loader against fileName /home/sbx_user1051/.aws/credentials and using profilePrefix = 0
[TRACE] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Checking HOME for the home directory.
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Environment value for variable HOME is
[WARN] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Final Home Directory is /home/sbx_user1051/
[TRACE] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Checking HOME for the home directory.
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Environment value for variable HOME is
[WARN] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Home dir not stored in environment, trying to fetch manually from the OS.
[INFO] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Pulled /home/sbx_user1051 as home directory from the OS.
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Home directory is missing the final / appending one to normalize
[DEBUG] 2021-01-03 07:30:06.124 FileSystemUtils [139650888068672] Final Home Directory is /home/sbx_user1051/
[INFO] 2021-01-03 07:30:06.124 ProfileConfigFileAWSCredentialsProvider [139650888068672] Setting provider to read credentials from /home/sbx_user1051/.aws/credentials for credentials file and /home/sbx_user1051/.aws/config for the config file , for use with profile default
[WARN] 2021-01-03 07:30:06.124 STSAssumeRoleWithWebIdentityCredentialsProvider [139650888068672] Token file must be specified to use STS AssumeRole web identity creds provider.
[DEBUG] 2021-01-03 07:30:06.124 DefaultAWSCredentialsProviderChain [139650888068672] The environment variable value AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is
[DEBUG] 2021-01-03 07:30:06.124 DefaultAWSCredentialsProviderChain [139650888068672] The environment variable value AWS_CONTAINER_CREDENTIALS_FULL_URI is
[DEBUG] 2021-01-03 07:30:06.124 DefaultAWSCredentialsProviderChain [139650888068672] The environment variable value AWS_EC2_METADATA_DISABLED is
[DEBUG] 2021-01-03 07:30:06.124 ClientConfiguration [139650888068672] ClientConfiguration will use SDK Auto Resolved profile: [default] if not specified by users.
[WARN] 2021-01-03 07:30:06.124 ClientConfiguration [139650888068672] Retry Strategy will use the default max attempts.
[INFO] 2021-01-03 07:30:06.124 EC2MetadataClient [139650888068672] Creating AWSHttpResourceClient with max connections 2 and scheme http
[INFO] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] Initializing CurlHandleContainer with size 2
[INFO] 2021-01-03 07:30:06.124 InstanceProfileCredentialsProvider [139650888068672] Creating Instance with default EC2MetadataClient and refresh rate 300000
[INFO] 2021-01-03 07:30:06.124 DefaultAWSCredentialsProviderChain [139650888068672] Added EC2 metadata service credentials provider to the provider chain.
[DEBUG] 2021-01-03 07:30:06.124 EnvironmentAWSCredentialsProvider [139650888068672] Found credential in environment with access key id ***********
[INFO] 2021-01-03 07:30:06.124 EnvironmentAWSCredentialsProvider [139650888068672] Found secret key
[INFO] 2021-01-03 07:30:06.124 EnvironmentAWSCredentialsProvider [139650888068672] Found sessionToken
[INFO] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] Initializing CurlHandleContainer with size 25
[TRACE] 2021-01-03 07:30:06.124 AWSClient [139650888068672] Found body, but content-length has not been set, attempting to compute content-length
[DEBUG] 2021-01-03 07:30:06.124 EnvironmentAWSCredentialsProvider [139650888068672] Found credential in environment with access key id ***********
[INFO] 2021-01-03 07:30:06.124 EnvironmentAWSCredentialsProvider [139650888068672] Found secret key
[INFO] 2021-01-03 07:30:06.124 EnvironmentAWSCredentialsProvider [139650888068672] Found sessionToken
[DEBUG] 2021-01-03 07:30:06.124 AWSAuthV4Signer [139650888068672] Calculated sha256 6c2f7242792aedff6f6056ce5dcc47b3ebdfbd75616a18647133e7a728c106d8 for payload.

[DEBUG] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] No current connections available in pool. Attempting to create new connections.
[DEBUG] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] attempting to grow pool size by 2
[INFO] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] Pool grown by 2
[INFO] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] Connection has been released. Continuing.
[DEBUG] 2021-01-03 07:30:06.124 CurlHandleContainer [139650888068672] Returning connection handle 0x555555e69140
[DEBUG] 2021-01-03 07:30:06.124 CurlHttpClient [139650888068672] Obtained connection handle 0x555555e69140
[DEBUG] 2021-01-03 07:30:06.125 CURL [139650888068672] (Text)   Trying <IP_ADDRESS>:443...

[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (Text) Using HTTP2, server supports multi-use
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (Text) Connection state changed (HTTP/2 confirmed)
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (Text) Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (Text) Using Stream ID: 1 (easy handle 0x555555e69140)
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (HeaderOut) POST /prod/@connections/Yj7Gpd4mIAMCJZg= HTTP/2
Host: t2kpeb2tp2.execute-api.us-east-1.amazonaws.com
accept: /
amz-sdk-invocation-id: DF195110-60C6-4885-954B-0973876A3DD1
amz-sdk-request: attempt=1
authorization: **********************
content-length: -1
content-type: application/json
user-agent: aws-sdk-cpp/1.8-beta1 Linux/4.14.203-112.332.amzn2.x86_64 x86_64 GCC/9.3.0
x-amz-content-sha256: 6c2f7242792aedff6f6056ce5dcc47b3ebdfbd75616a18647133e7a728c106d8
x-amz-date: 20210103T073006Z
X-amz-security-token: *************
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataIn) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (Text) Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (DataOut) {"action":"rr","device_id":"********","dist_rr":null,"rr":null,"rr_last_mint":{"avg":null,"dist_rr_avg":1.157407283782959,"tracker_ts":"2021-01-03 07:29:59"},"timestamp":1609658999,"type":"new_fw"}
[DEBUG] 2021-01-03 07:30:06.146 CURL [139650888068672] (SSLDataOut) 5bytes
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (SSLDataIn) 5bytes
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (SSLDataIn) 5bytes
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (HeaderIn) HTTP/2 400
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] HTTP/2 400
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (HeaderIn) server: awselb/2.0
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] server: awselb/2.0
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (HeaderIn) date: Sun, 03 Jan 2021 07:30:06 GMT
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] date: Sun, 03 Jan 2021 07:30:06 GMT
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (HeaderIn) content-type: text/html
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] content-type: text/html
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (HeaderIn) content-length: 122
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] content-length: 122
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672]
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (Text) HTTP error before end of send, stop sending
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (HeaderIn)
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (DataIn)
400 Bad Request

400 Bad Request

[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] 122 bytes written to response.
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (SSLDataIn) 5bytes
[DEBUG] 2021-01-03 07:30:06.147 CURL [139650888068672] (Text) Connection #0 to host t2kpeb2tp2.execute-api.us-east-1.amazonaws.com left intact
[DEBUG] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] Returned http response code 400
[DEBUG] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] Returned content type text/html
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] Response content-length header: 122
[TRACE] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] Response body length: 122
[DEBUG] 2021-01-03 07:30:06.147 CurlHttpClient [139650888068672] Releasing curl handle 0x555555e69140
[DEBUG] 2021-01-03 07:30:06.147 CurlHandleContainer [139650888068672] Releasing curl handle 0x555555e69140
[DEBUG] 2021-01-03 07:30:06.147 CurlHandleContainer [139650888068672] Notified waiting threads.
[DEBUG] 2021-01-03 07:30:06.147 AWSClient [139650888068672] Request returned error. Attempting to generate appropriate error codes from response
[ERROR] 2021-01-03 07:30:06.147 AWSClient [139650888068672] HTTP response code: 400
Resolved remote host IP address: <IP_ADDRESS>
Request ID:
Exception name:
Error message: Failed to parse error payload
4 response headers:
content-length : 122
content-type : text/html
date : Sun, 03 Jan 2021 07:30:06 GMT
server : awselb/2.0
[WARN] 2021-01-03 07:30:06.147 AWSClient [139650888068672] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[DEBUG] 2021-01-03 07:30:06.147 AWSClient [139650888068672] Server time is Sun, 03 Jan 2021 07:30:06 GMT, while client time is Sun, 03 Jan 2021 07:30:06 GMT
[INFO] 2021-01-03 07:30:06.147 CurlHandleContainer [139650888068672] Cleaning up CurlHandleContainer.
[INFO] 2021-01-03 07:30:06.147 CurlHandleContainer [139650888068672] Cleaning up CurlHandleContainer.
[DEBUG] 2021-01-03 07:30:06.147 CurlHandleContainer [139650888068672] Cleaning up 0x555555e3be70
[DEBUG] 2021-01-03 07:30:06.147 CurlHandleContainer [139650888068672] Cleaning up 0x555555e69140
error in sending data to socket for clinic:Failed to parse error payload
[INFO] 2021-01-03 07:30:06.164 CurlHandleContainer [139650888068672] Cleaning up CurlHandleContainer.
[INFO] 2021-01-03 07:30:06.164 CurlHandleContainer [139650888068672] Cleaning up CurlHandleContainer.
[DEBUG] 2021-01-03 07:30:06.164 CurlHandleContainer [139650888068672] Cleaning up 0x555555e33e00
[DEBUG] 2021-01-03 07:30:06.164 CurlHandleContainer [139650888068672] Cleaning up 0x555555e02f50
To enable logging, set the following system properties:
REMEMBER TO SANITIZE YOUR PERSONAL INFO
options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace;
Aws::InitAPI(options)

Additional context
Add any other context about the problem here.
PostToSocket *postToConnection = new PostToSocket();
auto postToConnectionOutcome = postToConnection->PostToConnectionAws(jj.second.GetS(), "https://t2kpeb2tp2.execute-api.us-east-1.amazonaws.com/prod", payload);
if (!postToConnectionOutcome.IsSuccess())
{
    std::cout << "error in sending data to socket for clinic:" << postToConnectionOutcome.GetError().GetMessage() << std::endl;
}
delete postToConnection;

#pragma once
#include <aws/core/client/ClientConfiguration.h>
#include <aws/apigatewaymanagementapi/model/PostToConnectionRequest.h>
#include <aws/apigatewaymanagementapi/ApiGatewayManagementApiClient.h>

class PostToSocket
{
private:
    Aws::Client::ClientConfiguration clientConfiguration;

public:
    PostToSocket(Aws::Client::ClientConfiguration cconfig)
    {
        clientConfiguration = cconfig;
    }

    PostToSocket()
    {
    }

    Aws::ApiGatewayManagementApi::Model::PostToConnectionOutcome PostToConnectionAws(Aws::String connectionId, Aws::String endpoint, std::shared_ptr<Aws::IOStream> body)
    {
        Aws::Client::ClientConfiguration *clientConfiguration2 = new Aws::Client::ClientConfiguration;
        clientConfiguration2->verifySSL = false;
        clientConfiguration2->caFile = "/etc/ssl/certs/ca-certificates.crt";
        clientConfiguration2->caPath = "/etc/ssl/certs/";
        Aws::ApiGatewayManagementApi::Model::PostToConnectionRequest *postToConnectionRequest = new Aws::ApiGatewayManagementApi::Model::PostToConnectionRequest();
        postToConnectionRequest->SetBody(body);
        postToConnectionRequest->SetConnectionId(connectionId);
        std::cout << "connection id:" << postToConnectionRequest->GetConnectionId() << std::endl;
        postToConnectionRequest->SetContentType("application/json");
        Aws::ApiGatewayManagementApi::ApiGatewayManagementApiClient *apiGatewayManagementApiRequest = new Aws::ApiGatewayManagementApi::ApiGatewayManagementApiClient(*clientConfiguration2);
        apiGatewayManagementApiRequest->OverrideEndpoint(endpoint);
        auto t = apiGatewayManagementApiRequest->PostToConnection(*postToConnectionRequest);
        delete postToConnectionRequest;
        delete apiGatewayManagementApiRequest;
        delete clientConfiguration2;
        return t;
    }

    void PostToConnectionAwsArray(Aws::Vector<Aws::String> connectionIdlist, Aws::String endpoint, std::shared_ptr<Aws::IOStream> body)
    {
        Aws::ApiGatewayManagementApi::Model::PostToConnectionRequest *postToConnectionRequest = new Aws::ApiGatewayManagementApi::Model::PostToConnectionRequest();
        postToConnectionRequest->SetBody(body);
        postToConnectionRequest->SetContentType("application/json");
        Aws::ApiGatewayManagementApi::ApiGatewayManagementApiClient *apiGatewayManagementApiRequest = new Aws::ApiGatewayManagementApi::ApiGatewayManagementApiClient(clientConfiguration);
        apiGatewayManagementApiRequest->OverrideEndpoint(endpoint);
        for (Aws::String i : connectionIdlist)
        {
            postToConnectionRequest->SetConnectionId(i);
            std::cout << "connection id:" << postToConnectionRequest->GetConnectionId() << std::endl;
            auto t = apiGatewayManagementApiRequest->PostToConnection(*postToConnectionRequest);
            if (!t.IsSuccess())
            {
                std::cout << t.GetError().GetMessage() << std::endl;
            }
        }
        delete postToConnectionRequest;
        delete apiGatewayManagementApiRequest;
    }
};

Alright seems like assignment to payload needs to be inside the loop. Somehow it is being deleted or emptied.

Alright seems like assignment to payload needs to be inside the loop. Somehow it is being deleted or emptied.


How to use GPU to accelerate?

Issue Description
I am a senior and currently using RL4J for reinforcement learning.However, I don't know how RL4J USES GPU acceleration. Can anyone recommend me some documents on this?Thank you very much!

RL4J uses the same backend mechanisms as DL4J.
Take a look at https://deeplearning4j.org/docs/latest/deeplearning4j-config-gpu-cpu


Compiling on ARM

Issue ported from issue in original repo

I am trying to compile the project from source on a Raspberry with ARM architecture, but I can't seem to succeed it. How could I do this?

you don't need to compile it to run it on a Rasberry Pi. You do need to have an actual desktop (VNC is fine) and not go headless.

Make sure you have python3.11 installed
you will also need at least these 2 installed: sudo apt install libcairo2-dev libgirepository1.0-dev
Download the source code zip
unzip it and switch into the directory
run python -m venv .env to create a "Virtual Environement" for your python dependencies (keeps you from a lot of headaches later)
run source .env/bin/activate to turn on the virtual environement
run pip install -r requirements.txt

now to start it, always make sure you're in your virtual environment (it should say (.env) at the beginning of your terminal if you don't then do step 6 again while in the directory).
to run it do PYSTRAY_BACKEND=gtk python3 main.py


Added watchdog to jade/distribution.yaml

Having some issues on bloom while doing release PR for watchdog package so doing it by hand.

Is this the same as the Debian package python-watchdog? If yes, should it be named the same?

Hi,
Not exactly the same because the Debian package for python-watchdog is only available for 16.04.
I'm actually releasing it for Jade and Indigo as I need to use it on Ubuntu trusty.

So what you are saying is that it is exactly the same package. You only want to make it available in older distros.
In that case it would even make more sense to name the package the same (python-watchdog) so that packages depending on it don't have to change their rosdep key when moving from e.g. Trusty to Xenial.

@dirk-thomas I followed your guidance

I was actually suggesting python-watchdog (note the dash instead of the underscore). Otherwise it would still require ROS packages to change the rosdep key in the manifest file between ROS distros.

@dirk-thomas we've had trouble in the past trying to transition packages from ros packages to upstream packages in the past. They were c++ packages which ended up with namespace collisions etc since if any supported ubuntu distro for the rosdistro had both the upstream version and the ros version. Maybe this will work for python packages. But in general my suggestion is not to try to mask the changeover from ROS package to rosdep. They generally have different versions, especially once the upstream package is used across multiple Ubuntu distros, it's almost guarenteed to be different versions.

@tfoote The recent relaxation of the package name rules in the ROS REPs 127 and 140 (see ros-infrastructure/rep#126) aim exactly for this use case: to use the same name as a Debian package (e.g. python-watchdog) to allow releasing it as a ROS package into "older" Ubuntu distros. That way the rosdep key is the same and other ROS packages don't need to branch / care. That use case was specifically described when the REP change was proposed.

@dirk-thomas for my self I agree with @tfoote even I'm only transforming the package source code into a ROS package I'm already making things slightly different just by doing that.
But I will follow the rules as it has to be done.

Since this was a use case the relaxed rules were desiged to cover lets try it.
Unfortunately this is now conflicting and needs a rebase before it can be merged @yotabits could you take a look?


[no-master] Fix #3082: Refuse to generate a launcher for new-style main.

When using a new-style main class (with a main(Array[String]) method), it is not possible to use launchers. In particular, the setting scalaJSUseMainModuleInitializer must be true.
Previously the sbt plugin was not checking this and would simply generate a broken launcher, resulting in a run-time error. Now we report a meaningful error when trying to generate the launcher.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4200/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5601/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4201/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5602/
Test PASSed.


[Feature Request]: Sticky Form Footer

Feature description
In OpenShift Console we make use of a Stick Footer for the form buttons and submit errors. Speaking with UX, we should adopt this feature.
The Spawner Page currently is a good spot to start. Make a generic component that can take:

a "page context" -- for the error alert, this is important as we want the Data Scientists to have an understanding of what went wrong without the details
an "error message" -- this will likely be some generated JS error message or a response from Kube when the call failed, sever should send this, if applicable
some props for the buttons (submit button name, onClick for each button, etc)

If we make this generic, we can use it in all our forms moving forward (that are not done via modals).
See the implementation in OpenShift Console for some ideas on what to do. We don't need to copy it one-to-one... we are not likely to need the full extent today.
We should also assume always sticky until otherwise needed.
Describe alternatives you've considered
No response
Anything else?
No response

We went with page section sticky footer for the Workbench page. This seems acceptable for now.


[Feature Request] Filter out events without a location/meeting link value

Would it be possible to add an option to filter out events without a location/meeting link value from showing up in the menu bar?
This will help users like me who block time on the calendar as 'Focus Time' but really only want to checking which meeting is coming up next in the menu bar.

That can be quite "dangerous" in my opinion.
I have had meetings where my manager simply forgot to add the link.
I would suggest you to use the "Skip" feature.
I think that can achieve your goal without compromises.

Left Click
Right Click


[Feature] Support unit32 in save_gguf

While working on converting the quant MLX model to GGUF format, I noticed that we do not support uint32 in save_gguf. This makes it difficult to convert the quant mode given that the weight of quant models are in uint32 format. I am wondering if there is any chance we would support uint32 format in the save_gguf method?
the code to replicate the issue:
import mlx.core as mx

weights = {"test": (mx.ones(shape=(2,), dtype=mx.uint32))}

mx.save_gguf("mlx_model.gguf", weights)

So I think you're goal is to export weights, scales, and biases to GGUF without dequantizing so you can load them natively in llama.cpp right?
It is not quite so simple as enabling a uint32 format (which would actually be the wrong thing). GGUF stores quantized weights in a completely different format, and it is packed. So all three tensors (weights, scales, biases) would get packed into e.g. a q4_0 tensor. Doing that properly is a bit messy hence right now we don't really support exporting quantized models into GGUF.

I will leave this open as an enhancement to help prioritize when we can get to it. For the very short-term your best bet is exporting to fp16 (either safetensors or gguf) and then quantizing.

I see, I thought that since we can load a quantized gguf format model without de-quantization in mlx, maybe we can directly convert mlx quant to gguf, which would be more beneficial than converting it to f16 gguf format and quantize it

Quick note, not sure if uint32 is a supported type in gguf, only see signed ints on the list


[Task]: Optimize logic based on profiling results

@AnaghHegde @sidhantgoel  - Is this issue still valid?

We need this after the logs are added and to fix ImportExport issue


Issue Creation Test

this is a learning demo for creating an Issue

To be honest, I haven't found it yet


'${fileDirname}' Can not be resolved.

Version: 1.47.0-insider (user setup)
Commit: 84f52fe1c0124307046ac0f5443493cda946e60f
Date: 2020-06-17T06:43:38.511Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:

VSCode Insider upgrade.
Open exists workspace.
Run Start Debugging

launch.json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "g++ build and debug active file",
            "type": "cppdbg",
            "request": "launch",
            "program": "${fileDirname}/${fileBasenameNoExtension}",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
            "miDebuggerPath": "/usr/bin/gdb",
            "preLaunchTask": "g++ build active file"
        }
    ]
}

It works on previous version of VSCode insder.

[Window Title]
Visual Studio Code - Insiders
[Content]
'${fileDirname}' can not be resolved. Please open an editor.
[Open launch.json] [Cancel]

Does this issue occur when all extensions are disabled?: Yes/No
Unknown. (C/C++ extension must require)

I have the same issue.

Looks like a duplicate of https://github.com/microsoft/vscode/issues/95423


Fix 'Call to a member function hasChildren() on boolean'

This seems to occur when the DefaultRenderingStrategy tries to render
a result that is not an instance of Zend\View\Model\ModelInterface, in
my case the result was a boolean true.
I'm checking for ModelInterface rather than ConsoleModel as the render
method seems to work with any ModelInterface, not just ConsoleModel

Supersedes #26 due to rebase incorporating feedback.

Sorry looks like I should've forced-push to update #26 rather than delete and push which creates a new PR... next time.

@skl In the future, you can push as many times as you want to the branch from which you created a PR; it will update the PR with new commits and the cumulative changes. When you force push, it simply replaces the commits and changes.

Tagged in both release-2.5.2 and release-2.4.8

Thanks :smile:


Add support for React 0.14.0-beta1

Is this needed? see my comment

No, it won't, >= does not match alpha versions.
@contra try for yourself at http://semver.npmjs.com/

ugh, just switch it to * im sick of dealing with react version ranges - such a clusterfk

If you want to switch to *, maybe you should remove the peer dependency altogether?


Development

Hello dear mindstorm38,
i want to join your project, please.
Sincerly Chris

Hi! Please just use your fork of this repository to make modifications, once you have good progress we could merge them into this one.

Okay. Thank you


Text Appearance: Text Size - 4

Add support for dynamically updating text size

In mainFeatures, there are two settings for the minimum and maximum text size: text-size-min, text-size-max

This is done via a slider that sets a variable in stores.js.  The range for the slider is obtained from text-size-min and text-size-max in the config.js file.  If the entries are not present in the file, then default values of 10 and 60 are used for the range.

Completed with https://github.com/sillsdev/appbuilder-pwa/pull/115


NFDIV-4208: Add help with fees ref number on hub page

Change description
Add help with fees ref number on hub page.
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/NFDIV-4208
Before merging a pull request make sure that:

[ ] tests have been updated / new tests has been added (if needed)
[ ] README and other documentation has been updated / added (if needed)

If this ticket will have any visible impact on users and is not behind a feature toggle, make sure that:

[ ] this ticket been reviewed by QA
[ ] the user story been signed off by the PO

Note that bug fixes, dependency updates and technical tasks do not directly impact the user experience and can be merged without QA and PO review.
If this user story cannot be immediately merged find a way to put it behind a feature toggle and get it merged.

Opened with the wrong branch name. Covered in #3875


Combine GSuite High/Medium/Low Rule alerts into one

Background
GSuite Rule alerts are managed by three different rules, High, Medium, and Low. But they are basically doing the exact same thing except changing the severity wordings.
I combined three of them and pull the severity dynamically from the event log.
Changes
The rule is based on the previous High/Medium/Low rules.
The title function was changed from hard-coded severity to include severity from the event log
def title(event):
    severity = deep_get(event, "parameters", "severity")
    if deep_get(event, "parameters", "rule_name"):
        return "GSuite " + severity + " Severity Rule Triggered: " \
            + deep_get(event, "parameters", "rule_name")
    return "GSuite " + severity + " Severity Rule Triggered"

And I added the severity function to set the rule severity dynamically
def severity(event):
    return deep_get(event, "parameters", "severity")

Testing
Tests are combined into one, which includes a non-triggering rule, a high, a medium, and a low.
GSuite.Rule
	[PASS] Non Triggered Rule
		[PASS] [rule] false
	[PASS] High Severity Rule
		[PASS] [rule] true
		[PASS] [title] GSuite HIGH Severity Rule Triggered
		[PASS] [dedup] GSuite HIGH Severity Rule Triggered
		[PASS] [severity] HIGH
	[PASS] Medium Severity Rule
		[PASS] [rule] true
		[PASS] [title] GSuite MEDIUM Severity Rule Triggered
		[PASS] [dedup] GSuite MEDIUM Severity Rule Triggered
		[PASS] [severity] MEDIUM
	[PASS] Low Severity Rule
		[PASS] [rule] true
		[PASS] [title] GSuite LOW Severity Rule Triggered
		[PASS] [dedup] GSuite LOW Severity Rule Triggered
		[PASS] [severity] LOW
	[PASS] High Severity Rule with Rule Name
		[PASS] [rule] true
		[PASS] [title] GSuite HIGH Severity Rule Triggered: CEO Impersonation
		[PASS] [dedup] GSuite HIGH Severity Rule Triggered: CEO Impersonation
		[PASS] [severity] HIGH

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: k-bailey:white_check_mark: Jeffreyhung:x: edyesedYou have signed the CLA already but the status is still pending? Let us recheck it.


Do we need to filter non http links in DOM inspection?

Hi, after implementing isOnSameDomain function for #11 i found that we might also have tel: or other non http links - do we need to filter those or does the library do this?

@WielandF will ask @jan1993 tomorrow

Hi, the libary will filter those links. @bensteUEM @jan1993

This should be part of the filtering. Can be integrated in the filter against the BPjM List?
Implemented by @Monti93 ???

@Monti93  - you're part of the lib team ? Only issue would be that you would have to request a new link if an invalid link was passed e..g tel: link was selected by random

Hi guys, yes I am part of the team as well. Sorry for the late response, I haven't found enough time for the topic yet. I can include this in the filter.

will be fixed in #50


Fixed all flake8 warnings

Title says it all. Let's try not to introduce any flakes before the release!

Looks like that caught a few bugs. Tests passed, merging.


Unix Makefile: Some sed implementation truncate long lines.  Use perl instead

Checklist

[x] CLA is signed

Description of change

instead.
Fixes #1781

Is that placing a dependency on having perl to run a build now that wasn't present before?

Is that placing a dependency on having perl to run a build now that wasn't present before?

Nope.  We're using perl all over the place.

yeah,. perl is a requirement.  +1

... and @teschulz confirmed the fix is working as well.  Perfect.

Merged!


missing operator to select datetime range

if have a create_at coloum in table, how to filtering using gte and lte  operator to select by range.

I have read the document, can't find logic operator to implement filter create_at  column in range.
sql statement like
select * from tablename where create_at >= '2020-10-10 12:12:12' and create_at <= '2024-10-10 12:12:12'
multi create_at in querystring of api will ignore first one.

@serveryang it's supported now, you can try the latest master to use it.


Error uploading files using move_data_from_insdc.py script

Description of the task:
I am getting an error when I try to upload fastq files using the move_data_from_insdc.py script. The error appears after already uploading some files successfully.
Command:
python3 move_data_from_insdc.py --study_accession ERP118283 -o s3://hca-util-upload-area/8a64d08d-eae9-4551-9e53-84ecbecaca09

Error message:
Traceback (most recent call last):
  File "move_data_from_insdc.py", line 329, in <module>
    main(parser_args)
  File "move_data_from_insdc.py", line 318, in main
    p.starmap(transfer_file, output_args)
  File "/home/aday/anaconda3/envs/test/lib/python3.7/multiprocessing/pool.py", line 276, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "/home/aday/anaconda3/envs/test/lib/python3.7/multiprocessing/pool.py", line 657, in get
    raise self._value
urllib.error.URLError: <urlopen error ftp error: ConnectionRefusedError(111, 'Connection refused')>

SOP for running the tool

Closing this as Enrique has found a workaround when we encounter problems with ENA data transfer, which is an external issue. Sometimes their servers get overwhelmed.


Issue with Gulp serve

When i am giving "gulp serve" .There is a error that cant find module "Cannot find module 'gulp-protracto" .So please help me out new to Nodejs.

Just install missing modules using npm.
Ex.: sudo npm install gulp-protracto -g

Hi @prasadyallapu
Please go to angular-material-dashboard directory and install node modules by command:
$ npm install

Still the same issue @pensado  and @micrum

@prasadyallapu could you please provide logs?

I had a similar issue installing this tonight, but I resolved it by deleting my node_modules folder and doing another npm install. I think I encountered a partial install error with npm, and that caused the dependency failures.

Thanks for your help
On Sun, Feb 28, 2016 at 12:48 AM, Barney Davis<EMAIL_ADDRESS>wrote:

I had a similar issue installing this tonight, but I resolved it by
deleting my node_modules folder and doing another npm install. I think I
encountered a partial install error with npm, and that caused the
dependency failures.
—
Reply to this email directly or view it on GitHub
https://github.com/flatlogic/angular-material-dashboard/issues/38#issuecomment-189787464
.


Memoize _log.prefix calls

In situations where an EMS has a large number of hosts, the tree that gets built is quite large, and so the number of times that _log.prefix is fired is very high.  This updates each one of those calls to memoize them to a instance variable, since the resulting prefix will not change.
Benchmarks
The benchmark script used here basically runs the following:
ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow.new.init_from_dialog

And is targeting a fairly large EMS, with about 600 hosts.

ms
queries
rows

before
15023
1961
48395

after
10056
1961
48395

Before                                                     After
------                                                     -----

Total allocated:<PHONE_NUMBER> bytes (23226536 objects)   |   Total allocated:<PHONE_NUMBER> bytes (19721183 objects)
                                                       |
allocated objects by gem                               |   allocated objects by gem
-----------------------------------                    |   -----------------------------------
   9665227  pending                                    |      9665227  pending
   5561668  manageiq/app                               |      5561668  manageiq/app
   3513258  manageiq/lib  <<<<<<<<<<                   |      2512007  activerecord-5.0.7
   2512007  activerecord-5.0.7                         |       861272  activesupport-5.0.7
    861270  activesupport-5.0.7                        |       418737  ancestry-2.2.2
    418737  ancestry-2.2.2                             |       278793  activemodel-5.0.7
    278793  activemodel-5.0.7                          |       178419  ruby-2.3.3/lib
    178419  ruby-2.3.3/lib                             |       165577  arel-7.1.4
    165577  arel-7.1.4                                 |        52875  manageiq-providers-vmware-0be2f13a0dc9
     52875  manageiq-providers-vmware-0be2f13a0dc9     |        14424  fast_gettext-1.2.0
     14424  fast_gettext-1.2.0                         |         7903  manageiq/lib  <<<<<<<<<<
       ...                                             |          ...

Note:  The benchmarks for this change do NOT include the changes from other PRs (https://github.com/ManageIQ/manageiq/pull/17354 for example).


adding dev container

Adding dev container

This looks good to me.

@bhavenst - good call out.  The VS Code extension for dev containers is required.

I added @tznamena as an approver.

I updated the README.md with a couple of instructions for using dev containers.

Haven't used dev containers much so I can only offer limited review.
It took very long time to start. I understand it is a one-time cost, however, I wonder if using an image that already has python, go and node included, would help. It seems majority of the time was spent installing python and all its libraries. The resulting image is fairly big, 3.22 GBs. Also, removing docker-in-docker might help to reduce the size a bit, don't see any reason for it in dev container. (I tried without docker-in-docker and resulting image was reduced by 400MB, but still pretty fat at 2.8GB)
So the only change I would suggest would be to change the name to something that indicates that it has Python, Go and Node. Maybe "Go-Python-NodeJs"?
Other than that, it works fine.

@tznamena - I changed the name of the container to what you suggested and updated the PR.

Looks good, we can fine tune it in future PRs.

Sounds good

@bhavenst / @tznamena  - It looks like I don't have write access, so I am unable to complete the merge.


Added myself to the list of contributors.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #564   +/-   ##
=========================================
  Coverage     64.49%   64.49%
  Complexity     1483     1483
=========================================
  Files           177      177
  Lines          5278     5278
  Branches       1180     1180
=========================================
  Hits           3404     3404
  Misses         1370     1370
  Partials        504      504

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 543e9cb...ad64b14. Read the comment docs.


[Suggestion]: Relativistic GAN Type

I was reading about the GAN types (Vanilla, LSGAN, and WGAN-GP) already included in BasicSR, and I found a new type that may bring a sizable performance increase to the discriminators used in upscaling methods like ESRGAN and PPON.
https://arxiv.org/abs/1807.00734
This paper outlines the idea behind a relativistic discriminator and showcases new variants of existing GANs that were created to use this approach.
There is also source code available:
https://www.github.com/AlexiaJM/RelativisticGAN
The one that stood out to me was RaLSGAN.
It performs better than the other variants in most tests involving generating images that are 128x128 or less. When it comes to SGAN (Standard GAN), it outperforms this variant by a large margin.
Interested to hear your thoughts on this,
N0man

Hello again!
Currently the behavior of the GANs is relativistic. Basically, instead of calculating the labels as being only Real or Fake, it results in a measurement of "realness" that goes from -1 (fake label) to +1 (real label) when using the VGG-like discriminators.
During training you can check the  D_real and D_fake outputs in the losses, these are samples of the discriminator label results. If using patchgan or multiscale patchgan, these might go over the range, since they calculate patches of images instead of a single value.
Let me know if you find out more interesting stuff or notice something in the current code, it's great if we find more techniques to improve results!

If interested, you can check the relativistic GAN formulation here: https://github.com/victorca25/BasicSR/blob/14aced7d1049a283761c145f3cf300a94c6ac4b9/codes/models/losses.py#L312
And compare with the repository where the operations match. It's a bit complex to see straight away because I have multiple different cases, but I can probably add some comments in the code for reference.

That's great that BasicSR already has relativistic GAN support!
The only additional enhancement I can think of related to RaLSGAN is a vgg128 discriminator with spectrum normalization and feature extraction.
https://ieeexplore.ieee.org/document/9220103
According to this paper, spectrum normalization improves relativistic LSGAN by 5% (8% improvement over ESRGAN instead of only 3%).
BasicSR already has a vgg128 discriminator with spectrum normalization, but it does not have feature extraction, which is useful when using feature loss, especially with PPON.
Also, if the discriminator has the option of specifying convtype (using B.conv_block), it would allow the selection of partialconv, which could improve the discriminator's performance by an additional 1-2%.

Some of the discriminators already support using spectral norm.
For example, the discriminator_vgg_fea (that also can use feature maps to calculate "feature loss", which other projects later called feature matching) has the "spectral_norm" flag: https://github.com/victorca25/BasicSR/blob/14aced7d1049a283761c145f3cf300a94c6ac4b9/codes/models/modules/architectures/discriminators.py#L531
while patchgan has the equivalent "use_spectral_norm": https://github.com/victorca25/BasicSR/blob/14aced7d1049a283761c145f3cf300a94c6ac4b9/codes/models/modules/architectures/discriminators.py#L600
This version of the discriminator_vgg_fea will automatically adapt to the image crop size (128, 256, etc), while patchgan automatically work on patches of 70x70 by default.
Neither of the two flags appear in the example configuration template yaml or json, but both are fully set up to work by just adding the flags to the file:
https://github.com/victorca25/BasicSR/blob/14aced7d1049a283761c145f3cf300a94c6ac4b9/codes/models/networks.py#L322
https://github.com/victorca25/BasicSR/blob/14aced7d1049a283761c145f3cf300a94c6ac4b9/codes/models/networks.py#L332
I haven't been able to do a full ablation study with spectral norm, but initially didn't notice much of a difference on the results, but it could be that I didn't train for long enough.
If you could test it out, it would be very valuable feedback to see if I should expose the flags and add it to multiscale patchgan as well!

Okay, I'll train a couple ESRGAN models with LSGAN and feature extraction, one without spectral normalization and show you the results.
I'll work on it this week.

Here are the results from the training:
https://drive.google.com/file/d/1qLymsiDAkQy5LJgSJYjn-hwjmmUrT0OW/view?usp=sharing
I used the Flickr2k dataset with val being crops from the image files with the largest file size.
It seems that there might be a bug with spectral normalization. If you look at the discriminator results for SN in tensorboard, they have no negative values which could mean the discriminator is no longer relativistic.
What do you think?

Hello! I haven't been able to visualize the TBs yet, but I'll check the spectral normalization bits. The logic itself doesn't change with or without SN, so it initially leads me to believe that other parameters could need fine-tuning due to the change with the SN. If all discriminator results come out as positive, that means that all images are being labelled as "real", so it's not being able to tell fake from real.
Another option to the fine-tuning could be to make the discriminator focus on just the high-frequency parts of the images (enabling the "Frequency Separator" part of the configuration file) or making the generator work harder with batch augmentations ("Batch (Mixup) augmentations" in the config file).
Other than that, how do the image results compare with and without using SN?
Thanks for your tests, they help a lot!

I couldn't tell a difference visually between sn and no_sn even using ImageMagick to show me where the differences were.
https://drive.google.com/drive/folders/1VZ5xe4J8r5_2MA7v1wJvzmycaZTZK8Px?usp=sharing
The diffs are in diff.zip. Red pixels mean at least a 3% difference in pixel color.
Thank you for taking a look at the spectral normalization bits. If you find something please let me know.


separate HGZB-01A and HGZB-02A and update model numbers

Also requires https://github.com/Koenkk/zigbee2mqtt/pull/1844 to be commited

Thanks!


Make error message for conflict contain suggestions of a couple resolution paths

I started here: https://discuss.codemirror.net/t/how-can-i-help-make-grammar-authoring-less-terse-unhelpful/6286/1
My hope is to learn Lezer by helping the errors reported be less terse, and provide a little more guidance.
What has been done in this PR is focused around the overlapping tokens message, and the suggestions added may not be complete, but it's a start! We can iterate and improve the messaging together.

As an aside, I noticed there was no CONTRIBUTING.md, dev section of the README, or .github/ci.yml, so I'm not sure how to run the tests, I kept getting errors locally.

Update!
npm run build main && npm run test passes!
so, that means there is no test testing for an exact error message

I don't think recommending @precedence in this error message is a good idea, since that is often only going to get people deeper into the hole. In the situation you mentioned in the forum thread, for example, unless I entirely misunderstand what the grammar is doing, what you need to do is make sure Text and identifier don't appear in the same context in the grammar. Giving one of them precedence over the other is just going to break things even worse.
And that's a general thing about adding suggestions to error messages—they cannot change the fact that the user has to understand what they are doing. And if they aren't done in a really careful way, they will only steer users in the wrong direction.

since that is often only going to get people deeper into the hole.

Then the error message should steer folks out of the whole, and recommend not using precedence, and provide a way out


Provide a 'Changelog' link on rubygems.org/gems/devise-i18n

By providing a 'changelog_uri' in the metadata of the gemspec a 'Changelog' link will be shown on https://rubygems.org/gems/devise-i18n which makes it quick and easy for someone to check on the changes introduced with a new version.
Details of this functionality can be found on https://guides.rubygems.org/specification-reference/

Thanks!


Citation key format of the exported library cannot be changed

Why is the citation key format of the exported library not changed after I changed this item?

My Export setting:

Zotero version: 5.0.97-beta.64+ae7bfe7f4
BBT version: 6.1.10
Support log ID: FLDPD8VC-apse

https://retorque.re/zotero-better-bibtex/citing/:

note that changing the pattern used to cause all your non-pinned keys to be regenerated in Zotero 4. In Zotero 5, this is no longer the case; changing a pattern will only affect references being created/changed after you changed the pattern. If you want your keys to update after a pattern change you will have to select your references, right-click, and select Refresh. This will not affect keys you have pinned.

@retorquere Solved. Thank you!


ACL plugin validation bug

I have a defined Service which has a route. I want to add key-auth plugin to that Service. When I try to add Consumer ID, it says field should be null. If i keep it empty, it adds it for all Consumers that exist. Why is it that way? Why can't I have it for specific Consumer?

UPDATE
Okay, I figured I needed to add an ACL to the Service and ensure the Consumer is in the group that I want to whitelist. However whenever I keep getting this error when I try to whitelist groups in the ACL plugin.

How is it possible? I have foo in whitelist and nothing in blacklist. This should satisfy the validation rule however it still gives me error!

I opened DevTools and noticed even though I am providing foo to whitelist, the config object in the request is EMPTY!

I encountered the same issue, can anyone help?

Guys, did you press enter after typing the value in the whitelist? There's a chip component handling array like structures.

@pantsel yes I did. Have a re look at this screenshot. foo is entered (chip is there) but when I submit, I still get an error.

What version of Konga are you using?

I'm using the next version from Dockerhub

next version from DockerHub

Fixed the bug on next. Doing some extra tests and moving it to prod


jsonrpc: fix uncaught exceptions in ReadableStreamMessageReader

Fixes #870

Closing in favor of https://github.com/microsoft/vscode-languageserver-node/pull/1151


Support data URI or local files for icon images?

Is it possible to support a data: URL or use an icon locally? (especially when running ManifoldJS from node, not the site)

Actually, supporting icons from URLs that are not the parent/app site would be helpful too.

Thanks for making this suggestion. I added to the backlog.

Hey Voltages,
The more I think about your idea the more I like it.  However I did some research and there is no indication that the spec will support that, and we are trying to stay within the scope of the manifest for the input.  Would you like us to propose this to the spec working group?  We will follow up with them either way

It should work, as that's controlled by CSP... so, so long as the CSP policy allows it, it should be doable :+1:

(having said that, I've not tested it in any implementations... I recommend trying this idea maybe in Chrome)

I'll try it out and see what I can find.  My worry was with the whatwg icon spec and it's "external resource" text.  I might just be reading too much into the wording though.  If it's within the scope of the spec and especially if it's initial implementation supports it, we will add support.
I want to be cautions that ManifoldJS doesn't move some place contrary to the spec, as one of the goals is to increase adoption of the spec by both devs and user agents.

In the latest draft of the W3C manifest spec, we've removed the association with link rel=icon (i.e., they are now completely different things and serve completely different purposes: the link rel=icon of a page is for that page; while the icons member in the manifest are for the application).
Can you clarify a bit more about what your concerns are? From an browser perspective, where one acquires the icon from is determined by the interaction of Fetch and CSP - so if there is nothing in the CSP preventing fetching and processing a data: URL, then it should be no problem (so long as the format is one supported by the underlying OS)

Actually if you have removed the association with the link icon spec, that I have no concerns.  I was trying to reconcile the two but I have always felt like the link icon spec was a bit "old world".
I like your tie it with CSP as well, I feel like we should make that part of the docs to encourage devs to implement CSP whenever enabling access to APIs (I think FFOS does this by design, but not a requirement for win10 or the Cordova pollyfilled apps)

According to the Microsoft Edge Web Platform Summit, packaged apps on Win 10 will have a default CSP policy:
script-src: ms-apps: data: 'unsafe-eval'; style-src ms-appx: data: 'unsafe-inline' object-src 'none'; font-src ms-appx: data:;
(local content is loaded through ms-appx-web:///)

Having said that, one should never explicitly write "ms-appx-web:///" in an app.

Is there an update on this? I'm trying to build a Cordova app with ManifoldCordova and was quite surprised that even file:// isn't supported.


Drop HVPA job from shoot Prometheus

How to categorize this PR?

/area monitoring
/kind cleanup
What this PR does / why we need it:
It does not use these metrics in any way. If they are needed in the future, they should be federated from the cache prometheus by applying the following diff:
diff --git a/charts/seed-monitoring/charts/core/charts/prometheus/templates/config.yaml b/charts/seed-monitoring/charts/core/charts/prometheus/templates/config.yaml
index 8770f7c34..948f91db9 100644
--- a/charts/seed-monitoring/charts/core/charts/prometheus/templates/config.yaml
+++ b/charts/seed-monitoring/charts/core/charts/prometheus/templates/config.yaml
@@ -188,7 +188,6 @@ data:
         'match[]':
         - '{job="cadvisor",namespace="{{ .Release.Namespace }}"}'
         - '{job="kube-state-metrics",namespace="{{ .Release.Namespace }}"}'
+        - '{job="hvpa-controller",namespace="{{ .Release.Namespace }}"}'
         - '{__name__=~"metering:.+",namespace="{{ .Release.Namespace }}"}'
       static_configs:
       - targets:

/cc @istvanballok
Release note:

NONE

/test pull-gardener-e2e-kind-upgrade

/approve


Added sk_SK (slovak) localization

Hello Anders,
As promised today, pull request for Slovak translation ...
V.

Nice :)
https://github.com/andersevenrud/OS.js-v2/wiki/Hall-of-Fame
:+1:

Cool! :-)


connectorx does not work in Google Colab

I cannot get connectorx to work on Colab.  The following code sections execute fine locally in Jupyter Lab, but produce errors when run in Colab.
I thought this feedback might be helpful.  Code examples are below.
====================================
USING CONNECTORX ON ITS OWN
!pip install connectorx
import connectorx as cx
import pandas as pd
con = "mssql://username:password@server:1433/database";
query = "SELECT * FROM table_name"
df = cx.read_sql(con, query)
df
RuntimeError                              Traceback (most recent call last)
 in
2 con = "mssql://username:password@server:1433/database"
3 query = "SELECT * FROM table_name"
----> 4 df = cx.read_sql(con, query)
5 df
/usr/local/lib/python3.8/dist-packages/connectorx/init.py in read_sql(conn, query, return_type, protocol, partition_on, partition_range, partition_num, index_col)
222             raise ValueError("You need to install pandas first")
223
--> 224         result = _read_sql(
225             conn,
226             "pandas",
RuntimeError: Timed out in bb8
====================================
USING CONNECTORX WITH POLARS
!pip install connectorx
!pip install polars
import connectorx as cx
import polars as pl
con = "mssql://username:password@server:1433/database";
query = "SELECT * FROM table_name"
df = pl.read_sql(query, con)
df
RuntimeError                              Traceback (most recent call last)
 in
3 con = "mssql://username:password@server:1433/database"
4 query = "SELECT * FROM table_name"
----> 5 df = pl.read_sql(query, con)
6 df
1 frames
/usr/local/lib/python3.8/dist-packages/connectorx/init.py in read_sql(conn, query, return_type, protocol, partition_on, partition_range, partition_num, index_col)
255             raise ValueError("You need to install pyarrow first")
256
--> 257         result = _read_sql(
258             conn,
259             "arrow" if return_type in {"arrow", "polars"} else "arrow2",
RuntimeError: Timed out in bb8
===================================================

It seems like the error is due to the database connection timeout. Can you make sure you can access your database through colab?


[HUDI-3918] Improve flink bulk_insert perform for partitioned table

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
Improve flink bulk_insert perform for partitioned table
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Close this since https://github.com/apache/hudi/pull/5590 has fix it


HELP NEEDED! How to get the value of current Resource

I want to learn two things.

I want a way to find out the value of the currently active resource.
When the user switches the resource I want to know a way to find out newly active resource.

Providing more details below:
I have a use case which requires to execute certain logic based on the value of active resource. So based on the picture as currently David Hair is active, I need a way to fetch its value and second when user switches to Jennifer I need to know and execute my logic.

PS: I am using version 2.7.8, I am fetching data remotely.

You can know which resource is selected first on your component level, first resource selected is the one that has at least 1 event.
After #392, you can use onResourceChange prop to track  tab change


Sonar eqns

@BruceMty I have added the sonar equations. For now, I have set the source level (sl) and target strength (ts) to set values. Transmission loss is a function of range.

For readability, please spell out 2-letter variables, for example for el use echo_level.  For variables that are core to the math it might be preferable to have short names.  In that case, please label them where they are defined, for example "float el ...    // the echo level...".
Currently, variable el is calculated but not used.  Please comment out all variables that are not used.
Variable "angle" is not progressing.  After each iteration, add laser_msg.angle_increment to angle.

@BruceMty Unused equations have been commented out, let me know if it anything else needs to be done

Great, this helps clarify the intent of the code, thanks.  Good to go.


[BUG] The recent "Move examples to the repo root" commit broke rust-analyzer for the examples

** TLDR **
Reverting the recent a9c0e46e97fa4342e017a481f9e5b7a2f9d490d0 commit fixes the issue. It appears that LSP functions when the "examples" directory is in the root of a crate, but not the root directory of a workspace.
Describe the bug
When I load any of cursive's examples/*.rs files in an editor, rust-analyzer is broken. It appears to not function, as if it were not source code.
This is true for VSCode, nvim, and helix. Seems to be a behavior of rust-analyzer itself and not the editor.
To Reproduce
Edit any of examples/*.rs files and try to do something like "Go to definition" of a Cursive API. It doesn't work.
Make an obvious typo edit in the file. No error is shown.
Expected behavior
Code navigation features, such as "Go to definition" function. This is a great way to explore a new package, so it would be nice if this worked.
Environment
Debian Linux in a recent git clone of https://github.com/gyscos/cursive
Additional context
Explicitly editing files with names examples/cursive/examples/*.rs does not work, so that doesn't appear to be an available workaround.

Eh~~ I could very well revert that commit, since it didn't work as intended anyway.

this is fixed

Another way to put the examples in the root and still use a workspace is to give each example a working Cargo.toml. I saw this done in the velo repo, and verified that rust-analyzer works fine.
For example: https://github.com/linebender/vello/tree/9a98543c03c954732ac1dc202dd1181fbd515e36/examples/simple

Should be fixed now, feel free to re-open if you think you're still having this issue.


arm image

I am basically having the same issue as #4401
-Using Raspberry Pi OS arm on Raspberry Pi 4 -4gb.
-I've been using this to install Portainer for the last few weeks without error till I tried running it today:
docker run -d -p 8000:8000 -p 9000:9000 --name Portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
-I've tried portainer/portainer-ce:linux-arm and I always get the same error message:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
-I tried using the Raspberry Pi OS x64 beta and it give basically the same error.
Is there anything that could have caused it to stop working recently? I have two Pi's running the same setup, os and all and the other one is running fine but when I try to start fresh on this one I get only errors. I'd prefer to only use Raspberry Pi os as that is how the other Pi is setup. Any ideas?

what's your docker version? image portainer/portainer-ce:latest should be a multi-arch. I was found issue like this on raspberry, caused by docker beta version. you can look at #4465

@ametdoohan Thank you for your help!!
Docker version is 20.10.0 it was installed using curl -sSL https://get.docker.com | sh
It doesn't seem to be beta anymore - but there appears to still be issues.
Downgrading to 19.03.13 seems to fix it.

@byrnes-patrick Could you provide the command used to rollback to 19.03.13? I have the exact same issue but I'm still a n00b and can't seem to figure it out. Thx

@whozur I didn't rollback to the working version, but I did a clean install that works with the command:
wget -qO- https://get.docker.com/ | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh
It seems to work, I'm sure there's a better way to do it, but I'm a novice too and this worked for me.

👍 thanks!

@whozur I didn't rollback to the working version, but I did a clean install that works with the command:
wget -qO- https://get.docker.com/ | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh
It seems to work, I'm sure there's a better way to do it, but I'm a novice too and this worked for me.

Thanks for your tip. Your command wasn't working, I had to use this
curl -sSL https://get.docker.com  | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

For me too.

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

For me too. I tried a bunch of arm related tags at https://hub.docker.com/r/portainer/portainer-ce/tags?page=1&ordering=last_updated and all came back as  the above error.

@whozur I didn't rollback to the working version, but I did a clean install that works with the command:
wget -qO- https://get.docker.com/ | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh
It seems to work, I'm sure there's a better way to do it, but I'm a novice too and this worked for me.

Thanks for your tip. Your command wasn't working, I had to use this one after a clean uninstallation
curl -sSL https://get.docker.com | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh

If I try this it replies with:
E: Packages were downgraded and -y was used without --allow-downgrades.
But docker --version still shows Docker version 20.10.1, build 831ebea.

@whozur I didn't rollback to the working version, but I did a clean install that works with the command:
wget -qO- https://get.docker.com/ | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh
It seems to work, I'm sure there's a better way to do it, but I'm a novice too and this worked for me.

Thanks for your tip. Your command wasn't working, I had to use this one after a clean uninstallation
curl -sSL https://get.docker.com | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh

If I try this it replies with:
E: Packages were downgraded and -y was used without --allow-downgrades.
But docker --version still shows Docker version 20.10.1, build 831ebea.

@whozur I didn't rollback to the working version, but I did a clean install that works with the command:
wget -qO- https://get.docker.com/ | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh
It seems to work, I'm sure there's a better way to do it, but I'm a novice too and this worked for me.

Thanks for your tip. Your command wasn't working, I had to use this one after a clean uninstallation
curl -sSL https://get.docker.com | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh

If I try this it replies with:
E: Packages were downgraded and -y was used without --allow-downgrades.
But docker --version still shows Docker version 20.10.1, build 831ebea.

You have to uninstall docker before installing an older version

@whozur I didn't rollback to the working version, but I did a clean install that works with the command:
wget -qO- https://get.docker.com/ | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh
It seems to work, I'm sure there's a better way to do it, but I'm a novice too and this worked for me.

Thanks for your tip. Your command wasn't working, I had to use this one after a clean uninstallation
curl -sSL https://get.docker.com | sed 's/docker-ce/docker-ce=5:19.03.13~3-0~raspbian-buster/' | sh

If I try this it replies with:
E: Packages were downgraded and -y was used without --allow-downgrades.
But docker --version still shows Docker version 20.10.1, build 831ebea.

You have to uninstall docker before installing an older version

Any update to this other than downgrading docker?

Any update to this other than downgrading docker?

I see this issue is closed, but I'm also interested in the long term solution.

I see this issue is closed, but I'm also interested in the long term solution.

We're gonna be tackling this in https://github.com/portainer/portainer/issues/4663 so I'd suggest following the discussion in that other issue.

We're gonna be tackling this in https://github.com/portainer/portainer/issues/4663 so I'd suggest following the discussion in that other issue.


Error 500, when pharmacist tries to create medication dispence, PREPROD, #J1252

See details in related support ticket
https://zube.io/edenlabllc/e-health/tickets/284

Update "search active contract" logic
Get only active ("VERIFIED") contract that is valid in current period
start_date <= current_date
end_date >= current_date

done for preprod


chore(js): addlint rules for import order: eslint 'import/order' edition

Overview
Closes #5624
This is an alternative to #6028, using the eslint-plugin-import/order plugin instead.
Changelog
Review requests
Preferred to #6028?
Risk assessment

I think that this PR is a much smaller diff compared to #6028 is a good sign. A few follow ups:

The eslint-plugin-import version that we use is out of date and missing configuration options for the order rule
Should we configure @opentrons/** imports as "internal" rather than "external"?
All the import order plugins cause type and code imports to be mixed; does this make things harder to read?
The plugin allows configuring whitespace between the import groups; should we enable that?


Optional: impromptu tutorials

Lead: Awesome People
Date: 22/08/2024
Start Time: 0945
Duration: 45
Description: Things not in the original schedule worth sharing based on interest
Details

Learning Outcomes

outcome1
outcome2
outcome3

People Developing the Tutorial (content creation, helpers, teachers)
Summary Description
Dependencies (things people should know in advance of the tutorial)
Technical Needs (GPUs? Large file storage? Unique libraries?)

Closing this as a specific schedule slot in favor of during-the-event impromptu tutorial scheduling as needs are identified.


Fixed crash when running the scan command

Updated the getSortPackageScores function to fix the crash in the scan command.
Fixes: https://github.com/kubescape/kubescape/issues/1533
Overview

@matthyx Could you please review this PR whenever you have some spare time? Thanks!


Too few control units error

Hi
While using this package, I get raise ValueError('Too few control units: N_c < K+1')
I get the following error:
vs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
dfvs: (625, 22)
Traceback (most recent call last):
  File "/Users/vmullachery/mine/NYU/fall2018/probabilistic-gwas-playgound/framework/acic_init.py", line 107, in <module>
    init_data(args)
  File "/Users/vmullachery/mine/NYU/fall2018/probabilistic-gwas-playgound/framework/acic_init.py", line 84, in init_data
    cm(allf, list(allf.columns.difference(['A','Y']).values))
  File "/Users/vmullachery/mine/NYU/fall2018/probabilistic-gwas-playgound/framework/acic_init.py", line 24, in cm
    X=df[vs].values
  File "/Users/vmullachery/anaconda/envs/dl3.6/lib/python3.6/site-packages/causalinference/causal.py", line 17, in __init__
    self.old_data = Data(Y, D, X)
  File "/Users/vmullachery/anaconda/envs/dl3.6/lib/python3.6/site-packages/causalinference/core/data.py", line 63, in __init__
    raise ValueError('Too few control units: N_c < K+1')
ValueError: Too few control units: N_c < K+1

The code I am using:
print('vs:', vs)
print('dfvs:', df[vs].shape)
cm = CausalModel(
        Y=df.Y.values,
        D=df.A.values,
	X=df[vs].values
)
# OLS
cm.est_via_ols(adj=1)

Actually, I got this resolved. Just needed to carefully inspect the following:

the number of treated
the number of control

print(df[df.A==1].shape)
print(df[df.A==0].shape)

In my DataFrame there were zero controls


[BUG]

CharacterOptions+.zip
I was going through each mod I have one by one to see which was giving errors and warnings by itself at startup (though I also had ModMenu, Mewsifer Console, and Mewsifer Console Menu. And often TT Core and Base since many mods rely on those). This gave an error about DLC 4, which a few other mods did as well but most didn't. It also gave many warnings about blueprints failing validation.
To reproduce go to ModFinder and have active this mod and only ModMenu, Mewsifer Console, Mewsifer Console Menu, TT Core and TT Base. Then start WotR and wait until get to main start screen. The warnings and error should be in the console by then.

Thanks for the report, I'll take a look. The warnings are a known issue but shouldn't cause any issues. Most of the warnings are because of Owlcat bugs.


⚠ Bofrost.be has degraded performance

In 737f609, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1005 ms

Resolved: Bofrost.be performance has improved in ec5b690.


Update carthage frameworks.

Thank you for your contribute!
I turn over to https://github.com/yonekawa/SwiftFlux/pull/26


fixed issued_at bug on certain browsers for issue #3466

Resolves #3466
Description
I can recreate this issue on Firefox, but not on Edge.
The form input for issued_at was an as: datetime
This showed up in Edge with a date and time interface but on Firefox it shows only a date interface.
Firefox sends nothing for issued_at and for some reason it gets filled in as the created_at time before getting inserted in the table
I've changed the form input to be as: date which fixes this issue but removes the ability to select a time.
This may not be a good solution if the time is required, the label just says "Distribution date" so I think it's fine?
I'm assuming this will also fix Safari but I haven't tested it
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
There are already tests for this in the distribution_requests spec.
A test for this bug would need to be browser specific
I'm assuming the tests passed in the first place because rspec uses chrome

Hey @cotabas
Alas -- I know it says the distribution date,  but this is the value used for scheduling, so I'm afraid we need the time available.  [Makes a mental note to put a "good first issue" in to change the label]
It did work on Chrome, though!   (which is something)
I wonder if the tests are not right -- because I definitely see the problem on Chrome before this.


update load url

fix for issue #87

Oh, sorry, I fixed the url myself and noticed your PR later.. Thank you anyway, it's released in version 4.3.3


Category editing accessible when not logged in

Steps to reproduce:

Open the app, latest master
Log out
Tap "Explore"
Tap any picture
In the "Categories" section, tap the pencil icon
Tap the loop icon
Type "Test"
Select the "Test" category
Tap "Update categories"
The UI shows the category as being added
Tap ... and View file page, observe that the category has not really been added

The bug is at step 5. If not logged in, the icon should not be present.

I have opened PRs for all the issues assigned to me. So, can I work on this ?

can i work on this issue

@mrudultora It is yours thanks!


Turn off climo file generation (for non-h0 files that won't be used)

New feature type
New infrastructure or infrastructure enhancement
What is this new feature?
In the config.yml, when we comment out time_averaging_scripts: create_climo_files it fails. (Will will reply with the error).
It would be great for the non-h0/MDTF applications if we didn't have to wait while it makes climo files that won't be used.
Assistance required?
Yes, I will need some assistance before making a PR
Extra info
No response

Here is the Traceback error when time_averaging_scripts are turned off:
Traceback (most recent call last):   File "/glade/work/wchapman/ADF_dani/./run_adf_diag", line 167, in <module>     diag.create_climo()   File "/glade/work/wchapman/ADF_dani/lib/adf_diag.py", line 730, in create_climo     self.end_diag_fail(emsg)   File "/glade/work/wchapman/ADF_dani/lib/adf_base.py", line 83, in end_diag_fail     raise AdfError(msg) adf_base.AdfError: No time_averaging_scripts provided for calculating climatologies, but climatologies were requested. Please either provide a valid averaging script, or skip the calculation of climatologies.


chore(demo-site): remove workflow

This PR removes the publish-demo-site workflow as it is no longer needed. The demo-site package has been removed from this project, and https://carbon-design-system.github.io/devtools/ is published from the gh-pages branch of this repo.
Changelog
Removed

Removed github workflow for publishing the demo site from the base branch.

Testing / Reviewing
{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}

Unfortunately, I overlooked the workflow to build the gh-page. It is used to generate the codes for the gh-page branch and that is why it is called "deploy-gh-page". See https://github.com/carbon-design-system/devtools/actions/runs/9210743497/job/25338451733#step:5:30


Add basic e2e tests

Add basic e2e tests with cypress
Related to #65.
preview of npm run dev:e2e

this should be running in ci too - https://travis-ci.org/yubathom/postwoman/builds/593324131
at before_scripts

wich should give some reports at every pull requests

New scripts:

npm run tests - run tests once in cli mode. Now just these e2e. In future we should run unit tests too.
npm run dev:e2e- will start localhos:3000 and run e2e tests within cypress app browser. This is the default mode to tdd.

Notes:

I'm not mounting and testing the docker container. Just testing the dev server (run dev) mounted at the travis-ci.
Though would be a better approach (running on docker) the dev server is the same enviroment that is deploying the front end. So I think this should be enough right now.
Cypress is awesome and we can add fake backend responses to run tests (see  tests/e2e/fixtures/ and tests/e2e/support/commands.js). We should create some fixtures of firebase. Something like this.
We should write more tests. Any ideas?

Hey @yubathom,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: bf9ad560-e648-11e9-9927-991e8c29daea

This is AWESOME ✨
We'll write more tests 👌

Tiny suggestions for clean code
https://www.deepcode.ai/app/gh/liyasthomas/postwoman/3ad814ebb71019ca1e9707e4338bacda1af7c0ad/liyasthomas/postwoman/ade7733d4751402cb46def4b4c3cf293b02706bf/_/%2Ftests%2Fe2e%2Fintegration%2Ffeature.url-queries.spec.js/javascript%2Fdc%2FPROMISE_NOT_CATCHED_GENERAL/code/

@NBTX seems to be busy for review. @yubathom can merge this on your requirements.
After merge, we could add more tests.

Tiny suggestions for clean code
https://www.deepcode.ai/app/gh/liyasthomas/postwoman/3ad814ebb71019ca1e9707e4338bacda1af7c0ad/liyasthomas/postwoman/ade7733d4751402cb46def4b4c3cf293b02706bf/_/%2Ftests%2Fe2e%2Fintegration%2Ffeature.url-queries.spec.js/javascript%2Fdc%2FPROMISE_NOT_CATCHED_GENERAL/code/

Hey @liyasthomas, thank you for reviewing and merging. And sorry co's I've got sick and was out theese days.
I tested the deepcodecheck changes and that broke the tests. I think is because I am not able to catch in cypress promises.
I will check at cypress docs and look for workarounds to keep the tests code cleaner in future tests.

And just deleted at travis the envs SURGE_LOGINand SURGE_TOKEN.
Those were required to already closed #151 and #148.


add doom fire algorithm example

Adds an implementation of the DOOM fire rendering algorithm

I want to contribute with this example but I did not find a guide how to contribute, so I just sent this PR.

Thank you for the PR! I'd be very happy to add this fire example to the Ebiten examples after my review!


Release Wasmtime 23.0.2

This is an automated pull request from CI to create a patch release for Wasmtime 23.0.2, requested by @alexcrichton.
It's recommended that maintainers double-check that RELEASES.md is up-to-date and that there are no known issues before merging this PR. When this PR is merged a release tag will automatically be created, crates will be published, and CI artifacts will be produced.

I believe @pchickey would like to do another backport as well, so I'll hold off on merging this until that's in as well.

What about https://github.com/bytecodealliance/wasmtime/pull/9118/files?  This prevent us from upgrading.

The backport of 9100 has landed in the release branch so it will be part of the release when this merges.

Great.  Thanks!


add health services and reflections to our server gRPC endpoints

@YrrepNoj this lgtm for the moment, I'm going to PR in the aio grpc changes which may change this, but want to get my branch in line with main first


Add a way to specify padding/ margins between sprites in a TextureAtlas.

Occasionally, it's useful to be able to specify margins between sprites in a TextureAtlas, like for using Kenney.nl sprite sheets
e.g.

(https://www.kenney.nl/assets/roguelike-rpg-pack)

I hope that I understood your comment, @cart. I was also unsure whether the TextureAtlass size should be the size of the texture or the what I currently have (tile size * columns/ rows).
Thanks for the comments!

Yeah I think i made the wrong choice when I wrote the initial from_grid api, so thats on me :smile:
I'll take a look at the changes today

Oh no I forgot to look at this! Sorry about that. Looking now.

First, we'll want to update the sprite_sheet.rs example to account for this change. It uses 24x24 sprites, so the setup system should look like this:
fn setup(
    mut commands: Commands,
    asset_server: Res<AssetServer>,
    mut texture_atlases: ResMut<Assets<TextureAtlas>>,
) {
    let texture_handle = asset_server
        .load("assets/textures/rpg/chars/gabe/gabe-idle-run.png")
        .unwrap();
    let texture_atlas = TextureAtlas::from_grid(texture_handle, Vec2::new(24.0, 24.0), 7, 1);
    let texture_atlas_handle = texture_atlases.add(texture_atlas);
    commands
        .spawn(Camera2dComponents::default())
        .spawn(SpriteSheetComponents {
            texture_atlas: texture_atlas_handle,
            scale: Scale(6.0),
            ..Default::default()
        })
        .with(Timer::from_seconds(0.1, true));
}

This currently doesn't render correctly because the Rect::min and Rect::max values aren't correct:
                sprites.push(Rect {
                    min: Vec2::new(tile_size.x() + x_padding, tile_size.y() + y_padding),
                    max: Vec2::new(
                        (x + 1) as f32 * tile_size.x(),
                        (y + 1) as f32 * tile_size.y(),
                    ),
                })

here min will always either be "tile_size" or "tile_size + padding". max handles tiles size offsets correctly, but it doesn't handle the padding (which also needs to be accounted for).

I got a little excited last time and pushed before really thinking about it. The code should now work as I was expecting it to. Sorry!


The browser UI is connecting to the Web Socket Server twice

When launching the browser viewer, open the chrome dev tools network inspector and look for requests to /viewer.
You'll notice that there are two of them, but these should only be one.  Could be a re-render bug in the code which connects (in CollectorClient.ts).

Done in #45


proxies.json still work?

I am unable to get proxies.json to re-route my rendering url of swagger API
We run Azure functions (.NET6) with versions:
Azure Functions Core Tools
Core Tools Version:       4.0.3971 Commit hash: d0775d487c93ebd49e9c1166d5c3c01f3c76eaaf  (64-bit)
Function Runtime Version: <IP_ADDRESS>15

Upon following the instructions found here.
I was not able to get the alternative path /swagger/ui working, it still only renders at /api/swagger/ui

The json file reside in our root of the project itself.
proxies.json
{
  "$schema": "http://json.schemastore.org/proxies",
  "proxies": {
    "swaggerUI": {
      "matchCondition": {
        "methods": [ "GET" ],
        "route": "/swagger/ui"
      },
      "backendUri": "%OpenApi__BackendProxyUrl%/api/swagger/ui"
    },
    "swaggerDoc": {
      "matchCondition": {
        "methods": [ "GET" ],
        "route": "/swagger.{extension}"
      },
      "backendUri": "%OpenApi__BackendProxyUrl%/api/swagger.{extension}"
    }
  }
}

local.settings.json
"OpenApi__BackendProxyUrl": "http://localhost:7072",
"AZURE_FUNCTION_PROXY_DISABLE_LOCAL_CALL": "true",

project.csproj
<ItemGroup>
    <None Update="proxies.json">
        <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </None>
</ItemGroup>

I tried to set the CopyToOutputDirectory to both Always and PreserveNewest. This did not change its behaviour.

well i guess this explains the issue ? azure-functions-core-tools #2727

As @ClumsyPenguin provided the link, from the v4 runtime, the proxies.json feature is no longer supported. Instead Azure API Management Consumption Tier is recommended for that purpose.

What about local development?


Post v9 ci chages

Background
A while ago I made a CI system for Gaia that would do statesync in CI using all of the supported databases.
Here is an example of it running:
https://github.com/tendermint/tm-db/actions/runs/2439480213
Suggested Design
I want to replicate this for osmosis v9 and begin to track rpc performance against live nodes in ci.
But this adds several jobs that will take over five minutes.
Acceptance Criteria
Mainly want to get thoughts on this from @ValarDragon , @p0mvn , and @catShaark since I know they're engaged on performance work.

I think this is a great idea. We already have WIP to enable e2e state sync tests in:

https://github.com/osmosis-labs/osmosis/pull/1613
https://github.com/osmosis-labs/osmosis/pull/1572

Since e2e is state synching from a local testnet, it should be pretty quick (under 1-2 minutes). There is going to be no support for several db backends in the beginning but it would be very useful to add it in the future. I think we should definitely enhance e2e with support for rocks or other database that we are recommending

Is there anything that we can't do in e2e and only with live nodes?
If yes and having live nodes is desired, I think we could enable this job to run only on merge to main branch to avoid letting developers wait for pull request CI to pass

Hi @faddat . I'm going to close this issue since it has been stale for over a month. Please let me know if you would like to continue discussing anything here


Add Cert-Manager Support

Use cert-manager as a CertDX Client

Consider remove release.py and using github ci to build it?


(maint) refactor acceptance rakefile and options files

This change contains many changes to the acceptance Rakefile to put most
of the options back in the options files and use new beaker features for
creating preserved_hosts files.
It removes some of the functionality in parsing log files, but this was
all broken by beaker changes anyway. If people need this we can add it back in at that
time.
[skip ci]

I just tried be rake ci:test:aio SHA=1.2.2 TEST=tests/no_errors_on_stderr.rb CONFIG=config/nodes/redhat-6-x86_64.yaml and it didn't work with this PR.

thanks @MikaelSmith.
didn't realize i had removed that.  probably should be deprecated to match beaker's option deprecation

:+1: this looks ok to me.

I'd vote for some more feedback before merging.

yes, please.  @joshcooper if you get a chance, some perspective on this would be great.  i'm going to PR something similar against puppet and hiera after this goes through.
later we should probably fix the git method for facter (pull source and build it on the SUT)

Needs a rebase now.

@MikaelSmith done.

Needs a rebase, and @joshcooper did you have any input?

@MikaelSmith done.

@er0ck @MikaelSmith It's been six weeks with no activity. Should this be rebased/resurected post-agent-1.3.0?

yeah... i'll refactor this and address josh's concerns this week

@MikaelSmith rebased and ready to go.

:+1: on deleting code. I'll try it out and make sure some workflows still work.

This looks ok. I say merge it and see how yells.
On a side note, maybe we should remove the git and package targets unless we expect to make them work.

good idea removing the package options for sure.  i don't think we have packages?
the git option we should probably remove under YAGNE rules.  can add it back and make it work if we want it.

Agreed on all counts. Let it rip and see what falls out. Including +1 on removing git/package, since they're  bitrotted/obsolete at this point.

FYI, passed in CI after the merge.