Error: An error occurred validating 'args'

Getting error after running command :
kurtosis run --enclave-id eth2 github.com/kurtosis-tech/eth2-package "$(cat /mnt/nvme/eth2-package/eth2-package-params.json)"
Im Edit Some files on src and static
Logs :
Error: An error occurred validating arg 'args'
 --- at /home/circleci/project/cli/cli/command_framework/lowlevel/lowlevel_kurtosis_command.go:290 (LowlevelKurtosisCommand.MustGetCobraCommand.func2) ---
Caused by: Error validating args, likely because it is not a valid JSON.
 --- at /home/circleci/project/cli/cli/commands/run/run.go:389 (validatePackageArgs) ---

fixed, but i cannot access RPC Api for my chain on <IP:8545>
@h4ck3rk3y

Hey!
What IP are you using? The port is internal to the enclave network so it can't be accessed from the docker host machine.
Can you talk more about what workflow you are trying to achieve?

If you do a kurtosis enclave inspect <enclave_name> you will be able to see the host machine port mapping

thankyou sir, but after sucess execution and i see the docker go-ethereum chain_id still 3151908 before execution im change to 1881  so that there is no dispute
"network_params": {
//  The network ID of the Eth1 network
"network_id": "3151908", --> 1881
......
}

@h4ck3rk3y

Can you tell me what you mean by "so that there is no dispute"?
Can you tell me more about your use case please?

kurtosis run  github.com/kurtosis-tech/eth2-package '{"network_params": {"network_id": "1881"}}'

I can see that it prints 1881 on the second line "Launching participant ...."

what I mean is how to change some of the files in it to be implemented in the VM. previously I changed in eth2-package-params.yaml mnemonic, networkid, secondperslot, etc. and some files in src but after running it I see the config is like genesis.json in docker chainId still like default. is this file not specifically to be changed?
eth2-package-params.json
{
"global_client_log_level": "info"
}

kurtosis run --enclave-id eth2 github.com/kurtosis-tech/eth2-package "$(cat /home/kurtosis-tech/eth2-package/eth2-package-params.json)"

okay, thanks I will try it first if there is a mistake I will come back sir!
And here is my yaml file sir:
eth2-package-params.yaml
{
    //  Specification of the participants in the network
    "participants": [
        {
            //  The type of EL client that should be started
            "el_client_type": "erigon",
            "el_client_image": "erigon",
            "el_client_log_level": "info",
            "el_extra_params": [],
            //  Valid values are "nimbus", "lighthouse", "lodestar", "teku", and "prysm"
            "cl_client_type": "prysm",
            "cl_client_image": "prysm",
            "cl_client_log_level": "info",
            "beacon_extra_params": [],
            "validator_extra_params": [],
            "builder_network_params": null
        }
    ],
    "network_params": {
        "network_id": "1881",
        "deposit_contract_address": "0x4242424242424242424242424242424242424242",
        "seconds_per_slot": 3,
        "slots_per_epoch": 3,
        "num_validator_keys_per_node": 8,
        "preregistered_validator_keys_mnemonic": "xxxxxxxxxxxxxx"
    },

    "launch_additional_services": true,
    "wait_for_finalization": false,
    "wait_for_verifications": false,
    "verifications_epoch_limit": 5,
    "global_client_log_level": "info"
}

Just so I understand you correctly, if you have made any changes to files locally and are trying to run it; please run it using
kurtosis run --enclave-id eth2 . "$(cat /home/kurtosis-tech/eth2-package/eth2-package-params.json)"

The . makes it pickup the local package; be sure to run it from the directory where the kurtosis.yml resides (root of the repo)

im getting error after run this command :
kurtosis run --enclave-id eth2 . "$(cat /mnt/nvme/cartenz-client/eth2-package/eth2-package-params.json)"
eth2-package-params.yaml full config :
{
    "participants": [
        {
            "el_client_type": "geth",
            "el_client_image": "ethereum/client-go:latest",
            "el_client_log_level": "info",
            "el_extra_params": [],

            "cl_client_type": "lighthouse",
            "cl_client_image": "sigp/lighthouse:latest",
            "cl_client_log_level": "info",
            "beacon_extra_params": [],

            "validator_extra_params": [],
            "relay_endpoints"<EMAIL_ADDRESS>            "builder_network_params": null
        }
    ],

    "network_params": {
        "network_id": "1881",
        "deposit_contract_address": "0x4242424242424242424242424242424242424242",
        "seconds_per_slot": 3,
        "seconds_per_eth1_block": 3,
        "slots_per_epoch": 32,
        "num_validator_keys_per_node": 64,
        "preregistered_validator_keys_mnemonic": "xxxxx"

    },

    "launch_additional_services": true,
    "wait_for_finalization": true,
    "wait_for_verifications": false,
    "verifications_epoch_limit": 5,
    "global_client_log_level": "info"
}

Logs :
WARN[2023-03-06T23:00:25+08:00] The currently-running Kurtosis engine version is '0.67.3' but the latest version is '0.67.4'; you can pull the latest fixes by running 'kurtosis engine restart'
INFO[2023-03-06T23:00:25+08:00] Creating a new enclave for Starlark to run inside...
INFO[2023-03-06T23:00:27+08:00] Enclave 'eth2' created successfully
INFO[2023-03-06T23:00:27+08:00] Executing Starlark package at '/mnt/nvme/cartenz-client/eth2-package' as the passed argument '.' looks like a directory
INFO[2023-03-06T23:00:27+08:00] Compressing package 'github.com/kurtosis-tech/eth2-package' at '.' for upload
INFO[2023-03-06T23:00:27+08:00] Uploading and executing package 'github.com/kurtosis-tech/eth2-package'
There was an error validating Starlark code
Error while validating final environment of script
        Caused by: Failed fetching the required image 'geth', make sure that the image exists and is public
There was an error validating Starlark code
Error while validating final environment of script
        Caused by: Failed fetching the required image 'lighthouse', make sure that the image exists and is public

Error encountered running Starlark code.
INFO[2023-03-06T23:00:28+08:00] =============================================
INFO[2023-03-06T23:00:28+08:00] ||          Created enclave: eth2          ||
INFO[2023-03-06T23:00:28+08:00] =============================================
Error: An error occurred running command 'run'
 --- at /home/circleci/project/cli/cli/command_framework/lowlevel/lowlevel_kurtosis_command.go:295 (LowlevelKurtosisCommand.MustGetCobraCommand.func2) ---
Caused by: An error occurred calling the run function for command 'run'
 --- at /home/circleci/project/cli/cli/command_framework/highlevel/engine_consuming_kurtosis_command/engine_consuming_kurtosis_command.go:206 (EngineConsumingKurtosisCommand.getRunFunc.func1) ---
Caused by: Error executing Kurtosis code
 --- at /home/circleci/project/cli/cli/commands/run/run.go:270 (run) ---
Caused by: Kurtosis execution threw an error. See output above for more details
 --- at /home/circleci/project/cli/cli/commands/run/run.go:333 (readAndPrintResponseLinesUntilClosed) ---

ups sorry parse_input.star im lost to change el_client_image and cl_client_image

can help sir? @h4ck3rk3y

Seems like the EL container isn't responding to one of our checks.
Do you have your changes on a branch somewhere?

yes I changed some files in eth2 then I re-run it like the command you wrote. hoping that all the files that I changed happened but that there was no change but got an error like the logs that I sent sir.

I can't tell you why the failure is happening if I don't know what's causing it. Can you share that branch publicly? I am trying to tell if its a bug in Kurtosis or something specific to Ethereum

I can't tell you why the failure is happening if I don't know what's causing it. Can you share that branch publicly? I am trying to tell if its a bug in Kurtosis or something specific to Ethereum

i will try again sir, i think this my configuration is wrong.
im run with this command :
kurtosis run . '{"participants": [{"el_client_type": "geth","el_client_image": "ethereum/client-go:latest","el_client_log_level": "info","el_extra_params": [],"cl_client_type": "lighthouse","cl_client_image": "sigp/lighthouse:latest","cl_client_log_level": "info","beacon_extra_params": [],"validator_extra_params": [],"builder_network_params": null}], "network_params": {"network_id": "1881","deposit_contract_address": "0x4242424242424242424242424242424242424242","seconds_per_slot": 3,"slots_per_epoch": 32,"num_validator_keys_per_node": 64,"preregistered_validator_keys_mnemonic": "wash ribbon mansion garlic fog meadow modify alien endorse detect sing lamp glimpse sister guard road crowd chronic friend offer special source reduce resist"}, "launch_additional_services": true,"wait_for_finalization": false,"wait_for_verifications": false,"verifications_epoch_limit": 5,"global_client_log_level": "info"}'

Try this instead
kurtosis run . '{"participants": [{"el_client_type": "geth","el_client_image": "ethereum/client-go:latest","el_client_log_level": "3","el_extra_params": [],"cl_client_type": "lighthouse","cl_client_image": "sigp/lighthouse:latest","cl_client_log_level": "info","beacon_extra_params": [],"validator_extra_params": [],"builder_network_params": null}], "network_params": {"network_id": "1881","deposit_contract_address": "0x4242424242424242424242424242424242424242","seconds_per_slot": 3,"slots_per_epoch": 32,"num_validator_keys_per_node": 64,"preregistered_validator_keys_mnemonic": "wash ribbon mansion garlic fog meadow modify alien endorse detect sing lamp glimpse sister guard road crowd chronic friend offer special source reduce resist"}, "launch_additional_services": true,"wait_for_finalization": false,"wait_for_verifications": false,"verifications_epoch_limit": 5,"global_client_log_level": "info"}'

"el_client_log_level": "info" this doesn't work, geth client takes "3" as a valid input not info
https://github.com/kurtosis-tech/eth2-package/blob/13c72ec56e4da79c6a9bd6802a0995c6b00d0a0a/src/participant_network/el/geth/geth_launcher.star#L48-L55

