updating to use async/await syntax

makes it more readable

Coverage remained the same at 100.0% when pulling b582a143a4a6231de5f809a6c6d1c8cce7342b8b on pointtoken:master into b40cc55afe82e46197b975a8d7be426fc05011e2 on balassy:master.


refactor: use read transaction in rollback

This uses the ReadTransaction and AsyncLookup from previous work to remove the rollback thread pool. We should be able to load values at the speed of the drive now.
There's a little bit of a kludge with the traits used for mocking, but it's not exposed outside this module, so it should be fine. The alternative would be just to have a Box<ReverseDeltaFactory> and have a much coarser trait bound.
(note: though this is an earlier PR it's pretty downstack; I moved it after making some more changes)

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

#626  👈 (View in Graphite)
#625
master

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

Merge activity

Dec 23, 8:13 AM EST: A user started a stack merge that includes this pull request via Graphite.


Lower-case package level interfaces/DBClient

This was brought up during the reviews for #298. The idea is that since the DBClient interface defined by both core-data and core-metadata are used internally by those packages, their names should not be capitalized thus maintaining proper encapsulation.
@feclare wrote in response:
"The data and metadata interfaces are used in core/db/test. There are functions used in the tests of the db implementations, and they are using the data and metadata interfaces. This way we can use the same functions to test all the db implementations."
I looked at this, and we could overcome the problem by defining a dbClient interface within the core/db/test package itself instead of referring to those defined in core-data and core-metadata. This would be a third interface and on the surface looks redundant, but I believe this is the preferred way of doing things in Go. It would decouple the testing of the dbClient implementations from any interface constraints put on them by a third-party package.
If you disagree, let me know.
If you do agree, then you may find that you need to move the dbClient definition out of the ./interfaces directory and into core/data or core/metadata in order for it to be available to the whole package.

In this case it is clear to me that we need to use the same interface in the other package to have an unified way to test the db backends. And it needs to be the same interface because it is what core-data will use.
I understand the idea of decoupling the interface and packages implementing it. And I like it, but not to the point of making the software more complex that needed.
I would suggest to keep it as it is.

"And it needs to be the same interface because it is what core-data will use."
See, I think this is where the OO programming we've been used to fights with the Go-preferred way of doing things. I totally get where you're coming from.
I'm just going to leave this issue out here for discussion and so we can think about it some more.

Closing due to inactivity.


Update azure-hybrid-benefit-linux.md

Fixed the errors for AHBforSLES extension and licenseTypes for SLES.

@mathapli

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


YARN-10883. [Router] Router Audit Log Add Client IP Address.

JIRA: YARN-10883. [Router] Router Audit Log Add Client IP Address.
Yarn Federation Router Audit Log Need Client IP Address.
Now the log information is printed as follows:
2022-06-10 08:06:26,322 INFO  [main] router.RouterAuditLogger (RouterAuditLogger.java:logSuccess(89)) -
USER=test-user    OPERATION=Submit New App    TARGET=RouterClientRMService    RESULT=SUCCESS    APPID=application_1654873569440_0001    SUBCLUSTERID=2

The log of adding IP information is as follows:
2022-06-10 08:09:05,392 INFO  [main] router.RouterAuditLogger (RouterAuditLogger.java:logSuccess(89)) -
USER=test-user    IP=<IP_ADDRESS>    OPERATION=Submit New App    TARGET=RouterClientRMService    RESULT=SUCCESS    APPID=application_1654873732359_0001    SUBCLUSTERID=3

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 43s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
36m 59s

trunk passed

+1 :green_heart:
compile
0m 50s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 49s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 48s

trunk passed

+1 :green_heart:
mvnsite
0m 50s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 43s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 18s

trunk passed

+1 :green_heart:
shadedclient
20m 32s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 23s

the patch passed

+1 :green_heart:
mvnsite
0m 32s

the patch passed

+1 :green_heart:
javadoc
0m 28s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
0m 58s

the patch passed

+1 :green_heart:
shadedclient
19m 50s

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

_ Other Tests _

+1 :green_heart:
unit
3m  8s

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

+1 :green_heart:
asflicense
0m 50s

The patch does not generate ASF License warnings.

94m 15s

Subsystem
Report/Notes

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

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

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

uname
Linux b099159e9281 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/bin/hadoop.sh

git revision
trunk / 766db9506acaec3785621f500eec8b6222ce52a2

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

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

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

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

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

@goiri I found that the AuditLog of YARN-Federation has no IP information, I added the code in RouterAuditLogger.java. Please help to review the code, thank you very much!

@goiri I found that the AuditLog of YARN-Federation has no IP information, I added the code in RouterAuditLogger.java. Please help to review the code, thank you very much!

Hi, @goiri I found that the AuditLog of YARN-Federation has no IP information, I added the code in RouterAuditLogger.java. Please help to review the code, thank you very much!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m 48s

trunk passed

+1 :green_heart:
compile
0m 50s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 47s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 50s

trunk passed

+1 :green_heart:
mvnsite
0m 51s

trunk passed

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 43s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 22s

trunk passed

+1 :green_heart:
shadedclient
20m 41s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 31s

the patch passed

+1 :green_heart:
compile
0m 33s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 33s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 24s

the patch passed

+1 :green_heart:
mvnsite
0m 32s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
0m 57s

the patch passed

+1 :green_heart:
shadedclient
19m 54s

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

_ Other Tests _

+1 :green_heart:
unit
3m 14s

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

+1 :green_heart:
asflicense
0m 49s

The patch does not generate ASF License warnings.

95m 34s

Subsystem
Report/Notes

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

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

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

uname
Linux efb23a39b3a5 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/bin/hadoop.sh

git revision
trunk / ee0241c08a259328e87ff4ce67b6fa58390467d7

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

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

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

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

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

@goiri Please help me to review the code again, Thank you very much!

@goiri Please help me to review the code again, Thank you very much!

@goiri Please help me to review the code again, Thank you very much!

@goiri Please help me to review the code again, Thank you very much!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 54s

trunk passed

+1 :green_heart:
compile
0m 51s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 48s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 50s

trunk passed

+1 :green_heart:
mvnsite
0m 53s

trunk passed

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 18s

trunk passed

+1 :green_heart:
shadedclient
20m 41s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
compile
0m 27s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 27s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 22s

the patch passed

+1 :green_heart:
mvnsite
0m 28s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
0m 58s

the patch passed

+1 :green_heart:
shadedclient
19m 51s

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

_ Other Tests _

+1 :green_heart:
unit
3m 17s

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

+1 :green_heart:
asflicense
0m 51s

The patch does not generate ASF License warnings.

96m 43s

Subsystem
Report/Notes

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

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

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

uname
Linux d3d39e5f39d8 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/bin/hadoop.sh

git revision
trunk / e3eec29eb3797622ce522682421ff3acf366a00a

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

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

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

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

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

@goiri Please help me to review the code again, Thank you very much!

@goiri Can you help merge this pr to trunk branch? thank you very much.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
40m 44s

trunk passed

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 37s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 38s

trunk passed

+1 :green_heart:
mvnsite
0m 42s

trunk passed

+1 :green_heart:
javadoc
0m 47s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m  9s

trunk passed

+1 :green_heart:
shadedclient
23m 25s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 26s

the patch passed

+1 :green_heart:
compile
0m 28s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 28s

the patch passed

+1 :green_heart:
compile
0m 25s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 25s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 18s

the patch passed

+1 :green_heart:
mvnsite
0m 27s

the patch passed

+1 :green_heart:
javadoc
0m 25s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 22s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
0m 55s

the patch passed

+1 :green_heart:
shadedclient
22m 52s

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

_ Other Tests _

+1 :green_heart:
unit
3m 11s

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

+1 :green_heart:
asflicense
0m 41s

The patch does not generate ASF License warnings.

102m 18s

Subsystem
Report/Notes

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

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

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

uname
Linux 5c32f9110705 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a4960439068617952dcb0074704cdfd24fec67e3

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

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

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

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

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 31s

trunk passed

+1 :green_heart:
compile
0m 50s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 48s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 54s

trunk passed

+1 :green_heart:
mvnsite
0m 53s

trunk passed

+1 :green_heart:
javadoc
0m 56s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 46s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 21s

trunk passed

+1 :green_heart:
shadedclient
20m 50s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 33s

the patch passed

+1 :green_heart:
compile
0m 33s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 33s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 24s

the patch passed

+1 :green_heart:
mvnsite
0m 32s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
0m 58s

the patch passed

+1 :green_heart:
shadedclient
19m 49s

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

_ Other Tests _

+1 :green_heart:
unit
3m 18s

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

+1 :green_heart:
asflicense
0m 50s

The patch does not generate ASF License warnings.

96m 41s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4426/5/artifact/out/Dockerfile

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

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

uname
Linux 2d2a5210726e 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/bin/hadoop.sh

git revision
trunk / c3f3c32949fba412a4bb12f6de6d0b6b12b8e197

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4426/5/testReport/

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

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

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4426/5/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

@goiri Can you help to merge this pr into trunk branch? I will continue to follow up and improve the audit log of FederationClientInterceptor. Thank you very much!

@ayushtkn do you mind taking a look at this too?


abi_fix to be verified

to verify ddi table abi compatibility issue

there is already a fix for this issue posted here https://github.com/oneapi-src/level-zero-spec/pull/312

Closed due to fix by another commit:
Commit e8a03a2


unclear licensing

Some files contain copyright but no license statement.
Specifically, src/groestlcoin{.cpp,.h,-hash.cpp} have been found to lack license statements, but other files may have similar flaw.
Please add license statement whenever adding copyright (and ideally do both everywhere needed: implicit project-wide statements are, even if done and maintained properly, difficult to track e.g. when cherry-picking only some files for another project).

Ping!
Please post here in this public issue the license of those files, if freely licensed but you do not intend to correct it in source any time soon, so that users (and redistributors) can refer to this place for clarification in the meantime.

The license header added to:
groestlcoin-hash.cpp
groestlcoin.h
groestlcoin.cpp


Deploy Checklist: New Expensify 2022-04-06

Release Version: 1.1.52-0
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

https://github.com/Expensify/App/pull/8347

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/8353

[x] QA
[x] Accessibility

https://github.com/Expensify/App/pull/8410

[x] QA
[x] Accessibility

https://github.com/Expensify/App/pull/8447

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/8473

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/8475

[x] QA
[ ] Accessibility

https://github.com/Expensify/App/pull/8486

[x] QA
[x] Accessibility

Deploy Blockers:

[x] https://github.com/Expensify/App/issues/8551

Deployer verifications:

[x] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[x] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.1.52-0 :rocket:

@mvtglobally how is QA going?

We are almost done. Updating list in a few min @roryabraham

@roryabraham regression is complete
PR #8353 is failing on Android, but it's an old issue and was repro in prod https://github.com/Expensify/App/issues/7901. Can we check this off?
Other issues logged
#8532
#8534
#8545
#8519
#8520
#8531
#8537

PR https://github.com/Expensify/App/pull/8353 is failing on Android, but it's an old issue and was repro in prod https://github.com/Expensify/App/issues/7901. Can we check this off?

Yep, checking it off.

:shipit:

Checked all PRs and creating accessibility issues for all PRs where accessibility issue was found.
The non-applicable PRs are - #8347, #8473, #8475
Logged bugs - #8622, #8618


[Bug]: Service page is not responsive

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The service page is not responsive on mobile and the Contact Us section needs to be improvised.
Expected behavior
the service page should be responsive and the alignments should be done properly to the contact us section
Add ScreenShots

On which device are you experiencing this bug?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

Hello, I've fixed this issue!
This is what I've done:
I have updated the Services.jsx file to improve the responsiveness of the service page and enhance the Contact Us section. The changes include adjusting the layout for mobile devices, improving the alignment of elements, and refining the modal for better user experience. Here's a summary of the key changes:

Added responsive styling for the service cards and grid layout.
Improved the modal design and made it responsive for different screen sizes.
Enhanced the stats section layout and styling for better readability on mobile devices.
Adjusted the overall padding and margins for a more consistent look across devices.
Implemented a responsive design for the Contact Us form within the modal.

I also created pull request: https://github.com/Open-Code-Crafters/FitFlex/pull/400

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!

This bug was fixed for free by Latta AI - https://latta.ai/ourmission


resolves #1423  BOT ADMIN : Filter sentences with configuration name

@IdrissHam Thank you for the PR. I've added some small remarks. Please fix them and I will merge the PR !

merged


Computing value and grad and hvp in one go

Given some function fun, I'd like to calculate fun(x), grad(fun)(x) and hessian_vector_product(fun)(x, v) all in one go.
I've come up with an implementation but it's quite ugly
from autograd import make_vjp

def val_and_grad_and_hvp(fun):
    """
    Evaluates fun(x), grad(fun)(x) and hvp(fun)(x, v) in one go.

    I've copied the idea in autograd.differential_operators.grad_and_aux to
    implement this but there ought to be a much nicer way...
    """
    saved = lambda: None
    def vghvp(x, v):
        def grad_and_val(x):
            vjp, val = make_vjp(fun)(x)
            saved.val = val
            return vjp(1.)
        hvpfun, grad = make_vjp(grad_and_val)(x)
        return saved.val._value, grad, hvpfun(v)
    return vghvp

Can we make this a bit nicer? It would be great if it were possible to avoid the trick of saving the value as a function's attribute, and the manual unboxing (saved.val._value), but maybe this can't be done with our current make_vjp API...
Edit: OK here's a slightly neater solution, making use of our new autograd.builtins.tuple:
from autograd.builtins import tuple as atuple
from autograd import make_vjp

def val_and_grad_and_hvp(fun):
    """
    Evaluates fun(x), grad(fun)(x) and hvp(fun)(x, v) in one go.
    """
    def vghvp(x, v):
        def grad_and_val(x):
            vjp, val = make_vjp(fun)(x)
            return atuple((vjp(1.), val))
        hvpfun, grad_val = make_vjp(grad_and_val)(x)
        return grad_val[1], grad_val[0], hvpfun((v, 0))
    return vghvp

Perhaps we can use the same idea to simplify grad_and_aux too.

For the record I still don't like us naming our own functions list, tuple and dict!

Here's a faster version utilising forward mode...
from autograd import make_vjp, make_jvp
from autograd.builtins import tuple as atuple

def val_and_grad_and_hvp(fun):
    """
    Evaluates fun(x), grad(fun)(x) and hvp(fun)(x, v) in one go.
    """
    def vghvp(x, v):
        def grad_and_val(x):
            vjp, val = make_vjp(fun)(x)
            return atuple((vjp(1.), val))
        (grad, val), (hvp, _) = make_jvp(grad_and_val)(x)(v)
        return val, grad, hvp
    return vghvp


update gRPC to 1.27.0

Update gRPC to 1.27.0
Signed-off-by: Jimmy Chen<EMAIL_ADDRESS>Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue] https://github.com/istio/istio/issues/20133
[Optional Deprecated:]

