Update reference.yml

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 108: [Error] Restore nuget package W:\dzx4-s.optemp\dependentPackages\opbuild.templates.uref\packages.config in folder:W:\dzx4-s.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in http://SiteHelp. Detailed error:  Errors in packages.config projects     Error downloading 'opbuild.templates.uref.1.49.4' from 'https://www.myget.org/F/op/api/v2/package/opbuild.templates.uref/1.49.4'.     An error occurred while sending the request.       The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.       The remote certificate is invalid according to the validation procedure.     Unable to find version '1.49.4' of package 'opbuild.templates.uref'.       D:\Windows\system32\config\systemprofile.nuget\packages: Package 'opbuild.templates.uref.1.49.4' is not found on source 'D:\Windows\system32\config\systemprofile.nuget\packages'.       https://www.myget.org/F/op/api/v2: Error downloading 'opbuild.templates.uref.1.49.4' from 'https://www.myget.org/F/op/api/v2/package/opbuild.templates.uref/1.49.4'.       An error occurred while sending the request.       The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.       The remote certificate is invalid according to the validation procedure.
Line 290: [Error] Restore dependent packages failed

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.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/overview/azure/CDN/Management.yml
:warning:Warning

Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-autogen/overview/azure/CDN/Management.yml

[Warning] Uid(azure.python.sdk.landingPage.services.CDN) has already been defined in docs-ref-autogen/overview/azure/CDN/Management.yml.

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.


change localstack doc to use background step

service dependencies are being deprecated, background steps are preferred
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Looks good to me. -Ravi


Using Button raises AttributeError

Description
When using Button.primary as a submit button, an AttributeError is raised:
*** AttributeError: 'Button' object has no attribute 'input_type'
Cause
This is caused by instantiating a button with the folowing:
Button.primary(
    name="submit",
    type="submit",
    value=self.action_text or _("Submit"),
)

Solution
I've went with using Submit from crispy_forms.layout as a substitute for Button.primary.

@patrickcuagan What version of tbxforms are you using?
Using the latest v1.0.16 I can create a button using your spec just fine (which is also present in wagtail-kit).

Thanks for this @patrickcuagan - another report for this came in this week too.
The good news is that the latest release (1.1.0) seems to have fixed it.


I suggest that star 3d models be quite larger in general, and easier to click on.

I suggest that star 3d models be quite larger in general, and easier to click on.

I've increased the default size of all stars so they are clickable

I've increased the default size of all stars so they are clickable


Hostname not available

I am unable to get names of the connected devices in a network.

same here


(plugin) fix nil pointer addr scenario

Fix nil pointer exceptions in Kong short circuit situations
Reference: https://github.com/Kong/kong-plugin-zipkin/issues/33

Or maybe peer.na would be more applicable. w/e works for yall.

What is peer.na?
The field names are supposed to be from https://github.com/opentracing/specification/blob/master/semantic_conventions.md#span-tags-table

@james-callahan ah sorry, was not super aware of opentracing standards. Knowing what I know now, and can these spans be optional or do we have to set them in the trace tx? If they can be optional then I would say the more appropriate change would be:
https://github.com/Kong/kong-plugin-zipkin/blob/master/kong/plugins/zipkin/opentracing.lua#L202
if balancer_data.ip ~= nil then
   proxy_span:set_tag(ip_tag(balancer_data.ip), balancer_data.ip)
end

Otherwise if it is not optional then I would probably change it to this since we know short circuit requests are just dealing with localhost so this field is really irrelevant(valid to do ternary in a func call like that in lua I imagine?):
proxy_span:set_tag(ip_tag(balancer_data.ip or "<IP_ADDRESS>"), balancer_data.ip or "<IP_ADDRESS>")

Thoughts?

can these spans be optional

Yes they are optional.


[FLINK-6376]when deploy flink cluster on the yarn, it is lack of hdfs delegation.

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Looks like a good fix.
I think it would be good to add secure yarn tests (IT Cases) that test this behavior. Otherwise it may soon be accidentally broken again...

@StephanEwen , yes, i agree with you! I will see how to add the Yarn IT case.

