offersByScrolling() and  offersByScrollingByUrl() does not work

Hey everyone so I have been trying to scrape some page from Opensea. And I have used the  offersByScrollingByUrl() but I was unsuccessful.
When I use these methods  offersByScrollingByUrl() even though I provide the resultSize it stop once it reaches the bottom of page.
and once it reaches the bottom it returns empty resuly.
{ offers: [], stats: { totalOffers: undefined } }
my code:
`const options = {
debug: false,
logs: true,
sort: false,
additionalWait: 0,
browserInstance: undefined,
};
(async () => {
try {
let resultSize=1
const urlWithFilters = 'https://opensea.io/collection/wilderness-to-blockchain-editions?search[sortAscending]=false&search[sortBy]=LAST_SALE_DATE&search[toggles][0]=BUY_NOW';
const res = await OpenseaScraper.offersByScrollingByUrl(urlWithFilters,resultSize, options);
OpenseaScraper.
//   const res = await OpenseaScraper.offersByUrl(urlWithFilters,options)
console.log(res);
} catch (err) {
console.log(err);
}
})();`
Any help??
thanks
using the latest v 6.5.2.

@MetalGear-cmd sorry for the late reply, offersByScrolling is not working anymore (unfortunately), see issue #36 and disclaimer in the readme file. Closing as duplicate.


Add support for termsrv 9600.18931

Win 8.1 build 9600.18931, please add support
termsrv_9600.18931.zip

I have Windows 8.1 on my Media Center and it also just got updated but with Version 18928 but it is much larger than yours. Did you send the 32 bit version by any chance? And yes, I unzipped yours before comparing.

Attached binary have build number 6.3.9600.18928, so duplicate of #418.


WIP Async/await support

This adds support for using TcpSocket with async/await code. If the approach proves good I'll add wakers to the other sockets too.
The approach is to do the minimum required changes to core smoltcp, which allow making higher-level wrappers that can be used with async/await. This way smoltcp can stay un-opinionated:

The no_std ecosystem hasn't converged on any standard io traits yet. The Rust standard is futures::io::{AsyncRead/AsyncWrite}, but these aren't no_std compatible.
There are non-trivial tradeoffs when implementing the wrappers (how are sockets allocated, is there a single global tcp/ip stack or multiple, how are lifetimes handled).

I'm working on PoC wrappers, will report back soon!

FWIW, we have some async glue here: https://git.m-labs.hk/M-Labs/zynq-rs/src/branch/master/libasync/src/smoltcp
This new approach with wakers per socket looks more efficient.

Moved to https://github.com/smoltcp/smoltcp/pull/130


Chaincode termination if OPENCHAIN_SECURITY_PRIVACY = false

Chaincode termination if OPENCHAIN_SECURITY_PRIVACY = false
Version: b6ea3b0
Conditions

A single peer works in chaincode-dev mode with enabled security and privacy
The example_chaincode02 and the obc-ca server are also run on the same host inside the vagrant dev environment
The only one user user Jim has logged in the system via CLI

Steps to reproduce
Deploy
OPENCHAIN_SECURITY_ENABLED=true OPENCHAIN_SECURITY_PRIVACY=true obc-peer chaincode deploy -u jim -n mycc -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'

Query
OPENCHAIN_SECURITY_ENABLED=true OPENCHAIN_SECURITY_PRIVACY=true obc-peer chaincode query -u jim -n mycc -c '{"Function":"query", "Args": ["a"]}'

Query with missed OPENCHAIN_SECURITY_PRIVACY variable
OPENCHAIN_SECURITY_ENABLED=true obc-peer chaincode query -u jim -n mycc -c '{"Function":"query", "Args": ["a"]}'

Result
Chaincode terminates with the message:
Error starting Simple chaincode: Error handling message: [b8ab7ea7-913f-4685-b3cb-06b6e91cde11]Chaincode handler FSM cannot handle message (ERROR) with payload size (52) while in state: ready

An encryption error on the peer's side:
17:30:57.241 [chaincode] func1 -> ERRO 023 [b8ab7ea7]Got error (error getting crypto encryptor Invalid invoke nonce.) while decrypting. Sending ERROR
17:30:57.245 [chaincode] processStream -> ERRO 024 [b8ab7ea7]Error handling message, ending stream: [b8ab7ea7-913f-4685-b3cb-06b6e91cde11]Chaincode handler validator FSM cannot handle message (ERROR) with payload size (134) while in state: ready

Could you please clarify whether this is expected behavior or not?
Thank you

It is expected behavior. The key is this error "Got error (error getting crypto encryptor Invalid invoke nonce.) while decrypting". Peer is unable to decrypt as the OPENCHAIN_SECURITY_PRIVACY is not set.


Initiate Package Review request

Created the package review request in the software-review-2023. Update with final version number once it's released.
https://github.com/UBC-MDS/software-review-2023/issues/40


4.7.6 FName cannot be converted to const TCHAR*

At least for me building UE4.7.6 with klawr complains in K2_LineTraceComponent in PrimitiveComponent.klawr.h.
(FName cant be converted to const TCHAR*)
Since this file is generated i'm not entirely sure where to find the cause for this.
But if you throw me a bone i'm happy to hunt this one down :)

I'll take a look at this today.

I'm also getting a c# compile error, which i cant see since the window it dissapears instantly and i cant find a logfile for this task. Doesnt break UBT tho but results in a crash when the editor starts.

Yeah I've noticed that too, you can see the actual error by running Engine\Intermediate\ProjectFiles\Klawr\Build.bat from a console window. There's a file being generated that shouldn't be, don't know why yet.

The TestActor errors out, cos K2_GetWorld apparently doesnt exist

yeah, got it running
2 things:
FName conversion to const TCHAR*
and
copying of the Klawr.UnrealEngine.dll/pdb into UnrealEngine\Engine\Binaries\Win64\Klawr\Assemblies needed to be fixed.
i post a fix later after i checked functionality a bit. But at least the editor runs :)

Cool. I'm working on solving the FName to const TCHAR* issue by marshaling FName to FScriptName. How did you get around it?

Since i'm not the c++ guy (therefore i want this working, lol) i changed in the K2_LineTraceComponent  the conversion to
BoneName = *(Param.BoneName.ToString());
To be more explicit:
KlawrNativeWrapperGenerator.cpp
in GenerateFunctionWrapper i added a if (param->IsA(UNameProperty::StaticClass())) and there i added TEXT"%s = *(Params.%s.ToString());"), *param->GetName(), *param->GetName());
This took care of the conversion (i hope i dont mess up memory stuff with this one tho)
oh and the template is missing the
using Klawr.ClrHost.Managed.SafeHandles;

full file: http://pastebin.com/rtY89wCg

Do you remember if the AActor::GetWorld() always had the 'const' at the end?
I think this would still be an issue to solve

No clue about AActor::GetWorld(), sorry.

It was in your TestActor.cs (K2_GetWorld). but K2_GetWorld isnt created, so i thought they might have changed the function designation.

Quite possible, I haven't been paying a lot of attention to new releases in the past few months.

i probably wont need getworld in the scripts anyway, i want to use it for level calculation/creation where i just dont have the stomach for c++

btw very nice wrapper generator. You have my thanks :)

Is exposing variables/functions from c# to blueprint implemented already?

Unfortunately not, those are still open issues. I've just committed a fix for the generator to deal with UPrimitiveComponent::K2_LineTraceComponent(). I'll probably take a look at fixing the generated C# project tomorrow.

I take a look at the exposing variables issue. Maybe i can come up with a solution (shouldnt be that hard)

Good luck :), see issues #26 and #27.

All build issues should be resolved at this point, UE 4.8 is now the minimum supported version.


How to omit xml declaration and remove indentation?

I want to know how I can omit xml declaration and remove indentation.

Did you work through tutorial and documentation? Sometimes also the the examples or to study the code itself could be helpful?

I have seen through documentation but I did not find how to remove indentation but I find a way to omit xml declaration

Regarding removing indentation try document.normalize(trimWhitespace: (text) => true), see XmlNormalizerExtension.normalize.


[SPARK-15337] [SPARK-15338] [SQL] Enable Run-time Changes on Hive-related Conf

What changes were proposed in this pull request?
Currently, we are facing two issues when using the Set Command.

When changing a Hive-related conf at runtime, we are not passing the change to the underlying Hive metastore. For example, SET hive.metastore.warehouse.dir=/x/y/z The following link contains the possible conf: https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties

When changing the warehouse path conf spark.sql.warehouse.dir, we are not changing the corresponding Hive metastore default warehouse path conf: hive.metastore.warehouse.dir. Thus, this change does not take effect if the underlying catalog is Hive metastore.

This PR is to fix the above two issues by using the native Hive SQL interface, if necessary.
How was this patch tested?
Added two test cases to verify if the run-time configuration works in either Hive metastore or In-Memory Catalog

Test build #58625 has started for PR 13128 at commit d8d6ca3.

Test build #58625 has finished for PR 13128 at commit d8d6ca3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58625/
Test FAILed.

@gatorsmile the title of the PR could be better. I thought you were preventing users from making changes to Hive's runtime configuration; it is the opposite.

Yeah... : ) Just fix it.

Test build #58660 has started for PR 13128 at commit 52161e4.

Test build #58660 has finished for PR 13128 at commit 52161e4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58660/
Test FAILed.

Merged build finished. Test FAILed.

Test build #58663 has started for PR 13128 at commit 372b492.

Test build #58663 has finished for PR 13128 at commit 372b492.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58663/
Test FAILed.

Merged build finished. Test FAILed.

@gatorsmile For 2.0, all confs should go into spark conf or sql conf. What is the reason to change this?

@yhuai For example, after we starting Spark, we want to do a run-time configuration change. set spark.sql.warehouse.dir=x/y/z. This is not sent to Hive metastore. Basically, metastore is still using the value we set at the beginning. See the link: https://github.com/apache/spark/blob/7bf9b12019bb20470b726a7233d60ce38a9c52cc/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSharedState.scala#L39-L48
In addition, I am afraid that hive.metastore.warehouse.dir is not the only parameter users might change at runtime. If any change is made at runtime, we just change/set the value in our in-memory configuration . We did not propagate the changes to Hive metastore. Do you think this should be a concern?
If both are not supported, we should issue exceptions to users that the run-time changes are not supported. Now, we silently accept the Hive-related configuration changes but the changes are not activated.

