Backport "HBASE-26616 Refactor code related to ZooKeeper authentication (#3973)" to branch-2.4

This refactor reduces the size and scope of the ZKUtil class. The core of this refactor is
moving the login* methods from ZKUtil into their own class, ZKAuthentication. The class
JaasConfiguration is also moved along with them.
Signed-off-by: Andrew Purtell<EMAIL_ADDRESS>Signed-off-by: Duo Zhang<EMAIL_ADDRESS>

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 16s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.4 Compile Tests _

+0 :ok:
mvndep
0m 28s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 51s
branch-2.4 passed

+1 :green_heart:
compile
1m 21s
branch-2.4 passed

+1 :green_heart:
shadedjars
6m 44s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 53s
branch-2.4 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 58s
the patch passed

+1 :green_heart:
compile
1m 29s
the patch passed

+1 :green_heart:
javac
1m 29s
the patch passed

+1 :green_heart:
shadedjars
6m 42s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 51s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 43s
hbase-zookeeper in the patch passed.

-1 :x:
unit
11m 55s
hbase-server in the patch failed.

44m 12s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4021

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 2efc4f729acf 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / 3f68399fee

Default Java
AdoptOpenJDK-1.8.0_282-b08

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/testReport/

Max. process+thread count
767 (vs. ulimit of 12500)

modules
C: hbase-zookeeper hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m  8s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2.4 Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 38s
branch-2.4 passed

+1 :green_heart:
compile
4m  3s
branch-2.4 passed

+1 :green_heart:
checkstyle
1m 19s
branch-2.4 passed

+1 :green_heart:
spotbugs
2m 41s
branch-2.4 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 31s
the patch passed

+1 :green_heart:
compile
3m 45s
the patch passed

+1 :green_heart:
javac
0m 28s
hbase-zookeeper generated 0 new + 113 unchanged - 1 fixed = 113 total (was 114)

+1 :green_heart:
javac
3m 17s
hbase-server in the patch passed.

+1 :green_heart:
checkstyle
0m 12s
hbase-zookeeper: The patch generated 0 new + 3 unchanged - 1 fixed = 3 total (was 4)

+1 :green_heart:
checkstyle
1m  8s
The patch passed checkstyle in hbase-server

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
20m 46s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
4m  0s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 27s
The patch does not generate ASF License warnings.

63m 38s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4021

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux fd77aa9c6075 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / 3f68399fee

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
96 (vs. ulimit of 12500)

modules
C: hbase-zookeeper hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 38s
Docker mode activated.

-0 :warning:
yetus
0m  8s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.4 Compile Tests _

+0 :ok:
mvndep
0m 37s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 21s
branch-2.4 passed

+1 :green_heart:
compile
1m 30s
branch-2.4 passed

+1 :green_heart:
shadedjars
7m  8s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 59s
branch-2.4 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m  8s
the patch passed

+1 :green_heart:
compile
1m 28s
the patch passed

+1 :green_heart:
javac
1m 28s
the patch passed

+1 :green_heart:
shadedjars
6m 51s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 59s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 45s
hbase-zookeeper in the patch passed.

+1 :green_heart:
unit
136m 55s
hbase-server in the patch passed.

176m 32s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4021

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 44659a64884f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / 3f68399fee

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/testReport/

Max. process+thread count
4318 (vs. ulimit of 12500)

modules
C: hbase-zookeeper hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Test failures look like resource starvation, not related to this change. Running pre-commit suite again.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 43s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2.4 Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 24s
branch-2.4 passed

+1 :green_heart:
compile
3m 46s
branch-2.4 passed

+1 :green_heart:
checkstyle
1m 16s
branch-2.4 passed

+1 :green_heart:
spotbugs
2m 40s
branch-2.4 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 27s
the patch passed

+1 :green_heart:
compile
3m 43s
the patch passed

+1 :green_heart:
javac
0m 29s
hbase-zookeeper generated 0 new + 113 unchanged - 1 fixed = 113 total (was 114)

+1 :green_heart:
javac
3m 14s
hbase-server in the patch passed.

+1 :green_heart:
checkstyle
0m 12s
hbase-zookeeper: The patch generated 0 new + 3 unchanged - 1 fixed = 3 total (was 4)

+1 :green_heart:
checkstyle
1m  8s
The patch passed checkstyle in hbase-server

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
20m 24s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
4m  3s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 25s
The patch does not generate ASF License warnings.

56m  5s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4021

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 49de06892263 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / 3f68399fee

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
96 (vs. ulimit of 12500)

modules
C: hbase-zookeeper hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 43s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.4 Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m  5s
branch-2.4 passed

+1 :green_heart:
compile
1m 32s
branch-2.4 passed

+1 :green_heart:
shadedjars
7m  0s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 58s
branch-2.4 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 11s
the patch passed

+1 :green_heart:
compile
1m 29s
the patch passed

+1 :green_heart:
javac
1m 29s
the patch passed

+1 :green_heart:
shadedjars
6m 50s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 59s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 42s
hbase-zookeeper in the patch passed.

+1 :green_heart:
unit
136m 55s
hbase-server in the patch passed.

168m 44s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4021

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux f5cb622a8eaf 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / 3f68399fee

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/testReport/

Max. process+thread count
4314 (vs. ulimit of 12500)

modules
C: hbase-zookeeper hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 11s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.4 Compile Tests _

+0 :ok:
mvndep
0m 24s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 39s
branch-2.4 passed

+1 :green_heart:
compile
1m 16s
branch-2.4 passed

+1 :green_heart:
shadedjars
6m 35s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 50s
branch-2.4 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 40s
the patch passed

+1 :green_heart:
compile
1m 16s
the patch passed

+1 :green_heart:
javac
1m 16s
the patch passed

+1 :green_heart:
shadedjars
6m 32s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 50s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 43s
hbase-zookeeper in the patch passed.

+1 :green_heart:
unit
209m 51s
hbase-server in the patch passed.

239m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4021

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux c400a2533f14 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 06:54:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / 3f68399fee

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/testReport/

Max. process+thread count
2633 (vs. ulimit of 12500)

modules
C: hbase-zookeeper hbase-server U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-4021/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Target.WriteAsyncLogEvents(IList) to public

fixes #2738

@snakefoot please your opinoin.
Also not sure, maybe this is a breaking change? https://stackoverflow.com/questions/1456785/a-definitive-guide-to-api-breaking-changes-in-net

e.g WriteAsyncLogEvents(null)

Yes it looks good.

SonarQube analysis reported 5 issues

 2 critical
 3 major

Watch the comments in this conversation to review them.
4 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 Target.cs#L194: Refactor this method to reduce its Cognitive Complexity from 36 to the 15 allowed.
 Target.cs#L198: Merge this if statement with the enclosing one.
 Target.cs#L497: Merge this if statement with the enclosing one.
 Target.cs#L738: Merge this if statement with the enclosing one.

How does it become a breaking change?

Well I think it is a good thing to punish those who pass null, or other random stuff.

Well I think it is a good thing to punish those who pass null, or other random stuff.

maybe, but not in a patch release.
Testing this change currently. If it fails, I will move this to 4.5.6 with a new protected method name

testing it. At least it's only a source breaking change and not a binary.

tested it with:

AsyncLogEventInfo[] -> params
null -> params
List<AsyncLogEventInfo> -> ilist


Update bep20_tokens_mainnet.json

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Tests performed by the developer:
Tips for QA testing:

Hi @cengovski good day
Please be advised that since the tokenlist json file is now can be modified, users can now add/delete any tokens they would want to work on respective gateway connector. However if you feel that this is something that needs to be part of the code we strongly suggest to take part of our January poll add this PR to be nominated for release 1.12 🙇


[ESP32S3] v4.4 MESH disconnecting periodically (IDFGH-10766)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello @zhangyanjiaoesp ,
i'm currently checking one installation, and i see that the devices are constanyl disconnecting and reconnecting to the same mesh layer.
The disconnection seems to occur at mesh level every hour.
The reported disconnection cause is 102 MESH_REASON_LEAF
[27] STA: Send err 0x400A ESP_ERR_MESH_TIMEOUT

[1] <MESH_EVENT_PARENT_DISCONNECTED>reason: 102 MESH_REASON_LEAF

[3] STA: Send err 0x400B ESP_ERR_MESH_DISCONNECTED

[1] MQTT_EVENT_ERROR 32792 78 0 1 0

[1] MQTT task stopped after 1ms

[4] Triggering DYNAMIC MESH handover

[14] <MESH_EVENT_PARENT_DISCONNECTED>reason: 15 WIFI_REASON_4WAY_HAND

[13] <MESH_EVENT_PARENT_DISCONNECTED>reason: 205 WIFI_REASON_CONNECTI

[1] <MESH_EVENT_PARENT_DISCONNECTED>reason: 106 MESH_REASON_SCAN_FAI

[1] <MESH_EVENT_PARENT_CONNECTED>layer:2-->2, parent:ac:17:54:00:0a:

[1] GOT IP from mesh_sta

Do you have any idea why this error could trigger every hour?
Codebase 4fc8964ec36c44cd5b959b6b30f4ffb7ccbdcf91

@KonssnoK
Have checked the code, we didn't find a mesh related behavior that triggered once an hour.
Maybe it related to the application, we need more information about the disconnecting device and its parent device to debug this issue. We need to know what happens to the mesh network when the device  periodically disconnecting and reconnecting.

@zhangyanjiaoesp i think the disconnections may be related to the fact that there is no router and the installation is running on fixed root...
We are investigating (see the other issue we opened)
https://github.com/espressif/esp-idf/issues/12018

@KonssnoK Do you still have this problem ?

i would think so, yes.