@StephanEwen , when I run the YARNHighAvailabilityITCase, occur the following error. I set the flie /etc/hosts as following:
<IP_ADDRESS> 9-96-101-32
<IP_ADDRESS> localhost
The hadoop version I use is master default version 2.7.0. Do you know how to fix the following error?Thanks a lot in advance!
Test testMultipleAMKill(org.apache.flink.yarn.YARNHighAvailabilityITCase) failed with:
java.net.UnknownHostException: Invalid host name: local host is: (unknown); destination host is: "9-96-101-32":8032; java.net.UnknownHostException; For more details see:  http://wiki.apache.org/hadoop/UnknownHost
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)
at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:742)
at org.apache.hadoop.ipc.Client$Connection.(Client.java:400)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:1448)
at org.apache.hadoop.ipc.Client.call(Client.java:1377)
at org.apache.hadoop.ipc.Client.call(Client.java:1359)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
at com.sun.proxy.$Proxy76.getApplications(Unknown Source)
at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.getApplications(ApplicationClientProtocolPBClientImpl.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
at com.sun.proxy.$Proxy77.getApplications(Unknown Source)
at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplications(YarnClientImpl.java:285)
at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplications(YarnClientImpl.java:262)
at org.apache.flink.yarn.YarnTestBase.checkClusterEmpty(YarnTestBase.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Caused by: java.net.UnknownHostException
... 47 more

The Yarn tests cannot with with Hadoop 2.3.0, which is the default version of master.

@StephanEwen , you mean the reason of this problem is the version of hadoop? The version of 2.7.2 is ok? Thanks!

@StephanEwen , I can run the yarn IT case! Thanks very much. But, in the Yarn IT case:
1、 It uses the yarn mini cluster, which is for testing.I do not know whether it is  using HDFS Delegation token or not.
2、And what's more, the HDFS Delegation Token is used by yarn node manager. It is difficult to judge whether to have this token or not in yarn client. The token is set into yarn application context,but the yarn client does not have API to get yarn application context.
How do you think ? Thanks a lot!

After resolving this problem, we find another problem, when we configure the keytab 、principal, and  add the HDFS delegation token,  the JM 、TM also use this token, but not keytab when communication with HDFS. When token is expired, no one in flink to refresh the token.
But the purpose of adding this token , which is only used for  yarn node manager. We now is resolving this problem. Thanks!

@Rucongzhang My understanding was that the Hadoop code should automatically renew delegation tokens when a Kerberos Keytab is present. @EronWright Can you comment on that assumption?

@StephanEwen , yes, when configuration keytab,  the hadoop code automatically renew delegation tokens .But when token and keytab are available, the hadoop use the token first, but the keytab.

@StephanEwen , we resolve this problem. We only add the HDFS delegation token in JM、TM yarn container context. And when we configuration the keytab, the JM、TM use the keytab to authentication with HDFS.

Would like to follow up on this PR.
@Rucongzhang can you confirm my understanding of the problem?:
So, the root cause of the issue is that when both token AND keytab is configured, we're incorrectly using the token for authentication?

@tzulitai , you are right. There are two problems in yarn cluster mode:
1、when we use the keytab，we do not set the HDFS delegation token to yarn container context, but yarn need.
2、when we user keytab, and also get  HDFS delegation token. The UGI contains both, but UGI use token first to communication with HDFS. The default expire time of HDFS delegation token is 7 days. Flink does not refresh the token.
So, I resolve this problem by following solution:
1、we user keytab and also get HDFS delegation token.  The token is set to yarn container context. And the UGI only use keytab.
Maybe the best solution I think the AM need refresh the token like spark. Maybe we can create a FILP to do this.

@Rucongzhang thanks for the contribution.  I think I understand the problem and your solution, which I will recap.  I also found YARN-2704 to be useful background.
Problem:

YARN log aggregation depends on an HDFS delegation token, which it obtains from container token storage not from the UGI.  In keytab mode, the Flink client doesn't upload any delegation tokens, causing log aggregation to fail.
The Flink cluster doesn't renew delegation tokens.  Note: Flink does renew Kerberos tickets using the keytab.
When the UGI contains both a delegation token and a Kerberos ticket, the delegation token is preferred.   After expiration, Flink does not fallback to using the ticket.

Solution:

Change Flink client to upload delegation tokens.  Addresses problem 1.
2 Change Flink cluster to filter out the HDFS delegation token from the tokens loaded from storage when populating the UGI.  Addresses problem 3.
3 Change JM to propagate its stored tokens to the TM, rather than the tokens from the UGI (which were filtered in (2).

@EronWright ，thank you very much . yes you are right. But about solutin 1. We need only add the HDFS delegation token in yarn container context , yarn client not need refresh the token, yarn resource manager can refresh it.

+1

@StephanEwen ,@tzulitai , please review the code ,if it is ok. Please help me to merge the PR. Thanks!

@Rucongzhang @EronWright thanks for the explanations, the changes looks good to me then.
I'll rebase this, perform some tests and then merge this if all goes well.

@tzulitai ，When I have fixed the problem, I want to write a IT case. But, in the Yarn IT case:
1、 It uses the yarn mini cluster, which is for testing.I do not know whether it is using HDFS Delegation token or not.
2、And what's more, the HDFS Delegation Token is used by yarn node manager. It is difficult to judge whether to have this token or not in yarn client. The token is set into yarn application context,but the yarn client does not have API to get yarn application context.
How do you think ? Thanks a lot!

@Rucongzhang ok, understood. I agree that in general the current AbstractYarnClusterDescriptor has poor separation of concerns, as is a bit hard to write contained tests. We should remember to add this perhaps when refactoring it for FLIP-6.
I'll give this a test run on YARN and then merge it :)

@tzulitai ,ok,Thanks a lot!


Getting 0.00000000 values when trying to query metrics against my Event Hub

Bug Report
Imported Package:
"github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2018-03-01/insights"
Azure SDK for Go Master branch
go version go1.11.1 darwin/amd64
I am trying to use "https://github.com/Azure-Samples/azure-sdk-for-go-samples/blob/master/insights/insights.go" to pull IncomingMessages from my Event Hub, but end up getting 0.00000000 results for each time series:
[Incoming Messages @ 2018-10-26T21:57:00Z - min: 0.000000, max: 0.000000 Incoming Messages @ 2018-10-26T21:58:00Z - min: 0.000000, max: 0.000000 Incoming Messages @ 2018-10-26T21:59:00Z - min: 0.000000, max: 0.000000 Incoming Messages @ 2018-10-26T22:00:00Z - min: 0.000000, max: 0.000000 Incoming Messages@ 2018-10-26T22:01:00Z - min: 0.000000, max: 0.000000]
I am pushing data to the Event Hub and when using the REST API for PowerShell, I get actual values but 0 when using Go.
Auth seems fine since I was able to slightly change values, re run and get either 400 or 401 status codes.
To reproduce, copy the config and iam packages locally and change your imports to reflect the local location.

create a new package and copy the contents of: https://raw.githubusercontent.com/Azure-Samples/azure-sdk-for-go-samples/master/insights/insights.go (be sure to update import path for iam and config)

do a go get github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2018-03-01/insights

apply config values to:
clientID = {your client id}
clientSecret = {your client secret}
tenantID = {your tenant id}
subscriptionID = {your subscription id}
authorizationServerURL = "https://management.core.windows.net/"
everything else default

from main, call GetMetricsData:
resourceId := "/subscriptions/{subscription}/resourceGroups/{resource group}/providers/Microsoft.EventHub/namespaces/{namespace}"
ctx := context.Background()
metrics := []string{"IncomingMessages"}
metrics, err := ehmonutil.GetMetricsData(ctx, resourceId, metrics)
if err != nil {
fmt.Println(err)
}
fmt.Println(metrics)

go run main.go

@scschneider What's the PS command you're using to retrieve the data?

After creating the header as $authHeader, I run this command:
$request = "https://management.azure.com/subscriptions/{SUBSCRIPTION}/resourceGroups/{RESOURCE_GROUP}/providers/Microsoft.EventHub/namespaces/{NAMESPACE}/providers/microsoft.insights/metrics?metricnames=incomingmessages&api-version=2018-01-01"

$result = Invoke-RestMethod -Uri $request `
    -Headers $authHeader `
    -Method Get

Then I can display the data with $result.value.timeseries.data

I am also getting occasional zero/nil values. It is not consistent. One request will succeed and the follow a minute later will return only some values.
One request the following fail:
ServerErrors
UserErrors
OutgoingBytes
ConnectionsClosed
IncomingMessages
After a few successful requests the following fail:
SuccessfulRequests
QuotaExceededErrors
ThrottledRequests
IncomingRequests
IncomingMessages
OutgoingMessages
IncomingBytes
OutgoingBytes
ActiveConnections
ConnectionsOpened
ConnectionsClosed has
CaptureBacklog
CapturedBytes
Size
SUCCREQ
FAILREQ

For event hubs the metrics don't report a min/max value which is why they're always zero.  Instead they report a total for that interval.  Here's an example of the raw response.
{
  "timeStamp": "2018-11-06T17:27:00Z",
  "total": 0.0
},

The sample is very basic and doesn't take this into account.

Digging into this a bit more, if you run the ListMetricDefinitions() you'll find the following for IncomingMessages.
    {
      "id": "/subscriptions/{id}/resourceGroups/{rg}/providers/Microsoft.EventHub/namespaces/{ns}/providers/microsoft.insights/metricdefinitions/IncomingMessages",
      "resourceId": "/subscriptions/{id}/resourceGroups/{rg}/providers/Microsoft.EventHub/namespaces/{ns}",
      "namespace": "Microsoft.EventHub/namespaces",
      "name": {
        "value": "IncomingMessages",
        "localizedValue": "Incoming Messages"
      },
      "isDimensionRequired": false,
      "unit": "Count",
      "primaryAggregationType": "Total",
      "supportedAggregationTypes": [ "None", "Average", "Minimum", "Maximum", "Total", "Count" ],
      "metricAvailabilities": [
        {
          "timeGrain": "PT1M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT5M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT15M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT30M",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT1H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT6H",
          "retention": "P93D"
        },
        {
          "timeGrain": "PT12H",
          "retention": "P93D"
        },
        {
          "timeGrain": "P1D",
          "retention": "P93D"
        }
      ],
      "dimensions": [
        {
          "value": "EntityName",
          "localizedValue": "EntityName"
        }
      ]
    },

The default aggregation type is Total which is why min/max are omitted in the response.  If I specify "Minimum,Maximum" for the aggregation parameter I see the following in the response.
{
  "timeStamp": "2018-11-06T21:13:00Z",
  "minimum": 1.0,
  "maximum": 1.0
},

I'll update the sample to specify this aggregation.

Sample has been updated.  Thanks for reporting this.


Move system option for agent from the top level

The following options are defined in the top level but applicable only for the agent. Other components have the same options at their own levels:
# This default tolerations allow the daemonset to be deployed on master nodes,
# so that we can also collect logs and metrics from those nodes.
tolerations:
  - key: node-role.kubernetes.io/master
    effect: NoSchedule

# Defines which nodes should be selected to deploy the o11y collector daemonset.
nodeSelector: {}
terminationGracePeriodSeconds: 600

# Defines node affinity to restrict deployment of the o11y collector daemonset.
affinity: {}

# Defines priorityClassName to assign a priority class to pods.
priorityClassName: ""

They should be moved under agent for consistency with other components. We should support both places for a while, so the change should be done in backward compatible way with a warning if the root level configs are being used.

Moving to internal ticket. Closing this issue.


Style CalendarDays before today differently

We have added a feature to this component to add another Class to the Days that are before today and enabled.
Because we only had the CSS to show blocked Days, we thought it would be good to have a similar Style, BUT to allow the days to be selected, to better differentiate between Past and Future.
How this works.
1: enableOutsideDays
2: showBeforeTodayDifferently
Result.
1: adds the class: CalendarDay__before_today to those days that are before today

See PR #1286


Add get optimizer method

Add the get_optimizer method to accelerators for use during optimizer configuration, instead of checking for the specific accelerator in the engine.py code.
In all accelerators other than hpu the current implementation returns None so that the previous flow is not affected.
In hpu_accelerator.py, the method returns an optimizer if the configured optimizer has hpu-specific implementation or requirements. Otherwise, it returns None.

@ShellyNR please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@ShellyNR, thanks for your work on this PR. I wanted to check if you needed more clarification to address my comments?

@tjruwase , sorry for not updating this PR, @ShellyNR was OOO for few days. we are considering another direction for support FusedAdam via existing HPU implementation.

@tjruwase , sorry for not updating this PR, @ShellyNR was OOO for few days. we are considering another direction for support FusedAdam via existing HPU implementation.

@nelyahu, thanks for the update. I am excited to see the new approach :).

I'm closing this PR, a new PR that addresses this issue without using a get_optimizer method will be pushed soon.
@tjruwase thanks for your review and comments (:


Da/metadata

@tadad I realize I should have asked for a docs PR associated with this one before merge. I've opened https://github.com/kinode-dao/kinode-book/issues/132 to track it.


[No ticket][Hotfix] Update collection header width for desktop

Ticket: [None]
Feature flag: n/a

Purpose

prevent text  overlap on collections discover page for desktop (993px-1200px)

Summary of Changes

update width of navbar container for these size windows

Screenshot(s)

before:

After:

Side Effects

none

QA Notes
This should only effect window sizes between 993px and 1200px.
There is still some overlap that happens for 993px - 1020px or so, but it's a lot less bad?
This is to address the issue found in https://test.osf.io/collections/rpcb/discover

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4826

Relevant Lines:
6381

💛  - Coveralls


Raise for selectors without models

For @elixir-lang/ecto-adapters,

[x] MySQL
[x] Postgres
[ ] MSSQL
[ ] SQLite3

Here is the commit: https://github.com/elixir-lang/ecto/commit/a70d018c63c59a6c1e1caf1fcefbb16c0baf3ca9. Just copy the changes done to MySQL or PostgreSQL.

SQLite: https://github.com/jazzyb/sqlite_ecto/commit/53544cebf0f65207674b47e7a530129bd0acec5c

MSSQL: livehelpnow/tds_ecto@c1c01eddf3ce30eff9af13d54acb0486989d1707


Use actual open ephemeral port

Problem:
A random port between 10000 and 11000 is chosen without checking for existing connection. If port is occupied, driver will fail to start.
Solution:
Server that listens for kontainer driver now uses an open port from designated ephemeral range.
Issue:
https://github.com/rancher/rancher/issues/19742

lgtm


Implement DAO upgrade wizard

https://www.figma.com/file/K5s2NnxIYn3kPXzionbGWq/Astro---MP-v.-3?node-id=11920%3A84745

Contract integration guide via Trevor (to support this UI):
https://github.com/near-daos/sputnik-dao-contract/wiki/Client-DAO-Upgrade-Integration-Guide

What Launch Darkly flags are relevant to accommodating DAOs on v2 (pre upgrade) and v3 (post upgrade) contracts?


Created CODE OF CONDUCT

Issue no.. #17
Created a CODE OF CONDUCT for contributors, contributing in this repository

@ashwin3005
I'have uploaded the CODE OF CONDUCT and created a pull request, Please accept this pull request

Thanks for your contribution.


Dev build workflow.

Npm install failed at<EMAIL_ADDRESS>Npm run build fails (cannot find module core-util-is in format task).
Also i suggest having dev branch ahead of master (had nowhere to merge but master which is not good).
Node v6.2.0, npm v3.7.3, ubuntu 14.04.

what platform are you on?

For the branch, I don't use dev branches anymore.
Only hotfixes and feature branches.

Ok, I'll try to update all the dependencies we have.
It might fix the cross-platform issue.

I've updated all the dependencies.
Can you tell me if it helps?

All tasks work fine now!
Tests: 2 passed, 7 failed.
Details for the 7 failed tests:
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertExists: Active zone is found
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertExists: Nipple 0 from collection 0 is found
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertExists: Nipple 0 from collection 0 is found
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertVisible: Semi zone should be visible
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertExists: Nipple 0 from collection 1 is found
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertVisible: Static zone should be visible
In ./test/nipplejs.casper.js
  NippleJS test page loads correctly
    assertExists: Nipple 0 from collection 2 is found


added shadow and green gradient to all buttons on hover and wrote new headlines

I have tried to make the simple tacky home button into a pleasing button which turns gradient green and has shadow ,
if you liked this, accept this hacktoberfest-accepted label
fixes #25 too

could you please add the same effect to the rest of the buttons?
so that it could match the theme!!

I can do that, just don't forget to label it under hacktoberfest

all buttons changed, kindly check

resolve conflicts

kindly review

Sure, let me take a look

all is done, you can review it finally

kindly make another pull request for issue no:  #25

by doing this you can get 2 pull request acceptance in hacktoberfest

also, it will be easy for me to review.

Okay sure


Add Linux support for Point-to-Site VPN with Azure Certificates

More details here: https://github.com/kayrus/Azure-vpn-config-samples/blob/strongswan-tls-auth/StrongSwan/eap-tls/README.md

@kayrus : Thanks for your contribution to the Azure documentation! The author, @cherylmc, has been notified to review your proposed change.

@kayrus : Thanks for your contribution to the Azure documentation! The author, @cherylmc, has been notified to review your proposed change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

PRMerger Results

Issue
Resolution

File Change Percent
This PR contains file(s) with more than 20% file change.

@kayrus - this is more like a full doc request, rather than a small update. I'm going to go ahead and send this on the the PMs that are working on this and they'll incorporate it into what they are doing. Thanks for all of your help. I have your changes, so I'll be filing a doc request bug. Thanks again!

@cherylmc - To resolve this pull request, please add an appropriate comment so that automation can take the corresponding action. Thanks

#please-close  We have added this to the queue to work on as additional documentation


Using assertSame to make assert equals strict

Changed log

Using the assertSame to make assert equals strict.

Thanks! 👍


Fix config.schema, add HB v2.0.0 beta support

Closes #6

Fixes broken HomeBridge plugin config UI due to malformed config.schema.

Another one for you, fixes one issue I found with version 4.0.3, plus adds support for HomeBridge version 2.0.0 betas (Issue #6).
Increments version number patch to 4.0.4.

Thanks again @manningtelfer !


Zuul adds "Transfer-Encoding: chunked" header to DELETE requests without body

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
Spring Cloud Hoxton.SR10
Spring Boot 2.3.9.RELEASE
Zuul adds "Transfer-Encoding: chunked" header to the DELETE request which we don't expect in the DELETE requests: they should not have body so "Transfer-Encoding" is redundant.
Delete request is as simple as this:
curl --location --request DELETE 'zuul_url'
Neither header "Transfer-Encoding" nor "Content-Length" headers were present in DELETE request before it is proxied from client to the service by Zuul.
Moreover, since I'm using Payara application server for deploying my service, it throws me 400 BAD_REQUEST due to the presence of "Transfer-Encoding: chunked" header.

Faced the same problem (independently, in a different project).
After several hours of debugging, I can say that nothing is setting the Transfer-Encoding header in Zuul / Hystrix / Ribbon code.
org.apache.http.protocol.RequestContent is a "culprit".
It's even casually mentioned in a comment deep inside spring-cloud-netflix-ribbon:
https://github.com/spring-cloud/spring-cloud-netflix/blob/92cb1a7aa0471cc3286b9936511dd5f12ff6cdca/spring-cloud-netflix-ribbon/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RibbonApacheHttpRequest.java#L62-L64
I'd be glad if someone explained the reason why they do so. OkHttp seem to behave the same way. WildFly doesn't treat DELETE requests with "transfer-encodning: chunked" as bad after all, so it may be an issue for Payara.
A workaround is to explicitly set the Zuul request Content-Length to 0 somehow (is it possible with a "pre" filter?) or to switch to the deprecated Ribbon RestClient by setting property ribbon.restclient.enabled to true.

PRs welcome

Fixed.


SAA-669: Activity candidate suitability

Codecov Report
Patch coverage: 66.92% and project coverage change: +0.17 :tada:

Comparison is base (688b694) 85.44% compared to head (bd59bf6) 85.62%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #387      +/-   ##
============================================
+ Coverage     85.44%   85.62%   +0.17%
- Complexity     1920     1959      +39
============================================
  Files           262      268       +6
  Lines          7325     7443     +118
  Branches        384      402      +18
============================================
+ Hits           6259     6373     +114
+ Misses          858      849       -9
- Partials        208      221      +13

Impacted Files
Coverage Δ

...ps/hmppsactivitiesmanagementapi/entity/Activity.kt
93.79% <0.00%> (ø)

.../hmppsactivitiesmanagementapi/entity/Allocation.kt
95.27% <0.00%> (-0.79%)
:arrow_down:

...nagementapi/resource/ActivityScheduleController.kt
39.13% <0.00%> (-1.78%)
:arrow_down:

...agementapi/client/prisonapi/api/PrisonApiClient.kt
83.33% <16.66%> (-3.04%)
:arrow_down:

...activitiesmanagementapi/service/ActivityService.kt
85.30% <25.00%> (+2.15%)
:arrow_up:

...ementapi/model/suitability/EducationSuitability.kt
66.66% <66.66%> (ø)

...api/model/suitability/IncentiveLevelSuitability.kt
66.66% <66.66%> (ø)

...api/model/suitability/NonAssociationSuitability.kt
66.66% <66.66%> (ø)

...entapi/model/suitability/ReleaseDateSuitability.kt
66.66% <66.66%> (ø)

...smanagementapi/model/suitability/WRASuitability.kt
66.66% <66.66%> (ø)

... and 5 more

... and 5 files with indirect coverage changes

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


From/ToSql for chrono types.

@gwenn @jgallagher Any progress on merging this? Serializing to string and back is a huge pain point for me.

Very sorry about the lack of activity. I have time this week to get this (and the other open) PRs reviewed and merged in for a new release.
@gwenn I need to review this one a little more carefully still, but one thing that jumps out at me is the assumption that floats should be converted to/from Julian dates. I know SQLite supports that, but I think that's relatively unusual (e.g., it mostly uses strftime's substitutions but added %J for Julian date). I would've expected floats to convert to/from fractional seconds since 1970. Even if it's slightly less natural inside SQLite itself, it's still supported:
sqlite> SELECT (julianday('now') - 2440587.5)*86400.0;
1463341804.65901
sqlite> SELECT strftime('%Y-%m-%d %H:%M:%f',<PHONE_NUMBER>.65901, 'unixepoch');
2016-05-15 19:50:04.659

Another alternative is to not support converting ints/floats at all, and instead only provide implementations that serialize to and from strings (that seems the least error prone since SQLite handles them fine and they're immediately obvious to a person inspecting the database). What do you think?


Unexpected appearance padding for position fixed

Describe the bug
When opening a lightbox, elements that contain the position: fixed
property are inexplicably given padding-right, which is redundant and
can break the app.
Which is what happened in my case.
I understand that the behavior should be tied to the body so that nothing jumps when the scroll is removed. But padding-right is added to other elements too.
Expected behavior
Fixed position elements do not have right padding applied.
How to reproduce
I provide you with a sandbox with different cases that arise when such a problem occurs.
https://stackblitz.com/edit/vitejs-vite-qefy88?file=src%2FApp.tsx
Screenshots / Logs
No response
Additional context
No response

This is a documented feature and it's working as intended. Here is how you can learn more about it.

Open the documentation https://yet-another-react-lightbox.com/documentation
Open the browser search box (Command + F / Ctrl + F depending on your OS)
Enter "fixed" keyword and search the documentation page

The documentation also provides specific details on how to disable this feature if it's causing undesired side-effects.

Another possible solution is to separate fixed positioning and presentation styles by adding a <div> wrapper that just defines the position without any presentation styles.
https://stackblitz.com/edit/yet-another-react-lightbox-301?file=src%2FApp.tsx,src%2FApp.css


Removing an import statement cause completions to not work in vscode

Description:
$subject
Consider the following code:
import ballerina/http;
import ballerina/test;

function test() {
    http:<cursor>
}

If you type ctrl+space at cursor, you will get completions. Now, remove the import statement,
import ballerina/test;

and try for the completions at <cursor>. No completions will be provided. And from this point onward, no completions are provided for external modules (std libs, etc).
Steps to reproduce:
See description:
Cause
When investigated, compiler (SymbolEnter) look at the packageCache for the http package. And removal of a import statement cause the packageCache to be cleared. Afterward, when we do a text edit, the http module is no longer in the packageCache.
A package is added to packageCache when that external module is compiled. But, an already compiler http module's module compilation state is set to MODULE_SYMBOLS_LOADED. At this state, when we invoke compile() on module context, package symbols are not added to the packageCache (which is now empty).
Affected Versions:
Up to SL beta 1

The reason is that we wipe out the symbols in the compiler package cache and assume that they will be added again in the next compilation.
https://github.com/ballerina-platform/ballerina-lang/blob/289db963ff993b6d6c25b44d6b7fa09f4b709180/compiler/ballerina-lang/src/main/java/io/ballerina/projects/Package.java#L429
But for the next compilation, when resolving packages at the package resolution phase, the dependencies are loaded from the Project API package cache which contains moduleContexts with MODULE_SYMBOL_LOADED state.
https://github.com/ballerina-platform/ballerina-lang/blob/master/compiler/ballerina-lang/src/main/java/io/ballerina/projects/internal/environment/DefaultPackageResolver.java#L86
Therefore, the symbols are not added to the compiler packageCache


Added support for iOS 8/OS X 10.0 AccessControl (Touch ID)

Please don't automatically merge this!
I've made some modifications to the SSKeychainQuery class by adding some additional properties and methods that essentially allow you to use Touch ID with SSKeychain.
The main change is that i've modified the save: method to support the kSecAttrAccessControl and kSecUseNoAuthenticationUI attributes allowing you to specify a SSKeychainAccessControl object via the new accessControl property (was wrapping this in an NSObject the best approach?).
I have also made changes to fetch: and fetchAll: allowing you to pass in the kSecUseOperationPrompt (displayed when Touch ID is presented) via useOperationPrompt.
Finally, I've added a update: method as there was no existing wrapper around SecItemUpdate().
With all the above changes, You can now do something like the following to protect items with Touch ID:
SSKeychainQuery *query = [SSKeychainQuery new];
query.service = @"SomeService";
query.account = @"SomeAccount";
query.password = @"SomePassword";
query.accessControl = [SSKeychainAccessControl accessControlWithAccessibility:SSKeychainAccessibilityWhenPasscodeSetThisDeviceOnly flags:SSKeychainCreateFlagUserPresence];

NSError *saveError = nil;
if (![query save:&saveError]) {
	NSLog(@"Failed to save item to the keychain: %@", saveError);
} else {
	NSLog(@"saved item successfully");
}

Then, you can fetch them like so:
SSKeychainQuery *query = [SSKeychainQuery new];
query.service = @"SomeService";
query.account = @"SomeAccount";
query.useOperationPrompt = @"A prompt displayed when Touch ID alert is shown";

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
	NSError *fetchError = nil;
	if (![query fetch:&fetchError]) {
		NSLog(@"Failed to fetch item from the keychain: %@", fetchError);
		// `errSecAuthFailed` indicates that the user cancelled the prompt
	} else {
		NSLog(@"got password: %@", query.password);
	}
});

I've not really done much when it comes to maintaining backwards compatibility but I've tested my branch when compiled against the iOS 7 SDK and it still compiles but I would like it if somebody else could check over everything beforehand.
Apple Sample Code: https://developer.apple.com/library/prerelease/ios/samplecode/KeychainTouchID/Introduction/Intro.html
Let me know what you think.
Liam

Any news on getting this merged into the main repo? We've used it in a couple of projects here now and things seem to be working pretty well.
Thanks

@calebd can you review?

:+1: Nice!

How to use accessControl with touch id? I could not find anything about it.
Thanks!


reverse parameter on walk_blobs for container clients

Is your feature request related to a problem? Please describe.
We save the name of our files in chronological order, so with the container client it is easy to use walk blobs to get the first entry. However it is not easy to use it to get the last entry.
Describe the solution you'd like
An optional parameter for the ContainerClients walk_blobs (and list_blobs) functions of reverse, which inverts the order the names of the blobs are being returned.
Describe alternatives you've considered
Right now we we use the forward direction are record the last blob returned from the generator.

Hi @AWendland-CryptoCompare, thanks for the feedback. We'll take a look at this and get back to you asap.

Hi @AWendland-CryptoCompare , thanks for the feedback. We'll take a look at this and get back to you asap.

Hi @AWendland-CryptoCompare Alex, thanks for your inquiry and we will see what we can do about this. Unfortunately, a feature request like this requires support from the Service team, and so while we can put in the request, it is very unlikely that it will be triaged any time soon as there are several other higher priority items on their docket.
In the meantime, here is a suggestion that may help improve your experience given the current implementation:
The walk_blobs and list_blobs APIs both accept an optional parameter name_starts_with, whose docstring is the following:
:param str name_starts_with:
            Filters the results to return only blobs whose names
            begin with the specified prefix.

With that being said, depending on how much information is known about the structure of your file names (and the consistency of the naming scheme), it may be possible to cut down on the query size by leveraging this optional parameter.
For example, if your files were in a format such as:
file1
file2
file3
.....
file229
file230
file231
....
file500
If you were aware that the value is going to be in a certain range (i.e. file23X, where X is the variable value that you don't know), then you could provide the str 'file23' as your name_starts_with param, which would drastically cut the query size down, and then you could probe the last blob from the generator as you are doing currently.
Hopefully this suggestion may help improve your experience, but please let us know if there is anything else we can do in the mean time!
Thanks!

Hi @AWendland-CryptoCompare Alex, just wanted to check in to see if this was a suitable resolution for your use-case? If so, we can follow through with the closure of the issue, but if you do have any doubts please go ahead and raise them in a separate comment and we can see what we can do to further assist you.
Thanks!


A better alternative to Grad-TTS

Thanks for noticing Better Diffusion Modeling Technology. Recently, Xue et al. proposed that Multi-GradSpeech using Consistent Diffusion Model as the generative network outperforms Grad-TTS in both single- and multi-speaker scenarios, and I believe that this advantage can be carried over to the SVC task, and I'd be happy to share the code if you'd like to try to replace Grad-TTS with Multi-GradSpeech.

so good, 我看了Multi-GradSpeech的效果，很好呀，很期望您能开源！


Pylance keeps crashing when using the Jupyter notebook extension

Whenever I delete a notebook cell, the Pylance server seems to crash. I have no way to restart it without reloading the whole notebook.
Side question : is there any command to reload the pylance engine? I saw github issues mentioning it but they were closed. The only thing I can do is close/reopen the notebook tab or reload the window, but I lose my workflow.
 Environment data

Language Server version: 2023.8.10
OS and version: win32 x64
Python version (and distribution if applicable, e.g. Anaconda): 3.10.5
python.analysis.indexing: true
python.analysis.typeCheckingMode: basic

Here's the stack trace I get in the console :
2023-08-08 07:49:39.052 [info] Error: Debug Failure. False expression: Chained file path undefined doesn't match cellFilePaths c:\xxxx\my_notebook.ipynb:pylance-notebook-cell:X26sZmlsZQ==.py
    at _0x301f2e (c:\yyy\.vscode\extensions\ms-python.vscode-pylance-2023.8.10\dist\server.bundle.js:1:997269)
    at c:\yyy\.vscode\extensions\ms-python.vscode-pylance-2023.8.10\dist\server.bundle.js:1:1004473
    at _0x69059c.<computed> (c:\yyy\.vscode\extensions\ms-python.vscode-pylance-2023.8.10\dist\server.bundle.js:1:1004505)
    at _0x27861c._onDidChangeNotebookDocumentAsync (c:\yyy\.vscode\extensions\ms-python.vscode-pylance-2023.8.10\dist\server.bundle.js:1:983463)

Sorry for the problem. This is a dupe of https://github.com/microsoft/pylance-release/issues/4685


InternalDefinitionUpdateServer parameter for MDATP for Linux

linux preferences
Can I somehow configure my own update URL or FIle share as with the Windows version? The linux version lacks a parameter for this in docs.
Or how to create local mirror virus / malware definitions

When filled in correctly, your ticket would have included the following text (below the line):

[Enter feedback here]

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

ID: 44a290d4-3386-7f63-0324-4e6219b5dd24
Version Independent ID: 286954a7-372e-314f-ad9f-d12f5f55b79e
Content: Set preferences for Microsoft Defender ATP for Linux - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/linux-preferences.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

When filled in correctly, your ticket would have included the following text (below the line):

[Enter feedback here]

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

ID: 44a290d4-3386-7f63-0324-4e6219b5dd24
Version Independent ID: 286954a7-372e-314f-ad9f-d12f5f55b79e
Content: Set preferences for Microsoft Defender ATP for Linux - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/linux-preferences.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@konstruktoid : Maybe you would say that this is an easy question to answer, but I don't quite remember where to look.

@konstruktoid : Maybe you would say that this is an easy question to answer, but I don't quite remember where to look.

Hi @churos78, I don't thinks it's possible but someone from MSFT should verify.
mdatp health doesn't return that value by default and
mdatp config automatic-definitions-update only accepts enabled, disabled.

Hi @churos78, I don't thinks it's possible but someone from MSFT should verify.
mdatp health doesn't return that value by default and
mdatp config automatic-definitions-update only accepts enabled, disabled.

Hello @churos78 - Thank you for your query here, but this is not possible for MDATP for Linux. This is something that can be done using Windows. (https://docs.microsoft.com/powershell/module/defender/update-mpsignature?view=win10-ps) but you can request this feature using the User Voice Channel.
@e0i - FYI & A Please.


Consider adapting TensorNetwork constructor to allow for circuit Box objects.

Currently this is impossible because we base circuit -> TN conversion on the pytket Graph representation, which does not store gate objects per se, just names. Names for Box objects, such as PauliExpBox or ToffoliBox are not informative enough as they might cover arbitrary number of qubits, contain parameters, etc.

Closing this issue because it refers to the old (soon to be deprecated API). The new API GeneralState will be full-featured once https://github.com/CQCL/pytket-cutensornet/pull/165 is merged.


[wip] Upgrade/Deployment tooling

First very raw upgrade/deployment tooling cut.
Assumptions:

When you build a new release/image - deployer will be built with it. Self Deployable. Later if needed we can move to separate repo/binary.
it is decoupled from env interface as it requires access to vaults, and other things, which we don't need here. it is fully env configurable.
main input format is arm parameters file. For each environtment we should maintain file and keep it in the git somewhere.

TODO:

add additional health checks for backend operations to make sure we don't call same actions if not needed
to add better handling/check when to delete/upgrade old vmss.
better checking with counts and states.
Add switch for NSG deployment as it should not be re-deployed each time.
tide-up generators as currently, they are source of true.
tests

@jim-minter this is quite big now. Call review/discussion?

The arm parameters file contains secrets we can't store directly in git today.  Are we going to switch these to values to be pulled from keyvault? or will we move them to environment variables?
I'm thinking specifically of rp image auth and pull secret.

The arm parameters file contains secrets we can't store directly in git today. Are we going to switch these to values to be pulled from keyvault? or will we move them to environment variables?
I'm thinking specifically of rp image auth and pull secret.

We should for sure put them into keyvault. But considering those can be accessed by anybody with production cluster and they don't gate anything super sensitive I think this might be a lower priority for now. Those will go away when we get to the place where we can provisioner per-cluster-pull secrets.

/azp run e2e


Admin UI improvements

Adds mesh logo to the header
Adds warning text about read-only nature of the db
Add favicons to meshweb and the admin UI


Support pagination totalAPIs parameter in Store/Publisher GET /apis REST APIs

Description:
Provide total API count to support pagination.
Request:
curl -k -v -H "Authorization: Bearer aa94a8ea-9272-37d1-ae5d-8ca6ce854444" https://:/api/am/publisher/v0.11/apis?limit=1
{
  "count": 1,
  "next": "",
  "previous": "",
  "list": [
    {
      "id": "2b200e15-ff8f-4a88-8e9e-f3a6ae29f508",
      "name": "ABC",
      "description": "",
      "context": "/testing",
      "version": "v1",
      "provider": "admin",
      "status": "PUBLISHED",
      "thumbnailUri": null
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 1,
    "total": 1987
  }
}

"total" count is included inside Pagination in latest v1 APIs. @malinthaprasan Are you referring to something different than that?

Public commit : https://github.com/wso2/carbon-apimgt/commit/1d29f9197f2cd4039fc405b21987fe57424b701a


Add java compiler error reporting release note

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@donat @hegyibalint Is this supposed to go into 8.10 release notes or 8.11?

I left some updates on the wording.
Is this supposed to go into 8.10?

It was my bad, rebased to 8.10

I left two more comments, once resolved, the PR LGTM.

Thank you all for the feedback!


no text

MC 1.15.2, forge 31.1.46, macOS 10.14.6

macOS 10.14.6
This. Not sure what's wrong exactly, but macOS does not like my text rendering.

macOS does not like my text rendering.

Not everything (or everybody) does. You should provide an option to disable it. :P

Yeah I couldn't spot anything, mainly because I spent 15 minutes looking for what rendered the text and I couldn't find it. It's so well hidden away and so is the code that actually renders the text. I'm sure it's very obviously somewhere, but I couldn't find it 😓


argo: 3.3.8 -> 3.3.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/argo/versions.
meta.description for argo is: "Container native workflow engine for Kubernetes"
meta.homepage for argo is: "https://github.com/argoproj/argo"
meta.changelog for argo is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.3.9 with grep in /nix/store/jw47chrdky49kdf278l0s2hm59mrmag2-argo-3.3.9
found 3.3.9 in filename of file in /nix/store/jw47chrdky49kdf278l0s2hm59mrmag2-argo-3.3.9

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
argo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jw47chrdky49kdf278l0s2hm59mrmag2-argo-3.3.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A argo https://github.com/r-ryantm/nixpkgs/archive/c7e3978e36d4f2c27e11bc766598ee1ec9672990.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jw47chrdky49kdf278l0s2hm59mrmag2-argo-3.3.9
ls -la /nix/store/jw47chrdky49kdf278l0s2hm59mrmag2-argo-3.3.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

argo

Maintainer pings
cc @groodt for testing.

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

1 package built:

argo


test(sdk): fix broken dependencies in tests (gym, stable_baselines3, grpc, ray)

Description
What does the PR do?
Newer versions of setuptools==67.0.0 has new enforcements on extras that seem to break with gym. The gym project is not maintained anymore and currently the gym project suggests moving to gymnasium.
Until we move to  gymnasium, we remove the gym requirement from requirement_dev.txt as it only tested in yea where we have isolated env. We also remove stable_baselines3 since it depends on gym and causes issues as well (again only tests in yea)
It also seems that grpc==1.52.0 is also breaking see here.
Testing
How was this PR tested?
N/A
Checklist

[ ] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Ensure PR title compliance with the conventional commits standards

Please note that grpcio==1.52.0 has been yanked.

Please note that grpcio==1.52.0 has been yanked.

Thanks! Going to pin to an earlier version until the fix is released!


feat(oracle): migrate to x/gov params

Description
This is first of the 2 PRs to fix the x/oracle params breaking change.
Second one will be app upgrade handler.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@robert-zaremba  Why we need GovUpdateParams because we already have submit-legacy-proposal param-change

better way to manage params (not though interface casting)
consolidate migrations.


Implement support for PCI-based VPU

@chunfungintel this looks OK to me but it seems I need to fix the image builds first.
@rojkov @bart0sh any final code review comments?

@chunfungintel I'd suggest to squash commits. Otherwise lgtm.

@chunfungintel can you rebase to latest main and squash the commits.


Eq for Bytes returns true for unequal Bytes

Minimal example here: https://github.com/segfault-magnet/sway_bytes_eq_bug
script;

use std::string::String;
use std::assert::assert_eq;

fn main() {
    let string_a = String::from_ascii_str("Hello World");
    assert_eq(string_a.as_bytes().len(), 11);

    let string_b = String::from_ascii_str("NoNoNo");
    assert_eq(string_b.as_bytes().len(), 6);

    // Should not pass but it does
    assert_eq(string_a.as_bytes(), string_b.as_bytes());
}

forc build && cargo test
Tested on forc 0.42.1 and fuel-core 0.19

Could you add
assert(string_a.as_bytes() == string_b.as_bytes());

above the last line to see if that fails?

This fails. Seems like there might be a problem with the assert_eq function

Could you add
assert(string_a.as_bytes() == string_b.as_bytes());
above the last line to see if that fails?

This fails. Seems like there might be a problem with the assert_eq function

If that also fails then it's the Eq, no? Or do you mean that it passes and hence it's the assert_eq?

If __eq returns the right result then it's definitely a problem with std and the trait implementation for Bytes specifically.

If __eq returns the right result then it's definitely a problem with std and the trait implementation for Bytes specifically.

We check the length first which seems to work everywhere else
https://github.com/FuelLabs/sway/blob/cab7e332719b0c9cecd29ac6a858702c3219a6be/sway-lib-std/src/bytes.sw#L605-L616

Maybe the length is set wrong? Like zero or something?

    let string_a = String::from_ascii_str("Hello World");
    assert_eq(string_a.as_bytes().len(), 11);

    let string_b = String::from_ascii_str("NoNoNo");
    assert_eq(string_b.as_bytes().len(), 6);

It would seem that the len is OK. Tried changing 6 to 7 and it failed. So guess Eq works for u64 :D

I think it's related to the where clause with the Eq trait and not something in the std lib. I've created this test function and am seeing the following behavior when passing Bytes.
pub fn takes_generics_with_where_clause<T>(gen_1: T, gen_2: T) -> bool where T: Eq {
    // This evaluates the opposite
    gen_1 != gen_2
    // This evaluates the opposite
    gen_1 == gen_2
    // This evaluates the opposite
    if (gen_1 != gen_2) {
        return false;
    }
    // This has an internal compiler error
    if (gen_1 == gen_2) {
        return true;
    }
}

Sorry correction, any case where we are checking for equal will not evaluate to true or false. Checking for not equal will provide the opposite.
This is a minimal repo:
use std::string::String;
use std::assert::assert_eq;
use std::assert::assert;

pub fn test_1<T>(gen_1: T, gen_2: T) -> bool where T: Eq {
    // This evaluate the opposite
    gen_1 != gen_2
}

pub fn test_2<T>(gen_1: T, gen_2: T) -> bool where T: Eq {
    // This evaluates to Failing call to `std::assert::assert`
    gen_1 == gen_2
}

pub fn test_3<T>(gen_1: T, gen_2: T) -> bool where T: Eq {
    // This evaluate the opposite
    if (gen_1 != gen_2) {
        return false;
    }
    return true;
}

pub fn test_4<T>(gen_1: T, gen_2: T) -> bool where T: Eq {
    // This has an internal compiler error
    if (gen_1 == gen_2) {
        return true;
    }
    return false;
}

#[test]
fn foo() {
    let string_a = String::from_ascii_str("Hello World");
    assert_eq(string_a.as_bytes().len(), 11);

    let string_b = String::from_ascii_str("NoNoNo");
    assert_eq(string_b.as_bytes().len(), 6);

    // Should eval to true
    assert(false == test_1(string_a.as_bytes(), string_b.as_bytes()));

    // Should eval to false
    // This evaluates to Failing call to `std::assert::assert`
    // Will not pass either case but compiles
    assert(false == test_2(string_a.as_bytes(), string_b.as_bytes()));

    // Should eval to false
    assert(true == test_3(string_a.as_bytes(), string_b.as_bytes()));

    // Should eval to false
    // Internal compiler error: Verification failed: Expression used for conditional is not a boolean.
    assert(true == test_4(string_a.as_bytes(), string_b.as_bytes()));
}

I triaged this a little bit and it appears to be the same problem that is seen in #4770.


Can use 'make local' on nodes inherited from another scene

Godot version
a574c0296b38d5f786f249b12e6251e562c528cc
System information
Windows 11
Issue description
The 'make local' button is permitted on nodes even when the node is inherited from another scene. This should not be allowed.
Steps to reproduce

Create a scene
Create another scene an instance the first scene as a child
Create a third scene inherted from the second scene
Select 'make local' on the instantiated scene

Minimal reproduction project
N/A

I don't understand this issue and can't replicate or find any unintended behaviour by following the steps.
It's not properly explained either. "This should not be allowed" is not an explanation for what or why something undesired/unexpected is occurring. What exactly is the problem here?
Why should I not "Make Local" on Inherited scenes? I don't see the option in 4.2 Beta1 anyway:

The child of the inherited scene has that option, but why would making this local be a problem at all? It does not affect the scene we inherited from (scene_B)


Outlining Text

First of all: this is a great library.
I've been trying to get reasonable outlining for text but had little success. If I use the FreeSans font in your test/fonts folder, call FC_SetSpacing(outlinefont, -2), and render the outline at -1,-1 offset to the colored "fill" font, then things work as expected. (Changing the SetFontOutline thickness to 2 requires multiplying everything by 2 and so on.)
Playing around with the vanilla SDL TTF library seems to suggest that rendering the outline at the offset is required either way, so I'm fine with that, but I'm wondering about (1) the SetSpacing requirement and (2) why the outline just doesn't line up (for some characters) in other fonts I've tried (e.g., Roboto and OpenSans)?
Is there some theoretical knowledge about outlines in general that I'm missing, or is it just that some fonts don't like to be outlined?

Those observations match my expectations, but I'm not sure about why other fonts might be misbehaving.  I haven't messed around with outlines and matching them up with the normal font yet, but it would be good to add something like this to the test program.


tf.keras.Model overrides 'self' behaviour with lists

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 18.04.1 LTS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
N/A
TensorFlow installed from (source or binary):
pip3 install tensorflow-gpu
TensorFlow version (use command below):
v1.11.0-0-gc19e29306c 1.11.0
Python version:
Python 3.6.5
Bazel version (if compiling from source):
N/A
GCC/Compiler version (if compiling from source):
N/A
CUDA/cuDNN version:
V9.0.176
GPU model and memory:
GTX 1070, 6GB VRAM
Exact command to reproduce:
python3 codebelow.py

Describe the problem
I am not familiar with ListWrapper(), but it is being applied to all list variables created with self when my class inherits from tf.keras.Model. This is bad because it is causing an IndexError when I use it in certain functions, or even by just passing it through my Tensorflow model (I am using eager execution). I don't know whether this is a bug or if it is intended, but if this is supposed to happen, I think documentation should be added to explain this at https://www.tensorflow.org/api_docs/python/tf/keras/models/Model. I have included a smallest working example below.
Source code / logs
Code:
import tensorflow as tf

class my_class(tf.keras.Model):

    def __init__(self):
        super(my_class, self).__init__()

        self.x = [0]
        print(self.x)

model = my_class()

Output:
ListWrapper([0])

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
Mobile device

Could you be more specific about the issue it's causing? List wrappers are used to support restore on create for variables.

With more investigation, tf.enable_eager_execution appears to be involved as well. I believe this to be a compatibility issue with tf.keras.Model and tf.enable_eager_execution. I am unable to pass data contained within a ListWrapper() into my model, as well as in other functions, while both of those are present.
The following code runs without issue:
import tensorflow as tf

class my_class(object):

    def __init__(self):
        super(my_class, self).__init__()

        self.model = tf.keras.layers.Dense(3)
        # Specify input size
        self.model.build((32, 32, 1))

    def forward(self):
        image = tf.zeros((32, 32, 1))
        self.images = []
        self.images.append(image)
        self.model(self.images)

model = my_class()
model.forward()

Adding tf.enable_eager_execution() OR tf.keras.Model does not break this program.
However, adding tf.enable_eager_execution() AND tf.keras.Model causes an ugly error:
import tensorflow as tf

tf.enable_eager_execution()

class my_class(tf.keras.Model):

    def __init__(self):
        super(my_class, self).__init__()

        self.model = tf.keras.layers.Dense(3)
        # Specify input size
        self.model.build((32, 32, 1))

    def forward(self):
        image = tf.zeros((32, 32, 1))
        self.images = []
        self.images.append(image)
        self.model(self.images)

model = my_class()
model.forward()

2018-10-12 18:17:23.199858: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2018-10-12 18:17:23.394365: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 0 with properties:
name: GeForce GTX 1070 major: 6 minor: 1 memoryClockRate(GHz): 1.683
pciBusID: 0000:01:00.0
totalMemory: 7.93GiB freeMemory: 5.87GiB
2018-10-12 18:17:23.394407: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1490] Adding visible gpu devices: 0
2018-10-12 18:17:23.630373: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-10-12 18:17:23.630403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977]      0
2018-10-12 18:17:23.630410: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0:   N
2018-10-12 18:17:23.630591: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1103] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5641 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0, compute capability: 6.1)
Traceback (most recent call last):
  File "test.py", line 21, in <module>
    model.forward()
  File "test.py", line 18, in forward
    self.model(self.images)
  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 769, in __call__
    outputs = self.call(inputs, *args, **kwargs)  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/keras/layers/core.py", line 936, in call
    inputs = ops.convert_to_tensor(inputs, dtype=self.dtype)
  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1048, in convert_to_tensor
    as_ref=False)
  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1144, in internal_convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 971, in _autopacking_conversion_function
    return _autopacking_helper(v, dtype, name or "packed")
  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 893, in _autopacking_helper
    return gen_array_ops.pack(list_or_tuple, name=name)
  File "/home/jpatts/.local/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 4713, in pack
    _six.raise_from(_core._status_to_exception(e.code, message), None)
  File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.InvalidArgumentError: OpKernel 'Pack' has constraint on attr 'T' not in NodeDef '{{node Pack}} = Pack[N=0, axis=0]()', KernelDef: 'op: "Pack" device_type: "GPU" constraint { name: "T" allowed_values { list { type: DT_INT32 } } } host_memory_arg: "values" host_memory_arg: "output"' [Op:Pack] name: packed

