Synthesis failed for java-speech

Hello! Autosynth couldn't regenerate java-speech. :broken_heart:
Here's the output from running synth.py:
ources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpwld_g83y/google-cloud-speech-v1-java/gapic-google-cloud-speech-v1-java/src')] were copied. Does the source contain files?
2020-07-16 19:10:00,966 autosynth [ERROR] > Synthesis failed
2020-07-16 19:10:00,967 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0cc23ce build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#234)
2020-07-16 19:10:00,974 autosynth [DEBUG] > Running: git checkout autosynth-googleapis
Switched to branch 'autosynth-googleapis'
2020-07-16 19:10:00,979 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-16 19:10:01,180 autosynth [DEBUG] > Running: git checkout 0cc23ce1c81523418577946d45848c8319caccb6
Note: checking out '0cc23ce1c81523418577946d45848c8319caccb6'.

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 0cc23ce build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#234)
2020-07-16 19:10:01,191 autosynth [DEBUG] > Running: git checkout b56aa06cc99050861c9a9b14d9569bd18eb09604
HEAD is now at b56aa06c feat: Adds AuditLog proto for reading IAM admin logs.
2020-07-16 19:10:01,236 autosynth [DEBUG] > Running: git checkout 21f1470ecd01424dc91c70f1a7c798e4e87d1eec
Previous HEAD position was 4f2c9f7 ci(java): run dependency test on Java 8 and 11 (#639)
HEAD is now at 21f1470 chore: add config files for cloud-rad for node.js (#667)
2020-07-16 19:10:01,247 autosynth [DEBUG] > Running: git branch -f autosynth-174
2020-07-16 19:10:01,252 autosynth [DEBUG] > Running: git checkout autosynth-174
Switched to branch 'autosynth-174'
2020-07-16 19:10:01,257 autosynth [INFO] > Running synthtool
2020-07-16 19:10:01,258 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-16 19:10:01,258 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-speech/174/sponge_log.log
2020-07-16 19:10:01,260 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-16 19:10:01,473 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-speech/synth.py.
On branch autosynth-174
nothing to commit, working tree clean
2020-07-16 19:10:01,611 synthtool [DEBUG] > Ensuring dependencies.
2020-07-16 19:10:01,622 synthtool [DEBUG] > Cloning googleapis.
2020-07-16 19:10:01,623 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-07-16 19:10:01,629 synthtool [DEBUG] > Generating code for: //google/cloud/speech/v1:google-cloud-speech-v1-java.
2020-07-16 19:10:03,432 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpbv8rfxcz.
2020-07-16 19:10:03,433 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpbv8rfxcz/google-cloud-speech-v1-java/proto-google-cloud-speech-v1-java/src/**/*.java')] for pattern // Generated by the protocol buffer compiler.  DO NOT EDIT!, maybe replacement is no longer needed?
2020-07-16 19:10:03,437 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpbv8rfxcz/google-cloud-speech-v1-java/proto-google-cloud-speech-v1-java/src/**/*Name.java'), PosixPath('/tmpfs/tmp/tmpbv8rfxcz/google-cloud-speech-v1-java/proto-google-cloud-speech-v1-java/src/**/*Names.java')] for pattern /\*
 \* Copyright \d{4} Google LLC
 \*
 \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except
 \* in compliance with the License. You may obtain a copy of the License at
 \*
 \* http://www.apache.org/licenses/LICENSE-2.0
 \*
 \* Unless required by applicable law or agreed to in writing, software distributed under the License
 \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 \* or implied. See the License for the specific language governing permissions and limitations under
 \* the License.
 \*/
, maybe replacement is no longer needed?
2020-07-16 19:10:03,437 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpbv8rfxcz/google-cloud-speech-v1-java/grpc-google-cloud-speech-v1-java/src/**/*.java')] for pattern ^package (.*);, maybe replacement is no longer needed?
2020-07-16 19:10:03,438 synthtool [DEBUG] > 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 "/home/kbuilder/.cache/synthtool/java-speech/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 318, in bazel_library
    destination_name=destination_name,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 193, in _common_generation
    required=True,
  File "/tmpfs/src/github/synthtool/synthtool/transforms.py", line 208, in move
    f"No files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpbv8rfxcz/google-cloud-speech-v1-java/gapic-google-cloud-speech-v1-java/src')] were copied. Does the source contain files?
2020-07-16 19:10:03,492 autosynth [ERROR] > Synthesis failed
2020-07-16 19:10:03,492 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0cc23ce build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#234)
2020-07-16 19:10:03,499 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-16 19:10:03,505 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, 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.

During handling of the above exception, another exception occurred:

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 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, 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-speech. :sob:
Here's the output from running synth.py:
 Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmp1r_f3nfw/google-cloud-speech-v1-java/gapic-google-cloud-speech-v1-java/src')] were copied. Does the source contain files?
2020-07-17 03:47:19,986 autosynth [ERROR] > Synthesis failed
2020-07-17 03:47:19,986 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0cc23ce build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#234)
2020-07-17 03:47:19,993 autosynth [DEBUG] > Running: git checkout autosynth-googleapis
Switched to branch 'autosynth-googleapis'
2020-07-17 03:47:19,999 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-17 03:47:20,129 autosynth [DEBUG] > Running: git checkout 0cc23ce1c81523418577946d45848c8319caccb6
Note: checking out '0cc23ce1c81523418577946d45848c8319caccb6'.

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 0cc23ce build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#234)
2020-07-17 03:47:20,135 autosynth [DEBUG] > Running: git checkout bb46f87724ddd2fd1ce9f9dcb71f147427775592
HEAD is now at bb46f877 Adds bazel build file for public version of AuditData proto for bigquery.
2020-07-17 03:47:20,148 autosynth [DEBUG] > Running: git checkout 21f1470ecd01424dc91c70f1a7c798e4e87d1eec
Previous HEAD position was 4f2c9f7 ci(java): run dependency test on Java 8 and 11 (#639)
HEAD is now at 21f1470 chore: add config files for cloud-rad for node.js (#667)
2020-07-17 03:47:20,159 autosynth [DEBUG] > Running: git branch -f autosynth-175
2020-07-17 03:47:20,163 autosynth [DEBUG] > Running: git checkout autosynth-175
Switched to branch 'autosynth-175'
2020-07-17 03:47:20,169 autosynth [INFO] > Running synthtool
2020-07-17 03:47:20,169 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-17 03:47:20,169 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-speech/175/sponge_log.log
2020-07-17 03:47:20,171 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-17 03:47:20,376 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-speech/synth.py.
On branch autosynth-175
nothing to commit, working tree clean
2020-07-17 03:47:20,509 synthtool [DEBUG] > Ensuring dependencies.
2020-07-17 03:47:20,522 synthtool [DEBUG] > Cloning googleapis.
2020-07-17 03:47:20,523 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-07-17 03:47:20,527 synthtool [DEBUG] > Generating code for: //google/cloud/speech/v1:google-cloud-speech-v1-java.
2020-07-17 03:47:22,060 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmp_yyt18pa.
2020-07-17 03:47:22,061 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmp_yyt18pa/google-cloud-speech-v1-java/proto-google-cloud-speech-v1-java/src/**/*.java')] for pattern // Generated by the protocol buffer compiler.  DO NOT EDIT!, maybe replacement is no longer needed?
2020-07-17 03:47:22,065 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmp_yyt18pa/google-cloud-speech-v1-java/proto-google-cloud-speech-v1-java/src/**/*Name.java'), PosixPath('/tmpfs/tmp/tmp_yyt18pa/google-cloud-speech-v1-java/proto-google-cloud-speech-v1-java/src/**/*Names.java')] for pattern /\*
 \* Copyright \d{4} Google LLC
 \*
 \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except
 \* in compliance with the License. You may obtain a copy of the License at
 \*
 \* http://www.apache.org/licenses/LICENSE-2.0
 \*
 \* Unless required by applicable law or agreed to in writing, software distributed under the License
 \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 \* or implied. See the License for the specific language governing permissions and limitations under
 \* the License.
 \*/
, maybe replacement is no longer needed?
2020-07-17 03:47:22,065 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmp_yyt18pa/google-cloud-speech-v1-java/grpc-google-cloud-speech-v1-java/src/**/*.java')] for pattern ^package (.*);, maybe replacement is no longer needed?
2020-07-17 03:47:22,066 synthtool [DEBUG] > 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 "/home/kbuilder/.cache/synthtool/java-speech/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 318, in bazel_library
    destination_name=destination_name,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 193, in _common_generation
    required=True,
  File "/tmpfs/src/github/synthtool/synthtool/transforms.py", line 208, in move
    f"No files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmp_yyt18pa/google-cloud-speech-v1-java/gapic-google-cloud-speech-v1-java/src')] were copied. Does the source contain files?
2020-07-17 03:47:22,106 autosynth [ERROR] > Synthesis failed
2020-07-17 03:47:22,106 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0cc23ce build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#234)
2020-07-17 03:47:22,113 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-17 03:47:22,118 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, 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.

During handling of the above exception, another exception occurred:

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 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, 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 passed, closing! :green_heart:


Path parameter case false-positive

Zally produces this violation:
Path parameter 'business-partner-id' does not match snake_case ([a-z][a-z0-9]*(?:_[a-z0-9]+)*) but seems to be kebab-case

for the following specificaiton:
'/item-quantity-snapshots/{business-partner-id}':
    get:
      description: |
        Returns most recent item quantity snapshot of a given partner.
      security:
        - oauth2: [zfs-inventory.item-quantity.read]
      parameters:
        - name: business-partner-id
          in: path
          required: true
          type: string
          format: uuid
          description: |
            UUID identifing the business partner.

The Guideline explicitely allows such path parameter names.

Looks like I screwed up the configuration when reworking the case checking rules. This bit clearly should reference kebab-case.
pathParameterNames {
regex: ${CaseChecker.cases.snake_case}
}
Don’t have time to push a quick fix today but hopefully that helps if there’s a hurry.
Thanks,
Rob

On 30 Oct 2018, at 10:01, Maxim<EMAIL_ADDRESS>wrote:
Zally produces this violation:
Path parameter 'business-partner-id' does not match snake_case ([a-z][a-z0-9](?:_[a-z0-9]+)) but seems to be kebab-case
for the following specificaiton:
'/item-quantity-snapshots/{business-partner-id}':
get:
description: |
Returns most recent item quantity snapshot of a given partner.
security:
- oauth2: [zfs-inventory.item-quantity.read]
parameters:
- name: business-partner-id
in: path
required: true
type: string
format: uuid
description: |
UUID identifing the business partner.
The Guideline explicitely allows such path parameter names.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No problem @roxspring :)
FYI: Our guideline allows both for path parameters: snake_case and separated-with-hyphens. (129)

How do you feel about the following alternative:
  pathParameterNames {
    allow: [
      ${CaseChecker.cases.kebab-case},
      ${CaseChecker.cases.snake_case}
   ]
  }

Should have mentioned that I first considered allowing multiple without a preference but didn't really like it because it leads to a very verbose error message:

Path parameter 'businessPartnerId' does not match kebab-case ([a-z][a-z0-9](?:-[a-z0-9]+)) or snake_case ([a-z][a-z0-9](?:_[a-z0-9]+)) but seems to be camelCase

Personally, I like including the regex in the message because it avoids ambiguity over what definition we're working to, but I find multiple regexes in the message a little overwhelming to deal with. Similarly, given that the whitelist is all about exceptions to the main rule I'm not sure it's healthy to mention them all in the message.
Seems (technically) simplest to me just to get off the fence and decide on a preference between the cases - although perhaps you have strong opinions on each side and forcing a decision is not so (politically) simple!

I don't have a strong opinion but would prefer my variant.
@tkrop, @ddufourboivin-zalando - what do you think?

Are you suggesting that we merge regex and whitelist into a single list of allowed patterns, with all of them appearing in the message?

Yes, I would go for this.


default clear color needs project restart

Ubuntu 14.04
64-bit
After choosing a new color "Project Settings" -> "Render" -> "default_clear_color" it is not showing the new color in the 2D view(only after project restart).

Is fixed in 3.0


Add smart curtain switch

I have this switch, and I need to create a new tile that shows three buttons to open, close, and stop.

Use COVER tile for it.

@resoai Do you have an example?

You define it just like any other tile (i.e. switch) and simply change the typer to COVER.

Thank you @resoai


JoErNanO: Watch singaporeaesthetics.com

JoErNanO requests the watch of the watch_keyword singaporeaesthetics\.com. See the MS search here and the Stack Exchange search here.

singaporeaesthetics\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


python38Packages.oath: 1.4.3 -> 1.4.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.oath is: "Python implementation of the three main OATH specifications: HOTP, TOTP and OCRA"
meta.homepage for python38Packages.oath is: "https://github.com/bdauvergne/python-oath"
meta.changelog for python38Packages.oath is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.4.4 with grep in /nix/store/9bvh0cdjgicp0kpbcnpg26jsc8hxbqzd-python3.8-oath-1.4.4

found 1.4.4 in filename of file in /nix/store/9bvh0cdjgicp0kpbcnpg26jsc8hxbqzd-python3.8-oath-1.4.4

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python38Packages.oath
python38Packages.python-vipaccess
python39Packages.oath
python39Packages.python-vipaccess

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9bvh0cdjgicp0kpbcnpg26jsc8hxbqzd-python3.8-oath-1.4.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.oath https://github.com/r-ryantm/nixpkgs/archive/74d2cd4224b402a74327a4b6284a453f56975185.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9bvh0cdjgicp0kpbcnpg26jsc8hxbqzd-python3.8-oath-1.4.4
ls -la /nix/store/9bvh0cdjgicp0kpbcnpg26jsc8hxbqzd-python3.8-oath-1.4.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python38Packages.oath
python38Packages.python-vipaccess
python39Packages.oath
python39Packages.python-vipaccess

Maintainer pings
cc @herrwiese for testing.

Result of nixpkgs-review pr 146057 run on x86_64-linux 1

4 packages built:

python38Packages.oath
python38Packages.python-vipaccess
python39Packages.oath
python39Packages.python-vipaccess

Result of nixpkgs-review pr 146057 run on x86_64-linux 1

4 packages built:

python38Packages.oath
python38Packages.python-vipaccess
python39Packages.oath
python39Packages.python-vipaccess

All changes are addressed in #146893


Quest items for Ours by Right quest not spawning

SPT Version
3.10-BE
Project Type
Server
Expected Result
According to the EFT wiki the GARY ZONT portable electronic warfare device item has a chance to spawn on the rogues and is also guaranteed to spawn on the goons.
Actual Result
The GARY ZONT portable electronic warfare device item doesn't spawn
Steps To Reproduce

Create Dev profile and accept Ours by Right quest from Prapor
Load into LightHouse
Pray
Find and kill rogues and goons
Search bodies

Server Log
Click and attach file. ↓
BepinEx Log
Click and attach file. ↓
Client Log
Click and attach file. ↓
Player Profile
No response
Screenshots
No response

Attachments

LogOutput.log (22 KiB)
66d72cea00002a0ce9a86a22.json (526 KiB)
server-2024-10-03.zip (9 KiB)
log_2024.10.03_5-39-28_<IP_ADDRESS>.32678.zip (25 KiB)

Originally written by TheNightHawk

I'll upload logs as soon as I've had a raid with the Goons on LightHouse. Did +10 raids trying to get logs and they didn't spawn once. Never found the item on any dead rogues.

Originally written by TheNightHawk

https://escapefromtarkov.fandom.com/wiki/GARY_ZONT_portable_electronic_warfare_device
https://escapefromtarkov.fandom.com/wiki/Ours_by_Right

Originally written by chomp

Have attached logs now, finally came across the goons in Raid. I also searched any rogue I could find and didn't come across the item. Game also crashed to desktop post raid. Have also attached screenshots of the Goons' inventory.

Attachments

ours-pipe.JPG (327 KiB)
ours-knight.JPG (314 KiB)
ours-birdeye.JPG (295 KiB)

Originally written by TheNightHawk

I am leaning towards not adding this item to bosses as its an event quest that will be removed within a week

Originally written by chomp

Was wondering whether that would be the case. If the event is not going to be available during the normal year then probably doesn't make sense fixing it.

Originally written by TheNightHawk

I have decided to flag the quest as an event quest and not add additional items to bots.

Originally written by chomp


Segregate table profile extraction of bigquery to its own extractor

Is your feature request related to a problem? Please describe.
In our existing bigquery extractor, we collect both bigquery table metadata & its profile (common join & filter) based on audit log. But since the data from audit log are not always having a 1-1 mapping to the table metadata (Sometimes audit log data has out of project context data), we always need to build a map of table stats from the audit log data and later we match the metadata to the map based on table urn.
The approach consumed high memory and can caused OOM error.
Describe the solution you'd like
Since our current compass support upsert-patch asset update, we might could decouple bigquery metadata extraction and bigquery table profile extraction to reduce the memory-footprint of a job.

@ravisuhag @StewartJingga @scortier @GrayFlash any thought on this?

Yes, Either decouple or we need to think of multiple mode support in a single extractor.

Another issue is, for each extractor, we are fetching/processing the same profile data since extractors cannot share information even when they are in one single run.
One idea would be for meteor to have another hook to:

triggered once in every run
run before initiating/running a recipe
can store data that can be accessed to all recipes in that run only

Later, this proposed hook can also help us when trying to populate user information to the metadata.
For example, it will allow us to initially fetch all shield users first, then use that shield information to map user's email to shield's uuid as opposed to each extractor making the same call over and over again.
wdyt? @ravisuhag @mabdh @scortier @GrayFlash

@StewartJingga My bit of worry is that it might make the interface a bit more complicated.

@StewartJingga @ravisuhag
An idea that is less destructive is:
We are currently getting log with this filter query
protoPayload.methodName="jobservice.jobcompleted" AND ` +
	`resource.type="bigquery_resource" AND NOT ` +
	`protoPayload.serviceData.jobCompletedEvent.job.jobConfiguration.query.query:(INFORMATION_SCHEMA OR __TABLES__) AND ` +
	`timestamp >= "%s" AND timestamp < "%s"

collecting all table stats in a hash map and then use the mapping to assign it to the table fetched.
collect table stats for a specific time period and store to hash map > run extractor to extract table from bq > map table fetched from bq to table profile > build table metadata > sink
Instead of doing that, we can reduce the hash map for all data within time period by adding filter table name. The filter would be
protoPayload.methodName="jobservice.jobcompleted" AND ` +
	`resource.type="bigquery_resource" AND NOT ` +
	`protoPayload.serviceData.jobCompletedEvent.job.jobConfiguration.query.query:(INFORMATION_SCHEMA OR __TABLES__) AND ` +
	`timestamp >= "%s" AND timestamp < "%s AND table_name"

This will return lesser logs for a specific table only. With this, we don't need to store the hash map and just do the collection on demand.
We can add more filter to the query to only fetch the relevant logs.


Can't access my cluster

This is a Bug Report

Problem:
I have a cluster running on gcp with a static address. I can see the cluster logs using kubectl logs and I when I run kubectl get service I get:
NAME             TYPE           CLUSTER-IP     EXTERNAL-IP      PORT(S)        AGE
backend-faltta   LoadBalancer   10.xxx.xxx.xxx   35.xxx.xxx.xxx   80:31250/TCP   15m
kubernetes       ClusterIP      10.xxx.xxx.xxx     <none>           443/TCP        20m

But when trying to make a request to 35.xxx.xxx.xxx I get: ERR_CONNECTION_REFUSED
My kubernetes.yaml is:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
  labels:
    app: app
spec:
  replicas: 1
  selector:
    matchLabels:
      app: app
  template:
    metadata:
      labels:
        app: app
    spec:
      containers:
        - name: app
          image: $imageURL
          ports:
            - containerPort: 3000
          livenessProbe:
            httpGet:
              path: /alive
              port: 3000
            initialDelaySeconds: 30
          readinessProbe:
            httpGet:
              path: /alive
              port: 3000
            initialDelaySeconds: 30
            timeoutSeconds: 1

---
kind: Service
apiVersion: v1
metadata:
  name: app
spec:
  selector:
    app: app
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8080
  type: LoadBalancer
  loadBalancerIP: "35.xxx.xxx.xxx"

I just saw that my targetPort was wrong


User Guide / Using Docker / "Removing Our Web Application Container" Grammatical Error

In the following section: http://docs.docker.com/userguide/usingdocker/#removing-our-web-application-container
second paragraph:
What's happened? -> What happened?

The contraction of "what has happened" is correct, but "What happened" might be smoother.

I've never seen "what has" contracted to "what's".


Standards/Certified clouds: Create a multiline entry for the four PCO regions

We'd like to improve the layout of the list of certified clouds at https://docs.scs.community/standards/certification/overview:
The four regions prod1 ... prod 4 should have a multiline entry in the table where we write plusserver only once, but can have a per region name (region prod1 ... region prod4) and a compliant label and health-mon link per region as well.

@maxwolfs well we can just add all the regions to the same field and user ''-tags


include setting on item

added setting include to item's configuration (value can be string or array of strings)
added method IMenuItem::setInclude()
added test

Thank you, good work :+1:
Do you think you could also add some note into the readme file please?

Of course, here it is :slightly_smiling_face:

@davidkudera can you merge it please? :slightly_smiling_face:

@tg666 sure, I was just waiting for you with the review. You should see one a bit above here. Can you please fix it? I'll merge it immediately afterwards.

Thank you and good job :+1:
also sorry for the problems....

No problem, thank you too :+1:


[F glutil.cpp:388] eglInitialize() failed

I am trying to run magic3d refine stage...
python launch.py --config configs/magic3d-refine-sd.yaml --train --gpu 0 system.prompt_processor.prompt="a zoomed out DSLR photo of a baby bunny sitting on top of a stack of pancakes"<EMAIL_ADDRESS>
... and receiving the error eglInitialize() Failed.
bin /home/dreamer/.local/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda118.so
/home/dreamer/.local/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/usr/local/nvidia/lib'), PosixPath('/usr/local/nvidia/lib64')}
  warn(msg)
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so.11.0
CUDA SETUP: Highest compute capability among GPUs detected: 8.6
CUDA SETUP: Detected CUDA version 118
CUDA SETUP: Loading binary /home/dreamer/.local/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda118.so...
/home/dreamer/.local/lib/python3.10/site-packages/controlnet_aux/mediapipe_face/mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe'
  warnings.warn(
Global seed set to 0
[INFO] Initializing geometry from a given checkpoint ...
[INFO] Automatically determined isosurface threshold: 52.73206329345703
[INFO] Automatically determined isosurface threshold: 53.18226623535156
[F glutil.cpp:338] eglInitialize() failed

I can export with other methods.... what's wrong with this one?
trying to run glxinfo | grep '^direct rendering:'  the output is
Error: unable to open display

Duplicated #292


mirroring should take care of these

/cc @pranavkm

Too slow https://github.com/aspnet/KestrelHttpServer/commit/d3a691573226d7651e82def25d1b39e364c1b288


Bump versions

My request is to update the version of the packages (or pygame at least) or completely remove the version specifier. This is because I use pygame 2.X and I think it would be useful to use this library no matter what version of pygame one uses.

I accidentally made this twice (GitHub told me it had failed to create it)


"findFirstVariable" should respect hideFrom

As initially reported by @SheenaTomko: https://github.com/VEuPathDB/web-eda/issues/801#issuecomment-1028289935.
The cause is that the underlying findFirstVariable utility is searching through all variables, even those which are supposed to be hid[den]From the "variableTree" scope.
(Note: I confirmed this bug was also present when we were hiding variables based on whether the variable's displayType is "hidden". A more fundamental issue with how we're handling state / derived data is at play here.)

Looks good, thanks Jamie!


Unification of DateTime display format

Feature request type
Enhance component
Component name
No response
Is your feature request related to a problem?
I can not tell if this is a bug or feature.
The DateTime will be displayed differently on TextBlock and DataGrid when I leave all settings default:
TextBlock: <MudTextField Label="Creation Time (UTC)" @bind-Value="model.CreationTime" />

DataGrid: <PropertyColumn Property="x => x.CreationTime" Title="Creation Time (UTC)" />

I haven't test other components like DateTimePicker.
Describe the solution you'd like
DateTime format should be unified across components.
Thank you guys for your work.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

I've done a custom component myself, it's simply composed of both components (MudDate and MudTime) and allows you to set whole DateTime.
Not super elegant, yet works fine enough.
Graphically in file razor it may be arranged in way you wish.
DateTimePicker.razor
<MudGrid>
    <MudItem xs="6">
        <MudDatePicker Label="@Label"
<EMAIL_ADDRESS>                       Editable="true"
                       Variant="@Variant"
                       Required="@IsRequired"
                       ReadOnly="@ReadOnly"
                       Class="@Class"
                       @bind-Date="@Date"
                       AdornmentColor="Color.Primary" />
    </MudItem>
    <MudItem xs="6">
        <MudTimePicker Label="@Label"
<EMAIL_ADDRESS>                       Editable="true"
                       Variant="@Variant"
                       Required="@IsRequired"
                       ReadOnly="@ReadOnly"
                       Class="@Class"
                       @bind-Time="@Time"
                       AdornmentColor="Color.Primary"/>
    </MudItem>
</MudGrid>

DateTimePicker.razor.cs
public partial class DateTimePicker : ComponentBase
{

    [Parameter]
    public DateTime? Value { get; set; }

    [Parameter]
    public EventCallback<DateTime?> ValueChanged { get; set; }

    /// <summary>
    /// Needed in order to recover property describers
    /// </summary>
    [Parameter]
    public Expression<Func<DateTime?>> For { get; set; }

    /// <summary>
    /// Inherited automatically if not passed
    /// </summary>
    [Parameter]
    public EditContext EditContext { get; set; }

    [Parameter]
    public string Label { get; set; }

    [Parameter]
    public bool ReadOnly { get; set; } = false;

    [Parameter]
    public Variant Variant { get; set; } = Variant.Text;

    [Parameter]
    public string Class { get; set; }

    private DateTime? _date;
    public DateTime? Date
    {
        get
        {
            return _date;
        }
        set
        {
            _date = value;
            UpdateDateTime();
            CheckFieldValidity();
        }
    }

    private TimeSpan? _time;
    public TimeSpan? Time
    {
        get
        {
            return _time;
        }
        set
        {
            _time = value;
            UpdateDateTime();
            CheckFieldValidity();
        }
    }

    private bool IsRequired { get; set; }

    private void UpdateDateTime()
    {

        //in order to make strict controll that both fields are populated
        if (_date != null && _time != null)
        {
            Value = _date + _time;
        }
        else
        {
            Value = null;
        }

        //This is ok, if you need at least 1 field (date/time) populated, but its not good for required parameter
        //if (_date == null && _time == null)
        //{
        //    Value = null;
        //}
        //else if (_date != null && _time == null)
        //{
        //    Value = _date.Value;
        //}
        //else if (_date == null && _time != null)
        //{
        //    Value = _date + _time.Value;
        //}
        //else
        //{
        //    Value = _date + _time;
        //}

        ValueChanged.InvokeAsync(Value);

    }

    protected override void OnInitialized()
    {

        if (Value != null)
        {
            _date = Value.Value.Date;
            _time = Value.Value.TimeOfDay;
        }

        //check if its required
        if (For != null)
        {
            var property = (For.Body as MemberExpression)?.Member as PropertyInfo;
            if (property != null)
            {
                // Check if the property is required
                var requiredAttribute = property.GetCustomAttribute<RequiredAttribute>();
                if (requiredAttribute != null)
                {
                    IsRequired = true;
                }
            }
        }

    }

    private void CheckFieldValidity()
    {
        if (For != null)
        {
            var property = (For.Body as MemberExpression)?.Member as PropertyInfo;
            if (property != null)
            {
                //property.SetValue(For?.Compile().Invoke(), Value);

                // Check if the property is required
                var requiredAttribute = property.GetCustomAttribute<RequiredAttribute>();
                if (requiredAttribute != null)
                {

                    //IsRequired = true;
                    // If the value is null, mark the form model as invalid
                    if (_date == null || _time == null)
                    {
                        //this 2 vars are purely for debug
                        //var fieldName = property.Name;
                        //var message = requiredAttribute.FormatErrorMessage(fieldName);

                        EditContext?.NotifyValidationStateChanged();
                    }
                }
            }
        }
    }

}

Helper:
public static class DTFormat
{

    public const string DefaultDateFormat = "dd/MM/yyyy";
    public const string DefaultTimeFormat = "HH:mm:ss";
    public const string DefaultDateTimeFormat = DefaultDateFormat + " " + DefaultTimeFormat;

    /// <summary>
    /// Will return correctly formatted date out of DateTime
    /// </summary>
    /// <param name="Date"></param>
    /// <returns></returns>
    public static string GetDate(DateTime Date)
    {
        return Date.ToString(DefaultDateFormat);
    }

    public static string GetDateExt(this DateTime Date)
    {
        return GetDate(Date);
    }

    /// <summary>
    /// Will return correctly formatted time out of DateTime
    /// </summary>
    /// <param name="Date"></param>
    /// <returns></returns>
    public static string GetTime(DateTime Date)
    {
        return Date.ToString(DefaultTimeFormat);
    }

    public static string GetTimeExt(this DateTime Date)
    {
        return GetTime(Date);
    }

    /// <summary>
    /// Will return correctly formatted DateTime
    /// </summary>
    /// <param name="Date"></param>
    /// <returns></returns>
    public static string GetDateTime(DateTime? Date)
    {
        if (Date == null)
        {
            return "";
        }
        else
        {
            return ((DateTime)Date).ToString(DefaultDateTimeFormat);
        }
    }

    public static string GetDateTimeExt(this DateTime? Date)
    {
        return GetDateTime(Date);
    }

}

USAGE inside .razor file:
Where "ValidFrom" is a DateTime property (maybe nullable -> DateTime?)
<DateTimePicker @bind-Value="ValidFrom"
                For="() => ValidFrom"
                Label="Valid From Date" />

@xevilmaxx great, thank you for providing a solution.
Sure it's not that tough to implement a solution, it still would be nice to have an official implementation.

it still would be nice to have an official implementation.

Feel free to create a PR to unify the display format

Just if no-one has had the thought already, this could look like a difference i culture, where one uses an invariant culture and the date with the dots uses an local culture, like DA-dk for example. Have you tried setting the same culture for the components if possible to see if they display the same? otherwise the bug might be that one component isn't using the culture.
I might be wrong, but it was just my first throught when i looked at the example. 😄


Document configuration file better

User story
I want to run two bee instances behind a NAT firewall with open incoming ports.  This is easier to maintain if the incoming port(s) match the actual ports on the two different machines.  I know this can be done from the command prompt, but for auto-start reasons, I would like to specify it in a configuration file.  Documentation on the format of this file does not seem to exist.
Story
Acceptance criteria
The document should provide for developing a completely populated yaml configuration file describing the use, effect, and valid format and values for every available option, including the difference between ":8080" and "<IP_ADDRESS>:6060" for a "port" configuration.  I believe I know the difference, but less network-aware folks would likely be clueless.
Background
Thanks to @nolash I was able to find it hidden inside a tutorial (https://docs.ethswarm.org/bee-docs/tutorial.html), but it really deserves a more complete description including every available option, in a dedicated document.  I mention "every available option" because even in that tutorial, the first config example doesn't mention the "tracing:" option, but the second one does.
Tasks

Task
Assignee
Done (1), or 0

Just to mention that there is a section in Starting your node about the configuration file called Configuration file and bellow the Config file template. First containing the general description of the keys in it and the second one providing an example. I agree that some value formats should be explained in more detail.

@janos That's a better link, but definitive configuration file documentation is still needed given the statement "Note that the most-recent release of Bee might have different configuration options than the one provided here. Please verify this before using the template." on https://docs.ethswarm.org/bee-docs/start.html

@ldeffenb Of course, and I believe that there is an ongoing effort to have versionized documentation.

Hi guys,
Thanks for opening this issue.
The current docs represent the state of the latest release. Indeed, there is an ongoing effort to have a versioned docs, which aims to document the latest master (even though we will not give 100% guarantees here that it is up-to-date).
Our help section is self-evident and we deliberately didn't want to include a reference to an up-to-date yaml file in our docs, as this creates an overhead for changing any config parameter. I still would not like to do this, as it is not needed and with a bit of reading you will figure it out yourself (call bee start -h and make the parameters into config parameters, as described in the section start).
What we could do instead of documentation is to have an API endpoint which answers a yaml file with your current configuration. This would be more self-contained.

WDYT @janos? @Ideffenb , would this be useful for you?

@Eknir Would a cli command to print the configuration would be ok?

Good for me.

What we could do instead of documentation is to have an API endpoint which answers a yaml file with your current configuration. This would be more self-contained.

or better yet just a template file in the tree which is a pretty common thing after all.

@janos Yes, either a command line way to print the current configuration as a .yaml file or an API to return the same.  If I can also request that comments be included showing the default of each parameter, especially those whose current value is not the default.
@nolash A template file can drift out of data unless it is automatically updated with each new release.  I kind of like better having the running version tell me what it thinks its configuration is and/or should look like.

In the meantime, is there any documentation as to the format of the nat-addr parameter?  Even though I have the swarm port open via a NAT rule, I don't seem to be getting many, if any, incoming connections.  I suspect part of this may be due to publishing my internal IP instead of my external which it seems the nat-addr would be good for using.  Especially if I can publish it as my dynamic DNS name that automatically tracks my external IP address.
From https://docs.ethswarm.org/bee-docs/start.html
NAT exposed address
nat-addr: ""

@ldeffenb The format of nat-addr is in the following format IP:PORT where these values are NAT public IP and PORT. Thanks for pointing for missing information, we will improve the docs for the flag.

@janos  Thanks for the format.  I'll add that to my config and see if I get any incoming connections.

@significance can you see if the context of this ticket was resolved by the changes deployed to documentation in the recent release?

Closing this issue, as it was covered.


Remove unnecessary null pointer checks

An extra null pointer check is not needed in functions like the following.

EncAdaptiveLoopFilter::destroy
EncLib
vvenc_YUVBuffer_free_buffer

It's also not wrong tho. We might change it eventually. Feel free to make a PR for it.

:thought_balloon: Would you become interested to use a development tool like “clang-tidy” for corresponding source code adjustments?

I've been playing around with that idea but nobody knows this tool around here. We would need external help to set it up.
On similar note, it would also be nice to have a more strict enforcement of style guides.

:thought_balloon: Would you like to take the C++ guideline “R.11: Avoid calling new and delete explicitly” better into account?

It seems I'm talking to a bot. Locking this conversation. If someone is interested to help, please do. If its necessary to continue this discussion, please open a new issue.


Update Workflow.md

update

Docs Build status updates of commit af62fb9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/installation/Workflow.md
:warning:Warning
View
Details

dynamics-gp/installation/Workflow.md

Line 118, Column 1: [Warning: insecure-link - See documentation] Link 'http://www.microsoft.com/en-us/download/details.aspx?id=36223' is insecure. Links to Microsoft sites must use 'https' instead of 'http'.
Line 130, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 139, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 149, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 157, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 175, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 202, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 240, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 315, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 315, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 324, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 324, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 332, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 332, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 355, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 355, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 363, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKACTION0001.png'.
Line 363, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 380, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 380, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 423, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 423, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 432, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0002.png'.
Line 432, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 443, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0003.png'.
Line 443, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2641835:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/installation/Workflow.md
:warning:Warning
View
Details

dynamics-gp/installation/Workflow.md

Line 130, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 139, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 149, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 157, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 175, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 202, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 240, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 315, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 315, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 324, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 324, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 332, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 332, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 355, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 355, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 363, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKACTION0001.png'.
Line 363, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 380, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 380, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 423, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0001.png'.
Line 423, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 432, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0002.png'.
Line 432, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 443, Column 1: [Warning: file-not-found - See documentation] Invalid file link: 'media/WORKORIG0003.png'.
Line 443, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e9b527e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/installation/Workflow.md
:warning:Warning
View
Details

dynamics-gp/installation/Workflow.md

Line 130, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 139, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 149, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 157, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 175, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 202, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 240, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 315, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 324, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 332, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 355, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 363, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 380, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 423, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 432, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.
Line 443, Column 1: [Warning: duplicate-alt-text - See documentation] Alt text 'Form' is duplicated. Within an article, alt text must be unique.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

The build report is incorrect. The alt text is fixed. Merging.


Implement search filtering for posts

Frontend search functionality would be great so that users can filter posts for certain keywords.
The implementation details are yet to be fully determined, but this will certainly involve building a stateful search bar component and functionality to filter the posts (via a substring search or some similar algorithm) based on the string entered into the search bar component.
TODO here:

UX design mockup for search component
Build search component
Build substring search filter functionality
Unit testing for search component

I can work on this

Thanks for taking and finishing this one @aaoyekanmi4 ! We appreciate your contribution! :)
Closing as this was implemented in #30


How can we set different widths for active and inactive dots

ci_width is setting same width for all tabs. but in my case active tab has more width than inactive tabs as they have different drawables.

In your project's res/anim/ folder create circleindicator_anim.xml file with following contents
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
    android:duration="@android:integer/config_shortAnimTime">
    <objectAnimator />
</set>

Then add app:ci_animator and app:ci_animator_reverse attributes to the tag like this
    <me.relex.circleindicator.CircleIndicator
        ...
        app:ci_animator="@anim/circleindicator_anim"
        app:ci_animator_reverse="@anim/circleindicator_anim"
       ...
     />

Library uses default animations, which makes empty items smaller. You define your own empty animation which solves a problem


Storing function return value causes Uncaught TypeError

Trying to store the return value of a function into a variable causes the following error:
blockly_compressed.js:1340 Uncaught TypeError: Cannot read property 'targetBlock' of null
    at Object.Blockly.Types.getChildBlockType (blockly_compressed.js:1340)
    at Blockly.BlockSvg.getVarType (blocks_compressed.js:153)
    at Function.Blockly.StaticTyping.getBlockVars (blockly_compressed.js:1344)
    at Blockly.StaticTyping.collectVarsWithTypes (blockly_compressed.js:1342)
    at Blockly.Generator.Blockly.Arduino.init (arduino_compressed.js:12)
    at Blockly.Generator.workspaceToCode (blockly_compressed.js:1324)
    at Object.Ardublockly.generateArduino (ardublockly_blockly.js:75)
    at Ardublockly.renderContent (ardublockly.js:527)
    at Blockly.WorkspaceSvg.Blockly.Workspace.fireChangeListener (blockly_compressed.js:883)
    at Blockly.Events.fireNow_ (blockly_compressed.js:1230)

Example:

Thanks for the repor @ELundby45, I'll see if I can investigate this one between today and tomorrow.

Should be fixed in 9ca434dc2221b6859e60a440226c371b638df512

That did it. Thank you very much @carlosperate!


inodes 100% used

What did you do?
I am running prometheus in a kubernetes cluster with an EBS backed disks.  After a day or two, it reports it is out of disk space.  Looking at the disk, the inodes for the data partition is 100% usage.
What did you expect to see?
For it not to do this.  Is this b/c of something in my config files or how im setting it up?
What did you see instead? Under which circumstances?
Environment

System information:
insert output of uname -srm here

/prometheus # uname -srm
Linux 4.6.3-coreos x86_64

Prometheus version:
insert output of prometheus -version here

Alertmanager version:
insert output of alertmanager -version here (if relevant to the issue)

/prometheus # prometheus -version
prometheus, version 1.2.1 (branch: master, revision: dd66f2e94b2b662804b9aa1b6a50587b990ba8b7)
  build user:       root@fd9b0daff6bd
  build date:       20161010-15:58:23
  go version:       go1.7.1

Prometheus configuration file:
Prometheus config

    global:
      scrape_interval: 15s
    # A scrape configuration for running Prometheus on a Kubernetes cluster.
    # This uses separate scrape configs for cluster components (i.e. API server, node)
    # and services to allow each to use different authentication configs.
    #
    # Kubernetes labels will be added as Prometheus labels on metrics via the
    # `labelmap` relabeling action.

      # This file comes from the kubernetes configmap
    rule_files:
    - '/etc/prometheus-rules/alert.rules'

    # Scrape config for cluster components.
    scrape_configs:
    - job_name: 'kubernetes-cluster'

      # Default to scraping over https. If required, just disable this or change to
      # `http`.
      scheme: https

      # This TLS & bearer token file config is used to connect to the actual scrape
      # endpoints for cluster components. This is separate to discovery auth
      # configuration (`in_cluster` below) because discovery & scraping are two
      # separate concerns in Prometheus.
      tls_config:
        ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        # If your node certificates are self-signed or use a different CA to the
        # master CA, then disable certificate verification below. Note that
        # certificate verification is an integral part of a secure infrastructure
        # so this should only be disabled in a controlled environment. You can
        # disable certificate verification by uncommenting the line below.
        #
        # insecure_skip_verify: true
      bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

      kubernetes_sd_configs:
      - api_servers:
        - 'https://kubernetes.default.svc'
        in_cluster: true
        role: apiserver

    - job_name: 'kubernetes-nodes'

      # Default to scraping over https. If required, just disable this or change to
      # `http`.
      scheme: https

      # This TLS & bearer token file config is used to connect to the actual scrape
      # endpoints for cluster components. This is separate to discovery auth
      # configuration (`in_cluster` below) because discovery & scraping are two
      # separate concerns in Prometheus.
      tls_config:
        ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        # If your node certificates are self-signed or use a different CA to the
        # master CA, then disable certificate verification below. Note that
        # certificate verification is an integral part of a secure infrastructure
        # so this should only be disabled in a controlled environment. You can
        # disable certificate verification by uncommenting the line below.
        #
        # insecure_skip_verify: true
      bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

      kubernetes_sd_configs:
      - api_servers:
        - 'https://kubernetes.default.svc'
        in_cluster: true
        role: node

      relabel_configs:
      - action: labelmap
        regex: __meta_kubernetes_node_label_(.+)

    # Scrape config for service endpoints.
    #
    # The relabeling allows the actual service scrape endpoint to be configured
    # via the following annotations:
    #
    # * `prometheus.io/scrape`: Only scrape services that have a value of `true`
    # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
    # to set this to `https` & most likely set the `tls_config` of the scrape config.
    # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
    # * `prometheus.io/port`: If the metrics are exposed on a different port to the
    # service then set this appropriately.
    - job_name: 'kubernetes-service-endpoints'

      kubernetes_sd_configs:
      - api_servers:
        - 'https://kubernetes.default.svc'
        in_cluster: true
        role: endpoint

      relabel_configs:
      - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape]
        action: keep
        regex: true
      - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scheme]
        action: replace
        target_label: __scheme__
        regex: (https?)
      - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path]
        action: replace
        target_label: __metrics_path__
        regex: (.+)
      - source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port]
        action: replace
        target_label: __address__
        regex: (.+)(?::\d+);(\d+)
        replacement: $1:$2
      - action: labelmap
        regex: __meta_kubernetes_service_label_(.+)
      - source_labels: [__meta_kubernetes_service_namespace]
        action: replace
        target_label: kubernetes_namespace
      - source_labels: [__meta_kubernetes_service_name]
        action: replace
        target_label: kubernetes_name

    # Example scrape config for probing services via the Blackbox Exporter.
    #
    # The relabeling allows the actual service scrape endpoint to be configured
    # via the following annotations:
    #
    # * `prometheus.io/probe`: Only probe services that have a value of `true`
    - job_name: 'kubernetes-services'

      metrics_path: /probe
      params:
        module: [http_2xx]

      kubernetes_sd_configs:
      - api_servers:
        - 'https://kubernetes.default.svc'
        in_cluster: true
        role: service

      relabel_configs:
      - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_probe]
        action: keep
        regex: true
      - source_labels: [__address__]
        target_label: __param_target
      - target_label: __address__
        replacement: blackbox
      - source_labels: [__param_target]
        target_label: instance
      - action: labelmap
        regex: __meta_kubernetes_service_label_(.+)
      - source_labels: [__meta_kubernetes_service_namespace]
        target_label: kubernetes_namespace
      - source_labels: [__meta_kubernetes_service_name]
        target_label: kubernetes_name

    # Example scrape config for pods
    #
    # The relabeling allows the actual pod scrape endpoint to be configured via the
    # following annotations:
    #
    # * `prometheus.io/scrape`: Only scrape pods that have a value of `true`
    # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
    # * `prometheus.io/port`: Scrape the pod on the indicated port instead of the default of `9102`.
    - job_name: 'kubernetes-pods'

      kubernetes_sd_configs:
      - api_servers:
        - 'https://kubernetes.default.svc'
        in_cluster: true
        role: pod

      relabel_configs:
      - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
        action: keep
        regex: true
      - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
        action: replace
        target_label: __metrics_path__
        regex: (.+)
      - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port]
        action: replace
        regex: (.+):(?:\d+);(\d+)
        replacement: ${1}:${2}
        target_label: __address__
      - action: labelmap
        regex: __meta_kubernetes_pod_label_(.+)
      - source_labels: [__meta_kubernetes_pod_namespace]
        action: replace
        target_label: kubernetes_namespace
      - source_labels: [__meta_kubernetes_pod_name]
        action: replace
        target_label: kubernetes_pod_name

    # Monitor etcd
    # The "etcd-cluster" is a kube service pointing to the etcd nodes
    - job_name: 'etcd'
      scrape_interval: 5s
      static_configs:
        - targets: ['etcd-cluster:2379']

