Not deleting chucks

I have 3.0.0 (alpha) precompiled (but also a problem prior)
plexdrive isn't deleting the chunks (I have to set to delete after 50G) but I still have chunks taking up more space (147G    chunks)

Same issue here using the following, default regarding chunk dir stuff

-o allow_other -v 2 --uid=1000 --gid=1000 -t /mytmplocation/plexdrive_tmp

Earliest chunk

drwxr-xr-x. 2 user1 user1  4096 May 17 08:51 0B7YkGH5s8_b0....

Current time

Wed May 17 22:46:58 EDT 2017

Chunk dir used size

$ du -sh *
203G	chunks

$ plexdrive --version
3.0.0

The function has been removed in 3.0.0 currently, because of playback issues.
I will re-add it for the final release.


Improve chat_sync_bot

Separating the scripts from the files they use seemed reasonable (this "DATA_FOLDER" will be used at other places as well).
As already indicated in the #2 PR, not syncing this data to the cloud seemed desireable.
Also, since we introduced a role_bot (PR: #4 ), we didn't just have one support channel, but separated the role channel from the sync channel.

Looks great!


Don't show generated example if a user specifies example

When examples for schemas are added by the user, don't show the default example that Stoplight generates.

@wmhilton @paulatulis @mmiask @mpodlasin @mallachari @domagojk Hey team! Can you please add your planning poker estimates with ZenHub


[FEATURE] [feat]: Add a Github Action Workflow for greeting contributors

Description
Is your feature request related to a problem? Please describe.
Currently, this project does not have any action to greet to contributors. Github action is the great tool to automate the manual stuff for your project.
Describe the solution you'd like.
I would like to add a action workflow. This feature would automatically greet the author when specific event happens like:

When an issue is opened.
When a pull request is opened.
When an issue is closed.
When an issue is assigned to someone, it notifies the assignee and start working.

How would this feature be beneficial for the project

The communication and engagement with the contributors will be improved.
It automates the process of manually greeting the contributors.

Screenshots
No response
Additional information
I'm a GSSoC'23 contributor, please assign me this issue under GSSoC'23.
Thanks

assigned @harmeetsingh11


implement getUserIDFromAnswerPage

The GetUserID method is a hacky way to get the user ID since it calls TC.Legacy.getPage("/answer") to fetch the answer page and scrape the user ID from there. It should be used when the user ID is not stored anywhere in the page (e.g. "/savedquestions").
This adds a new method GetUserIDFromAnswerPage which should be used in the answer page.

Not a fan of the API, bus we can fix that later (I realized there's a better way to use utilities in injected scripts)


HBASE-24694 Support flush a single column family of table

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 50s
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.

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
3m 32s
master passed

+1 :green_heart:
checkstyle
2m 44s
master passed

+1 :green_heart:
spotbugs
4m 55s
master passed

_ Patch Compile Tests _

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

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

-0 :warning:
checkstyle
1m  5s
hbase-server: The patch generated 1 new + 13 unchanged - 0 fixed = 14 total (was 13)

-0 :warning:
rubocop
0m  9s
The patch generated 2 new + 339 unchanged - 1 fixed = 341 total (was 340)

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

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

+1 :green_heart:
spotbugs
5m 32s
the patch passed

_ Other Tests _

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

46m 51s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/1/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle rubocop

uname
Linux f3c49858e50b 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
master / 7c4d66a277

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

rubocop
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/1/artifact/yetus-general-check/output/diff-patch-rubocop.txt

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

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

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

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12 rubocop=0.80.0

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
3m 40s
master passed

+1 :green_heart:
compile
2m 40s
master passed

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

+1 :green_heart:
javadoc
2m  9s
master passed

_ Patch Compile Tests _

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

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

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

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

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

+1 :green_heart:
javadoc
2m  4s
the patch passed

_ Other Tests _

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

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

+1 :green_heart:
unit
140m 54s
hbase-server in the patch passed.

+1 :green_heart:
unit
5m 18s
hbase-thrift in the patch passed.

+1 :green_heart:
unit
7m 10s
hbase-shell in the patch passed.

187m 42s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux dce63f904741 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
master / 7c4d66a277

Default Java
1.8.0_232

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

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

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

_ Patch Compile Tests _

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

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

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

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

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

-0 :warning:
javadoc
0m 17s
hbase-common in the patch failed.

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

-0 :warning:
javadoc
0m 41s
hbase-server in the patch failed.

-0 :warning:
javadoc
0m 51s
hbase-thrift in the patch failed.

_ Other Tests _

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

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

+1 :green_heart:
unit
137m 28s
hbase-server in the patch passed.

+1 :green_heart:
unit
4m 58s
hbase-thrift in the patch passed.

+1 :green_heart:
unit
7m  5s
hbase-shell in the patch passed.

187m 43s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ba3e0495dad1 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7c4d66a277

Default Java
2020-01-14

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

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

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

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

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

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

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

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

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

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

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

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

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
146m  6s
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.

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
3m 47s
master passed

+1 :green_heart:
checkstyle
2m 47s
master passed

+1 :green_heart:
spotbugs
5m 31s
master passed

_ Patch Compile Tests _

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

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

-0 :warning:
checkstyle
1m  2s
hbase-server: The patch generated 1 new + 13 unchanged - 0 fixed = 14 total (was 13)

-0 :warning:
rubocop
0m 11s
The patch generated 2 new + 339 unchanged - 1 fixed = 341 total (was 340)

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

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

+1 :green_heart:
spotbugs
6m 23s
the patch passed

_ Other Tests _

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

195m  7s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle rubocop

uname
Linux 2f0ec9fcd2a0 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
master / e22a2d2700

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

rubocop
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-general-check/output/diff-patch-rubocop.txt

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

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

_ Patch Compile Tests _

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

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

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

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

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

-0 :warning:
javadoc
0m 19s
hbase-common in the patch failed.

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

-0 :warning:
javadoc
0m 46s
hbase-server in the patch failed.

-0 :warning:
javadoc
1m  1s
hbase-thrift in the patch failed.

_ Other Tests _

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

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

+1 :green_heart:
unit
152m 29s
hbase-server in the patch passed.

+1 :green_heart:
unit
4m 29s
hbase-thrift in the patch passed.

+1 :green_heart:
unit
7m  1s
hbase-shell in the patch passed.

210m 38s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 0be63c0bba9e 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
master / 7c4d66a277

Default Java
2020-01-14

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

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-thrift.txt

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

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

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

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

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

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

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

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

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
4m 56s
master passed

+1 :green_heart:
compile
3m 27s
master passed

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

+1 :green_heart:
javadoc
2m 28s
master passed

_ Patch Compile Tests _

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

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

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

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

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

+1 :green_heart:
javadoc
2m 42s
the patch passed

_ Other Tests _

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

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

+1 :green_heart:
unit
220m 33s
hbase-server in the patch passed.

+1 :green_heart:
unit
5m 23s
hbase-thrift in the patch passed.

+1 :green_heart:
unit
8m 31s
hbase-shell in the patch passed.

278m 35s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 25f240296117 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7c4d66a277

Default Java
1.8.0_232

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

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

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

_ Patch Compile Tests _

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

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

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

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

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

-0 :warning:
javadoc
0m 18s
hbase-common in the patch failed.

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

-0 :warning:
javadoc
0m 41s
hbase-server in the patch failed.

-0 :warning:
javadoc
0m 50s
hbase-thrift in the patch failed.

_ Other Tests _

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

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

+1 :green_heart:
unit
133m  9s
hbase-server in the patch passed.

+1 :green_heart:
unit
4m 20s
hbase-thrift in the patch passed.

-1 :x:
unit
7m 20s
hbase-shell in the patch failed.

182m 23s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 5584fa34e91a 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
master / d2f5a5f27b

Default Java
2020-01-14

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

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-common.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-thrift.txt

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

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

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

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

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

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

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

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

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

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

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

_ Prechecks _

_ master Compile Tests _

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

+1 :green_heart:
mvninstall
3m 51s
master passed

+1 :green_heart:
compile
2m 43s
master passed

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

+1 :green_heart:
javadoc
2m 14s
master passed

_ Patch Compile Tests _

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

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

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

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

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

+1 :green_heart:
javadoc
2m 11s
the patch passed

_ Other Tests _

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

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

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

+1 :green_heart:
unit
4m 41s
hbase-thrift in the patch passed.

+1 :green_heart:
unit
7m 26s
hbase-shell in the patch passed.

198m 55s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2179/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 99ad378d0994 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
master / d2f5a5f27b

Default Java
1.8.0_232

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

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

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

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

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

Test failure on jdk11 seems unrelated to this PR.

Thanks for you time. @wchevreuil


使用features，报错ERROR - qlib.workflow - [utils.py:41] - An exception has been raised[UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)]

❓ Questions and Help
We sincerely suggest you to carefully read the documentation of our library as well as the official paper. After that, if you still feel puzzled, please describe the question clearly under this issue.
ERROR - qlib.workflow - [utils.py:41] - An exception has been raised[UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)]

