Fail to verify vyper contract

Description
Verify vyper contract fail:No contract could be verified with provided data, but call sc_verify service with contract info, get success.
explorer: https://scan-satschain.bevm.io/address/0xb08a2A1EdBF6515f591A70419477adfBFDfd238f/contract-verification.
params:

verify method: vyper multi-part files
compilerVersion: v0.3.10+commit.91361694
evmVersion: default

main file: count.vy
count: public(uint256)

@external
def __init__(_count: uint256):
    self.count = 1

@external
def setCount(_count: uint256):
    self.count = _count

@external
def increment():
    self.count += 1

@external
def decrement():
    self.count -= 1

@external
def getCount() -> uint256:
    return self.count

interface file: count-interface.vy
interface Counter:
    def setCount(_count: uint256): nonpayable
    def increment(): nonpayable
    def decrement(): nonpayable
    def getCount() -> uint256: nonpayable
    def count() -> uint256: view

When using the above parameters for the request, it always fails: No contract could be verified with provided data.
However, when directly requesting the sc_verify microservice with these parameters, you will receive a successful verification result.
request body
{
  "bytecode": "0x5f3560e01c60026005820660011b6100c801601e395f51565b6306661abd81186100c057346100c4575f5460405260206040f36100c0565b63d14e62b881186100c0576024361034176100c4576004355f55006100c0565b63d09de08a81186100c057346100c4575f54600181018181106100c45790505f55006100c0565b632baeceb781186100c057346100c4575f54600181038181116100c45790505f55006100c0565b63a87d942c81186100c057346100c4575f5460405260206040f35b5f5ffd5b5f80fd00a5007e005700180037",
  "bytecodeType": "DEPLOYED_BYTECODE",
  "compilerVersion": "v0.3.10+commit.91361694",
  "evmVersion": "default",
  "sourceFiles": {
    "count.vy": "count: public(uint256)\n\n@external\ndef __init__(_count: uint256):\n\tself.count = 1\n\n@external\ndef setCount(_count: uint256):\n\tself.count = _count\n\n@external\ndef increment():\n\tself.count += 1\n\n@external\ndef decrement():\n\tself.count -= 1\n\n@external\ndef getCount() -> uint256: \n\treturn self.count"
  },
  "interfaces": {
    "count-interface.vy": "interface Counter:\n\tdef setCount(_count: uint256): nonpayable\n\tdef increment(): nonpayable\n\tdef decrement(): nonpayable\n\tdef getCount() -> uint256: nonpayable\n\tdef count() -> uint256: view"
  },
  "metadata": {
    "chainId": "11521",
    "contractAddress": "0xb08a2a1edbf6515f591a70419477adfbfdfd238f"
  }
}

success response:
{
    "message": "OK",
    "status": "SUCCESS",
    "source": {
        "fileName": "count.vy",
        "contractName": "count",
        "compilerVersion": "v0.3.10+commit.91361694",
        "compilerSettings": "{\"outputSelection\":{\"*\":[\"abi\",\"evm.bytecode\",\"evm.deployedBytecode\",\"evm.methodIdentifiers\"]}}",
        "sourceType": "VYPER",
        "sourceFiles": {
            "count-interface.vy": "interface Counter:\n\tdef setCount(_count: uint256): nonpayable\n\tdef increment(): nonpayable\n\tdef decrement(): nonpayable\n\tdef getCount() -> uint256: nonpayable\n\tdef count() -> uint256: view",
            "count.vy": "count: public(uint256)\n\n@external\ndef __init__(_count: uint256):\n\tself.count = 1\n\n@external\ndef setCount(_count: uint256):\n\tself.count = _count\n\n@external\ndef increment():\n\tself.count += 1\n\n@external\ndef decrement():\n\tself.count -= 1\n\n@external\ndef getCount() -> uint256: \n\treturn self.count"
        },
        "abi": "[{\"inputs\":[{\"name\":\"_count\",\"type\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"name\":\"_count\",\"type\":\"uint256\"}],\"name\":\"setCount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decrement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCount\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"count\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
        "constructorArguments": null,
        "matchType": "PARTIAL",
        "compilationArtifacts": "{\"abi\":[{\"inputs\":[{\"name\":\"_count\",\"type\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"name\":\"_count\",\"type\":\"uint256\"}],\"name\":\"setCount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decrement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCount\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"count\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"sources\":{\"count.vy\":{\"id\":0}}}",
        "creationInputArtifacts": "{}",
        "deployedBytecodeArtifacts": "{\"sourceMap\":\"-1:-1:0:-;;;;;;;;;;;;;;;;:::-;:::-;;;;;:::-;;;:::-;;;;;;14:7;;-1:-1;:::-;:::-;;;;;:::-;;;;;;;:::-;137:6;-1:-1;124:10;-1:-1;92:51;-1:-1;:::-;:::-;;;;;:::-;;;:::-;173:10;-1:-1;187:1;-1:-1;;;;;;:::-;173:15;;:10;-1:-1;155:33;-1:-1;:::-;:::-;;;;;:::-;;;:::-;218:10;-1:-1;232:1;-1:-1;;;;;;:::-;218:15;;:10;-1:-1;200:33;-1:-1;:::-;:::-;;;;;:::-;;;:::-;281:10;-1:-1;;;;245:46;;-1:-1::-;;;;:::-;;;\"}",
        "isBlueprint": false
    },
    "extraData": {
        "localCreationInputParts": [
            {
                "type": "main",
                "data": "0x346100185760015f556100d261001c6000396100d26000f35b5f80fd5f3560e01c60026005820660011b6100c801601e395f51565b6306661abd81186100c057346100c4575f5460405260206040f36100c0565b63d14e62b881186100c0576024361034176100c4576004355f55006100c0565b63d09de08a81186100c057346100c4575f54600181018181106100c45790505f55006100c0565b632baeceb781186100c057346100c4575f54600181038181116100c45790505f55006100c0565b63a87d942c81186100c057346100c4575f5460405260206040f35b5f5ffd5b5f80fd00a5007e0057001800378418d2810a00a16576797065728300030a0013"
            }
        ],
        "localDeployedBytecodeParts": [
            {
                "type": "main",
                "data": "0x5f3560e01c60026005820660011b6100c801601e395f51565b6306661abd81186100c057346100c4575f5460405260206040f36100c0565b63d14e62b881186100c0576024361034176100c4576004355f55006100c0565b63d09de08a81186100c057346100c4575f54600181018181106100c45790505f55006100c0565b632baeceb781186100c057346100c4575f54600181038181116100c45790505f55006100c0565b63a87d942c81186100c057346100c4575f5460405260206040f35b5f5ffd5b5f80fd00a5007e005700180037"
            }
        ]
    },
    "postActionResponses": {
        "lookupMethods": null
    }
}

Type of the installation
Helm charts (k8s)
Type of the JSON RPC archive node
Geth
Type of the chain
l1
Link to the page
https://scan-satschain.bevm.io/address/0xb08a2A1EdBF6515f591A70419477adfBFDfd238f/contract-verification
Steps to reproduce

Backend version
v6.7.2-beta
Frontend version
No response
Elixir & Erlang/OTP versions
/
Operating system
linux
Additional information
No response

Directly calling the smart-contract-verifier microservice can verify successfully, so I think it may not be a problem with the verification service, but a problem with blockscout backend。

Hey @xiang-xx, thank you for raising this issue. The team is looking into it and will try to advise as soon as they can. Unrelated to it, are you directly from the BEVM team? If so, would love to connect. My TG is: Mojmir_R

Hey @xiang-xx, thank you for raising this issue. The team is looking into it and will try to advise as soon as they can. Unrelated to it, are you directly from the BEVM team? If so, would love to connect. My TG is: Mojmir_R

Let's only communicate on github to prevent scams.

Fair point. But why I want to move it to TG is that it would be very much off-topic for this thread. Want to connect and chat primarily on the business and marketing stuff.
You can check my identity through email<EMAIL_ADDRESS>or our official Discord that is listed on our website and I am owner of.

Fair point. But why I want to move it to TG is that it would be very much off-topic for this thread. Want to connect and chat primarily on the business and marketing stuff.
You can check my identity through email<EMAIL_ADDRESS>or our official Discord that is listed on our website and I am owner of.

https://www.bevm.io/  You can find some connect methods here to access bevm team.

@vbaranov looks like the issue here is related to blockscout backend since sc_verifier responded with success result. could you please take a look and the problem on backend side then transfer the issue


Fix more dark mode bugs.

@keybase/react-hackers, this is ready for review.

I'm closing this PR in favor of this: https://github.com/keybase/client/pull/20834


Problems with dev environment on testing WebVirtCloud

hello, i come to you today to inform you that i am having some issues with WebVirtCloud. I am hoping you maybe able to assist.
I have currently setup the backend & frontend

Now I want to of course make a VM how can this be done am i missing a component?
Previously i tried https://github.com/webvirtcloud/webvirtcloud stack and on
git submodule init
git submodule update

Im not authoriezed, So leading me to install as stated above backend
(Backend)

installed docker/docker compose
installed and setup had to wait around 1-2-5minutes by the way for the database to take up which will thus then allow the command docker compose exec backend python3 manage.py migrate to work which you need to mention in the documentation for some people as they will continue to get an error if they attempt above command without waiting for db to initialize fully.
after setup i installed frontend

(frontend)

installed the node using nvm and noticed the node was using version 16 if not mistaken so I opted for nvm install 16 as this was the default fresh install v16 was default no need to switch over to it setup --host in package.json for web also setup .env.development configs urls, then went to backend changed password for main user went to front end used password and email and logged in no problem.

now making a vm is the issue at hand, any help at all would mean alot.
also noticed billing integrable situations in WebVirtCloud kind of like a real cloud hosting provider this is really cool and would love to know more about this as well.

Hello,
Project still on beta but are hard working on documentations and production release. You can check ansible and find how to configure hypervisor on this URL https://github.com/webvirtcloud/webvirtcompute/tree/master/ansible/compute
Thank for your feedback!!!

Keeping eyes WIDE OPEN


Bug: Vision block text layout could be more logically grouped

Describe the bug
Currently the Vision block shows the text as follows:
Learn about the XMTP
roadmap, case studies, and
more

It could be improved with a more logical grouping that reads better:
Learn about the
XMTP roadmap, case studies,
and more

or
Read the XMTP Litepaper,
case studies, roadmap,
and more…

