Synthesis failed for Fitness

Hello! Autosynth couldn't regenerate Fitness. :broken_heart:
Here's the output from running synth.py:
2020-06-06 05:56:37,030 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-06 05:56:37,901 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-06 05:56:37,904 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-06 05:56:37,907 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2020-06-06 05:56:37,910 autosynth [DEBUG] > Running: git config push.default simple
2020-06-06 05:56:37,920 autosynth [DEBUG] > Running: git branch -f autosynth-fitness
2020-06-06 05:56:37,924 autosynth [DEBUG] > Running: git checkout autosynth-fitness
Switched to branch 'autosynth-fitness'
2020-06-06 05:56:38,160 autosynth [INFO] > Running synthtool
2020-06-06 05:56:38,161 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/fitness/synth.metadata', 'synth.py', '--']
2020-06-06 05:56:38,163 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/fitness/synth.metadata synth.py -- Fitness
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-06 05:56:38,394 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-fitness
nothing to commit, working tree clean
2020-06-06 05:56:40,443 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp19d_t27k/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Fitness
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp19d_t27k/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Fitness
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

12:57:13.820 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest

12:57:14.009 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest
Revision check: old=20200522, new=20200601, generating=true
Creating leading directories
Writing AggregateBucket to clients/fitness/lib/google_api/fitness/v1/model/aggregate_bucket.ex.
Writing AggregateBy to clients/fitness/lib/google_api/fitness/v1/model/aggregate_by.ex.
Writing AggregateRequest to clients/fitness/lib/google_api/fitness/v1/model/aggregate_request.ex.
Writing AggregateResponse to clients/fitness/lib/google_api/fitness/v1/model/aggregate_response.ex.
Writing Application to clients/fitness/lib/google_api/fitness/v1/model/application.ex.
Writing BucketByActivity to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_activity.ex.
Writing BucketBySession to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_session.ex.
Writing BucketByTime to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time.ex.
Writing BucketByTimePeriod to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time_period.ex.
Writing DataPoint to clients/fitness/lib/google_api/fitness/v1/model/data_point.ex.
Writing DataSource to clients/fitness/lib/google_api/fitness/v1/model/data_source.ex.
Writing DataType to clients/fitness/lib/google_api/fitness/v1/model/data_type.ex.
Writing DataTypeField to clients/fitness/lib/google_api/fitness/v1/model/data_type_field.ex.
Writing Dataset to clients/fitness/lib/google_api/fitness/v1/model/dataset.ex.
Writing Device to clients/fitness/lib/google_api/fitness/v1/model/device.ex.
Writing ListDataPointChangesResponse to clients/fitness/lib/google_api/fitness/v1/model/list_data_point_changes_response.ex.
Writing ListDataSourcesResponse to clients/fitness/lib/google_api/fitness/v1/model/list_data_sources_response.ex.
Writing ListSessionsResponse to clients/fitness/lib/google_api/fitness/v1/model/list_sessions_response.ex.
Writing MapValue to clients/fitness/lib/google_api/fitness/v1/model/map_value.ex.
Writing Session to clients/fitness/lib/google_api/fitness/v1/model/session.ex.
Writing Value to clients/fitness/lib/google_api/fitness/v1/model/value.ex.
Writing ValueMapValEntry to clients/fitness/lib/google_api/fitness/v1/model/value_map_val_entry.ex.
Writing Users to clients/fitness/lib/google_api/fitness/v1/api/users.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

12:57:14.445 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-06 05:57:17,827 synthtool [DEBUG] > Wrote metadata to clients/fitness/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/fitness/synth.metadata.
2020-06-06 05:57:17,853 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating Fitness. :sob:
Here's the output from running synth.py:
2020-06-07 05:50:52,370 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-07 05:50:53,251 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-07 05:50:53,254 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-07 05:50:53,257 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2020-06-07 05:50:53,260 autosynth [DEBUG] > Running: git config push.default simple
2020-06-07 05:50:53,263 autosynth [DEBUG] > Running: git branch -f autosynth-fitness
2020-06-07 05:50:53,266 autosynth [DEBUG] > Running: git checkout autosynth-fitness
Switched to branch 'autosynth-fitness'
2020-06-07 05:50:53,494 autosynth [INFO] > Running synthtool
2020-06-07 05:50:53,494 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/fitness/synth.metadata', 'synth.py', '--']
2020-06-07 05:50:53,496 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/fitness/synth.metadata synth.py -- Fitness
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-07 05:50:53,709 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-fitness
nothing to commit, working tree clean
2020-06-07 05:50:55,596 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpad68a7ps/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Fitness
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpad68a7ps/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Fitness
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

12:51:26.192 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest

12:51:26.353 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest
Revision check: old=20200522, new=20200601, generating=true
Creating leading directories
Writing AggregateBucket to clients/fitness/lib/google_api/fitness/v1/model/aggregate_bucket.ex.
Writing AggregateBy to clients/fitness/lib/google_api/fitness/v1/model/aggregate_by.ex.
Writing AggregateRequest to clients/fitness/lib/google_api/fitness/v1/model/aggregate_request.ex.
Writing AggregateResponse to clients/fitness/lib/google_api/fitness/v1/model/aggregate_response.ex.
Writing Application to clients/fitness/lib/google_api/fitness/v1/model/application.ex.
Writing BucketByActivity to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_activity.ex.
Writing BucketBySession to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_session.ex.
Writing BucketByTime to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time.ex.
Writing BucketByTimePeriod to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time_period.ex.
Writing DataPoint to clients/fitness/lib/google_api/fitness/v1/model/data_point.ex.
Writing DataSource to clients/fitness/lib/google_api/fitness/v1/model/data_source.ex.
Writing DataType to clients/fitness/lib/google_api/fitness/v1/model/data_type.ex.
Writing DataTypeField to clients/fitness/lib/google_api/fitness/v1/model/data_type_field.ex.
Writing Dataset to clients/fitness/lib/google_api/fitness/v1/model/dataset.ex.
Writing Device to clients/fitness/lib/google_api/fitness/v1/model/device.ex.
Writing ListDataPointChangesResponse to clients/fitness/lib/google_api/fitness/v1/model/list_data_point_changes_response.ex.
Writing ListDataSourcesResponse to clients/fitness/lib/google_api/fitness/v1/model/list_data_sources_response.ex.
Writing ListSessionsResponse to clients/fitness/lib/google_api/fitness/v1/model/list_sessions_response.ex.
Writing MapValue to clients/fitness/lib/google_api/fitness/v1/model/map_value.ex.
Writing Session to clients/fitness/lib/google_api/fitness/v1/model/session.ex.
Writing Value to clients/fitness/lib/google_api/fitness/v1/model/value.ex.
Writing ValueMapValEntry to clients/fitness/lib/google_api/fitness/v1/model/value_map_val_entry.ex.
Writing Users to clients/fitness/lib/google_api/fitness/v1/api/users.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

12:51:26.748 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 05:51:29,779 synthtool [DEBUG] > Wrote metadata to clients/fitness/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/fitness/synth.metadata.
2020-06-07 05:51:29,802 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating Fitness. :sob:
Here's the output from running synth.py:
2020-06-08 05:51:12,476 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-06-08 05:51:13,266 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-08 05:51:13,269 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-08 05:51:13,273 autosynth [DEBUG] > Running: git config user.email<EMAIL_ADDRESS>2020-06-08 05:51:13,275 autosynth [DEBUG] > Running: git config push.default simple
2020-06-08 05:51:13,278 autosynth [DEBUG] > Running: git branch -f autosynth-fitness
2020-06-08 05:51:13,281 autosynth [DEBUG] > Running: git checkout autosynth-fitness
Switched to branch 'autosynth-fitness'
2020-06-08 05:51:13,516 autosynth [INFO] > Running synthtool
2020-06-08 05:51:13,516 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/fitness/synth.metadata', 'synth.py', '--']
2020-06-08 05:51:13,519 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/fitness/synth.metadata synth.py -- Fitness
tee: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api: Is a directory
2020-06-08 05:51:13,726 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-fitness
nothing to commit, working tree clean
2020-06-08 05:51:15,290 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpn_4tv595/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Fitness
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpn_4tv595/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh Fitness
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.1
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

12:51:47.296 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest

12:51:47.457 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/fitness/v1/rest
Revision check: old=20200522, new=20200603, generating=true
Creating leading directories
Writing AggregateBucket to clients/fitness/lib/google_api/fitness/v1/model/aggregate_bucket.ex.
Writing AggregateBy to clients/fitness/lib/google_api/fitness/v1/model/aggregate_by.ex.
Writing AggregateRequest to clients/fitness/lib/google_api/fitness/v1/model/aggregate_request.ex.
Writing AggregateResponse to clients/fitness/lib/google_api/fitness/v1/model/aggregate_response.ex.
Writing Application to clients/fitness/lib/google_api/fitness/v1/model/application.ex.
Writing BucketByActivity to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_activity.ex.
Writing BucketBySession to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_session.ex.
Writing BucketByTime to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time.ex.
Writing BucketByTimePeriod to clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time_period.ex.
Writing DataPoint to clients/fitness/lib/google_api/fitness/v1/model/data_point.ex.
Writing DataSource to clients/fitness/lib/google_api/fitness/v1/model/data_source.ex.
Writing DataType to clients/fitness/lib/google_api/fitness/v1/model/data_type.ex.
Writing DataTypeField to clients/fitness/lib/google_api/fitness/v1/model/data_type_field.ex.
Writing Dataset to clients/fitness/lib/google_api/fitness/v1/model/dataset.ex.
Writing Device to clients/fitness/lib/google_api/fitness/v1/model/device.ex.
Writing ListDataPointChangesResponse to clients/fitness/lib/google_api/fitness/v1/model/list_data_point_changes_response.ex.
Writing ListDataSourcesResponse to clients/fitness/lib/google_api/fitness/v1/model/list_data_sources_response.ex.
Writing ListSessionsResponse to clients/fitness/lib/google_api/fitness/v1/model/list_sessions_response.ex.
Writing MapValue to clients/fitness/lib/google_api/fitness/v1/model/map_value.ex.
Writing Session to clients/fitness/lib/google_api/fitness/v1/model/session.ex.
Writing Value to clients/fitness/lib/google_api/fitness/v1/model/value.ex.
Writing ValueMapValEntry to clients/fitness/lib/google_api/fitness/v1/model/value_map_val_entry.ex.
Writing Users to clients/fitness/lib/google_api/fitness/v1/api/users.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

12:51:47.856 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 05:51:50,446 synthtool [DEBUG] > Wrote metadata to clients/fitness/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/fitness/synth.metadata.
2020-06-08 05:51:50,474 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Forced Hardware Accelerated Animations

Right now Materialize does not force hw acceleration and it is really slow on mobile devices. If this could be forced using translate3d...etc that would be awesome!

We will keep it in mind. But also adding this messes up z-indexing. Whenever necessary we will add it

:+1:


iOS: Accessibility Language Support

Requires API Proposal
This issue may require a new API, or a change to an existing API. An API proposal should be added and discussed before proceeding with implementation. The API proposal can be added in the comments of this issue or linked as a separate issue.
Description
It should be possible to set a specific language for text to be read by VoiceOver. Text to be read is not always the same as the system-wide locale.
React Native version:
v0.63
Expected Behavior
There could be an attribute like "accessibilityLanguage = {...}" which would be set on an applicable type of text.
iOS Details
It seems feasible that the native accessibilityLanguage property could be bridged for applicable components.

I'd like to tackle on this issue as the first contribution to this repo!

I ran into this today and was surprised there wasn't a way to do this yet. Setting language per element can at times be essential; think flashcard and language learning apps for example. Nothing more charming then hearing an american TTS voice mangle a french sentence, I can assure you.

Would love to work on this.  @grgr-dkrk any recent updates?

@katimoth
Thank you, now I'm working on another issue and I'm not working on this one.

Hello! I found myself implementing this for personal reasons, and I think I already have a working branch with a possible implementation. I added an accessibilityLanguage prop typed as string to all the most common elements in RN (so, not just to the Text component). This prop is just a bridge to the iOS native property linked in the issue. I am obviously open to changes! Let me know when and if It's ok for you to open a PR 🙂

I opened a PR just for reference, If it's not a problem we can discuss there for any changes / fix :)


Connections Never Closed

I have noticed that I reach MAX_CONNECTIONS quite quick by just sitting at home being 1 user and querying the database.
It seems like connections doesn´t get released. This is the same project as I uploaded in #41, with the exception that I updated diesel to latest (1.4.4).
Running select * from pg_stat_activity; shows that idle connections is filling up. But I also found that one query got spammed: SET CLIENT_ENCODING TO 'UTF8'
Any ideas of why this is happening? It´s a postgresql v12 database server on ubuntu.

As you are using a connection pool connections should not be closed as they are part of the pool. After looking in your code I would assume that only 8 connections are open at any point of time, as the pool should contain 8 connections.

But I also found that one query got spammed: SET CLIENT_ENCODING TO 'UTF8'

That is done by diesel as part of the connection setup.
Closed because this is certainly no wundergraph issue.  The question remains what and why those connections are opened. Not sure where I would search this issue.


Unable to set specific ignore rules

I'm running emacs with lsp-mode, and have pylsp set up with this plugin
I'm having an issue setting specific ignore rules. for example:
(lsp-register-custom-settings '(
    ("pylsp.plugins.ruff.enabled" t)
    ("pylsp.plugins.ruff.lineLength" 88)
    ("pylsp.plugins.ruff.ignore" "D215")
))

I get this error:
ERROR - pylsp_ruff.plugin - Error running ruff: error: invalid value '2' for '--ignore <RULE_CODE>'
But if I change my config to use the more general D category ("pylsp.plugins.ruff.ignore" "D") instead of a specific rule then everything works fine

I just tried this in neovim, and the following works:
ruff = {
	enabled = true,
	ignore = { "D215" },
},

I'm explicitly casting to an array-type here. I'm no eLisp expert here, but it seems that pylsp receives D215 as a char-array type (which is why 2 is passed individually)
Have you tried putting it into a Vector Type? (ref: https://www.gnu.org/software/emacs/manual/html_node/elisp/Vector-Type.html)
(lsp-register-custom-settings '(
    ("pylsp.plugins.ruff.enabled" t)
    ("pylsp.plugins.ruff.lineLength" 88)
    ("pylsp.plugins.ruff.ignore" ["D215"])
))

yeah that was one of the first things I tried: pylsp.plugins.ruff.ignore" ["D215", "D103"]), but I get a similar error:
ERROR - pylsp_ruff.plugin - Error running ruff: error: invalid value '{'' for '--ignore <RULE_CODE>'

In this case its strange because I'm not even using { anywhere, so somewhere along the way between lsp-mode -> pylsp -> lsp-ruff the type is being converted to {}, but unsure how to figure out where exactly the issue is coming from
(side note: the reason I ended up with the "D215,D103,..." format was because the error suggests the codes are being passed directly into --ignore, which from what I read in the ruff documentation expects just a comma separated list of codes. For example, running ruff --ignore D215,D103 directly in the cli seems to work)

Going through https://github.com/emacs-lsp/lsp-mode/blob/master/clients/lsp-pylsp.el I noticed that use this defcustom to configure the lsp, maybe try to define those and then pass them instead of directly trying to pass the string?

Also check out that there exists some kind of generation script for the configuration settings: https://emacs-lsp.github.io/lsp-mode/page/adding-new-language/#sections

think ive found the solution. they should be passed like so: ("pylsp.plugins.ruff.extendIgnore" ["D415" "D103"])
found it here after trying vectors again and taking a closer look at lsp-mode. thanks!


[FEAT]: add Announce Command

Feature Request
Is your feature request related to a problem? Please describe:

The current say and echo command, act as potential threats to the chat environment.
Thus, these will be replaced by an announce command, which would increase the utility of the bot.
These would be added in a new cog titled Moderation.
Describe the solution you'd like

A new announce command
Additional context

@all-contributors add @nhcarrigan for ideas


No module named importlib

Hi,
upon the new 0.5.5 release you have changed the deprecated dependency of pkg_resources to importlib-metadata. However, I keep getting an error: No module named 'importlib.metadata'

~/anaconda3/envs/core/lib/python3.6/site-packages/umap/init.py in
34 import numba
35
---> 36 from importlib.metadata import version, PackageNotFoundError
37
ModuleNotFoundError: No module named 'importlib.metadata'

I have importlib-metadata installed (version 4.8.2).
Online sources say that the imports should be from importlib_metadata instead of from importlib.metadata.

I think UMAP-learn should specify in the requirements in setup.py something like "importlib_resources>=5.10.2; python_version < \"3.9\"" depending on the required Python version.
Related: #1065


In examples remove the ini file from lib and move to projects

Move Drona.ini file from library to projects on Drona Examples


How to add additional button next to "clear" link (checkbox table)

How to add an additional button next to the "clear" link (checkbox table)? I know that there is "action" slot but I need this on the left side.

hey @unixconky, you can use the selection-row-actions slot:
https://xaksis.github.io/vue-good-table/guide/advanced/checkbox-table.html#selected-row-action-slot
closing.

Would you be open to making a slot that can be used to customize the entire vgt-selection-info-row element? I'd like to put the "2 rows selected" text and "clear" button in a span or p so I can more easily style it :)