Kubernetes pod file
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: prometheus-monitoring
  labels:
    branch: ${WERCKER_GIT_BRANCH}
    commit: ${WERCKER_GIT_COMMIT}
spec:
  replicas: 1
  selector:
    matchLabels:
      app: prometheus-monitoring
  template:
    metadata:
      name: prometheus-monitoring
      labels:
        app: prometheus-monitoring
        branch: ${WERCKER_GIT_BRANCH}
        commit: ${WERCKER_GIT_COMMIT}
    spec:
      nodeSelector:
        caste: patrician
      containers:

      # Prometheus server
      - name: prometheus
        image: prom/prometheus:v1.2.1
        args:
          - '-storage.local.retention=72h'
          - '-storage.local.path=/home'
          - '-storage.local.memory-chunks=500000'
          - '-config.file=/etc/prometheus/prometheus.yml'
          - '-alertmanager.url=http://localhost:9093'
          - '-web.external-url=http://production-prometheus.wercker.io'
        ports:
        - name: web
          containerPort: 9090
        volumeMounts:
        - name: config-volume-prometheus
          mountPath: /etc/prometheus
        - name: config-volume-alert-rules
          mountPath: /etc/prometheus-rules
        - name: prometheus-data
          mountPath: /home
        # resources:
        #   limits:
        #     cpu: 8000m
        #     memory: 8000Mi
        #   requests:
        #     cpu: 1000m
        #     memory: 1000Mi

      #Alert manager
      - name: alertmanager
        image: quay.io/prometheus/alertmanager:v0.4.2
        args:
          - -config.file=/etc/prometheus/alertmanager.yml
        volumeMounts:
        - name: config-volume-alertmanager
          mountPath: /etc/prometheus

      # Volumens and config maps
      volumes:
      - name: config-volume-prometheus
        configMap:
          name: prometheus
      - name: config-volume-alertmanager
        configMap:
          name: prometheus-alertmanager
      - name: config-volume-alert-rules
        configMap:
          name: prometheus-alert-rules
      - name: prometheus-data
        awsElasticBlockStore:
          volumeID: ${AWS_EBS_VOLUME}
          fsType: ext4