/hold


Convert from openawsem structure to all atom pdb

Hello,
How do I convert an openawsem structure to an all atom pdb file?
Thank you,
Dan

convertOpenmmTrajectoryToStandardMovie.py
https://github.com/npschafer/openawsem/tree/master/helperFunctions


Max players?

How many players can be in a server without lag? And how does it compare to the real Agar.io game? What's the max amount of players in the real Agar.io game?
Also, any tips for optimization?

Max amount of players in real agario is around 500 players per server. Vanilla servers are working fine with all connected players. MultiOgar starts lagging at 150 (at least on my pc)

@NuclearC  500... :3

I'm having with MultiOgar when the server gets over 100 players, massive stuttering. Using Linode's 80$/month option. Any ideas on how to optimize?

how much is your internet upload and download speed?

I'm on fibre :S

@deniskrop every instance of this server works only on one core. So I can suggest to you try to create several instances for each core. It would be 100x. As for me, I can handle 100-120 (FFA) player on VPS with cost $5/month.  And question to you: have you tried some new forks of MultiOgar? May be they works better?

@F0RIS  What do you mean by multiple instances? Do you mean multiple game servers? Will they be separate rooms, can you please elaborate?

@deniskrop write to me telegram @f0ris


OpenJDK 10 sap SDK can't find CORBA class libraries

Overview
openjdk-systemtest fails to compile with OpenJDK 10 sap build because it can't find org.omg.CORBA.* classes. Locally running javap on the SDK using a CORBA class reveals same behavior (e.g. package org.omg.CORBA.portable does not exist). It seems that OpenJDK needs to add the appropriate module to their build (java.corba?).
Build link
https://ci.adoptopenjdk.net/view/System tests/job/openjdk10_sap_systemtest_x86-64_linux/9/console
Note
The error only happens on Adopt OpenJDK 10 SAP sdk. It works on other OpenJDK 10 sdks (e.g. hotspot).
Java version output
openjdk version "11-adoptopenjdk" 2018-09-18
OpenJDK Runtime Environment (build 11-adoptopenjdk+0-adhoc.jenkins.openjdk)
OpenJDK 64-Bit Server VM (build 11-adoptopenjdk+0-adhoc.jenkins.openjdk, mixed mode)

SDK build
https://ci.adoptopenjdk.net/job/openjdk10_sap_build_x86-64_linux/

Corba is removed in 11 but should be there for 10.  I'll ping Volker.

