"Generate Drupal project with composer package" hanging.

`: -->
Issue Type

Bug Report / Support Request

Your Environment

Vagrant 1.9.3

Your OS

Windows 10

Full console output
TASK [geerlingguy.solr : Expand Solr.] *****************************************
skipping: [drupalvm]
TASK [geerlingguy.solr : Check if Solr is already installed.] ******************
skipping: [drupalvm]
TASK [geerlingguy.solr : Copy Solr into place.] ********************************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure Solr install files are owned by the solr_user.]
skipping: [drupalvm]
TASK [geerlingguy.solr : Check if solr_home is already set up.] ****************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure solr_home directory exists.] *******************
skipping: [drupalvm]
TASK [geerlingguy.solr : Copy Solr example into solr_home.] ********************
skipping: [drupalvm]
TASK [geerlingguy.solr : Fix the example solrconfig.xml file.] *****************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure Solr home files are owned by the solr_user.] ***
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure log file is created and has proper permissions.] ***
skipping: [drupalvm]
TASK [geerlingguy.solr : Copy solr init script into place.] ********************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure daemon is installed (Debian).] *****************
skipping: [drupalvm]
TASK [geerlingguy.solr : Copy solr systemd unit file into place (for systemd systems).] ***
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure lsof is present (RedHat).] *********************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure setfacl support is present.] *******************
skipping: [drupalvm]
TASK [geerlingguy.solr : Run Solr installation script.] ************************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure solr is stopped (RHEL 7 workaround).] **********
skipping: [drupalvm]
TASK [geerlingguy.solr : Run systemd daemon_reload (RHEL 7 workaround).] *******
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure solr is started and enabled on boot.] **********
skipping: [drupalvm]
TASK [geerlingguy.solr : Check current list of Solr cores.] ********************
skipping: [drupalvm]
TASK [geerlingguy.solr : Ensure Solr conf directories exist.] ******************
skipping: [drupalvm] => (item=collection1)
TASK [geerlingguy.solr : Ensure core configuration directories exist.] *********
skipping: [drupalvm] => (item=collection1)
TASK [geerlingguy.solr : Create configured cores.] *****************************
skipping: [drupalvm] => (item=collection1)
TASK [geerlingguy.solr : Remove existing SOLR_HEAP configuration.] *************
skipping: [drupalvm]
TASK [geerlingguy.solr : Apply Solr configuration changes.] ********************
skipping: [drupalvm] => (item={u'regexp': u'^.?SOLR_JAVA_MEM=', u'line': u'SOLR_JAVA_MEM="-Xms64M -Xmx128M"'})
skipping: [drupalvm] => (item={u'regexp': u'^.?SOLR_TIMEZONE=', u'line': u'SOLR_TIMEZONE="UTC"'})
skipping: [drupalvm] => (item={u'regexp': u'^SOLR_PORT=', u'line': u'SOLR_PORT="8983"'})
TASK [geerlingguy.solr : include] **********************************************
skipping: [drupalvm]
TASK [geerlingguy.java : Include OS-specific variables.] ***********************
skipping: [drupalvm]
TASK [geerlingguy.java : Include OS-specific variables for Fedora.] ************
skipping: [drupalvm]
TASK [geerlingguy.java : Include version-specific variables for Ubuntu.] *******
skipping: [drupalvm]
TASK [geerlingguy.java : Define java_packages.] ********************************
skipping: [drupalvm]
TASK [geerlingguy.java : include] **********************************************
skipping: [drupalvm]
TASK [geerlingguy.java : include] **********************************************
skipping: [drupalvm]
TASK [geerlingguy.java : include] **********************************************
skipping: [drupalvm]
TASK [geerlingguy.java : Set JAVA_HOME if configured.] *************************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Add Elasticsearch GPG key.] ******************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Add Elasticsearch repository.] ***************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Install Elasticsearch.] **********************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Add Elasticsearch apt key.] ******************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Add Elasticsearch repository.] ***************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Install Elasticsearch.] **********************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Configure Elasticsearch.] ********************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Start Elasticsearch.] ************************
skipping: [drupalvm]
TASK [geerlingguy.elasticsearch : Make sure Elasticsearch is running before proceeding.] ***
skipping: [drupalvm]
TASK [geerlingguy.varnish : Include OS-specific variables.] ********************
ok: [drupalvm]
TASK [geerlingguy.varnish : Ensure Varnish dependencies are installed.] ********
skipping: [drupalvm] => (item=[])
TASK [geerlingguy.varnish : Add Varnish repository.] ***************************
skipping: [drupalvm]
TASK [geerlingguy.varnish : Set repo fact appropriately.] **********************
skipping: [drupalvm]
TASK [geerlingguy.varnish : Install Varnish.] **********************************
skipping: [drupalvm]
TASK [geerlingguy.varnish : Ensure APT HTTPS Transport is installed.] **********
skipping: [drupalvm]
TASK [geerlingguy.varnish : Add Varnish apt key.] ******************************
skipping: [drupalvm]
TASK [geerlingguy.varnish : Add Varnish apt repository.] ***********************
skipping: [drupalvm]
TASK [geerlingguy.varnish : Install Varnish.] **********************************
changed: [drupalvm]
TASK [geerlingguy.varnish : Copy Varnish configuration (sysvinit).] ************
skipping: [drupalvm]
TASK [geerlingguy.varnish : Copy Debian Jessie/Xenial specific Varnish configs (systemd).] ***
changed: [drupalvm]
TASK [geerlingguy.varnish : Copy Varnish configuration (systemd).] *************
changed: [drupalvm]
TASK [geerlingguy.varnish : Ensure Varnish config path exists.] ****************
ok: [drupalvm]
TASK [geerlingguy.varnish : Copy Varnish default VCL.] *************************
changed: [drupalvm]
TASK [geerlingguy.varnish : Copy varnish secret.] ******************************
changed: [drupalvm]
TASK [geerlingguy.varnish : Ensure Varnish services are started enabled on startup.] ***
ok: [drupalvm] => (item=varnish)
TASK [geerlingguy.security : Include OS-specific variables.] *******************
skipping: [drupalvm]
TASK [geerlingguy.security : Install fail2ban.] ********************************
skipping: [drupalvm]
TASK [geerlingguy.security : Install fail2ban.] ********************************
skipping: [drupalvm]
TASK [geerlingguy.security : Ensure fail2ban is running and enabled on boot.] **
skipping: [drupalvm]
TASK [geerlingguy.security : Update SSH configuration to be more secure.] ******
skipping: [drupalvm] => (item={u'regexp': u'^PermitRootLogin', u'line': u'PermitRootLogin no'})
skipping: [drupalvm] => (item={u'regexp': u'^X11Forwarding', u'line': u'X11Forwarding no'})
skipping: [drupalvm] => (item={u'regexp': u'^GSSAPIAuthentication', u'line': u'GSSAPIAuthentication no'})
skipping: [drupalvm] => (item={u'regexp': u'^ChallengeResponseAuthentication', u'line': u'ChallengeResponseAuthentication no'})
skipping: [drupalvm] => (item={u'regexp': u'^PermitEmptyPasswords', u'line': u'PermitEmptyPasswords no'})
skipping: [drupalvm] => (item={u'regexp': u'^UseDNS', u'line': u'UseDNS no'})
skipping: [drupalvm] => (item={u'regexp': u'^Port', u'line': u'Port 22'})
skipping: [drupalvm] => (item={u'regexp': u'^PasswordAuthentication', u'line': u'PasswordAuthentication no'})
TASK [geerlingguy.security : Add configured user accounts to passwordless sudoers.] ***
TASK [geerlingguy.security : Add configured user accounts to passworded sudoers.] ***
TASK [geerlingguy.security : Install yum-cron.] ********************************
skipping: [drupalvm]
TASK [geerlingguy.security : Ensure yum-cron is running and enabled on boot.] **
skipping: [drupalvm]
TASK [geerlingguy.security : Configure autoupdates (RHEL 7).] ******************
skipping: [drupalvm]
TASK [geerlingguy.security : Install unattended upgrades package.] *************
skipping: [drupalvm]
TASK [geerlingguy.security : Copy unattended-upgrades configuration files in place.] ***
skipping: [drupalvm] => (item=50unattended-upgrades)
skipping: [drupalvm] => (item=10periodic)
TASK [Do not accept locale environment variables passed over SSH.] *************
changed: [drupalvm]
TASK [Check if local known_hosts file is present.] *****************************
ok: [drupalvm]
TASK [Copy known_hosts file from host into Drupal VM.] *************************
skipping: [drupalvm]
TASK [Set SSH home directory.] *************************************************
skipping: [drupalvm]
TASK [Install extra apt packages (if any are configured).] *********************
changed: [drupalvm] => (item=[u'sqlite'])
TASK [Install extra yum packages (if any are configured).] *********************
skipping: [drupalvm] => (item=[])
TASK [Define drupalvm_webserver_user (Debian).] ********************************
ok: [drupalvm]
TASK [Define drupalvm_webserver_user (RedHat).] ********************************
skipping: [drupalvm]
TASK [Register information about the /vagrant directory.] **********************
ok: [drupalvm]
TASK [Ensure a group with the same GID as used to sync directories exist (Ansible 2.3+).] ***
skipping: [drupalvm]
TASK [Ensure the webserver user is in the same group as the owner of synced directories (Ansible
2.3+).] ***
skipping: [drupalvm]
TASK [Detect if group used to sync directories already exist (Ansible 2.2).] ***
ok: [drupalvm]
TASK [Ensure a group with the same GID as used to sync directories exist (Ansible 2.2).] ***
skipping: [drupalvm]
TASK [Ensure the webserver user is in the same group as the owner of synced directories (Ansible
2.2).] ***
changed: [drupalvm]
TASK [Ensure admin group exist.] ***********************************************
changed: [drupalvm]
TASK [Ensure vagrant user is in admin group.] **********************************
changed: [drupalvm]
TASK [Set nicer permissions on Apache log directory.] **************************
changed: [drupalvm]
TASK [Copy Nginx vhosts into place.] *******************************************
skipping: [drupalvm] => (item={u'is_php': True, u'root': u'/var/www/drupalvm/drupal/web', u'server_name': u'drupalvm.dev www.drupalvm.dev'})
skipping: [drupalvm] => (item={u'is_php': True, u'root': u'/var/www/dashboard', u'server_name': u'<IP_ADDRESS> dashboard.drupalvm.dev'})
skipping: [drupalvm] => (item={u'is_php': True, u'root': u'/usr/share/php/pimpmylog', u'server_name': u'pimpmylog.drupalvm.dev'})
skipping: [drupalvm] => (item={u'is_php': True, u'root': u'/usr/share/php/xhprof_html', u'server_name': u'xhprof.drupalvm.dev'})
skipping: [drupalvm] => (item={u'is_php': True, u'root': u'/opt/adminer', u'server_name': u'adminer.drupalvm.dev'})
TASK [Detect if AppArmor is working.] ******************************************
ok: [drupalvm]
[WARNING]: Consider using service module rather than running service
TASK [Ensure MySQL AppArmor profile is disabled (for slow query log).] *********
changed: [drupalvm]
TASK [Restart the AppArmor if necessary.] **************************************
changed: [drupalvm]
TASK [include_role] ************************************************************
TASK [geerlingguy.drupal : Add backwards-compatibility shims.] *****************
included: /vagrant/provisioning/roles/geerlingguy.drupal/tasks/backwards-compatibility.yml for drupalvm
TASK [geerlingguy.drupal : build_makefile shim] ********************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : build_composer shim] ********************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : build_composer_project shim] ************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : install_site shim] **********************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : drupalvm_database shim] *****************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : Check if Drupal is already set up.] *****************
ok: [drupalvm]
TASK [geerlingguy.drupal : Define drupal_site_exists] **************************
ok: [drupalvm]
TASK [geerlingguy.drupal : include] ********************************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : include] ********************************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : include] ********************************************
included: /vagrant/provisioning/roles/geerlingguy.drupal/tasks/build-composer-project.yml for drupalvm
TASK [geerlingguy.drupal : Ensure drupal_composer_install_dir directory has proper permissions.]

changed: [drupalvm]
TASK [geerlingguy.drupal : Generate Drupal project with composer package.] *****
C:\Users\laurence\VirtualBox VMs\Vagrant Boxes\drupal-vm>==> drupalvm: Waiting for cleanup before exiting...
Summary
I have been trying for two days to get this working basically deleting and re-running. Tried the zip file on the site and cloning latest github Just hangs at Generate Drupal project message. No idea whats going on. any help appreciated.

@laurencefass - How long have you let this run before killing it? Sometimes it can take 20, 30, 40 minutes, depending on your Internet connection and how Composer is feeling that day.
I typically avoid using that method of building new sites if I'm just trying to get a quick Drupal 8 site put together—I instead use the example drupal.composer.json file and the composer install technique. But it usually takes less than 5 minutes on my home computer and Internet connection, and about the same in the Travis CI automated builds here on GitHub.

thanks for quick reply. im happy to do whatever to get the site running. please can you give some steps for using the composer method. do i vagrant ssh onto box or run commands on my vbox host? is it as simple as php compose install? which directory? thanks.

also: ive left it running for hours. some sort of progress or activity indicator may be useful... but ill wait for the drupal.composer.json solution and go with it...

@laurencefass see: http://docs.drupalvm.com/en/latest/deployment/composer/
You can also build from a Drush Make file (see other links in the docs linked above).

I dont really understand the context of this link. http://docs.drupalvm.com/en/latest/deployment/composer/
do i make the detailed changes and then run vagrant up? vagrant provision? do i need to make these changes on a totally clean box (so delete the one i have) or can i re-run existing box? should i see a different output?

@laurencefass - You would make those changes then if you already built the VM once, run vagrant provision. Though it might be cleanest if you do vagrant destroy to delete the VM, then vagrant up from scratch again.

ill try in the morning (its night here in the UK) and let you know how i get on. thanks so much for responding so quickly.

following instructions ive added entries into config.yml and left default.config.yml untouched. im assuming the former is parsed after the default file.
drupal_build_makefile: false
drupal_build_composer: true
drupal_build_composer_project: false
drupal_core_path: "{{ drupal_composer_install_dir }}/docroot"
OUTPUT from > vagrant provision
TASK [geerlingguy.drupal : include] ********************************************
skipping: [drupalvm]
TASK [geerlingguy.drupal : include] ********************************************
included: /vagrant/provisioning/roles/geerlingguy.drupal/tasks/build-composer.yml for drupalvm
TASK [geerlingguy.drupal : Ensure drupal_composer_install_dir directory exists.] ***
ok: [drupalvm]
TASK [geerlingguy.drupal : Copy composer.json into temporary location.] ********
changed: [drupalvm]
TASK [geerlingguy.drupal : Move composer.json into place.] *********************
changed: [drupalvm]
TASK [geerlingguy.drupal : Run composer install.] ******************************
...so its stopping here. the longest ive waited is an hour. is there a log file i can look somewhere? have you seen this before?

how do i use composer.json and drupal.composer.json? do i overwrite the former with the latter?

i ran vagrant provision a couple of times and it just worked.

@laurencefass - I'm guessing it was just a network slowdown, or it could've just been super slow if your computer has a spinning hard disk instead of SSD, something like that.

I am trying to run vagrant up in windows 10. But getting this error -
TASK [geerlingguy.drupal : Generate Drupal project with composer package in /tmp/composer-project (this may take a while).] ***
fatal: [drupalvm]: FAILED! => {"changed": true, "cmd": ["/usr/bin/composer", "create-project", "drupal/recommended-project:^9@dev", "/tmp/composer-project", "--prefer-dist", "--stability", "dev", "--no-interaction"], "delta": "0:00:30.199718", "end": "2020-09-08 07:40:38.273486", "msg": "non-zero return code", "rc": 1, "start": "2020-09-08 07:40:08.073768", "stderr": "    1/5:\thttp://repo.packagist.org/p/provider-latest$0e7e2e28ddc4fba18b0423e5c231a2f309dd7a6f86c6fb49ebd06b72eb6df0a1.json\n    2/5:\thttp://repo.packagist.org/p/provider-2020-01$9b89d58c6306aed7da9d22c30a7620db5dcd6614a56b238859073478d84e0373.json\n    3/5:\thttp://repo.packagist.org/p/provider-2020-04$b4cd377d81ef5312aba23b7dd6caaa87f3cf53064cef1a327accd76a8967b5df.json\n    4/5:\thttp://repo.packagist.org/p/provider-2019$96a23217ee6d45f8ec6f76d641fc875940ec1777cdd3161927ca1e28a95e72e3.json\n    5/5:\thttp://repo.packagist.org/p/provider-2020-07$eb7894cc88843498e08e8d9223d2f8c3316eff82add860e0f633be2df9955f9b.json\n    Finished: success: 5, skipped: 0, failure: 0, total: 5\n    1/5:\thttp://repo.packagist.org/p/provider-latest$0e7e2e28ddc4fba18b0423e5c231a2f309dd7a6f86c6fb49ebd06b72eb6df0a1.json\n    2/5:\thttp://repo.packagist.org/p/provider-2020-01$9b89d58c6306aed7da9d22c30a7620db5dcd6614a56b238859073478d84e0373.json\n    3/5:\thttp://repo.packagist.org/p/provider-2019$96a23217ee6d45f8ec6f76d641fc875940ec1777cdd3161927ca1e28a95e72e3.json\n    4/5:\thttp://repo.packagist.org/p/provider-2020-07$eb7894cc88843498e08e8d9223d2f8c3316eff82add860e0f633be2df9955f9b.json\n    5/5:\thttp://repo.packagist.org/p/provider-2020-04$b4cd377d81ef5312aba23b7dd6caaa87f3cf53064cef1a327accd76a8967b5df.json\n    Finished: success: 5, skipped: 0, failure: 0, total: 5\n    1/5:\thttp://repo.packagist.org/p/provider-2020-01$9b89d58c6306aed7da9d22c30a7620db5dcd6614a56b238859073478d84e0373.json\n    2/5:\thttp://repo.packagist.org/p/provider-latest$0e7e2e28ddc4fba18b0423e5c231a2f309dd7a6f86c6fb49ebd06b72eb6df0a1.json\n    3/5:\thttp://repo.packagist.org/p/provider-2019$96a23217ee6d45f8ec6f76d641fc875940ec1777cdd3161927ca1e28a95e72e3.json\n    4/5:\thttp://repo.packagist.org/p/provider-2020-04$b4cd377d81ef5312aba23b7dd6caaa87f3cf53064cef1a327accd76a8967b5df.json\n    5/5:\thttp://repo.packagist.org/p/provider-2020-07$eb7894cc88843498e08e8d9223d2f8c3316eff82add860e0f633be2df9955f9b.json\n
Finished: success: 5, skipped: 0, failure: 0, total: 5\nCreating a "drupal/recommended-project:^9@dev" project at "/tmp/composer-project"\nInstalling drupal/recommended-project (9.1.x-dev b19274227a2e723389bc9082b069f5afb887fe7e)\n  - Installing drupal/recommended-project (9.1.x-dev b192742): Loading from cache\nCreated project in /tmp/composer-project\n    1/2:\thttps://packages.drupal.org/8/drupal/provider-2020-2$6e1e13a519e5df061d623a7ff7a057cf1664acb0e6cc6675f92248e835bb1c06.json\n    2/2:\thttps://packages.drupal.org/8/drupal/provider-2020-3$74fce31854d7aa9febdefbb9c3b07816083c9d986fb7fb5dd33237a19fb7a803.json\n
Finished: success: 2, skipped: 0, failure: 0, total: 2\nLoading composer repositories with package information\nInstalling dependencies (including require-dev) from lock file\nPackage operations: 115 installs, 0 updates, 0 removals\n  - Installing composer/installers (v1.9.0): Loading from cache\n  - Installing drupal/core-composer-scaffold (9.1.x-dev 7b12551): Loading from cache\n  - Installing drupal/core-project-message (9.1.x-dev ae723fe): Loading from cache\n  - Installing typo3/phar-stream-wrapper (v3.1.5): Loading from cache\n  - Installing symfony/polyfill-mbstring (v1.18.1): Loading from cache\n    Failed to download symfony/polyfill-mbstring from dist: Failed to execute (2) unzip -qq -o '/tmp/composer-project/vendor/symfony/polyfill-mbstring/228d3298ea92dc5db0f55d7534bd6049' -d '/tmp/composer-project/vendor/composer/cbf2f3d5'\n\n/tmp/composer-project/vendor/composer/cbf2f3d5/symfony-polyfill-mbstring-a6977d6/Resources/unidata/lowerCase.php  bad CRC 68ab13c6  (should be 8a9fb65a)\n\n    Now trying to download from source\n  - Installing symfony/polyfill-mbstring (v1.18.1): Cloning a6977d63bf from cache\n  - Installing symfony/polyfill-ctype (v1.18.1): Loading from cache\n  - Installing twig/twig (v2.13.1): Loading from cache\n  - Installing symfony/yaml (v4.4.12): Loading from cache\n  - Installing symfony/polyfill-php80 (v1.18.1): Loading from cache\n  - Installing symfony/var-dumper (v5.1.4): Loading from cache\n  - Installing symfony/translation-contracts (v2.1.3): Loading from cache\n  - Installing symfony/validator (v4.4.12): Loading from cache\n    Failed to download symfony/validator from dist: Failed to execute (2) unzip -qq -o '/tmp/composer-project/vendor/symfony/validator/feb2d3a99c1a88725561fb3ac0a2f4fe' -d '/tmp/composer-project/vendor/composer/c5fb5657'\n\n/tmp/composer-project/vendor/composer/c5fb5657/symfony-validator-cee2f13/Constraints/RangeValidator.php  bad CRC dd5913d3  (should be 1bc28ae6)\n\n    Now trying to download from source\n  - Installing symfony/validator (v4.4.12): Cloning cee2f13ddc\n\n                                                                                \n  [RuntimeException]
\n  Failed to clone https://github.com/symfony/validator.git via https, ssh protocols, aborting.  \n
\n  - https://github.com/symfony/validator.git
\n    Cloning into '/tmp/composer-project/vendor/symfony/validator'...                            \n    error: inflate: data stream error (invalid bit length repeat)                               \n    fatal: pack has bad object at offset 408208: inflate returned -3
\n    fatal: index-pack failed                                                                    \n
\n  - git@github.com:symfony/validator.git                                                        \n    Cloning into '/tmp/composer-project/vendor/symfony/validator'...                            \n<EMAIL_ADDRESS>Permission denied (publickey).
\n    fatal: Could not read from remote repository.                                               \n
\n    Please make sure you have the correct access rights                                         \n
and the repository exists.                                                                  \n
\n\ncreate-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []", "stderr_lines": ["    1/5:\thttp://repo.packagist.org/p/provider-latest$0e7e2e28ddc4fba18b0423e5c231a2f309dd7a6f86c6fb49ebd06b72eb6df0a1.json", "    2/5:\thttp://repo.packagist.org/p/provider-2020-01$9b89d58c6306aed7da9d22c30a7620db5dcd6614a56b238859073478d84e0373.json", "    3/5:\thttp://repo.packagist.org/p/provider-2020-04$b4cd377d81ef5312aba23b7dd6caaa87f3cf53064cef1a327accd76a8967b5df.json", "    4/5:\thttp://repo.packagist.org/p/provider-2019$96a23217ee6d45f8ec6f76d641fc875940ec1777cdd3161927ca1e28a95e72e3.json", "    5/5:\thttp://repo.packagist.org/p/provider-2020-07$eb7894cc88843498e08e8d9223d2f8c3316eff82add860e0f633be2df9955f9b.json", "    Finished: success: 5, skipped: 0, failure: 0, total: 5", "    1/5:\thttp://repo.packagist.org/p/provider-latest$0e7e2e28ddc4fba18b0423e5c231a2f309dd7a6f86c6fb49ebd06b72eb6df0a1.json", "    2/5:\thttp://repo.packagist.org/p/provider-2020-01$9b89d58c6306aed7da9d22c30a7620db5dcd6614a56b238859073478d84e0373.json", "    3/5:\thttp://repo.packagist.org/p/provider-2019$96a23217ee6d45f8ec6f76d641fc875940ec1777cdd3161927ca1e28a95e72e3.json", "    4/5:\thttp://repo.packagist.org/p/provider-2020-07$eb7894cc88843498e08e8d9223d2f8c3316eff82add860e0f633be2df9955f9b.json", "    5/5:\thttp://repo.packagist.org/p/provider-2020-04$b4cd377d81ef5312aba23b7dd6caaa87f3cf53064cef1a327accd76a8967b5df.json", "    Finished: success: 5, skipped: 0, failure: 0, total: 5", "    1/5:\thttp://repo.packagist.org/p/provider-2020-01$9b89d58c6306aed7da9d22c30a7620db5dcd6614a56b238859073478d84e0373.json", "    2/5:\thttp://repo.packagist.org/p/provider-latest$0e7e2e28ddc4fba18b0423e5c231a2f309dd7a6f86c6fb49ebd06b72eb6df0a1.json", "    3/5:\thttp://repo.packagist.org/p/provider-2019$96a23217ee6d45f8ec6f76d641fc875940ec1777cdd3161927ca1e28a95e72e3.json", "    4/5:\thttp://repo.packagist.org/p/provider-2020-04$b4cd377d81ef5312aba23b7dd6caaa87f3cf53064cef1a327accd76a8967b5df.json", "    5/5:\thttp://repo.packagist.org/p/provider-2020-07$eb7894cc88843498e08e8d9223d2f8c3316eff82add860e0f633be2df9955f9b.json", "    Finished: success: 5, skipped: 0, failure: 0, total: 5", "Creating a "drupal/recommended-project:^9@dev" project at "/tmp/composer-project"", "Installing drupal/recommended-project (9.1.x-dev b19274227a2e723389bc9082b069f5afb887fe7e)", "  - Installing drupal/recommended-project (9.1.x-dev b192742): Loading from cache", "Created project in /tmp/composer-project", "    1/2:\thttps://packages.drupal.org/8/drupal/provider-2020-2$6e1e13a519e5df061d623a7ff7a057cf1664acb0e6cc6675f92248e835bb1c06.json", "    2/2:\thttps://packages.drupal.org/8/drupal/provider-2020-3$74fce31854d7aa9febdefbb9c3b07816083c9d986fb7fb5dd33237a19fb7a803.json", "    Finished: success: 2, skipped: 0, failure: 0, total: 2", "Loading composer repositories with package information", "Installing dependencies (including require-dev) from lock file", "Package operations: 115 installs, 0 updates, 0 removals", "  - Installing composer/installers (v1.9.0): Loading from cache", "  - Installing drupal/core-composer-scaffold (9.1.x-dev 7b12551): Loading from cache", "  - Installing drupal/core-project-message (9.1.x-dev ae723fe): Loading from cache", "  - Installing typo3/phar-stream-wrapper (v3.1.5): Loading from cache", "  - Installing symfony/polyfill-mbstring (v1.18.1): Loading from cache", "    Failed to download symfony/polyfill-mbstring from dist: Failed to execute (2) unzip -qq -o '/tmp/composer-project/vendor/symfony/polyfill-mbstring/228d3298ea92dc5db0f55d7534bd6049' -d '/tmp/composer-project/vendor/composer/cbf2f3d5'", "", "/tmp/composer-project/vendor/composer/cbf2f3d5/symfony-polyfill-mbstring-a6977d6/Resources/unidata/lowerCase.php  bad CRC 68ab13c6  (should be 8a9fb65a)", "", "    Now trying to download from source", "  - Installing symfony/polyfill-mbstring (v1.18.1): Cloning a6977d63bf from cache", "  - Installing symfony/polyfill-ctype (v1.18.1): Loading from cache", "  - Installing twig/twig (v2.13.1): Loading from cache", "  - Installing symfony/yaml (v4.4.12): Loading from cache", "  - Installing symfony/polyfill-php80 (v1.18.1): Loading from cache", "  - Installing symfony/var-dumper (v5.1.4): Loading from cache", "  - Installing symfony/translation-contracts (v2.1.3): Loading from cache", "  - Installing symfony/validator (v4.4.12): Loading from cache", "    Failed to download symfony/validator from dist: Failed to execute (2) unzip -qq -o '/tmp/composer-project/vendor/symfony/validator/feb2d3a99c1a88725561fb3ac0a2f4fe' -d '/tmp/composer-project/vendor/composer/c5fb5657'", "", "/tmp/composer-project/vendor/composer/c5fb5657/symfony-validator-cee2f13/Constraints/RangeValidator.php  bad CRC dd5913d3  (should be 1bc28ae6)", "", "    Now trying to download from source", "  - Installing symfony/validator (v4.4.12): Cloning cee2f13ddc", "", "                                                                                ", "  [RuntimeException]
", "  Failed to clone https://github.com/symfony/validator.git via https, ssh protocols, aborting.  ", "
", "  - https://github.com/symfony/validator.git
", "    Cloning into '/tmp/composer-project/vendor/symfony/validator'...                            ", "    error: inflate: data stream error (invalid bit length repeat)                               ", "    fatal: pack has bad object at offset 408208: inflate returned -3
", "    fatal: index-pack failed                                                                    ", "
", "  - git@github.com:symfony/validator.git                                                        ", "    Cloning into '/tmp/composer-project/vendor/symfony/validator'...                            ", "<EMAIL_ADDRESS>Permission denied (publickey).
", "    fatal: Could not read from remote repository.                                               ", "
", "    Please make sure you have the correct access rights
", "    and the repository exists.                                                                  ", "
", "", "create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []"], "stdout": "", "stdout_lines": []}


Fix links and documentation build

Codecov Report

Merging #294 into master will decrease coverage by 4.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #294      +/-   ##
==========================================
- Coverage   90.04%   85.67%   -4.38%
==========================================
  Files          20       20
  Lines        1386     1291      -95
==========================================
- Hits         1248     1106     -142
- Misses        138      185      +47

Impacted Files
Coverage Δ

src/core.jl
74.35% <ø> (-14.60%)
:arrow_down:

src/library.jl
92.21% <ø> (-0.83%)
:arrow_down:

src/processes.jl
87.66% <ø> (+0.30%)
:arrow_up:

src/interop/dataframes.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/basics.jl
35.00% <0.00%> (-50.72%)
:arrow_down:

src/simd.jl
78.12% <0.00%> (-21.88%)
:arrow_down:

src/unordered.jl
79.59% <0.00%> (-17.02%)
:arrow_down:

src/reduce.jl
69.47% <0.00%> (-10.73%)
:arrow_down:

src/interop/onlinestats.jl
76.19% <0.00%> (-9.53%)
:arrow_down:

... and 11 more

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 0b9ae49...b534d01. Read the comment docs.


If you change from custom to built in, text stays custom

Because of custom bindings you have to remove all the text to go back to a standard binding. This should be fixed.

I have no idea what I meant here

I think what I mean here is in pour over support for Brewing Method and paper type.
If you go to and from "Custom" it will keep your last input unless you reset the view. It probably just needs the x button like Agitation Type, or perhaps just remove the entry altogether when you change types.
I don't know if it's worth doing the latter because perhaps someone wants to go back and forth and keep their original custom text temporarily.
The x button seems like the better approach.

Best of both worlds. If you press "X" it resets, if you change types it keeps it.
This will be fixed in next build


Consider moving Compute's ServiceAccount to core

Compute instances contain a list of service accounts, each of each has an email and scope fields. We should consider moving this information to gcloud-java-core as soon as it might be needed elsewhere.

This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog . This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.


Issue 412 - Initial Scheduler Refactor

This issue was a short-term fix to improve scheduler performance and database all status updates from Mesos. I did the following:

Moved database queries pertaining to each task update into a single query performed when a job execution was finished (completed/failed).
Added a new scheduler background thread to database all Mesos task status updates that we receive.
Various bug fixes for logging
Key bug fix for reporting errors from pre and post tasks

LGTM (assuming comments are addressed without any changes needed)


Clean up serial comms code.

Add a serial_lock decorator that can be used on functions that attempt to
acquire a lock on the serial port.
Make serialReadByte, serialReset, serialCommand, and serialTransaction member
functions of OpenSerial instead of being free functions.
Refactor serialCommand and serialTransaction (now renamed Command and
Transaction, respectively) to unify common code in a new internal function,
_transmit.

Ok, I think I addressed all the feedback. I'm all ears if you have cleaner/better ways of doing what I did, though, @m-mcgowan.

Consolidating into this PR: https://github.com/blues/note-python/pull/73


File not found issues when using custom node loader

We're using TestDouble.js's replaceEsm for mocking.
To use TestDouble.js with ESM, we have to use their node loader. When using their loader, mo-walk fails when trying to load a number of files used by different hapi libraries. Such as .hc.mjs, caches.mjs, and so on.
It turns out that TestDouble returns ENOENT instead of ERR_MODULE_NOT_FOUND. I'm not sure whether that is TestDouble issue (throwing wrong error) or mo-walk's issue, not handling ENOENT. But I have forked mo-walk and solved it like this: https://github.com/devinivy/mo-walk/commit/e2d20b9862985e4b90bdd024dc6c03c07fa38199
Btw, this is the command I'm invoking when running tests:
cross-env NODE_OPTIONS=--loader=testdouble node lab.cjs -a @hapi/code

Ah, interesting!  Thanks for finding that case.  In my view ideally that loader would maintain node's behavior and rethrow the ERR_MODULE_NOT_FOUND error.
I think the starting point is to see if testdouble has a differing perspective on it.  I am hoping to keep this module constrained to node's behaviors as much as possible, but I would be open to hearing from the author of a loader such as testdouble, in case there are some practical reasons why throwing ERR_MODULE_NOT_FOUND isn't practical/possible for them.


evaluate not supprt array

if I return array, I can not get anything...

Could you please post an example script and the versions of everything  (PhantomJs, Node.Js, horseman, OS, etc.)?


Unable to update Azure Functions to latest (and fixed version) 4.3.0

Description
I am stuck at runtime version <IP_ADDRESS>. I am not sure who's responsibility is this but I am reporting this issue here. Also delete and re creating Azure Functions App doesn't help either.
Steps to reproduce
N/A

The deployment of 4.3.0 has not been completed. You do not need to take any explicit action to get that version (or any newer version of functions runtime), They will be automatically upgraded for you. Keep in mind that, creating a release on GH repo is one of the very first steps of deployment. It takes several days for the deployment & validations to be done.
If you are experiencing an issue with host runtime, please open an issue in the host repo.


Does website update after merge?

I recently got my PR on Barlow Twins merged but I could not find it on the keras.io website. I know that the changes don't normally happen immediately but I just wanted to ask to be sure.

Nevermind, it just takes a week or two to update 😄


Add with-linaria example

Next.js with Zero-runtime CSS-in-JS

I tried this. It seems that it does not work in development mode when doing client-side navigation with code-splitting: It does not load the styles from code-splitted components.
Also what's the story for server-rendering the critical css?

I tried this. It seems that it does not work in development mode when doing client-side navigation with code-splitting: It does not load the styles from code-splitted components.
Also what's the story for server-rendering the critical css?

Production example https://shortstories.io/

This example is important, because now there is no example Next.js + zero runtime CSS-in-JS (https://linaria.now.sh/, https://github.com/4Catalyzer/astroturf). Compiling styles in runtime is bad.
cc @timneutkens @ai, help please

I really think that it is important to promote zero-runtime CSS-in-JS. But of course, it is up to Next.js maintainers.

Could you update the PR 🙏

@timneutkens, complete


MRO on Data Set Table Profile

I can't get into Mauro at the moment so please ignore the orange boxes.
In the Data Set Table profile we can add M, R or O for each Data Element.

However, some items in the dictionary are Pilot items:

Can the profile be updated please to allow P to be selected in the list?

James thinks there is another profile that should be used and has P and will fix this.

Ready for deployment

There are now 2 profiles:

Data Set Table - M/R/O/P option and other options, e.g. rules etc for the tables only, i.e.. the data groups and sub groups
Data Set Element - M/R/O/P option, multiplicity, CDS constraint for adding a Data Element to a data set


Short solution needed: "How to apply patch" (git)

Please help us write most modern and shortest code solution for this issue:
How to apply patch (technology: git)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to apply patch


Discussion Portal

Project title
Discussion Portal
Project Description
It is a discussion portal where one user can add questions and the other user can respond to those questions. Also once the query is resolved, the user can delete the added question and response.
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

/assign


Unknown plugin "react-hot-loader/babel"

yarn add react-player

npm start my project
Module build failed: ReferenceError: Unknown plugin "react-hot-loader/babel" specified in "/node_modules/react-player/package.json" at 0

i'm using webpack 3 and don't have react-hot-loader in my project.
I looked at the package.json for react-player and found the babel config for plugins.
i deleted react-hot-loader/babel from the plugins array and it seems to be working as expected.

I installed react-player and had the same problem and can confirm that deleting the plugin requirement works.

This is weird. Why would a project that has ReactPlayer installed be looking at the babel config of ReactPlayer itself and trying to load plugins? The babel config is for compiling the library only, and shouldn't be looked at (or cared about) when using a compiled version of ReactPlayer.

@CookPete  Iam also at a loss as to why this is happening.
Do you think it is a misconfigured webpack ?
Are you able to replicate?

I believe this happens when you use babel-loader but do not exlude the node_modules folder as suggested by the babel-loader readme. This will attempt to compile all your imported node modules using babel and in turn, look for the nearest babel config for those files.
If this is not the case, feel free to reopen.

Wow. talk about noob mistake.
thanks very much.
As a side effect my builds became much much much much faster. was wondering why things were taking forever.

Thank you @CookPete  this solved my problem in an unrelated project.


Use in script automation?

I have been able to install and use this to set up an entry, which is awesome.  However, I'm confused by how you would use this tool to get a code in a script.  Is there no CLI option to simply get the current generated code for an entry?

For the record, I was able to solve this with the following command chain:
zauth | grep "My VPN" | awk '{print $5}'


fast-ssh: init at 0.3.1

Motivation for this change
TUI tool to use the SSH config for connections
https://github.com/julien-r44/fast-ssh
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

fast-ssh


Could you plz upload the rest of the files in the lab document?

Everything should be there. Do you have anything specific that you need?

Oh, I thought some files was missing by looking at the number of the files , thanks for ur reply.
YoungRicky
@.***

------------------ 原始邮件 ------------------
发件人: "Arash Sal @.>;
发送时间: 2024年3月31日(星期天) 凌晨5:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [arashsm79/robotics-lab] Could you plz upload the rest of the files in the lab document? (Issue #1)
Everything should be there. Do you have anything specific that you need?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


refactor(@angular/build): Pin the supported browsers in the default browserslist config

In order to deterministic list of supported browser for a given version, we now pin the versions in the browserlists config.
This could fix issue where like in #28707, a minor of Angular broke support for Safari 16, where is previously worked (because the definition of "last 2" got updated to drop Safari 16 with that bump).
This would also address a demand on the fw side angular/angular#54195.

Thanks for this but this would require a wider discussion and certainly the blessing of the framework team, thus let me mark this for further discussion.

SGTM, will bring this up in the next fw sync.

We started a conversation about this in Tooling and agree that pinning the version is likely a good thing to do, however there are broader challenges with Angular's current browser support policy which likely should be changed as well. I started a separate conversation about potentially revising that policy and depending on how that goes, we can consider updating the CLI's definition to match in this PR.


Allow skipping revision hash addition

I current have another tool setup to allow me to version my assets and need to use that. It doesn't work well with the revision hash added to the asset name. Is there a way to use this without getting the hash?

Yes! All you need to do is use the rev: false option, e.g.
bundle: {
  header: {
    scripts: [
      './js/header-scripts.js'
    ],
    styles: [
      './styles/header.css'
    ],
    options: {
      rev: false // {(boolean|string|Array)}
    }
  }
}

See here for the option in action. If that doesn't work, let me know.

That is what I have but it doesnt seem to be working unless it is caching my config file or something

Your config file will only be cached when in watch mode. Otherwise, every new invocation of bundle() should re-require your bundle config.
As is, your code looks fine. Do you have a project you can share with more context? Perhaps your full bundle.config.js and gulpfile.js?

Man sorry for the confusion something went haywire with my system and it was fine once I closed out of Visual Studio...Sorry too waste your time, thanks for the quick replies!

np


feature: default key maps for neovim builtin functionality

Did you check the docs?

[X] I have read all the vscode-neovim docs
[X] I understand the fundamental limitations of the plugin and believe this request to be reasonable

Is your feature request related to a problem? Please describe.
When starting to work with vscode-neovim people commonly need to explore existing vscode commands to repro some of the builtin functionality into neovim. For example folds, to get basic functionality it is required to add the following to your init.lua
if vim.g.vscode then
    vim.keymap.set('n', 'za', ':call VSCodeNotify("editor.toggleFold")<cr>', { desc = 'toggle fold' })
    vim.keymap.set('n', 'zM', ':call VSCodeNotify("editor.foldAll")<cr>', { desc = 'fold all' })
    vim.keymap.set('n', 'zR', ':call VSCodeNotify("editor.unfoldAll")<cr>', { desc = 'unfold all' })
    -- other
end

It would be a bit qol improvement if such things would be built in.
I understand that this can be tricky due to the maintenance burden of a list of not exactly 1:1 matching vscode commands.
Describe the solution you'd like
Have such keymaps enabled by default.
Describe alternatives you've considered
Provide an opt in require('vscode.keymaps') module which sets the key maps. This way users have to explicitly call it to enable the builtin vscode commands mappings.
Additional context
Happy to send a PR once it is confirmed that this is a welcome change.
Since this plugin already has shift+K keymap enabled by default. I thought this might be a welcomed change too
https://github.com/vscode-neovim/vscode-neovim/blob/08e973d20e93835416c3c5a7bd3a81239c02d213/package.json#L1675-L1679

What other bindings do you want included other than these three fold bindings? Generally we already have nearly-full coverage of most common native vim bindings.
These fold bindings are specifically not included because moving across a fold currently triggers its expansion (folds are not synced to vim, so it doesn't know to skip them).

Good point about auto opening vim folds. I have not considered it when opening the issue.
A couple of other things that would be nice to have out of the box are lsp functionality and below are other vscode related keymaps that I do not an opinion if they should be included or not.
LSP
For lsp there can be a different approach to setting a keymap as most functionality is not mapped by default and is typically done by the user. However, we can use vim.lsp.with() to wrap builtin functions. This way a user won't need to change anything in their configuration and the same keybindings will work in vscode. See example
vim.lsp.handlers['textDocument/definition'] = vim.lsp.with(function()
    require('vscode-neovim').call('editor.action.revealDefinition')
end, {})

The same can be done for other lsp handlers.
Other key maps
-- these are default mappings in neovim since 0.10
vim.keymap.set('n', ']d', ':call VSCodeNotify("editor.action.marker.next")<cr>')
vim.keymap.set('n', '[d', ':call VSCodeNotify("editor.action.marker.prev")<cr>')

-- default mapping with netrw and some other directory management plugins
vim.keymap.set('n', '-', ':call VSCodeNotify("workbench.files.action.showActiveFileInExplorer")<cr>')

Are the lsp commands not already handled by https://github.com/vscode-neovim/vscode-neovim/pull/2045?
And the ]d bindings are on the roadmap, but there isn't a 1-to-1 correlation to vscode (can't specify severity) so we would need custom code (check the vim.diagnostic issue in this repo).

Thanks for the code pointer. I have tested it and it works flawlessly. I guess this issue can be closed now.
At my job we use a fork of VS Code and it looks like files inside runtime/vscode are not being sourced. Thus vim.lsp.buf and vim.ui are not overwritten. An idea or a code pointer on how can this debugged would be highly appreciated.


Deploy docs for released versions

(I thought TagBot was gonna do this automatically, but now that v0.1 is out (and he tagged it! I think he overwrote the v0.1 tag I already made? or something. cause the tag now says that it's made by gh actions, and it has a description (that I didn't give); but the date is three days ago. Ah no! that is indeed, it's Registrator that did that). (But I did push a v0.1 tag; what happened to that).

→ Look at some other people's makefiles etc

(I looked at Literate.jl.
documer docs are here  https://documenter.juliadocs.org/stable/man/hosting/#Documentation-Versions)
Should be fixed by the v0.1.0 tag I pushed (I only had a v0.1 before).
(this tag was pushed just before 83093d1)

Ok it didn't deploy for v0.1(.0)
but that's because it's old commit, old workflow file (there was a new "CI" run (that failed and that I deleted))
I'm guessing when tagging v0.2.0 it should work


[Security] Don't reinvent random bit generation

https://github.com/miki725/django-sqrl/blob/b9a3e188267b393c8790e255d7ba7c0ab5b150af/sqrl/crypto.py#L124 this is Dangeresque
This functionality is properly (cryptographically securely) implemented already in the standard library as of python 3.6 secrets.token_urlsafe If earlier python support is required, I would suggest using the backport

it is dangeresque although the reasoning was that I explicitly use SystemRandom. will have to dig deeper what secrets uses


How to handle nonce on entry.worker.js?

I was following the steps in the offline guide using: https://remix-pwa.run/docs/main/offline which is using the epic-stack.
However, the epic stack uses a nonce on all scripts for the CSP. This nonce is not added to the entry.worker.js file that is created, which is causing this error to be logged to the console, and afaict, prevents the service worker from registering.

Is there a way to add the nonce to this service worker script?

I was following the steps in the offline guide using: https://remix-pwa.run/docs/main/offline which is using the epic-stack.
However, the epic stack uses a nonce on all scripts for the CSP. This nonce is not added to the entry.worker.js file that is created, which is causing this error to be logged to the console, and afaict, prevents the service worker from registering.

Is there a way to add the nonce to this service worker script?

@TimoWestland I didn't add support to modify the script injection, but you can disable the auto-script injection and use it yourself. In your vite.config.ts, set registerSW to null:
remixPWA({
  registerSW: null
})

And then, you can add the script to your root manually: https://github.com/remix-pwa/monorepo/blob/dda9d68b1c69642679d6ff17658f21fe24c668d6/packages/dev/src/plugins/loader.ts#L13-L38
I would work on extending the script support tho 👍!

Thanks for your suggestion ❤! I am taking this into consideration for the next major roadmap, including shipping a component to do just this


MOTECH-2731: repair show error modal

Can one of the admins verify this patch?

test this please

@mkruszynski can you verify this PR ?

test this please

test this please


refactor 4

Hello @williamFalcon! Thanks for opening this PR.

In the file pytorch_lightning/accelerator_backends/ddp_spawn_backend.py:

Line 101:120: E501 line too long (122 > 119 characters)

Do see the Hitchhiker's guide to code style


Optimize the ys.zsh-theme make it more expressive

Remove most of the old hacks. Keep the theme clean and expressive.
Make the root user name highlight color more visible.
Add exit code indicator.
Add tty info.

Anyone else feel this to be a bit noisy? I feel this kind of information is not needed for constant ls and cd commands. Maybe there could be a way to turn on in certain situations.

@mhumeSF Currently, I put the irrelevant information with grey color. The most important ones are red and yellow. I'm rethinking about the information density drawbacks.

I agree with @mhumeSF. I like this theme, it's a fine job, but I feel this may be a bit too much

So how about remove the tty info? Something like below:
# user @ host in ~/Downloads on git:temp x [18:58:52] C:0

The C: 0 is the last exit code.

This is one of my favorites themes, please keep it simple. I agree with @mhumeSF .

I made a new PR #4940

Could also add a check to only display return code when it's nonzero. So most of the time it's not on the screen

As I said:

The C:127 is the last exit code, it appears only when the exit code is not zero.

I already implemented it.

@zlalanne As I said:

The C:127 is the last exit code, it appears only when the exit code is not zero.

I already implemented it.

@ysmood Thank you! Favorite theme and I welcome the exit code status when not zero

Thanks a lot @ysmood for this #4940 !

:+1: was feeling annoyed by this tty for few days :smile_cat:
thanks for the PR ! @ysmood


Create gh-pages branch via GitHub

@whip112 what are you trying to accomplish. We already have a gh-pages branch that works just fine. Perhaps you are pushing to the wrong repo?


Crash on player connect

Version: <IP_ADDRESS>
13:22:45.3699 [INFO]   SEDiscordBridge.SEDiscordBridgePlugin: DiscordID for That Guy found! Retrieving role data and injecting into essentials...
13:22:45.3699 [INFO]   Essentials.PlayerAccountModule: DiscordID for<PHONE_NUMBER>2860159 received from SEDB!... Inserting into player account<PHONE_NUMBER>33525362)
13:22:45.4810 [FATAL]  Initializer: DSharpPlus.Exceptions.UnauthorizedException: Unauthorized: 403
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at DSharpPlus.Net.DiscordApiClient.<ListGuildMembersAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at DSharpPlus.Entities.DiscordGuild.<GetAllMembersAsync>d__136.MoveNext()
DSharpPlus.Exceptions.UnauthorizedException: Unauthorized: 403
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at DSharpPlus.Net.DiscordApiClient.<ListGuildMembersAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at DSharpPlus.Entities.DiscordGuild.<GetAllMembersAsync>d__136.MoveNext()

Make sure bot has administative permissions in your server :)


chore: caret dependency on the CDK CLI

The CDK CLI can be at any version greater than the CDK framework. So use
a caret dependency on this.
Motivation
Move to the latest CDK CLI that depends on netmask@2 (netmask@1 has a
known security vulnerability)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubPipelineAutoBuildProj-eNGjrh4O6eRH
Commit ID: d1dd99178c4aafdee5cfc648c824e4ad4abb17d9
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Im not sure what's up with the GH check being stuck, but since this is a security upgrade Im going to merge it.


Chart errors

In the chart above, either the blank areas need to be filled in for customers 10010 and 10040 or the balances in the top half need to be changed to 50 and 200 respectively.

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

ID: 345b82cd-94d8-687b-071d-71921ac6ddd9
Version Independent ID: fde1756e-b7dd-8569-c2ff-da4e39596fdf
Content: FlowFields - Dynamics NAV
Content Source: dynamics-nav/FlowFields.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

Hello, thanks for your feedback. The diagram has been corrected and the fix will be published soon!


Voucher labels are white on white background on vouchers dashboard

bootstrap.mis.css seems to have been removed from the current version causing the label text colour on the voucher section of the dashboard to be white by default.

I have fixed this on my local version by adding Oscar less styles to my static_dir, Then in the bootstrap3/labels.less i made the label class use the default background color   background-color:@label-default-bg;.

PR would be greatly appreciated.


Keyborad input does not work on Web

Moved to https://github.com/DiligentGraphics/DiligentSamples/pull/187/commits/ef650e0b3d4a2563fa7627447d31b8e9b4766548


Auto correct using cookstyle

Description
Auto correct using cookstyle

          2 Errors

:no_entry_sign:
Please add labels to this Pull Request

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Warning

:warning:
This Pull Request is probably missing tests.

  Generated by :no_entry_sign: Danger


Add warp based Http JSON RPC node

This pr adds the JSON RPC node based on warp.
Examples
use agent::node::config::IPCAgentJsonRPCNodeConfig;
use agent::node::jsonrpc::IPCAgentJsonRPCNode;

#[tokio::main]
async fn main() {
    let n = IPCAgentJsonRPCNode::new(IPCAgentJsonRPCNodeConfig::default());
    n.run().await;
}

The following PRs are planned as such:

Add in the IPCAgentJsonRPCHandler trait that will be shared by all the RPC handlers.
Auto routing of method and params to the Handler.

Btw, my local cargo pipeline will always format the existing code. We should do another PR to add in cicd checks and format code one shot, #10 .

Hi @hmoniz @adlrocha, please help take a look since the config PR is merged.
There is one outstanding issue, which is the shared Json RPC response and request. Based on previous discussion, I will do it in a follow up PR which is tracked in #24.
I think there are no other pending issues (maybe I missed something? lol). Please help take a look, thank you very much!


How can I use host's service (eg: xcrun or xcodebuild or fastlane or pod) in this jenkins' image?

Nothing but title tell what I want to know.

Please use the mailing list for questions

Please use the mailing list for questions


Should "Mozilla Webdev Coding Guide" be followed or not?

The link in the readme 404s. The most recent version appears to be here. I don't think we actually follow this at all, so we should probably just remove the link.

I fixed the link.


Suggestion: Use exefs FXAA disablers instead of romfs

Pros: Disables FXAA without conflicting with any other mods that modify files
Cons: none
https://old.reddit.com/r/NewYuzuPiracy/comments/1467a3h/totk_disable_fxaa_exefs_versions_100_112_updatefix/

I made the same suggestion in the issue I opened up [url=https://github.com/HolographicWings/TOTK-Mods-collection/issues/78]here[/url]. After working codes surfaced and a week went by, they were never added to the modpack and nobody responded (except InfiniteParallel), So I figured I'd just close the issue since we now have working codes that can be shared elsewhere. For some strange reason, whoever is maintaining this modpack appears to be ignoring that the exefs versions even exist, which is a loss for the users more than anyone. Using romfs when it isn't necessary just opens up the potential for error and conflicts. The exefs mod is a single mod folder for all current game versions, works in combination with any other mods, while the romfs just adds unnecessary complexity and variations.

Oh wow, I swear I looked and couldn't find that thread.
Guess for now I'll just be letting people know it exists on discord, thanks @BigheadSMZ !


feat: don't focus on emoji-name input on mobile devices

Users reported a problem:
When you open the emoji dialog it automatically focuses on the input field for the emoji name.
Because of that browser shows the keyboard and it becomes really difficult to select one of the emojies (the keyboard overlays the emoji list).
This PR disables the focus on the input field for mobile devices.

Average I think it showing how it does is a bug. It should take up the whole screen above the keyboard. I must have messed up the css at some point

Thanks for the fix!


Discounted Cumulative Gain

Adding Discounted Cumulative Gain metrics logic.

@msluszniak I wanted to get a draft PR up so I can start addressing issues and gaps. Thanks.

Thank you for the PR. We need to add some changes so all the functions will be defns. I will drop some suggestions

We probably need a module name for storing DCG and others. Any suggestions? Ranking? Cumulative?

We probably need a module name for storing DCG and others. Any suggestions? Ranking? Cumulative?

I am!

@paulsullivanjr so let's namespace those and we should be good to go! :)

Sounds good. Let me know if anything else needs to be updated. Thanks!


chore: update readme

Added "Deploy on Zeabur" and "Running on docker", and edited the "Deploy to Vercel" link to pre-fill environment variables during Configure Project.

Thank you for the amazing work! <3


About Phaser custom builds

Hi.
I just want to ask about the Phaser custom builds, regarding the physics engines provided with each custom script.
Now, I know that latest versions of the standard library include only the P2 and Arcade physics engines by default, leaving Ninja with its own custom script. Besides that, Arcade physics have its own custom script too, but why not (as of v2.2.1) a P2 one?
And about the emitter particles and tilemaps issue mentioned in the README: how those are affect by the absense of the physics systems at all, and how they act along each of the physics engines provided.
Just asking these out of curiosity and because I don't fell that the README doc convey enough explanation for that matter.
Thanks in advance.

Which README - and issue(s) in such - is being referred to?
Anyway, Tilemaps and TilemapLayers don't use Physics at all.

The Emitter works by creating a bunch of Arcade Physics enabled Sprites and setting their velocity as required. Hence it needs AP.
The Tilemaps will render without AP, but you'll need to handle collision yourself (or convert it to a P2 object, for which methods are provided)

@pnstickne It's in the repo's frontpage (the README file), and in the Phaser documentation front-page, under Build Files and Custom Builds :)
@photonstorm So, it's reasonable that the standard script comes with both AP and P2, by what you explained. P2 can be expensive, and generating too many P2 bodies could be a problem, am I right? And by what you've mentioned, Tilemap bodies can be converted, meaning that they need to be created first (with AP), right? I haven't used P2 for any of my (silly) projects, so I can only guess.
Well, the main topic I'm discussing here is why things are done that way, like a Ninja-only, but no P2-only custom builds, and such, but I think I'm understanding that.

@rblopes It's a bit list - but what issue(s) are of concern :confused:

No you don't need AP to use P2 for Tilemaps.
The only dependency is Particles. If you're not using those you could technically use a P2 only build. There's no P2 only build task, but it would be trivial for you to create one based on the existing custom builds. Copy one and tweak as needed. Just exclude Particles.

Ok. So, that's it. Thank you. :+1:


Invalid typescript file - have tried the solutions in the closed issue

Hi,
I've installed gentest and created ngentest.config.js file.
Have tried running ngentest task-form.components.js in the file folder using the terminal in Visual Studio, using gitbash, using ./task-form.components.js, using the full path, using -c ngentest.config.js at the end of the command. Seems whatever I try I get an error

$ ngentest task-form.components.ts -c ../ngentest.config.js
Error. invalid typescript file. e.g., Usage $0  [options]

Any ideas of what to try next please?
Thanks,
Amanda

It may be the type of file. Tried a different file and get the following error:
ngentest d:/work/projects/bondi/sonata/workflow/workflow-web/src/app/workflow/workspace/workspace.model.ts
TypeError: Cannot read property 'toLowerCase' of undefined
at new InjectableTestGen (C:\Users\ajackson\AppData\Roaming\npm\node_modules\ngentest\src\injectable\injectable-test-gen.js:21:65)
at getTestGenerator (C:\Users\ajackson\AppData\Roaming\npm\node_modules\ngentest\index.js:90:33)
at run (C:\Users\ajackson\AppData\Roaming\npm\node_modules\ngentest\index.js:127:27)
at Object. (C:\Users\ajackson\AppData\Roaming\npm\node_modules\ngentest\index.js:228:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
at node:internal/main/run_main_module:17:47

Thanks for trying it.

workspace.model.ts is not a Angular one, component, directive, service, etc. So it does not generate test for model.
plz run with a absolute path like the following or use a relative path for your file name
ngentest c:/full/path/task-form.components.ts

Hi,
Thanks for replying.
I've found some files that seem to want to work, and I've tried with absolute path.  Now getting this error:
ReferenceError: klassTemplate is not defined
at Object. (D:\Work\Projects\bondi\sonata\workflow\workflow-web\ngentest.config.js:4:11)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at loadConfig (C:\Users\ajackson\AppData\Roaming\npm\node_modules\ngentest\index.js:60:22)
at Object. (C:\Users\ajackson\AppData\Roaming\npm\node_modules\ngentest\index.js:51:3)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
I've tried updated the config file, but don't think I'm doing it right.
// when convert to JS, some codes need to be replaced to work
replacements: [ // some 3rd party module causes an error
{ from: 'require\("html-custom-element"\)', to: '{}'},
{ from: 'require\("cjs"\)', to: '{}'},
{ from: '^\S+\.define\(.*\);', to: ''} // some commands causes error
],

It seems your NodeJs running environment is not usual or your config file has an invalid template location.
klassTemplate is located under node_modules/ngentest/... and it is only overridable by your config file

Thanks for the info. I'll do some investigating to see if I can resolve this. Will let you know how it goes, though it may be a week before I can look at this again (client release pressure at the moment so I have to stop playing with getting our unit tests expanded)

Closing by inactivity.


Update kubeadm-upgrade-1-14.md

Ubuntu 16.04.5 LTS (upgrading from K8s 1.13.1 to 1.14.4)
apt-mark unhold kubeadm && apt-get update && apt-get install -y kubeadm=1.14.x-00 && apt-mark hold kubeadm gives the below error
The following packages have unmet dependencies:
kubelet : Depends: kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Unholding the kubelet with kubeadm fixes the problem.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remember to delete this note before submitting your pull request.
For pull requests on 1.15 Features: set Milestone to 1.15 and Base Branch to dev-1.15
For pull requests on Chinese localization, set Base Branch to release-1.14
For pull requests on Korean Localization: set Base Branch to dev-1.14-ko.<latest team milestone>
If you need Help on editing and submitting pull requests, visit:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
If you need Help on choosing which branch to use, visit:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

hi, you need to sign the CLA if your PR is to be accepted.
https://github.com/kubernetes/website/pull/15359#issuecomment-509775445
is the same problem present in the -1.15. document?

is the same problem present in the -1.15. document?

Well,... no. "apt-mark unhold kubeadm && apt-get update && apt-get install -y kubeadm=1.15.x-00 && apt-mark hold kubeadm" when upgrading form 1.14.4 to 1.15.0 runs succesfully. But of course after upgrading from 1.13.1 to 1.14.4 the kubernetes-cni is on v.0.7.5-00 - that's why there's no need for unholding kubelet in this situation.

the cni packages are a bit of a mess.
/lgtm
/sig cluster-lifecycle

/approve


AttributeError: 'HTTPRequest' object has no attribute 'headers' in 1.3.6

Describe the bug
Traceback (most recent call last):
  File "C:\Program Files\Python310\Scripts\ghauri-script.py", line 33, in <module>
    sys.exit(load_entry_point('ghauri==1.3.6', 'console_scripts', 'ghauri')())
  File "C:\Program Files\Python310\lib\site-packages\ghauri-1.3.6-py3.10.egg\ghauri\scripts\ghauri.py", line 464, in main
    resp = ghauri.perform_injection(
  File "C:\Program Files\Python310\lib\site-packages\ghauri-1.3.6-py3.10.egg\ghauri\ghauri.py", line 176, in perform_injection
    url = req.url
  File "C:\Program Files\Python310\lib\site-packages\ghauri-1.3.6-py3.10.egg\ghauri\common\utils.py", line 147, in url
    url = f"{self.protocol}://{self.host}"
  File "C:\Program Files\Python310\lib\site-packages\ghauri-1.3.6-py3.10.egg\ghauri\common\utils.py", line 180, in protocol
    referer = self.headers.get("Referer")
AttributeError: 'HTTPRequest' object has no attribute 'headers'

To Reproduce
Steps to reproduce the behavior:

clone the latest version
ghauri -r rerun3.txt --level=3 --dbs  -p cid

POST /nl/module/productsalert/AjaxProcess HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: https://site.com/
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 104
Accept-Encoding: gzip,deflate,br
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Host: site.com
Connection: Keep-alive

cid=0&idl=1&option=0&paemail=testing%40example.com&pid=561

It works on 1.3.5!
Expected behavior
To work as intended
Desktop (please complete the following information):

OS: Windows
Ghauri version which is causing the error (should be latest) 1.3.6

confirming...
win+ghauri 1.3.6
1.3.5 working


Viewer role

"All of these capabilities except the last require a Power BI Pro license." is misleading

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

ID: 220c2a2b-9a3e-3bdf-5fcd-ac2fc85542b4
Version Independent ID: 024b0981-3008-08cd-8d2d-4dc6d87fe3fd
Content: Organize work in the new workspaces in Power BI - Power BI
Content Source: powerbi-docs/service-new-workspaces.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @saiprasadb365 -- thanks for pointing that out! I see what you mean. I'll work on rephrasing it.

OK, I reworded it. Should be live later today. Let me know what you think!

Thanks, yet Can you remove the statement "All of these capabilities, except viewing and interacting, require a Power BI Pro license." as this statement still doesn't convey the Power BI Premium capacity and the text following the table gives enough details Power BI Premium capacity and Pro license access


Unable to clear ForeignKey field

I have the following ForeignKey field
    logical_interface = models.ForeignKey(
        'self', related_name='logical_if',
        blank=True, null=True, on_delete=models.SET_NULL)

with the following widget:
    logical_interface = ModelChoiceField(
        queryset=DeviceInterface.objects.all(),
        label="Logical Interface",
        widget=ModelSelect2Widget(
            model=DeviceInterface,
            search_fields=['device__fqdn__icontains', 'name__icontains']
        )
    )

I am unable to clear the field once I have selected an item. This seems to be related to is_required() returning False, but I'm unsure how to achieve that. The field does not seem to support that.

Ok, got it. Adding required=False to the ModelChoiceField works.


Remove notifications integration from Details pages

Signed-off-by: David Cui<EMAIL_ADDRESS>Description
Remove integration with notifications from Report details and Report definition details as Notifications has deferred from 1.2 to 2.0 release.
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #210 (d7c0f8d) into main (677fbab) will decrease coverage by 9.70%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #210      +/-   ##
============================================
- Coverage     62.54%   52.83%   -9.71%
  Complexity      297      297
============================================
  Files            99       66      -33
  Lines          4194     2135    -2059
  Branches        661      245     -416
============================================
- Hits           2623     1128    -1495
+ Misses         1428      867     -561
+ Partials        143      140       -3

Flag
Coverage Δ

dashboards-reports
?

reports-scheduler
52.83% <ø> (ø)

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

Impacted Files
Coverage Δ

...ards-reports/public/components/main/main_utils.tsx

...t_definition_details/report_definition_details.tsx

.../components/main/report_details/report_details.tsx

dashboards-reports/server/routes/utils/helpers.ts

...ublic/components/report_definitions/utils/index.ts

...ublic/components/main/report_definitions_table.tsx

...r/routes/utils/visual_report/visualReportHelper.ts

dashboards-reports/common/index.ts

...s-reports/public/components/main/reports_table.tsx

...shboards-reports/public/components/utils/utils.tsx

... and 23 more

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 677fbab...d7c0f8d. Read the comment docs.


format_returncode_for_edit_fcp_tmpl

exception.ValidationError is used for sdkwsgi.
For validation in database.py or volumeop.py,
use exception.SDKConflictError by defining new message in returncode.py
Signed-off-by: Da Long Wang<EMAIL_ADDRESS>

Tests
edit fcp template by deleting a FCP device path from a FCP device template

request body

{
    "fcp_template": {
        "fcp_devices": ""
    }
}

response body

{
    "badRequest": {
        "code": 400,
        "message": "Failed to edit FCP device template, error:
                    Adding or deleting a FCP device path from a FCP device template is not allowed
                    if there is any FCP device allocated from the template.
                    The FCP devices (1B17, 1C18) are allocated from template 9e732a86-1921-11ed-b268-0201012eebe3."
    }
}

edit fcp template by deleting the allocated FCP devices from a FCP device template

request body

{
    "fcp_template": {
        "fcp_devices": "1A00,1A99;1B17-1B19,1B99"
    }
}

response body

{
    "badRequest": {
        "code": 400,
        "message": "Failed to edit FCP device template, error:
                    Deleting the allocated FCP devices from a FCP device template is not allowed.
                    The FCP devices (1C18) are missing from the FCP device list.
                    These FCP devices are allocated to virtual machines,
                    you must ensure they are included in the FCP device list."
    }
}


Versions are incorrectly sorted

As seen here:

All awsome stuff @toebeann , 9 and 10 both.
I have code reviewed 9 and left a very minor comment, after which I will merge into dev.
My other job has got a bit busy, so give me a while to review 10, but i am agreed in principle. I want to add your logic into the user documentation as well.
We can then release it all into 0.2.0.
Thanks!
Do you have any interest in co-maintaining?

Re. reviewing 10, it will certainly be easier to review once 9 is merged (assuming that is agreeable). If you like, in the meantime I can make a PR on my own fork that makes it easier to compare the changes between them and ping you?
Re. docs, in 10 I added some minor readme changes to signify the existence of automatic inferral, but you're right - it would be wise to elaborate on this further in the readme. I'll get on that this eve
Re. co-maintaining, fine by me though no promises as to how much of my time and energy going forward I can commit to it, but I'm always happy to help out on useful projects when i can 🙂


chromium: 87.0.4280.141 -> 88.0.4324.96

https://chromereleases.googleblog.com/2021/01/stable-channel-update-for-desktop_19.html
This update includes 36 security fixes.
CVEs:
CVE-2021-21117 CVE-2021-21118 CVE-2021-21119 CVE-2021-21120
CVE-2021-21121 CVE-2021-21122 CVE-2021-21123 CVE-2021-21124
CVE-2021-21125 CVE-2020-16044 CVE-2021-21126 CVE-2021-21127
CVE-2021-21128 CVE-2021-21129 CVE-2021-21130 CVE-2021-21131
CVE-2021-21132 CVE-2021-21133 CVE-2021-21134 CVE-2021-21135
CVE-2021-21136 CVE-2021-21137 CVE-2021-21138 CVE-2021-21139
CVE-2021-21140 CVE-2021-21141

Motivation for this change
cc @danielfullmer @thefloweringash
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

chromium builds and briefly tested working fine for me on x86_64-linux.
However, nixosTests.chromium fails with the following error:
AssertionError: new window did not appear within 60 seconds

chromium builds and briefly tested working fine for me on x86_64-linux.
However, nixosTests.chromium fails with the following error:
AssertionError: new window did not appear within 60 seconds

Ok, so the NixOS VM test for Chromium was definitely no fun to read/debug (also because running the tests interactively via driverInteractive apparently doesn't work due to the defined Python functions and I had some other issues while transferring chromiumBeta from my headless builder to my test PC). I've pushed a fix for nixosTests.chromium (8a7a8442c172bf419853b3d40e245fbc9bf69759 - interesting that we never ran into this before btw) but I'll likely refactor the test before I revert 2dbd08dcbd5fa78d6716aa1fbdfb04be175e4162.
@danielfullmer as always, thanks a lot for your testing!

Ok, so the NixOS VM test for Chromium was definitely no fun to read/debug (also because running the tests interactively via driverInteractive apparently doesn't work due to the defined Python functions and I had some other issues while transferring chromiumBeta from my headless builder to my test PC). I've pushed a fix for nixosTests.chromium (8a7a8442c172bf419853b3d40e245fbc9bf69759 - interesting that we never ran into this before btw) but I'll likely refactor the test before I revert 2dbd08dcbd5fa78d6716aa1fbdfb04be175e4162.
@danielfullmer as always, thanks a lot for your testing!


Add debug::log(&str) helper

I guess the hosts implementing debug_printMem would print a byte array and not parse it as a string probably right?

I had the same hunch initially and implemented it with a separate function, but then I thought maybe not. Checked Hera's README (which is the "de-facto spec" – I know, it's not ideal) and that says:

debug::printMem(offset: i32, len: i32) - print memory segment as printable characters
debug::printMemHex(offset: i32, len: i32) - print memory segment as hex


Expose TextLayerRenderTask in the TypeScript definitions (issue 15016, PR 14013 follow-up)

While TextLayerRenderTask apparently makes sense in TypeScript environments, given that it's being returned by the renderTextLayer-function in the API, we really don't want to extend the public API by simply exporting the class directly in src/pdf.js since it should never be called/initialized manually.
Hence we follow the same pattern as in PR #14013, and add some very basic unit-tests to ensure that renderTextLayer always returns a TextLayerRenderTask-instance as expected.

/botio unittest

Thank you for improving this!


Mirror fails to cleanup after server shutdown

Describe the bug
Shutting down the server does not destroy all player objects
Repro project
https://drive.google.com/open?id=1Kf0QOjPN9ljDOm7nQVJPA8f2zx72h7My
To Reproduce
Steps to reproduce the behavior:

Open the attached project
Build a standalone executable
Start the standalone
Hit play in the editor
Click "Lan Server Only"  in the editor
Click "Lan Client"  in the standalone
Client will connect to the server,  and you will see a "P 1:x" player in both editor and standalone
Click "Stop"  in the editor.
Player object remains in the editor

Expected behavior
I expect the player object to be destroyed in the editor.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: MacOS
Build target: standalone + editor
Unity version: 2017.4,  2018.2
HLAPI CE branch: mirror

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update rendered JSON when the underlying object changes.

The watcher in the jsonPrint directive (line 98 in src/json-print.js) only parses the the attrs.jsonPrint object when the value is initially provided, not when it changes.
I am not sure about other users of this library, but I have encountered use cases where I want the content to update when the object changes. This is achieved by providing a third argument of true to the scope.$watch call on line 98 (see https://docs.angularjs.org/api/ng/type/$rootScope.Scope).
I am going to introduce this change and hopefully it can be pulled into master. I do not believe it will change the library's current functionality, only extend it to suit this case.

Closed by #3.


documentation: incorrect citation for scipy.stats.f_oneway

The documentation page of scipy.stats.f_oneway cites "Heiman, G.W. Research Methods in Statistics. 2002." I didn't find that title. It is probably an error. There are a few books by Gary W. Heiman, which could be the correct source, see e.g. https://openlibrary.org/authors/OL37433A/Gary_W._Heiman
SciPy Release: 1.2.1, February 10, 2019
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.f_oneway.html#scipy.stats.f_oneway

thanks for the report @hirschmichael. Fix in gh-9935


document attributes

I think I understand what {ws=implicit} and {ws=explicit} does, but what do the following attributes mean?

pin
recoverUntil
fragment
simplifyWhenOneChildren

I'd be happy to open a PR to document these somewhere as soon as I understand what they do.

Hello,
So there are Constructions or Rules defined as ConstructionName := Term Term Term {pin=1). In those constructions, terms have a number, starting at 0.

pin=1 means that the parser will never backtrack across the defined term. It is the number of the term in the construction. If the next rule doesn't match a parse error will be triggered immediately or it will try to recover.
recoverUntil after "pinning", if the input is invalid the parser will try to read characters until it can recover from the error. recoverUntil is the terminal construction to start recovering.
fragment means the parser will no treat the construction as a term in the parent construction, instead it is a fragment of a bigger construction and all the children will be injected as part of the construction parent, not of the current construction.

Example:
FunctionDecl := FunKeyword Name Parameters
FunKeyword := 'function'
Name := [A-Z][a-z]*
Parameters := Parameter+
Parameter := Name ' ' {fragment=true}

is the same as
FunctionDecl := FunKeyword Name Parameters
FunKeyword := 'function'
Name := [A-Z][a-z]*
Parameters := (Name ' ')+

simplifyWhenOneChildren simplifies the constructions when it only matches one of the terms, it returns the matched term
Example:
Expression := MulExpression
MulExpression := AddExpression (('*' | '/') AddExpression)* {simplifyWhenOneChildren=true}
AddExpression := NominalExpression (('+' | '-') NominalExpression)* {simplifyWhenOneChildren=true}
NominalExpression := Number | VariableName {fragment=true}

So, here are some parsing examples
1
^ Number

1 + 4
^     Number
    ^ Number
^^^^^ AddExpression

1 + Abc * 5 + 1
    ^^^          VariableName
          ^      Number
^                Number
    ^^^^^^^      MulExpression
              ^  Number
^^^^^^^^^^^^^^^  AddExpression

See how a lot of nodes are simplified because they only have one children?

I hope I made myself clear, thanks for your interest in this library :)

Thank you very much for your explanations! I'm not yet sure how to understand the pin and recoverUntil attributes though. Do you have an example, where this could be used, similar to the one you showed with simplifyWhenOneChildren?
Also, are there any other incompatibilities between attributes? I'm having trouble adding ws=implicit and simplifyWhenOneChildren=true, in a case like the following:
Statement ::= Expression ';' {ws=implicit,simplifyWhenOneChildren=true}
Expression ::= ...

This example parses a JSON file with error recovery and pinning:
{ ws=implicit }
/* JSON WITH ERROR RECOVERY https://www.ietf.org/rfc/rfc4627.txt */
value                ::= false | null | true | object | number | string | array
BEGIN_ARRAY          ::= #x5B /* [ left square bracket */
BEGIN_OBJECT         ::= #x7B /* { left curly bracket */
END_ARRAY            ::= #x5D /* ] right square bracket */
END_OBJECT           ::= #x7D /* } right curly bracket */
NAME_SEPARATOR       ::= #x3A /* : colon */
VALUE_SEPARATOR      ::= #x2C /* , comma */
WS                   ::= [#x20#x09#x0A#x0D]+
false                ::= "false"
null                 ::= "null"
true                 ::= "true"
object               ::= BEGIN_OBJECT object_content? END_OBJECT { pin=1 }
object_content       ::= (member (object_n)*) { recoverUntil=OBJECT_RECOVERY }
object_n             ::= VALUE_SEPARATOR member { recoverUntil=OBJECT_RECOVERY,fragment=true, pin=1 }
Key                  ::= &'"' string { recoverUntil=VALUE_SEPARATOR, pin=1 }
OBJECT_RECOVERY      ::= END_OBJECT | VALUE_SEPARATOR
ARRAY_RECOVERY       ::= END_ARRAY | VALUE_SEPARATOR
MEMBER_RECOVERY      ::= '"' | NAME_SEPARATOR | OBJECT_RECOVERY | VALUE_SEPARATOR
member               ::= Key NAME_SEPARATOR value { recoverUntil=MEMBER_RECOVERY, pin=1 }
array                ::= BEGIN_ARRAY array_content? END_ARRAY { pin=1 }
array_content        ::= array_value (VALUE_SEPARATOR array_value)* { recoverUntil=ARRAY_RECOVERY,fragment=true }
array_value          ::= value { recoverUntil=ARRAY_RECOVERY, fragment=true }

number               ::= "-"? ("0" | [1-9] [0-9]*) ("." [0-9]+)? (("e" | "E") ( "-" | "+" )? ("0" | [1-9] [0-9]*))? { pin=2, ws=explicit }

/* STRINGS */

string                ::= ~'"' (([#x20-#x21] | [#x23-#x5B] | [#x5D-#xFFFF]) | #x5C (#x22 | #x5C | #x2F | #x62 | #x66 | #x6E | #x72 | #x74 | #x75 HEXDIG HEXDIG HEXDIG HEXDIG))* '"' { ws=explicit }
HEXDIG                ::= [a-fA-F0-9] { ws=explicit }

This one is the same but without error recovery:

/* https://www.ietf.org/rfc/rfc4627.txt */
value                ::= false | null | true | object | array | number | string
BEGIN_ARRAY          ::= WS* #x5B WS*  /* [ left square bracket */
BEGIN_OBJECT         ::= WS* #x7B WS*  /* { left curly bracket */
END_ARRAY            ::= WS* #x5D WS*  /* ] right square bracket */
END_OBJECT           ::= WS* #x7D WS*  /* } right curly bracket */
NAME_SEPARATOR       ::= WS* #x3A WS*  /* : colon */
VALUE_SEPARATOR      ::= WS* #x2C WS*  /* , comma */
WS                   ::= [#x20#x09#x0A#x0D]+   /* Space | Tab | \n | \r */
false                ::= "false"
null                 ::= "null"
true                 ::= "true"
object               ::= BEGIN_OBJECT (member (VALUE_SEPARATOR member)*)? END_OBJECT
member               ::= string NAME_SEPARATOR value
array                ::= BEGIN_ARRAY (value (VALUE_SEPARATOR value)*)? END_ARRAY

number                ::= "-"? ("0" | [1-9] [0-9]*) ("." [0-9]+)? (("e" | "E") ( "-" | "+" )? ("0" | [1-9] [0-9]*))?

/* STRINGS */

string                ::= '"' (([#x20-#x21] | [#x23-#x5B] | [#x5D-#xFFFF]) | #x5C (#x22 | #x5C | #x2F | #x62 | #x66 | #x6E | #x72 | #x74 | #x75 HEXDIG HEXDIG HEXDIG HEXDIG))* '"'
HEXDIG                ::= [a-fA-F0-9]

You can test those examples online here: https://menduz.com/ebnf-highlighter/
The pin property is used several times here because the grammar is hard enough to support it, i.e. only objects start with {, so if we need to read a value and we detect a { we can say everything isn't going to be anything else but an object after it. The parser will not backtrack that pin in case of failure.

Also, are there any other incompatibilities between attributes? I'm having trouble adding ws=implicit and simplifyWhenOneChildren=true, in a case like the following

It is possible, simplifyWhenOneChildren would produce inconsistent results with implicit WS children, as a rule of thumb: avoid ws=implicit when possible, it makes things slower and makes more difficult the grammar creation process.
If you want to take a look to a real world grammar built with this package you can refer to Lys Grammar


backports depends build system

This PR is a fix for #39 from libbtc #91

this pr is obviously without net but i built 0.1-dev-transaction (with net) early this morning and file output resulted in the following: https://gist.github.com/xanimo/14ee6782e9cbe5f9451f7208f9e7fb0b
this pr also introduces pre release artifacts so to speak on every ci run. not sure about viability but for anyone who does attempt to use them please be advised they are highly experimental and untested because the binaries are being cross compiled on everything except native linux/amd64.
we'll likely need to reevaluate how we're going to do python wrapped unit tests since we're not building shared objects with exception to linux/amd64 @jackie-mcaninch
upon searching to see how we could potentially test binaries in their native environment i happened upon #2888 which suggests using qemu as a viable solution so if i'm able to implement i'll be opening a modified version for dogecoin core as well since they're (.github/workflows/ci.yml) almost verbatim.


Cubbie collision

This works great!
It's not related to the work in your branch, but now that we have the cubbies occupied by a crab when successful it seems like figuring out how to reset the state for the game after 3 lives or lost should be more of a priority. Since the game never refreshes, the player can lose but start off with a head start on filling the cubbies when they start again.


Added mainnet capella fork epoch

It looks like noone has added this one yet...
April 12, 2023: slot 6209536, equates to epoch 194048.

Oh sorry I didn't realise those other bits!


Match all components in nix check stylish scripts

This fixes a mistake in #3698 which removed a * pattern but did not provide
a way to check all the other components.

I still have a problem with this nix script.

I changed the title and description to match the current state of the patch.  We still need make sure the script fails when it returns.

Mostly superseded by #3722


Ip address missing for streaming.realtimetelemetry.teams.microsoft.com

Hi,
streaming.realtimetelemetry.teams.microsoft.com resolves to <IP_ADDRESS> and that IP or IP range is missing in O365 endpoint list.
When this IP is blocked - Teams meetings live data is not showing up in admin.teams.microsoft.com and also Teams client application cannot send live data info to the cloud.

@triumfas Please let us know which document you are referring to. Thanks

Referring to this document: https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide
It should fall under ID 12 which includes "*.teams.microsoft.com"

@kelleyvice-msft Please help us in resolving this issue. Thanks

Hi,
@yogkumgit @kelleyvice-msft - any updates regarding this?

Thanks for reaching out to the Microsoft 365 Enterprise content team. Because all Microsoft 365 endpoints data displayed in learn.microsoft.com articles is autogenerated by the Microsoft 365 endpoints web service, the content team cannot resolve issues directly related to this data.
We recommend that you contact your organization’s TAM (Technical Account Manager) to escalate your inquiry to the engineering team associated with the endpoint in question. If you do not have a TAM assigned to your organization, please contact Microsoft Support.


Data recognized as date, displays incorrect values

The original sheet had the data written in the form of Jan-15, Dec-15, etc, or December 24-30, December 3-9, etc.

https://github.com/c4fcm/DataBasic/issues/88


slider adds decimal values

In the 5.5.3 release, any slider will return a decimal value when sliding; you can validate this bug on your own documentation page.
How to reproduce:

Go to http://foundation.zurb.com/docs/components/range_slider.html
The default value of the first slider on the page is 50
Move the slider
50 will become 50.00
Any new value of the slider will be a decimal value with a precision of 2

Looks like this is an option in the JS. Needs to be documented and default set to 0. Are you able to submit a Pull Request for this?


Implement max character check

Returns unknown token for strings greater than param maxInputCharsPerWord (defaulting to 100). Fixes #397

Thanks so much! 🚀 The same output as the python library is obtained now:
It took  1.5605939999222755 ms to tokenize
Encoded:  [101,  100, 1009, 100, 1027, 1027, 102]
Decoded:  [CLS] [UNK] + [UNK] = = [SEP]

(and the time taken is now in the same range as the python library: 1.672983169555664ms)

Amazing! I shall update my package :)

A new release (2.8.1) will be out shortly, but in the meantime, you can install from source (GitHub) if this fix is urgent.


image/video support?

it would be great, if it has an eye(to see) so whatever i am seeing in physical world, i can ask my related queries to Realchar.

yes. we need make AI companion to listen and understand first. Then see and predict

move into backlog