tracking issue: Lower guppy-generated Circuits into pytket

Given a tket2.Circuit generated from a guppy definition (see #303), rewrite into something that can be translated into a tket_json_rs::SerialCircuit.
The following tasks are the bare minimum to support a restricted subset of guppy programs:

[x] #380

This may be a Hugr-side pass

[x] #407
[x] #379

Translate the measurements and classically controlled operations.

[x] #389
[x] #418

Extended tket1 support:

[ ] Translate classically controlled operations into tket2 (and back)
[ ] https://github.com/CQCL/tket2/issues/44
[ ] Translate tk1 logical expressions
[ ] #428
[ ] Support n-qubit controlled operations

Extended hugr support:

[ ] https://github.com/CQCL/hugr/issues/818
[ ] Flatten TailLoops
[ ] Flatten Conditionals
[ ] Inline function calls

Closing this as completed since the core tasks are done. I opened two new tracking issues for the other categories


Hadoop configuration serialization bug

Coverage increased (+4.3%) to 92.92% when pulling 53e53c9f5a7b77e30fb4093034e56b40f807fdfa on spark_hadoop_config_serialization into 527ab2036d61790eb65e5d4b795052d4e95680f2 on master.


Added steps for smallest prime factor calculator

fix #2284

@sairish2001 I have created a new PR here, #3163
So, I'm closing this


Added an xml validation step in maven build and fix for javax.inject not resolving on aem6.2

adding an xml validation step in maven build
fix for javax.inject not resolving on aem6.2
removing junk text from react-parsys content.xml

Hi,
please ignore build failure. This currently always fails on merge requests.


feat：align README documents in both English and Chinese

Describe This Problem
The README document and the REAME-CN content are not aligned.
Proposal
I think we should align the README English and Chinese documents
Additional Context
No response

Thank you for your suggestions. The English version is expected to undergo a major revision in the coming weeks, so we can wait until the English version is revised and aligned.

Thank you for your reply. If you need help, I can provide it

because horaedb-server doesn't exist in docker hub yet

Let's hold a bit after repo transfer happened and new release happened.
You can go back here then.

because horaedb-server doesn't exist in docker hub yet

Let's hold a bit after repo transfer happened and new release happened.
You can go back here then.

thank you.

@tanruixiang Maybe I can start this part of the work now? I have noticed that there are no major updates to README-CN at the moment

@tanruixiang I noticed that there was a pr who did this part of my work


Rich proposal pages

Resolves #24, I think.

Showing the full change is a pain in the bum - for now, there is a link to the github view. Let's see how far that gets us.

Coverage increased (+0.6%) to 82.421% when pulling 37d81a57c9f75a2c4eaf3449ca53157fc4b78886 on rich-proposal-pages into 72d31d93e5d8f1d9f4935144bd950cf293201058 on master.


JS: add support for private fields in classes

A private field can only be used in a few special situations, and the tokenizer doesn't have enough context to know if a # is valid or not.
I therefore opted to add a new token #, and then have the parser deal with whether a # is valid syntax or not.
A property is uniquely identifiable as being a private field if the property is an identifier that starts with "#".
I therefore didn't add another table to our db_scheme to identify private fields.
Nothing special has been done about the data flow, so the data flow works for private fields, but currently we don't distinguish data flow between private and public fields.
I have added a isPrivateField() predicate to DataFlow::PropRef, so it should be possible to use that predicate to distinguish private and public fields at some point in the future.
Currently no syntax-error is raised when there exists a field-access for a non-declared private field.

let { #private1, #private2: blah } = this;
this.#method();
new this.#method();

class C {
  #privateMethod() {}
}

All of those are syntax errors.
My current implementation overapproximates private fields, which means private methods work in our extractor, even though they shouldn't.
I'll try to turn those into syntax errors in our extractor.

Ah, I see method definitions were pushed off to a seperate proposal. But surely method invocation syntax is not a syntax error?
Do you know if it's supposed to work with optional chaining x?.#foo? The TS compiler currently crashes on that input.
Anyways, we should definitely have tests for all these cases.

Ah, I see method definitions were pushed off to a seperate proposal. But surely method invocation syntax is not a syntax error?

Yeah, I was a little too fast.
Its a syntax-error to read a private field that has not been declared in the same class, that got me.
(When parsing a read for a private field we do not check whether the name has been declared in the class, and I do not plan to add support for that.).

Do you know if it's supposed to work with optional chaining x?.#foo? The TS compiler currently crashes on that input.

Chrome has experimental support for optional chaining, and it works fine with private fields.

Anyways, we should definitely have tests for all these cases.

:+1:

Do you know if it's supposed to work with optional chaining x?.#foo? The TS compiler currently crashes on that input.

Chrome has experimental support for optional chaining, and it works fine with private fields.

I can get both optional chaining and private fields to work in the TypeScript playground: http://www.typescriptlang.org/play/?ts=3.8-Beta#code/MYGwhgzhAEBiD28DM0DeBYAUNaBiAZogFzRgB2AntALzRkCuIIA3FjgEZgBOAFAJRo2OaFwCmAF3pcy0cQAsAlhAB0BRAH5l7cOwXiKrbNAC+WY9CxlRAdziIk-Ld341qtemQAmo-AquegA

Oh, if you place the optional chain before the private field access, it turns out it's rejected:

An optional chain cannot contain private identifiers.(18030)

Oh, if you place the optional chain before the private field access, it turns out it's rejected:

An optional chain cannot contain private identifiers.(18030)

Seems like an artificial restriction.
Especially when Chrome does not have the same restriction. (See my edited comment above)


IndexError: invalid index to scalar variable.

https://github.com/foschmitz/yolo-python-rtsp/blob/9c94a01e108c10301b5e360691dc8feaf79dcf88/yolo_opencv.py#L50
Detecting objects in frame 0
Traceback (most recent call last):
  File "yolo_opencv.py", line 172, in <module>
    frame = detect(frame)
  File "yolo_opencv.py", line 87, in detect
    outs = net.forward(get_output_layers(net))
  File "yolo_opencv.py", line 50, in get_output_layers
    output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
  File "yolo_opencv.py", line 50, in <listcomp>
    output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]
IndexError: invalid index to scalar variable.

Hello!
I'm not a Python guru, but stackoverflow says that we ned to change i[0] - 1 to i - 1 to fix this error ¯\_(ツ)_/¯
Sorry if I'm wrong...

Stackoverflow was correct. In yolo_opencv.py, just change both instances of "i[0]" to just "i" (without quotes) and it should run fine!

You can try 2 solutions

Change layer_names[i[0] - 1] to layer_names[i - 1] https://stackoverflow.com/a/72669466/12461080
Change  OpenCV  version > 4.5.3 https://stackoverflow.com/a/69771479/12461080

Change OpenCV works fine with me.


User profile

Coverage decreased (-0.07%) to 87.534% when pulling 30fca71d1adb5352ae44e7287b77e11dd974ec08 on user-profile into 4b8b22c24898174db9f00687068784fcb3ee46ea on develop.


allow no label and still have a collapsible item

Currently if the legend entry does not have a label value , the entry is not collapsible.  And a missing label key causes "undefined" to be shown on the legend.

Thanks for reporting this. I'll take a look later. Also, feel free to submit a PR if you have a fix for it.

The first part of the issue is intentional. If you want to legend with a single entry and no label to be collapsible, you can set collapseSimple to true in its options.
As for the second part, I couldn't reproduce the issue. Can you provide an example for it? Thanks.

Simply remove/rename the "name" key from the legends list and the item is no longer collapsible.  Below is an edit of the Example to show this.   Note the name is not shown (as expected), but there is no ability to collapse the elements (a problem):
`
var htmlLegend1and2 = L.control.htmllegend({
    position: 'bottomright',
    legends: [{
        nameTEST: 'Layer 1',
        layer: layer1,
        elements: [{
            label: 'Rectangle',
            html: '',
            style: {
                'background-color': 'red',
                'width': '10px',
                'height': '10px'
            }
        }, {
            label: 'Triangle',
            html: '',
            style: {
                'background-color': 'green',
                'width': '10px',
                'height': '10px'
            }
        }]
    }],
    collapseSimple: true,
    detectStretched: true,
    collapsedOnInit: true,
    defaultOpacity: 0.7,
    visibleIcon: 'icon icon-eye',
    hiddenIcon: 'icon icon-eye-slash'
})
map.addControl(htmlLegend1and2)

`

One work-around is to use
            name: ' ',

As for the "undefined", it appears when the html key is not included (not the label key as I originally reported above)

Thanks for clarifying this. I looked at the first case again and the current behavior is intentional because right now I don't see an elegant way of having a collapsible legend without a label.
I fixed the second part in #13.


Support for POESP32 board

Edited pull request #399 written by bgcngm to get the POESP32 board to work with PHY IP101.

Should close #381

You should have kept my original commits and your new changes on top.

Tested & working,

I see, I will edit your pull request and close this


Move scipy from runtime requirements to dev requirements

It's only used in an example

Note: one of the downsides of doing this is that the tests won't pass unless you have the dev requirements. Maybe not such a good idea?

But pytest is a dev requirement.

One reason to keep scipy around would be for optimization algorithms.

Yes, it may become a dependency anyways soon enough.
Perhaps we should simply weaken the version requirement.

Obsoleted by https://github.com/quantumlib/Cirq/pull/804 removing the version specifier on scipy


[WIP] Fixed redrawing a skeleton (Shift+N)

Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

@klakhov
Could you please review this patch ASAP?

/check

/check


feat: add cilium/cilium-cli

cilium/cilium-cli: CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
Hello! Thank you for always developing aqua.
I propose to add cilium-cli, which is used to set up cilium, a CNI plugin for k8s.
Thanks!

Thank you for your contribution!

v4.26.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.26.0


I cant install openmm 8.1.1 and CUDA 12.0.*

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
In a clean environment, this command fails:
conda install -c conda-forge openmm==8.1.1 cuda-version==12.0.* python
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package openmm-8.1.1-py310h9995159_0 requires libcufft >=<IP_ADDRESS>,<12.0a0, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ cuda-version 12.0**  is installable and it requires
│  └─ cudatoolkit 12.0|12.0.* , which can be installed;
└─ openmm 8.1.1  is not installable because there are no viable options
   ├─ openmm 8.1.1 would require
   │  └─ cudatoolkit >=11.2,<12 , which conflicts with any installable versions previously reported;
   ├─ openmm 8.1.1 would require
   │  └─ cudatoolkit >=11.8,<12 , which conflicts with any installable versions previously reported;
   └─ openmm 8.1.1 would require
      └─ libcufft >=<IP_ADDRESS>,<12.0a0  but there are no viable options
         ├─ libcufft <IP_ADDRESS> would require
         │  └─ cuda-version >=12.3,<12.4.0a0 , which conflicts with any installable versions previously reported;
         └─ libcufft <IP_ADDRESS> would require
            └─ cuda-version >=12.2,<12.3.0a0 , which conflicts with any installable versions previously reported.

I do not know whether this is expected (it is clashing with other packages that only have a 12.0 version build), to me it looks like a problem with libcufft and the pinnings in cuda-version.
@jakirkham, would you please share your wisdom on this one?
Installed packages
N/A

Environment info
active environment : testtt
    active env location : /home/raul/miniforge3/envs/testtt
            shell level : 2
       user config file : /home/raul/.condarc
 populated config files : /home/raul/miniforge3/.condarc
                          /home/raul/.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.10.13.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=icelake
                          __conda=23.11.0=0
                          __glibc=2.38=0
                          __linux=6.6.9=0
                          __unix=0=0
       base environment : /home/raul/miniforge3  (writable)
      conda av data dir : /home/raul/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/raul/miniforge3/pkgs
                          /home/raul/.conda/pkgs
       envs directories : /home/raul/miniforge3/envs
                          /home/raul/.conda/envs
               platform : linux-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Linux/6.6.9-200.fc39.x86_64 fedora/39 glibc/2.38 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.6
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Could you please share a reproducer creating a fresh environment?
Any number of issues could occur when installing in an existing environment. Unfortunately with the information shared so far, it is hard to reach a conclusion on the cause

Sure, the issue is reproduced like this:
$ mamba create -n testop openmm==8.1.1 cuda-version==12.0.*
WARNING: A conda environment already exists at '/home/raul/miniforge3/envs/testop'
Remove existing environment (y/[n])? y

Looking for: ['openmm==8.1.1', 'cuda-version=12.0']

conda-forge/noarch                                  13.3MB @  20.8MB/s  0.7s
conda-forge/linux-64                                32.1MB @  34.5MB/s  1.0s
Could not solve for environment specs
The following packages are incompatible
├─ cuda-version 12.0**  is installable and it requires
│  └─ cudatoolkit 12.0|12.0.* , which can be installed;
└─ openmm 8.1.1  is not installable because there are no viable options
   ├─ openmm 8.1.1 would require
   │  └─ libcufft >=<IP_ADDRESS>,<12.0a0  but there are no viable options
   │     ├─ libcufft <IP_ADDRESS> would require
   │     │  └─ cuda-version >=12.3,<12.4.0a0 , which conflicts with any installable versions previously reported;
   │     └─ libcufft <IP_ADDRESS> would require
   │        └─ cuda-version >=12.2,<12.3.0a0 , which conflicts with any installable versions previously reported;
   ├─ openmm 8.1.1 would require
   │  └─ cudatoolkit >=11.2,<12 , which conflicts with any installable versions previously reported;
   └─ openmm 8.1.1 would require
      └─ cudatoolkit >=11.8,<12 , which conflicts with any installable versions previously reported.

Lets discuss in here instead https://github.com/conda-forge/openmm-feedstock/issues/127

Agreed. Was going to suggest that. Thanks Raul! 🙏


fix: go back to the non esm lint-staged

fix: go back to the non esm lint-staged

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TypeError in /clan/arsenal-j8yrrv9y

Error in ClashLeaders
TypeError in /clan/arsenal-j8yrrv9y
Cannot read property '__symbol@@0.8250518864834564' of undefined
View on Bugsnag
Stacktrace
https://www.clashleaders.com/static/js/vendors.8d68595a3daede5c357b.js:13 - s.Et.Ht.get [as __symbol@@0.8250518864834564]

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in /clan/arsenal-j8yrrv9y


fix: use picocolors correctly

I believe this should fix https://github.com/iFaxity/vite-plugin-istanbul/issues/46, this is how picocolors is supposed to be used.
If I'm not mistaken, there are no contribution guidelines in this repo, so please let me know if there's something I missed.
I tested this fix in the following way in the nextbranch using Node v16.16.0:
npm run build
node dist/index.mjs

Without this fix, an error is thrown:
file:///.../vite-plugin-istanbul/dist/index.mjs:5
import { yellow } from 'picocolors';
         ^^^^^^
SyntaxError: Named export 'yellow' not found. The requested module 'picocolors' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'picocolors';
const { yellow } = pkg;

With the fix, there is no error.

Hi @aaneitchik, thanks for contributing!
LGTM, will merge this immediately and will push it to release immediately.


F#2496 show message for error case

Description
When user uploads a wrong formatted file, error message should be shown.
about unsupported file or invalid format
Related Issue :
#2496
How Has This Been Tested?

upload an unsupported file like .json
upload a file has invalid format. (has no metaId and metaName)

error message should be shown
Need additional checks?
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

run build
deploy to 5

@ksparknot We need some approvements:

If we can read as an CSV, then upload and show it in preview page, otherwise show an error message.
If a mandatory column (like frMetaName) is missing, then show what should be done and disable the "Next" or "Done" button.

run build
deploy to 1

@ksparknot Could you upload sample files for testing ?

@kyungtaak We found that this PR is rather different from the UX design. So I'm closing this. Sorry for taking your time. I'll upload the sample files in the later PR.


esbuild: Moving to @rnx-kit/metro-serializer-esbuild

This is an experimental PR, demoing Ignite using @rnx-kit/metro-serializer-esbuild.
Main benefits:

Tree shaking (smaller JS bundles)
Faster compilation (maybe?)

More info is here: https://github.com/microsoft/rnx-kit/issues/1743
This is not ready to merge, as we need to test out the changes recommended by @tido64 and @afoxman in that thread, and also figure out if this will work with the Expo/Vanilla unification efforts (#1983). Also make sure it works on Expo web.

We're going to hold off on pushing this into v8 (Maverick), but can revisit post-Maverick release.

We can try<EMAIL_ADDRESS>The issue is now fixed.

Maybe related to transform? https://app.circleci.com/pipelines/github/infinitered/ignite/2345/workflows/1a9dcabd-0e60-4e66-888c-a45b52413157/jobs/2923
yarn run v1.22.18
$ jest
PASS src/tools/demo.test.ts (6.496 s)
PASS src/tools/packager.test.ts (6.564 s)
PASS test/vanilla/ignite-help.test.ts (13.407 s)
PASS test/vanilla/ignite-remove-demo.test.ts (13.847 s)
PASS test/vanilla/ignite-generate.test.ts (17.333 s)
FAIL test/vanilla/ignite-new.test.ts (163.38 s)
  ● ignite new › ignite new Foo --debug --packager=npm --yes --use-cache › should be able to use `generate` command and have pass output pass npm run test, npm run lint, and npm run compile scripts

    Command failed: cd /tmp/ignite-2b3598c3647caa65c46ae0008d3b291c/Foo && npm run test && cd /mnt/ramdisk/repo
    FAIL app/services/api/apiProblem.test.ts
      ● Test suite failed to run

        Jest encountered an unexpected token

        This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.

        By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".

        Here's what you can do:
         • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
         • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
         • If you need a custom transformation specify a "transform" option in your config.
         • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

        You'll find more details and examples of these config options in the docs:
        https://jestjs.io/docs/en/configuration.html

        Details:

        /tmp/ignite-2b3598c3647caa65c46ae0008d3b291c/Foo/node_modules/react-native/jest/setup.js:384
        import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
        ^^^^^^

        SyntaxError: Cannot use import statement outside a module

      at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1350:14)
      FAIL app/models/Episode.test.ts
        ● Test suite failed to run
          Jest encountered an unexpected token
          This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
          By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".
          Here's what you can do:
           • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
           • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
           • If you need a custom transformation specify a "transform" option in your config.
           • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
          You'll find more details and examples of these config options in the docs:
          https://jestjs.io/docs/en/configuration.html
          Details:
          /tmp/ignite-2b3598c3647caa65c46ae0008d3b291c/Foo/node_modules/react-native/jest/setup.js:384
          import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
          ^^^^^^
          SyntaxError: Cannot use import statement outside a module
      FAIL app/models/ModTest.test.ts
        ● Test suite failed to run
          Jest encountered an unexpected token
          This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
          By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".
          Here's what you can do:
           • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
           • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
           • If you need a custom transformation specify a "transform" option in your config.
           • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
          You'll find more details and examples of these config options in the docs:
          https://jestjs.io/docs/en/configuration.html
          Details:
          /tmp/ignite-2b3598c3647caa65c46ae0008d3b291c/Foo/node_modules/react-native/jest/setup.js:384
          import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
          ^^^^^^
          SyntaxError: Cannot use import statement outside a module
      FAIL app/utils/storage/storage.test.ts
        ● Test suite failed to run
          Jest encountered an unexpected token
          This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
          By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".
          Here's what you can do:
           • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
           • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
           • If you need a custom transformation specify a "transform" option in your config.
           • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
          You'll find more details and examples of these config options in the docs:
          https://jestjs.io/docs/en/configuration.html
          Details:
          /tmp/ignite-2b3598c3647caa65c46ae0008d3b291c/Foo/node_modules/react-native/jest/setup.js:384
          import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
          ^^^^^^
          SyntaxError: Cannot use import statement outside a module
      FAIL test/i18n.test.ts
        ● Test suite failed to run
          Jest encountered an unexpected token
          This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
          By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".
          Here's what you can do:
           • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
           • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
           • If you need a custom transformation specify a "transform" option in your config.
           • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
          You'll find more details and examples of these config options in the docs:
          https://jestjs.io/docs/en/configuration.html
          Details:
          /tmp/ignite-2b3598c3647caa65c46ae0008d3b291c/Foo/node_modules/react-native/jest/setup.js:384
          import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
          ^^^^^^
          SyntaxError: Cannot use import statement outside a module
      Test Suites: 5 failed, 5 total
      Tests:       0 total
      Snapshots:   0 total
      Time:        2.294 s
      Ran all test suites.

Test Suites: 1 failed, 5 passed, 6 total
Tests:       1 failed, 23 passed, 24 total
Snapshots:   18 passed, 18 total
Time:        164.196 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Exited with code exit status 1

Going to close this PR since we are migrating more towards Expo by default


Jasmine test suite

Using Jasmine so we can test sitemap-builder

@silasb thank you for this PR. Can we run jasmine without test/run.js script? For example from npm scripts.

Not 100% sure. I'll take a look tonight.
On Mar 14, 2017 11:20 AM, "Igor Uvarov"<EMAIL_ADDRESS>wrote:

@silasb https://github.com/silasb thank you for this PR. Can we run
jasmine without test/run.js script? For example from npm scripts.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kuflash/react-router-sitemap/pull/47#issuecomment-286455065,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACe3sngPJ5q-ImlnSGxMh1GBg1q224xks5rlrBQgaJpZM4MS8Mb
.

Had time to look at this.  I remember why I coded it this way.  We need to use babel to transpile the test code.  jasmine the command line utility doesn't support the import syntax that our tests use. The test/run.sh script is one solution to getting Jasmine to work with ES6 import syntax by running that script through babel-node.
I already have npm scripts work via  https://github.com/kuflash/react-router-sitemap/pull/47/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R19

@silasb sorry for the long wait. I'm found problem for accept this PR. You should move your changes to develop branch in your fork repository and create new PR from your develop branch to develop branch this is repository. Can you do it?


TV Mode

Kinda like Lichess TV. Observe any games that are running, automatically switch to another game when it's finished. If there are no games running, automatically request server to start an AI game and observe that.

Parts that are needed:

Switch game if no move is made in 60(?) seconds (LATER)
Server needs to be able to start a new AI game, in one of those games that the client can handle - probably send a list of games to server in this request
Needs to listen for "TVGame" events and observe those games
Dynamic component for what the current game is


Study the User Input capabilities

How much does it cost to poll a button (including debouncing)?
How much does it cost to detect a touch event at the touch panel?
Do we have to poll the touchpanel or it can generate events?

From what I read, the touch panel driver has an Interrupt pin (PENIRQ) which can detect a touch event ( for more details see the datasheet page 17. This pin is connected trough the two shield to 3th digital pin of the Mega, which is a hardware interrupt pin so this is perfect for for our project. There are no information regarding how much is taking to detect the touch event (at leas I don't find it).
To set a pin High or low Is taking 1 cycle and the same for "reading" a pin.


Default font color for mdl-navigation__link

mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
display: block;
-webkit-flex-shrink: 0;
-ms-flex-negative: 0;
flex-shrink: 0;
padding: 16px 40px;
margin: 0;
color: #757575;
}
.mdl-navigation__link {
color: #424242;
text-decoration: none;
margin: 0;
font-size: 14px;
font-weight: 400;
line-height: 24px;
letter-spacing: 0;
opacity: .87;
}

why different color is used in both places? The first one will always dominate the second one anyway.
in https://www.google.com/design/spec/patterns/navigation-drawer.html#navigation-drawer-specs it states that the list item color should be #000000 rather than those 2 in above.

.mdl-navigation__link refers to the links in the appbar (currently not specified.) While the first selector is specifically targeting drawer items.
As far as the drawer color being incorrect, that is right. We have some re-alignment happening in V2 so the drawer should be fully compliant again.
Does this explain the inconsistencies well enough?

Crystal clear, that really clears my doubt. Keep the awesomeness coming. Thanks


Migrate vm across clusters

Description
This PR adds a global setting migrate.vm.across.clusters to indicate whether vm can be live migrated to other clusters (with same hypervisor type), if all volumes are in zone-wide storage pool.
If vm is running on the last host in a cluster and vm cannot be migrated to other clusters, put host to maintenance will fail.
This is based on pr #4378
This fixes #3707 #3720

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[X] Major
[ ] Minor

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package
@weizhouapache is this ready?

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2513

@ustcweizhou I guess this will need changes in new UI now
I've not tested yet but cross-cluster migration could result in failure when there are only cluster-scoped primary stores so do we handle that? In case of VMware this could fail even with vMotion enabled with current master something that has been changed in #4385

@ustcweizhou I guess this will need changes in new UI now
I've not tested yet but cross-cluster migration could result in failure when there are only cluster-scoped primary stores so do we handle that? In case of VMware this could fail even with vMotion enabled with current master something that has been changed in #4385

Based on branch name marked for <IP_ADDRESS>

Based on branch name marked for <IP_ADDRESS>

@ustcweizhou I guess this will need changes in new UI now
I've not tested yet but cross-cluster migration could result in failure when there are only cluster-scoped primary stores so do we handle that? In case of VMware this could fail even with vMotion enabled with current master something that has been changed in #4385

@shwstppr it is addressed in this pr.  if vm has volumes on cluster-wide storage, migrate will fail.
migraiton is possible only if
(1) all volumes are on zone-wide storage
(2) source cluster and dest cluster have same hypervisor type.

@ustcweizhou I guess this will need changes in new UI now
I've not tested yet but cross-cluster migration could result in failure when there are only cluster-scoped primary stores so do we handle that? In case of VMware this could fail even with vMotion enabled with current master something that has been changed in #4385

@shwstppr it is addressed in this pr.  if vm has volumes on cluster-wide storage, migrate will fail.
migraiton is possible only if
(1) all volumes are on zone-wide storage
(2) source cluster and dest cluster have same hypervisor type.

@DaanHoogland
this is an improvement so I changed the destination to master.
made some changes as your comments.

@DaanHoogland
this is an improvement so I changed the destination to master.
made some changes as your comments.

@weizhouapache sorry but this needs fixing conflicts again.
Also, is the use-case here is allow cross-cluster migration when putting the last host in maintenance. As we added some improvements for cross-cluster cross-pod VM migration with #4385 but they were largely for VMware.
Since VMware would allow cross-cluster migration even with cluster scoped pools with vmotion do we need to mention the new global setting is not for VMware

Re-ping @shwstppr for review
@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos7 ✔centos8 ✖debian. JID-2749

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos7 ✔centos8 ✔debian. JID-2764

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

sorry but this needs fixing conflicts again.
Also, is the use-case here is allow cross-cluster migration when putting the last host in maintenance. As we added some improvements for cross-cluster cross-pod VM migration with #4385 but they were largely for VMware.
Since VMware would allow cross-cluster migration even with cluster scoped pools with vmotion do we need to mention the new global setting is not for VMware

@shwstppr
I had a quick view on #4385, it looks that it migrates vms with a storageid.
this pr should not break the feature as this changes the behavior when hostid is passed or storageid is not passed.

Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2786

Ping @weizhouapache is this valid for 4.15, in terms of severity should this be considered for 4.15.1?

Ping @weizhouapache is this valid for 4.15, in terms of severity should this be considered for 4.15.1?

@rhtyd it is more like a new feature, so targeted to master/4.16, not 4.15

Thanks @weizhouapache - this was regards to https://github.com/apache/cloudstack/issues/3720 which is logged as a bug which this PR claims to fix.

ping @shwstppr is this relevant, I think there was a PR from you as well on similar (cross-cluster migration)
@ustcweizhou can you fix the conflicts?

Hi @ustcweizhou can you please resolve the conflicts.

Hi @ustcweizhou can you please resolve the conflicts.

@sureshanaparti
This is based on pr #4378
I will rebase when #4378 is merged.

@ustcweizhou should we take care of this?

@ustcweizhou should we take care of changes for this pr?

@soreana #4378 is not merged yet.

@weizhouapache I see. Let me know if you need an extra hands :)

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 936

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 937

@blueorangutan test

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan test

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1726)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33825 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1726-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-1727)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34481 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1727-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Smoke tests completed. 88 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_list_snapshots_with_removed_data_store
Error
53.72
test_snapshots.py