Makes sense, presumably we have a PyList_CheckExact or equivalent somewhere in TFE_Py_Execute. I can reproduce and will see about a fix.

Thank you for the report. The pack error should be fixed now, but please let me know if there are other issues around tracking/ListWrapper.

@2649 to be clear, the existence of ListWrappers is intended behavior. Them causing problems is a bug. Are they causing issues?

@allenlavoie I ran into the problem that adding a ListWrapper and TensorShape results in the error TypeError: 'TensorShape' object does not support item assignment. Explicitly converting either of the two objects to a list works fine, but it's a bit confusing behavior. Not sure why ListWrapper would try to modify the object you're adding with it.

@Danmou thanks for the report. I've sent a fix for review; I think we can just be more lazy about re-wrapping the result of operators in ListWrapper.

Just reporting: as of 2021, using TF version 2.4.1 (stable) and ran into the same issue. My code, while different, uses the same dynamic of feeding options as a list (of dicts, actually). And the code won't recognize. My setting and settings are:
OS: Ubuntu 20.04
TF_version: 2.4.1
Eager_Mode: activated by default (i'm using it to debug my custom layers)
IDE: (docker)Jupyter Notebook
Container: tensorflow/tensorflow:2.4.1-gpu-jupyter
I was able to model the layer without the options as list, but it was a tedious process, the code became unreadable but works. I need this possibility to configure my layer with a list since I will be feeding all those layers and stuff to a Genetic Algorithm to optimize my topology. Would love a solution.

@n4ndoz eager execution doesn't change the self.foo = list(...) behavior. I'd file another bug with a reproduction.

@2649 to be clear, the existence of ListWrappers is intended behavior. Them causing problems is a bug. Are they causing issues?

When I use dask and my custom models (when subclassing) are being serialized/deserialized, the error Exception: TypeError("can not serialize '_DictWrapper' object") is thrown. Are these wrappers not serializable?


Publish libssh2-sys 0.3.0

Hi, could a new release for libssh2-sys be published (0.3.0) to crates.io. Looks like upstream libssh2 changes were pulled in that fix a number of issues (specifically getting the sha2 signature algorithm support).
Can confirm that pointing git2-rs at current master works to fetch from github with an rsa key whereas the latest version on crates.io (0.2.23) doesn't.
cc @yodaldevoid

Sadly I can't actually publish libssh2-sys so I will need to pass the buck on this one. That said, I agree that we should make another release of libssh2-sys.
@wez @crisidev

@yodaldevoid I sent you an invite to be an owner for libssh2-sys

Would be possible to also publish a version that is compatible with the ssh2-rs used by cargo? I'm having lots of annoying problems due openwrt providing a too new libressl and a too stale glibc.
https://github.com/openwrt/packages/pull/19863

ssh2 0.9.4 and libssh2-sys 0.3.0 have both been published.


fix: articles/active-directory/hybrid/how-to-connect-health-alert-catalog.md

Escape elements

@nschonni : Thanks for your contribution! The author, @zhiweiwangmsft, has been notified to review your proposed change.

Verified editorial corrections. Thank you.


Added Ability to add Custom Assets

Description

Added the ability for users to specify custom assets to be installed in their settings.json
EX
"doki.sticker.path": "C:\\Users\\birdm.DESKTOP-FO92PV5\\Downloads\\chocola.gif",
"doki.background.path": "C:\\Users\\birdm.DESKTOP-FO92PV5\\Downloads\\tenor_1.gif",
"doki.wallpaper.path": "C:\\Users\\birdm.DESKTOP-FO92PV5\\workspace\\doki-theme-assets\\backgrounds\\wallpapers\\transparent\\shima_rin_dark.png",
"doki.background.anchor": "top right",

Motivation and Context

Closes #90
I'm also procrastinating on #43
Screenshots (if appropriate):
https://user-images.githubusercontent.com/15972415/125947424-774173e1-9745-4469-b2c6-3239932dafb1.mp4
https://user-images.githubusercontent.com/15972415/125947545-b5e81c22-aeb8-4397-a0b7-23455a247ec9.mp4
Types of changes

[X] New feature (non-breaking change which adds functionality)

Checklist:

[x] I updated the version.
[x] I updated the changelog with the new functionality.

@Chibbluffy Just as a heads up, I should have this changes in later today when I get the time to write documentation. 👍

Just saw the update, and it looks great! I was going to suggest to add the settings.json path to the README as well, but users can probably find it pretty easily if they search it up too. Just a minor convenience factor.
https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations
Cheers!

Good Idea! I added some documentation on how to get to the settings UI and what to search for.


Socket Timeout Followed by Unexpected Automatic Retry Despite Retry Being Disabled

Our bug
We are encountering issues in our Java Spring Boot application where a SocketTimeoutException occurs during database operations, followed by an unexpected automatic retry, even though we have explicitly disabled retry in our configuration.
The flow
The issue arises in a setup where the frontend (browser) sends a request to the gateway, which then forwards the request to another microservice X that performs database operations. Although the gateway timeout is set to 15 minutes, we observe that the microservice takes 1 minute and 5 seconds to process the request before throwing a SocketTimeoutException.
After the timeout error, the system automatically retries the failed request even though we have explicitly disabled retry functionality in our configuration, and an other call is made to the same endpoint.
Tests
We try to delay the Oracle database operation (using DBMS_LOCK.SLEEP) to simulate a slow query.
We think that use the Thread.sleep() java method is not useful.
The error
ERROR org.springframework.web.server.adapter.HttpWebHandlerAdapter
[https-jsse-nio-443-exec-5] [3adb5fc8] Error [java.net.SocketTimeoutException] for HTTP GET "/getData", but ServerHttpResponse already committed (200 OK)
Expected Behavior
At least no automatic retry should occur unless explicitly configured. Since we have disabled retry, the request should fail after the timeout without retrying. Moreover, by default from Spring Cloud Gateway, the retry should be disabled!
Question
The microservice X still returns a 200 OK response to the client, even though the request encountered a SocketTimeoutException. Why? How can we fix this bug? We would like to avoid the retry and also avoid the socket timeout exception.
How can we simulate this behaviour in our local enviroment? Any idea?
Thanks in advance!

Please provide more context. You have mentioned various settings, please provide the properties and values set as well as your route configuration. Please provide the full stack trace for your error.

In my Gateway application.properties I try to disable the retry functionality globally through this configuration properties:
spring.autoconfigure.exclude=org.springframework.cloud.client.loadbalancer.RetryAutoConfiguration spring.cloud.config.retry.initial-interval = 0 spring.cloud.config.retry.max-attempts = 0  spring.cloud.config.retry.max-interval = 0 spring.cloud.config.retry.multiplier = 0 spring.cloud.gateway.filter.retry.enabled=false spring.cloud.loadbalancer.retry.enabled=false
What do you mean for "route configuration"?
I already provide the full stack trace. I don't have any error in my microserice X, only in my gateway I can find the Socket Timeout Exception...
Thanks again @spencergibb!

You said this is a gateway application. The basic function of the gateway is routing. How is yours configured?
Also what versions of boot and spring cloud are you using?

Oh yes, got it,
spring boot version is 2.7.5
spring cloud gateway version is 3.1.8
The route configuration is something like:
@SpringBootApplication
@EnableDiscoveryClient
public class MyGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyGatewayApplication.class, args);
    }

    @Bean
    public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
        return builder.routes()
                .route("microserviceX", r -> r.path("/microserviceX/**")
                        .filters(f -> f.stripPrefix(1)
                                .removeResponseHeader("Sensitive-Header")
                                .removeResponseHeader("Another-Sensitive-Header")
                                .removeRequestHeader("Request-Specific-Header")
                                .metadata("responseTimeout", 5000)
                                .metadata("connectionTimeout", 2000))
                        .uri("lb://microserviceX"))
                .route("microserviceY", r -> r.path("/microserviceY/**")
                        .filters(f -> f.stripPrefix(1)
                                .removeResponseHeader("Sensitive-Header")
                                .removeResponseHeader("Another-Sensitive-Header")
                                .removeRequestHeader("Request-Specific-Header"))
                        .uri("microserviceY"))
                .build();
    }
}