Try this instead
kurtosis run . '{"participants": [{"el_client_type": "geth","el_client_image": "ethereum/client-go:latest","el_client_log_level": "3","el_extra_params": [],"cl_client_type": "lighthouse","cl_client_image": "sigp/lighthouse:latest","cl_client_log_level": "info","beacon_extra_params": [],"validator_extra_params": [],"builder_network_params": null}], "network_params": {"network_id": "1881","deposit_contract_address": "0x4242424242424242424242424242424242424242","seconds_per_slot": 3,"slots_per_epoch": 32,"num_validator_keys_per_node": 64,"preregistered_validator_keys_mnemonic": "wash ribbon mansion garlic fog meadow modify alien endorse detect sing lamp glimpse sister guard road crowd chronic friend offer special source reduce resist"}, "launch_additional_services": true,"wait_for_finalization": false,"wait_for_verifications": false,"verifications_epoch_limit": 5,"global_client_log_level": "info"}'

"el_client_log_level": "info" this doesn't work, geth client takes "3" as a valid input not info
https://github.com/kurtosis-tech/eth2-package/blob/13c72ec56e4da79c6a9bd6802a0995c6b00d0a0a/src/participant_network/el/geth/geth_launcher.star#L48-L55

thankyou, problem solved sir :) , can other people can validate the chain using bootnodes or anything to join ?


About eval.py in custom dataset

Hi, I recently run your code in my project. I met a strange phenomenon. That is, after evaluate and the output show as below

