HBASE-25986 set default value of normalization enabled from hbase site

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

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

_ branch-2 Compile Tests _

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

+1 :green_heart:
mvninstall
3m 53s
branch-2 passed

+1 :green_heart:
compile
5m 12s
branch-2 passed

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

+0 :ok:
refguide
3m 53s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
spotbugs
4m  6s
branch-2 passed

_ Patch Compile Tests _

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

-1 :x:
mvninstall
1m  4s
root in the patch failed.

-1 :x:
compile
0m 26s
hbase-client in the patch failed.

-0 :warning:
javac
0m 26s
hbase-client in the patch failed.

+1 :green_heart:
checkstyle
0m 21s
The patch passed checkstyle in hbase-common

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

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

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

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+0 :ok:
refguide
3m 37s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

-1 :x:
hadoopcheck
1m 31s
The patch causes 16 errors with Hadoop v3.1.2.

-1 :x:
hadoopcheck
3m  3s
The patch causes 16 errors with Hadoop v3.2.1.

-1 :x:
spotbugs
0m 22s
hbase-client in the patch failed.

_ Other Tests _

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

41m 30s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile refguide xml

uname
Linux 70b43925a6c3 4.15.0-142-generic #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / fa8bc25ebf

Default Java
AdoptOpenJDK-1.8.0_282-b08

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/branch-site/book.html

mvninstall
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-mvninstall-root.txt

compile
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-compile-hbase-client.txt

javac
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-compile-hbase-client.txt

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-site/book.html

hadoopcheck
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-javac-3.1.2.txt

hadoopcheck
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-javac-3.2.1.txt

spotbugs
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-general-check/output/patch-spotbugs-hbase-client.txt

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

modules
C: hbase-common hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2 Compile Tests _

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

+1 :green_heart:
mvninstall
4m 49s
branch-2 passed

+1 :green_heart:
compile
2m 18s
branch-2 passed

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

+1 :green_heart:
javadoc
1m 48s
branch-2 passed

_ Patch Compile Tests _

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

-1 :x:
mvninstall
1m 21s
root in the patch failed.

-1 :x:
compile
0m 28s
hbase-client in the patch failed.

-0 :warning:
javac
0m 28s
hbase-client in the patch failed.

-1 :x:
shadedjars
3m 51s
patch has 16 errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 29s
hbase-client in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
1m 56s
hbase-common in the patch passed.

-1 :x:
unit
0m 30s
hbase-client in the patch failed.

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

168m 53s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / fa8bc25ebf

Default Java
AdoptOpenJDK-11.0.10+9

mvninstall
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-jdk11-hadoop3-check/output/patch-mvninstall-root.txt

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

javac
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-jdk11-hadoop3-check/output/patch-compile-hbase-client.txt

shadedjars
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-jdk11-hadoop3-check/output/patch-shadedjars.txt

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

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

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

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

modules
C: hbase-common hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2 Compile Tests _

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

+1 :green_heart:
mvninstall
3m 37s
branch-2 passed

+1 :green_heart:
compile
1m 48s
branch-2 passed

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

+1 :green_heart:
javadoc
1m 24s
branch-2 passed

_ Patch Compile Tests _

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

-1 :x:
mvninstall
0m 59s
root in the patch failed.

-1 :x:
compile
0m 25s
hbase-client in the patch failed.

-0 :warning:
javac
0m 25s
hbase-client in the patch failed.

-1 :x:
shadedjars
2m 57s
patch has 16 errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 24s
hbase-client in the patch failed.

_ Other Tests _

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

-1 :x:
unit
0m 25s
hbase-client in the patch failed.

+1 :green_heart:
unit
142m 25s
hbase-server in the patch passed.

169m 14s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / fa8bc25ebf

Default Java
AdoptOpenJDK-1.8.0_282-b08

mvninstall
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-jdk8-hadoop2-check/output/patch-mvninstall-root.txt

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

javac
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-jdk8-hadoop2-check/output/patch-compile-hbase-client.txt

shadedjars
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/1/artifact/yetus-jdk8-hadoop2-check/output/patch-shadedjars.txt

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

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

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

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

modules
C: hbase-common hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

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

_ branch-2 Compile Tests _

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

+1 :green_heart:
mvninstall
4m 44s
branch-2 passed

+1 :green_heart:
compile
6m 26s
branch-2 passed

+1 :green_heart:
checkstyle
2m 29s
branch-2 passed

+0 :ok:
refguide
4m 57s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
spotbugs
5m  7s
branch-2 passed

_ Patch Compile Tests _

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

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

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

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

+1 :green_heart:
checkstyle
0m 24s
The patch passed checkstyle in hbase-common

+1 :green_heart:
checkstyle
0m 33s
hbase-client: The patch generated 0 new + 64 unchanged - 2 fixed = 64 total (was 66)

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

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

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+0 :ok:
refguide
3m 34s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

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

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

_ Other Tests _

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

66m  1s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile refguide xml

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 692d384ec6

Default Java
AdoptOpenJDK-1.8.0_282-b08

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/2/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3476/2/artifact/yetus-general-check/output/patch-site/book.html

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

modules
C: hbase-common hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2 Compile Tests _

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

+1 :green_heart:
mvninstall
4m 15s
branch-2 passed

+1 :green_heart:
compile
1m 59s
branch-2 passed

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

+1 :green_heart:
javadoc
1m 30s
branch-2 passed

_ Patch Compile Tests _

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

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

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

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

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

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

_ Other Tests _

+1 :green_heart:
unit
1m 35s
hbase-common in the patch passed.

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

+1 :green_heart:
unit
149m 27s
hbase-server in the patch passed.

187m  5s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 692d384ec6

Default Java
AdoptOpenJDK-1.8.0_282-b08

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

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

modules
C: hbase-common hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ branch-2 Compile Tests _

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

+1 :green_heart:
mvninstall
4m 28s
branch-2 passed

+1 :green_heart:
compile
2m  7s
branch-2 passed

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

+1 :green_heart:
javadoc
1m 36s
branch-2 passed

_ Patch Compile Tests _

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

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

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

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

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

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

_ Other Tests _

+1 :green_heart:
unit
1m 52s
hbase-common in the patch passed.

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

+1 :green_heart:
unit
142m  3s
hbase-server in the patch passed.

180m 39s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 692d384ec6

Default Java
AdoptOpenJDK-11.0.10+9

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

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

modules
C: hbase-common hbase-client hbase-server U: .

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

versions
git=2.17.1 maven=3.6.3

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

This message was automatically generated.


Documentation how to call the main algorithms

I would appreciate some documentation how to call the main algorithms through the API's execute. At the moment I only managed to call the TextExtractor algorithm successfully.
Which algorithm expect which parameters and should they be text strings, ids or full written uris? Maybe some example calls helps as well.

See also https://github.com/infolis/infolis-web/issues/10

I began documenting some calls for the main algorithm: https://github.com/infolis/infolis-web/wiki/API-calls-to-algorithms , however I am not familiar with the details. Thus any help is welcome to expand this information.

That has worked out pretty well, many thanks to all contributors of the wiki page. I will close the issue here now. However, more documentation is always appreciated.


Disallow blanket and unused suppressions

Summary of changes
As title says.
imo PGH003, PGH004 and RUF100 should be part of the skeleton base rules.
Same for mypy's warn_unused_ignores = True and enable_error_code = ignore-without-code if not in strict mode
(RUF101 is still in preview)

Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in newsfragments/.
(See documentation for details)

Thank you. Let's wait for the feedback in skeleton.

Thank you. Let's wait for the feedback in skeleton.

https://github.com/jaraco/skeleton/pull/136 has been merged

With all the other merges, this PR has become extremely tiny 😃

Thank you very much.


Update 3.1.0

Checklist

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

@JIVJGFJZKF you are listed as maintainer, can you review please?


Are these all the transformation methods supported?

I am unable to tell what all the transformation methods are. And how do you supply custom methods.

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

ID: 9161f948-7c8c-0a57-19ad-1ae731fd65c8
Version Independent ID: 77b6ea7f-e2fe-a7b2-60fa-80b198413ee8
Content: General claims transformation examples for the Identity Experience Framework Schema of Azure Active Directory B2C
Content Source: articles/active-directory-b2c/general-transformations.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@valnav Thanks for your feedback! We will investigate and update soon on it.

@valnav You can refer to Claims transformation for more information.

@valnav We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


About F-beta measure

In the paper, the authors stated "As it is more random for descriptions to include the exact sampled hallucinated objects, false-negative (FN) and the resulting recall become less trustable in the offline checks."
However, labels of hallucinated objects are 0, If the generated captions contain the exact hallucinated objects, then prediction = 1.
So, the cases that "descriptions to include the exact sampled hallucinated objects" corresponds to false-positive (FP)
Shouldn't it be FP and the resulting precision less trustable?
Looking forward to your reply!

