pass multiple setup_args through pip install

I'm trying to build scipy on fedora which requires passing
python -m build --no-isolation --skip-dependency-check -Csetup-args=-Dblas=flexiblas  -Csetup-args=-Dlapack=flexiblas .

so that meson will correctly find lapack.  This works because with build, the -C accumulate (observationally).  In private communications with @rgommers he said that mulitple instances of -C was preferable to adding shlex style splitting to the strings passed to setup-args.
However it does not seem that --config-settings is pip does not accumulate and I can not find the right way to escape the command so that it flows through correctly (examples below).  I am not sure if this is a issue in meson-python or should be reported upstream, but starting here.

Picks up the opening quote as part of the name
$ python -m pip install --no-build-isolation --config-settings="setup-args=-Dblas=flexiblas setup-args=-Dlapack=flexiblas" .
Processing /home/tcaswell/source/p/scipy/scipy
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [25 lines of output]
      Traceback (most recent call last):
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in prepare_metadata_for_build_wheel
          hook = backend.prepare_metadata_for_build_wheel
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'mesonpy' has no attribute 'prepare_metadata_for_build_wheel'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 148, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 1070, in build_wheel
          with _project(config_settings) as project:
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/contextlib.py", line 137, in __enter__
          return next(self.gen)
                 ^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 980, in _project
          raise ConfigError(f'Unknown config setting: {key!r}.  {postfix}')
      mesonpy.ConfigError: Unknown config setting: '"setup-args'.  Did you mean one of: ['setup-args', 'dist-args', 'install-args']
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Does not split
$ python -m pip install --no-build-isolation "--config-settings=setup-args=-Dblas=flexiblas setup-args=-Dlapack=flexiblas" .
Processing /home/tcaswell/source/p/scipy/scipy
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [78 lines of output]
      + meson setup --prefix=/home/tcaswell/.pybuild/bleeding /home/tcaswell/source/p/scipy/scipy /home/tcaswell/source/p/scipy/scipy/.mesonpy-pj90uyro/build --native-file=/home/tcaswell/source/p/scipy/scipy/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2 -Dblas=flexiblas setup-args=-Dlapack=flexiblas
      The Meson build system
      Version: 0.64.0
      Source dir: /home/tcaswell/source/p/scipy/scipy
      Build dir: /home/tcaswell/source/p/scipy/scipy/.mesonpy-pj90uyro/build
      Build type: native build
      Project name: SciPy
      Project version: 1.10.0.dev0
      C compiler for the host machine: ccache cc (gcc 12.2.1 "cc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
      C linker for the host machine: cc ld.bfd 2.38-25
      C++ compiler for the host machine: ccache c++ (gcc 12.2.1 "c++ (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
      C++ linker for the host machine: c++ ld.bfd 2.38-25
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Compiler for C supports arguments -Wno-unused-but-set-variable: YES
      Compiler for C supports arguments -Wno-unused-function: YES
      Compiler for C supports arguments -Wno-conversion: YES
      Compiler for C supports arguments -Wno-misleading-indentation: YES
      Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
      Library m found: YES
      Fortran compiler for the host machine: gfortran (gcc 12.2.1 "GNU Fortran (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
      Fortran linker for the host machine: gfortran ld.bfd 2.38-25
      Compiler for Fortran supports arguments -Wno-conversion: YES
      Checking if "-Wl,--version-script" : links: YES
      Program cython found: YES (/home/tcaswell/.virtualenvs/bleeding/bin/cython)
      Program python found: YES (/home/tcaswell/.virtualenvs/bleeding/bin/python)
      Found pkg-config: /usr/bin/pkg-config (1.8.0)
      Program pythran found: YES (/home/tcaswell/.virtualenvs/bleeding/bin/pythran)
      Run-time dependency threads found: YES
      Library npymath found: YES
      Library npyrandom found: YES

      ../../scipy/meson.build:134:0: ERROR: Characters <, > and = are forbidden in dependency names. To specifyversion
       requirements use the 'version' keyword argument instead.

      A full log can be found at /home/tcaswell/source/p/scipy/scipy/.mesonpy-pj90uyro/build/meson-logs/meson-log.txt
      Traceback (most recent call last):
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in prepare_metadata_for_build_wheel
          hook = backend.prepare_metadata_for_build_wheel
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'mesonpy' has no attribute 'prepare_metadata_for_build_wheel'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 148, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 1067, in build_wheel
          with _project(config_settings) as project:
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/contextlib.py", line 137, in __enter__
          return next(self.gen)
                 ^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 982, in _project
          with Project.with_temp_working_dir(
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/contextlib.py", line 137, in __enter__
          return next(self.gen)
                 ^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 750, in with_temp_working_dir
          yield cls(source_dir, tmpdir, build_dir, meson_args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 632, in __init__
          self._configure(reconfigure=bool(build_dir) and not native_file_mismatch)
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 680, in _configure
          self._meson('setup', *setup_args)
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 657, in _meson
          return self._proc('meson', *args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 652, in _proc
          subprocess.check_call(list(args), env=self._env)
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['meson', 'setup', '--prefix=/home/tcaswell/.pybuild/bleeding', '/home/tcaswell/source/p/scipy/scipy', '/home/tcaswell/source/p/scipy/scipy/.mesonpy-pj90uyro/build', '--native-file=/home/tcaswell/source/p/scipy/scipy/.mesonpy-native-file.ini', '-Ddebug=false', '-Doptimization=2', '-Dblas=flexiblas setup-args=-Dlapack=flexiblas']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Only keeps the last flag:
$ python -m pip install --no-build-isolation --config-settings=setup-args=-Dblas=flexiblas --config-settings=setup-args=-Dlapack=flexiblas .
Processing /home/tcaswell/source/p/scipy/scipy
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [80 lines of output]
      + meson setup --prefix=/home/tcaswell/.pybuild/bleeding /home/tcaswell/source/p/scipy/scipy /home/tcaswell/source/p/scipy/scipy/.mesonpy-3zs0lpwm/build --native-file=/home/tcaswell/source/p/scipy/scipy/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2 -Dlapack=flexiblas
      The Meson build system
      Version: 0.64.0
      Source dir: /home/tcaswell/source/p/scipy/scipy
      Build dir: /home/tcaswell/source/p/scipy/scipy/.mesonpy-3zs0lpwm/build
      Build type: native build
      Project name: SciPy
      Project version: 1.10.0.dev0
      C compiler for the host machine: ccache cc (gcc 12.2.1 "cc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
      C linker for the host machine: cc ld.bfd 2.38-25
      C++ compiler for the host machine: ccache c++ (gcc 12.2.1 "c++ (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
      C++ linker for the host machine: c++ ld.bfd 2.38-25
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Compiler for C supports arguments -Wno-unused-but-set-variable: YES
      Compiler for C supports arguments -Wno-unused-function: YES
      Compiler for C supports arguments -Wno-conversion: YES
      Compiler for C supports arguments -Wno-misleading-indentation: YES
      Compiler for C supports arguments -Wno-incompatible-pointer-types: YES
      Library m found: YES
      Fortran compiler for the host machine: gfortran (gcc 12.2.1 "GNU Fortran (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
      Fortran linker for the host machine: gfortran ld.bfd 2.38-25
      Compiler for Fortran supports arguments -Wno-conversion: YES
      Checking if "-Wl,--version-script" : links: YES
      Program cython found: YES (/home/tcaswell/.virtualenvs/bleeding/bin/cython)
      Program python found: YES (/home/tcaswell/.virtualenvs/bleeding/bin/python)
      Found pkg-config: /usr/bin/pkg-config (1.8.0)
      Program pythran found: YES (/home/tcaswell/.virtualenvs/bleeding/bin/pythran)
      Run-time dependency threads found: YES
      Library npymath found: YES
      Library npyrandom found: YES
      Found CMake: /home/tcaswell/.virtualenvs/bleeding/bin/cmake (3.25.0)
      Run-time dependency openblas found: NO (tried pkgconfig and cmake)
      Run-time dependency openblas found: NO (tried pkgconfig and cmake)

      ../../scipy/meson.build:134:0: ERROR: Dependency "OpenBLAS" not found, tried pkgconfig and cmake

      A full log can be found at /home/tcaswell/source/p/scipy/scipy/.mesonpy-3zs0lpwm/build/meson-logs/meson-log.txt
      Traceback (most recent call last):
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in prepare_metadata_for_build_wheel
          hook = backend.prepare_metadata_for_build_wheel
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'mesonpy' has no attribute 'prepare_metadata_for_build_wheel'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 148, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 1067, in build_wheel
          with _project(config_settings) as project:
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/contextlib.py", line 137, in __enter__
          return next(self.gen)
                 ^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 982, in _project
          with Project.with_temp_working_dir(
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/contextlib.py", line 137, in __enter__
          return next(self.gen)
                 ^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 750, in with_temp_working_dir
          yield cls(source_dir, tmpdir, build_dir, meson_args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 632, in __init__
          self._configure(reconfigure=bool(build_dir) and not native_file_mismatch)
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 680, in _configure
          self._meson('setup', *setup_args)
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 657, in _meson
          return self._proc('meson', *args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.12/site-packages/mesonpy/__init__.py", line 652, in _proc
          subprocess.check_call(list(args), env=self._env)
        File "/home/tcaswell/.pybuild/bleeding/lib/python3.12/subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['meson', 'setup', '--prefix=/home/tcaswell/.pybuild/bleeding', '/home/tcaswell/source/p/scipy/scipy', '/home/tcaswell/source/p/scipy/scipy/.mesonpy-3zs0lpwm/build', '--native-file=/home/tcaswell/source/p/scipy/scipy/.mesonpy-native-file.ini', '-Ddebug=false', '-Doptimization=2', '-Dlapack=flexiblas']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

No amount of quoting will never split the arguments correctly to be passed to meson: there is no lexing done in meson-python and passing them as a single argument is not going to work.
The only place where I see the command line argument handling for pep517 frontends specified is here https://peps.python.org/pep-0517/#config-settings and the example makes it clear that passing the same option multiple times should be supported. Also, build allows repeating options but pip does not, thus they require different handling that cannot be reconciled to work with both.
I think this is a pip bug.

Even pip's own documentation states that --config-setting may be specified mutliple times:
$ python -m pip install --help
...
  --config-settings <settings>
                              Configuration settings to be passed to the PEP
                              517 build backend. Settings take the form
                              KEY=VALUE. Use multiple --config-settings
                              options to pass multiple keys to the backend.
...

Pip does not support merging x=a x=b into x=[a,b] like build does, and never has. See https://github.com/pypa/cibuildwheel/issues/1227#issuecomment-1212972828. It does support multi arguments if they are not the same. It also doesn't support -C, which I would love for it to do, partially because -Cx=a looks better than --config-settings=x=a, and partially because that would provide a uniform interface for pip and build, since build calls it --config-setting instead.

Pip does not support merging x=a x=b into x=[a,b] like build does, and never has.

Now it does, after https://github.com/pypa/pip/pull/11853 🎉. This will start working with the next pip release, so let's close this issue.


firebase core web error

I am trying to setup Firebase in my Flutter app. I have followed all the directions in the firebase website and also the flutter website to setup firebase including editing the pubspec.yaml file, editing the app level build.gradle file and the project level build.gradle file. when i run the app i get this error
`/Users/tahrim/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+2/android/src/main/java/io/flutter/plugins/firebase_core_web/FirebaseCoreWebPlugin 2.java:7: error: class FirebaseCoreWebPlugin is public, should be declared in a file named FirebaseCoreWebPlugin.java
public class FirebaseCoreWebPlugin implements FlutterPlugin {
^
1 error
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':firebase_core_web:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                         3.0s
Exception: Gradle task assembleDebug failed with exit code 1`
flutter doctor output
`Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.17.5, on Mac OS X 10.15.5 19F101, locale en-BD)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2019.3.3)
[✓] Connected device (1 available)
• No issues found!
`

Hi @tahrimhossain this looks like your android build is failing. Could you include the firebase dependencies you are using. Also what are you trying to run, web app or android app?

i am trying to build an android app.
my dependencies are -
firebase_auth: ^0.16.1
cloud_firestore: ^0.13.7

Please could you try the latest versions, I believe this was now fixed.


[TALE-36] Support Exit Nodes

At the moment we don't really support exit nodes in the UI. They do custom logic to enable routes for <IP_ADDRESS>/0 and ::/0 which need to be hidden from the default routing UI that we currently have and instead should be encapsulated in an "exit node UI".

https://tale.atlassian.net/browse/TALE-36

Fixed in 0.3.4


Use versioned formulas Java@8 and Java@9

General troubleshooting steps

[x] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.
[x] None of the templates was appropriate for my issue, or I’m not sure.
[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
The Java formula have been updated to Jdk9 which is fine, but the Jdk8 will is still used and will be used and updated for a few years more. Some Java framework such as the current Spring Boot (1.5.8) and other Java programs run only on Jdk8.
The solution would be to use versioned formulas such as java@8 and java@9.

JDK8 is in caskroom/versions: java8


Change toolbar Background to Transparent

Hello all . i want to change the toolbar background to transparent but i can't seem to make it work . i have added
 where transparent is a property defined in variables.scss .
Also changing the css to
super-tabs div.toolbar-background {
background:transparent;
}
Also does not seem to work . bu tif i apply any color works fine . it seems like there is another style overwriting it where in ios  toolbar background is always black and android is white .

@zyra , please help with this


Migrate to new PyPI website

According to [1], the PyPI website of pypi.python.org has changed
to https://pypi.org. This patch updates all references to the
legacy site.
[1] https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
Signed-off-by: Eric Brown<EMAIL_ADDRESS>

Thank you! ;-)


R_TORCH -c /opt/conda/envs/deep3d_pytorch/lib/python3.6/site-packages/nvdiffrast/torch/torch_bindings.cpp -o torch_bindings.o  ninja: build stopped: subcommand failed.

When I run the test script:
get reconstruction results of your custom images
python test.py --name=<model_name> --epoch=20 --img_folder=<folder_to_test_images>
I faced this problem?
Please, any solutions?

When I run the test script:
get reconstruction results of your custom images
python test.py --name=<model_name> --epoch=20 --img_folder=<folder_to_test_images> I faced this problem? Please, any solutions?
i meet the same problem with u.


Move the nexus credentials to the common settings property so they are u...

...sed for dependency resolution and publishing.

Good catch, thanks Andrew :+1:


Mapping LETTERS - enhancement

(arrived here from your chronos post)
https://github.com/scumdogsteev/phonenumber/blob/master/R/letterToNumber.R
to bring to light numbers represented by letters perhaps with an else on
any(stringr::str_detect('1-800-FLOWERS', LETTERS))
[1] TRUE
I've made much much less headway on Rust and R, yet yesterday the US White House urged transition to memory safe base code, and one thinks Rust rather than Ruby. I'm a historian and code dabbler, but my history view says that nearly every problem in programming has been solved before...I'll go back to updating my Rust and try again.

Could you be more specific in what you are asking for? the parse function does recognize numbers with letters already
dialrs::phone_parse("+1 1 800 FLOWERS",format = "International")
#> "+1<PHONE_NUMBER>7"

are you looking for something like this (not implemented atm)
dialrs::phone_has_letters("+1 1 800 FLOWERS)"
#> TRUE
dialrs::phone_has_letters("+1 1 800 123456)"
#> FALSE


Did you use K(3->1) drop method in sub center arcface during training?

Hi,
Did you use K(3->1) drop method in sub center arcface during training, which train twice and offline remove label noise data.

No. I used plain sub center arcface as defined here
https://github.com/ChristofHenkel/kaggle-landmark-2021-1st-place/blob/main/models/ch_mdl_dolg_efficientnet.py#L42-L58


OC-380 Makes the NotificationService suitable for multiple endpoints

Adds database configuration for notification web service end-points per
organization and application to the Microgrids domain. This would allow
the possibility to send notifications to different application specific
endpoints on a single installation.
The current implementation uses a single hard-coded application name, as
determining the proper application has not yet been implemented.
Known issues for implementing different application names are:

how to keep track of the application name from requests to the
notifications for a response;
how to determine the application name for notifications originated
from devices (which constitutes the bulk of notifications for
Microgrids, since devices send data periodically through reports).

For environments this code is deployed in some web service configuration
settings should be removed from properties, and appropriate SQL inserts
will need to be executed, following the Flyway update that adds the
web_service_configuration_data table.
Changes to osgp-adapter-ws-shared:

Adds WebServiceConfigurationData entity and
WebServiceConfigurationDataRepository.
Updates NotificationService adding a sendNotification that takes the
applicationName in addition to the organisationIdentification. This
is added as a default method invoking sendNotification without the
applicationName, so for now earlier implementations that don't deal
with the applicationName (yet?) need not be altered.
Adds a generic DataBasedNotificationService implementation of
NotificationService that has the ability to deal with notifications
according to specific domain WSDLs/XSDs through a provided mapper.
Adds a DataBasedWebServiceTemplateFactory that is able to create web
service templates for the combination of organization and application
based on configuration from the database, instead of creation from
properties and separate Spring beans for the marshaller, circuit
breaker, key store etc.

Changes to osgp-adapter-ws-microgrids:

Adds table web_service_configuration_data to the
osgp_adapter_ws_microgrids database.
Removes notification web service configuration related properties
from osgp-adapter-ws-microgrids.properties.
Removes the domain specific NotificationServiceWs implementation of
NotificationService, as the generic DataBasedNotificationService from
osgp-adapter-ws-shared should be able to be used for domain specific
notifications (with the added marshaller and notification request
type).
Updates the AbstractDomainResponseMessageProcessor and the
ResendNotificationService to use the DataBasedNotificationService
instead of the NotificationServiceWs as their NotificationService.
Updates the WebServiceConfig, removing beans and values related to
the notification service configured by properties, replacing the
notificationService bean, by a microgridsNotificationService bean
(updated the name to emphasize that the notifications are specific
to the Microgrids domain), replacing the web service template factory
by one that is mostly configured through the database.

SonarQube analysis reported 3 issues

 1 critical
 2 major

Watch the comments in this conversation to review them.
1 extra issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AbstractDomainResponseMessageProcessor.java#L141: Method has 7 parameters, which is greater than 6 authorized.

All is well.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AbstractDomainResponseMessageProcessor.java#L143: Method has 7 parameters, which is greater than 6 authorized.

All is well.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AbstractDomainResponseMessageProcessor.java#L143: Method has 7 parameters, which is greater than 6 authorized.

All is well.

SonarQube analysis reported 1 issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AbstractDomainResponseMessageProcessor.java#L143: Method has 7 parameters, which is greater than 6 authorized.

All is well.

All is well.

SonarQube analysis reported 2 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AbstractDomainResponseMessageProcessor.java#L129: Method has 7 parameters, which is greater than 6 authorized.
 AbstractDomainResponseMessageProcessor.java#L143: Method has 7 parameters, which is greater than 6 authorized.

All is well.

SonarQube analysis reported 2 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AbstractDomainResponseMessageProcessor.java#L129: Method has 7 parameters, which is greater than 6 authorized.
 AbstractDomainResponseMessageProcessor.java#L143: Method has 7 parameters, which is greater than 6 authorized.


Error in Properties file: Property user does not exist on target class com.zaxxer.hikari.HikariConfig

Environment
HikariCP version: 2.7.5
JDK version     : 1.8.0_144
Database        : MySQL
Driver version  : 5.1.45

Have you searched the CLOSED issues already? How about checking stackoverflow? Yes.
I have the following file on my resources folder:
jdbcUrl=jdbc:mysql://my-sql-address.com:3306/myschema
user=my_user
password=XXXXXXXXXXXX
dataSource.cachePrepStmts=true
dataSource.prepStmtCacheSize=250
dataSource.prepStmtCacheSqlLimit=2048
dataSource.useServerPrepStmts=true
dataSource.useLocalSessionState=true
dataSource.useLocalTransactionState=true
dataSource.rewriteBatchedStatements=true
dataSource.cacheResultSetMetadata=true
dataSource.cacheServerConfiguration=true
dataSource.elideSetAutoCommits=true
dataSource.maintainTimeStats=false

And I am running this code:
HikariConfig config = new HikariConfig(HIKARI_PROPERTIES_FILE_PATH);
DataSource dataSource = new HikariDataSource(config);

And the first line gives me the following Exception:
java.lang.RuntimeException: Property user does not exist on target class com.zaxxer.hikari.HikariConfig
The properties file is pretty much a copy from the documentation for MySQL, so Is the documentation wrong?
I changed the property user to username and now the first line executes but the second line now throws this Exception:
java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:mysql://my-sql-address.com:3306/myschema

root cause

java.sql.SQLException: No suitable driver

But I have the MySQL driver in my POM, just besides HikariCP:
    <dependency>
        <groupId>com.zaxxer</groupId>
        <artifactId>HikariCP</artifactId>
        <version>2.7.5</version>
    </dependency>

    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.45</version>
    </dependency>

I fixed this adding this line:
Class.forName("com.mysql.jdbc.Driver");
It's an old fix for the MySQL driver unfortunately still present.
I am still getting Exceptions but they are more related to my current GlassFish installation, so I guess there's a problem with the MySQL properties file documentation and it should be reviewed.

you may use Property  username to replace Property user.
I do this then it works.


get channel or group admin

how can i find channel or group admins

or when somebody send a message to bot
by from.id , chat.id can we know that he/she is admin of channel or no

@milad145 sure. use getChatMember to obtain user's status.
Or, if you want to get all admins, there's method for that too, getChatAdministrators.

@GingerPlusPlus
thank you
it was helpfull

Buy Our Telegram Groups/Channels Scraper & Adder Software..
Buy Our Telegram Groups/Channels Bulk Private Direct Members Messenger/Sender Software.
Watch Our Videos..
Telegram Groups/Channels Scraper & Adder Software..
https://www.youtube.com/watch?v=pL8dO_1QVf0
Telegram Groups/Channels Bulk Private Direct Members Messenger/Sender Software.
https://www.youtube.com/watch?v=t3j3N4xYwpA
Order From Our Website..
http://telegram-groups-scraper-adder.com/


Update to the Assistant API v1alpha2

Also, fix some style issues from previous changes.

Hello @deviantony I'm also trying to get some french speech recognition from the Google Assistant, using the AIY Kit and a RPi3. I cloned your repo, re-run the install scrips and everything, but the examples (including assistant_grpc_demo.py) still speak English.
Is there something I'm missing ? Thanks for your answer.

@Jaxom99 have you installed the latest deps via pip ? My fork might be broken using the latest deps and I cannot try it at this time as I do not have access my AIY box.

thanks for getting back @deviantony. Yes I used sudo pip install -r requirements.txt as you mentionned. But the i18n.py setting was still useless. Somebody advised to actually call aiy.i18n.set_language_code('fr-FR') in the beggining of the script...
Anyhow I went the easy way, reinstalled the provided image (from february) and used this setting : it speaks and recognize French ! But the "Hacking.md" way of use seems really broken.


draft of clone api

Is this still active, or can we close?

Closing for now, happy to re-open if needed


How much GPU should it need minimum to run this?

I want to ask about the minimum GPU to run for this model finetuning, hope to receive your response asap. Thanks, again

WIth A10, running with a batch size of 1 should be possible with a max seq length of 512.
You can get the desired batch size by adjusting the gradeint accumulation and multi-gpu

Thanks a lots.


Change deprecation in SearchContext.php from todo to deprecation

Update SearchContext.php after merging of this PR https://github.com/silverstripe/silverstripe-framework/pull/10828
ACs

Change the @todo to a @deprecation in the docblock (follow the PHP spec)
Add in Deprecation::notice()
Update any core refereces to this method to pass in null instead of false
Add a note to changelog.

PRs

https://github.com/symbiote/silverstripe-gridfieldextensions/pull/367
https://github.com/silverstripe/silverstripe-framework/pull/10853
https://github.com/silverstripe/developer-docs/pull/294

All linked PRs have been merged


Sync main with HEAD

This commit syncs up main with HEAD at release-v0.1.x.

https://github.com/google-github-actions/deploy-gke/pull/7


Automated cherry pick of #3743: fix: filter out expire user passwords

Cherry pick of #3743 on release/2.13.
#3743: fix: filter out expire user passwords

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@ecaffe2). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #3745   +/-   ##
==============================================
  Coverage                ?   6.93%
==============================================
  Files                   ?     500
  Lines                   ?   84133
  Branches                ?       0
==============================================
  Hits                    ?    5831
  Misses                  ?   77807
  Partials                ?     495

Flag
Coverage Δ

#aFlag
6.93% <0%> (?)

Impacted Files
Coverage Δ

pkg/keystone/models/users.go
1.78% <0%> (ø)

pkg/keystone/models/passwords.go
11.68% <0%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


[BEAM-9315] Allow multiple paths via HADOOP_CONF_DIR in HadoopFileSystemOptions

Fix bug https://issues.apache.org/jira/browse/BEAM-9315 by allowing HadoopFileSystemOptions to correctly interpret the content of the HADOOP_CONF_DIR and YARN_CONF_DIR environment variables, even when they contain multiple paths, instead of a single one.
This happens, for example, when starting a process using spark-submit on Cloudera 6.3, which sets HADOOP_CONF_DIR as follows:
HADOOP_CONF_DIR=/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/spark/conf/yarn-conf:/etc/hive/conf

R: @RyanSkraba @iemejia
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Code modified as requested

Merged manually to squash the commits and fix the commit title. Thanks for bringing this one Claudio (@ventuc) !


feat: add sequence color visualizer

By submitting this PR, I am indicating to the Numberscope maintainers that I have read and understood the contributing guidelines and that this PR follows those guidelines to the best of my knowledge. I have also read the pull request checklist and followed the instructions therein.

This is @LeongHouHeng's sequence color visualizer PR. We are continuing it based on a branch in this repository. The original PR, which was submitted from a fork is https://github.com/numberscope/frontscope/pull/191.

Oh no! I just realized that when I transferred the old comments a couple weeks ago I didn't click the "Finish your review" button, and I guess maybe that made it so that other people couldn't see that I had transferred the comments from the old PR over? It looks like @katestange also transferred the comments. I'll try to delete any comments that are duplicates.

Okay, I think I got rid of all the duplicate comments.

This PR uses a non-conventional name for the visualizer: SeqColor.ts, rather than VisualizerPrimesSizes.ts. Either it the implementation of this visualizer should have its filename renamed in the "standard" way, or we should rename all of the others (as in just Chaos.ts, Turtle.ts, Differences.ts, etc.). There is definitely an argument for the latter, as having "Visualizer" in the name of every source file in the "src/visualizer" directory is kind of redundant. We should discuss tomorrow which way to go and make it so.

The image files for the documentation have not yet been included in any commit in this PR. Could whoever has them please commit and push them? Thanks.

Checklist of items that need to be taken care of in this PR, from group discussion today. If you are the one who verifies that one of these things has been done by a new commit to this PR, please check the item off. Note that this is not necessarily exhaustive, there may well still be additional items that need resolution in the conversations above.

[ ] Rename to NumberGlyph visualizer
[ ] make the parameter dialog initially have a single 'customize glyph generation' boolean parameter and the other other parameters are only shown when that is checked
[ ] Commit the images needed in the documentation
[ ] Rebase on PRs solving #120 and/or #241 when they are merged
[ ] Change the default glyph-generating function to something that looks better, including defaulting growth rings to true
[ ] Make code check for safety of conversion to number (note that sequence 2^n%17 was not coming out periodic, probably because of this bug, although it may not be something that can be handled in this way because the problem there is inside mathjs; the inputs and outputs are OK numbers, but they will eventually be wrong because of a internal overflow in mathjs).
[ ] Warn in docs about needing to fit into number (for now)
[ ] Deal with integers with no prime factors so that they are not just blank black spaces (maybe use grey?)
[ ] Once #120 is fixed, improve situation so that toggling the legend doesn't "flicker"

My most recent commit attempts to handle possible bigint errors but it doesn't do a great job... suggestions appreciated.

I believe everything is dealt with here except for the issue that is blocked by issue #120 .  Please take a look and resolve the open conversations or give feedback.

I took the liberty of fitting the square of glyphs to the canvas, and I found a way in this case of avoiding the {} as p5.Vector TypeScript hack. So just went ahead and committed those minor changes.

OK, all seems well except for negative growth function values, and I have to check a couple errors I left unresolved above but don't have time this second (they  are probably fine though). Once that's all done I will merge.

OK, have tested all of the other open points and resolved them, so I will now take care of the negative growth function values.

Alright, now just the absolute value of the brightness function is used (and I dropped the outer abs from the default brightness function). I don't see anything else, so merging.


bundle inline dependencies

Describe the feature
Context: https://github.com/nuxt/module-builder/issues/445

Sometimes, devDependencies are not published as they are only used locally. It would be a nice feature to inline the imports of those dependencies, so those do not have to be inlined manually (meaning, the import of the package is removed and the function is written directly into the file).

Additional information

[ ] Would you be willing to help implement this feature?

mkdist if file-by-file transformer (not bundler). an additional (rollup) entry needed for this. There are alternatives such as conditional exports. (https://github.com/nuxt/module-builder/issues/445#issuecomment-2541754677)
--
Closing issue as it lacks context (ie: why this might be needed? how commonly this is needed that makes sense to be a mkdist feature desipe it is not what it should do)

Info as far as I know is that the devDependency @s1gr1d mentioned is not published to npm
(I think https://github.com/getsentry/sentry-javascript/pull/14680 is the PR in question)


[General] LeetCode 75 Qs

The solution to the questions in Ace Coding Interview with 75 Qs in LeetCode

@aditiverma-21, you need to follow our structure like https://ajay-dhangar.github.io/algo/dsa-roadmap

@ajay-dhangar okay


Update py3.7binder.yaml

Delete the build info of dependencies in yaml file

Thanks for your contribution!


Added producthunt ?ref=producthunt stripping

Strips the annoying "?ref=producthunt" tokens from URLs linked to from Producthunt.

Could this be built into the first listener?

This has been resolved on commit: https://github.com/jordanmurkin/chrome-tracking-stripper/commit/71b38db8b13a42aaec5f222d3ad2a5727e2a9952

This has been resolved on commit: https://github.com/jordanmurkin/chrome-tracking-stripper/commit/71b38db8b13a42aaec5f222d3ad2a5727e2a9952


Changing parent_relation to enum

Partially addresses https://cccs.atlassian.net/browse/AL-2679

Closing because the effects would be of little benefit


ClampRagdollPatch causing strange behaviour

Under certain circumstances bots appear to 'slide' around on death. This could be due to the ClampRagdollPatch.


can we get this to pass CI?

since this is our template , it would be great if it would pass gitlab CI.  It is hard to know if changes made to the gitlab files are going to work if they aren't passing tests in the template.
when complete, please check off solas-container on https://github.com/samsung-cnct/issues/issues/89#issuecomment-343000090

Merged: https://github.com/samsung-cnct/solas-container/pull/24


Q: I see plenty of incoming connection when starting seeding but failed to connect.

As titled. When I start to seed a not very popular torrent. I see many peers in the peer list with I flag and sometimes X and H flags, but the client won't establish a transmission with them. When using qBittorrent, I got some peers at torrent start and won't always connect, too, but those peers aren't flagged incoming.
Are those peers really incoming connections? Or they are just cached peers that BT client will try to connection when starting and be placed an I flag by mistake?

After looking at qB and pico's code difference, I believe that pico is flagging incoming connection and local connection the opposite way.
https://github.com/qbittorrent/qBittorrent/blob/2e30ed17bd6adeb35033769615128a98be21fb1f/src/base/bittorrent/peerinfo.cpp#L311-L315
https://github.com/picotorrent/picotorrent/blob/f32318996d0286c658bf5212457a39bef2d608a5/src/picotorrent/ui/models/peerlistmodel.cpp#L130-L133

Hi! Sorry for the late-ish answer. I think the peer flags was based on uTorrent back when I implemented it, and not qBittorrent 🤔 Or at least that's my recollection, it's been a few years 😃 Anyways, it makes sense to align the flags with qBittorrent to make transition easier.

I was only looking into qB for verifying my conjecture. I actually draw the conclusion of "opposite" from libtorrent's reference:

outgoing_connection
The connection was initiated by us, the peer has a
listen port open, and that port is the same as in the
address of this peer. If this flag is not set, this
peer connection was opened by this peer connecting to
us.

local_connection
deprecated synonym for outgoing_connection


Allow using host match syntax for checks

On a heterogeneous cluster we need to check different things on different nodes.
E.g. some nodes have FDR Infiniband
{pe[1-64,gpu[20-22]} || check_hw_ib 56
while other nodes have QDR Infiniband
{gpu[1-19]} || check_hw_ib 40
Somehow it should be possible to generate configs like the above.

Same for the check_hw_eth, since network card name differs depending on the chipset. em1 for Dell C4130, but enp4s0f0  for HP SL390s.

I think there's already a way - see the nhc_checks variable. Would that work for you? if we got rid of these defaults - or at least provide a way to disable them.

How do you group these different compute nodes in ansible?  Just all in the compute group or a group of groups?

They are just in a default group in hosts files. Yes, seems that setting nhc_check_*=  in host description at 'hosts' may sole the issue. Like
ivb16 int_ip_addr=<IP_ADDRESS> mac_address=9c:b6:54:01:c4:36 pxe_name=ivb16 ib_ip_addr=<IP_ADDRESS> ip_last=252.16 nhc_hw_eth=eno1

I was too quicky, that did not work. Not at least when have added both
gpu17 int_ip_addr=<IP_ADDRESS> mac_address=78:E7:D1:21:8E:00 pxe_name=gpu17 ib_ip_addr=<IP_ADDRESS> i
p_last=253.251 gpu=True nhc_check_eth=enp4s0f0 nhc_check_ib=40

@dgtim : the variable is not called nhc_check_eth or nhc_check_ib but nhc_hw_ib and nhc_hw_eth.
Pushed a suggestion into a branch in this repo that would allow you to disable almost the whole nhc.conf and only have the ones in nhc_check. What do you think? https://github.com/CSC-IT-Center-for-Science/ansible-role-nhc/commit/8fb7c45ec221551a48da348bd556f227f856a8bf

Jep, having nhc_hw_ib and nhc_hw_eth fiexd the issue, so now old SLs got to run as well.
But another isseu came across. Running
admin# ansible-playbook compute.yml -lgpu2,production -t nhc
makes the correct changes, but then local ansible-pull-script.sh overwrites the changes back.

Have you updated http://{{ pull_install_ip }}/hosts ? (run fgci-install role towards install node)

Regarding disabling almost the whole nhc.conf: makes sense, since at on Triton deafault values are valuable for only part of the cluster and for the rest we end up setting them explicitly. I see several options: (1) either make a nhc.conf template editable the way Janne has suggested, (2) assing somehow own nhc.conf template to each host group (nodes to be devided to groups then), (3) keep the nhc.conf template as is, but disable defaults and make every single parameter configurable through hosts.
I would prefer the second one. We will have to assign a group host to each arch, but I think we can live with it.
Anyway, at the moment this seems to work after runnign playbook to install.yml, local pull does it in correct way as well.

I prefer 1&3.
Not sure how to implement 2 anyway - with different variables per group the files that end up on the servers would be different - I can't see a good reason to make multiple template files - anything to go around this should be doable with conditionals and jinja templates.
Wouldn't making multiple nhc.conf mean not using the hostname matching feature of NHC at all?
With NHC you can make only one nhc.conf on all nodes and with the config something like Janne proposed.
There might be other benefits of making the [compute] group in the hosts file a group of groups.
That is however not tested - I'm suspect some roles relating to pxe and pdsh will not work with that.


Parser fails on certain files

Summary
I was trying to implement Stryker for one of our repos to see if it was easy to do. Sadly, I've had no luck so far. I ran into two issues: the first one is that the parser crashes on certain files. But the error stacktrace is not helpful (for an end user), because it starts and ends within the node modules.
This is the Stryker output for such an error:
$ stryker run
[2018-02-07 08:46:56.360] [INFO] ConfigReader - Using stryker.conf.js in the current working directory.
[2018-02-07 08:46:57.104] [INFO] InputFileResolver - Found 1 of 161 file(s) to be mutated.
[2018-02-07 08:46:57.105] [INFO] InitialTestExecutor - Starting initial test run. This may take a while.
[2018-02-07 08:46:57.106] [INFO] BabelConfigReader - Reading .babelrc file from path "/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/.babelrc"
[2018-02-07 08:47:13.505] [INFO] InitialTestExecutor - Initial test run succeeded. Ran 118 tests in 16 seconds.
[2018-02-07 08:47:13.509] [ERROR] StrykerCli - an error occurred { SyntaxError: Unexpected token (37:6)
    at Parser.pp$5.raise (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:4454:13)
    at Parser.pp.unexpected (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:1761:8)
    at Parser.pp$3.parseIdentifier (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:4332:10)
    at Parser.pp$3.parsePropertyName (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:4156:96)
    at Parser.parsePropertyName (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:6229:23)
    at Parser.pp$3.parseObj (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:4045:12)
    at Parser.pp$3.parseExprAtom (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3719:19)
    at Parser.parseExprAtom (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:7238:22)
    at Parser.pp$3.parseExprSubscripts (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3494:19)
    at Parser.pp$3.parseMaybeUnary (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3474:19)
    at Parser.pp$3.parseExprOps (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3404:19)
    at Parser.pp$3.parseMaybeConditional (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3381:19)
    at Parser.pp$3.parseMaybeAssign (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3344:19)
    at Parser.parseMaybeAssign (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:6474:20)
    at Parser.pp$3.parseParenAndDistinguishExpression (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3828:26)
    at Parser.pp$3.parseExprAtom (/Users/ronderksen/Sites/blaze-wishlist-site-wehkamp/node_modules/babylon/lib/index.js:3709:19) pos: 1631, loc: Position { line: 37, column: 6 } }

Stryker config
const path = require('path');

module.exports = function(config) {
  config.set({
    files: [
      {
        pattern: 'src/app/path/to/file.js',
        mutated: true,
        included: false,
      },
      'src/public/**/*',
      'src/app/**/*.scss',
      'src/app/**/path/to/file.spec.js',
      'src/app/**/path/to/file.spec.js.snap',
      'src/**/*',
      'test/*',
      'development/*',
    ],
    testRunner: 'jest',
    mutator: 'javascript',
    transpilers: ['babel'],
    reporter: ['html', 'clear-text', 'progress'],
    coverageAnalysis: 'off',
    babelrcFile: '.babelrc',
    jest: {
      config: require(path.resolve(__dirname, './test/jest.config.json')),
    },
  });
};

Stryker environment

├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>
Your Environment

software
version(s)

node
v8.9.4

npm
v.5.5.1

Operating System
macOS 10.13.2

@ronderksen thanks for reporting this issue. Could you share with us the token that the parser is crashing on? It should be in file src/app/path/to/file.js on line 37, column 6 (or line 38, depending on if it counts lines 0-based).

It looks like it's the spread operator (...).

I just noticed this in the trace logs:
[2018-02-07 09:07:12.861] [TRACE] BabelConfigReader - babel config is: undefined

Even though the path is correct (pointing to the .babelrc in the project's root directory).

@ronderksen Awesome, we'll test the spread operator and see what happens :)
About the babel config trace logging...
https://github.com/stryker-mutator/stryker/blob/2cda4908564d99db17aea9af186e4ec87fea05ab/packages/stryker-babel-transpiler/src/BabelConfigReader.ts#L10-L14
We put the babelrc file in a variable but we don't actually log the babelrc file, we log the stryker config.. I'll fix that today!

@simondel

I'll fix that today!

Too late my friend: https://github.com/stryker-mutator/stryker/pull/614 fixes that
@ronderksen I've tested the spread operator in isolation but it does seem to work with our parser:
function max(...values) {
    Math.max(...values);
}

Maybe this example is not representative of what your code looks like? You can pass code through our parser yourself using this piece of code:
const JavaScriptMutator = require('stryker-javascript-mutator/src/JavaScriptMutator').default;
const { Config } = require('stryker-api/config');

const sut = new JavaScriptMutator(new Config());
const files = [
  {
    name: 'testFile.js',
    mutated: true,
    kind: 1,
    content: `
          function max(...values) {
            Math.max(...values);
          }
        `
  }
];
const mutants = sut.mutate(files);
console.log(`mutants: ${JSON.stringify(mutants, null, 2)}`);

We're using babylon underneath so whatever it is, we should be able to make it work.

@nicojs This triggers the error:
const JavaScriptMutator = require('stryker-javascript-mutator/src/JavaScriptMutator').default;
const { Config } = require('stryker-api/config');

const sut = new JavaScriptMutator(new Config());
const files = [
  {
    name: 'testfile.js',
    mutated: true,
    kind: 1,
    content: `
      function test(input) {
        const value = {
          ...input,
          foo: true,
      }
    `
  }
];
const mutants = sut.mutate(files);
console.log(`mutants: ${JSON.stringify(mutants, null, 2)}`);

@ronderksen thanks for the clear reproduction steps. It seems that we don't support the objectRestSpread yet. See list of plugins here: https://github.com/babel/babel/tree/master/packages/babylon#plugins
I will add it (and some more stage 1, 2 and 3 features) to the default list of plugins. At a later time we should make this part configurable.

Hi! I am getting this error. If you log the this.input in babylon you can see the file contents it is complaining about. For me it is complaining about this line:
static propTypes = {
This passes on the initial run but fails on the mutant runs. The project compiles fine using webpack. There seems to be some issue with mutations and certain es6 flavours?
Cheers.

@automeow Thanks for notifying us! I'll test it tomorrow. Just as a check, are you using v0.4.0 of the stryker-javascript-mutator? And could you post your Babel plugins and config?

Hi, I've pushed an example repo at https://github.com/automeow/stryker-es6-debug. If you clone it you can see my error by running npm i && npm run test:mutate
I'm using 0.3.5, this is what was installed when I did npm i --save-dev stryker-javascript-mutator. I didn't realise I should be on 0.4.0. On 0.4.0 my example repo and my real code base both work, so I will use this. Thank you! 😄

Glad to hear that the problem has been solved! We usually reply to issues like these with a message which version of which plugin fixed the issue.
So you should have seen something like "This has been fixed with stryker-javascript-mutator 0.4.0" but we forgot that this time :(
Thanks for creating a reproduction repo! Those really help us a lot :) If you need any more help, don't hesitate to contact us!


Adding a title image/favicon

Context of Issue
As a modern web application it would be nice to have a favicon image in the browser tab. We want to be thorough and make sure we hit as many file formats as possible since the intent is to have this app work on multiple platforms.
Suggested Solution
After doing some research, it seems like the best method would be creating a favicon.ico with a collection of related images. Our suggested path would be:

Go to this Favicon Generator. Although this site makes favicons, they don't produce quite as details results as we would like, so we're just going to use them to generate a good source png.
The text used should be "EQ" (for Elm Quarto)
The shape should be square or square with rounded corners
Choose an appropriate font for a favicon. Adjust the size until the text no longer touches the edges of the background square (but is still as large enough to be clearly legible in a tab corner)
For the background and text colours you can use any mix of the following colours (these are the colours used by the elmlang logo). Please use a colour combo with strong contrast

#60B5CC
#7FD13B
#F0AD00
#5A6378

Download the resulting ico folder.
Next, go to the actual site we will be using to create our favicon ico, realfavicongenerator
Select the "android-chrome-512x512.png" image from the set that you downloaded earlier
Use the default options except for the following

For the Favicon for Android Chrome section, select the apply a slight drop shadow option
For the MacOS Safari section, select the Turn your picture into a monochrome icon option. You may also adjust the colour to one of the colours suggested above.
In the Favicon Generator Options section, check both additional file option

Click Generate your Favicons and Html code to download the favicons folder
Follow the guide to add the appropriate files to the project folder and modify the index.html file
Wherever it says to use project "root" folder, that should mean the repositories public folder
If successful, when you run the dev server, your newly made favicon should appear in the browser

Alternatives (if relevant)
Contemplated a html solution but that seems to be less flexible than the ico method and will be supported by less browsers and other applications.
Note that I am not an expert in this type of thing. If there is a more sensible way to go about this while creating the same end result, please let me know.
Additional Resources

I can take this one if you want @tkshill, I've never touched elm so I can figure out the project structure while I'm doing this.

Go for it buddy, and let me know if you want me to give you a walkthrough of the codebase.


Terrain flickers in VR build (but not in editor)

I finally got something building, it ALL seems to be down to that i was using 1920x1080, I noticed the palace demo which works uses a lower res, now I can build my demo. But the terrain flickers, flickering goes away when terrain is turned off, any thoughts? Going to try some new terrains tomorrow. The demo works fine with no flicker in the editor!

I think we just resolved this on gitter.

@DuFF14 Does this also resolve https://github.com/OSVR/OSVR-Unity-Rendering/issues/31?

@jfrank-razer this issue was not related to OSVR, it sounded like a script causing a mobile shader to turn on and off.


Python 2 support issue

Hello!
Tried to import your library with
pip install youtube-search-python
but, when I import it from Python 2, I get this error, which I don't get, if I manually add this library into my project folder:
Traceback (most recent call last):
  File "F:\MyAssistantOS\recognition\my.py", line 15, in <module>
    from youtubesearchpython import searchYoutube
  File "C:\Python27\lib\site-packages\youtubesearchpython\__init__.py", line 1, in <module>
    from youtubesearchpython.videos__search import SearchVideos
  File "C:\Python27\lib\site-packages\youtubesearchpython\videos__search.py", line 3, in <module>
    from youtubesearchpython.__requesthandler import requesthandler
  File "C:\Python27\lib\site-packages\youtubesearchpython\__requesthandler.py", line 2, in <module>
    from urllib.request import urlopen
ImportError: No module named request

Can you fix this?
Thank you

Hi!
Which exact Python 2 version are you using?
This seems really confusing.

I'm using Python 2.7.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexmercerind/youtube-search-python/issues/19#issuecomment-673539163,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPY6XX5T6A346NMB25JBWDSAP7WBANCNFSM4P6RKWSQ
.

@mytja
I feel that you might be using older version of module from pip.
Try running the command:
pip install --upgrade youtube-search-python

Hi @mytja!
I closed this issue. Feel free to discuss and leave feedback.
I'm not able to reproduce this issue. My above comment should fix the problem for you.
Thanks a lot for your support!

I have literally no idea what's going wrong with it.
Let me know if you find any possible fix.

Found the error. Will create a pull request within 12 hours.
😀

... or maybe in 1 hour

#20 is prepeared.

Build test: https://travis-ci.org/github/mytja/youtube-search-python/builds/721918749


Update aws-core, http-client-spi, ... to 2.17.179

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

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

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

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

Superseded by #138.


Trireme prevents Kubernetes readiness and liveness probes from working

This may be a "feature" since Trireme is doing what it supposed to do which is to prevent network traffic. But is there a way to configure the network policy to allow probes to work?

If you retry with our latest implementation,  it should work by default as we are autodetecting authorized nodes from now.


Integrate new model backend with validation frontend

This makes a number of changes to the validation app to hook it up with new model, including some changes to the tables and plot to reflect the new data. I've also added some functions to reset validation, which work in the same way as before.
Should work pretty much the same as before, although I've removed the ability to add new rows to the data.
(One thing I've noticed is that a lot of the values and times are being flagged for no reason (i.e. lots of red cells). However, it wasn't like this when I started working on this so I suspect I may have corrupted the data somehow while working through this. Unfortunately I'm having a mega nightmare with Docker and struggling to reset the data so I can't test this right now, but curious how it looks for you)
Also, I'm not really sure what the 'is_active' flag is for, so we might have to change how I'm dealing with this.
Close #170

Thanks for the comments! I was misunderstanding the distinction between 'validated' and 'active', bit this makes a lot more sense now.

Ok so this is mostly done now. I fixed the flagging issue by sorting the data by time before passing it to the flagging functions. I also think the flag_time_lapse_status function is a bit too strict as many of the remaining flagged entries are ones that differ by either 1 second above or below the expected time period which doesn't seem such a problem, so maybe we should add some leeway here?
The one major issue with the app is that, as entries remain in the table after validation, it's possible to 're-validate' data and overwrite what you've already done (e.g. if you validate a certain day in the detail table, you will overwrite that if you then validate the daily table). I think that the solution here is for tables to only show data that hasn't been validated yet, and either a separate table showing validated data or a button to switch between the two modes. But anyway, that all requires some larger changes so I'll do that in a separate PR.


fix: give priority to image name from env var

Recently I stumbled upon an issue with rebuilding dependencies. the issue was caused by a wrong image name specified for a reqprocessor, that was generated by a controller.
I expected the image name from env vars (JVM_BUILD_SERVICE_REQPROCESSOR_IMAGE, JVM_BUILD_SERVICE_CACHE_IMAGE) should have a priority, i.e. first check if these env vars exist and if not, then generate the image names based on the controller image name etc. But currently it's not the case.
This update should solve it.
If it makes sense, I will add some unit test.

@gabemontero @Michkov would you have a time to give this one a look? If it makes sense I will add some unit test later.

no clusters available
/retest


Only return config_info actions that are applied

This refactor allows us to loop through all the config_info actions, but only yields what is currently applied in the config.

@miq-bot add_label services, refactor
@miq-bot assign @bzwei
cc - @gmcculloug

@miq-bot add_label refactoring

@syncrou I would suggest focusing on the update catalog item issue first with higher priority and come back to this refactoring work later.


Fix Promise Rejections

Installation - channel messages

Closing in favor of https://github.com/Microsoft/vscode-python/issues/1919


"The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted."

Environment data

Language Server version: <IP_ADDRESS>
OS and version: Ubuntu 19.04
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.4, conda 4.8.3

Expected behaviour
Not crashing probably.
Actual behaviour
It crashes and keeps in the analyzing in background mode.
Logs
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Python.Analysis.Caching.TypeNames.GetPersistentQualifiedName(IMember m, IServiceContainer services) in E:\A\_work\1\s\src\Caching\Impl\TypeNames.cs:line 46
   at Microsoft.Python.Analysis.Caching.Models.FunctionModel.FromOverload(IPythonFunctionOverload o, IServiceContainer services) in E:\A\_work\1\s\src\Caching\Impl\Models\FunctionModel.cs:line 37
   at Microsoft.Python.Analysis.Caching.Models.FunctionModel.<>c__DisplayClass5_0.<.ctor>b__0(IPythonFunctionOverload s) in E:\A\_work\1\s\src\Caching\Impl\Models\FunctionModel.cs:line 33
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at Microsoft.Python.Analysis.Caching.Models.FunctionModel..ctor(IPythonFunctionType func, IServiceContainer services) in E:\A\_work\1\s\src\Caching\Impl\Models\FunctionModel.cs:line 33
   at Microsoft.Python.Analysis.Caching.Models.CallableModel..ctor(IPythonType callable, IServiceContainer services) in E:\A\_work\1\s\src\Caching\Impl\Models\CallableModel.cs:line 54
   at Microsoft.Python.Analysis.Caching.Models.FunctionModel..ctor(IPythonFunctionType func, IServiceContainer services) in E:\A\_work\1\s\src\Caching\Impl\Models\FunctionModel.cs:line 32
   at Microsoft.Python.Analysis.Caching.Models.ModuleModel.GetFunctionModel(IDocumentAnalysis analysis, IVariable v, IPythonFunctionType f, IServiceContainer services) in E:\A\_work\1\s\src\Caching\Impl\Models\ModuleModel.cs:line 146
   at Microsoft.Python.Analysis.Caching.Models.ModuleModel.FromAnalysis(IDocumentAnalysis analysis, IServiceContainer services, AnalysisCachingLevel options) in E:\A\_work\1\s\src\Caching\Impl\Models\ModuleModel.cs:line 94
   at Microsoft.Python.Analysis.Caching.ModuleDatabase.<>c__DisplayClass20_0.<StoreModuleAnalysisAsync>b__0() in E:\A\_work\1\s\src\Caching\Impl\ModuleDatabase.cs:line 106
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Python.Analysis.Caching.ModuleDatabase.StoreModuleAnalysisAsync(IDocumentAnalysis analysis, Boolean immediate, CancellationToken cancellationToken) in E:\A\_work\1\s\src\Caching\Impl\ModuleDatabase.cs:line 106
   at Microsoft.Python.Core.TaskExtensions.<>c.<DoNotWaitThreadContinuation>b__4_0(Object s) in E:\A\_work\1\s\src\Core\Impl\Extensions\TaskExtensions.cs:line 89
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Code Snippet / Additional lnformation
This is the code that it crashes into:

import requests
import pandas as pd
print("hello word")

What's the caching level setting? Thanks

@MikhailArkhipov The caching level is set at Library level. Also there are other flags:
    "python.analysis.cachingLevel": "Library",
    "python.analysis.memory.keepLibraryAst": false,
    "python.analysis.memory.keepLibraryLocalVariables": false,

Any caching level other than None is unsupported; the feature isn't complete. Disable caching and the crashes will go away.
Perhaps we should force disable this feature; there are a number of similar issues. #1918, #1895

It is in experimental stage so bugs are expected. Part of it is to collect information on usage and issues.


pylint not working

Hey there,
if I try to run pylint as described on https://docs.microsoft.com/en-us/visualstudio/python/linting-python-code?view=vs-2019 I get the following error:
[...]\python.exe: No module named pylint.lint.main; 'pylint.lint' is a package and cannot be directly executed
Running pylint via console (using the python environment that visual studio uses) works as intended.
Visual Studio Info:
##############
Microsoft Visual Studio Community 2019
Version 16.6.5
VisualStudio.16.Release/16.6.5+30320.27
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Community
Visual C++ 2019   00435-60000-00000-AA313
Microsoft Visual C++ 2019
ASP.NET and Web Tools 2019   16.6.956.60315
ASP.NET and Web Tools 2019
ASP.NET Core Razor Language Services   <IP_ADDRESS>0603+b3ac44798c16fff5b95dbcfe62dea84aa9a1bd72
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2019   16.6.956.60315
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   16.6.956.60315
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools   16.6.956.60315
Azure Functions and Web Jobs Tools
C# Tools   3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Child Process Debugging Power Tool   1.0
Power tool to add child process debugging to Visual Studio.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   16.6.20100.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30212.1
Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   2.1.50+g25aae5a24a.R
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
NuGet Package Manager   5.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
NVIDIA CUDA 10.1 Wizards   10.1
Wizards to create new NVIDIA CUDA projects and source files.
NVIDIA Nsight Visual Studio Edition   2<IP_ADDRESS>00
NVIDIA Nsight Visual Studio Edition provides tools for GPGPU and graphics development.  Copyright © NVIDIA 2010 - 2019.
•Direct3D® and DirectX® are registered trademarks of Microsoft Corporation in the United States and/or other countries.
•Microsoft Detours is used under the Professional license (http://research.microsoft.com/en-us/projects/detours/).
•Gardens Point Parser Generator Copyright 2005 Queensland University of Technology (QUT). All rights reserved.
•NLog Copyright © 2004-2006 Jaroslaw Kowalski<EMAIL_ADDRESS>•IronPython and WPFToolkit used under Microsoft Public License (Ms-PL) and are Copyright © Microsoft Corporation
•Portions of RadControls for WPF © 2010-2011 by Telerik Corporation.  All rights reserved.
•zlib and libpng used under the zlib/libpnc license (http://opensource.org/licenses/Zlib)
•QtSingleApplication Copyright 2013 Digia Plc and/or its subsidiary(-ies).
•Font Awesome Copyright 2018 Fonticons, Inc.
Warning: This computer program is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this program, or any portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under the law.
NVIDIA Nsight Visual Studio Edition - CUDA support   2<IP_ADDRESS>00
NVIDIA Nsight Visual Studio Edition - CUDA support provides tools for CUDA development and debugging.
Productivity Power Tools 2017/2019   16.0
Installs the individual extensions of Productivity Power Tools 2017/2019
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Python   16.6.20100.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   16.6.20100.1
Provides templates and integration for the Django web framework.
Python - IronPython support   16.6.20100.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support   16.6.20100.1
Profiling support for Python projects.
ReAttach   2.3
Gives you an easy way to ReAttach to prior debugging targets. For more information, see https://marketplace.visualstudio.com/items?itemName=ErlandR.ReAttach.
SQL Server Data Tools   16.0.62006.03190
Microsoft SQL Server Data Tools
Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools   16.0.20417.2002
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Cross Platform Mobile Development (Android)   16.0.30014.67
Visual C++ for Cross Platform Mobile Development (Android)
Visual C++ for Linux Development   <IP_ADDRESS>223
Visual C++ for Linux Development
Visual F# Tools <IP_ADDRESS> for F# 4.7   16.6.0-beta.20217.4+1c969cac25e2d38d71872efe6c8226029e42bb59
Microsoft Visual F# Tools <IP_ADDRESS> for F# 4.7
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions (Preview)   1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers
Visual Studio Tools for Unity   <IP_ADDRESS>
Visual Studio Tools for Unity

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 42523e4f-5af1-7e09-74df-a1b9c3a228d4
Version Independent ID: f82e07ad-c4e8-6789-0952-7c739d437e27
Content: Use PyLint for Python code - Visual Studio
Content Source: docs/python/linting-python-code.md
Product: visual-studio-windows
Technology: vs-python
GitHub Login: @JoshuaPartlow
Microsoft Alias: joshuapa

@SutarZeev Thank you for the feedback, assigning this to the author for further review.
Any issues with the documentation can be addressed, however for issues regarding specific user scenarios, please direct this to one of the official support channels listed here.

I just installed the latest update and it looks like with Visual Studio Version16.7.0 it works again.

@SutarZeev Sounds good, thank you for the update
Closing this issue now.


Corrections to FARMING SECTION

[x] We need to make sure the bottom text is formatted identically to the one one the top.

[x] BUTTON "START BUILDING YOUR 3NODE" needs to link to: https://sdk.threefold.io/#/v2_jsx_farmsetup

[x] BOTTON "PRE-REGISTER FOR THE NEXT BATCH" needs to link to https://www.farmer.threefold.io/

[ ] please format the flowtext exactly as this section "The ThreeFold Grid is currently distributed across 19 countries, has more than 80 Million GB of storage and over twenty thousand CPU cores live. Become a ThreeFold Farmer and join us in the journey towards true decentralization."

done


ISPN-9543 Unwrap caches before obtaining stats

https://issues.jboss.org/browse/ISPN-9543

Integrated into master, thanks @tristantarrant !


usertest: run through submitting a game to the gallery, make notes (issues)

add instructions to click open-help for more information


Basic: avoid an assertion on Windows

The order of evaluation of the subscript operator would increase the
count of map, resulting in the decoration to be off by one.  This
enables building the swift standard library on Windows again.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @jckarter

@swift-ci please test

Ouch, that's subtle. Nice job tracking this down! Maybe there should be a comment there explaining why the expression is broken up, so people in the future don't try to condense it onto one line again.

I'll add a comment in a follow up commit.


[release-1.11] Backport #6558, #6618, ##6659

As discussed on Discord, we are backporting the following issues into the release-1.11 branch:

#6558
#6618
#6659

/ok-to-test

/test-sdk-all

Dapr SDK Python test
🔗 Link to Action run
Commit ref: 3e78337
❌ Python SDK tests failed
Please check the logs for details on the error.

@ItalyPaleAle @berndverst Specifically the workflow example validation is failing. Was something change in either the Python SDK or in this PR for that?

For the E2E tests on AKS: looks like they cannot work anymore due to a change in the Bicep files. I'll see how to fix them
For the Python Workflow failure, i am not sure. I would ping @RyanLettieri and @cgillum who know that SDK more.

/ok-to-test

Issues with Python SDK tests should have been fixed. https://github.com/dapr/python-sdk/pull/584 not a bug in the runtime


Closes #56 - Updated production template instructions on readme

Signed-off-by: Juraci Paixão Kröhling<EMAIL_ADDRESS>

@freelinuxer , @kevinearls , would you please review as well ?


Update streamlink-twitch-gui to 1.5.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for your contribution!
Closed in favour of https://github.com/caskroom/homebrew-cask/pull/45441 as it was made a few minutes earlier.

Oh, sorry, didn't see that. I'm the dev of the app and another user must have submitted a PR while I was updating other packages :sweat_smile:


Vim: split and join by bar?

Would it make sense for the Vim mode to handle/use bars (|) to join/split?
E.g. the following:
if bufname("%") == "peekabook"
    return
endif

to:
if bufname("%") == "peekabook" | return | endif

So basically, it would use | for splitting/joining, in case there is no continuation backslash (which is handled currently).

In this case, the only way for it to make sense is to work on specific constructs, like if-clauses. Which I can try to implement. As you said, joining is not going to be a problem, since I can just check if the next line starts with a \. I'm not sure about splitting.
Right now, splitting a line just relies on being in the right place. Maybe I could do something like, "if the cursor is on or just before a |, then split by that", although I'm not sure of edge cases. I'll try it out.
Do you have any other constructs you'd like splitjoin to work on, apart from if-clauses?

Thanks for looking into this!

Do you have any other constructs you'd like splitjoin to work on, apart from if-clauses?

Maybe this could be based on endwise's list?
'fu,fun,func,function,wh,while,if,for,try,au,augroup' (https://github.com/tpope/vim-endwise/blob/master/plugin/endwise.vim#L46).

Be aware that there are cases, in which retaining the bars is the desired behaviour, such as in an (auto-) command. For example, I have this command living in my ftplugin/tex.vim:
command! -buffer -bang -range -nargs=1 -complete=file Export <line1>,<line2>w! >> <args>
                  \| <line1>,<line2>d
                  \| if '<bang>' == '!'
                        \| call append(line('.') - 1, '\input{<args>}')
                  \| endif

Or this autocmd in my vimrc:
autocmd FileType    tex,mail,pandoc  if exists(':Thesaurus') | setlocal keywordprg=:Thesaurus | endif

In both cases, the desired behaviour is to retain the bars while adding line-continuation characters on splitting / deleting line-continuation characters on joining.


Feedback for G2C Module 02

02 - Modernizing your data estate with SQL Server 2019

Spelling/Links:
All links work and point correctly
In the third paragraph of 2.6: "with SQL Server 2019 using using the Module 2.6 What else, migrations, and next steps section" the word "using" is twice in a row.
In intro section to module, there's no line break between "Performance" and "Note". You can add one by placing two spaces after "Performance." You could additionally at a ">" before Note, if you want it to be formatted that way. Same comment for the Note at the end of 2.5
2.4 is missing a period ending each of the first two paragraphs.
for 2.4 first paragraph, "with client drivers installed" it is with client drivers installed? not without? I should know the answer to this question but just confirming since I don't.

Slides review
Looks great! I like the Migrate to Modern SQL Server and Compat Cert slides. I hadn't seen those before.

Thanks for all the feedback.  All typos and punctuation fixed. I wanted the "Note" to be part of the SELF-PACED USERS paragraph so I capitalized it to make it stand our more instead of a line break.
For the client drivers it is supposed to be with client drivers installed. Even though that is covered in the slides and lab I added a sentence to make this clear.


Add SwiftLint for demos and tests

In this PR the demos and tests are back in the SwiftLint. I tried to exclude the files in the .swiftlint.yml file but it did work and resulted in a more complex solution than disabling each broken and acceptable rule in the source code by using swiftlint:disable rule.
Rules disabled:

force_try: During tests it's normal to expect non try values and force unwrapping the initialisations and conversions of data, if it's crashing, there is something wrong with the library or the test is wrong. On the examples, it's Ok to crash the test or demo on the initialisation of the client, but the force conversion of data has been removed to a safe alternative.
force_unwrapping: Similar as force_try.
force_cast: There are some objects that are being converted to objc values (like NSError (or JSONSerialization in other tests)) in the ClientsTests, converting them with force cast is a part of the test to verify the the expected value matches with the tested value.
line_length: The DocumentsTests unit test is very long, well over 200 lines due the number of spaces, it could be massively reduced but I am afraid of changing it because it's well... not that big, being only 424. I would like to keep this file as an exception to the rule because it's a test, it could be different if it was in the library source code.

Please let me know if this requires any change.

bors try

Could you rebase @ppamorim ?

@bidoubiwa Done :)

@bidoubiwa Could you please review it again?

bors merge


vscode auto completes certain patterns without consent

Ok so this happened for me on a few different occasions and I think it really should be fixed. I have a few patterns in mind that trigger the bug, but lets go with the one everybody should be able to reproduce instantly:

Create a .js file
Type ul.

Upon writing the dot . vscode autocompletes the expressions to either URL. or userList. on my side. I can 100% reproduce this every time, with all of my extensions disabled.
So I am pretty sure vscode is not supposed to automagically replace strings without pressing enter or TAB
As I said there have been other patterns also triggering this, but lets go with the above mentioned example for now, as it seems very simple to reproduce and maybe all those occurrences have the same root cause.

For .js and .ts files the dot is a completion character, and the setting editor.acceptSuggestionOnCommitCharacter defaults to true.
See https://github.com/microsoft/vscode/issues/70176#issuecomment-471366315

What version is this? This is likely a duplicate of https://github.com/microsoft/vscode/issues/77926

For .js and .ts files the dot is a completion character, and the setting editor.acceptSuggestionOnCommitCharacter defaults to true.

Yes disabling that fixes it, even though I would consider this to be a very unintuitive default.
Also I still think this might be some kind of a bug since it is not consistent at all what will be autocompleted. As I have mentioned, ul. gets randomly converted to either URL. or userList..

What version is this? This is likely a duplicate of #77926

Might be! I'm on v1.36.1
One other case was, that writing something like .style would get autocompleted to .getElementsByClassName, however I currenlty didnt find a way to trigger it in a reproducable manner. You can see the issue here: https://youtu.be/hdI2bqOjy3c?t=5261

Might be! I'm on v1.36.1

Very, very likely. Closing as duplicate, please report back if this happens with 1.37 (released yesterday)

Hey, seems it is still happening with v1.37
I can definately still reproduce the .ul issue described above in .js files


update CI roadmap

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: update CI roadmap
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6652b8931de52202ca819ad2--harness-developer.netlify.app


Broken DTD as of today

TestNG Version
6.13.1
Expected behavior
Actual behavior
Runing testng from ANT gives following error, starting today. Exactly, the xmlproperty ant task fails when trying to load the testng xml file.
[xmlproperty] [Fatal Error] testng-1.0.dtd:1:3: The markup declarations contained or pointed to by the document type declaration must be well-formed.
Removing DTD file reference from suite.xml solved the problem but now IDE doesn't know to offer suggestions.
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven
[ ] Gradle
[X ] Ant
[ ] Eclipse
[ ] IntelliJ
[ ] NetBeans

Test case sample
suite.xml contains:
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">

I have the same issue starting from today.
I use groovy.util.XmlParser.
org.xml.sax.SAXParseException; systemId: http://testng.org/testng-1.0.dtd; lineNumber: 1; columnNumber: 3; The markup declarations contained or pointed to by the document type declaration must be well-formed.

	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at groovy.util.XmlParser.parse(XmlParser.java:250)
	at groovy.util.XmlParser.parseText(XmlParser.java:283)

I recently updated links to https, wonder if it might be related...
--
Cédric
On Wed, Apr 3, 2019 at 6:49 AM daroshchanka<EMAIL_ADDRESS>wrote:

I have the same issue starting from today.
I use groovy.util.XmlParser.
org.xml.sax.SAXParseException; systemId: http://testng.org/testng-1.0.dtd; lineNumber: 1; columnNumber: 3; The markup declarations contained or pointed to by the document type declaration must be well-formed.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
at groovy.util.XmlParser.parse(XmlParser.java:250)
at groovy.util.XmlParser.parseText(XmlParser.java:283)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cbeust/testng/issues/2048#issuecomment-479497371, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFoomBoZOqwPmr1nuCqZ9CJ7PhUXrB1ks5vdLFWgaJpZM4cZxmk
.

Looks like the resolver is not honoring 301 redirects?

Looks like a bug from groovy.util.XmlParser. It tries to resolve the DTD on its own but without following redirects.

@daroshchanka @ghenadied
Just a heads up, given that you were experiencing this issue, this indicates that your code was vulnerable to a Man-In-The-Middle (MITM) based XXE attack against whatever logic was parsing TestNG.
https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing
If this exception occurred in production code, you probably had a security vulnerability.

Read about issues with dtd redirects for java xml parser.
https://github.com/cbeust/testng/issues/1385#issuecomment-286454350
Switch to https works fine.

I am seeing issue related to this one. I have replaced http with https but I get different error. Now it complains that it cannot find valid certification path:
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I think the issue is that your server does not send intermediate certificates. This is detected by SSL Test: https://www.ssllabs.com/ssltest/analyze.html?d=testng.org

If this is implemented correctly, you should never be making HTTP or HTTPS requests from the XML parser. What is the contents of your suite XML file?

@JLLeitschuh We have additional information in XML comments, so it might be that we are instantiating the XML parser once more to get the comments. But in any case the SSL test shows some issues.


[#157032509] Set the Subject Key Identifier when generating certificates

What
The identifier is the 160-bit SHA-1 hash of the public key (see [1]).
This library is used by the BOSH cli and the BOSH cli can be used to generate certificates into a variable store - based on the manifest variable definitions.
There is a known issue if you try to rotate the CA certificates outlined in [2].
The root of the problem is that when OpenSSL is configured to trust multiple CAs, and two of them have the same subject name, OpenSSL will only verify certificates against the first one (see [3] in OpenSSL code).
One solution for the CA certificate rotation problem is to set the Subject Key Identifiers so OpenSSL will be able to handle multiple certificates with the same subject name.
The generation method is based on certstrap's solution. [4]
[1] https://tools.ietf.org/html/rfc5280#section-<IP_ADDRESS>
[2] https://docs.google.com/document/d/1vKxziTEvIgKHubukoyAGaJzGqrMBjun7JffbunlLBPg/edit#heading=h.wftyivqbaag4
[3] https://github.com/openssl/openssl/blob/49f6cb968ff63793f6671d9026fb2a7034dad79a/crypto/x509/x509_lu.c#L613-L617
[4] https://github.com/square/certstrap/blob/b6aef507a0840bf78bac99e7ffa6e6eb5c2c3c9f/pkix/key.go#L150
How to review
Code review
If the PR is approved please tell @bandesz to open an upstream PR based on this.
Who can review it
Not me.

This adds the subject key identifier for both CA certs and non-CA certs, but only adds tests to the "when 'is_ca' is TRUE" Context; it excludes the "when 'is_ca' is FALSE" Context block.
If the intended behaviour is adding the subject key identifier to all certs, please add the tests; otherwise remove the part that adds it to non-CA certs.

@henrytk I added the missing test case


project entry point: backend/server.js

My project entry point is backend/server.js but package.json is in the root directory. Please generate a vercel.json file for this type of project structure

it seems that ,if you  are not use the root of ./api, the deploy will go wrong


[Feature Request] Users can opt-in to notificaations for other users' requests

Description
When users have the View Requests permission, they can see other user's requests but I think it would be very nice to give them a button that allows them to opt-in for notifications (Ping multiple users for Discord, Email list for email notifs), this would mostly be useful because many users want to know when the newest season of a show is available. But it also is useful for Movie notifications aswell.
Desired Behavior
In the Requests tab, there should be a button (Bell icon?) that allows you to opt-in to notifications for that request. This would also be useful to have in the Movie/Show's page.
Additional Context
No response
Code of Conduct

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

sct/overseerr#789

@Fallenbagel it's a dead thread I was wondering if it could be implemented in Jellyseerr

Duplicate of #375


[Validator] Extract source subdivisions from /covidcast/meta instead of hard-coding

Validator currently hard-codes the mapping from sources to source subdivisions:
https://github.com/cmu-delphi/covidcast-indicators/blob/716f7330cad30d8fde5051e6ff779a2345539127/_delphi_utils_python/delphi_utils/validator/datafetcher.py#L114-L119
This means whenever we change the mapping in the spreadsheet (eg for https://github.com/cmu-delphi/delphi-epidata/issues/800), we would need to remember the extra step of updating this hardcoded copy in validator. That is not ideal.
Is this mapping exposed as part of /covidcast/meta? If so, we should have validator look it up there instead. If not, we should add an endpoint to delphi-epidata /covidcast/* to surface it.

mata with no arguments gives you db_source and then source for all the member signals, which is exactly this mapping.


Impossible to negate CSSNumeric value directly

This work as expected:
bottom((-10).percent)

While this does not:
bottom(-10.percent)

Even though first version is recommended - and IDE will even suggest to wrap the negative value,  I don't see a reason why we should not support the second form - it's cheap and we already override bunch of operators

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.