The bbox of all object will frame one object classes that include all that object detected. It's my annotation problem? Or my trainning problem.
As my annotation, I used labelme and labelme2coco of  convert to the json file. I have had check my json format versus annotation of coco (datasetcocodataset().
So, can I fixed it?
Environment:

OS: ubuntu 18.04
GPU: MX150
CUDA Version 9.1

Thank you.
Have a nice day!

I'm fixed since my annotation format are not match with this paper


Upgrade to Python 3.11

Description

The project is based on Python 3.9.
We rebase it on Python 3.11.

Closes by https://github.com/amannocci/temply/commit/e44d73499b40b6b5267b0c5c75fea06b6431a2a4


Asset status object

Describe the bug
Ocean.py should follow the new status object in the metadata (https://github.com/oceanprotocol/OEPs/tree/master/8/v0.5#status-attributes)
The status object is located in the metadata service, and not in root
Actual code:
https://github.com/oceanprotocol/ocean.py/pull/314/files#diff-4fe12d33e5b6cf223d037f7ebc710c73cca03d661a204ab6cf19a5a3951f084aR74
(This will require a provider update as well)

Won't need provider update, since we are using the ocean.py functions in provider. But I'll bump version to make sure everything is well "under the hood"

#349 works on moving the status object in its right place, but per @trentmc we are not sure whether the scope of this issue is just to move the existing implementation of isOrderDisabled (done in #349) or if it includes the other flags as well.

I think it makes sense for ocean.py to support all the flags. You can do it in this issue, or create a new one.


Support returning function arguments when calling :Wait()

I think it would good to have consistency with BindableEvents being able to return the arguments that it was fired with.

GoodSignal does return arguments on :Wait.

Oh, I did not know coroutine.yield did that. Thanks for telling me!


(Windows) embedder.cc (1022): 'FlutterEngineSendWindowMetricsEvent' returned 'kInvalidArguments'. Device pixel ratio was invalid. It must be greater than zero.

Flutter on Windows just shows a white screen on Windows 8.1 with 2 monitors.
embedder.cc (1022): 'FlutterEngineSendWindowMetricsEvent' returned 'kInvalidArguments'. Device pixel ratio was invalid. It must be greater than zero.

is printed on start and every frame the window is resized.

[√] Flutter (Channel master, v1.12.1-pre.8, on Microsoft Windows [Version 6.3.9600], locale de-DE)
    • Flutter version 1.12.1-pre.8 at F:\flutter_repaired\flutter
    • Framework revision e7073f9a1f (6 weeks ago), 2019-11-09 17:08:53 -0800
    • Engine revision 31cd2dfca2
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at D:\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: F:\AndroidStudioNew\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2017 15.9.11)
    • Visual Studio at F:\MSFT\Community
    • Visual Studio Community 2017 version 15.9.28307.586

[√] Android Studio (version 3.4)
    • Android Studio at F:\AndroidStudioNew
    • Flutter plugin version 35.2.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[√] IntelliJ IDEA Community Edition (version 2019.2)
    • IntelliJ at C:\Program Files\IntelliJ IDEA Community Edition 2019.2.3
    • Flutter plugin version 40.2.4
    • Dart plugin version 192.7402

[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
    • IntelliJ at F:\Intellij-Ultimate\IntelliJ IDEA 2018.1.1
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656

[√] Connected device (3 available)
    • Windows    • Windows    • windows-x64    • Microsoft Windows [Version 6.3.9600]
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.88
    • Web Server • web-server • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

Duplicate of https://github.com/google/flutter-desktop-embedding/issues/572. Currently only newer version of Windows 10 are handled correctly by the runner.


Calico-node report Socket error: bind: Cannot assign requested address in BGP mode after a while

Expected Behavior
With BGP mode, the calico pod is working as steady
Current Behavior
With BGP mode, suddenly the calico-node pod end up in not ready state
NAMESPACE                 NAME                                                                 READY   STATUS             RESTARTS           AGE
kube-system               calico-node-82tl8                                                    0/1     Running            0                  176d
kube-system               calico-node-xkp28                                                    0/1     Running            0                  176d

Describing the calico-node pod shows Bird is not ready:
  Warning  Unhealthy  16s (x87982 over 8d)  kubelet  (combined from similar events): Readiness probe failed: 2024-11-14 10:15:28.682 [INFO][25772] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>

And within the calico pod it shows can't assign requested address
2024-11-22T09:04:41.313642354Z stdout F 2024-11-22 09:04:41.313 [INFO][105] monitor-addresses/autodetection_methods.go 103: Using autodetected IPv4 address on interface eth0: [<IP_ADDRESS>/25](http://<IP_ADDRESS>/25)
2024-11-22T09:04:42.31246517Z stdout F bird: Mesh_10_16_133_32: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312483175Z stdout F bird: Mesh_10_16_133_57: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312485683Z stdout F bird: Mesh_10_16_133_30: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.31248767Z stdout F bird: Mesh_10_16_133_114: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312489591Z stdout F bird: Mesh_10_16_133_21: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312491874Z stdout F bird: Mesh_10_16_133_35: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312493849Z stdout F bird: Mesh_10_16_133_95: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312495686Z stdout F bird: Mesh_10_16_133_62: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312497574Z stdout F bird: Mesh_10_16_133_22: Socket error: bind: Cannot assign requested address
2024-11-22T09:04:42.312499358Z stdout F bird: Mesh_10_16_133_58: Socket error: bind: Cannot assign requested address

Ran calico-node show-status and it didnt report any issues with BGPbird v4 status
+-------+-------------------+-----------------+---------------------+---------------------+---------------------+
| READY |      VERSION      |     ROUTEID     |     SERVERTIME      |      LASTBOOT       |    LASTRECONFIG     |
+-------+-------------------+-----------------+---------------------+---------------------+---------------------+
| true  | v0.3.3+birdv1.6.8 | <IP_ADDRESS> | 2024-11-26 11:33:23 | 2024-05-21 11:53:29 | 2024-11-14 10:17:53 |
+-------+-------------------+-----------------+---------------------+---------------------+---------------------+

bird v4 BGP peers
+---------------+-----------+-------+------------+----------+
| PEER ADDRESS  | PEER TYPE | STATE |   SINCE    | BGPSTATE |
+---------------+-----------+-------+------------+----------+
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS> | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS> | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS> | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |
| <IP_ADDRESS>  | Mesh      | start | 2024-11-14 | Active   |
+---------------+-----------+-------+------------+----------+

bird v4 routes
+------------------+-------------+-----------------+-------------+---------+
|   DESTINATION    |   GATEWAY   |      IFACE      | LEARNEDFROM | PRIMARY |
+------------------+-------------+-----------------+-------------+---------+
| <IP_ADDRESS>/0        | <IP_ADDRESS> | eth0            | kernel1     | *       |
| <IP_ADDRESS>/32 | N/A         | cali7fba7a35b74 | kernel1     | *       |
| <IP_ADDRESS>/26 | N/A         | blackhole       | static1     | *       |
| <IP_ADDRESS>/32 | N/A         | tunl0           | direct1     | *       |
| <IP_ADDRESS>/32   | N/A         | eth0            | kernel1     | *       |
| <IP_ADDRESS>/25   | N/A         | eth0            | direct1     | *       |
| <IP_ADDRESS>/32 | N/A         | cali00b3d1e6329 | kernel1     | *       |
| <IP_ADDRESS>/32 | N/A         | califfe4e2ef490 | kernel1     | *       |
+------------------+-------------+-----------------+-------------+---------+

Possible Solution
Restarting the pod does workaround the issue
Steps to Reproduce (for bugs)

Context
How to debug this issue further? The old calico log was rotated.
Your Environment

Calico version: 3.24.1
Calico dataplane (iptables, windows etc.):
Orchestrator version (e.g. kubernetes, mesos, rkt): k8s 1.24.10
Operating System and version: photon-3
Link to your project (optional):

@lubronzhan Calico 3.24 and k8s 1.24 are pretty old. Please try with newer releases like 3.28 or 3.29.
Also we need a complete Calico node log to be able identify the root cause.

Attaching calico node logs from the available worker nodes analisys completed so far on our end:
Issue Overview:
The Calico pods are in a failed state, as shown below:
NAMESPACE                 NAME                                     READY   STATUS    RESTARTS   AGE
kube-system               calico-node-82tl8                        0/1     Running   0          176d
kube-system               calico-node-xkp28                        0/1     Running   0          176d
The Readiness probe is failing with the following message:
Warning  Unhealthy  16s (x87982 over 8d)  kubelet  (combined from similar events):
Readiness probe failed:
2024-11-14 10:15:28.682 [INFO][25772] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
Additionally, the logs indicate multiple socket errors related to BGP peering:
stdout F bird: Mesh_10_16_133_110: Socket error: bind: Cannot assign requested address
Evidence suggests the issue originated earlier but logs has be swarmed by continuous socket errors, making it challenging to pinpoint the root cause. Ther logs on 10_16_133_61 have been rotated but remaning hosts contain information about 13th
Logs confirm that the issue started on 2024-11-13, with the following message on the remaining nodes:
bird: Removing protocol Mesh_10_16_133_61
Logs on the affected node itself have been overwritten due to the volume of socket errors.
When the node (<IP_ADDRESS>) was removed, BIRD stopped sending or receiving routing updates to/from the peer.
Routes learned via this protocol instance were likely removed from BIRD's routing table unless validated via other protocols or peers.
This behavior is expected, but the root cause of the removal event remains unclear due to the lack of logs from 2024-11-13.

logs1.zip
logs2.zip
logs3.zip
log4.zip

Hi @mazdakn
The node that's reporting error has this ip <IP_ADDRESS>. This is the log of this node.
Looks like something happened on 61 and causing the calico to crash on that node, thus other node were informed this node left the mesh.

Hi @mazdakn , sorry to interrupt, did you get a chance to review the log? Thanks

@lubronzhan have you tried upgrading to a modern version of Calico? Regardless I think we won't be able to make any fixes to such an old version.

bind: Cannot assign requested address

Wonder if it's a problem with the local interfaces on that node somehow. I think this error can also mean there is another process bound to that address? Are there any other softwares on that node that might be bound to the same IP / port?

| <IP_ADDRESS>  | Mesh      | start | 2024-11-13 | Active   |

BGP states are a bit tedious.. this means the connections are not Establishd, which would be a functioning session. Active doesn't mean that they are functioning.

Hi @caseydavenport thanks for replying. We are trying to find the root cause first.

Wonder if it's a problem with the local interfaces on that node somehow. I think this error can also mean there is another process bound to that address? Are there any other softwares on that node that might be bound to the same IP / port?

Yeah that could be one possibility.


ID - Prod Error 11/2/23

Problem Statement
An automated alert was received in Slack regarding a connection/upload error with Idaho DOH.
What you need to know
Error details:

[1;31m22:29:10.947 [pool-2-thread-191][819] FATAL-ALERT gov.cdc.prime.router.azure.SendFunction - FAILED Sftp upload of inputReportId aa3023d7-56ce-47bb-a37f-d56d17a67cae to SFTPTransportType(host=sftp.dhw.idaho.gov, port=22, filePath=./ELR/SimpleReport/Prod, credentialName=null) (orgService = id-phd.elr), Exception: Connection reset, All retries failed. Manual Intervention Required. Send Error report for: aa3023d7-56ce-47bb-a37f-d56d17a67cae to id-phd.elr[m

Acceptance Criteria
Confirm successful submission of the file and receipt by ID.
To Do
Investigate and resolve the error, resend report file.
Additional Comments
Report was found in Metabase, and will need to be resubmitted.

@wcollin89 it is fixed and resubmitted.  Done.


Latest versions won't accept custom event hubs errors

Some custom event hubs AMQP errors (such as com.microsoft:argument-out-of-range when trying to connect to a non-existing partition) get swallowed. This is a breaking change, and as far as I can tell there's no way for the client to know what happened, the connection is just killed with an EncodingError that masks the real cause.
This is due to the changes in connection.js in this commit: https://github.com/noodlefrenzy/node-amqp10/commit/5455179ab61cf40171525d422a4648b85dedeff0
Also, it seems there's an issue with the way error.js is required in types/amqp_error.js, which leads to the throw on line 8 to throw a TypeError: errors.EncodingError is not a constructor instead of an actual EncodingError (at least, this happens with node 6.
Easiest fix for this is to use module.exports. wherever errors. is used in errors.js and get rid of the local errors variable alltogether.. not elegant but it works...
Unfortunately this is blocking the Event Hubs SDK from upgrading to the latest version of the library :-/

@pierreca can you explain why you think the error was introduced there? To me it seems far more likely that an error frame is being received, however it has an unknown ErrorCondition and therefore we're not wrapping it properly.  It would be incredibly helpful to have e.g. the hex for the data representing that error frame so we could create a unit test for it. The EncodingError makes me feel like something more nefarious is going on, but it might be data accidentally left in the buffer as well. Do you have a way to reproduce this in a unit test?

@pierreca ah sorry I found the culprit, you're talking about this: https://github.com/noodlefrenzy/node-amqp10/blob/master/lib/types/amqp_error.js#L7. Yeah that totally looks like a bug if MS is using custom errors, I had read the spec to indicate that they only wanted to support the listed error conditions. Again it would be very helpful if you could provide a sample custom error, we can get this pushed in today

@pierreca for your local testing, it might be enough to replace the throw new errors.EncodingError... there with return value;

Here's what I believe is the sample error trace for the unit test:
0000013b02000000005316d00000012b00000003434100531dd00000011d00000003a323636f6d2e6d6963726f736f66743a617267756d656e742d6f75742d6f662d72616e6765a1f15468652073706563696669656420706172746974696f6e20697320696e76616c696420666f7220616e204576656e7448756220706172746974696f6e2073656e646572206f722072656365697665722e2049742073686f756c64206265206265747765656e203020616e6420372e0d0a506172616d65746572206e616d653a20506172746974696f6e496420547261636b696e6749643a66393365393966643264666234366461383366353662633133633933636162635f47332c2053797374656d547261636b65723a67617465776179362c2054696d657374616d703a322f372f3230313720373a31383a303120504d40


[Snyk] Security upgrade documentation from 14.0.1 to 14.0.3

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json
package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Cross-site Scripting (XSS) SNYK-JS-VUETEMPLATECOMPILER-7554675
  708

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

coverage: 98.802%. remained the same
when pulling fbbb48cd90d68141b064a915e9f9c5389303c5c8 on snyk-fix-31af97ff34874e379c0b88e26ae1ce2c
into 6e0aee43d07af4af7585a49d3c9b5bacf58215b5 on main.


Incorrect rendering?

Hi,
Consider this CSS:

@columns: 12;
@column-width: 60;
@gutter-width: 20;

nav#global {
.column(12);
ul {
	li {
	.column(1);
	text-align: center;
	}
	}
}

and this HTML:

1

2

3

4

5

6

7

8

9

10

11

12

It seems to render incorrectly. I'd expect one row across, but the "12" list item appears on the second row. Perhaps I am misunderstanding how it should work?
Thanks.

This is similar to the example at http://semantic.gs/examples/nested/nested.html . Are you using a pixel-based or percentage-based grid? If percentage based, does resizing your browser get the twelfth column to jump back up to the correct position?
Does the UL definitely not have padding or margin on it? Are the LIs set to list-style: none outside none; ? Those are a few things to double check.

Thanks. Pixel-based. I was not adding any padding or margin to any elements. In fact, setting the padding and margin of the LIs messes things up even more - you lose the gutters between columns.

Remember that ULs receive 40 pixels of padding by default. In the Semantic.gs download I reference Eric Meyer's reset.css which removes this padding. If you're not using a reset stylesheet, you should add padding: 0; to the UL.
I quickly implemented your code and verified that it works as expected: http://dl.dropbox.com/u/634559/sem/examples/wjdennen/nested.html
And yes, adding padding or margin to any column will throw off the box model... The columns() mixin works by adding margin-left/right and width properties.

Thank you. Your solution works wonderfully.


Allow attributes initialization

ReCaptcha.render does not use attributes from init form field

I believe this is no longer relevant so will close now.


Add 'to be' to the list of irregular verbs

Seems like the verb "to be" is missing in the list of all irregular verbs. Would be awesome if you could add one

Thanks @NamelessOne13
In v2.1.7:
In english-verbs-irregular package, I added "be":[["was","been"],["were","been"]] in resources/verbs.json.
If you need to conjugate English verbs I suggest using english-verbs-helper: it uses the resources and adds conjugations and gerunds (ing).


Update README for appveyor symengine org

I'm trying to get appveyor to run with the symengine org or the old setup, none of them works. it seems appveyor stopped building this repo a few months back

Weird, any ideas what happened?


Add landing page demo

The UI also bombs out if the server isn't running.

Added a more helpful error. I think we still want to fail loudly when this happens, but now users will see: Unable to load page data... Did you forget to run the server?

This is a great start but I ran into one issue. When you click off the editor to apply the change, it closes the tour.

Fix this, the tour is ONLY closed  now when you click the 'x'.

Also added auto-advancing at both edit steps.


getMe() causing the app to crash

I am just starting to make an app and I am trying to start off by simply trying to get the user_id using the getMe() function. I don't really know much about the callbacks so I am using the one that returns a UserPrivate object. However the app starts by allowing the user to login and then it crashes saying the app stopped working. I am trying to print out the id on the screen to see if I got it but the app crashes before.
Here is my code:
if (resultCode != RESULT_CANCELED && requestCode == REQUEST_CODE) {
        AuthenticationResponse response = AuthenticationClient.getResponse(resultCode, intent);
        TextView textView = (TextView) findViewById(R.id.text_view);
        if (response.getType() == AuthenticationResponse.Type.TOKEN) {
            // Response was successful and contains auth token
            Toast.makeText(getApplicationContext(), "Login Success!", Toast.LENGTH_LONG).show();
            textView.setText("Success");

            api.setAccessToken(response.getAccessToken());
            final SpotifyService spotify = api.getService();
            final String accessToken = response.getAccessToken();
            UserPrivate me = spotify.getMe();

            textView.setText("Success" + " - "+me.id);

I do not know why it is crashing.

@sdp-23 not sure if you still need help with this but it's crashing because you're trying to execute a synchronous call on the UI thread. For this code to work you'd need to use the asynchronous call:
spotify.getMe(new Callback<UserPrivate>() {
    @Override
    public void success(UserPrivate userPrivate, retrofit.client.Response response) {
    }

    @Override
    public void failure(RetrofitError error) {
    }
});

That code won't work actually. You can't make networking calls in the main thread. I fixed it with Async. You can put that or non-callback in Async and it should work.


added latest Zanata translations for guvnor 6.3.x

please merge this PR before the next release for prod 6.2

+1 to merge

6.3.x: 34da308cc21ae26c6cb0a84eeb23e476d7ef3b5c


Usage examples in readme

Hello!
I'm wondering if it would be possible to cover in readme some basic usage examples as some starting point. It would make using library a ton easier. Thank you!

Hi @smbdelse,
thanks for the input – I will put something together soon and get back to you when it's done.

This would be great


Support for "--persist" and "--reenter"

Please refer to commit  5e71075, nto the first one I pushed.  (I don't really know how to use github correctly yet.)


Wiki Update

Referencing #3928

Improved organization
Added descriptions where applicable
Fixed broken links
Updated commands

/azp run


Output Gaussian components

Hello,
in your paper you mention that you use GMM to output the probability p and parameters (µx, µy, σx, σy, ρ) of each Gaussian component for each future time step. How can I access  σx and σy in the evaluation mode? So far I use the following code to get the trajectories with the respective probaibiliy:
torch.no_grad():
pred_dict = model(batch_dict)
final_pred_dicts = wd_obj.generate_prediction_dicts(pred_dict)
Thank you in advance for your help.

Please refer to here:
https://github.com/sshaoshuai/MTR/blob/master/mtr/models/motion_decoder/mtr_decoder.py#L396-L403
and the loss calculation process:
https://github.com/sshaoshuai/MTR/blob/master/mtr/utils/loss_utils.py#L49-L50.
So you can access the variances from pred_trajs[..., [2, 3]].

Is it possible for you to explain how did you load the model ? and print the trajectories ?


Create Automation for Tested Tickets

https://scottlogic-my.sharepoint.com/:x:/p/mnyamunda/EUT-_pJZdk1NotirIX2HkAQBwdQOVb6RbSV9mU8wqcy-SA?e=htLZ5x
Prime Task is to fetch mongoDB documents into a form that can be asserted against.
Issue from old board have been linked in the spreadsheet above.
Automation candidates from previously manually tested tickets.
Using PyTest script to get database documents that we can then assert on for regression.

Verify AQI overall index ✅
Verify individual pollutant index ✅
Verify that the correct amount of documents are upserted and modifed on runs. (Carried onto new ticket)
Verify that new forecast_base_time upserts new documents. (Carried onto a new ticket)
Verify each document has the type field with "city" value ✅
Verify locations collection matches the CAMS_locations_V1 list ✅


Possible Update?

I recently experience being unable to search for and download imageries through this API.
According to https://lta.cr.usgs.gov/EEHelp/ChangestoBulk, it seems that something needs to be done to adapt
Is there a plan for the update? Thanks!

There's been some downtime lately. I'm aware of the need to migrate to their v1.5 API. I'm waiting for documentation to be released before making modifications.

I recently experience being unable to search for and download imageries through this API.
According to https://lta.cr.usgs.gov/EEHelp/ChangestoBulk, it seems that something needs to be done to adapt
Is there a plan for the update? Thanks!


x/mobile: 'gomobile bind -x' fails due to unused '-mno-thumb' argument passed to clang

What version of Go are you using (go version)?

$ go version
go version go1.12 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/shaoshengrong/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/shaoshengrong/code/go/"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/kc/cg92l_vj04n2h70mw6clq22w0000gn/T/go-buil

What did you do?
exec : gomobile bind -x
error: clang: error: argument unused during compilation: '-mno-thumb' [-Werror,-Wunused-command-line-argument]

What did you expect to see?
exec : gomobile bind -x
error: clang: error: argument unused during compilation: '-mno-thumb' [-Werror,-Wunused-command-line-argument]
What did you see instead?
exec : gomobile bind -x
error: clang: error: argument unused during compilation: '-mno-thumb' [-Werror,-Wunused-command-line-argument]

Possibly related to #30415?

CC @eliasnaur @hyangah

I can't reproduce this on my macOS 10.14.1. Do you have NDK version r19b installed as well as run go get -u golang.org/x/mobile/cmd/...?


Remove metainfo & loslessly optimize PNG example images

(i.e. ItEXtsvg:base-uri file:///home/edent/git/SuperTinySocialIcons/tiny/twitter.svg)
Update README.md with the "fairer" filesizes
Close #21

These PNGs were created directly from their SVG counterparts, so they were not designed to be optimized.
There isn't much one can do without throwing away the ad-hoc created alpha channel or lowering colors from 24 BPP palette.

Brilliant - thank you :-)


Is it possible to join a web proxy?

How to join a global proxy when the docker image site is unreachable?

The image is also available on Github from an automated workflow:
https://github.com/lllllllillllllillll/DweebUI/pkgs/container/dweebui
docker pull ghcr.io/lllllllillllllillll/dweebui:main


feat: add node gpu number

Related to:

#756

There is still some discussion going on in the issue. So let's wait with the PR.

Feature has been dropped
See:

#759


x/website: barely visible image in dark theme

What did you do?

Set the dark appearance in macOS.
Open the blog post https://go.dev/blog/llmpowered in the latest Chrome browser.

What did you see happen?
The RAG diagram is barely visible due to the transparent background:

What did you expect to see?
The RAG diagram image has a background. Something like this:

cc @golang/tools-team


OutOfMemory Error on Android with react-native-theoplayer and react-native-theoplayer-ui

Description
We are experiencing an OutOfMemory error when using the react-native-theoplayer and react-native-theoplayer-ui packages on Android. This issue occurs in our production app.
Logs
Console Google Play

Additional Information
Leak Canary

The logs were taken from the Google Play Console, and the additional information was gathered using Leak Canary in a development environment.
Package Version

name
version

react-native
0.71.15

react-native-reanimated
2.14.4

@react-navigation/native
6.1.9

@react-navigation/native-stack
6.9.17

@react-navigation/stack
6.3.20

react-native-screens
3.30.1

expo
48.0.19

We also tried running with react-native-reanimated 3.2.0, but the problem persisted.

@RichardLima when does the OOM issue occur? Is it during a long play-out session, or repeatedly creating/destroying the player, or another use-case?

@RichardLima were you able to resolve this issue? Let us know if you still need help.


Add controlling access for pt-br

Submitting this PR to translate authorization and controlling-access pages to Brazilian Portuguese.

Hello @rikatz @stormqueen1990! It has been ~2 months since this PR was submitted. Would it be possible for y'all to provide an initial review? I know y'all are busy, however is there any way we can support you so that this PR is reviewed?

Hi @divya-mohan0209!
Sure thing, I'll take a look in the next few days.
/cc

Hi @jralmaraz, thank you very much for your contribution! 🎉
I noticed that you created a single PR with two pages. Could you please split the page content/pt-br/docs/reference/access-authn-authz/authorization.md into a separate PR?
It is our guideline to create separate PRs for each page and its related resources.
I will start reviewing the controlling-access.md page soon.
Thanks in advance!

Hi @stormqueen1990 , thanks for picking this up and sorry for missing the guidelines, my bad.
I've split the files per PR as requested. Authorization translation PR was raised separately at:  https://github.com/kubernetes/website/pull/35854
Let me know if there's any further action/fix, happy to address them.
Cheers.

Hi @stormqueen1990 , thanks for picking this up and sorry for missing the guidelines, my bad.

No problem!

I've split the files per PR as requested. Authorization translation PR was raised separately at: #35854

Thank you very much! I'll take a look at both PRs as soon as possible.

c818731

Hi @stormqueen1990 ! Thanks so much for the review and really sorry for the dummy mistakes, it seems like I left Brazil longer than I realize lol.
I have tried to address the gotchas with commit
c818731.
I'll wait for the preview deployment and go through the links and highlighted items later today or tomorrow.
Appreciate the help.
Cheers.

I'm also keeping the authorization links here to the pt-br page, if that's ok. Let me know.

/assign @edsoncelio

Thanks a lot @stormqueen1990 . I'll go through the findings and hopefully push the fixes this week!

I clicked by mistake on the re-request review item, my bad!!!

Hi @jralmaraz! It seems some items I had pointed out before have not been addressed, could you please take another look at those? I noticed there are still a few occurrences of words missing accents ("sao", "apos"). I think GitHub collapses the comments in the list, and that may be the reason they were left behind.

Hi @jralmaraz! It seems some items I had pointed out before have not been addressed, could you please take another look at those?
I noticed there are still some occurrences of words missing accents ("sao", "apos", among others). I think GitHub collapses the comments in the list, and that may be the reason they were left behind.

Indeed @stormqueen1990 , thanks again! I've pushed some changes, let me know if they look ok now.

Looks good to me, thank you @jralmaraz!
/lgtm

/approve
Thanks!


Disable automatic renaming

I do not want HTML tags to automatically rename themselves but I want them to automatically close. How can I do this?

I have a PR that would allow you to disable the automatically renaming via
require("nvim-ts-autotag").setup({
	enable_rename = false,
})

until the PR https://github.com/windwp/nvim-ts-autotag/pull/83 is merged, you could use my fork:
https://github.com/sifu/nvim-ts-autotag


Refactor the common verify cpm pin test logic to a single source

Description
Refactor of test infrastructure as discussed in https://github.com/rapidsai/rapids-cmake/pull/600
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.

/merge


FBI is unable to dump some saves

Games:
StreetPass Mii Plaza:
Result code:0xC8804478
Level: Status (25)
Summary: Not found (4)
Module: FS (17)
Desc: Doesn't exist/Failed to open (120)

JKSM works fine on this title.
Any system title:
Result code:0xE0C046F8
Level: Usage (28)
Summary: Not supported (6)
Module: FS (17)
Desc: Unsupported operation (760)

JSKM works with most if not all of them(have only tested with a few ones)

Those do not have normal save data. What you're looking for is under the "System Save Data" menu, which is different. JKSM must simply expose them in the same way.


CFE Support for Null Safety Tech Preview

@johnniwinther – I remove the flutter package dependency white list item from this epic – that's needed for tech preview 2 (w/ flutter).
I think we should close this epic down and create another one for preview 2 – reasonable?
CC @franklinyow @mit-mit

I'm going to close now – feel free to reopen – or let's discuss!
AFAIK there are no blocking issues for preview 1 – at least related to the CFE


Unable to connect to chrome and firefox with protractor 4.0.4

Bug report

Node Version: v6.4.0
Protractor Version: 4.0.4
Browser(s): chrome ,firefox
Selenium Version : Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
Operating System and Version os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4'
Your protractor configuration file

exports.config = {
  framework: 'jasmine',
  seleniumAddress: 'http://<IP_ADDRESS>:4444/wd/hub',
  specs: ['specs/spec.js'],
	capabilities: {
  	'browserName': 'chrome'
	}
}

A relevant example test

describe('Protractor Demo App', function() {
  it('should have a title', function() {
    browser.get('http://juliemr.github.io/protractor-demo/');

    expect(browser.getTitle()).toEqual('Super Calculator');
  });
});

Output from running the test

I/hosted - Using the selenium server at http://<IP_ADDRESS>:4444/wd/hub
[11:43:34] I/launcher - Running 1 instances of WebDriver
[11:43:38] E/launcher - session not created exception
from disconnected: unable to connect to renderer
  (Session info: chrome=52.0.2743.116)
  (Driver info: chromedriver=2.22.397929 (fb72fb249a903a0b1041ea71eb4c8b3fa0d9be5a),platform=Mac OS X 10.11.4 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 979 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'GoustoAminsMBP7.hyperoptic.com', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.chrome.ChromeDriver
[11:43:38] E/launcher - SessionNotCreatedError: session not created exception
from disconnected: unable to connect to renderer
  (Session info: chrome=52.0.2743.116)
  (Driver info: chromedriver=2.22.397929 (fb72fb249a903a0b1041ea71eb4c8b3fa0d9be5a),platform=Mac OS X 10.11.4 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 979 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'GoustoAminsMBP7.hyperoptic.com', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.chrome.ChromeDriver
    at WebDriverError (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)
    at SessionNotCreatedError (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:308:5)
    at Object.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:639:15)
    at parseHttpResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:538:13)
    at client_.send.then.response (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:472:11)
    at ManagedPromise.invokeCallback_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1379:14)
    at TaskQueue.execute_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2913:14)
    at TaskQueue.executeNext_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2896:21)
    at asyncRun (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2820:25)
    at /usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:639:7
From: Task: WebDriver.createSession()
    at Function.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:329:24)
    at Builder.build (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/builder.js:458:24)
    at Hosted.DriverProvider.getNewDriver (/usr/local/lib/node_modules/protractor/built/driverProviders/driverProvider.js:37:33)
    at Runner.createBrowser (/usr/local/lib/node_modules/protractor/built/runner.js:190:43)
    at /usr/local/lib/node_modules/protractor/built/runner.js:264:30
    at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:796:13)
    at /usr/local/lib/node_modules/protractor/node_modules/q/q.js:556:49
    at runSingle (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:137:13)
[11:43:38] E/launcher - Process exited with error code 199

Steps to reproduce the bug

Run the conf.js using protractor conf.js

The URL you are running your tests against (if relevant)

In case of chrome , it fails to create the session , in case of firefox the session is created but no progress from there.

I tried running with protractor 3.x and it works perfectly fine .

This is not reproducible. Similar closed issue: https://github.com/angular/protractor/issues/2610.

operating system: OS X
chrome version: 52.0.2743.116
protractor version: 4.0.4
selenium standalone server 2.53.1 and chromedriver 2.22
node version 6

After doing some research online, this appears to not be a Protractor specific bug.
Other debugging chrome logs that may or may not help:
webdriver-manager start --chrome_logs='<full-path-to.log>'

To remove old binaries:
webdriver-manager clean
webdriver-manager update


Pull request for adding builders to the DTOs for easy object creation

added builder to DatastreamVersion
added builder to FedoraObject

For fcrepo-1004 (testdata framework) i'd like to include some object creators, using Josh Bloch's static builder pattern from "Effective Java":
http://java.sun.com/docs/books/effective/
so it's possible to do this:
	FedoraObject fo=new FedoraObject.Builder("testpid:" + sequence, "testOwner")
		.withLabel("testobject nr." + sequence)
		.withState(State.ACTIVE)
		.withCreatedDate(now)
		.withLastModifiedDate(now)
		.withDatastream(dataStream)
		.build();

http://drdobbs.com/java/208403883?pgno=2

Hi Frank, the core dto interfaces are already designed to make chained building of instances pretty easy. See http://cwilper.github.com/fcrepo-misc/fcrepo-dto/fcrepo-dto-core/apidocs/com/github/cwilper/fcrepo/dto/core/package-summary.html#package_description
So without separate builder classes, it's already possible to do this:
FedoraObject fo = new FedoraObject().pid("testpid:" + sequence)
        .ownerId("testOwner")
        .state(State.ACTIVE)
        .createdDate(now)
        .lastModifiedDate(now)
        .putDatastream(datastream);

On 11/02/2011 01:12 PM, Chris Wilper wrote:

Hi Frank, the core dto interfaces are already designed to make chained building of instances pretty easy. See http://cwilper.github.com/fcrepo-misc/fcrepo-dto/fcrepo-dto-core/apidocs/com/github/cwilper/fcrepo/dto/core/package-summary.html#package_description
So without separate builder classes, it's already possible to do this:
FedoraObject fo = new FedoraObject().pid("testpid:" + sequence)
         .ownerId("testOwner")
         .state(State.ACTIVE)
         .createdDate(now)
         .lastModifiedDate(now)
         .putDatastream(datastream);

Oh ok!
did not notice that, thanks for the info ;)
--
Frank Asseg
ePublishing & eScience
Development & Applied Research
Phone +49 7247-808-515
Fax +49 7247 808-133
<EMAIL_ADDRESS>FIZ Karlsruhe – Leibniz Institute for Information Infrastructure
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen, Germany
http://www.fiz-karlsruhe.de/

Fachinformationszentrum Karlsruhe, Gesellschaft für wissenschaftlich-technische Information mbH.
Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 101892.
Geschäftsführerin: Sabine Brünger-Weilandt.
Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.


Improve disabled

Hi all,
Regarding #677, I've implemented the changes to add disabled attributes on clear buttons, and to add disabled class to SingleDatePickerInput (it was already done for DateRangePickerInput).

Coverage remained the same at 86.5% when pulling 194ce759e2259a21c9ffc3e480117b15161f903d on mariepw:ImproveDisabled into c464d43476191699567793097d09d21d98466cbb on airbnb:master.


Remove custom error message for Instance.new in New

The default error message that roblox provides is quite clear, and wrapping it like this is unnessaray.
Heres the error that roblox provides:
Unable to create an Instance of type "lol"

All errors that Fusion emits are tagged with an identifying message and passed through the common logging endpoint by design. This is done so that all of Fusion's anticipated failure states are clearly enumerated. If we find an error source that isn't caught by us, we wrap it so we can ensure all errors are safely handled as the code evolves.
While the normal error message is clear enough, this isn't a necessary change. Without a clear motivation, this isn't suitable to be accepted as-is. Prioritising the clear enumeration of failure states is considered more important.


Set number of buckets for OSP resolver controllers

Increase the number of buckets so the 2 controllers can acquire leases.

We are trying to get a work around together for prod issue, merging this one right away .


Accuracy is ~80 after 350 epochs

hi vibrantabhi19 :
Thank you for sharing your code! That's very helpful for me to understand All-CNN.
In addition, I've trained it last with your model night with 350 epochs, however found its accuracy (i.e. val_acc) became stable (about 0.81) after epoch 49 and remained the same to the end
Any ideas? :) 👍
The model I used:
`
model = Sequential()
model.add(Conv2D(96, (3, 3), padding="same", input_shape=(32, 32, 3)))
model.add(Activation('relu'))
model.add(Conv2D(96, (3, 3), padding="same"))
model.add(Activation('relu'))
model.add(Conv2D(96, (3, 3), padding="same", strides=2))
model.add(Dropout(0.5))

model.add(Conv2D(192, (3, 3), padding="same"))
model.add(Activation('relu'))
model.add(Conv2D(192, (3, 3), padding="same"))
model.add(Activation('relu'))
model.add(Conv2D(192, (3, 3), padding="same", strides=2))
model.add(Dropout(0.5))

model.add(Conv2D(192, (3, 3), padding="same"))
model.add(Activation('relu'))
model.add(Conv2D(192, (1, 1), padding="valid"))
model.add(Activation('relu'))
model.add(Conv2D(10, (1, 1), padding="valid"))

model.add(GlobalAveragePooling2D())
model.add(Activation('softmax'))

sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy'])`