@weizhouapache can you please fix the conflicts? Is it ready for review?

@nvazquez I've fixed the conflict. It is ready for review.

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 983

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1118

@blueorangutan test

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1954)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33873 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1954-kvm-centos7.zip
Smoke tests completed. 88 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_02_list_snapshots_with_removed_data_store
Error
51.48
test_snapshots.py

Trillian test result (tid-1955)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34220 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1955-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-1956)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35227 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1956-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-1957)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36874 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1957-kvm-centos7.zip
Smoke tests completed. 88 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_disable_oobm_ha_state_ineligible
Error
1511.66
test_hostha_kvm.py

@shwstppr thanks for review and testing !
as per your comments, I have changed this pr by 5 commits.
fix #4534: an error in 'git merge'
fix #4534: remove useless methods in FirstFitPlanner.java
fix #4534: vms are stopped in host maintenance
fix #4534: across-cluster migration of vms with cluster-scoped pools is supported by vmware vmotion
fix #4534: migrate systemvms is only possible across clusters in same pod to avoid potential network errors.

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1136

@blueorangutan test

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian Build Failed (tid-1969)

@blueorangutan test

@shwstppr great, thanks for testing !

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1148

@blueorangutan test

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1981)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33813 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4534-t1981-kvm-centos7.zip
Smoke tests completed. 89 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