the system automatically retries the failed request even though we have explicitly disabled retry functionality in our configuration, and an other call is made to the same endpoint.

How do you know this? and how do you know it was gateway that did it? Various http clients will retry by default.
Gateway does not retry without adding the retry.
Unfortunately, the versions mentioned are no longer supported.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Rich Text field ignores custom Label component

Link to reproduction
No response
Describe the Bug
I have a rich text field (using Slate) which has a custom Label component. The component is ignored and the default label is rendered. The same component works in other fields.
Looking at the admin.components object at runtime, it is suddenly empty:

Probably something goes wrong while merging the data in admin because I can see both elements/leaves (which comes from the global editor config) and disableBulkEdit (which comes from the field config), so there must be some kind of merging happening, and I assume my field config's components object gets overridden somehow.
To Reproduce
Create a Slate rich text field with a custom label component in the field config.
Payload Version
2.14.2
Adapters and Plugins
db-mongodb, bundler-webpack, richtext-slate

@CherryDT can you show me where in your config you are setting this custom label?
    {
      name: 'richTextSlate',
      type: 'richText',
      admin: {
        components: {
          Label: () => 'Test Custom Label', // Here?
        },
      },
      editor: slateEditor({...}),
    },

Like this? Or within the slateEditor adapter?
A reproduction would be helpful here, I have not been able to replicate this issue.