Hi @ChesterAiGo
Thanks.
As far as I can tell, you should try with a different set of learning parameter, maybe try Adam as your optimizer because the network is not able to converge.
Also in the original paper scheduler S = "e1 ,e2 , e3" were used in which γ is multiplied by a fixed multiplier of 0.1 after e1. e2 and e3 epochs respectively. (where e1 = 200, e2 = 250, e3 = 300).
Maybe you can have a go at that.
What's your training_accuracy? A measure of training accuracy might ensure that the model is not overfitting.

Hi @vibrantabhi19
Thanks for your prompt reply! I will have a  try of different optimizers as well as try vary γ during training(I think that's probably why)
In addition, there was something very interesting about the accuracies..i.e. the training accuracy keeps increasing steadily (from epoch 1 to epoch 350) while the validation accuracy became stable (was not increasing but was not decreasing as well..that's weird xD) after epoch 49..
Something looks like:
Epoch 1: Val: 0.1, Train: 0.1
...
Epoch 49: Val: 0.8, Train: 0.8
...
Epoch 450: Val: 0.8, Train: 0.94
Thanks again ! :)

Oh, that's weird, the network cannot overfit, we are already using a dropout of 0.5.
Since the network is converging (train_acc=0.94 is a proof of that), I don't think trying out different optimizers will help, anyways go ahead with the experiment and post your results here.
I will try investigating on my end (the same code has worked for a lot people so I am not able to figure the exact error)

I can confirm, that using the original code (with the fix in https://github.com/MateLabs/All-Conv-Keras/pull/5) and removal of multi_gpu code reveals an accuracy over 81%. My best after 350 epochs using the code of this repository was 90.88%. However, it cracked 90% already in epoch 140.
See accuracy (as CSV):

And loss (as CSV):

The learning rate decay produced this (as CSV):

See also full console log.
and all source code + weights here: https://aetros.com/marcj/keras:all-conv/view/refs/aetros/job/92fcd671c6814c375edd404a65edc66c00ba5aec
Hyper parameter and other information here:

So what I can say: I can not reproduce the stuck at 81%. @ChesterAiGo, you can fork my model at https://aetros.com/marcj/keras:all-conv and try to run it on your hardware, so we have all information to debug it.
However, I'd also like to know why this code does not produce the results from the linked paper and what you need concretely to achieve 95.59% for cifar10 using all-conv.

this is some sexy plots 90 percent accuracy


Energy Shield Pool Wrong Calculation

Path of Buiding v1.2.36 shows 14843 ES pool whereas in game i have 10311 ES (both with Discipline Aura level 19).
The character's tree and items have been imported through the "Import/Export Build" function.
Screenshot available below.
Thank you for your work.

Is all your armor in game q20?
On 14 Dec 2016 13:06, "QbleD3"<EMAIL_ADDRESS>wrote:

Path of Buiding v1.2.36 shows 14843 ES pool whereas in game i have 10311
ES (both with Discipline Aura level 19).
Screenshot available.
Thank you for your work.
[image: pob wrong es pool calculation]
https://cloud.githubusercontent.com/assets/24281359/21181395/fd8ead96-c1fd-11e6-8c45-82e71f07b027.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Openarl/PathOfBuilding/issues/102, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMQ7F6n3zP3sh_Vik8W6AYszoDsINfXOks5rH9vPgaJpZM4LM2Xb
.

All skills (including auras) are initially enabled when imported. In your case, that includes Vaal Discipline. You can see which skills are enabled in the View Skill Details section at the top of the Calcs tab.

@zocke1r yes all my items are 20Q ingame.
Good catch @Openarl, the difference was coming from Vaal Discipline.
Maybe Vaal skills should be disabled by default ? I'm sure many energy shield users might be thrown off because of Vaal Discipline. I've been trying to figure this out for a week now until i finally came to post here.
Thanks guy.


Use more precise language in discussion about per-module caches

@vafomin asked me about this. I checked with @colesbury, and I think the updated language is closer to the real guarantees people have.
I'm not sure under what circumstances the per-module locks might be released to avoid deadlocks and whether extension authors should worry about that. It's a bit academic for 3.13, because CPython also re-activates the GIL before importing modules with C extensions, but Sam told me users shouldn't rely on that behavior, so I'm not documenting it.

Wrong tag. I didn't ask for such features :)

Unrelated to the changes, but the NumPy PR mentioned below uses PyThread_type_lock, presumably because PyMutex wasn't available at the time. Are there any examples we can link to where PyMutex is used, since that is the best practice now? Or do we want to stick to linking to a PR that uses a heap-allocated lock so that we show how to use the init function?

No we definitely want to use PyMutex. Maybe add a note afterward saying that PyMutex is preferred now?
You could link to the NumPy PR where I switched all the locks to PyMutex: https://github.com/numpy/numpy/pull/27011


Radial spectrum

I started the PR, thus if you have comments you can also post them here.
Computation of Radial Spectrum, which is the spherical expansion with l=0.
It gives a TensorMap without the key : 'spherical_harmonics_l'.
Each one of its blocks has no components, and the corresponding gradient has only the component: ['gradient_direction']

I did a small cleanup/automatic reformat of the code and added the radial spectrum to the documentation. Let me know if you are happy with these changes and then we can merge this!


GLTFProperty extension registration APIs

Adding thread-safe APIs for GLTFProperty extension registration needs.

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


Already defined formula on a column of sheet not working

Already defined formula on a column of sheet not working on the change of the respective dependency.
I have a sheet in which whenever value changes in one of the columns, that should reflect in the column of another sheet where the formula of that computation is there which does this.
But, it's not happening using the xlsx package. Any solutions?

If you are asking about reading and exporting formulae, the file-format support is described in https://github.com/SheetJS/sheetjs#formulae -- you should be able to read and write in a number of formats.  If you can share an example, we can take a closer look.
If you are asking about updating the workbook after changing a value (based on the formula structure), this is something we currently consider "out of scope" for this file library.  We offer a paid component for refreshing workbooks and performing calculations


Gestion des cellules non vides par compute_cell_particles

all good to me. would need to remove #include  later, as it seems to be unused.


Panic on first run

The first time the application is run it prompts the user to pick a location. When it then tries to save the location to file it panics.
Platform: Windows
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 3, kind: NotFound, message: "Det går inte att hitta sökvägen." }'

thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }', C:\Users\USERNAME.cargo\registry\src\github.com-1ecc6299db9ec823\wthrr-0.10.0\src\modules\config.rs:82:37
Same error.
I don't think it's writing a config file, and the path is nonexistant.
I installed via cargo.