PlotLayer add axes titles

Allow passing in X, Y, Z axes title strings, displaying them along the axes.

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

Also.. github says you have not signed CLA


visual issues in keyboard display

I think these are related to analog keyboard support in 1.6 (btw very cool how it now turns analog now in my own replays i drove with non analog kb lol, interpolation stuff i guess)

buttons no longer have a background (they did before, I left color options untouched)
a small barely visible pink line is present at all times in the left key (changing x can make it show up in the right key as well)

Interesting - can you show which settings you're using?

the pink line is on the right after i shifted it a bit:

also here's the settings.ini
Settings.ini.txt

Thanks for the report! 🎉


Script is reloading incorrectly

Could be an option to remove script reloading functionality and make it more real time experience;
(index):2411 Uncaught TypeError: Cannot read property 'messages' of undefinedrefreshChats @ (index):24112
(index):3296 Uncaught TypeError: Cannot read property 'join' of undefined(anonymous function) @ (index):3296
(index):3954 Uncaught TypeError: Cannot read property 'isWorldServer' of undefinedsendAlive @ (index):3954
(index):914 Uncaught TypeError: Cannot read property 'indexOf' of undefinedidrinth.ajax.(anonymous function)._remove @ (index):914idrinth.ajax.(anonymous function).onreadystatechange @ (index):934
(index):964 [IDotDS] Starting Idrinth's DotD Script