A quick look at logs shows this error still being in the field.
We haven't had time to work on mesh lately, we plan on going back on it in a few weeks.

@zhangyanjiaoesp i have a quesetion because i forgot..
When sending to the external network, we use:
    esp_err_t err = esp_mesh_send(NULL, &data, MESH_DATA_TODS | MESH_DATA_NONBLOCK, NULL, 0);
    if (err != ESP_OK) {
        LOGE(TAG, "STA: Send err 0x%X %s", err, esp_err_to_name(err));
    }

Sometimes, on the field, we see
STA: Send err 0x400A ESP_ERR_MESH_TIMEOUT
I think it's on networks with poor connectivity.
We currently have
ESP_ERROR_CHECK(esp_mesh_send_block_time(2000));
Does changing the send_block_time going to impact esp_mesh_send with MESH_DATA_NONBLOCK set??
I remember we already discussed this and the answer was "yes", but maybe i'm wrong! :)
Thanks!

@zhangyanjiaoesp i have a quesetion because i forgot..
When sending to the external network, we use:
    esp_err_t err = esp_mesh_send(NULL, &data, MESH_DATA_TODS | MESH_DATA_NONBLOCK, NULL, 0);
    if (err != ESP_OK) {
        LOGE(TAG, "STA: Send err 0x%X %s", err, esp_err_to_name(err));
    }

Sometimes, on the field, we see STA: Send err 0x400A ESP_ERR_MESH_TIMEOUT I think it's on networks with poor connectivity.
We currently have ESP_ERROR_CHECK(esp_mesh_send_block_time(2000));
Does changing the send_block_time going to impact esp_mesh_send with MESH_DATA_NONBLOCK set?? I remember we already discussed this and the answer was "yes", but maybe i'm wrong! :)
Thanks!

yes, you are right.

@zhangyanjiaoesp i have a quesetion because i forgot..
When sending to the external network, we use:
    esp_err_t err = esp_mesh_send(NULL, &data, MESH_DATA_TODS | MESH_DATA_NONBLOCK, NULL, 0);
    if (err != ESP_OK) {
        LOGE(TAG, "STA: Send err 0x%X %s", err, esp_err_to_name(err));
    }

Sometimes, on the field, we see STA: Send err 0x400A ESP_ERR_MESH_TIMEOUT I think it's on networks with poor connectivity.
We currently have ESP_ERROR_CHECK(esp_mesh_send_block_time(2000));
Does changing the send_block_time going to impact esp_mesh_send with MESH_DATA_NONBLOCK set?? I remember we already discussed this and the answer was "yes", but maybe i'm wrong! :)
Thanks!

yes, you are right.

could you tell me a bit more?
the send_block_time is used for queues before non blocking part?
for example, if i have 3 seconds of block_time but i do a send with "data_nonblock", the function can be block for up to 3 seconds?

@KonssnoK
When you call esp_now_send(), if the data.tos = MESH_TOS_P2P, then the transmition will be blocked even you set the  flag  with MESH_DATA_NONBLOCK.
If you set the data.tos = MESH_TOS_DEF and the flag with MESH_DATA_NONBLOCK, then the transmition will be unblocked.  And MESH_TOS_P2P should be used when sending packets upward.

Sorry could you map your answer to these? Thanks :)
#define MESH_DATA_ENC           (0x01)  /**< data encrypted (Unimplemented) */
#define MESH_DATA_P2P           (0x02)  /**< point-to-point delivery over the mesh network */
#define MESH_DATA_FROMDS        (0x04)  /**< receive from external IP network */
#define MESH_DATA_TODS          (0x08)  /**< identify this packet is target to external IP network */
#define MESH_DATA_NONBLOCK      (0x10)  /**< esp_mesh_send() non-block */
#define MESH_DATA_DROP          (0x20)  /**< in the situation of the root having been changed, identify this packet can be dropped by new root */
#define MESH_DATA_GROUP         (0x40)  /**< identify this packet is target to a group address */

In the esp-idf/components/esp_wifi/include/esp_mesh.h,
The data.tos type is here:
/**
 * @brief For reliable transmission, mesh stack provides three type of services
 */
typedef enum {
    MESH_TOS_P2P,    /**< provide P2P (point-to-point) retransmission on mesh stack by default */
    MESH_TOS_E2E,    /**< provide E2E (end-to-end) retransmission on mesh stack (Unimplemented) */
    MESH_TOS_DEF,    /**< no retransmission on mesh stack */
} mesh_tos_t;

And the flag type is here:
/**
 * @brief Flags bitmap for esp_mesh_send() and esp_mesh_recv()
 */
#define MESH_DATA_ENC           (0x01)  /**< data encrypted (Unimplemented) */
#define MESH_DATA_P2P           (0x02)  /**< point-to-point delivery over the mesh network */
#define MESH_DATA_FROMDS        (0x04)  /**< receive from external IP network */
#define MESH_DATA_TODS          (0x08)  /**< identify this packet is target to external IP network */
#define MESH_DATA_NONBLOCK      (0x10)  /**< esp_mesh_send() non-block */
#define MESH_DATA_DROP          (0x20)  /**< in the situation of the root having been changed, identify this packet can be dropped by new root */
#define MESH_DATA_GROUP         (0x40)  /**< identify this packet is target to a group address */

hello @zhangyanjiaoesp .
I have a question on when the device is running in fixed root.
Sometimes the nodes of the network cannot connect to the parent, for various reasons
( WIFI_REASON_ASSOC_TOOMANY, MESH_REASON_PARENT_IDLE, MESH_REASON_CYCLIC etc).
Now, how can i tell the device that on such errors it need to stop trying to connect to such devices?
To start the connection i use
ESP_ERROR_CHECK(esp_mesh_set_parent(
                &best_result.parent,
                (mesh_addr_t*)&best_result.parent_assoc.mesh_id,
                best_result.type,
                best_result.layer
            ));

but i don t know how to do something like esp_mesh_reset_parent.
Maybe something like a "disconnect" ?

for reference, esp_mesh_disconnect does not work
I (156025) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<1,1>, prof:1
I (156027) wifi:state: init -> auth (b0)
I (156031) wifi:state: auth -> init (65c0)
I (156031) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<1,1>, prof:1
W (01:02:35.283) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason: 101 MESH_REASON_PARENT_IDLE
W (01:02:35.287) mesh_hand: Stop mesh auto-reconnect
I (156130) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<1,1>, prof:1
I (156131) wifi:state: init -> auth (b0)
I (156142) wifi:state: auth -> init (65c0)
I (156143) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<1,1>, prof:1
W (01:02:35.393) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason: 101 MESH_REASON_PARENT_IDLE
W (01:02:35.395) mesh_hand: Stop mesh auto-reconnect
I (156230) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<1,1>, prof:1
I (156231) wifi:state: init -> auth (b0)
I (156235) wifi:state: auth -> init (65c0)
I (156236) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<1,1>, prof:1
W (01:02:35.487) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason: 101 MESH_REASON_PARENT_IDLE
W (01:02:35.492) mesh_hand: Stop mesh auto-reconnect
I (01:02:35.556) processor: send status... (1000ms)
W (156314) wifi:Haven't to connect to a suitable AP now!

I (157352) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<1,1>, prof:1
I (157353) wifi:state: init -> auth (b0)
I (157358) wifi:state: auth -> init (65c0)
I (157359) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<1,1>, prof:1
W (01:02:36.610) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason: 101 MESH_REASON_PARENT_IDLE
W (01:02:36.614) mesh_hand: Stop mesh auto-reconnect
I (157459) wifi:new:<1,1>, old:<1,0>, ap:<1,1>, sta:<1,1>, prof:1
I (157460) wifi:state: init -> auth (b0)
I (157465) wifi:state: auth -> init (65c0)
I (157466) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<1,1>, prof:1
W (01:02:36.717) mesh_main: <MESH_EVENT_PARENT_DISCONNECTED>reason: 101 MESH_REASON_PARENT_IDLE

i will create an additional issue for the 2 previous comments.

hello @zhangyanjiaoesp, i still see the disconnection related to <MESH_EVENT_PARENT_DISCONNECTED>reason: 102 MESH_REASON_LEAF
more or less 500/hour over thousands of devices

and i think this happens on networks that do not have WIFI available or the WIFI password is wrong, meaning they work in LTE mode,


Patched lora tuner init to allow example 1 code in docstring to run

Currently peft_config[adapter_name] will throw an error since peft_config is a PeftConfig object. Need to pass it as a dictionary. Following get_peft_model usage,I've did a similar adaptation to allow for quick code running like in the first example in the docstring of LoraModel.

Thanks a lot for uncovering this bug. Indeed, the code as written in the docstring does not work. However, I'm not sure if the fix is the best solution, although it would work in that specific case.
I think the deeper issue is some inconsistency in how the model is set up and the lacking separation of concerns for handling adapters. The most common way is to use get_peft_model, which creates a PeftModel. In PeftModel.__init__, we see how LoraModel is supposed to be instantiated:
https://github.com/huggingface/peft/blob/ec267c644a9a9f05a7340a7cb23ed5a6a6090dd0/src/peft/peft_model.py#L104-L117
So as you correctly identified, the passed config argument should be a dict with the adapter_name as key and the actual LoraConfig as value. The trouble with your bugfix is: If the LoraModel is instantiated via the PeftModel, and not as shown in the docstring, the fix would not do the correct thing.
My first instinct was to change the docstring like so:
- lora_model = LoraModel(model, config, "default")
+ lora_model = LoraModel(model, {"default": config}, "default")

