Segmentation fault occurred in netopeer2-server when netopeer2-cli connected

hi michalvasko,
I'm trying to run netopeer2-server on an MIPS64 machine, when connecting to the netopeer2-server,we observed the following segmentation fault with a core dump. Please provide some help,thanks.
env: mips64 GNU/Linux
cross compile
version:
netopeer: Netopeer2-1.1.39
netconf: libnetconf2-1.1.43
libyang: libyang-1.0.184
sysrepo: sysrepo-1.4.122
libssh: libssh-0.7.5
gdb info:
(gdb) bt
#0  0x000000ffe95d2e84 in _nss_files_getpwnam_r () from /lib/libnss_files.so.2
#1  0x000000ffe95d2e74 in _nss_files_getpwnam_r () from /lib/libnss_files.so.2
netopee2-cli log:
netopeer2-cli

connect
Interactive SSH Authentication
Type your password:
Password:
nc ERROR: Session 1: SSH channel poll error (Socket error: disconnected).
nc ERROR: Session 1: invalid session, discarding.
cmd_connect: Connecting to the localhost:830 as user "root" failed.

netopee2-server log:
    [INF]: LY: Module "ietf-netconf@2013-09-29" successfully parsed as imported.

[INF]: LY: Resolving "ietf-netconf-with-defaults" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-with-defaults" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-with-defaults@2011-06-01" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-notifications" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "ietf-netconf-notifications" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-notifications" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-notifications@2012-02-06" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-origin" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-yang-metadata" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Resolving "ietf-origin" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-origin" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-origin@2018-02-14" successfully parsed as implemented.
[INF]: LY: Module "ietf-netconf-acm@2018-02-14" now implemented.
[INF]: LY: Searching for "ietf-netconf-monitoring" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-netconf-monitoring@2010-10-04" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-nmda" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-origin" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-netconf-with-defaults" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "ietf-netconf-nmda" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-nmda" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-nmda@2019-01-07" successfully parsed as implemented.
[INF]: LY: Searching for "nc-notifications" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "notifications" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "notifications@2008-07-14" successfully parsed as imported.
[INF]: LY: Module "nc-notifications@2008-07-14" successfully parsed as implemented.
[INF]: LY: Module "notifications@2008-07-14" now implemented.
[INF]: LY: Searching for "ietf-x509-cert-to-name" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-x509-cert-to-name@2014-12-10" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-crypto-types" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-crypto-types@2019-07-02" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-keystore" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-crypto-types" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "ietf-keystore" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-keystore" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-keystore@2019-07-02" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-truststore" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-truststore@2019-07-02" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-tcp-common" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-tcp-common@2019-07-02" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-ssh-server" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-ssh-common" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-ssh-common@2019-07-02" successfully parsed as imported.
[INF]: LY: Searching for "ietf-keystore" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "iana-crypt-hash" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "iana-crypt-hash@2014-08-06" successfully parsed as imported.
[INF]: LY: Module "ietf-ssh-server@2019-07-02" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-tls-server" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-tls-common" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-tls-common@2019-07-02" successfully parsed as imported.
[INF]: LY: Searching for "ietf-truststore" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-tls-server@2019-07-02" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-server" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-x509-cert-to-name" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-tcp-client" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-tcp-common" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-tcp-client@2019-07-02" successfully parsed as imported.
[INF]: LY: Searching for "ietf-tcp-server" in /mnt/sysrepo-1.4.122/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-tcp-server@2019-07-02" successfully parsed as imported.
[INF]: LY: Resolving "ietf-netconf-server" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-server" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-server@2019-07-02" successfully parsed as implemented.
[INF]: SR: No scheduled changes.
[INF]: SR: Connection 73 created.
[INF]: SR: Session 543 (user "root", CID 73) created.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:get-config" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:edit-config" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:copy-config" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:delete-config" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:lock" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:unlock" subscription of CID 72.
[WRN]: SR: Recovered a read-lock of CID 72 (sr_shmext_rpc_subscription_add).
[WRN]: SR: Recovering RPC/action "/ietf-netconf:get" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:kill-session" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:commit" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:discard-changes" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf:validate" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/notifications:create-subscription" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf-nmda:get-data" subscription of CID 72.
[WRN]: SR: Recovering RPC/action "/ietf-netconf-nmda:edit-data" subscription of CID 72.
[WRN]: SR: Recovering module "ietf-netconf-monitoring" operational subscription of CID 72.
[WRN]: SR: Recovering module "nc-notifications" operational subscription of CID 72.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: There is no leafref "/ietf-keystore:keystore/ietf-keystore:asymmetric-keys/ietf-keystore:asymmetric-key/ietf-keystore:name" with the value "genkey", but it is not required.
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on <IP_ADDRESS>:830 for SSH connections.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[WRN]: SR: Recovering module "ietf-netconf-server" operational subscription of CID 72.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-keystore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-truststore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[WRN]: SR: Recovering module "ietf-netconf-acm" operational subscription of CID 72.
[WRN]: SR: Recovering module "ietf-netconf-acm" operational subscription of CID 72.
[WRN]: SR: Recovering module "ietf-netconf-acm" operational subscription of CID 72.
[INF]: LN: Accepted a connection on <IP_ADDRESS>:830.
[INF]: SR: Session 572 (user "root", CID 73) created.
[1970/01/03 14:06:26.094201, 1] ssh_server_connection_callback:  SSH client banner: SSH-2.0-libssh_0.7.5
[1970/01/03 14:06:26.094360, 1] ssh_analyze_banner:  Analyzing banner: SSH-2.0-libssh_0.7.5
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[WRN]: LN: User authentication successful with an empty password!
[INF]: LN: User "root" authenticated.
[INF]: LN: Received an SSH message "request-channel-open" of subtype "session".
[INF]: LN: Received an SSH message "request-channel" of subtype "subsystem".
[INF]: SR: Session 573 (user "root", CID 73) created.
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-yang-library" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-datastores" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LN: Schema "ietf-datastores" was requested.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/ietf-netconf:get" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf:get" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
Segmentation fault (core dumped)

It seems the crash is in a library function getpwnam_r(3) so I am not sure there is anything we can do about that, in all likelihood it is because of the platform you are on. If there is valgrind available, you can try to use that, but without more information I am certainly not able to help.


Add dedicated API for programmatic config

This PR addresses #26 by providing a dedicated direct way to configure the library programmatically.

@pitchmuc @loldenburg PTAL at the changes.

@xSAVIKx Thanks a ton! @pitchmuc This should solve https://github.com/pitchmuc/adobe_analytics_api_2.0/issues/26
In future updates, I think it is important that the library does not expect (only) a config FILE, but that there is also a way to configure the Credentials with a function and parameter input.

Thanks @xSAVIKx for the new API and a bit of cleaning on the different methods used.
I wanted to push back the changes I made to this PR for review but I couldn't, neither could I created a new branch from this PR.
So I directly added it on the master.
My lack of Git knoweldge may have been the main issue here...
I have updated the documentation for authenticating without config file based on the new methods provided.
@loldenburg, could you check if that is the way you are doing it ?
I will add the Tags endpoint before doing a Pypi release.

Thanks to both of you, great stuff! I will test as soon as I can, can take
a couple of days though.
On Fri, Oct 30, 2020 at 11:05 AM Julien<EMAIL_ADDRESS>wrote:

Thanks @xSAVIKx https://github.com/xSAVIKx for the new API and a bit of
cleaning on the different methods used.
I wanted to push back the changes I made to this PR for review but I
couldn't, neither could I created a new branch from this PR.
So I directly added it on the master.
My lack of Git knoweldge may have been the main issue here...
I have updated the documentation for authenticating without config file
https://github.com/pitchmuc/adobe_analytics_api_2.0/blob/master/docs/authenticating_without_config_json.md
based on the new methods provided.
@loldenburg https://github.com/loldenburg, could you check if that is
the way you are doing it ?
I will add the Tags endpoint before doing a Pypi release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pitchmuc/adobe_analytics_api_2.0/pull/28#issuecomment-719461338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD34SUC4R5GFUEWVI7O3NQLSNKFXZANCNFSM4S75NJRQ
.

@pitchmuc thx again, I verified the update works, the description seems fine to me!


[BUG] java.lang.NullPointerException on parsing custom recipes with kubejs -> custom recipes with NC types not work