Hi,
I'm not sure how to reproduce this error?
I've followed the instructions at https://github.com/AdoptOpenJDK/openjdk-systemtest and set JAVA_HOME to a SapMachine 10-ea+46-sapmachine-2 downloaded from https://sap.github.io/SapMachine/
I can successfully build the "openjdk-systemtest" (step 6 in the readme) but when I execute the tests (i.e. "make test") I get the following error:
testStarted : testStress(net.adoptopenjdk.test.concurrent.ConcurrentSkipListMapTest)
testFailure: testStress(net.adoptopenjdk.test.concurrent.ConcurrentSkipListMapTest): null
java.util.NoSuchElementException
        at java.base/java.util.concurrent.ConcurrentSkipListMap$KeyIterator.next(ConcurrentSkipListMap.java:2135)
        at net.adoptopenjdk.test.concurrent.ConcurrentSkipListMapTest.testStress(ConcurrentSkipListMapTest.java:343)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at junit.framework.TestCase.runTest(TestCase.java:176)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at junit.framework.TestSuite.runTest(TestSuite.java:252)
        at junit.framework.TestSuite.run(TestSuite.java:247)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:27)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
        at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:129)
        at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:177)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:844)
testFinished: testStress(net.adoptopenjdk.test.concurrent.ConcurrentSkipListMapTest)

JUnit Test Results for: net.adoptopenjdk.test.concurrent.ConcurrentSkipListMapTest
  Ran    : 2
  Passed : 1
  Failed : 1
  Ignored: 0
  Result : FAILED
<<<

The same problem happens with a vanilla OpenJDK 10 as well.
Can you please advice how I can reproduce the problem?