Alertmanager configuration file:

insert configuration here (if relevant to the issue)

Logs:
The data is in the /home directory.

/prometheus # df -i
Filesystem              Inodes      Used Available Use% Mounted on
overlay              131072000<PHONE_NUMBER>99372   0% /
tmpfs                  2054523        18   2054505   0% /dev
tmpfs                  2054523        16   2054507   0% /sys/fs/cgroup
/dev/xvdba              655360    655360         0 100% /home
/dev/xvdh            131072000<PHONE_NUMBER>99372   0% /prometheus
/dev/xvda9             1498496     25477   1473019   2% /etc/prometheus
/dev/xvda9             1498496     25477   1473019   2% /etc/prometheus-rules
/dev/xvda9             1498496     25477   1473019   2% /dev/termination-log
tmpfs                  2054523         9   2054514   0% /var/run/secrets/kubernetes.io/serviceaccount
/dev/xvdh            131072000<PHONE_NUMBER>99372   0% /etc/resolv.conf
/dev/xvdh            131072000<PHONE_NUMBER>99372   0% /etc/hostname
/dev/xvda9             1498496     25477   1473019   2% /etc/hosts
shm                    2054523         1   2054522   0% /dev/shm
tmpfs                  2054523        18   2054505   0% /proc/kcore
tmpfs                  2054523        18   2054505   0% /proc/latency_stats
tmpfs                  2054523        18   2054505   0% /proc/timer_stats
tmpfs                  2054523        18   2054505   0% /proc/sched_debug

