YARN-11583. Improve Node Link for YARN Federation Web Page.

Description of PR
JIRA: YARN-11583. Improve Node Link for YARN Federation Web Page.
The YARN Router page lacks the Node redirection functionality. In this PR, we will be implementing this feature.

Before the modification

After the modification

How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
49m 43s

trunk passed

+1 :green_heart:
compile
0m 31s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 27s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 27s

trunk passed

+1 :green_heart:
mvnsite
0m 32s

trunk passed

+1 :green_heart:
javadoc
0m 35s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 28s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
0m 58s

trunk passed

+1 :green_heart:
shadedclient
37m 57s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 24s

the patch passed

+1 :green_heart:
compile
0m 24s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 24s

the patch passed

+1 :green_heart:
compile
0m 20s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 20s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 16s

the patch passed

+1 :green_heart:
mvnsite
0m 24s

the patch passed

+1 :green_heart:
javadoc
0m 22s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 20s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
0m 54s

the patch passed

+1 :green_heart:
shadedclient
37m 38s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 26s

hadoop-yarn-server-router in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

138m 45s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6145

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 534e6d41cb2e 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 842f24c653dc584482354f3571e6eca0d6c6f0f1

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/1/testReport/

Max. process+thread count
530 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
47m 48s

trunk passed

+1 :green_heart:
compile
0m 33s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 27s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 27s

trunk passed

+1 :green_heart:
mvnsite
0m 32s

trunk passed

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 30s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  8s

trunk passed

+1 :green_heart:
shadedclient
38m 55s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 23s

the patch passed

+1 :green_heart:
compile
0m 25s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 25s

the patch passed

+1 :green_heart:
compile
0m 21s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 21s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
mvnsite
0m 25s

the patch passed

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  6s

the patch passed

+1 :green_heart:
shadedclient
38m 34s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 28s

hadoop-yarn-server-router in the patch passed.

+1 :green_heart:
asflicense
0m 36s

The patch does not generate ASF License warnings.

139m 29s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6145

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux be9f0ecd83a3 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5ab4fd07e7a377577f942bb774627fcde9920aa5

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/2/testReport/

Max. process+thread count
577 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  8s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
49m  5s

trunk passed

+1 :green_heart:
compile
0m 36s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 30s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 32s

trunk passed

+1 :green_heart:
mvnsite
0m 35s

trunk passed

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 28s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  3s

trunk passed

+1 :green_heart:
shadedclient
39m 43s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 28s

the patch passed

+1 :green_heart:
compile
0m 28s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 28s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 27s

the patch passed

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 22s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
0m 59s

the patch passed

+1 :green_heart:
shadedclient
39m  5s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 27s

hadoop-yarn-server-router in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

142m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6145

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 5f2da2b24e2e 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5ab4fd07e7a377577f942bb774627fcde9920aa5

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/3/testReport/

Max. process+thread count
529 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 13s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
50m  9s

trunk passed

+1 :green_heart:
compile
0m 33s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 29s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 28s

trunk passed

+1 :green_heart:
mvnsite
0m 33s

trunk passed

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 27s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  1s

trunk passed

+1 :green_heart:
shadedclient
40m  7s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 24s

the patch passed

+1 :green_heart:
compile
0m 25s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 25s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 23s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
mvnsite
0m 25s

the patch passed

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 20s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m  1s

the patch passed

+1 :green_heart:
shadedclient
39m 52s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 28s

hadoop-yarn-server-router in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

145m 12s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6145

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 6843ff36aaeb 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 69c8bbfb8e9281aeb77d05868e6fcfc0bc882121

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/4/testReport/

Max. process+thread count
530 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6145/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

@goiri Thank you very much for your help commenting on the code!


CLI task to trigger forecasts with a fixed viewpoint

The CLI command flexmeasures add forecasts still yields rolling viewpoint forecasts (forecasts that share a single belief horizon). We want to create fixed viewpoint forecasts instead (forecasts that share a single belief time).
I'm planning to create flexmeasures add forecast with fields that mimic both flexmeasures add schedule and the API endpoint we want to create for triggering schedules (similar functionality triggered by an API request).

Envisioned steps:

[ ] Add new CLI command in data/cli/data_add.py (hint: use SensorIdField to load relevant sensors)
[ ] Use sensor.search_beliefs() to load regressor data as a timely-beliefs BeliefsDataFrame
[ ] Use data/utils/get_data_source to get or create a DataSource that will be used to identify the origin of the forecasts (e.g. name="sktime", model="NaiveForecaster", version="1")
[ ] Call df.form_beliefs() to create forecasts (at first, just naive sktime forecasts) as a new BeliefsDataFrame
[ ] Use save_to_db() from data/utils.py to save the forecasts
[ ] List the new CLI command in documentation/cli/command.rst

Any available model parameters could be exposed directly as CLI options for now.
Potential follow-up issues:

[ ] Write test in cli/tests/test_data_add.py
[ ] Store (default) model config as sensor attributes
[ ] Switch to OpenSTEF models


Ensure Pointer type is allocator::pointer

This is be clear in the draft and implemented in the ref implementation so this is useable with offset pointer.  For instance, this is needed to use with boost::interprocess allocators

Fixed by #103


'platform_type' option in avh.query fails.

resubmitted as issue in argovis_helpers.

closing here, let's continue the discussion in https://github.com/argovis/argovis_helpers/issues/16


Error overriding library

I tried to follow the instructions for overriding library versions here: https://srid.ca/haskell-template/dependency
However, I am getting the following error:
error: attribute 'callCabal2Nix' missing

       at /nix/store/pf28nmzgqjy7sarx5rlhay83jharcrm0-source/flake.nix:30:34:

           29|           overrides = self: super: with pkgs.haskell.lib; {
           30|             ihp-hsx = dontCheck (self.callCabal2Nix "ihp-hsx" inputs.ihp-hsx {});
             |                                  ^
           31|           };
       Did you mean callCabal2nix?
(use '--show-trace' to show detailed location information)

I am not the library author, so I might be wrong, but I will try my best to help!
This error is luckily just a typo (I've made the same mistake before), if you use
overrides = self: super: with pkgs.haskell.lib; {
    ihp-hsx = dontCheck (self.callCabal2nix "ihp-hsx"  inputs.ihp-hsx {});
};

it should work.
Note that in this case you are overriding the ihp-hsx package with a flake input. If you for instance want to override the pre-existing package in nixpkgs to just disable the tests, then you can use something like
overrides = self: super: with pkgs.haskell.lib; {
    ihp-hsx = dontCheck super.ihp-hsx;
};


[6.0] Add missed case to AssignAddressToDef. (#72617)

Fixes a crash in asserts compiler toolchains.
Fixes #71744
Cherry-picked from a63078f279e76a64ae92f338c1875c3d372c540b
Description: Fixes a missing case to large types reg2mem. Without adding this case asserts compiler will complain and cause the compiler to crash.
Risk: Low. This should merely be a slightly more optimized code that we would have generated without an asserts compiler where we are fallback to a solution that loads and stores back to memory.
Scope: Fixes a compiler crasher in asserts toolchains.
Testing: Regression test added.
rdar://135227988
Issue #71744

This has been subsumed by https://github.com/swiftlang/swift/pull/76457


UniFiOS API now very slow since UDM firmware 1.11

I've been using the UDMsupport branch of this library in my project and it has been working great, up to and including UniFiOS 1.10
However, since upgrading this week to 1.11 the API calls are all taking much longer to return... device list, client list, client detail.
Is anyone else experiencing this?

yes, I'm seeing this too.

I'm trying to figure out what's happening but so far didnt had success. I'm also comparing this library to the one used by home-assistant (https://github.com/Kane610/aiounifi) and it seems that when the device is using the "unifi-os" you need to send the x-csrf-token (https://github.com/Kane610/aiounifi/blob/cb9f72c616706c078b8c84b3e822e2a223636a33/aiounifi/controller.py#L105).
So I added a self.headers variable to unificlient class and added this to the _execute:
        token = resp.headers.get("x-csrf-token")
        if not self.headers.get("x-csrf-token") and token:
            self.headers["x-csrf-token"] = token

but even with that, it still takes 60 seconds to get a reply (which I find very suspicious... is it some sort of timeout?).


Parse Error: Unique global class

Godot version:
3.2rc2
OS/device including version:
Debian 10
Issue description:
I moved goap_action_list.gd in res://Goap/Action_List.gd but I receive this error:
SCRIPT ERROR: GDScript::reload: Parse Error: Unique global class "Action_List" already exists at path: res://Goap/Action_List.gd
   At: res://goap_action_list.gd:2.

res://goap_action_list.gd don't exist
Steps to reproduce:
na
Minimal reproduction project:
na

@git2013vb Please upload a minimal reproduction project to make this easier to troubleshoot.

I had this issue as well and can give more information:
When moving a script that has a class_name defined to a different folder, godot claims that the name already exists (from the previous location) and shows the unique global class error message. Restarting the editor seems to fix it.

I have the same issue, and restarting the editor does not fix it.
The file does not exist at the previous location, but opens in the editor with the error. Copying and pasting the script path shows the old path. Editing and saving the script then creates a duplicate at the old path.
I cannot find where the old path has been cached, and I can no longer work on this project.

I have the same issue and can confirm @m312z.

@m312z Try removing the editor user data directories (see Data paths). Alternatively, you can move your project folder so the per-project cache isn't picked up.

Fixed by #40781.

I solved this problem like this: I edited the old paths in the .tscn files.


java.lang.UnsatisfiedLinkError: no tdjni in java.library.path:

I successfully managed to execute all the commands mentioned in the build instructor generator for JAVA on Apple silicon. When I try to just run the main method in the Example.java class I get the following error:
java.lang.UnsatisfiedLinkError: no tdjni in java.library.path: /Users/username/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2444)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
at java.base/java.lang.System.loadLibrary(System.java:2047)
at org.drinkless.tdlib.Client.(Client.java:18)
at org.drinkless.tdlib.example.Example.main(Example.java:302)
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void org.drinkless.tdlib.Client.nativeClientSetLogMessageHandler(int, org.drinkless.tdlib.Client$LogMessageHandler)'
at org.drinkless.tdlib.Client.nativeClientSetLogMessageHandler(Native Method)
at org.drinkless.tdlib.Client.setLogMessageHandler(Client.java:139)
at org.drinkless.tdlib.example.Example.main(Example.java:302)
There was another issue in the closed issues section that had the same error but I was unable to benefit from it in any way :(

You need to specify java.library.path to JVM, For example, java '-Djava.library.path=.' org/drinkless/tdlib/example/Example.

Where do I do this? I am using IntelliJ as an IDE

https://stackoverflow.com/questions/19308010/how-to-set-the-java-library-path-in-intellij-idea

I included what you have written in the VM Options.
Now I get a new error:
Error: Could not find or load main class java
Caused by: java.lang.ClassNotFoundException: java
But I don't get it. I have included the Example class as a main class in the edit configurations. (refer to attachment below)

???
сб, 18 мар. 2023 г., 21:43 Aliaksei Levin @.***>:

You need to specify java.library.path to JVM, For example, java
'-Djava.library.path=.' org/drinkless/tdlib/example/Example.
—
Reply to this email directly, view it on GitHub
https://github.com/tdlib/td/issues/2358#issuecomment-1474969288, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZCSN4TJKUU2Q4B2C4MEIG3W4YF43ANCNFSM6AAAAAAV67KCHQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Aliaksei, I cloned the project, built it for Mac/Apple silicon following the instruction, then I imported the project to the Intellij and added a VM argument -Djava.library.path=. but I still get:
java.lang.UnsatisfiedLinkError: no tdjni in java.library.path: .
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1989)
at org.drinkless.tdlib.Client.(Client.java:18)
at org.drinkless.tdlib.example.Example.main(Example.java:301)

You need to specify path to tdjni.dylib as java.library.path. If you don't run the example from command-line, then "." is highly likely to be a wrong path.

You need to specify path to tdjni.dylib as java.library.path. If you don't run the example from command-line, then "." is highly likely to be a wrong path.

It works! Thanks!


Disable file system bind by default for kafka and zookeeper

related: #213

what is the justification for this?

@tdanylchuk you mean what is the justification for mounting to target by default instead? ;)