Screenshots

obsolete


Enable/Disable algorithms

In simple configuration edit, show list of algos and a switch to enable/disable specific algos.
MoneroOcean XMRig checks each algo if the config doesn’t contains performance info for each algo. The miner can stuck on some algos on some devices and the miner cannot contiune to mining process.
An option to enable/disable algos is necessary to use MoneroOcean's algo switching  feature.
The default settings must contains heavy algos that not design for mobile phones like: cn/gpu, kawpow, cn-heavy, astrobwt

/cib

/cib


feat(event_sources): Add str to Data Classes base DictWrapper

Issue number: #2128
Summary
Allow Data Classes to be printed with str()
Changes

Add in a __str__ method to the base class used by all Data Classes.
This provides a dictionary string primarily for debugging purposes.
Include example usage for CodePipeline Data Classes

User experience

Prior to change:

>>> event = CodePipelineJobEvent(load_event("codePipelineEventData.json"))
>>> str(event)
'<aws_lambda_powertools.utilities.data_classes.code_pipeline_job_event.CodePipelineJobEvent object at 0x7f9a248342e0>'

Post change

>>> event = CodePipelineJobEvent(load_event("codePipelineEventData.json"))
>>> str(event)
'{\'account_id\': \'123456789012\', \'data\': {\'action_configuration\': {\'configuration\': {\'decoded_user_parameters\': "{\'KEY\': \'VALUE\'}", \'function_name\': \'my-function\', \'raw_event\': \'[SENSITIVE]\', \'user_parameters\': \'{"KEY": "VALUE"}\'}, \'raw_event\': \'[SENSITIVE]\'}, \'artifact_credentials\': {\'access_key_id\': \'AKIAIOSFODNN7EXAMPLE\', \'expiration_time\': \'1575493418000\', \'raw_event\': \'[SENSITIVE]\', \'secret_access_key\': \'[SENSITIVE]\', \'session_token\': \'[SENSITIVE]\'}, \'continuation_token\': \'None\', \'encryption_key\': \'None\', \'input_artifacts\': [{\'location\': {\'get_type\': \'S3\', \'raw_event\': \'[SENSITIVE]\', \'s3_location\': {\'bucket_name\': \'us-west-2-123456789012-my-pipeline\', \'key\': \'my-pipeline/test-api-2/TdOSFRV\', \'object_key\': \'my-pipeline/test-api-2/TdOSFRV\', \'raw_event\': \'[SENSITIVE]\'}}, \'name\': \'my-pipeline-SourceArtifact\', \'raw_event\': \'[SENSITIVE]\', \'revision\': \'e0c7xmpl2308ca3071aa7bab414de234ab52eea\'}], \'output_artifacts\': [{\'location\': {\'get_type\': \'S3\', \'raw_event\': \'[SENSITIVE]\', \'s3_location\': {\'bucket_name\': \'us-west-2-123456789012-my-pipeline\', \'key\': \'my-pipeline/invokeOutp/D0YHsJn\', \'object_key\': \'my-pipeline/invokeOutp/D0YHsJn\', \'raw_event\': \'[SENSITIVE]\'}}, \'name\': \'invokeOutput\', \'raw_event\': \'[SENSITIVE]\', \'revision\': \'None\'}], \'raw_event\': \'[SENSITIVE]\'}, \'decoded_user_parameters\': "{\'KEY\': \'VALUE\'}", \'get_id\': \'c0d76431-b0e7-xmpl-97e3-e8ee786eb6f6\', \'input_bucket_name\': \'us-west-2-123456789012-my-pipeline\', \'input_object_key\': \'my-pipeline/test-api-2/TdOSFRV\', \'raw_event\': \'[SENSITIVE]\', \'user_parameters\': \'{"KEY": "VALUE"}\'}'

Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of this change
[x] Changes have been tested
[x] Changes are documented
[x] PR title follows conventional commit semantics

Is this a breaking change?
__str__ isn't implemented elsewhere for Data Classes in the library, so shouldn't impact the library.
I assume most people wouldn't deliberately print the class name, and memory location for debugging/troubleshooting, so shouldn't impact them.
One area where I need assistance is noting what properties throughout the Data Classes should be blacklisted.
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

One area where I need assistance is noting what properties throughout the Data Classes should be blacklisted.