Hi, thanks for your interest in HALC!
Since OPOPE examine the model's response in a passive manner (instead of actively), it cannot guarantee that all the "non-hallucinated" objects (i.e., correct object that actually exist in the image) are provided in the caption. In OPOPE, we follow POPE and define that if a object exists in the ground-truth image, then its label should be positive, otherwise negative. Thus OPOPE have large variance on precision with no explicit guarantee on the false negatives (objects that exist in the image but not grounded in the caption).
We hope the above clarification has addressed your concerns. Looking forward to your reply!


Terminating task due to error: CMD not supported

Hayoooo,
I am trying to run the OLLAMA server as a docker image.
Here's my attempt so far:

import json
import os
import subprocess

from modal import Image, Secret, Stub, web_endpoint

ollama_image = Image.from_registry(
    "ollama/ollama",
    add_python="3.11",
    setup_dockerfile_commands=['ENTRYPOINT ["/bin/ollama"]','CMD ["serve"]'],
)

stub = Stub("ollama-server")

@stub.function(
    image=ollama_image
)
def download_model():

    subprocess.run(
        ["ollama", "pull", "mistral7b"],
        env={**os.environ},
    )

@stub.local_entrypoint()
def run():
    download_model.remote()

This is the error:

Building image im-V7KNUgkjZ8YMdToYiBB1NL

=> Step 0: FROM ollama/ollama
Getting image source signatures
Copying blob sha256:ece965e642055f2e0132b7e852c02d8ba193538e9dac14794dfba24e12ee366d
Copying blob sha256:aece8493d3972efa43bfd4ee3cdba659c0f787f8f59c82fb3e48c87cbb22a12e
Copying blob sha256:3b9196308e0f6c75d845f81026884e381c5fe995ebce0c559dd390acc2655013
Copying config sha256:871fb7f12b8c62a0996cedd4a5b045c971b3a1a53f6660df288cd6679bab92ab
Writing manifest to image destination
Unpacking OCI image
   • unpacking rootfs ...
   • ... done
   • unpacked image rootfs: /tmp/.tmpsq3quY

=> Step 1: COPY /python/. /usr/local

=> Step 2: RUN ln -s /usr/local/bin/python3 /usr/local/bin/python

=> Step 3: ENV TERMINFO_DIRS=/etc/terminfo:/lib/terminfo:/usr/share/terminfo:/usr/lib/terminfo

=> Step 4: ENTRYPOINT ["/bin/ollama"]

=> Step 5: CMD ["serve"]
Terminating task due to error: CMD not supported
Runner failed with exception: task exited with failure, status = exit status: 1

So I tried:
ollama_image = Image.from_registry(
    "ollama/ollama",
    add_python="3.11",
    setup_dockerfile_commands=['ENTRYPOINT ["/bin/ollama serve"]'],
)

But then I get:
Built image im-oN72gJiKN3qGnZIcB6W1QA in 38.24s
✓ Created objects.
├── 🔨 Created mount /home/robomotic/DevOps/github/causalbot/ollama/modalabs/runollama.py
└── 🔨 Created download_model.
[dumb-init] /bin/ollama serve: No such file or directory
Runner failed with exit code: 2

This is the dockerfile for reference:
https://github.com/jmorganca/ollama/blob/main/Dockerfile

Hi @priamai, I suggest you do the following to debug this app:

remove ENTRYPOINT and then use a modal shell to investigate if the binaries are available, have been correctly installed, etc.
serve ollama using a Modal Tunnel

Let me know if that works.

Hello thanks for the suggestion,so I changed it like so:
import json
import os
import subprocess

from modal import Image, Secret, Stub, web_endpoint

ollama_image = Image.from_registry(
    "ollama/ollama",
    add_python="3.11",
    setup_dockerfile_commands=[],
)

stub = Stub("ollama-server")

@stub.function(
    image=ollama_image
)
def download_model():

    subprocess.run(
        ["ollama", "pull", "mistral7b"],
        env={**os.environ},
    )

@stub.local_entrypoint()
def run():
    download_model.remote()

Then I run: modal shell myfile.py but it seems to trigger the download_model, how do I just get a shell inside the image?
✓ Created objects.
├── 🔨 Created mount /home/robomotic/DevOps/github/causalbot/ollama/modalabs/runollama.py
└── 🔨 Created download_model.
Error: unknown command "python" for "ollama"
                                            Runner failed with exit code: 1
                                                                           Error: unknown command "python" for "ollama"
                                                                                Runner failed with exit code: 1
                                                                                Error: unknown command "python" for "ollama"
                                  Runner failed with exit code: 1
                                                                 Error: unknown command "python" for "ollama"

Also tried:

Wow a couple of questions as I want to learn:
A) the entrypoint bash file: why do we need it? What's inside it? It's stored on your local folder?
B) why my shell attempt failed to get a command? Do I need to specify a specific SSH tunnell?
C) modal tunnell: can it be used to add for example basic HTTP authentication?
Thanks a lot for the help.

It all makes sense now, in fact when I run the shell inside the container I see exactly my local python file.
Just a minor thing,I have an error on the tls_socket print out (i commented it out for now):
Traceback (most recent call last):
  File "/pkg/modal/_container_entrypoint.py", line 342, in handle_input_exception
    yield
  File "/pkg/modal/_container_entrypoint.py", line 460, in run_inputs
    res = imp_fun.fun(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/ollama_service.py", line 84, in serve
    print(f"tunnel.tls_socket = {tunnel.tls_socket}")
                                 ^^^^^^^^^^^^^^^^^
AttributeError: 'Tunnel' object has no attribute 'tls_socket'

Yes I can play with the FASTAPI authenticator, it should be very easy.
Also another more complex setup question: let's say I want to run 2 containers (like the one I have in my docker composer file) where they use the internal network to communicate but only one is exposed to public interface, is this possible to replicate in modal?

This is my first attempt:
import sys
import time
import subprocess

import modal

# Default server port.
OLLAMA_PORT: int = 11434

def _run_subprocess(cmd: list[str], block: bool = True) -> None:
    if block:
        subprocess.run(
            cmd,
            stdout=sys.stdout,
            stderr=sys.stderr,
            check=True,
        )
    else:
        subprocess.Popen(
            cmd,
            stdout=sys.stdout,
            stderr=sys.stderr,
        )

def _is_server_healthy(port: int = OLLAMA_PORT) -> bool:
    url = f"http://localhost:{port}/"
    try:
        response = requests.get(url)
        if response.ok:
            print(f"Successfully made a request to {url}")
            return True
        else:
            print(f"Received a non-success status code from {url}")
            return False
    except requests.RequestException as e:
        print(f"Error making a request to {url}: {e}")
        return False

def download_model():
    _run_subprocess(["ollama", "serve"], block=False)
    while not _is_server_healthy():
        print("waiting for server to start ...")
        time.sleep(1)

    _run_subprocess(["ollama", "pull", "mistral"])

image = (
    modal.Image.from_registry(
        "ollama/ollama",
        add_python="3.11",
    )
    .pip_install("requests")  # for healthchecks
    .copy_local_file("./entrypoint.sh", "/opt/entrypoint.sh")
    .dockerfile_commands(
        [
            "RUN chmod a+x /opt/entrypoint.sh",
            'ENTRYPOINT ["/opt/entrypoint.sh"]',
        ]
    )
    .run_function(download_model)
)

stub = modal.Stub("ollama-server", image=image)

with stub.image.run_inside():
    import requests

from modal import Secret, Stub, web_endpoint

from fastapi import Depends, HTTPException, status, Request,Response
from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials

auth_scheme = HTTPBearer()

@stub.function(secret=Secret.from_name("ollama-secret"))
@web_endpoint()
async def f(request: Request, token: HTTPAuthorizationCredentials = Depends(auth_scheme)):
    import os

    print(os.environ["OLLAMA_AUTH_TOKEN"])
    print(request.url)

    if token.credentials != os.environ["OLLAMA_AUTH_TOKEN"]:
        raise HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Incorrect bearer token",
            headers={"WWW-Authenticate": "Bearer"},
        )
    else:
        url = f"http://localhost:{OLLAMA_PORT}/"
        try:
            int_response = requests.get(url)

            return Response(content=int_response.content)
        except Exception:
            raise HTTPException(status_code=int_response.status_code)

@stub.function()
def serve():
    # Start Ollama server.
    _run_subprocess(["ollama", "serve"], block=False)
    while not _is_server_healthy():
        print("waiting for server to start ...")
        time.sleep(1)

    # Serve Ollama forever; expose server via Modal Tunnel.
    with modal.forward(OLLAMA_PORT) as tunnel:
        print(f"tunnel.url        = {tunnel.url}")
        #print(f"tunnel.tls_socket = {tunnel.tls_socket}")
        while True:
            time.sleep(1)

