HDFS-15452.Dynamically initialize the capacity of BlocksMap.

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
19m 30s
trunk passed

+1 :green_heart:
compile
1m 16s
trunk passed with JDK Ubuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04

+1 :green_heart:
compile
1m 10s
trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
checkstyle
1m  0s
trunk passed

+1 :green_heart:
mvnsite
1m 13s
trunk passed

+1 :green_heart:
shadedclient
16m  2s
branch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 35s
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04.

+1 :green_heart:
javadoc
0m 45s
trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+0 :ok:
spotbugs
2m 54s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
2m 51s
trunk passed

_ Patch Compile Tests _

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

+1 :green_heart:
compile
1m  7s
the patch passed with JDK Ubuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04

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

+1 :green_heart:
compile
1m  1s
the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

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

+1 :green_heart:
checkstyle
0m 53s
the patch passed

+1 :green_heart:
mvnsite
1m  6s
the patch passed

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

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

+1 :green_heart:
shadedclient
13m 51s
patch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 31s
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04.

+1 :green_heart:
javadoc
0m 42s
the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
findbugs
2m 56s
the patch passed

_ Other Tests _

-1 :x:
unit
95m 30s
hadoop-hdfs in the patch passed.

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

188m 41s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics

hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier

hadoop.hdfs.server.blockmanagement.TestPendingInvalidateBlock

hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.TestGetFileChecksum

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2128/1/artifact/out/Dockerfile

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml

uname
Linux 22e69578584b 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
personality/hadoop.sh

git revision
trunk / 3a4d05b8504

Default Java
Private Build-1.8.0_252-8u252-b09-1~18.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-2128/1/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-2128/1/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.7+10-post-Ubuntu-2ubuntu218.04.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-2128/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-2128/1/testReport/

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

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-2128/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=3.1.0-RC1

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
19m 57s
trunk passed

+1 :green_heart:
compile
1m 19s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
1m 10s
trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
checkstyle
1m  0s
trunk passed

+1 :green_heart:
mvnsite
1m 20s
trunk passed

+1 :green_heart:
shadedclient
15m 33s
branch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 34s
hadoop-hdfs in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.

+1 :green_heart:
javadoc
0m 42s
trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+0 :ok:
spotbugs
3m 22s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 20s
trunk passed

_ Patch Compile Tests _

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

+1 :green_heart:
compile
1m 13s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
1m 13s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

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

+1 :green_heart:
checkstyle
0m 50s
the patch passed

+1 :green_heart:
mvnsite
1m 15s
the patch passed

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

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

+1 :green_heart:
shadedclient
14m 18s
patch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 31s
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.

+1 :green_heart:
javadoc
0m 40s
the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
findbugs
3m 14s
the patch passed

_ Other Tests _

-1 :x:
unit
102m  1s
hadoop-hdfs in the patch passed.

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

173m 41s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaRecovery

hadoop.hdfs.TestDFSStripedOutputStreamWithFailure

hadoop.hdfs.TestReadStripedFileWithDecoding

hadoop.fs.contract.hdfs.TestHDFSContractMultipartUploader

hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier

hadoop.hdfs.TestStripedFileAppend

hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetCache

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml

uname
Linux 289e27d614e7 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
personality/hadoop.sh

git revision
trunk / 05b3337a460

Default Java
Private Build-1.8.0_252-8u252-b09-1~18.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2128/3/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2128/3/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2128/3/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

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

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

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m 15s
trunk passed

+1 :green_heart:
compile
1m 48s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
1m 41s
trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
1m 16s
trunk passed

+1 :green_heart:
mvnsite
1m 41s
trunk passed

+1 :green_heart:
shadedclient
19m 58s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 54s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 24s
trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
3m 31s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 29s
trunk passed

_ Patch Compile Tests _

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

+1 :green_heart:
compile
1m 29s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

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

+1 :green_heart:
compile
1m 17s
the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
1m 17s
the patch passed

+1 :green_heart:
checkstyle
0m 57s
the patch passed

+1 :green_heart:
mvnsite
1m 22s
the patch passed

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

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

+1 :green_heart:
shadedclient
17m 58s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 55s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
1m 24s
the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

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

_ Other Tests _

-1 :x:
unit
123m 35s
hadoop-hdfs in the patch passed.

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

226m 30s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.sps.TestExternalStoragePolicySatisfier

hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes

hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics

hadoop.hdfs.TestFileChecksum

hadoop.hdfs.server.namenode.ha.TestHAAppend

hadoop.hdfs.TestDFSOutputStream

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml

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

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ce861836918

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2128/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

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

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

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 50s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 38s

trunk passed

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 16s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  2s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 30s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  7s

trunk passed

+1 :green_heart:
shadedclient
16m 16s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 11s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 54s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 318 unchanged - 0 fixed = 319 total (was 318)

+1 :green_heart:
mvnsite
1m 14s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 46s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 22s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  9s

the patch passed

+1 :green_heart:
shadedclient
15m 58s

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

_ Other Tests _

-1 :x:
unit
241m 32s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

326m 26s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

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

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

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

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

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 00e33b0d553258e49e85e2cbae6b55e02b11d2b8

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

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

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

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.


Error installing dev dependencies with pipenv

