HBASE-26010 Backport HBASE-25703 and HBASE-26002 to branch-2.3

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

+0 :ok:
prototool
0m  0s
prototool was not available.

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

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

_ branch-2.3 Compile Tests _

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

+1 :green_heart:
mvninstall
3m 29s
branch-2.3 passed

+1 :green_heart:
compile
6m  6s
branch-2.3 passed

+1 :green_heart:
checkstyle
2m 10s
branch-2.3 passed

+1 :green_heart:
spotbugs
7m  6s
branch-2.3 passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
6m  2s
the patch passed

+1 :green_heart:
cc
6m  2s
the patch passed

+1 :green_heart:
javac
6m  2s
the patch passed

-0 :warning:
checkstyle
0m 41s
hbase-client: The patch generated 1 new + 375 unchanged - 1 fixed = 376 total (was 376)

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

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

+1 :green_heart:
hbaseprotoc
2m 24s
the patch passed

+1 :green_heart:
spotbugs
7m 49s
the patch passed

_ Other Tests _

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

68m 31s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool

uname
Linux 560b7b0d8552 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 6147c1cfae

Default Java
AdoptOpenJDK-1.8.0_282-b08

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3396/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt

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

modules
C: hbase-protocol-shaded hbase-protocol hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2.3 Compile Tests _

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

+1 :green_heart:
mvninstall
4m 11s
branch-2.3 passed

+1 :green_heart:
compile
2m 57s
branch-2.3 passed

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

+1 :green_heart:
javadoc
1m 37s
branch-2.3 passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
2m 54s
the patch passed

+1 :green_heart:
javac
2m 54s
the patch passed

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

+1 :green_heart:
javadoc
1m 35s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 53s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
0m 32s
hbase-protocol in the patch passed.

+1 :green_heart:
unit
2m 24s
hbase-client in the patch passed.

-1 :x:
unit
134m 29s
hbase-server in the patch failed.

171m 30s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux a5e075d38470 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 6147c1cfae

Default Java
AdoptOpenJDK-11.0.10+9

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

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

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

modules
C: hbase-protocol-shaded hbase-protocol hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2.3 Compile Tests _

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

+1 :green_heart:
mvninstall
3m 38s
branch-2.3 passed

+1 :green_heart:
compile
2m 29s
branch-2.3 passed

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

+1 :green_heart:
javadoc
1m 31s
branch-2.3 passed

_ Patch Compile Tests _

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

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

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

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

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

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

_ Other Tests _

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

+1 :green_heart:
unit
0m 27s
hbase-protocol in the patch passed.

+1 :green_heart:
unit
2m 14s
hbase-client in the patch passed.

-1 :x:
unit
148m 39s
hbase-server in the patch failed.

181m  1s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 6147c1cfae

Default Java
AdoptOpenJDK-1.8.0_282-b08

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

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

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

modules
C: hbase-protocol-shaded hbase-protocol hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

+0 :ok:
prototool
0m  0s
prototool was not available.

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

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

_ branch-2.3 Compile Tests _

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

+1 :green_heart:
mvninstall
3m 32s
branch-2.3 passed

+1 :green_heart:
compile
6m 10s
branch-2.3 passed

+1 :green_heart:
checkstyle
2m 10s
branch-2.3 passed

+1 :green_heart:
spotbugs
7m  7s
branch-2.3 passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
5m 58s
the patch passed

+1 :green_heart:
cc
5m 58s
the patch passed

+1 :green_heart:
javac
5m 58s
the patch passed

+1 :green_heart:
checkstyle
0m 11s
The patch passed checkstyle in hbase-protocol-shaded

+1 :green_heart:
checkstyle
0m 11s
The patch passed checkstyle in hbase-protocol

+1 :green_heart:
checkstyle
0m 40s
hbase-client: The patch generated 0 new + 375 unchanged - 1 fixed = 375 total (was 376)

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

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

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

+1 :green_heart:
hbaseprotoc
2m 25s
the patch passed

+1 :green_heart:
spotbugs
7m 55s
the patch passed

_ Other Tests _

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

67m 57s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool

uname
Linux 33cf662e5239 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 6147c1cfae

Default Java
AdoptOpenJDK-1.8.0_282-b08

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

modules
C: hbase-protocol-shaded hbase-protocol hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2.3 Compile Tests _

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

+1 :green_heart:
mvninstall
4m 52s
branch-2.3 passed

+1 :green_heart:
compile
3m  6s
branch-2.3 passed

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

+1 :green_heart:
javadoc
1m 46s
branch-2.3 passed

_ Patch Compile Tests _

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

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

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

+1 :green_heart:
javac
3m 21s
the patch passed

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

+1 :green_heart:
javadoc
1m 44s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 54s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
0m 32s
hbase-protocol in the patch passed.

+1 :green_heart:
unit
2m 29s
hbase-client in the patch passed.

+1 :green_heart:
unit
132m 20s
hbase-server in the patch passed.

173m 21s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux b6b91a9028d0 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 6147c1cfae

Default Java
AdoptOpenJDK-11.0.10+9

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

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

modules
C: hbase-protocol-shaded hbase-protocol hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2.3 Compile Tests _

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

+1 :green_heart:
mvninstall
3m 46s
branch-2.3 passed

+1 :green_heart:
compile
2m 42s
branch-2.3 passed

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

+1 :green_heart:
javadoc
1m 31s
branch-2.3 passed

_ Patch Compile Tests _

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

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

+1 :green_heart:
compile
2m 38s
the patch passed

+1 :green_heart:
javac
2m 38s
the patch passed

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

+1 :green_heart:
javadoc
1m 31s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 47s
hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
0m 28s
hbase-protocol in the patch passed.

+1 :green_heart:
unit
2m 13s
hbase-client in the patch passed.

+1 :green_heart:
unit
141m 57s
hbase-server in the patch passed.

178m 51s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.3 / 6147c1cfae

Default Java
AdoptOpenJDK-1.8.0_282-b08

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

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

modules
C: hbase-protocol-shaded hbase-protocol hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

Ping @ndimiduk

I prefer that we reopen the original jiras and backport them one-by-one. The reason being that it's easier to tell directly if a JIRA has been applied to a branch. "One JIRA, One Commit" has been our policy for as long as I can remember. It's okay to have them both in the same pull request, since we want both of them or neither of them, but please preserve the commit/JIRA automaticity.

I'm nervous to make non-bug-fix changes on patch releases, especially because, to the best of my knowledge, the MultiRowMutationEndpoint is an "undocumented/internal" coprocessor that is used only by the meta table. What's the motivation of this change to branch-2.3?

@ndimiduk Thank you for taking look at this!
As it's not a bug fix, I will close this PR. Thanks.


Poison depedency

You have a dependency on Poison.
Probably up until now, since Phoenix was using poison, it was working fine. The new Phoenix use Jason. So you will either need to specify the Poison dependency or switch to using Jason.

Hi @happysalada,
This library only depends on Poison for tests, but it does set up the JSON serializer to use Poison by default and requires users to pull it in as a dependency.
I have this PR: https://github.com/scrogson/oauth2/pull/92 (which is over 1 year old) which changes the way serializers are registered.
I'll probably consider using Jason instead of Poison before I get around to pulling the trigger on merging it.
Thanks


doc: Update ExpectAPI.md

Update doc to add types for custom matchers
Fix : https://github.com/facebook/jest/issues/10642

Summary
Motivation : Copy pasting documentation doesn't work, as mentioned here, https://github.com/facebook/jest/issues/10642
Test plan

Hi, the CI failed for Node v15.x on windows-latest on install step, is it a problem ?

@orta is this correct? I keep getting confused byt how to properly do this 🙈

This originally was based on my work in svg-snapshots - it's possible that the Jest types  have moved  on since but I think the key difference is that mine is in a .ts file and the not working example in https://github.com/facebook/jest/issues/10642#issuecomment-802135590 is in a .d.ts file. They do have different semantics in the type system.
Mine assumes that you will have an import "dep" in each file where you use the matcher. This makes that file get the modification, the new version I think would be a change everywhere (if the .d.ts is in the right spot)

Hi, actually on the doc it's a bit unclear how to do it.

Sure, then I'd recommend switching the code back, and adding something like:
- _Note_: In TypeScript, when using `@types/jest` for example, you can declare the new `toBeWithinRange` matcher like this:
+ _Note_: In TypeScript, when using `@types/jest` for example, you can declare the new `toBeWithinRange` matcher in the imported module like this:

Which I think makes it clearer overall

I'll do this :) What about the failing checks ?

The fail is unrelated, this should be fine 👍🏻


Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 Please consider asking for help in the Help Chat Room.
I think that the instructions have likely led you astray a bit. Where it says:
Inside the same <style> tag that contains your red-text class,
create an entry for p elements and set the font-size to 16 pixels (16px).

it is implying to add a new selector p with the font-size, not to add font-size to the existing class. Cheers.

Indeed thanks. I was a tad frustrated because this is a small issue to me.

@JaysNSX, @dhcodes is right about your code is incorrect.
GitHub Issues are for reporting bugs on the website only.
Please use the Help chat room for getting challenge related help.
Happy Coding!


error doing tutorial "certificate apiserver-kubelet-client not signed by CA certificate"

error execution phase certs/apiserver-kubelet-client: [certs] certificate apiserver-kubelet-client not signed by CA certificate ca: crypto/rsa: verification error
To see the stack trace of this error execute with --v=5 or higher

On Windows 11,

ran Docker Desktop in Admin mode
opened a windows terminal in administrator mode.
ran wsl
installed minikube for windows
in wsl terminal
minikube start --memory=2200mb --cpus=3 --kubernetes-version=v1.18.6 --vm-driver=docker -p devnation

I get the above error. Logs attached.
logs.txt
minikube starts only if I do
/mnt/c/kubernetes-tutorial$ minikube start driver=docker