/prometheus # df -h
Filesystem                Size      Used Available Use% Mounted on
overlay                 468.6G      5.2G    438.3G   1% /
tmpfs                     7.8G         0      7.8G   0% /dev
tmpfs                     7.8G         0      7.8G   0% /sys/fs/cgroup
/dev/xvdba                9.7G      3.7G      5.5G  40% /home
/dev/xvdh               468.6G      5.2G    438.3G   1% /prometheus
/dev/xvda9                5.4G      1.7G      3.5G  33% /etc/prometheus
/dev/xvda9                5.4G      1.7G      3.5G  33% /etc/prometheus-rules
/dev/xvda9                5.4G      1.7G      3.5G  33% /dev/termination-log
tmpfs                     7.8G     12.0K      7.8G   0% /var/run/secrets/kubernetes.io/serviceaccount
/dev/xvdh               468.6G      5.2G    438.3G   1% /etc/resolv.conf
/dev/xvdh               468.6G      5.2G    438.3G   1% /etc/hostname
/dev/xvda9                5.4G      1.7G      3.5G  33% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
tmpfs                     7.8G         0      7.8G   0% /proc/kcore
tmpfs                     7.8G         0      7.8G   0% /proc/latency_stats
tmpfs                     7.8G         0      7.8G   0% /proc/timer_stats
tmpfs                     7.8G         0      7.8G   0% /proc/sched_debug