how to bind click event in selected-row-action-slot? it does not have any props


[question] what the progress

Can you see the finish line any soon?

Hi @trsh, definitely not.
I'm planning to make first working version with code generation this year, perhaps this autumn. But there's a high probability that it will be not very user-friendly and need a lot of work.


Maven Task Fails with HTTP 501.  Central Repo no longer accepts http traffic, must be https

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Maven
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private: Hosted

If using Hosted agent, provide agent queue name: Azure Pipelines 17

Issue Description
As of 1/15 Maven central repo no longer accepts unencrypted http traffic.  https://support.sonatype.com/hc/en-us/articles/360041287334.
When using maven build the attached log is generated.
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]
mavenFail.txt

in linux i was able to resolve this by removing maven cache folder at /home/user/.m2


🐛 Bug Report: Microsoft OAuth Admin Consent Error

📜 Description
I am encountering the issue that since upgrading from 1.27.0 to 1.30.4 login fails with "Need admin approval" I checked #20641 but I never encountered this issue before or after the fix.
One thing that seems suspicious is the inconsistency in scope casing:
Upper case scopes:
https://github.com/backstage/backstage/blob/99826362d8fcc3e68d7ca16c02101072d561eb9e/docs/auth/microsoft/provider.md?plain=1#L30
https://github.com/backstage/backstage/blob/99826362d8fcc3e68d7ca16c02101072d561eb9e/packages/core-app-api/src/apis/implementations/auth/microsoft/MicrosoftAuth.ts#L64
Lower case scopes:
https://github.com/backstage/backstage/blob/99826362d8fcc3e68d7ca16c02101072d561eb9e/plugins/auth-backend-module-microsoft-provider/src/strategy.ts#L60
https://github.com/backstage/backstage/blob/99826362d8fcc3e68d7ca16c02101072d561eb9e/plugins/auth-backend-module-microsoft-provider/src/authenticator.ts#L30
(The search I used: https://github.com/search?q=repo%3Abackstage%2Fbackstage+User.Read+NOT+test+NOT+old&type=code)
👍 Expected behavior
Login should work without issues for previously working configurations, or troubleshooting, changelog information should be provided.
👎 Actual Behavior with Screenshots
After login in with microsoft provider I get the following error from entra id:

Need admin approval
needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it.

When inspecting the url for signin the following oauth scopes are requested:

openid
offline_access
profile
email
User.Read
user.read
Mail.Send

These duplicates due to casing seems suspicious to me.
User consent is turned off for our organization.
And these are the permissions set (which worked with previous version)

👟 Reproduction steps
Setup a Backstage instance using Microsoft Auth as described in the docs

Add Mail.Send to additionalScopes
Run Application in Production Mode
Login with Microsoft
Get redirected
Encounter admin consent error

📃 Provide the context for the Bug.

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

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Removing Mail.Send from additionalScopes seems to have fixed the issue.
Though the whole upper-case lower-case, and duplicated scopes is probably still worth adressing, closing for now.


[AzurePolicy] Update policy insights version

Description
This PR upgrades the azure-mgmt-policyinsights library to version 1.1.0b2  from 1.0.0
Testing Guide
History Notes
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

AzurePolicy

@najagasi,
Please rerun the following tests:
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_complete
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_management_group
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_policy_set
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_reevaluate

@najagasi Any update?

Could you address these comments by tomorrow? If not, this PR will not be able to catch up with the release of the sprint, and it can only be postponed to the next sprint (05-24)

Working on the feedback

reran and committed

Why did you remove these yaml files?

In addition, there are still some tests that fail in CI, which require you to record in live mode and then push it to this PR:
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_complete
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_management_group
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_policy_set
FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights_remediation_reevaluate

@zhoxing-ms I notive that my tests are passing in live mode in local but when it seems like its failing here.
Any suggestions ?

Please note that there is no updated version from the yaml file you uploaded.

Please make sure that the api-version you use when executing the test locally in live mode is 2021-10-01 instead of the old api-version 2019-07-01

@zhoxing-ms thanks for your feeback, i updated the version in my local and reran the tests.
What else might I be missing ?

FAILED src/azure-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py::PolicyInsightsTests::test_policy_insights

@najagasi Please re-record the yaml file for this test test_policy_insights

i notice this CannotOverwriteExistingCassetteException, how can I resolve this ?

@najagasi Did you temporarily remove the @record_only when re-recording the yaml file of test_policy_insights?

Yes i deleted the yaml file, removed the @record only, ran the test with live, add the @record only.

Please do not merge this yet

We are good to merge this


Error if use number-like unit name when adding timeseries

Code sample or context
Add timeseries to the scenario with unit names represented by numbers (e.g. 1).
Expected result
Timeseries added to the scenario without error.
Problem description
TypeError: No matching overloads found for at.ac.iiasa.ixmp.objects.TimeSeries.addTimeseries(str,str,str,java.util.LinkedHashMap,int,bool), options are:
	public void at.ac.iiasa.ixmp.objects.TimeSeries.addTimeseries(java.lang.String,java.lang.String,java.lang.String,java.util.Map,java.lang.String,int) throws at.ac.iiasa.ixmp.exceptions.IxException
	public void at.ac.iiasa.ixmp.objects.TimeSeries.addTimeseries(java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.lang.Double,java.lang.String,int) throws at.ac.iiasa.ixmp.exceptions.IxException

Test added to the feature/number-like-units branch.
Versions
Most recent version is affected.

Some points we discussed on Slack:

All dimension/attribute labels, except for 'year' (int), are str: this includes 'region', 'unit', 'variable'.

It's fine for these strings to contain number-like values, e.g. the string '1'.
One reason is that certain applications might choose to use well-known numbered codes, and we don't wish to exclude this without reason. E.g. in China, the official number code for Beijing is 11, so this might be stored as region='11'.
For 'unit' in particular, ixmp has not enforced anything about the contents, except that they were previously added with Platform.add_unit(). The value for this attribute could e.g. be 'cheeseburger123.4' which is neither an SI unit, interpretable as a unit, nor parseable by Pint. Following the principle of minimum disruption/surprise, we won't change this at the moment.

If the user provides non-str input for any of these dimensions, there are some options:

Raise TypeError immediately.
Try to convert str(label) and only raise an exception if that fails.

Either way, this must be done in ixmp.core, because it is related to sanitizing user inputs. (Backends are only responsible for storing data that is already in the canonical format.)

@zikolach will you tackle this?

We discussed at dev meeting today and @danielhuppmann will try to assist fixing this bug.


"Invalid token provided" error is masked

The error looks fine https://github.com/kamilkisiela/graphql-hive/blob/173b4844f1dd00453a59013c287e690447620c9a/packages/services/api/src/modules/token/providers/token-storage.ts#L130 but GraphQL Yoga masks it for some reason.
Context #187

https://github.com/kamilkisiela/graphql-hive/blob/173b4844f1dd00453a59013c287e690447620c9a/packages/services/api/src/modules/schema/resolvers.ts#L39-L43
->
https://github.com/kamilkisiela/graphql-hive/blob/173b4844f1dd00453a59013c287e690447620c9a/packages/services/api/src/modules/organization/providers/organization-manager.ts#L97
->
https://github.com/kamilkisiela/graphql-hive/blob/173b4844f1dd00453a59013c287e690447620c9a/packages/services/api/src/modules/token/providers/token-storage.ts#L130


Difficulty in changing values in an easy way

Hey
The WordPress plugin Give https://github.com/WordImpress/Give/issues/110#issuecomment-95345412
uses maskmoney for their custom donation field.
One thing that is difficult is clicking into the text field and changing a value.
Right now:
Cursor blinks behind the 0.00 amount.
Delete keyboard key does not work.
Writing for instance 50 the amount changes to 0.50.
Writing again 00 it then moves the amount forward to become 50.00.
Just a minor hassle but just removing the 0.00 giving an open space for the user to write the amount would be better.
Could this be adjusted making the process easier?

Here's a link of that in action: http://givewp.com/demo

Hi guys.
The value 0.00 value is displayed with the cursor on the right side to make the user know that every typed number will be placed right there and 'moved' to the other point. This makes it simple to type values without bothering with decimal separators. It's currently a feature for applications where the user makes heavy use of the keyboard(tab... 123... tab... 456, and so on). Not showing the 0.00 value can force the user to type the decimal separator or just surprise it by applying the separator at some moment.
I think your request would be more acceptable like an option, like:
$("#field").maskMoney({userNeedsToWriteExactlyTheAmount: true}};

Can you guys open a PR with your suggestion?

What about if the separator were automagically added? That would be the best option

@DevinWalker @paaljoachim well, I think that what tou want is just this:
var field = $('#field');
field.on("blur", function(){
    field.maskMoney('mask');
}

@plentz I just gave that a shot and couldn't get it working as expected. Nothing appear to happen on blur to the input.
`	$body.on( 'blur', '.give-donation-amount .give-text-input', function ( e ) {
//CODE HERE
//Fire up Mask Money
$( this ).maskMoney( 'mask', {
decimal  : give_global_vars.decimal_separator,
thousands: give_global_vars.thousands_separator
} );
});`


hingeABL替换ATL后，效果不好。

Hello, could you please provide detailed information about your experiments, such as the RE method, and the dataset you use?

the dataset chosen is DocRED, and the baseline model is the ATLOP。

It is recommended to conduct experiment on Re-DocRED, since the annotation of DocRED is incomplete, which may cause the overwhelming false negative problem in the DocRED dataset.

如果仍有疑问，欢迎进一步讨论。


Encoding

Title encoding is not set correctly

Fixed in https://github.com/quicoto/RSS-Reader/commit/fa3c9445504a0ac0a4c0f5de7a312b881a17cac6


ng serve is not working

ng serve is not working, Please help me to resolve this

Window 8.1

angular-cli: 1.0.0-beta.9
node: 4.4.7
os: win32 x64
I have run the following commands
$npm install -g angular-cli
$ng new myapp
$cd myapp
$ng serve
angular-cli successfully installed.

In my case, if I do "npm install" again after "cd myapp" it will work.
Also, I usually update all @angular in package.json to "rc.4" and router to beta.2.
I thought I've seen this in an issue before, but I can't find it. Hopefully this will be fixed soon, so you don't have to "npm install" right after you've already waited 10 minutes for the CLI to finish.

It seems like there was a bug when creating the app that skipped the npm install step. Could you try with the latest beta (beta.10) and see if that fixes it? I cannot seem to be able to reproduce locally. Thanks.

I was also facing this but not its resolved:
Put this line in package.json for start:
"start": "ng serve --host <IP_ADDRESS> --port 4201"


文件->打开文件夹，反应非常非常迟钝，直接拖动文件夹到vs code倒是很快

VSCode Version: Code 1.16.0 (787b31c0474e6165390b5a5989c9619e3e16f953, 2017-09-06T16:54:47.289Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.10.0

cpptools
ms-
0.12.3

Steps to Reproduce:

Reproduces without extensions: Yes/No

Can you include some more details about what the problem is and how I can reproduce it?


Add to community examples in README.md

What does this PR do?
Hi all,
I had messaged with @cgarciae in the Flax discussions here. I am opening this PR to add a repository to the Community Examples section.
I appreciate your time and consideration.
Thank you,
Enrico Shippole
Checklist

[x] This change is discussed in a Github discussion.
[x] The documentation and docstrings adhere to the documentation guidelines.

Hi @marcvanzee ,
I made changes to the README.md to resolve the conflicting branch. It allowed me to mark as resolved after adjusting the placement of text in the Markdown table. Can you please ensure this is correct? Otherwise, I will make any other necessary changes.
Thank you,
Enrico Shippole

Hi @marcvanzee ,
I hope all is well. I know you are very busy. I believe the merge conflict is resolved. Can you please confirm that there are no additional changes that I need to make?
I greatly appreciate all of your time, help, and consideration.
Thank you,
Enrico Shippole


Display plugin version number in editor

Feature Description
On the dashboard we already display the plugin version in the bottom right corner.
Can we find a similar spot in the editor? This way users could easily see which version they're on & copy it when making support requests.
Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Simpilistic, but I'd imagine this can just be put in the workspace's empty area, maybe bottom left corner in that area, to the right of the elements panel?

Can we add it to the WP left menu instead.

It's probably not urgent as long as we have the version number in the dashboard

Verified in QA


Issues with ruby 2.2.0

I tried to update my app to ruby 2.2.0 and it seems the Timestamps has an issue but i'm not sure how right now.
I get this error when a new model is saved:
Mongoid::Errors::UnknownAttribute:
Problem: Attempted to set a value for 'updated_at' which is not allowed on the model
ParsedItem.Summary: Without including Mongoid::Attributes::Dynamic in your model and the attribute
does not already exist in the attributes hash, attempting to call ParsedItem#updated_at= for it is not
allowed. This is also triggered by passing the attribute to any method that accepts an attributes hash, and
is raised instead of getting a NoMethodError.Resolution: You can include Mongoid::Attributes::Dynamic if
you expect to be writing values for undefined fields often.

So when it's trying to save the updated_at field i get that it does not exist.
Also after i removed the timestamps it gave me the same issue with a regular field called desc...

Running ruby 2.2 here and everything seems normal. No issues like the one you've mentioned. I think you need to look somewhere else. If you still believe this to be Mongoid issue try to provide minimum working example that showcases this bug.

Thanks @amw for the reply. What happened is that right after i downgraded ruby back from 2.2.0 everything started working again with rails 4.2.0. Downgrading rails was not a solution so that's how i got to this conclusion. I'm not able to make a test right now maybe it was something else. I'll close this issue and get back in case i find other details.

indeed, travis is running green on ruby 2.2 , so mongoid side should be fine.


Allow the user to specify which variant of a version to download

Sometimes not only source tarballs are uploaded, but wheels too. Instead
of always grabbing the first file returned, allow the user to specify
which variant they want.
Noticed when I tried to grab the uritemplate package with this resource, where
the first file returned is not the source tarball but a wheel.

Just pushed the new docker image.


Using Eloquent whereParam()

Throws an error Call to an undefined static method *whereParamId* when you do App\Model::whereParamId($id)->get(). It wants you to do App\Model::where('param_id', $id)->get().

Because this issue seems to be inactive for quite some time now, I will close it. This problem should be fixed by now.
Thank! ☺

The issue has been fixed. Sorry for not reverting soon. Thanks :)


Change import location for mesh

Mesh has moved to github.com/weaveworks/mesh, so we update the import location and remove the old code. Addresses #1889.

Looks good, but needs rebase and the relevant submodule added (we removed the go get from the makefile, so this does not build when merged to master)

Yes, I'm sorry I didn't make the WIP prefix; I know there's still some work to do here. Thanks!

Looks good, but I'd like to double check that nothing has changed in mesh/ since you created https://github.com/weaveworks/mesh before I merge it. Do you happen to know which weave repo commit you copied from?

Do you happen to know which weave repo commit you copied from?

Never mind, diff to the rescue :)


Accelerate the training

Hi, is there a way to accelerate the training,
e.g., python train.py multiagent_traffic_light_grid ?
PS. I've already increased num_cpus to 8  and decreased rollout_size to 100.
PPS. I changed every vf_clip_param in ray folder, yet the param.json in ray_results still show its value  as 10.0.
Thank you.

No, there really isn't a way to increase the training without additional work. See issue #616

There probably are a lot of internal optimizations we don't do though.

There probably are a lot of internal optimizations we don't do though. If you want to identify where we're slow and point them out, we can look into it.

Thanks, I'll look into the linked issue you provided and try to provide helps in general if I can.


V2R7 - Conversion of New Google Sites Wiki pages to Jekyll format.

All pages have been converted.


Keyboard Keys for Player 2 react as Player 1

When using the the keys number : "2,6,4,8", it reacts as the keys for player 1 along with "up,down,right,left".
Is their an hidden parameter in the flash object to separate them?
Thanks!

There isn't any hidden paramater, I think it's a bug.

In my case, I haven't been able to play with 2 players on NES/SNES at all.
It looks like it was possible back then when i read some comments.
A way to map the keyboard controls for the second player would be interesting.


Use a thread for sending heartbeats

This is to track a functionality change whereby instead of sending heartbeats inline with message processing, they are sent via a separate thread.
This introduces the poll_timeout configuration variable, which will force the consumer to time out if it is reached and a new message has not been received within that time.
PR is imminent!

 I'll be very grateful to see this moved to a thread. I'm glad you're already working on this, as I was thinking of taking a stab at a PR myself.

@theturtle32 Well, not sure when I'll be able to get around to rewriting it entirely :) If you're willing to take a stab, please do!


[UI] Fix upload app from manifest for GitLab and GitHub types

Summary
Fixes https://github.com/epinio/ui/issues/238

Superseded by https://github.com/rancher/dashboard/pull/8946


[transactional-tests] More migrated tests

Migrated linker_tests/, method_decorators/, module_member_types/, modules/, mutate_tests/, and mutation/
Most tests were bytecode verifier tests, with a few VM tests

Motivation

Nearly done migrating bytecode verifier/VM related IR tests to transactional tests!

Test Plan

ran em

/land

:broken_heart: Test Failed - ci-test

/land


Prisma CLI is trying to use cloud authentication for a certain local URL

Describe the bug
Prisma CLI is parsing regular local private URLs as cloud workspace URLs with the following error if you are logged in. When you are logged out it is just asking you to login:

Logged In

Logged Out

To Reproduce
Try to deploy the prisma.yml in the following repository: https://github.com/pantharshit00/prisma-issue-4215
Expected behavior
It should be parsed as a local URL and should not trigger cloud authentication flow.
Versions (please complete the following information):

Connector: Postgres
Prisma Server: 1.32.0
prisma CLI: prisma/1.32.0 (darwin-x64) node-v10.15.1
OS: MacOS 10.14.3 Mojave

cc @kshenes

@pantharshit00 Thanks for the reproduction.
Is this server protected by a management secret? Maybe you can also add your docker-compose to the reproduction. In my understanding:

This should only be observed for protected servers.
Adding PRISMA_MANAGEMENT_API_SECRET on protected servers should also fix this?

Can you please confirm these two points?

The server is not protected by managementApi Secret.

Adding PRISMA_MANAGEMENT_API_SECRET on protected servers should also fix this?

No, it doesn't fix this

@kshenes
We did more digging and this is expected.
Your server is not protected by a management API secret.
Right now we are somehow trying to fetch it from prisma cloud so that is why it is erroring out as we cannot find this server.
So as a workaround add an environment variable PRISMA_MANAGEMENT_API_SECRET= so that we skip that step.

To confirm, we were not using a management secret when running version 1.27.3 and all was good.
When we moved to 1.31 we ran into this issue.
Adding a management secret did allow "prisma deploy" to work as it did with versionn 1.27.3

I'm having a similar issue with a fargate + aurora postgres setup. Prisma deploy doesn't work, but if I connect the server to a prisma cloud it starts working. Anything I can do to contribute ?

@Hebilicious
You can provide your prisma endpoint so that we can add it to the unit tests.

@pantharshit00 The url looks like that : http://dev-i-publi-xxxxxxxxxx-xxxxxxxx.eu-west-1.elb.amazonaws.com/XXXXX/xxx

Yes, it is the parsing issue but it is very limited now(only happening for unprotected servers). That is why I opened a new issue. We don't want to notify around 20~ each time for an issue they are not facing anymore

The server is definitely protected by the secret though, here's the prisma.yml
endpoint: http://dev-i-publi-xxxxxxxxxx-000000000.eu-west-1.elb.amazonaws.com/Appname/stage
datamodel: datamodel.prisma
secret: XxxxxXxxxxxxxXxxxxXXxx
generate:
    - generator: typescript-client
      output: ./generated/prisma-client/

seed:
    run: yarn seed

@pantharshit00 I am currently experiencing the same problem as @Hebilicious described. I have deployed a custom server protected by secret. When i try to run prisma deploy against to it, it shows:
 ERROR: Invalid signature

{
  "data": {
    "addProject": null
  },
  "errors": [
    {
      "locations": [
        {
          "line": 2,
          "column": 9
        }
      ],
      "path": [
        "addProject"
      ],
      "code": 3015,
      "message": "Invalid signature",
      "requestId": "local:cjv868laz011q095006rypfau"
    }
  ],
  "status": 200
}

@Hebilicious
I was not talking about the service secret. I was talking about the management API secret(documented here https://www.prisma.io/docs/faq/service-secret-vs-management-api-secret-fq01/). It can override your service secret and it is the one that is consumed while deploying.
@liyucun I also assume you are using service secret instead of management api secret.

@pantharshit00 I am using PRISMA_MANAGEMENT_API_SECRET=*** prisma deploy to run it.

The error clearly says your secret is wrong, try resetting it by changing managementApiSecret in PRISMA_CONFIG

Running into this issue with both CLI and server @1.33 when protected by a PRISMA_MANAGEMENT_API_SECRET. It happens pretty randomly (sometimes it does, sometimes it doesn't) even when exporting or prepending the PRISMA_MANAGEMENT_API_SECRET variable -it is correct.
Happens with either PRISMA_MANAGEMENT_API_SECRET=*** prisma deploy and:
$ export PRISMA_MANAGEMENT_API_SECRET=***
$ prisma deploy

We also stumbled across the issue of prisma deploy prompting to login to prisma cloud even though service is local and not connected to cloud. For us the reason was simply that the docker images and / or machine was not running. After running docker-machine start default and docker-compose up -d the command prisma deploy again deployed the service to the local server running in the image rather than prompting to login to the cloud.

I am also getting this error now with use of prisma 1.34.0 and prisma deploy from an aws ec2 instance talking to the fargate instance.
ERROR: No cluster could be found for workspace '*' and cluster 'default'

{
  "data": {
    "generateClusterToken": null
  },
  "errors": [
    {
      "message": "No cluster could be found for workspace '*' and cluster 'default'",
      "locations": [
        {
          "line": 3,
          "column": 9
        }
      ],
      "path": [
        "generateClusterToken"
      ],
      "code": 222
    }
  ],
  "status": 200
}

@pantharshit00

I'm seeing this issue with 1.34.10

For me PRISMA_MANAGEMENT_API_SECRET=*** prisma deploy worked as suggested by @divyenduz  and @pantharshit00


[20.09] python3Packages.localzone: 0.9.6 -> 0.9.7

Motivation for this change
(cherry picked from commit 0093e4e6a9998f1ff59e79ec31f2341770b7bebb)
backport #99571
backport #99886
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

also had to backport #99571 as ape was failing
https://github.com/NixOS/nixpkgs/pull/99889
1 package failed to build:
ape

4 packages built:
lexicon python27Packages.localzone python37Packages.localzone python38Packages.localzone

https://github.com/NixOS/nixpkgs/pull/99889
5 packages built:
ape lexicon python27Packages.localzone python37Packages.localzone python38Packages.localzone


"CÂMPULUNG MOLDOVENESC" is listed in the drop-down menu

Description:
"CÂMPULUNG MOLDOVENESC" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "CÂMPULUNG MOLDOVENESC" in the search bar.

Expected results
The location is listed in the drop-down menu as "Municipiu CÂMPULUNG MOLDOVENESC, SUCEAVA".


(Tries to) create /.docker

Regression from PR #8112 from what I can tell; basically docker tries to mkdir("/.docker"), which is denied on Project Atomic hosts.
I think this might be the first use of $HOME in the engine, or at least that runs by default.  For Project Atomic we use systemd and docker's working directory is /.  Perhaps we should set WorkingDirectory=/var/lib/docker, but then we'd end up with /var/lib/docker/.docker which would be at least odd.
Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1169593

Am I correct in that https://github.com/docker/docker/pull/8265 will go back to specifying the certificate location on the engine command line, and obviate the need for $HOME in the engine?

This has been fixed by #10234


Update clap minor version

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Related issues
A list of issues either fixed, containing architectural discussions, otherwise relevant
for this Pull Request.
Additional Notes
Anything else we should know when reviewing?

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1173  👈 (View in Graphite)
#1172
#1171
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Dec 23, 6:42 PM EST: A user merged this pull request with Graphite.


withGoogleMap is not a function?

I keep getting the error that Uncaught TypeError: (0 , _reactGoogleMaps.withGoogleMap) is not a function
does anyone else get this error, i am importing withGoogleMap from react-google-maps.

This happened to me earlier, make sure you have version 6.0.0 or above.
By default, npm downloaded v4, so you should look at these docs instead
If you want to use the withGoogleMap method, run
npm install --save<EMAIL_ADDRESS>

Thanks @cameronmoreau !

Thanks @cameronmoreau !

Its still not working!

Please refer to Getting Help section in the README (or #469).


Global: Move all type imports to their own import statement

Currently:
import { FooComponent, BarType } from './foo';

Should be:
import { FooComponent } from './foo';
import type { BarType } from './foo';

Closed with https://github.com/GetTerminus/terminus-oss/pull/438


[BUG] Endless "enabling sync" debug messages.

At some point in running a node there suddenly appear endless "enabling sync" debug messages.

Can not reproduce, but it seems that peers do not answer and the node hangs in this loop.

I have seen this, and it is a logging present in a conditional case during sync, IIRC.  The logging is spammy, but I don't recall it being a bug when I looked into it.
In my experience it resolves itself if you let it run for 5 minutes or so.  Can you confirm that it hangs irrecoverably next time it happens? Or check that it resolves itself given time to do so?


before_validation callback in model is called twice

Model:
class Company < ActiveRecord::Base

before_validation :confirm, on: :create

def confirm
  p "label 1"
  self.confirmed = true
end

Fabricator:
Fabricator(:company) do
  title "Test"

  after_validation { |company, _| company.confirmed = false; p "label 2" }
  before_save { |company, _| company.confirmed = false; p "label 3" }
end

company = Fabricate(:company)
"label 1"
"label 2"
"label 3"
"label 1"
=> #<CompanyPart:0x005617a35cc040>

company.confirmed
=> true

But must be false!
I think there is double-check validation somewhere in the code of a gem

This is a duplicate of #267


Querying via event store

Thanks for writing this library, I really like the look of it.
I am doing a proof-of-concept of using this library to manage state for turn-based games. When a client joins, I'd like to be able to send them a list of all events that have been persisted for a particular game.
In the courses example, querying seems to be implemented by going to the database directly rather than via the event store.
Do you have any plans to support querying events by domain entity via the event store so that the details of the event store implementation are abstracted?

Hi @dspasojevic,
Thank you for your feedback! Could you please provide more context on what you're trying to achieve? This will help us better understand if there's room for improvement in our API.
To access events through the event store, you can use the stream method of the EventStore. You can query EventStore like this:
event_store.stream(&query!(GameEvents, game_id == game_id)).await;

Or, if you're retrieving events from the last_seen_event_id:
event_store.stream(&query!(last_seen_event_id; GameEvents, game_id == game_id)).await;

Let us know if this answer your question.

I'll close this issue due to inactivity. @dspasojevic, if you need further insights, please let us know.


N-US

          I created mixins for the new flex-box spec. They live in the new-flex-box branch: https://github.com/thoughtbot/bourbon/blob/new-flex-box/app/assets/stylesheets/css3/_flex-box.scss

Though, because the new spec is approaching Candidate Recommendation stage, browser vendors are encouraged to drop vendor prefixes at CR stage. Because of this, these mixins may never actually get introduced into Bourbon master.
As far as I can tell, these mixins only have effect on webkit right now. As of Aug 30th, when I tested mozilla nightly, new flexbox has yet to be implemented.
New flex box is worth playing around with though!
Originally posted by @plapier in https://github.com/thoughtbot/bourbon/issues/115#issuecomment-8301763

H

No Parts

Closing this as we're archiving the project.


Remove unused <string> include from Texture.hpp

Self-explanatory.

SFMLBuildMaster: Build this please.


Bug:  the port number is omitted from [Add to ArchiveBox] link at [Add new URLs to your archive] page footer

Describe the bug

If the site serviced in https://somedomain.com:20443
The footer Add to ArchiveBox link at the page https://somedomain.com:20443/add will be javascript:void(window.open('http://somedomain.com/add/?url='+document.location.href)); at this moment.
The working link should be javascript:void(window.open('http://somedomain.com:20443/add/?url='+document.location.href));.
 I can't re-create that bug.

I can't reproduce it either actually. I didn't fix anything related to it, I'll leave it open for a while to see if anyone else reports it.

Closing as stale, this link was removed entirely as users should now use the chrome extension instead of a JS bookmark. https://chromewebstore.google.com/detail/archivebox-exporter/habonpimjphpdnmcfkaockjnffodikoj


Trouble importing AttrDict

Hi there - I'm having trouble running the inference code. Can't seem to import AttrDict from env.
ImportError                               Traceback (most recent call last)
<ipython-input-1-7f2d8b5f7f6d> in <module>
15
16 from omegaconf import OmegaConf
---> 17 from env import AttrDict
18
19 from synthesizer import Synthesizer
ImportError: cannot import name 'AttrDict'
Things I've tried:

!pip install env
Installed AttrDict=2.0.0=py36_0 via conda
Made sure Python=3.6.8

Any help would be appreciated :)

Think I solved by substituting attrdict for env.


Get-DbaRegisteredServerName - changed SqlInstance to accept collection

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included

Purpose

Allows multiple SqlInstance to be passed in.
Added examples to help
cleaned up case of variables/params throughout

Approach

Added foreach to loop through SqlInstances that are passed in
Commands to test

Get-DbaRegisteredServerName -SqlInstance server1,server2
Returns the servers registered to both server1 and server2 in one list

Thank youuuuuu!


Add offline chat example

Maybe make it a float to clarify that it can be i.e. 0.25 for 25% point gain rate in offline chat?

sure

@pajlada Requested change has been made.


Add 3d books to the Reading Therapy's books section

Will, it looks good if we add 3D books instead of plain images, with some animations?
Like this 👇

If you think it will look good, then I am ready to take this issue.

How would you add them?
in the form of image?

No, I will remove these images and div, and instead of these, I will make those 3d books by using HTML and CSS with the hover effect.

Sounds interesting

@Shivam-Katare Go ahead

Hey, @Susmita-Dey I have implemented the 3D books. Is this look good?
Preview

But since there are some issues with raising the "PR" for this one, could you please merge my earlier "PR" #453?


fix: calculate version / release when using skip release

skip release was not used
calculation moved to be just done by sematic release/should be more correct now
renamed summary workflow/misc input descriptions

⚠ I will need to test more before considering merging!!

@Krande
From what I can tell this is working like expected now.
Unless you find/see anything then we can merge.


create CSS Box_Model.md

What is the change?
Added CSS Box_Model.md
Related issue?
closes: #11
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] I have followed the Code of Conduct.
[x] I have  checked there aren't other open Pull Requests for the same update/change.
[ ] I have you tested the code before submission.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm Hacktoberfest'21 contributor.

Screenshots (if any)

It's plagiarized.  Please try to write documentation by your own.

here the new documentation can you please review this one


Can't install behind the proxy

Describe the bug
The build is failed behind proxy
To Reproduce
Steps to reproduce the behavior:
When executing the docker build step in the install-dependencies.sh, RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt failed with error msg:  => => # Unable to retrieve JSON from https://updates.jenkins.io/update-center.json?version=2.377: Connect to updates.jenkins.io:443 [updates.jenkins.io/<IP_ADDRESS>] failed: Connection timed out (Connection timed out)
Checked the env proxy variables, those are set correctly.
Tried solutions

Set ENV in the Dockfile - > same error
Config Docker service and restart Docker service -> Same error
Try to skip this step, the build is okay -> try to execute this step within the container -> failed
use native java cmd java -Dhttp.proxyHost={my_proxy} -Dhttp.proxyPort={my_port} -jar /opt/jenkins-plugin-manager.jar -f /usr/share/jenkins/ref/plugins.txt -> failed.
When tried to curl -I https://updates.jenkins.io/current/update-center.json within the container, it returned 200 code.

**
Screenshots

Finally, this is solved by replacing the RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt by RUN java -Dhttp.proxyHost={proxy_ip} -Dhttps.proxyHost={proxy_ip} -Dhttp.proxyPort=8080 -Dhttps.proxyPort=8080 -jar /opt/jenkins-plugin-manager.jar -f /usr/share/jenkins/ref/plugins.txt
Reference: https://github.com/jenkinsci/docker/issues/1005


Bad commits in "master" history

Some bad commits which confuse the Microsoft TFS Git implementation (used internally at Microsoft) entered the history of visualfsharp master branch recently, and a force push has been needed.  This may affect your working branches if you have cloned or pulled the "visualfsharp" master branch between October 13 and 17.
These commits are “bad” in that they represent repositories with multiple GIt directories distinguished only by capitalization. TFS’s Git support (used internally at Microsoft) can’t consume these commits.  We must expunge these commits from the history of the visualfsharp repo.  We have no choice since otherwise we can’t integrate back into the Microsoft build systems.
  However, If you have a branch that includes the above commits, please rebase or cherry-pick your work to include none of the above commits, and instead be based on the last "good" commit 2002675f8aba5b3576a924a2e1e47b18e4e9a83d .
  You can also cherry-pick your commits if you wish to keep your log messages
git stash apply

# Commit your changes once again.
git commit -a -m “your commit message”

# Do a forced update of your branch back to your Git account since your history has changed
git push -f origin your-branch

If you need advice, please comment below.
Note, if you get the following capitalization conflict in a later merge:
CONFLICT (modify/delete): src/fsharp/fsharp.core.netcore.nuget/layoutfscorenuget.fsx deleted in Updated upstream and modified in Stashed changes. Version Stashed changes of src/fsharp/fsharp.core.netcore.nuget/layoutfscorenuget.fsx left in tree.

Please do the following to clear the merge on this file
git rm --cached src\fsharp\fsharp.core.netcore.nuget\layoutfscorenuget.fsx
git add src\fsharp\FSharp.Core.netcore.nuget\layoutfscorenuget.fsx

Stashed changes

Closing this as using squash commits seems to solve problems


Deploying a serverless Django application with Zappa on AWS

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

This closes #4117

Hello @Anitaachu
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
Deploying a serverless Django application with Zappa on AWS #5315 Copyleaks Report.pdf

Hi@jerimkaura, I have gone through the changes. Thank you.

Thank you @kayere I have gone through the attached PDF and I noticed that 90% of the red flags were caused by generally Django and Zappa code snippets.

Thank you @jerimkaura. I have taken note of the corrections and images. I have also made changes with regards to resizing the hero image.  Thanks!

jumping on this one


Publish Avalonia version to NuGet

To give our users a chance to take a look at the Avalonia version of our library, we need to publish it to NuGet.
I have the following plan:

I'll create a separate nuspec for Avalonia in a feature/17-avalonia branch
I'll publish the branch as a separate NuGet artifact and mark it as a preview
We'll have separate versioning for the master and Avalonia branches for now and will possibly merge the versioning schemes in future
That means that Avalonia branch is now set in stone: no rebase for it (because each public release should be strictly reproducible and thus requires a tag)

At that moment, it's important to mark everything as preview or "alpha" so people won't rely on our code too much. Everything inside of that artifact is a subject of very likely changes.

Decided to name the artifact this way:
<id>AvaloniaMath</id>
<title>Avalonia-Math</title>

https://www.nuget.org/packages/AvaloniaMath


Fire onSuggestSelect at the appropriate times

Description
This would fix some unexpected behavior where the onSuggestSelect event is triggered even when nothing has been selected https://github.com/ubilabs/react-geosuggest/issues/191

Anything I can do to help move this guy along?

Hi @mkuipers
First of all, thanks for this PR!
Unfortunately, there are some issues with the PR and its implementation.
We've been discussing these, but have not yet come to a decision. That's why there's been the long radio silence from our side.
Firstly, geocoding the input when no suggest is available is a feature, not a bug. It was required for the use case we originally developed Geosuggest for. Disabling it altogether would be a breaking API change, and would remove a feature. We are currently discussing the possibility of making it an option.
Secondly, the PR currently disables the geocoding in a very inefficient way. It would be better not to run the Geocoder at all instead of just ignoring the result.
That being said, it's awesome that you added test cases!
I know that not hearing back on a PR for such a long time is annoying, but right now I'd like to ask to hang tight while we discuss how to best implement this.
We'll sure find a solution to cater for your needs, but it might take a few more days :)

No problem, thanks for the feedback. Another alternative entirely is to have a different event that fires when the geocode happens.  If geocoding the input when no suggest is available is the desired functionality, why not have an onInputGeocoded event?
I see where you're coming from on this being desired functionality and I suspected that this was the case to begin with. It looked deliberate. I wonder, though, if the term onSuggestSelect is really the appropriate term for what's happening here though.
Just a thought but I would avoid providing an option to disable geocoding when no autocomplete suggestion is available. This does not seem in line with the design and intent of this component. Instead, I would suggest making the distinction between the two events: onSuggestSelect(suggestWithGeocodeResults) and onInputGeocoded(geocodedResult)

Sounds sane to me.
This would, however, be a breaking change and thus a major release version.
We are always a bit hesitant to release breaking changes, for obvious reasons.
We'll see what @ro-ka thinks about this.

As far as breaking API changes go, you bring up a good point.  Any change to the timing of onSuggestSelect would need to be part of a new major release.

In my opinion having two events firing complicates usage of the component. As @Caerostris said, we want to avoid breaking changes. Maybe for a distant 2.0 release if there ever is enough that demands such a release.


Incorrect handling of mixed Gaussian states

Before posting a bug report

[X] I have searched exisisting GitHub issues to make sure the issue does not already exist.

Expected behavior
Given a Gaussian state one expects that state.is_pure == state.is_hilbert_vector.  However, the implementation of

is_hilbert_vector uses np.allclose with default value atol value, whereas
is_pure uses np.isclose with non-default value atol = 1e-6,

consequently allowing behavior where the state is considered both a vector in specific contexts and a density matrix at the same time.
Actual behavior
One incorrectly observes state.is_pure != state.is_hilbert_vector.
Reproduces how often
Whenever np.isclose(purity, 1.0, atol = 1e-6) != np.isclose(purity, 1.0).
For example if purity == 0.9999899.
System information
...

Source code
fail_state = (
    mrmustard.lab.TMSV(r = 0.0115, modes = [ 0, 1 ])
    >> mrmustard.lab.Attenuator(transmissivity = 0.96)[1]
)
assert(fail_state.is_pure == fail_state.is_hilbert_vector)

Tracebacks
No response
Additional information
No response

Hi Jan, thanks for finding this. We should use a consistent atol for the same quantities. This seems like an easy fix, would you like to open a PR for it?

I can do that tomorrow morning, no problem. On this note, could there be some use-cases where having the tolerance set through Settings would benefit the users?


Test case for JR::Resource.resource_for_model_path

The problem occurs when we have two Resources with the same
model_name, when we try to find the resource for a model, it returns
the first Resource that was loaded using resource_for, not the correct
one.

I think this is related to the STI patch. The find method now attempts to guess the resource based on the model class, previously it just used self. But as your example shows given a model it's impossible to guess the correct resource.

@ggordon I totally agree, as it's working today its kind of "one way" algorithm heheh
about this problem, I discussed with @lgebhardt on gitter and sent this PR just to exemplify the problem with a test, it was introduced on v0.6.2, I don't know the internals to try a fix, but I'm available in what I can help
thank you


Generating makefile

It would be useful to be able to generate makefiles that accomplish what a cpkg build would do.
This would essentially make cpkg into something like premake.
Why
For my specific usecase, assignments are going to need to be accompanied by a makefile.
But I see how this could be useful for distributing projects to people who do not have cpkg for them to build it with other tools.
Why not
This may pose future issues as cpkg gets more functionality. Notably with dependencies.
I think it's fine to leave that discussion for later.
The command
No obvious command name strikes me, cpkg generate seems too general.. maybe cpkg export make / cpkg gen make / cpkg into make, which could later be used for other build systems..
Implementation
I don't think it would be all too difficult considering that cpkg itself is essentially a modern version of make. Some code may need to be

Ended up going with cpkg generate make.
Not too fond of the small names hence going with generate instead of gen, and format instead of fmt.


Social media buttons content centered

Is your feature request related to a problem? Please describe.
It would be great to have the ability to center social media button content.
Additional context

That should be pretty simple to implement. Do you think it should just be added as another option in the Auth Setup Screen?

Let me know.
Eventually the settings screen will probably need to be re-organized as we add more settings :)

Thanks, Tony!


Disable -b (--bookmark) startup option when running in multi-session mode

Bookmark option should be disabled (or ignored) when starting pgweb in multi-session mode. This causes panic:
Pgweb v0.9.9 (git: 4cacfc253c722fc7724e4c688693576dd4a7401d)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1454014]