which should work without any further code changes. But that's also not good because the adapter_name argument is basically passed twice and if the names are not identical, there would be errors.
Next best solution would be to check in LoraModel.__init__ what the type of config is and apply your fix in case it is a LoraConfig, but I don't like that either, it is better to have simple input arguments and avoid complexity in __init__.
Which brings me to my actually preferred solution, which would be to apply the fix as you suggested, and inside of PeftModel.__init__, make this change:
            - self.base_model = PEFT_TYPE_TO_MODEL_MAPPING[peft_config.peft_type](
            -     self.base_model, self.peft_config, adapter_name
            - )
            + self.base_model = PEFT_TYPE_TO_MODEL_MAPPING[peft_config.peft_type](
            +     self.base_model, self.peft_config[adapter_name], adapter_name
            + )

It's still not pretty and we would have to ensure that this change works with the other adapter types too. What is your opinion @pacman100

I just noticed that Younes's PR #749 probably has fixed this issue already. @saksham36 could you try it out with the latest install from main?

Hi @BenjaminBossan,
You're right. With the new refactored code, the issue with using LoraModel to directly load the model works fine as per the example. I'll close the PR then

Great, thx @saksham36 for testing.


Visual Studio Editor Options bug fixes

Settings changes now sync properly between two or more open Visual Studio instances. (Fixes #5997)
UI logic for saving and restoring options is more robust and follows what Roslyn does.
Fixes #5998
Some comments added.
edit:
Tested on another machine and the settings sync nicely both locally and between two PCs.

@TIHan this PR is pretty minimal, bug fixes and to document the things as they are right now. I agree a more robust, fully immutable design would be nice to have at some point, but it's beyond the scope of this PR.

It's not an immutable design honestly. Data such as IntellisenseOptions is already designed as immutable data but can be modified anyway; that's the part that makes me feel icky.
I understand your view. I'm happy to take what you have since it resolves the bugs.


feat (Spinner) add support for the new steroids.spinner API

The naming could have been more agnostic to the presentation, eg. "loading indicator" instead of "spinner". That would allow other options later eg. to use a progress bar instead of a spinner.
I'll merge this nevertheless to get the ios client to the app store queue. :)


QUESTION: additional instructions on using code

Hi,
I have very little experience with kubernetes and I'm trying to use your code to deploy a rethinkdb instance to GKE, so sorry if I'm asking the wrong questions...
Can you please provide more details about what is required for using this setup?
For example:

Do I need to use your custom image or can I use rethinkdb's generic one?
If I need to use yours, do I need to push it to my private container registry in order to use it?
Regarding variables that need to be updated in the yaml files. If I understand correctly I need to update the following:

POD_NAMESPACE - I assume this should be the namespace my other pods are using ("default" in my case)
POD_NAME - is this just a random name I should define?
POD_IP - I don't know what that is or what it should be

Anything else I need to change?
Thank you!

Hi @gtamir.
You need to either use my custom image (image tag is rosskukulinski/rethinkdb-kubernetes:2.3.4) or build the /images directory yourself and push to your private registry.  The vanilla rethindkb image will not work.
For updating variables:

POD_NAMESPACE, POD_NAME, POD_IP are all automatically filled in by Kubernetes using the downward api. Nothing you need to do there.
If you are running multiple clusters, make sure the RETHINK_CLUSTER environmental variable is unique for each cluster.  If only running one, you can leave it as-is.
You may want to customize the resources section based on your needs (e.g. customize CPU/memory requests/limits)
Based on your changes to the resources section, you may want to update the --cache-size argument
If you want your RethinkDB instances to have a persistent volume, you should either create Google Disks named rethinkdb-storage-1, rethinkdb-storage-2, rethinkdb-storage-3, or update the pdName field accordingly for each replica.

Thank you @rosskukulinski.
If I use your image do I need to push it to the registry too or does kubernetes knows to pull images from docker hub?

In addition to my previous comment, when I try to use the quickstart.yaml I see errors in the pods logs:
Attempting to get canonical-address
Detected canonical-address: ....
Final canonical-address: ....
additional CLI flags
Checking for other nodes
My host: ....
Namespace: default
Endpont url: https://..../api/v1/namespaces/default/endpoints/rethinkdb
Looking for IPs...
jq: error: Cannot iterate over null
Cannot start in proxy mode, no ENDPOINT available
Any idea what's wrong?

Kubernetes will know to pull from docker hub.

@gtamir once the replica node comes up, do the errors in the admin/proxy pods go away?

@rosskukulinski if you mean the replica pod, then it was in status RUNNING, but now all three pods are in status CrashLoopBackOff and keep restarting

@rosskukulinski when I run describe pod on the replica it says: "container "rethinkdb" is unhealthy, it will be killed and re-created."

I'm experiencing a similar issue. Attempting to start on a GKE cluster running 1.3.5. After creating the services, I created the rethinkdb-replica-1 deployment. The pod keeps restarting with the following log output:
Attempting to get canonical-address
Detected canonical-address: <IP_ADDRESS>
Final canonical-address: <IP_ADDRESS>
additional CLI flags --cache-size 100
Checking for other nodes
My host: <IP_ADDRESS>
Namespace: default
Endpont url: https://<IP_ADDRESS>:443/api/v1/namespaces/default/endpoints/rethinkdb
Looking for IPs...
Start single instance
rethinkdb --canonical-address <IP_ADDRESS> --bind all --cache-size 100
Running rethinkdb 2.3.4~0jessie (GCC 4.9.2)...
Running on Linux 3.16.0-4-amd64 x86_64
Loading data from directory /data/rethinkdb_data
warn: Cache size is very low and may impact performance.
Listening for intracluster connections on port 29015
Listening for client driver connections on port 28015
Listening for administrative HTTP connections on port 8080
Listening on cluster addresses: <IP_ADDRESS>, <IP_ADDRESS>, ::1, fe80::454:3eff:fe7e:6b46%3
Listening on driver addresses: <IP_ADDRESS>, <IP_ADDRESS>, ::1, fe80::454:3eff:fe7e:6b46%3
Listening on http addresses: <IP_ADDRESS>, <IP_ADDRESS>, ::1, fe80::454:3eff:fe7e:6b46%3
Server ready, "rethinkdb_replica_1_4173252858_jdkhk_ids" 1cba88a3-7fe1-493e-b1a1-1de30db06f1b
A newer version of the RethinkDB server is available: 2.3.5. You can read the changelog at <https://github.com/rethinkdb/rethinkdb/releases>.
Server got SIGTERM from pid 0, uid 0; shutting down...
Shutting down client connections...
All client connections closed.
Shutting down storage engine... (This may take a while if you had a lot of unflushed data in the writeback cache.)
Storage engine shut down.

ahhh -- Thanks for reporting @chriswessels @gtamir!  I had incorrectly pushed the 2.3.4 tag with a previous image that didn't have the readiness check script.  Please try again - 2.3.4 tag now working correctly.  I also added a 2.3.5 version which is being built now.

@rosskukulinski what is the current state of 2.3.4?
I was using the 2.3.4 tag just fine but things seem a bit broken now with the same configs that were working fine 30 mins ago.
Currently getting errors such as
error: Received inconsistent routing information (wrong address) from <IP_ADDRESS>:29015 (expected_address = peer_address [<IP_ADDRESS>:29015], other_peer_addr = peer_address [<IP_ADDRESS>:29015]), closing connection.  Consider using the '--canonical-address' launch option.

Does this relate to changes in the newly pushed 2.3.4?

@rosskukulinski Fantastic, thanks. I've got 3 replicas running with the latest manifests and the 2.3.5 image.
However, when I attempt to schedule the rethinkdb-admin deployment, I get:
Using additional CLI flags: --cache-size 100
Pod IP: <IP_ADDRESS>
Pod namespace: default
Using service name: rethinkdb
Using server name: rethinkdb_admin_1284164625_t2hh8
Checking for other nodes...
Using endpoints to lookup other nodes...
Endpoint url: https://<IP_ADDRESS>:443/api/v1/namespaces/default/endpoints/rethinkdb
Looking for IPs...
Found other nodes: <IP_ADDRESS>
Starting in proxy mode
+ exec rethinkdb proxy --canonical-address <IP_ADDRESS> --bind all --join <IP_ADDRESS>:29015 --cache-size 100
Error in the command line: Unrecognized option '--cache-size'.
Run 'rethinkdb help proxy' for help on the command

I guess --cache-size is irrelevant for a proxy node?

@rosskukulinski The quickstart.yml with 2.3.4 is working now.
Going to try the persistent storage ones next.
Thank you

@geoah - Could you post your deployment yaml?  I thought I've had --canonical-address flag specified for sometime now.

@gtamir Good catch, sorry about that.  I've updated the 2.3.4, 2.3.5, and master branches to resolve that.

@rosskukulinski glad I could help.
BTW, should I follow @chriswessels previous comment on 2.3.5 remove the args section from the rethinkdb-admin.yml manifest?

@rosskukulinski I'm now running the 2.3.5 with just one replica and getting Error in the command line: Unrecognized option '--cache-size'. on both admin and proxy pods.
Not yet seeing the issue @chriswessels was talking about.
Any idea why?

@gtamir - yep, remove the args section for both admin and proxy pods.  Alternatively, you can do a git pull as I've updated the repo accordingly.

@rosskukulinski Perfect.
Thank you!

closing this as I believe all issues have been resolved.

Thanks @rosskukulinski


No unique class for BS4 blocks?

Adopted the GJS Bootstrap 4 plugin and noticed that the elements aren't dropped into the canvas with a Class unlesss it's predefined. The Container seems to have no problems using the cid provided by grapesjs, but elements like the Header and Paragraph section are lacking the use of the cid generated by grapesjs.
Ex of container:
Ex of Header without Dynamic Class:

Hello, is this still an issue? There have been many changes and upgrades, including GrapesJS, so this might have been fixed, I cant seem to reproduce this.

I'm closing this issue for now.


Currently unable to export dataset annotations (Buffering for 1 hour+) - any Fixes?

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

Any details?


Spyder console doesn't scroll properly

When multiple lines are written to the console, the console doesn't scroll up to show all written lines.
Try this:
import time
iteration = 0
while (True):
    iteration += 1
    print("Iteration:", iteration)
    print("This is the 2nd line")
    print("This is the 3rd line")
    print("This is the 4th line")
    print("====================")
    time.sleep(2)

When you run it, watch the console. For the whole 2 seconds of time.sleep(2), the last line shown on the screen is "Iteration:", not the last line written.
The missing lines can be seen if you drag the scroll bar.
This makes it needlessly difficult to see the Python console output in real time.
Spyder: 3.0.0dev
WinPython: <IP_ADDRESS> (64 bit)
OS: Windows 10 Pro

Which console? Python or IPython?

iPython.
The default console that appears in the lower right of Sypder.

@ccordoba12 Has anyone been able to reproduce this?

Has anyone been able to reproduce this?

Yes, I can see the same issue. Spyder 3.0.0b4, Python 3.5.2 64bits, Qt 4.8.7, PyQt4 (API v2) 4.11.4 on Linux. The Python console works fine, only the IPython exhibits the issue.

The Python console works fine, only the IPython exhibits the issue.

Ha ! (Sorry, private joke)

This is an upstream problem (i.e. a problem with qtconsole itself), so there's nothing we can do about it on the Spyder side.

Besides, this is a duplicate of issue #1773.

As a workaround, try this:
`import time
print("Line to print")
Delay needed to print out the previous line
time.sleep(1)
print(' ')`


Cannot connect to Outline server from Settings -> VPN on iOS

Describe the bug
When I'm trying to connect to my Outline server from Settings app on the iPhone, it stucks on the "Connecting..." status.
To Reproduce
Go to Settings, then to VPN. Choose Outline and turn on the selector.
Expected behavior
Outline should connect to the latest used server.
Screenshots

Client System

Outline Client Version 1.8.0
Your Operating System: iOS 16.0.2

Submit Feedback
Done, my reference number is 00111486.

iOS 17.0.3, Outline client version 1.11.0  actual problem
please fixes bug🙏

Any workaround?

This feature is not currently implemented. For now, the VPN has to be turned on/off via the Outline Client app only.

I tried to solve a similar problem and found a solution through the commands. I've tried different options, but with this configuration, the vpn starts when I need it.

Please, development team, guys, I know that you are the best team and you will implement this feature soon.
Keep updated please 🙃

It’s become much easier to use, when you add new focus, and setup automation to run “Turn outline on” and “Turn outline off” actions on focus activation and deactivation, straight from control center

Here “VPN” is simple focus, with no settings inside


feat(storage): reduce write lock guard for local_version

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
as title ，but we always need more bench for this case
Checklist

~[ ] I have written necessary docs and comments~
~[ ] I have added necessary unit tests and integration tests~

Refer to a related PR or issue link (optional)

https://github.com/singularity-data/risingwave/issues/3459

unlock_fair might significantly affect single-thread performance, but I hope it will work anyway 🤣

i am not sure it will significantly benefit for this case, so need more bench test, but disucuss with wallace the change of write_lock_guard is expected


Adds option to leave python libraries out of the deployment

Solves the issue of unnecessarily packaging libraries that are required but included by default by the cloud provider - such as boto3 by AWS.
Done on a line-by-line basis by adding a #no-deploy comment beside the desired library in requirements.txt. Creates a parsed .requirements.txt file and re-targets pip install to that file.
example:
$ cat requirements.txt
requests
boto3 #no-deploy
pandas

neat suggestion. probably a good enough solution for #14 as well. We're super busy at @UnitedIncome right now, so I'll look at this when I actually have time.


Not recursive

my project folder structure is like the following:
/project-root/
    gulpfile.js
    myjsstuffs/
        somescript.jsx
        module1/
            script1.jsx
            dir1/
                 script2.jsx
                 subdir1/
                      script3.jsx

Only somescript.jsx and script1.jsx are being linted at the moment.
My gulp task:
gulp.task('lint', function() {
    console.log('lintAf');
    gulp.src(['!node_modules/**', '!bower_components/**', '!build/**', '!public/**', '!styles/**', '!views/**', 'myjsstuffs/**/*'])
    .pipe(eslint())
    .pipe(eslint.formatEach('stylish'));
});

I'm using gulp-eslint version 2.0.0

@ericntd add gulp-debug after gulp.src to see which files you are passing to eslint().  gulp.src uses node-glob, and I don't think it supports negation any longer, you need to use the second options parameter with {ignore: []}.  I don't think this is a problem with this plugin.

Ah, to debug, also add the warnFileIgnored: true to the options just in case.

@rosskevin, good debugging tips. Negated paths still work since gulp still uses<EMAIL_ADDRESS>All the same, the negated paths are mostly useless since only files within "myjsstuffs" are pulled in.
Also, be sure to return the stream from your task. It's likely that the process is exiting before it can load, lint, and print every tile.
Try this:
gulp.task('lint', function() {
    console.log('lintAf');
    return gulp.src(['myjsstuffs/**/*'])
        .pipe(eslint())
        .pipe(eslint.formatEach('stylish'));
});

@adametry thanks, worked like a charm


Is GPU support available?

Hi all,
I've tried to run a training on gpu with the following command
python -m sockeye.train --source data/wmt15-de-en/train.en --target data/wmt15-de-en/train.de                --validation-source data/wmt15-de-en/valid.en --validation-target data/wmt15-de-en/valid.de --output models/ --device-ids 0

but got the following error
Traceback (most recent call last):
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/sockeye-1.0.2-py3.6.egg/sockeye/train.py", line 265, in <module>
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/sockeye-1.0.2-py3.6.egg/sockeye/train.py", line 261, in main
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/sockeye-1.0.2-py3.6.egg/sockeye/training.py", line 192, in fit
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/module/bucketing_module.py", line 298, in bind
    force_rebind=False, shared_module=None, grad_req=grad_req)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/module/module.py", line 388, in bind
    state_names=self._state_names)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 216, in __init__
    self.bind_exec(data_shapes, label_shapes, shared_group)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 312, in bind_exec
    shared_group))
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 632, in _bind_ith_exec
    context, self.logger)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/module/executor_group.py", line 610, in _get_or_reshape
    arg_arr = nd.zeros(arg_shape, context, dtype=arg_type)
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/ndarray.py", line 1003, in zeros
    return _internal._zeros(shape=shape, ctx=ctx, dtype=dtype)
  File "<string>", line 15, in _zeros
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/_ctypes/ndarray.py", line 72, in _imperative_invoke
    c_array(ctypes.c_char_p, [c_str(str(val)) for val in vals])))
  File "/hltmt0/data/digangi/anaconda3/lib/python3.6/site-packages/mxnet/base.py", line 84, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [16:16:21] src/c_api/c_api_ndarray.cc:392: Operator _zeros cannot be run; requires at least one of FCompute<xpu>, NDArrayFunction, FCreateOperator be registered