yeah, just out of curiosity, have you faced with some particular issue?

@tdanylchuk some users complain about "embedded-kafka-data already exists" error message. i haven't found the reason for mounting these folders into host machine other then debugging smth. Would you like to investigate "embedded-kafka-data already exists" issue? :)

last module in the build now fails with the check Docker environment should have more than 2GB free disk space. will need to dig into how can we get more space, or free up used

In diffrent build:
2021-03-18T18:29:53.5527551Z 2021-03-18 18:29:52.695  INFO 32758 --- [           main] o.t.DockerClientFactory                  : Connected to docker:
2021-03-18T18:29:53.5528442Z   Server Version: 20.10.5+azure
2021-03-18T18:29:53.5529001Z   API Version: 1.41
2021-03-18T18:29:53.5529954Z   Operating System: Ubuntu 20.04.2 LTS
**2021-03-18T18:29:53.5530687Z   Total Memory: 6954 MB**
2021-03-18T18:29:53.5533217Z 2021-03-18 18:29:52.699  INFO 32758 --- [           main] o.t.u.ImageNameSubstitutor               : Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
2021-03-18T18:29:53.5536232Z 2021-03-18 18:29:53.391  INFO 32758 --- [           main] o.t.DockerClientFactory                  : Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
2021-03-18T18:29:53.5538397Z 2021-03-18 18:29:53.391  INFO 32758 --- [           main] o.t.DockerClientFactory                  : Checking the system...
2021-03-18T18:29:53.5541310Z 2021-03-18 18:29:53.392  INFO 32758 --- [           main] o.t.DockerClientFactory                  : ✔ Docker server version should be at least 1.6.0
2021-03-18T18:29:53.5544210Z 2021-03-18 18:29:53.484 **ERROR 32758 --- [           main] o.t.DockerClientFactory                  : ❌ Docker environment should have more than 2GB free disk space**

2021-03-18T18:29:53.5530687Z   Total Memory: 6954 MB
❌ Docker environment should have more than 2GB free disk space
Hmm..


Script installs armhf supervisor for an armv7l system

This is causing addons not to work as there is now a separate armv7 architecture support in Alpine Linux since 3.9 (released Jan 30, 2019) and therefore for Hass.io.
Addon base image does not support ARMv6 so armhf was dropped in favor of armv7, see issue: https://github.com/hassio-addons/addon-ubuntu-base/issues/11#issuecomment-497934136
This is the relevant part of the script:
case $ARCH in
"arm" | "armv7l" | "armv6l")
if [ -z $MACHINE ]; then
echo "[ERROR] Please set machine for $ARCH"
exit 1
fi
HOMEASSISTANT_DOCKER="$DOCKER_REPO/$MACHINE-homeassistant"
HASSIO_DOCKER="$DOCKER_REPO/armhf-hassio-supervisor"
;;
It should now install armv7-hassio-supervisor (or the like) instead of armhf-hassio-supervisor for armv7l architecture if I'm not mistaken.
Installing armhf breaks addons as they're already dropping support for armhf in favor of armv7.

Should I be able to just edit the script to say "$DOCKER_REPO/armv7-hassio-supervisor" instead of "$DOCKER_REPO/armhf-hassio-supervisor" and I should be ok with the correct arch being installed?


Feature/fixed

#44

Coverage decreased (-0.2%) to 94.985% when pulling cfe87e4877fbba57cdc1b92eecc40a952d868da7 on feature/fixed into 5d1ec1be4a342523b790395c14be70b2e05dba50 on master.

Coverage decreased (-0.2%) to 94.985% when pulling cfe87e4877fbba57cdc1b92eecc40a952d868da7 on feature/fixed into 5d1ec1be4a342523b790395c14be70b2e05dba50 on master.

Coverage decreased (-0.2%) to 95.0% when pulling 0e50a144ffe7387fa2487c3c921467d568dfdcee on feature/fixed into 5d1ec1be4a342523b790395c14be70b2e05dba50 on master.


@conda-forge-admin,please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/plottr-feedstock#7.


The statcheck images in the FAQ have an incorrectly placed comma, at least on my screen

The comma is misplaced in some conditions. In addition, there are a few other issues as well:

[x] Maybe add some more space below the calculator in the statcheck images and/or reduce the space above the statistics
[x] The second image in the FAQ has text going outside of the rectangular bounds
[x] Fix similar issues in other FAQ images
[x]   Maybe make all rectangles in the FAQ image slightly rounded

This does work on my computer (windows; google chrome & Rstudio viewer). The images are svg files now, maybe the vectorization works differently on different OS or browsers

If you want to use an .svg, it might be better to use the svg HTML tag, not an img with an .svg as its source.

solved: edited images & saved as png instead of svg


[docs] shouldn't Skeleton's doc adopt same ARIA guidelines as Circular Progress ?

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
First of all, I don't know many things about ARIA best practices, so please forgive me if this issue isn't relevant.
I've read following ARIA suggestion in Circular Progress API :
If the progress bar is describing the loading progress of a particular region of a page, you should use aria-describedby to point to the progress bar, and set the aria-busy attribute to true on that region until it has finished loading.

Typically, it looks like the same use case as when one uses Skeletons before displaying desired content.
So, for sake of consistency, shouldn't we add same guideline for Skeleton API doc ?
Thank you for your consideration
Examples 🌈

In depth reflexion can be found here : https://adrianroselli.com/2020/11/more-accessible-skeletons.html
Motivation 🔦

Consistency in documentation to increase accessibility best practices in people's app.

Thanks for opening the issue. We currently display nothing https://next.material-ui.com/components/skeleton/#aria however, it does sound like there is work to do.

I have linked this issue to https://github.com/mui-org/material-ui/issues/20600#issuecomment-615911641, where we track the progress on the a11y of the docs.
Vuetify talks about a similar problem: https://github.com/vuetifyjs/vuetify/issues/10999#issuecomment-736154001
We can describe the aria-busy trick for the region that is loading.


[question] Missing entities on switch

Hi.
It is suggested here https://community.home-assistant.io/t/logic-group-zdb5100-matrix-switch/144295/79 that I should modify some discovery package to get missing LED entities on my wall switch.
    "payload_off": false,
    "payload_on": true,
    "value_template": "{{ value_json.value }}",

I am not using mqtt for discovery. How do I accomplish this?
Thanks.

@scaarup How do you discover your devices? with the server?

@scaarup How do you discover your devices? with the server?