Thanks for reaching out! I'll investigate on this after getting some sleep.
Until then - from looking at the error and the code it points to - what you mention should work as a workaround. For windows it is
C:\Users\<user>\AppData\Roaming\weathercrab\.
The config section in the Readme got all the paths.
You can try creating just the weathercrab directory without a config file and let me know if it works.
Else an empty wthrr.ron. There is also one with default values in the root of the repo.

Manually creating the file/folder

%appdata%/weathercrab/wthrr.ron

worked.
I just wasn't sure what folder it's supposed to be in.


Add 10 new mountains to Ski Report

Adds Big Sky, Brighton, Cypress, Summit, Boyne Mountain, The Highlands, Loon, Pleasant Mountain, Sugarloaf and Sunday River to Ski Report through an additional API

I didn't see this when I made a different change to the same app (adding metric+celsius options). They'll definitely conflict, so when this gets merged I'll rebase accordingly. (https://github.com/tidbyt/community/pull/2898)


multiple SubmitForm()

Hi,
it is usual to have multiple edit forms on the same page. These are used to improve the user interface.
It would be great if you can document how to use SubmitForm() for submitting multiple forms which update the same Dataverse record at the same time.
Thank you
[Enter feedback here]

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

ID: 6a5416ca-bb32-49b4-18e1-9c4c8de54a2e
Version Independent ID: bb2289c0-64cc-bf39-8dc5-f551facdce8f
Content: EditForm, NewForm, SubmitForm, ResetForm, And ViewForm functions - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-form.md
Service: powerapps
GitHub Login: @gregli-msft
Microsoft Alias: gregli

