Add mask argument to lax.argmax

Feature request: Add a mask argument to jax.lax.argmax (and jax.lax.argmin) consisting of an array of booleans that indicate which elements to include in the computation.
Here is an example implementation:

Code
from functools import partial

import jax
from jax import lax, numpy as jnp

from .utils import min_value

def tree_select(pred, on_true, on_false):
    return jax.tree.map(partial(lax.select, pred), on_true, on_false)

def argmax(operand, axis, index_dtype, mask=None):

    if mask is None:
        return lax.argmax(operand, axis, index_dtype)

    indices = lax.broadcasted_iota(index_dtype, operand.shape, axis)

    def computation(a, b):
        a_value, a_index, a_valid = a
        b_value, b_index, b_valid = b

        pick_b = (b_valid > a_valid) | (
            (b_valid == a_valid) & (b_value > a_value)
        )

        return tree_select(pick_b, b, a)

    value, index, valid = lax.reduce(
        (operand, indices, mask),
        (min_value(operand.dtype), jnp.array(-1, index_dtype), False),
        computation,
        (axis,),
    )
    # print(value, index, valid)
    return index

def main():
    x = jnp.array([0.0, 1.0, 3.0, 3.0, 3.0, 4.0])
    mask = jnp.array([False, True, False, True, True, False])
    i = argmax(x, 0, int, mask=mask)
    assert i == 3

    x = jnp.array([0.0, 0.0])
    mask = jnp.array([False, True])
    i = argmax(x, 0, int, mask=mask)
    assert i == 1

    x = jnp.array(
        [
            [0.0, 2.0, 1.0, 1.0, 1.0, 3.0],
            [0.0, 4.0, 2.0, 1.0, 3.0, 5.0],
        ]
    )
    mask = jnp.array(
        [
            [False, False, False, True, True, False],
            [False, True, False, True, False, False],
        ]
    )
    i = argmax(x, 1, int, mask=mask)
    assert (i == jnp.array([3, 1])).all()

if __name__ == "__main__":
    main()

I can submit a PR for this.
Related, but for jax.numpy: https://github.com/jax-ml/jax/issues/20177.
A more general solution that could be re-used in the future for other operations would be to add a mask argument to jax.lax.reduce that controls which elements to include in the reduction. Example:

Code
def reduce(operands, init_values, computation, dimensions, mask):

    if mask is None:
        return lax.reduce(operands, init_values, computation, dimensions)

    def new_computation(a, b):
        a_value, a_valid = a
        b_value, b_valid = b
        return tree_select(
            b_valid,
            tree_select(
                a_valid,
                (computation(a_value, b_value), True),
                b,
            ),
            a,
        )

    value, valid = lax.reduce(
        (operands, mask),
        (init_values, False),
        new_computation,
        dimensions,
    )
    return value

Thanks for the request! I don't think lax is the right place to add implementations like this: it's a low-level module designed to be a bare-bones Python API around primitive operations that map to XLA ops. So for example, lax.argmax lowers directly to argmax_p:
>>> import jax
>>> argmax = partial(jax.lax.argmax, axis=0, index_dtype='int32')
>>> jax.make_jaxpr(argmax)(jax.numpy.arange(10))
{ lambda ; a:i32[10]. let
    b:i32[] = argmax[axes=(0,) index_dtype=int32] a
  in (b,) }

The functions you propose would lower to multiple primitives, so they're not really a great fit for jax.lax.
There's a couple ways we could move forward with an idea like this:

add mask to the argmax/argmin primitives. I wouldn't be in favor of this, because it would require those primitives to lower to a multi-part HLO program rather than to a single HLO reduce.
add the mask argument to the jax.numpy layer, as you proposed in #20177. Again this isn't obviously in-scope, because jax.numpy is an implementation of the numpy API, and NumPy does not include a mask or where argument in these functions. Still, this would probably be more feasible than adding it to jax.lax.
Create a convenience routine elsewhere in the package. I'm not entirely sure where that would be though.

What do you think?

@jakevdp If there's no place to add such a function, I guess we'll have to wait for where to be added to numpy.argmax:

https://github.com/numpy/numpy/issues/14371
https://github.com/numpy/numpy/issues/26336

It's a bit of a shame that we have to wait for numpy to add functionality.

We don't have to wait for NumPy, but a concern here is that we add some keyword argument to JAX, and in the future NumPy adds a conflicting keyword argument. Then it becomes a somewhat painful deprecation cycle in order to match upstream semantics. We went through this in the past year with the Array API, and I'd like to avoid that if possible.

That's a valid concern, I agree.
Is there a specific way to "petition" for the inclusion of a mask argument to argmax in the Array API?
To be honest, I'm not entirely clear on the orientation of design decisions for JAX, NumPy, and the Array API. NumPy is aiming to target the Array API. In the long term, is JAX aiming to target NumPy, or the Array API directly (which NumPy itself is aiming to target)?
My understanding is that the Array API is generated by an informal kind of "consensus" between popular libraries (such as NumPy, JAX, and PyTorch). Doesn't that make the whole thing kind of circular, if we're trying to make design decisions?

Historically, before the Array API existed, jax.numpy aimed to target the NumPy API. Once the Array API project was created, we made it a goal to also target the Array API. Because NumPy is targeting the array API, we can do both pretty cleanly in one namespace. In some cases we have moved jax.numpy toward the array API slight faster than numpy itself has been able to do.

I don't think there's anything circular here: if the Array API adds a function or argument to its spec, JAX will adopt it, as will NumPy. If NumPy adds a function or argument to its implementation, JAX will adopt it.
There is some influence back up: for example the Array API maintainers have historically been careful not to introduce things that will conflict with existing symbols, but that's not a hard requirement (for example, JAX historically had an array.device() method that we had to deprecate when the Array API chose to make device an attribute).

Thanks for the clarification. Do you know the answer to this question, by any chance?

Is there a way to directly "petition" for the inclusion of a mask argument to argmax in the Array API? (And also apparently max, for that matter.)

IMO, it makes logical sense that any operation involving reduction(s) should take an optional mask argument, indicating which elements participate in the reduction(s). This includes the following operations:

argmax
argmin
cumulative_sum
max
mean
min
prod
std
sum
var
all
any

The best way to propose this is probably to open an issue at https://github.com/data-apis/array-api proposing the change.

Done: https://github.com/data-apis/array-api/issues/875.


Remove remove_using_history