there's a few setTimeout that aren't properly cleaned, otherwise it should work fine :/

raid.join -> sometimes fail to load scrip after reload.

Found some strange reload behavior -> sc.setAttribute ( 'src', 'https://dotd.idrinth.de/static/userscript/' + Math.random () + '/' );
Why do you loadup a ne script everytime user presses the button to reload script?

because loading a fresh, up to date one is actually intended - making sure they get one not cached on the client side

the Math.random is technically a kind of cache buster already - the old instances would need to be removed tho, agreed

One issue was that I had my own branch loaded as a testing version "/asdsad", and when I reloaded the script it loaded the master version instead :) It was confusing a bit.

we could move it one step back in the param-list, so:
dotd.idrinth.de/static/userscript/[version]/[RANDOM]/ , would not take any server-side adjustments to work

That's a good idea :) Will do so, than!

###RELOAD-VERSION### might be interesting for you - makes sure you don't need to do string operations on the old script's source-url ;)

Have you commited it somewhere "###RELOAD-VERSION###" ? :) Can't find it within commits :)

it's a server-side replacement, same as ###VERSION###

https://github.com/Idrinth/IDotD/wiki/Developer-Information#server-side-replacements contains the (currently 3) replaced keys


Containerd testlet fixes

Per PR, the fix:

Add containerd testlet to startup integration
Fix all log dumps
Stop server gracefully

Related PR: https://github.com/k3s-io/k3s/pull/6696

Tests are passing already
https://github.com/k3s-io/k3s/actions/runs/3913636336/jobs/6689917862#step:5:258


Avoid duplicate application.xml descriptors

...which would occur if an application.xml was provided by the user yet we tried to generate one.
Also addresses an issue with modules discovered not being included in the application.xml generated.
Finally, adds a (truly, CC-specific) test case for #19725.
Issue: #13467

@bot-gradle test ACC

I've triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you.


Playing Animation backward does not play the last frame first

Tested versions

Reproducible in: Godot 4.3.stable, Godot_v4.4-dev6