Yeah I am using ws and the zwavejs integration (default discovery). I found out, that I could create my missing light entities manually as mqtt lights - but I really think they should be discovered in stead.

If you are using the zwave js integration there is nothing I can do here to help. You should instead open this bug on hass repo


Create automated process for installing certs into iOS Simulators

Charles proxy has an automated way of doing this that works pretty well. I'm not sure how they do it but it would be nice to have for mastermind.

Could you show me how it works?

@arnau this is the bash script Charles proxy uses, it would nice if mastermind also supported it.
#/bin/bash
#
# Installs the Charles Root certificate into the iOS Simulators for the current user.

SHA1=$1
SUBJ=$2
TSET=$3
DATA=$4

install() {
if [ -f "$SQLITEDBPATH" ]; then
cp -n "$SQLITEDBPATH" "$SQLITEDBPATH.charlesbackup"
sqlite3 "$SQLITEDBPATH" <<EOF
INSERT INTO "tsettings" VALUES(X'$SHA1',X'$SUBJ',X'$TSET',X'$DATA');
EOF
fi
}

for SQLITEDBPATH in ~/Library/Application\ Support/iPhone\ Simulator/3.*/Library/Keychains/TrustStore.sqlite3
do install
done

for SQLITEDBPATH in ~/Library/Application\ Support/iPhone\ Simulator/4.*/Library/Keychains/TrustStore.sqlite3
do install
done