Hi Volker,
The issue is seen during the building phase of system tests, where it tries to build the Mauve classes and fails as CORBA classes are not found. From your comment above, it appears that you were able to successfully build the test-- which means you have already gone past the point where the failure occurs (i.o.t., the test failure you reported is unrelated to the issue here).
Could you please post the build output that you saw while building systemtest with your SDK?
How is the SDK you used different than the SDK used in Adopt where the failure is seen? (We are using: https://ci.adoptopenjdk.net/job/openjdk10_sap_build_x86-64_linux/lastSuccessfulBuild/artifact/OpenJDK10_x64_Linux_201816032300.tar.gz).

I took a closer look at the log at https://ci.adoptopenjdk.net/view/System tests/job/openjdk10_sap_systemtest_x86-64_linux/9/consoleFull and found:
00:42:43      [echo] Running /home/jenkins/workspace/openjdk10_sap_systemtest_x86-64_linux/openjdkbinary/j2sdk-image/bin/../bin/java -XshowSettings:properties -version to determine java platform
00:42:44 [echoproperties] #Ant properties
00:42:44 [echoproperties] #Fri Mar 16 23:42:43 UTC 2018
...
00:42:44 [echoproperties] java9.java.vm.specification.version=11
00:42:44 [echoproperties] java9.sun.arch.data.model=64
00:42:44 [echoproperties] java9.java.specification.version=11

So it seems you are building our "sapmachine" branch which corresponds to "jdk/jdk" and which is the OpenJDK 11 development branch. It obviously has no Corba any more.
If you want to build SapMachine 10 you have to take the "sapmachine10" branch which derives from jdk/jdk10.
That said, I'd be still interested in how to run your "openjdk-systemtest" and why I get the errors described in my previous answer.

So it seems you are building our "sapmachine" branch which corresponds to "jdk/jdk" and which is the OpenJDK 11 development branch. It obviously has no Corba any more.
@gdams - Can this be fixed?

What do you mean? It's up to you what you build :)
If you want to build SapMachine 10 you just have to clone the right branch.
Java SE 11 will definitely be delivered without Java EE and CORBA Modules (see "JEP 320: Remove the Java EE and CORBA Modules" at http://openjdk.java.net/jeps/320).
The JEP contains some information on workarounds for the removed packages. You'll basically have to download them yourself and make them available in the classpath somehow...

The script is already pointing at the sapmachine branch, I've updated my pipelines pull request to fix a doc/comment bug, but it should be pulling from the right place.  I'll check the jenkins job now.

@simonis What branch do you want us to pull from instead?

As I wrote, the "sapmachine10" branch is for Java 10 and the "sapmachine" branch for the development branch which is currently Java 11. When jdk/jdk11 will be created from jdk/jdk we will create "sapmachine11". The "sapmachine" branch will always mirror "jdk/jdk".
As it seems that you test pipline is currently not prepared for Java 11 it probably would make most sense to build and test the "sapmachine10" branch.

@simonis Ah sorry, I thought we were building binaries on your (SAP's) behalf so to speak.  We can swap to the 10 branch.

PR: https://github.com/AdoptOpenJDK/openjdk-build/pull/271

Cool thanks!
This brings me back to my initial question :)
Even with 10 (both SapMachine and OpenJDK) I see the errors I've reported in my first message. Don't you see them with your builds?
What'S the problem? Is it a test problem or a problem with the JDK?

Hi Volker - closing this and opened up your issue at #277

Thanks for opening a separate PR, Martijn.
Hi Volker, I never saw this issue before. I will reproduce it in my local and provide updates in #277.


how to disable??

I've added the animation, that's great.
But how to disable it?

Add this Function in your class then
private void setVisibilityOn(boolean isVisible) {
if (isVisible) {
loadingAnimation.setVisibility(View.VISIBLE);
} else {
loadingAnimation.setVisibility(View.GONE);
}
}


Version bump to 1.3.7

Signed-off-by: Rishabh Singh<EMAIL_ADDRESS>Description
Version bump to 1.3.7
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

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

@@          Coverage Diff           @@
##             1.3     #416   +/-   ##
======================================
  Coverage       ?   63.48%
======================================
  Files          ?      153
  Lines          ?     4431
  Branches       ?      696
======================================
  Hits           ?     2813
  Misses         ?     1402
  Partials       ?      216

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


marketplace offer delete - invalid return result

Summary

should return what the client returns return client.delete(...

see az group delete or az storage account delete for example

command shouldn't return a string to align with CLI standards

confirmed fixed


Swagger + Grizzly + Jersey - UI not loading

Hi,
I am new to Rest API and Swagger. I use Grizzly web container. I don't have web xml or httpservlet.
I added the pom xml entry, created a BeanConfig class, added the below to Jerseyconfig  to setup the resource details and version.
register(com.wordnik.swagger.jersey.listing.ApiListingResourceJSON.class);
register(com.wordnik.swagger.jersey.listing.JerseyApiDeclarationProvider.class);
register(com.wordnik.swagger.jersey.listing.JerseyResourceListingProvider.class);
When I open the http://localhost:8889/api_docs URL, I get all the rest apis listed correctly.
So I tried to add the UI flavor to it. I downloaded the Swagger ui and copied the dist folder from the master. Modified the index.html URL to my URL/api_docs. But the index.html is not displaying the APIs. No action is being performed when I hit the explore.
Could someone please advise what Im missing?

I imagine you didn't enable cors - https://github.com/swagger-api/swagger-ui#cors-support.

Thanks for the response. I would check how to enable CORS on Grizzly and get back

I enabled the CORS filter.
public class CrossDomainFilter implements ContainerResponseFilter {
@Override
public void filter(ContainerRequestContext creq, ContainerResponseContext cres) {
    cres.getHeaders().add("Access-Control-Allow-Origin", "");
    cres.getHeaders().add("Access-Control-Allow-Headers", "");
    cres.getHeaders().add("Access-Control-Allow-Credentials", "");
    cres.getHeaders().add("Access-Control-Allow-Methods", "");
    cres.getHeaders().add("Access-Control-Max-Age", "");
}

}
CORS filter added to Jersey Config as below.
public JerseyConfig() {
register(JacksonFeature.class);
register(MultiPartFeature.class);
//register(BasicAuthenticationFilter.class);
register(com.wordnik.swagger.jersey.listing.ApiListingResourceJSON.class);
register(com.wordnik.swagger.jersey.listing.JerseyApiDeclarationProvider.class);
register(com.wordnik.swagger.jersey.listing.JerseyResourceListingProvider.class);
register(new CrossDomainFilter());
packages("My package name");
}
ResourceConfig config = new JerseyConfig().property("contextConfig", applicationContext);
final HttpServer server = GrizzlyHttpServerFactory.createHttpServer(
uri, config, false);
server.start();
I still see api docs in JSON format from the URL/api-docs correctly. UI is not doing anything.
Please advise.

You probably need to add an asterisk value for all the headers, for example:
        cres.getHeaders().add("Access-Control-Allow-Origin", "*");

Thanks. I have add the asterisk still no change.
Do you have a sample project or code that illustrates how to configure swagger UI for Jersey/grizzly without using Web.xml? I have only been doing trail and error and spent two full days making it work. Any help would be greatly appreciated.

We don't have specific documentation for Grizzly (it's not that common), but there are a few topics about it in the google group that may be able to provide more information.
To be sure this is a CORS issue, open your browser's web console and check the errors as you try reading the api-docs.

Thanks. I made some progress and now stuck at this place. Could you advise why I get this error?

I assume that's because that's not the right URL. Is your api-docs hosted as the root of your application (literally /)?

thats right. I have two End points that starts after the 1.
i.e localhost:8889/SERVICE1/test and localhost:8889/SERVICE2/test.
I tried giving the below options in the index.html and it remains the same.

http://localhost:8889/api-docs
http://localhost:8889/api-docs/
http://localhost:8889/
http://localhost:8889
http://localhost:8889/SERVICE1_REST/api_docs
http://localhost:8889/SERVICE1_REST/api_docs

Do you get anything if you open those URLs directly (and not under the swagger-ui)?

If I comment the below lines in the code I get the JSON format result of all apis under my endpoints.
If I don't I get the Swagger UI html. Which givens the result as given in the above screenshot. Uncaught SyntaxError.
grizzlyhttpserver.....
httpserver.start();
//CLStaticHttpHandler staticHttpHandler = new //CLStaticHttpHandler(Test.class.getClassLoader(), "swagger-ui/");
//server.getServerConfiguration().addHttpHandler(staticHttpHandler, "/");

Okay, that sounds like you're trying to load the swagger-ui URL under swagger-ui and that obviously doesn't work. Unfortunately, the information you provide is a bit unclear.
Assuming you do host your swagger-ui at the root of your application (that is http://localhost:8889), what happens when you open the following URLs directly in your browser (and not in swagger-ui):

http://localhost:8889/api-docs
http://localhost:8889/api-docs/
http://localhost:8889/SERVICE1_REST/api_docs
http://localhost:8889/SERVICE1_REST/api_docs

Thanks. I am not trying to load the URL directly from swagger UI. I load it through browser.
When I type the http://localhost:8889 directly on my browser, I get the Swagger UI. But I do not get the APIS listed.  When I hit explore, I get
Uncaught SyntaxError: Unexpected token < as shown in the screen shot provided in my previous reply.

Any chance you can hop in our IRC channel? Would be easier to solve it synchronously. http://webchat.freenode.net/?channels=swagger

sorry. The site is restricted from my workplace.

Then I assume any other IRC client won't work. I'm in a meeting right now, but will look into the details you provided a bit later.

thank you

@gkbalu - apologies, this was lost under the workload. Have you managed to resolve it or do you need further assistance?

Closing due to lack of activity. Please reopen if needed.


nw-download as dependency?

Both of electron-builder and electron-prebuilt include electron-download as dependency.
I think it is better for nw-builder and nw to include nw-download as dependency as well ;)
So that they can make use of the same cached nw prebuilt at the meantime (automatically), I guess :/
// w/o configuring like this
new NwBuilder({
  cacheDir: './node_modules/nw/nwjs',  // './cache' by default
  // ...
})

Thoughts?
Cheers.

nw-download has been inactive for 2 years (looks like it's still in the days of node-webkit), which is longer than nw-builder itself. It needs contributors' effort to make this happen (and maintainers as well).
The idea of sharing caches is nice though, I guess :/

What @evshiron said. I'm definitely on board for sharing caches though and @rogerwang was too the last time we spoke.


First Code Commit

Just a note that this is no where near the standard I want this code to be. Just for rapid prototyping right now.


Kitty backend doesn't work

Just displays red lines.
I'm using this configuration:
// --snip--
                    let mut picker =
                        Picker::from_termios().unwrap_or_else(|_| Picker::new((7, 14)));

                    picker.guess_protocol();

                    let image_state = picker.new_resize_protocol(dyn_image);

// --snip--

Can you run the demo? cargo run --example demo --features crossterm it works on master for me with kitty 0.34.1.

Displays this for me:

@wizard-28 thank you. What version of kitty are you using? Are you on master? What else could cause this?

@wizard-28 thank you. What version of kitty are you using?

λ kitty --version
kitty 0.21.2 created by Kovid Goyal

Are you on master?

I'm on the latest release of both kitty and ratatui-image

What else could cause this?

No idea.

Kitty 0.21.2 is 3 years old! This crate uses a feature "unicode placeholders" introduced in 0.28.0.


Rename the attributes in the FIFOBus interface

The attributes (Signals) in the FIFOBus interface originally used abbreviations.  Modify the attributes to use the full word.
Example,
self.write = ...
self.writedata = ...
self.read = ...
self.readdata = ...

Pull request issued for cfelton:master from forumulator:fifoattrib with the changes.


Testing and creating issues for MVP

Overview
We need to play with the app trying opening different files and doing different actions (changing schema/pipeline/etc; reloading the file; clicking buttons). For every problem or group of problems, we need to create an issue which I'll triage for us to work on. We need to add a quick steps to reproduce and share server error messages if any.

DONE (handled in other issues)


Added aac support

Thanks for the PR. I just published your change: https://github.com/jiborobot/atom-audio/releases/tag/v1.5.7


Add v4 package

This is In progress

I need to move PackageDefinition, Metadata, and PackagingVersion to v4.model. I also need to update the mediaTypes associated with those types.

@larioj Can you resolve the merge conflicts?


Use image_definitions output for vm/vmss configuration

Allow use of images created with the shared_image_gallery modules as source images for vm/vmss configurations. See https://github.com/aztfmod/terraform-azurerm-caf/issues/825
Added VM build using the image to the shared_image_gallery/101 example

@dimitrifc - During my tests, I see a
 │ Error: creating Linux Virtual Machine "vhzh-vm-examplevm2" (Resource Group "vhzh-rg-sig"): compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="GalleryImageNotFound" Message="\"The gallery image /subscriptions/subid/resourceGroups/vhzh-rg-sig/providers/Microsoft.Compute/galleries/vhzhsigtest1/images/vhzhsiimage1/versions/1.0.0 is not available in southeastasia region. Please contact image owner to replicate to this region, or change your requested region.\"" Target="imageReference"
│
│   with module.example.module.virtual_machines["example_vm1"].azurerm_linux_virtual_machine.vm["linux"],
│   on ../modules/compute/virtual_machine/vm_linux.tf line 56, in resource "azurerm_linux_virtual_machine" "vm":
│   56: resource "azurerm_linux_virtual_machine" "vm" {
│
╵

While doing a second run, it completes successfuly, so it feels like a missing dependency, can you please have a look? thanks

@arnaudlh - you're right, I've added a dependency to virtual machine and virtual machine scale set modules in the latest commit. I retested the example successfully.

@arnaudlh
Tested and working without any issues.
@dimitrifc
Thank you very much for the contribution, if you could just add the CI test pipeline adding your the "shared_image_gallery/101-packer_service_principal" to the ".github/workflows/standalone-scenarios.json" would be really appreciated.


fixed ion-label custom width

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When using a fixed label, the width is set to 100px as seen here
Expected behavior:
We should at least have a variable to change that default width, which imho only makes sense on some specific device. I am currently using it on desktop browser and the labels look extremely small.
Related code:
<ion-item>
  <ion-label fixed>Label that will be ellipsized</ion-label>
  <ion-input type="text"></ion-input>
</ion-item>

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.4.0
Ionic Framework Version: 3.1.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.4.0
Xcode version: Xcode 8.3.2 Build version 8E2002

Thanks, we will look into this.

This should work. Put in app.scss:
.fixme {
    -webkit-flex: 0 0 200px;
    -ms-flex: 0 0 200px;
    flex: 0 0 200px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
}

Then:
<ion-label fixed class="fixme">Hello</ion-label>

You can probably target specific platforms with variables or different CSS classes.

@cmass yes, I marked this as a feature request not a bug report

Hello everyone! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to ionic-team/ionic-feature-requests#240

Hi guys, found this as I was looking to see if it had been fixed..
Shouldn't this have been marked as a bug - It's setting a Fixed label to always be 100px even if the screen is 1100px wide?
Guessing that was supposed to be 100% instead of 100px?


Specify db schema other than public

Describe the feature or enhancement
I cannot seem to find an environment variable or an option to specify a custom schema other than public. It would be nice to have this level of configuration

Sorry for the late reply. I'm guessing you are using postgreSQL? You can add the schema to your DATABASE_URL like below to target a specific schema.
DATABASE_URL=postgresql://username:mypassword@localhost:5432/mydb?schema=myschema


Fix #27: Work around mypy messing up init

Mark new slots introduced in ChangeDetectionMixin as PrivateAttr, although they are never used like this. mypy will then not think you are required to pass those attributes to __init__

Any reason why this hasn't been merged yet? This would help us a lot, I'm just trying to understand the reason. Thank you!

@ahopey Sorry just haven't got the time. I wanted to think this through again, as the current solution feel a little bit like a workaround. Will try to get this resolved soon!


Not possible to add images to existing post

images can be added while creating a post, one or multiple, everything works as expected.
However if I try to add images to an existing post, the newly added images will not be found after saving the post, existing images will still show up.
Open the image address in a new browser tab will cause a 404.
Seems that the added  images in edit-mode are not being persisted in the database.

fixed.


Fix Filters + "Table" heads to a top of page?

Maybe we have discussed this already?
It would be nice if we could fix the "meta navigation", i.e., the filter list (or filter button in responsive design) and the "day selection" to the top/top left corner of the screen. Otherwise one has to scroll back to the top of the page every now and then to change filter settings or select another day - in particular on mobile devices with a restricted screen size.
For small/mobile devices it would be nice if there is only the current day tab visible and has right/left arrow navigations buttons (kind of arrows) if applicable. Example: If I have the tuesday active I would like to see a left arrow to navigate to monday and a right arrow to navigate to wednesday. If monday is active, of course there should be only the right arrow to switch to tuesday.
Can we get something like this for release 1.2?

Seems the second part will be handled in #46 ...

One problem I see if we "fix" the filters: There are quite a few of them, and if they are fixed in position you won't be able to get to the lower ones.
I'm also not a fan of too many individually scrollable areas. I think it is better to do one or both of the following:

place another "days" tab at the bottom of the list
put a "Back to Top" jump mark inside each hour slot

Thoughts?

If this is (for now enough) we can close this, as I don' think actually fixing the filters in place will add to the usability....

Jo, you can leave it like this.


Add nullable annotations to builtins

Great! On my end, I have prepared a PR with nullable annotations in StringOps, which has exactly the same changes in PythonCalls as here. I will wait with the submission until this PR is merged and then rebase on top.


Fix bug on admin subcommand

fix #17532
PS: looks like it's not different from InitEngineWithMigration and InitInstallEngineWithMigration. I will use only one on another PR.

@zeripath done.


POD is coming in Running status forever

Can anyone please tell why my pod is not going in completed status?
I have used spark.stop() in my application , still it is not getting stopped . Before reaching spark.stop() itself it is giving WARN Exception
21/03/31 01:21:25 WARN WatchConnectionManager: Exec Failure
java.io.EOFException
at okio.RealBufferedSource.require(RealBufferedSource.java:61)
at okio.RealBufferedSource.readByte(RealBufferedSource.java:74)
at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:117)
at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:101)
at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:274)
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:214)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:203)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