Thank you for reaching out. SubmitForm takes one argument for the form. You can use multiple submit form arguments in repetitions and try. For further assistance, please reach out using a support ticket for help and investigation.

thank you, this is great. Can you please document this on the page so our readers can find this important information?
my apologies if I did not see the information. it does not seem to be so obvious. Thank you very much


SR-10638: Change the type of force casting in NSCalendar.

Despite CFDateFormatterCopyProperty(_:_:) returns CFArrayRef when the key is kCFDateFormatterEraSymbolsKey, the compiler on Linux assume that the type is _NSCFArray and fails to cast even though they are compatible.
Resolves SR-10638.
Note: This bug is blocking PR#2200.

@swift-ci test


Selecting a credit card doesn't update the GooglePay button

Describe the bug Selecting a credit card doesn't update the GooglePay button with the new credit card's last digits.
To Reproduce Steps to reproduce the behavior:

Click on the GooglePay button in order to select a credit card

Notice the GooglePay button is still rendering the previous credit card

https://github.com/google-pay/google-pay-button/assets/4083652/370314a0-e3cc-42f7-9433-2e0259b03e6e
Expected behavior Expected for the UI to update showing the last selected credit card. Notice how GooglePay is rendering the credit card if I have one set in my account after I login on Google:

Another issue is when GooglePay already selected the default credit card, but it doesn't update the UI when you select another credit card. It still shows the old credit card
Component information:

Component

[x] React component (@google-pay/button-react)
[ ] Custom element (@google-pay/button-element)
[ ] Angular component (@google-pay/button-angular)

Component version (e.g. 1.0.0):

Environment:

Device (e.g. iPhone6): MacOS
OS (e.g. iOS8.1): Sonoma 14.2
Browser (e.g. stock browser, safari): Chrome
Country/region: Romania

Additional context Add any other context about the problem here.

Thank @IonelLupu yes. we are aware of this and are working on a better "show the last used card" algorithm.

@IonelLupu if you would refresh the page you would see the new 4936 card. Is that right?
How it usually works is that once a user completes a Google Pay transaction you would continue with sending the token to your backend, do the actual authorization with your PSP and redirect the user to a success/error page. There is no need to come back to the checkout page where you show the button again.
You can play around with those scenarios in our demo shop: https://paydemo.withgoogle.com/

@dmengelt oh. I understand now.
Isn't it a bit of bad UX to have that selected and not able to use it? 🤔
As a user myself, I know my credit card digits, and when I see it like that, I assume the card is already selected for me