Yes, at the point you showed. It works fine there for other fields. It does work when I set it within the slateEditor adapter, I just noticed.
Note that I don't set an editor at the field. I set it globally.

I have tested again with the editor being defined globally - the label component still works as expected in both cases.
It's possible that something else in your code is affecting your ability to over-write the label component. Please try to replicate this issue in a basic environment and I can take another look - for now I'm going to convert this to a discussion.


Move  import to repeat header

Move the vector import from the repeat main file to the header to prevent the following error when compiling
 error: ‘vector’ in namespace ‘std’ does not name a template type

Thanks for the PR - we've addressed this in the 1.0 beta (that is now on the main branch)


Warnings in Base.getindex(r::DataFrameRow, idx::AbstractArray)

Hi all,
I am using Julia 0.4.3 on Ubuntu, and I get a deprecation warning from the following bit of code:
using DataFrames
df = DataFrame(a = collect(1:10), b = collect(1:10), c = collect(1:10))
for row in eachrow(df)
  println(row[2:end])
end

The warning is the following:

WARNING: [a] concatenation is deprecated; use collect(a) instead
in depwarn at deprecated.jl:73
in oldstyle_vcat_warning at ./abstractarray.jl:29
[inlined code] from In[3]:4
in anonymous at no file:0
in include_string at loading.jl:266
in execute_request_0x535c5df2 at /home/ubuntu/.julia/v0.4/IJulia/src/execute_request.jl:177
in eventloop at /home/ubuntu/.julia/v0.4/IJulia/src/IJulia.jl:141
in anonymous at task.jl:447
while loading In[3], in expression starting on line 3