Logs:
time="2016-10-21T15:56:32Z" level=warning msg="Series quarantined." fingerprint=0864cf7a957a8a06 metric=container_cpu_user_seconds_total{beta_kubernetes_io_arch="amd64", beta_kubernetes_io_os="linux", caste="peasant", container_name="POD", id="/init.scope/system.slice/docker-79abd00098418a47bcb31207e1113602b1a7386e88bb6d37e34fb46ffcdcf375.scope", image="gcr.io/google_containers/pause-amd64:3.0", instance="i-71d74367", job="kubernetes-nodes", kubernetes_io_hostname="ip-10-0-49-178.ec2.internal", name="k8s_POD.d8dbe16c_run-580a28c6fd4b5f010090a966_default_acc605d5-979c-11e6-a98e-12717dc31e5c_7abce792", namespace="default", pod_name="run-580a28c6fd4b5f010090a966"} reason="open /home/08/64cf7a957a8a06.db: no space left on device" source="storage.go:1626"

I see that inodes on '/home' not '/prometheus' are run out. Hardly a prometheus problem.
BTW, if you use xfs instead of ext4, then  you wont have this problem as XFS allocates inodes dynamically as long as there is a free space remaining you'll be fine

The configuration is such that the storage directory is on /home, so the diagnosis is correct.
Prometheus creates roughly one file for every time series (unique metric/label combination). This can exhaust inodes. Possible mitigations are using XFS instead of ext4, creating the ext4 filesystem with more inodes, or creating a larger file system than strictly needed. I don't know off hand whether the first two are easy with Kubernetes volumes.