Hi, @Liumh-01
How can we reproduce your issue?

//

import qlib
from qlib.data import D
qlib.init(provider_uri = "data/qlib_demo_data")
all_code = D.list_instruments(D.instruments("all"),as_list=True)
returns = D.features(instruments=all_code,fields=["$close/Ref($close,1)-1"],start_time='2023-02-01',end_time='2024-09-13',freq='day')
print(returns)     when instruments = one specific stock code,there is no problem,when i want to let instruments = more than one stock code,it will report errors:ERROR - qlib.workflow - [utils.py:41] - An exception has been raised[UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)]

Hi, @Liumh-01
We now understand your code, and it looks good. We would like to know what the data pointed to by the path data/qlib_demo_data in your code looks like.

@SunsetWolf ，Hi,
the path is created from following way:
import qlib
from qlib.tests.data import GetData
data_uri = 'data/qlib_demo_data'
qlib.init(provider_uri=data_uri, region="cn")
GetData().qlib_data(target_dir=data_uri, region='cn')
so,the data/qlib_demo_data is satisfied with the format that qlib required


Support for Bazel build

Tested on Bazel 0.14, Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>), OSX 10.12.6
Tested on Bazel 0.15.1, clang 3.8.1-24, Debian GNU/Linux 9.4 (stretch)
Outstanding:

No support for snappy compression or crc32c acceleration (yet)

Windows support needs at least modification of port/BUILD

Does not enable LTO Visibility (driven by include/leveldb/export.h)

bazel test ...
//db:autocompact_test                      PASSED in 27.0s
//db:corruption_test                       PASSED in 5.0s
//db:db_test                               PASSED in 112.4s
//db:dbformat_test                         PASSED in 1.0s
//db:fault_injection_test                  PASSED in 9.5s
//db:filename_test                         PASSED in 0.5s
//db:log_test                              PASSED in 1.5s
//db:recovery_test                         PASSED in 0.3s
//db:skiplist_test                         PASSED in 37.7s
//db:version_edit_test                     PASSED in 0.7s
//db:version_set_test                      PASSED in 0.2s
//db:write_batch_test                      PASSED in 0.2s
//table:filter_block_test                  PASSED in 0.0s
//table:table_test                         PASSED in 14.3s
//util:arena_test                          PASSED in 1.1s
//util:bloom_test                          PASSED in 0.1s
//util:cache_test                          PASSED in 0.0s
//util:coding_test                         PASSED in 0.1s
//util:crc32c_test                         PASSED in 0.0s
//util:env_posix_test                      PASSED in 0.0s
//util:env_test                            PASSED in 0.8s
//util:hash_test                           PASSED in 0.0s
//util:logging_test                        PASSED in 0.0s
//util:status_test                         PASSED in 0.2s
Executed 24 out of 24 tests: 24 tests pass.
INFO: Build completed successfully, 220 total actions
I've signed the individual CLA as: Scott Moeller<EMAIL_ADDRESS>

Build error looks unrelated to my changes - In fact cannot be related to my changes? So I'm withdrawing and re-submitting PR as that seems to be the only way for me to re-triggger travis-ci.

@electronjoe this sounds like a good change 👍
I imagine none of your changes should cause travis-ci failures since you're changing making changes to files only bazel uses
Consider resubmitting PR?


create rivinecg tool: a rivine blockchain generator