I think this can be fixed by implementing Base.getindex(r::DataFrameRow, idx::AbstractArray) as follows:
Base.getindex(r::DataFrameRow, idx::AbstractArray)
  return DataFrameRow(r.df[collect(idx)], r.row)
end

Cheers,
Louis

Thanks. But I wonder why the current code is written as r.df[[idx]], while it looks like r.df[idx] would be enough. Tests still pass if I make this change.
This line comes from commit e47accba by @kmsquire.

[] would be required if idx is "scalar", but in this case it's declared as a vector, so should be fine without them.

I opened https://github.com/JuliaStats/DataFrames.jl/pull/928 but I'm not sure how to add a test for that. I'm also not sure if there are implications I'm missing here.

Fixed by https://github.com/JuliaStats/DataFrames.jl/pull/928.


default values cleanup

These default values are the same in all OSes and all current Firefox versions (ESR, Release, Beta, Nightly). Apart from alerts.showFavicons these defaults are most likely never gonna change

@Thorin-Oakenpants I would like to commit this to get rid of some of the differences between the template and my own user.js, if you don't mind.

thanks :kissing:


Amplitude POST request fails

Hi All,
I am integrating my Amplitude Analytics with my react app and whenever I am initializing amplitude instance the POST api request is failing -
POST https://api.amplitude.com/ net::ERR_BLOCKED_BY_CLIENT
But when I do the same initialization with incognito mode, then it works fine.