All Spark confs are not mutable. For SQL, those metastore related confs are also not mutable considering the long-running metastore client that we have. I do think it is reasonable to explicitly mark spark.sql.warehouse.dir as not mutable. We can make it clear in our doc (for example, have a list of immutable confs of SQL in Spark SQL programming guide). If we want to throw exceptions, it will be good to consider both Spark conf and immutable SQL confs together.

uh, I see. Will submit a separate PR to document them, and another one for issuing exceptions for all the immutable confs.

Test build #59132 has started for PR 13128 at commit 372b492.

Test build #59132 has finished for PR 13128 at commit 372b492.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59132/
Test FAILed.

Test build #59143 has started for PR 13128 at commit 372b492.

Test build #59143 has finished for PR 13128 at commit 372b492.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59143/
Test FAILed.

Merged build finished. Test FAILed.


Missing aiohttp example

the aiohttp example is missing also the Server & Database configuration, I am looking into aioauth and still don't know how to use it :(

Thanks for showing interest in aioauth!
There are examples for FastAPI, they are in a separate repository.
The storage example is here: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi_demo/oauth2/storage.py#L21
and authorization server example: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi_demo/oauth2/endpoints.py#L29

For aiohttp the code will be similar, you have to implement the following helper functions for aiohttp: https://github.com/aliev/aioauth-fastapi/blob/master/aioauth_fastapi/utils.py


where we can enable or show the card holder name option in card payment details

**Describe the bug**

The holderNameRequired parameter does not work as expected in the Adyen React Native SDK. Setting this parameter to true does not display the cardholder name field in the card component.
To Reproduce
Steps to reproduce the behavior:

Set holderNameRequired to true in the configuration object for the card component.
Go to the example app.
Click on "Open DropIn".
Select the Card Payment Method.
Observe that the cardholder name field is not visible.

Expected behavior
The cardholder name field should be visible when holderNameRequired is set to true.
const dropInConfiguration = {
  paymentMethodsConfiguration: {
    card: {
      holderNameRequired: true,
      addressVisibility: 'postalCode',
    },
  },
};

Thanks

<EMAIL_ADDRESS>

Hey @ak19945
I believe you are using paymentMethodsConfiguration  from Web SDK.
For react native we simplified it:
const dropInConfiguration = {
  environment: 'test',
  clientKey: '{YOUR_CLIENT_KEY}',
  ...
  card: {
    holderNameRequired: true,
    addressVisibility: 'postalCode',
   ...
  }
};

See Configuration reference.

@descorp Thanks now also not coming

Hey @ak19945
I have double checked, and it works as expected on 2.1.1
I would suggest to check your integration code.

Hey @ak19945, any luck?


Compatibility with GCC-13.2.0 and OpenMPI-4.1.5

Dear MFEM team,
Parallel MFEM was installed with GCC-13.2.0 and OpenMPI-4.1.5 along with Hypre and MeTiS-5. CMake was used to build and install.
The installation went okay but during the tests, all of the parallel tests get failure (e.g., 95 - performance_ex1p_np=4 (Failed)). I was wondering if the latest version of MFEM is compatible with GCC-13.2.0 and OpenMPI-4.1.5, since I was getting some error in the build of MFEM if I download source tar-ball, instead of cloning the master repository of MFEM.

Hypre-2.29.0 was used. MeTiS-5 was taken from https://github.com/mfem/tpls

Any comments will be significantly helpful.

Can you run the CMake tests with ctest --output-on-failure and post (at least some of) the errors?

I resolved this issue by following:

Use Hypre-2.24.0
Use git clone of MFEM, instead of downloading source tar-ball.
All the tests of MFEM passed with GCC-13.2.0.

Thank you for the support. But I do not understand why source tar-ball gives me the error, unlike the cloning the repo.

Can you run the CMake tests with ctest --output-on-failure and post (at least some of) the errors?

make was failed with source tar-ball with gcc-13.2.0. So I cannot run "ctest --output-on-failure"


Update bash-spec.sh

Fixed a few minor issues with the last test framework PR that broke some of the expectations.

Thanks guys


[NetworkPeerServer] Limit maximum inbound connections and stall once it has been reached.

Fix #1054

Yes like that

@dangershony we have the approval of @Aprogiena now :) OK to approve this PR?

Yes we can commit I would just like to have a description of the DoS attack prevention in the comments, I will skype with him and then approve this.

now you can remove MaxConnectionThresholdStallTime

The possibility of DoS is from a malicious peer exhausting the inbound count and sending a peer to a recurring 60 sec sleep effectively blocking new inbound connections.


bitcoin: create OutPoint eq methods

Helpers methods added to HashValue and OutPoint to test for equality.
Closes #249

Codecov Report
Base: 94.12% // Head: 94.13% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (1ce1d55) compared to base (9a5dbfc).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  Coverage   94.12%   94.13%
=======================================
  Files         200      200
  Lines        5484     5488    +4
  Branches      655      658    +3
=======================================
+ Hits         5162     5166    +4
  Misses        179      179
  Partials      143      143

Impacted Files
Coverage Δ

packages/bitcoin/lib/HashValue.ts
90.47% <100.00%> (+1.00%)
:arrow_up:

packages/bitcoin/lib/OutPoint.ts
78.57% <100.00%> (+1.64%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Azure cloud provider config file

Is this a BUG REPORT or FEATURE REQUEST?: HowTo or bug
What happened:
I want to install a kubernetes cluster in Azure. I use KET for deploy to Azure virtual machines (I do not want to use AKS Azure, which is now in the preview)
Everything is installed and works well until I turn on the cloud_provider: "azure" option in the kismatic-cloud.yml file. There is little information on the Internet about what a configuration file should be for an azure provider option. I found only the one documentation for the link https://github.com/alexbrand/ket-on-azure, where there is an example of a configuration, but this does not work for KET. I get an error:
What you expected to happen:
Validate Kubernetes Control Plane is Running                                    [ERROR]

Task: fail if pod 'kube-apiserver' does not have the desired version
k8s-master1-lab: An error occurred getting the pod's version using kubectl.

The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
error executing jsonpath "{.items[0].metadata.annotations.kismatic/version}": array index out of bounds: index 0, length 0
[ERROR]
k8s-master2-lab: An error occurred getting the pod's version using kubectl.
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?
error executing jsonpath "{.items[0].metadata.annotations.kismatic/version}": array index out of bounds: index 0, length 0
[ERROR]
error installing: error running playbook: error running ansible: exit status 2
I need help with the correct instruction that you need to specify in the file azure_cloud_provider.config
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
What I did:

Deployed Azure infrastructure: 3 etcd, 2 master, 2 worker, 2 ingress

all in one resource group

The file azure_cloud_provider.config:
{
"tenantId": "e70xxx-xxxx-xxxx-xxxx-xxxx4774",
"subscriptionId": "1524xxx-xxxx-xxxx-xxxx-xxxxx2fa",
"aadClientId": "5xxxx-xxxx-xxxx-xxxx-xxxxx991bcb",
"aadClientSecret": "xxxxx-xxxxx-xxxx-xxxx-xxxxxa5",
"resourceGroup": "RG-k8s-lab"
}

Environment:

Kismatic version (use kismatic version): 1.9.1
Plan file Gist (remove sensitive information if any):
in the attachment
kismatic-cluster.zip
Cloud provider or hardware configuration: Azure
OS (e.g. from /etc/os-release): CentOS 7.3
Kernel (e.g. uname -a): Linux k8s-master1-lab 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Which CNI are you using?

Check the kube-apiserver logs by SSHing on the master and running docker logs on the kube-apiserver container.

CNI - weave

I checked logs and see the following:
I0330 20:20:46.454028       1 server.go:121] Version: v1.9.3
I0330 20:20:46.454082       1 cloudprovider.go:59] --external-hostname was not specified. Trying to get it from the cloud provider.
I0330 20:20:46.454534       1 azure.go:249] azure: using client_id+client_secret to retrieve access token
E0330 20:20:46.466424       1 azure_blobDiskController.go:76] azureDisk - getAllStorageAccounts error: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/1524dbf7-2965-4d78-9654-0866a30352fa/providers/Microsoft.Storage/storageAccounts?api-version=2017-06-01: StatusCode=0 -- Original Error: adal: Failed to execute the refresh request. Error = 'Post https://login.microsoftonline.com/e70cc890-1be6-4d4f-98f8-84204d344774/oauth2/token?api-version=1.0: x509: failed to load system roots and no roots provided'
E0330 20:20:46.486109       1 azure_util.go:421] error: az.getIPForMachine(k8s-master1-lab), az.getVirtualMachine(k8s-master1-lab), err=azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/1524dbf7-2965-4d78-9654-0866a30352fa/resourceGroups/RG-k8s-lab/providers/Microsoft.Compute/virtualMachines/k8s-master1-lab?%24expand=instanceView&api-version=2017-03-30: StatusCode=0 -- Original Error: adal: Failed to execute the refresh request. Error = 'Post https://login.microsoftonline.com/e70cc890-1be6-4d4f-98f8-84204d344774/oauth2/token?api-version=1.0: x509: failed to load system roots and no roots provided'
E0330 20:20:46.486128       1 azure_backoff.go:141] backoff: failure, will retry,err=azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/1524dbf7-2965-4d78-9654-0866a30352fa/resourceGroups/RG-k8s-lab/providers/Microsoft.Compute/virtualMachines/k8s-master1-lab?%24expand=instanceView&api-version=2017-03-30: StatusCode=0 -- Original Error: adal: Failed to execute the refresh request. Error = 'Post https://login.microsoftonline.com/e70cc890-1be6-4d4f-98f8-84204d344774/oauth2/token?api-version=1.0: x509: failed to load system roots and no roots provided'
I0330 20:20:46.486137       1 azure_instances.go:53] NodeAddresses(k8s-master1-lab) abort backoff
error setting the external host value: failed to get external host address from "azure" cloud provider: timed out waiting for the condition

What OS are you using?

CentOS 7.3. I updated the environment settings in the issue ticket. Sorry that I did not do it at first

I'm a little advanced in my problem! I deployed the original cluster AKS from Microsoft, looked at the configuration file (azure_cloud_provider.config) there and made it for KET ( in AKS file name is azure.json). The error has disappeared. The cluster started. But there is another problem. For example, when I want to deploy a persistant volume, I get an error:
C:\Users\prokh>kubectl describe pvc
Name:          volume-claim-name
Namespace:     default
StorageClass:  premium
Status:        Pending
Volume:
Labels:
Annotations:   kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{"volume.beta.kubernetes.io/storage-class":"premium"},"name":"volume-claim-...
volume.beta.kubernetes.io/storage-class=premium
volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/azure-disk
Finalizers:    []
Capacity:
Access Modes:
Events:
Type     Reason              Age   From                         Message