For the TFB chain ticket (#534) I already started creating a template Rivine chain repo at https://github.com/threefoldtech/rivine-chain-template. It still requires a lot of manual work however to replace all the stuff, with a lot of information to be replaced duplicate information. We cannot simply make a chain repo that is ready to compile simply be providing a config file that it reads on runtime. We can however go pretty close to that. That is where the rivinecg tool comes into the picture.
Goal would be that the template repo is really files that are either already ready to use-as-is, or they end in the .template suffix and thus will be parsed using the rivinecg tool chain generation process injecting the variables provided by the chain config as is.
Commands
Generation commands we would provide:
rivinecg generate blockchain \
    --config blockchain.cfg \
    --directory my-awesome-chain

Will generate a new chain in the target directory. If no target directory is specified
the current directory will be used on the condition that it is empty (with a single cfg file as exception).
A config has to be specified and contains the variables that will configure the blockchain.

rivinecg generate config \
    --output blockchain.cfg

Generate a config that can be used to generate a blockchain with the
rivinecg generate blockchain command.

rivinecg generate seed \
    -n 1

Generates a new seed as useable for Rivine-based blockchain accounts.
The seed is returned as a mnemonic on the STDOUT in a single line.
By default also the first address is returned, but you can return
more addresses by specifying a higher amount with the -n flag.

Other command that we would provide:
rivinecg version

Returns the current version.

Blockchain Generation Config
The config used for the blockchain generation would look as follows:
template: # optional, will be defined as-is shown here if undefined
    repository: https://github.com/threefoldtech/rivine-chain-template
    version: master # can also be a release tag, but for now there is only a master branch
blockchain:
    name: rivine # required
    repository: github.com/threefoldtech/rivine # required, repo of your blockchain
    currency: # required
        unit: ROC
        precision: 9
    ports: # required
        api: 23110
        rpc: 23112
    binaries: # optional
        # name of binary client
        client: rivinec # optional, will be `<blockchain.name>c` if undefined
        # name of binary daemon
        daemon: rivindc # optional, will be `<blockchain.name>d` if undefined
    tranactions:
        default: # optional, by default it is 1
            version: 1
        minting:
            mintConditionUpdate: # required if minting defined
                version: 128 # required
            coinCreation:
                version: 129  # required
            coinDestruction: # optional, disabled if not defined
                version: 130 # required if parent defined
            requireMinerFees: No
    networks: # at least one network is required, possible networks: standard, testnet and devnet (no other name is allowed)
        standard:
            genesis: # required
                coinOutputs:
                    - value: 100000000 # expressed in one coin unit
                      condition: 01b5e42056ef394f2ad9b511a61cec874d25bebe2095682dd37455cbafed4bec154e382a23f90e
                blockStakeOutputs:
                    - value: 1000000
                      condition: 01b5e42056ef394f2ad9b511a61cec874d25bebe2095682dd37455cbafed4bec154e382a23f90e
                minting: # required only if minting transactions have been defined
                    condition: # can also be single sig, a multisig condition is expressed as follows:
                        addresses:
                            - 01434535fd01243c02c277cd58d71423163767a575a8ae44e15807bf545e4a8456a5c4afabad51
                            - 01334cf68f312026ff9df84fc023558db8624bedd717adcc9edc6900488cf6df54ac8e3d1c89a8
                            - 0149a5496fea27315b7db6251e5dfda23bc9d4bf677c5a5c2d70f1382c44357197d8453d9dfa32
                        signaturesRequired: 2
            # optional, if no defined the block creator gets the fee, otherwise this pool address will receive all tx fees
            transactionFeePool: 017267221ef1947bb18506e390f1f9446b995acfb6d08d8e39508bb974d9830b8cb8fdca788e34
            # all the options below have sane defaults for the networks: standard, testnet and devnet
            blockSizeLimit: 2e6
            arbitraryDataSizeLimit: 83
            blockCreatorFee: 1.0
            minimumTransactionFee: 0.1
            blockFrequency: 120
            maturityDelay: 144 # expressed in blocks
            medianTimestampWindow: 11
            targetWindow: 1e3
            maxAdjustmentUp: 25/10
            maxAdjustmentDown: 10/25
            futureThreshold: 1h
            extremeFutureThreshold: 2h
            stakeModifierDelay: 2000s
            blockStakeAging: 1d
            transactionPool:
                transactionSizeLimit: 16e3
                transactionSetSizeLimit: 250e3
                poolSizeLimit: 2e6 - 5e3 - 250e3
        testnet:
            genesis: # required
                coinOutputs:
                    - value: 100000000 # expressed in one coin unit
                      condition: 01fc8714235d549f890f35e52d745b9eeeee34926f96c4b9ef1689832f338d9349b453898f7e51
                blockStakeOutputs:
                    - value: 3000
                      condition: 01fc8714235d549f890f35e52d745b9eeeee34926f96c4b9ef1689832f338d9349b453898f7e51
                minting: # required only if minting transactions have been defined
                    condition: # can also be single sig, a multisig condition is expressed as follows:
                        addresses:
                            - 016148ac9b17828e0933796eaca94418a376f2aa3fefa15685cea5fa462093f0150e09067f7512
                            - 01d553fab496f3fd6092e25ce60e6f72e24b57950bffc0d372d659e38e5a95e89fb117b4eb3481
                            - 013a787bf6248c518aee3a040a14b0dd3a029bc8e9b19a1823faf5bcdde397f4201ad01aace4c9
                        signaturesRequired: 2
            # all the options below have sane defaults for the networks: standard, testnet and devnet
            blockSizeLimit: 2e6
            arbitraryDataSizeLimit: 83
            blockCreatorFee: 10.0
            minimumTransactionFee: 0.1
            blockFrequency: 120
            maturityDelay: 720
            medianTimestampWindow: 11
            targetWindow: 1e3
            maxAdjustmentUp: 25/10
            maxAdjustmentDown: 10/25
            futureThreshold: 3s
            extremeFutureThreshold: 6s
            stakeModifierDelay: 20s
            blockStakeAging: 1024s
            transactionPool:
                transactionSizeLimit: 16e3
                transactionSetSizeLimit: 250e3
                poolSizeLimit: 2e6 - 5e3 - 250e3
        devnet:
            genesis: # required
                coinOutputs:
                    - value: 100000000 # expressed in one coin unit
                      # belong to wallet with mnemonic:
                      # carbon boss inject cover mountain fetch fiber fit tornado cloth wing dinosaur proof joy intact fabric thumb rebel borrow poet chair network expire else
                      condition: 015a080a9259b9d4aaa550e2156f49b1a79a64c7ea463d810d4493e8242e6791584fbdac553e6f
                blockStakeOutputs:
                    - value: 1000000
                      condition: 015a080a9259b9d4aaa550e2156f49b1a79a64c7ea463d810d4493e8242e6791584fbdac553e6f
                minting: # required only if minting transactions have been defined
                    condition: 015a080a9259b9d4aaa550e2156f49b1a79a64c7ea463d810d4493e8242e6791584fbdac553e6f
            # all the options below have sane defaults for the networks: standard, testnet and devnet
            blockSizeLimit: 2e6
            arbitraryDataSizeLimit: 83
            blockCreatorFee: 10.0
            minimumTransactionFee: 0.1
            blockFrequency: 12
            maturityDelay: 10
            medianTimestampWindow: 11
            targetWindow: 20
            maxAdjustmentUp: 120/100
            maxAdjustmentDown: 100/120
            futureThreshold: 2m
            extremeFutureThreshold: 4m
            stakeModifierDelay: 2000s
            blockStakeAging: 1024s
            transactionPool:
                transactionSizeLimit: 16e3
                transactionSetSizeLimit: 250e3
                poolSizeLimit: 2e6 - 5e3 - 250e3

Templates
For .template files we can simply use the template format as defined by the
Go std package https://golang.org/pkg/text/template/, no need to go crazier, it has all we needs.
This we can apply to all Go, JS, Documentation, Makefile, script and all other files that require templating,
based on the config as defined in the "Blockchain Generation Config" section.

To build in development mode (DEBUG=TRUE) you can use make install,
to build in production mode you can use make install-std.
Once you have your blockchain installed you can launch your daemon anywhere using:
awesomechaind

You can control your daemon using the CLI client awesomechainc. Please consult the --help flag
for both awesomechaind and awesomechainc for more information on how to use these binaries.
Please also read the README generated for your awesome chain to know how to start playing with your
blockchain on a local devnet.
Conclusion
Creating a new Rivine-based blockchain becomes super easy and fast once we have this tool.
I therefore recommend that we wait with task #534 (create TFB chain) and #533 (create FFT chain) until we have this tool.
In fact I would wait until we have Rivine 1.2 in a stable and releasable state, so that we don't require any further
updates to the TFB and FFT codebase once it is generated.

Template files will have to be worked on and committed to https://github.com/threefoldtech/rivine-chain-template repo (master branch). The tool can be worked on from a local version, on the feat/rivinecg branch.
For the CLI use https://github.com/spf13/cobra, we already use it for our other commands as well. For the blockchain config files I would say use https://github.com/spf13/viper, so we can support JSON/YAML/TOML with ease, and let's use YAML by default.
The tool should come under ./cmd/rivinecg of this repo (under the feat/rivinecg Git branch)
Tasks:

[ ] Create a working tool, that already has the rivinecg version and rivinecg generate seed commands. The version should be the same version as we use for the rest of the codebase. That version command returns similar information as you get when returning rivinec version (where relevant of course). The generate seed cmd has already been discussed in detail.
[ ] Create the rivinecg generate config cmd . The config file command already has been discussed in detail on the other page. Ensure that the config file is fully validated when loaded into memory and that errors are reported clearly. Make sure it can support reading YAML/TOML/JSON automatically.
[ ] Create a first version of the rivinecg generate blockchain, it should do the following:

prepare the environment (either create the specified dir, or if that location is already a dir (default the current dir), than ensure it is empty except for the allowed config file as specified by the --config (or -c) flag.
parse and read the config
download the template files from github as a raw tarball using the specified url and version
move all folders (in a recursive manner) from the unarchived root dir to the output location:

if the file does not end in the .template suffix, just move as-is
if it does end with a .template suffix:

read it using the https://golang.org/pkg/text/template/ file, apply the config blockchain config file object as the only argument on it, and write the file to the new location to the same path (be it in a directory or not, so following the same file structure), with the same filename, but remove the .template suffix from it.

[ ] Make it work for a plain blockchain, by moving the necessary files outside the todo directory, and modifying them into .template files if required. Don't copy blindly, you can probably improve a lot in these code files and be careful. After this task is done you should be able to launch a blockchain with 1, 2 or 3 networks, but not yet with the minting extension allowed.
[ ] Support the minting transactions (2 or all 3), by also generating the needed code for the minting plugin in case the minting transactions are defined in the config file. After this task is done you should now be able to generate a blockchain with 1, 2 or 3 networks with the minting extension embedded, if needed.
[ ] add documentation, improve and test

I completed the validation for the struct, now writing some tests. Need to test following cases

config without the blockchain property
config without the blockchain.name property
config without the blockchain.repository property
config without the blockchain.currency property
config without the blockchain.ports property
config with the same blockchain.ports.api and blockchain.ports.rpc  property
config with minting property in transactions and without minting property in a network
config without the networks property
config with an empty array networks property (need to be atleast one)
config without the genesis property in a network
config with single-sig and/or multisig values in network.genesis.coinOutputs / network.genesis.blockStakeOutputs/network.genesis.minting property

Merged and ready to use. Might make some further improvements while I review the ThreefoldBonus Chain tomorrow, as ideally a generated rivine blockchain doesn't modify manually any generated files.


associate with .pt file

.pt is just an alias for .pth. Both of the two extensions are commonly used in PyTorch projects.

Thanks for your issue. .pt file is associated in v0.0.4 now.


How-to

How to use it in an existing project?
Assuming I have an existing project, which is the proper way to add the client to it?
Copy the files? Import the library?
A detailed 1-2-3 installation steps would be useful

Before you start make sure that you have installed the i3 JSON Toolkit. You can download this toolkit from the VIPM Homepage
For an existing project just copy the folder "InfluxDB v2 Client" into your project directory and add the "InfluxDB v2 Client.lvlib" to your project tree. That's all.
If you want to study how to use the "InfluxDB v2 Client.lvlib" then copy also the "Examples" folder and add it to your project tree too. With the VI "Test v2 Client.vi"  it is a good place to start from.

Thanks for the info


inverse on non-square matrix aborts utop

Passing a non-square matrix to inv aborts utop in addition to the assert failure.
Welcome to utop version 2.0.1 (using OCaml version 4.04.2)
...
# Owl.Mat.inv (Owl.Mat.sequential 2 3);;
Assertion failed: (rows() == cols()), function inverse, file ./Eigen/src/LU/InverseImpl.h, line 338.
Abort trap: 6
~$

I used the latest version of the master branch of Owl with the version of the OCaml Eigen lib currently available in opam for OCaml 4.04.2:
~$ opam list | grep -i eigen
eigen                           0.0.4  Owl's OCaml interface to Eigen3 C++ libra

Let me know if you need other info about my configuration.  Thanks-

Yes, inv only accepts square matrices as inputs. I recommend to use the inv function in Linalg module rather than the one in Dense.Matrix module for large matrices.
For rectangular matrices, you can use pinv function in Linalg module, as you already mentioned in https://github.com/ryanrhymes/owl/issues/77

Yes, I wouldn't expect inv to work with square matrices.  I wasn't thinking when I gave it a rectangular matrix.  Just wanted to report the utop crash.  Thanks.

This has been fixed now :)

Great--thanks.


第十组第二、三题答案

What is the purpose of the change
XXXXX
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

commit "2"为第二题的提交。
Final为第三题的提交。


Fallback to system python if virtualenv absolute path contains cache

Environment data

Pylance version: XXX
OS and version: XXX
Python version (& distribution if applicable, e.g. Anaconda): XXX

Code Snippet

XXX

Repro Steps

using conda/mamba create a environemnt on $HOME/.cache/envs/env

Expected behavior
Pylance use the environment $HOME/.cache/envs/env
Actual behavior
Pylance use the system python
Logs

XXX

Thanks for the issue. See this for more information:
https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment
You likely need to select your environment inside of VS code.


Use PoolingAsyncValueTaskMethodBuilder for LoadIntoBufferAsync

This applies PoolingAsyncValueTaskMethodBuilder in the similar manner to what Socket and Stream do.
While it does not improve read performance itself, on low-allocation asynchronous paths I discovered this to be a contributor to GC collection and pause frequency, making it profitable.
BenchmarkDotNet v0.13.12, Windows 11 (10.0.22631.3296/23H2/2023Update/SunValley3)
AMD Ryzen 7 5800X, 1 CPU, 16 logical and 8 physical cores
.NET SDK 8.0.202
  [Host]     : .NET 8.0.3 (8.0.324.11423), X64 RyuJIT AVX2
  DefaultJob : .NET 8.0.3 (8.0.324.11423), X64 RyuJIT AVX2

FromFile before:

Method
Mean
Error
StdDev
Gen0
Allocated

StreamReader
140.5 ms
1.36 ms
1.20 ms
11500.0000
186.49 MB

Utf8StreamReader
174.9 ms
2.26 ms
2.12 ms
-
2.1 MB

Utf8TextReader
192.7 ms
0.33 ms
0.30 ms
-
2.1 MB

Utf8TextReaderToString
192.4 ms
1.06 ms
0.94 ms
-
2.1 MB

FromFile after:

Method
Mean
Error
StdDev
Gen0
Allocated

StreamReader
138.6 ms
1.48 ms
1.38 ms
11666.6667
190967.17 KB

Utf8StreamReader
177.6 ms
2.83 ms
2.64 ms
-
1.16 KB

Utf8TextReader
197.8 ms
0.73 ms
0.65 ms
-
1.38 KB

Utf8TextReaderToString
192.0 ms
0.63 ms
0.56 ms
-
1.2 KB

😅*
78.87 ms
1.371 ms
1.216 ms
4000.0000
69238.38 KB

*The main bottleneck especially on Windows for File IO is the latency of calls into kernel APIs. Sometimes it gets particularly bad with Windows's implementation of Overlapped. In fact, on Unix systems it is much more well-behaved despite more naive-ish implementation of blocking file read as a separate threadpool work item - the latency is way lower and this approach does not even cause issues thanks to Threadpool's ability to cope with blocked workers really well. One way to address this is increasing starting buffer size to 4KiB or even 8KiB, which U8Reader does. My theory here is modern NVME drives have pretty large memory pages internally, as well as filesystems operating on 4, 8 or even 32KiB pages themselves. This way a single file read could naturally align and let OS pull in one or multiple evenly sliced pages. I don't know whether this in fact helps, but increasing buffer size up to 8KiB has shown consistent improvement on all systems for all situations.
There is also additional cost to async depth even if valuetasks are pooled. In fact, it is so problematic that I had to rewrite ReadToAsyncCore and various methods forwarding to it in U8Reader entirely in order to make U8SplitReader (effectively a line reader variant for custom delimiters) profitable to use - it is still expensive-ish, but at least it gives reason for users to do a more memory-friendly await foreach (var segment in file.AsU8Reader(false).Split(',') over pre-buffering large text segments and using normal split iterator.
If the line length in your use case is substantial, or the data becomes available in small chunks, like a network stream delimited by lines, this will not help - all calls end up doing the asynchronous await. But if you expect the buffer to have, let's say 5 or more lines, it becomes important to avoid as many awaits as possible even if they complete synchronously (which is why I'm also using RandomAccess).
And also, thank you for your work, your libraries are my go-to recommendation! 😀

I had a problem regarding the Pool attribute.
In the end I didn't put it on,
It has allowed me to hear your great insights!
Thank you for the benchmarks as well.
I hadn't measured the performance specifically for File I/O.
I re-measured with different parameters based on your suggestions.

Indeed, the current default (NoBuffer_Async) doesn't sho very good results.
Considering that the read buffer may not always be fully utilized in the NoBuffer case,
it might be worth preparing a separate buffer for reading, distinct from the working buffer.
The results of the microbenchmarks make it tricky to decide how to handle useAsync.

Due to the nature of the implementation, the larger the buffer, the fewer copies and ReadAsync calls, which directly impacts performance.

In serializers like MessagePack and MemoryPack, I've been using 64K buffers obtained from the ArrayPool.
So I'm inclined to think 64K might be a good choice for this as well.

Looking back at the .NET 6 release documentation, I reviewed the following:
https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-6/#io
https://devblogs.microsoft.com/dotnet/file-io-improvements-in-dotnet-6/
https://adamsitnik.com/files/Fast\_File\_IO\_with\_DOTNET\_6.pdf
Regarding Read, in the detailed explanation by Adam Sitnik, the comparison of async true/false in a Windows environment is omitted!
However, in the first article, the comparison of async:true/false being tested is included, and it can be confirmed that when true, the results are significantly slower.
It seems like they didn't want to include a table that would be unfavorable (requiring accurate explanation)...
In theory, to summarize:

Using async I/O reduces thread pool consumption, increasing scalability
Not using async I/O increases thread pool consumption, but it's faster in a Windows environment

I think I want to add an option to change the useAsync argument of Utf8StreamReader.
Also, let's set the buffer size to 64K.

Interesting, I did not expect it to scale so well to such a large buffer size. It seems to be much more pronounced on Windows too. Reading your notes gave me some food for thought that I can use use for yet another rewrite of U8Reader.  There's still a lot of performance left on the table (especially in regards to GC-friendly allocation patterns) that can be gained through conditional double-buffering, adapting to read modes on the fly, detecting sync/async modes and then feeding that "stratregy" to conditionally re-allocating a handle for sync/async on Windows, and more...though that might be an overkill.
Either way, thank you and have a good day :)