I've hit this issue when engineers haven't closed connections properly (e.g. cassandra, redis, kafka). If you run a sparkctl forward, open the spark ui, go to the executors tab, then you can run thread dumps on the driver and executors and that should help shed some light on the issue. You can also kubectl exec <pod_name> -it /bin/netstat | grep EST to help find an established connection to whatever remote host is the culprit. I install netstat on top of the base gcr container tho.


SideMenu cannot open with Gesture

New Issue Checklist

I have read the guidelines for contributing and I understand:

[X] My issue is happening in the latest version of SideMenu.
[X] My issue was not solved in the README.
[X] My issue can not be answered on stackoverflow.com.
[X] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[X] My issue is reproducible in the demo project.

Issue Description

Currently SideMenu can only open with button in the Navigation bar.
but close can be done with the gesture it is mentioned in the ReadMe as well.
but i want open the SideMenu with Gesture as well. "Swipe to right from the corner and Left SideMenu will be open"

This exists. Please read the README carefully.


Update print_solution function

similar to get_format change on basicrouter.py, just moved the location of function to where it's needed

This change is outdated now, could you instead remake the changes from the updated code?


distribute feature on hypersphere as Fig.2.

Hi, thanks for your code.
I have a question.
I want to distribute the output of my dataset on a hypersphere, similar to Fig.2.
If the shape of the output is (1608, 2), where each entry is in the form [x1, y1], [x2, y2], ..., [xn, yn] (where n ranges from 1 to 1608), do I have to plot xn and yn for 1608 data points?
Alternatively, if you have another method, could you please let me know

Hi, thanks for your interest! Figure 2 is for illustration only and not generated from real data. I would suggest you try a scatter plot with matplotlib, so you get 1608 scatter points on an x-y plane. You could try with different alpha/edge width with the plt.scatter function to fine-tune the generated figure.

Thank you for your quick response.
Are figure 1, 3, and 5 also illustrations and not generated from real data?
I would like to know the method used to obtain the figure illustrating the feature distribution on the hypersphere.
If you generated figure 5 from real data, do the features come from the output of stage 1 or stage 2?

Figure 1, 3 and 5 are all from real data. The features are the normalized output of the MLP, which are used to compute the targeted supervised contrastive loss (stage 1). For visualization, we simply train the network with the output dimension of MLP equals 2.

If I apply your comment in the code,
in main_moco_supcon_imba.py, the value of args.moco_dim is 2 (line 88),
and final_feats, which is the return value of the model (line 410), will be the visualized features, as you mentioned.
Did I understand your comment correctly?
Thank you for answering my question so well.

Yes, that's correct


Dispatch only if not already on TP

Don't double dispatch.
Input pipe can dispatch (flush); then output pipe can also dispatch for write (flush)
Detect if already on TP (as either behaviour could change) and don't dispatch a second time if so.
/cc @davidfowl

nvm :)


Chore/remove redundant scaffolding

Before making the Pull Request:
This pr deals mostly with removing redundant parts of the scaffolding that are no longer here as well as some bits pertaining to application name on login, a custom 404, and a readme update.

[x] Is there a description to this pull request that points to a specific user story, feature, or bugfix?
[x] Are there comments where the code may be unclear?
[x] Is all dead code, commented out code, etc. removed?
[ ] Are there tests written for these changes?
[ ] Does the ReadMe need to be updated?

Before being merged by the TPL:

[ ] Has the pull request been reviewed by at least two team members?
[ ] Did they leave any comments or suggestions?
[ ] Were those suggestions acted on?
[ ] Are all tests passing?
[ ] Has the documentation been updated?

Build Failed. Looks like some tests of the deleted files exist.

was breaking build


Add service to insert bible passage into text-documents

It would be really cool if it would be possible to create a service for the service-menu that could insert bible passages directly into a word-processor.
Especially if it was possible to insert the verses with some styling. Like this:
1  In the beginning God created the heavens and the earth. 2  And the earth was waste and void; and darkness was upon the face of the deep: and the Spirit of God moved upon the face of the waters. 3  And God said, Let there be light: and there was light. 4  And God saw the light, that it was good: and God divided the light from the darkness. 5  And God called the light Day, and the darkness he called Night. And there was evening and there was morning, one day. (Genesis 1:1-5)
At the moment I just copy/paste verses from Eloquent and then add the subscript styling afterwards. But It is quite time consuming. So a feature like this would really be a time saver.
Here are examples of "services" from other bible-software:
http://www.catug.org/OldSite/articles/Widgets.html
http://www.accordancebible.com/Accordance-Service
https://community.logos.com/forums/t/30583.aspx

I'll look into that.
Have you had a look at Automator?

Services

Yes.. Automator can be used to create the services.. but to me it seems that apps somehow needs to create some hooks that Automator can use..
At least I havent found a way to make automations with eloquent yet..
It might be possible with AppleScript.. But I just haven't been able to wrap my head around the syntax..

Yeah, you could create an Automator script that will take a bible reference from the pasteboard, then you could record a script that will press:

CMD-SHIFT-N (to create a new bible window)
CMD-L (to focus the reference text field in the toolbar)
CMD-V (to paste the bible reference into the text field) and then
RETURN (to mate Eloquent show the text for the reference)

But I must admit this is very limited. You can't (as far as I have tested) copy back the bible text to the pasteboard.


How to hook into defined DataType database in python

Hi, I have asmall problem with python scripting.
I am trying hook into DataTypeManager for Project Archive.
I have database what i use in entire project (multiple files are using same structures database) but all i can do in python is hook into currently opened file database and use data only from there.
Is there any way i am missing to hook into specified database ?

Greetings

Everything I need is in example file called:
FindDataTypeScript.java


Distinguish business warnings from HTTP spec violations

Usually parser warnings are treated very seriously; maybe differ between business error and HTTP spec violation

Migrated to apiaryio/drafter#648


Update the installer for more extension types

make the installation scripts executable
allow empty namespaces
create namespace when it does not exist
added support for kustomize dir

TODO: we're missing this condition from current knative installation script:
kubectl wait --for=condition=available --timeout=600s deployment -l networking.knative.dev/ingress-provider=istio -n knative-serving
I've introduced waitfor option, but it's currently very simple. There could be more complicated definition, like
install:
  - type: manifest
    location: net-istio.yaml
    namespace:
    waitfor:
      - type: deployment
        selector:  networking.knative.dev/ingress-provider=istio
        namespace: knative-serving
        status: available
      - type: pod
        selector: all
        status: running
        namespace: knative-serving

but isn't it overkill?
It could be simpler to actually add a script type as a next step, that would do the waiting...
UPDATE: I actually added extra script to solve the wait problem in https://github.com/fuseml/extensions/pull/10. Later, we can get rid of it