I don't get this error with --use-cpu.
I'm quite new to MXNet, so I can't get whether it is a problem of my installation.
Thanks,
Mattia

Hi Mattia,
assuming that you are running this on a machine with a GPU and CUDA 8.0, it looks like you have an MXNet version installed without CUDA support. (This is the one you get when running pip install mxnet==0.10.0).
Try
pip install mxnet-cu80==0.10.0

Thank you, this solved the problem!

Thank you, this solved the problem!

great! We're currently updating the documentation about this, as the error message is extremely cryptic.


Stop printing “failed to update” message when changing sources

What was the end-user problem that led to this PR?
The problem was bundle update shows incorrect message when updating git gems
Closes #6325
What was your diagnosis of the problem?
My diagnosis was we need to check if the source has changed
What is your fix for the problem, implemented in this PR?
My fix only prints the message when the source has not changed
Note that is does not yet fix the "updated the git sha" case, since the locked spec and the new spec actually share the same source object!

@segiddins What do you think about this approach?

I'm happy with this :+1:

Heh, cheeky ;) I like it! Thanks so much for taking this up
@bundlerbot r+


Hiding Toolbar is not persistent

 Issue by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT
Originally opened as https://github.com/douglasdrumond/macvim/issues/22

What steps will reproduce the problem?
1. Launch MacVIM
2. Click on the ellipse button on the top right corner of the window to
collapse the tool bar icons.
3. Quit MacVim and restart it.  Toolbar icons are visible again.

What is the expected output? What do you see instead?

Toolbar icons are suppose to be collapsed.

What version of the product are you using? On what operating system?

R300

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 5 Oct 2007 at 9:39

 Comment by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT

Thanks for the report.

I am working on a solution that will keep the toolbar hidden without
interfering with
Vim's way of saving settings.

/Björn

Original comment by<EMAIL_ADDRESS>on 8 Oct 2007 at 8:24

Changed state: Accepted

 Comment by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT

Try adding

set guioptions-=T

to your .vimrc

Original comment by<EMAIL_ADDRESS>on 7 Jan 2008 at 6:52

 Comment by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT

Adding options like "set go=..." and "colorscheme ..." to ~/.vimrc won't work.
To correctly override these settings,
add them to ~/.gvimrc.

Original comment by<EMAIL_ADDRESS>on 17 Feb 2008 at 9:06


Paper descriptions

Is it possible to reinstate descriptions for some of the papers in the literature section that the old version of the website had?