This mostly happens if each time series is very short lived. Because of kubelet internals, metrics about containers from the nodes include restart counters and other details that cause unnecessary time series churn. You may be able to fix them up with relabelling, or don't scrape them for now.
I also noticed that you have both endpoint and pod targets in the Prometheus configuration.

Ok cool..getting a bigger disk fixed it.  Looking into what both the endpoint and pods targets gets me.  Are these going to be the same metrics?


Add the onos command line tool to the docker image for ztp

We probably can close this due to the consolidated onos CLI command.

No longer needed due to CLI consolidation


Add retry at Input Reader interactions with EVM

📚 Context
We Noticed that in some environments a EVM Events subscription disconnections is kind of frequent
✔ Solution
At connection errors, Input Reader should try reconnecting to EVM . If a few ( configurable ) retries fail, then raise the error
📈 Subtasks

[ ] Check if is there some library that could help managing disconnection and errors
[ ] Do a EthClient delegate to handle this
[ ] Do a InputSource delegate to handle this

Included in #332


QrCodeOnly with quiet zone

Is it possible to generate a QrCode (QrCodeOnly without the entire payment slip) that has a quite zone (white margin) around it? If not, would it be possible to add such a feature?

You can generate the QR code only, but it indeed has no quite zone.
Can you describe the use case in more detail? In what context will the QR code be used? What graphics format are you using?