I'm getting an error while trying to install development dependencies using pipenv:
$ pipenv install --dev
Installing dependencies from Pipfile.lock (284880)…
An error occurred while installing -e .[format,test]! Will try again.
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 45/45 — 00:00:08
Installing initially failed dependencies…
[pipenv.exceptions.InstallError]:   File "~/.local/lib/python3.6/site-packages/pipenv/core.py", line 1874, in do_install
[pipenv.exceptions.InstallError]:       keep_outdated=keep_outdated
[pipenv.exceptions.InstallError]:   File "~/.local/lib/python3.6/site-packages/pipenv/core.py", line 1253, in do_init
[pipenv.exceptions.InstallError]:       pypi_mirror=pypi_mirror,
[pipenv.exceptions.InstallError]:   File "~/.local/lib/python3.6/site-packages/pipenv/core.py", line 859, in do_install_dependencies
[pipenv.exceptions.InstallError]:       retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs
[pipenv.exceptions.InstallError]:   File "~/.local/lib/python3.6/site-packages/pipenv/core.py", line 763, in batch_install
[pipenv.exceptions.InstallError]:       _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry)
[pipenv.exceptions.InstallError]:   File "~/.local/lib/python3.6/site-packages/pipenv/core.py", line 681, in _cleanup_procs
[pipenv.exceptions.InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: ['Obtaining file://~/git/github.com/sisp/python-oas']
[pipenv.exceptions.InstallError]: ['ERROR: Error installing \'file://~/git/github.com/sisp/python-oas\': editable mode is not supported for pyproject.toml-style projects. This project is being processed as pyproject.toml-style because it has a pyproject.toml file with a "build-backend" key in the "build_system" value. See PEP 517 for the relevant specification.']

If I downgrade pip to v18 manually, it works fine. It seems something was changed in v19 that causes this issue: https://discuss.python.org/t/pip-19-1-and-installing-in-editable-mode-with-pyproject-toml/1553

19.0.3 is OK for me. Here is a workaround.
pipenv --three
pipenv run pip install -U 'pip == 19.0.3'
pipenv install --dev

Yes, that's pretty much what I did, too, to be able to install from Pipfile. I had this issue with pip v19.1. While searching for this problem and a solution, I noticed that a few other repositories are seeing this issue as well.


ERR_MODULE_NOT_FOUND after upgrading SvelteKit to the latest version, 1.0.0-next.377

No idea why would I get this error, as I can see all the imports of the package in node_modules. But I am only having issue with this package after upgrade, so I will create the issue here for now.
Cannot find module '/Users/xxx/Desktop/closesource/node_modules/svelte-tippy/tippy' imported from /Users/xxx/Desktop/closesource/node_modules/svelte-tippy/index.js
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/xxx/Desktop/closesource/node_modules/svelte-tippy/tippy' imported from /Users/xxx/Desktop/closesource/node_modules/svelte-tippy/index.js

Did you figure it out?


Editing check type causes monitor to vanish from Quick Stats

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
I've edited a couple of monitors and switched them from simple Ping to HTTP(S) checks. While this worked perfectly fine in the status page and the left list in the dashboard, i couldn't find them in the quick stats anymore.
I did a full page refresh(ctrl+f5) but couldn't get them to show up again. The checks have been carried out just fine though and i can open the details with the left listing in the dashboard.
👟 Reproduction steps

Create a ping monitor
Switch it to HTTP(S)
The monitor disappears from the quick stats

👀 Expected behavior
The quick stats should display the values of the edited monitor.
😓 Actual Behavior
The monitor completely vanishes from the quick stats.
🐻 Uptime-Kuma Version
1.11.1
💻 Operating System and Arch
Ubuntu 20.04
🌐 Browser
Firefox 95
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Can't reproduce on master. Do you mean the total number of monitors in the Quick Stats decreased after you changed a monitor type?

The monitor itself isn't part of the list anymore. I also tried a to search it using ctrl+f because i didn't trust my eyes but Firefox could only find it in the left pane.

I think what you are referring to is in fact the "Notable Events" list, which will only update if there is a UP/DOWN change on a monitor. There was discussion before about this being confusing, but no improvement has been implemented yet.

Exactly. From a user perspective this is highly confusing. I would have expected that the monitor either sticks with last ping change or that it treats the first HTTP check as the last UP change. As the check is completely changed, it would also be acceptable IMHO to clear the history.


Fix minSdk for compose support

Publishing snapshots failed because of it. Not sure why I'm not seeing it locally though 🤔

Not sure why I'm not seeing it locally though

If you're building from the IDE, AGP injects the minSdk of your connected device for some tasks. Might be an explanation, you can disable it in settings: Optimize build for target device

No I'm on the CLI 🤔! That's a cool setting to know about though 👍!


Set up CI with Azure Pipelines

You can use the identical file to get this going:

I copied the file to get the build working. However this fails, because the database is not there.
So we need to add the automatic download first.

I fixed the tests and downloads. Will merge this in before starting to rename the module, otherwise it will become a big mess.
One thing I noticed was that the function get_AZN was deprecated and moved to the _deprecated module. This collides with consistent binary wheel building, since one wouldn't distribute the deprecated modules with the install package. Then test performed "out of source" would fail. So I reintroduced the get_AZN and bin_widths in utils until these variables are available in particledatatool or so.


Added laravel/sail development environment integration

What was done
I integrated a development environment, after seeing the previous effort was abandoned/stale.
I opted for laravel/sail because it is the officially supported docker based development setup.
This would close #58 and would supersede #104.
For a better overview I would now cite the addition to the README.md:
Development environment
This project uses Laravel Sail to supply you with a docker based development environment.
Please take a moment to familiarize yourself with its concepts.
We also supply a small convenience shell script named sail in the project root which forwards all commands to the vendor/bin/sail command.
It also asks whether it should

install the composer dependencies using a container, if not finding the sail command.
install .env.sail as the current .env, if none is currently present.
NOTE: If you already have an .env installed, consider replacing it with .env.sail as the DB_*/REDIS_* settings are important for operating inside the sail environment.

# start the development environment
./sail up -d

# continue with setting up the backend
./sail artisan db:create
./sail artisan migrate --seed
./sail artisan key:generate
./sail artisan admin:create

# and the frontend
./sail yarn
./sail yarn development

# stop the development environment
./sail stop

Could the server be started on port 8080? Port 80 is taken on many development machines (including mine).

Could the server be started on port 8080? Port 80 is usually taken by other services on many development machines (including mine).

Absolutely. Sail honors Laravels APP_PORT environment setting. I added it to the .env.sail and updated the README to point to the http://localhost:8080 entrypoint.

On a different note.
I just saw that you (@Calinou) made a comment regarding a production docker environment in another issue.
Does this mean by proxy, that the php 7.3 version limitation is about to be discarded? That would be very good news, since 7.3 is EOL, 7.4 is maintenance only and even 8.0 will enter maintenance mode in 4 months.
Seeing as this is not even in production yet, it would be fortunate if you could drop 7.3 support and move to 8.1.
But thats a different topic I guess. I was just curious.

I just saw that you (@Calinou) https://github.com/Calinou/godot-asset-library-laravel/issues/26#issuecomment-791547705 regarding a production docker environment in another issue.

We still haven't moved to a new host, so we don't know if we'll be able to run PHP versions newer than 7.3 anytime soon. Therefore, I'd stick to 7.3 for now. LTS Linux distributions really aren't motivated to provide recent PHP versions, unfortunately.

So. Is there something still missing? Or could this be a reasonable integration of a dev environment?


Is it possible to make an anchor for a part of object in YAML config file

I have such a config file for my Envoy:
!ignore tcp_log_path: &tcplog "/tcp.log"
!ignore tcp_log_path: &udplog "/udp.log"
!ignore gw_meta_data:
  - &tcp_access_log [{name: envoy.access_loggers.file, typed_config: {"@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog, path: *tcplog}}]
  - &udp_access_log [{name: envoy.access_loggers.file, typed_config: {"@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog, path: *udplog}}]

static_resources:
  listeners:
  - name: listener_jitsi_https
    address:
      socket_address: *ingress_https_addr
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          stat_prefix: ingress_http
          access_log: *tcp_access_log

It works but I found that this part {name: envoy.access_loggers.file, typed_config: {"@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog, was kind of too long and was repeated many times... So I'm thinking if it is possible to make an anchor for just this part.

Envoy uses https://github.com/jbeder/yaml-cpp to parse its YAML. Is what you're trying to achieve possible in standard YAML syntax? If so, maybe try it out? We should be able to do anything that yaml-cpp supports.


Why are we using the small model in _raw_face_landmarks?

@ageitgey: Why do we use model="small" here :
`raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model="small")`

Is it for performance reasons?

Yes. The default model finds lots of extra face landmark points but face encoding process only needs a few of those landmark points to normalize/straighten the face image. So this avoids doing extra work for no reason.


[request for discussion] onIndexChanging (index, prevIndex)

I personally believe that there should be one more event: onIndexChanging (index, prevIndex) for the sole purpose of deciding if the current index change should succeed or not.
If the developer returns false, then the SwipeableView should not change its index.
Use case:

a DaysSwipeable that is passed an array of pre-rendered react components (days).
a MonthSwipeable that is passed an array of pre-rendered react components (months).

When a user swipes the MonthSwipeable, children of the DaysSwipeable get rerendered. Every time. Even though, the developer could pre-render all the 31 child for the DaysSwipeable and just control how far a user is allowed to swipe depending on the number of days in the month specified via the MonthSwipeable. In Feb the user would be able to swipe either to the 28th or the 29th. In the rest of the months it would be possible to swipe to either 30th or 31st. Without any re-rendering of the DaysSwipeable's children at all.

This seems to be linked to #412


⚠ Shadow Does Streams has degraded performance

In 2ba2277, Shadow Does Streams (https://stream.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 13890 ms

Resolved: Shadow Does Streams performance has improved in da1ea6e after 30 minutes.


add tls files to really-clean

TEST
After you have a prepared local env you should have files in secrets directory:
ls /var/run/secrets/kubernetes.io/serviceaccount/
ca.crt  tls.crt  tls.key  token

Now run make really-clean, those files should be gone now.
ls /var/run/secrets/kubernetes.io/serviceaccount/

really-clean is needed when you want to force make run to rerun the prepare-local-env for you.


crashes randomly on linux ubuntu 20.04

I'm unaware of where any logs or dumps would be, if I could be pointed in the right direction I'll upload them, but I was getting in frequent random crashes, the last I remember occurred while I was moving the window around. I'm sorry for such a vague issue, once I can get logs it should be better.

Take a look at
https://onivim.github.io/docs/using-onivim/command-line#logging

The '-f' argument can be used to keep Onivim 2 attached to the terminal, and provide logging output.

oni2.log
Here is the log, it crashed as I dragged the window against the top of the display to resize it to fit that display in my 2 monitor setup.

I realize debugging wasn't enabled, I'll try to get it to crash again.

Thanks for reporting and grabbing logs, @MichaelBelousov !
Does there happen to be an onivim2-crash.log in the directory you ran Onivim from? That might have some helpful output, as well, if present

Ah, it looks like our nightly build missed this fix: https://github.com/onivim/oni2/commit/544a21f398d0028b34ec44dc08ae240751c9f850 ... that could be a possible culprit.
I'm kicking off the nightly run to get that in and rule that out as a culprit.

I do not see an onivim2-crash.log in the directory I ran it, and I haven't been able unfortunately to crash it again. All I know is I opened a file, opened a terminal, ran some commands, changed the font and font size, and then it crashed when I tried to dock the window to my display as full screen.

Interesting, thanks for the additional details and the help debugging!
I would expect an onivim2-crash.log to be dropped if it was https://github.com/onivim/oni2/commit/544a21f398d0028b34ec44dc08ae240751c9f850 - if there is no onivim2-crash.log that suggests a segfault or another native crash. I'll see if we can get some better tracing in that case.

want me to run the log with trace? I'm afraid of dumping megabytes of log since I can't seem to reproduce it and I'd expect to be running it for a while before finding it again.

Hmm, if the crash is on the native side - which it sounds like, given no onivim2-crash.log is present - the logs might not be as helpful (they'd give some context), but a core dump would be helpful for debugging that.
It'd be interesting to see if there are any dumps relating to Onivim 2 - you can find the location with this command: cat /proc/sys/kernel/core_pattern. Would be curious if any dumps are showing up there.
And just to check - are you running via the AppImage, the tar.gz, or building from source?

built from source but running _release/Onivim2-x86_64.AppImage, I didn't see anything in the "building from source docs" about where the executable is besides in _release, and I guess I haven't thoroughly explored _release/linux/.
mike@mike-HP-ZBook-15-G5 ~/personal/oni2 (master) 10:36:53.934
$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c %d %P %E

built from source but running _release/Onivim2-x86_64.AppImage, I didn't see anything in the "building from source docs"

Cool, thanks for the details!  You can run the executable directly as well via ./_release/linux/bin/Oni2 - might be interesting to see if it reproduces there.
 Wondering if you already have https://github.com/onivim/oni2/commit/544a21f398d0028b34ec44dc08ae240751c9f850 (which would certainly rule that out as being the culprit)

I'm on 0e476a6f, and I tried running that executable first but it doesn't seem to do anything (no window launched). I can get a log from that too.
I also just got a log running the AppImage doing something that I just now forgot :frowning:
oni2.log

It just seems to be failing to load libjpeg, I'll double check that I have it installed.
./_release/linux/bin/Oni2_editor: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

I do not have libjpeg-dev installed, but I do have libjpeg-turbo8, and libjpeg8, should I get libjpeg-dev and rebuild?

I found a crash log, looks like it was in the editor's loaded directory, not the cwd of the shell where I ran the executable. Probably from the latest crash, not the current one, I didn't see it until now.
onivim2-crash.log

and just got another crash on a pipe.onStreamRead uncaught exception of connection reset:
oni2-pipe-reset-debug.log
onivim2-crash.log

Wow, thanks! These are very helpful @MichaelBelousov

I split these each out to separate issues - based on the callstack, looks like they'll require different fixes:

https://github.com/onivim/oni2/issues/2011
https://github.com/onivim/oni2/issues/2012

if you @ mention me in any of those issues or here, I'll provide as much info as I can :smile:

@bryphe would you know how I can get the native executable running? (I'm still getting that libjpeg not found error even after installing libjpeg-dev on ubuntu and re-bootstrapping (although maybe I need to invalidate or clear some more stuff?))

@MichaelBelousov - I think it's linking against a locally-built version, which must not be compatible with the system installed one (we are probably bundling it up into the AppIamge).
You could try this:
esy build-env | grep libjpeg_turbo
And then, there should be an entry with LD_LIBRARY_PATH, you could try running with that, like:
/Users/bryphe/.esy/3__________________________________________________________________/i/esy_libjpeg_turbo-dc3b4679/lib:$LD_LIBRARY_PATH ./Oni2
That would help the linker get to our locally built library

That worked, thanks!

closing since we recategorized into specific issues


Will the code for training be released?

Will the code for training be released?
Thank you.

Is there any update on this?
Bests

No it may not be uploaded due to the copyright issue. Thank you.


Update usage of tinyssh-convert

Fixes #10
I edited /usr/lib/initcpio/install/tinyssh by hand on my own system to test this patch.

@grazzolini this repo appears to be broken relative to updates to tinyssh-convert which seems to have broken the contract expected this package.
If you could amend this branch with the additions described here: https://github.com/grazzolini/mkinitcpio-tinyssh/issues/10#issuecomment-1104450881 I think your much appreciated hook will be back in working order. Thank you!
Here's a link to tinyssh-convert in the current state: https://github.com/janmojzis/tinyssh/blob/master/tools/tinyssh-convert#L89 - notice it doesn't take any named flags, only positional arguments

@grazzolini ping

This looks ok to me and it also closes #9

@grazzolini Thanks! Can you pop out a short release with that and also update the Arch package?

Yes, I'm preparing a release. Just testing this on my remote server.

Great to see this merged after 3 years and 21 days :+1:


Squid3 on new PC - doesn't recognise its Models

A lot of teething issues getting Sq3 running on my new Win10 PC, which have essentially stopped me from looking at any of the functionality of actual interest.
My "clean install" of 1.4.1 resulted in a version of Sq3 that would not talk to any of its Models. I checked the auto-generated folders, and the models were present as XML files... but they wouldn't show up in any of Sq3's dropdowns, nor did they appear in Sq3's Parameters Manager. When in the latter, I tried to import the Model XML files, and got an error: "Sq3 warns you: null".
That was a show-stopper, so I quit Sq3 and restarted it, in the hope it would make a difference. There were still no Models in the dropdowns or the Parameters Manager, but this time I found I could import the Model XML files from their various folders. So I did that. One Model at a time, for each of the different Model types.
Obviously this should never be necessary. I think the whole point of the pre-packed Models is to ensure that they are automatically available first time, every time, even in a brand-new installation of Sq3 on a computer that has never seen it before.
The rest of it was just relearning, and wasted time stemming from unacknowledged directionality in the data-processing. I had forgotten, for example, that it is necessary to have your RM and CRM properly specified in the Data... window before you import your Task, because if they are not configured correctly (e.g. set to 'NONE - v1.0'), then your re-imported Task and Expressions will never function properly, no matter what you do - it seems Tasks only read the RM and CRM Model settings at the time of initial import, and not at any subsequent time.
I understand that we need to work around these things during the active development phase of the software... but the user experience is terrible. It has taken me 3 hours to get all my Expressions working - and now I find that not all the windows will resize to the real estate available on my screen. So that's me done for today, but I'll go and make another issue for the window-sizing.

This is strange to me:

"it is necessary to have your RM and CRM properly specified in the Data... window before you import your Task, because if they are not configured correctly (e.g. set to 'NONE - v1.0'), then your re-imported Task and Expressions will never function properly, no matter what you do - it seems Tasks only read the RM and CRM Model settings at the time of initial import, and not at any subsequent time."

I have not had this experience myself (and I just did a bunch of tests just now to try and create what you described, to no avail.  I actually get a message telling me to define by RM and CRM and even if I ignore it it still will work once I define them late in the game).  What I have often forgotten to do and not been able to get anything to work is to "Manage Isotopes".  Once I remember to do that is falls into place.

Yeah - I am wondering if that initial Project is no good (and never will be any good) because it was created in a Model-less Sq3. It also has trouble remembering its Common Pb and Physical Constants Models, but I can remediate those via the Manage Task window, and my changes stick... no dice with the RM Models though.
I think I'll just abandon that Project and create a new one from scratch, and try to replicate the problem there (I suspect I will not be able to). Which will be fine - might just be "fresh install" glitchiness, which obviously won't have been an area of focus for Jim. I am feeling much better about all this today than yesterday!


Update apache-client, kinesis, sqs to 2.25.38

About this PR
📦 Updates

software.amazon.awssdk:apache-client
software.amazon.awssdk:kinesis
software.amazon.awssdk:sqs

from 2.25.32 to 2.25.38
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #864.

Superseded by #866.


Migration to .NET Core

Fixes #55

I've run all the tests in my machine :) everything is working.
The CI script will probably need to have an update.

Looks like the build is failing, could you make this multi target .net standard 2.0 as well. Also I noticed some of the classes changed / and access modifiers were changed. Can we get the minimal set of changes needed for this to be converted. Otherwise changes look good

Ahh, I see now why the access modifiers needed to change. I've deleted the assembly attributes InternalsVisibleTo.
I'll made some changes to this PR later today. Thanks for reviewing 😄

Looks like we will have to change the CI build 🤔
I don't know psake and I really think that it is not a good way to do automation scripts.
Would be really nice if we could use Cake build - which is really easy to understand and edit since his scripts are plain C#.


Check if phone is nil before adding it to args

In our application tokenizedPayPalAccount.phone was nil and caused the application to crash.
This changes the NSArray into a NSMutableArray so we can conditionally push the phone number if it's not nil.

Thanks!


Compass and rotation

Hi
Would you know if this chip can calculate compass angle like most magnetometer and would you have any example code to calculate rotation count? Example if i rotate the gyro on a table? (Example: 2 counter clockwise ration)
Thanks

Hi,
I don't think the DMP inside the imu chip can do that. Check the link below,on section 4, it describes the built in functionality of the DMP : https://www.cdiweb.com/datasheets/invensense/application_note-programming_sequence_for_dmp_hw_functions_icm_20648.pdf


Fix one more sctp_process_cookie_existing return path...

...which needs to unlock stcb when returning NULL, when forwarding the return
value of sctp_process_cookie_new.

I committed a similar fix, which was tested by Tolya. Just saw the PR after it.


Issue Title: "Add Cursor-Following Animation"

Issue Description: The website currently lacks interactive design elements that enhance user experience. The website is looking good, but it will be more beautiful with cursor animation. I propose adding a cursor-following animation to create dynamic interactions where design elements move along with the mouse cursor, providing a more engaging and visually appealing experience.
I’d like to work on adding this feature. Please assign this issue to me under gssoc24-ext, and hacktoberfest-accepted.

ok

hey I'm done with the assigned task but, I'm encountering an issue when trying to push my code to the repository. When I run the git push command, I get the following error:
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have completed the task in 'cursor-animation' branch, you check it out once, I think it was telling that I don't have permission to push the code
Here it is....
https://github.com/user-attachments/assets/9f6f38e1-f131-4b6b-8dc1-5560d656b787

@yatulearn I have added cursor animation
https://github.com/user-attachments/assets/3ee9455b-ba36-45b3-883a-3617c35a1ca7


[crio][bugfix] Fix to allow expanding the qcow image

Fedora doesn't leave you a lot of headroom, and while fixing the cloud-init is likely "the right way", this is an expedient trick I had up my sleeve.

I'm just gonna chuck this right in cause it's minor (and very optional), and I need it for my blog post. Also, as a bonus there's an even cleaner sample inventory.


KiCad 7 compatibility

Is the current version compatible with the new KiCad 7?
Thanks!

Yes it is!
At least I've not yet found anything not working 😄

Thanks for the information! :)


b3sum recursive option?

not seeing one in help page but get access denied errors on directories. can i somehow do recursive without wrapping in another script with b3sum?

b3sum doesn't currently have any traversal features, no. A workaround would be something like find ... | xargs b3sum or ls **/* | xargs b3sum.


Update glueing docs for NumPy >=2.0

As discussed in #610, changes in NumPy 2.0 for text/plain representation of numbers means that we need an adjustment to either NumPy's print options or how glueing is done. This docs update should address those changes while potential adjustments are sorted out upstream.
Closes #610
Screenshot on a locally built page

@agoose77 I hope this change helps clarify #610 and how to work around it. Do you mind reviewing? Thank you 🙏


Upgrade Netty version of 1.2.x branch to 4.1.46 or the latest

Description:
As per [OB-MGW] Security scan analysis, the netty version should be upgraded to 4.1.46 or above in the 1.2.x branch
Affected Versions:
1.2.8

Fixed by #26363


Datasource combobox width on two monitors.

When I'm using two monitors, sometimes DBeaver opens with his combos of active datasource and schema with wrong width, like in image bellow:

Usually I restart DBeaver and this ~problem~ is solved, it's not a critical bug, but I don't have idea how complex to solve it is.
Once OK, switching between displays, this bug doesn't come back, sometimes after system's hibernate or suspend mode, this problem come back.

Selector combos were fixed.
Please check 3.6.1 version.

Thanks a bunch brother.

:+1:


asset management test case should be moved out of examples/... path

asset management test case will not be run as part of the running unit test case per doc directions if its under examples/... folder. It should be moved to chaincode/ folder.

I think it should stay with the chaincode. I'll try to figure out how to make the UTXO chaincode test case not break. That's the only reason we have the documentation to exclude the examples/ folder.

The entire .../asset_management/* is a test for ACL with chaincode and is standalone. Why would we not run it as part of unit tests ?

I think I misunderstood @srderson comment... if we can arrange it so we don't exclude examples/ from unit tests, then, the asset_management test case (rightly) belongs where it is.

personally, I think that 'examples' is an awful name for chaincode that we use for tests. We should have a test/artifacts tree for that and examples should be exemplar code that is well documented and exhibits best practices. Sometimes, such as with chaincode that exhibits nondeterminism for purposes of ensuring that such chaincode is flagged, etc we will have bad practices and we don't want users emulating this sort of code.


global_config.h missing

OS Linux, commit 001fe3eac1447ff6f8bd7dc19efca2de4edd8d1d
global_config.h has changed to project_settings.h
But not changed the include in:
script_encryption_key.cpp
global_defaults.cpp
After change it manually, Godot works.

script_encryption_key.cpp and global_defaults.cpp are generated files (which should be *.gen.cpp)
Try cleaning your git directory and rebuild.

Yup, just remove the files as mentioned above.


python bindings: Graph walker

Ideally we could accept a python lambda to evaluate on each node, but passing the GIL around may get tricky.

Closing this in favour of https://github.com/CQCL/tket2/issues/671


"watch" doesn't work with files on network location

The "watch" works fine with files on a local disk. But when the files are on a shared network location disk, the "watch" doesn't work. Although manually uploading works fine.
Both with the same .config
{
"protocol": "ftp",
"host": "<IP_ADDRESS>",
"port": 21,
"user": "",
"pass": "",
"remote": "/DIR/DIR/SITE.COM/",
"secure": false,
"secureOptions": null,
"connTimeout": 10000,
"pasvTimeout": 10000,
"keepalive": 10000,
"watch":[
"./public/assets/css/style.css"
],
"watchTimeout":500
}
Maybe this is the same issue in #456

I've had the same problem for quite sometime. It used to work in older versions, then when the watcher was changed, it stopped. Not sure what the deal is.

Thanks for reporting, do you still have the same issues using your LAN?

Updated to 0.10.1 and the problem still occurs.

There was a known issue with the watcher that should be resolved with the release that came out today: v0.10.6
So please upgrade to the latest version, if anyone is still having problems, please create an Issue with some details. :)


"t" in Component cutoff in Component Type column

The "t" in Component is cutoff in the Component Type column of the Hourly CO2 CEMS View.

Navigate to Emissions ->Open Barry, Location 5.
Change Reporting Period(s) to 2023 Q3, View Template to Hourly CO2 CEMS View and Apply Filter(s).

This affects public view and while in workspace.

Developer Test

Confirmed - fixed in test.


Readme update

Hi Johannes @jo-mueller ,
here comes a readme update featuring

Basic tutorial first (files yet missing)
Simplified some text explaining what receipes are
Added badges on top of page
Added DOI on zenodo
Simplified installation instructions

Let me know what you think or feel free to merge!
Thanks!
Best,
Robert

Codecov Report

Merging #54 (c90fc22) into main (250ec00) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   10.49%   10.49%
=======================================
  Files          21       21
  Lines        7080     7080
=======================================
  Hits          743      743
  Misses       6337     6337

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Validate webhook's payload

I tested it with github and gitlab, it works, I'm returning a 403 when the payload isn't valid.

Close #4886

So, there are a couple of decisions here. I'm generating a secret by default, when applying the migrations, all the integrations will have a secret, and we don't want that, because those don't have a secret set on github/gitlab.
Also, when users create a webhook, a secret is generated, but they can't see the secret, so the can't create a webhook manually.
I can suggest these things:

Only generate a secret when creating a webhook using the provider's api
Let the user see the secret (it can't be changed by the user), or we can let the user change this value too, so they can set up a secret on their own, or don't let the user see the secret and only generate one when creating an integration using the provider's api.

This is ready for a review, but we need to decide if the secret should be visible for the user, if the user can create/change the secret.

We don't need a configurable or user facing secret, this is only a security measure to ensure the payload is coming from GitHub/etc.

I think we can do more standard things with the default secret value, we have a few options. It would be better to have this at least organized under the model manager/queryset, but I think it makes most sense as a default callable.

@agjohnson My first attempt was to have the callable as default for the model, but then I realize of some problems.

The migration will put a default to all the previous models (I guess we can solve this with a data migration)
When creating a webhook manually (general webhook or an integration webhook to set up manually), it would create a secret and the user can't see the secret, so the user can't put the secret on the integration side.

So, to avoid any unexpected secret (if we have a secret in the model, we'll try to validate it, otherwise if we only rely on the header it doesn't makes sense).
I'll try to add this to a manager if you agreed with ^

Also, this might be a case for 2 or 3 migrations -- one to add the field, one data migration to set a default, one to change the default. Or something like that.

Also, to clarify, we want all old projects to have a secret=None or something comparable. All new integrations need to have a secret (except for bitbucket integrations).

So, I was able to change the default to a callable, everything is working as expected. I have one question left if we should use the custom parsers hack or the calling self.request.body hack. Both work.

I have one question left if we should use the custom parsers hack or the calling self.request.body hack. Both work.

Calling self.request.body is a hack but it is not harmful. The parser could bring us potential issues in the future and also is more code to maintain.
We will need a good comment on the self.request.body line explaining why we are doing that, what it avoids, how and why and a link to the most representative comment of this PR.

Looks like using request.body break some tests :/ we are accessing request.data before somewhere. I'm investigating

I had to add the request.body hack into two places to make it work, this is ready for a re-review

Merged with master, migrations are still valid


Issue with onetime time restart

onetime time restart -o 1
On running the above a timesheet entry was created on Harvest but the timer was in stopped state with time = 0.0
The timer needs to start.

I don't seem to be able to replicate this.
Are you sure you didn't put anything for the time when restarting?

@tarunvd Have you experienced this recently? If not we can close this.

I'm going to close this since I heard no more complains about this.


Add a LICENSE

I'd like to apply CC-0, but it has a code that is owned by bitclust.
Bitclust uses Ruby License, so I need to check the license.

bitclust is licensed with Ruby License.
https://github.com/rurema/bitclust/blob/fea562005291e765bb3e61312a6cbb440c5383e9/README#L11-L14
https://www.ruby-lang.org/en/about/license.txt
The license says:

You may modify and include the part of the software into any other software (possibly commercial).  But some files in the distribution are not written by the author, so that they are not under these terms.

So, I'll apply CC-0 to ruboty-ruby-jp, except the code from bitclust. And add a comment for bitclust to the code.


rook: Handling of test with unknown parameters in tests file

Describe the bug
If there is a miss-spelled or un-defined parameters used in the tests file, rook will treat it as invalid tester directory, see following:
rook: found 10 test dirs under "/home/civet/civet/build_0/SR2ML/tests" ...
invalid tester directory: /home/civet/civet/build_0/SR2ML/tests/../src/Testers
Unknown: OrderedCsv
Unknown Parameters in: TestBasicEventScheduler /home/civet/civet/build_0/SR2ML/tests/tests

rook will now skip the tester folder.
It will be nice if rook can error out especially in our regression test system, since the tests can be easily skipped due to miss spelled or undefined parameters. We will not know it until we checking carefully at the tests output.
To Reproduce
Expected behavior
The regression machine should fail the test directly (as in the RAVEN regression suite)
Screenshots
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[ ] 1. Is it tagged with a type: defect or task?
[ ] 2. Is it tagged with a priority: critical, normal or minor?
[ ] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[ ] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[ ] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[ ] 1. If the issue is a defect, is the defect fixed?
[ ] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[ ] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[ ] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[ ] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

@mandd I suggest to move this issue to RAVEN

Yes, this looks more like a RAVEN Rook issue.  When you open it there, can you attach a sample tests file that causes this?  Thanks.

Here is the simple example, if there is an unknown parameter in the rook, it will not error out:

Here, OrderedCsv is not a valid parameter, the following is the rook message:
rook: found 10 test dirs under "/home/civet/civet/build_0/SR2ML/tests" ...
invalid tester directory: /home/civet/civet/build_0/SR2ML/tests/../src/Testers
Unknown: OrderedCsv
Unknown Parameters in: TestBasicEventScheduler /home/civet/civet/build_0/SR2ML/tests/tests


Add Drag And Drop Relative To

Drag And Drop Relative To keyword, with the keyword it is possible to emulate swipe actions.

Done in #1836

its not working as expected


Impl deref for paintctx (#97)

Fixes #97.
I sort of banged on this until it compiled, so I'd appreciate a close look at the actual impl:
impl<'a, 'b: 'a> Deref for PaintCtx<'a, 'b> {
    type Target = &'a mut Piet<'b>;

    fn deref(&self) -> &Self::Target {
        &self.render_ctx
    }
}

impl<'a, 'b: 'a> DerefMut for PaintCtx<'a, 'b> {
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.render_ctx
    }
}

I ran all the examples in druid and druid-shell and everything works. I also tweaked the docs where appropriate as far as I could find.

Yeah, sorry for all the noise, I'll get that set up.


Opening a new modal on top breaks the layout

Hey, first of all great library ! It really does just what I need so thank you.
However for one of my use case I have to open another modal on top of the one the lib is already presenting. I've made a small Video so you can see the issue but basicaly once you close the new modal, the 28px offset is now at the bottom and not a the top and my layout is quite weird (see the bottom blue stuff)

Hi there, thanks for the heads up on the issue. I'm not sure at first glance what's causing this issue, but I'll take a look into it. I'll add a comment when I find something; please do the same if you find anything as well. Also, thanks for the video, it certainly helps!

Hello! I got the same problem when i presented UIImagePicker in modal view on the top of controller presented by DeckTranstion.
I resolve this issue by setting imagePicker.modalPresentationStyle = .overFullScreen

I have the same problem. I solved it very simply by changing the other modals to use the DeckTransition. I know it's not the best solution, but it worked.

So there's not much discussion available about UIPresentationController, but as best as I can tell from the few threads and some conversations I've had with folks, presentation controllers aren't notified when a VC is presented or dismissed. This seems to be out of my hands for now. Feel free to let me know if you do find any relevant information, though

Turns out this was an easy fix after all. Fixed in 1.0.3


feat(cli): hooks support

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

CLI hooks are primary usable for custom CLIs built on top of @nuxt/cli (nuxt-ts). We can pass a hooks object as an argument to run command to register hooks. Only two useful hooks added for now:

setup({ cmd, dev, argv }): will be called after parsing arguments. Adding possibility to modify args, command, etc and also setup env (like registering ts-node)
config(options): will be called after the config is loaded. before passing to nuxt. Adding the possibility to modify config. Like adding some extensions or modules.

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #6274 into dev will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev    #6274      +/-   ##
==========================================
- Coverage   95.73%   95.73%   -0.01%
==========================================
  Files          80       80
  Lines        2673     2672       -1
  Branches      689      688       -1
==========================================
- Hits         2559     2558       -1
  Misses         98       98
  Partials       16       16

Flag
Coverage Δ

#e2e
100% <ø> (ø)
:arrow_up:

#fixtures
50.52% <0%> (-0.21%)
:arrow_down:

#unit
92.44% <100%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

packages/cli/src/command.js
99% <100%> (+0.03%)
:arrow_up:

packages/cli/src/run.js
100% <100%> (ø)
:arrow_up:

packages/webpack/src/builder.js
92.55% <0%> (-0.24%)
:arrow_down:

packages/builder/src/builder.js
99.61% <0%> (-0.01%)
:arrow_down:

Continue to review full report at Codecov.

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

Will cli hooks be able to be configured from nuxt.config?

@clarkdo  no. they are CLI level hooks that will be hooked before nuxt is being ready. As mentioned in PR description that's a internal use-case for better typescript support. (or advanced users that want to build a cli on top of nuxt)

@kevinmarrec Default value of rootDir is path.resolve(argv._[0] || '.') before loading nuxt.config.js. We can also access resolved value with config hook.

@pi0 but CLI options aren't already parsed so argv._[0] doesn't exist yet or am I missing something ?

Nvm I read again NuxtCommand and it should be alright, argv passed to hook is parsed right ?

Not sure what the issue is with typescript, but wasnt the idea of NuxtCommand's that they are easily extendible by themselves? Eg hooks might just be a second way of changing the task of a command?
How much granularity do we want with hooks? Eg in Nuxt we often use :before / :after suffixes, should we do that here too to keep consistency (even when we dont want to add one of the suffixes)?

Not much granularity is required and nuxt-ts is not adding new commands but need a hook to:

Access parsed args (and rootDir) before command executation to be able to register ts-node
Extend options and add extensions for runtime

Both are internal use cases and may not be even documented.

Still if we refactor nuxt-ts it will only work with next Nuxt version, we'll need to bump nuxt-ts to a major version and document it right ?

@kevinmarrec the hooks param is an optional addition. It is like we have to say bump to 2.9.2 or 2.10.0 to fix this issue.

@pi0 Yeah I was more likely thinking about the register thing that could be really improved with the setup hooks. Like only using hooks :)
I mean we can't use only hooks if we want @nuxtjs/runtime still work if user doesn't have yet the Nuxt version that use hooks.

Yep. Now i see your point why bumping ts module a major version for hooks 😊


choe: [Stage 4] Merging all TlsHandler.Write changes including TlsAsyncHandler

/azp run

PR title is not descriptive

can we get full test pass for the latest changes?


Update sbt, sbt-dependency-tree to 1.10.3

About this PR
📦 Updates

org.scala-sbt:sbt
org.scala-sbt:sbt-dependency-tree

from 1.10.1 to 1.10.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #111.


The ‘Bucket Reading’ node does not consider the Time Zone different from UTC 00:00.

We need to generate reports with data that consider UTC -03:00, using the ‘spread’ function. Without the possibility of configuring UTC in the ‘Bucket Reading’ node or in the ‘node-red-contrib-thinger’ plugin, analyzes in NodeRed are generated differently than in our Dashboard (which considers UTC -03:00).
Dashboard shows the Value ‘58’ (aggregation by day) considering the Time Zone UTC -03:00

NodeRed analyzes with Time Zone UTC 00:00. Therefore, the result is 68 (aggregation by day)

Visualization on the Bucket Screen, which considers UTC -03:00. Result 58 (aggregation by day) is the same as seen on the Dashboard

Perhaps the solution is to include a combobox in the 'bucket reading' node. Then, the user would choose the time zone to be considered when querying the 'ts' column of the bucket.


Send thank you messages/gifts to organisers

What
Send thank you comms and gifts to organisers
Why
As a gesture of our appreciation.
Who needs to work on this
Imran & Kam
Who needs to review this
Kelly
Done when
Comms

[x] Thank you comms drafted
[x] Reviewed
[x] Sent

Gifts sent

[x] Kam
[x] Ciandelle
[x] Mia
[x] Patrick
[x] address for postage
[x] gifts sent

https://www.etsy.com/uk/listing/1422054809/luxury-afternoon-cream-tea-fudge?click_key=bbd69b6e03577fa8dd7f885322c821b9a09ca77f%3A1422054809&click_sum=2df6a188&ref=landingpage_similar_listing_bot-2&sts=1&listing_id=1422054809&listing_slug=luxury-afternoon-cream-tea-fudge

Imran has emailed for individual's addresses

Spend request form sent to PMO & Bizops
[Alexandra James gifts](Screenshot 2024-09-11 at 12 17 29](https://github.com/user-attachments/assets/6b8697ab-d962-4efc-aa3d-bdd6a9c00502)
GDS classic stickers)

having to review gifts and amount

Revised proposal sent to Amanda D

Amanda has approved £20 voucher for civil servants.
Stickers have also been approved

Vouchers sent via portal for:-
GDS portal
Organisers/speakers/host £50
Imran Hussain
Kelly Lee
Trang Erskine
Ciandelle Hughes
Mia Allers
Nora Brodian
@ImranH-GDS to update for Kam

GPC cards received for stickers and gifts for non-civil servants
@ImranH-GDS to action

vouchers approved


Add gofmt and test wiring linting to CI

Adds gofmt format checking.
Adds test wiring checks.
Fixes two test-wiring issues.

Merged with #33.


edk2: Fix cross compiling

Description of changes
Allow OVMF to be cross-compiled for aarch64 on x86_64. Without this patch, linking fails for lack of libuuid.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Build fails for me with
edk2-aarch64-unknown-linux-gnu> /nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin/bash: line 1: Pccts/antlr/antlr: cannot executebinary file: Exec format error
because I don't have binfmt enabled

This should be fixed by #270026


Enable Ivy in ng test

🚀 Feature request
Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [x] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description
At the moment https://v8.angular.io/guide/ivy documents how to opt-in into Ivy for builds, however this doesn't document how to opt-in into Ivy for tests. The same thing applies when generating a new Ivy application via the CLI. Ivy is only enabled for builds.
Describe the solution you'd like
We should enable the Ivy compiler for tests as well, for both JIT and AOT mode, This is needed, because when enabling the enableIvy compiler option in JIT mode it will use process the packages with ngcc and will use the Ivy engine which also improves runtime speed in JIT mode.
There are 2 ways that I can think of to achieve this. Either by adding enableIvy: true to the specs tsconfig, or the specs tsconfig extends the app tsconfig.

Closed via https://github.com/angular/angular-cli/pull/15044, given that tests only run in JIT at the moment.


Adding users to groups not atomic

Issue
UAA fails to modify user groups while executing multiple user modify requests in parallel.
Context
see https://github.com/cloudfoundry/uaa/issues/372 for full description. It turned out that it is actually uaac issue and there is a suggestion of how the issue can be worked around. Perhaps uaac should implement this.

See comments in linked issue

@sreetummidi this issue was created to supersede the linked issue. Could you give more context about why it was closed?
The intention is that uaac member add should use POST /Groups/group-uuid/members instead of PUT /Groups/group-uuid, so that it's more resilient and user friendly when other concurrent UAA operations are happening. Do you foresee any problems with that?

@mtekel @dcarley We have stopped active development on cf-uaac, and are planning to build a replacement for it. I will close this issue now.


Update http4s-ember-server to 0.23.28

About this PR
📦 Updates org.http4s:http4s-ember-server from 0.23.16 to 0.23.28
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "http4s-ember-server" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s", artifactId = "http4s-ember-server" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #89.


Webpack loader

With the new wasm pipeline in Webpack (> 4.8.0), loader can now directly emit a wasm binary.
I have a very simple demo here: https://github.com/xtuc/c-webpack-demo.
The idea would be to allow:
  module: {
    rules: [
      {
        test: /\.c$/,
        loader: "wasm-bindgen/loader",
        type: "webassembly/experimental"
      }
    ]
  },

and the user would just:
import("./lib.rs").then(...)

Nice! I'd love to have a webpack loader for wasm-bindgen!
Do you think it'd be best to live in a separate repo with a link here? Or live here? (I'm up for whatever)

Do you think it'd be best to live in a separate repo with a link here? Or live here? (I'm up for whatever)

from my point of view it doesn't really matter.

FWIW rust-native-wasm-loader already supports wasm-bindgen and webpack4s wasm pipeline.
I haven't used it much (mostly using no-modules mode for my stuff) but it seems to work fine.

Ok cool! In that case I wonder if adding it in here may be the best option for the most visibility? I don't personally know much about webpack loaders but @xtuc if you're willing to help review changes I'm more than willing to help field bugs :)

@alexcrichton yes sure, just ping me when needed

@xtuc did you want to make an initial PR importing files into the repo?

I'm gonna close this in favor of https://github.com/rustwasm/rust-webpack-template, as new issues should likely go there!


 This lil 2 liner fucks up the character limit.
let bigAssMessage = new Array(10000).join("SMD ");
socket.send(JSON.stringify({ ChatMessage: { username: getName(), time: new Date().toLocaleTimeString(), content: bigAssMessage }}));

Possible implementations could be just a normal character limit (if we dont already have one?):
if (message.length > MAX_MESSAGE_SIZE) {
    alert("Message is too long.");
    return;
}

@Glacier150 You were the code owner for the last character limit breach, I ask that you take care of this as well.

Once #38 gets complete, we will be able to easily ban these users.


M1 Mac, nodejs GPU train time way longer than CPU

What is wrong?
Running the basic XOR example, 10k interations. With brain.NeuralNetwork(), 46 milliseconds. With brain.NeuralNetworkGPU(), 14.6 seconds.
Where does it happen?
<EMAIL_ADDRESS>Node 18.3.0 running on the command line, Python 3.9.13 (don't think this matters?), M1 Macbook Pro (Max, 32 GPU cores).
How do we replicate the issue?
1 - Run the first XOR example in the Readme.md, (speed shown was attained using default config options, not passing a config to NeuralNetwork()).
Expected behavior (i.e. solution)
The GPU version... shouldn't be ...slower?
Version information
Nodejs:
Node 18.3.0
Browser:
N/A
Brain.js:
<EMAIL_ADDRESS>How important is this (1-5)?
5 if it's a bug, 0 if it's a mistake on my end.
Other Comments
This is my first time trying brain.js so it's quite possible I've just got something misconfigured. Love the project and the ease of use! The fact that on CPU that training took 46ms is hard to believe.
As a side note, I was unable to get the browser version to work at all from the CDN, it kept throwing js_gpu is undefined or something along those lines, then when I side-loaded gpu.js I got js_gpu.GPU is not a constructor. I'd rather use it in Node anyway...

XOR uses approximately 3 neurons.  It will always be faster on CPU.  For GPU to break even you need something like 512x512 neurons.  This is a limitation of hardware and not a bug.  However the browser issue you raised may be legitimate.  Did you load GPU.js prior to brain.js in a browser?

I tried both ways, initially just loading brain.js from the CDN:
gpu_js is undefined
then adding a script tag before first to load from<EMAIL_ADDRESS>results in:
gpu_js.GPU is not a constructor @ brain.js:5460
this.gpu = new gpu_js.GPU({ mode: options.mode });
Same results in both Chrome and Firefox. gpu.js as loaded off the CDN looks like an ES module (loading it type="module" doesn't change anything, though).
Just out of curiosity, is the minimum time to run on the GPU a result of uploading batches of data, or modifying kernels with each epoch or both?

The data is first uploaded (and a tiny compiled kernel for uploading training data) and then the kernels are compiled in the first iteration of learning.  After that everything exists and is ran from the GPU.

Ahha, I didn't realize the hidden layers were where the advantage was. The trade-off point seems to be around [128,128]. With 512 rows of training data, benchmark on the M1 is about 11 seconds for both CPU and GPU at that size. Beyond that GPU takes off =)

Closing this issue because of having a sufficient explanation.


Object is possibly undefined within inner branches

I'm reporting a possible bug if hasn't been already reported.
TypeScript Version:  2.5.2
I tried with vscode latest version that ships with TS v2.5.2
Code
export type uniqueArrayPredicate<T> = (item: T, searchIn: T[]) => boolean;

export function uniqueArray<T>(first: T[], second: T[], predicate?: uniqueArrayPredicate<T>): T[] {
  if (predicate == undefined) {
    predicate = (item: T, searchIn: T[]) => searchIn.indexOf(item) === -1;
  }

  const unique = second.filter(item => predicate(item, first)); // <-- [ts] Object (predicate) is possibly 'undefined'.
  return first.concat(unique);
}

Expected behavior:
Once we check for truthy, the variable should remain valid/defined throughout all inner branches of the current scope.
Actual behavior:
Finds the variable as undefined within an inner branch of the scope!

I bypassed it by this for now which is not great!:
const unique = second.filter(item => predicate && predicate(item, first));

This appears to be a duplicate of #11498.
I would suggest that a more desirable workaround would be to create a local const or use a default parameter.
export function uniqueArray<T>(first: T[], second: T[], predicate?: uniqueArrayPredicate<T>): T[] {
  const p = predicate || (item: T, searchIn: T[]) => searchIn.includes(item);

  const unique = second.filter(item => p(item, first));
  return first.concat(unique);
}

or
export function uniqueArray<T>(first: T[], second: T[], predicate: uniqueArrayPredicate<T> = (item: T, searchIn: T[]) => searchIn.includes(item)): T[] {
  const unique = second.filter(item => predicate(item, first));

  return first.concat(unique);
}

Would be great that it gets fixed :)

Just a note, I think it's supposed to be negative to keep the unique ones ... => !searchIn.includes(item)...

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


[NuGet.org Bug]: README doesn't render comments in code blocks

Impact
It bothers me. A fix would be nice
Describe the bug
Comments in XAML code blocks aren't rendered.
Repro Steps
Example to include in README:
```xaml
xmlns:wp="clr-namespace:WpfWindowPlacement;assembly=WpfWindowPlacement"
<!-- Update size, position, and state on SourceInitialized and Closing -->
wp:WindowPlacementProperties.Placement="{Binding MyPlacement}"
```
Expected Behavior
Comment Update size, position, and state on SourceInitialized and Closing is rendered.
Screenshots
NuGet

GitHub

Additional Context and logs
Example package with XAML codeblock and comment: https://www.nuget.org/packages/wpfwindowplacement/4.0.2
Example package with XML codeblock and comment: https://www.nuget.org/packages/blazorwasmprerendering.build/1.0.0-preview.4.1

Thanks for the bug report @danielchalmers! This is indeed an issue and it extends beyond XAML code blocks. For example, this package uses XML (a recognized syntax highlight which XAML is not) and comments are hidden.
My guess is that the custom HTML sanitizer that's blocking https://github.com/NuGet/NuGetGallery/issues/8644 is also removing these code comments.

This is a duplicate of https://github.com/NuGet/NuGetGallery/issues/9060.


Fix/ rollback microbundle package

Fixes # .
Changes proposed in this PR:

upgrading to microbundle 0.15.x breaks oceanjs build (see: https://github.com/oceanprotocol/market/pull/1661/commits/70db07925e5ba9c7ba8ef8303f7b89bd82cc022d) , temporary solution downgrade microbundle to 0.14.2 then investigate the 0.15.x issues

ha, I was thinking about that yesterday when I bumped microbundle :(


Re-instate nginx Ingress Controller docs

In the previous contrib project, the nginx controller had extensive docs describing how to use it. Recently these were removed from the project, and replaced with a pointer to this project. However, the docs were not migrated to this project.
I understand that there is a desire to change the documentation structure (e.g. https://github.com/kubernetes/ingress/issues/2) with the new move, but in my opinion it is unacceptable to remove existing documentation without a replacement.
I just pointed a new user to use nginx ingress and they were stumped by the lack of docs. We ended up finding the old docs but this is in no way user friendly.
What can be done about this?
cc @bprashanth @aledbf

This is causing more discomfort than I'd initially intended. I'm fine just moving the README over. Please send a pr if you have time, otherwise I'll try to do it sometime this weekend.

https://github.com/kubernetes/ingress/pull/262

Thanks for the quick resolution!


Bump mochiweb version 3.x

Overview
This PR bumps the mochiweb version to include the new unquote_path/1 function.
Testing recommendations
N/A
Related Issues or Pull Requests
Improve handling of + in URLs: https://github.com/apache/couchdb/pull/3638
Checklist

[ ] Code is written and works correctly
[ ] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

Closing since https://github.com/apache/couchdb/pull/3697 contains these changes.


Ec3

Summary
Provide tutorial on EC3 and move existing HTC and ECAS guides to the right place

Related issue :

Given that you are documenting also new options for the eglici which are not yet available (PR https://github.com/EGI-Foundation/egicli/pull/17 is not merged yet) maybe we need first to complete that PR before including the related docs?


fix: estimate gas price from signer LF-2417

Feature: Handle Transaction underpriced error
Ticket: LF-2417
Description
This feature enhances the transaction handling to properly handle the "Transaction Underpriced" error. When initiating a swap or bridge and reducing the gas price at the Metamask screen, confirming the transaction would result in a failure with the "Transaction Underpriced" error. The feature addresses this by automatically retrying the transaction with a gas price estimated from the signer, increased by 25%.
Testing
To test this feature, follow the steps below:

Initiate a swap or bridge.
While at the Metamask screen, reduce the gas price.
Confirm the transaction and observe the failure with the "Transaction Underpriced" error.
The feature should automatically retry the transaction with a gas price estimated from the signer, increased by 25%.
Verify that the retried transaction is successfully sent.

Avoiding the default increase in gas price in StepExecutionManager.ts as it'd always result in an increase gas price.


Class Labels of the Reuters dataset

Would you please share the labels of the 31 classes you chose to work with for the Reuters dataset?
Thanks,

We didn't store the class names. However, we keep the original raw text in our processed data. You can retrieve the class names from the original data if you want.


Bump build_config dependency in 5.X branch

A recent release of webdev requires a newer version of build_config than is currently supported by angular 5.x releases. (It is supported by the latest 6.0.0-alpha branch).
We need to do a patch release to unblock developers.
See https://github.com/dart-lang/webdev/issues/408 for background.

Released as 5.3.1
https://github.com/dart-lang/angular/releases/tag/5.3.1


TypedDict completions after first don't appear without quotes

@jakebailey Unfortunately, it only works for the first key. After that pylance reports an error (missing key) and no suggestions are offered.
from typing import TypedDict

class PointTD(TypedDict):
    x: int
    y: int

p1: PointTD = {'x': 1, }

Originally posted by @cdce8p in https://github.com/microsoft/pylance-release/issues/654#issuecomment-939060611

The logic wasn't properly handling the case where there was no quote but there was already at least one dictionary entry. Handling this properly required the parser to provide a bit more information (in particular, the presence of a hanging comma token). I've updated the logic to handle this case.


citations: include redirects to categories

See Citewatch is missing International Digital Organization for Scientific Information
When a category is in the configuration settings, the category members are used, but not redirects to the category. Add the redirects as well.

For publishers, additional complication that bot added doi-redirects without a corresponding selected template in the publisher configuration are only processed for DOI matches. Update to use doi-redirects target as selected in these cases.


Add sticky div to Package details template

Reference: https://github.com/nexB/vulnerablecode/issues/1263

@johnmhoran thanks ++, can we have some before and after screengrabs for changes done by this PR ?

@TG1999 Here are before and after screenshots.  I'll also update main and merge into my 1263 branch and push that shortly.
Before at top:

Before when scrolled:

After at top:

After when scrolled:

@johnmhoran LGTM! I was thinking if we could use rem instead of px https://austingil.com/px-or-rem-in-css/#:~:text=Pixels are an absolute unit,the equivalent of 24 pixels.

@TG1999 Well, with 1263-package-details-sticky-div checked out, in custom.css we have 96 instances of px being used, and 5 instances of px for widths in the template package_details.html.
I could take the time to calculate the rem equivalent (no idea how straightforward that process is), make the changes, then test the UI to check for any odd results -- I gather rem is relative rather than absolute so there likely will be visual changes as a result.  Not sure that's a good use of my time right now as I'm trying to finally put my 1228 branch to bed but will turn to the px-rem work if that's what you and @pombredanne want me to focus on now.  Please let me know.

Presumably I'd then also need to make the same sorts of changes in my 1228 branch, to the extent not covered in the sticky div branch, right?

@TG1999 Looking more broadly in the files, there seem to be several thousand px references.  Change all of them to rem?

@johnmhoran leave px to rem for now, it can be addressed separately

@TG1999 OK.  But if we need to convert from px to rem then I do want to correct my use of px.  Is there a relatively easy and sane way to do that conversion?


fix: update SRI verification hash

Description

[x] Source branch in your fork has meaningful name (not main)

Fixes Issue:
Update SRI hash
Before Merge Checklist
These items can be completed after PR is created.
(Check any items that are not applicable (NA) for this PR)

[x] JavaScript implementation
[x] Python implementation (NA if HTML beautifier)
[x] Added Tests to data file(s)
[x] Added command-line option(s) (NA if
[x] README.md documents new feature/option(s)

I think all of the codemirror integrity values have changed from sha256 to sha512. You'll need to update the rest of them.
See this page: https://cdnjs.com/libraries/codemirror/5.48.4

Hi @bitwiseman thanks for the tips. I've updated all the SRI hash to use sha512 with the reference to cdnjs site accordingly.


⚠ Bofrost.at has degraded performance

In 86c9a35, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1471 ms

Resolved: Bofrost.at performance has improved in 1b034b2 after 8 minutes.


home page responsive styles and content

Assignee Tasks

[ ] added unit tests (or none needed)
[ ] written relevant docs (or none needed)
[ ] referenced any relevant issues (or none exist)

Guidelines
Please add a description of this Pull Request's motivation, scope, outstanding issues or potential alternatives, reasoning behind the current solution, and any other relevant information for posterity.

Your PR Notes Here

more home page responsive styles and content


Is it possible to get an entire dependencies tree of a component?

Is it possible to get an  entire dependencies tree of a component? And we could navigate to parent or child component through the sapling view.

It seems not work for webpack alias? Thanks.


Do not try to improve url before graby

graby can now use some defined header from site_config to better parse website.
One of them is related to GDPR.
Using that update url feature, it’ll update the given url by the GDPR consent url. And then graby will parse that GDPR consent page instead of the real article.
As far as I remember that update url part was to get the latest url after some redirection and clean it.
Maybe that part should be moved elsewhere.

Coverage decreased (-0.01%) to 97.762% when pulling 99103382c6f6d7f963c08d34072b1fc6d8b0f02f on do-not-update-url into 35130fb30bc6c0d85d356716eb36575eb6579fe1 on master.


Added welcome user sample for typescript

Proposed Changes
Added sample welcome users for typescript

Partially fixes: https://github.com/microsoft/BotBuilder-Samples/issues/1681

closing as these commits are in #2111


Maintain strong reference to PoolStats for Micrometer gauges

Micrometer's gauges were breaking after the PoolStats object they weakly referenced was garbage collected. This change holds a strong reference to the PoolStats object in MicrometerMetricsTracker to avoid this issue.
See http://micrometer.io/docs/concepts#_why_is_my_gauge_reporting_nan_or_disappearing
I noticed that the HikariCP gauges were showing NaN for their value sometime after application startup. The recently added documentation in Micrometer linked above helped me track down the issue.

I’ll try to put out a release today.


【UT】add ut for spring cloud router plugin

【修复issue】 #747
【修改内容】add ut for spring cloud router plugin
【用例描述】N/A
【自测情况】run successful with mvn test
【影响范围】N/A

Codecov Report

Merging #748 (c66165a) into develop (c0ea065) will increase coverage by 1.14%.
The diff coverage is 75.00%.

@@              Coverage Diff              @@
##             develop     #748      +/-   ##
=============================================
+ Coverage      26.42%   27.57%   +1.14%
- Complexity      1574     1676     +102
=============================================
  Files            617      651      +34
  Lines          13438    13848     +410
  Branches        1482     1536      +54
=============================================
+ Hits            3551     3818     +267
- Misses          9440     9556     +116
- Partials         447      474      +27

Flag
Coverage Δ

unittests
27.57% <75.00%> (+1.14%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...uter/dubbo/declarer/AbstractDirectoryDeclarer.java
0.00% <ø> (ø)

...ubbo/interceptor/AbstractDirectoryInterceptor.java
0.00% <ø> (ø)

...er/dubbo/service/AbstractDirectoryServiceImpl.java
0.00% <ø> (ø)

...er/dubbo/service/ApplicationConfigServiceImpl.java
88.88% <ø> (ø)

...rmant/router/dubbo/service/ClusterServiceImpl.java
81.81% <ø> (ø)

...ant/router/dubbo/strategy/RuleStrategyHandler.java
100.00% <ø> (+14.28%)
:arrow_up:

...outer/config/label/entity/RouterConfiguration.java
85.71% <ø> (ø)

...spring/interceptor/ServiceRegistryInterceptor.java
83.33% <75.00%> (ø)

...t/router/dubbo/strategy/type/ListTypeStrategy.java
83.33% <0.00%> (-8.34%)
:arrow_down:

...ceptor/ServiceInstanceListSupplierInterceptor.java
80.64% <0.00%> (ø)

... and 35 more

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