goroutine 1 [running]:
github.com/sosedoff/pgweb/pkg/cli.initClientUsingBookmark(0xc420137460, 0x20, 0x7fff5fbff5c4, 0x3, 0x10b512b, 0xc4200d60c0, 0xc4201545c0)
	/Users/sosedoff/go/src/github.com/sosedoff/pgweb/pkg/cli/cli.go:48 +0x264
github.com/sosedoff/pgweb/pkg/cli.initClient()
	/Users/sosedoff/go/src/github.com/sosedoff/pgweb/pkg/cli/cli.go:64 +0x105
github.com/sosedoff/pgweb/pkg/cli.Run()
	/Users/sosedoff/go/src/github.com/sosedoff/pgweb/pkg/cli/cli.go:184 +0x2b
main.main()
	/Users/sosedoff/go/src/github.com/sosedoff/pgweb/main.go:8 +0x20

I'll take it

@cristianoliveira any progress? regarding the panic, its actually not related to bookmarks, there was a bug with nil ssh info on the bookmark struct which i already fixed in master.

Hey @sosedoff Sorry. I couldn't take a look into it already. Do you think some change regarding this  pgweb/pkg/cli/cli.go is still necessary? If so I can take a look later or other day

@cristianoliveira i fixed this in #300

Ahh great! :)