Descriptions are visible under "ABS" for each paper from 790005442e1d7b50caa6e068784fd26a1ed4ce40 onwards.


Answer key questions in literature review

[ ] What is the status of equilibrium composition analysis in pebble bed reactors, particularly HTGRs, but with some consideration of FHRs (previous depletion studies with VSOP/etc. for X-Energy and PBMR designs, FHR designs, etc.)
[ ] How successful were those approaches?
[ ] What is the status of micro-HTGR designs and where does yours fit (establish that the literature doesn't have one that does what yours does... or that the ones that exist aren't far enough along or are not quite superior in some way)?
[ ] Have folks evaluated the importance (with respect to uncertainty in flux and reactor physics) of the random packing of differently burnt up pebbles (I know PBMR and PB-FHR project both have worked on this challenge in the context of licensing mobile multi-pass pebble fuel). So, review past (NGNP) approach to this and establish that there was a need to determine the uncertainty/variation in power profiles/ reactor physics for this design.
[ ] Anything to say about the state of the state of the art of determining how much shielding is required for a device. Perhaps this is related to graphite lifetimes as a function of allowable dose/damage/dpa.

@ZoeRichter
Please double check that these key questions have been answered in final version.


Add Nginx server setting guide for CI Urls. - Update urls.rst

Add Nginx server setting guide for CI Urls.

This example is very questionable, with no 404 fallback and will fail under a lot of conditions due to how nginx works. I for one use a completely different nginx ruleset and what you suggest would break my apps.
It's not Apache, you can't just shove a few lines into its config and expect the thing to magically work.
Also removing a note for some reason ... Shouldn't be doing that.


Unclear that events from multiple interactions work with AND condition.

If and event can be fired from multiple interactions it is only fired into the decision model (petri-net) if all interactions have provided this event.
In the event list the event is still found even if the event will not be fired for the petri-net.
This is unclear for the users of Baker. They expect this to be a OR condition.
We should make this as the user expect by doing one the following:

Make it a OR condition
Disallow having multiple interactions fire the same event in the compiler.

This behaviour is very counter intuitive. I would consider this a bug.
We can start by disallowing this altogether and maybe later add this as a feature.


compile error

what's the matter?

you can try:
(1)  update your automake, refer to issue 1
(2)  use python 2.7.*
If it is possible, we strongly recommend using docker to install AnyQ:
docker pull paddlepaddle/paddle:latest-dev

一起讨论下anyQ,15821444815加我微信吧！


Getting "Fachmann" Data updates again

Hello there,
first I'll like to thank you for this great adapter.
Since a few months I noticed that the "fachmann" values are only updated if I login on the wolf-smartset webinterface and go into the fachmann corner.
Is there a possibility to get this values updatet as usual? I'm pretty shure that there was a change on wolf, because I used the stable v1.0.0 . I also tried the 1.1.0 but it seems it had no impact.
Thanks alot

We jad this discussion last time in an other thread ... As I tested, e,g, the data was updated ... so in fact the adapter qeries the same values as the website in 1.x ... so no idea whats the difference. Becaus I do  not have such a device I can not say more

As i wrote the data from the unprotected entries gets pulled well. But only the Fachmann data which is protected by a 4 digit key gets only updated when I log into this area in the web ui.
If I can help you with some data please feel free to ask
Thansk

Seems like Wolf changed the way they send data to the Smartset cloud. Because the Fachmann-Data gets only updated when I login to this specific area. As the data gets fetched from the bm-2 (heating system) online (takes some seconds) I see the update of the values live in the web interface wolf and so the data in my ioBroker instance does.
I hope this helps to get a solution if possible

I like the Wolf-Smartset-Adapter as well - thank you for the implementation :-). I am using it for receiving efficency information for my heatpump and displaying them in iobroker.
Unfortunately i am suffering from this issue as well. Obviously Wolf has mixed Push and Pull techniques to update the smartset database from the installations. The Fachmannebene needs a login and afterwards triggers the update.
Unfortunately the "Fachmanebene"-Data includes statistic data which are relevant to optimize the effiviency of the heatings. I assume that only the Wolf-Development Team can solve this problem. Maybe it could be a simple solution to shift some data from "Fachmannebene" to "Benutzerebene" in order to have regular updates. In my case i am only interested in powerconsumption data.
Is there an actual state for this issue?
thank you in advance,

any  updates on this issue? Was anyone able to find a solution or workaround?

@SpatialJ: I had not used this Adapter for a while but i retried yesterday. I have received all statistics-data that i needed from wolf-smartset portal. For me the problem seems to be fixed.

@Savari-dev  I am using it as well, and the issue is still here :-/

@Savari-dev I am using it as well, and the issue is still here :-/

Please add version informtaion you are using:
adapter
js-controller
node
os
Please attach a log with LEVEL set to DEBUG

@Savari-dev I am using it as well, and the issue is still here :-/

Please add version informtaion you are using: adapter js-controller node os
Please attach a log with LEVEL set to DEBUG

Hi,
this is from the iobroker info:
Platformoperating system:linux Architecture:x64 CPUs:2 Speed:0 MHz Model:Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz RAM:3.8 GB System uptime:25 d. 04:55:22 Node.js:v20.18.0 time:1734341784142 timeOffset:-60 NPM:10.8.2 adapters count:549 Disk size:29.5 GB Disk free:14.2 GB Active instances:10 Path:/opt/iobroker/ Uptime:25 d. 04:53:44 alive:true _nodeCurrent:20.18.0 _nodeNewest:20.18.1 _nodeNewestNext:20.18.1 _npmCurrent:10.8.2 _npmNewest:10.8.2 _npmNewestNext:10.8.2
The Wolf Smartset Adapter Version is:
`Wolf SmartSet
Installed instances:
1
Available version:
1.2.3
Installed version:
1.2.3`
The Logs look similar for each day, for example:
`
2024-12-14 03:45:46.326 - warn: wolf-smartset.0 (301) API REFRESH TOKEN ERROR: login_required: undefined
2024-12-14 03:45:46.338 - warn: wolf-smartset.0 (301) Error: login_required: undefined
at WolfSmartSet._refresh (/opt/iobroker/node_modules/iobroker.wolf-smartset/lib/wss.js:455:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-12-14 03:45:47.192 - info: wolf-smartset.0 (301) Initialization with Login and new Session done!
2024-12-14 04:35:17.982 - warn: wolf-smartset.0 (301) State value to set for "wolf-smartset.0.Fachmann.Heizgerät.Parameter_HG.419_Einstellungen.27010400001" has value "2" less than min "5"
2024-12-14 05:42:48.947 - info: admin.0 (160) Adapter rating updated
2024-12-14 07:05:44.448 - info: admin.0 (160) Request actual repository...
2024-12-14 07:05:44.629 - info: host.iobroker Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
2024-12-14 07:05:47.106 - info: admin.0 (160) Repository received successfully.
2024-12-14 13:45:48.990 - warn: wolf-smartset.0 (301) API REFRESH TOKEN ERROR: login_required: undefined
2024-12-14 13:45:48.990 - warn: wolf-smartset.0 (301) Error: login_required: undefined
at WolfSmartSet._refresh (/opt/iobroker/node_modules/iobroker.wolf-smartset/lib/wss.js:455:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-12-14 13:45:49.858 - info: wolf-smartset.0 (301) Initialization with Login and new Session done!
2024-12-14 23:45:51.608 - warn: wolf-smartset.0 (301) API REFRESH TOKEN ERROR: login_required: undefined
2024-12-14 23:45:51.608 - warn: wolf-smartset.0 (301) Error: login_required: undefined
at WolfSmartSet._refresh (/opt/iobroker/node_modules/iobroker.wolf-smartset/lib/wss.js:455:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-12-14 23:45:52.480 - info: wolf-smartset.0 (301) Initialization with Login and new Session done!
`

@mcm1957 i just have changed the log-level to debug. I will give you the resulting file tomorrow.
Here are my versions:
Wolf-Smartset Adapter: 1.2.3
js-controller: 6.0.11
node.js: 20.17.0
os linux bookworm
Please note that i am using two parameters out of the Fachmann-Menue:
wolf-smartset.0.Fachmann.Heizgerät.Heizgerät.413_Statistik.27016400001 Verbrauch aktuelles Jahr
wolf-smartset.0.Fachmann.Heizgerät.Heizgerät.413_Statistik.27016500001 Waermemenge aktuelles Jahr
Both of these are updated by Wolf-Smartset-Portal irregularly. It seems that one time in the early morning the update is reliable.
I am using this data for daily , monthly and yearly statistics, so the update once a day is sufficient for me.

Here is my logfile from today
iobroker.2024-12-17.log

Here is my logfile from today iobroker.2024-12-17.log

The log does not contain der API GET GUI DESC.: line we are looking for. Also, the log looks like copied from screen, not downloaded as log. Can you please proceed as follows:

in the Wolf adapter instance settings set Log level to Debug, do not(!!!) check 'No reload'

Close adapter instance, wait until adapter has reloaded
go to Logs and download logs for the current date

upload the downloaded log as whole or extract the  API GET GUI DESC.: line, which ends at the next timestamp (will look like be several lines in your editor)
in the Wolf adapter instance settings set Log level to Info agian , do not(!!!) check 'No reload'

Thnx

I have found an appropriate line in the debug log from yesterday. API GET GUI DESC Log.txt