The problem is, we have a page where the user can fill in a form with a lot of data and the Google pay button is in a section called "Payment". In there, the user can choose between multiple payment methods: credit card or Google.
If they pick "a normal credit card" option, they can manually enter the credit card details. After that, they can click our form's submit button called "Confirm purchase and pay" at the bottom of the page
When they pick Google, they can click the GooglePay button now to pick their card. Remember we still have a button at the bottom of the page. They basically click two buttons.
I think this is a problem of our UI. We don't have to have two button. Stripe, for example, has this UI:

After the user clicks the button at the bottom of the page, the Google Pay sheet shows up. I think we can implement the same thing for our UI.

@IonelLupu

think this is a problem of our UI. We don't have to have two button.
Yes. This is exactly the point. No need for two buttons. I actually wanted to mention this already in my first answer 😉

In general: They Google Pay button is not only about card selection. It is for card selection and doing the actual payment in one step.


native tensorflow port

code has been modified in order to work with tensorflow.keras and tensorflow eager.

update

Hi @mattiavarile
I did not try to use tf.keras. Is it fully compatible with keras?
Should not it be like keras_applications with optional backend specification?

Hi @qubvel

Yes, as far as I know is fully compatible and integrated.
If your objective is to integrate the repository into keras_application and make the code compatible with other backends, then it would be better to avoid using tf.keras and not merging my repository in master branch. Otherwise I think is better to use the native tensorflow integration of keras, in order to leverage the upcoming tf2.0 capabilities such as eager executions.

@qubvel, @mattiavarile, could you please close this PR and merge the code into a separate branch instead? This will serve as a compromise between the two approaches that @mattiavarile has mentioned, enabling access to all the advantages that tf.keras provides.

@qubvel, I have added several improvements to this PR (adding support for the export to SavedModel in the converter, for example). Could you please create a new branch, say tf-keras, so that there was a tf.keras implementation as well?


Plugin and CLI to calculate Fawbush & Miller hail size for each realizations.

Create Plugin and CLI to calculate Fawbush & Miller hail size for each realizations.
This will apply the Fawbush and Miller, 1953, hail size technique, as implemented in the UKPP CDP code and described by Hand and Cappelluti, 2011. See @MoseleyS' Literature review for deriving hail data from MOGREPS-G, section 6.
Inputs will be:

Cloud condensation level (CCL) temperature and pressure (from #1742)
Temperature on pressure levels
Humidity mixing ratio on pressure levels

From these, calculate the potential temperature of the atmosphere at the -5C level and at the cloud condensation level. Implement a static lookup table for the nomogram from which hail size can be extracted using the described temperature differences.
Figure 2 in the literature review shows the points on a tephigram as B, b, C and c.

The the potential temperature of the cloud condensation level temperature is c.
The potential temperature of the atmosphere at the CCL is C.
The potential temperature of the atmosphere at -5C is B.
The potential temperature after saturated ascent from the CCL to -5C is b.

Note that potential temperature is the temperature after dry adiabatic change to a standard pressure, usually 100 000 Pa.
The literature omits to mention that the Fortran CDP code also reduces the hail stone size if a warm atmosphere is present. We should include this too, by ingesting the wet-bulb temperature integral data, but this can be added in a separate PR if that helps keep the PR sizes manageable.
Acceptance criteria:

[ ] Unit tests show input and output data that agree with a Tephigram.
[ ] Output cube will be named "size_of_hail_stones"
[ ] Inputs are expected to be in realization-space.
[ ] Acceptance test domain should cover a range of latitudes, but does not have to be global.

I have written the plugin and tests to calculate the size of hail stones with a couple of differences to above (as discussed with Stephen).

Rather than taking in humidity mixing ratio on pressure levels cube it instead takes in relative humidity on pressure levels and calculates the humidity mixing ratio at the needed levels.
The temperatures aren't potential temperatures as the method doesn't work with potential temperatures.
I’ve created a separate ticket for the melting in the presence of warm atmosphere.

PR: metoppv/improver#1792.
The acceptance test data is on branch mobt1777-hailsize


fix: make gitpod work with d11

adding further fixes from https://github.com/shaal/DrupalPod/pull/146/files


My Home Assistant is not showing new version available, even though there are

Description of problem:
Hello,
I'm running version 1.16.1 and dev version (edge) is 1.16.2 but I've just browsed the repository and there I saw that version 1.18 is out. Why is that the case? How do I force an upgrade making sure I don't break anything. I have like 30 devices running just fine.

Zigbee2mqtt add-on version (if edge, please report commit hash):
"permit_join":false,"version":"1.16.1"}'

Running platform (details from Suypervisor > System)
  OS Version:               Debian GNU/Linux 10 (buster)
  Home Assistant Core:      2021.2.1

click add-on store, upper right hand side, 3dot icon, hit RELOAD.

click add-on store, upper right hand side, 3dot icon, hit RELOAD.

Nothing :(

did you follow these instructions ?
Updating the Edge add-on
To update the edge version of the add-on, you will need to uninstall and re-install the add-on.
⚠ Make sure to backup your config as the procedure will not save this for you.
Steps
Backup config from: Supervisor → Dashboard → Zigbee2mqtt Edge → Configuration
Uninstall: Supervisor → Dashboard → Zigbee2mqtt Edge → Uninstall
Refresh repo: Supervisor → Add-on store → ⋮ → Reload
Re-install: Supervisor → Add-on store → Zigbee2mqtt Edge → Install
Restore config to: Supervisor → Dashboard → Zigbee2mqtt Edge → Configuration

did you follow these instructions ?
Updating the Edge add-on
To update the edge version of the add-on, you will need to uninstall and re-install the add-on.
⚠ Make sure to backup your config as the procedure will not save this for you.
Steps
Backup config from: Supervisor → Dashboard → Zigbee2mqtt Edge → Configuration
Uninstall: Supervisor → Dashboard → Zigbee2mqtt Edge → Uninstall
Refresh repo: Supervisor → Add-on store → ⋮ → Reload
Re-install: Supervisor → Add-on store → Zigbee2mqtt Edge → Install
Restore config to: Supervisor → Dashboard → Zigbee2mqtt Edge → Configuration

Thanks for that info. I certainly didn't know. I thought that the Edge version would stick to the normal update process.
But that does not explain why the stable version is not displaying any pending update. For me the most pressing issue now is updating the stable version of the add-on.
Thanks a million anyway!

Mystery solved. For some reason, the repo link had gone lost. I have no idea when that happened. Now I'm on 1.18!


Add an "--ignore" option

This PR adds an --ignore option to Attractor, so one can:
attractor <action> --ignore bloated.rb,some_dir,another_thing/to/ignore.js

Its implementation won't work yet with --watch option (see #91)
This can be considered as a version breaker as the API for BaseCalculator.initialize changes with the new ignore parameter : all other calculators should be updated to add this parameter too.
# attractor-javascript/lib/attractor/calculators/js_calculator.rb
# attractor-ruby/lib/attractor/calculators/js_calculator.rb
def initialize(file_prefix: '', ignores: '', minimum_churn_count: 3, start_ago: 365 * 5)
  super(file_prefix: file_prefix, file_extension: '(js|jsx)', ignores: ignores, minimum_churn_count: minimum_churn_count, start_ago: start_ago)
  # ...
end

Note: it won't be such an issue if we could have called super with all args, maybe like:
def initialize(options)
  options[:file_extension] = '(js|jsx)'
  super(options)
end

Closes #90

in the current state of this PR, we can do something like (with modified "attractor-ruby" gem)
bundle exec attractor serve --ignore 'db/schema.rb,config/routes.rb,features/step_definitions,spec,lib/templates'

A bit of cleanup, documentation and tests, and two more PRs on the ruby/js attractors and it will be good :)

I have no clue on how to test the new parameter. Any insight is welcome.

Now we've merge conflicts because of standard of course, please rebase 🙏

Done.

We've got failing tests now because of the missing calculators' changes. I'm gonna look at those later :-)

Failing Cucumber scenarios are directly related to other attractors not having their last changes. This may be solved in two ugly steps:

Update Attractor dependencies to use the specific commit and branch, then merge. Tests pass.
Merge related PRS and rollback the commit. Tests still pass.

... But it's ugly :/

Nevermind, I'll take a look at the calculators, just not sure when I'll get to it :-/

Yep, just want to fix CI there as well real quick

Thanks, I'll do a final round of testing 👍

Merged and released as 2.10! Thanks for the awesome contribution!

@all-contributors add @mtancoigne for code


fix(avm): reenable tag error sload

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#7153  👈
#7147
#7082
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @IlyasRidhuan and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