Warning  ProvisioningFailed  2m    persistentvolume-controller  Failed to provision volume with StorageClass "premium": azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/1xxxxx-xxxxx-xxxx-xxx-08xxxxxxxxx/resourceGroups/RG-k8s-lab/providers/Microsoft.Compute/disks/kubernetes-dynamic-pvc-xxxxxxeb-xxx-xxxx-xxx-xxxxxxxxx?api-version=2016-04-30-preview: StatusCode=0 -- Original Error: adal: Failed to execute the refresh request. Error = 'Post https://login.microsoftonline.com/xxxxx-xxxx-xxxx-xxxx-xxxxx/oauth2/token?api-version=1.0: x509: failed to load system roots and no roots provided'
For some reason, azure authentication to azur api does not work

All the same the cloud provider for azure does not work. Re-created the environment again. Everything from scratch. The error repeated:
E0402 09:37:33.504889       1 azure_backoff.go:141] backoff: failure, will retry,err=azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/xxxx-xxxx-xxx-xxxx-xxxxx/resourceGroups/RG-k8s-lab/providers/Microsoft.Compute/virtualMachines/k8s-master1-lab?%24expand=instanceView&api-version=2017-03-30: StatusCode=0 -- Original Error: adal: Failed to execute the refresh request. Error = 'Post https://login.microsoftonline.com/xxx-xxxx-xxx-xxx-xxxxxxx/oauth2/token?api-version=1.0: x509: failed to load system roots and no roots provided'
I0402 09:37:33.504899       1 azure_instances.go:35] NodeAddresses(k8s-master1-lab) abort backoff
error setting the external host value: failed to get external host address from "azure" cloud provider: timed out waiting for the condition
Perhaps this is the problem of the Azure cloud provider in kubernetes. Can someone confirm this?

@DmitriyProkhorov looks like the OS image you are using does not use standard CA certificates location /etc/ssl/certs/, the kube-apiserver and controller-manager will need those to be able to connect to the Azure's API.
Can you take a look for your specific OS where those certs are and then mount those in the ansible playbooks below to see if that fixes it:
ansible/playbooks/roles/kube-apiserver/templates/kube-apiserver.yaml
ansible/playbooks/roles/kube-controller-manager/templates/kube-controller-manager.yaml

Interesting from the issue you created upstream they are suggesting to remove /etc/ssl

On Ubuntu Server it all worked. The way to clean the / etc / ssl folder did not help for me.
Can I use CentOS 7.4? The requirements of KET specify Centos 7.3 only

We test and recommend 7.3 because thats the version available on AWS, however 7.4 should work.

@DmitriyProkhorov I'm curious to know if 7.4 worked without having to modify any of the playbooks.


Google App Invites For Android SMS OK Email Not Sent After Play Services 8.3 Update

My app is in closed alpha. I tested release & debug keys and the app invite accepts emails tells me invites were sent but I don't receive the emails. SMS work ok.
This was working fine but I had to update android studio 2.0 preview and play services 8.3 and it stopped working.
I tested on Genymotion, Nexus 5 and Galaxy s6. Same issue.
I tested the app invites sample and that works fine on all devices.
I deleted and recreated my API keys hoping that would be an issue, no luck.
Is there a way to diagnose such issues? I don't see any error messages in logcat. I'm suspecting there's some message on your end that is not propagated. Can you guys please take a look?
Package: com.fitzo.android