This might be a valuable addition. How big should the quite zone be? I'm considering several options:

Minimum as required by standard, i.e. a width of four modules (modules are the "pixels" of a QR code). Thus the effective width would depend on the QR code content: longer content -> smaller modules -> smaller quiet zone.
Fixed width of 5mm: A fixed width is visually more consistent. 5mm will always be sufficient.
Configurable width: The width can be configured but is independent of the module size.

I'm leaning towards option 2 as it visually consistent and doesn't need additional configuration (which increases complexity for users of the library).

Your considerations sounds reasonable to me. If configurability is regarded as useful, it may still be added later on.

A new output size has been added in version 3.0.6: QrCodeWithQuietZone
See https://codecrete.net/SwissQRBill.NET/api/Codecrete.SwissQRBill.Generator.OutputSize.html#fields

Thank you very much for the prompt implementation.


EAC5 delivery

Deliver an RMM implementation compatible to RMM v1.0 EAC4 specification.
https://developer.arm.com/documentation/den0137/1-0eac4/?lang=en
This task also depends on similar alignment for KVM and related VMM including the tests.

The patch stack is available here for review : https://review.trustedfirmware.org/q/project:TF-RMM%252Ftf-rmm+branch:topics%252Frmm-1.0-eac4

Since EAC5 specification is released, we are aligning to this latest version rather than EAC4.

The EAC5 aligned implementation is now available on this branch : https://git.trustedfirmware.org/TF-RMM/tf-rmm.git/log/?h=topics/rmm-1.0-eac4

A new branch is created for EAC5 with further changes : https://git.trustedfirmware.org/TF-RMM/tf-rmm.git/log/?h=topics/rmm-1.0-eac5 for validation.

The EAC5 branch is merged back to master. The relevant tag is -  https://github.com/TF-RMM/tf-rmm/releases/tag/rmm-spec-v1.0-eac5.
More information can be found here<EMAIL_ADDRESS>


175171411 — Prep 4 Changes to default Scope

Changes

increases test coverage for User scopes.
Notes added to user.rb, scopes reorganized
In Rails 4.1 we are going to have to adjust the User scopes to unscope default_scope