Im closing this since the fix has been merged to master


269 to 270 4

See detailed description in the commit message.

The Swagger error in this PR is due to the enum change which we are trying to merge in. We have made the change already in 2.69.0.
Would it therefore be okay to proceed with merging?


WeakObserver does not work properly

Collecting and sleeping for 2 seconds
Interval - OnNext(0)
Done sleeping
removing the strong reference, collecting and sleeping for 2 seconds
Interval - OnNext(1)
Interval - OnNext(2)
Done sleeping
Interval - OnNext(3)
Interval - OnNext(4)
Interval - OnNext(5)

It continues going after that.
Admittedly, 1 out of 10 times that I've run it, I got it to match what the book showed.
But as far as I am concerned the issue is not so much that the Observable is not being disposed. Rather, one would expect the opposite - if only the proxy is holding a weak reference to the Observer then what is there to stop the GC from disposing it too early?
            var subscription =
                Observable.Interval(TimeSpan.FromSeconds(1))
                    .AsWeakObservable()
                    .SubscribeConsole("Interval");
...
            subscription = null;

Do weak references really depend on whether their container is reachable? I doubt that is the case as it would make implementing various weak data structures impossible.

@mrakgr have you ran it with a debugger attached? if so, try to run it without it

have you ran it with a debugger attached?
I did it without the debugger in both Debug and Release mode.