System information
Windows 10 Godot4.3.stable Vulkan (Forward Mobile) - NVIDIA GeForce RTX 3080 Ti
Issue description
I try to play a animation backward with a AnimationPlayer but is seems the last frame is not played when played backward.
When I play the animation normally, the last frame rotate the image:

But, When I play the animation backward, the first frame does not play:

It happen in-game to, when launch with the "play_backwards" method.
I really don't know if this a bug or not. Maybe there is something I didn't understand.
Thanks for your help.
Steps to reproduce

Create a AnimationPlayer
Add a Sprite2D
Make a simple animation with one key a the start and one key a the end with different value, in my case, i use the Rotation. (Be sure to put the track in Discrete Mode, because the problem is easier to see this way)
If you click the "Play selected animation from start.", everything is fine
Than click "Play selected animation backwards from end.", everything seems fine, but then, if you re-click "Play selected animation backwards from end.", nothing happen.
I expect the last key to be played when backward.

Minimal reproduction project (MRP)
This is a minimal reproduction project with only the rotation in the animation, but it seems to "bug" for many properties to (Position, Scale.)
issue.zip

Dupe of https://github.com/godotengine/godot/issues/98214


linuxPackages.rtl88x2bu: init at 2020-03-05

Motivation for this change
This got my TP-Link Archer T3U working on 19.09. Also seems to build fine with newer kernels. Not sure how we'll know if/when upstream gets support, or whether that's even a possibility.
Things done

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

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

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

I just had the same driver missing. Thanks for your PR. Can you please update the rev and sha256. Upstream got updated while this is still waiting for merging. We really need some way to make review for PR faster.

Out of curiosity, are there recent changes to the source repo that affect you? I reviewed it not long ago and didn't see any major updates.

As a matter of fact, I haven't tried this driver yet.

I just tried this PR. rtl88x2bu driver does not build for kernel 5.6.16.
I tried
{
    "owner": "cilynx",
    "repo": "rtl88x2bu",
    "rev": "0f159d7cd937a12b818121cb1f1c4910bd1adc72",
    "sha256": "0flqnvzfdb4wsiiqv9vf5gfwd5fgpjvhs9zhqknnv1cmp8msgw6y"
}

It works. My wireless nic is now working. Thanks for your contribution.

Updated and confirmed working on latest 20.03.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/help-installing-wifi-drivers/4575/7