Excellent! Here are the inconsistencies I found (looks pretty much the same as my CHA-07, see issue #281:

ValueId
Name
Group
ValueState
Value
MinValueCondition
MaxValueCondition
MinValue
MaxValue
IsReadOnly
IsExpertProtectable

27010400001
Hysterese Kühlbetrieb
419_Einstellungen
1
2
0.5
10
5
10
false
false

27012800001
Aktueller Energiepreis ZWE
419_Einstellungen
1
6
0.1
99.9
1
999
false
false

27012900001
Aktueller Strompreis
419_Einstellungen
1
21
0.1
99.9
1
999
false
false

22003000000
PI-Regler Raumtemperatur Tn
400_Anlagenparameter
1
1
0.1
20
1
20
false
false

I'm currently setting up a ioBroker-dev so I can test my fix. I'll let you know when it's available for testing...


Can't install packages using conda, even when run elevated

Dev 15.
I'm trying to install into the Anaconda that was installed by the VS installer.
I checked the "Run elevated" in the "Install package" dialog, but that doesn't help.
I know changes were made recently to "Run elevated", so I'm wondering if I'm hitting a bug or if it's by design and I have to follow the "clone this environment" instructions.
Installing 'boto3'
Fetching package metadata .......
Solving package specifications: ..........
Package plan for installation in environment C:\Program Files\Anaconda3:
The following packages will be downloaded:
    package                    |            build
    ---------------------------|-----------------
    conda-env-2.5.2            |           py35_0          67 KB
    jmespath-0.9.0             |           py35_0          28 KB
    conda-4.1.11               |           py35_0         247 KB
    botocore-1.4.37            |           py35_0         1.9 MB
    boto3-1.3.1                |           py35_0          97 KB
    ------------------------------------------------------------
                                           Total:         2.3 MB
The following NEW packages will be INSTALLED:
    boto3:     1.3.1-py35_0  (copy)
    botocore:  1.4.37-py35_0 (copy)
    jmespath:  0.9.0-py35_0  (copy)
The following packages will be UPDATED:
    conda:     4.1.6-py35_0  --> 4.1.11-py35_0 (copy)
    conda-env: 2.5.1-py35_0  --> 2.5.2-py35_0  (copy)
Error: Missing write permissions in: C:\Program Files\Anaconda3
#
# You don't appear to have the necessary permissions to install packages
# into the install area 'C:\Program Files\Anaconda3'.
# However you can clone this environment into your home directory and
# then make changes to it.
# This may be done using the command:
#
# $ conda create -n my_root --clone=C:\Program Files\Anaconda3
'boto3' failed to install. Exit code: 1

I'm having the same issue. Any Suggestions?

@venkatesh-1 You're probably best to open an elevated command prompt and run the command manually.
Our integrated support for conda is very basic, and has actually been removed (temporarily) in our next release until we can invest the time in making it work nicely (which we hope to include in a minor update to VS 2017).

I tried this solution and it worked. I hope it helps:
Go to C:\Program Files. Right click on Anaconda. Properties --> Security. Then change permissions for all users.

This code path has been removed. When we add it back, we'll make sure it works better than it did before.


Fixes for the C implementation

Ensure measurement_array is not mapped on the CoW zero page
Otherwise, page faults are generated when measure() is executing, affecting the execution time.

Mark the measurement_array as volatile to force the compiler to generate accesses
Otherwise, GCC 6.2.1 and presumably other compilers as well don't generate writes to the array in measure().

lgtm. Thanks! I had actually forgotten that the c implementation was still in here, I didn't spend nearly as much time working out the kinks in it.


Add icq-notification plugin

@daniel-beck
Description

The plugin allows to send Jenkins notifications to ICQ.
GitHub repository: https://github.com/jenkinsci/icq-notification-plugin
Hosting request: https://issues.jenkins-ci.org/browse/HOSTING-743
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

LGTM

@slide, thanks!
is there anything else I should do for the PR to be merged?


Bug: Setting job Active Deadline Seconds in GUI does not work

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

Create a CronJob
set Active Deadline Seconds

Result:
Active Deadline Seconds is not saved
Other details that may be helpful:
Setting this manually in the YAML works just fine
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.4.5
Installation option (single install/HA): HA

gz#11234

Posted the question to support.

Verified on master-head, commit 5da52c0

Created a CronJob "testcrob"
set "Pod Active Deadline" Seconds to 99
After create, brought the cronjob detail page the "Pod Active Deadline" Seconds" is showing the value that was set during creating the corn job


log4j 1.2.17 in spark-core

Describe the bug
There is a security mitigation for log4j 1.2.17 in Spark 3.1 and 3.2
To Reproduce
When running mvn test, spark will call log4j 1.2.17 as a dependency library.
Expected behavior
We should remove log4j 1.2.17 support.
Additional context
N/A

Hi @weiting-chen,  about Changelog as we have talked previously , could you please help tag Gazelle branch-1.3 merged PRs and their corresponding closed issues. Merged PRs are only to be marked Release 1.3.0 in Projects item;  corresponding closed issues are marked the tags with bug, feature or performance in label item, and also need to be marked Release 1.3.0 in Projects item for generating Changelog. Thanks a lot.

Hi @weiting-chen, about Changelog as we have talked previously , could you please help tag Gazelle branch-1.3 merged PRs and their corresponding closed issues. Merged PRs are only to be marked Release 1.3.0 in Projects item; corresponding closed issues are marked the tags with bug, feature or performance in label item, and also need to be marked Release 1.3.0 in Projects item for generating Changelog. Thanks a lot.

Done to mark all the tags and Project items for branch 1.3's PR and Issues.
Please help to generate the Changlog.
Thanks.


stage0

thanks for your work, could you commit the config of stage0?

stage0 training log (which you can use as reference to create your config yaml) is uploaded. I will later update the pretrained models as well.

stage0 training log (which you can use as reference to create your config yaml) is uploaded. I will later update the pretrained models as well.
The training was on a remote server with 3x RTX-A6000.

thx!


Removing etcdtopo.

It has been replaced by etcd2 topology server implementation.
Also fixing etcd2topo test startup code so it times out after 10s, as
advertized. Otherwise the 'get' is stuck for ever.
BUG=30274258

LGTM
+3 −2,946: I like it :)


Website spelling to fix

I just did a quick run through of the website and these are the problems I found. I didn't dig too extensively but this is the gist.

Release.md Line 7 seperately should be separately

Tour: Writing Code line 17 excercises should be exercises
Tour: Basic read and write line 11  excercise method should be exercise
Tour: Basic  read and write line 22 - 25 snaphot should probably be snapshot.
Tour: Snapshot Isolations Code line 6 excercise method should be exercise
Tour: Collision Code line 6 excercise method should be exercise
Tour: Write Skew Code line 6  excercise method should be exercise
Tour: Scanning code Line 7 excercise method should be exercise
Tour: Scanning code Line 50 lamda's should be  lambda's
Tour: Fetching multiple Cells line 27excercise method should be exercise
Tour: Observer example line 32 excercise method should be exercise
Tour: Example 1 line 137, 145, 547 All references to excercise should be exercise
Tour: Row locking line 61 excercise method should be exercise
Tour: Weak Code line 40 excercise method should be exercise
Tour: Applications Configuration line 124 excercise method should be exercise
Tour: Memory limits and self notify code line 74 excercise method should be exercise

Docs index page line 11 seperate should be separate
Api.md line 11 seperate should be separate
getinvolved.md line 11 disscussion should be discussion
How to contribute line 31 insructions should be instructions

Blog Post immutable bytes.md line 19 analagous should be analogous
Fluo recipes 1.0.0-incubation.md release line 29 wehn should be when
fluo-recipes/1.0.0-incubating/index.md line 8 additinal should be additional
fluo-recipes/1.0.0-incubating/index.md line 9 seperately should be separately

Very nice!  Is anyone interested in fixing these?  If not, I will fix them.

@keith-turner I've got it


(fix) Render and validate timePicker on min/max changes

Fixes wrong validation with dynamic min/max attributes.

Please re-file against master.
Also this needs tests.


[Feature Request] Input Overlay

The controller input displays should be visible as an overlay in the replay video area instead of being a tab. I want to view inputs while selecting different clips from the "Clips" tab,
This tool is incredible, great work!

Yeah finding a good layout has been tricky. I used to have it on the replay area but it was really too crowded for doubles. I might try shrinking the replay down more like YouTube pages. In the meantime there is a keyboard shortcut for cycling through clips at least, click the keyboard icon for a list.


It's not actually clear from the readme how to start using the book

Where in the docs did you come across this?
I was looking at /README.md and realized that I didn't actually know how to start using the book until I read through the whole documentation very carefully and realized that the quickest way to start reading it was to navigate to /src and start reading the markdown files.
Describe what about it does not make sense
The information about the easiest way to read the useful documentation and tutorials in the book should be the first thing in the README.md, which should be a document describing the project in this repo.
Why does it not make sense?
The vital information is at the end of the document in an aside.
How could we improve it?
Add a Getting Started section at the beginning that describes the things you can do with the book (read it, run examples from it, etc) and tells you how to do them.

FWIW, we have the repo's website pointing to the hosted version on github pages.
Would you consider this resolved if we had a big link/section about reading the book at the top of the README as well?

Yes, absolutely! I'm opening up a PR to do exactly that.


Investigate removing Restsharp as a dependency

It seems development on RestSharp is slowing because of HttpClient, which is in .NET 4.5 and .NET Core. Restsharp improved getting the project up and running quickly, but may be more overhead than is needed.
Issue open for comments.

The latest RestSharp from nuget (v 105.2.3) breaks EmmaSharp (I had been using RestSharp 105.1.0). Here is the exception:
Could not load type 'RestSharp.HttpBasicAuthenticator' from assembly 'RestSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
From the stack trace, here is the method throwing the error:
EmmaSharp.EmmaApi.Execute[T](RestRequest request, Int32 start, Int32 end)
Looking at github, it appears that the author introduced breaking changes by moving it to the RestSharp.Authenticators namespace (was just in RestSharp, which explains the error).