I have literally to try to copy-paste the json recipe and on both (kubejs and vanilla datapacks) don't work
(vanilla version didn't have sended nothing on log , kubejs sended java.lang.NullPointerException on parsing the recipe)
directory : /kubejs/data/nuclearcraft/recipes/name.json
{
  "type": "nuclearcraft:alloy_smelter",
  "input": [
    {
      "tag": "forge:dusts/boron"
    },
    {
      "tag": "forge:dusts/steel"
    }
  ],
  "output": [
    {
      "count": 2,
      "item": "nuclearcraft:ferroboron_ingot"
    }
  ],
  "powerModifier": 1.0,
  "radiation": 1.0,
  "timeModifier": 1.0
}

kubejs method:
directory : kubejs/server_scripts/recipes/nuclearcraft/fluid_infuser.js
event.custom({
  "type": "nuclearcraft:alloy_smelter",
  "input": [
    {
      "tag": "forge:dusts/boron"
    },
    {
      "tag": "forge:dusts/steel"
    }
  ],
  "output": [
    {
      "count": 2,
      "item": "nuclearcraft:ferroboron_ingot"
    }
  ],
  "powerModifier": 1.0,
  "radiation": 1.0,
  "timeModifier": 1.0
})

[logs are a bit long due counter on game]
latest.log
kubejs server log:
server.log

Yeah. Confirming that. But i have no idea how to fix that

Alright. I figured out what you need to put datapack.zip into datapack subfolder of save folder
MyWorld/datapack/datapack.zip
And it works.
Kubejs have less priority for me atm. So will check that later

test.zip

It work except that if reloaded one more time it keep the old recipe
and all recipes with custom types cannot be removed/modified without override one by one

/saves/world/datapacks/folder/data/nuclearcraft/recipes/alloy_smelter/name.json
{
  "type": "nuclearcraft:alloy_smelter",
  "input": [
    {
      "tag": "forge:dusts/copper"
    },
    {
      "tag": "forge:dusts/iron"
    }
  ],
  "output": [
    {
      "count": 3,
      "item": "nuclearcraft:ferroboron_ingot"
    }
  ],
  "powerModifier": 1.0,
  "radiation": 1.0,
  "timeModifier": 1.0
}

copper + iron
On game:

where iron still steel (old recipe changed before a /reload)
if reloaded more times keep on still without update , same if closed and reopened the world


Timer example?

I’m trying to get timers to work. Will there be an update to the README.md on how to do this?
I’ve updating my satellite with the latest code and rebooted. When I say “Start timer for 5 seconds” my satellite tells me the timer started but then I get no indication the tier finished.

You can specify a WAV file to be played as shown here: https://github.com/rhasspy/wyoming-satellite/?tab=readme-ov-file#sounds
For more advanced use cases, see the --timer-* event commands: https://github.com/rhasspy/wyoming-satellite/?tab=readme-ov-file#event-commands
I use these event commands in my example timer web server: https://github.com/rhasspy/wyoming-satellite/blob/master/examples/websocket-service/timers.html

Thank you. I glanced right over that and missed it. All is working now.


Updates to existing matchers are not reflected in the pact file

🌎 Environment

Platform: iOS / PactSwift / libpact_mock_server_ffi built from cbb6e209
Version/Release: master branch
Dependency manager: Carthage 0.38

💬 Description
When writing a pact test and describing a value in body using an updated matcher, the change to that matcher is not reflected in the pact file. And if the pact file is deleted before running updated again, then the update is reflected in the pact file.
🦶 Reproduction Steps

Setup a pact test environment using PactSwift (unit test for this issue).
Write a pact test where .willRespondWith(body:) contains a matcher:

.willRespondWith(body: [
  "related": EachLike("https://someurl.com/entity/related", min: 0, max: 5)
]

Run unit test
Inspect test Pact file in $PROJECT_DIR/tmp/pacts to contain "matchingRules" object for:

...
"body": {
  "$.related": {
    "combine": "AND",
    "matchers": [
       {
           "match": "type",
           "max": 5,
           "min": 0
        }
    ]
  },
...

Update matcher's min: and max: to different values (eg.):

.willRespondWith(body: [
  "related": EachLike("https://someurl.com/entity/related", min: 1, max: 10)
]

Run unit test again
Inspect the written pact file and observe the min: and max: for the used matcher.

Note: Tried with other matchers too, eg., replace EachLike with SomethingLike ("type").
🤔 Expected Results
When changing the matcher, the changes to the matcher values are written to the pact file:
...
"body": {
  "$.related": {
    "combine": "AND",
    "matchers": [
       {
           "match": "type",
           "max": 10,
           "min": 1
        }
    ]
  },
...

😲 Actual Results
The changes to min: and max: are not reflected in the pact file and remain set to max: 5 and min: 0
🌳 Logs
Attached ZIP file contains:
01-Pact-for-libpact_mock_server_ffi.json - Pact object sent to `create_mock_server(pact,...)
02-Pact-Written-by-libpact_mock_server_ffi.json - Pact written to `./tmp/pacts` folder by libpact_mock_server_ffi
03-Pact-for-libpact_mock_server_ffi.json - Pact object sent to `create_mock_server(pact,...)
04-Pact-Written-by-libpact_mock_server_ffi.json - Pact written to `./tmp/pacts` folder by libpact_mock_server_ffi

provided_pact-written_pact.zip
⑂ Possible workaround(s)
Manually removing the existing Pact file before running unit test suite.

Yeah, I recall running into this one also. My recollection, which may be incorrect, is that the pact file should be removed prior to running the tests - this implied feature has the benefit of allowing multiple tests to run in parallel or across a suite of files - but it has the drawback of not being obvious, which way result in badness.
So we should first clarify this is intended, and document it if that's the desired behaviour. Alternatively, we create a flag as per the current Ruby CLI.

This feels like a defect to me, I would expect the Pact file to be correctly updated. I think the issue is the merging logic does not take matchers into account, and so probably thinks the Pact has not changed.

Only needed a tiny fix:
            .map(|either| match either {
              Left(i) => i,
              Right(i) => i,
-             Both(i, _) => i
+             Both(_, i) => i
            })

:-D

Sorry it took me so long, but just confirmed the changes to existing matcher are reflected in the written file. 👍


[QUESTION]

How to run it without installing AdGuard? :v

You can try adding the included UserScript with TamperMonkey - though I don't have 100% confidence it will work since it hasn't been updated since 2013. Google Play Link

It doesn't work on me

Unfortunate - it seems that installing AdGuard will be the only option to run andure for you. Alternatively, you can try installing Kiwi Browser, which has built-in desktop-class DevTools (though not all features are supported)

@MuhammadRestu999 @leohku
Hey! I just tried this out using Bromite browser (without AdGuard or any other app), straight from its Settings > User Scripts. And it works! I attached 3 screenshots below.
NOTE: only the persistent version worked, at least on my Motorola G8 Power.

Screenshots
![Screenshot_20230503-110430_Bromite](https://user-images.githubusercontent.com/130125082/235862274-c7fdc277-3f3f-4888-9ad2-83195c691209.png)

Oh! @porobertdev this is great news, thanks for letting me know. I'll reopen this issue so more people can know about this. I'll update the documentation to reflect this when I'm free. Thanks again!

*change the title so that other people looking for it can easily find it

@porobertdev A bit late, but the README is updated with credits - thanks!


order_status_change gets fired multiple times during OrderCapture

order_status_change function (signal) get's fired multiple times during OrderCapture.
As a result, we have duplicated events:
ORDER_FULLY_PAID -> SEND_PAYMENT_CONFIRMATION -> ORDER_FULLY_PAID -> SEND_PAYMENT_CONFIRMATION -> ORDER_CAPTURED
I think that analytics report is sent twice as well, signal should be reworked so it won't be fired more times than necessary.
Also, can't see any test for this function.

order_status_change is connected to django-payments's status_changed signal which is called from change_status method of the BasePayment class:
https://github.com/mirumee/django-payments/blob/34d0f7597fd9273d6d20922d8b9ffa355e265d7f/payments/models.py#L81-L89
When Payment.capture is called it first calls capture method of provider and then if returned amount casts to True calls change_status which sends the signal.
https://github.com/mirumee/django-payments/blob/34d0f7597fd9273d6d20922d8b9ffa355e265d7f/payments/models.py#L136-L144
But some providers like default also call change_status inside its capture method:
https://github.com/mirumee/django-payments/blob/36d704233c9f2a0729cad7e4df7e32d628182c43/payments/dummy/__init__.py#L66-L68
As a result the signal it called twice inside django-payments. So there's a question whether it's a desired behavior for django-payments to send its signal twice, in other words whether the actual problem is in Saleor or in django-payments?

I guess this issue doesn't occur anymore as we've dropped django-payments in Saleor.


Support for logging levels

Would it be possible to have options on the level of logging? Since all output is logged it is hard to parse back through and see the results. Ideally, I'm wanting to see transaction info if/when one is submitted and the result.

@jeremylockhart This could be a good idea; when I go through the logs I often end up string searching for 'xdr' to find the transactions. Errors would of course remain logged.


Release 0.4.14

coverage: 100.0%. remained the same
when pulling d08ad45d85ab8abfe234e62b8c07bf52abbebaf4 on auto_release/0.4.14
into 89e0d14e6b18c57ec4a48f3c6e1ffb48123d771c on master.


Implement class Utils.CircularBuffer

Circular buffers are buffers which contain at most n items and which remember the n last ones, removing the oldest one when appending a new one as soon as it is full.
This will be a mother class for class Utils.SummedCircularBuffer.

Completed, not yet tested.

Finally tested - fixed a bug.


Forbidden Lands v1.62

Added the 'IM Fell English' webfont to better match Forbidden Lands style.
Updated all image links to point to the images located on roll20's github repo.
Updated Armor and Shield Misc modifier to adjust Skill dice, not Gear dice.
Fixed negative skill dice bug.
updated shield shove/parry roll template.

Changes / Comments

[x ] Does the pull request title have the sheet name(s)? Include each sheet name.
[x ] Is this a bug fix?
[x ] Does this add functional enhancements (new features or extending existing features) ?
[x ] Does this add or change functional aesthetics (such as layout or color scheme) ?

thanks Cassie

Hi Cassie,
it looks like the en.json in the translations folder didn't get updated with the translation.json  Any way to get that fixed before next week?  Thanks
https://app.roll20.net/forum/permalink/8159488/


chore: added docker and makefile changes

Signed-off-by: Krithika Vijayakumar<EMAIL_ADDRESS>Test PR to test build times, ignore till marked ready for review

Closing this for now. As I have opened another one for testing


Refine service provider support

PipelineBuilder uses IServiceProvider in a clunky way in its registration methods.

Modify the implementation to use IServiceProvider as state in the builder itself.
Provide IServiceProvider in registration call delegates

Will not pursue (v3 api)


address-editor-modal.html.twig alignment issue and old bootstrap classes

Description:
File vendor/shopware/storefront/Resources/views/storefront/component/address/address-editor-modal.html.twig inside block component_address_address_editor_modal_accordion_actions, each action contains the class btn-block, which is deprecated since bootstrap 5. Also, the col-12 col-md-4 classes around them make this layout very bad. I would advice replacing both of these classes with col-auto and give the row around them extra gutter classes g-3 g-sm-4.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37096.
[created from NEXT-37096, comment 486704]


Management Plugin not enabled by default

Might be worth while mentioning that the Management Plugin is not enabled by default and will need to be enabled for the example code to work.
https://www.rabbitmq.com/management.html is a good URL to point people to.

I fork and update module. Welcome https://github.com/deslum/pyrabbit2


Getting ". is not recognized as an internal or external command, operable program or batch file" when running npm start on windows

http://i.imgur.com/0atb06R.png

Can there be a "start.bat" script for windows platform?


doc: update version in readme to 0.5.1

Description
Update version in readme to reflect the latest release
Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

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 97.701%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
36294

Relevant Lines:
37148

💛  - Coveralls


IndShockConsumerType.getShocks() samples the shocks twice

It looks like the IndShockConsumerType.getShocks() methods samples the exogenous shocks for newborn agents twice:

first using one method, then throwing out the result
then again with a different, approximate method

https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsIndShockModel.py#L2094-L2119
Doing unnecessary and unused computation is bad for performance. I.e., this slows down the simulation and solution runtime.

Hmmm.  ALL methods are approximate in this context.  Not sure what the
first method you refer to could be.
Does it call DiscreteApproxToLogNormal twice?
On Sat, Feb 8, 2020 at 1:30 AM Sebastian Benthall<EMAIL_ADDRESS>wrote:

It looks like the IndShockConsumerType.getShocks() methods samples the
exogenous shocks twice:

first using one method, then throwing out the result
then again with a different, approximate method

https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsIndShockModel.py#L2094-L2119
Doing unnecessary and unused computation is bad for performance. I.e.,
this slows down the simulation and solution runtime.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/issues/494?email_source=notifications&email_token=AAKCK74VL5DQMIHVR4NIXKDRBX4JDA5CNFSM4KRW6OEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IL6QCQA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCK7YHY3COYCM4LW7R4J3RBX4JDANCNFSM4KRW6OEA
.

--

Chris Carroll

I've linked to the code; I'm just reading "approximate" from the comments.
I defer to @mnwhite on the interpretation.

It's not drawing shocks for everyone twice, just "newborns"-- simulated
agents who just entered the model (thus their t_age == 0).
This is an artifact of a timing issue that has always existed in HARK, and
with HA macro more generally to some extent.  It's the question of "when
does the model start for an agent?" vs "when does a period begin and end?"
We would like it to be the case that the model starts for an agent at the
beginning of some period, however that's defined.  Using ordinary timing
conventions, risky outcomes reveal themselves at the start of a period.  In
HARK, to solve the period t problem, the agent needs to know what the
distribution of risk is at the start of period t+1, so things like
IncomeDstn have an off-by-one problem: MyType.IncomeDstn[t] actually refers
to the distribution of income shocks that occur at the beginning of period
t+1.  This also means that IncomeDstn doesn't store the income shocks that
would be experienced by someone right as they enter the model-- this
information isn't necessary to solve the dynamic problem!
So during simulation, when the agent has t_cycle=t, he needs to grab an
income shock from IncomeDstn[t-1].  But if this agent is a newborn,
t_age=0, then t_cycle=0 also and so they want to grab an income shock from
IncomeDstn[-1]... but that refers to the income distribution that someone
in the very last period of the cycle would experience.  That's not
relevant for a newborn!  So I fudged this part and had newborns draw
"baby's first income shock" from the distribution of shocks they will
experience after this period.  It's an approximation in the sense that
the income shock distribution for (say) an 18 year old is probably very
close to that of a 19 year old, and HARK hasn't recorded the income
distribution for an 18 year old, so it just goes with the 19 year old
distribution.
On Fri, Feb 7, 2020 at 7:36 PM Sebastian Benthall<EMAIL_ADDRESS>wrote:

I've linked to the code; I'm just reading "approximate" from the comments.
I defer to @mnwhite https://github.com/mnwhite on the interpretation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/issues/494?email_source=notifications&email_token=ADKRAFP66I3LXJ7I7EBVAFDRBX5BVA5CNFSM4KRW6OEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFC4BI#issuecomment-583675397,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKRAFNSSO3B4RYG43V4XJTRBX5BVANCNFSM4KRW6OEA
.

Oh, I see. I misunderstood the code. My original issue is incorrect.
In any case, thanks for explaining this to me. I wouldn't have figured it out without you going into it.
Calculating the shocks for newborns twice, while a much more minor issue, is still less than ideal.
I think a little refactoring here could both improve performance slightly, as well as make the code a little more readable.
If you don't mind, I'd like to keep this ticket open to flag this minor issue. I hope to get to it once I have a clearer idea of the simulation logic.

#499


Revert minio version update

Problem:
When the minio workload is deployed during a pipeline run, it will
fall into a crashloop or restart multiple times causing the pipeline
to fail.
Related Issues:
https://github.com/rancher/rancher/issues/28025
https://github.com/rancher/rancher/issues/28031

The issue was fixed here and reverting is no longer necessary


Update fetch-configlet with latest version from repo

Including latest Powershell version as well as updating the shell script version.

@devkabiir Added new lines at the end, thanks!


getComputedStyle method does not work for pseudo-elements on Firefox

What is your Test Scenario?
I am trying to get a style property of pseudo-element (:after) using window.getComputedStyle but it does not work on Firefox browser.
What is the Current behavior?
When I am trying to get a style property (border style in my case) from (:after) pseudo-element, my code in TestCafe returns undefined on Firefox browser. The same code perfectly works in Chrome. It seems that method which I am using getPseudoElementFunction  (you can find it in the example below) returns an incomplete object of all styles in TestCafe unlike the case when I tried it directly in the browser console.
I also tried to use getDefaultComputedStyle instead of .getComputedStyle in TestCafe and the result is still the same.
What is the Expected behavior?
window.getComputedStyle should work on Firefox in TestCafe too
What is your web application and your TestCafe test code?
The issue can be reproduced here: https://material.angular.io/components/menu/examples
Used method
 static getPseudoElementFunction(element:string):ClientFunction {
        return ClientFunction(() => {
            const htmlElement = <HTMLElement>document.querySelector(element);
            return window.getComputedStyle(htmlElement, ':after');
        }, {
            dependencies: {element}
        });
    }

TestCafe code
 fixture`Gets style property of ::after element`
    .page(`https://material.angular.io/components/menu/examples`);
test('Should gets border style solid of ::after element from menu component', async () => {
    await t.click('example-viewer:nth-child(4) .docs-example-viewer-body button');

    const pseudoElementAfterOfMenuBtn = await ToolkitHelper.getPseudoElementFunction('.cdk-overlay-connected-position-bounding-box .mat-menu-panel button')();
    await t.expect(pseudoElementAfterOfMenuBtn.borderStyle).eql('solid');
});

Screenshots:
Firefox result:

Chrome result:

Your Environment details:

testcafe version:                   1.8.2
node.js version:                    v10.16.0
browser name and version: Firefox 85.0
platform and version:          Window 7 (it does not work on Window 10 too)

Hello, I updated the version of TestCafe to 1.10.1 but the issue is still reproducible.

Hello,
Thank you for bringing this to our attention. However, TestCafe behavior is correct. The Firefox browser indeed returns an empty value for your element's borderStyle property. You can check this with the console debugger.

Hi,
I experienced the same issue on Firefox and Safari. The actual problem is in the way Firefox and newly Safari (from version 15.5) exposes CSS properties.
In Blink (Chrome and Edge, etc.) window.getComputedStyle returns a CSSStyleDeclaration instance. However, Firefox and Safari gives CSS2Properties, which inherits from CSSStyleDeclaration.
So to get this solve, we have to retrieve CSSStyleDeclaration from CSS2Properties by using Object.getPrototypeOf(), e.g.
const computedStyles = window.getComputedStyle(htmlElement, pseudoElement);
const result = {};
Object.getOwnPropertyNames(Object.getPrototypeOf(computedStyles)).forEach((key) => {
    result[key] = computedStyles[key];
});
return Object.assign(result, computedStyles);

Unfortunately, the solution above does not work well in Chrome, so you need to add return Object.assign(result, computedStyles); and it'll work in all browsers.

Hi @vizdatom,
Thank you for your research. You are right. It resolves the issue. However, the example from the issue doesn't work anymore, because the pseudo-element is no longer there. By the way, I created my own example locally and it works with your solution as expected.


Switch to scala 2.11.11, 2.12.2

Codecov Report

Merging #97 into master will decrease coverage by 1.29%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master      #97     +/-   ##
=========================================
- Coverage   80.51%   79.22%   -1.3%
=========================================
  Files           8        8
  Lines         154      154
  Branches        6        6
=========================================
- Hits          124      122      -2
- Misses         30       32      +2

Impacted Files
Coverage Δ

.../main/scala/argonaut/derive/JsonProductCodec.scala
89.47% <0%> (-10.53%)
:arrow_down:

Continue to review full report at Codecov.

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


Website home

I have tried to access the link given in the repository desciption and found the following:

Is the page supposed to look like this? Do you have any plans to change?

@wps13 Strange the website should be a storybook site with working examples. I am not sure what has happened to it. I will dig into this hopefully this weekend.

@wps13 I haven’t had time to look at this item. I had knee surgery last Wednesday and was hoping to be able to sit down and dig into this during the weekend. I haven’t been able to. I also would like to add in what you have done for the examples to help people. So I am labeling this “Help Wanted” opening it up to anyone, till I can get to it. If you have time and want to look into it, I would greatly appreciate it.

Looking into the server logs it looks like it’s missing babel-loader from it’s dependencies.
I must of missed something from the Storybook migration guide I am not near my laptop at the moment to be able to pull this down and double check the dependencies and that I didn’t miss anything else from the migration.

@jameswlane I hope that you get well soon! I will check it.

@wps13 I appreciate it, hopefully they will get the stitches out this week 🤷♂


cockroach debug zip for Kubernetes clusters

Re: cockroach debug zip
Issue Description
Customers running in K8s are not sure how to create debug.zip as the current instructions are setup for non K8s environment.
Suggested Resolution
The steps for creating debug.zip from K8s cluster should be provided.  Wonder if there is K8s operator already available for this from @keith-mcclellan.  cc @jseldess

@johnrk to track making sure the operator has a mechanism for grabbing diagnostic bundles from the cluster

@taroface I think this is in your product area but I tend to get CLI area conflated. Feel free to reroute if necessary.

Yup, this is me!


Scrum Master Training

Describe the issue
SM requires training.
Which Sprint Priority is this issue related to?
The 'Milestone' should clearly list Sprint Priorities - which one is this issue related to?
Additional context
Add any other context, attachments or screenshots
Definition of done

Attend 2-day training

https://www.scrumalliance.org/courses-events/search?vo=true&cnty=CA&st=BC&cty=Victoria&rad=30&tz=my&last=cy&pg=1


wifi_csi_info_t missing shape information (AEGHB-856)

Checklist

[X] Checked the issue tracker for similar issues to ensure this is not a duplicate.
[X] Provided a clear description of your suggestion.
[X] Included any relevant context or examples.

Issue or Suggestion Description
wifi_csi_info_t missing shape information

[x] Checked the issue tracker for similar issues to ensure this is not a duplicate
[x] Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
[x] Tested with the latest version to ensure the issue hasn't been fixed

Issue Description
For each RX and TX Antenna pair, a single CSI matrix should be delivered.
Since the ESP only has one Antenna the number of received CSI must depend on the peer's number of antennas.
Thus there should be an attribute in the wifi_csi_info struct explaining the shape of CSI. Is it possible the CSI matrix is flattened unbeknownst to the user?

I couldn't find an official reference for this problem, but here is the link to the cited paper: here

You can refer to the table under Wi-Fi Channel State Information, where the information under the STBC classification explains the CSI data shape for multiple antennas.
You can infer the CSI shape based on the information in wifi_csi_info_t . To check the valid data length, read it from rx_ctrl->sig_len . The CSI data shape can then be deduced from the valid data length.


Log file - add full timestamp

At the moment when using log-file option only time of events is recorder:
13:35:36 [INFO] using config ./rustic.toml
13:35:38 [INFO] repository opendal:test-dal-lock: password is correct.
13:35:38 [INFO] using cache at /Users/kptsky/Library/Caches/rustic/79622816e3c9c922340f1fd7b7fd31f225f7a1d14faaeea5d6d52386980d16ce
13:35:38 [INFO] using all backup sources from config file.
13:35:38 [INFO] merging source="/private/tmp/rsnap-79622816" section from config file
13:35:39 [INFO] using parent 126c1ce1
13:35:39 [INFO] starting to backup "/private/tmp/rsnap-79622816"...
13:35:39 [INFO] backup of "/private/tmp/rsnap-79622816" done.
13:36:12 [INFO] using config ./rustic.toml

It would be much better if full timestamp is used instead, including date, e.g.:
Thu Feb 22 13:41:15 GMT 2024 [INFO] using config ./rustic.toml
Thu Feb 22 13:41:17 GMT 2024 [INFO] repository opendal:test-dal-lock: password is correct.

@kapitainsky in #1133 the time format is set to RFC3339 (I thought using a standard time format is best for logfiles). Hope this is fine for your!


ensure we run analyze weekly

Adds or adjusts tests.yml to enable the tests-weekly pipeline on a few libraries that were missing it. Tests-weekly will run analyze weekly checks on Saturday to evaluate library status for next-mypy, pylint, etc.

/check-enforcer override
face - ci failure is unrelated to the changes in this PR


Meme Generator UI

This is the Probable Interface for the Meme Generator we are thinking of creating if anyone is interested in working on it comment below

I would like to work on the Canvas component part @777ahesh

Go ahead...
Happy Coding!!!


Swap ::before in backlink with span

Short Description
We again had some issues with the back button not being aligned in Firefox. The reason for that imo is that this is not an inline element.
Nevertheless, I think that using the before element makes it unnecessary complicated. Therefore, I've exchanged it with a span and this makes it work perfectly.
Changes

Add a span with the back link icon and delete the before element
Remove unnecessary css styling

Feedback

Do you see any problems with that?

Looks fine to me. Have you tested it at all breakpoints across Firefox and some other browser (Chrome, ideally)? Do you know why it was implemented with ::before in the first place?

Have you tested it at all breakpoints across Firefox and some other browser (Chrome, ideally)?

Good point, I forgot Chrome. It looks good on all break points

Do you know why it was implemented with ::before in the first place?

Yes, the thought was that this would make the backlink component a simple  tag.


WIP: Update NfcGuideView

This PR:

Adds new USB graphics
Updates current graphics to bring them more in line

Not done yet, but soon..

@pepegar ready for review!
Note: The SVG files are the main part of the diff. That is why it is so big. They are there because they are open source together with the library.

+1, just fix the indentation ;)


New package: OsfClient v0.1.0

Registering package: OsfClient
Repository: https://github.com/s-ccs/OsfClient.jl
Created by: @behinger
Version: v0.1.0
Commit: 19b7ef3c08743a425a533ef05c086c77cf8b5878
Reviewed by: @behinger
Reference: https://github.com/s-ccs/OsfClient.jl/issues/6#issuecomment-2269782742
Release notes:

Initial release. A (as-of-right-now) read-only API-client for the open science framework at [OSF.io](https://osf.io/). Easy access to the API & download whole folder-structures (with pattern-filtering).

[noblock] I would recommend renaming to OSFClient: OSF is an acronym and thus should be capitalized. I understand that combining an acronym with a capitalized word doesn't have perfect readability, but that just comes with Julia's conventions of CamelCasing package names. Changing the capitalization of an acronym to increase readability is not a good tradeoff, in my opinion.

Done! #112468 - I dont have rights to close this one


decorators on class property declarations throwing error

I thought that I should be able to add a decorator to a property declaration within a class (used as a controller) and all would be fine, and it is within babel outside of aurelia. However, the following code causes an error within aurelia.

const aDecorator = (t, k, d) => {
    return d;
}

export class Thing {

 @aDecorator
  aProp;

}

If I don't modify the descriptor I get
TypeError: Cannot assign to read only property aProp

If I add a setter method i.e.
const aDecorator = (t, k, d) => {
  let x;
  d.set = y => x = y;
  d.get = () => x;
  return d;
}

I get
Error: Error invoking Thing.

However, if I just set the descriptors writable property to be true and nothing else aurelia no longer throws an error.
Am I doing something wrong/missed something? Are decorators not allowed within aurelia unless they are sanctioned by the framework itself?
Thanks

It's an issue with decorators, not Aurelia. It may be related to the version of Babel you are using. The descriptor needs to be made writable. It isn't by default...I'm not sure if that was changed at some point...so like I said, it may be dependent on the Babel version you used for your test vs. the one that you were using with Aurelia.

Ah, yeah, that seems to be the case, just threw me that the error was bubbling up through aurelia. It seems it's fixed in v6 of babel however, I've heard that upgrading to v6 and using aurelia may prove to be an issue (certainly all the individual parts seems to rely on 5.8.34 or there abouts). Is this true or should it be relatively easy?

Using Babel 6 isn't really an option just yet due to language features they have removed and some other issues. We are hopeful that it will be addressed soon.

Ah, that's a shame.
Guess we'll just have to work round it for now.
Thanks.


Emit header collections as a map

For types annotated with x-ms-header-collection-prefix, emit them as a
map[string], where  is the type specified in the swagger.

I think we should have a test in the testserver to cover this scenario.


z.psm1 commands are not consistent with z.sh

I have noticed that the command line arguments used for z.psm1 are not consistent with the normal z.  Is there a reason for the departure?  All the below options are placed in the 'o' parameter alias, even though technically c and l should be allowed to run in conjunction with ranking options, and can be made as separate command line flags.
z.sh options :
OPTIONS
       -c     restrict matches to subdirectories of the current directory
       -e     echo the best match, don't cd
       -h     show a brief help message
       -l     list only
       -r     match by rank only
       -t     match by recent access only
       -x     remove the current directory from the datafile

EXAMPLES
       z foo         cd to most frecent dir matching foo
       z foo bar     cd to most frecent dir matching foo, then bar
       z -r foo      cd to highest ranked dir matching foo
       z -t foo      cd to most recently accessed dir matching foo
       z -l foo      list all dirs matching foo (by frecency)

I have a patch I can submit getting this to work if interested. I left the ranking options in -o, but listing and current directory would then be separate flags.

Sure thing. Can you please send a pull request to the development branch.
master is used for "production" and is linked to a few package management sites. Thanks.


improve: Update Gradle version

Fixes #920.
Changes: Update the Gradle version to 4.6. If we are going to use the latest, why not the best? Pros can be found here.
Screenshots for the change: N/A.

@brijeshshah13 Please create an issue for it.

@srv-twry Done.


Add python 3.11 support

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

In file included from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/cast.h:16,
                   from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/attr.h:13,
                   from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/pybind11.h:44,
                   from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/src/pyace/ace/ace_spherical_polar_binding.cpp:1:
  /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
  /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/detail/internals.h:200:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
    200 |         PyEval_InitThreads();
        |         ~~~~~~~~~~~~~~~~~~^~
  In file included from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/python3.11/Python.h:95,
                   from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/detail/common.h:112,
                   from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/pytypes.h:12,
                   from /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/cast.h:13:
  /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/python3.11/ceval.h:132:37: note: declared here
    132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
        |                                     ^~~~~~~~~~~~~~~~~~
  /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/cast.h: In function 'std::string pybind11::detail::error_string()':
  /home/conda/feedstock_root/build_artifacts/python-ace_1695727069587/work/lib/pybind11/include/pybind11/cast.h:442:36: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'}
    442 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +


GLB imported mesh sometimes becomes empty, sometimes stays, sometimes returns after becoming empty.

Godot version
4.0 alpha 1
System information
Windows 10, Vulkan, 5600x, 3060
Issue description
Title. I don't know what are the triggers but sometimes the mesh returns. It is visible in the importer. But in the viewport, it is empty. When I do "new inherited" and look at the MeshInstance's mesh property field, it is empty. And then sometimes it is not.
I apologize if this problem has been reported before.
Steps to reproduce
Import a GLB model and bring it into a scene.
Minimal reproduction project
No response

Is this reproducible in alpha 2 or alpha 3? (I remember seeing similar problems with alpha 1, but iirc they went away in alpha 2)

Okay it seems to be working in Alpha 3.


add example for eeprom for esp32

Init proyect and use GND to pinout 2 for tare, and GND to 15 to enter
calibrated mode

This is an EEPROM example like HX_set_persistent.ino.
Primary goal of examples is to explain the library functions and so I am wondering what the difference / added value is of this example.  I saw you extracted the calibrate code in a function.
Did not compare all the details but it looks more like an improvement or an upgrade of the existing example, not necessary a new example. What is the argument to make this an separate example?

the HX_set_persistent.ino does not work with esp32 to read the eeprom.
Today I will do tests with an industrial load cell to see if HX_delta_scale.ino does it correctly, I think it does not work.
eeprom for esp32 need to initialize the eeprom in setup.

tests performed:
utilcell 30 KG load cell (https://www.utilcell.es/load-cell/300-model-load-cell/)
hx711
esp32
result: +-150 units(gr))
#####################################
utilcell 30 KG load cell (https://www.utilcell.es/load-cell/300-model-load-cell/)
hx711
arduino UNO R3
result: +-3  units(gr))
soft:
//
//    FILE: HX_kitchen_scale.ino
//  AUTHOR: Rob Tillaart
// PURPOSE: HX711 demo
//     URL: https://github.com/RobTillaart/HX711

I see difference  3gr and 150 gr.
What voltage is applied to load cell? is it the same in both cases?

voltage to hx711 is 5v in both cases (supply is stabilized with 2 output filters)
more than a difference, I would say that it is a random measure in esp32

Strange as the HX711 does the AD conversion and the  communication to the processor is binary.
Do you have a logic analyzer to capture the bits?

I have the oscilloscope broken, it is due to the speed of the processor, with the library of "https://github.com/bogde/HX711" I get the same result in both hardware. +-4 gr whit scale off 30000gr
When I have a while I'll help you find the error

Mmm, difference between Bogdes lib and mine is using long versus float for the math.
As the UNO with my lib gives the same results as Bogdes lib (within noise limits) the math is OK.
Can you print the raw values that are read from the HX711 by means of shiftin.

30.000 grams loadcell.
~4gr is an accuracy of ~1 in 10.000 (quite good)
What says the datasheet? Do you have a link?

in esp32 not work only work in arduino UNO
When I finish the current work, I help you find the mistake, I understand that it may be mine

When I finish the current work, I help you find the mistake, I understand that it may be mine

Any progress made?

Any progress made?
If not I better close this Pull Request


1.1.0(ADAS) What is the expected behavior on a SSM server shutdown and restart?

While rules are running and some actions are in flight and if SSM server shutdown or fails for some reason - and we restart it
What is the expected behavior for the following:
[1] What happens to the rules which are currently executing? will it be disabled or will it stop executing?
[2]  What happens to inflight data movement between hot/warm/cold, will SSM update its status correctly?
[3] When rule restarts, will it pick it up from where it failed? Is there some sort of a checkpointing available or does it start over fresh or does it throws away old data? Can you shed some light here
Appreciate your response for this. Also if possible can you document this - as this is an important concept in understanding SSM

hi @aurorahunter,
[1] What happens to the rules which are currently executing? will it be disabled or will it stop executing?

The execution will be interrupted, depending on the execution stage, the rule may have generated some cmdlets. The rule will continue to run after restart automatically. The pending cmdlets that generated will also be executed after the restart.
[2] What happens to inflight data movement between hot/warm/cold, will SSM update its status correctly?

It may lead to the situation that some of the file replicas are moved while some are not been moved. SSM will continue to move the replicas that have not been moved or move failed.
[3] When rule restarts, will it pick it up from where it failed? Is there some sort of a checkpointing available or does it start over fresh or does it throws away old data? Can you shed some light here

When rule restarts it will not continue from where it failed. It just drops the temp data (if any) generated during the last execution and behaviors the same as a new run.
We will document this later, thanks for your advice!


[Feature request] - Versioning of DSC scripts to avoid breaking changes

Describe the feature end to end, including deployment scenario details under which the feature would occur.
It would be great if changes to the DSC scripts could be versioned in the future to avoid breaking changes when using cloned AVD accelerator modules in combination with the remote dsc script uris.
For example previously this week there was a commit with changes on parameter names which requires that you have the latest local version of bicep modules or it would fail with 'A parameter cannot be found that matches parameter name 'DomainAdminUserName''. 'https://github.com/Azure/avdaccelerator/commit/db7ebfd44d1a44fba303736159ccf56a4a83a776
If this update of the dsc script was combined with a date version and that date version was used in the updated arm/bicep modules, this change would not break previously cloned arm/bicep modules using remote dsc script uris.
Some organizations are not able to use synced forks to stay up to date with upstream so releases with a changelog would be a great addition to this project.
Why is this feature important. Describe why this would be important for your organization and others. Would this impact similar orgs in the same way?
Improving code quality, reducing probability of introducing breaking changes.
Please provide the correlation id associated with your error or bug.
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Can you describe any alternatives that you have taken since this feature does not exist?
No response
Feature Implementation
No response

@stalejohnsen thanks for the feedback, it makes a lot of sense, we just pushed updates (feature branch ids-updates) to introduce versioning of the DSC package and will aim at keeping the last 3 versions.
But in general, if the customer is creating a local copy, we recommend modifying their local code to point to their own copy of the scripts/packages, lines to modify are:

File: avdaccelerator\workload\bicep\deploy-baseline.bicep
Line 540: var varBaseScriptUri = 'https://raw.githubusercontent.com/Azure/avdaccelerator/main/workload/'
Line  756: var varStorageAzureFilesDscAgentPackageLocation = 'https://github.com/Azure/avdaccelerator/raw/main/workload/scripts/DSCStorageScripts.zip'


Add envFrom to operator deployment

Useful to when env vars are used for auth when downloading spark.archives from S3.

Anything I can do to help get this merged?

@liyinan926 ?

Thanks for the merge @liyinan926 ! 🧡

I see this is merged but no new version of the chart was released on the repo, can anyone help?


Consider renaming the project to include the "pytest-" prefix

The vast majority of pytest plugins use the "pytest-" prefix in their project name. This will make the purpose of the project more self-evident. The pytest documentation also lists plugins automatically based on this prefix: https://docs.pytest.org/en/latest/reference/plugin_list.html

I agree. pytest-smtpd would be a great name.

I’ve got a basic outline at bebleo/pytest-smtpd and will push a pre-release sometime this evening (Montreal time) or tomorrow.
Initially it will just be a wrapper around smtpdfix but in the future that may change.
From: Éloi @.>
Sent: May 5, 2023 12:02 PM
To: @.>
Cc: James @.>; @.>
Subject: Re: [bebleo/smtpdfix] Consider renaming the project to include the "pytest-" prefix (Issue #273)
I agree. pytest-smtpd would be a great name.
—
Reply to this email directly, view it on GitHubhttps://github.com/bebleo/smtpdfix/issues/273#issuecomment-1536466027, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADZVTCR7OYZ6E4QSSF3AETLXEUQADANCNFSM6AAAAAAU7ZWDZI.
You are receiving this because you were assigned.Message ID: @.***>


Improved parsing of keyword symbols

This PR improves the lexing of keyword symbols to fix some odd behaviours and to bring it more in line with how other SOMs do it.
This work is part of the endeavour to fix the issues highlighted in #29.
The main cases that are fixed with this change:

Non-leading successive colons in selector (ex: #foo::, previously accepted, now rejected)
Leading digits after colons (ex: #foo:2:, previously accepted, now rejected)

No tests are broken with this fix.
It seems good to go.


Splash crashing after 2-3 days of running - potential memory leak

Background:
Crawling Url - https://www.ae.com/us/en/contact
Splash hosted on - AWS ec2 instance (t3.medium) using Aqaurium (https://github.com/TeamHG-Memex/aquarium).
Example of LUA_SCRIPT -
LUA_SCRIPT = """
function main(splash, args)
    splash.private_mode_enabled = false
    splash:go(args.url)
    splash:wait(0.5)
    local aeotoken = splash:evaljs("localStorage.getItem('aeotoken');")
    return {aeotoken=aeotoken}
end
"""

Issue :
Code runs successfully but aws instance goes down regularly. CPU spikes around 90% and doesn't come down till the instance is stopped from AWS end.
Assuming a memory leak we started using aqaurium template to run the service and set the maxrss_mb as "2000" but still the issue exist.
The web page is hardly 3mb when loaded but we see a lot of scripts loaded in the webapge.

Sounds like the problem is due to some particular javascript? You can try to experimenting with abort the request to the js files one by one (with splash:on_request and request.abort), and if you're lucky you may fix it without affecting the rendering of the page ...

There is no solution for this problem. There are possible workarounds:

you can write bash script to poll haproxy for unresponsive splash containers and restart them
there is a splash container ( https://github.com/whalebot-helmsman/supervised-splash and https://hub.docker.com/repository/docker/whalebothelmsman/supervised-splash/ ) with built-in health checks and restart of unresponsive spalsh applications inside a single container. You need to change this line https://github.com/TeamHG-Memex/aquarium/blob/a789fe121c1116eed027580418204059b675624a/{{cookiecutter.folder_name}}/docker-compose.yml#L31 in aquarium script into something

        image: whalebothelmsman/supervised-splash:{{ cookiecutter.splash_version }}

没有解决此问题的方法。有可能的解决方法：

您可以编写bash脚本来轮询haproxy以查找无响应的启动容器并重新启动它们
有一个带有内置运行状况检查和功能的启动容器（https://github.com/whalebot-helmsman/supervised-splash和https://hub.docker.com/repository/docker/whalebothelmsman/supervised-splash/）重新启动容器内无响应的spalsh应用程序。您需要将水族馆脚本中的https://github.com/TeamHG-Memex/aquarium/blob/a789fe121c1116eed027580418204059b675624a/{{cookiecutter.folder_name}}/docker-compose.yml#L31更改为以下内容

        image: whalebothelmsman/supervised-splash:{{ cookiecutter.splash_version }}

image: whalebothelmsman/supervised-splash:{{ cookiecutter.splash_version }}
ERROR: manifest for whalebothelmsman/supervised-splash:3.0 not found: manifest unknown: manifest unknown


php7.3-fpm image - docs - update

docker-compose

[x] Update compose definition to use php7.3-fpm image (ref: https://github.com/docker-library/wordpress/tree/master/php7.3/fpm)

Update docs to include

[x] expand README to use table of contents
[x] TL;DR section
[x] http based example that just runs from docker-compose up [-d]
[x] deployed example of Let's Encrypt workflow using DigitalOcean droplet

work has been completed and merged, closing


IconSpinner no longer working

Issue Description
You can very clearly see this issue on the LoadingOverlay
http://engineering.cerner.com/terra-core/#/tests/loading-overlay-tests/default
There are no tests for the isSpin prop.
Issue Type

[ ] New Feature
[ ] Enhancement
[x] Bug
[ ] Other

Expected Behavior
It should spin.
Current Behavior
It does not spin.
Steps to Reproduce

Open your web browser.

Environment

Component Version: 1.18.0
Browser Name and Version: Chrome 63.0, Firefox Developer Edition, Safari  11.0.3
Operating System and version (desktop or mobile): OSX

isAnimated needs to be set to true.
http://engineering.cerner.com/terra-core/#/site/overlay
http://engineering.cerner.com/terra-core/#/tests/loading-overlay-tests/animated

It seem kinda weird that we default that to false.


[TC-LO-1.1]Localization Configuration- Global attribute "Attributelist" has the wrong Attribute-ID.

Problem:
In TC-LO-1.1 the Attribute-list Command throws the values 1&2 as the output. But as per spec the Localization Configuration Cluster, Attribute List has the 0 (ActiveLocale) & 1 (SupportedLocales).
*Expected behavior: AttributeList: 6 entries
[1650536674.536020][29894:29899] CHIP:TOO: [1]: 0
[1650536674.536085][29894:29899] CHIP:TOO: [2]: 1
[1650536674.536178][29894:29899] CHIP:TOO: [3]: 65528
[1650536674.536241][29894:29899] CHIP:TOO: [4]: 65529
[1650536674.536324][29894:29899] CHIP:TOO: [5]: 65531
[1650536674.536386][29894:29899] CHIP:TOO: [6]: 65533
*Actual behavior: AttributeList: 6 entries
[1650536674.536020][29894:29899] CHIP:TOO: [1]: 1
[1650536674.536085][29894:29899] CHIP:TOO: [2]: 2
[1650536674.536178][29894:29899] CHIP:TOO: [3]: 65528
[1650536674.536241][29894:29899] CHIP:TOO: [4]: 65529
[1650536674.536324][29894:29899] CHIP:TOO: [5]: 65531
[1650536674.536386][29894:29899] CHIP:TOO: [6]: 65533
*Steps to reproduce: ./chip-tool localizationconfiguration read attribute-list 33 0

system configuration:-
system configuration
Chip-Tool: RPI
DUT: RPI
Platform : IP and Wifi
Commit-ID: 2982c0c
Dut: All-Clusters-app

Spec Screenshot:-

PFA log below:-
TC-LO-1.1.txt

Seems the same as #18148

@Both are not same this issue is related to  mandatory global attribute ""attribute-list"" of  Localization cluster where as in issue 18148 its about how to check the set-regularity configuration of commissioning flow in device discovery cluster

It just seems that the attributes ids are wrong if in the xml definition of the cluster :/

seen this at TE9 breaking 2 test steps thank Vivien for doing this


react production build (using yarn build) encounters error

This should be fixed in eventsource@^3, with the new fetch implementation.


localFileSystem data cleared

setting.js
contextStorage: {
default: "memory",
memory: {module: 'memory'},
file: {
module: 'localfilesystem',
config: {
//dir: "~/.node-red",
//base: "context",
//cache: true,
flushInterval: 5
}
}
}
After power failure, there is a certain probability that the context storage file data will be emptied with a length of 0. What causes this problem? Is the operation of clearing data occurred during power failure or during NR startup?

[ ] Node-RED version: v1.0.4
[ ] Node.js version: v12.16.1
[ ] npm version: v6.13.4
[ ] Platform/OS: OpenWrt v19.0.7
[ ] Browser:
[ ] running in Docker:

Hi @tanjie9012 ,
that sounds very strange. The context LocalFileSystem module takes care not to corrupt its files. It writes updates to a temporary file and then does a rename to move the temporary file over the proper file as a final step. That should ensure we never leave the proper file in a bad state.
The fact you are using Docker may be of interest.... what docker image are you using and how is it configure to store user data?

I have seen this many times running on Windows on an NTFS disk. Is it possible that the write to the temp file is not committed to disk, but the delete/rename "overtake" it in the queue somehow? The file system operations behind delete and rename are more complex.
The annoying thing is that it stops NR from starting. As it can affect a random file, you then have to scan through all the context files looking for the one with zero length, delete it, and restart NR.

Hi, we discover the same issue running NR on Windows. We set to flush the context variables to the local file system. In case the PC is shut down immediately, e.g. due to power loss, at next startup, NR terminates with "Error loading context store".
Our workaround is to create a backup of the context directory (when needed and when the PC is running properly) and restore this backup on each startup of NR, to ensure NR starts. However, this limits the possible use of storing to disc considerably.
We would be looking forward to a solution which avoids creating these invalid context files. (We haven't found what could be exactly the problem in the source code of NR)
Another approach would be to programmatically create a backup of the context folder (like for the flows) and restore this backup if starting NR fails for the abovementioned error. Or, if this doesn't help, start NR with cleared context directory. Not starting at all is a critical issue thinking of automated operation.
Best regards
Stefan
Node-RED version: v1.0.4
Node.js version: v10.16.3
npm version:
Platform/OS: Win10 x64
Browser:
running in Docker: no

Same issue here on Windows. Power loss cause the global context file to be cleared.

Same issue here on Windows. Power loss cause the global context file to be cleared.

@marcusekeenan this issue is almost 2 years old & many things have changed since node-red v1.0.4
You will need to detail your node/node-red version, how you have set up persistent storage in your settings file and any other relevant info (like running in docker, or as a home assistant pluggin, running as a service etc etc etc)


Set up Husky pre-commit hook

The little friends in my computer told me this is a good idea

Oops looks like we’ve duplicated work. https://github.com/toaq/toadua/commit/d28e0ed1e8d635248639ea77bb4d0bd3f9270f36 makes a similar change except it works with CI (i don’t really know the difference. Huh). So hoping this is OK to close?


crtl+mouseUp or ctrl+mouseDown text size

VSCode Version: 1.1.1
OS Version: windows 10

Steps to Reproduce: N/A
Right now there is no binding to the crtl+mouseWheel is VS and in a lot of tools that combination would increase the text size. I understand there is a crtl+= and crtl+- which zooms in but that zooms everything in including the panel on the left. It would be nice to have a shortcut to just increase the font size

A couple other issues:

I also think ctlr+= and ctrl+- (or ⌘=, ⌘-)should not zoom the entire interface, if possible. It's not as useful as zooming the document (except as maybe an accessibility setting).

There's no ctrl+0 (or ⌘0) to restore zoom to the normal level

Pinch to zoom (at least on OS X) actually scrolls the editor view, instead of zooming in/out

I think this issue is kind of a dup of #6978

Thanks @spywhere, closing as dupe


test for edit

put more stuff here

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


aks v2 UI -  min and max count for "Enable Auto Scaling", should either have default values or should be made mandatory

On enabling Auto Scaling in NPs, user might miss to set a min and max node count, which results in error
Error failed to create cluster: containerservice.ManagedClustersClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="InvalidParameter" Message="Required parameter agentPoolProfile.minCount is missing (null)." Target="agentPoolProfile.minCount"
This can be avoided if there is a default value for min and max node counts or the field is made mandatory (when a user enables autoscaling) just like DNS Prefix and Cluster Resource Group .
Steps to repro:

Docker install master-3e44415
Create AKS cluster
Select Enable Auto Scaling (no not fill min and max node count)
Create

@gaktive to check with backend if this can be populated; otherwise, we should default to Mandatory.

For 2.6.0, this can be worked around. We should fix this in the next version, though this may require a change in UX since AKS has a conditional UI when autoscaling is enabled.

Validated on Rancher(v2.9-a9355940c0629ca419b7dd3e4098c4ea0e52c0c0-head); Dashboard(master 46a44c1), it is fixed.
Default values for min and max count is set to 1 and 3 respectively when enabling auto-scaling.
Screencast from 07-10-2024 03:27:01 PM.webm


Github link mismatches

The website
https://rimworldmultiplayer.com/about/download/
and the steam workshop page
https://steamcommunity.com/sharedfiles/filedetails/?id=1752864297
link to two completely different github repos.

Those two have now aligned to the community-lead fork: https://github.com/rwmt/Multiplayer


disabled button?

I'm trying to use ZeroClipboard from cdn and running into a lot of issues. I finally boiled it down to the simple example but in this example the button gets disabled? Why?
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/zeroclipboard/2.2.0/ZeroClipboard.js"></script>

</head>
<body>
    <button id="copy-button" data-clipboard-text="Copy Me!" title="Click to copy me.">Copy to Clipboard</button>
<script>
ZeroClipboard.config( { swfPath: "https://cdnjs.cloudflare.com/ajax/libs/zeroclipboard/2.2.0/ZeroClipboard.swf" } );
var client = new ZeroClipboard( document.getElementById("copy-button") );

client.on( "ready", function( readyEvent ) {
  // alert( "ZeroClipboard SWF is ready!" );

  client.on( "aftercopy", function( event ) {
    // `this` === `client`
    // `event.target` === the element that was clicked
    event.target.style.display = "none";
    alert("Copied text to clipboard: " + event.data["text/plain"] );
  } );
} );
</script>
</body>
</html>

Maybe because I am running the page from the desktop?

See: https://github.com/zeroclipboard/zeroclipboard/blob/master/docs/instructions.md#cross-protocol-limitations
TL;DR: Try using ZeroClipboard.js and ZeroClipboard.swf hosted locally, or at jsDelivr: http://www.jsdelivr.com/#!zeroclipboard

I had to use jsDelivr - I think there is a problem with the one from cdnjs.
I also notice that the latest (github) version switched from cdnjs to
jsDelivr. It now also works without specifying the swfPath.
On Wed, Feb 10, 2016 at 12:21 AM, Andrzej Oleś<EMAIL_ADDRESS>wrote:

See:
https://github.com/zeroclipboard/zeroclipboard/blob/master/docs/instructions.md#cross-protocol-limitations
TL;DR: Try using ZeroClipboard.js and ZeroClipboard.swf hosted locally, or
at jsDelivr: http://www.jsdelivr.com/#!zeroclipboard
—
Reply to this email directly or view it on GitHub
https://github.com/zeroclipboard/zeroclipboard/issues/636#issuecomment-182249725
.

Duplicate of #632


devops: Add Rabbitmq or redis to box build

I don't care which one.  Either will work fine, simple automated task doesn't necessarily require all of what rdis can offer.

@neolytics to be clear, you want redis installed on the server?

The celery config already uses rabbitMq and that's what I'm familiar with. So I'd go that route.
Jon Staples, M.S.2
Data Scientist
NextGxDx
Phone:<PHONE_NUMBER>
Twitter: @civic_hax

On Nov 16, 2015, at 10:59 PM, Jurnell Cockhren<EMAIL_ADDRESS>wrote:
@neolytics to be clear, you want redis installed on the server?
—
Reply to this email directly or view it on GitHub.

@mshenfield @neolytics Installed RabbitMQ with default settings.

Aweome thanks man

Awesome!
On Fri, Dec 4, 2015 at 7:56 PM Jon Staples<EMAIL_ADDRESS>wrote:

Aweome thanks man
—
Reply to this email directly or view it on GitHub
https://github.com/code-for-nashville/hrc-employment-diversity-report/issues/81#issuecomment-162125891
.


Chris branch

can someone look at this and see if we can merge it im having trouble

duplicate pull request


User agent header in requests from Java SDK is wrong

Describe the bug
Currently this starts Unknown/Unknown rather than container-registry-java-sdk/<version>
To Reproduce
Make any request
Expected behavior
User agent header should describe the language and version of the SDK
Must gather (please complete the following information):

SDK Version - 0.1.1

This is because, on porting from an internal repo, we changed the project hierarchy. The parent module is now called container-registry-parent. The mechanism that detects info for the user agent header requires that name to be used in a couple of places in the common module. This change had not been made.

Verified this is working ok in 0.1.2


Chinese version update

Chinese version update, synchronizd with README.md (English version). Also fix some link error and move ## 安全 (Security) into ## 应用程序(Applications). The new category ## 国产（中国）软件（Software made in China）needs to be done for providing some usefull/popular tools for the Chinese.

Thanks so much!!


Update slippage transaction link points to origin explorer

Describe the bug
After updating slippage on a txn, the link points to the origin chain explorer. Should give the destination explorer link instead.
To Reproduce
Steps to reproduce the behavior:

Do a low slippage transfer
Bump it
See the "Update slippage successful" link and click it
Get sent to origin explorer
(this goes to Arbitrum)

Additional context
Add any other context about the problem here.

@just-a-node I understand that the transaction (submitted via sdk.updateSlippage's sendTransaction) is done on the source chain. So the tx hash will be linked to the source chain transaction. Please let me know if I miss something.


fix padding for docs home on nav

updated padding for docs home on nav
testing new sass->css, hugo extended
Closes: #12826

Preview:
https://deploy-preview-14807--kubernetes-io-master-staging.netlify.com/docs/home/
See issue #12826

/lgtm
/approve


Only apply beginFill or lineStyle if applicable

If you happen to have a path with fill:none; and it does not contain a close path command ('z') the color2color function will return [0, 0, 0, 0] (black with 0 alpha), which will turn the path into a shape when it was meant to be drawn as a line.
<path style="fill:none;stroke:#FDFEFF;stroke-width:86;stroke-linejoin:round;stroke-miterlimit:10;" d="M799.2-67c0,0,3,1494.1,3,1548.2s-2.7,123.1,19.8,169.6   c22.5,46.5,66,94.5,66,175.5s-24,154.5-24,154.5"/>

This PR fixes open paths for my project. Can it be merged?


fix(portal): Remove enforcement of browser token context remote_ip

Based on testing and research it does not appear that Chrome will reliably choose a consistent protocol stack for loading the initial web page as it does for connecting the WebSocket when connecting over VPN tunnels. If one or the other stacks experiences a slight delay or packet loss causing retransmission, or QUIC simply doesn't play nicely with the MTU (in our case 1280), it may fall back to IPv4 (which has less per-packet overhead) or even a TCP connection.
Unfortunately this violates an assumption we have in token validation logic. Namely, that the remote_ip used to create the token (via sign in) is the same one used to the connect the WebSocket. I can see where this logic comes from in a security context, but thinking through the attack vector(s) that would be able to leverage this violation has me left wondering if this check is worth the breakage we currently face in #6511.

Scenario 1: MITM - attacker steals token somehow via MITM (would need to somehow break TLS) - the attacker is already in our network path and can rewrite the remote_ip already with his/her own.
Scenario 2: Malicious browser plugin stealing session token. It will be harder to spoof the remote IP in this case, but if this is a possibility, the plugin could presumably directly control the tab where the user is logged in.
Scenario 3: IdP is compromised leading to malicious redirect before arriving to Firezone - if this is the case, the user could likely login in directly and create his/her own valid session token anyhow.

Perhaps I'm missing other scenarios, open to feedback. If we want to ensure the token used by the websocket originated from the same browser as it was minted from, perhaps we could generate a small random key, save it in local storage, and send that in a header when connecting the WebSocket. I think cookies handle that for us already though.
Fixes #6511

Binding session to IP and UA is a "strong" recommendation of OWASP, see https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#binding-the-session-id-to-other-user-properties
Its there for the cases where token was intercepted (eg. using XSS) but as you its not a silver bullet.
We can drop it but I would either replace it with a User Agent hash, or remove AAAA records for our portal DNS records and force browsers to always use IPv4 in the admin UI.

Binding session to IP and UA is a "strong" recommendation of OWASP, see https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#binding-the-session-id-to-other-user-properties
Its there for the cases where token was intercepted (eg. using XSS) but as you mentioned its not a silver bullet.
We can drop it but I would either replace it with a User Agent hash, or remove AAAA records for our portal DNS records and force browsers to always use IPv4 in the admin UI.

Hm yeah - I see your point. Why don't we just update the AAAA record from app. to app-ipv6.?
That will prevent this from happening and keep the ip check in place, and also allow someone on ipv6-only to still access the portal.

@AndrewDryga PR updated


Support Go 1.22

When trying

https://github.com/Homebrew/homebrew-core/pull/157782

URLfinder failed to build with error:
  malformed go.sum:
  /private/tmp/urlfinder-20231222-2669-qz54z3/URLFinder-2023.9.9/go.sum:22: wrong number of fields 1

pointing to the unusual:
https://github.com/pingc0y/URLFinder/blob/e1c0334f72e00f5eed98af985da3d0879210e260/go.sum#L22

cc @pingc0y @yang-pingo, the proposed fix is in #96

Go 1.22 was released.


[Enhancement] Expose detailed close stream error message to user

What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #
Problem Summary(Required):

Provide detailed error messages exposed to users. (e.g. ak/sk error)
Before
ERROR 1064 (HY000): Close file failed!

After
ERROR 1064 (HY000): close file error:IO error: S3: Fail to put object xxx.parquet, msg: The OSS Access Key Id you provided does not exist in our records.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

This has been done by #23606


rustfmt: Parse options once instead of once per file argument

update_config() was parsing the write-mode option once for each file
argument. This commit parses them once up front into a CliOptions
struct, which is then applied to the config before calling run().

:100: Great stuff, thanks!


No access when using shared folders in Mega

Output of rclone version
Describe the issue
I found out that when I'm using shared folders in the mega account, rclone can't log in/ access to the mega account.
When I delete these sahred folders, rclone access (without any change in the account config) to the mega account files and folders without any problem.
Thank you for your work and efforts.

Hey, that is really useful information - thank you :-)
Can you tell me

What was the error message rclone gave you?  Was it Failed to create file system for “Mega:”: couldn’t login: Block decryption failed
How do you create shared folders - I'd like to see if I can reproduce it.

Thanks

According qehwidodo on the forum

You are right. If I share a folder from my main account to my test account, then I get the error “Block decryption failed”. When I un-share the folder, it works.

So hopefully that will be easy to reproduce... However it didn't reproduce when I tried it :-(

Hi, ncw
In that link, you can check what messages I got when trying to find the error with your cooperation in the forum. I don't know if it may help you.
https://forum.rclone.org/t/mega-error-couldnt-login/7023/14
On the other side, I would try to explain you how it was my link between mega accounts: At the office, I've got a Mega account for backing up some of my documents and I share a folder to my home account if I have a pending work to do at home. This shared folder has read and write attributes.
What I was trying to access with rclone was my home account. The problems I met are int the forum page I put above, and I finally could log in when I deleted my access to the office shared folder.
Hope this may help you.
Thanks

Still having same issue:
$ rclone version
rclone v1.45
- os/arch: linux/amd64
- go version: go1.11.2

I haven't had time to work on this - anyone want to help?

SOLVED. I verify that situation.
I own 2 Mega accounts, in account #1 i could mount my drive using rclone without problems, in the account #2 i couldn't. I log in in account #2, and delete all sharing links in 3 dot right menu => Syncing in each folder and pressing the X next to each folder until no folder remains sharing.
And then tried again and entered without a problem.
I used a .sh file with execution permissions like this:
#!/bin/bash
rclone --vfs-cache-mode writes mount Mega_JIM: /home/jior/RCloneCloudDrives/MegaDrive/Mega_JIM --config /home/jior/.config/rclone/rclone.conf
Hope this could help. Thanks.

SOLVED. I verify that situation.
I own 2 Mega accounts, in account #1 i could mount my drive using rclone without problems, in the account #2 i couldn't. I log into account #2, and delete all sharing links in 3 dot right menu => Syncing in each folder and pressing the X next to each folder until no folder remains sharing.
And then tried again and entered without a problem.

If you add a sharing link does it stop working again?
If so can you tell me exactly what kind of sharing link and on which object?
Thanks

Yes. If i add a shared Folder again rclone stops as if were forced to unmount. I verified this with mega mounted with rclone and web site opened and logged into same Mega account.
As fast as i add a shared Folder rclone stops and shows exactly the same error in terminal. I think this could be happening because shared Folders in Mega seems to use a mapped space in the reciving account drive from the original account drive.
i.e. Imagine you own a mega account and have 10 gb in files but have a friend whos sharing with you a Folder weighting 20 gb. In your space cuotta you will see you are using 30 gb of space of your 50 gb account. Mega lets you see your friends files as read only or even, if he/she gives you permissions as full access (collaborative), plus has an import to my drive button which lets you copy this 20 gb to your account but the link from where the data comes stills remaining in the shared with me section. Thats the reason i think shared data has a different behavior than just stored data and rclone confuse when try to connects and shows to you.
The same happens in the opposite way when you share a Folder with some People.
Please notice that this error just happens with shared Folders (between Mega accounts) but it doesnt happens when you just share a link to a file (from your mega account to someone whos not necesary needs to own a mega account).
I hope this info helps.

Yes. If i add a shared Folder again rclone stops as if were forced to unmount. I verified this with mega mounted with rclone and web site opened and logged into same Mega account.

I tried sharing a folder from one account to another, but they both carry on working.

As fast as i add a shared Folder rclone stops and shows exactly the same error in terminal.

What was the error in the terminal?

Please notice that this error just happens with shared Folders (between Mega accounts) but it doesnt happens when you just share a link to a file (from your mega account to someone whos not necesary needs to own a mega account).

I've tried sharing a Folder between accounts but I have not replicated the problem.  Both accounts carry on working just fine with rclone.
Any ideas?

@ncw
Not same but, but on same theme:
I notice that if I mount remotetarget with rclone mount (windows), any shared folder in remotetarget is not shown in the mounted disk when opened with file explorer...
Is it not working or is it a feature not available?
Thanks again!

I notice that if I mount remotetarget with rclone mount (windows), any shared folder in remotetarget is not shown in the mounted disk when opened with file explorer...

This isn't supported at the moment. The underlying library has a GetSharedRoots() call which will return them.  I'm not sure how you would show them in rclone though as smashing the shared files into the root could cause file name conflicts.  It probably needs a --mega-shared-with-me flag.

Thanks!

Also had a similar issue when sharing folders.
@ncw Any plans to add access to "incoming" shared folders on Mega?

Also had a similar issue when sharing folders.
Any plans to add access to "incoming" shared folders on Mega?

I'd love to make this work better, but I'm short of time at the moment and mega is really difficult to work on since there are no docs and everything is reverse engineered from their C++ program.
Would you like to help with this @NathanielHill ?


XRDP don´t connect with Xorg - CentOS 7.3

SO: CentOS Linux release 7.3.1611 (Core)
XRDP: Version 0.9.1
Xrdp installed via yum.
With Xvnc connect, but unexpectedly closes a session.
So I'am trying to connect using Xorg, but it does not complete a connection.
Below the messages and xorgxrdp.10.log
xorgxrdp.10.log.txt
messages.txt

This line shows you don't have a correct xorgxrdp install:
(EE) Unable to locate/open config file: "xrdp/xorg.conf"

Did you install xorgxrdp from sources or from yum? xorgxrdp rpm package is in updates-testing now. I suggest that you try it. Run this command to install it:
sudo yum --enablerepo=updates-testing install xorgxrdp

Perfect, now is working !
But I used:
yum --enablerepo=epel-testing install xorgxrdp
With root the same problem of: https://github.com/neutrinolabs/xrdp/issues/655

Reporter said finally it works, closing.


Multiselect and geoserver grouplayers

Using any tool other than click on a geoserver grouplayer results in an error. The reason is that you can't make a wfs getfeature request on a group layer.
The multiselect tool should be able to handle this somehow, the simplest way is to just ignore the getfeature requests that renders an error instead of just crash.

Ignoring errors does not seem lika a good idea to me as it may conceal an actual error that causes the user to believe that there are no overlapping features.
The default implementation of WMS layer is to try a WFS getFeature at the same enpoint. That would surely fail.
There are two other (currently undocumented) settings to change this behavior:

options.WMSHandling.source = 'WMS'
options.alternativeLayers

The first option is global and overrides the default behavior for all WMS layers and instead of trying to query a WFF layer it creates a WMS getFeatureInfo request that covers an area in the map larger than the the overlay geometry's envelope and the filters the reponse client side. It uses some shenanigans like using a large click buffer and requesting a very small map to get a large coverage. That would probably work on a geoserver grouplayer. It's a bit hacky though and only works for GeoServer.
The other method is defining alternative layers. The setting is a map of layers and which layers should be queried instead. That should also work for grouplayers.  Using that method you can define all the layers that the gropu layer consists of as alternative layers. You'll have to look in the code for the exact format. Don't know if it would be possible to use that mechanism as an "ignore" by defining an empty list of alternatives.
Lastly you could define an exact match of layers to query and omit your group layer. Won't work with the default "All visible" though.
If none of the options suits you needs I propose some sort of blacklist of layers that are never queried. Possibly by just fixing the alternative layer config if it is not already working as a blacklist.

... there is also the documented option exclude... It requries that you configure a selectableLayers option.