Put docstrings in the intermediate language and codegen

Upstream appears to support this in some backends. Ideally we want to be compatible with whatever they're doing


Allow to run on local repos

Closes #43
Closes #57
Usage
python run.py \
	--model_name gpt4  \
	--data_path /Users/fuchur/Documents/24/git_sync/swe-agent-test-repo/ \
	--config_file config/default_from_url.yaml \
	--problem_statement=/Users/fuchur/Documents/24/git_sync/swe-agent-test-repo/problem_statements/1.md

[x] Allow to provide custom --problem_statement
[x] How to specify the path to a file with --problem_statement?
[x] Accept any github URL
[x] Accept path to local directory
[x] Copy local directory to container at runtime
[x] Apply patch back to local directory

Exciting!

Upon thinking more, a lot of people probably will probably want to run over github issues, but locally. So I'm still debating of whether we instead should have --data_path point at the source of an issue (markdown file or issue URL) and instead have a --repo_path flag to specify a path to the repo.

I trust your instincts more than mine here, but I would also think that --repo_path is a better name than --data_path


venv flake8 not from command line

Hi,
My venv's are always in the same relative location to my projects. I was wondering if it's possible to set the executable path to a relative path instead of needing to launch atom via the terminal - like suggested in the readme.
I've tried variations of $PATH/venv/bin/flake8 and ./venv/bin/flake8.
Thanks.