@technomaz Seems like an easy fix, but I'll need to update the project dependencies to do so, which is not necessarily a bad idea (we're behind on Json.Net too). I tried, but I don't think I can code around a namespace change. Since this is a API change we should at least try to incorporate.
I'll see if we can get a minor release out today or tomorrow, since the HttpBasicAuthenticator class and method are not exposed publically in the project.


Improve description of HuggingFace token connection

Improve description of HuggingFace token connection

After discussion @ahsimb and me came to the conclusion to enhance the sentence in the notebook transformers/te_init.ipynb.
Currently it says

We may need to enter a Huggingface access token in case the models we are going to use have a restricted access. This step can be skipped if we only use publicly accessible models.

I personally am not an expert regarding HuggingFace, but after @ahsimb gave me a brief introduction I would rate the current sentence as sufficiently verbose.

Closing issue as dev team agreed on the current documentation to be sufficent.


Fix ReadMe example import error

Issue link : https://github.com/getgauge/taiko/issues/470

@gaugebot recheck the pull request.

Master build is failing :disappointed:

Thanks for the PR!
The build might be failing for an unrelated reason. We'll look into merging this soon.


Is it possible to use this magic lib on SharpDX?

I think you should use https://github.com/veldrid/veldrid if you care about AOT. People there supportive of this scenario and it should work

I would say, better join dark side and work with community tools 😄


Fails to check ftp URLs with username and password