More info:
https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#changes-on-default-scopes
[#175171411]
https://www.pivotaltracker.com/story/show/175171411

@dougmartin
This PR is the same as  #888  -- only here we are expecting some CI tests to fail.
Edit: I don't think these tests are going to fail, and I don't think we need to worry about the default_scope for users. 'disabled' users just shouldn't show up anywhere, so having all the other scopes chain from that isn't a problem.


1024x1024

The model resolution is limited to a maximum of 1024x1024 pixels.

Is this true for all the 3 onnx models in assets: small., medium, large?
ort-onnx project doesn't mention this anywhere -- I haven't found it.
Is there any way to increase the resolution? To obtain a model with a bigger resoluation.

Is this true for all the 3 onnx models in assets: small., medium, large?
ort-onnx project doesn't mention this anywhere -- I haven't found it.

Yes, the model architecture was designed to output a 1024x1024 image. It's based on the DIS model (https://github.com/xuebinqin/DIS), and you can refer to this line where 'd1' is upscaled to the size of 'x,' with 'x' being a 1024x1024 input image.
https://github.com/xuebinqin/DIS/blob/ec4a4f4f8d967f744bf857149d5ee343b59766b0/IS-Net/models/isnet.py#L591

Is there any way to increase the resolution? To obtain a model with a bigger reoluation.

Honestly my knowledge in this area is very limited.
If you have substantial training data, you can train a new model with a higher dimension. Alternatively, you can explore the topic of Image Upscaling for more info.


Issue In FS for different datasets

HI,
I have used your code and picked 10 SI algos to find FS accuracy on 4 different datasets(all our textual categorical datasets with binary output, having different number of attributes)
Now my issue is the for each dataset different algorithm is giving highest accuracy. I want that same algorithm should give highest accuracy for all 4 datasets . Please help
Thanks
Preeti
<EMAIL_ADDRESS>

for this you should adjust random seed rng().
further you can add a loop to run the code multile times with different seeds and then choose the one with highest accuracy


RuntimeError: The size of tensor a (1891) must match the size of tensor b (3) at non-singleton dimension 1

File "/NAS1/sanjukta_repo_falcon2/wakeword/openwakeword/openwakeword/train_rec_2.py", line 900, in
best_model = oww.auto_train(
File "/NAS1/sanjukta_repo_falcon2/wakeword/openwakeword/openwakeword/train_rec_2.py", line 277, in auto_train
self.train_model(
File "/NAS1/sanjukta_repo_falcon2/wakeword/openwakeword/openwakeword/train_rec_2.py", line 468, in train_model
neg_high_loss = predictions[(y == 0) & (predictions.squeeze() >= 0.001)]  # thresholds were chosen arbitrarily but work well
getting this error for multiclass wakeword. I have changed the value of n_class=3 already.

The automatic training notebooks and functions built into openWakeWord do not currently support multiclass models. There is a n_class argument, but it is not currently functional, apologies for the confusion!
It is possible to modify the code to support multiclass models, but you would need to make changes to many parts of the train.py file.


pcg-c rng library

Hello, this is my first contribution to nixpkgs. I just copy-pasted-modded a lot of thing and tested out a pet project and it seems to work fine. Please critique if necessary, thanks.

Oops, I forgot to add the patch file.

Rebased. It should build fine now...

Looks good otherwise.

Thank you, I've added the version to the name.

Better to squash commits and mention about yourself as a maintainer in a commit msg.

Everything else is ok.

@jagajaga OK, I've squashed it into 1 commit.


Steps guide

It would be nice to include a step by step guide to reproduce the build of the image.
In that way others can try to fix possible issues with some installs.

Please visit our website. All framework installations are covered there step by step.


Replace let/nil-check patterns with guard let

The let/nil-check pattern is more expensive and less elegant than
guard let.

The elegance goes without reasoning.
I confirmed, after some experiments with the Swift complier, that it guard let is also less expensive.

The change on  LazyMapGenerator should increase performance negligibly of map().

Please update the pull request based on the comments.
Did you run the tests?  build-script -RT

@gribozavr @radex Thanks for the comments!
I will replace branches with non-trivial amount of code on either side with the if let pattern.

@gribozavr I couldn't test this PR because build-script -RT went down went linking the build files.
[475/1921] Linking CXX shared module lib/LLVMHello.dylib
FAILED: : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -fno-stack-protector -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -fcolor-diagnostics -O3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9 -bundle -Wl,-headerpad_max_install_names -Wl,-flat_namespace -Wl,-undefined -Wl,suppress   -Wl,-dead_strip -Wl,-exported_symbols_list,/Users/Daniel/Documents/Apple Projects/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports -o lib/LLVMHello.dylib lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o<EMAIL_ADDRESS>&& :
clang: error: no such file or directory: 'Projects/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'
[475/1921] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Function.cpp.o
ninja: build stopped: subcommand failed.

@dbworku Are you running the latest Xcode beta?
I have never seen this issue, but it is a possibility that there is a missing dependency in LLVM's CMake scripts.  Could you run build-script -RT again?  If that does not help, could you delete the directory build/Ninja-ReleaseAssert/llvm-macosx-x86_64 and try again?

@gribozavr @dbworku Please do not commit changes to Array before running the performance test suite. Array is special and regressing the performance of array to improve readability is not okay.

@gribozavr @nadavrot @dbworku These changes don't look like they should affect performance. I am fine with this going in after @gribozavr gives his okay.

@aschwaighofer Thank you for reviewing!
I'm OK with the parts that I marked as LGTM in other comments.

@gribozavr Deleting/Reinstalling both Xcode's (release and beta) fixed my build issues.
I mangled this branch's history when rebasing after the PR #193 changes. Closing this PR in favor of a single commit that includes all of the requested changes.


Loot spawning doesn't work at multiplayer

When I start game in multiplayer with my server there is no any loot in chests, but in singleplayer this works fine.

find same problem on 1.7.10 server....


Relative path for keyword "Load JSON From File"

Why not use relative (instead of absolute) path for the Load JSON From File keyword ?
btw: greate library! ❤

I think Robot's  built-in variable ${CURDIR} solves this issue. Example:
${json_data}=    Load JSON From File    ${CURDIR}/my_json_data.json

Thus I close this issue ;-)


Set override_redirect flag on windows.

Hello, I'm working on a small project using gotk3 and want to be able to set the window's override_redirect flag. Currently the only thing that does set it is gtk.WindowNew(gtk.WINDOW_POPUP) but it has other issues for my use case.
I've been trying to create a new binding or call out to the C function here https://docs.gtk.org/gdk3/method.Window.set_override_redirect.html
gdk_window_set_override_redirect(GdkWindow* window, gboolean override_redirect)

But my golang knowledge is still very poor and I'm just getting started. If someone could point me in the right direction or implement this I'd be very grateful.
Thanks for taking the time,
Nate

Hi,
Added #859 relative to your request gdk_window_set_override_redirect
hope this help

Thanks @hfmrow!
Gonna check it out.


adjust for DiskUsage being renamed to DiskUsage2

trivial fix, though link will be broken until m2

as https://github.com/openmicroscopy/openmicroscopy/pull/4551, :thumbsup:

Should we follow the same strategy as in https://github.com/openmicroscopy/ome-documentation/pull/1443 and include another commit that needs to be reverted post m2 tagging?

This one should already be covered by the regular expression in #1443.


Mobile: provide possibility in debug to capture pages screenshots and sources and push them as single archive to artifacts

page source + screenshots are needed for UI Automator Viewer to be able to identify controls, their placement, id, xpath etc.
So after executing test in debug mode I'd like to have functionality which:

generate page screenshot and page source as only page is initialized
screen+page source for each failure
all pages better to keep inside artifacts_folder/mobile_pages or test folder/mobile_pages
after test method finish archive this folder content and add as single artifact to test metho into zafira

in <IP_ADDRESS>+ for all failures uix artifact is generated near the screenshot


update UG for v1.3b

#112 #147

add a summary of prefix table
add sort and clear command in ug
add caution for clear command

https://kaiyichen.github.io/tp/UserGuide.html

Codecov Report

Merging #154 (026f089) into master (84b31af) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #154   +/-   ##
=========================================
  Coverage     73.18%   73.18%
  Complexity      538      538
=========================================
  Files            86       86
  Lines          1585     1585
  Branches        180      180
=========================================
  Hits           1160     1160
  Misses          370      370
  Partials         55       55

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 84b31af...026f089. Read the comment docs.


Add react spring

What type of PR is this? (Check all applicable)

[x] 🚀 Feature
[x] 🐛 Bug Fix
[ ] 📚 Documentation
[ ] 💻 Blog post
[x] 🎨 Styles
[ ] 🛠 Refactoring
[ ] 🕵♀ Code Review
[ ] 🚑 Hotfix
[x] 🧪 Test
[ ] 🌐 Localization/Internationalization
[ ] ⚙  Configuration and Environment
[ ] 🚫 Deprecation or Removal
[ ] 📦 Release
[ ] ⏪ Revert

Description
Please describe the changes in this pull request:
Added animated counter numbers with react spring.
Fixed counter tests after the counter animations were added.
Related Issues

Addresses #160

Checklist
Before submitting this pull request, please make sure you have done the following:
Code Quality

[x] Reviewed your code for any potential issues.
[x] Checked for coding style and formatting.

Updated documentation?

[ ] ✅ Yes
[x] 🙅 No, because there is nothing to update
[ ] 🙋♂ No, I need help

Added tests for your changes?

[x] ✅ Yes
[ ] 🙅 No, because they are not needed
[ ] 🙋♂ No, I need help

UI Changes

[ ] Added screenshots or recordings to demonstrate UI-related changes (if applicable).

Additional Information
Replace this text with any additional information.

We should use tailwind's tabular-nums class so that all digits have the same width, otherwise the counter moves slightly depending on the numbers it's showing.

Can you check again the things above please? @ehdlg
I just build from scratch our docker containers and I still see the numbers "dancing" issue :sweat_smile:


Modify Dark Mode switch to day/night themed switch

Refer:
https://codepen.io/jsndks/pen/qEXzOQ

I want to work on this

Can I work on this issue?

https://codepen.io/haxzie/pen/xxKNEGM
Refer this too!!

@ashishnagpal2498  you can start working on this according to the one I suggested, however give a PR only after @Adyasha8105 's is merged so that there no conflicts


Control logging

Add support to turn off logging
Add support to turn off printing usage when there is an error
Add support to disable error messages (so all responses are in json format)
Introduce new debug logging flag

@cmgpbint FYI

Seems a great feature!