I think think it would be good to extend the waitfor as you described, but instead of having multiple params you could simple have something like, for example, wait: "--for=delete pod/busybox1 --timeout=60s" which would be easier to implement and allow it to be used with all the options kubectl offers.

I think think it would be good to extend the waitfor as you described, but instead of having multiple params you could simple have something like, for example, wait: "--for=delete pod/busybox1 --timeout=60s" which would be easier to implement and allow it to be used with all the options kubectl offers.

Hm, right, this would be easy to implement... it is too much kubectl specific, but I'm not sure if it is a problem...

I think you had the right idea with adding a waitfor option. Sure, you could do that with a bash script, but it makes things much simpler when you're just fetching some kustomize dir from upstream and you need to wait for services to come up, no extra bits required :)

I think think it would be good to extend the waitfor as you described, but instead of having multiple params you could simple have something like, for example, wait: "--for=delete pod/busybox1 --timeout=60s" which would be easier to implement and allow it to be used with all the options kubectl offers.

If you do it like this, why just settle for kubectl commands, better to add support to specify entire shell scripts inline in the yaml file.

I think think it would be good to extend the waitfor as you described, but instead of having multiple params you could simple have something like, for example, wait: "--for=delete pod/busybox1 --timeout=60s" which would be easier to implement and allow it to be used with all the options kubectl offers.

If you do it like this, why just settle for kubectl commands, better to add support to specify entire shell scripts inline in the yaml file.

Well, that's what we have now, basically with the scripts treated as extra steps.
Do you mean you prefer my original suggestion written on top?

I think think it would be good to extend the waitfor as you described, but instead of having multiple params you could simple have something like, for example, wait: "--for=delete pod/busybox1 --timeout=60s" which would be easier to implement and allow it to be used with all the options kubectl offers.

If you do it like this, why just settle for kubectl commands, better to add support to specify entire shell scripts inline in the yaml file.

Well, that's what we have now, basically with the scripts treated as extra steps.
Do you mean you prefer my original suggestion written on top?

Yes, but I see you already implemented it as an option, which is great.

If you do it like this, why just settle for kubectl commands, better to add support to specify entire shell scripts inline in the yaml file.

Well, that's what we have now, basically with the scripts treated as extra steps.

Wait, that's not what I meant. I meant inline shell scripts, instead of having to point to another file alongside the YAML descriptor.

Do you mean you prefer my original suggestion written on top?

Yes, but I see you already implemented it as an option, which is great.

Oh, I see, you only implemented the wait pods option, but otherwise wait doesn't do anything.


Test uploading into Zenodo

Registered - nothing uploaded as DOI assigned and can't therefore remove later. Might be worth creating a community such as Worm Tracking Data has done.


a few questions

@gmihaila
Hi, this is such as amazing notebook (pretrain_transformers_pytorch.ipynb).
This is not an issue just few quick questions for my knowledge:
(i) can I use more evaluation metrics here?
(ii) when using the checkpoint, should it be the last one? or the notebook saving the best one?
(iii) if my dataset has multiple features, I would need to pass all of these pieces of information as one piece during fine-tuning? if I intend to have side information, which part should I change? any thoughts
(iv) if I need to include timestamp, any thoughts? or may be during training, we arrange all data temporally?
(v) How can I use the notebook for multi-class  @labels
thanks in advance and for the wonderful work that you share with the community

Thank you @shainaraza for your interest in my tutorial!
(i) can I use more evaluation metrics here?
You sure can. In this tutorial I am using the HuggingFace trainer functionality. You can look at the documentation here - compute_metrics parameter. That is where you can add any custom evaluation metric.
(ii) when using the checkpoint, should it be the last one? or the notebook saving the best one?
The notebook is saving the last checkpoint. This is the way I usually use it. Depending on your project you can save checkpoints along the way and check the metrics and figure out which checkpoint is better to use.
(iii) if my dataset has multiple features, I would need to pass all of these pieces of information as one piece during fine-tuning? if I intend to have side information, which part should I change? any thoughts
This notebook is doing pretraining on transformers models. That means that is training the transformers models same way as the authors of these model trained them from scratch. With this tutorial I'm showing how to do extended training on these transformers models with your custom dataset. If you're looking at just fine-tuning the model on a specific task like classification check out my fine-tuning tutorial.
If you plan on adding any specific information during fine-tuning that is very possible, it would require some extra coding. Not sure what exactly you want to do, but it is doable.
(iv) if I need to include timestamp, any thoughts? or may be during training, we arrange all data temporally?
Not sure what do you mean by this. If you're asking how to keep the order of the data the same during training by default the dataloader keeps same order of the data.
(v) How can I use the notebook for multi-class @labels
Like I mentioned before I think you're interested in plain fine-tuning and not pretraining. For this check out my fine-tuning tutorial where you can easily change the number of labels to what ever number of labels you have.
Note: The pretrain_transformers_pytorch.ipynb is used for extended training of transformers models on your custom dataset. For example if you have a lot of data that is in a specific topic where Bert was not trained before, you can use this code to extend training for Bert so that it trains on your custom dataset. After this pretraining process you can fine-tune the new pretrained Bert model on what task you need. This way you have your custom pretrained Bert model that works better on your dataset. If you only need to fine-tune any existing pre-trained transformer models you can use my fine-tuning tutorial.

@gmihaila thanks you for the clear answers, I am also using yours fine-tuning notebook.
This is a lot of explanation in yours code so everything is very easy.
Thanks you once again


git tfs pull should fail on TF30063 but resulted in incomplete commit in git