Moving back to draft.
Attempted to print an API Event and it failed.
event = APIGatewayProxyEvent(load_event("apiGatewayProxyV2Event.json"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 32, in __str__
    return str(self._str_helper())
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 56, in _str_helper
    property_value = getattr(self, property_key)
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 141, in http_method
    return self["httpMethod"]
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 17, in __getitem__
    return self._data[key]
KeyError: 'httpMethod'

Moving back to draft. Attempted to print an API Event and it failed. event = APIGatewayProxyEvent(load_event("apiGatewayProxyV2Event.json"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 32, in __str__
    return str(self._str_helper())
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 56, in _str_helper
    property_value = getattr(self, property_key)
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 141, in http_method
    return self["httpMethod"]
  File "/home/nramsay/aws-lambda-powertools-python/aws_lambda_powertools/utilities/data_classes/common.py", line 17, in __getitem__
    return self._data[key]
KeyError: 'httpMethod'

This broke due to the wrong input data going to the wrong wrapper. This is not strictly a fault in my code, but I should handle it.

Have updated to show [EXCEPTION <class 'Exception>] or equivalent when calling a property raises an exception.
>>> event = APIGatewayProxyEvent(load_event("apiGatewayProxyV2Event.json"))
>>> print(event)
{'body': '{"message": "hello world", "username": "tom"}', 'decoded_body': '{"message": "hello world", "username": "tom"}', 'headers': {'Header1': 'value1', 'Header2': 'value1,value2'}, 'http_method': "[EXCEPTION <class 'KeyError'>]", 'is_base64_encoded': False, 'json_body': {'message': 'hello world', 'username': 'tom'}, 'multi_value_headers': "[EXCEPTION <class 'KeyError'>]", 'multi_value_query_string_parameters': None, 'path': "[EXCEPTION <class 'KeyError'>]", 'path_parameters': {'parameter1': 'value1'}, 'query_string_parameters': {'parameter1': 'value1,value2', 'parameter2': 'value'}, 'raw_event': '[SENSITIVE]', 'request_context': {'account_id': '123456789012', 'api_id': 'api-id', 'authorizer': {'claims': None, 'integration_latency': None, 'principal_id': None, 'raw_event': '[SENSITIVE]', 'scopes': None}, 'connected_at': None, 'connection_id': None, 'domain_name': 'id.execute-api.us-east-1.amazonaws.com', 'domain_prefix': 'id', 'event_type': None, 'extended_request_id': None, 'http_method': "[EXCEPTION <class 'KeyError'>]", 'identity': {'access_key': "[EXCEPTION <class 'KeyError'>]", 'account_id': "[EXCEPTION <class 'KeyError'>]", 'api_key': "[EXCEPTION <class 'KeyError'>]", 'api_key_id': "[EXCEPTION <class 'KeyError'>]", 'caller': "[EXCEPTION <class 'KeyError'>]", 'client_cert': "[EXCEPTION <class 'KeyError'>]", 'cognito_authentication_provider': "[EXCEPTION <class 'KeyError'>]", 'cognito_authentication_type': "[EXCEPTION <class 'KeyError'>]", 'cognito_identity_id': "[EXCEPTION <class 'KeyError'>]", 'cognito_identity_pool_id': "[EXCEPTION <class 'KeyError'>]", 'principal_org_id': "[EXCEPTION <class 'KeyError'>]", 'raw_event': '[SENSITIVE]', 'source_ip': "[EXCEPTION <class 'KeyError'>]", 'user': "[EXCEPTION <class 'KeyError'>]", 'user_agent': "[EXCEPTION <class 'KeyError'>]", 'user_arn': "[EXCEPTION <class 'KeyError'>]"}, 'message_direction': None, 'message_id': None, 'operation_name': None, 'path': "[EXCEPTION <class 'KeyError'>]", 'protocol': "[EXCEPTION <class 'KeyError'>]", 'raw_event': '[SENSITIVE]', 'request_id': 'id', 'request_time': None, 'request_time_epoch': "[EXCEPTION <class 'KeyError'>]", 'resource_id': "[EXCEPTION <class 'KeyError'>]", 'resource_path': "[EXCEPTION <class 'KeyError'>]", 'route_key': '$default', 'stage': '$default'}, 'resource': "[EXCEPTION <class 'KeyError'>]", 'stage_variables': {'stageVariable1': 'value1', 'stageVariable2': 'value2'}, 'version': '2.0'}

One area where I need assistance is noting what properties throughout the Data Classes should be blacklisted.

@leandrodamascena is this an area we need to discuss further, or is this something for separate PRs?

One area where I need assistance is noting what properties throughout the Data Classes should be blacklisted.

@leandrodamascena is this an area we need to discuss further, or is this something for separate PRs?

I looked quickly through all the classes and didn't see any fields that demand be sensitive, like secret_access_key or session_token. I mean, maybe there is a DynamoDB record field, for example, that maybe contains sensitive information, but we don't have much to do, because we will never know the data that comes in the field.
But yes, it makes a lot of sense for us to discuss this in other PRs as the need arises.

Thank you @leandrodamascena for your patience, and guidance.
Your feedback has definitely improved the quality of this PR.
Let's merge this in :-)

one may say this was laser-focus development! 🎉

My suggestion:

Some fields contain user supplied data, which could be either plain text, or JSON.
These fields often have a related conveinence field, which converts plain text JSON in to a Python dictionary.
If this conversion (deserialization) fails, the conveinence field will appear as [Cannot be deserialzed].

Hey @neilramsay, I owe you an additional explanation about straight comments I've made. I'd also like to explain our reasoning about our obsession with docs and shorter message, as perhaps that might be useful to learn our techniques too :)
About minimal comments
We have a daily standup to review our activities in the public board. Yesterday, we were reviewing the last pending items to merge it and I commented live as we spoke on suggestions to @leandrodamascena - hence why this short suggestion.
Our take on documentation
We approach documentation like a product. We're not yet where we'd like to be, but we take each PR as an opportunity to make our messaging accessible, shorter, and more easily readable in different formats (e.g., Mobile).
We see documentation as a large reason for customers to use Powertools for the long-term, besides features, bug fixing, and how we work with the community. We also have an incredibly plurality of personas - from Developers, IT hobbyists, Data Engineers, Ops ("DevOps"), SRE, Data Scientists, Mobile engineers, Embedded engineers, etc - and from various spoken languages, where Global English style is a must.

Wait, what does it all mean?

This means we always strike a balance to deliver the message as straight as possible, then provide more info for anyone wanting to know the nitty gritty details. All carefully thinking about mobile readers where text may be wrapped. This, sometimes counterintuitive, pushes us to use shorter but more paragraphs that typically would be merged under different circumstances.
Now that we're on the same page
This is the process we would then follow by working backwards from your second suggestion:

Some fields contain user supplied data, which could be either plain text, or JSON.
These fields often have a related conveinence field, which converts plain text JSON in to a Python dictionary.
If this conversion (deserialization) fails, the conveinence field will appear as [Cannot be deserialzed].

Questions we asked ourselves:

What are we trying to educate or warn people here?
Are we trying to convey that any data we fail to deserialize will have a default value?
What types of data are more prone to this issue?

We then craft a rather verbose message and then ask two more questions:

How do we make it shorter and more succinct without losing its intent?
If this is of interest for readers, what information do we split so we can provide more information and keep it lean?

For the first one we use a technique called Line Editing. For the second one, it's a combination of us having English as a Second Language (ESL) and using that to our advantage to see how much of a cognitive load it takes to parse the text before we can grasp it.
Combine this scrutiny, we landed at:

If we fail to deserialize a field value (e.g., JSON), they will appear as [Cannot be deserialized]

Which meant:

We are saying that Fields that can't be processed will have the default value of [Cannot be deserialized]
We are giving examples but not limiting the types of fields this could happen (e.g., known unknown)
We reduced to a single type (JSON) to keep it short for mobile readers (UX writing)

Closing
That's why it's a great deal for us to take however as much time we need to give feedback to anyone contributing it, so they get something back too! We hugely appreciate the effort you've made to improve debugging - it's not everyone who takes hours off their time to improve many hours of many many people out there.
Hope this provides more than enough context on terseness at times, and explain our mental model when dealing with docs ;)

@heitorlessa thank you very much for the documentation explanation.
I've been spending a few days to digest, and process it.
I believe others could benefit from this guidance, so will raise a new Issue suggesting some sort of "advanced meta-documentation", and linking it here.


Update FAQ.md

Fix small typo

Thanks for the pull request.
Need to sign the document at https://github.com/google/lovefield/blob/master/CONTRIBUTING.md first, before the request can be merged.

Done it's signed

https://github.com/google/lovefield/commit/fc01e7df6d63447cd45009cfe925cbe6816cca8a


Build unstable

Hello Team,
Please help me troubleshoot this issue with Jenkins.  I am trying to copy .war file to remote server, but build is unstable.  It is asking me to give target prefix in all the paths.  I have already configured that in all the paths.
Below is the syntax i used to copy
sshPublisher(publishers: [sshPublisherDesc(configName: 'dev_docker', transfers: [sshTransfer(excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/home/mary/Docker', remoteDirectorySDF: false, removePrefix: 'target/', sourceFiles: '**/*.war')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: true)])
Thanks,
Mary

change your source to target/*.war and remote dir to /home/mary
lets me know how did u go!

this error has been fixed Sunil.  Now stuck with deploying war to docker container.  Do you have a jenkins pipeline script to deploy war to container ? Tried to google it but none are working for me

build the image and push it to dockerhub
https://github.com/sunil3456/Groovy
to do deployment go for another job which has to pull and run the container.
If you know ansible you can workout with yaml, using shell module

This job needs to be done in one jenkins pipeline script ... end to end .  From building war file to deploying to container.  I will try the link you provided and update you the result. Thanks Sunil.

Sunil,
Do you have the code for declarative pipeline? Getting error saying needs steps and after adding steps also getting error

Try with Ansible i would suggest usage of unnecessary plugin's


CategoriesGetAsync - Plaid returns "invalid fields" error

According to Plaid, a client_Id and secret should not be passed to the Plaid API, as categories/get does not take any parameters and should be called anonymously.

Sure enough. I'll get it corrected shortly. Sorry about that!

Thank you! I'm getting by with calling categories/get with a vanilla HttpClient, so no rush!

Check out version 4.3.0, just released. Should be fixed now! Thanks for reporting!


Update "open data explorer" icon in variable explorer

Add in the icon from the designer for opening the data explorer.

Closing against #5274


⚠ Secret Website 3 has degraded performance

In 2723fa6, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 16585 ms

Resolved: Secret Website 3 performance has improved in f68caab.


Finish setting up CI

I got build CI working, but would still like to automate and cron the republishing. It seems the deploy script provider runs in a different context than the build task (i.e. w/o the bundler context), so rake publish doesn't quite work as a deploy script. I should probably be using the pages provider anyway. Calling it a night, but I want to remember where I left off got the next time I pick this up.

Fixed in cc304267. AWLY is scheduled to update (e.g. download/start counts) and redeploy weekly.


Fatal error

this works fine with (0.6.1) of dompdf/dompdf but after updating composer http://prntscr.com/afhlct

Duplicate of #37

Closing due to duplicate issue #37.


Null Pointer when finishing branch: "branch was merged into null"

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] puppy => You're not submitting a puppy. I already have one and he's adorable

What is the current behavior?
I was working on a bugfix branch that was started from develop branch (also happens with feature branches etc.) and then finished the bugfix branch. The plugin shows following notification: "The bugfix branch 'bugfix/branchName' was merged into 'null' ". Unfortunately, I cannot upload a screenshot for some reason.

Is this a bug? Sorry about that. If so give me explicit details how to reproduce:

Open IntelliJ
Start Bugfix, Release, or Feature branch
Make a commit
Finish said branch
Read notification

What is the expected behavior?
When finishing a branch, a notification shows "The branchType branch 'branchType/branchName' was merged into 'startBranch'"

What is the motivation / use case for changing the behavior?
it's a bug

Please tell me about your environment:

Gitflow4idea version: 0.7.7

Gitflow version: 1.12.3 (AVH Edition)

IntelliJ Help -> about > click copy icon and paste here. Should look like this:

IntelliJ IDEA 2021.2.2 (Ultimate Edition)
Build #IU-212.5284.40, built on September 14, 2021
Runtime version: 11.0.12+7-b1504.28 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

* **Other information** (e.g. detailed explanation, stacktrace, related issues, suggestions how to fix, links for me to have context words of praises, pictures of puppies (again with the puppy??) )

there is already a pull request for that reason
#343


Bugfix - add retries flag to download/upload params

Fixes https://github.com/jfrog/jfrog-cli/issues/689


Swarm Node Labels broken in v2.3.0

This commit 3bb8a49297448325b8feaa9b7a899c78b2fab97e breaks the swarm nodes label functionnality, as the docker inspect command used to get the labels actually doesn't find anything and breaks.
Reverting to v2.2.0 solves the issue.

Duplicates https://github.com/atosatto/ansible-dockerswarm/issues/78


Carry out user research on WebAPI/JS ref page titling

User story
As an MDN editor, I want research carried out into how people search for JS/WebAPI features, so I can name associated reference material intelligently
Acceptance criteria

[ ] Questionnaire sent out

[ ] Appropriate material for user testing created

[ ] User interviews carried out.

Tasks

[ ] Send out questionnaire on social media

[ ] Create appropriate material for carrying out user testing

[ ] Carry out user interviews to observe behavior around searching for WebAPI/JS reference material.

The questionnaire is available here: https://docs.google.com/forms/d/1ClqKnMcSllGPoX-HhTkrtVzBqlvEDPn_N-G-4Vdabvk/edit (edit mode, not final version)

@chrisdavidmills Looks like this is done, per the AC. Can it be closed?

Yes! Thanks for the prod.


Change content of Dialog

Hi guys,
I'm developing real-time app that when first person do a event then the 2nd will get data of the first one.
And in the 2nd person screen will appear Dialog that show person 1 data. But now when i'm doing i found that the Dialog always show the default coz mobile render the Dialog content before i call function open it.
So how can i change the content or set the Dialog render content when i call the function popupDialog.show() ?

You means you need have some ways to update the content. Right?

yes that exactly what i need i just want to pull data to Dialog whenever the event occur

@MinhNQ90
It's not related to this component, it's about React. But, Anyway I can explain a bit about the question.
Basically, you don't have to call any method to update/re-render the view, React will do it. When the date (might be via component's state or props) is updated then React will re-render the view.
you could do some experiment, for example:
import React, { Component } from 'react';
import { View, Text } from 'react-native';
import PopupDialog from 'react-native-popup-dialog';

class App extends Component {
  state = {
    currentTime: new Date(),
  }

  componentDidMount() {
    this.refreshTime();
  }

  refreshTime() {
    setTimeout(() => {
      this.setState({ currentTime: new Date() });
    }, 1000);
  }

  render() {
    return (
      <View>
        <PopupDialog>
          <View>
            <Text>{this.state.currentTime}</Text>
          </View>
        </PopupDialog>
      </View>
    );
  }
}

So sorry for bother you again.
This is my function inside componentDidMount()
this.socket.on('SERVER-SENT-CUSTOMER-TO-STAFF', function(data){ 		if(data.code == 'SCTD-001'){ 			json = data.data; 			this.customerInfor(); 			dialog.show(); 		} 	});
and this is
customerInfor() {     setInterval(() => {       this.setState({ data: json});     }, 1000);   }
or last time i try to pass argument to customerInfor() but it always  notice that
undefined is not a function ( evaluation this.customerInfor() ).
i think customerInfor(); is wrong but i don't know how to fix it.
Pls help me. Thank you so much.

use () => {} instead instead function it is because.

Sorry i don't get what you mean.
Could you please modify the source code which i paste above ?

You need to pass your class scope into function.
Anyway.. the following code should work.
this.socket.on('SERVER-SENT-CUSTOMER-TO-STAFF', (data) => {
  if (data.code == 'SCTD-001') {
    this.customerInfor(data); dialog.show();
  }
});

AND
customerInfor = (data) => {
  setInterval(() => {
    this.setState({ data: data });
  }, 1000);
}}

It works thank you so much <3 you're my savior <3


Make PD test skip correctly on local provider

@zmerlynn

@roberthbailey PTAL; comments addressed.

Merging despite the nit. It's not worth blocking this on.


Add support for running on Cloudflare Workers and D1

That would be a great deployment option, but would require some low-level work first. Mainly

implement support for D1 in sqlx
implement support for cloudflare workers in actix-web (or abstract away the use of actix in sqlpage and implement a separate cloudflare backend on top of that abstraction).

Would you be interested in contributing to that ?


tremc: 0.9.1 -> 0.9.2

Motivation for this change
Version bump with fix needed for transmission 3.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS)
Built on platform(s)

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

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

Consider changing license to licenses.gpl3Plus, since licenses.gpl3 is deprecated (https://discourse.nixos.org/t/lib-licenses-gpl3-co-are-now-deprecated/8206/3). See https://github.com/tremc/tremc/blob/ba9b4cc32f18ee748a7e608e7462fdfc30418828/tremc#L5-L8

Done, thank you.


Reverse proxy / caching server upstream cache status

When running on the reverse proxy with Nginx, with a log format that could look like this
    log_format main  '$remote_addr [$time_local] "$request" '
                 '$status $body_bytes_sent "$http_referer" '
                 '"$http_user_agent" "$upstream_cache_status" ';

which produces logs like this
ip.addr [17/Oct/2017:10:23:53 +0100] "GET /some/path HTTP/2.0" 200 1653 "https://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38" "HIT"

The very last bit is something I could not figure out how to configure, so I am skipping it in the moment.
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u" "%^"

It would be useful to add statistics for $upstream_cache_status which would demonstrate the number of misses, hits, updates, and so on.
http://nginx.org/en/docs/http/ngx_http_upstream_module.html
Available status codes:
$upstream_cache_status
keeps the status of accessing a response cache (0.8.3). The status can be either “MISS”, “BYPASS”, “EXPIRED”, “STALE”, “UPDATING”, “REVALIDATED”, or “HIT”.

Are you looking to have a dedicated panel that displays this metric? or should this metric be part of an existing panel?
BTW, a quick workaround and if you are not using the virtualhost panel, you can simply use %v to display $upstream_cache_status.

Either one would do. A dedicated one would, perhaps, make it more obvious just how much the reverse-proxy offloads from back-end application servers.

@allinurl
I think adding a dedicated panel that shows this metric is very useful,
Sometimes I only need to monitor the cache hit rate.

A dedicated cache status indicator would definitely be useful for us too.

This has been implemented. Feel free to build from development to test it out, otherwise it will be pushed out in the upcoming release.


register ABI: allow selecting ABI when Go code refers to assembly routine

[Note: this is a tracking issue, not a regular bug.]
In CL 260477 as part of the register ABI work (tracking issue 40724), the assembler was changed to add syntax for specifying the ABI (ABI0 vs ABIInternal) when defining a given assembler routine or referring to some other routine. This change made it possible to have finer control over "special" assembler routines that are defined and used in non-standard ways.
For example, a function such as runtime.panicIndex is called by the compiler using a custom ABI (not ABI0), hence in order to get the correct semantics, there had to be some way to insure that a call from Go code to runtime.panicIndex did not go through an ABIInternal->ABI0 wrapper.  Changing the assembly definition of runtime.panicIndex to have it be ABIInternal took care of this, but it is worth pointing out that declaring runtime.panicIndex as ABIInternal is something of a fiction, since the compiler currently doesn't follow the new ABIInternal rules exactly when emitting calls to the function.
The function runtime.goexit is another example: this function is never called, only used as a sentinel (e.g. the runtime takes its address, but never actually invokes it).  When the runtime takes its address, however, the actual PC of the function itself it needed, as opposed to taking the address of the ABIInternal->ABI0 wrapper for the function.  To resolve this problem, the assembly source for runtime.goexit was changed the to give it a definition as ABIInternal-- this meant that references from the runtime Go code would pick up the function directly, as opposed to the ABIInternal->ABI0 wrapper for it.  Again here things are a little misleading, since there will never be an ABIInternal call, or any other call, to runtime.goexit.
A third case comes up with syscall wrappers: for functions like the x509 assembly wrappers, if we take the address of the wrapper function from Go to pass it to a syscall, we have to insure that we get the function itself and not an ABIInternal->ABI0 wrapper.
To improve on this situation, it might make more sense to instead create some sort of mechanism at the Go level to allow control over which ABI is selected (this idea from @cherrymui). For example, something like
  //go:abi0
  func goexit() ...

would be a way to say, "Compiler, I know that this function is an assembly routine, but when I refer to it, I want to get the ABI0 symbol and not the ABIInternal->ABI0 wrapper for the symbol". The one potential drawback here is that once this pragma is used in the  package, we can no longer call the routine in question from Go within the package (if for some reason we need to have both direct calls and a reference that bypasses the ABI wrapper).
Another possibility would be to develop a pragma that applies to the referring expression itself, e.g.
  // Take address of "runtime.someAssemblyFunc", insuring that we get
  // the func itself and not the ABIInternal->ABI0 wrapper for the symbol
  myFuncPtr := unsafe.SelectABI(runtime.someAssemblyFunc, "ABI0")

An advantage of this second option would be that we could communicate to the compiler that a function uses an unknown or non-standard ABI, and should not be calllable directly from Go. Example:
  // Here 'anotherAssemblyRoutine' uses the C++ ABI, so ti should not  be called directly from Go.
  myCppFuncPtr := unsafe.SelectABI(runtime.anotherAssemblyRoutine, "ABIUnspecified")

  // legal (we're just storing the address)
  C.somestruct.cfuncptr = myCppFuncPtr

  // illegal-- generates a compiler error
  myCppFuncPtr(101, nil)

Unsure as to how much work either of these options would be to implement.  Also probably might make sense to restrict the use of these constructs to "runtime" packages (as we already do with the assembler feature).

(While I proposed the idea of using a pragma) I don't really like having many pragmas. And I'll note that the current approach (marking certain assembly functions as ABIInternal) "works". Personally I'd be fine just doing that.
From discussions, one problem of marking assembly functions as ABIInternal is that they are not really "ABIInternal", so marking them ABIInternal is somewhat a "lie". They are also not really ABI0 (at least for some of them). If we are aiming for clarity, we may want to mark them ABISpecial, either as assembly marker or as a pragma on the declarations in Go side. One counter argument is that their specialness is implementation detail, i.e. "internal", so ABIInternal is fine.
The unsafe.SelectABI is interesting but I don't know how to implement it. runtime.anotherAssemblyRoutine is not quoted, so it is an identifier in the Go code. How does the compiler resolve that identifier? Do you still need a declaration? What is its result type? (Maybe unsafe.Pointer or uintptr? So you can pass it to other places where the PC is expected, but cannot call it without explicitly cast it to a function pointer.) I would say this mechanism is for a limited set of special functions. We probably don't want to make it a public API (as in the unsafe package). Also, it probably doesn't make sense for other implementations of Go.

A few notes:
"once this pragma is used in the package, we can no longer call the routine in question from Go within the package"
is something we could support, since that is actually the transition plan for getting to the new ABI -- enable it for testing with a pragma, till it works, then throw the big switch.  We could keep the old plumbing (which is already working in development as them no-register case of a register ABI.  This would not be hard; we could probably never call such a method with reflection, as a goroutine, etc, but we could probably ensure that with static checks, or at least vet checks.
I'm torn on the too-many-pragmas question.

we hate knobs, and these are knobs.
I don't think they are under the compatibility guarantee, which is good.
not adding more pragmas, but then overloading existing mechanisms to mean the thing we didn't want to add a pragma for, is, actually, adding a knob.  Knobs are technical debt, but overloaded multifunction knobs are also technical debt.

I'm a little interested in the unsafe thing -- we can certainly see constant strings in the compiler (certainly in SSA, we have optimizations on constants already), we could probably make that work, too.

CL https://go-review.googlesource.com/c/go/+/290029 is an alternative approach: directly taking the address in assembly, and only pass the address to Go, as the Go side only needs the address. Then we don't need the ABI markers (because it is local to assembly now).


Update README example config - remove CircularBlobAccess

The example config quoted in the README uses CircularBlobAccess (the keyword 'circular').
CircularBlobAccess has been removed from bb-storage. And bb-remote-access has now been updated to include those changes. The README ought to be updated to use LocalBlobAccess.

If it helps, this was prompted by an issue we're having on the remote-apis-testing project:
https://gitlab.com/remote-apis-testing/remote-apis-testing/-/issues/111

Hey there!
This part of the config:
    circular: {
      directory: '/storage',
      offsetFileSizeBytes: 1024 * 1024,
      offsetCacheSize: 1000,
      dataFileSizeBytes: 100 * 1024 * 1024,
      dataAllocationChunkSizeBytes: 1048576,
      instances: ['remote-execution'],
    },

can be replaced with:
    'local': {
      keyLocationMapOnBlockDevice: {
        file: {
          path: '/storage/key_location_map',
          sizeBytes: 1024 * 1024,
        },
      },
      keyLocationMapMaximumGetAttempts: 8,
      keyLocationMapMaximumPutAttempts: 32,
      oldBlocks: 8,
      currentBlocks: 24,
      newBlocks: 3,
      blocksOnBlockDevice: {
        source: {
          file: {
            path: '/storage/blocks',
            sizeBytes: 100 * 1024 * 1024,
          },
        },
        spareBlocks: 3,
      },
      // Add this chunk if you also want it to be persistent across restarts. If no persistency is needed, just omit this.
      persistent: {
        stateDirectoryPath: '/storage/persistent_state',
        minimumEpochInterval: '5m',
      },
    },

And this part:
  httpListenAddress: ':7982',

Needs to be replaced with:
global: { diagnosticsHttpListenAddress: ':7982' },

Thanks @EdSchouten, I've tested that on Remote-Testing-APIs, and it works perfectly. That was a really big help?
re updating the README, I assume the same changes would apply there? (But with "/storage" changed to "/storage-asset" and "remote-execution" changed to "foo", as in the current README.)
What about the undertext though? The paragraph that starts "In the example above, the daemon is configured to store asset references within a disk backed circular storage backend.". The part about the circular storage backend obviously ought to be changed to something else. Does the rest need to be changed too?


Import ../third_party/connectedhomeip/src/app/clusters/identify

Problem
<what's wrong or missing, please include any applicable:

expected behavior
actual behavior
steps to reproduce
system configuration
screenshots, images, logs, etc.

Proposed Solution
<suggested fix, suggested enhancement>

@franck-apple - taking this one.

https://github.com/rwalker-apple/connectedhomeip/pull/3


[Breaking change]: removed System.Runtime.InteropServices.JavaScript.JSFunctionBinding implicit public default constructor

Description
The constructor was not intended to be public and this is just fixing the mistake.
Version
.NET 8 Preview 6
Previous behavior
Empty instances of JSFunctionBinding could be created
New behavior
no replacement
Type of breaking change

[ ] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
[ ] Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code may require source changes to compile successfully.
[ ] Behavioral change: Existing binaries may behave differently at run time.

Reason for change
Fixing a mistake
Recommended action
N/A
Feature area
Interop
Affected APIs
API of JavaScript interop aimed at Roslyn codegen.

Related change https://github.com/dotnet/docs/issues/37520


TODO: When a stream has been established do not allow a new connection

As of right now if you start a stream and then try to start another stream with the same key it will break the program. Implement an is_streaming field on the ConnState and if is_streaming deny any new connections

FYI, I'm currently working on this

FYI, I'm currently working on this


Python - subscribe_email is gone in 0.35.0

Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.

I'm submitting a ...

[ ] :beetle: bug report
[ ] :rocket: feature request
[x] :books: construct library gap
[ ] :phone: security issue or vulnerability => Please see policy
[ ] :question: support request => Please see note at the top of this template.

What is the current behavior?
AttributeError: 'Topic' object has no attribute 'subscribe_email'

What is the expected behavior (or behavior of feature suggested)?
Email subscription added to sns

What is the motivation / use case for changing the behavior or adding this feature?
Make the 0.34 CDK complianant code work

Please tell us about your environment:

CDK CLI Version: 0.35.0 (build c5e43e2)
Module Version: 0.35.0
OS: Ubuntu 19.4
Language: Python

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)

        eks_sns = aws_sns.Topic(scope=self, id='EksSns', display_name='EksSns')
        eks_sns.subscribe_email(name=subscriber<EMAIL_ADDRESS>
Used to work in 0.34.0 I can see both from the source code and documentation that the functionality is gone. Unless 0.35.0 is a major release, the change breaks the statement (more on here: https://docs.aws.amazon.com/cdk/latest/guide/aws_construct_lib.html)
Versioning
The AWS CDK follows the semantic versioning model. This means that breaking changes are limited to major releases, such as 2.0.

Minor releases, such as 2.4, guarantee that any code written in a previous minor version, such as 2.1, will build, run, and produce the exact same results when built, run, and producing results, as before.

https://github.com/awslabs/aws-cdk/blob/v0.35.0/CHANGELOG.md#breaking-changes
sns: using a queue, lambda, email, URL as SNS Subscriber now requires an integration object from the @aws-cdk/aws-sns-subscribers package.
eks_sns.add_subscription(...)

@jogold

https://semver.org/#spec-item-4

Thanks for the explanation. Seems like current releases fall into:
Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.
which explains lack of the backward compability.


Minor changes on Sept 27th

setup-dev-environment
backend
livelabs/manifest.json (even though this is not needed for OCW).

Oops, sorry.
WMS 11055.


[Bug] Transition missing when using filterMode "none" in dataZoom

Version
5.5.1
Link to Minimal Reproduction
https://codesandbox.io/p/sandbox/xhzv2x
Steps to Reproduce
In the reproduction example link, the chart is alternating between 3 zoom states every 2 seconds.
Current Behavior
Depending on the chart size inside the browser window, the transition of the chart between the setOption() updates is sometimes missing.
On small browser window sizes, or when using a different filterMode (not none), the transition is working.
When the viewport is enlarged, the transition stops working for the smallest zoom area.
When the preview panel is resized so the canvas width is 884 px, the transition does not work when switching to the highest zoom level. If the preview panel is resized so the canvas has 892 px, the transition stops working.
Expected Behavior
The transition should work on any zoom levels, independent of the rendered size or the used filterMode.
Environment
- OS: Windows 11
- Browser: MS Edge 130.0.2849.80
- Framework: none

Any additional comments?
No response

Frankly I do not understand what you mean by "transition". API has only universalTransition which does not apply since there is no second line here.
This Demo, based on your example, works correctly with or without filter:'none' and for any horizontal chart size.

screen recording have a transition/animation, but the third change is instant

On the screen recording it's instant, but in your code example it is not.
Please add animationDurationUpdate:2000 to option and confirm that all three animation times are equal.

Here is another recording, the three changes of zoom level are animated.
Then I resize the preview panel so the chart gets wider. The next 2 changes then are also animated, but the third one (the highest zoom level) suddenly has no animation.
So it seems to be dependent on the amount of samples that fit into the zoom window or something.

I tested this in Firefox and Edge.
The animationDurationUpdate option doesn't change that behaviour.

BTW the axis labels seem to be animated correctly when this happens, only the axis is being changed instantly.

I see and understand the effect in recorded image, but cannot replicate it in code.
Demo works as expected - equal animation time regardless of zoom level or chart width.

It's also appearing on Chrome Version 130.0.6723.117, see this recording:

Chrome Version 130.0.6723.117 is indeed the latest, I use it in desktop environment without the problem mentioned.
It seems all your recordings come from the codesandbox.io editor. Codesandbox is a complex environment with a lot of overhead, slow and mobile unfriendly. Looking at this particular example I would say it is unreliable too.
I recommend ECharts Editor, or codepen.io for large-data charts.


Fix ##1069: Placement of R project templates in New Project dialog is weird

Adjust priority to place it right after SQL, and next to Python.

:+1:


BatteryPack Clip

@theorbtwo - your todo list for next week, please refine in sep branch and submit pull request by next Wed
To Do:

Create a simple STL model that will hold the BatteryPack vitamin in place

Notes:

Create the STL model in the sandbox for now, we'll merge it into the LogoBotBase_STL file during the wk3 session
Would be great if you could bring along a print of the clip so we can all test/play with it next Wed

Closing - collectively decided that velcro is the way to go! :)


adding microsoft-calendar plugin

Signed-off-by: Abhay-soni-developer<EMAIL_ADDRESS>Hey, I just made a Pull Request!
https://user-images.githubusercontent.com/23618736/214025699-95568746-8455-4749-8b1d-b2ff52fc2531.mp4

@benjdlambert @tudi2d

yarn run tsc is failing on files that do not contain any changes , what to do for this.

Hi @Abhay-soni-developer, this is a pretty nice contribution, thanks! I'm not 100% sure what the issue is but I would try and rebase your branch, it's a bit behind and maybe that's what's causing the issues.

Hi @Abhay-soni-developer, this is a pretty nice contribution, thanks! I'm not 100% sure what the issue is but I would try and rebase your branch, it's a bit behind and maybe that's what's causing the issues.

OK, I pulled down your branch and did a rebase. No luck, I'm getting the same errors after I run yarn install and then yarn tsc. I played around with the yarn.lock file as well but nothing resolve the errors. I have two PRs that I updated today and the builds all passed so I'm not sure what's going on here :(

Think these errors are caused by the fact that the popup dependency depends on muiv5 which is not currently supported, we would need a library that uses muiv4 https://github.com/backstage/backstage/pull/15896/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2deR28847

@benjdlambert  @awanlin  @tudi2d i have made resolved all the pipeline error and made the necessary changes as per review give by you guys.
i have opened a new pull request rather than continuing on this one as it gave me a clean slate to go step by step and resolve the errors that i was facing.
This is the new PR : https://github.com/backstage/backstage/pull/16060
Please do the needful

@Abhay-soni-developer not sure the PR's are doing what you think they're doing 😅 The other PR doesn't seem to have only your commits in there? and is it a continuation of this or is it meant to replace this PR? Think it's going to be easier to have it as one PR rather than two separate ones. If you can close one of them, and then we can review it further.
It would be great if you can make this PR the final PR as this has the comment history from the review so we don't have to go back and forth :)

@Abhay-soni-developer not sure the PRs are doing what you think they're doing 😅 The other PR doesn't seem to have only your commits in there. and is it a continuation of this or is it meant to replace this PR? Think it's going to be easier to have it as one PR rather than two separate ones. If you can close one of them, and then we can review it further.
It would be great if you can make this PR the final PR as this has the comment history from the review so we don't have to go back and forth :)

I do understand your concern but I have also made the changes that you asked for in the feedback in that pr, so I would be closing this one you can review https://github.com/backstage/backstage/pull/16060 this pr by selecting commits range if you can, sorry for the hassle. I hope we can still get the mention PR merge as early as possible


Editing a post requires re-selecting hub

Click edit post
Click republish
You will see the hub is missing title. You will need to x out of it and reenter the hub associated with the post

Noticed this issue some time back. A bit annoying since I have several posts I want and tried to update regularly.
Would love to contribute with this as my first issue. Any directive on where to start experimenting ?

Issue moved to: https://github.com/ResearchHub/researchhub-web/issues/1737


Add guard for missing addon.pkg

When I ran my ember 2.15.0 application using ember-service-worker + https://github.com/isleofcode/corber, it crashed with
   at EmberApp.addonPostprocessTree (/Users/xxx/app/node_modules/ember-cli/lib/broccoli/ember-app.js:600:12)
  name: 'EmberCordovaError',
  message: 'EmberCordovaError: Cannot read property \'keywords\' of undefined',
  stack: '    at hasKeyword (/Users/xxx/app/node_modules/ember-service-worker/lib/addon-utils.js:1:111)

this guard fixes it.

was about to make the same PR :)


fix: healthcheck printf returns 0

What kind of change does this PR introduce?
Bug fix and feature
What is the current behavior?
Currently healthchecks based on printf return always 0 and are false-positive.
Healthcheck config (the port is wrong in order to test, rest has 3000 open, 4000 is closed):
$ docker inspect -f '{{json .Config.Healthcheck }}' supabase-rest
{"Test":["CMD","printf","\\0",">","/dev/tcp/localhost/4000"],"Interval":5000000000,"Timeout":5000000000,"Retries":3}

$ docker inspect -f '{{json .State.Health.Log }}' supabase-rest
[{"Start":"2023-01-20T17:51:21.136686444Z","End":"2023-01-20T17:51:21.203277311Z","ExitCode":0,"Output":"\u0000printf: warning: ignoring excess arguments, starting with '>'\n"},{"Start":"2023-01-20T17:51:26.211514237Z","End":"2023-01-20T17:51:26.279377587Z","ExitCode":0,"Output":"\u0000printf: warning: ignoring excess arguments, starting with '>'\n"},{"Start":"2023-01-20T17:51:31.286512431Z","End":"2023-01-20T17:51:31.350657173Z","ExitCode":0,"Output":"\u0000printf: warning: ignoring excess arguments, starting with '>'\n"},{"Start":"2023-01-20T17:51:36.362020785Z","End":"2023-01-20T17:51:36.424323443Z","ExitCode":0,"Output":"\u0000printf: warning: ignoring excess arguments, starting with '>'\n"},{"Start":"2023-01-20T17:51:41.43299977Z","End":"2023-01-20T17:51:41.50987106Z","ExitCode":0,"Output":"printf: warning: ignoring excess arguments, starting with '>'\n\u0000"}]

Exit code is always 0
What is the new behavior?
$ docker inspect -f '{{json .Config.Healthcheck }}' supabase-rest
{"Test":["CMD","bash","-c","printf \\0 > /dev/tcp/localhost/4000"],"Interval":5000000000,"Timeout":5000000000,"Retries":3}

$ docker inspect -f '{{json .State.Health.Log }}' supabase-rest
[{"Start":"2023-01-20T18:01:32.979767241Z","End":"2023-01-20T18:01:33.042339059Z","ExitCode":1,"Output":"bash: connect: Cannot assign requested address\nbash: /dev/tcp/localhost/4000: Cannot assign requested address\n"},{"Start":"2023-01-20T18:01:38.04912028Z","End":"2023-01-20T18:01:38.094944501Z","ExitCode":1,"Output":"bash: connect: Cannot assign requested address\nbash: /dev/tcp/localhost/4000: Cannot assign requested address\n"}]

Additional context
Added Healthcheck to PostgREST also

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 62.39%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
3618

Relevant Lines:
5799

💛  - Coveralls

Btw I don't think PostgREST exposed a shell so we need to revert that health check

Please double-check.
As said in the template I have a shell with postgREST.
What have you checked and which version?


[BUG] - More precise REFINER_START

Summary
In SD Parameter Generator, the refiner_start parameter always rounds to the tens.
Basic Example
0.3 = 30%
0.2 = 20%
0.25 = 30%
If a want to generate with 100 total steps, and start the refiner at 25, right now it's not possible (it rounds to 30).
Reference Issues.
No response

This is weird, everything is working fine on my end, maybe I misunderstood your issue?

Hummm, you are right, it's very strange because I've checked just now and it works as expected.
Thank you for your support.

If the issue occurs again, feel free to reopen it at any time.


[config]: Fix the config parser and add Host field

What this PR does / why we need it:
Fixes the config parser bug in parsing the client config and adds the host field for supporting custom Tor instances.
Which issue this PR fixes (optional - uncomment and add issue):
fixes #22
Special notes for your reviewer:
Release note:

Sure, Will update docs and README in a follow-on PR to cover the new changes on the config parser and also supporting Caddy v2.


Ability to Span Window across two zones

Provide a description of the new feature / enhancement
So currently im using a 3 column grid
I have the flexibility to snap a window to each column by using shift or right mouse button.
I also retain the ability to drag the windows to the left edge or right edge and I can snap using the default 50/50 windows-snap that windows comes with with.
What I really want is to be able to have an area I can drag the mouse to (say right on the border between two columns, that would snap the window across both.   Example.
when i drag the mouse and window directly on the edge between columns one and two,  it would snap the window across both 1 and two.  and then I can snap another window to column 3.
I imagine this could work for all edges.  so say you had a 4-grid arrangement, you could span across any two vertically or horizontally.
The edge should highlight while dragging over an edge so that you know what you are about to do.

Wait a minute i just realized this is already a feature.  DOH

Wait a minute i just realized this is already a feature. DOH

How?


Replace cirq.rx etc by XPowGate etc.

This will enable floq to use qml.RX, qml.RY, qml.RZ, qml.CRX, qml.CRZ via the PowGates instead of the corresponding cirq implementations or RX etc, which do not work with floq.
CRY and CRot will not work unless one explicitly decomposes them or implements CYPowGate (for both).
In order to make the gates work, I commented out the corresponding operations in the device such that they should be decomposed by pennylane.

Make sure the tests are all passing too. Most of the failures are numeric issues, but it could be possible that they are due to global phase.

Yeah, sorry, I'm working on it. I used the cirq comment on how to convert between rotation  and pow gates, but this seems to be off, the probabilities are fine but the phases are not. I'll put it on WIP

Phases might me less of an issue. RX and XPowGate are just off by a constant global phase, so it might not be wrong but we'd need to update the tests to correct it.

Yeah, I agree. But the cirq gates seem to allow for correcting this, so I'm trying to use that feature to not have to modify the tests :)

Okay, so the difference is not a global phase for the controlled rotation, but a controlled phase, which amounts to PhaseShift(-theta/2, wires=wires[0]) when wires[0] is the control qubit.
In order to implement this, the pennylane-cirq.CirqOperation would need to allow for an iterable to contain gates that act on different numbers of wires, which I tried to implement but I failed at that.
I have no idea how to easily circumvent this. The doc in cirq should definitely be updated.

Closing due to inactivity


RowDecoder

I've written a RowDecoder, which lets you easily convert from a PostgresClientKit.Row to a Codable struct, like
struct User: Codable {
    let id: Int
    let name: String
}

It's working well in my project, and if you think it'd be good to add to this library, let me know and I would be happy to clean it up and pull request it.

Sure, that would be great!
For the PR, please use develop as the base branch (instead of master).
Or, if you prefer, feel free to send me (or point me to) whatever you currently have, and I can integrate it (and credit you in the release notes).
Thanks!

Thanks!  I hope to take a look this weekend.

This looks good; thank you.
I'm going to try adding a couple of things:

Making PostgresTimestampWithTimeZone, PostgresTimestamp, PostgresDate, and PostgresTime conform to Decodable.  I think this is the cleanest way to get dates/times out.  I like your suggestion of parameterizing the time zone on the Decoder, if someone wants to decode to a Foundation Date property.

Add a second flavor of Decoder that can be used if retrieveColumnMetadata is false, by assuming the result set columns are in CodingKeys order (or, if CodingKeys is synthesized, in declaration order).

I like both of those ideas. I’m messing with time zone heavy code today and assuming utc on decode I’m not sure is the right decision.

Released in v1.5.0


Fix logic for updating task-level site thresholds

Fixes #11775
Status
ready
Description
The previous logic was checking only the first element of the list, which unluckily was an IO bound task, thus not triggering any updates to the task-level thresholds.
With this PR, we separate CPU from IO bound tasks and update each of them as needed.
Bonus, print the number of agents connected to a given team name.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

We definitely need to mark this test as unstable...
    WMCore_t.WorkQueue_t.WorkQueue_t.WorkQueueTest:testThrottling changed from success to failure


Add missing production requirement

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #25   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines          98     98
=====================================
  Hits           98     98

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 e6f0444...61749ed. Read the comment docs.


added correct questions and edited auto complete for each question.

Code needs to be cleaned up as it defineately brakes dry. Nothing new just made the real questions with refined auto complete.

Closed as refactor is needed.


How to use the permissions once granted?

For me, it seems like the requesting is pretty straightforward in the docs. My problem is with the actually usage of the permissions once granted.
For example, let's say I get android.permission.READ_OWNER_DATA. How would I actually read the owner's data?

@stanleycyang - this is a bit out of scope. This library is just to make it easy to request permissions using a single API.


Check release version

Closes #
Changes proposed in this pull request:

...

Looks good. Nice and neat. I wonder whether it would be worth creating a new branch for this and just putting one commit into it with the changes to the check_release_version.yml file only and skip all the testing commits. This branch can then be deleted and the history will be cleaner in the git repo.

Github lets you do a squash-merge for that kind of thing, although I'm not sure if that lets you change the commit message, or if you'll end up with ones with ending in 'Testing', 'Testing', 'Testing'

Opened another PR, since this has many test commits.


Update helper lib in accordance with C SDK updates

Ensure compatibility with https://github.com/rigetti/qcs-sdk-c/pull/13, once we decide to update.

As part of this update, it might be worth also improving the success case of executing a program, e.g. within this branch https://github.com/rigetti/qcs-sdk-qir/blob/main/helper/helper.h#L78
Maybe consider some generic display of the values returned?


Possible False Positives with Nextcloud app Markdown Editor rule 949110

Description
While working with the Nextcloud app Markdown Editor the connection to the document gets lost when it autosaves.
It only triggers when using one of the pre formatted Templates, i haven figuered out wich exact feature breaks it.
If i use a blank page i can work just fine.
The rule trigert has the id 941310
Log output
[info] 164#164: *3297 ModSecurity: Warning. Matched "Operator `Rx' with parameter `\xbc[^\xbe>]*[\xbe>]|<[^\xbe]*\xbe' against variable `ARGS:json.autosaveContent' (Value: `\# company\x0a\x0a\## Logistik\x0a\x0a\### <Daten>\x0a\x0a\## Technik\x0a\x0a\### Netzwerk Gr\xc3\x (324 characters omitted)' ) [file "/opt/bunkerized-nginx/crs/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "527"] [id "941310"] [rev ""] [msg "US-ASCII Malformed Encoding XSS Filter - Attack Detected"] [data "Matched Data: \xbcnwald\x0a\x0a#### <daten> found within ARGS:json.autosaveContent: # company\x0a\x0a## logistik\x0a\x0a### <daten>\x0a\x0a## technik\x0a\x0a### netzwerk gr\xc3\xbcnwald\x0a\x0a#### <daten>\x0a\x0a### netzwerk noris\x0a\x0a#### <daten>\x0a\x0a### (153 characters omitted)"] [severity "2"] [ver "OWASP_CRS/3.3.2"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-tomcat"] [tag "attack-xss"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/152/242"] [hostname "XXX.XXX.XXX.XXX"] [uri "/apps/text/session/sync"] [unique_id "164372592823.168891"] [ref "o66,20v21,298t:urlDecodeUni,t:lowercase,t:urlDecode,t:htmlEntityDecode,t:jsDecode"], client: XXX.XXX.XXX.XXX, server: nextcloud.example.io, request: "POST /apps/text/session/sync HTTP/2.0", host: "nextcloud.example.io"

Hello!
Thanks for submitting and sorry for your inconvenience. We will take a look into this soon.

Hi @MrCybertux
Thank you very much for your report. Your issue has already been addressed in the development branch. The update to the rule will be included in the next release (which will probably be towards summer).
If you have control over your CRS deployment you could update the rule manually with the change from the (v3.4/dev branch)[https://github.com/coreruleset/coreruleset/blob/f8be3a0e3df242f87be0cd9af7fbce66a72fca8e/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf#L537].


Date Picker doesn't work on iPhone5

On iphone 5, the date picker seems to be okay:

...but you can't touch "OK" to select the date and close it.

The dialog doesn't seems well verticaly centered.

This issue (with dialog) has to be fixed for the 0.14.0 release

Dupe of #1261?

@mbrookes Yup, thanks for noticing.


Update version to 1.0.1-209

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External)


Errors thrown at me as I do npm start

I'm running everything on my system as recommended~

fixed by capitalizing the lower case letter on the filename for xyndor.json-
sorry for any inconvenience I may have caused


Add delete keys definition for validator keys api

Added enum type, and some helpers to define authentication responses, rather than re-defining.
Post isn't fully fleshed out, it will need some more groundwork before that will be usable.
partially addresses #4558
Signed-off-by: Paul Harris<EMAIL_ADDRESS>Documentation

[X] I thought about documentation and added the documentation label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

I think we can draw a line in this one with the carry-over of:

DeletionStatus enumeration to be caps with logic to output lowercase
Deserialize tests to flesh out the Deserialization of objects, which will need a builder etc built out most likely


Volume buttons

It would be nice to have the option to enable the volume to be changed via the volume buttons.

On android, when playing "complex" loaded sounds, the volume buttons do control volume of the sounds, at least using the version in my PR (#10 )

@Livijn Added in new release 🌟


[Button] loading state focus ring alignment

Description

[x] updated the focus ring alignment for agenda items

Screenshots

Before
After

Testing in sage-lib

It is unseeable when the component is used in isolation.
Testing in kajabi-products

(LOW) Update alignment of the focus ring when an agenda items is saved.

[ ] Coaching programs client view -> edit agenda item

Related

👍🏼 LGTM, I wasn't able to see the "loading" animation when editing a coaching agenda item, but I also had several feature flags missing when testing with the bridge. In any case, the "check" icon was quickly removed from display.

Will update: on the kajabi-products side when calling a button, add the followup prop spinner_on_submit: "my aria label", that activates it


Infer run on nd4j reveals a few possible issues

As a fun exercise I've run Facebook's infer on c53591a3301daa60f4c5d6de2c15ca5f94e38a9a Here's the output:
Analyzed 364 files

Found 35 issues

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseNDArray.java:2754: error: NULL_DEREFERENCE
  object returned by getBlasWrapper().level3() could be null and is dereferenced at line 2754
  2752.               else {
  2753.                   Nd4j.getBlasWrapper().level3().gemm(
  2754. >                         BlasBufferUtil.getCharForTranspose(result)
  2755.                           ,BlasBufferUtil.getCharForTranspose(this)
  2756.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseNDArray.java:3862: error: NULL_DEREFERENCE
  object shape last assigned on line 3859 could be null and is dereferenced by call to create(...) at line 3862
  3860.           if(indexes[0] instanceof SpecifiedIndex) {
  3861.               INDArray ret = create(shape);
  3862. >             int count = 0;
  3863.               if(isVector()) {
  3864.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/compression/CompressedDataBuffer.java:104: error: RESOURCE_LEAK
   resource of type org.bytedeco.javacpp.BytePointer acquired by call to new() at line 96 is not released after line 104
  102.                   CompressedDataBuffer compressedBuffer = new CompressedDataBuffer(pointer, descriptor);
  103.                   return Nd4j.getCompressor().decompress(compressedBuffer);
  104. >
  105.               } catch (Exception e) {
  106.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/MiniBatchFileDataSetIterator.java:204: error: RESOURCE_LEAK
   resource of type java.io.FileOutputStream acquired by call to FileOutputStream(...) at line 190 is not released after line 204
  202.           ret[0] = new File(rootDir,dataSetId + ".bin").getAbsolutePath();
  203.           ret[1] = new File(rootDir,dataSetId + ".labels.bin").getAbsolutePath();
  204. >         return ret;
  205.
  206.       }
  207.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/iterator/cache/InFileAndMemoryDataSetCache.java:52: error: NULL_DEREFERENCE
  object dataSet last assigned on line 50 could be null and is dereferenced by call to put(...) at line 52
  50.               dataSet = fileCache.get(key);
  51.               if (!memoryCache.contains(key)) {
  52. >                 memoryCache.put(key, dataSet);
  53.               }
  54.           }
  55.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/NormalizerStandardize.java:129: error: NULL_DEREFERENCE
  object NormalizerStandardize.featureMeanStd last assigned on line 117 could be null and is dereferenced at line 129
  127.               if(featureMeanStd == null) {
  128.                   this.fit(next);
  129. >                 featureMeanStd.getRow(1).muli(batchCount);
  130.                   if (fitLabels) {
  131.                       labelMeanStd.getRow(1).muli(batchCount);
  132.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/NormalizerStandardize.java:147: error: NULL_DEREFERENCE
  object NormalizerStandardize.featureMeanStd last assigned on line 117 could be null and is dereferenced by call to runnningFit(...) at line 147
  145.               }
  146.           }
  147. >         this.runnningFit(featureMeanStd,featureMeanStd,batchCount,runningTotal,true);
  148.           featureMean = featureMeanStd.getRow(0).dup();
  149.           featureStd = featureMeanStd.getRow(1).dup();
  150.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:51: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 51
  49.   //            throw new IllegalArgumentException("Unable to use axpy on a non vector");
  50.           LinAlgExceptions.assertSameLength(dx,dy);
  51. >         level1().axpy(dx.length(),da.doubleValue(),dx,dy);
  52.           return dy;
  53.       }
  54.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:66: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 66
  64.           LinAlgExceptions.assertVector(x, y);
  65.           LinAlgExceptions.assertMatrix(a);
  66. >         level2().gemv(BlasBufferUtil.getCharForTranspose(a),BlasBufferUtil.getCharForTranspose(x),alpha.doubleValue(),a,x,beta,y);
  67.           return y;
  68.       }
  69.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:72: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 72
  70.       @Override
  71.       public INDArray ger(Number alpha, INDArray x, INDArray y, INDArray a) {
  72. >         level2().ger(BlasBufferUtil.getCharForTranspose(x),alpha.doubleValue(),x,y,a);
  73.           return a;
  74.       }
  75.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:86: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 86
  84.       @Override
  85.       public IComplexNDArray geru(IComplexNumber alpha, IComplexNDArray x, IComplexNDArray y, IComplexNDArray a) {
  86. >         level2().geru('N',alpha,x,y,a);
  87.           return a;
  88.       }
  89.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:98: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 98
  96.       @Override
  97.       public INDArray swap(INDArray x, INDArray y) {
  98. >         level1().swap(x,y);
  99.           return y;
  100.       }
  101.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:108: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 108
  106.           if(x.data().dataType() == DataBuffer.Type.FLOAT)
  107.               return scal((float) alpha,x);
  108. >         level1().scal(x.length(),alpha,x);
  109.           return x;
  110.       }
  111.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:118: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 118
  116.           if(x.data().dataType() == DataBuffer.Type.DOUBLE)
  117.               return scal((double) alpha,x);
  118. >         level1().scal(x.length(),alpha,x);
  119.           return x;
  120.       }
  121.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:145: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 145
  143.       public INDArray copy(INDArray x, INDArray y) {
  144.           LinAlgExceptions.assertVector(x,y);
  145. >         level1().copy(x,y);
  146.           return y;
  147.       }
  148.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:152: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 152
  150.       public IComplexNDArray copy(IComplexNDArray x, IComplexNDArray y) {
  151.           LinAlgExceptions.assertVector(x,y);
  152. >         level1().copy(x,y);
  153.           return y;
  154.       }
  155.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:162: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 162
  160.           if(dx.data().dataType() == DataBuffer.Type.FLOAT)
  161.               return axpy((float) da,dx,dy);
  162. >         level1().axpy(dx.length(),da,dx,dy);
  163.           return dy;
  164.       }
  165.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:173: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 173
  171.               return axpy((double) da,dx,dy);
  172.
  173. >         level1().axpy(dx.length(),da,dx,dy);
  174.           return dy;
  175.       }
  176.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:188: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 188
  186.       @Override
  187.       public double dot(INDArray x, INDArray y) {
  188. >         return level1().dot(x.length(),1,x,y);
  189.       }
  190.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:194: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 194
  192.       public IComplexNumber dotc(IComplexNDArray x, IComplexNDArray y) {
  193.           LinAlgExceptions.assertVector(x,y);
  194. >         return level1().dot(x.length(),Nd4j.UNIT,x,y);
  195.       }
  196.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:200: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 200
  198.       public IComplexNumber dotu(IComplexNDArray x, IComplexNDArray y) {
  199.           LinAlgExceptions.assertVector(x,y);
  200. >         return level1().dot(x.length(),Nd4j.UNIT,x,y);
  201.       }
  202.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:206: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 206
  204.       public double nrm2(INDArray x) {
  205.           LinAlgExceptions.assertVector(x);
  206. >         return level1().nrm2(x);
  207.       }
  208.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:219: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 219
  217.       public double asum(INDArray x) {
  218.           LinAlgExceptions.assertVector(x);
  219. >         return level1().asum(x);
  220.       }
  221.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:231: error: NULL_DEREFERENCE
  object returned by level1() could be null and is dereferenced at line 231
  229.       @Override
  230.       public int iamax(INDArray x) {
  231. >         return level1().iamax(x);
  232.       }
  233.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:248: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 248
  246.               return gemv((float) alpha,a,x,(float) beta,y);
  247.           }
  248. >         level2().gemv('N','N',alpha,a,x,beta,y);
  249.           return y;
  250.       }
  251.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:260: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 260
  258.               return gemv((double) alpha,a,x,(double) beta,y);
  259.           }
  260. >         level2().gemv('N','N',alpha,a,x,beta,y);
  261.           return y;
  262.       }
  263.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:273: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 273
  271.           }
  272.
  273. >         level2().ger('N',alpha,x,y,a);
  274.           return a;
  275.       }
  276.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:287: error: NULL_DEREFERENCE
  object returned by level2() could be null and is dereferenced at line 287
  285.           }
  286.
  287. >         level2().ger('N',alpha,x,y,a);
  288.           return a;
  289.       }
  290.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:369: error: NULL_DEREFERENCE
  object returned by level3() could be null and is dereferenced at line 369
  367.           level3().gemm(
  368.                   BlasBufferUtil.getCharForTranspose(a),
  369. >                 BlasBufferUtil.getCharForTranspose(b)
  370.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:389: error: NULL_DEREFERENCE
  object returned by level3() could be null and is dereferenced at line 389
  387.           }
  388.
  389. >         level3().gemm(
  390.                   BlasBufferUtil.getCharForTranspose(a),
  391.                   BlasBufferUtil.getCharForTranspose(b)
  392.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseBlasWrapper.java:405: error: NULL_DEREFERENCE
  object returned by level3() could be null and is dereferenced at line 405
  403.           LinAlgExceptions.assertMatrix(a,b,c);
  404.
  405. >         level3().gemm(
  406.                   BlasBufferUtil.getCharForTranspose(a),
  407.                   BlasBufferUtil.getCharForTranspose(b)
  408.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/Nd4j.java:806: error: NULL_DEREFERENCE
  object returned by getBlasWrapper().level3() could be null and is dereferenced at line 806
  804.        */
  805.       public static INDArray gemm(INDArray a, INDArray b, INDArray c, boolean transposeA, boolean transposeB, double alpha, double beta ){
  806. >         getBlasWrapper().level3().gemm(a,b,c,transposeA,transposeB,alpha,beta);
  807.           return c;
  808.       }
  809.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/Nd4j.java:2292: error: RESOURCE_LEAK
   resource of type java.io.FileOutputStream acquired by call to FileOutputStream(...) at line 2286 is not released after line 2292
  2290.           dos.close();
  2291.
  2292. >     }
  2293.

nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/Nd4j.java:5200: error: NULL_DEREFERENCE
  object returned by getProperty("java.vm.name") could be null and is dereferenced at line 5200
  5198.               }
  5199.
  5200. >             if (!System.getProperty("java.vm.name").equalsIgnoreCase("Dalvik")
  5201.                       && !System.getProperty("os.arch").toLowerCase().startsWith("arm")
  5202.                       && !System.getProperty("sun.arch.data.model").equals("64")) {
  5203.

nd4j-backends/nd4j-api-parent/nd4j-native-api/src/main/java/org/nd4j/compression/impl/Gzip.java:84: error: RESOURCE_LEAK
   resource of type org.apache.commons.io.output.ByteArrayOutputStream acquired to stream by call to new() at line 67 is not released after line 84
  82.               return result;
  83.           } catch (Exception e) {
  84. >             throw new RuntimeException(e);
  85.           }
  86.

Summary of the reports

  NULL_DEREFERENCE: 31
     RESOURCE_LEAK: 4

That's why i never use static analyzers :(

blas dereference claims are false.
gzip resource leak is false as well, that's not file output stream.

However, Nd4j leak for BOS is true surprsingly, because DataOutputStream isn't passing close further. Fixed this issue, will merge later.

@raver119 Good you found one to fix. FYI, if/when I post that kind of stuff, it's because I intend to write the PR that fixes the valid issues afterwards :)

Oh, sry then :(
Reopening now.


V12.2.5 PR14.8

Continuation of Backports PR14.8

I've disabled the premine until we can get through the backports, we should then be able to adapt the code to suit the CTransactionRef optimizations


MANGA Plus: Add preference to remove the chapter number from the name and add the site name as scanlator

Closes #4774
Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[ ] Added the isNsfw = true flag in build.gradle when appropriate
[x] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

Why add the site name as a scanlator? By definition, they aren’t a scanlator. Such a useless change.


How do I know which exception will be thrown?

In some cases, possible no of exceptions can be more than one. There are chances that we may leave one or some exceptions.
Is there a way to figure out all possible exception which can be thrown by code in try block?

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

ID: d89b0f64-db03-af39-fdf7-ccb31c9ae01b
Version Independent ID: 95c4aac2-4e98-240b-54e5-64981ab68cec
Content: CA1031: Do not catch general exception types - Visual Studio
Content Source: docs/code-quality/ca1031-do-not-catch-general-exception-types.md
Service: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

@shukla18 The documentation for .NET API methods tells you which exception(s) they throw - for example take a look at FileStream.Lock() which throws three exceptions: ArgumentOutOfRangeException, ObjectDisposedException, and IOException.
For a good article about catch exceptions in C#, see this MSDN magazine article. Hope this helps.

@shukla18 Please reopen if you feel that updates need to be made to this topic.

The problem is that .NET API is not the only API that people use. With this warning, one has to know what type of exception can come from each of the 3rd party methods called in a try-catch block.
That sucks, especially if a developer actually DOES something (e.g. log) with the exception - not just swallow it.


Connection Details

Your Question

Documentation File:
Line / Paragraph:
Question:
Our employees use the CWA at their different mobile (IOS, Android) within our company WiFi and get an error message regarding the internetconnection. We suppose a firewall issue and now we want to allow all devices wirthin our Wifi to etsablish the neccessary connection. But we can't find any information about where the CWA wants to connect to. Are there one or more specific URL's or IP's for which we can create specific exception rules on the firewall in order to ensure the trouble-free functioning of the CWA on various end devices?

Hey @harbourlad, since I'm only a Community member I can't tell you very specific things but it seems like custom SSL Certificats are not accepted by CWA.

Yes - I also assume that it has something to do with intercepting SSL certificates. It would not be the first app that does not accept such a procedure on the part of our firewall. That's why I want to provide an exception - but I need to know which endpoint the connection is against, so I can create an exception for a connection against this endpoint

Hey @harbourlad ,
I think you can find the endpoints you are looking for in this documents. Check Section 3.2.5, there should be a full list of the domains.
Regards,
CH

Corona-Warn-App Open Source Team

@harbourlad
You can start by checking that you can access the human-readable website https://www.coronawarn.app/en/ via WiFi.

Hi all,
I think my question is answered :-)
I added a Wildcardexception *.coronawarn.app and everything seems to work fine now - thank you very much.


Sending Data

Can i send data through this libraries,
I am connecting to a DA14680 chip through react native ble plx app and i want to send a json file
is that possible ?
Thanks

I have never worked with DA14680 but it looks like it supports BLE, so it's doable. Just remember that characteristic reads and writes are limited to negotiated MTU which is lower then 512B. I would suggest to use JSON binary format to compress data as much as possible (like MessagePack) to send as little chunks as possible via characteristics.

Okay this is great, sufficient for my needs
and i would be glad if you give me the name of the method to send data
Thanks

@Cierpliwy  could you please give me the name of the method that allow sending data in this library?
i really need it :(

I recommend to read intro page of documentation and check functions in it:
https://polidea.github.io/react-native-ble-plx/

@marwakhalil did you get it to work?

@briancohn , yes i used writeCharacteristicWithResponseForDevice() and it worked

@marwakhalil, can you show example how you did it?

@marwakhalil I'd really appreciate that too, thanks so much

I made a scan for all devices and i fixed a mac id for test writing
`scan() {
this.manager.startDeviceScan(null, null, (error, device) => {
if (error) {
console.log("something went wrong");
return;
}
console.log("device id est : " + device.id + "device name  : " + device.name + "device is connectable : " +
device.isConnectable + "rssi : " + device.rssi);
if (device.id === ‘XX:XX:XX:XX:XX:XX’) {
this.manager.stopDeviceScan();
device.connect()
.then((device) => {
return device.discoverAllServicesAndCharacteristics();
})
    }

})

}
send() {
this.manager.writeCharacteristicWithResponseForDevice(deviceId,
serviceId,
characteristicId,
base64Value)
.catch((error) => {
console.log('error in writing data');
console.log(error);
    })

}
`

`scan() {
this.manager.startDeviceScan(null, null, (error, device) => {
if (error) {
console.log("something went wrong");
return;
}
console.log("device id est : " + device.id + "device name : " + device.name + "device is connectable : " +
device.isConnectable + "rssi : " + device.rssi);
if (device.id === ‘XX:XX:XX:XX:XX:XX’) {
this.manager.stopDeviceScan();
device.connect()
.then((device) => {
return device.discoverAllServicesAndCharacteristics();
console.log('connected');
})
}

})
}
send() {
this.manager.writeCharacteristicWithResponseForDevice(deviceId,
serviceId,
characteristicId,
base64Value)
.catch((error) => {
console.log('error in writing data');
console.log(error);
})

}
`
i made a scan for all devices and i fixed a mac id for testing

@Hurobaki I know it's 2023, but have you found a solution to your question? I have the same trouble now.

So how to get the serviceId  and characteristicId? If someone knows about this, please let me know. Thank U so much!


Flatten and Customize Marketplace Resource Objects

The listing and offer objects, for example, currently return some key/value pairs at the top level of the object as well as some critical values nested in ipfsData.data. We should be returning thoughtful custom objects, potentially with some raw data nested for reference. As a part of this process, we should settle on property naming conventions, such as sellerAddress vs seller when the value is an Ethereum address.

Closing this since GraphQL 🤷♂


Change files to follow new repo name changes and update servers

Check all files and documentation for references to old pds- style repo names and change them to rms-. Update servers as appropriate.

Done


Decouple application type and traced span type.

Currently, transaction traces do not carry any information about the application type that they stemmed from. This introduces a limitation to profiled applications as they must be of the same type as the API that generates the root spans. Additionally, applications are limited to being able to trace only a single type of service.
Normal web containers such as Tomcat are not affected by this limitation, but standalone applications including Spring Boot, and others that use embedded containers will all be effected.
An example of this would be a standalone application that runs embedded Tomcat internally. Tomcat interceptors would generate trace data just fine, but none of them will show up on the server map.
Decoupling application type and the traced span type would solve this issue.

The current quickstart project has the exact same problem, and is worked around by setting the application type to "TOMCAT" manually inside the pinpoint.config file.


feat: add coffeesense-language-server support

@glepnir Thanks, sorry about the missed strings, that was sloppy of me not to check the CI...

It's ok :)


Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That is the worst kind of
vulnerability that exists. By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103
https://commons.apache.org/proper/commons-collections/security-reports.html
http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

Good point @gmlewis. As I can see in your profile you lauched the same PR in several repos. Good work, thanks!