@stub.local_entrypoint()
def run():
    serve.remote()

I am guessing I will then need to disable the tunnel and just keep the web_endpoint.
Is the endpoint going to catch all the possible URLS? So effectively I can just replicate the path to the local server?
Cheers!

That's about right. You'll have to do a bit more than just this
    else:
        url = f"http://localhost:{OLLAMA_PORT}/"
        try:
            int_response = requests.get(url)

            return Response(content=int_response.content)
        except Exception:
            raise HTTPException(status_code=int_response.status_code)

in order to proxy the request correctly (you need to pass the URL path and data [request body?]) but that's in the right path.
I am going to close this issue for now. Can you join our community Slack so we can keep chatting about this?


I got an error while load driving video and source image. How can i fix it?

FileNotFoundError                         Traceback (most recent call last)
 in ()
8 warnings.filterwarnings("ignore")
9
---> 10 source_image = imageio.imread('/content/gdrive/My Drive/first-order-motion-model/02.png')
11 driving_video = imageio.mimread('/content/gdrive/My Drive/first-order-motion-model/04.mp4')
12
3 frames
/usr/local/lib/python3.6/dist-packages/imageio/core/request.py in _parse_uri(self, uri)
271                 # Reading: check that the file exists (but is allowed a dir)
272                 if not os.path.exists(fn):
--> 273                     raise FileNotFoundError("No such file: '%s'" % fn)
274             else:
275                 # Writing: check that the directory to write to does exist
FileNotFoundError: No such file: '/content/gdrive/My Drive/first-order-motion-model/02.png'

You did not mount a Google drive or did not copy folder to your Google drive.

i did

Proof? Screenshot?

me too man

FileNotFoundError                         Traceback (most recent call last)
 in ()
8 warnings.filterwarnings("ignore")
9
---> 10 source_image = imageio.imread('/content/gdrive/My Drive/first-order-motion-model/02.png')
11 driving_video = imageio.mimread('/content/gdrive/My Drive/first-order-motion-model/04.mp4')
12
3 frames
/usr/local/lib/python3.6/dist-packages/imageio/core/request.py in _parse_uri(self, uri)
271                 # Reading: check that the file exists (but is allowed a dir)
272                 if not os.path.exists(fn):
--> 273                     raise FileNotFoundError("No such file: '%s'" % fn)
274             else:
275                 # Writing: check that the directory to write to does exist
FileNotFoundError: No such file: '/content/gdrive/My Drive/first-order-motion-model/02.png'

I need screen of the folder structure in notebook

Folder structure.

This is not a folder structure.

It is in the separate tab on the left.

Do you mean this one?

Yes, but show Google drive folder.

No, google drive folder inside notebook.

oops i forgot to mount

You should change device in setting to gpu.

what is google drive folder inside notebook?

nevermind i forgot to change the folder to png


PDFs don't render at "/patients/[patient id]/health_card.pdf"

PDFs don't render when fetching the PDF at the route "/patients/[number]/health_card.pdf" where [number] is the patient's ID. I found this message in the logs:
ActionView::Template::Error (The asset "qr-code.js" is not present in the asset pipeline.
):
1: <%= javascript_pack_tag 'qrcode' %>
2: <%= wicked_pdf_javascript_include_tag "qr-code" %>
3:
4: <%=wicked_pdf_stylesheet_link_tag 'pdf' %>
5:
<%= notice %>

app/views/health_cards/show.pdf.erb:2
app/controllers/health_cards_controller.rb:21:in `block (2 levels) in show'
app/controllers/health_cards_controller.rb:12:in `show'
app/controllers/application_controller.rb:31:in `handle_fhir_errors'

I noticed that there is a file at "app/javascript/packs/qrcode.js" so I changed  the erb at line 2 above from qr-code to qrcode but it doesn't make a difference -- looks like it could be doing some fancy caching somewhere.

PR #88 should address this, as it finalizes our migration from JS based QR code generation to server side.

@gjskha can you update to the latest main branch and see if the recent merge of #88 has fixed your issue? I'm able to get the PDF to render on main locally and in docker.
If you are using docker you'll need to set the host appropriately (e.g. docker run -p 3000:3000 --env HOST=http://localhost:3000 health_cards)

I can indeed generate PDFs now, using non-Docker method.  Closing.


can`t press +custom in python environments