@qaiserhabib so in the `onActivityResuly

You can enable debug logging with
adb shell setprop log.tag.AppInviteAgent VERBOSE
Then you will see more information in your logcat.  Also try sending to a variety of email addresses to make sure the emails are not being caught in the spam filter.

Closing as AppInvites has now moved to Firebase


Allow multiline property value declarations

The BSS parser eagerly presumes end of line to mean end of property value declaration, but this isn't the case in CSS proper.

BSS (fails)
Mithril via cssText assignment (works)
Raw CSS stylesheet rules (works)

Lol.. this is great @barneycarroll ... I've seriously just 1 hour ago, while trying something like this with my colleague, said I needed to implement proper handling of scenarios like these :P

Hey @barneycarroll
The fix here https://github.com/porsager/bss/commit/64d8d7f3f49fe2765185fb3c3fb24a399108c180 probably needs a bit more work, but it does cover your cases without sacrificing any current functionality.


Add zero to hexadecimal numbers below F (16)

I wasn't sure where to add the spec, because there is no seperate spec for toHexString. If it should be somewhere else, they'll tell us in the PR I guess.

Seems good :+1:

Nice fix. I think we PR it in the real atom repository

Will do!


Convert Date picker to Variants

[Save until onboarding]
Variants in Figma

[ ] Add documentation link

This can be designed by making all the Day and Period components into a variant, and change the name of the component set to ".Date" or something similar. After that another variant is created out of the date picker itself. This method allows the user to insert a date picker, and easily change the variants of the dates in the calendar.
Variant properties for date picker:
Dark theme: True/False
Variant properties for date:
Dark theme: True/False
Today: True/False
Position: Single/Left period/Center period/Right period
Selected: True/False
State: Enabled/Disabled/Hover/Pressed/Focus

Moved back to To do to save it for onboarding of new designer.

Ready for review @lucasveil

Good to go @BirteThornquist


TN-141 pass entry_method via QS in and out of AE

Hello @pbugni! Thanks for submitting the PR.

In the file portal/views/assessment_engine.py, following are the PEP8 issues :

Line 1351:80: E501 line too long (85 > 79 characters)


review phases

Added contributor pool size in #49. Look again at timeline plots, does anything of interest emerge?

Also because of fixing bug #48.

Nope, nothing major. The contributor pool size is a nice visual though, roughly following the forks and stars.


Setting root page on back button (bug)

Ionic version:
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...
[x] bug report
[ ] feature request
Current behavior:
I have a list on a page with tabs, when I select an item I go the details page, when I click the back button the root page changes and the back button disappears.
I'm not doing anything extra on the back button, only happening in iOS

Ionic info:
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.1
    ionic (Ionic CLI) : 3.19.1

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.1.0
    Cordova Platforms  : android 6.3.0 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2
    Node       : v8.9.3
    npm        : 5.6.0
    OS         : macOS High Sierra
    Xcode      : Xcode 9.2 Build version 9C40b

Environment Variables:

    ANDROID_HOME : Users/gobae/Library/android/sdk

Misc:

    backend : pro

It is really hard to tell from the animation above what is going on but it looks like:

start on list page
click on Sitio Hospital Civil
details page open
click on back button
list page shown for a little bit
page switches to Sitio Hospital Civil page again without anyone touching anything

That last bit is the problem you are reporting, that the app should be showing the list page after the back button is hit but is instead switching back to the detail page after showing the list page for a short bit. Is that correct? If not, can you please clarify?
Either way, can you also please provide a sample application via GitHub that demonstrates this issue?

Yes that's exactly what is happening, and also removes the tabs. And do you need a whole project or just the code of the list and the details page?

I created updated ionic, created a new project and migrated /src directory and carefully installed al plugins and dependencies. It works now.


feat: return APIError from ReloadDeclarativeRawConfig

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.03%. Comparing base (992aa54) to head (e47a3d3).

:exclamation:  There is a different number of reports uploaded between BASE (992aa54) and HEAD (e47a3d3). Click for more details.
HEAD has 121 uploads less than BASE
| Flag | BASE (992aa54) | HEAD (e47a3d3) |
|------|------|------|
|integration|65|8|
|community|44|8|
|2.8|3|1|
|2.6|3|1|
|3.5|6|1|
|3.4|6|1|
|3.1|6|1|
|3.6|6|1|
|2.2|3|1|
|2.5|3|1|

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #452       +/-   ##
===========================================
- Coverage   59.41%   43.03%   -16.38%
===========================================
  Files          71       71
  Lines        4408     4408
===========================================
- Hits         2619     1897      -722
- Misses       1174     2141      +967
+ Partials      615      370      -245

Flag
Coverage Δ

2.1
?

2.2
18.94% <0.00%> (-29.41%)
:arrow_down:

2.3
?

2.4
?

2.5
19.03% <0.00%> (-30.00%)
:arrow_down:

2.6
19.03% <0.00%> (-30.00%)
:arrow_down:

2.7
?

2.8
19.03% <0.00%> (-31.70%)
:arrow_down:

3.0
?

3.1
19.19% <0.00%> (-37.10%)
:arrow_down:

3.2
?

3.3
?

3.4
42.10% <0.00%> (-16.61%)
:arrow_down:

3.5
19.80% <100.00%> (-36.71%)
:arrow_down:

3.6
38.61% <0.00%> (-17.90%)
:arrow_down:

community
43.03% <100.00%> (-0.44%)
:arrow_down:

enterprise
?

integration
43.03% <100.00%> (-16.38%)
:arrow_down:

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

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


Editor selection is broken in SCM editor

Here's a recording demonstrating Insiders (left) and previous Stable 1.74 (right):
https://user-images.githubusercontent.com/22350/217783637-c155d3fe-7c8d-424f-b06c-4f2c16ed9b0a.mp4
Steps:

Open the SCM view and add a long line
Shorten the width of the side bar such that the text wraps

🐛 Notice how:

When selecting the entire buffer, the selection expands beyond the text
When selecting a subrange, sometimes the start position of the selection moves
The rounded corners is generally broken: not all corners are rounded any more. This applies even for 1.74.

vscode-bisect points to https://github.com/microsoft/vscode/compare/44531ffc7b7477dbe82750040d8ed69bae2bb140...edc432e920c3ec2c2af5e8a99b8e4b782633d298 and a manual bisect points to aefa7eaf19557e102b9bcc9068ec5b0518e76beb being the first bad commit

Reverting this one line from the change fixes the rendering problem.
This diff fixes the rendering problem:
diff --git a/src/vs/workbench/contrib/scm/browser/media/scm.css b/src/vs/workbench/contrib/scm/browser/media/scm.css
index 83f6688bb64..22b980f3efe 100644
--- a/src/vs/workbench/contrib/scm/browser/media/scm.css
+++ b/src/vs/workbench/contrib/scm/browser/media/scm.css
@@ -371,7 +371,7 @@
 .monaco-workbench .part.basepanel > .content .scm-view .scm-editor-container .monaco-editor .margin,
 .monaco-workbench .part.basepanel > .content .scm-view .scm-editor-container .monaco-editor .monaco-editor-background {
 	color: inherit;
-	background-color: unset
+	background-color: var(--vscode-input-background);
 }

 .scm-view .scm-editor-container .mtk1 {

The root problem here is that it is not supported that the editor background color is transparent. The class name ".monaco-editor-background" is used to render rounded corners and that stops working if it is transparent.

Thank you @alexdima. Tested the changes the created a PR.


Keda-Operator : ScaledObject doesn't have correct scaleTargetRef specification although my specifications are correct

A clear and concise description of what the bug is.
In a Kubernetes cluster I have created deployment each for Selenium-Hub and Chrome  , and the respective services are also created and currently my tests are running on this setup. I wanted to auto-scale the pods depending on the session que requests and I used Keda - Selenium-Grid for that , but unfortunately Im running into an issue which says ScaledObject doesn't have correct scaleTargetRef specification , all the objects such as scaled objects , pods are on the same namespace
Expected Behavior
Scaled Object should create without Issue
Actual Behavior
Shows ScaledObject doesn't have correct scaleTargetRef specification by Keda-Operator

My .yaml files are as below
apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata:   name: selenium-scaledobject   namespace: default   labels:     deploymentName: selenium-chrome-node spec:   scaleTargetRef:     name: selenium-chrome-node         minReplicaCount: 0   maxReplicaCount: 80   pollingInterval: 50   triggers:     - type: selenium-grid             metadata:         url: 'http://selenium-hub-service:80/graphql'          browserName: 'chrome'

PS - the url in the metadata section is the url of the hub service that I have created in my cluster and its respective port
Steps to Reproduce the Problem
1.Make 2 deployments in a Kubernetes cluster for Hub and the Node
2.Create the respective services to be access locally (Port Forwarding)
3.Setup the ScaledObject as described above pointing to the Chrome Node Deployment
Specifications

KEDA Version: Keda 2.11.2
Platform & Version: Windows 10 X64
Kubernetes Version: v1.24.16-eks-2d98532
Scaler(s): Keda - ScaledObject

Could you share KEDA operator logs? It looks like the deployment doesn't exist, but I think that we will see a more clear message in KEDA operator logs

@JorTurFer I have missed to add the name: selenium-node-chrome which is mentioned under scaletargetref spec in my chrome deployment labels, this is working now

Hello can u help me i was facing the same issue the issue was as follows
Type     Reason                   Age                    From           Message

Warning  ScaledObjectCheckFailed  47m (x9 over 47m)      keda-operator  Target resource doesn't exist
Warning  ScaledObjectCheckFailed  47m (x9 over 47m)      keda-operator  ScaledObject doesn't have correct scaleTargetRef specification
Normal   KEDAScalersStarted       47m                    keda-operator  Started scalers watch
Normal   ScaledObjectReady        47m (x3 over 47m)      keda-operator  ScaledObject is ready for scaling
Warning  KEDAScalerFailed         47m                    keda-operator  error inspecting rabbitMQ: Exception (404) Reason: "NOT_FOUND - no queue 'inference_queue' in vhost '/'"
Normal   KEDAScalersStarted       2m31s (x719 over 47m)  keda-operator  Scaler rabbitmq is built.
but my hpa was as follows
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: my-microservice-scaledobject
namespace: dev
spec:
scaleTargetRef:
name: my-microservice  # The name of your deployment
pollingInterval: 5  # Time interval to poll RabbitMQ queue for messages
cooldownPeriod: 30  # Time to wait before scaling down after scaling up
minReplicaCount: 0  # Minimum replicas can scale to 0
maxReplicaCount: 20  # Maximum replicas (adjust based on your needs)
triggers:

type: rabbitmq
metadata:
host: "amqp://admin:Truefan@123@ec2-3-108-9-50.ap-south-1.compute.amazonaws.com:5672"  # Correct RabbitMQ URL
queueName: "inference_queue"  # The RabbitMQ queue name to monitor
vhost: "naveen-test-dev"  # The vhost name (ensure this is the correct vhost in RabbitMQ)
queueLength: "1"  # Scale 1 pod per message in the queue

i was the file name as hpa.yml and the deploying in the dev namespace and keda operator in the keda namespace can any help me with this

Hello can u help me i was facing the same issue the issue was as follows
Type Reason Age From Message
Warning ScaledObjectCheckFailed 47m (x9 over 47m) keda-operator Target resource doesn't exist Warning ScaledObjectCheckFailed 47m (x9 over 47m) keda-operator ScaledObject doesn't have correct scaleTargetRef specification Normal KEDAScalersStarted 47m keda-operator Started scalers watch Normal ScaledObjectReady 47m (x3 over 47m) keda-operator ScaledObject is ready for scaling Warning KEDAScalerFailed 47m keda-operator error inspecting rabbitMQ: Exception (404) Reason: "NOT_FOUND - no queue 'inference_queue' in vhost '/'" Normal KEDAScalersStarted 2m31s (x719 over 47m) keda-operator Scaler rabbitmq is built.
but my hpa was as follows
apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: name: my-microservice-scaledobject namespace: dev spec: scaleTargetRef: name: my-microservice # The name of your deployment pollingInterval: 5 # Time interval to poll RabbitMQ queue for messages cooldownPeriod: 30 # Time to wait before scaling down after scaling up minReplicaCount: 0 # Minimum replicas can scale to 0 maxReplicaCount: 20 # Maximum replicas (adjust based on your needs) triggers:

type: rabbitmq
metadata:
host: "amqp://admin:Truefan@123@ec2-3-108-9-50.ap-south-1.compute.amazonaws.com:5672"  # Correct RabbitMQ URL
queueName: "inference_queue"  # The RabbitMQ queue name to monitor
vhost: "naveen-test-dev"  # The vhost name (ensure this is the correct vhost in RabbitMQ)
queueLength: "1"  # Scale 1 pod per message in the queue

i was the file name as hpa.yml and the deploying in the dev namespace and keda operator in the keda namespace can any help me with this

This issue was closed some months ago, could you open a new one to track your case?


interim update of new categories

update structure to standard Azure categories.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/TOC.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

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

File
Status
Preview URL
Details

:x:Error

Details

_dependentPackages/CommonPlugins/tools/JoinTOC.ps1
:x:Error

Details

[Error]

YamlDotNet.Core.YamlException: (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 1, Idx: 0): No node deserializer was able to deserialize the node into type Microsoft.DocAsCode.DataContracts.Common.TocItemViewModel, Microsoft.DocAsCode.DataContracts.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
   at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
   at Microsoft.DocAsCode.YamlSerialization.YamlDeserializer.LooseAliasValueDeserializer.DeserializeValue(IParser reader, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)
   at Microsoft.DocAsCode.YamlSerialization.YamlDeserializer.Deserialize(IParser parser, Type type, IValueDeserializer deserializer)
   at Microsoft.DocAsCode.YamlSerialization.YamlDeserializer.Deserialize[T](TextReader input, IValueDeserializer deserializer)
   at Microsoft.DocAsCode.Common.YamlUtility.Deserialize[T](String path)
   at Microsoft.OpenPublishing.PluginHelper.TocHelper.TryParseTocAsObjectModel(String tocPath, TocItemViewModel& toc)
   at Microsoft.OpenPublishing.PluginHelper.TocHelper.InjectTocMetadata(String tocPath, String metaName, String metaValue)
   at JoinTOC.TOCMerger.Merge(CommandLineOptions opt)
   at JoinTOC.Program.Main(String[] args)

_dependentPackages/CommonPlugins/tools/JoinTOC.ps1

Line 108: [Error] Error happened when executing plug-in script _dependentPackages/CommonPlugins/tools/JoinTOC.ps1 at step docset_prebuild. Please check your .openpublishing.publish.config.json?on the configuration of the plug-ins or ask for help?in Docs Support teams channel. Detailed error message: {"message":"YamlDotNet.Core.YamlException: (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 1, Idx: 0): No node deserializer was able to deserialize the node into type Microsoft.DocAsCode.DataContracts.Common.TocItemViewModel, Microsoft.DocAsCode.DataContracts.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null\r\n   at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue(IParser parser, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)\r\n   at Microsoft.DocAsCode.YamlSerialization.YamlDeserializer.LooseAliasValueDeserializer.DeserializeValue(IParser reader, Type expectedType, SerializerState state, IValueDeserializer nestedObjectDeserializer)\r\n   at Microsoft.DocAsCode.YamlSerialization.YamlDeserializer.Deserialize(IParser parser, Type type, IValueDeserializer deserializer)\r\n   at Microsoft.DocAsCode.YamlSerialization.YamlDeserializer.Deserialize[T](TextReader input, IValueDeserializer deserializer)\r\n   at Microsoft.DocAsCode.Common.YamlUtility.Deserialize[T](String path)\r\n   at Microsoft.OpenPublishing.PluginHelper.TocHelper.TryParseTocAsObjectModel(String tocPath, TocItemViewModel& toc)\r\n   at Microsoft.OpenPublishing.PluginHelper.TocHelper.InjectTocMetadata(String tocPath, String metaName, String metaValue)\r\n   at JoinTOC.TOCMerger.Merge(CommandLineOptions opt)\r\n   at JoinTOC.Program.Main(String[] args)","source":"","file":null,"line":null,"message_severity":0,"date_time":"2020-05-01T23:44:34.0452133Z","code":"OPSPlugins_InternalError","log_item_type":1}.

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

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/TOC.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit f0cdd12:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/TOC.yml
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/TOC.yml
100
100
0
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 19c4bab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/TOC.yml
:white_check_mark:Succeeded
View

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

TOC top-level nodes reviewed and OK. Approved.
This TOC will still need to incorporate content changes from Brad and Gillen - to come.


CMS: Add test to test language switching on the Post overview.

Switching languages should produce the same list as shown with the previous language without giving errors in the console.

On a meeting with @belljohan3 on 30 September, we realised that the list won't always be the same, as we realised that there could be translations for english, but then if you switch over to swahili or chichewa for example, the list is empty. As they have not been translated yet. So the way we wanted to implement the test won't work. I will do some research on what could be a good way to test the filters when a language changes.


Updating gRPC references for .NET Standard 2.0 targets

Updating gRPC references to work with NetFX
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

/check-enforcer evaluate

/check-enforcer evaluate


fix: query parameters are not passed correctly to WolframAlpha API

Fixes #3501

Can fix and merge tomorrow, thank you!


smoketest: send_token_to_penpal test fails to compile

Compilation log:
./run-tests.sh
+ cargo test --no-run
   Compiling snowbridge-smoketest v0.1.0
error[E0277]: the trait bound `&snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v4::location::Location: Borrow<snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v5::location::Location>` is not satisfied
   --> tests/send_token_to_penpal.rs:197:75
    |
197 |     let penpal_asset_address = penpal::api::storage().foreign_assets().asset(&penpal_asset_id);
    |                                                                        ----- ^^^^^^^^^^^^^^^^ the trait `Borrow<snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v5::location::Location>` is not implemented for `&snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v4::location::Location`
    |                                                                        |
    |                                                                        required by a bound introduced by this call
    |
note: required by a bound in `snowbridge_smoketest::parachains::penpal::api::foreign_assets::storage::StorageApi::asset`
   --> /home/lederstrumpf/polkadot/snowbridge/snowbridge-fresh/smoketest/src/parachains/penpal.rs:1:765483
    |
1   | ..."] pub fn asset (& self , _0 : impl :: core :: borrow :: Borrow < types :: asset :: Param0 > ,) -> :: subxt :: ext :: subxt_core :: storage :: address :: StaticAddress :: < :...
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StorageApi::asset`