I have the same issue, when running the example.

Thanks for bringing this back again @mortenbrudvik
I forgot to go back here and update on this.
The reason for this issue is because of poor choice of the example from my side and not due to a bug in the WeakObservable.
Behind the scenes the Interval observable created in the example use the System.Threading.Timer which maintain a strong reference (with a static member) to the callback used to notify the observer.
You can see this in attached image

The result of this is that the WeakReference on the observer would not help here.
if we change the example and create our own IntervalObservable which doesn't work with System.Threading.Timer you would see that everything works as expected
var myIntervalObservable=
    Observable.Create<int>(o =>
    {
        var obsSubscription = new BooleanDisposable();

        Task.Run(async () => {
            int i = 0;
            while (!obsSubscription.IsDisposed)
            {
                o.OnNext(i++);
                await Task.Delay(1000);
            }
            o.OnCompleted();
        });

        return obsSubscription;
    });

var subscription =
    myIntervalObservable
        .AsWeakObservable()
        .SubscribeConsole("Interval");

Console.WriteLine("Collecting and sleeping for 2 seconds");
GC.Collect();
Thread.Sleep(2000); //2 seconds

GC.KeepAlive(subscription);
Console.WriteLine("Done sleeping");
Console.WriteLine("removing the strong reference, collecting and sleeping for 2 seconds");