Hi, I am a new user of NixOS, I can't seem to get this working with my wifi adapter which is an Archer T4U V3.
I have tried boot.extraModulePackages = with config.boot.kernelPackages; [ rtl88x2bu ]; and I got the error undefined variable 'rtl88x2bu', I am not sure whether I am doing anything wrong. I tried enabling nixos-unstable channel and putting unstable rtl88x2bu, but that hasn't worked either. The only thing that did work for me was nix-env -i rtl88x2bu`. The driver installed, but I still can't connect to my wifi.
Here is my ifconfig and wpa_supplicant
ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::5ef9:ddff:fe70:c674  prefixlen 64  scopeid 0x20<link>
        ether 5c:f9:dd:70:c6:74  txqueuelen 1000  (Ethernet)
        RX packets 5523  bytes 4434095 (4.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4509  bytes 612492 (598.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7c00000-f7c20000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2704  bytes 241056 (235.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2704  bytes 241056 (235.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wpa_supplicant service
● wpa_supplicant.service - WPA Supplicant
   Loaded: loaded (/nix/store/b98pwgf69iwlgr2131sy9bp3sgq69g1h-unit-wpa_supplicant.service/wpa_supplicant.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-08-17 12:08:26 BST; 17min ago
  Process: 715 ExecStart=/nix/store/fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start (code=exited, status=255/EXCEPTION)
 Main PID: 715 (code=exited, status=255/EXCEPTION)
       IP: 0B in, 0B out
      CPU: 7ms

Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   -q = decrease debugging verbosity (-qq even less)
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   -s = log output to syslog instead of stdout
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   -t = include timestamp in debug messages
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   -u = enable DBus control interface
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   -v = show version
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   -W = wait for a control interface monitor before starting
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]: example:
Aug 17 12:08:26 nixos fl0z9il4s3q557pnchnn18xfyf43x1cd-unit-script-wpa_supplicant-start[715]:   wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf
Aug 17 12:08:26 nixos systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 17 12:08:26 nixos systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.

nix-env -i rtl88x2bu won't work, as that influences nothing over the system.
boot.extraModulePackages = with config.boot.kernelPackages; [ rtl88x2bu ]; Should work, but perhaps could you give us more context @dps910? Also, to make sure your channels are updated, could you tell us if this command (run by root) works?
# nix search -u rtl88x2bu

nix-env -i rtl88x2bu won't work, as that influences nothing over the system.
boot.extraModulePackages = with config.boot.kernelPackages; [ rtl88x2bu ]; Should work, but perhaps could you give us more context @dps910? Also, to make sure your channels are updated, could you tell us if this command (run by root) works?
# nix search -u rtl88x2bu

I updated my channels with nix-channel --update and then I did sudo nix search -u rtl88x2bu. It showed me a lot of packages
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_14.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_19.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_4.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_9.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_5_4.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_5_7.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_hardened.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_hardkernel_4_14.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_hardkernel_latest.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest-libre.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest_hardened.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest_xen_dom0.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest_xen_dom0_hardened.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_testing_bcachefs.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_xen_dom0.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_xen_dom0_hardened.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

My setup is a little different, and I'm a bit unsure this tests the issue. Could you run exactly this:
sudo su -l
nix-channel --update
nix-channel --list
nix search -u rtl88x2bu

My setup is a little different, and I'm a bit unsure this tests the issue. Could you run exactly this:
sudo su -l
nix-channel --update
nix-channel --list
nix search -u rtl88x2bu

My setup is a little different, and I'm a bit unsure this tests the issue. Could you run exactly this:

sudo su -l
nix-channel --update
nix-channel --list
nix search -u rtl88x2bu

My setup is a little different, and I'm a bit unsure this tests the issue. Could you run exactly this:
sudo su -l
nix-channel --update
nix-channel --list
nix search -u rtl88x2bu

[david@nixos:~]$ sudo su -l
[sudo] password for david:

[root@nixos:~]# nix-channel --update
unpacking channels...

[root@nixos:~]# nix-channel --list
nixos https://nixos.org/channels/nixos-20.03
nixos-unstable https://nixos.org/channels/nixos-unstable

[root@nixos:~]# nix search -u rtl88x2bu
* nixos-unstable.linuxPackages-libre.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_14.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_19.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_4.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_4_9.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_5_4.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_5_7.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_hardened.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_hardkernel_4_14.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_hardkernel_latest.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest-libre.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest_hardened.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest_xen_dom0.rtl88x2bu (rtl88x2bu)
  Realtek rtl88x2bu driver

* nixos-unstable.linuxPackages_latest_xen_dom0_hardened.rtl88x2bu (rtl88x2bu)

The unstable channel is not actually used. Run as root:
# nix-channel --remove nixos
# nix-channel --remove nixos-unstable
# nix-channel --add https://nixos.org/channels/nixos-unstable nixos

The unstable channel is not actually used. Run as root:
# nix-channel --remove nixos
# nix-channel --remove nixos-unstable
# nix-channel --add https://nixos.org/channels/nixos-unstable nixos

That has worked! Thanks :D


append condition to set metrics

Metrics were being set during delete of DRPC. The current check looks
if drpc is deleted or not and here the check fails because at that
moment drpc might not have deleted because of the ownership references.
DRPC might be waiting for the child resources to be deleted. And in one of these
instances we find drpc and sets metric with 0 value. Adding a check if finalizers
is present ensures that metrics would be set only if finalizer is set. So in the
delete scenario drpc would not have finalizers and this
check would ensure that we do not set metrics again
fixes: 2264435

Please add some notes on what issue this causes if not handled with the added finalizer check.

updated the PR and commit msg


[QATAR®]How do I really get through to Qatar Airways? #QatarAirwaysContact®

Email Chat: For fast contact with Qatar Airways, call their 24/7 customer service at +1-877-777-6604 US™ or +44-144-631-8041 (UK) (Live Person) and use their mobile app or website chat. Alternatively, tweet @QatarAirways for a prompt response.
A. How do I really get through to Qatar Airways?
To effectively reach Qatar Airways, call their customer service at +1-877-777-6604 (US) or +44-144-631-8041 (UK). You can also use their website, email, or social media for additional support with bookings and other inquiries.
a. How do I communicate with Qatar Airways?
You can contact Qatar Airways through multiple channels, including their website, social media, email, or by calling their customer service at +1-877-777-6604 (US) or +44-144-631-8041 (UK). They provide various options to assist with your questions and concerns.
b. What is the phone number for Qatar Airways?
For Qatar Airways customer service, dial +1-877-777-6604 if you're in the US or +44-144-631-8041 if you're in the UK. This line will connect you to their support team for help with bookings and other matters.
c. How do you communicate in Qatar?
In Qatar, the main languages for communication are Arabic and English. Qatar Airways offers support in these languages via their customer service numbers +1-877-777-6604 (US) and +44-144-631-8041 (UK).
d. How can I get in touch with Qatar Airways?
To contact Qatar Airways, use their website, call their phone lines, or visit local offices. For assistance in the US, call +1-877-777-6604 or +44-144-631-8041 in the UK for prompt help.
e. How do I contact Qatar Airways in Qatar?
For support from Qatar Airways in Qatar, use the numbers +1-877-777-6604 (US) or +44-144-631-8041 (UK). Alternatively, their website or email can be used for further assistance.
f. How do I call Qatar online?
To make an online call to Qatar, consider using VoIP services such as Skype. For customer service inquiries with Qatar Airways, use +1-877-777-6604 (US) or +44-144-631-8041 (UK).
g. How do I contact a Qatar Airways office?
You can contact a Qatar Airways office by either visiting a local branch or accessing their website. For inquiries within the US, call +1-877-777-6604 or +44-144-631-8041 for the UK.
h. Does Qatar Airways offer refunds?
Yes, Qatar Airways provides refunds according to their policy. For detailed information on how to request a refund, contact their customer service at +1-877-777-6604 (US) or +44-144-631-8041 (UK).
i. Does Qatar Airways respond to complaints?
Qatar Airways handles complaints through their customer service. For issue resolution, contact them at +1-877-777-6604 (US) or +44-144-631-8041 (UK) for assistance.
j. Which airline has the most complaints?
The airline with the highest number of complaints can vary; check recent industry reports for specific details. For issues with Qatar Airways, use +1-877-777-6604 (US) or +44-144-631-8041 (UK) for support.
k. What is the controversy surrounding Qatar Airways?
Controversies involving Qatar Airways often relate to service quality and delays. For more details or to address specific complaints, reach out to their customer service at +1-877-777-6604 (US) or +44-144-631-8041 (UK).
l. What is the best way to file a complaint with an airline?
The best approach to filing a complaint is through the airline's official channels or relevant regulatory bodies. For Qatar Airways, use +1-877-777-6604 (US) or +44-144-631-8041 (UK) for a direct response.
m. How can I contact Qatar Airways from the US by phone?
To contact Qatar Airways from the US, dial +1-877-777-6604. For additional support, you can also reach out via +44-144-631-8041 if you're in the UK.
n. How do I call Qatar from the US?
When calling Qatar from the US, use international dialing services. For assistance with Qatar Airways, the number to call is +1-877-777-6604 (US) or +44-144-631-8041 (UK).
o. How can I call Qatar for free?
Free calls to Qatar are typically not available, but VoIP services like Skype may be an option. For inquiries related to Qatar Airways, use +1-877-777-6604 (US) or +44-144-631-8041 (UK).
p. How do I contact Qatar Airways in Dubai?
For Qatar Airways services in Dubai, you can call +1-877-777-6604 (US) or +44-144-631-8041 (UK). This will connect you to their local customer support team.
Q. Does Qatar Airways operate in the US?
Yes, Qatar Airways operates flights to and from several U.S. cities. For flight information, contact their customer service at +1-877-777-6604 (US) or +44-144-631-8041 (UK).


[Bug]: after about 833 times different context running with same browser, browser close automatically

Playwright version
1.12.2
Operating system
Windows
What browsers are you seeing the problem on?
WebKit
Other information
.NET 5.0.301
What happened? / Describe the bug
I use playwright in a background service in .NET 5 console project. I use DI to run playwright to browser some websites and wait for response, get some attributes, like _browserContext.NewPageAsync(), page.GotoAsync, page.WaitForResponseAsync, page.GetAttributeAsync, response.TextAsync() and something like these methods. But every time when run to about No.833+ contexts (I will dispose one after one every time)
 public async void Dispose()         {             await _browserContext.CloseAsync();             await _browserContext.DisposeAsync();             GC.SuppressFinalize(this);         }
with one browser but different context, about 833times later, browser will automatically down. Logs below. Is there anything I did wrong? Thanks developer and community! Forgive my bad English.
Code snippet to reproduce your bug
services.TryAddSingleton<IPlaywright>(Playwright.CreateAsync().Result);
            services.TryAddSingleton<IBrowser>(provider =>
            {
                var playwright = provider.GetService<IPlaywright>();
                if (playwright != null)
                    return playwright.Webkit.LaunchAsync().Result;
                throw new Exception("Fail");
            });
            services.TryAdd(new ServiceDescriptor(typeof(IBrowserContext), provider =>
            {
                var browser = provider.GetService<IBrowser>();
                var context = browser!.NewContextAsync(new BrowserNewContextOptions()
                {
                    UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
                    ExtraHTTPHeaders = new List<KeyValuePair<string, string>>()
                    {
                        new ("Accept-Language","en-US,en;q=0.9")
                    }
                }).Result;
                context.SetDefaultNavigationTimeout(6_000);
                context.SetDefaultTimeout(6_000);
                return context;
            }, contextLifetime));

Relevant log output
`Microsoft.Playwright.PlaywrightException: Protocol error (Dialog.enable): Browser closed.
==================== Browser output: ====================
<launching> C:\Users\Administrator\AppData\Local\ms-playwright\webkit-1492\Playwright.exe --inspector-pipe --headless --no-startup-window
<launched> pid=15044
[pid=15044][err] 1   00007FFF46981089
[pid=15044][err] 2   00007FFF469F7C59
[pid=15044][err] 3   00007FFF469A4B75
[pid=15044][err] 4   00007FFF469F497E
[pid=15044][err] 5   00007FFF469A863F
[pid=15044][err] 6   00007FFF469F8F59
[pid=15044][err] 7   00007FFF698D268A
[pid=15044][err] 8   00007FFF6C6F7974
[pid=15044][err] 9   00007FFF6D06A2F1
[pid=15044] <process did exit: exitCode=3221225477, signal=null>
[pid=15044] starting temporary directories cleanup
[pid=15044] finished temporary directories cleanup
   at Microsoft.Playwright.Transport.Connection.SendMessageToServerAsync[T](String guid, String method, Object args)
   at Microsoft.Playwright.BrowserContext.NewPageAsync()`

Here's a quick, complete, repro:
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Playwright;

namespace Worker1
{
  public class Program
  {
    public static async Task Main(string[] args)
    {
      using var playwright = await Playwright.CreateAsync();

      // using var playwright = await Playwright.CreateAsync();
      await using var browser = await playwright.Webkit.LaunchAsync(new() { Headless = false });

      int count = 0;
      int remaining = 1000;
      Parallel.For(0, 1000, async i =>
      {
        Interlocked.Increment(ref count);
        Console.WriteLine($"Launching context: {i} {count}");
        await using var context = await browser.NewContextAsync();
        var page = await context.NewPageAsync();
        await page.GotoAsync("https://www.microsoft.com");
        Interlocked.Decrement(ref remaining);
        Console.WriteLine($"Remaining {remaining}");
      });

      while (remaining > 0 )
      {
        await Task.Delay(1000);
      }
    }
  }
}

@LuohuaRain The only way I was able to repro this was using the code above which isn't really good practice. It makes me wonder if you're also spawning up all the processes and not closing them properly. One reason I can think of that happening would be the .Result call.
How do the tests look?
I'm trying to understand how they're getting to that number of spawned processes...

@LuohuaRain The only way I was able to repro this was using the code above which isn't really good practice. It makes me wonder if you're also spawning up all the processes and not closing them properly. One reason I can think of that happening would be the .Result call.
How do the tests look?
I'm trying to understand how they're getting to that number of spawned processes...

I don't know either😂, my tests is just like your repro, but mine is not parallel, it's a queue, and it will dispose one context completely after one dequeue.

Are you also using IServiceScope? If not, what are you setting as contextLifetime?

just
public static void AddMyService(this IServiceCollection services, ServiceLifetime contextLifetime = ServiceLifetime.Scoped)
{
      services.TryAddSingleton<IPlaywright>(Playwright.CreateAsync().Result);
      services.TryAddSingleton<IBrowser>(provider => …………………………
}

and in my background service project contextLifetime is    services.AddMyService(contextLifetime: ServiceLifetime.Transient);
in background service project: code below
the query object is a list, it's count about 1000+, and every time the foreach loop get about 833+, Playwright.exe crash🤦♂
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
	foreach (var item in query)
	{
		using var myService = _provider.GetService<MyService>();
                var id = item.Id;//xxxxxx
		await mySevice.BrowserAll();
	}
}

and in my service code (pseudocode)
public class MyService : IDisposable
{
	private readonly ILogger<MyService> _logger;
	private readonly IBrowserContext _browserContext;

	public MyService(IBrowserContext browserContext, ILogger<MyService> logger)
	{
		_logger = logger;
		_browserContext = browserContext;
	}

	public async Task BrowserAll()
	{
		var page = await _browserContext.NewPageAsync();
		await page.GotoAsync("www.xxx.com");
		var response = await page.WaitForResponseAsync(res => res.Url == "www.xxx.com/ok" && res.Status == 200, new PageWaitForResponseOptions()
		{
			Timeout = 5_000,
		});
		await page.RouteAsync(pseudocode);
	}

	public async void Dispose()
	{
		await _browserContext.CloseAsync();
		await _browserContext.DisposeAsync();
		GC.SuppressFinalize(this);
	}

}

Microsoft.Playwright.PlaywrightException: Protocol error (Dialog.enable): Browser closed.
==================== Browser output: ====================
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_PutOrAdd'
[pid=4976][err] Unhandled network process message 'WebIDBServer_AbortTransaction'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_AbortTransaction'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_OpenDBRequestCancelled'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_AbortTransaction'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_GetRecord'
[pid=4976][err] Unhandled network process message 'WebIDBServer_AbortTransaction'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_PutOrAdd'
[pid=4976][err] Unhandled network process message 'WebIDBServer_CommitTransaction'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_CommitTransaction'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] Unhandled network process message 'WebIDBServer_DatabaseConnectionClosed'
[pid=4976][err] 1   00007FFB28BF1209
[pid=4976][err] 2   00007FFB28BF1089
[pid=4976][err] 3   00007FFB28C68B49
[pid=4976][err] 4   00007FFB28C14F65
[pid=4976][err] 5   00007FFB28C657DE
[pid=4976][err] 6   00007FFB28C18ACF
[pid=4976][err] 7   00007FFB28C69E49
[pid=4976][err] 8   00007FFB6071268A
[pid=4976][err] 9   00007FFB62F37974
[pid=4976][err] 10  00007FFB63EEA2F1
[pid=4976]
[pid=4976] starting temporary directories cleanup
[pid=4976] finished temporary directories cleanup
at Microsoft.Playwright.Transport.Connection.SendMessageToServerAsync[T](String guid, String method, Object args)
at Microsoft.Playwright.Core.BrowserContext.NewPageAsync()

Is there any ideas?

v1.14.0 still exist this problem @mxschmitt

This is intended and not a bug. You need to limit the maximum parallel contexts. I'm not familiar with .NET, but this looks like what you want: https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.paralleloptions.maxdegreeofparallelism?redirectedfrom=MSDN&view=net-5.0#System_Threading_Tasks_ParallelOptions_MaxDegreeOfParallelism
TL;DR: Relates https://github.com/microsoft/playwright/issues/6319 and a massive amount of contexts is not supported.

This is intended and not a bug. You need to limit the maximum parallel contexts. I'm not familiar with .NET, but this looks like what you want: https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.paralleloptions.maxdegreeofparallelism?redirectedfrom=MSDN&view=net-5.0#System_Threading_Tasks_ParallelOptions_MaxDegreeOfParallelism
In other languages its called a worker group with a maximum concurrency limit.
TL;DR: Relates microsoft/playwright#6319 and a massive amount of contexts is not supported.

I don't think so. It doesn't make any sense. @avodovnik 's example also used
await using var context = await browser.NewContextAsync();

so I don't think it relates to limiting the maximum parallel contexts...

And the example I used was single-threaded and did not involve parallel or multi-threaded at all


Server error when flagging non container

When i try to flag (E.G left click on a oak plank) a non container the server throws out a FATAL error
log: https://pastebin.com/thvENHN6

Ok, this is as simple as a null check on the selecting code


Hiding the ActionBar doesn't restore menu items

I have a menu item which is showAsAction="always":
<item
    android:id="@+id/search"
    android:title="@string/menu_search"
    android:icon="@android:drawable/ic_menu_search"
    android:showAsAction="always" />

In my Activity I hide the ActionBar in landscape mode:
    ActionBar ab = getSupportActionBar();
    int orientation = getResources().getConfiguration().orientation;
    if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
    	ab.hide();
    }

I would expect the search menu item to now show up back in the menu button menu, as there is no longer any ActionBar for it to display in. Instead, I lose the search button completely.
The workaround is to check the orientation in onCreateOptionsMenu() and instantiate different menus based on whether we're in portrait or landscape.

Are you using version 3 or the version 4 betas?

According to the AndroidManifest.xml - Version 3.5.1, version code 55.

I'm fairly certain this is the correct behavior though. The action bar still exists which is why it is being used as the target for the menu items. If you wanted to remove the action bar altogether you would have to request the window NO_TITLE feature.


import WebRTC, no such module 'WebRTC'

how to fix it

Hi @http600
Can you please provide more details? Did you run the demo project as is? Did it successfully downloaded the WebRTC binary?
The project works for me and finds WebRTC


[3.x] Expose Image.COMPRESS_SOURCE_LAYERED to scripting

Fixes #43387
This targets 3.x because the enumerator is removed on master during the Vulkan update.

Thanks!

Cherry-picked for 3.4.3.


Bug: signcolumn in CSS files hide gitsigns

I recently tried out signcolumn as display method and I actually like it very much.
It looks like when there is a symbol count as well as a gitsign for the same line, the gitsign takes priority (which is good). However, specifically in css files, the symbol count takes priority over gitsigns. From all the filetypes I use, this apparently only affects css files. I tried changing the sign_priority setting from gitsigns, but it did not make any difference. (and it would affect all filetypes anyway, so I am not sure why the priority only changes for one specific filetype.)

The symbol-usage does not control the display priority in the signcolumn in any way, so I don't think it's right to address this issue here.
Perhaps this behavior is related to the loading speed of the css server. Apparently in this case cssls just fires later than gitsigns.

The symbol-usage does not control the display priority in the signcolumn in any way, so I don't think it's right to address this issue here.

What you describe sounds like the issue can only be resolved by giving the symbols a higher priority than gitsigns, which is something which can only be done in the set_extmark call of this plugin, if I am not mistaken?

You mean you'd like to see the ability to manage options for nvim_set_extmark in the plugin?
If so, this is a feature request, not a bug ))

With the knowledge I had at the time of submitting the issue, it appeared to be a bug though ;)
But yes, with the current knowledge, it's technically more a FR than a bug