I see one error of "Your cgroup does not allow setting memory." It could be that on WSL that memory is equal to that of the Docker Daemon and that is how it is set.  See if "-p" for profile will work.  -p is optional.    --kubernetes-version is not required to run the tutorial, the lastest version should normally work aside from the occasional aging out of a specific version  string in a .yaml (I upgraded the ingress yaml recently).

Thanks. I tried again with -p devnation
🏃  Updating the running docker "devnation" container ...
😿  Failed to start docker container. Running "minikube delete -p devnation" may fix it: provision: Temporary Error: NewSession: new client: new client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
After the delete,
:/mnt/c/kubernetes-tutorial$ minikube start driver=docker -p devnation
😄  [devnation] minikube v1.25.2 on Ubuntu 20.04 (amd64)
✨  Using the docker driver based on user configuration
👍  Starting control plane node devnation in cluster devnation
🚜  Pulling base image ...
💾  Downloading Kubernetes v1.23.3 preload ...
> preloaded-images-k8s-v17-v1...: 505.68 MiB / 505.68 MiB  100.00% 11.37 Mi
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🐳  Preparing Kubernetes v1.23.3 on Docker 20.10.12 ...
▪ kubelet.housekeeping-interval=5m
▪ Generating certificates and keys ...
▪ Booting up control plane ...
▪ Configuring RBAC rules ...
🔎  Verifying Kubernetes components...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: default-storageclass, storage-provisioner
🏄  Done! kubectl is now configured to use "devnation" cluster and "default" namespace by default

Trying to create an ingress (following the tutorial since external ip address was in pending state), I get a certificate error.
following https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
error execution phase certs/apiserver-kubelet-client: [certs] certificate apiserver-kubelet-client not signed by CA certificate ca: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "minikubeCA")
logs are attached.
error-log2.txt

I tried again but got this error
/mnt/c/kubernetes-tutorial$ minikube addons enable ingress
    ▪ Using image k8s.gcr.io/ingress-nginx/controller:v1.1.1
    ▪ Using image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
    ▪ Using image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
🔎  Verifying ingress addon...

❌  Exiting due to MK_ADDON_ENABLE: run callbacks: running callbacks: [sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.23.3/kubectl apply -f /etc/kubernetes/addons/ingress-deploy.yaml: Process exited with status 1
stdout:

stderr:
The connection to the server localhost:8443 was refused - did you specify the right host or port?
 waiting for app.kubernetes.io/name=ingress-nginx pods: timed out waiting for the condition]

When I do a minikube delete and then minikube start without specifying devnation or driver, then it works. I don't understand it.
/mnt/c/kubernetes-tutorial$ minikube start
😄  minikube v1.25.2 on Ubuntu 20.04 (amd64)
✨  Using the docker driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🐳  Preparing Kubernetes v1.23.3 on Docker 20.10.12 ...
    ▪ kubelet.housekeeping-interval=5m
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔎  Verifying Kubernetes components...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
anil@DESKTOP-5R70B6Q:/mnt/c/kubernetes-tutorial$ minikube addons enable ingress
    ▪ Using image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
    ▪ Using image k8s.gcr.io/ingress-nginx/controller:v1.1.1
    ▪ Using image k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
🔎  Verifying ingress addon...
🌟  The 'ingress' addon is enabled

One tricky thing is that we are able to test these materials on Mac and Linux fairly often but we have very few Windows machines to test with.

One tricky thing is that we are able to test these materials on Mac and Linux fairly often but we have very few Windows machines to test with.

I can volunteer my machine :)


Add player home world for better identification of players

PR for #24

If a chat message contains a PlayerPayload, the first occurrence is used to set the home world of the involved player.
The player world data from Dalamud is used for LootEvent involving the local player.
As a fallback the value is set to an empty string.

I have only added the home world name, because the id can be derived from the name.

Very nice! Not complaints here. Thank you! I'll merge and deploy to my custom repo and raise a testing PR.


not installing well

cant really install this well and given some ish

More details would be nice. Which part of the installation process is not working?

https://github.com/bitsandbots/inventory


[Codegen 98] Extract getCommandTypeNameAndOptionsExpression from component folders into parsers-common

Summary
This PR aims to remove the duplicated logic in [flow|typescript]/components/index.js files to move it in parsers-commons. It is a task of #34872:

[Codegen 98 - assigned to @MaeIg] Extract the namedExports.map(statement => (Flow, TS) function in parser-commons, so that it accept a Parser parameter to unify the behaviors between flow and typescript. The Parser object needs to be enriched with all the methods to extract the required information from the Node, if they are not there yet.

Changelog

[Internal] [Changed] - Extract getCommandTypeNameAndOptionsExpression from component folders into parsers-common
Test Plan
yarn flow:

yarn lint:

yarn test

Great work here, Thank you for doing this.


Running --visualize still includes unnecessary CBMC checks in coverage run

With working directory as src/test/cbmc/LoopLoop_NonReturning:
The following works fine:
rmc main.rs --cbmc-args --unwind 10
The following does not terminate:
rmc --visualize main.rs --cbmc-args --unwind 10
When I manually set cover_args to ["--unwind", "10"], it terminates successfully.
Possible solution: add --unwind as an RMC flag, and if present, add it to cover_args as well.

@tedinski, this is also fixed by #738. We might want to add a regression for it though.

It's sort of fixed, yes. The completely perfect fix will remove the --blah-checks flags from the --cover run, which I punted for a follow up PR. Adding a test is a good idea, too.

Closing this since we are now deprecating --visualize option.


Nested elements coordinates fix

Hello! I have fixed the nested coordinates bug and tidied up the script a bit. I used the files you shared for testing and now the coordinates are correct.

Thanks a lot! I tested on all of my genomes and it looks like it's fine now.


Welcome!

Welcome to Applied Statistics for High-Throughput Biology at the University of Trento. Please use this "Issue" to introduce yourself, using your new Github account.

Hello everybody,
I am Moreno, I am a PhD student at the Laboratory of Computational Metagenomics at CIBIO. My background is a mix of computer science (Bachelor) and Biotechnology (Master). I am attending my first year!

Hello everyone,
I am Andrew, a visiting PhD student at the Laboratory of Computational Metagenomics at CIBIO. My background is also mixed, I did a bachelors in Biology, masters in oncology and now am doing a PhD in Bioinformatics at the University of São Paulo. I'm in my 3rd year.

Hello everybody,
I am Luca, I am a PhD student at the department of computer science here in Trento. My PhD is focused on the application of machine learning to Biology. I'm in my 2nd year.

Hello,
I am Dilara, I am a PhD student at Biomedicine and Biotechnology Department in Udine. I am a visitor PhD student here. My background based on genetics (B.Sc Genetics and Bioengineering; M.Sc. Bioengineering) and I am quite new at Bioinformatics and this is my first year.

It's Duhan, 2nd year PhD student at CIBIO, Prof. Sheref Mansy's Lab. My research covers cell-free synthetic biology and origins of life questions. I have a Bachelor in Biology and Master's in Chemical Engineering.

Hi,
finally here! I'm Simone, 1st year PhD student at CIBIO (lab Michela Denti). I work mainly with microRNAs and I am interested in finding microRNAs as biomarkers from liquid biopsies of cancer patients. My background is molecular biology.

Hi,
I am Stephanie, I work in Marie-Laure Baudet's lab and I come from a experimental biology background with some additional bioinformatics training.

Hi, I am Alfonso, I work in the group of microbial genomics, I have some R experience but I am not a pro... At the moment I work on both comparative genomics of bacteria and metagenomics, I mainly use R for statistics and graphics, but I know that there is a whole world that I am missing. Therefore I am looking forward to attend the course and I am very curious about it.


Remove Miss and add Dr to honorifics

This revised list matches our current dataset

👍 to adding Dr.
Why remove Miss?

@zph it's not in our dataset, and is not used much anymore.
plus, i personally don't love that a woman's salutation changes depending on her marital status, whereas the male salutation remains the same regardless. 'ms.' is the closest equivalent to 'mr.' and can be used by both married and unmarried women, so i was thinking we'd go w that. 'miss' also tends to be used for girls, and our users will all be adults.
despite the above, if you think we should keep it, i'm open to that!!!


V5J8M4PN

@Nealit25
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

@Nealit25
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Multi-language support: English and Welsh

The Apply site should be available in English and Welsh with the following high-level requirements:
The site has an ENG | CYM button so the user can toggle between English and Welsh.
e.g.

If the user selected CYM, all content, including form fields, hints, error messages etc would be displayed in Welsh
The Welsh content will be provided by a translator
It should stay up to date with content changes and customisations made for each exercise (e.g. custom questions in Additional Working Preferences)
Some applications will be received in Welsh
The exercise team will have these translated before then proceeding to process the English version.

Some possible ways forward are:
1. Support Welsh off-platform
e.g. Use a Google Forms version of the application form for receiving Welsh applications
Team would then get responses translated and manually input them into the platform for processing
2. Incorporate this functionality into the next version of Apply / digital platform
Advancing to a new major version of an app (e.g. a clean slate pulling in existing functionality if it's good enough) is not such a scary prospect. The current solution, particularly in Apply, has a lot of lines of repetetive code which could be replaced by a no/low code solution instead. This new approach could, by default, support multiple languages for very little or no additional effort.
3. Bake something into the current platform
There are a surprising number of plugins and tools, compatible with our current tech stack, which support displaying multi-language versions of an app. We would need to:

Update Apply site to allow user to change which language they prefer to use
Provide translator with a marked up file of the content they need to translate, so that it is easy to make use of the translated content
Update Admin to display Welsh version of an application form, if it exists and user would like to see it
Update Admin to assist translator or team to enter the English translation for an application form completed in Welsh

Updates from Andrew and contacts he made:

In DWP we use our Welsh Language Unit. Who would have thought those yes and no buttons could be so complicated? Not something for Google translate. https://welearnwelsh.com/grammar/how-to-say-yes-and-no-in-welsh/

By coincidence came across the Bilingual Technology Toolkit today. https://gov.wales/welsh-language-technology

One of the Welsh Government's Digital Service Standard points is "to design services in English and Welsh" https://digitalpublicservices.gov.wales/resources/digital-service-standards/#design-in-Welsh-and-English

See also the Welsh Language Scheme I wrote last year - this is one of the most up to date in government and should give you some helpful pointers (though of course your department may not have made all the commitments within) https://www.gov.uk/government/organisations/valuation-office-agency/about/welsh-language-scheme

Closed as content has been archived in a document


Fixed #785 - Parse new compound Server header format

Actually client does not change the code to adapt new Server format.
This is for adding test.

rebased to address test issue

I think you are using merge not rebase. Rebase would be cleaner.


Added file system GET methods

These are the methods for the file system provided by the Pterodactyl API. I have only done the GET methods for now, I'll do the rest later today. The functions are:

getServerFiles (Gets a server's file list)
getFileContents (Gets the contents of a file from a specified server)
getFileDownloadLink (Gets the temporary download link of a file from a specified server)

I am going to continue this in 3 weeks.


dynamic module does not define module export function(PyInit_warp_rnnt)

When I finished the install , then run python test.py in pytorch_binding/test/test.py and meet the problem:
ImportError: dynamic module does not define module export function(PyInit_warp_rnnt)
It seems to be because I can't import the library.
My installation environment：
cuda 9.0
gcc 4.8.5
pytorch 1.0.0

I found a similar issue in stack overflow. Did you use python 2?

BTW, please remove previous build dir if you run setup.py again (xinntao/EDVR#17)


Incompatibility of experiment configs with mypy type annotations

In our project, in order to increase the quality of source code, we use mypy type annotation for python code
But when I try to use the type annotation for experiment config, I get a problem, because when I try to do:
@ex.config def ex_config() -> None:     """Experiment config for sacred."""     min_instance_count = 2  # noqa     test_set_ratio = 0.6  # noqa     neighbours_count = 1  # noqa     cv_folds = 5  # noqa
I got the exception when running an experiment:
Traceback (most recent call last):   File "clf_baseline_sacred.py", line 377, in <module>     def ex_config()->None:   File "C:\Users\sye\AppData\Local\Continuum\anaconda3\envs\Parts2GA_R2\lib\site-packages\sacred\ingredient.py", line 154, in config     self.configurations.append(ConfigScope(function))   File "C:\Users\sye\AppData\Local\Continuum\anaconda3\envs\Parts2GA_R2\lib\site-packages\sacred\config\config_scope.py", line 31, in __init__     self._body_code = get_function_body_code(func)   File "C:\Users\sye\AppData\Local\Continuum\anaconda3\envs\Parts2GA_R2\lib\site-packages\sacred\config\config_scope.py", line 145, in get_function_body_code     func_body, line_offset = get_function_body(func)   File "C:\Users\sye\AppData\Local\Continuum\anaconda3\envs\Parts2GA_R2\lib\site-packages\sacred\config\config_scope.py", line 103, in get_function_body     assert defs AssertionError
As well, I get similar exception, if I try to add comment for ignoring typing for function ex_config
@ex.config
def ex_config(): #type:ignore
"""Experiment config for sacred."""
min_instance_count = 2  # noqa
test_set_ratio = 0.6  # noqa
neighbours_count = 1  # noqa
cv_folds = 5  # noqa
`

We are going to rework our configuration process in the future, in order to make it more flexible and robust. In your case, maybe use a dictionary in the meantime? With ex.add_config() that would work.

Thanks a lot. This provides a good workaround to this problem for me


VipsOperation: class "icc_export" not found

Hi John,
I recently upgraded to libvips 8.13.3 and started getting the following error:
Vips::Error - VipsOperation: class "icc_export" not found:
	/usr/local/bundle/gems/ruby-vips-2.1.4/lib/vips/operation.rb:228:in `build'
	/usr/local/bundle/gems/ruby-vips-2.1.4/lib/vips/operation.rb:483:in `call'
	/usr/local/bundle/gems/ruby-vips-2.1.4/lib/vips/image.rb:229:in `method_missing'

When attempting to do a call like so:
thumbnail.thumbnail_image(750, :size => :down, :linear => true, :export_profile => 'profiles/sRGB2014.icc')

I was previously using 8.13.1 without any issue. Did something change in libvips?

Hi Travis,
No, I don't think anything in libvips has changed. Where did you get the binary? It sounds like it's been built without lcms support.

Hi John, well that was super weird! You were right, for reasons that I can't make sense of, between my last Docker image and this one, liblcms2 was removed. Thanks for the nudge! I'll go ahead and close this.


Generator list view

Problem:
After downloading a list of generator models, we want to show that to the user so they can select one.
Proposed Solution:
Show a ui list of every model listed in the json.  Once selected, have a button for run that starts the existing FaceViewer interface.

New list url https://gist.githubusercontent.com/martyn/6e726329c666fe64a48167b71974298a/raw/2e3962e9239c81139a4d3bf9100e47be17a6d34b/generator-list.json


Missing Favicon for the Marketplace

Please insert a  favicon for marketplace. small detail but important.

@sasha-astiadi please provide us with favicon


print error from config file parsing by default

That providing undefined arguments prints some help and exits but -config (nonexistent) doesn't print anything seems like a bit of a mismatch. I realize CommandLine has ExitOnError on by default but figured I'd open up a discussion. What about an explicit check for the file's presence and performing an f.failf in that case?

I'm with @tmc on this one. I'm happy to issue a PR if it will be considered.


IE11 Browswer is hanging

Hi,
Currently we are using fontello font in our code. To make our application compatible with IE 11 we are adding IE reference in our master page. This is SharePoint application.

After adding this code in master page browser is hanging, In further investation we realized that issue is coming from fontello font reference. This is working fine in other browsers.
@font-face {
font-family: fontello;
src: url(fontello.eot?95581469);
src: url(fontello.eot?95581469#iefix) format('embedded-opentype'), url(fontello.woff?95581469) format('woff'), url(fontello.ttf?95581469) format('truetype'), url(fontello.svg?95581469#fontello) format('svg');
font-weight: 400;
font-style: normal
}
This is used as below
.glbSearchIcon:before {
font-family: 'fontello';
Please suggest feasible solution options for this issue.

No ideas about IE modes. Probably worth report to Microsoft.

Close as outdated.


Support Google Analytics being loaded async

We're loading GA via GTM which is added as an async script tag. As such, Perfume is logging a warning that GA hasn't been loaded in time. I think my scenario is pretty common, so can we address this as part of perfume?
Implementation thoughts
I guess we'd need to maintain a queue of ga calls in perfume, with a setInterval polling for GA every second up to a configurable maximum.
So we could introduce two more settings, something like:

gaPollingInterval
gaPollingMaximumAttempts

Add some private vars:

gaQueue
gaPollingAttempts
gaPoller

In trackTiming function, detect as it is now for window.ga but if not defined, add current timing request to queue and define gaPoller as a setInterval if not already with new settings.
Create gaPoller/setInterval callback that:

Tries to check for window.ga again and fire off timings
Increments gaPollingAttempts
If gaPollingAttempts > gaPollingMaximumAttempts, cancel setInterval

It's not ideal, but I can't see any other way around it. Alternative would be to define ga function ourselves, like they do in their snippet before loading the library, but that seems dodgy if they ever change their implementation.
What do you think? Happy to implement it myself and submit a PR if you agree with the above.

I would like to avoid any sort of setTimeout or setInterval because the Angular framework fires an extra change detection after each one of them.
We could simplify the approach by having one public setting and one method, like:
const perfume = new Perfume({
  gaAsync: true
});

and as you said it will start queuing the Metrics, when ga is available we will call
perfume.gaResolve();

and resolve the queue.
Am I missing anything?
If you can work on a PR would be amazing! 🙌
What frameworks and product are you using/building (just for curiosity)? 🚀

I moved this refactor to v0.9.1; this will give us some extra time to don't rush the design implementation. I'm looking forward to work on your proposal.

No worries. It's done, just trying to figure out how to commit with all the precommit checks. Seems like a lot of the failures were existing? Not sure how you managed to commit/push.

Managed to get through them all, turns out they were all mine. Will open up the PR now, but haven't actually run the changes in the browser yet.
Will probably rename GaQueueItem and gaQueue to something else. Maybe GaSend and gaSendQueue. Let me know what you think. Don't think we need a gaAsync: true config flag, that'd just be all internals.

I believe we need to create a generic queue system, that can be used from external tracking services too.

So you mean if someone passes in their own customer analytics tracker, it queues up requests for those services too?
Can define a common interface like IAnalyticsTracker, that has members HasLoaded and Track? Then create a GoogleAnalyticsTracker : IAnalyticsTracker and others can implement their own?

Note to self: .pop() off the queue rather than just loop over.

Yes, in the past we had people requesting "Generic analytics platform support" #24.
Google Analytics will always be the default choice, and Perfume is going to expose the metrics to any tracking service you will end up to use.
I will keep the design conversation in the https://github.com/Zizzamia/perfume.js/pull/43


n.setConfig is not a function

I am using HomeAssistant rev 0.76.2
I have seen the FAQ regarding an errotr with n.setConfig but mine is different. I am using plan-coordinates and when I load the view I get this error in red
n.setConfig is not a function

{
 "type": "custom:plan-coordinates"
}

The coordinate box doesn't display.
Here the code I use in ui-lovelace.yaml
  - title: FloorPlan
    icon: mdi:home-heart
    panel: true
    cards:
      - type: vertical-stack
        cards:
          - type: custom:plan-coordinates
          - type: picture-elements
            image: /local/floorplan.png
            elements:
              - type: state-icon
                tap_action: toggle
                entity: light.sofa_lamp
                style:
                  top: 75%
                  left: 32%
              - type: state-icon
                tap_action: toggle
                entity: light.tv_lamp
                icon: mdi:lamp
                style:
                  top: 37%
                  left: 29%

in the Chromium Dev Tool I can see this error:
create-card-element.js:53 plan-coordinates TypeError: n.setConfig is not a function
    at dn (create-card-element.js:50)
    at bn (create-card-element.js:75)
    at hui-vertical-stack-card.js:77
    at Array.forEach (<anonymous>)
    at HTMLElement.value (hui-vertical-stack-card.js:76)
    at HTMLElement.value (hui-vertical-stack-card.js:45)
    at HTMLElement.value (properties-changed.js:315)
    at HTMLElement.value (properties-mixin.js:203)
    at HTMLElement.value (element-mixin.js:538)
    at HTMLElement.value (hui-root.js:239)

Are you sure you're running frontend latest?

Ok. So I am going to sound stupid but how do I know if am running the latest frontend or not?

Looking at the About page in my homeassistant instance there is a line that says:
Frontend JavaScript version: latest

Which browser are you using?

I have the same issue, works on laptop and mobile device but not on Rasbian with Chromium.

Ok some updates:
I am using Ubuntu with Firefox (version 61) and also tried on Chromium (version 68).
This morning I updated HA to 0.77.3 and now on Chromium it works. I can see the little box with the coordinates.
On Firefox it still doesn't work and in the HA logs I can see that it write the following line every few seconds
https://xxx.yyy.org/local/plan-coordinates.js?v=3:36:1 TypeError: el.path is undefined
So some progress but I prefer Firefox to Chromium :(

@ppmt unfortunately as specified in the docs FF is not supported.

No worries. It was in the docs under Warning, but probably not as explicit.


Dropdown-DadLaugh

#6 enhancement/dropdown-DadLaugh

Okay so,
(i) I need audio files in mp3 format
(ii) I want the UI for the dropdown to be better and it should not overlap with dad laugh image
(iii) Some PRs were merged recently so make sure you sync your repo before you add any other changes


Modal dialog buttons not visible when message is very long

On windows, if one creates a modal dialog with a very long message, such as
  let msg = "";
  for (let i = 0; i < 100; i++) {
    msg += "\nlong\nmessage";
  }
  vscode.window.showInformationMessage(msg, { modal: true }, "Button", "Other Button");

the message field is scrollable so that the buttons are still visible. On linux and osx, the message is so long it forces the buttons off the bottom of the screen.
VS Code version: Code - OSS Dev 1.40.0 (Commit unknown, Date unknown)
OS version: Linux x64 4.15.0-72-generic

Screenshot of the problem:

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Improve WhatsApp button.

[x] Remove transparency;
[x] Create a rounded external green background;
[x] Change image to white color.

Done


Patch Qt for hunspell includes on macOS

Description
Ran into Qt build error for 3.3RC on macOS...
In file included from /Users/miller86/visit/visit/33rc/release/build-mb-3.3.0-darwin-10.14-x86_64-release/thirdparty_shared/qt-everywhere-src-5.14.2/qtvirtualkeyboard/include/QtHunspellInputMethod/5.14.2/QtHunspellInputMethod/private/hunspellworker_p.h:1:
/Users/miller86/visit/visit/33rc/release/build-mb-3.3.0-darwin-10.14-x86_64-release/thirdparty_shared/qt-everywhere-src-5.14.2/qtvirtualkeyboard/include/QtHunspellInputMethod/5.14.2/QtHunspellInputMethod/private/../../../../../src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h:51:10: fatal error: 'hunspell/hunspell.h' file not found
#include <hunspell/hunspell.h>
         ^~~~~~~~~~~~~~~~~~~~~

This patch to Qt fixes that.
Type of change

[x] Bug fix~~
[ ] New feature
[ ] Documentation update
[ ] Other

How Has This Been Tested?

Checklist:

[x] I have followed the style guidelines of this project.~~
[x] I have performed a self-review of my own code.~~
[x] I have commented my code where applicable.~~
[ ] I have updated the release notes.
[ ] I have made corresponding changes to the documentation.
[ ] I have added debugging support to my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have confirmed new and existing unit tests pass locally with my changes.
[ ] I have added new baselines for any new tests to the repo.
[x] I have NOT made any changes to protocol or public interfaces in an RC branch.~~
[x] I have assigned reviewers (see VisIt's PR procedures for more information).~~

Ok, got more than I bargained for in this cherry-pick. We will do momentarily

Ok, I had it merging to develop instead of 3.3RC. Fixed now. Ready for review.

Ok, I accidentally cherr-picked this directly to develop in https://github.com/visit-dav/visit/commit/a1801db513d1715b9086018bdddcc7a001dae72f without a PR. Sorry about that.


ReactNativeAudioPlayer.play got 2 arguments, expected 3

When doing this...
<Player url={"http://lacavewebradio.chickenkiller.com:8000/stream.mp3"} />
I get the error: ReactNativeAudioPlayer.play got 2 arguments, expected 3
Could you also guide me on how to setup audio controls from notifications on Android.
It seems when switching apps the audio just stops playing, Is there a certain setup in order to enable background play and notification tray controls?

Hello!
You need to set the 3rd argument of the function which is the callback function for when the player has started or not. It will return "OK" when the player started, and "ERROR" when it can't play the file.
About the notifications controls, it's not supported in this library, I made this only for a freelancer project I was working on. It's not actively maintained.
If you'd like, you could fork it and continue the development for your needs.
o/


Sync built-in Traditional Chinese promt with upstream

Reference:

https://github.com/PlexPt/awesome-chatgpt-prompts-zh/pull/199

Thank you!


getBlockRandomness SBAT succeed on pending block even after addRandomness is called

Expected Behavior
A node should be able to call getBlockRandomness of the previous epoch's last block on the Random.sol smart contract on a pending epoch last block even after addRandomness is called.
NOTE:  This is a subtle and low priority bug and not currently affecting us.  In fact, adding a comment describing this subtle bug in the getBlockRandomness and the addRandomness is probably sufficient.
Current Behavior
addRandomness will delete the randomness of the previous block's last block when it's called on a pending block (https://github.com/celo-org/celo-monorepo/blob/master/packages/protocol/contracts/identity/Random.sol#L121).  That means that if getBlockRandomness is called again on that pending block, an exception will be thrown (https://github.com/celo-org/celo-monorepo/blob/master/packages/protocol/contracts/identity/Random.sol#L184).
This is related to this issue:  https://github.com/celo-org/celo-blockchain/issues/999

@kevjue Can you maybe expand on what the bug here is? IMO the contract works as expected, and the call should be made with historical state trie?

@kevjue Can you maybe expand on what the bug here is? IMO the contract works as expected, and the call should be made with historical state trie?


Change WebSharper output to TypeScript

So far, in all pre-4.0 and Zafir (4.0 alpha+beta+RC) releases, WebSharper generated JavaScript from F# (and with Zafir also C#) code.  In addition to this, 3.x releases were capable of generating TypeScript declaration files (.d.ts) for WebSharper libraries and extensions, and also consume TypeScript declaration files to generate WebSharper extensions.
In order to strengthen the F#/C#-TypeScript-JavaScript interoperability and enable new innovative integrations (webpack, etc.), we would like to switch to generating TypeScript as a standard output format for WebSharper projects.
This ticket is a placeholder to document the main TODOs and the ways this change will affect the generated code and its use.

Work plan:

Add module import/export support to packager. Each project still will produce a single .ts and will act as a TS module.
Fix up minimal syntax differences, for example optional arguments have to be marked on definition so that they could be omitted at call.
Convert class definitions to use TS class, expose interfaces too. This needs some constructor call convention changes because TS only allows a single implementation for a class constructor.
Add type signatures for all public members. This will require some redirection from WebSharper's JS/DOM classes to their standard TS type names, also custom logic for every type that WS translates specially (function interop types, erased unions).

Details on constructor tranlation: for this definition
type MyType(x: int) =
    new() = MyType(2)

WebSharper currently emits this:
 MyType=M.MyType=Runtime.Class({},null,MyType);
 MyType.New=Runtime.Ctor(function()
 {
  MyType.New$1.call(this,2);
 },MyType);
 MyType.New$1=Runtime.Ctor(function(x)
 {
 },MyType);

So there is multiple constructors, class prototype is at MyType but instances are created with either new MyType.New() or  new MyType.New$1(x).
TS does not support constructor overloading like this, multiple constructors for a single class. the only thing it can do is a single constructor implementation, and multiple constructor signatures, all of which must be compatible with the implementation.
So the implementation could take an additional string to disambiguate the overload. String literals can be used as types, so output would look something like this:
    constructor(i: '0', x: int);
    constructor(i: '1');
    constructor(i: string, x) {
        switch (i) {
            // ...
        }
    }

This gives nice code service support, and full safety when writing TS against WS output.
Activator needs to be changed to use Object.create instead of calling the default object copier that current Runtime.Class creates.

On module generation by the packager: all common namespace path would be removed.
For example WebSharper.UI.Next defines all its types/functions within that namespace. Currently output sets it all up at window.WebSharper.UI.Next.
TS would create a module that never contains a single top level namespace as is recommended, but moved up. So consuming it would be
import { UIN } from "./WebSharper.UI.Next";

where UIN is a recommended short name, set by a new feature, using Name attribute on the assembly level.

Follow ups:
Use more types/syntax for cleaner output and better interoperability.

let instead of var, => instead of function for better scoping without current fixers for block and this scoping.
TS generators and async instead of custom state machine generation.
use Promises for Tasks and F# asyncs (latter could have type CancellationToken => Promise<T>). inside the Promise constructor they would still use a round-robin scheduler as currently to avoid hangups.

Progress is on ts-output branch.
My original idea was that I can have mostly correct TS output by converting to export/import and using namespaces. But there is still a lot of red because classes are still defined with WS custom logic, so they are objects, and there is no way to merge objects with namespaces (having them use the same name). It is fine with TS classes and namespaces, so I'm moving on to do the writer for TS-style classes.

Current status:

Namespaces and classes are using TS constructs
Class constructors use translation as above for overloaded .NET constructors, needs fixes for calling another constructor of current type and copy constructors used by F# unions/records and RPC result activator.
Class fields and abstract method signatures are exposed.

Current goals:

Fix chained constructors
Generate constructors for F# unions/records and use Object.create inside Activator
Mark all optional parameters properly
Avoid emitting unreachable code

All projects compile, TS output needs fixes.
Biggest one is that packager needs to use dependency graph to better explore all .js resources that has to be imported.
Syntax errors:
Operator '===' cannot be applied to types '3' and '"3"'.
Operator '!=' cannot be applied to types '"foo"' and '"bar"'.

Literals are their own types, so operators are not allowed even between 2 strings if they are different. Solution is to optimize these away to true/false by evaluating the statically known expression.

Unused label.

Same as statements, unused stuff for some reason are not just a warning but error in TS, so it needs to be eliminated. Async state machine transformer shares basic logic with sequence generator, creates a label for top loop but does not need it (returns the task object instead).

Constructors for derived classes must contain a 'super' call.
'super' must be called before accessing 'this' in the constructor of a derived class.

Solvable by rearranging how extra stuff is written into constructor bodies

A namespace declaration cannot be located prior to a class or function with which it is merged.

Solvable by first emitting all class definitions (instance parts + constructor) then all statics (these can grouped by namespace so there is no more jumping between namespaces)

Property '_v' does not exist on type 'typeof WebSharper$Web$Tests_JsonEncoder'.

JSON macro also has to emit a field declaration where it is storing pre-calculated functions.

Down to 11 syntax errors on all output of WS solution. And it is only 4 different cases:
Cannot invoke an expression whose type lacks a call signature. Type 'void' has no compatible call signatures.

In some tests there is an inner lambda that deliberately fails (confirming that lambda is not called). But it is inside a curried lambda, and the inner one returns void by TS type inference, so applying it as a function then fails.

Expected 0 arguments, but got 1.

Only on calls to WebSharper.Testing.Random.Natural. It is a generic module value, should be called with just (), maybe FCS gets confused about passing generic type parameter.

Cannot invoke an expression whose type lacks a call signature. Type 'typeof String' has no compatible call signatures.

Because a namespace named String is in scope. When namepsace names would collide with standard library stuff, local name should be renamed then exported with an alias.

Cannot find name 'StubTest'.

Packager should recognize stub declarations, that while they are inside current assembly, they are not adding any code, so needs to be translated to just declares.

Current challenge is to have all tests run correctly, this still needs some smarter naming to create aliases for outside global objects when a namespace/class/var/function name would shadow it.
For example this is currently failing:
module String =
    let myToChar (x: int) = char x

because it translates to
export namespace String {
  export function myToChar(x) {
    return String.fromCharCode(x);
  }
}

where the outside String object is shadowed by the namespace name. Aliases where needed can solve this, resolved in such a way that there are no naming collisions with any public fixed name.

TypeScript code generator will have 2 settings for using import/export or just references. The latter can be used so we have full compatibility with current Sitelets logic. So that would be the recommended way to do multi-page applications. For SPAs (including packaged applications, like Cordova apps) the option to write modules will be more useful as tools like webpack can be used to bundle the site/app.

TS output now runs without regression from master.
Next steps:

Alternate modes for packager to write .ts files using triple-slash references (good for Sitelets compatibility) and modules (good for bundles and exposing WebSharper-generated code for larger TS projects).
Write code files only on unpacking, using config. Do not overwrite output files when the .dll has an older timestamp than already existing .ts and config is the same. Doing  https://github.com/intellifactory/websharper/issues/798 first can help, then there is also a timestamp on the .config file that unpacker can check.

Currently adding signatures. Challenges:

Interfaces has to be exposed.
Proper use of generics. In first implementation, translated type parameters will always be named T0, T1, ... and an extra rule in name resolver makes sure that no other identifiers take this form.
Type parameter constraints need to be translated, for example 'T when 'T :> System.IEquatable<'T> to <T0 extends WebSharper.IEquatable<T0>>
Internal casts has to be translated. For example while the As function was entirely erased in .js output, (having Inline "$x"), now it will need support for casting (Inline "$x as T0"). It would be better that while translating inlined casts, unnecessary ones (TS target type are the same or compatible) are removed.
Fix typing of static module values. Containing field should be untyped as is private and should be not exported, access functions should have return type annotations.


Added More Languages

Added JSREPL languages, this could be used to resolve issues #1 and #2

Does this work? The documentation still indicates that only JavaScript is supported.


Add support for materialization and call blocks

feat: support materialization, call statement blocks
fix: reset sql depth after some jinja blocks
chore: update primer refs

closes #318

closes #309


[FLINK-6608] [security, config] Relax Kerberos login contexts parsing

This PR allows whitespaces in the list of configured Kerberos login contexts.
It generally covers some over scenarios as well (covered in the additional parsing test in SecurityUtilsTest).

Thanks for the reviews @sunjincheng121 @EronWright.
I personally prefer to stick with the regex approach. But really either way is fine :)
Don't really expect any test errors on this, but doing one final run just to be safe, and then merging.

+1 to merged.

Merging to 1.3 and master


bug in medoo build query

Hello everyone!
I has a bug with build query, example
$time = time();

self::$db->debug()->update('realty', [
	'preview_image' => 'some hash',
	'last-update-date' => $time
], [
	'AND' => [
		'user_id' => 1,
		'realty_number' => 1,
		'last-update-date[!]' => $time
	],
	'LIMIT' => 1
]);

this call has wrong query result:
UPDATE "realty" SET "preview_image" = 'some hash', "last-update-date" = '1432049999' WHERE "user_id" = 1 AND "realty_number" = 1 AND "last" =<PHONE_NUMBER> LIMIT 1

medoo I really like, but I found an another bug:
the medoo builded query
SELECT "preview_image" FROM "realty" WHERE "user_id" = 1 AND "realty_number" = 1 LIMIT 1

has error "#1064 - You have an error in your SQL syntax;"
because need replace double quote to reverse single quote - "`"
example:
SELECT `preview_image` FROM `realty` WHERE `user_id` = 1 AND `name` = 'first name' LIMIT 1

this query works fine
I really hope to help
I like Medoo, and I would not want to give it up!
God work!

Hello! Very quickly fix! Thanks!
What about replace double quote for sql column?
SELECT "preview_image" FROM "realty" ...

to
SELECT `preview_image` FROM `realty` ...

@Drive4ik This is not a bug. Medoo is using standard SQL quote to be compatible for other SQL database. You can notice that we set SET SQL_MODE=ANSI_QUOTES for MySQL in initialization.
And why you execute the Medoo generated query alone, while Medoo can generate and execute itself correctly?

Maybe, you misunderstood me.
I use the power of Medoo to maximum, and i like it.
Thanks for explanation for SET SQL_MODE=ANSI_QUOTES, i see this code.
Sorry, my english is bad..
Regards, @Drive4ik


Advanced Paste with other AI options

Description of the new feature / enhancement
I'm not a paid member of OpenAI so I cannot use AI for advanced paste.
However, there are also many other LLM models (Mistral, ...) for free, and I think it is necessary to add options for other AI models.
I use ollama which runs LLM on my personal computer, which I hope to be integrated into the advanced paste.
Scenario when this would be used?
It would be a nice feature for who can't pay for OpenAI or cannot access OpenAI due to the great firewall (in CN you know).
Also, I think ollama is a good option for users who want to keep their privacy, because it is run locally.
Supporting information
Thank you for your attention and I can provide additional information if you need~ :D

The current AI implantation should be reworked to operate in a more pluggable manner to allow for this. Work on this feature could also be paired up with #34526 as that code would be refactored in the process.

/dup #32960


myObject

// add the behavior system to any object (e.g. a sprite)
behaviorPlugin.enable(myObject)

It seems myObject  not defined

It's just an example :)


Normalize journal names in references

In the workflow, we currently run the journal name normalization for the publication_info of the record, but we don't do this for the references. This is not needed for arXiv as references are coming from refextract which are already normalized, but it's required for references coming from publisher metadata. So we need to perform journal name normalization of references in case they didn't come from refextract.

There is already a task in workflows which is doing this  but it's processing only entries from wf.data['publication_info'] publication_info it should be extended to also process publication_info from wf.data["references"].


move handling of boom and joi errors before error logging occurs

moves the conversion of Boom and Joi errors to json responses to before the error logger is called.  This allows airbrake notification to be in the errLogger function and only true errors will be sent to airbrake.
fixes #8
@flintinatux @tecnobrat

👍

🚢


Jest configuration problem

I'm adding Jest Testing framework to my React Native project that has lot of native dependencies. I'm getting the following error:
Failed to get mock metadata: /Users/me/Documents/Development/project/node_modules/global/window.js

My test file looks like this:
import 'react-native'
import React from 'react'
import { MyComponent } from '../components/MyComponent'

import renderer from 'react-test-renderer'

it('renders correctly', () => {
  const tree = renderer.create(<MyComponent />).toJSON()
  expect(tree).toMatchSnapshot()
})

And also the Jest configuration in my package.json:
"jest": {
    "preset": "jest-react-native",
    "testPathIgnorePatterns": ["/node_modules/", "/example/", "/lib/"],
    "testRegex": "(/tests/.*|\\.(test|spec))\\.(js|jsx)$",
    "automock": "true",
    "unmockedModulePathPatterns": [ "lodash" ],
    "transformIgnorePatterns": [
      "node_modules/(?!@exponent/ex-navigation",
      ")"
    ]
  }

I had a look over  http://facebook.github.io/jest/docs/manual-mocks.html#content as suggested on the error prompted.

Please don't turn on automocking by default with the jest-react-native preset. That won't work well!
Also, once you upgrade to 0.38, just drop "jest-react-native" and set the preset to "react-native" :)


updated documentation: build status for Rolling

updated README.md release table: rolling releases for ubuntu jammy

Codecov Report

Merging #266 (6e4c046) into master (3e5e219) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
- Coverage   64.60%   64.51%   -0.10%
==========================================
  Files          16       16
  Lines        2187     2187
  Branches      647      647
==========================================
- Hits         1413     1411       -2
- Misses        459      460       +1
- Partials      315      316       +1

Impacted Files
Coverage Δ

rclc/src/rclc/action_goal_handle.c
59.87% <0.00%> (-1.28%)
:arrow_down:

Continue to review full report at Codecov.

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

https://answers.ros.org/question/397215/no-rule-to-make-libpython-when-using-rosidl_generate_interfaces-dependencies/

@ralph-lange @pablogs9 The build job CI RCLC Rolling fails because rti_connext_dds_cmake_module fails. Any ideas?
CMake Warning at cmake/rti_build_helper.cmake:380 (message):
    no CONNEXTDDS_DIR nor NDDSHOME specified
  Call Stack (most recent call first):
    cmake/rti_build_helper.cmake:554 (rti_load_connextddsdir)
    CMakeLists.txt:25 (rti_find_connextpro)

  -- Invalid CONNEXTDDS_DIR = ''
  -- RTI Connext DDS Professional: NOT FOUND
  -- Invalid CONNEXTDDS_DIR = ''
  -- Invalid RTIMEHOME = ''
  -- RTIMEHOME not found
  -- RTI Connext DDS Micro: NOT FOUND
  -- no environment hook generated
  -- Found ament_lint_auto: 0.11.4 (/opt/ros/rolling/share/ament_lint_auto/cmake)
  Traceback (most recent call last):
    File "/opt/ros/rolling/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 22, in <module>
      from catkin_pkg.package import parse_package_string
    File "/usr/lib/python3/dist-packages/catkin_pkg/package.py", line 44, in <module>
      from catkin_pkg.condition import evaluate_condition
    File "/usr/lib/python3/dist-packages/catkin_pkg/condition.py", line 17, in <module>
      import pyparsing as pp
  ModuleNotFoundError: No module named 'pyparsing'
  CMake Error at /opt/ros/rolling/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
    execute_process(/usr/bin/python3.9
    /opt/ros/rolling/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
    /__w/rclc/rclc/ros_ws/src/ros2/rmw_connextdds/rti_connext_dds_cmake_module/package.xml
    /__w/rclc/rclc/ros_ws/build/rti_connext_dds_cmake_module/ament_cmake_core/package.cmake)
    returned error code 1
  Call Stack (most recent call first):
    /opt/ros/rolling/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
    /opt/ros/rolling/share/ament_lint_auto/cmake/ament_lint_auto_find_test_dependencies.cmake:31 (ament_package_xml)
    CMakeLists.txt:79 (ament_lint_auto_find_test_dependencies)

  -- Configuring incomplete, errors occurred!
  See also "/__w/rclc/rclc/ros_ws/build/rti_connext_dds_cmake_module/CMakeFiles/CMakeOutput.log".
  See also "/__w/rclc/rclc/ros_ws/build/rti_connext_dds_cmake_module/CMakeFiles/CMakeError.log".
  ---
  --- stderr: rti_connext_dds_cmake_module
  CMake Warning at cmake/rti_build_helper.cmake:380 (message):
    no CONNEXTDDS_DIR nor NDDSHOME specified
  Call Stack (most recent call first):
    cmake/rti_build_helper.cmake:554 (rti_load_connextddsdir)
    CMakeLists.txt:25 (rti_find_connextpro)

  Traceback (most recent call last):
    File "/opt/ros/rolling/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 22, in <module>
      from catkin_pkg.package import parse_package_string
    File "/usr/lib/python3/dist-packages/catkin_pkg/package.py", line 44, in <module>
      from catkin_pkg.condition import evaluate_condition
    File "/usr/lib/python3/dist-packages/catkin_pkg/condition.py", line 17, in <module>
      import pyparsing as pp
  ModuleNotFoundError: No module named 'pyparsing'
  CMake Error at /opt/ros/rolling/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
    execute_process(/usr/bin/python3.9
    /opt/ros/rolling/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
    /__w/rclc/rclc/ros_ws/src/ros2/rmw_connextdds/rti_connext_dds_cmake_module/package.xml
    /__w/rclc/rclc/ros_ws/build/rti_connext_dds_cmake_module/ament_cmake_core/package.cmake)
    returned error code 1
  Call Stack (most recent call first):
    /opt/ros/rolling/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
    /opt/ros/rolling/share/ament_lint_auto/cmake/ament_lint_auto_find_test_dependencies.cmake:31 (ament_package_xml)
    CMakeLists.txt:79 (ament_lint_auto_find_test_dependencies)

  ---
  Failed   <<< rti_connext_dds_cmake_module [0.87s, exited with code 1]

created an issue regarding missing pyhton3.9 for Ubuntu rolling
https://github.com/osrf/infrastructure/issues/11

Re-running build job on Open Robotics build farm is fine, but the Github Action CI job still fails on Rolling.
Summary: 6 packages finished [41.2s]
    1 package failed: rmw_fastrtps_shared_cpp
    1 package aborted: rcl_yaml_param_parser
    4 packages had stderr output: rmw_connextdds_common rmw_fastrtps_shared_cpp rmw_implementation_cmake rti_connext_dds_cmake_module
    10 packages not processed
Error: The process '/usr/bin/bash' failed with exit code 2

https://github.com/ros2/rclc/runs/5661073739?check_suite_focus=true

Error on Open Robotics build farm due to unit test of ActionClientTest:
11:55:25 1: [----------] 7 tests from ActionClientTest
11:55:25 1: [ RUN      ] ActionClientTest.goal_accept
11:55:25 1: terminate called after throwing an instance of 'std::bad_function_call'
11:55:25 1:   what():  bad_function_call
11:55:25 1: -- run_test.py: return code -6
11:55:25 1: -- run_test.py: generate result file '/tmp/ws/test_results/rclc/rclc_test.gtest.xml' with failed test
11:55:25 1: -- run_test.py: verify result file '/tmp/ws/test_results/rclc/rclc_test.gtest.xml'
11:55:25 1/6 Test #1: rclc_test ........................***Failed   14.95 sec

@pablogs9
Github Action CI RCLC build job also fails because of similar errror:
  1: [----------] 7 tests from ActionServerTest
  1: [ RUN      ] ActionServerTest.goal_accept
  1: -- run_test.py: return code -11
  1: -- run_test.py: generate result file '/__w/rclc/rclc/ros_ws/build/rclc/test_results/rclc/rclc_test.gtest.xml' with failed test
  1: -- run_test.py: verify result file '/__w/rclc/rclc/ros_ws/build/rclc/test_results/rclc/rclc_test.gtest.xml'
  1/6 Test #1: rclc_test ........................***Failed   12.97 sec

https://github.com/ros2/rclc/runs/5674993675?check_suite_focus=true
Maybe something is different for ubuntu:jammy now regarding the ActionServer or ActionClient? Could you check?

I'm going to take a look

No prob found building in an up to date Rolling docker with:
 root@b69c267d2131:/ws# colcon build --cmake-args -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug
...
root@b69c267d2131:/ws# ./build/rclc/rclc_test --gtest_filter=ActionClientTest.*
Note: Google Test filter = ActionClientTest.*
[==========] Running 7 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 7 tests from ActionClientTest
[ RUN      ] ActionClientTest.goal_accept
[       OK ] ActionClientTest.goal_accept (17 ms)
[ RUN      ] ActionClientTest.goal_reject
[       OK ] ActionClientTest.goal_reject (15 ms)
[ RUN      ] ActionClientTest.goal_accept_feedback_and_result
[       OK ] ActionClientTest.goal_accept_feedback_and_result (113 ms)
[ RUN      ] ActionClientTest.goal_accept_feedback_and_abort
[       OK ] ActionClientTest.goal_accept_feedback_and_abort (112 ms)
[ RUN      ] ActionClientTest.goal_accept_cancel_success
[       OK ] ActionClientTest.goal_accept_cancel_success (111 ms)
[ RUN      ] ActionClientTest.goal_accept_cancel_reject
[       OK ] ActionClientTest.goal_accept_cancel_reject (116 ms)
[ RUN      ] ActionClientTest.multi_goal_accept_feedback_and_result
[       OK ] ActionClientTest.multi_goal_accept_feedback_and_result (113 ms)
[----------] 7 tests from ActionClientTest (598 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test suite ran. (598 ms total)
[  PASSED  ] 7 tests.

Do you have any idea on how to replicate locally?

@pablogs9 "Do you have any idea on how to replicate locally?" Are you using the docker container ubuntu:jammy?

I have replicated the environment in a Jammy and installing Rolling like it is installed in the Github action:
root@964a49307217:/ws# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Jammy Jellyfish (development branch)
Release:        22.04
Codename:       jammy
root@964a49307217:/ws# ./build/rclc/rclc_test --gtest_filter=*Action*
Note: Google Test filter = *Action*
[==========] Running 14 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 7 tests from ActionServerTest
[ RUN      ] ActionServerTest.goal_accept
[       OK ] ActionServerTest.goal_accept (197 ms)
[ RUN      ] ActionServerTest.goal_reject
[       OK ] ActionServerTest.goal_reject (272 ms)
[ RUN      ] ActionServerTest.goal_accept_feedback_and_result
[       OK ] ActionServerTest.goal_accept_feedback_and_result (472 ms)
[ RUN      ] ActionServerTest.goal_accept_feedback_and_abort
[       OK ] ActionServerTest.goal_accept_feedback_and_abort (305 ms)
[ RUN      ] ActionServerTest.goal_accept_cancel_success
[       OK ] ActionServerTest.goal_accept_cancel_success (394 ms)
[ RUN      ] ActionServerTest.goal_accept_cancel_reject
[       OK ] ActionServerTest.goal_accept_cancel_reject (284 ms)
[ RUN      ] ActionServerTest.multi_goal_accept_feedback_and_result
[       OK ] ActionServerTest.multi_goal_accept_feedback_and_result (462 ms)
[----------] 7 tests from ActionServerTest (2386 ms total)

[----------] 7 tests from ActionClientTest
[ RUN      ] ActionClientTest.goal_accept
[       OK ] ActionClientTest.goal_accept (162 ms)
[ RUN      ] ActionClientTest.goal_reject
[       OK ] ActionClientTest.goal_reject (149 ms)
[ RUN      ] ActionClientTest.goal_accept_feedback_and_result
[       OK ] ActionClientTest.goal_accept_feedback_and_result (250 ms)
[ RUN      ] ActionClientTest.goal_accept_feedback_and_abort
[       OK ] ActionClientTest.goal_accept_feedback_and_abort (251 ms)
[ RUN      ] ActionClientTest.goal_accept_cancel_success
[       OK ] ActionClientTest.goal_accept_cancel_success (249 ms)
[ RUN      ] ActionClientTest.goal_accept_cancel_reject
[       OK ] ActionClientTest.goal_accept_cancel_reject (252 ms)
[ RUN      ] ActionClientTest.multi_goal_accept_feedback_and_result
[       OK ] ActionClientTest.multi_goal_accept_feedback_and_result (251 ms)
[----------] 7 tests from ActionClientTest (1564 ms total)

[----------] Global test environment tear-down
[==========] 14 tests from 2 test suites ran. (3950 ms total)
[  PASSED  ] 14 tests.

Then, I don't know

I'll try using pre-release ROS 2 binaries:
https://github.com/ros-tooling/setup-ros#Use-pre-release-ROS-2-binaries-for-testing


Unable to boot ubuntu cloud-image with HAX enabled.

I'm trying to load Ubuntu bionic cloud image with QEmu and HAX acceleration.
Usually the image loads correctly, while once HAX is enabled the boot hangs without any details.
QEMU version: v4.1.0-11789-g013a2ecf4f-dirty
QEMU command line: qemu-system-x86_64  -d guest_errors -m 1024 -drive file=cloud_image.qcow2,if=virtio  -no-acpi -no-hpet -display gtk  -boot c -drive file=cloud-init.iso,media=cdrom  -serial stdio -machine accel=hax
OS Host: Windows 10 64bit : Hyper-V disabled (VT support -- yes; NX support -- yes)
OS Guest: Linux 4.15.0-72-generic #81-Ubuntu x86_64
On output I just see: "HAX is working and emulator runs in fast virt mode." and nothing more.

@mdepa ,thanks for reporting the issue.We just verified the ubuntu generic 16.04 LTS version, it can boot up successfully. Could you try other versions of ubuntu image for bisect purpose?Or share us your haxm version, Ubuntu image/iso/qcow2 file? Thanks.

Ciao  @wayne-ma,
I confirm your experience: I've switched to using the xenial image and it works.
I've tested both xenial images:

xenial-server-cloudimg-amd64-disk1.img
xenial-server-cloudimg-amd64-uefi1.img

The offending bionic image is:
https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img

Hi @mdepa ,we just verified your shared bionic cloud image with haxm. It also can boot up to the login window. Could you double confirm and wait for more time when launching the ubuntu guest?
Cmd line for your reference,
'qemu-system-x86_64 -d guest_errors -m 1024 -drive file=C:\Users\sdkot\Downloads\bionic-server-cloudimg-amd64.img,if=virtio -no-acpi -no-hpet -display gtk -boot c -drive file=C:\HAXM\qemu\temp\user-data.img,media=cdrom -serial stdio -machine accel=hax '

Ciao @wayne-ma ,
unfortunately I confirm the behaviour: I've tested my original image dated 06122019 and also the most recent ones dated 09122019 and 11122019 and in all cases the execution hangs immediately after  "HAX is working and emulator runs in fast virt mode.".
Reverting the system back to using xenial solve the issue.

@mdepa ,Good to know the xenial version solve the issue.So is it still a blocker for you now?If not, i will close this issue later.

Well, I'd like to use the bionic cloud-image 'cause kubernetes and docker are better integrated.
Actually to use xenial I've to hack the cloud-init user data scripts.
Anyhow it's not blocking.
If you'd like to investigate why the hax hang I'm always available to experiment with it.

Hi @mdepa ,we double checked the cloud image, it did boot up successfully on our side. So i wonder could you try again with the image&cmd i provided above ,or share us your cloud image including the init image you used.

Hi @mdepa ,we double checked the cloud image, it did boot up successfully on our side. So i wonder could you try again with the image&cmd i provided above ,or share us your cloud image including the init image you used.

Close the issue here as the Ubuntu cloud-image could bootup with HAXM.


fix: Silence errors when closing a file of a downloaded orb

We still see the problem when the user do a CTRL on the orb name: vscode will run a diagnostic and display the issues of the orb.


Mat4.look_at not as expected

I started with the example/openGL
I noticed instead of using the look_at to set the view matrix, the example used:
window.view = Mat4.from_translation(Vec3(0, 0, -5))
I tried to get the same result using:
window.view = Mat4.look_at(Vec3(0, 0, -5), Vec3(0, 0, 0), Vec3(0, 1, 0))
But it didn't match.  I tried some other cases and also tried comparing with Euclid Matrix4.new_look_at().transposed(). If I create simple camera positions with translate and rotate, they match the Euclid look_at matrix, but not the Mat4.look_at.
Please let me know if I have the wrong idea on how the look_at should work.
test_Mat4.zip

This method was a fairly recent addition, and as you pointed out is not being used internally in pyglet (or the examples) yet.
I think the intention of this method was to mimic what something like GLM produces, so for good measure we should give this a check against PyGLM.

https://glm.g-truc.net/0.9.5/api/a00176.html#ga454fdf3163c2779eeeeeb9d75907ce97
I'm not sure if PyGLM have implemented look_at (yet).

It looks like they have. I did a quick comparison, and it does confirm that pyglet's implementation is off.
>>> v1 = 0, 0, -5
>>> v2 = 0, 0, 0
>>> v3 = 0, 1, 0
>>>
>>> pm = Mat4.look_at(Vec3(*v1), Vec3(*v2), Vec3(*v3))
>>> print(list(pm))
[-1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 5.0, 1.0]
>>>
>>> gm = glm.lookAt(glm.vec3(*v1), glm.vec3(*v2), glm.vec3(*v3))
>>> print([e for sublist in gm.to_list() for e in sublist])
[-1.0, 0.0, -0.0, 0.0, 0.0, 1.0, -0.0, 0.0, 0.0, -0.0, -1.0, 0.0, -0.0, -0.0, -5.0, 1.0]
>>>
>>> em = euclid.Matrix4.new_look_at(euclid.Vector3(*v1), euclid.Vector3(*v2), euclid.Vector3(*v3))
>>> print([float(e) for e in list(em)])
[-1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, -5.0, 1.0]

Ah nice. Definitely keeping them indentical is a good idea.

@gizmoore This should now be fixed in master. Can you let us know how it goes?
Mat4.look_at should now function the same as glm.lookAt (with some small differences due to float precision).
I also updated the examples/3dmodel/model.py example to use this method. It's not "interactive", but might be useful as a starting point for someone.

@gizmoore This should now be fixed in master. Can you let us know how it goes? Mat4.look_at should now function the same as glm.lookAt (with some small differences due to float precision).
I also updated the examples/3dmodel/model.py example to use this method. It's not "interactive", but might be useful as a starting point for someone.

This works great now, thanks for fixing so quickly.


task/exec: Add option to retry for exec task

retry and sleep_for_retry options can be used with exec task without
needing to use lengthy shell based while loops for similar
task(with chances of infinite loop). Also adds timeout option
for commands that can be used to return within specified time.
Signed-off-by: Vasu Kulkarni<EMAIL_ADDRESS>

@rakeshgm when you get a chance, please review this!

@vasukulkarni ping, any plans to finish this effort?

@rakeshgm can you take over this one? ping me on chat

still no progress here

still no progress here

We have new fixes, will ask @rakeshgm to wrap up this one.

@rakeshgm @vasukulkarni I don't see comments are addressed, are you still interested in this, or we can close it?

@kshtsk I think we need this. but I am slightly busy. will take some time to work on this. sorry for the delay

I think we can close this, and if someone needs it we can reopen?

I think we can close this, and if someone needs it we can reopen?

Reasonable if you consider how many years it has been languishing. Just because a PR is closed doesn't mean it can't be reopened later...


problems about train/test error and random seed

Hello Yaolong, I have some problems when using EANN to train an intermolecular potential and I would like to consult you for your advice.
First, I found that in my training case (water clusters: dimer trimer tetramer and pentamer, randomly splited trainset:testset = 9:1), the energy error of testing set is always lower than that of the training set, and this confuses me and I am not sure when I should stop to prevent overfitting. Could you explain to me why this will happen? (I gave a picture of the error log below.)
Second, I plan to train several parallel models and I think I may set different random seed to initialize neural network parameters, but I could not find where I could set. Could you tell me how can I set it or is there some alternative ways to train independent parallel models?

Hello, I'm very sorry for replying to you so late. Which code are you using? Still fortran code?

Never mind~ I am using the pytorch version.
---- Replied Message ----
| From | @.> |
| Date | 11/30/2023 06:31 |
| To | zhangylch/EANN @.> |
| Cc | plumbum082 @.>,
Author @.> |
| Subject | Re: [zhangylch/EANN] problems about train/test error and random seed (Issue #2) |
Hello, I'm very sorry for replying to you so late. Which code are you using? Still fortran code?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Never mind~ I am using the pytorch version.
…
---- Replied Message ---- | From | @.> | | Date | 11/30/2023 06:31 | | To | zhangylch/EANN @.> | | Cc | plumbum082 @.>, Author @.> | | Subject | Re: [zhangylch/EANN] problems about train/test error and random seed (Issue #2) | Hello, I'm very sorry for replying to you so late. Which code are you using? Still fortran code? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

If you are using the torch version, you can switch to https://github.com/zhangylch/REANN. This used repo is a temperatory repo. The reason for this strange behaviour is that the training error is not the true error, but the average of the different batches in each epoch. For convenience, the code does not recalculate the error for the training dataset.
Regarding the initialisation of the NN parameters, I think the fact that you run the code at different times causes the NN parameters to be initialised differently. If I'm not mistaken, the seed depends on the time in the torch.

Okay, thanks for your reply! By the way, if I switch to REANN, is the training error the true error or is it the same with this EANN version?

same with the EANN version


haskellPackages.gcodehs,  haskellPackages.update-nix-fetchgit unbreak & maintain

Motivation for this change
Breakage removal and maintenance.
update-nix-fetchgit release landed just yesterday, seems to be picked by hackage2nix for me, feel free to drop the commit if it causes trouble.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@sorki Could you rebase this on top of haskell-updates?  I want to make sure that update-nix-fetchgit compiles correctly.

Sure! Done and also created  #91709.

Thanks, this builds too


How to implement the ground constraint by using GTSAM

Hi. Thank you for your great work.
I saw that in the source you also use the ground constraint to align Point Cloud with gravity.
I want to implement it in LIO-SAM by using GTSAM.
Do you have idea or convert it to the GTSAM instead of Ceres?
Thanks

Hi since we did not have experience with GTSAM, no further help could be offered. And currently no such plan.
You may directly refer to the official tutorial.


Sidenav closes sometimes when scrolled.

Hey, @Dogfalo !
This bug occurred on mobile phones? I can't reproduce this error :(

Scrolling is disabled when sidenav is open. Closing this old issue.


Update natural language parser

This PR updates the natural language parser to work with the 2018 spec. As noted in the EDTF docs,

This specification differs from the earlier draft as follows:

the unspecified date character (formerly lower case ‘u’) is superseded by the character (upper case) 'X';
Masked precision is eliminated;
the uncertain and approximate qualifiers, '?' and '~',  when applied together, are combined into a single qualifier character '%';
“qualification from the left” is introduced and replaces the grouping mechanism using parentheses;
the extended interval syntax  keywords 'unknown' and 'open' have been replaced with null and the double-dot notation ['..'] respectively;
the year prefix 'y' and the exponential indicator 'e', both previously lowercase, are now 'Y' and 'E' (uppercase); and
the significant digit indicator 'p' is now 'S' (uppercase).

Checklist for the PR:

[x] Replace the unspecified date character u with X
[x] Remove masked precision
[x] Combine ?~ into % for uncertain + approximate
[x] Use qualification from the left rather than parentheses for grouping
[x] Replace unknown with null syntax in intervals
[x] Replace open with .. syntax syntax in intervals
[x] Replace y, e, and p with Y, E, and S syntax for exponential years and significant digits

@aweakley do you want to remove the old parentheses grouping examples from BAD_EXAMPLES here? Those are from the old spec.
I don't see any code for the old open syntax for intervals?

Not sure why the tests for this are permanently queued, but clicking into one shows that they have succeeded

Do the parentheses ones make things more complex? I quite like that it's clear from the tests that inputs like that will raise an error, but if it'll make our lives easier to get rid of them then I'm happy with that.

Do the parentheses ones make things more complex? I quite like that it's clear from the tests that inputs like that will raise an error, but if it'll make our lives easier to get rid of them then I'm happy with that.

Nope, they fail just fine as they currently are so I'm also happy to leave them.

Not sure why the tests are hanging but they look like they are passing if you click in.
I've updated the tests, specifically EDTF level 1 "Qualification of a date (complete)" dates. These parse as UncertainOrApproximate classes.

This looks great, thank you.


"An example of the comments" is not consistent with individual topics

Individual topics refer to a sample listing from CStdioFile class but the actual example shown is a part of CChildFrame class.

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

ID: 3672a55f-5a4f-0b81-ec8f-afe7f02a6a64
Version Independent ID: a482ae2c-c685-00be-4bdb-85baef045fe8
Content: Using the MFC Source Files
Content Source: docs/mfc/using-the-mfc-source-files.md
Product: visual-cpp
Technology: cpp-mfc
GitHub Login: @mikeblome
Microsoft Alias: mblome

@definedrisk I can't repro this. Looking at afx.h at (in my installation location) C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.23.28019\atlmfc\include\afx.h, the example does in fact show CStdioFile. Feel free to reopen if I'm missing something.


Enhancement #161 (Make Email address interactive)

What I did
Made email address field interactive by opening the respective email app the user selects, after tapping on the email address field.
How I did it
I used a flutter package url_launcher for the purpose. In the already provided GestureDetector widget for the email address field (custom_card.dart), in the onTap function, I used the prebuilt methods from the package to open the email app with the email address precomposed as soon as the user selects the app
How to verify it
For verification, just tap on the email address of the user, whose profile page you are on, currently. It opens an intent bottom sheet asking us to select the respective email app we want to use (get redirected to). Select Gmail (for example). It will open the selected app and we can see the recipient's field already composed with the same email address.
Description for the changelog
Made the email address field interactive by providing email app options for the users to select and get redirected to the selected app.

@nitesh2599 @sarika01 Please review this

@Ninad07 This is not working on iOS simulator.


No route matches [GET] "/assets/32px.png"

Hallo!
there was change from version 3.3.4 to 3.3.8 in defaults.css for example in route to background
3.3.4
...gems/ruby-2.6.2/gems/jstree-rails-4-3.3.4/vendor/assets/stylesheets/jstree-default.scss:514
.jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl {
  background: image-url("default/throbber.gif") center center no-repeat;
}

3.3.8
...gems/ruby-2.6.2/gems/jstree-rails-4-3.3.8/vendor/assets/stylesheets/jstree-default.scss:517
.jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl {
  background: url("throbber.gif") center center no-repeat;
}

causing error
Rack app error handling request { GET /assets/32px.png }
#<ActionController::RoutingError: No route matches [GET] "/assets/32px.png">

I got it during system test ...

Hey!
Nice catch
Seems like we forgot to upgrade script that copying assets https://github.com/kesha-antonov/jstree-rails-4/blob/1a6d4c8cadfe70eaa2909ee3724756b015763496/lib/jstree-rails-4/source_file.rb#L15

@Pepan Can you make PR with fixed script?

Fixed by PR https://github.com/kesha-antonov/jstree-rails-4/pull/6


Wrong temperature data from LYWSDCGQ/01ZM -  6547.6 °C

Hi!
Here is my cfg:
Home Assistant 0.117.5, os_name: Linux, os_version : 3.10.102, python_version : 3.8.6
Log from HA:

2020-12-07 07:03:43 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.core.gateway3] blt.3.150lep2l05o01 retain: {'temperature': 6546.5, 'humidity': 73.8, 'battery': 100}

Should be fixed in latest release

Ok :)

v0.10.4 helps?

No, another sensor has gone bad:
2020-12-08 07:08:36 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.core.gateway3] <IP_ADDRESS> | gateway <= {'online': True} 2020-12-08 07:08:36 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.core.gateway3] blt.3.150lep2l05o01 retain: {'temperature': 6545.9, 'humidity': 81.9, 'battery': 100} 2020-12-08 07:08:36 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.core.gateway3] blt.4.147r6fsfcgc00 retain: {'temperature': 6551.5, 'humidity': 44.1, 'battery': 100} 2020-12-08 07:08:36 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.core.gateway3] blt.3.147r8gg8g5c00 retain: {'humidity': 41.0, 'temperature': 21.9} 2020-12-08 07:08:36 DEBUG (Thread-3) [custom_components.xiaomi_gateway3.core.gateway3] blt.3.150l1ia4o5s00 retain: {'humidity': 37.7, 'temperature': 12.4, 'battery': 100}

Strange, but after a while the readings returned to normal...
[url=https://imgbb.com/][img]https://i.ibb.co/XsNZ8R4/scr.png[/img][/url]

Retain values loaded from gateway. They updated with next data from sensors.


Update Faraday Version to 0.9.0

I don't think you meant to lock it to 0.8.0.
0.9.x should be compatible here.
I would love to write some basic specs, but I fear there is a very high setup cost. May be able to get around to it later.
With extremely cursory hand testing, it looks like things work as expected.

This doesn't actually lock it to 0.9.x. It just locks it to anything less than 1.x.
This is the case because I specified 0.9 instead of 0.9.1 in the Gemfile. The ~> operator says "lock to the lowest version type specified.
From: http://bundler.io/v1.9/gemfile.html

The specifier ~> has a special meaning, best shown by example. ~> 2.0.3 is identical to >= 2.0.3 and < 2.1. ~> 2.1 is identical to >= 2.1 and < 3.0. ~> 2.2.beta will match prerelease versions like 2.2.beta.12.

Closing as I haven't heard anything and there are merge conflicts.