i have python 3.5 32 and python 3.6 64
it occur after i write 3.6 in it，and it occurs an error，i wait for a short time and use Taskmgr to kill it。
and it can`t be config again,just like the picture shows.

i choose repair ,but  cant fix it. i uninstall python tools and reinstall it , cant fix it too.
what should i do.

Does restarting VS let you click it again? If so, can you get us a copy of the error it displays? (It is normal behavior for the button to become disabled after an error occurs, but it should come back after restarting.)

restart is useless ，i have tried for many times。
i try to reinstall vs（not repair） ，try to reinstall  Python interpreter ，but useless。
finally i format c: and reinstall the windows10 operating system and vs，it was helpful。
i am sorry i didn't have the copy of display。
i just remember after i choose the 3.6 piefix path，press auto detect,press apply ,it get a error。


Allow Overrding of IDGenerator

Pull Request type

[ ] Bugfix
[ x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
[ ] WHOSUSING.md
[ ] Other (please describe):

Changes in this PR
IDGenerator is a fixed class today with a static generate() method to generate ID for workflows and tasks.
This makes it impossible to override the id generation logic for cases where users want to have a separate scheme for id generation.
This change allows users to override the IDGenerator class while keeping the default implementation intact.
Describe the new behavior from this PR, and why it's needed
Issue #
Alternatives considered
Describe alternative implementation you have considered

Hello @v1r3n currently the Cassandra module requires an uuid for workflow and tasks: https://github.com/Netflix/conductor/blob/main/cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraBaseDAO.java#L152
So if a custom ID generator is used, user needs to be aware of that might not work with Cassandra module. Could you please add comment or document it somewhere?
Also, the id generator is all over the code bases, would you be interested to refactor that so to move everything to the storage layer?

Hello @v1r3n currently the Cassandra module requires an uuid for workflow and tasks: https://github.com/Netflix/conductor/blob/main/cassandra-persistence/src/main/java/com/netflix/conductor/cassandra/dao/CassandraBaseDAO.java#L152 So if a custom ID generator is used, user needs to be aware of that might not work with Cassandra module. Could you please add comment or document it somewhere?
I have added a note on the Id Generator class to indicate that C* needs IDs to be valid UUIDs and the overriding should be done with careful consideration on the storage layer.
Also, the id generator is all over the code bases, would you be interested to refactor that so to move everything to the storage layer?
Happy to do this, I did consider this earlier, but that will require significant refactoring of the code - I can send another PR after this one is merged so we can break this down in multiple pushes.


[feat] customizable output file names for prerendering

Before submitting the PR, please make sure you do the following

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Fixes #1443
This PR provide an optional callback to custom entry names for adapter-static.
Example:

blog/hello-world.html.svelte => blog/hello-world.html
about.svelte => about.html

// svelte.config.js
import adapter from '@sveltejs/adapter-static';
import { format, parse } from 'path';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	kit: {
		adapter: adapter({
			fallback: '200.html',
			outputFileName: ({ path, is_html }) => {
				if (!is_html) return path;

				let { root, dir, name, ext } = parse(path);

				if (!ext) ext = '.html';

				return format({ root, dir, name, ext });
			}
		}),
		target: '#svelte'
	}
};

export default config;

According to the coding style guidelines, renamed API option name and use deconstruction of object as argument.
Added changeset.

It looks like pnpm lint is failing. Please run pnpm format to fix it

Thank you for this PR. I discussed it with the rest of the maintainers at today's maintainer's meeting and the thought was that we should just add a boolean to add the .html extension. Folks thought the need for the option was fairly specific and that adding a function was too broad of a solution and would be harder to use for the more narrow need that has been expressed
I really appreciate all the work that you've done on this. I'm going to go ahead and close it though given the feedback from the maintainers group. I'd be happy to consider a PR for the boolean option though


Dev replace junit assertthat with hamcrest import

Description
Changes the deprecated method, org.junit.Assert.assertThat, to  org.hamcrest.MatcherAssert.assertThat.
Issues Resolved
Resolves AOS-584.
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] 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.

@MitchellGale-BitQuill can you update the description to remove the reference to the AOS issue?
We do not reference internal issues anywhere in GitHub because they are meaningful only internally.

Can you please update the checkboxes in the description  to checked as well?
- [x] in the description is rendered as a checkbox.


Init Azure.ResourceManager.PolicyInsights

/azp run prepare-pipelines

/azp run prepare-pipelines

/azp run net - policyinsights - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.PolicyInsights


Decouple progress bar from tasks that use them

Tasks can now implement ProgressIndicatorAwareInterface  and use ProgressIndicatorAwareTrait to have access to a progress bar without having a direct reference to IO or an output object.
The task must still call startProgressIndicator() & c. to make the progress indicator go, of course. If the DI container does not have a progress bar, though, then these calls will be no-ops, so programs that do not provide progress displays may still use tasks that utilize them.
The TaskIO trait is aware of the progress interface, and will automatically hide and then re-show the progress bar if a task uses one of the printTaskInfo methods to produce output while the progress bar is running.
Note that ProgressIndicatorAwareTrait has a use Timer and manages the timer automatically.  Nearly automatically, anyway; tasks must still insert ['time' => $this->getExecutionTime()] into their Result manually.
Note that I added a parascript.php script in the test data, and call it from RoboFile::tryPara().  There is a --printed option, so you can see parallel execution with or without the command output of each subprocess.
There are a couple of minor hacks in ProgressIndicatorAwareTrait to work around behaviors of the upstream. We could also fix these by subclassing the ProgressBar, but I think it would be sufficient to leave it like this for now, & eventually fix in the upstream.

Looks good to me overall. My proposed change is about to make code a bit more readable and easy to follow.


Elastic Cloud resource management through Terraform blocked with Traffic Filter enabled

Forbidden responses received when attempting to manage Elastic Cloud resources through Terraform with Traffic Filter enabled.
For example, without a Traffic Filter enabled, it is possible to plan and manage Roles or Role Mappings. But after enabling the Traffic Filter, Forbidden responses are received when attempting Terraform Apply.
This same issue was raised on the Elastic Community, without any response, here: https://discuss.elastic.co/t/terraform-traffic-filters-and-kibana/327767
To Reproduce
Steps to reproduce the behavior:

Ensure Traffic Filters are not enabled for Elastic Cloud deployment.
Create Role and Role Mappings through Terraform using Elasticstack provider.
Enable Traffic Filter for Elastic Cloud deployment.
Run Terraform Plan. This fails with Error: Unable to connect to the Elasticsearch cluster and Forbidden responses, e.g. {"ok":false,"message":"Forbidden"}.

Expected behavior
Terraform commands should succeed without Forbidden responses.
Versions (please complete the following information):

OS: Windows 10
Terraform Version 1.7.5
Elasticstack Provider version 0.11.2
Elasticsearch Version 8.11.3

It sounds like you need to include the network where Terraform is being executed from within the traffic filter rules. There's nothing specific to the Elasticstack provider here, it's just another HTTP client as far as the Elastic Cloud network is concerned.


Fix: error while building loadtest docker server #10

updated go version to 1.7

This pull request is now managed with CodeReviewHub. Refresh.


Support to update credentials manually to an account

Explain the changes

Added an API to update credentials manually to an account.

@achouhan09 what about the complexity of the credentials?
Can I send access_key "123" and secret_key "123"?

@achouhan09 what about the complexity of the credentials? Can I send access_key "123" and secret_key "123"?

@shirady Yes needs to be added, I will put the validation for complexity. Thanks!

I am not convinced that we need to protect it.
it is an internal API.
We do not protect it on create nor update
@dannyzaken WDYT?

@liranmauda @achouhan09 why do we need update_account_keys?

@liranmauda @achouhan09 why do we need update_account_keys?

We need to set credentials manually to an account
This is part of an Epic for 5.17


BUG: xorbits.shutdown() didn't destroy the cluster

Describe the bug
When created an Xorbits cluster on kubernetes, xorbits.shutdown didn't destroy the cluster.

Currently, there is no interface that can directly shut down the cluster. An interface for stopping can be added to the cluster API.


Add opening hours field to all amenities

In case the amenity is not eligible for standard fields, add it somewhere below.

Done in 0.2.


Does this project support windows OS?

as the title.

We didn't test it on Windows OS and as far as I know, the cython based testing code is not supported compiling in Windows OS.


Windows CNG : BCryptEncrypt API failing for AES-128-CFB-128 when the input plaintext is size is not multiple of 16 and padding is off

BCryptEncrypt API API is failing when input plaintext is size is not multiple of 16 and padding is off with error 0xc0000206/STATUS_INVALID_BUFFER_SIZE. AES-CFB encryption is self-synchronizing stream cipher so it should run if the input plain text length is not multiple of blocksize. I tested AES-128-CFB-128 with OpenSSL for the same plain text and padding is off then it generating the ciphertext but windows CNG is failing for the same.
Please visit link for more details

Doc is here: https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptencrypt#parameters. Tagging @drewbatgit


operator strimzi-kafka-operator (0.32.0)

This PR adds new release of Strimzi (0.32.0) to community operators on OpenShift Operator Hub
Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description of the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

/merge possible

@J0zi @mvalarh Any idea why the tests failed? It looks like the test suite cannot list the logs properly. But we did not changed anything with regards to how the pods are named. We got the same error also for OperatorHub.io in https://github.com/k8s-operatorhub/community-operators/pull/1912

/test all

/merge possible


[question]: Possible to call a PostgreSQL function from within Babelfish?

What happened?
Babelfish 2.1 currently lacks support for WAITFOR DELAY; however, I note that PostgreSQL has the pg_sleep() function which would do the job just fine. Is there any way to call a Postgres function directly from Babelfish so we can implement our own missing functions rather than waiting for the team to add them?
Version
BABEL_1_X_DEV (Default)
Extension
No response
Which flavor of Linux are you using when you see the bug?
No response
Relevant log output
No response
Code of Conduct

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

Indeed you can call pg_sleep directly from T-SQL using the EXECUTE keyword. A slightly bigger issue is how to convert the time argument to pg_sleep, E.g. waitfor delay '01:02:03' becomes EXECUTE pg_sleep 3723.0
In fact, the Babelfish Compass tool will do this conversion for you when you use the -rewrite option (get Compass here: https://github.com/babelfish-for-postgresql/babelfish_compass/releases/latest)


Working with CryptoContainers in Aretha

Implement interface to allow working with cryptocontainers as  Anubis already contains the functions

Pushed a general fix for this


rename voice_assistant.state to agent.state

Following conversation in Slack.
See https://github.com/livekit/components-js/pull/976 as well

Are we expecting users to add custom states directly to the VoiceAssistant class ?
If we do, we should make _update_state a public method.
If not, it might make sense to keep VoiceAssistantState as a narrowed down type of AssistantState where assistant state could consist only of either str or some more generally applicable states than listening and speaking - which sound very much voice-only related.

Are we expecting users to add custom states directly to the VoiceAssistant class ? If we do, we should make _update_state a public method. If not, it might make sense to keep VoiceAssistantState as a narrowed down type of AssistantState where assistant state could consist only of either str or some more generally applicable states than listening and speaking - which sound very much voice-only related.

yeah that could make sense - i think that would be easy to change later as we think through it so i'm going to merge this once the tests pass

i think that would be easy to change later as we think through it

if we choose to narrow down a type lateron, I think that will be a breaking change?

i think that would be easy to change later as we think through it

if we choose to narrow down a type lateron, I think that will be a breaking change?

in this version, VoiceAssistantState (as a type) doesn't exist at all in the public parts of the framework - it's all internal.

@theomonnom and I discussed offline and decided it would be a good idea to use a lk. prefix on attributes we define, to avoid collisions with user-defined attributes.

in this version, VoiceAssistantState (as a type) doesn't exist at all in the public parts of the framework - it's all internal.

makes sense, but we do expose the changed name in https://github.com/livekit/components-js/pull/976

makes sense, but we do expose it in livekit/components-js#976

yeah the values are exposed but not the constrained python type. but maybe i misunderstood your suggestion - were you thinking it's good to keep the voice_assistant.state attribute too? in addition to a agent.state attribute that has less granularity?


AutoJoin Call

Could you help how to skip preview dialog and join group call - similar to press join call button click on preview dialog

@ShaunaSong thanks for example, but where in CommunicationCallingSampleMauiApp i can customize joinGroupCall? for example in ...\CommunicationCallingSampleMauiApp\Platforms\Android\Composite.cs used below
callComposite.Launch(MainActivity.Instance, remoteOptions, new CallCompositeLocalOptions(personaData));
So will apreciate if you will provide example relevant to your sample application

@ShaunaSong  any chance to get answer?

Hi @vovanb, please look at https://github.com/Azure-Samples/communication-services-ui-library-maui/blob/main/CommunicationCallingSampleMauiApp/JoinCallPage.xaml.cs
_callControlProps.isSkipSetupON = false;

thanks it is working now.


Mailing list ?

Some issues would be better in a mailing list. This way less work for the developers having questions in the issues. Something like a google group should be easy to set up.

Hi,
Good idea, I have created an elassandra web form on google group https://groups.google.com/forum/#!forum/elassandra
Vincent.

Need to be open (i think) and added to docs/readme. And current issues that aren't bugs/features closed and pointed there.

Ok, it's now open, and support link added to the README.md.

I think you should also make it public to read/search it? Currently you need to apply + get accepted just to read it. (should be only for writing).
Open in icognito/private to verify: https://groups.google.com/forum/#!forum/elassandra


Guards against malformed trace extraction without allocating exceptions

This makes sure when we parse bad data, we can log, but don't do things
expensive in the mean time. This does so by inlining parsing.
Fixes #625

laptop says this can fail B3 73+ times per microsecond, so probably ok

If the trace context is malformed yeah I don't think there is value
trusting the sampling decision either. It is simpler this way and also
hopefully will help people find bugs.

Keep in mind a well formed request is still good. Ex sampled without trace
id is ok. Only if a trace id is malformed should we kick out.

backfilled tests including that it doesn't log by default

What about declaring more examples here on what happens by using a data
provider? that would be more expressive in terms on which cases this
will/won't fail. What do you think?

there's a fair amount of redundancy in the trace context tests vs here, so
was just testing lightly

circleci is busted due to broken config on the bom which is fixed externally #628

so benchmark results for extraction in normal case are almost exactly the same (within error range)
benchmark results for extracting a bad context are much different.
Scenario where there's a malformed parent ID, but everything else is OK (note: we toss the context based on malformed)
catch exception approach
Benchmark                                    Mode  Cnt   Score   Error   Units
PropagationBenchmarks.extract_b3            thrpt   15  10.564 ± 0.469  ops/us
PropagationBenchmarks.extract_b3_malformed  thrpt   15   0.570 ± 0.027  ops/us

current code approach
Benchmark                                    Mode  Cnt   Score   Error   Units
PropagationBenchmarks.extract_b3            thrpt   15  11.283 ± 0.424  ops/us
PropagationBenchmarks.extract_b3_malformed  thrpt   15  12.410 ± 0.380  ops/us

Nice test cases :)


Add CP51932 encoding

https://www.iana.org/assignments/charset-reg/CP51932
Resolves: https://github.com/ruby/prism/issues/1844

Nice job @wildmaples!


Authenticate client using basic authentication.

According to the OAuth2 specification (http://tools.ietf.org/html/rfc6749#section-2.3.1) , the client credentials can be provided using basic authentication or request body.
This pull request adds basic authentication support.

Interesting.
Code structure wise i wonder if this might need to be pushed into the provider code to either add the client id/secret to the post body parameters, or the basic auth header. Since this PR leaves the values in both it's unclear to me what of the 3 supported providers are actually using the Basic auth header.

I think that it is not a problem to send credentials in both ways, the OAuth2 provider can use the post parameters or the basic auth header.
I just tested google provider with basic authentication only and that's ok.
Let me know if you do not want to send both, then I can add a parameter in each provider to drive the client authentication method.

I think https://github.com/golang/oauth2/blob/master/internal/token.go#L92-L136 may be relevant for this discussion.

(Commenting on the feature, not the implementation) This would be a really nice feature to have for interoperability with CLI/scripts.  As an example, the github API will work with basic auth, even when 2FA is enabled, if you generate a personal access token.  At present, it isn't really practical to put this proxy in front of an API end point.

It's a bit hacky, but that's what the --htpasswd-file flag is for - you can manually add some username/password pairs for use with basic auth, for scripts and such. (It was originally used for a nagios mobile app). It does not authenticate with the provider in this case.


removed curry from the example for liftN

you don't need to curry functions that you pass to liftN, it works just the same, so the example is clearer without the currying

:cow2:


Report tests coverage

I guess we can easily set up scoverage for our tests, however I’m wondering if we can make it work for collections-laws as well. @Ichoran do you have any clue on that?

@julienrf - I'm not sure.  The collections laws can be framed as just another jUnit test, albeit one with a complex setup process.  So as long as the code generation can run before the coverage tool gets at it, I imagine it ought to work.


Editor marks literals containing codepoint escape sequences as invalid

SPARQL allows for Unicode codepoint escape sequences anywhere (http://www.w3.org/TR/sparql11-query/#grammar). Could YASQE at least allow them inside quoted literals.without marking the code as invalid? See, e.g., https://openrdf.atlassian.net/browse/SES-2172, for examples of valid SPARQL/Update getting highlighted as invalid in YASQE.

Too bad that SPARQL allows for these escape sequences, but did not include them in the official grammar.
But I agree that YASQE should have at least a basic support for this. I.e. support in literals, but preferably also prefixes, namespaces and URIs
I'll see what I can do

The latest yasqe version now properly validates literals when these escape sequences are there.
This already works for URIs as well. The only occasion where it does not work is prefixes and prefix localnames. I'd like to avoid getting into that though: I'd need to make bigger changes to the grammar, and I'd like to deviate as little as possible from the official spec
Could you check on http://yasqe.yasgui.org whether the new version is ok?

Verified new version fixes my specific issue (\uxxxx in literals). Noticed it doesn't handle \Uxxxxxxxx possibility. That's OK for my purposes for the time being.

Ah, indeed. The \Uxxxxxx is now handled properly as well.

I see the commit adding U as a possibility. It doesn't seem to work at http://yasqe.yasgui.org/, though. Has the site been updated?
Also, it would be sure that the large \U variant limits valid values to the range U+0 to U+10FFFF, as specified at http://www.w3.org/TR/sparql11-query/#grammar.

The site should be up-to-date. Perhaps a js caching issue?
About excluding this range: integrating this in the tokenizer is tricky, as it'd require quite a complex regex.
Not that keen on doing that, as I'd like to keep the delta small w.r.t. the original spec, and I'm more keen on avoiding false negatives than on avoiding false positives.
Any comment on this?

I'd be OK with that. As a suggestion only, I've created a pull request that AFAIK, does the filtering to only U+0 to U+10FFFF. Let me know what you think?

Ah, that's a smaller delta than I expected ;). Thanks, I merged the pull request and re-build the most recent version

OK. When you have time, could you do a pull request to get this incorporated into the Sesame Workbench 2.7.x branch? You can reference issue SES-2172.


Vite adds trailing slash at the end of each link tags

Laravel Version
10.4.1
PHP Version
8.1.4
Database Driver & Version
No response
Description
Look at the below image, the link tag has a trailing slash which is totally unnecessary.
Someone please remove it.

Thank you
Steps To Reproduce
Create a Laravel Vue Application and run the server.
Check the html generated it has the trailing slash with all vite generated link tags.
See the image in the description
Here is the pb link: https://github.com/laravel/framework/blob/0de8734170de48926e5a65c44e898b7078a0da0e/src/Illuminate/Foundation/Vite.php#L537

It's fine. It's just a self-closing tag. Although it might not be required for HTML5 doctypes, it's required for other doctypes and is not harmful in anyway.


Don't round up token amount

If you round up token amount by default in the bridge UI, it will try to send more tokens than the user has


User's Manual

Write a User's Manual containing documentation of all engine functionality. I'm considering DAUX.IO as a documentation generator.

Daux.io (they use title case on their GitHub) looks nice. Hurray for their adoption of GitHub flavored markdown! No need to learn a new language to write docs!

This has its own repository now.


Fix int overflow on offset calculation

This affects $import with input files over 2GB in size.

/azp run


Build-ExemptionsPlan function fails when trying to add builtin and custom policy sets as exemptions

Describe the bug
When trying to add builtin or custom policy sets as exemptions via a .jsonc file as described here, the Build-ExemptionsPlan function fails with the following error:

Confirm-PolicySetDefinitionUsedExists: C:\Users\user\Documents\PowerShell\Modules\EnterprisePolicyAsCode\10.2.2\internal\functions\Build-ExemptionsPlan.ps1:401:29
Line |
 401 |                              -AllDefinitions $AllDefinitions.policyset …
     |                              ~~~~~~~~~~~~~~~
     | A parameter cannot be found that matches parameter name 'AllDefinitions'.

To Reproduce
Create a .jsonc file and add a custom or builtin policy set to exempt and run the Build-DeploymentPlans function.
Expected behavior
Build-ExemptionsPlan should run without errors.
EPAC Version
10.2.4

Hi @doenoe,
I am not an author of EPAC but based on my experience, being on the same EPAC version as you are (which currently is the latest), it works fine for me. Thought maybe I could give you a hint of how I'm constructing the jsonc files (one per PAC environment) and there might be a slight chance you are doing it differently and can gain something out of my example:
Here is how I have set it up:
{
	$schema": "https://raw.githubusercontent.com/Azure/enterprise-azure-policy-as-code/main/Schemas/policy-exemption-schema.json", //This line might as well be deleted as the schema isn't updated with the correct parameters for EPAC v10+ so it cannot even be used as a reference anymore
    "exemptions": [
        {
            "name": "<guid>",
            "displayName": "<Exemption name as seen in the Portal>", //Ensure this is short as EPAC is currently merging the subscriptionId and assignmentId on to the exemption name and it cannot exceed 128 chars altogether
            "description": "<Description of the exemption>", //Cannot exceed 512 chars
            "exemptionCategory": "<Waiver or Mitigated>",
            "expiresOn": "<expiration date>", //yyyy-MM-ddTHH:mm:ss.fffffffZ (in Zulu time) or leave empty if no expiration date
            "scopes": [
                "<one or many scopes, comma-separated>"
            ],
            "policyDefinitionId": "<policy definition id for the policy you would like to exempt the assignment of>" //This is for built-in policies
        },
        {
            "name": "<guid>",
            "displayName": "<Exemption name as seen in the Portal>",
            "description": "E<Description of the exemption>",
            "exemptionCategory": "<Waiver or Mitigated>",
            "expiresOn": "",
            "scopes": [
                "<one or many scopes, comma-separated>"
            ],
            "policyDefinitionName": "<the name of the policy definition, which is equivalent to the very last part of the policy definition id>" //This is for custom policies
        }
    ]
}

Hope it helps!

Hello @arrerezai,
Thank you for your reply. Have you tried deploying exemptions on policy sets? That's where I end up getting the errors. As per your example file, policy definitions deploy without problems on my side as well.

Oh, my mistake, was a bit too quick. I read the first line of the subject only "Build-ExemptionsPlan function fails when trying to add builtin and custom policy". Unfortunately, I have not deployed any exemptions on the initiatives so I wouldn't know if there were to be any problems... Hope you get the appropriate answer from one of the authors!

I've assigned to myself and will test with latest version of EPAC - will provide a response once tested.

I have tested this myself for a custom policy set now and it leads to the same issue as @doenoe is experiencing:

Unless you know what the issue is @apybar , then maybe @techlake has a clue on what's not working?

@arrerezai , @doenoe - We identified what’s causing the issue. Hoping to push the fix by tomorrow.


Stuck on Steam Menu

Using ALVR on Oculus Quest
I have the following issue:
When loading the ALVR application it says "Press the Menu button to begin"
however only one controller shows at a time and I am unable to press any buttons, it doesn´t show an oculus controller it shows the Vive controller.
I have attempted to see if there is a relevant update through SideQuest,, however the following error then shows: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.polygraphene.alvr signatures do not match the previously installed version; ignoring!
If anyone can point me in the right direction that would be great!

I am experiencing the same problem. Latest build, v5 alpha.

I have the same problem but with Gear VR, the Gear VR controller doesn't have a menu button so I'm stuck on the press menu button to begin screen.

This seems to link with a problem in 3 other posts.
ALVR on Oculus Quest:
Controls are out of whack.
I had to"In SteamVR, go to Settings > Reset, and click Remove all SteamVR USB Devices. Click Yes. Quit SteamVR. Reboot".
Also to the OP, i think it sounds like the server version and the package on your headset might be different.
I used the android powershell command prompt to install the package (make sure both package and server are same version). I didn't use sidequest so it might be forcing a different version to what you're using.
I hope this helps the OP.
As for Rennan: i found that using both x and y on the left controller opened the menu. rebinding of controls is required... but this is still something i'm trying to nut out myself.


Wiitar crashed and won't connect again?

Found Wiimote ("Nintendo RVL-CNT-01"). Attempting to pair now...
Wiimote not responding to Bluetooth pair signal...
Found Wiimote ("Nintendo RVL-CNT-01"). Attempting to pair now...
Wiimote not responding to Bluetooth pair signal...
Found Wiimote ("Nintendo RVL-CNT-01"). Attempting to pair now...
Wiimote not responding to Bluetooth pair signal...
Found Wiimote ("Nintendo RVL-CNT-01"). Attempting to pair now...
Wiimote not responding to Bluetooth pair signal...
Found Wiimote ("Nintendo RVL-CNT-01"). Attempting to pair now...
Wiimote not responding to Bluetooth pair signal...
Found Wiimote ("Nintendo RVL-CNT-01"). Attempting to pair now...
Wiimote not responding to Bluetooth pair signal...

getting the "Bluetooth hardware failure" too
Everything was working perfectly fine about 2 days ago and mid song on clone hero my wiitar disconnected and will not reconnect no matter what I do

try conect it from the control panel instead of the app. it works at 90% of the cases


eventbus - cdi events

Should be really interesting the interaction CDI - vertx EventBus:
in the sender:
@Inject
Event<Message> eventService;
....
eventService.fire(areaEvent);
in the receiver:
public void onMessage(@Observes AreaEvent areaEvent) {
}
translated in vertx:
in the sender:
vertx.eventBus().publish("event-queue", new JsonObject().put("areaEvent", areaEvent));
in the receiver:
EventBus eb = vertx.eventBus();
eb.consumer(DETECTIONS_QUEUE, this::consume);
protected void consume(Message message) {
System.out.println(message.body())
}
what do you think about it?

Isn't it the same as already provided by http://docs.jboss.org/weld/weld-vertx/latest/ ?

ops.. you are right.. sorry!

np :)


Upgrade to Wagtail 1.6.3

This PR upgrades Wagtail from version 1.5.2 to version 1.6.3.
Relevant Wagtail release notes that describe the changes: 1.6, 1.6.1, 1.6.2, 1.6.3
Changes

Custom Page classes must have an explicit manager defined (3dd7402)
wagtail.wagtailadmin.taggable.TagSearchable is deprecated so migration references need to be changed to wagtail.wagtailsearch.index.Indexed (42213ea)
Custom block render methods now take an optional context argument. (fec4dbb)
StructBlock now defines its own required property so we cannot use it as a custom class member on our own blocks. (1f0c516)
Wagtail version upgrade requires these additional package upgrades (46739a6):
beautifulsoup4: 4.4.1 -> 4.5.1
djangorestframework: 2.4.8 -> 3.1.3

Testing

All unit tests pass with tox and gulp test.
To test with a recent production data dump:

$ ./drop-db.sh && ./create-mysql-db.sh
$ ./refresh-db.sh /path/to/dump.sql
$ python cfgov/manage.py migrate
$ ./runserver.sh

Review

This is a large change so it would be helpful if a few people from @cfpb/cfgov-backends and @cfpb/cfgov-frontends could take a look.
It's difficult to enumerate a full set of things to check, so general browsing of functionality of a production dump is probably a good approach. If anything is found to be broken, it would be a good idea to first write a (failing) unit test that covers it and then investigate a fix.

Notes

The 1.6 release includes a new {% include_block %} tag for improved StreamField template inclusion. This may allow us to remove or simplify some of our custom render_stream_child logic, and is worth investigating in future.
This upgrade also includes a new built-in IntegerBlock, which we could move to (in future) instead of our current custom one. There are also new blocks for EmailBlock, FloatBlock, DecimalBlock, and RegexBlock, which might also be useful in the current atomic structure.
There are new custom editing interfaces for StructBlock which should allow more control over how our elements appear in the Wagtail editor.

Screenshots
Interesting new Style Guide section of the admin:

Checklist

[X] Changes are limited to a single goal (no scope creep)
[X] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[X] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[X] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

@higs4281 I note that there are two optional apps that depend on django-rest-framework, both of which are part of the OAH repo. That repo depends on djangorestframework==2.4.3, which gets upgraded in this PR to 3.1.3.
If I install the repo locally, I can hit the rate explorer page locally, but I get an error that says "We're having trouble connecting to our data". I'm not familiar enough with the OAH code to know whether this might be related to the DRF upgrade. I saw your name in the OAH contributors; would you be able to take a look?

@chosak i'll pursue.

Starting a review. I'm in love with this set of changes, and, for better or worse, this could change some custom functionality. 💯

There should be a consideration for how the templates have changed over the versions. The first thing I've found is our template overrides this one that now uses a hook to register page actions. There are certainly more changes in the templates to be found, so I'll keep digging.
That one in particular may not be a blocker for this upgrade, but should be converted at some point soon after.

Thanks @kurtrwall, that's a good point. We have an open issue in [GHE]/platform/357 that addresses the need to update custom template overrides. I'd prefer not to include that in this upgrade unless those overrides break functionality somehow, and leave them for a later cleanup.

Yeah I agree with that, I just wanted to make it explicitly known that's the policy since I wasn't aware of that issue and the description of the PR doesn't say anything about templates.

Code changes look good. I won't be able to test anything until I get a new laptop, so fwiw, giving this a 👍

👍

Thanks all for the feedback. Given the significance of this upgrade, I'd like to get signoff from @willbarton and @schaferjh before proceeding.

@chosak I don't think it's worth waiting for @schaferjh to return to get this merged. Let's get it in and that gives us until the next freeze to work out any issues in our checkouts and on build
I just have two higher level questions:

Are there any changes that would affect our wagtail documentation? (I.e. does it need the documentation update tag?)
Could you create tasks for the first two items you included in your OP notes?

:shipit:

@willbarton thanks, created GHE issues 378/379 to track those two issues, and also added that tag as you suggested. Crossing fingers..

@chosak   college-costs updated to handle DRF 3.1.3
https://github.com/cfpb/college-costs/pull/287


KubeCon CloudNativeCon Europe 2023

Event Name
KubeCon + CloudNativeCon Europe 2023
Short Description of the Event ( 20 words )
KubeCon is a great place to learn about current trends and new technologies in the Kubernetes ecosystem. At KubeCon you are able to get access to topics that you’d be hard pressed to find anywhere else.
CNCF’s flagship conference gathers adopters & technologists from leading OS and cloud native communities (Kubernetes, Prometheus, Envoy, CoreDNS and more) for education and advancement of cloud native computing.
The Cloud Native Computing Foundation’s flagship conference gathers adopters and technologists from leading open source and cloud native communities in Amsterdam, The Netherlands from 18-21 April, 2023. Join our CNCF Graduated and Incubating Projects as the community gathers for five days to further the education and advancement of cloud native computing.
Event Date and Time
18/04/2023-21/04/2023
Event Page Link
https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/
Themes
DEVOPS,OPEN-SOURCE,DEVREL,KUBERNETES
Facebook
No response
Github
No response
Instagram
No response
LinkedIn
https://www.linkedin.com/company/cloud-native-computing-foundation/
Twitter
https://twitter.com/CloudNativeFdn
Discord
No response
Other Link
No response

We have added KubeCon CloudNativeCon Europe 2023.
Thanks @kumarankit999


remove stream from param section in docs

This PR removes the stream param from the Params section in the docs.
The same doc is generated for both _device and non_device variants, and the latter is likely the most commonly used ones. Having stream in the docs for the latter would be confusing

🔥 looks good to me!

Forgot to update this PR with #67. Will merge this once CI passes after updating this branch


cssnano mangles value if multiline with comment inside

I came across a very weird issue where when cssnano is enabled, it will stop other plugins from transforming the value.
The comment(/* some comment */) seems to be the messing with something as it works fine without it.
postcss([
	simplevariables(),
	cssnano()
]);

Input:
$color: #f00;

:root {
	box-shadow:
		inset 0 -10px 12px 0 $color,
		/* some comment */
		inset 0 0 5px 0 $color;
}

Expected:
:root {box-shadow: inset 0 -10px 12px 0 red,inset 0 0 5px 0 red}

Actual (wrong):
:root{box-shadow:inset 0 -10px 12px 0 $color,inset 0 0 5px 0 $color}

@MadLittleMods Seems like it's variables problem. They process firs.

@TrySound Just to be clear, the variables properly resolve when cssnano is disabled(commented-out). This also applies to any plugin that would do stuff to that value. It is as if cssnano is stopping the modification/resetting the value.

@MadLittleMods Fixed by postcss-discard-comments version 2.0.2.

@ben-eb :+1: cssnano is now working properly with my styles. Thank you for taking care of this so promptly :)


Publish to Maven Central

Obvious question: Can you please publish your library to Maven Central? It would make it a lot easier for end-users to work with it.

Thanks for the feedback.
It currently uses Jitpack, is there any unusability issue with that?

Two issues:

The way maven works, when you add a repository, it checks all repositories for all libraries, and you can't just limit it by the library.
Related to the above, many organizations have policies that require them to use only certain "vetted" repositories.
Maven Central is considered the "standard", and many people will not use something that isn't published there.

Let me know if you'd accept a PR, and I can add a github action and make the pom changes that will auto publish for you.

Sure, I'm looking forward to your PR. It would be helpful if you could provide some steps along with it. (any registration needed?)

Yes. You'll need to create an account on Sonatype, and validate your "ownership" of your groupId, but I will send links to those steps in the PR.
This is an example of the github action definition that will do it https://github.com/p2-inc/keycloak-orgs/blob/main/.github/workflows/release.yml
It uses this action https://github.com/qcastel/github-actions-maven-release


Confused about using http/1 when server.proxy is used

Documentation is

[ ] Missing
[ ] Outdated
[X] Confusing
[ ] Not sure?

Explain in Detail

Enable TLS + HTTP/2. Note this downgrades to TLS only when the server.proxy option is also used.
from https://vitejs.dev/config/server-options.html#server-https

From code https://github.com/vitejs/vite/blob/9d7d45e56f98787cd6c7f4245ad5f9562d409997/packages/vite/src/node/http.ts#L104
As shown in the title, I am confused about using http/1 when server.proxy is used and why can't use http/2.
Your Suggestion for Changes
Use http/2 when server.proxy is used
Reproduction
No response
Steps to reproduce
No response

It's because http-proxy doesn't support http2.

See https://github.com/vitejs/vite/discussions/7611#discussioncomment-2925988

See #7611 (reply in thread)

Thank you for your guidance, I will try to use existing vite plugin or create one new plugin that match my own.

I'll close this issue as a duplicate of #4184.


reconstructed h_out are basically identical, any help?

hello, I have downloaded the code here, and tried on my time-series dataset (time-series contains last 150 days data, and has about 10000 rows). I basically followed your default settings, and when I tried to print and plot the reconstructed data h_out (h_mu and h_sigma), I found in my experiment, all the reconstructed h_out are basically identical, and the time series of the h_mu is basically the mean of the input time series.
Also from log, it can be found that the 'loss_seq' is nearly dominate the losses.
Following are some logs:
At      0 /    200 train (3.173, 1.425, 1.748), val (3.112, 1.421,1.691) in order (total, seq, lat)
At     20 /    200 train (1.430, 1.406, 0.024), val (1.414, 1.412,0.001) in order (total, seq, lat)
At     40 /    200 train (1.441, 1.427, 0.014), val (1.412, 1.411,0.001) in order (total, seq, lat)
At     60 /    200 train (1.422, 1.415, 0.007), val (1.414, 1.412,0.002) in order (total, seq, lat)
At     80 /    200 train (1.432, 1.420, 0.012), val (1.418, 1.417,0.001) in order (total, seq, lat)
At    100 /    200 train (1.412, 1.404, 0.008), val (1.402, 1.402,0.001) in order (total, seq, lat)
At    120 /    200 train (1.413, 1.404, 0.010), val (1.383, 1.381,0.002) in order (total, seq, lat)
At    140 /    200 train (1.391, 1.384, 0.007), val (1.407, 1.406,0.001) in order (total, seq, lat)
At    160 /    200 train (1.431, 1.423, 0.008), val (1.329, 1.328,0.002) in order (total, seq, lat)
At    180 /    200 train (1.374, 1.368, 0.006), val (1.393, 1.392,0.001) in order (total, seq, lat)
Any ideas about the reason here? Overfitting somewhere or I misunderstood anything here? Thanks.

I have the same issue.


Update MD file on new branch 2017-12-07_21-49-06

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Error Code: 62 Reason: The client trust failed or is not implemented

Hello, get this error when trying to get tgt with gettgtpkinit.py (it's ok with rubeus):
python3 gettgtpkinit.py EVIL/DC1-WS2019$ -pfx-base64  @base64Value  -dc-ip <IP_ADDRESS> DC-WS2019.ccache
2021-11-28 04:54:42,236 minikerberos INFO     Loading certificate and key from file
2021-11-28 04:54:42,314 minikerberos INFO     Requesting TGT
Traceback (most recent call last):
File "/home/kali/Take and learn/PKINITtools-master/gettgtpkinit.py", line 349, in
main()
File "/home/kali/Take and learn/PKINITtools-master/gettgtpkinit.py", line 345, in main
amain(args)
File "/home/kali/Take and learn/PKINITtools-master/gettgtpkinit.py", line 315, in amain
res = sock.sendrecv(req)
File "/home/kali/Take and learn/MSEFSR ADCS/impacket/impacket/lib/python3.9/site-packages/minikerberos/network/clientsocket.py", line 87, in sendrecv
raise KerberosError(krb_message)
minikerberos.protocol.errors.KerberosError:  Error Code: 62 Reason: The client trust failed or is not implemented

could you double check the domain names (FQDN instead of NETBIOS) and the names of the computer/certificate (and whether they are escaped properly)

Hello, tried all possible domain/computer name combinations, either i get the same error or this other one :
python ../PKINITtools-master/gettgtpkinit.py EVIL/DC1-WS2019.evil.corp -cert-pfx crt.pfx -dc-ip <IP_ADDRESS> DC1-WS2019.ccache
2021-12-04 03:35:37,043 minikerberos INFO     Loading certificate and key from file
2021-12-04 03:35:37,123 minikerberos INFO     Requesting TGT
Traceback (most recent call last):
File "/home/kali/Take and learn/MSEFSR ADCS/../PKINITtools-master/gettgtpkinit.py", line 349, in
main()
File "/home/kali/Take and learn/MSEFSR ADCS/../PKINITtools-master/gettgtpkinit.py", line 345, in main
amain(args)
File "/home/kali/Take and learn/MSEFSR ADCS/../PKINITtools-master/gettgtpkinit.py", line 315, in amain
res = sock.sendrecv(req)
File "/home/kali/Take and learn/MSEFSR ADCS/impacket/impacket/lib/python3.9/site-packages/minikerberos/network/clientsocket.py", line 87, in sendrecv
raise KerberosError(krb_message)
minikerberos.protocol.errors.KerberosError:  Error Code: 6 Reason: Client not found in Kerberos database

Fixed, It was a date/time problem between my 2 DCs.


cleaning GAs

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1603
Please merge ONLY after PR #1455 is merged in devel
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test Fedora 32 on 78a14e2 : invalidated by @joshua-cogliati-inl
testing civet.

Job Test Ubuntu 16 on 78a14e2 : invalidated by @mandd

Job Test qsubs on 6ce0e7a : invalidated by @mandd

Job Test qsubs on 6ce0e7a : invalidated by @mandd

Please let me know when tests are green, and I can merge it.

Qsub is still stuck :-(
@joshua-cogliati-inl: do you have suggestion here?

Job Test qsubs on 6ce0e7a : invalidated by @mandd

Job Test qsubs on 6ce0e7a : invalidated by @joshua-cogliati-inl
restarted civet

Job Test qsubs on 6ce0e7a : invalidated by @joshua-cogliati-inl
restarted civet

Job Test qsubs on 6ce0e7a : invalidated by @mandd

This PR is good. Tests are green except Fedora 32 (currently is allowed to fail, since there is a know issue with the C++ compiler)


Fix some security vulnerabilities

https://github.com/mbechler/marshalsec/blob/master/marshalsec.pdf
from the paper, we can know there are some vulnerabilities when Unmarshall hessian
https://github.com/mbechler/marshalsec
we have provided some filters in
com.caucho.hessian.io.Hessian2Input#readObjectDefinition

com.alipay.hessian.internal.InternalNameBlackListFilter is a filter which contains classes which have vulnerabilities to hacking.
what we need to do is add more classes which have vulnerabilities to the list that provided from our security team.

这个问题没有任何具体的描述吗？

更新了下.


Invert the internal/external monitor when switching

This should be operational but I'm having a couple of issues with it:

[x] Invert Monitor setting gets rewritten on load. It saves to the registry but resets to 0 on launch.
[x] Unfortunately, the scaling of the second monitor does not fill the phone without toggling scaling mode within nvidia control panel. This is the same issue I have when updating monitor settings manually on connect, but is not an issue when using NVStreamer1080 in resolution change mode.

The first is my unfamiliarity with C# maybe? I'm missing something somewhere.
The second may be a "lucky" side effect with standard mode. Otherwise, even when I set resolution before connecting, Moonlight does not actually ever full screen.
I believe this is the "new" API here: https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setdisplayconfig. There's a very interesting "mode" this can be used in that allows a temporary (non-persisted) display setting. That means, if your desktop crashes while streaming moonlight, it will restart with the new settings. Could be an upgrade.

Here's someone doing the ChangeDisplay.exe thing using dll's: https://stackoverflow.com/questions/16326932/how-to-set-primary-monitor-for-windows-7-in-c-sharp

OK, so update: this kinda got away from me a little bit. What turned into a small feature became a full redesign. Now, in settings, you select the monitor that you want to stream to and the size you'd like. App will update the topology to have the monitor you want to use as primary and will set the resolution accordingly.
Tested using my fold 4 on:

physical monitor (1920x1200) streaming at 1440x1200.
HDMI dummy (4k) streaming at native 2176x1812.

I found that SetDisplayConfig was a fantastic way to set the topology of monitors. This doesn't have any flash, it just sets the selected monitor on and any others off. The benefit is that this will allow you to have multiple monitors in extend mode and on connect will switch to one of those or even a 3rd disconnected or dummy monitor. On disconnect, it restores whatever it was that you started with. The restoration code needs a bit more love. You would think that parroting the modes they send when you fetch data back would be enough for windows, but nooooo, it really doesn't like it.
I did manage to get it to also change the resolution, but I was desperately requesting it stretch the frame and just couldn't make it happen like the original set resolution functions do. I don't know if it's worth digging into. The benefit of using SetDisplayConfig to change the resolution is that you can do it in a temp mode and one-line reset it on disconnect. It also hardens the app to crashes as on reboot the system will pick back up the old config. Unfortunately, changing topology forces persistence anyway, so it doesn't much matter.
Added an old CCD C# wrapper because it defined all the structs so I didn't have to.
Using this build locally. LMK what you think.


array-selector doesn't work with multi unless toggle is specified

Problem 1
In the section regarding array-selector in the developer docs, it is unexplained the importance & relevance of toggle being set for the code snippet provided:
<dom-module id="employee-list">

  <template>

 Employee list:

    <template is="dom-repeat" id="employeeList" items="{{employees}}">

First name: {{item.first}}

Last name: {{item.last}}

        <button on-click="toggleSelection">Select</button>
    </template>

    <array-selector id="selector" items="{{employees}}" selected="{{selected}}" multi toggle></array-selector>

 Selected employees:

    <template is="dom-repeat" items="{{selected}}">

First name: {{item.first}}

Last name: {{item.last}}

    </template>

  </template>

</dom-module>

If toggle is removed, the element's behavior doesn't work as expected. I & many perhaps thought the removal of toggle means that that a selection canbe added to {{selected}} but not removed. Unfortunately, that isn't the case. This seems like a bug.
An example of this can be found here; remove toggle & see what happens.
Problem 2
Another problem beyond the problem(s) above is showing this.$.selector.select being used outside of  an event handler. It  was obvious to me inside things like the ready callback but there may be value if it was demonstrated the following ways for developers:

With filter &/or sort
Doing something with the selected contents when the element is detached
{{selected}} being used outside the app with an outside listener by the forsight of the code defining the property name put inside the selected attribute being available to the outside world with an event listner

I think the toggle example, at least, is a bug in array-selector; it doesn't seem to update the selection if toggle isn't set.

Changed this title to better describe the bug you're seeing in #1. Here's a jsbin using a fixed branch:
http://jsbin.com/guxijoyodi/1/edit
As you can see, select works properly without toggle, the only difference is that clicking the button a second time doesn't deselect the actor.
Not sure I really understand the questions in #2, but it seems like part of the problem is that the use cases for <array-selector> aren't described very well?

@arthurevans The renamed title is accurate of the original meaning of the article, & the fixed branch has indeed the expected behavior I was expecting.
As I was originally expecting, select now works properly without toggle.
Regarding #2, I'd say you're spot-on, more examples or explanation of the array-selector may be warranted. This could be as simple as more examples showing how select(item) can work outside of event handlers.

Does anyone know how the selected property works? It says: if multi is set to true, it returns an array, otherwise it returns the last selected object. How can I copy this behavior on my element?
Don't I have to set the type of a property explicitly?


Hub related tweaks: box + table

fix(table, box): aligning box bottom margin with brand guidelines, and removing underlines from anchors in tables.

:tada: This PR is included in version 1.1.10 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


model parameters file

can you provide the the model parameters file reported in paper? thanks！

Please check https://github.com/Yuxin-CV/DTN/blob/491babb7e2a7dac65bff64ef30193fa34756fea2/main_DTN.py#L21-L51

Please check https://github.com/Yuxin-CV/DTN/blob/491babb7e2a7dac65bff64ef30193fa34756fea2/main_DTN.py#L21-L51

Please check:
https://github.com/Yuxin-CV/DTN/blob/491babb7e2a7dac65bff64ef30193fa34756fea2/main_DTN.py#L21-L51

I believe I've answered your question and as such I'm closing this issue but let us know if you have any further questions.

Please check:
https://github.com/Yuxin-CV/DTN/blob/491babb7e2a7dac65bff64ef30193fa34756fea2/main_DTN.py#L21-L51

I believe I've answered your question and as such I'm closing this issue but let us know if you have any further questions.