error[E0308]: mismatched types
   --> tests/send_token_to_penpal.rs:216:68
    |
216 |     let create_asset_call = penpal::api::tx().foreign_assets().create(penpal_asset_id, admin, 1);
    |                                                                ------ ^^^^^^^^^^^^^^^ expected `Location`, found a different `Location`
    |                                                                |
    |                                                                arguments to this method are incorrect
    |
note: method defined here
   --> /home/lederstrumpf/polkadot/snowbridge/snowbridge-fresh/smoketest/src/parachains/penpal.rs:1:691709
    |
1   | ...s `Created` event when successful."] # [doc = ""] # [doc = "Weight: `O(1)`"] pub fn create (& self , id : types :: create :: Id , admin : types :: create :: Admin , min_balan...
    |                                                                                ^^^^^^

error[E0277]: the trait bound `&snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v4::location::Location: Borrow<snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v5::location::Location>` is not satisfied
   --> tests/send_token_to_penpal.rs:237:72
    |
237 |     let dot_asset_address = penpal::api::storage().foreign_assets().asset(&dot_asset_id);
    |                                                                     ----- ^^^^^^^^^^^^^ the trait `Borrow<snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v5::location::Location>` is not implemented for `&snowbridge_smoketest::parachains::penpal::api::runtime_types::staging_xcm::v4::location::Location`
    |                                                                     |
    |                                                                     required by a bound introduced by this call
    |
note: required by a bound in `snowbridge_smoketest::parachains::penpal::api::foreign_assets::storage::StorageApi::asset`
   --> /home/lederstrumpf/polkadot/snowbridge/snowbridge-fresh/smoketest/src/parachains/penpal.rs:1:765483
    |