proof_construction_time_sha256_30_ms (16): 1,374 (-24%)
avm_simulation_time_ms (Token:mint_public): 68.5 (-89%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 230 (+202%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_30_ms
11,355
3,149 (+1%)
:warning: 1,374 (-24%)
1,418 (-8%)
1,454 (-1%)

proof_construction_time_sha256_100_ms
44,321 (-1%)
11,980 (-1%)
5,644 (-1%)
5,526 (-2%)
5,493 (-1%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
58.0
88.0

proof_construction_time_poseidon_hash_30_ms
1,514
419
203
223 (-1%)
267 (-1%)

proof_construction_time_poseidon_hash_100_ms
5,734
1,571
723 (-1%)
786 (+3%)
796 (-1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412
1,412

l1_rollup_calldata_gas
9,476
9,466
9,452

l1_rollup_execution_gas
610,297
610,287
610,273

l2_block_processing_time_in_ms
753 (-5%)
1,403
2,692 (-1%)

l2_block_building_time_in_ms
25,489
50,846 (-1%)
100,323

l2_block_rollup_simulation_time_in_ms
25,391
50,546 (-1%)
99,966

l2_block_public_tx_process_time_in_ms
21,825
46,802 (-1%)
96,259

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
6,932 (-1%)
9,755 (-1%)

node_database_size_in_bytes
12,173,392
16,154,704

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
67.3 (-5%)
13,873

GasToken:set_portal
16.3 (+5%)
3,495

Token:constructor
99.3 (+5%)
24,207

FPC:constructor
63.1 (+2%)
13,893

GasToken:mint_public
53.1
10,241

Token:mint_public
:warning: 68.5 (-89%)
19,216

Token:assert_minter_and_mint
:warning: 230 (+202%)
13,034

AuthRegistry:set_authorized
32.5 (-9%)
7,869

FPC:prepare_fee
142 (-22%)
15,187

Token:transfer_public
33.4 (-26%)
31,425

FPC:pay_refund
136 (+14%)
20,080

Benchmarking:increment_balance
2,676 (-1%)
15,465

Token:_increase_public_balance
56.8 (-5%)
15,089

FPC:pay_refund_with_shielded_rebate
145 (-6%)
21,167

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.175

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.3
16.7 (-1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.599
0.514 (-1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.3 (-1%)
75.6 (-1%)
131 (-1%)
243
469 (-2%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.494
0.465
0.449 (-1%)
0.441
0.438 (-1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.6
111
181 (-1%)
350 (-1%)
690 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.504
0.498
0.481 (-1%)
0.475
0.474 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
72.6
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.517
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
85,672
670,983

Transaction size based on fee payment method
| Metric |  |
| - |  |

Merge activity

Jun 24, 6:16 AM EDT: @IlyasRidhuan started a stack merge that includes this pull request via Graphite.


Update README.rst

That first sentence was killing me. This is a bit better.

Thank you for contributing to openstack/pylockfile!
openstack/pylockfile uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


doc(README): expand with curl session usage

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
950

Relevant Lines:
984

💛  - Coveralls


Node Un-tainter Possibly Re-Adding Previously Removed Startup Taints (Rare Race Condition)?

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Context
In our node provisioning, we have 3 startup taints which their respective controllers remove when component is ready:

cni.istio.io/not-ready <-- it's removal is handled in https://github.com/istio/istio/pull/48818
ebs.csi.aws.com/agent-not-ready <-- another controller removes this taint
efs.csi.aws.com/agent-not-ready<-- another controller removes this taint

The Problem

ℹ  In very rare cases (hasn't happened in my super-high node churn [thousands of nodes] environment yet), but has happened on a very small percentage of nodes in a 50-node K8s cluster (where nodes churn every few hours), we run into this problem:

Issue: The non-Istio CNI startup taints (EBS and EFS) get removed first (by their respective controllers). However, the Istio node untainter seems to do a second patch with them included (despite being no other patch on the node between the first and second istio CNI node untainter call)
Details of Flow
This is an example flow of the above problem (based on k8s audit logs of patch events):

2024-08-28T17:02:10.072566Z: The EFS startup taint is removed by system:serviceaccount:kube-system:efs-csi-node-sa
2024-08-28T17:02:15.163359Z: kube-controller-manager shows no EFS startup taints in its operation
2024-08-28T17:02:22.264561Z: The EBS startup taint is removed by system:serviceaccount:kube-system:ebs-csi-node-sa
2024-08-28T17:02:23.281709Z: The Istio CNI startup taint is removed by system:serviceaccount:istio-system:istiod-1-22-x  <-- At this point we are good!!
2024-08-28T17:03:59.512899Z: The istio CNI startup taint is (re)removed by system:serviceaccount:istio-system:istiod-1-22-x <-- But the patch request showed the EBS and EFS taints back on the "test" jsonpatch

Important notes:

There were no other patch operations between steps (4) and (5)
Step (5) happened about a minute-and-a-half after the intial istio cni taint removal in Step (4)
All the patches returned Success

Question / Goal of this Issue
Is it even possible that the Istio CNI node untainter can possibly be caching previously removed startup taints and re-adding them back when removing its own? Or any other explanations?
Why I'm leaning toward something with the istio controller:

It's the only untainter in the flow above that ran twice (with the second time thinking the EBS/EFS startup taints were re-added)
No other patch events came into our audit logs between the first and second untaint runs
Looking at the other controllers, there were patches like https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues/1273 and https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2015 (and we confirmed we're on the latest versions containing them)

Current Workaround
Though not ideal, and because we find the Istio CNI startup taint to be more valuable before scheduling, we've removed the EBS and EFS startup taints from the nodes (otherwise we'd have to manually restart the EBS/EFS CSI pods for them to (re-)remove the startup taints when this issue occurs).
Version
$ istioctl version
client version: 1.23.0
control plane version: 1.22.4
data plane version: 1.22.4 (357 proxies)
$ kubectl version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.3-eks-2f46c53

Additional Information
No response

Hmm, wonder if our test isn't working as expected here..


(e.adapter || a.adapter) is not a function in background script

Hi, I'm experiencing issues using registerMessageHandler() in my background script.
I'm using webpack.
src/index.js
import axios from 'axios'
import { registerMessageHandler } from 'axios-chrome-messaging-adapter'
registerMessageHandler()

chrome.runtime.onMessageExternal.addListener(
    function (request, sender, sendResponse) {
        console.log('received');
        localRequest(`https://jsonplaceholder.typicode.com/todos/1`, {
        }).then((response) => {
            console.log('sending back')
            console.log(response)
            sendResponse(response.data)
            return true;
        }).catch((e) => {
            console.error(e);
            sendResponse({ result: 'error', message: e.message });
            return false;
        });
    });

const localRequest = async (endpoint, headers) => {
    return await new Promise((resolve, reject) => {
        axios.get(endpoint, {
            headers: headers
        }).then((response) => {
            resolve(response.data)
        }).catch((e) => {
            reject({ result: 'error', message: e.message }); //(e.adapter || a.adapter) is not a function
        });
    })
}

Here is my Manifest
{
    "name": "My additions",
    "description": "Extra communication",
    "version": "1.0",
    "manifest_version": 3,
    "background": {
        "service_worker": "main.js"
    },
    "permissions": [
        "storage",
        "activeTab",
        "scripting"
    ],
    "host_permissions": [
        "*://*/*"
    ],
    "externally_connectable": {
        "matches": [
            "*://*.domain.xyz/*"
        ]
    }
}

Thank you for your consideration :)

In your example you're not passing the adapter to axiso when making the request.
Anyway I haven't tried with manifest V3 yet and will do some tests soon, so for now consider this package to be only compatible with manifest V2.

In your example you're not passing the adapter to axios when making the request.
Also I haven't tried with manifest V3 yet (I will do some testing soon), so for now consider this package to be only compatible with manifest V2.

that request looks like its inside the background script. Wouldn't the adapter be only for axios calls outside of the background script? else it's just sending message to itself


oas v2 rules applied to v3 spec

When running vacuum against an openapi v3 spec it still reports failures for oas2-* rules for example oas2-api-host.
I would expect it to only apply the rules appropriate to the spec version.
Example header which I would expect the rules to consider.
openapi: 3.0.0

Looks like the issue occurs when --skip-check is requested, which seems to be an unintended side effect


CiscoDuoSecurity Function App code update

Fixed error : 400 Invalid request parameters ('maxtime' must be a timestamp in milliseconds)
Required items, please complete
Change(s):

Updated maxtime variable definition when the difference is greater than 3600000 ms

Reason for Change(s):

When the difference between the mintime & maxtime is greater than 3600000, the new maxtime value becomes invalid
Resolves issue identified here: https://github.com/Azure/Azure-Sentinel/pull/8208#issuecomment-1594091137

Version Updated:

N/A

Testing Completed:

Yes. Testing results:

Changes made at: 2023-06-16 05:15:00.000

Checked that the validations are passing and have addressed any issues that are present:

Need help

@microsoft-github-policy-service agree company="IPSec Pty Ltd"


Error: spawn cmd.exe ENOENT

Environment:
react: 16.0.0-alpha.6,
react-native: 0.43.1
OS: Windows 10
node.js: 6.9.2
yarn: 0.22.0
c:\sampleproject>react-native start
.....
Running packager on port 8088.
.....
c:\sampleproject>react-native run-android
.....
Installing APK 'app-debug.apk' on 'Nexus_5X_API_23_1(AVD) - 6.0' for app:debug
Installed on 1 device.
BUILD SUCCESSFUL
Total time: 14.114 secs
Running C:\Users\User\AppData\Local\Android\sdk/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
Starting the app on emulator-5554 (C:\Users\User\AppData\Local\Android\sdk/platform-tools/adb -s emulator-5554 shell am start -n com.sampleproject/.MainActivity)...
Starting: Intent { cmp=com.sampleproject/.MainActivity }
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn cmd.exe ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
Kindly assist to solve the issue.

GitHub Issues aren't the best place to troubleshoot dev environment issues I'm afraid. Feel free to reopen if you have identified a specific issue that can be addressed with a PR.

I am also getting exactly the same error . I tried reinstalling the nodejs but didn't work . My device is running on Android 5.1 Lollipop


Reading binaries/version for molecule tests from env variables

Description
https://confluentinc.atlassian.net/browse/ANSIENG-1047?atlOrigin=eyJpIjoiOWEyOWJkNmRlMzc4NDBiYTk3Nzc5YjM0NDk2MDc3MDYiLCJwIjoiaiJ9
For automating our patch releases, we need to read new binaries directly when running molecule tests. This change introduces env variables which'll resolve to new package binaries and new versions at runtime.
With these change in place, to run a new patch, we'll need to set env variables COMMON_REPO_URL and VERSION before running the molecule tests to change dockerfiles. To make other relevant changes, we'll need to pass variables confluent_common_repository_baseurl and confluent_package_version/confluent_repo_version in molecule run.
Default behaviour stays unchanged.
Fixes # (issue)
Type of change

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

How Has This Been Tested?
cp-ansible-on-demand run 74.
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

Done @nsharma-git. Tested again with on-demand run 75.