for SQLITEDBPATH in ~/Library/Developer/CoreSimulator/Devices/*/data/Library/Keychains/TrustStore.sqlite3
do install
done

SQLITEDBPATH=~/Library/Application\ Support/iPhone\ Simulator/User/Library/Keychains/TrustStore.sqlite3
install

echo "The Charles Root Certificate has been installed for the iPhone Simulator"

@Ashraf-Ali-aa Awesome! Thanks for sharing this!

@Ashraf-Ali-aa I'll plan it for the next release, thanks for sharing!

I think the next question for this would be the interface. What would be command used to install. I'm guessing a subcommand of mastermind might make since. sudo mastermind install-certs-ios-sim though that seems a bit wordy.

well yes, something like that.  Given it is a one-time command it shouldn't be an issue that involves a bit of typing. Maybe something like:
mastermind install-certs --ios

How about:
mastermind install-certs --ios-sim

because you don't want to imply you're installing on the device.

Ah, sure

@arnau Any updates on this feature?

@pr4bh4sh hi, sadly no. I can't work on this project right now.


Ability to show active connection

Hello, thanks for a great plugin. I have a lot of similar databases and it would be great to know to which db I'm connected to. It could be some lua function that can be used for status plugin.

Hello,
When you switch connections, an event is emitted and you can get the name of the chosen connection (and then display it in your statusline). This feature is currently undocumented, so here's an example:
local status = {}

require('sqls.events').add_subscriber('connection_choice', function(event)
    status.connection = event.choice
end)

Thanks for advice. I've tried this by printing to command line.
And somehow there are a lot of this events dispatching on every connection and every new connection switch somehow produces even more strings.
local function db_connection()
    require("sqls.events").add_subscriber("connection_choice", function(event)
        -- vim.api.nvim_set_var("db_connection", event.choice or "")
        print(event.choice)
    end)

    -- return vim.api.nvim_get_var("db_connection")
end

This code resulted to

I guess there should be only event per successful connection.

Are you using the db_connection() function in your statusline? It looks like you're attaching the same function to the event multiple times. Try subscribing to the event only once outside of the function:
local db_connection_value = ''

require("sqls.events").add_subscriber("connection_choice", function(event)
    db_connection_value = event.choice
end)

local function db_connection()
    return db_connection_value
end

I was able to get this to work but only when SqlsSwitchConnection is called with no arguments. make_choice_handler looks like it is responsible for calling _dispatch_event which is bypassed when switching the connection without a prompt.

@ryanburda That's an oversight on my part. Hopefully #21 fixes it


See if spell checking can be disabled in pdfjs

Set spellcheck="false" as an attribute in the textarea element of each editable field.

Implemented in 0.38.0


Cover Missing

Hi, first of all thanks for this new re-do of the project, looks amazing!
Small bug I encountered, when I try to add my Shelly's cover they are not discovered by the bridge, no matter how I try to include them.
Not sure why that is.

Figured that I had "hide member" in group permission, my bad :) Thanks again for great work!


Wpan service error: 13 - OpenThread daemon is not running

Describe the bug:
I already posted an issue here. But I made a few changes and the Error messages I get changed.
I am starting up the openthread/otbr:latest docker container after plugging in the PitayaGo flashed with the latest fw and I see the following error messages:
Firewall
At first I had an firewall error - forgot to run:
sudo modprobe ip_tables
sudo modprobe ip6table_filter

But now it is working:
ip6tables --help
ip6tables v1.8.2
...

And the error message I get changed:
+ service otbr-firewall start
+ case "$1" in
+ firewall_start
+ firewall_stop
+ ip6tables -C FORWARD -o wpan0 -j OTBR_FORWARD_INGRESS
ip6tables v1.6.1: Couldn't load target `OTBR_FORWARD_INGRESS':No such file or directory

Try `ip6tables -h' or 'ip6tables --help' for more information.
+ ip6tables -L OTBR_FORWARD_INGRESS
ip6tables: No chain/target/match by that name.
+ ipset_destroy_if_exist otbr-ingress-deny-src
+ ipset list otbr-ingress-deny-src
ipset v6.34: Kernel support protocol versions 6-7 while userspace supports protocol versions 6-6
The set with the given name does not exist
+ ipset_destroy_if_exist otbr-ingress-deny-src-swap
+ ipset list otbr-ingress-deny-src-swap
ipset v6.34: Kernel support protocol versions 6-7 while userspace supports protocol versions 6-6
The set with the given name does not exist
+ ipset_destroy_if_exist otbr-ingress-allow-dst
+ ipset list otbr-ingress-allow-dst
ipset v6.34: Kernel support protocol versions 6-7 while userspace supports protocol versions 6-6
The set with the given name does not exist
+ ipset_destroy_if_exist otbr-ingress-allow-dst-swap
+ ipset list otbr-ingress-allow-dst-swap
ipset v6.34: Kernel support protocol versions 6-7 while userspace supports protocol versions 6-6
The set with the given name does not exist

Radio file
Below I see the following:
[NOTE]-AGENT---: Backbone interface: eth0
[NOTE]-AGENT---: Running 0.3.0-a8ba300
[NOTE]-AGENT---: Thread version: 1.3.0
[NOTE]-AGENT---: Thread interface: wpan0
[NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
[NOTE]-ILS-----: Infra link selected: eth0
[INFO]-NCP-----: OpenThread log level changed to 5
49d.18:29:36.882 [C] Platform------: Radio file '/dev/ttyACM0' not supported
49d.18:29:36.883 [C] Platform------: Radio file '/dev/ttyACM0' not supported
49d.18:29:36.883 [C] Platform------: Init() at radio.cpp:116: InvalidArgument
49d.18:29:36.883 [C] Platform------: Radio file '/dev/ttyACM0' not supported

It is not labelled as an error - is this normal?
Web Frontend
When I open the web front and try to form a network I see:
[INFO]-WEB-----: Border router web started on wpan0
[ERR ]-WEB-----: OpenThread daemon is not running.
[ 5215.537512] Voltage normalised (0x00000000)
[ERR ]-WEB-----: OpenThread daemon is not running.
[ERR ]-WEB-----: Wpan service error: 13

As described in the other issue - inside the docker container I only see the web service but not the agent running.
To Reproduce:

I am now using a RasPi 3B+ with a fresh and fully updated RaspiOS Buster
I was getting under-voltage and attached an external power supply. It is stable now.
The Pitaya Go was prepared according to Maker Diary

And I am starting the Container with:
docker run --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" -p 8888:80 --dns=<IP_ADDRESS> -it --volume /dev/ttyACM0:/dev/ttyACM0 --privileged openthread/otbr:latest --radio-url spinel+hdlc+uart:///dev/ttyACM0

Expected behavior
The agent process should be running, allowing me to form a network through the UI.
Console/log output
Complete Log

I have the same issue. Unusable. Using Raspberry Pi OS on a Pi 4.

Sorry I didn't notice this issue previously.
Regarding this issue, the root cause is your RCP device wasn't found at /dev/ttyACM0.
49d.18:29:36.882 [C] Platform------: Radio file '/dev/ttyACM0' not supported

You mentioned you're using the PitayaGo as the RCP. Not sure if you were following the guide of https://wiki.makerdiary.com/pitaya-go/openthread/openthread-border-router/#flash-the-ncp-firmware. If so, please note that this guide is not maintained by the OpenThread community so it may be outdated or not working any more.
I saw the files in https://github.com/makerdiary/pitaya-go/tree/master/firmware/openthread/ncp hasn't been updated for 5 years. It's normal that the firmware is not compatible with the latest host-side code of OTBR.

Closing stale issue.


Support drawing reactions from C++

There are a couple of other cleanups in here too:

"O" is no longer drawn as "OH2"
I added a bunch of documentation

@NadineSchneider : your feedback on this would also be very welcome

Nice.  I'll run a bunch of reactions this week and see how they look.

I think the new drawing of reactions looks really nice. I tested a few different reactions and it works well. The only minor thing I would change before pulling it into the master is having a separate function for the coloring/highlighting instead of defining a vector in the main drawing function. It would also be nice allowing the users to pass their own highlighting colors.

Thanks for that feedback @NadineSchneider. Any suggestions for what the API would be (remembering that it should be at least somewhat consistent with what's already there for drawing molecules)?

One of the things I would like to support is a callback that gets the coloring off of molecule properties.  With the new property serialization this would allow coloring to be saved for future visualization which is kind of hard for us now.

Brian Kelley

On Jun 9, 2017, at 7:14 AM, Greg Landrum<EMAIL_ADDRESS>wrote:
Thanks for that feedback @NadineSchneider. Any suggestions for what the API would be (remembering that it should be at least somewhat consistent with what's already there for drawing molecules)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

That's pretty easy to do with a wrapper function now, but I agree that it would be useful.
Still, that's a different feature, right?

I would consider the capability to be an API request ( I.e. Not an input vector ) and perhaps be a default capability, I.e. If the props exist they are used automatically.

Brian Kelley

On Jun 9, 2017, at 8:52 AM, Greg Landrum<EMAIL_ADDRESS>wrote:
That's pretty easy to do with a wrapper function now, but I agree that it would be useful.
Still, that's a different feature, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

but the property name to be used needs to be a parameter, right?

I would make a standard parameter set.
this would make a property API one can attach to atoms/bonds/mols for highlighting.  Kind of like the sss notation in ipython, but more capable.
This way one could run a function on a molecule and send the mol to the renderer.

Brian Kelley

On Jun 9, 2017, at 9:50 AM, Greg Landrum<EMAIL_ADDRESS>wrote:
but the property name to be used needs to be a parameter, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I think I see what you mean, and would be ok with having some kind of default name, but it should be changeable (maybe that's another DrawOptions thing).
Also, it's certainly not part of this PR.

Agreed, I was trying to say that the proposed api should eventually enable this ( I.e. We could use it to write a default functor with this behavior )

Brian Kelley

On Jun 9, 2017, at 9:57 AM, Greg Landrum<EMAIL_ADDRESS>wrote:
I think I see what you mean, and would be ok with having some kind of default name, but it should be changeable (maybe that's another DrawOptions thing).
Also, it's certainly not part of this PR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

We might be to aggressive with kekulization, here is an example from Nadine's pharma patents:
rxn = AllChem.ReactionFromSmarts("Cl[S:2]([CH3:1])(=[O:3])=[O:4].[OH:5][c:6]1[cH:7][n:8][cH:9][c:10](-[c:11]2[cH:12][c:13]([O:14][CH2:15][c:16]3[cH:17][cH:18][cH:19][cH:20][n:21]3)[n:22][c:23]3[c:24]2[CH2:25][CH2:26][CH2:27]3)[cH:28]1>>[CH3:1][S:2](=[O:3])(=[O:4])[O:5][c:6]1[cH:7][n:8][cH:9][c:10](-[c:11]2[cH:12][c:13]([O:14][CH2:15][c:16]3[cH:17][cH:18][cH:19][cH:20][n:21]3)[n:22][c:23]3[c:24]2[CH2:25][CH2:26][CH2:27]3)[cH:28]1")
d = Draw.MolDraw2DSVG(900, 300)
d.DrawReaction(rxn)
d.FinishDrawing()

result
RDKit ERROR: [18:02:21] Can't kekulize mol.  Unkekulized atoms: 1 2 3 4 5 23
RDKit ERROR:
RDKit ERROR: [18:02:21] Can't kekulize mol.  Unkekulized atoms: 1 2 3 4 5 23
RDKit ERROR:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-17-a354a9b7cc0d> in <module>()
      1 d = Draw.MolDraw2DSVG(900, 300)
----> 2 d.DrawReaction(rxn)
      3 d.FinishDrawing()

Also, it doesn't appear that the reaction depictor in Draw.IPythonConsole has been updated.

There's also something screwy here, it looks like the MolSanitizeException should be caught when creating the coordinates but isn't from python....  perhaps the python registered exception handler is doing something odd?

The commit I just added should clear up the kekulization problems.
Note that there's a general todo here about doing a better job of rendering query bonds (particular standard ones like "single or aromatic" or "single or double"), but that's a separate issue.

I'd suggest doing the IPythonConsole fixes in a separate PR

I'm pretty happy.   One comment is that we should probably suppress kekulization warnings.  On Nadine's patent data set there are a lot of them.
I've added IPythonConsole support locally, would you like me to do a PR against this branch?

Being able to suppress kekulization warnings (or sanitization warnings in general) is a good idea. Let's add that as an optional feature in a separate PR.

I'd rather do the jupyter integration in a separate PR.

@greglandrum Nice!


Add user option to sort interface names RELENG_2_3_4

Backport of #3685 to RELENG_2_3_4
Signed-off-by: Phil Davis<EMAIL_ADDRESS>

Lets keep it only for 2.3.5 and 2.4.0 since this is a maintenance branch.


fix(transformer): deserialize ReactJsxRuntime with camelCase

#2972  👈
main

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

Join @Boshen and the rest of your teammates on  Graphite


[BUG] kumi::cat does not retain cv-ref qualifiers

Describe the bug
kumi::cat's resulting tuple type contains elements which have their cv-ref qualifiers removed. This differs from the STL where cv-ref qualifiers are preserved
To Reproduce
See the following godbolt example. Example contains comparison with the STL behavior.
Expected behavior
The elements of the resulting tuple from kumi::cat should match that of std::tuple_cat
Additional context
In my implementation, I compute the resulting tuple type in a similar way to fetching the elements themselves, except using nesting std::tuple_element_t instead of std::get. Should be relatively straight forward as you can reuse the same pre-computed indices.

Look fixed https://godbolt.org/z/GMshc3seP

Looks good on my end


fix(jest-worker): make JestWorkerFarm helper type to include methods that take more than one argument

Summary
Apparently JestWorkerFarm helper type does not include methods of worker module that take more than one argument. Spread operator was missed in FunctionLike type. Fixed that.
Test plan
Type tests are added.

@mrazauskas hmm, noticed this in the TS run:

https://github.com/facebook/jest/runs/6419323541?check_suite_focus=true#step:7:7
Any idea?

Both, I think? Reporter should probably warn on empty, not ignore (i.e. filter)


Remove seed-isort-config from pre-commit hooks.

Title sums it up.

The title doesn't explain why you removed seed-isort-config.

It indeed doesn't, my bad haha. #151 does instead. I opened the issue first, and then the pr; hence my confusion.


Get identity from certificate when using mTLS

Signed-off-by: Nicol Draghici<EMAIL_ADDRESS>
What type of PR is this?
bug

Which issue does this PR fix:
resolves: #614
What does this PR do / Why do we need it:
Username unknown in case of certificates authentication. This PR solves the issue
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Would refer to "username" as "identity". Change the language like so.
https://codeburst.io/mutual-tls-authentication-mtls-de-mystified-11fa2a52e9cf
^ for some context.

Would refer to "username" as "identity". Change the language like so.
https://codeburst.io/mutual-tls-authentication-mtls-de-mystified-11fa2a52e9cf ^ for some context.

but in our case username is the subject in authorization, I don't understand, what do you want to change?

The code is getting hard to grasp, there are lots of ifs, how do we want to treat this?
I would say username:password from basic auth should have bigger priority than mtls.
A) basic auth enabled and tls CACert

if username:password given then use that. (even if there are verified certs)
if no username:password given then try to get username(identity) from certificates.
if no username:password nor identity from certs then it's anonymous.
if bad username:password but verified certs the authFail().

B) basic auth disabled and tls CACert

get username(identity) from certificates.

@nicoldr lgtm, but can you pls resolve comments so that we haven't missed anything.

@nicoldr lgtm, but can you pls resolve comments so that we haven't missed anything.

All conversations are resolved and PR has all checks now


Multi-paragraph text should have paragraph breaks

currently these are all in one <para> tag. they have line breaks, but of course, these get eaten up in processing.

Correction:

Abstract has no para tags at all
methods has all text in one para.

treat them all the same.

For now, we're assuming the metadata editor is handling files it created. I.e., it doesn't expect to see a mix of sections and paras, just paras. Given that assumption, it's fixed.


Add the utility to automatically build DIRECTORY.md

This can help keeping the DIRECTORY.md up-to-date.
If accepted, CONTRIBUTION.md needs to mention this utility and note we expect the first line of each file to have only the algorithm's title.
Usage:
nim r directory.nim > DIRECTORY.md
I wanted to make it work at CT, but it's too much work for no benefit, you need the compiler anyway. This could be a bash script, but it's logical the one working on this repo has the compiler.
Implementation details are in the source.
Currently it's pretty dumb and supports only one-level deep directory. No args, no frills.
Current output:

# The Algorithms — Nim: Directory

## Strings
  * [Check Anagram](strings/check_anagram.nim)

Edit: On inferring the canonical algorithm name
My reasoning for it trying to extract the title from the source and not just the file name is that for some algorithms the Title Case is not correct. Some examples from the Python directory:

Count 1S Brian Kernighan Method
A1Z26
Vector3 For 2D Rendering
Transformations 2D
3N Plus 1
Points Are Collinear 3D
Cramers Rule 2X2

Another examples are "Aho-Corasick" (for which the canonical name strangely omits the dash) or "A-Simple-GAN".
An alternative approach would be a hardcoded dictionary. Not really sure how the site decides how to lump the solutions together, but they have the list of aliases.

I wanted to make it work at CT, but it's too much work for no benefit

I neither see why it would be interesting to make it work at CT. I also strongly disapprove of the use of a bash script since people here are probably more familiar with Nim. It will be easier to update.

[The program] supports only one-level deep directory.

We may safely assume the file names are named following the snake_case convention. We will probably put files under sub-directories but we may update the script when the need appears in a subsequent PR.
The script assumes our files will have a title as a header under a comment.
I do not want to enforce this rule a priori. It feels redundant with the file's name. I prefer stripping the file's title, writing it in Camel Case and replacing the underscores with a space.
You probably want to center this file header (instead of the Markdown's limited h1 style) using :

The Algorithms - Nim: Directory Hierarchy

"Directory" being a filename convention, we may use a title more explicit like Directory Hierarchy.

[The program] supports only one-level deep directory.

We may safely assume the file names are named following the snake_case convention. We will probably put files under sub-directories but we may update the script when the need appears in a subsequent PR.

This was my thinking exactly.

The script assumes our files will have a title as a header under a comment. I do not want to enforce this rule a priori. It feels redundant with the file's name. I prefer stripping the file's title, writing it in Camel Case and replacing the underscores with a space.

This is just a suggestion. Let's see if anyone else has an opinion on this and we can remove this then or not.

You probably want to center this file header (instead of the Markdown's limited h1 style) using :

The Algorithms - Nim: Directory Hierarchy

TBH, I'd prefer using the basic markdown as much as possible (with the exception of the root Readmes, which usually ask for some eye-candy).

The script assumes our files will have a title as a header under a comment. I do not want to enforce this rule a priori. It feels redundant with the file's name. I prefer stripping the file's title, writing it in Camel Case and replacing the underscores with a space.
This is just a suggestion. Let's see if anyone else has an opinion on this and we can remove this then or not.

I think the script assumes that, if the first line is a documentation comment, then it should be used as a title, which seems a reasonable requirement. There is still the fallback mechanism of using filename.
Personally slightly in favor of keeping as is, but I would not object to a change.

If the filename is used as a fallback, that is fine by me.

I suggest we keep this for manual use until we get the proper workflow going when we can run the script automatically. I wouldn't mind if this repo's workflow used this version instead, of course. Is it NiH syndrom or dogfeeding?
Having a script right near the .md file increases visibility and that's always good. But that's not for me to decide.

I suggest we keep this for manual use until we get the proper workflow going when we can run the script automatically.

There is a problem that only occurs when running it manually.
If our repository contains incomplete code sources for other algorithms, the DIRECTORY.md will list them even though they are not part of the Pull Request. It requires thus an extra care from us, before merging the source code.

Well, there's an assumption the work is done in branches and the tool runs just before a final commit, so git diff should bring up any issues.

Would you like to work on another PR to automatically build the DIRECTORY.md file with a GitHub Actions workflow? slightly_smiling_face

I think for now the repo will do alright with filling it semi-manually. If the rate of PRs increases we'll see how people treat the DIRECTORY.md and if automated commits can create even more confusion.


highlighting and scroll the row in the table that corresponds to the pop-up you’re viewing

Got this following feedback from Mike Dagle during peer review meeting.

[ ] 1. In the scenario below when more than one row is selected in the table, you’re able to toggle through the corresponding pop-ups. When viewing a particular pop-up I thought it would be helpful to also understand which row corresponds. The suggestion is a second highlight color (or some other visual cue) that shows me which row corresponds to the pop-up I’m viewing.

[ ] 2. Chris also wondered if the table should scroll the record viewed in the pop up as you scroll

...a second highlight color (or some other visual cue) that shows me which row corresponds to the pop-up I’m viewing.

Would need John's input, but I think that may be additional custom coding on top of the table. Might be a challenge to preserve this functionality when the Table widget switches to Calcite and if we decide to also swap ours to use Calcite at that time.

Chris also wondered if the table should scroll the record viewed in the pop up as you scroll

We should discuss this one more before we implement it, I think it could have unexpected impacts on UX depending on the user's workflow. Also if the records are not close together in the table, the scroll could be jumping around a lot.
For both items 1 & 2 I feel we should wait on more usability feedback from users.

@azizaparveen @avezina  My bad already added an optional prop to turn this on/off before I saw Alixs comments. Will update the demo app later today so you can look. As mentioned the additional highlight would need to be something custom as I don't see anything like this with FeatureTable.
In regards to the scroll to index this is something the table supports. Again you all can take a look and see what you think.
Also set it to zoom to the selected feature as you scroll through.

To see this you will need to add a url param. Like so:
http://dev0009449.esri.com/solutions-components/solutions-components/demos/crowdsource-manager.html?zoomAndScrollToSelected=true

@jmhauck I am noticing that when clicking on a feature on the map the table does not scroll to that record. I used the IA map and selected a road from DOT roads, also see this same behavior in PN map - Tax Parcel Owners layer. it does not scroll to that record in table.

but in CS TIL map, it does, is there any reason why it would work for one and not work in another layer?

@azizaparveen @jmhauck Another thought - instead of scrolling to the record, perhaps we could have an option for "Show only selected" ?

Oh sorry, we already have that option. I think this would cover the use case well enough without use having to handle all the weird behavior we are seeing?

@avezina I like the scroll and zoom function, pop-up (in the info panel) can be different and convey different information than the data itself, so seeing the pop-up and seeing the same data highlighted and scrolled will be helpful for the users. The initial behavior when selecting from table is bit strange but it does not bother me as much. On the positive side, this function will be very helpful when selecting from map and the record is not visible in the table.

@azizaparveen @avezina let me see if it can be fine tuned at all....basically just occurring whenever the selected index changes on the Features widget so not sure if we can tell if that change comes from interaction with Features next/back buttons vs selection from map or table.

@azizaparveen scrolling to the record within the table does not work well when you have more than just a few features. This is something that we would need to bring up with JS api team. In order to support this we first call getObjectIdIndex on the tables view model. In this and many other cases it returns -1. Even if I scroll all the way down to where this feature is in the table so I can see the checked box after I select the road within the map the index that is returned is not correct.

@jmhauck @azizaparveen I think we can bring up any issues we find in the JS SDK featureTable to Jonathan Uihlein; he is the developer. If you have not shared our implementation of the table in Manager yet, it might be an opportunity to share it with him - I'm sure he'll be interested. Feel free to CC me on the email.

Adding Jonathan's comment on the issue of incorrect index being returned when using getObjectIdIndex and scrolling not working when we are showing only selected results.
"For 1) I believe the row has to be loaded into local memory to be able to be scrolled to. The table fetches pages of 50 features at a time so if the page hasn’t loaded, we don’t know the feature’s index. This is unlike selection, which is driven by objectId, so it can be virtualized and applied to rows as they load. The store is generally unable to determine what “index” a feature has in the context of the greater dataset, nor the page a particular feature would be on by itself. We would really need some sort of layer query (since it also depends on the sort order) to determine the page/index. Currently, we use pagination to support very large datasets (we don’t want to load 200k features into memory at once) and this was a carry-over from the 3x JSAPI FeatureTable. I think the default value of 50 features per page can be overridden (up to 2000 which is usually the layer/service limit) but there may be performance implications depending on the number of columns/fields.
For 2), this might be a bug, scrolling should work even if only showing a “subset” of features; I can follow up on this, maybe the index is returning incorrect. "

Follow up with Jonathan about this and url parameter.

Creating 2 issues from this issue.

Tracking the first issue here: https://github.com/Esri/solutions-components/issues/580
Tracking the 2nd issue here: https://github.com/Esri/solutions-components/issues/582

In this issue we tried to implement the second enhancement request which is scroll to the record that is being viewed in the pop-up in table. When implementing this, multiple issues were found and communication got confusing,  Right now we have only one issue we are trying to resolve for the scrolling enhancement is scroll to a specific index in the table when only showing subset of features.


Roll back to angular beta 0

Can you roll back to beta 0 until this is fixed?
https://github.com/angular/angular/issues/6489
https://github.com/angular/angular/issues/6404
I have these exceptions in my application and if I set angular version to beta 0 it complains about hot-loader<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

In order to fix it just use<EMAIL_ADDRESS>

beta.2 has been released yesterday :)

Yes, I'll upgrade today.


Customize alias or qualify column references in DirectQuery SQL?

Is it possible to somehow customize the generated SQL, more specifically the Aliases, e.g. via ASTVisitor?
PowerBI currently generates:
select
    sum(C1) as C1,
    count(C1) as C2
from
(
    select value as C1
    from system.asynchronous_metric_log
) as ITBL;

ClickHouse OLAP DBMS (very fast and very suited to DirectQuery because of this) allows for referencing aliases within the select clause, due to which I am getting naming errors (C1 is defined in outer and inner select):
DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1 (version <IP_ADDRESS> (official build))
If I could either make the outer query use a qualified column name, or somehow manipulate the aliases being generated, I could make ClickHouse work in DirectQuery mode.

No, this is not supported. I don't think this behavior is even legal SQL-92, and ODBC drivers are in principle supposed to support SQL-92.

No, this is not supported. I don't think this behavior is even legal SQL-92, and ODBC drivers are in principle supposed to support SQL-92.

DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1 (version <IP_ADDRESS> (official build))

Starting from 21.4 there is a setting named prefer_column_name_to_alias which can fix that behavior.
But another issue occur.
https://github.com/ClickHouse/ClickHouse/issues/26674


Native Animated - Support decay on iOS

This is one of the last feature that is missing from native animated, it was already supported on Android and this implementation is based on it.
Test plan
Test that the existing decay animation example now works on iOS
Run unit tests

cc @javache


Bug 1779694: fix the externalIP scope escalation

The externalIP admission actually uses the externalips subresource
so the current escalating rules cleanup would ignore that.

/retitle Bug 1779694: fix the externalIP scope escalation

Makes sense to me. @anbhat, please confirm.

/lgtm

/approve

/cherry-pick release-4.3


 Now I want to access those anchor and control points to change that shape dynamically... In this case when the user scrolls the screen.
The values of anchors change but the shape stays still....
--- debugging ---
OK, while I was writing I realized I didn't apply a fill do the shape. So I just added a fill at the end of the onscroll function and everything worked :)
So this is the working code:
window.onscroll = function() {
  if (typeof myPath != "undefined") { // workaround for this error when trying to access the object... don't know if there's an elegant way to do this...
    for (var i = 1; i < myPath.state.anchors.length; i++) { // 0 é "move"
      if (typeof myPath.state.anchors[i].vec2 != "undefined") { // same thing
        var v = new Rune.Vector(Rune.random(-50,50),Rune.random(-50,50));
        myPath.state.anchors[i].vec2.x += v.x;
        myPath.state.anchors[i].vec2.y += v.y;
      }
    }
  myPath.fill(255);
  }
};

But I'm still in doubt... Why is it necessary to have a fill? Don't know if this is a bug or I'm the one doing something wrong...

Hi @SandroMiccoli. Thanks for the input!
The reason why the shape is not updating is because you're reaching into the internal state, but the object will not know that the state changed before you call the changed() function on the shape. So your code could look something like this:
window.onscroll = function() {
  if (myPath) {
    for (var i = 1; i < myPath.state.anchors.length; i++) { // 0 é "move"
      if (myPath.state.anchors[i].vec2) {
        var v = new Rune.Vector(Rune.random(-50,50),Rune.random(-50,50));
        myPath.state.anchors[i].vec2.x += v.x;
        myPath.state.anchors[i].vec2.y += v.y;
      }
    }
   myPath.changed();
  }
};

The reason why the .fill() function worked is that any of the shape functions will internally call changed().
Hope this helps.

Oh, great! Now it makes sense.
Thanks for the quick reply @runemadsen ;)


Bug add user

When someone is added to the ticket and the ticket is closed, the person is not removed from the ticket

Hello, this is not a bug but rather how the feature is meant to work. The closeRemoveUser config option only applies to the ticket creator currently and otherwise if you add someone to a ticket and close it, their permissions to send messages are correctly modified.
I may look into adding another option that would also remove other added users upon ticket closure but then it would be a feature request and not a bug.


Fixed delta reference calculation to work when their are null values for a dimension

fixed the subtraction of reference values to work around an issue with pandas where nans in the index lead to duplication

Coverage increased (+0.06%) to 90.388% when pulling b25a64dae7c71ac7ff9ce56a172bb169d38fec38 on fix_delta_reference_with_null_dimension_val into d68965b53d5a54b28e06de59ef59faa2b86aa4a2 on master.


OGD data collection

The number of OGD portals has changed compared with the statistic result in 2017, should I update the searh term list first, or use the same term lists? @nniiicc

Hi - How have the numbers of portals changed? I'm not sure sure which list you are referring to...

I responded to your email - Please go with updated list for new data collection.


Is posible get location for a element?

Good Morning...
I need you help please!!! I try to automated a seek bar using flutter appium driver but I can't have success.
My first idea was get location for element, after try to use TouchAction with the coordinates
element = FlutterElement(self.driver, key_finder)
element.location
element.location raise the exception "Message: Method has not yet been implemented"
Get location is posible in flutter appium driver?
I also try to send keys for element but not working. I use python

Afaik, flutter context only supports commands listed in https://github.com/appium-userland/appium-flutter-driver#commands. So you cannot do other commands in FLUTTER contexts.
It seems https://api.flutter.dev/flutter/flutter_driver/flutter_driver-library.html does not provide any apis to get an element coordinate. I guess flutter_driver by Flutter team does not have such APIs. (then, this driver cannot do anything)
In NATIVE_APP context like https://github.com/appium-userland/appium-flutter-driver#desired-capabilities-for-flutter-driver-only , you can call appium apis. Then, you can interact with elements that are available via OS's accessibility feature.

As the above comment, probably it is not available in Flutter context. Possibly NATIVE context in this driver is available. (Then, the element should be available via OS's accessibility feature.)

@alexis9205110  did you try any of the below methods?

driver.execute('flutter:getBottomLeft', buttonFinder)
driver.execute('flutter:getBottomRight', buttonFinder)
driver.execute('flutter:getCenter', buttonFinder)
driver.execute('flutter:getTopLeft', buttonFinder)
driver.execute('flutter:getTopRight', buttonFinder)


Decide on what numeric library to use

Candidates are:

Breeze
Apache Commons Math

Good overview on numerical libs for Scala and Java:
http://statr.me/2015/09/an-overview-of-linear-algebra-libraries-in-scala-java/
Breeze seems like the best. Given that

It is elegant Scala
has machine learning code
is used widely e.g. by Spark

Start with Breeze.


Helm task using old client version on new Hosted Ubuntu 1604 pool

Environment

Server - Azure Pipelines or TFS on-premises?
Cloud version. Azure DevOps. Azure Pipelines

Agent - Hosted or Private:
Hosted: Hosted Ubuntu 1604 pool

Issue Description
After upgrade to Hosted Ubuntu 1604 pool from Hosted Linux Preview pool  (which claimed to be deprecated), our helm deploy fails with error about old Helm client version installed on Hosted agent.
Version on agent is v2.10.0-rc.3. Which seams to be not even stable release (it is just release candidate).
While "deprecated" Hosted Linux Preview pool is already using last stable version of Helm client: v2.11.0
Task logs

Task         : Package and deploy Helm charts
Description  : Deploy, configure, update your Kubernetes cluster in Azure Container Service by running helm commands.
Version      : 0.138.6
##[error]Error: UPGRADE FAILED: incompatible versions client[v2.10.0-rc.3] server[v2.11.0]

Error logs

##[error]Error: UPGRADE FAILED: incompatible versions client[v2.10.0-rc.3] server[v2.11.0]

@eryabitskiy you could use a helm installer task before executing your helm commands. This would ensure the version of helm before every run.

Updated the version here: https://github.com/Microsoft/azure-pipelines-image-generation/pull/363


[Bug] "Failed Parsing Declaration Prototype!"

The error
I am working with the OPC UA implementation open62541 as a dependency and as such I would of course like to mock it when defining the behaviour of my code. Thing is, when I try to run tests:all to generate "mock_open62541.h" I get this error:
Failed Parsing Declaration Prototype!
  declaration: 'UA_Client_Subscriptions_new(UA_Client *client, UA_SubscriptionSettings settings, UA_UInt32 *newSubscriptionId)'
  modifier: ''
  return: {:type => '', :name => 'cmock_to_return', :str => ' cmock_to_return', :void? => false, :ptr? => false, :const? => false, :const_ptr? => false}
  function: 'UA_Client_Subscriptions_new'
  args: [
    {:ptr? => true, :const? => false, :const_ptr? => false, :name => 'client', :type => 'UA_Client*'}
    {:ptr? => false, :const? => false, :const_ptr? => false, :name => 'settings', :type => 'UA_SubscriptionSettings'}
    {:ptr? => true, :const? => false, :const_ptr? => false, :name => 'newSubscriptionId', :type => 'UA_UInt32*'}
  ]

The problem
So I started digging and quickly found what appears to be the problem: the parser doesn't take return type definitions in the previous line into account.
See the offending source code:
UA_DEPRECATED UA_StatusCode UA_EXPORT
UA_Client_Subscriptions_new(UA_Client *client, UA_SubscriptionSettings settings,
                            UA_UInt32 *newSubscriptionId);

Hi. So, I don't believe the problem is the multiline function declaration. We have tests that prove that multiline functions work (at least in the cases we've come up with).
To get this to parse in the first place, I suspect you've had to do some custom configuration for CMock (like maybe adding UA_DEPRECATED and UA_EXPORT to the :strippables list?). Can you paste the :cmock section of your project file here?
What version of ceedling are you using?


fix godoc for pool_size, move units to bits

Signed-off-by: binjip978<EMAIL_ADDRESS>

related to https://github.com/prometheus/node_exporter/pull/1753

LGTM


Whitespaces in path to macro inside derive block

"cargo fmt" command does not remove white spaces in derive block. For example i expected this
#[derive(serde :: Serialize)]
enum Something {
    Variant
}

to become this
#[derive(serde::Serialize)]
enum Something {
    Variant
}

cannot find anything similar in https://rust-lang.github.io/rustfmt/?version=master&search=
tried to find by words "space" or "derive"
(default config)

@kuqmua thanks for the report. What version of rustfmt were you using? You can find this out by running rustfmt --version.

@kuqmua thanks for the report. What version of rustfmt were you using? You can find this out by running rustfmt --version.

rustfmt 1.8.0-nightly (6c6d210089 2024-09-22)


Issue in the dockerfile sealer for dev

Hi @khaounen
The sealer defined in the Dockerfile uses release and dowload not migrated on github from gitlab.
It is therefore not possible to run dockercompose anymore
RUN curl -f -L -o /home/geth_user/kerleano.json
https://github.com/ethereum-pocr/ethereum-pocr.github.io/releases/download/${kerleano_version}/kerleano.json

@sjehan the Dockerfile was already migrated you can check its content https://github.com/ethereum-pocr/ethereum-pocr.github.io/blob/main/pocr-network/sealer/Dockerfile
what's exactly the issue you're having? docker-compose is working fine for me all


Massage group title padding. Truncate text instead of wrapping it. Add title attribute to options for usability.

thanks for the help. This looks a lot better


Mention Firefox for Android in the Description

Firefox for Android (codenamed Fennec) has a progress bar inbuilt. Can you mention that at https://addons.mozilla.org/en-US/firefox/addon/load-progress-bar/ ? Something like this:

This add-on adds a thin progress bar to each window while the page is still loading, like the inbuilt progress bar in Firefox for Android (codenamed Fennec).

Good call!

Good call!

Thank you very much.

By the way, I mentioned your add-ons here: https://bugzilla.mozilla.org/show_bug.cgi?id=1536932

Thanks!

I added your add-on to my collection https://addons.mozilla.org/en-US/firefox/collections/11536848/essential-webextensions/ and added a comment to it:

This type of progress bar is inbuilt in Firefox for Android (codenamed Fennec). I've requested Mozilla to implement it: Implement the Firefox for Android progress bar - https://bugzilla.mozilla.org/show_bug.cgi?id=1536932

I added your add-on to my collection https://addons.mozilla.org/en-US/firefox/collections/11536848/essential-webextensions/ and added a comment to it:

This type of progress bar is inbuilt in Firefox for Android (codenamed Fennec). I've requested Mozilla to implement it: Implement the Firefox for Android progress bar - https://bugzilla.mozilla.org/show_bug.cgi?id=1536932

Would you like to mention this at https://addons.mozilla.org/en-US/firefox/addon/load-progress-bar/

Mozilla will hopefully "Implement the Firefox for Android progress bar" (https://bugzilla.mozilla.org/show_bug.cgi?id=1536932) in Firefox in the future.

added it

added it

Thank you again!


Trying to access array offset on value of type nul on delivery and invoice page

Describe the bug
ErrorException
Trying to access array offset on value of type null (View: C:\laragon\www\WebErpMesv2\resources\views\print\pdf-invoice.blade.php)
http://<IP_ADDRESS>:8000/pdf/invoice/2
To Reproduce
Steps to reproduce the behavior:

Create new delivery note or Invoice
Create print or PDF
get error

Screenshots

When we creat new document, we dont have id for contact and adress, so don't return data on object

add the choice of address and contact when creating new documents.


support stack policy

Add new options --stack-policy-body and --stack-policy-url to
pass stack policy to prevent resource update.
AWS API document says CloudFormation supports "StackPolicyBody" and "StackPolicyUrl".
AWS SDK for Ruby lacks these documentation but actually possible.

Thank you :smiley:

v0.5.7 has been released.
Please try it out :smiley:


fix Added english translation for monitoring Metric description page

Proposed changes
Added english translation for monitoring Metric description page

run buildall

run builall

run buildall

@Nitin-Kashyap  testcase failed

run buildall


Nonfunctional pages

I did step 1 of what we were planning to do, which was modifying the metadata to support multiple storage dir ids.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2798/
Test PASSed.

We can’t automatically merge this pull request.

@manugoyal do you want to keep this PR open for comments?

Oh wait I didn't actually intend to pull request it to this repo. I'm closing it for now.


Bad warning about alerts

Home Assistant release with the issue: 0.97.0

Last working Home Assistant release (if known): I see this on many previous versions
Operating environment (Hass.io/Docker/Windows/etc.): Hassio

Component/platform: Alerts

Description of problem: I get this message/warning, but i think it is not true

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

sensor: !include sensors.yaml
binary_sensor: !include binary-sensors.yaml
switch: !include switches.yaml
light: !include lights.yaml
group: !include groups.yaml
automation: !include_dir_merge_list automations/
script: !include scripts.yaml
variable: !include variables.yaml
alert: !include alerts.yaml
climate: !include climate.yaml

Traceback (if applicable):

Additional information:
My alerts.yeaml is empty. I use this "config separation" on other config parts with empty files and only alerts is problem. I have empty for example scripts, groups.. I think it should work with empty file.. or not?

I don't see why it would need to work with an empty file.  None of the others ever did.  The only reason some do now is because you have the editors in the UI so it has to work with a blank file before you write your first automation or whatever.  If you're not using alerts, then remove the component from your configuration.

Agree that it is not designed this way, but there are exceptions (likely all that accepts a list).
You can just comment out alerts: in the main file...


Potential fix for mesos/chronos#553

This patch fixes #553 by replacing ":" with "~" in the path. This addresses faulty behavior when using a chronos executor path in a variable like $PATH, $PYTHONPATH, $CLASSPATH, etc. which typically uses a ":" to separate paths.

I'd prefer not to change the task ID format, as it will break backward compatibility.

@brndnmtthws what suggestions would you have around using the Chronos executor path as part of the JVM classpath?

You can use filesystem isolation (aka chroot) through docker or some other mechanism.


Support uploading setup's terraform state to s3 bucket

Description
Currently, if devs shared the accounts with others and setup again, they will run into some issues when creating resources such as the Elastic IP Address problem. Therefore, it would be better to share the terraform state with one-time setup.

Share the setup configuration with others dev
Avoid creating duplicate resources when sharing the same account

Disadvantages: Currently, instead of dynamic variables, this approach is supporting only hard code variables since [backend does not allow variables in the configuration](#In this module, we are uploading setup's terraform state to s3 bucket for two reasons:
#-Share the setup configuration with others dev
#-Avoid creating duplicate resources when sharing the same account) and we need to run terraform apply twice if the devs intend to share the remote state.
How to test:
Step 1: Following the instructions in https://github.com/aws-observability/aws-otel-test-framework/blob/terraform/docs/setup-basic-components-in-aws-account.md
Step 2: Uncomment the backend configuration
Step 3: Run terraform init && terraform apply

Can you give a demo on this. Just like take a video of this feature being used and post it here.

Yes. Here is the demo for uploading the terraform setup state to s3 bucket. I assume we have setup based on this document since it would cost more time for the video to setup once again.


Issue during setup of docker-stellar-core

When I run docker-compose up mobius-network/docker-stellar-core it gives the below error
"stellar-core_1  | 2019-07-25T21:21:41.800 GA5JM [default FATAL] Got an exception: Unable to create bucket directory: buckets [CommandLine.cpp:853]"
Appreciate pointers on what I am missing ?
Detailed Logs

stellar-core_1  | Database is not initialized. Initializing... 2019-07-25T21:21:41.791  [default INFO] Config from /etc/stellar/stellar-core.cfg
stellar-core_1  | 2019-07-25T21:21:41.795 GA5JM [Database INFO] Connecting to: postgresql://dbname=stellarcore host=postgres user=postgres password=********
stellar-core_1  | 2019-07-25T21:21:41.799 GA5JM [SCP INFO] LocalNode::LocalNode@GA5JM qSet: 273af2
stellar-core_1  | 2019-07-25T21:21:41.799 GA5JM [default INFO] Application destructing
stellar-core_1  | 2019-07-25T21:21:41.800 GA5JM [default INFO] Application destroyed
stellar-core_1  | 2019-07-25T21:21:41.800 GA5JM [default FATAL] Got an exception: Unable to create bucket directory: buckets [CommandLine.cpp:853]
stellar-core_1  | 2019-07-25T21:21:41.800 GA5JM [default FATAL] Please report this bug along with this log file [CommandLine.cpp:854]
docker-stellar-core_stellar-core_1 exited with code 1

I got it working. Just in case it helps someone -
I had to remove the USER stellar entry from the Dockerfile. That seems to be causing issues with permissions to create.  Im guessing it may be due to the fact that  it is trying to create the buckets directory within the /var/lib/stellar which is mapped to the data volume in the docker-compose yml


Cherry-pick "add tx-copy-deprecated"

https://github.com/boltdb/bolt/commit/fa91bb2ff81dfc60822bf451c515f389b1d608cd

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4f5275f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #87   +/-   ##
=========================================
  Coverage          ?   85.58%
=========================================
  Files             ?        9
  Lines             ?     1859
  Branches          ?        0
=========================================
  Hits              ?     1591
  Misses            ?      158
  Partials          ?      110

Impacted Files
Coverage Δ

tx.go
76.82% <ø> (ø)

Continue to review full report at Codecov.

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

lgtm


Added wattpad

HI @Daniellop1  this repository has been abandoned years ago. Check out our forked and maintained one at https://github.com/jdm-contrib/jdm


Local Share media folder rename

If this PR needs approval, or if the commits need to be pulled into the private repo, contact @ManikaDhiman or @alkohli. Thanks.

IN DRAFT - DON'T REVIEW

@dansisson - when this is ready for review, can you take it out of draft mode and tag @ManikaDhiman and @alkohli in a comment? thanks!
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Tunnels expire after short time

I find that the generated URL, eg. http://4d3m.localtunnel.com only works for a short period of time, then I get a 'Could not connect' message or sometimes someone else's work (once a website for a Belgian death metal band). Generating a new tunnel works, but again only for a short time (seems to be maybe 10 mins at most).

Understood. A result of heavy usage. It's being solved in v2.

Thanks.


Add design matrix construction in lyman

This PR will port over the remaining code from moss.glm while changing how the design matrix construction works in some substantial ways. The main difference is that there won't be a DesignMatrix object, instead there will be a function that uses similar rules to build a matrix and then returns a DataFrame. It turns out that many of the bells and whistles of the moss.glm.DesignMatrix complicated things but weren't that useful, so in porting to lyman we're going to start with a simpler implementation.
See also https://github.com/mwaskom/moss/issues/21. This PR will handle the sampling resolution issue described there.
This PR also implements tracking of missing contrasts (i.e. contrasts that involve a parameter not included in the design matrix) across processing stages and hence closes #124

See also #149


fix: alternate color between packaging components

files changed

lib/pages/product/edit_new_packagings.dart

What

Alternate the color between packaging components to avoid any potential confusion

Screenshot

Fixes bug(s)

Fixes: #3580

Part of

#525

Codecov Report

Merging #3619 (cbfb785) into develop (2ef0a5e) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3619      +/-   ##
===========================================
- Coverage    10.86%   10.85%   -0.01%
===========================================
  Files          266      266
  Lines        13209    13214       +5
===========================================
  Hits          1435     1435
- Misses       11774    11779       +5

Impacted Files
Coverage Δ

...oth_app/lib/pages/product/edit_new_packagings.dart
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, @monsieurtanuki !!
Yeah 😄, even I was confused about which colors to use, so I just stick to the pre-defined colors!


Upload release assets and update homebrew-tap

What this PR does / why we need it:
Upload release assets and update homebrew-tap repository (https://github.com/gardener/homebrew-tap)
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

/invite @xrstf


Fatal signal 6 (SIGABRT), code -6 in tid 30547 at  Session mSession = new Session.Builder(context, apiKey, sessionId).build();

I'm getting crash with error:
Fatal signal 6 (SIGABRT), code -6 in tid 30547
at :
Session mSession = new Session.Builder(context, apiKey, sessionId).build();
On android 8.0 Oreo devices.
I'm using latest version of Opentok sdk i.e. com.opentok.android:opentok-android-sdk:2.15.3
Tried previous versions also.

@rohit-sharma-92 Can you please confirm what the context variable is set to?
Have you tried running the Basic-Video-Chat sample app available in this repo?

The context is the Context of the activity in which I'm try to  create the session. And the tutorial you are talking about, I didn't tried it on the Oreo devices.

Thanks for clarifying. Could you please try out the sample application and let me know if it's still happening for you?

@rohit-sharma-92 Just checking in, could you please try out the Basic-Video-Chat and see if you can reproduce the issue there?

Closing this as aged issue. Please reopen if necessary


bug(cdk/scrolling): Append only mode together with FixedSizeVirtualScrollStrategy results in a jumping view

Reproduction
See the example in the official material documentation
https://material.angular.io/cdk/scrolling/overview#cdk-virtual-scroll-append-only

Scroll down
Scrolling is delayed and the correct position is only set after a delay

https://user-images.githubusercontent.com/66056500/133094702-a4ca5760-a677-44eb-9873-8bb13f109861.mov
Note: This effect becomes even more apparent when the rendering of an item is more expensive!
Expected Behavior
Virtual scrolling with appendOnly sets the correct position without jumping to the top.
Actual Behavior
The virtual scroll using appendOnly jumps for a certain time to the top of the scrolling container. After this period of time, the correct scroll position is set.
A possible solution
I was able to solve this issue by implementing a CustomScrollingStrategy that copy-pastes FixedSizeScrollingStrategy and adapts line 171.
- this._viewport.setRenderedContentOffset(this._itemSize * newRange.start);
+ this._viewport.setRenderedContentOffset(0, 'to-start');

I am missing the insights to be able to open a pull request fixing this issue respecting all different use cases of virtual scrolling with and without appendOnly. So I am open to any kind of help to fix this issue.
Environment

Angular: 12.2.5
CDK/Material: 12.2.5
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOS

@philippspindler Thanks for opening this issue and posting a fix.
I've encountered the same issue. The issue with your fix is that it might break things when appendOnly is set to false, and it does not take the other issue you've opened https://github.com/angular/components/issues/23578
The trick is to get the updated rendered change before setting the offset, that way, you'll get the correct range, and it will take in account the fix you suggested in your other issue
Here is a variant based on your fix
- this._viewport.setRenderedContentOffset(this._itemSize * newRange.start);
 +  const newRangeStart = this._viewport.getRenderedRange();
 +  this._viewport.setRenderedContentOffset(this._itemSize * newRangeStart);
 +}

It would be a nice fix to have, as the appendOnly has a bad user experience when a list has more complex items; the user sees the same items when it scrolls down, which is very confusing
If there is any interest, I can try to write some UT and help with the PR


"No distribution at all found for bob>1.1.0" for Antispoofing.motion and antispoofing.optflow

Hi,
I installed all dependencies and all bob packages using pip on Ubuntu 14.04.1 LTS 64 bit system. Afterward i wanted to install antispoofing.motion and antispoofing.optflow. I got an error;
Could not find  any downloads that satisfy the requirement bob>=1.1.0 (from antispoofing.optflow)
Cleaning up...
No distributions at all found for bob>=1.1.0 (from antispoofing.optflow)
Storing debug log for failure in /home/ubuntu/.pip/pip.log

Thanks for this report. Please follow-up my answer on the development mailing list.

Thanks for your information. i am applying your steps.


Add function to sort .openpublishing.redirection.json

Just noticed https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/sort-redir.py and thought maybe it was something other repo/authors might want too.

@nschonni
This is a great suggestion and I've added it to our internal backlog.
CC @jamarw

FYI, I wrote that script when I'd gone through the Visual Studio docs and consolidated all the redirects into the one file, because otherwise you have to search around every time you want to find redirects that affect a certain section of the docs.

@nschonni After talking to the Docs build team about this, we decided not to make these changes, which might have unexpected consequences given the way redirection works. They're looking at changing the way this works in the future, so they want to defer further investment until the next version.


module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cuda:1

i meet the following error:
ssh://root@<IP_ADDRESS>:10001/root/anaconda3/bin/python3.8 -u /workspace/project/huafeng/big_transfer-master/train.py --name huaweishengteng --model BiT-M-R50x1 --logdir ./logs --dataset cifar10 --datadir ./cifar
2022-09-14 11:42:29,707 [INFO] bit_common: Namespace(base_lr=0.003, batch=512, batch_split=1, bit_pretrained_dir='.', datadir='./cifar', dataset='cifar10', eval_every=None, examples_per_class=None, examples_per_class_seed=0, logdir='./logs', model='BiT-M-R50x1', name='huaweishengteng', save=True, workers=8)
2022-09-14 11:42:29,707 [INFO] bit_common: Going to train on cuda:1
Files already downloaded and verified
Files already downloaded and verified
2022-09-14 11:42:31,373 [INFO] bit_common: Using a training set with 50000 images.
2022-09-14 11:42:31,373 [INFO] bit_common: Using a validation set with 10000 images.
2022-09-14 11:42:31,373 [INFO] bit_common: Loading model from BiT-M-R50x1.npz
2022-09-14 11:42:31,893 [INFO] bit_common: Moving model onto all GPUs
2022-09-14 11:42:31,908 [INFO] bit_common: Model will be saved in './logs/huaweishengteng/bit.pth.tar'
2022-09-14 11:42:31,908 [INFO] bit_common: Fine-tuning from BiT
2022-09-14 11:42:34,812 [INFO] bit_common: Starting training!
Traceback (most recent call last):
File "/workspace/project/huafeng/big_transfer-master/train.py", line 296, in
main(parser.parse_args())
File "/workspace/project/huafeng/big_transfer-master/train.py", line 237, in main
logits = model(x)
File "/root/anaconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/root/anaconda3/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 154, in forward
raise RuntimeError("module must have its parameters and buffers "
RuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cuda:1
Process finished with exit code 1
cuda:0 is used by my lab, i can only use other cuda, maybe cuda:7, how can i solve the problem?

well, i find the following information:
https://stackoverflow.com/questions/59249563/runtimeerror-module-must-have-its-parameters-and-buffers-on-device-cuda1-devi
just modify the code as following:
#device = torch.device("cuda:1" if torch.cuda.is_available() else "cpu")
#logger.info(f"Going to train on {device}")
device_ids = [1, 4, 5]
device = torch.device("cuda:1")
logger.info(f"Going to train on {device}")
train_set, valid_set, train_loader, valid_loader = mktrainval(args, logger)
logger.info(f"Loading model from {args.model}.npz")
model = models.KNOWN_MODELS[args.model](head_size=len(valid_set.classes), zero_head=True)
model.load_from(np.load(f"{args.model}.npz"))
logger.info("Moving model onto all GPUs")
model = torch.nn.DataParallel(model, device_ids=device_ids)