This is being implemented in #143.

Oh perfect. Thank you for the quick reply and the project in general

Published that in v1.12.0, not sure how I missed that that was ready earlier.


Some issues in training

Thank you greatly for your excellent work, as I try to reproduce the training process, I encountered the following problem and wondered if you have encountered it?
Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper__index_select)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/embeddings/word_embedding.py", line 27, in forward
emb = self.embedding(src)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/embeddings/embedding.py", line 27, in forward
emb = embedding(src, seg)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/models/model.py", line 33, in forward
emb = self.embedding(src, seg)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/trainer.py", line 160, in forward_propagation
loss_info = model(src, tgt, seg)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/trainer.py", line 110, in train
loss = self.forward_propagation(batch, model)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/trainer.py", line 638, in worker
trainer.train(args, gpu_id, rank, train_loader, model_for_training, optimizer, scheduler)
File "/storage/zhaoliuqing/code/VisorGPT/train/tencentpretrain/trainer.py", line 56, in train_and_validate
worker(args.local_rank, None, args, model_for_training, model_for_dataloader)
File "/storage/zhaoliuqing/code/VisorGPT/train/pretrain.py", line 117, in main
trainer.train_and_validate(args)
File "/storage/zhaoliuqing/code/VisorGPT/train/pretrain.py", line 121, in
main()
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper__index_select)
Looking forward to your reply!

Hi, I did not encounter such a problem, but from the error information, it seems that you should put all the tensors on the same device rather that some on cuda and some on cpu.

Thank you very much for your reply!
I did the dubug and in trainer.py line 56:
if args.deepspeed:
worker(args.local_rank, None, args, model_for_training, model_for_dataloader)
args.local_rank=None,
This resulted in a subsequent line 559 where the:
# Get logger
args.logger = init_logger(args)
if args.deepspeed:
import deepspeed
deepspeed.init_distributed(dist_backend=args.backend)
rank = dist.get_rank()
gpu_id = proc_id
elif args.dist_train:
rank = gpu_ranks[proc_id]
gpu_id = proc_id
gpu_id = proc_id=None
Here are my startup command parameters
"--deepspeed",
"--deepspeed_config", "/storage/zhaoliuqing/code/VisorGPT/train/models/deepspeed_config.json",
"--dataset_path", "/storage/zhaoliuqing/code/VisorGPT/train/visorgpt_dagger_train_seq.pt",
"--vocab_path", "/storage/zhaoliuqing/code/VisorGPT/train/models/google_uncased_en_coord_vocab.txt",
"--config_path", "/storage/zhaoliuqing/code/VisorGPT/train/models/gpt2/config.json",
"--output_model_path", "/storage/zhaoliuqing/code/VisorGPT/train/models/visorgpt_dagger_train_seq.bin",
"--world_size", "2",
"--gpu_ranks", "0","1",
"--total_steps", "200000",
"--save_checkpoint_steps", "10000",
"--report_steps", "100",
"--learning_rate", "5e-5",
"--batch_size", "16"
I only changed the values for world size and gpu_ranks.


PIL text provider: Do not render text if font size is < 1

Resolves #8538
PIL does not support, nor does it handle attempts to render text with font size values less than 1, resulting in various errors being raised.
Maintainer merge checklist

[x] Title is descriptive/clear for inclusion in release notes.
[x] Applied a Component: xxx label.
[ ] Applied the api-deprecation or api-break label.
[ ] Applied the release-highlight label to be highlighted in release notes.
[x] Added to the milestone version it was merged into.
[ ] Unittests are included in PR.
[ ] Properly documented, including versionadded, versionchanged as needed.

LGTM. Thank you!
(Will release 2.3.0rc3 on Monday)

Thank you @misl6 !


Add spherical bessel functions

Based on feedback in #34 and at https://github.com/SpM-lab/SparseIR.jl/pull/33 it would be nice to provide fast versions of spherical bessel functions.
Closes #34.
julia> @benchmark Bessels.sphericalbesselj(10, z) setup=(z = rand()*100)
BenchmarkTools.Trial: 10000 samples with 993 evaluations.
 Range (min … max):  35.105 ns … 195.677 ns  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     35.895 ns               ┊ GC (median):    0.00%
 Time  (mean ± σ):   45.506 ns ±  29.933 ns  ┊ GC (mean ± σ):  0.00% ± 0.00%

  █▃▂▁                              ▁   ▁   ▁                  ▁
  ████▅▃▁▁▃▁▁▁▄▃▃▁▇▃▁▄█▅▃▁▄▄█▄▄▅█▆▄▆█▆▄▄█▇▃▅█▇▁██▇▄██▇▅▁█▇▇▄█▆ █
  35.1 ns       Histogram: log(frequency) by time       169 ns <

 Memory estimate: 0 bytes, allocs estimate: 0.

julia> @benchmark SpecialFunctions.sphericalbesselj(10, z) setup=(z = rand()*100)
BenchmarkTools.Trial: 10000 samples with 825 evaluations.
 Range (min … max):  149.190 ns …   2.253 μs  ┊ GC (min … max): 0.00% … 58.84%
 Time  (median):     275.410 ns               ┊ GC (median):    0.00%
 Time  (mean ± σ):   552.528 ns ± 311.294 ns  ┊ GC (mean ± σ):  0.07% ±  1.18%

          █▅
  ▃▃▄▃▂▁▁▁██▂▂▁▁▂▂▂▂▂▁▁▁▁▁▁▁▁▂▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▂▂▂▂▂▄▄▄▄▅▄▄▄▄▄▄▄▄ ▃
  149 ns           Histogram: frequency by time          960 ns <

 Memory estimate: 16 bytes, allocs estimate: 1.

I think there are still some things to go on this for now but at least for integer orders this is much faster.

I've added better handling of Float16 and just generic input types. Hoping to update a lot of functions this way. @oscardssmith Are you ok with adding this functionality and the implementation? It appears to be of interest...


CTRL + Z doesn't undo size change in Label node

Steps to reproduce:

Create label node
Type any text
Press Enter to create new line -> Label height changes
Type more text
Press CTRL + Z until text disappears
You now have empty label, which has size of 2 lines, despite you tried to undo it to initial size

After some testing, seems like it happens also when label extends horizontally. When you then try to resize the label by dragging rectangle hooks (or whatever they are called), it magically retracts to original size as you click it.

I tested it again with 328805ae3
The bug where rectangle would "magically retract to original size" is gone. Now the new size stays there permanently.
As for the main issue, the problem is that UndoRedo action is handled by the inspector and the setter calls update() to set the new size, which only expands automatically and not shrinks. It might require some reworks or hacks to make the size change undoable.

Still valid in 3.2.3


chore(Mathlib/Algebra/BigOperators/Basic): unscope ∑ x ∈ s, f x notations

https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Unscoping.20big.20operators

[x] depends on: #13269

Looks reasonable to me.
maintainer merge

Should we remove all the open scoped BigOperators (or even open BigOperators) accordingly?

@sgouezel That's the next PR in the series. (I asked @Komyyy to separate the PR into chunks for ease of reviewing, so the next PR will be huge but completely mechanical.)

Then
bors r+
Thanks!


ci(*) add integration test to targeted job