Does anybody know why is this happening ?

Hi @PrateekGoyal18! Thank you for choosing Amplitude! Can you check if your browser has any browser extension that can potentially block requests to Amplitude, perhaps an ad blocker?

@i @kevinpagtakhan, I have disabled all the ad-blocker extensions, could there be any other issue ?
Also, on a separate note just wanted to know why such an enterprise application tool's api requests are blocked by any extension because in google analytics we don't face this issue ?

Using a couple of reference I found, it appears that the error ERR_BLOCKED_BY_CLIENT tends to be a component in the browser that prevents itself from sending a request to Amplitude. These components may have a set of rules to determine which to block or not.

https://www.keycdn.com/support/how-to-solve-err-blocked-by-client
https://stackoverflow.com/questions/23341765/getting-neterr-blocked-by-client-error-on-some-ajax-calls

Google Analytics can be blocked in a similar manner.

https://stape.io/blog/how-to-prevent-your-google-analytics-data-from-being-blocked-by-adblockers
https://www.socialmediaexaminer.com/google-analytics-blocking-and-what-it-means-for-marketers

Amplitude offers an alternative solution to get around ad blockers, and this is through a reverse proxy server. More details here: https://community.amplitude.com/building-and-sharing-your-analysis-58/amplitude-is-not-working-when-adblocker-is-enabled-955. On the other hand, Google Analytics provides an alternative using GTM server-side tagging, to get around ad blockers.