subscription = null;
GC.Collect();
Thread.Sleep(2000); //2 seconds
Console.WriteLine("Done sleeping");

Console.ReadLine();

cc @mrakgr


minor issue regarding Bitbucket

Laravel Version: 5.3+

In the bitbucket readme.md preview html is not supported

Not that anyone has died because of this, but I'm just making sure you guys are aware of this 🎁

Commit that changed it: 172f9d63fa9787ad785f2e8358c952b001e5c893

Well laravel is hosted on GitHub, so I now reason why we should check other providers. But thanks for letting us know :)

The main audience it concerns is people hosting their brand new Laravel project there (or never updated the readme.md file), and are greeted by the html @themsaid

Shouldn't said audience replace the readme.md with their own content, explaining their own application?


Adding financial APIs- EODHD API and BitMart API

I want to add these APIs in the financial API collection .Kindly assign me this issue.

Take this down
basically the creators of this are abusing  their power and arent treating people who help contribute and maintain the project so unlike this unstar this star ny fork of this that doesnt support this one
#3104
#3484

Sure


Update to libpng 1.2.52

This is useful because the changes to the png_debug macros in png.h are needed to be
able to compile in C++-11 mode (at least with gcc-4.8.4)

Is this just a straight dependency update, or did you need to make any changes?