I was trying to test this library with GramTest, a grammar based test case generation tool (https://github.com/codelion/gramtest). I found that it fails to to check ftp URLs.
isUrl('ftp://username:password@hostname')  //returns false

@codelion The current behavior is to return true on the example you provided.
Can you confirm and close this issue, or suggest another failing ftp example?

@davisjam @chmursonss I updated the URL, I think it fails for FTP URL's with username and password.

@codelion it's because your url is ftp://username:password@hostname It succeeds if you have any TLD there<EMAIL_ADDRESS>

@villesau as per the RFC https://www.ietf.org/rfc/rfc1738.txt host name doesn’t have to end with a TLD.
hostname       = *[ domainlabel "." ] toplabel
domainlabel    = alphadigit | alphadigit *[ alphadigit | "-" ] alphadigit
toplabel       = alpha | alpha *[ alphadigit | "-" ] alphadigit

This seems to be an invalid URL: amqp://user:pass@domain.tld:1234
The port is what throws the regex off, the rest matches just fine.

I also get this failure for a url like 'postgresql://user:pass@localhost:5432/dev'. without a user/pass it passes


Can't use with Cocoapods

When performing pod install the error appears:

[!] CocoaPods could not find compatible versions for pod "PopupWindow":
In Podfile:
PopupWindow
Specs satisfying the PopupWindow dependency were found, but they required a higher minimum deployment target.

Which version should I use?

Is your project deployment target for iOS 10 or above?
Looks like this pod doesn't have support for iOS 9 and below.
Had a somewhat related issue, when using:
pod 'PopupWindow'

the pod version would be locked at 0.1.0, if you need the last version (0.2.6) you need to use:
pod 'PopupWindow', :git => 'https://github.com/shin8484/PopupWindow.git'


remove redundant profile customzations in integration test setup

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@ayj: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ayj: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test lint_istio

gencheck_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ayj: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test lint_istio

gencheck_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test gencheck_istio

integ-security-k8s-tests_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-k8s-tests_istio
/test lint_istio

@ayj: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test gencheck_istio

integ-security-k8s-tests_istio
4f9c7b3cadab16fc67061ce62239dea69b445455
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-k8s-tests_istio

@ayj: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
f2c5eee570f3865ae7408102c243a3c8b2e643fd
link
/test gencheck_istio

integ-security-k8s-tests_istio
68d07ca782ff21e38a2fa9cacd40371c5cb77f11
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-k8s-tests_isti

@ayj: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

/test unit-tests_istio
/test release-test_istio
/test integ-galley-k8s-tests_istio
/test integ-mixer-k8s-tests_istio
/test integ-pilot-k8s-tests_istio
/test integ-security-k8s-tests_istio
/test integ-telemetry-k8s-tests_istio
/test integ-multicluster-k8s-tests_istio
/test integ-distroless-k8s-tests_istio
/test integ-ipv6-k8s-tests_istio
/test integ-operator-controller-tests_istio
/test integ-pilot-multicluster-tests_istio
/test lint_istio
/test gencheck_istio

Use /test all to run the following jobs:

unit-tests_istio
release-test_istio
integ-galley-k8s-tests_istio
integ-mixer-k8s-tests_istio
integ-pilot-k8s-tests_istio
integ-security-k8s-tests_istio
integ-telemetry-k8s-tests_istio
integ-multicluster-k8s-tests_istio
integ-distroless-k8s-tests_istio
integ-ipv6-k8s-tests_istio
integ-operator-controller-tests_istio
lint_istio
gencheck_istio

In response to this:

/test integ-security-k8s-tests_isti

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test integ-security-k8s-tests_istio

/test all

@ayj: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
b195bad69152b8b142a09f801ea02b35b826300a
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


request:   flutterfire configure needs a new option for app nickname

Is there an existing feature request for this?

[X] I have searched the existing issues.

Command
flutterfire configure -n / --name <app_name>
Description
As a developer, I want to be able to specify the name of the app to be created when calling flutterfire configure. Right now, it is defaulting to the value in pubspec.yaml.
Reasoning
I am running multiple flavors and I created a script to automatically create all apps in firebase. I want to specify the name of each app without them taking the value from pubspec.yaml.
Additional context and comments
No response

I am confused, what would be updated by having an option for the app nick name?

@russellwheatley This is a good feature. I use futterfire configure in a CI/CD pipeline to build different applications using a single code base. But every new application has a name like "project (ios)" or "project (android)". This looks confusing...

I would like this option OR no nicknames at all.
My company develop white label applications, I use 1 firebase project to store 30 apps, all are listed with same nickname as I use flutterfire configure.
The problem with it, when some of these 30 apps has problems, per example, I cannot find the right one to check on Crashlytics, as all are listed with same name (the nickname).
Check below image, these are 7 differents apps I have under same firebase project:

As a workaround, I need first to go to project settings and rename the nickname (mostly I would set nickname same as package name). This way I would find it on Crashlytics, Analytics, and so on.
If nickname was optional my life would be a lot easier.
It is optional on firebase project settings, it makes no sense flutterfire configure set it by default.


Nothing is displayed

Hi,
When I run any of the examples in the docs I never get anything displayed on the screen. I don't get any errors logged and I see the python app spawning but macos says it's not responding. Top shows it using 100% of CPU and I need to kill it to get it to stop. I have tried it with both PySide2 and PyQt5 with the same results. The plain Qt example you have works fine.
Any ideas?

That's odd. I'll try to get my hands on a Windows machine so I can do more proper testing there.

I was using MacOS big sur.


Syntax Highlighting is thrown off in v1.43

VSCode Version: 1.43
OS Version: macOS Catalina

Steps to Reproduce:

Simply use VS Code v1.43
The syntax highlighting seems to have a weird mixup with token hierarchies. First render, it shows everything just fine, but after a few seconds, the colors trip up. I downgraded to the January 2020 v1.42 for now, and it all works as expected in that version.

I'm not sure if this behavior was intended, since it colors functions and classes being imported as functions and classes instead of variables. It SEEMS to have some logic to it. However, I would prefer to color a function as a function only when it is being defined or called, not when it is being imported or assigned to a key in an object. Same thing goes for classes. But the oddity is the fact that the colors change a few seconds after opening or reloading the window.

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

/duplicate of #92308


Undo bug in Find

Issue Type: Bug
Here is how to reproduce:

Start a new file in VS Code
Input like this:

abc
def

Select def and press Ctrl+F
Delete text in Find window and type ab
Now select def and press Ctrl+F again
Focus on textbox in Find window and press Ctrl+Z, and then the bug occurs (it is expected to be ab, but it's df here)

VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

Memory (System)
7.88GB (1.52GB free)

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

lit-html
bie
1.11.0

code-runner
for
0.9.9

latex-workshop
Jam
6.5.1

python
ms-
2019.4.12954

cpptools
ms-
0.23.0

(2 theme extensions excluded)

Seems like whatever is keeping track of what to change on Ctrl+Z is not being updated when you do a Select + Ctrl + F. I'm going to give this a shot.

/duplicate of https://github.com/microsoft/vscode/issues/27035 actually.


Bug InteractionManager when accessing getLocalBounds()

I've spent a couple of hours trying to figure it out what was happening.
I basically have a "viewport", and due to a call to getLocalBounds(), PIXI is somehow is flushing the _boundsID and the InteractionManager simply stops working.
Live demo of the issue: https://jsfiddle.net/endel/xc6483w4/
If you comment out the getLocalBounds call, everything works.

I'm using latest v4 version by the way.

Excellent catch! And thanks for creating the fiddle. It makes it all so much easier to solve :D

Just to be more specific: the width getter from Container will call getLocalBounds, so this might be an issue for mostly every PIXI application that haves a "viewport/camera" feature out there.

If user calls "updateTransform" after that, it will be fine.

Hey guys! Any updates on this? I'm using Container width prop in mouseover event to calculate container menu position, and getting mouseover event twice.

@kib357 its still the case, I made multiple tries to fix it but they all were rejected. Don't use width/height please , use getBounds()

@ivanpopelyshev thanks, i've replaced width with getBounds and manually applied my stage transform on it. Still hacky, but should work faster and looks cleaner)

do you really need width/height or you want to know the center of element?

width, i need to place menu in upper-right corner of container

Fiddle with latest pixi: https://jsfiddle.net/xc6483w4/4/


HDDS-11915. Netty OpenSsl not available on arm64

What changes were proposed in this pull request?
Bump ozone-runner to the version that comes with libcrypt.so.1 on arm64, too.  This is to fix:
UnsatisfiedLinkError: /tmp/liborg_apache_ratis_thirdparty_netty_tcnative_linux_aarch_6412907517136400085340.so: libcrypt.so.1: cannot open shared object file: No such file or directory

https://issues.apache.org/jira/browse/HDDS-11915
How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/12300562062

Balancer is being fixed in #7569.

LGTM.
Confirmed that using ozone runner version 20241212-1-jdk21 passes the ozonesecure-mr acceptance test on Macbook Pro M3.

Thanks @jojochuang for reviewing this one, too.


[AWQ] e2e awq-quantized model

Run awq quantized Llama-2 7B.
Preparation: get the weight
Follow the instructions in llm-awq to generate the quantized weights.
Compile the model
python -m mlc_chat.cli.compile --config llama2_7b --quantization q4f16_awq -o ./dist/new-llama-awq/llama.so --max-sequence-length 4096

Load the model weight, convert it into ndarray
python -m mlc_chat.cli.convert_weight --quantization q4f16_awq -o ./dist/new-llama-awq --config ../models/Llama-2-7b-chat-hf/config.json --source-format awq --source dist/models/llama-2-7b-chat-w4-g128-awq.pt

Test the model
python -m mlc_chat.cli.benchmark --model ./dist/new-llama-awq/ --model-lib ./dist/new-llama-awq/llama.so --device "cuda:3" --prompt "What is the meaning of life?" --generate-length 256

Could you address the comment so that we could get this PR in?

I have fixed that. Thanks for the review! @junrushao


map.toDataURL crashes device Samsung Galaxy S4 mini

Nice plugin. Everything works fine except this one thing. Using Cordova. Running in actual device.
I got this code which in the app (Crash message: "[Appname] has stopped"):
map.toDataURL(function(imageData) {
//var image = document.getElementById("mapPic");
//image.src = imageData;
});
Or could there be something in that device version?
I tracked that the line that crashes is in cordova.js file Line 927 (Cordova version 4.2.0)
var messages = nativeApiProvider.get().exec(bridgeSecret, service, action, callbackId, argsJson);

Hi Isodata-JP, could you show me the whole error log? Not only [Appname] has stopped

Any update?

I close this issue at once, because there is no new data.
However you can open again if you have additional data.
I think the issue causes out of memory error.


Add cookie domain

Add a field to set the cookie domain for websites having internal trafic inside their subdomains

Hi @carredastuce
You can already add any configuration thanks to the configuration table:

We want to keep minimal configuration fields to only "required" ones.
Don't hesitate if we miss something!


Does webpack 2 supported?

I want to migrate from gulp to webpack 2. Does twig-loader supports webpack 2 already?
Thank you.

Haven't tried it yet, so no idea...

Same here, here's another error log:
ERROR in ./application/twig/notification_popup.twig
Module not found: Error: Can't resolve 'twig' in './application/twig'
 @ ./application/twig/notification_popup.twig 1:11-26
 @ ./js/modules/common/views/notificationpopup.js

Will do some more digging, hopefully I can get this to work. :)

I made all my path relatives, and it's work better. i don't find a way to define a global lookup path.
I think the "can't resolve twig" is an other issue

Yeah it was a different issue indeed. To solve that I could just add a twig entry to the webpack provideplugin to make it available in the compiled templates:
    // Something along these lines
    new webpack.ProvidePlugin({
      $: 'jquery',
      Backbone: 'backbone',
      _: 'underscore',
     twig: 'twig'
    }),

We managed to upgrade to webpack 3.8 without requiring any changes to twig-loader. Until there's proof of an actual change required to make it work, I will close this issue.


Encrypted interprocess sharing is currently unsupported

We get this exception when trying to secure our Realm db.
In run config we switched to "Release" and unticked "Debug executable".
We are working with RLMRealm.setEncryptionKey(EncryptionHelper.getKey(), forRealmsAtPath: RLMRealm.defaultRealm().path)
Until now I had no change of using an application encrypted. We need to test this as it is key to our product!!!

I know, you guys are awesome and do a great job with Realm!
Please tell me that encryption works in another queue with gcd... This is a total requirement for us

Encrypted realms can only be open in one process at a time, and this will not change even when we officially roll out support for sharing normal realms between processes.
Opening encrypted realms on multiple threads works as normal.

Ok, I know that because of the error message Realm gives me. Then what do I do wrong with setting the encryption key for a realm at a path and then running a importer that imports data from json in the background with dispatch_async.
If I am importing on the main thread (without dispatch_async) I don't get this exception "Encrypted interprocess sharing is currently unsupported"

That exception should only be thrown when opening an encrypted Realm from a different process. Are you sure there are no other processes accessing that file? Perhaps the Realm Browser, or an iOS Extension?

No, nothing. Just running inside simulator or on device CMD-R.

You even don't have gcd tests as far as I can see. So nobody knows, if it works or what best practices are...

There are in fact several multithreaded tests (just search for dispatch_) and with the recent encryption improvements (#1562) it's now possible to run the entire test suite using encrypted realms (see encryptTests()). All the tests pass with this enabled.
Once Realm's multi-process support is officially released (which will be very very soon), we'll elaborate more on best practices.
Now back to the issue you're facing, does it occur consistently or intermittently? Is there any code you could share to help us identify what may be going wrong? An Xcode project highlighting the issue would go a long way to helping us troubleshoot this with you.
Thanks.

Thanks for your straight replies. I finally figured it out. And I can say that it works!
Multiprocess support is what we definitely need! As an extension should act on the same database file even when encrypted.
I'll stay tuned

We're sorry you had difficulty debugging this. We're always after feedback on how to improve our docs so thanks for sharing!
Since learning about your experience, I've drafted an entry to the "Limitations" section of our Objective-C and Swift docs, which is currently pending review.


With .NET Core SDK-based projects, Go to Implementation invokes Find All References (and in a weird way)

Create a new F# Standard Library
Right click on the usage of name to open the context menu and choose 'Go to Implementaiton'

Expected: It goes to the definition of the argv symbol.
Actual:

Isn't this the standard VS behavior if we return more than one definition

On 15.5 Preview 2, it goes to definition on argv with .NET Framework projects.
Although I'd argue that it doesn't really make sense for it to do anything given that we don't implement Go to Implementation in F#.

It seems that this is "fixed" and that Go To Implementation now performs the same function as Go To Declaration. However, this is obviously still not the desired behavior and serves no real purpose. Is there any update to having Go To Implementation work correctly within Visual Studio?


Please add the ability to hide a camera from HomeKit

This is a very needed feature.  thanks.

I added this can you please approve?
https://github.com/colinbendell/homebridge-blink-for-home/pull/80


[observability] Replace zap with log/slog

Is your feature request related to a problem? Please describe.
This is a placeholder issue to replace the current usage (and references) of uber-go/zap with standard library's log/slog package. This allows a standard logging API for any Go application, where different implementations of its slog.Handler interface focus on actually registering the log events in the appropriate backend or target output.

Note: Log levels in log/slog range from Debug to Error, so any Fatal-level log entries should be replaced with Error-level ones, followed by an os.Exit(1), if that is really the desired behavior

Describe the solution you'd like

The generated internal/log package contains new logic to create a log/slog logger instead of a uber-go/zap one.
The generated go.mod file no longer references uber-go/zap
All logger and logging references are replaced with log/slog equivalents

Suggestion:

use log/slog's Attr (slog.String, slog.Bool, etc) functions when passing attributes to log events. This keeps the key-value pairs in the attributes neatly organized, as well as leveraging the package's proposed strongly-typed attributes

Describe alternatives you've considered
N/A - the standard library inclusion means that it should be used as a common (structured) logging API for Go applications. This doesn't mean that consumers of slog are tied to it completely -- its slog.Handler interface allows custom handling of the log events, so that custom behavior is still possible by calling slog.New with a custom slog.Handler.
Search

[X] I did search for other open and closed issues before opening this.

Code of Conduct

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

Additional context
No response

Closing this issue as #311 was also created just a few minutes before :D

You could have also closed mine, this one is way more detailed 😄
The only difference to my proposal is that I proposed to remove internal/log completely, as slog does not need a wrapper.
We could initialize the slog handler / logger directly in the entry point, I guess (just a single line of code).


Unicode characters in JSONPath.read() in Java

I'm using JSONPath for a serious application in Java. It supports Unicode characters when parsing JSONs (e.g. using JSONPath.read()). Is that right?
For instance, I have many characters such as music symbol ♪ and such.

It should work: Try this json on https://jsonpath.herokuapp.com:
{
    "🍓":"🥤"
}

The path $.🍓 returns "🥤"


RPC client incompatibility with Tendermint 0.32 /block_results endpoint

Copying/pasting this from https://github.com/tendermint/kms/issues/286 as reported by @devashishdxt

In https://github.com/tendermint/tendermint/pull/3643, tags were changed to events (event now have an event_type and a list of tags). This change will affect RPC calls such as /block_results (https://github.com/tendermint/kms/blob/master/tendermint-rs/src/abci/responses.rs#L71).

@greg-szabo is this fixed for v0.33? Not sure we'll fix all this stuff for v0.32

ping @greg-szabo ?

Hi, sorry I missed the notifications on this. Yes, this is fixed in 0.33.


fix(kibbeh): removed inline styles from RoomChatList

Removed Inline styles that used position absolute and translate
#2356

those are needed for virtualization, I'm guessing this change would not work when the list fills up and you start scrolling