1   | ..."] pub fn asset (& self , _0 : impl :: core :: borrow :: Borrow < types :: asset :: Param0 > ,) -> :: subxt :: ext :: subxt_core :: storage :: address :: StaticAddress :: < :...
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StorageApi::asset`

error[E0308]: mismatched types
   --> tests/send_token_to_penpal.rs:256:68
    |
256 |     let create_asset_call = penpal::api::tx().foreign_assets().create(dot_asset_id, admin, 1);
    |                                                                ------ ^^^^^^^^^^^^ expected `Location`, found a different `Location`
    |                                                                |
    |                                                                arguments to this method are incorrect
    |
note: method defined here
   --> /home/lederstrumpf/polkadot/snowbridge/snowbridge-fresh/smoketest/src/parachains/penpal.rs:1:691709
    |
1   | ...s `Created` event when successful."] # [doc = ""] # [doc = "Weight: `O(1)`"] pub fn create (& self , id : types :: create :: Id , admin : types :: create :: Admin , min_balan...
    |                                                                                ^^^^^^

Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `snowbridge-smoketest` (test "send_token_to_penpal") due to 4 previous errors

It is failing because xcm v5 has been merged into master but the bridge does not support it yet. This will be patched as part of the v2 work.

Addressed by this PR if you want to use master (with xcm v5 enabled) version of polkadot-sdk: https://github.com/Snowfork/snowbridge/pull/1357


Codestyle changes related to php-cs-fixer update

coverage: 80.539%. remained the same
when pulling<PHONE_NUMBER>bbeb1accfca02445c6fa1d8856a802 on vladvildanov:vv-php-fixer-update
into 8fbd34c6b33b25eb9d863f3ee6d2822b3fbf7e60 on predis:v2.x.


Moved 'Strsync' into Localization category from Tools.

Strsync is just moved to correct category "Localization"
Please confirm. thanks.

Thx


Remove issue6113.pdf from the test-suite for failing intermittently in Firefox on the Linux bot

As can be seen in https://github.com/mozilla/pdf.js/pull/3891#issuecomment-112467962 and below, makeref didn't help since the test is still failing mysteriously in Firefox on Linux.
Hence I think that we should just remove the test for now, since I'd like to be able to get PR #6120 landed before the pending mozilla-central uplift is done.
If I've got time later, I'll look into replacing the test with a unit-test or perhaps a reduced test-case instead.

/botio test

/botio-windows test

Based on IRC discussions, @timvandermeij seemed to agree on the necessity of this patch.
Therefore I'm going to land this, since I'm still hoping that we might be able to squeeze PR #6120 into the pending uplift (https://bugzilla.mozilla.org/show_bug.cgi?id=1175142).

Good, thanks!


Added Distance Calculation

Added a program to calculate the distance between two points on a 2D plane.
Closes part of #34

Great work! Thanks for contributing to our repo @TusharKapoor23! Will merge now.


Create distinct mainnet / testnet build sections

Adds clarity especially for newer users.

This is a good change, but going to close since we'll migrate the setup instructions to a wiki where it can be organized similar to this.


getPicture() sourceType Camera open Photo Folder AND Camera

Bug Report
I am building an application that needs to take a photo.
Problem
Upon pressing the button to open the camera, the following happens on Android 8.0.0/8.1.0:

The photo folder is opened where the user needs to select a photo
After the photo is selected the camera opens and the user can take a picture
The photo selected from the photo folder is finally shown

What is expected to happen?
When pressing the button only the camera should open.
What does actually happen?
First the photo folder opens, where the user needs to select a photo. Then the camera opens where the user can take a photo.
Information
I have tried the code on a tablet running Android 4.4.2, and the application works as expected. However the final platform will be an Android phone running Android 8.0.0/8.1.0.
Command or Code
The code used to open the camera is as follows:

var app = {
onDeviceReady: function() {
document.querySelector("#myFile").addEventListener("click", app.callCamera);
},
callCamera: function () {
app.imgOptions = {
quality: 85,
destinationType: Camera.DestinationType.DATA_URL,
sourceType: Camera.PictureSourceType.CAMERA,
encodingType: Camera.EncodingType.JPEG,
mediaType: Camera.MediaType.PICTURE,
correctOrientation: true
};
navigator.camera.getPicture( app.imgSuccess, app.imgFail, app.imgOptions );
}
}

Environment, Platform, Device
The bug happened on Moto G5 running Android 8.1.0 and Moto G6 running Android 8.0.0
Version information
Cordova v9.0.0
Android Platform v8.0.0
cordova-plugin-camera v4.0.3 "Camera"
cordova-plugin-whitelist v1.3.3 "Whitelist"
Checklist

[x] I searched for existing GitHub issues
|---> I also commented on an existing issue, but my new bug report contains more information
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

Turns out it was a combination of the .getPicture() and  causing this issue. The plugin works fine!


[UI] Move geographic center of Canada Westward for default mobile view

The default mobile map view of www.findthemasks.ca has most of our pins (cluster of 137) hidden on default view due to the placement of the [+/-] zoom buttons.
Considering mobile can be up to 80% of our views according to some previous data by @saikatbhadra, it is important to present a default view that instantly displays our data as a whole.
Left: default mobile view currently - Bulk of data (137 sites) hidden behind zoom buttons
Right: suggested view choosing a more Western center to act as it the geographical center of Canada

just to clarify...I think you mean moving it east @linderr? 🐙

I tweaked it, you can confirm if it looks better for you here @linderr:
http://20b9a25b.ngrok.io/ca/

@ngottlieb I see what you mean here. Yes, to set the centre lat/lng more Eastward to achieve a Westward "pan" :) Thank you!

My mother caught it. She says, "great!" lol.


Plotly NameError: name 'go' is not defined

This issue is in the time_series.ipynb when plotting the time series with call cloudless.timeline().  The call would return, "NameError: name 'go' is not defined."
I was able to correct the issue by adding import plotly.graph_objs as go to time_series.py below import plotly.express as px, line 183

Great catch, and thanks for tracking down the problem! I'll get that fixed.


Calling Array on a zero dimensional variable returns a scalar

using NCDatasets
fn = tempname() * ".nc"
ds = NCDatasets.Dataset(fn, "c")
NCDatasets.defVar(ds, "a", Int32, ())

Then Array returns a scalar:
julia> Array(ds["a"])
-2147483647

It should always return an Array (even if its zero-dimensional)

Thanks for reporting. It should be fixed now. I will make a release soon.


Change name to peer5?

p5.live is the winner!

@vanevery that's perfect !

Should really have done a google search before changing the name.  p5live is being use by a p5 live coding environment: https://github.com/ffd8/P5LIVE

Other ideas:
p5LiveWeb
p5LiveAudioVideoData
p5LiveMedia <--  I kind of like this

looks like I should have weighed in 5 hours ago but fwiw, I've always prefered the 'p5 dot' prefix (p5.liveMedia).
so does the emphasis on LiveMedia (also this comment) mean exchanging non-audio / non-video data types between peers is still best handled using @bmoren 's p5.localmessage library?

My vote would be for p5.liveMedia

just found this while searching 'p5 webrtc' to research using webrtc audio stream/share feeds within the p5.audio analysis (peer 2 peer vj'ing.. ahem, while COCODING in P5LIVE) – this lib looks amazing! slowly digging through many great examples.
naming things is sooo hard (and fun..?) – perhaps it's already settled.. but 2¢ ideas: p5.peer / p5.peers / p5.webrtc – but it's all semantics and p5LiveMedia makes lots of sense in terms of content shared. thanks for making this!

@nopivnick sorry, I think I missed your question about p5.localmessage previously.  I am not sure how that works but p5LiveMedia can definitely be used to share peer to peer messages.
@ffd8 WOW!  That's a lot of interesting things happening all at once!  Happy to help getting p5.sound working with on the audio that is sent/received through p5LiveMedia.  I went with p5LiveMedia instead of references to peer and webrtc as those are pretty much for folks in the know and I wanted to make it more accessible sounding ;-)

looks like I should have weighed in 5 hours ago but fwiw, I've always prefered the 'p5 dot' prefix (p5.liveMedia).
so does the emphasis on Live_Media_ (also this comment) mean exchanging non-audio / non-video data types between peers is still best handled using @bmoren 's p5.localmessage library?

Hey, chiming in here, just to say that these libraries work with two totally different technologies, livemedia being based on webRTC so peer to peer and localmessage around a serviceworker, so it's local only.
my understanding is that livemedia can send messages from one machine to another – the peer to peer part. Whereas, local message can only send messages on the same machine – local.
I suppose it's totally possible to set up livemedia to send localmessages as well, but at least for me one of the benefits of local message is that it does not require any server setup, everything still runs in the client, so it's really easy to implement.
I'm not super familiar with livemedia's setup (or WebRTC, so correct me if I'm wrong!), but it looks like @vanevery has done a lot of nice work to hide the server stuff to make it as friendly as possible to get up and running quickly.
I would suspect wither route would work fine depending on the application, but if you're trying to get one machine to talk to another machine, then livemedia is the ticket!
Side note about localmessage's initialization motivation: I had a student who needed to have one sketch as a controller input and another sketch as a display.  On old macs you could do this by having a really wide window and going into Full Screen mode and stretch the window across 2 monitors. In newer Mac OS versions, this is no longer easily done, so the sketch needed to be broken into 2 and full screened in the 2 separate displays.


support regex

Maybe something like this?
     minjson:
        files: [
          expand: yes
          cwd: '<%= yeoman.app %>/static'
          src: ['**']
          dest: '<%= yeoman.dist %>/static'
        ]

Grunt minimatch patterns are alredy inherently supported. You're just missing a target in your Grunt config and files is only necessary if you're specifying multiple src/dest blocks per target:
minjson:
  static:
    expand: yes
    cwd: '<%= yeoman.app %>/static'
    src: ['**']
    dest: '<%= yeoman.dist %>/static'

http://gruntjs.com/configuring-tasks

sorry but it doesn't work
Warning: Unable to read "app/static" file (Error code: EISDIR). Use --force to continue.

it takes it as file instead of dir

Your pattern src: ['**'] is matching folders. Filter the folders with filter: 'isDirectory' or modify your patterns to not match folders. This is in the Grunt docs: http://gruntjs.com/configuring-tasks#files

gotcha this works, thanks
    minjson:
      dist:
        files: [
          expand: yes
          cwd: '<%= yeoman.app %>/static/translations'
          src: ['{,*/}*.json']
          dest: '<%= yeoman.dist %>/static/translations'
        ]


[Bug] Weird sharp corners when drawing fast with touch

See images below

This is a known issue, I call them "elbows". We've done some experimentation with this in tldraw.com and will likely port those fixes here once mature.

@steveruizok How's this issue progressing?

We've made some progress in the forked version that we use in tldraw. I've been meaning to reintroduce those changes here, though there licensing makes that difficult now. I'd expect to come back to the problem eventually and solve it properly.


error in the file loader.js

What version, and what client type are you using (vanilla, fabric, etc..)

vanilla


bot stuck on "2 events of warn loaded"

title says it all
console log:
 npm run start

<EMAIL_ADDRESS>start
node . --trace-warnings

Database >> MongoDB is connecting...
System >> Loading commands ...
System >> 42 commands of Command loaded
System >> 5 commands of ContextMenu loaded
System >> Loading events ...
System >> 5 events of channel loaded
System >> 7 events of client loaded
System >> 3 events of emoji loaded
System >> 3 events of event loaded
System >> 4 events of giveaway loaded
System >> 11 events of guild loaded
System >> 3 events of invite loaded
System >> 5 events of message loaded
System >> 6 events of music loaded
System >> 5 events of role loaded
System >> 14 events of stats loaded
System >> 3 events of sticker loaded
System >> 3 events of thread loaded
System >> 2 events of voice loaded
System >> 2 events of warn loaded

Did you try to run kill 1 in shell?
And join our discord so we can provide faster support: discord.gg/CorwinDev


Add guidance to how to bind Twilio Webhook XML to objects in Minimal APIs

In MVC, XML would be automatically bound to objects which made it easy to accept the data as strongly typed object when receiving Twilio webhook XML.
Minimal APIs does not do this, so we need to figure out what the best practice would be to do this for Minimal APIs, and if necessary add features to this library to make it easier.
Ideally, you would be able to accept the webhook payload like this:
app.MapPost("/sms", (SmsRequest smsRequest) =>
{
    var messagingResponse = new MessagingResponse();
    messagingResponse.Message($"You said: {smsRequest.Body}");
    return Results.Extensions.TwiML(messagingResponse);
});

I think instead of XML, you mean "URL encoded form parameters". Mapping the parameters to an object made for really clean code, so I agree this would be desirable.

I've been experimenting with this, neither [FromQuery] for GET requests nor [FromForm] for POST requests work to bind a complex object. Individual properties can probably be bound which is still a great experience, I need to verify this tho.
Minimal APIs does have a way to provide your own serialization for binding. I've cooked up a source generator to generate a binder for form binding, more as an experiment than an actual solution. The experiment assumes that the webhooks will always have simple values (strings,floats,ints) and nothing more complex.
I could use reflection to create a builder, but I'm worried that wouldn't be performant enough.
After all this, I could just write the mapping manually. A little painful, and we'd have to keep the requests in sync with the mapping code, but it'd be the simplest, most performant, and flexible.

In case anyone is interested in this source generator experiment, here's a draft PR: https://github.com/twilio-labs/twilio-aspnet/pull/44
It's purposely, not finished, just there as a POC.

#48 adds guidance how to manually retrieve the parameters in minimal APIs using [FromQuery] for HTTP GET requests or using HttpRequest.Form for HTTP POST requests.

For now, we'll leave it up to the developer to manually extract the parameters from the form or query string.
If you're looking for guidance how to do that, you can looks at the Minimal API samples in the Readme.


Method to set the transport handler instead of add_handler or add_program(s)

Currently you can add a handler, or program(s):
transport.add_program('program.1.test', {
  'someMethod': function(arg, res) {
    ...
    }}
);

It would be nice to be able to set the handler:
transport.set_handler(function(method, arg, res) {
  // method could be "program.1.test.someMethod"
});

Also it's a little easier to deal with when testing, cause I think (?) the transport responds with null if a handler isn't found and in the go msgpack-rpc library this leads to an error (cause it's expecting a {} or []). (I could be wrong about this part though.)

I think you're right.  Can we add an error unwrapper like we have in Go?  That might do the trick too.

Maybe instead of returning null if a handler isn't found it should call response.error({code: XXX, desc: "Method not found: keybase.1.foo.ba"}). (I do this in the objc msgpack client.)
The error object is something the msgpack-rpc spec doesn't elaborate on but I think it's better than null.
What do you think about adding set_handler? I need it for Electron app cause I pass the UI calls from the main process to the renderer process:
https://github.com/keybase/client/blob/master/electron/browser/client.ts#L72
So currently I have to do:
transport.add_program('keybase.1.locksmithUi', {
  'promptDeviceName': function(transportArg, transportResponse) {
    ...
  }}
);

for every method call to forward it versus a single method:
transport.set_handler(function(method, transportArg, transportResponse) {
  ...
});

also I can correctly return an error object that the msgpack server expects (code/desc).

Does it work to make a subclass of transport to get this behavior? Then you
can specify what the 'this' object is.
On Wednesday, August 19, 2015, Gabriel Handford<EMAIL_ADDRESS>wrote:

Maybe instead of returning null if a handler isn't found it should call response.error({code:
XXX, desc: "Method not found: keybase.1.foo.ba"}). (I do this in the objc
msgpack client.)
The error object is something the msgpack-rpc spec doesn't elaborate on
but I think it's better than null.
What do you think about adding set_handler? I need it for Electron app
cause I pass the UI calls from the main process to the renderer process:
https://github.com/keybase/client/blob/master/electron/browser/client.ts#L72
So currently I have to do:
transport.add_program('keybase.1.locksmithUi', {
'promptDeviceName': function(transportArg, transportResponse) {
...
}}
);
for every method call to forward it versus a single method:
transport.set_handler(function(method, transportArg, transportResponse) {
...
});
also I can correctly return an error object that the msgpack server
expects (code/desc).
—
Reply to this email directly or view it on GitHub
https://github.com/maxtaco/node-framed-msgpack-rpc/issues/8#issuecomment-132643449
.

So the hook_wrapper and "handler pair" don't leave a way to pass through the original method name even if I override.
I made a tiny patch locally so I can set the handler. It's backwards compatible.
diff --git a/src/dispatch.iced b/src/dispatch.iced
index 199cf5b..c98e4a5 100644
--- a/src/dispatch.iced
+++ b/src/dispatch.iced
@@ -33,6 +33,7 @@ exports.Dispatch = class Dispatch extends Packetizer
     @_handlers = {}
     @_seqid = 1
     @_dbgr = null
+    @_handler = null
     super

   ##-----------------------------------------
@@ -170,7 +171,9 @@ exports.Dispatch = class Dispatch extends Packetizer
       response.debug_msg = debug_msg if response
       debug_msg.call()

-    if pair? and (hw = @get_hook_wrapper())?
+    if @_handler
+      @_handler(method, param, response)
+    else if pair? and (hw = @get_hook_wrapper())?
       hw { method : pair[1], thisobj : pair[0], param, response, dispatch : @ }
     else if pair then pair[1].call pair[0], param, response, @
     else if response?
@@ -184,6 +187,9 @@ exports.Dispatch = class Dispatch extends Packetizer
   get_handler_this : (m) -> @
   get_hook_wrapper : () -> null

+  set_handler : (h) ->
+    @_handler = h
+
   wrap_outgoing_error   : (s) -> s.toString()
   unwrap_incoming_error : (s) -> new Error(s) if typeof(s) is 'string'

I anticipate others would find a method like this useful as well without having to think about programs or hooks or whatever.

Ok! Will patch tonight.
On Sunday, August 23, 2015, Gabriel Handford<EMAIL_ADDRESS>wrote:

I anticipate others would find a method like this useful as well without
having to think about programs or hooks or whatever.
—
Reply to this email directly or view it on GitHub
https://github.com/maxtaco/node-framed-msgpack-rpc/issues/8#issuecomment-133955889
.

live v1.1.9, it's called set_generic_handler and is called with a
dictionary of named parameters...
On Sun, Aug 23, 2015 at 7:22 PM, Maxwell Krohn<EMAIL_ADDRESS>wrote:

Ok! Will patch tonight.
On Sunday, August 23, 2015, Gabriel Handford<EMAIL_ADDRESS>wrote:

I anticipate others would find a method like this useful as well without
having to think about programs or hooks or whatever.
—
Reply to this email directly or view it on GitHub
https://github.com/maxtaco/node-framed-msgpack-rpc/issues/8#issuecomment-133955889
.

works thanks!


Update defender-csp.md

adding Configuration/DisableCpuThrottleOnIdleScans to defender CSP doc

Ack we need to revert
First line is currently:  Configuration/DisableCpuThrottleOnIdleScans
Needs to be:
Configuration/DisableCpuThrottleOnIdleScans
From: Beth Woodbury<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2021 2:07 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Juli Hooper<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Update defender-csp.md (#9164)
Merged #9164https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F9164&data=04|01|julih%40microsoft.com|9e761a5bd7cc499432e008d8d3905ce7|72f988bf86f141af91ab2d7cd011db47|1|0|637491964286865129|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ad%2BoENdAv7yOaOS6ytApZi583e4LJqqgaCYQ3BjJOJ4%3D&reserved=0 into public.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-itpro-docs%2Fpull%2F9164%23event-4343763966&data=04|01|julih%40microsoft.com|9e761a5bd7cc499432e008d8d3905ce7|72f988bf86f141af91ab2d7cd011db47|1|0|637491964286865129|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jqtAy1kyLXxpZ29k6AzxzqpFujyDhVfej2IZbDugsJ0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPVCFVIJLPB5XTFXSO7SSUDS7Q4YTANCNFSM4XZCU63Q&data=04|01|julih%40microsoft.com|9e761a5bd7cc499432e008d8d3905ce7|72f988bf86f141af91ab2d7cd011db47|1|0|637491964286875127|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=eoZthkujTXwbsDp9h2WW%2Fjk4%2FqiQKX%2F5UCP5zbC4yzE%3D&reserved=0.


Adjust balance speed adaptively base on count of regions and nodes.

Currently, we can only influence the balance speed by change the config *-schedule-limit and *-schedule-interval. In practice, we have to constantly adjust these values as data grows in order to achieve the balance speed we want.

To me, the most convenient way to use is to setup a single variable to control from "does not balance at all" to "balance as fast as we can" :)

Yep, I'm considering building a special balancer for tests to "balance as fast as we can", see #445 .
But it's dangerous to "balance as fast as we can" in production.
For now, the balance speed is hard to control because:

The feedback of a balance (transfer peer or leader) is not reported in time.
The schedule limit is applied to the whole cluster, if it is applied to different stores, we can do balance to different stores concurrently.
Both issues are already in the schedule, I'll start working on them soon.


Improve DB query monitoring

What was done specific to DB query monitoring in the last sprint?
Can we maybe close this issue in the current sprint and open a follow up one in the next?


how to proceed Resizing

Hi, is it posssible to make it responsive ? so that the size will grow/decrease according to screen size?

We are in the process of rewriting many components of the library. You can find the details here.
https://github.com/objectivehtml/FlipClock/issues/161

Okay thanks!
2015-01-06 6:24 GMT+05:30 Justin Kimbrell<EMAIL_ADDRESS>
We are in the process of rewriting many components of the library. You can
find the details here.
#161 https://github.com/objectivehtml/FlipClock/issues/161
—
Reply to this email directly or view it on GitHub
https://github.com/objectivehtml/FlipClock/issues/170#issuecomment-68809894
.


⚠ Bofrost.fr has degraded performance

In 3dca990, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1209 ms

Resolved: Bofrost.fr performance has improved in c735aae after 35 minutes.


[fix] footer blocking content

fixes #25
changes:
changed the position attribute of footer from fixed to sticky.
Screenshot:

Thanks for the contribution. 👍
Feel free to explore more :)


Add Interactions section to readme

Provide a way to report bugs and feature requests.

@mrcarlosdev I forgot about my comment here:

You might want to rephrase "assited support" - What does that mean? Can customers still open support tickets?

Can you elaborate on what that means please?


Crimson Sash - Does it work with the beta's Meal Ticket? (thanks to Discord's Wordo#5757 for pointing this)

Ok, after SO MUCH TIME, let's do this.

And yeah, it works. Good to know xD


Question

This will show all door set in GoGogate account?

Hi,
Yes, all doors are handled, with temperature and battery for doors with wireless open/close sensor.


Require imdsv2 On Run Instance

When building images, require the ec2 instance executing to use imdsv2.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.14


Clicking "Launch" button on the MultiClusterApp launch form does nothing.

Describe your issue here
Clicking "Launch" button on the MultiClusterApp launch form does nothing.

Useful
Info

Versions
Rancher v2.2.0-alpha6 UI: v2.2.2

Route
global-admin.multi-cluster-apps.catalog.launch

The browser console displays an error:
No schema found to validate templateversion

That message is "normal" and not relevant to whatever problem you're having.

It's the only thing popping up in the console when I click the button, anything you'd like me to look for? I also don't see anything in the networking tab.

Looks like yesterday I've missed an error. It seems like the problem is that the chart I'm trying to deploy from my private repo doesn't have a readme, I'm seeing this error:
{
"baseType": "error",
"code": "ServerError",
"message": "resource name may not be empty",
"status": 500,
"type": "error"
}

on https://rancher.my-domain.com/v3/templateVersions/cattle-global-data:my-chart-0.1.0/readme

@luisdavim you would be seeing this error then even while launching a regular non-multicluster catalog app then?

I guess so, my focus has been on multicluster apps, I'll check that once I'm on a computer.

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


Update contributing.md for running docker container

Related Issue
Resolved half of issue #234
Description
The contributing.md file lacks documentation for running containers using the Dockerfile. I have added the complete procedure.
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] have commented my code, particularly in hard-to-understand areas.

hey @Saurav-Pant ! can you review my pr?


Browser tests not properly loading modules

I noticed some errors when looking at #232 and they seemed to be caused by sanctuary-def loading sanctuary-type-classes as undefined in the browser tests.
I believe it has something to do with browserify configuration, still looking into it.

Thank you, @Shard. :)

We fixed this in a straightforward manner in #232:

 //  dependencies :: Array String
-var dependencies = Object.keys(require('./package.json').dependencies);
+var dependencies = ['sanctuary-type-classes', 'sanctuary-def'];
+
+eq(dependencies.slice().sort(),
+   Object.keys(require('./package.json').dependencies).sort());


Compat break in audit-mode changes

Making this to track https://github.com/chef/chef/commit/4cfb1e47aa8e9501f4f2a01f1d8cc0deb2cfa13b#commitcomment-10197616
This has ramifications for ChefSpec testing as you can no longer test for errors being raised in recipe code (and you get get log output during your tests too). Should be reverted pending Chef 13, if ever.

Related to https://github.com/chef/chef/issues/3054

cc @adamedx @btm @charlesjohnson

I understand how this is a breaking change.  For context, we decided to do this because we wanted the audit phase to run independently of the converge phase.  It should run even if the converge phase fails.
If there are errors during both the converge phase and audit phase, we don't have a way of raising both errors.  Thats why I added the wrapping exception.
Now that I am looking at this though, it seems unecessary to wrap ALL errors.  For an improvement, what would you think about always running both phases and capturing errors from each phase.  Then we only wrap both errors if both occured.  Otherwise we re-raise the error if only 1 phase had an error.
For anyone not using audit mode (a new feature introduced in Chef 12) this would maintain backwards compatibility with Chef 11 behavior.
What is the issue with increasing the logging output?  The exceptions are still being sent to the formatting system and I found the increased logging useful for development and debugging.

You should have something above the level of #converge that handles the catch and audit stuffs. #converge_with_audit or something, and make it behave as you describe. As for the logging, because Chef is not always used interactively which is why the formatter system was created. If you need to add a new formatter callback for output, do that (or use the existing generic ones). Logging should be for debugging only basically (/cc @danielsdeleo).

As a general rule, swallowing exceptions is bad because so many other tools in the Chef ecosystem treat us as a library. I agree with @jdmundrawala that we should raise e if Chef::Config[:audit_mode] == :disabled right now and ship that ASAP in the 12.1.2 regression release.
Then we talk about how audit mode gets implemented here when it's no longer an experimental feature.

This should be fixed in 12.1.2.


[Autofix error] My File: test/distributed/elastic/rendezvous/etcd_rendezvous_backend_test.py

ruff version 0.0.264 (ruff --version)
command(Powershell)
ruff check --select=ALL --fix --isolated .\etcd_rendezvous_backend_test.py

The source is a Python file from PyTorch, but it is not the original file (with a different hash value).
The original file can be found at https://github.com/pytorch/pytorch/blob/8b64dee5d2e0e61c3c37a222c43b636d20cc58b7/test/distributed/elastic/rendezvous/etcd_rendezvous_backend_test.py.
OS: Windows 11 22H2
Terminal Content:
warning: `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible. Ignoring `one-blank-line-before-class`.
warning: `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible. Ignoring `multi-line-summary-second-line`.

error: Autofix introduced a syntax error. Reverting all changes.

This indicates a bug in `ruff`. If you could open an issue at:

    https://github.com/charliermarsh/ruff/issues/new?title=%5BAutofix%20error%5D

...quoting the contents of `etcd_rendezvous_backend_test.py`, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!

etcd_rendezvous_backend_test.py:1:1: D100 Missing docstring in public module
etcd_rendezvous_backend_test.py:7:1: I001 Import block is un-sorted or un-formatted
etcd_rendezvous_backend_test.py:15:89: E501 Line too long (96 > 88 characters)
etcd_rendezvous_backend_test.py:24:7: D101 Missing docstring in public class
etcd_rendezvous_backend_test.py:28:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:28:20: ANN102 Missing type annotation for `cls` in classmethod
etcd_rendezvous_backend_test.py:33:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:33:23: ANN102 Missing type annotation for `cls` in classmethod
etcd_rendezvous_backend_test.py:36:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:36:15: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:40:9: SIM105 Use `contextlib.suppress(EtcdKeyNotFound)` instead of `try`-`except`-`pass`
etcd_rendezvous_backend_test.py:45:89: E501 Line too long (92 > 88 characters)
etcd_rendezvous_backend_test.py:47:24: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:51:7: D101 Missing docstring in public class
etcd_rendezvous_backend_test.py:55:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:55:20: ANN102 Missing type annotation for `cls` in classmethod
etcd_rendezvous_backend_test.py:60:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:60:23: ANN102 Missing type annotation for `cls` in classmethod
etcd_rendezvous_backend_test.py:63:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:63:15: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:76:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:76:45: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:79:9: S101 Use of `assert` detected
etcd_rendezvous_backend_test.py:81:9: S101 Use of `assert` detected
etcd_rendezvous_backend_test.py:85:9: S101 Use of `assert` detected
etcd_rendezvous_backend_test.py:85:89: E501 Line too long (106 > 88 characters)
etcd_rendezvous_backend_test.py:93:9: S101 Use of `assert` detected
etcd_rendezvous_backend_test.py:94:9: S101 Use of `assert` detected
etcd_rendezvous_backend_test.py:94:30: PLR2004 Magic value used in comparison, consider replacing 7200 with a constant variable
etcd_rendezvous_backend_test.py:100:9: S101 Use of `assert` detected
etcd_rendezvous_backend_test.py:102:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:102:74: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:107:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:107:78: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:107:89: E501 Line too long (91 > 88 characters)
etcd_rendezvous_backend_test.py:114:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:114:65: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:123:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:123:65: ANN101 Missing type annotation for `self` in method
etcd_rendezvous_backend_test.py:126:89: E501 Line too long (90 > 88 characters)
etcd_rendezvous_backend_test.py:129:9: D102 Missing docstring in public method
etcd_rendezvous_backend_test.py:129:69: ANN101 Missing type annotation for `self` in method
Found 42 errors.

File Content:

# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

import subprocess
from base64 import b64encode
from typing import ClassVar, cast
from unittest import TestCase

from etcd import EtcdKeyNotFound  # type: ignore[import]
from rendezvous_backend_test import RendezvousBackendTestMixin

from torch.distributed.elastic.rendezvous import RendezvousConnectionError, RendezvousParameters
from torch.distributed.elastic.rendezvous.etcd_rendezvous_backend import (
    EtcdRendezvousBackend,
    create_backend,
)
from torch.distributed.elastic.rendezvous.etcd_server import EtcdServer
from torch.distributed.elastic.rendezvous.etcd_store import EtcdStore

class EtcdRendezvousBackendTest(TestCase, RendezvousBackendTestMixin):
    _server: ClassVar[EtcdServer]

    @classmethod
    def setUpClass(cls) -> None:
        cls._server = EtcdServer()
        cls._server.start(stderr=subprocess.DEVNULL)

    @classmethod
    def tearDownClass(cls) -> None:
        cls._server.stop()

    def setUp(self) -> None:
        self._client = self._server.get_client()

        # Make sure we have a clean slate.
        try:
            self._client.delete("/dummy_prefix", recursive=True, dir=True)
        except EtcdKeyNotFound:
            pass

        self._backend = EtcdRendezvousBackend(self._client, "dummy_run_id", "/dummy_prefix")

    def _corrupt_state(self) -> None:
        self._client.write("/dummy_prefix/dummy_run_id", "non_base64")

class CreateBackendTest(TestCase):
    _server: ClassVar[EtcdServer]

    @classmethod
    def setUpClass(cls) -> None:
        cls._server = EtcdServer()
        cls._server.start(stderr=subprocess.DEVNULL)

    @classmethod
    def tearDownClass(cls) -> None:
        cls._server.stop()

    def setUp(self) -> None:
        self._params = RendezvousParameters(
            backend="dummy_backend",
            endpoint=self._server.get_endpoint(),
            run_id="dummy_run_id",
            min_nodes=1,
            max_nodes=1,
            protocol="hTTp",
            read_timeout="10",
        )

        self._expected_read_timeout = 10

    def test_create_backend_returns_backend(self) -> None:
        backend, store = create_backend(self._params)

        assert backend.name == "etcd-v2"

        assert isinstance(store, EtcdStore)

        etcd_store = cast(EtcdStore, store)

        assert etcd_store.client.read_timeout == self._expected_read_timeout  # type: ignore[attr-defined]

        client = self._server.get_client()

        backend.set_state(b"dummy_state")

        result = client.get("/torch/elastic/rendezvous/" + self._params.run_id)

        assert result.value == b64encode(b"dummy_state").decode()
        assert result.ttl <= 7200

        store.set("dummy_key", "dummy_value")

        result = client.get("/torch/elastic/store/" + b64encode(b"dummy_key").decode())

        assert result.value == b64encode(b"dummy_value").decode()

    def test_create_backend_returns_backend_if_protocol_is_not_specified(self) -> None:
        del self._params.config["protocol"]

        self.test_create_backend_returns_backend()

    def test_create_backend_returns_backend_if_read_timeout_is_not_specified(self) -> None:
        del self._params.config["read_timeout"]

        self._expected_read_timeout = 60

        self.test_create_backend_returns_backend()

    def test_create_backend_raises_error_if_etcd_is_unreachable(self) -> None:
        self._params.endpoint = "dummy:1234"

        with self.assertRaisesRegex(
            RendezvousConnectionError,
            r"^The connection to etcd has failed. See inner exception for details.$",
        ):
            create_backend(self._params)

    def test_create_backend_raises_error_if_protocol_is_invalid(self) -> None:
        self._params.config["protocol"] = "dummy"

        with self.assertRaisesRegex(ValueError, r"^The protocol must be HTTP or HTTPS.$"):
            create_backend(self._params)

    def test_create_backend_raises_error_if_read_timeout_is_invalid(self) -> None:
        for read_timeout in ["0", "-10"]:
            with self.subTest(read_timeout=read_timeout):
                self._params.config["read_timeout"] = read_timeout

                with self.assertRaisesRegex(
                    ValueError, r"^The read timeout must be a positive integer.$",
                ):
                    create_backend(self._params)

pyproject.toml
[build-system]
requires = [
    "setuptools",
    "wheel",
    "astunparse",
    "numpy",
    "ninja",
    "pyyaml",
    "setuptools",
    "cmake",
    "typing-extensions",
    "requests",
]
# Use legacy backend to import local packages in setup.py
build-backend = "setuptools.build_meta:__legacy__"

[tool.black]
# Uncomment if pyproject.toml worked fine to ensure consistency with flake8
# line-length = 120
target-version = ["py38", "py39", "py310", "py311"]

[tool.ruff]
target-version = "py38"

# NOTE: Synchoronize the ignores with .flake8
ignore = [
    # these ignores are from flake8-bugbear; please fix!
    "B007", "B008", "B017",
    "B018", # Useless expression
    "B019", "B020",
    "B023", "B024", "B026",
    "B028", # No explicit `stacklevel` keyword argument found
    "B027", "B904", "B905",
    "E402",
    "C408", # C408 ignored because we like the dict keyword argument syntax
    "E501", # E501 is not flexible enough, we're using B950 instead
    "E721",
    "E731", # Assign lambda expression
    "E741",
    "EXE001",
    "F405",
    "F821",
    "F841",
    # these ignores are from flake8-logging-format; please fix!
    "G101", "G201", "G202",
    "SIM102", "SIM103", "SIM112", # flake8-simplify code styles
    "SIM105", # these ignores are from flake8-simplify. please fix or ignore with commented reason
    "SIM108",
    "SIM110",
    "SIM114", # Combine `if` branches using logical `or` operator
    "SIM115",
    "SIM116", # Disable Use a dictionary instead of consecutive `if` statements
    "SIM117",
    "SIM118",
]
line-length = 120
select = [
    "B",
    "C4",
    "G",
    "E",
    "F",
    "SIM1",
    "W",
]

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"torchgen/api/types/__init__.py" = [
    "F401",
    "F403",
]
"torchgen/executorch/api/types/__init__.py" = [
    "F401",
    "F403",
]

It's coming from SIM105. A minimal repro:
If you remove the import, then it'll work. Somehow the import is causing this issue.
import math

try:
    int('ab')
except ValueError:
    pass

Command to run: ruff check --select=SIM105 --fix --diff --isolated src/SIM105.py


Issue with alternating background colour of nested lists, fix CSS

The combined effects of the Vuejs component, nested lists and CSS settings currently result in nested lists not alternating the background colour correctly. Need a fix for this. As yet, no solution found. Might have to look into applying logic via the Vuejs component. Or the problem might disappear if moving to a table to display the contents of a single directory rather than the current nested tree.

Alternative solution provided in b55fef64af5cacfdf8c7d198f8ce7653bb5e6e0e. Closing issue.


CPU-inference T5Encoder-XL slower than PyTorch

Hello,
my goal is to convert the T5-XL model with fastT5. To be precise, this model has a model size >2GB and those model types currently seem to not be supported.
Additionally, I would like to use the T5EncoderModel which consists of only the encoder-part. I have locally adapted some things (removing the decoder part  and using external_data_format) which are unfortunately not really usable for others.
I would really appreciate it if this could be somehow integrated.
Going along with the problem with large models, the quantization does not work for large models. For that, an issue https://github.com/microsoft/onnxruntime/issues/7974 was already created.
Now to the actual problem. I am not sure if I made something wrong during my adaption, therefore I would appreciate it if this would be supported. But in the ort_settings.py it is documented that

default : set this to true, ort will choose the best settings for your hardware. (you can test out different settings for better results.)

Does it really yield the best configuration? In my case, my PyTorch model had a faster inference time.
I tried to set the default-bool to false to adapt some configurations. But even by setting n_threads = 2, I for some reason get a huge memory consumption if infering for a larger number of sequences (>200).
My system:
Intel(R) Xeon(R) Gold 6248 CPU @ 2.50GHz limited to 10 Cores.
60GB RAM
transformers          4.5.1
tokenizers              0.10.1
onnx                      1.9.0
onnxruntime          1.7.0
The T5EncoderModel-XL is used from huggingface.
Thank you

How long are your sequences? In my experience, fastT5 without quantization works faster than PyTorch only for short sequences (e.g. 50 tokens on average).

Ohh, I see, then this could be a problem since on average my sequences have length of 300 to 400.
Is there a way to get a speed-up using fastT5 for longer sequences? Or is it constrained by the underlying ONNX-format?


Fixing tests for examples

Here I fix some missing if/elif/else for the new ef example.

Thanks, Stefano. I updated the readme as well with the arXiv number.


Feature/cut variables

Adds CutVertexComposite, which decomposes a connected bqm into biconnected components, solves those components, and merges the solution.
Currently the composite returns a single solution, like the ConnectedComponentsComposite. Eventually it should have the option of sampling.
Closes #547

Closing in favour of https://github.com/dwavesystems/dwave-preprocessing/issues/36