I attempted pulling the latest changes from TFS via git tfs pull -r, but when I did so I received the following error for some files: "TF30063: You are not authorized to access Microsoft-IIS/7.5. Skipping file." (The exact wording might've been slightly different.) Those file changes did not get added to git even though some other file changes did get added. git-tfs proceeded to create the local git commits even though they were missing files, resulting in incomplete commits that did not match TFS. The pull command succeeded even though it should have failed without creating the commits.
I had to reset my local git by resetting master to the previous master and by editing .git/refs/remotes/tfs/default to point to the sha of the previous master. After freeing up disk space on the TFS server and rebooting it, I was able to re-run git tfs pull -r to re-fetch and merge the tfs changesets as expected without the TF30063 errors.
Versions:

git-tfs version <IP_ADDRESS> (TFS client library <IP_ADDRESS> (MS)) (64-bit)
git version 2.13.0.windows.1
Visual Studio Professional 2012 Version 11.0.61219.00 Update 5
Team Foundation Server 2012 Version 11.0.61030.0

I was able to reproduce a similar error with a different command using the following, although the following resulted in a fatal error unlike git tfs pull:
git tfs --debug quick-clone http://tfs:8080/tfs/DefaultCollection $/My Project

The error may have been related to a low disk space issue on the TFS server (later reproduction attempts resulted in: "TF30042: The database is full.") After resolving the disk space issue both TF30063 and TF30042 stopped occurring.
Some of the relevant lines from git tfs --debug quick-clone are below:
Command run:git tfs --debug quick-clone http://tfs:8080/tfs/DefaultCollection $/My Project
No authors file used.
git-tfs version <IP_ADDRESS> (TFS client library <IP_ADDRESS> (MS)) (64-bit)
git command: Starting process: git init
Initialized empty Git repository in C:/Users/john.doe/Code/My Project/.git/
git command time: [00:00:00.0779985] init
Fetching from TFS remote 'default'...
Setting up a TFS workspace at .git\~w
cleanup-workspaces: Looking for workspaces mapped to @"C:\Users\john.doe\Code\My Project\.git\~w"...
cleanup-workspaces: Found mapping in workspace "git-tfs-d1234567-89ab-cdef-0123-456789abcdef;John Doe".
Removing workspace "git-tfs-d1234567-89ab-cdef-0123-456789abcdef;John Doe".
get [C5]$/My Project
get [C1892]$/My Project/api
get [C3574]$/My Project/bar

...
get [C3088]$/My Project/api/_archived/cls_db
get [C3088]$/My Project/api/_archived/core foo

...
get [C3088]$/My Project/bar/cls_bar.vb

...
C:\Users\john.doe\Code\My Project\.git\~w\bar\cls_bar.vb: Server was unable to process request. ---> Object reference not set to an instance of an object.
tfs non-fatal error: Exception: #<Microsoft.TeamFoundation.VersionControl.Client.VersionControlException IsRemoteException=#<System.Boolean:0x0>, Data={...}, Message="C:\Users\john.doe\Code\My Project\.git\~w\bar\cls_bar.vb: Server was unable to process request. ---> Object reference not set to an instance of an object.", InnerException=#<Microsoft.TeamFoundation.VersionControl.Client.VersionControlException:0x18c20e5>, TargetSite=null, StackTrace=null, HelpLink=null, Source=null, HResult=-2146232832>

...
get [C3088]$/My Project/api/_archived/core foo/cls_foo.vb

...
C:\Users\john.doe\Code\My Project\.git\~w\api\_archived\core foo\cls_foo.vb: TF30063: You are not authorized to access Microsoft-IIS/7.5.
tfs non-fatal error: Exception: #<Microsoft.TeamFoundation.VersionControl.Client.VersionControlException IsRemoteException=#<System.Boolean:0x0>, Data={...}, Message="C:\Users\john.doe\Code\My Project\.git\~w\api\_archived\core foo\cls_foo.vb: TF30063: You are not authorized to access Microsoft-IIS/7.5.", InnerException=#<Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException:0x174252a>, TargetSite=null, StackTrace=null, HelpLink=null, Source=null, HResult=-2146232832>

...
get [C3526]$/My Project/api/zot/zot.vb

...
C:\Users\john.doe\Code\My Project\.git\~w\api\zot\zot.vb: TF30063: You are not authorized to access Microsoft-IIS/7.5.
tfs non-fatal error: Exception: #<Microsoft.TeamFoundation.VersionControl.Client.VersionControlException IsRemoteException=#<System.Boolean:0x0>, Data={...}, Message="C:\Users\john.doe\Code\My Project\.git\~w\api\zot\zot.vb: TF30063: You are not authorized to access Microsoft-IIS/7.5.", InnerException=#<Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException:0x3e7f37c>, TargetSite=null, StackTrace=null, HelpLink=null, Source=null, HResult=-2146232832>

...
Caught and converted an exception in Client.ProcessOperation: Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: Server was unable to process request. ---> Object reference not set to an instance of an object. ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object reference not set to an instance of an object.
   --- End of inner exception stack trace ---
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
   at Microsoft.TeamFoundation.VersionControl.Client.Repository5.UpdateLocalVersion(String workspaceName, String ownerName, ServerItemLocalVersionUpdate[] updates, Int32 maxClientPathLength)
   at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.UpdateLocalVersion(String workspaceName, String ownerName, ServerItemLocalVersionUpdate[] updates)
   at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.UpdateLocalVersion(String workspaceName, String ownerName, ILocalVersionUpdate[] updates)
   at Microsoft.TeamFoundation.VersionControl.Client.UpdateLocalVersionQueue.SendToServer(ILocalVersionUpdate[] updates)
   at Microsoft.TeamFoundation.VersionControl.Client.UpdateLocalVersionQueue.FlushNoAcks()
   at Microsoft.TeamFoundation.VersionControl.Client.UpdateLocalVersionQueue.QueueUpdate(ILocalVersionUpdate update)
   at Microsoft.TeamFoundation.VersionControl.Client.AsyncGetOperation.QueueLocalVersionUpdate(GetOperation action, String targetLocalItem, Int32 version, Boolean force)
   at Microsoft.TeamFoundation.VersionControl.Client.Client.ProcessOperation(GetOperation action, AsyncGetOperation asyncOp)
Server was unable to process request. ---> Object reference not set to an instance of an object.
tfs non-fatal error: Exception: #<Microsoft.TeamFoundation.VersionControl.Client.VersionControlException IsRemoteException=#<System.Boolean:0x1>, Data={...}, Message="Server was unable to process request. ---> Object reference not set to an instance of an object.", InnerException=#<System.Web.Services.Protocols.SoapException:0x5c4939>, TargetSite=#<System.Reflection.RuntimeMethodInfo:0x33e9303>, StackTrace="   at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
   at Microsoft.TeamFoundation.VersionControl.Client.Repository5.UpdateLocalVersion(String workspaceName, String ownerName, ServerItemLocalVersionUpdate[] updates, Int32 maxClientPathLength)
   at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.UpdateLocalVersion(String workspaceName, String ownerName, ServerItemLocalVersionUpdate[] updates)
   at Microsoft.TeamFoundation.VersionControl.Client.WebServiceLayer.UpdateLocalVersion(String workspaceName, String ownerName, ILocalVersionUpdate[] updates)
   at Microsoft.TeamFoundation.VersionControl.Client.UpdateLocalVersionQueue.SendToServer(ILocalVersionUpdate[] updates)
   at Microsoft.TeamFoundation.VersionControl.Client.UpdateLocalVersionQueue.FlushNoAcks()
   at Microsoft.TeamFoundation.VersionControl.Client.UpdateLocalVersionQueue.QueueUpdate(ILocalVersionUpdate update)
   at Microsoft.TeamFoundation.VersionControl.Client.AsyncGetOperation.QueueLocalVersionUpdate(GetOperation action, String targetLocalItem, Int32 version, Boolean force)
   at Microsoft.TeamFoundation.VersionControl.Client.Client.ProcessOperation(GetOperation action, AsyncGetOperation asyncOp)", HelpLink=null, Source="Microsoft.TeamFoundation.Client", HResult=-2146232832>

...
TFS Workspace 'git-tfs-fedcba98-7654-3210-fedc-ba9876543210;John Doe' was removed.
Sep.Git.Tfs.Core.GitTfsException: error: a problem occurred when trying to clone the repository. Try to solve the problem described below.
In any case, after, try to continue using command `git tfs fetch`
 ---> LibGit2Sharp.NotFoundException: Could not find 'C:/Users/john.doe/Code/My Project/.git/~w/api/_archived/core foo/cls_foo.vb' to stat: The system cannot find the file specified.

   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_blob_create_fromfile(RepositorySafeHandle repo, FilePath path)
   at LibGit2Sharp.ObjectDatabase.CreateBlob(String path)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at LibGit2Sharp.TreeDefinition.WrapAllTreeDefinitions(Repository repository)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at LibGit2Sharp.TreeDefinition.WrapAllTreeDefinitions(Repository repository)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at LibGit2Sharp.TreeDefinition.WrapAllTreeDefinitions(Repository repository)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass136_0.<CopyTree>b__0(ITfsWorkspace workspace)
   at Sep.Git.Tfs.VsCommon.TfsHelperBase.WithWorkspace(String localDirectory, IGitTfsRemote remote, TfsChangesetInfo versionToFetch, Action`1 action)
   at Sep.Git.Tfs.Core.GitTfsRemote.WithWorkspace(TfsChangesetInfo parentChangeset, Action`1 action)
   at Sep.Git.Tfs.Core.GitTfsRemote.CopyTree(String lastCommit, ITfsChangeset changeset)
   at Sep.Git.Tfs.Core.GitTfsRemote.quickFetch(ITfsChangeset changeset)
   at Sep.Git.Tfs.Commands.QuickFetch.DoFetch(IGitTfsRemote remote, Boolean stopOnFailMergeCommit)
   at Sep.Git.Tfs.Commands.Fetch.FetchRemote(Boolean stopOnFailMergeCommit, IGitTfsRemote remote)
   at Sep.Git.Tfs.Commands.Fetch.Run(Boolean stopOnFailMergeCommit, String[] args)
   at Sep.Git.Tfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath)
   --- End of inner exception stack trace ---
   at Sep.Git.Tfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args)
   at Sep.Git.Tfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs)
   at Sep.Git.Tfs.Program.Main(String[] args)
error: a problem occurred when trying to clone the repository. Try to solve the problem described below.
In any case, after, try to continue using command `git tfs fetch`

LibGit2Sharp.NotFoundException: Could not find 'C:/Users/john.doe/Code/My Project/.git/~w/api/_archived/core foo/cls_foo.vb' to stat: The system cannot find the file specified.

   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_blob_create_fromfile(RepositorySafeHandle repo, FilePath path)
   at LibGit2Sharp.ObjectDatabase.CreateBlob(String path)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at LibGit2Sharp.TreeDefinition.WrapAllTreeDefinitions(Repository repository)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at LibGit2Sharp.TreeDefinition.WrapAllTreeDefinitions(Repository repository)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at LibGit2Sharp.TreeDefinition.WrapAllTreeDefinitions(Repository repository)
   at LibGit2Sharp.TreeDefinition.Build(Repository repository)
   at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass136_0.<CopyTree>b__0(ITfsWorkspace workspace)
   at Sep.Git.Tfs.VsCommon.TfsHelperBase.WithWorkspace(String localDirectory, IGitTfsRemote remote, TfsChangesetInfo versionToFetch, Action`1 action)
   at Sep.Git.Tfs.Core.GitTfsRemote.WithWorkspace(TfsChangesetInfo parentChangeset, Action`1 action)
   at Sep.Git.Tfs.Core.GitTfsRemote.CopyTree(String lastCommit, ITfsChangeset changeset)
   at Sep.Git.Tfs.Core.GitTfsRemote.quickFetch(ITfsChangeset changeset)
   at Sep.Git.Tfs.Commands.QuickFetch.DoFetch(IGitTfsRemote remote, Boolean stopOnFailMergeCommit)
   at Sep.Git.Tfs.Commands.Fetch.FetchRemote(Boolean stopOnFailMergeCommit, IGitTfsRemote remote)
   at Sep.Git.Tfs.Commands.Fetch.Run(Boolean stopOnFailMergeCommit, String[] args)
   at Sep.Git.Tfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath)