The last user is defectenhancementtask.py, but I think we can move that to the Bugzilla query itself (excluding bugs for which the type has ever been changed).
@calixteman agreed?

remove_using_history is also used here: https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/regression.py#L60
Will try to see if I can move it to Bugzilla query

@marco-c +1
n1: 1,
f1: "bug_type",
o1: "everchanged"
or something similar

@calixteman It's what I used here: https://github.com/Lothiraldan/relman-auto-nag/commit/dacf0b625285ffc876655de87df773bfae0cab4a, I'm guessing that the number, in n1, f1 and o1 is to group the filtering operation together, right?

yep, and n? is for negation


CTAD improvements in C++20

wg21.link/p1021

Yup, they're great. Closing. No action can be taken until this gets merged in.


Propagate codepage conversion errors

Instead of ignoring errors during codepage conversion in zcl_abapgit_convert=>string_to_xstring_utf8 and xstring_to_string_utf8, the errors are now passed on to the user.
The change also showed that zcl_abapgit_utils=>is_binary was not working properly. The method was adjusted accordingly.
Ref #5590

oh, this actually breaks a few repos, https://github.com/abapGit/abapGit/runs/7017209434

np. I will fix them

was probably one of the other PRs, but anyhow


Gradle usage example would be "nice to have".

Maven is by far leading Gradle in terms of usage ( https://gradle.org/maven-vs-gradle ), so it is understandable why Gradle usage is not addressed here (yet).
That said, Gradle is used w/i a significant number of projects, including some that I contribute to, so I have created such an example:
https://github.com/paegun/metrics-aspectj-gradle-example
Please feel free to link to the example or bring such an example under your control so it can more easily remain up-to-date w/ metrics-aspectj .

Thanks a lot for sharing this example.
I agree it'd be worth documenting Gradle integration within metrics-aspectj. What do you think about adding a Using Gradle section along with the existing Maven and Ant ones?

@astefanutti yes, having a Using Gradle section sounds great. I just didn't want to add such scope for this project, especially due to the relative usage of Maven versus Gradle.

Probably a Using Gradle section with a link to your project would be a good compromise to get started with. We can see how we can condense the information in a second step. If that works for you, that'd be great if you could create a PR, otherwise I'll do it ASAP.


[SPEC ONLY] Trade fee to be taken out of the margin account for trades reducing position...

... to allow an over-leveraged party to close out a position.
Make sure that we're not in a situation that parties can't close a position just because they can't afford fees.

Linked core PR adds test showing current core behaviour allows positions to be reduced when party has no funds to cover fees in their general.


Check that we have results before returning a value

Without this change, empty results yield a message like the following in
Facter output.
undefined method `[]' for nil:NilClass
This work captures the results and check to them to ensure we return
a valid value.

Cool!

Thanks!

More to come if you're open to it.

xD


Homework 8

Drift: https://video.drift.com/v/ab3ZMSAdNnbnTChAaeGnNt1t12OtWOUfa9yNdfAki3w/
Ouput:

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
5

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


fix(aot): lock the angular version to 2.2.1.

Can we release the lock and put back the caret version? Is it ready for angular 2.3.0?


Add exclude packages for azure-identity

Docs Build status updates of commit 6d0a6ea:
:clock10: Full build: the average full build time is 74 min(s) 33 sec(s), this is based on the last 435 build(s) for this repository.

Docs Build status updates of commit 6d0a6ea:
:clock10: Full build: the average full build time is 74 min(s) 33 sec(s), this is based on the last 435 build(s) for this repository.

Docs Build status updates of commit 6d0a6ea:
:clock10: Full build: the average full build time is 74 min(s) 33 sec(s), this is based on the last 435 build(s) for this repository.

Docs Build status updates of commit 6d0a6ea:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysCreateResponse.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysGetAccessControlResponse.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysDeleteResponse.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.EncryptionScope.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysRenameResponse.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysSetAccessControlResponse.yml
:x:Error

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.ListBlobsFlatSegmentResponse.yml
:x:Error

Details

:x:Error

Details

docs-ref-services/keyvault.md
:warning:Warning

Details

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.getcontenttype locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.getcontentlanguage locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.setcontentdisposition locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.setcontentencoding locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.directoryhttpheaders locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.setcachecontrol locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.getcachecontrol locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.setcontentlanguage locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.setcontenttype locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryHttpHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryhttpheaders.getcontentdisposition locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getlastmodified locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getclientrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setclientrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getdateproperty locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setlastmodified locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getversion locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getmarker locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.getcontentlength locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setetag locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.directoryrenameheaders locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setcontentlength locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setversion locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setmarker locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryRenameHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryrenameheaders.setdateproperty locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorygetaccesscontrolheaders locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorygetaccesscontrolheaders.setrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorygetaccesscontrolheaders.setlastmodified locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorygetaccesscontrolheaders.setxmsacl locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorygetaccesscontrolheaders.setxmsowner locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectoryGetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorygetaccesscontrolheaders.setxmspermissions locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.directorysetaccesscontrolheaders locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.getrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.getversion locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.getlastmodified locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.setrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.getdateproperty locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.getetag locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.setversion locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.setclientrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.setdateproperty locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.getclientrequestid locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.setlastmodified locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders.setetag locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorySetAccessControlHeaders.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysetaccesscontrolheaders locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysCreateResponse.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysCreateResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryscreateresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysCreateResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryscreateresponse.directoryscreateresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysGetAccessControlResponse.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysGetAccessControlResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysgetaccesscontrolresponse.directorysgetaccesscontrolresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysGetAccessControlResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysgetaccesscontrolresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysDeleteResponse.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysDeleteResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysdeleteresponse.directorysdeleteresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysDeleteResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysdeleteresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.EncryptionScope.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.EncryptionScope.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.encryptionscope.setencryptionscope locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.EncryptionScope.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.encryptionscope locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.EncryptionScope.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.encryptionscope.getencryptionscope locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.EncryptionScope.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.encryptionscope.encryptionscope locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysRenameResponse.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysRenameResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysrenameresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysRenameResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directorysrenameresponse.directorysrenameresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysSetAccessControlResponse.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysSetAccessControlResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryssetaccesscontrolresponse.directoryssetaccesscontrolresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.DirectorysSetAccessControlResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.directoryssetaccesscontrolresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

docs-ref-autogen/com.azure.storage.blob.implementation.models.ListBlobsFlatSegmentResponse.yml

[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.ListBlobsFlatSegmentResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.listblobsflatsegmentresponse.listblobsflatsegmentresponse locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.ListBlobsFlatSegmentResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.listblobsflatsegmentresponse.getmarker locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.
[Error] Publishing of document 'docs-ref-autogen/com.azure.storage.blob.implementation.models.ListBlobsFlatSegmentResponse.yml' to document hosting service failed with asset id: api/com.azure.storage.blob.implementation.models.listblobsflatsegmentresponse.getcontainername locale: en-us, depot name: Azure.AzureJava, branch name: pr-en-us-995. Error: A task was canceled.

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in https://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/overview/KeyVault.yml, docs-ref-services/keyvault.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/overview/KeyVault.yml, docs-ref-services/keyvault.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.model.implementation.md, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.model.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.model.implementation.md, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.model.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.monitor.md, docs-ref-autogen/com.microsoft.azure.management.monitor.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.monitor.md, docs-ref-autogen/com.microsoft.azure.management.monitor.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.yml, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.yml, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.md, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.md, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.implementation.md, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.implementation.md, docs-ref-autogen/com.microsoft.azure.management.resources.fluentcore.arm.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.cdn.implementation.yml, docs-ref-autogen/com.microsoft.azure.management.cdn.implementation.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-autogen/com.microsoft.azure.management.cdn.implementation.yml, docs-ref-autogen/com.microsoft.azure.management.cdn.implementation.md".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-services/storage.md, preview/docs-ref-autogen/overview/Storage.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-services/storage.md, preview/docs-ref-autogen/overview/Storage.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-services/keyvault.md, preview/docs-ref-autogen/overview/KeyVault.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-services/keyvault.md, preview/docs-ref-autogen/overview/KeyVault.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-services/hdinsight.md, preview/docs-ref-autogen/overview/HDInsight.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "docs-ref-services/hdinsight.md, preview/docs-ref-autogen/overview/HDInsight.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.md, legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.md, legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.md, legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.md, legacy/docs-ref-autogen/com.microsoft.azure.management.monitor.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "legacy/docs-ref-autogen/com.microsoft.azure.management.batch.implementation.md, legacy/docs-ref-autogen/com.microsoft.azure.management.batch.implementation.yml".
[Warning] Multiple input files would generate to the same output path overwriting each other. Please rename at least 1 of following input files to ensure that there will be only one file to generate to the output path: "legacy/docs-ref-autogen/com.microsoft.azure.management.batch.implementation.md, legacy/docs-ref-autogen/com.microsoft.azure.management.batch.implementation.yml".

docs-ref-services/keyvault.md

[Warning] Uid(azure.java.sdk.landingpage.services.keyvault) has already been defined in docs-ref-services/keyvault.md.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


✨ Better representation for Lattice instances

Codecov Report
Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 93.29%. Comparing base (9a0078a) to head (8775732).

Files
Patch %
Lines

simulab/simulation/core/lattice.py
20.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   93.60%   93.29%   -0.32%
==========================================
  Files          25       25
  Lines        1173     1178       +5
==========================================
+ Hits         1098     1099       +1
- Misses         75       79       +4

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


Error with auth user creation

I am trying to use auth.createUserWithEmailAndPassword() in my common code and everything seems fine, but when I call the method I get this error:
Exception in thread "DefaultDispatcher-worker-1" kotlin.NotImplementedError: An operation is not implemented.
	at com.google.firebase.auth.FirebaseAuth.createUserWithEmailAndPassword(FirebaseAuth.kt:429)
	at dev.gitlive.firebase.auth.FirebaseAuth.createUserWithEmailAndPassword(auth.kt:58)
	at ui.screens.settings.SettingsViewModel$onDialogRegisterClick$1.invokeSuspend(SettingsViewModel.kt:131)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@108d9c4b, Dispatchers.Default]

I am targeting Android and JVM. I hoped sign in and user creation would be implemented, is it not the case?

@kuromiichi sounds like a small typo could be the reason for this. I've made a small example of using Firebase Auth via GitLive's Firebase SDK with iOS and Android. You could use this as a starter template or just to compare notes. Does it help to solve your problem?
https://github.com/murfel/kmp-ios-android-firebase-auth


QuickFixLine highlighting does not start from the beginning of a quickfix line

Describe the bug
In a quickfix window, the QuickFixLine highlighting starts from the end of the text, instead of the beginning of the line.
To Reproduce
Run this shell command:
$ printf 'a\nb\nc' >/tmp/file && vim -Nu NONE --cmd 'syntax on' +'sil vim /./ % | copen' /tmp/file

The QuickFixLine highlighting starts after the text a.
Expected behavior
The QuickFixLine highlighting starts from the beginning of the line, which here displays /tmp/file|1 col 1|.
Screenshots

Environment

Vim version: 8.1  Included patches: 1-2032
OS: Ubuntu 16.04.6 LTS
Terminal: st

Additional context
In the past, QuickFixLine highlighted the whole current quickfix line.
I don't know whether the change is intended, but I bisected it to 017ba07fa2cdc578245618717229444fd50c470d.

Closing the issue since it has been fixed by e00fdf35d069de4effe07125333bb9ff35b1915d.


issue when array item is Multi-line basic strings!

>>> s = """
... list = [
... '''
... hello
... world
... '''
... ]
... str = '''
... hello
... world
... '''"""
>>> s
"\nlist = [\n'''\nhello\nworld\n'''\n]\nstr = '''\nhello\nworld\n'''"
>>> import toml
>>> d = toml.loads(s)
>>> d
{'list': ['h'], 'str': 'hello\nworld\n'}

This fix would be really useful on pypi.
Are there any plans for a release?


Add the ability to change the styles of a label

Is your feature request related to a problem? Please describe.
@tmdoit (a community member on latest.cortezaproject.org) wants to highlight mandatory fields.
Describe the solution you'd like
It would be nice to be able to set a style to the label, like what we have with automation buttons (primary, secondary, warning,...).

We added a required field indicator and we improved error messages on the form if the required field is empty for better user experience. In version 2020.3.


[WIP] DirectX bindings

Summary of the PR
Adds bindings to various DirectX/Windows APIs.

[ ] Direct2D 1
[x] DXC and D3DCompiler
[x] Direct3D 9
[x] Direct3D 11
[x] Direct3D 12
[x] DXGI
[ ] XAudio
[ ] XInput

[ ] guids
[ ] XXXX on 12

remove pinning in interface methods, replace with unsafe.aspointer
parse _In_ and friends


Management db global connection (db.py)

New Blueprint created: management.py to handle management views
A new file created: db.py to handle global usage of the database
A file simplified: app.py

This configuration will be switched to the sqlite3 module version


Whoops, looks like something went wrong.

Downloaded the zip file and did a composer install. When i ran it. It shows Whoops, looks like something went wrong.

You should use composer create-project, otherwise check what scripts are defined in the composer.json and execute them manually.

I am new to programming. I have this doubt  If you see , in the signup method of the AuthCOntroller(app/Api/V1/Controllers/AuthController.php)
public function signup(Request $request)
{
$signupFields = Config::get('boilerplate.signup_fields');
$hasToReleaseToken = Config::get('boilerplate.signup_token_release');
I want to know what is this line of code means
$signupFields = Config::get('boilerplate.signup_fields');
$hasToReleaseToken = Config::get('boilerplate.signup_token_release');
I went through the file boilerplate.php inside the config. But i am not able to find anything called signup_fields.
Am i looking in the wrong place ? Please make me understand this

You're using an old version of the package, use the 5.3 instead.
Also, if you're new to programming probably this is not the best place to start :) This boilerplate make some things easier to do, but you should understand them first in a better way.
Closing this.


Align zksync testnet name

Fixes https://github.com/graphprotocol/graph-tooling/issues/1367

Hey, thank you for fixing this.
Please also change the name listed in the page: https://thegraph.com/docs/en/developing/supported-networks. zksync2-testnet should be changed to zkSync2-testnet.

Switching approach to reflect the name as in graph-cli


Command "python setup.py egg_info" failed

cd /tmp
git clone https://github.com/vBaiCai/vc_tacotron.git
cd vc_tacotron
pipenv --python=3.7.2
pipenv install -r requirements.txt

 Command "python setup.py egg_info" failed with error code 1

[/t/vc_tacotron]$ pipenv --version
pipenv, version 2018.11.26

You might need some dependencies such as c++ compiler for packages in https://github.com/vBaiCai/vc_tacotron/blob/master/requirements.txt.


Embark Addon can crash Blender after auto-updating

Describe the bug
After running the "auto-update" option when a new version is released, Blender may crash after the addon has been updated.
To Reproduce
Steps to reproduce the behavior:

Install an older release of the Embark Addon (e.g. 1.6.0)
Click on Embark -> Check for Updates...
Click Update when prompted that a newer version is available
Blender may crash after the notification is dismissed

Expected behavior
Blender does not crash, and the Addon is updated and reloaded.
Device:

OS: Windows 10
Blender Version: 2.82

Any updates on this? Would be nice to have the update without crash.


Upgrade path

I just upgraded from 1.9.5 to the latest version and I noticed the certificates are no longer named after the first domain certified, but instead some ID+GUID combination. Do I now go through the settings and map the certificates in my Apache configuration? And secondly, do the filenames stay the same?
I don't know if I missed something in the documentation, but this was a surprising behavior change.

The files in the certificatepath are for internal cache only and may change or be renamed at any time.
Here is the documentation page on Apache on how to get the .pem and .key files you need: https://www.win-acme.com/manual/advanced-use/examples/apache


Permission updation and a validation check for the lunch-pass student

Added the enhancement.
Notes used for adding the feature:

Added two new attributes nextUseStatus, a boolean value and scannedAt, timestamp - to store the first scan timestamp (i.e., scan before going to lunch) and verify for next scan.
Phase-1: at checking
When student with the lunch pass

Came before lunch -- if nextUseStatus == true allow..
Came after lunch -  nextUseStatus will be false, so check with the scan time, if its on same day use scannedAt attribute.
Came before lunch, but previously, didn't came after lunch. This time nextUseStatus will be false and scannedAt timestamp will be older. So, there will be day(s) difference in  today's timestamp and earlier timestamp. So deny the permission.

Phase-2: at updation

if nextUseStatus == true, make it false and update the scannedAt with the current scan timestamp.
if nextUseStatus == false, find the difference (between current time and scannedAt), if 0, then make it true.

If any student got mis-used lunch pass, then they have to contact the admin to update or consult teacher for re-issue of the permission -- this still need discussion, whether can be updated or not (From Shiva's side).

Need to change the variable name from nextUseStatus to permissionStatus.

Change done..!!


Add unit tests

Very little of toolshed is unit tested and this is not ideal for long term maintenance. Since many of the tools just wrap functions that can be presumed tested, I don't think that it's necessary to test the functionality deeply. Perhaps only test that the helper exists and passing an argument basically works.
It would be good to write tests for one or two helpers first to how this looks and how valuable it is.

I think it is worth it to minimally test at least one happy path for each function. Also that effort might reveal some room for improvement. I'll write some minimal tests.

Closing since basic unit tests for many functions are in place now and we can improve in future PRs.


GCS cleaning

After enabling uploading of Travis artifacts,  GCS requires periodical cleaning.

Done in #469.


Parse: Fix dictionary with generic key type in expression context [4.0]

Description: Fixes a case where a dictionary type was not parsed correctly in expression context. We fixed some issues with this in 4.0, but this was a case we missed.

Origination: Probably has been there forever.

Tested: New test added.

Reviewed by: @DougGregor

Risk: Very low, ':' is already not a valid operator so we should not be rejecting anything that was previously valid.

Radar: rdar://problem/33506631

@swift-ci Please test

@swift-ci Please test source compatibility

Wait, what about the ternary operator?

…I forgot we banned postfix > as a custom operator, and can't come up with another case that might be problematic. (Fortunately, : is not a valid operator character.) Objection withdrawn.


Use profile based on assume

Hello,
I have in ~/.aws/config
[profile qqq]
region = eu-west-1
output = json
[profile env_prd]
source_profile = qqq
role_arn = ...
But cloudlens doesn't find profile env_prd - any way to make it work? Or any suggestions?
aws-cli works.

+1 otherwise i cant use this awesome app

Thanks for the details, working on fixing this issue. We are revamping how we read and handle AWS config and secrets. The current method is hand crafted, buggy and very specific. Finding out a better way to read and handle AWS config so that it can support multiple use cases (SSO, JSON config, etc)

I have another use case. We are using aws-vault for managing AWS profiles that set up variables instead of using auth and credentials files. As a workaround, I've. changed the GetSession() function to use session.NewSession() in case variables are setup, and other functions according to this. But glad to see another better solution is on its way! Thank you for the amazing tool!  🙏🏻

Configuration via SSO has been done, and will be enabled in our next release.

Support for SSO has been enabled in our latest release v0.1.2


Publish extension to codium marketplace (open VSX)

Please! Can't live without this extension xD Can you publish it to the codium marketplace?
https://open-vsx.org/
https://github.com/eclipse/openvsx/wiki/Publishing-Extensions

Hi! I'm glad you like the extension!
I have taken a look at publishing it elsewhere, but it might take me some time, it looks like I need to update sections of the extension before I can do that.
I'll update here when I figure something out :)

Hi :)
So I've done .. something. I'm waiting on Eclipse to verify my namespace or something?
https://open-vsx.org/extension/baobaozi/sort-selection-concentrically
I'm not entirely sure if it's available to use or it needs to wait for the verification. But let me know if you are able to install it already.
HTH!

Hi :)
So I've done .. something. I'm waiting on Eclipse to verify my namespace or something?
https://open-vsx.org/extension/baobaozi/sort-selection-concentrically
I'm not entirely sure if it's available to use or it needs to wait for the verification. But let me know if you are able to install it already.
HTH!

it works! I'm able to install it and works fine. Thanks so much!


refactor: network topology package in scheduler

Description

Refactor network topology package in scheduler.

Related Issue

Motivation and Context

Screenshots (if appropriate)
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)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

lint

lint

Fix


climc: update k8s resource cmd

这个 PR 实现什么功能/修复什么问题:

是否需要 backport 到之前的 release 分支:

/area climc
/cc @wanyaoqi
NONE

Codecov Report

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

@@            Coverage Diff             @@
##           master    #6450      +/-   ##
==========================================
- Coverage    7.04%    7.04%   -0.01%
==========================================
  Files         647      647
  Lines      110911   110911
==========================================
- Hits         7815     7813       -2
- Misses     102495   102496       +1
- Partials      601      602       +1

Flag
Coverage Δ

#aFlag
7.04% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/appsrv/response.go
67.64% <0.00%> (-2.95%)
:arrow_down:

pkg/cloudcommon/validators/validators_cert.go
39.77% <0.00%> (ø)

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 10f9188...70fb6be. Read the comment docs.


Report Not Spport Localization

Robotframe's report does not support localization at present

Hi, thank you for submitting this issue. supporting localized reports is currently not within scope, but may be in the future.
As this would be robotframework core related, I'm closing this issue here.


Add publish/release workflow

Potential workflow to use here:

build
publish

The publish workflow is specific to minecraft mods and will be useful to use when publishing to curseforge in the future.

Should maybe also setup the workflow for continuous integration too.


yarn v3 breaks install

The current install steps say yarn set version berry however that installs yarn 3.0 now.  And yarn 3.0 removed bstatePath
Worse, there doesn't seem to be an ability to install a recent yarn 2.x
% yarn --version
3.0.0

% yarn
➤ YN0000: ┌ Resolution step
➤ YN0013: │ Slackdown@https://github.com/Half-Shot/slackdown.git#commit=efd8934a3d9c3bf0064c0b217c5cf6b62ee697e4 can't be found in the cache and will be fetched from GitHub
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142
➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported
➤ YN0000: └ Completed in 3s 171ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ yargs@npm:16.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:17.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yn@npm:3.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ typescript@npm:4.3.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 21s 383ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 424ms
➤ YN0001: Error: Invalid configuration key "bstatePath"
    at co.get (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:294:27366)
    at /home/shammas/tmp/matrix-appservice-slack/.yarn/plugins/yarn-plugin-nixify.cjs:1:9979
    at async afterAllInstalled (/home/shammas/tmp/matrix-appservice-slack/.yarn/plugins/yarn-plugin-nixify.cjs:1:8392)
    at async co.triggerHook (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:295:2989)
    at async Fe.install (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:306:4639)
    at async /home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:348:14731
    at async Function.start (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:275:2287)
    at async Dp.execute (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:348:14631)
    at async Dp.validateAndExecute (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:197:620)
    at async ts.run (/home/shammas/tmp/matrix-appservice-slack/.yarn/releases/yarn-berry.cjs:211:1846)
➤ YN0000: Failed with errors in 25s 50ms

The fix seems to be
% yarn set version '~2'

I got around to making the Yarn 3 changes, and it's on a separate branch. You can try this out with:
yarn plugin import https://raw.githubusercontent.com/stephank/yarn-plugin-nixify/feat/yarn3/dist/yarn-plugin-nixify.js

Would like to know if it works for you! 🙂


Change eps added to histogram to mean(eff)

This is related to #152 , where we found add eps to the histogram ruins the fitting, because of the added eps=1, which could be significantly larger than efficiency when efficiency is very low. In this PR the eps is changed to mean(eff) to avoid such a problem.

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

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 84.48%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.3%

Covered Lines:
2357

Relevant Lines:
2790

💛  - Coveralls


Any plans to make new release?

I think that it would be good to flush currently committed changes and make new release :)

Done https://pypi.org/project/constantly/23.10.4/


Missing attribute vim in neo module

Mac OS 10.11.6
Sublime Text Build 3126
NVIM 0.1.7
actualvim dff9500.

Console dump:

reloading settings Packages/User/ActualVim.sublime-settings
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 389, in run_callback
expr()
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 410, in
run_callback(name, vel, lambda: vel.class.dictname)
File "/Users/j/Library/Application Support/Sublime Text 3/Packages/actualvim/actual.py", line 60, in on_activated
self.v.activate()
File "/Users/j/Library/Application Support/Sublime Text 3/Packages/actualvim/view.py", line 176, in activate
neo.vim.force_ready()
AttributeError: 'module' object has no attribute 'vim'

Can you restart Sublime Text and make sure there aren't any other errors in the log?

 Do you have a neovim rc file?
I've only tested with neovim HEAD (0.20) and 0.16 from homebrew with no vimrc.
If you can do a screen share or at least chat of some kind I can help debug this.

Could be a swapfile dialog (or any other dialog, e.g. a vimrc error). I'll look into that after the API change we discussed.

I set noswapfiles (and handle loading/saving through sublime right now), and this is happening on first startup. I didn't think about vimrc and related dialogs. I track the screen state so I can maybe detect this kind of thing heuristically for now and show in an output panel (and also print vim screen state to console if vim ever times out).

It works after removing init.vim file. I had a link to vim.rc with bunch of plugins and some were complaining at startup, which probably caused the issue.
Btw. I managed to break it again by pressing ZQ - I habitually close files this way in gVim ;)
Anyway, thanks for the help. Much appreciated.

I'm not sure what to do about quitting neovim. At least I can relaunch it and tell you not to do that as it clears your undo buffer. You also can't save from the vim side yet. It's on my todo.


move GraphLaplacians.jl here?

It seems there is little use for
https://github.com/yuehhua/GraphLaplacians.jl
as a standalone package, the few utilities it contains could be distributed here and in LigthGraphs.jl to simplify maintainance.

Sure. However, I am not sure that LightGraphs.jl is willing to maintain some functionality about Laplacian and maybe their gradients.

I don't think the deal with diff rules, maybe better to move it entirely here than

Actually, they have NO diff rules. However, sometimes AD is going to differentiate the conversion of an adjacency matrix into a Laplacian matrix. I don't know why. So, I decide to add @nograd to them to force not differentiate the conversions.

Currently, I consider to move GraphLaplacians.jl to LigthGraphs.jl and SimpleWeightedGraphs.jl.


Display channel close fee in history

Description
So far only the channel open fee is shown in the transaction history.
When a channel is closed that you have opened, you will pay a fee for the closing transaction.
This should be displayed as well.

I was able to link Force close transaction to the respective channels.
But the problem is that LND right now always returns a fee value of 0, which means we do not have access to the data we need.

Here is the issue to track for this feature:
https://github.com/lightningnetwork/lnd/issues/7630


fix: fix pad for numeric input, allow commas

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Expose our custom fatalError from Utils

Although I personally don't mind fatalError reporting #file rather #filePath, I understand it may be useful for others' setup. However, it is bothering me that FullPathInFatalErrors.swift is being copied in every target. I'd rather use a qualified Utils.fatalError and have a single definition of these functions in the code base.

Similar to this issue, I guess there would be a concern about how to make sure the correct functions get used. This particular case is different from #643 in that no explicit import is needed because the functions are available in the Swift library. This would make it a bit more tricky to make sure the correct function is used with a fully qualified name.
What do you think of the following idea. We put the new functions in a struct, which would enforce a fully qualified naming for the static functions we place in there.
Note: I'm not sure what a good name for this struct would be, so I've just called it Diag for now.
e.g.
public struct Diag {
  /// Just like Swift.precondition, but includes the full file path in the diagnostic.
  public static func precondition(
    _ condition: @autoclosure () -> Bool,
    _ message: @autoclosure () -> String = String(),
    file: StaticString = #filePath,
    line: UInt = #line
  ) {
    Swift.precondition(condition(), message(), file: (file), line: line)
  }
}

This would be called as Diag.precondition after importing Utils.
Then we could create a simple CI check in GitHub Actions to grep usages of precondition that aren't prefixed with Diag, and make sure none have been added outside of the Diag.swift file in Utils.
grep -rP '(?<!Diag\.)precondition' Sources

It should be symlinked

I actually like @peter-evans's quite a lot. It bothers me that we have these extra FullPathInFatalErrors.swift in all targets and the symlinks only feel like a marginal improvement. I don't think we should make it a habit to monkey-patch Swift's standard library even if we don't agree with its choices.
To just spitball, it would also be lovely if this patching could be an opt-in. The experience is actually worse on Xcode because the failure is reported with a deeper call stack. Xcode is actually pretty code at pointing you at the exact source of an error when you call precondition or fatalError directly.

it would also be lovely if this patching could be an opt-in

If this is just to support the setups of some developers, how about this idea.

Remove FullPathInFatalErrors.swift at the root of modules and, by default, the codebase uses the Swift.x functions with #file.
Add a script under Tools that adds FullPathInFatalErrors.swift with functions using #filePath at the root of modules, and add FullPathInFatalErrors.swift to .gitignore so that they aren't committed.

Now it can be opt-in. If you want the file path output, then just run the script to setup your local environment.

by default, the codebase uses the Swift.x functions with #file.

You mean by default the code base calls fatalError, preconditionFailure, etc. without qualification, right? If we write Swift.fatalError I believe we'll always get the Swift version of the function, no matter what file is in scope.

a script under Tools that adds FullPathInFatalErrors.swift

Or that creates the suggested symlinks.
I would accept such changes.

You mean by default the code base calls fatalError, preconditionFailure, etc. without qualification, right?

Yes, that's what I mean. If we remove FullPathInFatalErrors.swift at the root of modules, all the existing references just point to the Swift. versions of the functions.

Or that creates the suggested symlinks.

Yes, that could also work. Although I'm not exactly sure how .gitignore handles symlinks. Would need to test that.

Although I'm not exactly sure how .gitignore handles symlinks. Would need to test that.

Symlinks just work and are already in use.  Why would .gitignore get involved?  We don't want to git ignore any of those files.


Add apple.com

There's a lot of stuff on the main Apple site that isn't directly related to shopping, so this will probably have to wait until there's a version of the list with more advanced filtering (e.g. only apple.com/us/shop/*).


update changelog and bump version to 6.1.0

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1084 opened

Reason: Aborted from #2

Start Time: 2021-03-31T09:16:28.288+0000

Duration: 5 min 45 sec

Commit: b8ee7c6a089d2a09f97a67d1bac23277e677141f

Trends :test_tube:

Steps errors
Expand to view the steps failures

Show only the first 10 steps failures

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-mysqlclient-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-pymemcache-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-graphene-2

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-httpx-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-httplib2-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-prometheus_client-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-3.6-none

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-3.7-none

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-3.8-none

Shell Script

Took 0 min 0 sec . View more details on here
Description: python3 -m coverage combine && python3 -m coverage xml

Log output
Expand to view the last 100 lines of log output

[2021-03-31T09:20:55.933Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-django-3.1’
[2021-03-31T09:20:56.161Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-django-3.2’
[2021-03-31T09:20:56.455Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-flask-0.12’
[2021-03-31T09:20:56.654Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-flask-1.1’
[2021-03-31T09:20:56.844Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-opentracing-newest’
[2021-03-31T09:20:57.035Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-twisted-18’
[2021-03-31T09:20:57.218Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-celery-4-flask-1.0’
[2021-03-31T09:20:57.400Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-requests-newest’
[2021-03-31T09:20:57.584Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-pymongo-newest’
[2021-03-31T09:20:57.771Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-redis-newest’
[2021-03-31T09:20:57.966Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-psycopg2-newest’
[2021-03-31T09:20:58.143Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-pyodbc-newest’
[2021-03-31T09:20:58.361Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-memcached-newest’
[2021-03-31T09:20:58.616Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-pylibmc-newest’
[2021-03-31T09:20:58.815Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-elasticsearch-2’
[2021-03-31T09:20:58.997Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-elasticsearch-6’
[2021-03-31T09:20:59.321Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-elasticsearch-7’
[2021-03-31T09:20:59.554Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-cassandra-newest’
[2021-03-31T09:20:59.738Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-psutil-newest’
[2021-03-31T09:20:59.960Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-mysql_connector-newest’
[2021-03-31T09:21:00.277Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-pymysql-newest’
[2021-03-31T09:21:00.481Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-mysqlclient-newest’
[2021-03-31T09:21:00.669Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-aiohttp-newest’
[2021-03-31T09:21:00.852Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-aiopg-newest’
[2021-03-31T09:21:01.117Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-tornado-newest’
[2021-03-31T09:21:01.348Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-starlette-newest’
[2021-03-31T09:21:01.549Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-pymemcache-newest’
[2021-03-31T09:21:01.762Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-httpx-newest’
[2021-03-31T09:21:01.956Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-httplib2-newest’
[2021-03-31T09:21:02.155Z] ERROR: No such saved stash ‘coverage-python-3.10-rc-prometheus_client-newest’
[2021-03-31T09:21:02.360Z] ERROR: No such saved stash ‘coverage-pypy-3-none’
[2021-03-31T09:21:02.603Z] ERROR: No such saved stash ‘coverage-pypy-3-django-1.11’
[2021-03-31T09:21:02.829Z] ERROR: No such saved stash ‘coverage-pypy-3-django-2.0’
[2021-03-31T09:21:03.010Z] ERROR: No such saved stash ‘coverage-pypy-3-django-3.1’
[2021-03-31T09:21:03.197Z] ERROR: No such saved stash ‘coverage-pypy-3-django-3.2’
[2021-03-31T09:21:03.382Z] ERROR: No such saved stash ‘coverage-pypy-3-flask-0.12’
[2021-03-31T09:21:03.580Z] ERROR: No such saved stash ‘coverage-pypy-3-flask-1.1’
[2021-03-31T09:21:03.782Z] ERROR: No such saved stash ‘coverage-pypy-3-opentracing-newest’
[2021-03-31T09:21:03.974Z] ERROR: No such saved stash ‘coverage-pypy-3-twisted-18’
[2021-03-31T09:21:04.188Z] ERROR: No such saved stash ‘coverage-pypy-3-celery-3-flask-1.0’
[2021-03-31T09:21:04.415Z] ERROR: No such saved stash ‘coverage-pypy-3-celery-3-django-2.0’
[2021-03-31T09:21:04.603Z] ERROR: No such saved stash ‘coverage-pypy-3-celery-4-flask-1.0’
[2021-03-31T09:21:04.811Z] ERROR: No such saved stash ‘coverage-pypy-3-celery-4-django-2.0’
[2021-03-31T09:21:05.007Z] ERROR: No such saved stash ‘coverage-pypy-3-requests-newest’
[2021-03-31T09:21:05.200Z] ERROR: No such saved stash ‘coverage-pypy-3-boto3-newest’
[2021-03-31T09:21:05.414Z] ERROR: No such saved stash ‘coverage-pypy-3-pymongo-newest’
[2021-03-31T09:21:05.639Z] ERROR: No such saved stash ‘coverage-pypy-3-redis-newest’
[2021-03-31T09:21:05.817Z] ERROR: No such saved stash ‘coverage-pypy-3-psycopg2-newest’
[2021-03-31T09:21:06.036Z] ERROR: No such saved stash ‘coverage-pypy-3-memcached-newest’
[2021-03-31T09:21:06.221Z] ERROR: No such saved stash ‘coverage-pypy-3-pylibmc-newest’
[2021-03-31T09:21:06.412Z] ERROR: No such saved stash ‘coverage-pypy-3-elasticsearch-2’
[2021-03-31T09:21:06.631Z] ERROR: No such saved stash ‘coverage-pypy-3-elasticsearch-6’
[2021-03-31T09:21:06.849Z] ERROR: No such saved stash ‘coverage-pypy-3-elasticsearch-7’
[2021-03-31T09:21:07.037Z] ERROR: No such saved stash ‘coverage-pypy-3-cassandra-newest’
[2021-03-31T09:21:07.228Z] ERROR: No such saved stash ‘coverage-pypy-3-psutil-newest’
[2021-03-31T09:21:07.409Z] ERROR: No such saved stash ‘coverage-pypy-3-gevent-newest’
[2021-03-31T09:21:07.624Z] ERROR: No such saved stash ‘coverage-pypy-3-mysql_connector-newest’
[2021-03-31T09:21:07.804Z] ERROR: No such saved stash ‘coverage-pypy-3-pymysql-newest’
[2021-03-31T09:21:07.990Z] ERROR: No such saved stash ‘coverage-pypy-3-mysqlclient-newest’
[2021-03-31T09:21:08.175Z] ERROR: No such saved stash ‘coverage-pypy-3-pymemcache-newest’
[2021-03-31T09:21:08.390Z] ERROR: No such saved stash ‘coverage-pypy-3-graphene-2’
[2021-03-31T09:21:08.625Z] ERROR: No such saved stash ‘coverage-pypy-3-httpx-newest’
[2021-03-31T09:21:08.826Z] ERROR: No such saved stash ‘coverage-pypy-3-httplib2-newest’
[2021-03-31T09:21:09.022Z] ERROR: No such saved stash ‘coverage-pypy-3-prometheus_client-newest’
[2021-03-31T09:21:09.258Z] ERROR: No such saved stash ‘coverage-3.6-none’
[2021-03-31T09:21:09.452Z] ERROR: No such saved stash ‘coverage-3.7-none’
[2021-03-31T09:21:09.653Z] ERROR: No such saved stash ‘coverage-3.8-none’
[2021-03-31T09:21:10.057Z] + python3 -m coverage combine
[2021-03-31T09:21:10.059Z] No data to combine
[2021-03-31T09:21:10.175Z] Error when executing always post condition:
[2021-03-31T09:21:10.177Z] hudson.AbortException: script returned exit code 1
[2021-03-31T09:21:10.177Z] 	at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659)
[2021-03-31T09:21:10.177Z] 	at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605)
[2021-03-31T09:21:10.177Z] 	at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549)
[2021-03-31T09:21:10.177Z] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[2021-03-31T09:21:10.177Z] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[2021-03-31T09:21:10.177Z] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[2021-03-31T09:21:10.177Z] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[2021-03-31T09:21:10.177Z] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[2021-03-31T09:21:10.177Z] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[2021-03-31T09:21:10.177Z] 	at java.lang.Thread.run(Thread.java:748)
[2021-03-31T09:21:10.177Z]
[2021-03-31T09:21:10.349Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-03-31T09:21:10.482Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-03-31T09:21:10.603Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-03-31T09:21:10.911Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-03-31T09:21:10.979Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-03-31T09:21:11.115Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-03-31T09:21:11.272Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-03-31T09:21:11.900Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1084
[2021-03-31T09:21:12.070Z] [INFO] getVaultSecret: Getting secrets
[2021-03-31T09:21:12.319Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-31T09:21:13.358Z] + chmod 755 generate-build-data.sh
[2021-03-31T09:21:13.358Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1084/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1084/runs/1 ABORTED 284776
[2021-03-31T09:21:13.911Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1084/runs/1/steps/?limit=10000 -o steps-info.json
[2021-03-31T09:21:14.462Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1084/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-03-31T09:21:14.462Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-03-31T09:21:15.806Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2021-03-31T09:21:17.668Z] Retry 3/3 exited 22, no more retries left.
[2021-03-31T09:21:17.668Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1084/runs/1/log/ -o pipeline-log.txt


Authentication without safari?

Current version of Swifter only support authentication twitter over safari? I check example and see that. Maybe add this feature to easy custom login multi acc Twitter. With login over safari, it store cookie and can't login 2 account.

Hi @ht22pt ,
beside the authentication that you see in the examples, you can also "borrow" the Twitter accounts that the user has logged in iOS (the ones that you find in your iPhone Settings/Twitter).
This way you get multiple accounts management for free :)
Please remember that, by using this solution, you have to ask for authorization to access to those accounts (something that Apple lets you do only once), you might do so by writing something like:
let accountStore = ACAccountStore()
let accountType = accountStore.accountTypeWithAccountTypeIdentifier(ACAccountTypeIdentifierTwitter)

// Prompt the user for permission to their twitter account stored in the phone's settings
accountStore.requestAccessToAccountsWithType(accountType, options: nil) {
granted, error in
// do something
}

Once the permission is granted, you can initialize Swifter with any of the iPhone's Twitter accounts via simply Swifter(account: account) (where account is one of those accounts).
To obtain the accounts list, you might use something like
let accounts: [ACAccount] = {
  let twitterAccountType = ACAccountStore().accountTypeWithAccountTypeIdentifier(ACAccountTypeIdentifierTwitter)
  return ACAccountStore().accountsWithAccountType(twitterAccountType) as? [ACAccount]
}()

Please let me know if I can be of any further help!

Thanks for your answers.
But if my iPhone don't store any Twitter account, I only use login over safari.
I see Swifter support 2 methods for authentication:
1: over ACAccount store in iPhone settings --> it support many accounts.
2: over WebBrowser by call safari (default browser) for login.
I see on https://github.com/nst/STTwitter, this library can be support login over internal WebClient not use safari. This is a great feature, can internal handle all step working with Twitter rest-api.
Maybe close here?

Implementing a Twitter Login via in-app WebClient instead of externally via Safari would be nice!
If anybody wants to implement this, please feel free to do it :)

I don't know how I missed this thread, but guess it's better late than never to respond to this.
Swifter utilizes Apple's SFSafariViewController to provide login, and it's a web view with everything Safari has, and doesn't redirect to Safari, and then back into the client app. The demo app does use SFSafariViewController, and I personally would not recommend implementing anything else.
To authenticate via SFSafariViewController, simply provide the viewController you want to present the web view from in authorize(with:presentFrom:success:failure:) If you set don't provide a viewController in presentFrom:, then it'll go to the Safari app.
Having multiple instances of a custom built web view is inefficient as WKWebView can't and isn't allowed to access the keychain (which SFSafariViewController can use). If you want to support multiple account logins, you have to store the access tokens returned from authorize(with:presentFrom:success:failure:) and then repeating it. Storing the access token also means that your users won't have to re-login each time they open the app and can directly use their accounts from the pre-fetched Access Tokens.

This issue was answered over 5 months ago and will now be closed.

@meteochu ,
in iOS I am indeed using
swifter.authorize(withCallback: url, presentingFrom: self, success: { token, response in
("self" is a normal view controller)
but it is opening the Safari app, rather than using an SFSafariViewController.
Can you think of any reason this could be the case?  It's driving me nuts!
I did import SafariServices up top if that matters;
I just cannot think why it would be going to the external Safari app :/
Using the latest iOS, latest Xcode, etc.
Help!  : O
thanks ...


@argument decorator now accepts multiple arguments

Just a simple QoL improvement to avoid too much decorators on stories.
Tested and backward compatible.

Codecov Report

Merging #95 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   94.49%   94.49%
=======================================
  Files          26       26
  Lines         944      944
  Branches       58       58
=======================================
  Hits          892      892
  Misses         50       50
  Partials        2        2

Impacted Files
Coverage Δ

src/stories/_argument.py
100% <100%> (ø)
:arrow_up:

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 ae0596c...ab85bf9. Read the comment docs.

Codecov Report

Merging #95 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   94.49%   94.49%
=======================================
  Files          26       26
  Lines         944      944
  Branches       58       58
=======================================
  Hits          892      892
  Misses         50       50
  Partials        2        2

Impacted Files
Coverage Δ

src/stories/_argument.py
100% <100%> (ø)
:arrow_up:

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 ae0596c...ab85bf9. Read the comment docs.

Thanks!


Error:  attribute transform: Expected number, when trying to resize windows browser on material tab

hi guys, I have problem when using apexchart on different material tab, when i try to resize the browser on different tab (not the tab displaying the chart) , it will hit Error: attribute transform: Expected number.
Seems like the apexchart responsive not working when im in different tab.
I have try both redraw method, but the error is show before i able to redraw.
Is there any workaround on this issues? Appreciate any possible solutions. Thanks

Getting same error. Any updates? @junedchhipa

Any update here ? please reopen