Entirely straight. Here is the diff of the directory this was pushed from vs. the libpng tarball:
Only in /tmp/p3/libpng-code: aclocal.m4
Only in /tmp/p3/libpng-code: ANNOUNCE
Only in /tmp/p3/libpng-code: autogen.sh
Only in /tmp/p3/libpng-code: CHANGES
Only in /tmp/p3/libpng-code: CMakeLists.txt
Only in /tmp/p3/libpng-code: compile
Only in /tmp/p3/libpng-code: config.guess
Only in /tmp/p3/libpng-code: config.h.in
Only in /tmp/p3/libpng-code: config.sub
Only in /tmp/p3/libpng-code: configure
Only in /tmp/p3/libpng-code: configure.ac
Only in /tmp/p3/libpng-code: contrib
Only in /tmp/p3/libpng-code: depcomp
Only in /tmp/p3/libpng-code: example.c
Only in /tmp/p3/libpng-code: .git
Only in /tmp/p3/libpng-code: INSTALL
Only in /tmp/p3/libpng-code: install-sh
Only in /tmp/p3/libpng-code: KNOWNBUG
Only in /tmp/p3/libpng-code: libpng-1.2.52.txt
Only in /tmp/p3/libpng-code: libpng.3
Only in .: libpng.gyp
Only in /tmp/p3/libpng-code: libpngpf.3
Only in .: libpng.target.mk
Only in /tmp/p3/libpng-code: ltmain.sh
Only in /tmp/p3/libpng-code: Makefile.am
Only in /tmp/p3/libpng-code: Makefile.in
Only in /tmp/p3/libpng-code: missing
Only in /tmp/p3/libpng-code: mkinstalldirs
Only in /tmp/p3/libpng-code: png.5
Only in /tmp/p3/libpng-code: pngbar.jpg
Only in /tmp/p3/libpng-code: pngbar.png
Only in /tmp/p3/libpng-code: pngnow.png
Only in /tmp/p3/libpng-code: pngtest.c
Only in /tmp/p3/libpng-code: pngtest.png
Only in /tmp/p3/libpng-code: projects
Only in .: README.modpagespeed
Only in /tmp/p3/libpng-code: scripts
Only in /tmp/p3/libpng-code: test-driver
Only in /tmp/p3/libpng-code: test-pngtest.sh
Only in /tmp/p3/libpng-code: TODO
Only in /tmp/p3/libpng-code: Y2KINFO
We may actually want to consider using DEPS to pull libpng out of their git repo, which seems to exist these days.

If it's a straight copy then DEPS would make a lot of sense.  Are you up for doing that?

Sure, I'll give it a shot (as you are aware DEPS updates are kinda
janky...).  And woops, looks like we also had a copy in google-side repo,
so this is the wrong place to update, getting rid of that seems desirable.
On Fri, Oct 23, 2015 at 10:49 AM, Jeff Kaufman<EMAIL_ADDRESS>wrote:

If it's a straight copy then DEPS would make a lot of sense. Are you up
for doing that?
—
Reply to this email directly or view it on GitHub
https://github.com/pagespeed/mod_pagespeed/pull/1156#issuecomment-150596000
.

Created https://github.com/pagespeed/mod_pagespeed/pull/1157 as a DEPS-using alternative


HIVE-24562: Deflake TestHivePrivilegeObjectOwnerNameAndType

What changes were proposed in this pull request?
This change modifies the test TestHivePrivilegeObjectOwnerNameAndType in the hope that it will reduce the intermittent failures that I saw on my unrelated PR. The full trace of the failure is available in the JIRA.
Why are the changes needed?
Deflake the test.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Ran the modified test locally.

Why the test sometimes pass without the fix?

Yeah, I am not sure about this. The exception trace that I see suggests that this should fail every time since datanucleus should automatically create the tables.


[BEAM-2721] Refactor BeamRecordType and BeamRecord

Add BeamRecordType.Field to simplify creation of BeamRecordType.
Replace constructors with factory methods.
Add Collectors to simplify creation from collections.
Convert some iterative logic to streams.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @kennknowles could you take a look if this makes sense?

retest this please

retest this please

retest this please

retest this please

something's wrong with python

Yes, it is https://issues.apache.org/jira/browse/BEAM-3628

 if it looks good to @xumingmin

Reviewed 34 of 38 files at r1, 5 of 6 files at r2.
Review status: 16 of 39 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

Comments from Reviewable


When I change settings, the UI goes crazy until I maximize

When I change a settings that has to do with text boxes, the UI goes crazy like this:
https://gyazo.com/d4ca7aaf44f6746f2c9163a094bf992a
It only gets fixed if I maximize the client then back to regular size.

https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration


Publishing AspNet Web Project is unsupported

In linux, why msbuild doesn't support publishing (with a pubxml) a web project (mvc)?
Msbuild outputs "Skipping unpublishable project" probably from this code Line 5213.

I am trying to run msbuild on mono with a publish profile and it seems to ignore it:
 msbuild ./Api.csproj -p:Configuration=Release;PublishProfile=MyProfile

I am having the same problem. Could any of you solve this?

Sorry. I was never able to solve this.


fix: update ocamlformat version so autoformatting actually works

macos ventura 13.2.1
m1
ocaml 4.14
I noticed that autoformat doesn't work until I updated the version in the .ocamlformat file. Unsure why, but now my vscode actually formats. It's possible that you want the current style, but updating the ocamlformat version adheres to some new defaults of theirs. But I think just getting the autoformat to actually work is a great win.
Following this, it'd be really helpful to have one PR (or a few) format the entire project.

Thanks!


change the recipe base for the sturdy device

 autistic.sack.of.friends on Discord says

currently its a cog, which means you need automation of wood to get sturdy devices. i was under the impression it was supposed to be automatable before wood.

 yarden.zamir on Discord says

my original intent is to automate it after wood. We can descuss that tho