Done #62

Thanks you!


Automated daily update to rustc (to nightly-2024-09-04)

Automated update to Github CI workflow rust.yml by create-pull-request GitHub action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.672%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
19709

Relevant Lines:
23840

💛  - Coveralls


Add initial support for GURPS

Hi,
Thanks for the quick merge of the CoC7 provider.
Here's a pull request for the other system I use.
I have not tried to localize this one as I can't quite figure out how localization actually works here. If you can point me at some documentation I can give it a go.
There's also a small update to the CoC7 provider - I was finding it wasn't working without the extends keyword.
I am so not a JS programmer :-)
I'll create a separate pull request to update the CoC7 template when I get some more time.

Oops, I didn't notice the CoC7's provider wasn't extending from SystemProvider.
For localization, I try to use the system's own localization whenever it is possible. For example, on GURPS, you'd check for the localization https://github.com/crnormand/gurps/blob/main/lang/en.json and instead of using hard-coded strings, like HT, you'd use something like {{localize "GURPS.attributesHT"}}.


Elin/merge main v0.13.0 hotfix into main v0.13.1

This change is

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (b9a2a55) 68.84% compared to head (3411353) 68.96%.
Report is 2 commits behind head on main-v0.13.1.

Files
Patch %
Lines

...lockifier/src/execution/syscalls/hint_processor.rs
0.00%
0 Missing and 1 partial :warning:

crates/blockifier/src/state/cached_state.rs
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@               Coverage Diff                @@
##           main-v0.13.1    #1476      +/-   ##
================================================
+ Coverage         68.84%   68.96%   +0.11%
================================================
  Files                59       59
  Lines              7987     8023      +36
  Branches           7987     8023      +36
================================================
+ Hits               5499     5533      +34
  Misses             2032     2032
- Partials            456      458       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


KAFKA-17836: Move RackAwareTest to server module

As titled, this pr move the RackAwareTest, AdminRackAwareTest to server-common, please check KAFKA-17836 for more details. thanks!
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Close the PR to solved conflict.


Replace mklint with djlint

This PR:

removes markuplint
removes the HTLM checker step
adds djlint to pre-commit
fixes the django templates to follow a clean code style; especially:

Endblocks should have a name
images should have names
cleans unneeded empty lines
fixes white spacing around variables

Fixes #4730

This is a huge improvement :)

@SchrodingersGat ready for merge; you will have to change the protection rules to remove the HTML check from the required checks as that no longer exists.

THanks for the improvements @matmair


BUG: special.lpmv(0,v,-1) returns incorrect value for non-integer v

Describe your issue.
For noninteger degree $\nu$, and x a little greater than -1,  the Legendre function $P_\nu(x) \approx \ln(1+x) \sin (\pi\nu) /(\pi\nu)$, so diverges logarithmically towards +inf or -inf depending on the sign of $\sin (\pi\nu) /(\pi\nu)$.
However, lpmv(0,v,-1) always returns -inf when nu is not an integer.  This is correct when $\nu$ lies between n and n+1 where n is an even integer, but if n is odd, the correct value is inf.
>>> from scipy.special import lpmv
>>>
>>> #  nu = 0.5
>>> # Pnu diverges logarithmically to -inf
>>> # lpmv correctly returns -inf at x=-1
>>> lpmv(0,0.5,-1+1e-6)
-4.227550066075849
>>> lpmv(0,0.5,-1+1e-7)
-4.960487422544608
>>> lpmv(0,0.5,-1+1e-8)
-5.693423220134877
>>> lpmv(0,0.5,-1+1e-9)
-6.426358852137592
>>> lpmv(0,0.5,-1+1e-10)
-7.1592944181770335
>>> lpmv(0,0.5,-1)
-inf
>>>
>>> #  nu = 1.5
>>> # Pnu diverges logarithmically to +inf
>>> # but lpmv still returns  +inf at x=-1
>>> lpmv(0,1.5,-1+1e-6)
3.8031303840169377
>>> lpmv(0,1.5,-1+1e-7)
4.536073480977607
>>> lpmv(0,1.5,-1+1e-8)
5.269009951563591
>>> lpmv(0,1.5,-1+1e-9)
6.001945660760512
>>> lpmv(0,1.5,-1+1e-10)
6.734881235508836
>>> lpmv(0,1.5,-1)
-inf
>>>

### Reproducing Code Example

```python
from scipy.special import lpmv

#  nu = 0.5
# Pnu diverges logarithmically to -inf as x--> -1 from above
# lpmv correctly returns -inf at x=-1
lpmv(0,0.5,-1+1e-6)
lpmv(0,0.5,-1+1e-7)
lpmv(0,0.5,-1+1e-8)
lpmv(0,0.5,-1+1e-9)
lpmv(0,0.5,-1+1e-10)
lpmv(0,0.5,-1)

#  nu = 1.5
# Pnu diverges logarithmically to +inf
# but lpmv still returns  +inf at x=-1
lpmv(0,1.5,-1+1e-6)
lpmv(0,1.5,-1+1e-7)
lpmv(0,1.5,-1+1e-8)
lpmv(0,1.5,-1+1e-9)
lpmv(0,1.5,-1+1e-10)
lpmv(0,1.5,-1)

Error message
-

SciPy/NumPy/Python version and system information
>>> import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info); scipy.show_config()
1.11.4 1.26.2 sys.version_info(major=3, minor=11, micro=6, releaselevel='final', serial=0)
/opt/homebrew/lib/python3.11/site-packages/scipy/__config__.py:146: UserWarning: Install `pyyaml` for better output
  warnings.warn("Install `pyyaml` for better output", stacklevel=1)
{
  "Compilers": {
    "c": {
      "name": "clang",
      "linker": "ld64",
      "version": "14.0.0",
      "commands": "cc"
    },
    "cython": {
      "name": "cython",
      "linker": "cython",
      "version": "0.29.36",
      "commands": "cython"
    },
    "c++": {
      "name": "clang",
      "linker": "ld64",
      "version": "14.0.0",
      "commands": "c++"
    },
    "fortran": {
      "name": "gcc",
      "linker": "ld64",
      "version": "12.1.0",
      "commands": "gfortran"
    },
    "pythran": {
      "version": "0.14.0",
      "include directory": "../../pip-build-env-xp5pbjk1/overlay/lib/python3.11/site-packages/pythran"
    }
  },
  "Machine Information": {
    "host": {
      "cpu": "aarch64",
      "family": "aarch64",
      "endian": "little",
      "system": "darwin"
    },
    "build": {
      "cpu": "aarch64",
      "family": "aarch64",
      "endian": "little",
      "system": "darwin"
    },
    "cross-compiled": true
  },
  "Build Dependencies": {
    "blas": {
      "name": "openblas",
      "found": true,
      "version": "0.3.21.dev",
      "detection method": "pkgconfig",
      "include directory": "/opt/arm64-builds/include",
      "lib directory": "/opt/arm64-builds/lib",
      "openblas configuration": "USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3",
      "pc file directory": "/opt/arm64-builds/lib/pkgconfig"
    },
    "lapack": {
      "name": "openblas",
      "found": true,
      "version": "0.3.21.dev",
      "detection method": "pkgconfig",
      "include directory": "/opt/arm64-builds/include",
      "lib directory": "/opt/arm64-builds/lib",
      "openblas configuration": "USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS= NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3",
      "pc file directory": "/opt/arm64-builds/lib/pkgconfig"
    },
    "pybind11": {
      "name": "pybind11",
      "version": "2.11.0",
      "detection method": "config-tool",
      "include directory": "unknown"
    }
  },
  "Python Information": {
    "path": "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-gft7gyfb/cp311-macosx_arm64/build/venv/bin/python",
    "version": "3.11"
  }
}
>>>

CC @izaid since you are looking into Legendre functions at the moment, would you have time to check out this issue?


[Windows] Fix signature for azure cli

Description
This PR updates signature for azure cli
Related issue:
https://github.com/actions/runner-images/issues/9133
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019,windows2022


TCF Monitor: Work Order Request

Adapt monitor to connect to TCF rather than Gardener. Specifically, monitor Work Order Request off TCF JSON API. In order to interact with this API, you will need to set up TCF locally following this tutorial - API should be deployed on port 1937. In order to figure out details on how to integrate with that API, refer to an example client .
Submit Work Order Request via monitor Call input . It should add an entry in the table, having following fields (refer to docs linked above) :
workerId, workorderID, workloadId, inData (by default encrypted with session key. So monitor can just display a message that data is encrypted). Monitor can add an option to show data in plain text if user provides encryption key (which is session key by default )

Refer to docs for an encryption example.
This is just a first iteration - while right now we just monitor a JSON API, in future we will monitor Ethereum Smart Contracts using Ethereum Events and Web3.js - similarly to how gardener-monitor works right now. Keep that in mind while designing a solution.

The JSON RPC http listener port is configurable and default value is 1947 https://github.com/hyperledger-labs/trusted-compute-framework/blob/master/config/tcs_config.toml#L35

Method to create a worker: https://entethalliance.github.io/trusted-computing/spec.html#sec-direct-worker-register-request