Could not find 'C:/Users/john.doe/Code/My Project/.git/~w/api/_archived/core foo/cls_foo.vb' to stat: The system cannot find the file specified.

Note: there were approx. 4000 get [C####] lines, 237 TF30063 errors, and 10 "Object reference not set to an instance of an object" errors.

Given this behavior, what do you think about making a pull request that changes the "non-fatal" error handler to throw instead of just logging the error? It seems that the non-fatal errors are a big deal to git-tfs, and should probably be treated as fatal ones.


Feature Request: IP Address on Discovered Devices Toast Notification

When starting vscode the are toast notifications for discovered devices.
Would it be possible for this notification (either directly) or after clicking the 'expand' button to show the IP address of the discovered devices?

never mind, closing this. just found the brightscript language device view.


fix bug that give us 500 error message when creating image with custo…

…m repo
Signed-off-by: mgold1234<EMAIL_ADDRESS>Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run make pre-commit to check fmt/vet/lint/test-no-fdo

/lgtm


feat: [PL-57903]: fixed the platform SM tests logic to skip tests

Title: [Component/Feature] Short Description of the Change
Summary:
Provide a brief overview of what the PR does and why it is needed.
Details:
Explain the changes in detail, including any relevant context or background information.
Related Issues:
Reference any related issues or tickets
Testing Instructions:
Describe how the changes were tested. Include any test cases or steps to verify the functionality.
Please include the below test scenario with your changes.

Create the resource and execute terraform apply. (Verify the resource is created)
Execute terraform apply again without any changes. (Verify no changes should be done)
Update the resource and execute terraform apply. (Verify the resource updated successfully)
Remove the content from resource file and execute terraform apply. (Verify the resource has been deleted)
Add again the resource and execute the terraform apply. (Verify the resource is created)
Verify the import the resource file is working fine.
In case of remote entity, Verify for both default and non default branch.

Screenshots:
Include before and after screenshots to visually demonstrate the changes.
Checklist:

[x] Code changes are well-documented.
[x] Tests have been added/updated.
[x] Changes have been tested locally.
[ ] Documentation has been updated.

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck
gitleaks: trigger gitleaks

trigger gitleaks

Closed due to Gitleaks -- Opened here https://github.com/harness/terraform-provider-harness/pull/1103


change default view, put additional geojson layer of pacific islands

Change default view to be centered around pacific islands  (values are hard-coded.)
add geojson layer of area of interest. this layer is on all the time right now, and I wonder this should be toggled or not?

I think it's ok to leave it on all the time for now.


Only clock widget imported to scene builder 2.0. Please help me to import fGauge and guage

I am only able to import clock, please help me to import gauge and fgauge to import in to my scene builder 2.0

this is my scene builder version

@Iamjustalearner  That scene builder is 4 years old. Update to latest version and try maybe?

Medusa 8.3 works without a problem in SceneBuilder 8.5.0


Typing indicator

Feature request
A method to add a temporary typing indicator to the bottom of the message list so the user knows a response is being created.
For example, an asynchronous request is made before a reply can be posted, but it would be good for the user to know that their message is being dealt with.

use the renderCustomComponent method to display whatever you want!

There is the toggleMsgLoader() method. Doesn't seem to be documented but it does what you want @Dobby89
See https://github.com/Wolox/react-chat-widget/blob/f0715ad7ad4fcdacc67e5d1e3ced9624a8f19454/dev/App.js#L10 for example usage


Translation to russian

I think a link to Russian translation needs to be in original file README.md

I think a link to Russian translation needs to be in original file README.md

Good point! Done

Thank you so much for your translation!


[rtl] Update prim assert with OpenTitan version

This updates the assertion macros in prim_assert to coincide with the ones used in OpenTitan.
@udinator, could you do me a favor and double check whether this introduces any issues with your DV environment?

@msfschaffner - this PR doesn't seem to cause any issues with the existing DV environment, so LGTM

@udinator sorry there was an issue with this file that caused all assertions to be disabled (basically the  `undef INC_ASSERT at the end of the file). could you check again with this amended version?
@cindychip for visibility.

@udinator sorry there was an issue with this file that caused all assertions to be disabled (basically the `undef INC_ASSERT at the end of the file). could you check again with this amended version?
@cindychip for visibility.

After testing with the updated prim_assert.sv file, the tests I run all seem to be passing with no assertions firing during simulation.

Thanks @udinator. For reference, this PR is due to https://github.com/lowRISC/opentitan/pull/1301.


Add new section for "developer guides"

This adds a new section that includes general docs on getting started that are not specific to Mapzen's products.
This section is accessible by URL only for now. It is not on the /doc landing page, as it's not a product and should go along with some other tutorials that we can do later.
I am calling this section "Developer Guides" because guides seems more general and appropriate than tutorials, which usually indicates a set of step-by-step instructions.
These files are stored in the docs folder of this repo. This also moves the current index file for the overview section into an overview folder. I think I correctly updated the GitHub links to source for both of these. A redirect should not be necessary with the way the Makefile is written.
cc @rfriberg for your blog post!

Precog here: https://precog.mapzen.com/mapzen/mapzen-docs-generator/rfriberg/how-tos/documentation/guides

the TOC was weird, just like you said, but I double checked everything so it should be good!


Use fixed precision for string histogram buckets.

absl::StrCat/StrAppend convert numeric values to strings with inconsistent
decimal precision, which can lead to ugly formatting of the histogram.
This can be fixed by using StrAppendFormat with %f, which uses 6
decimals (printf default and as it was when we had std::to_string).

@MichaelGrupp LGTM, but please force push again to undo what the formatting bot did

@wally-the-cartographer merge


Add date and time information to build script

When running the build* tasks with extension it would be nice to have some information about date and time. (Similar to the B&R environment)
Maybe it is not necessary to add the date and time to each line entered in the terminal, but maybe at the start and the end.
Could also be used to check for improvements of the build performance.

I will look into it. What I can easily do is add the time at start and end and maybe also some time difference at end.
Something like:
2022.01.12 22:42:42.123 Starting Br.As.Build.exe
...
...
2022.01.12 22:44:42.123 Br.As.Build.exe finished with exit code 0, time since start 2min

I don't know how easy it will be to add a time for each line of output, as I just receive the command line output from the build process, which triggers an event on data. I never looked into it, but it may be not guaranteed to trigger an event on each line.


iouring: fix the IoUringImpl tests for the arm CI

Commit Message: iouring: fix the IoUringImpl tests for the arm CI
Additional Description:
The existing tests assume that the I/O request can be finished right after the request submission. Add waiting function before checking the I/O request completion, making those tests more reliable.
Risk Level: low
Testing: unittest
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
Fixes #33829

cc @phlax

Assigning Alyssa as a senior-maintainer with much tests timeout experience
/assign @alyssawilk


Updating the README.md file for GSSOC'24

Is your feature request related to a problem? Please describe.
Hello @akshitagupta15june @Susmita-Dey and @muditchoudhary ! I'd like to work on updating the README.md file of the PetMe project in order to make it more current and up to date, as part of the GSSoC'24 program.
Describe the solution you'd like
1. Change the banner from Hacktoberfest to Girlscript Summer of Code
The display banner on the README page directs people to the Hacktober Fest website, and I'd like to work on changing the display image to the Girlscript Summer of Code logo, and link the logo to their website.
2. Fix a display error
The "View our Website" section of the README page shows a broken image link like so:

I'd like to fix it by inserting a screenshot/display image of the PetMe website in it's place.

Helo, I am currently a GSSOC contributor, kindly assign the issue to me

Hi, I'm currently contributing under gssoc'24, please assign me this issue.
My profile: https://www.linkedin.com/in/shuvangi-de-369071236/


Add C# example

I imagine many developers would call this from a c# application. It help to have a standard C# example besides the cURL and Python example

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

ID: a5fa2bcb-4ecb-fea1-5126-36986c2c94e9
Version Independent ID: c6cd5bd0-b35b-5e29-7f5e-db8cabecc7af
Content: Quickstart: Train a model and extract form data by using cURL - Form Recognizer - Azure Cognitive Services
Content Source: articles/cognitive-services/form-recognizer/quickstarts/curl-train-extract.md
Service: cognitive-services
Sub-service: form-recognizer
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@onstwedder Good feedback, thank you a lot! @PatrickFarley Hi Patrick, do we have any plan for C# example? Thank you.

@YutongTie-MSFT Yes, but we are waiting for the .NET SDK to finalize. In the meantime, you can certainly write a C# application that makes the REST calls, but most developers want a native SDK experience.

@PatrickFarley Thank you for the information. @onstwedder Thank you for your feedback, let's wait for new samples. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.