Hi @kevinpagtakhan, after some investigation I found that the security plugin installed by our company was blcoking requests to amplitude, I have asked our IT team to whitelist amplitude url's.
Thanks for your help!


Make DateTime parameters culture invariant

For DateTime parameters the default ToString will look into the CurrentCulture to determine the dateformat. This pull request fixes this with the solution proposed in #70 by @wolfen351.

Will request new PR with change in cs template too


task: Transaction Model redo

Redesign transaction model (TransactionTablePriv class) so we can use data from the model (TransactionRecord) in TransactionDesc. Add some PoS / DPoR related fields to the model with data that is otherwise loaded from blocks in TransactionDesc::toHTML (block hash / height, coinbase boincHash, presence of message). Determine the reward type from model fields, instead of from last digits of reward value (#303).
Files: src/qt/transactiondesc, src/qt/transactionrecord, src/qt/transactiontablemodel.
Remove code duplicated in transactiondesc that is present in other files.

Added bounty: [SEz11MmLrHUoFzcjouB8xedCtkvU87uyEf]
https://gridcoinstats.eu/address/SEz11MmLrHUoFzcjouB8xedCtkvU87uyEf). Currently 22.9 GRC, send your contributions to that address.

I will probably give it a try. No idea if I have the skills to do it completely, though. Will keep updated :)

I think this has been partially completed. See #973.

I am closing this issue. It is good enough for now until the GUI rewrite.


Mesh files exported incorrectly [CLI]

The mesh files are being exported with commas instead of periods for the vertices when converted to the OBJ format, which ends up corrupting the file. I conducted a test comparing the files generated by the GUI and the CLI, and it seems that this issue affects only the CLI version. Simply replacing the commas with periods makes the OBJ file work correctly

Oh, regional format bugs, my beloved)


charset is not used when content_type is :json

I've found following difference between sinatra and padrino.
Is this a specification?
[Sinatra]
require 'sinatra'

get '/' do
  content_type :json, charset: 'utf-8'
end

→ "Content-type: application/json; charset=utf-8"
[Padrino]
Case1 : Use symbol for charset
get '/' do
  content_type :json, charset: 'utf-8'
end

→ "Content-type: application/json"
Case2 : Use String for charset
get '/' do
  content_type :json, "charset" => 'utf-8'
end

→ "Content-type: application/json; charset=utf-8"

Should be fixed in #1952


Please continue tagging the released versions on Github so it's clear which version it corresponds to

Hi,
would love if you could continue to tag the versions you release on npm also on Github. E.g. https://www.npmjs.com/package/progress/v/2.0.3 is not tagged
Kind regards
Moritz

I think it's abandoned

Probably but unfortunately it's in some pretty important packages as dependency. Well we all know the npm ecosystem is garbage.


[WebChat] Getting error on bot when using embedded webchat iframe.

Bot Info

App ID: 73e6deac-0225-4188-958f-01846d6c0aa6
SDK Platform: .Net
SDK Version: Visual Studio 2015
Active Channels: Web Chat
Deployment Environment: IIS

Issue Description
I have downloaded Bot template and added Bot Id,Microsoft App Id,Password in web.config.Published the code in IIS on windows server 2012.Its is working in bot emulator with ngrok.
But when i try to embed the code within iframe using secret,its throwing error couldn't send retry.
Even its not working in test mode of  https://dev.botframework.com in mybots.
Please help.Tried all the possibilities given in troubleshoot but no luck.
Code Example

Reproduction Steps

Expected Behavior
ChatBot should work.
Actual Results

Do you have a valid certificate?
The Bot Framework requires that the x.509v3 certificate exposed by your endpoint be current and valid. Most of the checks for "current and valid" are standard checks for server SSL certificates: the Certificate Name must match the hostname, it must not be expired, it must not be listed in a CRL, it must have the correct set of EKUs, etc.
Most importantly, your SSL certificate must chain to a root certificate authority trusted by Microsoft. The latest list of these CAs is available here: http://social.technet.microsoft.com/wiki/contents/articles/31634.microsoft-trusted-root-certificate-program-participants-v-2016-april.aspx
For more information on deploying your bot, see: https://docs.microsoft.com/en-us/bot-framework/deploy-bot-overview
Relates to:
•	https://stackoverflow.com/questions/40888489/bot-framework-without-azure-possible
•	https://stackoverflow.com/questions/44558760/deploy-bot-in-local-iis-and-incle-it-in-custom-chat-in-a-webpage/44571251#44571251

hi @Pratima1490, as @JasonSowers  mentioned the Bot Framework works with bots deployed on any cloud hosting service, as long as you have an internet-accessible endpoint and a valid HTTPS cert.
Please, review that your end point is internet-accesible in the configuration page.

@Pratima1490 please let us know if this did not resolve your issue