What this PR does / why we need it:
Add an option to run integration tests to the targeted job, disabled by default. This allows running integration tests in CI against an arbitrary Kubernetes version.

CLA broke for this for some reason, but is irrelevant, so force-merging.


SSH FS extension not working at all

SSH FS extension from Kelvin is not working on a self-hosted setup. I have checked and tried that an ssh connection in-fact is possible from the terminal, but I get no response what-so-ever when I click on "connect" or "reconnect" to server

Did you solve this?

I am this issue as well. Any solutions?

Requesting further information. Failure to reply means it was fixed in your end and I'll close this automatically after 3 days.

It appears to error with "Extension 'SSH FS' failed to update workspace
folders: Error: Workspace folders from different providers are not
allowed in the same workspace." I verified that VS Code does not do this
although I'm not certain yet if it's a bug with web or code-server.

@code-asher checking this might be a platform issue, web isn't exactly supporting all of the extensions yet. I suggest forwarding this to Microsoft.

@cmoog Can you add https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs
We're missing it now.

Done 👍

@cmoog Did you confirm it works?

It appears to error with "Extension 'SSH FS' failed to update workspace folders: Error: Workspace folders from different providers are not allowed in the same workspace." I verified that VS Code does not do this although I'm not certain yet if it's a bug with web or code-server.

Still getting same error.

Yeah this is unfortunately still a problem with 3.2 but it should be fixed in the next release!

Should be good then in the latest versions.


Experimental types sidebar loses focus after an undo operation

Version and Platform (required):

Binary Ninja Version: 3.6.4707-dev Personal, 3cd0ac3b
OS: macos
OS Version: 14.1
CPU Architecture: arm64

Bug Description:
See the GIF please.
Steps To Reproduce:

Open a structure in types sidebar
Undefine one of its members
Undo the undefination with CTRL + Z
See it is focused on the linear view

Expected Behavior:
I expect it to stay focused on where I was before undo.
Screenshots:

This is actually present in all sidebar widgets, currently the navigation system only understands locations in main view areas, so undoing an operation (which causes navigation) will focus the main view instead. Fixing this correctly will involve a rewrite of the navigation/location system, or a bunch of hacks to handle type view specifically.


Both power pins connected to 5v in image

In your image, both leads (blue and yellow) are connected to 5v power pins (pins 2 and 4).
In reality, the yellow lead  should be connected to pin 6, Ground
😄

dman. you are right. ill need to taka a new pic today and fix it.
thanks =)


Gridlist docs fix - add back code examples

Code examples for Gridlist are missing because they were not migrated to the separate txt files at the time of merge.

@igorbt Looks good. Can you squash down the commits into one? Thanks

@oliviertassinari, thanks! I just squashed that obsolete revision.

I have two warning on the docs page. The first one is linked to the documentation itself
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `GridListPage`. See https://fb.me/react-warning-keys for more information.warning @ webpack:///../~/fbjs/lib/warning.js?:45
webpack:///../~/fbjs/lib/warning.js?:45

The second one may be linked to the Grid component
```Warning: Style property values shouldn't contain a semicolon. Try "background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%)" instead.

@oliviertassinari thanks for heads up. These warnings were there before, and this PR is a good opportunity to fix them.

@igorbt I see. Do you want to fix them?

@oliviertassinari, I already had fixed them (see above 8aaa223).

@igorbt Oh, perfect :+1: .


Add Tenchi Security to the list

Do you want to add or update the vendor? Adjust the title accordingly!
How to use? Fill the yaml file below!

name: Use the vendors name
free_sso_providers: Do they support free SSO providers like Google, Apple, Github etc.? One per line.
scim_pricing: Use the vendors cheapest price that includes SCIM.
scim_starting_on_plan: When is SCIM available? lowest`` or highest`
sources: Add a link or a note to where you got information like pricing from. One per line.
sso_on_free_plans: Is SSO available on free plans?
sso_on_all_paid_plans: Is SSO available on all paid plans? It must be true to appear on this list.
updated_at: yyyy-mm-dd of the day you filed this.
vendor_url: Use the vendors public website

---
name: Tenchi Security
free_sso_providers:
  - Google
  - SAML
sources:
  - Quote
sso_on_free_plans: true
sso_on_all_paid_plans: true
updated_at: 2024-04-02
vendor_url: https://tenchisecurity.com

Appreciate that you add your company here! As you added this information as founder, shall we change "Quote" to "Founder himself"?
I checked your website and couldn't find a free plan. Do you offer that? If not, I would change sso_on_free_plans to false.
Thank you!

Yes, makes sense to change quote to founder. It was not clear to me reading the issue template and example that this was an option. :)
We do not offer a free plan, but we do have free trials for qualified customers where SSO is available as well.

I see. Well, a free trial is not really a free plan, so I adjusted it accordingly. Thanks for your insights!


feat: add support for bittwister

Overview

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Closed if favor of https://github.com/celestiaorg/knuu/pull/210


Missing 'metaeditor.settings' file

Running 'python manage.py ' Fails.
[eric@gala metaeditor]$ python manage.py -h
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Library/Python/2.7/site-packages/django/core/management/init.py", line 385, in execute_from_command_line
utility.execute()
File "/Library/Python/2.7/site-packages/django/core/management/init.py", line 345, in execute
settings.INSTALLED_APPS
File "/Library/Python/2.7/site-packages/django/conf/init.py", line 46, in getattr
self._setup(name)
File "/Library/Python/2.7/site-packages/django/conf/init.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/Library/Python/2.7/site-packages/django/conf/init.py", line 98, in init
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'metaeditor.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named dj_database_url

You need to run
pip install -r requirements.txt
to install all required modules


[00.00.00] [BUG] Construction submarines always want to go to their favorite regulator

Factorio & Maraxsis version number
Factorio 2.0.23 win64
Maraxsis 1.23.43
Describe the bug
Construction submarine constantly sets its own temporary waypoint at a specific regulator.   The sub can be in manual mode or even in Drive Remotely mode it will never stay stationary, always homing to one specific regulator.  Does not seem to be an issue with non-construction subs.
To Reproduce
Steps to reproduce the behavior:

build a construction submarine, add to the grid power and a roboport
the submarine immediately moves toward a specific dome/regulator
with the sub in manual mode, set a temporary waypoint on the edge of the screen
observe the sub go to that waypoint and immediately return to its favorite dome/regulator

Expected behavior
I think the intent is that sub navigation is like spidertron navigation.   I can direct a Spidertron to go to a location and stay there.  Can't do that with construction subs.

Construction submarines are heavily scripted. The code is based on this project:
https://mods.factorio.com/mod/Constructron-Continued?from=search
The logic of a construction submarine is to go to the regulator, collect all construction materials, and build ghosts for any entity on the entire map. They are intended to be fully automated without need to manual editing with the waypoints.
For this reason, I believe your bug is actually a feature. Perhaps the central issue here is actually a lack of documentation on how the construction submarines are intended to function.

That sounds super cool.  As a test, I've got a construction submarine with an equipment grid consisting of power, roboports, and exoskeletons.  Its quiescent at the (first built) regulator.  If I go to an outpost and build some ghosts, using assets that are known to be in-network to the regulator, I don't see it collecting the construction materials, regardless of manual/auto setting. Under Details, it shows a task at the "job location", but for some reason it's not requisitioning the materials for the ghosts at that location.


Add region_wide option to ffxiv shopping list

Theres a new region_wide option, this should be set to false by default.  Add it into the FE so that people can check it if they want to.
{
    "crafting_list": {
        ...
    },
    "home_server": "Famfrit",
    "region_wide": false
}

Just need to add something like this to the shopping list page

Getting errors when trying to use this:


Avoid double lambda wrapping

:tada: This PR is included in version 1.14.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add prism.js styling

Hello! This pull request is an attempt to fix #22 by adding a highlighted input field and highlighted output field using prism.js.
This is what the page looks like right now:

Please let me know if there are things that should be changed, or if you have any suggestions!

Update: I found perhaps a better alternative to prism.js, called, shiki. It seems to more easily integrate into the Editor component that was being used before.
Now, the result looks like this:

Are you working on Shiki?

Will do!

yeah you can.


