Synthesis failed for java-phishingprotection

Hello! Autosynth couldn't regenerate java-phishingprotection. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpvsciz7de/googleapis'...
Cloning into '/tmpfs/tmp/tmpvsciz7de/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '1546fd69d9336ae9a4d9cb820a9b8084f4263d00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Note: checking out 'd741cd976975c745d0199987aff0e908b8352992'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d741cd97 chore: enable gapicv2 for firestore/v1 API
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-05 21:32:50 [INFO] Running synthtool
2020-05-05 21:32:50 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:32:50,308 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-05 21:32:50,438 synthtool > Ensuring dependencies.
2020-05-05 21:32:50,449 synthtool > Cloning googleapis.
2020-05-05 21:32:50,450 synthtool > Using precloned repo /tmpfs/tmp/tmpvsciz7de/googleapis
2020-05-05 21:32:50,455 synthtool > Generating code for: //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java.
2020-05-05 21:32:50,565 synthtool > Failed executing bazel build //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/988350238db4dc8aab05f59f9a2fea55/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpvsciz7de/googleapis/hs_err_pid25369.log

2020-05-05 21:32:50,566 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java']' returned non-zero exit status 37.
2020-05-05 21:32:50 [ERROR] Synthesis failed
HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Switched to branch 'autosynth-self'
Note: checking out '1546fd69d9336ae9a4d9cb820a9b8084f4263d00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Previous HEAD position was d741cd97 chore: enable gapicv2 for firestore/v1 API
HEAD is now at a3a0bf0f BREAKING_CHANGE: Removing TimeSeriesQueryLanguageCondition as an alert condition type. The condition type is unsupported and unused. It was originally added for the Monitoring Query Language Alpha feature. refactor!: Drop support for TimeSeriesQueryLanguageCondition as an alert condition type.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at ab88356 fix: make .kokoro-autosynth executable (#522)
Switched to a new branch 'autosynth-103'
2020-05-05 21:32:50 [INFO] Running synthtool
2020-05-05 21:32:50 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-05 21:32:50,888 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-103
nothing to commit, working tree clean
2020-05-05 21:32:51,019 synthtool > Ensuring dependencies.
2020-05-05 21:32:51,031 synthtool > Cloning googleapis.
2020-05-05 21:32:51,032 synthtool > Using precloned repo /tmpfs/tmp/tmpvsciz7de/googleapis
2020-05-05 21:32:51,036 synthtool > Generating code for: //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java.
2020-05-05 21:32:51,147 synthtool > Failed executing bazel build //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/988350238db4dc8aab05f59f9a2fea55/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpvsciz7de/googleapis/hs_err_pid25404.log

2020-05-05 21:32:51,148 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java']' returned non-zero exit status 37.
2020-05-05 21:32:51 [ERROR] Synthesis failed
HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-phishingprotection. :sob:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmpl3rs6nlc/googleapis'...
Cloning into '/tmpfs/tmp/tmpl3rs6nlc/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '1546fd69d9336ae9a4d9cb820a9b8084f4263d00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Note: checking out 'd741cd976975c745d0199987aff0e908b8352992'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d741cd97 chore: enable gapicv2 for firestore/v1 API
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-07 07:02:05 [INFO] Running synthtool
2020-05-07 07:02:05 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-07 07:02:05,273 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-07 07:02:05,402 synthtool > Ensuring dependencies.
2020-05-07 07:02:05,414 synthtool > Cloning googleapis.
2020-05-07 07:02:05,415 synthtool > Using precloned repo /tmpfs/tmp/tmpl3rs6nlc/googleapis
2020-05-07 07:02:05,419 synthtool > Generating code for: //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java.
2020-05-07 07:02:05,529 synthtool > Failed executing bazel build //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/777548398ef2b06145b4dc8d2c2eabd7/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpl3rs6nlc/googleapis/hs_err_pid18521.log

2020-05-07 07:02:05,530 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java']' returned non-zero exit status 37.
2020-05-07 07:02:05 [ERROR] Synthesis failed
HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Switched to branch 'autosynth-self'
Note: checking out '1546fd69d9336ae9a4d9cb820a9b8084f4263d00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Previous HEAD position was d741cd97 chore: enable gapicv2 for firestore/v1 API
HEAD is now at 2fc2caaa chore: enable gapic v2 and proto annotation for bigquery/storage/v1beta2 API.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at be74d3e build: do not fail builds on codecov errors (#528)
Switched to a new branch 'autosynth-111'
2020-05-07 07:02:05 [INFO] Running synthtool
2020-05-07 07:02:05 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-07 07:02:05,850 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-111
nothing to commit, working tree clean
2020-05-07 07:02:05,980 synthtool > Ensuring dependencies.
2020-05-07 07:02:05,992 synthtool > Cloning googleapis.
2020-05-07 07:02:05,993 synthtool > Using precloned repo /tmpfs/tmp/tmpl3rs6nlc/googleapis
2020-05-07 07:02:05,997 synthtool > Generating code for: //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java.
2020-05-07 07:02:06,107 synthtool > Failed executing bazel build //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/777548398ef2b06145b4dc8d2c2eabd7/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmpl3rs6nlc/googleapis/hs_err_pid18556.log

2020-05-07 07:02:06,108 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java']' returned non-zero exit status 37.
2020-05-07 07:02:06 [ERROR] Synthesis failed
HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-phishingprotection. :sob:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to a new branch 'autosynth'
Cloning into '/tmpfs/tmp/tmp9o2ra3lw/googleapis'...
Cloning into '/tmpfs/tmp/tmp9o2ra3lw/synthtool'...
Switched to branch 'autosynth-self'
Note: checking out '1546fd69d9336ae9a4d9cb820a9b8084f4263d00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Note: checking out 'd741cd976975c745d0199987aff0e908b8352992'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at d741cd97 chore: enable gapicv2 for firestore/v1 API
Note: checking out 'f8a9933e5e98202b04ef427f28d1d79221190fa4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
Switched to a new branch 'autosynth-self-2'
2020-05-08 03:27:59 [INFO] Running synthtool
2020-05-08 03:27:59 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 03:27:59,759 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-05-08 03:27:59,893 synthtool > Ensuring dependencies.
2020-05-08 03:27:59,903 synthtool > Cloning googleapis.
2020-05-08 03:27:59,904 synthtool > Using precloned repo /tmpfs/tmp/tmp9o2ra3lw/googleapis
2020-05-08 03:27:59,909 synthtool > Generating code for: //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java.
2020-05-08 03:28:00,019 synthtool > Failed executing bazel build //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/7da246eb49d42751d0220900469c6c50/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmp9o2ra3lw/googleapis/hs_err_pid28139.log

2020-05-08 03:28:00,020 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java']' returned non-zero exit status 37.
2020-05-08 03:28:00 [ERROR] Synthesis failed
HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Switched to branch 'autosynth-self'
Note: checking out '1546fd69d9336ae9a4d9cb820a9b8084f4263d00'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Previous HEAD position was d741cd97 chore: enable gapicv2 for firestore/v1 API
HEAD is now at 83816bb3 Add kokoro-specific .bazelrc file with arguments specific only for kokoro environments. This is to fix autosynth builds when it tries building older commits.
Previous HEAD position was f8a9933 chore(java): allow overriding the versioning section of the Java README (#495)
HEAD is now at 4674113 build: use Bazel 3.0.0 for autosynth builds (#529)
Switched to a new branch 'autosynth-116'
2020-05-08 03:28:00 [INFO] Running synthtool
2020-05-08 03:28:00 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 03:28:00,352 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth-116
nothing to commit, working tree clean
2020-05-08 03:28:00,490 synthtool > Ensuring dependencies.
2020-05-08 03:28:00,500 synthtool > Cloning googleapis.
2020-05-08 03:28:00,501 synthtool > Using precloned repo /tmpfs/tmp/tmp9o2ra3lw/googleapis
2020-05-08 03:28:00,505 synthtool > Generating code for: //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java.
2020-05-08 03:28:00,615 synthtool > Failed executing bazel build //google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java:

Starting local Bazel server and connecting to it...
Server crashed during startup. Now printing /home/kbuilder/.cache/bazel/_bazel_kbuilder/7da246eb49d42751d0220900469c6c50/server/jvm.out
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715200000, 247463936, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 247463936 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmpfs/tmp/tmp9o2ra3lw/googleapis/hs_err_pid28174.log

2020-05-08 03:28:00,616 synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/tmpfs/src/github/synthtool/working_repo/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 310, in bazel_library
    library = gapic.java_library(service=service, version=version, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 63, in java_library
    return self._generate_code(service, version, "java", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 177, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', 'build', '//google/cloud/phishingprotection/v1beta1:google-cloud-phishingprotection-v1beta1-java']' returned non-zero exit status 37.
2020-05-08 03:28:00 [ERROR] Synthesis failed
HEAD is now at 1546fd6 deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#130)
Switched to branch 'autosynth'
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 584, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 465, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 574, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 360, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 370, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 115, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.


ParamPoly3 ：need help

First ,It's a great project. I am doing something like converting some data to opendrive files，but i met some problems by converting to ParamPoly3 geometry . I think maybe I will be inspired by this project，but i really don't understand how to build ParamPoly3 after i read the code. Could you please give me some explanations ? Thanks a lot~

Thanks! I appreciate it. So the ParamPoly3 is actually a Cubic Bézier curve, which is a more common representation. For the Cubic Bézier curve there are four control points determining how the curve looks like. There are examples like this online where you can play around with the control points.
In ParamPoly3.cpp I'm actually getting the control points from the ParamPoly3 parameters (aU, bU,...). To get the control points for a ParamPoly3 the equations are (implemented in CubicBezier.hpp in a more generic way):
p0 = (aU | aV)
p1 = (bu/3 + p0x | bV/3 + p0y)
p2 = (cU/3 + 2*p1x - p0x  | cV/3 + 2*p1y - p0y)
p3 = (dU + 3*p2x - 3*p1x + p0x | dV + 3*p2y - 3*p1y + p0y)

The inverse of that (from control points to ParamPoly3 coefficients) is implemented here.
So you could fit a Cubic Bézier curve through your data, get the coefficients of it and write that to the .xodr file.

good ! thanks a lot!

Thanks! I appreciate it.I want to know how to calculate the equation of finding ParamPoly3 parameters at known control points，Thanks a lot~

For converting the control points to ParamPoly3 parameters I used this equation. It's implemented here

Resolving that equation for a cubic Bezier should result in:
C0 = P0
C1 = 3*P1 - 3P0
C2 = 3*P2 - 6*P1 + 3P0
C3 = P3 - 3*P2 + 3*P1 - P=


Replace Swiftmailer with Mailer Component

Currently this project use Swiftmailer to send email, for now only when a comment is created (however, delivery is disabled by default).
As a demo application to demonstrate Symfony capabilities, I think it will make sense to switch to the Mailer Component introduce in 4.3. What do you think ?

Maybe with 4.4 soon, some other code/best practice etc will need to be improved

Maybe with 4.4 soon, some other code/best practice etc will need to be improved

This sounds like a separate from Mailer PR to me

yes agreed :)


auction card - display if it's your vault and if there's no bid yet

What would you like to be added:

If this auction batch is from your vault, display from your vault.
If this auction batch doesn't have a bid yet, display the waiting for first bid

Why is this needed:

Acceptance Criteria: Display either user's own vault and/or another vault that is waiting for first bid.
Android:

[ ] Auction > if auction batch is from your own vault > display From your vault
[ ] Auctions > if auction batch doesn't have a bid yet, display Waiting for first bid

iOS:

[ ] Auction > if auction batch is from your own vault > display From your vault
[ ] Auctions > if auction batch doesn't have a bid yet, display Waiting for first bid


UVR-VR Architecture-De-Echo-Aggressive fields

Hello, this error is very simple. If you use VR Architecture and the De-Echo-Aggressive model, the "Echo Only" and "No Echo Only" fields are swapped.
So if you use "Echo Only" you will get "No Echo Only" output and vice versa.
I'm on v5.6

This has been fixed. Thank you for the head-up!


enable jenkins_use_lts flag

backwards compatibility preserved by default to false

I think I'd like to do this a little differently, where we just use a repo/key variable defined in defaults/vars.yml, and then your playbook can override if need be. I'd like to default to the latest still (to not break anyone's existing expectations. And if you want to use LTS, set the vars in your playbook's vars.
This option should definitely be documented in the README. If you don't have time to rework the PR, I'll work on it separately at some point.

like so?

Very close, and thanks for keeping with this :)
Instead of having a bunch of distro-specific variables to expose to the end user, I'd like to use just:

jenkins_repo_url
jenkins_repo_key_url

Then we provide default variables inside vars/Debian.yml and vars/RedHat.yml like:
__jenkins_repo_url: default-url-here
__jenkins_repo_key_url: default-url-here

And inside the main task yml file, we can set the defaults if the actual variable (not prefixed with __) is already provided, e.g. by the calling playbook or in an inventory file.
See, for an example:

https://github.com/geerlingguy/ansible-role-php/blob/master/tasks/main.yml#L3
https://github.com/geerlingguy/ansible-role-php/blob/master/tasks/main.yml#L11
https://github.com/geerlingguy/ansible-role-php/blob/master/vars/Debian.yml

Does that give enough to go on? If you can get close, I'll merge then clean things up if they need any more tweaking. Thanks for your help!

like so?

Perfect!


Access to supermarket

Need access to manage this: https://supermarket.chef.io/tools/knife-cookbook-cleanup

I got access from cameron


Allowing setupFiles for Jest configuration

With Enzyme 3 (in order to test a React 16 app) an adapter has to be configured.
In addition, React 16 depends on requestAnimationFrame.
The easy way to fix these issues is using the setupFiles configuration (package.json example):
{
  ...
  "jest": {
    "setupFiles": [
      "raf/polyfill",
      "<rootDir>/src/test/setup.js"
    ]
  },
  ...
}

// src/test/setup.js
import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

configure({ adapter: new Adapter() });

But, razzle doesn't allow this configuration parameter. This PR allows the use of that keyword.

LGTM

@NickCis if you get 16 working feel free to start on that PR

@jaredpalmer Yes, i got it working in a private project. As you've mentioned in #359 , the only needed change is render -> hydrate on the client side (and updating the dependencies).
Jest tests need the use of the requestAnimationFrame polyfill, enzyme has to be updated and the setup has to be done.
I'll start a PR in order to update the examples :)

Would it be possible to release this?

Preferably, I'd wait for #361 to be merged before we do a release

Agreed

There isn't a big need to rush to 16, many components in the ecosystem are broken right now. Will probably give it a week or two

But this has nothing to do with React 16, it's just a nice way to set up some boiler plate for all our tests like making Enzyme functions global available:
import { shallow, render, mount } from 'enzyme';
global.shallow = shallow;
global.render = render;
global.mount = mount;

So by adding this, I have access to the Enzyme API without needing to import every time. This is just one example

oh sorry i got confused, yeah i will release this.

FYI, you can use src/setupTests.js right now in the current release

Oh crap totally forgot this project was based on create-react-app. I didn't saw anything on the README and forgot to check create-react-app.
Never mind then, you can release later if you want to wait.

As @FabioAntunes said, this isn't exclusively to React, it has many use cases.
As React 16 needs the requestAnimationFrame polyfill in order to test, i used it as an important example.


Update to Fortinet Hub ENV Package

This PR removes the depends-on annotation from the hub project and adds the management-project-id variable to the setters file.

related to https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/607

Ref
#610
#601
#258
#466
#573


Installation fails with: could not find derive_prelude in swarm

I tried installing the most recent substrate-contracts-node with
cargo install contracts-node --force --git https://github.com/paritytech/substrate-contracts-node.git

…and it fails with the following error:
   Compiling sc-network v0.10.0-dev (https://github.com/paritytech/substrate?branch=polkadot-v0.9.32#5ea6d953)
error[E0433]: failed to resolve: could not find `derive_prelude` in `swarm`
  --> /Users/wottpal/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
   |
58 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
   |
   = note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `libp2p`
  --> /Users/wottpal/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
   |
58 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
   |
   = note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)

I brew-installed protobuf before, so it's not a duplicate of #161.
Before, I used v0.21.0 for WeightsV1, which installed successfully.

Exactly, I'm also facing same issue

Can you try to install the latest tag?
cargo install contracts-node --tag v0.22.1 --force --git https://github.com/paritytech/substrate-contracts-node.git

When compiling the substrate node is also encountering the same problem, I don't know how to solve it
the command   cargo build --locked -p<EMAIL_ADDRESS>error[E0433]: failed to resolve: could not find `derive_prelude` in `swarm`
  --> /root/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
   |
58 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
   |
   = note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `libp2p`
  --> /root/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
   |
58 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`

Got the same error, when compiling my Parachain node with the contracts pallet.
Using the sc-network in v0.9.32.
error[E0433]: failed to resolve: could not find `derive_prelude` in `swarm`
  --> /home/amrm/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
   |
58 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
   |
   = note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0432]: unresolved import `libp2p`
  --> /home/amrm/.cargo/git/checkouts/substrate-7e08433d4c370a21/5ea6d95/client/network/src/behaviour.rs:58:10
   |
58 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^ could not find `derive_prelude` in `swarm`
   |   = note: this error originates in the derive macro `NetworkBehaviour` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `sc-network` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Hey, it was a bug in the libp2p.
Explained and how to fix here

I can reproduce. It is probably a dependency that violates semver. Add the --locked flag to the installation command line.

@athei Adding `--locked` flag to the installation command line it works and install successfully but on running `substrate-contracts-node --dev` it throws `allowed origins=none`. What am i doing wrong?

Can be closed I think.

Can be closed I think.

yes now it works fine🙂

Can be closed I think.

yes now it works fine🙂


ConsoleUI: Auto complete of subcommand broken by case insensitive change

See comment/review on pull request: https://github.com/neilstephens/opendatacon/pull/60#bottom @cpp-rakesh

@neilstephens , we can now close this issue, I have tested this at my end and I reckon we have merged the changes as well to develop.

No, it still doesn't work in the mainline develop branch. I don't think I've merged your final console UI code. Let me know which branch to diff and merge.

@neilstephens has found a defect related with working on history commands. Tab is crashing the system in PrintMatches. @cpp-rakesh work on this after the WebUI => SimControl implementation along with getting rid of comments from GetCurrentState to WebUI plugin.


break out search feature into tasks

break out search into discrete sub-tasks.

Birkin looks at how search works in USEP, also in IIP, and documents (4 hrs)
EM gets more work done on spec, with USEP team

Birkin looks at how search works in USEP, also in IIP, and documents (4 hrs)
EM gets more work done on spec, with USEP team


Update fw.js

in case of icons wrapped by  or  tags we need to check the parent node.

Well, since we updating this piece of code, can you make it more generic:
$(document).on('click', 'table.list > tbody > tr', function (e) {
  const $this = $(this);
  const $target = $(e.target);

  // Check if the clicked element or any of its parents is an interactive element
  if ($target.closest('a, button, input, select, textarea').length) {
    return; // Do not process if an interactive element was clicked
  }

  $this.find('.multicb:first').click();
});

take a look at the updated variant:

additional ignore check in case of text selection
list table option to disable selection


InputRule with input argument not working

Bug report

[x] I have checked other issues to make sure this is not a duplicate.

Describe the bug
I wanted to get the yup validation working. However it returns Not Authorised! when I invoke it. The schema is generated by prisma-nexus for the CRUD operations and contains a data field rather than the actual properties being validated upon
To Reproduce

This is my Mutation (generated by prisma-nexus)

type Mutation {
    createUser(data: UserCreateInput!): User!
}
type User {
    id: ID!
    name: String!
}
type UserCreateInput {
    name: String!
}

This is the invoked query

mutation {
   createUser(data: {
     name: "bob"
   }) {id}
}

I use these permissions

const isNameValid = inputRule(yup =>
  yup.object({
    data: {
       name: yup.string().required()
    }
  })
);

export const permissions = shield({
  Mutation: {
    createUser: isNameValid
  }
});

This is the error I see

{
  "data": null,
  "errors": [
    {
      "message": "Not Authorised!",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "createUser"
      ]
    }
  ]
}

Expected behavior
The validation should succeed when rules are valid, and reject when not.
Actual behaviour
The error is returned
Additional context
Since this is generated, it contains an Input field rather than all the examples I have seen having the validation on the scalar properties themselves on the mutation. Might be related?

I am not very experienced with yup, but I think your schema is invalid.
Try this:
const isNameValid = inputRule(yup =>
  yup.object({
    data: yup.object({
       name: yup.string().required()
    })
  })
);

My guess is that the schema is invalid, which causes an error to be thrown.
Because graphql-shield hides errors thrown in rules (unless they are explicitly returned), you only see the fallback error.

Thanks @P4sca1 That worked


Use enviornment variables for watcher cli args

Using enviornment variable substitution for default cli args allows for modification of values via strategic merge patches instead of JSON6902. This reduces complexity of patches, allows for easier namespace overrides as well as a cleaner overlay

Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Tested your changes locally (if this is a code change)
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user-facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contain the string "action required" if the change requires additional action from users switching to the new release

Release Notes

/kind cleanup

/ok-to-test

/kind misc


Implement -j --join

It's currently listed as an option for coffee.exe, but it doesn't work.

+1.  Want.

I'm happy to accept pull requests for this feature.


Added Norwegian (Nynorsk) translation

Thanks for the pull request @Freheims. This should be reviewed by @infinitekind for the next release but I'm unsure if it's something they can add.
The open source community is working to improve results for programmers. We'd love your help over in the zeroclickinfo-* repositories. Check out this announcement post on the mission and let me know if you have any questions.

@Freheims  I also want to mention that we sometimes need help reviewing Instant Answers in non-English languages (like this one for Bengali). There may be a Norwegian one someday. They're labeled in the Goodies repository: https://github.com/duckduckgo/zeroclickinfo-goodies/pulls?q=is%3Aopen+is%3Apr+label%3A"Needs+Language+Expert"

merging now, thanks!


Fix #119

Description:
This PR fixes #119. It does so by:
a) correctly feeding a random_seed to the GaussianMixture() call, and
b) boosts the abics score of any option fo which not all the sub-layers are populated as a result of the .predict() call.
Error(s) fixed:
Fixes #119.
Checklists:

[ ] New code includes dedicated tests.
[x] New code has been linted.
[x] New code follows the project's style.
[x] New code is compatible with the 3-Clause BSD license.
[x] CHANGELOG has been updated.
[ ] AUTHORS has been updated.
[ ] Copyright years in module docstrings have been updated.

@regDaniel: I'll be curious to see what you think of this option. We can talk about it live.

@regDaniel: Thanks for the review. If ok for you, I'd propose to merge this into develop_vof once #116 has been reviewed, but before it gets merged.
I'd propose to do that before merging the changes made by @srethore. What do you think ?

Sounds good @fpavogt , I can then take care of rebasing @srethore 's branch before merging.


auto redirect to https://todo-7e79c.web.app/

now when run project it auto redirect to https://todo-7e79c.web.app/ ( a deployed websize ) so can't check what i coded

Don't know much but the issue seems to be because of the env variables used in the firebaseConfig.js. Removing them and adding the firebase config values directly solves the issue.
So as a workaround you can use this method for testing.
The issue might be related to the CORS


Don't require openssl 1.1 for decrypt/encrypt

With this, I can encrypt/descrypt with both openssl 1.1 and LibreSSL 2.6.5
Change discovered by @svonworl.

Just a note though. People should really not be using LibreSSL over OpenSSL in this day and age

Just a note though. People should really not be using LibreSSL over OpenSSL in this day and age

I had no idea. Looked into it briefly, and this article, which I know is not authoritative (and it's also old), states the opposite. Just curious, where do you see that?

Just a note though. People should really not be using LibreSSL over OpenSSL in this day and age

I had no idea. Looked into it briefly, and this article, which I know is not authoritative (and it's also old), states the opposite. Just curious, where do you see that?

Ah, you're using outdated information. So the story is that OpenSSL had the heartbleed issue and rather than making a PR to OpenSSL to fix it, people decided to fork to LibreSSL. Some time later, OpenSSL fixed the heartbleed issue and implemented more a stringent security process that LibreSSL has not really kept up with. So in this day and age, LibreSSL is lacking in security and features.
As for source you can easily Google it and look at any modern posts

As for source you can easily Google it and look at any modern posts. Here's a sample post https://lwn.net/Articles/841664/

That was the 3rd link in my Google search results; the first 2 extolled LibreSSL over OpenSSL. I guess I normally don't look past the first two results.


fatal: Authentication failed for 'https://jblprd.visualstudio.com/DefaultCollection/Incubation/_git/trackchainer/'

fatal: Authentication failed for 'https://jblprd.visualstudio.com/DefaultCollection/Incubation/_git/trackchainer/'
while executing the poc im getting error here.. what i have to do ??
pls solve my error
Thanks in Advance
Royal

Sorry for causing this trouble. Allow me to fix it. I'll say here after I fix it.

Hi, would you please give the screenshot of the error screen?

what is the user name and password??
royal@royal-VirtualBox:~$ cd && git clone
https://jblprd.visualstudio.com/DefaultCollection/Incubation/_git/trackchainer
Cloning into 'trackchainer'...
Username for 'https://jblprd.visualstudio.com':
Password for 'https://jblprd.visualstudio.com':
fatal: Authentication failed for '
https://jblprd.visualstudio.com/DefaultCollection/Incubation/_git/trackchainer/
'

hi, please use the updated link for git clone

Thank you...
On Mon 24 Jun, 2019, 3:39 AM Melvyn Tie<EMAIL_ADDRESS>wrote:

hi, please use the updated link for git clone
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/natri96/hyperledger-fabric-POC/issues/1?email_source=notifications&email_token=AL65PKT5CDBNMYESXFU7KP3P37YALA5CNFSM4H2ROQWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLIFFA#issuecomment-504791700,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL65PKT7HXI22R32PHJLACTP37YALANCNFSM4H2ROQWA
.

Hai Dear, im getting error at this stage
what i need to do here? is there any alternative process to run serve??
please help me
royal@royal-VirtualBox:~/hyperledger-fabric-POC/web$ npm run serve

<EMAIL_ADDRESS>serve
/home/royal/hyperledger-fabric-POC/web
cross-env NODE_ENV=production&&babel-node ./server/server

fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags),
mode);
^
Error: EACCES: permission denied, open
<EMAIL_ADDRESS>'
at Object.fs.openSync (fs.js:646:18)
at fs.readFileSync (fs.js:551:33)
at readCryptoFile
(/home/royal/hyperledger-fabric-POC/web/server/blockchain/config.js:13:36)
at Object.
(/home/royal/hyperledger-fabric-POC/web/server/blockchain/config.js:39:12)
at Module._compile (module.js:653:30)
at loader
(/home/royal/hyperledger-fabric-POC/web/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js]
(/home/royal/hyperledger-fabric-POC/web/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>serve: cross-env NODE_ENV=production&&babel-node ./server/server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>serve script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.
npm ERR!
On Mon 24 Jun, 2019, 3:39 AM Melvyn Tie<EMAIL_ADDRESS>wrote:

hi, please use the updated link for git clone
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/natri96/hyperledger-fabric-POC/issues/1?email_source=notifications&email_token=AL65PKT5CDBNMYESXFU7KP3P37YALA5CNFSM4H2ROQWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLIFFA#issuecomment-504791700,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL65PKT7HXI22R32PHJLACTP37YALANCNFSM4H2ROQWA
.


Bug: ModelFactory does not generate values for Optional[conlist(OTHER_MODEL)]

Description
Using this code
class SystemStatusFactory(ModelFactory):
        __model__ = SystemStatus
        __randomize_collection_length__ = True
        __min_collection_length__ = 2
        __max_collection_length__ = 5

SystemStatus being a Pydantic class with a field like cpus = Optional[conlist(CpuStatus)]
This does not work. If I change it to cpus = Optional[conlist(int)] it works.
URL to code causing the issue
No response
MCVE
# Your MCVE code here

Steps to reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
"In the format of: ![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"
Logs
None

Release Version
2.7.2
Platform

[ ] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

Funding

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified

Could you try removing the Optional and see what you get??

Then it works ! But I can't remove that Optional as this is auto generated.

Yes this fixes it ! thank you !!! Can you add this to the doc s?

Yupp I've created an issue for this.


fix: stop process when receive udp_error/udp_closed

we may receive udp_error or udp_closed:
https://github.com/erlang/otp/blob/e6d340156dc4c483293466b2c7a883c08173751e/lib/kernel/test/gen_udp_SUITE.erl#L644-L652
https://github.com/erlang/otp/blob/master/erts/emulator/drivers/common/inet_drv.c#L4141-L4150
Test cert file is expired at 2024 Jan 13, so we update to 2034
openssl x509 -noout -text -in ca.crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            6c:95:41:10:01:26:ab:db:88:8e:ed:1a:42:21:10:60:82:a3:65:c8
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = CN, ST = emqx, O = esockd, CN = CA
        Validity
            Not Before: Dec 14 19:37:43 2023 GMT
            Not After : Jan 13 19:37:43 2024 GMT
        Subject: C = CN, ST = emqx, O = esockd, CN = CA
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)

please describe what happens after the error.
is it restarted by the supervisor?
is it going to cause error escalation to the supervisor ?

please describe what happens after the error. is it restarted by the supervisor? is it going to cause error escalation to the supervisor ?

I use a gen_server to monitor this udp pid.
when this udp process exit, the monitor will exit too, then the whole supervisor will be restarted.
init([Size, Port]) ->
    SupFlag = #{strategy => rest_for_one, intensity => 300, period => 6},
    PoolSpecs =
        [
            #{
                id => emqx_udp_monitor,
                start => {emqx_udp_monitor, start_link, [Size, Port]},
                restart => permanent,
                shutdown => infinity,
                type => worker
            },
            #{
                id => emqx_dispatcher_sup,
                start => {emqx_dispatcher_sup, start_link, [Size]},
                restart => permanent,
                shutdown => infinity,
                type => supervisor,
                modules => [?MODULE]
            }
        ],
    {ok, {SupFlag, PoolSpecs}}.

-module(emqx_udp_monitor).

-behaviour(gen_server).

-include_lib("emqx/include/logger.hrl").

-export([start_link/2]).
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).

start_link(Size, Port) ->
    gen_server:start_link({local, ?MODULE}, ?MODULE, [Size, Port], []).

init([Size, Port]) ->
    {ok, Pid} = open_udp(Size, Port),
    _ = process_flag(trap_exit, true),
    erlang:monitor(process, Pid),
    {ok, #{port => Port, udp => Pid}}.

handle_info(Request, State = #{}) ->
    ?SLOG(emergency, #{
        msg => "udp_monitory_receive_unknown_msg_cause_udp_restart",
        request => Request
    }),
    {stop, Request, State}.

terminate(_Reason, _State = #{port := Port}) ->
    _ = close_udp(Port),
    ok.

code_change(_OldVsn, State = #{}, _Extra) ->
    {ok, State}.

open_udp(Size, Port) ->
    Options = [
        %% esockd is not support acceptors option, acceptors is always 1.
        {acceptors, 1},
        {shutdown, brutal_kill},
        {udp_options, [
            {active, true},
            {mode, binary},
            {sndbuf, 81920},
            {recbuf, 81920}
            %{debug, true}
        ]}
    ],
    MFA = {emqx_custom_udp_xxx, start_link, [Size]},
    esockd:open_udp(?MODULE, Port, Options, MFA).

close_udp(Port) ->
    esockd:close({?MODULE, Port}).

Men leak!
Should change to receive EXIT messages instead
To support hot-beam upgrade, the DOWN clause should be kept.

Mem leak! Should change to receive EXIT messages instead To support hot-beam upgrade, the DOWN clause should be kept.

Never mind, there is already a EXIT handler


Feedback for “Getting started Open Micro SaaS, the Next.js SaaS template”

It might be worth mentioning that you need to use session mode (port 5432) when providing the database URL, before running npx prisma migrate dev.
I am using Superbase and it took me close to 4 hours to get to the point where it ran successfully.

It might be worth mentioning that you need to use session mode (port 5432) when providing the database URL, before running npx prisma migrate dev.
I am using Superbase and it took me close to 4 hours to get to the point where it ran successfully.

Thank you for your feedback!
I would like to understand better what you mentioned,
Do you mean the process of using a supabase DB connection, right?
I did that in a private project using this template following this supabase doc, and got the things working, but probably my case was different than yours.
If possible, I'd love to hear more details about your case,

It was for local development? or production?
What kind of errors did you get?

Finally, what was the solution you used? I don't get at all the session mode that you mentioned.

Hi. Sorry for the lack of details in my feedback.

I was using supabase cloud database.
By default supabase offers connection URI for transaction mode, with port 6543.
When using port 6543, npx prisma migrate dev does not work.
The only clue I found that the connection should be in session mode (port 5432) is by checking docker files in the root dir.

There were no errors, which cause the confusion. Prisma would display the connection URI in the terminal and that would be it.

Hi. Sorry for the lack of details in my feedback.

I was using supabase cloud database.
By default supabase offers connection URI for transaction mode, with port 6543.
When using port 6543, npx prisma migrate dev does not work.
The only clue I found that the connection should be in session mode (port 5432) is by checking docker files in the root dir.

There were no errors, which cause the confusion. Prisma would display the connection URI in the terminal and that would be it.
The documentation you linked to would be the saving grace in this situation. Maybe it's worth adding the link to the "getting started" page as a lot of people would like to use supabase, especially for small saas.

I have updated the getting started doc using Supabase as DB option with a link to the Supabase documentation, thanks again for your feedback and feel free to reach out for any other questions!


⚠ Bofrost.be has degraded performance

In 4c3427f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1413 ms

Resolved: Bofrost.be performance has improved in 14ea68d.


Add noscript

For privacy/security I allowlist sites to enable JavaScript. When I visited the site, I got a blank white page with no information.

Personally, I’d prefer at least the name of the application & a short description of what it does (usually there is a meta description for this anyhow).
If just says “Please enable JavaScript”, my response would be: for what? What will I get to see when I enable it?

There are currently no plans to support non-javascript clients.

No JS would be ideal for this sort of thing IMO, but that’s this project’s call to make.
However, the bare minimum of a  with some message should be added.

I don’t understand the code base with no HTML files & mustache files that aren’t obvious to me. But would expect something along the lines of:

		<title>Flakestry</title>
		<meta name="description" content="A place to find, install, and publish Nix Flakes">

Flakestry

Find, Install, & Publish Nix Flakes.

						The Flakestry service requires JavaScript to be enabled.
						See these instructions on how to enable in your browser.
						Alternatively you may need to add an exception to your script blocker.


Page Permission is not respected in PageChooserPanel

Issue Summary
I gave someone the following page permissions for a single site:

However, when this person chooses a page with page chooser panel, all pages from all other sites are shown as well:

Steps to Reproduce
It happens within streamfields using the following block:
link_page = blocks.PageChooserBlock(
    required=False,
    help_text='If a page is selected, that url will be used instead of the external link.'
)

It also happens with a normal PageChooserPanel in a Page:
panels = [
    PageChooserPanel('related_blog_post', page_type=PageBlogPost),
]

I know it is probably fixable with a custom hook:
https://docs.wagtail.io/en/stable/reference/hooks.html#construct-page-chooser-queryset
But I think people should not be able to see other pages if they do not have those permissions
Technical details

Python version: 3.7.9
Django version: 3.1.8
Wagtail version: 2.13rc1

Hi @Warqus,
This is the intended behaviour - it should be possible for an editor to link to a page that they don't have edit permission over. It does mean that there's currently no way to host multiple sites that are fully isolated from each other on one Wagtail instance, and the way around this would be to introduce a new 'choose' permission on pages as we've done for collections - this is one of the todo list items on #4288.

@gasman Good to know! I am currently implementing Multi Tenancy with some hacks. Can't wait for you guys to implement it within the source code in a correct way!


Update Travis CI config

Removes irc notifications
Removes slack notifications
Removes hhvm
Adds nightly PHP 7.2 builds
Update to latest guidelines

Thanks, @xtreamwayz


Fix server tests

The latest version (0.5.2) of the @types/source-map-support module references the<EMAIL_ADDRESS>module without exporting typings. The types export was added to source-map module from the 0.7.0 version (https://github.com/mozilla/source-map/commit/7cc0c9dad9c358e956258389436bdd95c50354af).
I fixed the @types/source-map-support module version until it will be fixed.

Tests fail due to --target ES6 TS option. It changes the module resolution strategy to "classic" mode and TS doesn't even try to search the node_modules dir for referenced TS modules and definitions. We should just add --moduleResolution node to tests.

@testcafe-build-bot retest

@testcafe-build-bot retest

FPR


design: click boxes instead of +/- for the enhanced filter menu

From the feedback from Jan (Inkota), he and his colleage propose to replace the +/- button in the enhanced overview with round or round edged checkboxes.

Reviewing the current solution myself, I noticed, that the +/- does not really give more information than a checked or unchecked checkbox, but is visually slightly more noisy and conceived of the +, as well as the - element, which are integrated in the one element of the checked or unchecked box, and therefor probably easier to read and use.

Sidenote, currently in firefox browser, the +/- box from "self organization and mutuality" does not fit any more and makes the menu slip from there.

For TOIs, this is OK.
For cats & subcats:

make a grey checkbox if only some subcats/tois are checked
clicking it should
if it is grey, activate all
if black, deactivate

note to self: the checkbox's "3'rd" state is "indeterminate": https://css-tricks.com/indeterminate-checkboxes/, this is needed for only partially active cats.

Implemented and live, please test.
It uses the Browser's default checkboxes, no time for better graphics.

strange enough, I notice, that I liked it better before, but anyway. Let´s just leave it as it is, and I will show it to Jan, who requested the change early next week.

It indeed looked much more awsome before with the +/-.
Maybe at some point some designer gives it a little css styling.


Istio responding 502 with AWS NLB integration, works fine for classic ELB

Bug description
We are running istio on version 1.7.0 with the demo profile on an EKS 1.17 cluster and permissive mTLS. Our ingress service used a nlb on a private subnet with an ACM ssl certificate for port 443. There is no cidr whitelisting on istio or on the load balancer. The istio override looks as follows:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    gateways:
      istio-ingressgateway:
        serviceAnnotations:
          service.beta.kubernetes.io/aws-load-balancer-internal: "true"
          service.beta.kubernetes.io/aws-load-balancer-ssl-ports: 'https'
          service.beta.kubernetes.io/aws-load-balancer-type: nlb
          # Stuff added by post deployment hook
          external-dns.alpha.kubernetes.io/hostname: "*.istio.OUR.DOMAIN"
          service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:REDACTED:certificate/REDACTED

We have an httpbin example service (complete with virtual service and destination rules) which we hooked up to to the ingress gateway.  When we try to hit the host via curl or the chrome browser, sometimes we get the expected httpbin working fine for all paths.
Sometimes, however, we get a 52 empty response from the server error, which usually sticks around for a while before going away. If we get this error then the request always takes over 5 seconds, otherwise (the good requests) always takes a fraction of a second to complete. This error seems to be happening randomly and tested from multiple computers.
Looking at the kiali dashboard, there is no reported timeout errors-- it only seems to know about the good, fulfilled, requests.
When I look at the logs of the ingress gateway pod, I see a log line for each non-52 request, but I never see a log for the 52 empty response requests.

We have a while loop running in a terminal that sends 2 requests before sleeping for 1 second. So when the 52 no response doesn't happen I'm sending 2 request every ~1.5 seconds and when the error does occur I am sending 2 requests every ~11 seconds (becuase the curls are not parallelized and the error responses take about 5 seconds). This is how we guarantee traffic for visibility in kiali.
If we do a direct kubectl port-forward of the service to localhost we never get the error
We tried deleting and restarting the ingress gateway pod, and the errors are still around.
We tried deleting and recreating the nlb, and the errors are still around.
We tried removing mTLS, and the errors are still around.
We tried hitting the load balancer directly instead of the route53 record (passing the appropriate host headers), and the errors are still around.
The only log showing a possible error is the following from the curls when we get an empty response:

TLSv1.2 (IN), TLS alert, close notify (256):
Empty reply from server
Connection #0 to host REDACTED left intact
curl: (52) Empty reply from server
Closing connection 0

We were able to fix the issue by omitting the annotation provisioning an NLB and instead using the default classic ELB. This led me to believe that the error is with the NLB integration.
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Do not get 52 no responses from server when hitting a dummy service hooked up to the gateway.
Steps to reproduce the bug
run curl or go to the domain linked to the gateway once installing istio with the settings I described. Do it in a for loop and you'll get the errors soon enough. As far as we can tell, the errors are non-deterministic.
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
client version: 1.7.0
control plane version: 1.7.0
data plane version: 1.7.0 (9 proxies)

How was Istio installed?
istioctl install --set profile=demo --filename path/to/istio_overrides.yaml I put the override on top
Environment where bug was observed (cloud vendor, OS, etc)
AWS EKS 1.17.0

I can confirm I'm seeing this same issue.

do you have healthy pods for the service in each zone that you have an NLB ENI?  are you consistently seeing the timeouts to one NLB IP?


tee example

something is missing in the tee description - probably a transform and filter statement:
auto const inputs = std::vector{1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
auto intermediaryResults = std::vector{};
auto results = std::vector{};
inputs >>= pipes::tee(pipes::push_back(intermediaryResults))
>>= pipes::push_back(results);
// intermediaryResults contains {2, 4, 6, 8, 10, 12, 14, 16, 18, 20}
// results contains {12, 14, 16, 18, 20}

Since the proposed fix has been merged, I'll close this thread.


Improves TestEncryptionTurnOnAndOff and TestEncryptionRotation

by checking (encrypted/decrypted) the content of a secret

based on https://github.com/openshift/cluster-kube-apiserver-operator/pull/621

please review the second commit https://github.com/openshift/cluster-kube-apiserver-operator/pull/623/commits/44737d9cbaa5dadc809092d3bf5931f5f7ca2645

/test e2e-aws-operator-encryption

/lgtm
/approve


updated type meta information

Signed-off-by: kumarabd<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Lots o' data

Lots o' data


Add the drop down arrows "Sort" and "Per page" elements on the artworks search form

Minor changes that were bugging me

Ah, OK, good catch! Thanks!


The pretraining corpus of GLM-Large-Chinese

Hi,

What is the pretraining corpus of GLM-Large-Chinese/GLM-10B-Chinese released ? Wiki+BookCorpus in README or wudao baike zhihu(in config/ds_block_large_chinese.sh) ?
Besides, how large is the corpus used to train GLM-Large-Chinese and GLM-10B-Chinese ?
Thanks.

The Chinese models are pre-trained on WuDaoCorpus (1.1TB), Baidu Baike (87GB) and Zhihu (131GB)。


Hover color on widgets in compact view not using theme colors

When you hover on a widget in compact view, the hover color is UW-Madison red, rather than a theme color.

Backlogged, prioritized for Scrum purposes as MUMUP-2648.

This may just be an issue in angularjs-portal

Fixed in 2.5.0


Unexport VolumeDriver.

This is not a public interface and users are trying to use it.
We only use it to be able to generate the rpc protocol to talk with a plugin.
/cc @cpuguy83
Signed-off-by: David Calavera<EMAIL_ADDRESS>

LGTM

LGTM


Details table items cropped out of browser

Describe the bug
When we resize the browser at details pages, the table items resize to some extent, but eventually they get out of the browser with no possibility to reach the missing elements.
To Reproduce
Steps to reproduce the behavior:

Go to any of the details pages
Resize browser horizontally
See error

Expected behavior
Table items aligned with the rest of the table, a way to reach all the elements
Screenshots

Desktop (please complete the following information):

OS: RHEL
Browser Chrome
Version 73

Additional context
This is similar to #753, however, unlike the modal, the table items are not fixed size

It appears that the table remains a minimum size, until the window reaches a certain point. Then, the table changes its layout (becomes responsive) for a very small window. However, if you resize larger again, the table fixes itself.
Filed an issue with PatternFly:
https://github.com/patternfly/patternfly-react/issues/1790

Fixed by https://github.com/project-koku/koku-ui/issues/770


Windows export rcedit improvements

Allows rcedit to be executed via system PATH without specifying an executable location in editor settings.

When rcedit is executed through wine on non-windows systems, disable unnecessary wine debug output and the wine-mono install message on first run.

Minor code refactoring for improved readability.

Sorry, accidentally closed the PR renaming the branch. Reopening.

Are you trying to make this PR fetch from another branch?

I was 😅 I saw there is another PR attempting to remove rcedit altogether in favor of a built in solution, so I'm not even sure it's worth resubmitting anyway.


Static time

This PR should look a lot simpler once https://github.com/USGS-VIZLAB/water-use-15/pull/42 is merged. Just removing the timeslider, activeYear variable, and updateYear function because we're going 2015 all the way in this vizzy now. Resolves #41, which has taken about 20 min so far.

Hmm. I guess this PR doesn't get a lot simpler once #42 is merged =(. Well, the only new commits are
b699674 and 3d98d7a

Closing so I can reopen a simpler one. Trying to improve my github skillzz.


Fix index, sequence, and data type issues in combine_tables endpoint

This PR fixes issues with importing and adding data to aggregate datasets. It depends on this commit in Data Basin: https://github.com/consbio/databasin-web/commit/03f89347a7c333c59e7987a672fc3ac66b25c806
These are the tests I've tried using Bat Detection Sites and With Dates - Temperature Data datasets:

Imported the datasets (not time enabled) and added data to them
Imported the datasets (time enabled) and added data to them
Imported the datasets using definition (without any definition attribute coming from forms) and added data to them
Imported the datasets using definition (with some definition attributes coming from forms) and added data to them

Coverage decreased (-0.4%) to 50.636% when pulling c69fa154872246c9afed378ec6f0896c9bb38236 on fix-combine-tables into 628bcde8071229485438def01ff3b0da0ef9e502 on master.


Can I use Chinese to add China's states?

Hi,
I'd like to add China's states to seed_all_tables.php, can I use Chinese to add China's states? and can I use Chinese to modify China to 中国 in country list?
@daftspunk

Go for it, submit a pull request!

@awaysoft ^ as above


Github Actions Matrix Build: windows, mac, linux

Cool!

It looks like JDK 11 is added but still failing. Seems like these should be removed or commented until it actually compiles in 11.

JDK 11 support will show up very soon!


Powerpoint: Fixed to work offline.

Changed default template to blank.
Works with jpEg.
Works without shortcut bar on phones.

One slight problem I see with this is the use case where someone runs the workload with no internet connection but also specifies a template other than the "Blank presentation". The grid view will then cycle indefinitely as it never find the template specified.
A few options:

Parameter passed in with the connectivity status and reset the users choice to "Blank Presentation"
Add some kind of timeout to break out of the scrollable loop.
Remove the users choice altogether.

I agree that is a possibility.
I explicitly mention this in the description for the template parameter:

"Only Blank presentation is allowed when offline. All other templates require networking."

However i havent done any 'checks' for this in the code. Good point.
I believe your first suggestion of checking connectivity status is best. I will change accordingly


test15

Codecov Report

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

Flag
Coverage Δ

packit-e2e
51.77% <0.00%> (?)

testsuite
24.07% <0.00%> (?)

unittests
11.11% <0.00%> (?)

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


Vendor tars -> git submodule

In GitLab by @ksiero on Dec 4, 2019, 10:28
There is a problem with mirroring repo to the github. The hdf5 tar file is over 100MB and github doesn't accept it. I think we could replace all tar in vendor with git submodules and pull them only if the user wants embedded (or auto set library to embedded). I think I was proposing this option before, but I don't remember why we didn't go with it.

The reason is that we want our distribution to be easily installed on a machine with no internet access like many supercomputers.
The best solution would be to make a script to generate the distribution tar.gz executed in gitlab-ci and keep the tar out of the repo.
As a temporary workaround, we could just include a compressed version of HDF5 tar

In GitLab by @ksiero on Dec 9, 2019, 14:19
There shouldn't be any problem with it. If the user wants to download all the plugins and libraries all he needs to do is add --recursive flag when cloning the repository and then copy it to the supercomputer, right?

In GitLab by @ksiero on Dec 9, 2019, 14:22
There is no possible way to create a tar from the --recursive repository and then distribute it?

the question is about the tar we distribute for releases

In GitLab by @ksiero on Dec 9, 2019, 14:33
closed

In GitLab by @ksiero on Dec 9, 2019, 14:33
Ok, there is no much gain when switching to submodules. There are more important jobs for now.

yes, there is, this is what 'releases' https://docs.gitlab.com/ee/user/project/releases/ are for in gitlab. But we have to set it up.
I wouldn't use submodules however, just a tar as we do, but fetch it as part of the release creation process and use the public URL in git CMakelists.txt


Update KPClusteringController.m

Xcode 6.1.1 reported a leak on the dispatch_group_create call, doc says it should be released so I added a call in a place that seemed reasonable.  So far working, could there be other locations release is required? thanks

Hey @msjulie - thanks for taking the time to do this. We're going to go ahead and bump the podspec's platform version to 6.0 to enable ARC by default, removing the need for this change. Hope that helps!

I have tried the updated version and can not repro the bug, yipee!


Do not use atomic move to move jdks

Before this PR
Tried this out on some very large projects internally. Kept getting this kinds of errors:
Caused by: java.lang.RuntimeException: Could not move java home
Caused by: java.nio.file.FileSystemException: /Users/callumr/.gradle/caches/gradle-jdks/azul-zulu-15.40.19-15.0.7-b7ed6f7c59131899.in-progress-c5b252e4/zulu15.40.19-ca-jdk15.0.7-macosx_aarch64/zulu-15.jdk/Contents/Home -> /Users/callumr/.gradle/caches/gradle-jdks/azul-zulu-15.40.19-15.0.7-b7ed6f7c59131899: Directory not empty
        at com.palantir.gradle.jdks.JdkManager.jdk(JdkManager.java:81)
        at com.palantir.gradle.jdks.JdksPlugin.lambda$javaInstallationForLanguageVersion$5(JdksPlugin.java:86)

It seems when you try to move a directory using ATOMIC_MOVE and the target directory exists, it fails with a FileSystemException with a message Directory not empty.  Not a FileAlreadyExistsException or DirectoryNotEmptyException. At least on macos.
Additionally, the docs for ATOMIC_MOVE are a little scary:

If the target file exists then it is implementation specific if the existing file is replaced or this method fails by throwing an IOException.

😨 😨 😨
After this PR
==COMMIT_MSG==
Do not atomically move the java home directory to avoid Could not move java home: Directory not empty exceptions
==COMMIT_MSG==
Possible downsides?

Released 0.7.0


Fix link to .NET Standard Library page

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

Excellent, thanks so much for fixing it.