Documentation mentions "Name" field instead of ObjectMeta

This is screenshot from here
We have mentioned Name as an additional Kedge field. We should be instead mentioning that Name comes from ObjectMeta which is merged with RouteSpec, and so on for all objects.

@containscafeine Mind opening a PR for this? :sweat_smile:


[in-app-purchase][Android] PlatformException(UNAVAILABLE, BillingClient is unset. Try reconnecting., null, null)

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Note: I haven't tested these steps closely. I just had a big add-to-app flutter app on which it failed like this on my internal testing track (in Google Play Store), I took a look at the plugin code, issues and answers on stackoverflow and it all pointed that it should work, except that in my case it is an add-to-app scenario and I am killing (finish) the flutter activity at some points.

Setup an add-to-app flutter app.
Kill the Flutter activity and start a native activity.
Start the Flutter activity again reusing the flutter engine of the killed activity.
Call await InAppPurchase.instance.isAvailable(); or try to purchase something.

Expected results
Not to crash
Actual results
It crashes with Unhandled Exception: PlatformException(UNAVAILABLE, BillingClient is unset. Try reconnecting., null, null)
Code sample
I am sorry, I didn't have time to create a minimal reproducible example. I'm just attaching the purchase function I am using.
Code sample

Future<bool> purchaseSubscriptionPlan(String productId) async {
  // fix from: https://stackoverflow.com/a/71730103/2469583
  final av = await InAppPurchase.instance.isAvailable();
  if (!av) {
    toast("InAppPurchase is not available");
    return false;
  }
  Set<String> kIds = <String>{productId};
  final ProductDetailsResponse response =
      await InAppPurchase.instance.queryProductDetails(kIds);
  if (response.notFoundIDs.isNotEmpty) {
    toast("Products not found: ${response.notFoundIDs}");
    return false;
  }
  List<ProductDetails> products = response.productDetails;
  final ProductDetails productDetails = products[0];
  final PurchaseParam purchaseParam =
      PurchaseParam(productDetails: productDetails);
  InAppPurchase.instance.buyNonConsumable(purchaseParam: purchaseParam);
  return true;
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
04-20 10:15:57.651  1949  2120 V DisplayPowerController[0]: Brightness [0.14998937] reason changing to: 'automatic', previous reason: 'automatic [ dim ]'.
04-20 10:15:57.710 25828 26047 E flutter : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(UNAVAILABLE, BillingClient is unset. Try reconnecting., null, null)
04-20 10:15:57.710 25828 26047 E flutter : #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653)
04-20 10:15:57.710 25828 26047 E flutter : #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315)
04-20 10:15:57.710 25828 26047 E flutter : <asynchronous suspension>
04-20 10:15:57.710 25828 26047 E flutter : #2      BillingClient.isReady (package:in_app_purchase_android/src/billing_client_wrappers/billing_client_wrapper.dart:84)
04-20 10:15:57.710 25828 26047 E flutter : <asynchronous suspension>
04-20 10:15:57.710 25828 26047 E flutter : #3      purchaseSubscriptionPlan (package:flutter_module/util/billing/billing.dart:73)
04-20 10:15:57.710 25828 26047 E flutter : <asynchronous suspension>
04-20 10:15:57.710 25828 26047 E flutter : #4      _BillingTestingScreenState.build.<anonymous closure>.<anonymous closure> (package:flutter_module/testing/billing_testing.dart:35)
04-20 10:15:57.710 25828 26047 E flutter : <asynchronous suspension>
04-20 10:15:57.710 25828 26047 E flutter :
04-20 10:15:59.222  1363 26530 I QC2Comp : [vp9D_20] Stats: Works: Q(25)/Done(19)| Work-Rate: Q(0.0/s Avg=0.0/s) Done(0.000/s Avg=0.009/s)| Stream: 30.30fps 1.2Mbps| Pending(8) i/p-done(0)
04-20 10:15:59.223  1363 26531 I QC2Comp : [vp9D_21] Stats: Works: Q(25)/Done(19)| Work-Rate: Q(0.0/s Avg=0.0/s) Done(0.000/s Avg=0.009/s)| Stream: 30.30fps 500.8Kbps| Pending(8) i/p-done(0)
04-20 10:15:59.502  1363 26565 W C2BqBuffer: last successful dequeue was<PHONE_NUMBER> us ago, 188737 consecutive failures

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.7.8, on macOS 12.6.1 21G217 darwin-x64, locale
    en-PE)
    • Flutter version 3.7.8 on channel stable at /Users/josue/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 90c64ed42b (4 weeks ago), 2023-03-21 11:27:08 -0500
    • Engine revision 9aa7816315
    • Dart version 2.19.5
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/josue/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/josue/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.77.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (3 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13
      (API 33) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     • macOS
      12.6.1 21G217 darwin-x64
    • Chrome (web)                 • chrome        • web-javascript • Google
      Chrome 112.0.5615.137

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Btw, versions used:
in_app_purchase 3.1.5
in_app_purchase_android 0.2.5

In case it helps, I did a fast fix by modifying the in_app_purchase_android code.
I added:
    try {
      await client.isReady();
    } catch (e, s) {
      print(e);
      debugPrintStack(stackTrace: s);
      _readyFuture = _connect();
      await _readyFuture;
    }

to these 2 functions: runWithClient and runWithClientNonRetryable. So it ended up looking like this (right part):

Thanks for the report @j05u3
I try to replicate this case with reproduction steps at https://github.com/flutter/flutter/issues/33210#issuecomment-508190795 but the crash doesn't occur. It looks like the issue only can be reproducible in add-to-app scenario.
I will try creating a sample code for this, but can you please be more specific on these two steps? (Or provide a snippet code would be appriciated)

Kill the Flutter activity and start a native activity.
Start the Flutter activity again reusing the flutter engine of the killed activity.

Thanks for the report @j05u3 I try to replicate this case with reproduction steps at #33210 (comment) but the crash doesn't occur. It looks like the issue only can be reproducible in add-to-app scenario.
I will try creating a sample code for this, but can you please be more specific on these two steps? (Or provide a snippet code would be appriciated)

Kill the Flutter activity and start a native activity.
Start the Flutter activity again reusing the flutter engine of the killed activity.

Sure, my app starts with a splash screen activity coded in Java, then it navigates to my flutter activity (MyFlutterActivity) which starts flutter and in there I call to:
Future<bool?> open_my_activity() async {
  try {
    final bool result =
        await platform.invokeMethod('open_my_activity');
    return result;
  } catch (e, s) {
    debugPrint(e.toString());
    debugPrint(s.toString());
    await FirebaseCrashlytics.instance.recordError(e, s);
  }
  return null;
}

And I receive the method call like this inside MyFlutterActivity:
if (call.method.equals("open_my_activity")) {

    startActivity(new Intent(getApplicationContext(),
        MyActivity.class));

    result.success(true);

    this.finish(); // killing this activity

}

Then I navigate again to MyFlutterActivity again and try to purchase and the issue happens.
Btw, this is the code I use to navigate from native to flutter (i.e. open MyFlutterActivity): (see startFlutterActivity)
    private static Intent getFlutterIntent(Activity activity) {
        FlutterActivity.CachedEngineIntentBuilder builder =
            new FlutterActivity.CachedEngineIntentBuilder(
                MyFlutterActivity.class,
                FLUTTER_ENGINE_ID);
        return builder
            .build(activity);
    }

    public static void startFlutterActivity(Activity activity) {
        FlutterUtil.startFlutterActivity(activity, null);
    }

    public static void startFlutterActivity(Activity activity, Integer requestCode) {
        warmUpEngine(activity);
        if (requestCode == null) {
            activity.startActivity(FlutterUtil.getFlutterIntent(activity));
        } else {
            activity.startActivityForResult(FlutterUtil.getFlutterIntent(activity), requestCode);
        }
    }

Thanks for your response, I can reproduce this error from my end. It will take time to prepare a complete sample code, I will add it later but below is the steps I tried:
Steps to reproduce

Clone and use plugin add-to-app sample at: https://github.com/flutter/samples/tree/main/add_to_app/plugin
Clone and use `in_app_purchase sample at: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase/example (Use your own app id and purchase id to the sample)
In add_to_app/plugin/flutter_module_using_plugin/lib/main.dart (sample at step 1), add a button to navigate to IAP screen used in step 2
Run the Android native app from add_to_app/plugin/android_using_plugin
Click on Launch Flutter activity button -> IAP screen -> Check if all products can be shown and the status: "The store is available" on screen
Press back to previous screen and press Exit this screen to quit Flutter activity
Launch Flutter activity one more time and navigate to IAP screen
Check the status: "Trying to connect..." and the console log output has error as above

Demo video
https://user-images.githubusercontent.com/104349824/233639345-ddc56a93-e5de-4d5b-b2d1-8f4bcf5a9132.mov

Reproduced the issue on the latest version in_app_purchase: ^3.1.5. Labeling the issue for further insights!

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.12 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (2 days ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.77.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 112.0.5615.137

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.10.0-10.0.pre.38, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.0-10.0.pre.38 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7aa01f53f8 (38 minutes ago), 2023-04-20 22:31:11 -0400
    • Engine revision 122c3b3820
    • Dart version 3.1.0 (build 3.1.0-26.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Flamingo.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio Flamingo.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.77.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 112.0.5615.137

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Thanks for your response, I can reproduce this error from my end. It will take time to prepare a complete sample code, I will add it later but below is the steps I tried:
Steps to reproduce

Clone and use plugin add-to-app sample at: https://github.com/flutter/samples/tree/main/add_to_app/plugin
Clone and use `in_app_purchase sample at: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase/example (Use your own app id and purchase id to the sample)
In add_to_app/plugin/flutter_module_using_plugin/lib/main.dart (sample at step 1), add a button to navigate to IAP screen used in step 2
Run the Android native app from add_to_app/plugin/android_using_plugin
Click on Launch Flutter activity button -> IAP screen -> Check if all products can be shown and the status: "The store is available" on screen
Press back to previous screen and press Exit this screen to quit Flutter activity
Launch Flutter activity one more time and navigate to IAP screen
Check the status: "Trying to connect..." and the console log output has error as above

Demo video
Reproduced the issue on the latest version in_app_purchase: ^3.1.5. Labeling the issue for further insights!
flutter doctor -v (stable and master)

Awesome, thanks 🙏

try { final bool available = await InAppPurchase.instance.isAvailable(); if (!available) { logger.e('initStoreInfo: The store cannot be reached or accessed'); return; } } on PlatformException catch (e) { logger.e('initStoreInfo: InAppPurchase = $e'); if (defaultTargetPlatform == TargetPlatform.android) { InAppPurchaseAndroidPlatform.registerPlatform(); } _initListenPurchase(); }

Workaround works for me


Action bar in View title area renders the focus with the bottom cut off

Have the default theme and no settings
Focus on the title area actions
Notice the bottom focus is cut off

I see this for all views, thus first assigning to @sandy081 and @sbatten

@isidorn I cannot reproduce this in insiders and also running out of sources. Are there any missing steps?

also not reproing on windows for me

I believe my actionBar changes fixed it, let's close. Sorry for the false alarm


make 2 ways of generating Random Orthogonal or Unitary Matrix

Currently we have
RandomUnitaryMatrix(n) and RandomOrtgonalMatrix(n)
Add in the functionality of acheiving the same thing with
rand(Haar(2), n) and rand(Haar(1), n)  as in RandomMatrices.jl
Note that RandomUnitaryMatrix is the name of the realization, while Haar is the name of the distribution.

Done!
To generate a 3 by 3 random Orthogonal matrix run

RandomOrthogonalMatrix(3) or equivalently
rand(Haar(1,3))
Similarly for Unitary case.


Updates eslintrc for compatibility with ESLint to 3.1.1

Changes

Updates ordering of rules to match ESLint docs.
Adds new line and block sections to spaced-comment rule.
Adds but doesn't enforce multiline-ternary.

Review

@Scotchester
@contolini
@wpears
@mistergone

Notes

Mostly moves code around and updates a code comment. Only one actual rule is updated.

:+1:


Rust generate! not deduping interface type with same name as interface

I was just updating wasi-virt to the lateset WIT definition for terminal:
interface terminal-input {
    /// The input side of a terminal.
    ///
    /// This [represents a resource](https://github.com/WebAssembly/WASI/blob/main/docs/WitInWasi.md#Resources).
    type terminal-input = u32

    // In the future, this may include functions for disabling echoing,
    // disabling input buffering so that keyboard events are sent through
    // immediately, querying supported features, and so on.

    /// Dispose of the specified terminal-input after which it may no longer
    /// be used.
    drop-terminal-input: func(this: terminal-input)
}

When I use the generate! macro, I get the following type generated:
use crate::exports::wasi::cli::terminal_input::TerminalInput;

where the above is a u32 type and not a trait that can be implemented as expected.
It seems like the interface name and type alias name having the same name is not being deduped properly, when it should probably be a separate crate::exports::wasi::cli::terminal_input::TerminalInput::Terminalnput type I think?

Ah as far as I can tell, this just is the naming scheme, that the trait has the name of the interface, while all the other types are in a flat shared namespace.
Therefore this means:

Special casing the trait somehow by default
Detecting a name clash and handling it specially
Ban this case entirely and refactor away from sharing the name of a type with its own interface?

Calling everything TerminalInputTrait etc might be a lot though for sure.

Indeed the generated code has:
pub type TerminalInput = u32;
pub trait TerminalInput {
    fn drop_terminal_input(this: TerminalInput);
}

which is a redefinition and errors.
Perhaps we should generate a submodule for the interface module to put its types in?

That seems like a sensible solution to me.

Rather than move the datatypes a level down in the module tree, what if the trait was moved a level up?
pub mod cli {
    ...
    pub mod terminal_input {
        pub type TerminalInput = u32;
    }
    pub trait TerminalInput {
        fn drop_terminal_input(this: terminal_input::TerminalInput);
    }
}

I think that makes even more sense and can't, on the surface at least, think of a reason that wouldn't work.

Looking into fixing this, there's also the issue of:
world foo {
  record foo {
  }

  export x: func() -> foo
}

generating:
pub struct Foo {
}
// ...
pub trait Foo {
  fn x() -> Foo;
}

which is all at the root level preventing lifting things up a bit.
I might take a leaf out of Wasmtime's book where Wasmtime always generates a trait called "Host" so I might do the same here and always generate a trait called "Guest" and then treat type guest = u32 in WIT as something like type Guest_ = u32 in Rust.
How's that sound to y'all?

I wonder if top-level namespacing could be an approach here?
use crate::exports::wasi::cli::world::FooWorld;


DIfferent res screen issue

Hi,
Im trying to run Borderlands 2 on 2 monitors, my main monitor is 1440p, and the second monitor is a 1080p TV.  I have set everything up correctly, and the main monitor is displaying correctly but the TV is trying to show 1440p, meaning only a portion of the screen is shown.  Is there a patch for this?
I saw in Issue 44 (I think) that someone else had the same issue but the fix didn't seem to work for me.
Thanks

Hi! Sorry for the long time to answer :/
I'd recommend you try Alpha 8, it could help you with the resolution issues. If not, post back here and I'll try and help you through solving it.

The only fix i've found is to lower your main screen resolution to the lower one in nvidia control panel or what have you.  Then launch NC and then the game.  This works perfectly fine and is only a small annoyance imo.


Fix setup

Fixes a regression introduced in https://github.com/ascoderu/opwen-webapp/pull/166 which led to no .py files being included in the package.

Codecov Report

Merging #174 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #174   +/-   ##
======================================
  Coverage    69.2%   69.2%
======================================
  Files          28      28
  Lines        1679    1679
======================================
  Hits         1162    1162
  Misses        517     517

Continue to review full report at Codecov.

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


Setting an Existing Node Version & Differentiating Output

The currently configured Node version for the TypeScript sample, 15.14.0, is no longer available for download.
This pull request replaces that version with 16.18.1 which exists.
Additionally, it changes "hello, world" to "hello, TS world" because the same output is used for multiple containers, and it makes it easy to mask an error when the wrong container is run.

Thanks. Strange that old versions disappear but appreciate you fixing this.  I changed the output back to hello, world for consistency with the other samples.