custom hostname validation_records are not predictable

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
Terraform v1.0.1
on darwin_amd64

provider registry.terraform.io/cloudflare/cloudflare v3.21.0

Affected resource(s)

cloudflare_custom_hostname
cloudflare_record

Terraform configuration files
terraform {
  required_providers {
    cloudflare = {
      source = "cloudflare/cloudflare"
      version = "3.21.0"
    }
  }
}

provider "cloudflare" {
  api_token = ""
}

locals {
  custom_hostname    = "test.example.com"
  cloudflare_zone_id = ""
}

resource "cloudflare_custom_hostname" "test" {
  zone_id  = local.cloudflare_zone_id
  hostname = local.custom_hostname
  ssl {
    method = "txt"
  }
}

resource "cloudflare_record" "validation" {
  name       = local.custom_hostname
  value      = resource.cloudflare_custom_hostname.test.ssl.0.validation_records.0.txt_value
  zone_id    = local.cloudflare_zone_id
  type       = "TXT"
  ttl        = 60
}

Debug output
2022-08-17T12:33:52.752-0400 [DEBUG] Adding temp file log sink: /var/folders/rr/t6khg1_s6fqfjf_p6zwjx7pc0000gq/T/terraform-log466524081
2022-08-17T12:33:52.753-0400 [INFO]  Terraform version: 1.0.1
2022-08-17T12:33:52.753-0400 [INFO]  Go runtime version: go1.16.4
2022-08-17T12:33:52.753-0400 [INFO]  CLI args: []string{"/usr/local/Cellar/tfenv/2.2.0/versions/1.0.1/terraform", "apply"}
2022-08-17T12:33:52.753-0400 [DEBUG] Attempting to open CLI config file: /Users/michael.dalton/.terraformrc
2022-08-17T12:33:52.753-0400 [DEBUG] File doesn't exist, but doesn't need to.
2022-08-17T12:33:54.228-0400 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/2.2.0/versions/1.0.1"
2022-08-17T12:33:54.232-0400 [INFO]  Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2022-08-17T12:33:54.232-0400 [INFO]  backend/local: starting Apply operation
2022-08-17T12:33:54.237-0400 [DEBUG] created provider logger: level=debug
2022-08-17T12:33:54.237-0400 [INFO]  provider: configuring client automatic mTLS
2022-08-17T12:33:54.269-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0]
2022-08-17T12:33:54.273-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60839
2022-08-17T12:33:54.273-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0
2022-08-17T12:33:54.288-0400 [INFO]  provider.terraform-provider-cloudflare_v3.21.0: configuring server automatic mTLS: timestamp=2022-08-17T12:33:54.287-0400
2022-08-17T12:33:54.309-0400 [DEBUG] provider: using plugin: version=5
2022-08-17T12:33:54.309-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: plugin address: address=/var/folders/rr/t6khg1_s6fqfjf_p6zwjx7pc0000gq/T/plugin1083450449 network=unix timestamp=2022-08-17T12:33:54.309-0400
2022-08-17T12:33:54.348-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-17T12:33:54.349-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60839
2022-08-17T12:33:54.349-0400 [DEBUG] provider: plugin exited
2022-08-17T12:33:54.349-0400 [INFO]  terraform: building graph: GraphTypeValidate
2022-08-17T12:33:54.349-0400 [DEBUG] ProviderTransformer: "cloudflare_record.validation" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:33:54.349-0400 [DEBUG] ProviderTransformer: "cloudflare_custom_hostname.test" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:33:54.350-0400 [DEBUG] ReferenceTransformer: "cloudflare_record.validation" references: [local.cloudflare_zone_id (expand) cloudflare_custom_hostname.test local.custom_hostname (expand)]
2022-08-17T12:33:54.350-0400 [DEBUG] ReferenceTransformer: "local.custom_hostname (expand)" references: []
2022-08-17T12:33:54.350-0400 [DEBUG] ReferenceTransformer: "local.cloudflare_zone_id (expand)" references: []
2022-08-17T12:33:54.350-0400 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: []
2022-08-17T12:33:54.350-0400 [DEBUG] ReferenceTransformer: "cloudflare_custom_hostname.test" references: [local.cloudflare_zone_id (expand) local.custom_hostname (expand)]
2022-08-17T12:33:54.350-0400 [DEBUG] Starting graph walk: walkValidate
2022-08-17T12:33:54.351-0400 [DEBUG] created provider logger: level=debug
2022-08-17T12:33:54.351-0400 [INFO]  provider: configuring client automatic mTLS
2022-08-17T12:33:54.380-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0]
2022-08-17T12:33:54.384-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60840
2022-08-17T12:33:54.384-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0
2022-08-17T12:33:54.398-0400 [INFO]  provider.terraform-provider-cloudflare_v3.21.0: configuring server automatic mTLS: timestamp=2022-08-17T12:33:54.397-0400
2022-08-17T12:33:54.420-0400 [DEBUG] provider: using plugin: version=5
2022-08-17T12:33:54.420-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: plugin address: address=/var/folders/rr/t6khg1_s6fqfjf_p6zwjx7pc0000gq/T/plugin2898641246 network=unix timestamp=2022-08-17T12:33:54.420-0400
2022-08-17T12:33:54.467-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-17T12:33:54.468-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60840
2022-08-17T12:33:54.468-0400 [DEBUG] provider: plugin exited
2022-08-17T12:33:54.468-0400 [INFO]  backend/local: apply calling Plan
2022-08-17T12:33:54.468-0400 [INFO]  terraform: building graph: GraphTypePlan
2022-08-17T12:33:54.468-0400 [DEBUG] ProviderTransformer: "cloudflare_record.validation (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:33:54.468-0400 [DEBUG] ProviderTransformer: "cloudflare_custom_hostname.test (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:33:54.468-0400 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: []
2022-08-17T12:33:54.468-0400 [DEBUG] ReferenceTransformer: "cloudflare_custom_hostname.test (expand)" references: [local.custom_hostname (expand) local.cloudflare_zone_id (expand)]
2022-08-17T12:33:54.469-0400 [DEBUG] ReferenceTransformer: "cloudflare_record.validation (expand)" references: [local.custom_hostname (expand) local.cloudflare_zone_id (expand) cloudflare_custom_hostname.test (expand)]
2022-08-17T12:33:54.469-0400 [DEBUG] ReferenceTransformer: "local.custom_hostname (expand)" references: []
2022-08-17T12:33:54.469-0400 [DEBUG] ReferenceTransformer: "local.cloudflare_zone_id (expand)" references: []
2022-08-17T12:33:54.469-0400 [DEBUG] Starting graph walk: walkPlan
2022-08-17T12:33:54.469-0400 [DEBUG] created provider logger: level=debug
2022-08-17T12:33:54.469-0400 [INFO]  provider: configuring client automatic mTLS
2022-08-17T12:33:54.500-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0]
2022-08-17T12:33:54.503-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60841
2022-08-17T12:33:54.503-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0
2022-08-17T12:33:54.518-0400 [INFO]  provider.terraform-provider-cloudflare_v3.21.0: configuring server automatic mTLS: timestamp=2022-08-17T12:33:54.517-0400
2022-08-17T12:33:54.539-0400 [DEBUG] provider: using plugin: version=5
2022-08-17T12:33:54.539-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: plugin address: address=/var/folders/rr/t6khg1_s6fqfjf_p6zwjx7pc0000gq/T/plugin3447267816 network=unix timestamp=2022-08-17T12:33:54.539-0400
2022-08-17T12:33:54.581-0400 [WARN]  ValidateProviderConfig from "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" changed the config value, but that value is unused
2022-08-17T12:33:54.582-0400 [DEBUG] Resource instance state not found for node "cloudflare_custom_hostname.test", instance cloudflare_custom_hostname.test
2022-08-17T12:33:54.582-0400 [INFO]  ReferenceTransformer: reference not found: "local.cloudflare_zone_id"
2022-08-17T12:33:54.582-0400 [INFO]  ReferenceTransformer: reference not found: "local.custom_hostname"
2022-08-17T12:33:54.582-0400 [DEBUG] ReferenceTransformer: "cloudflare_custom_hostname.test" references: []
2022-08-17T12:33:54.582-0400 [DEBUG] refresh: cloudflare_custom_hostname.test: no state, so not refreshing
2022-08-17T12:33:54.584-0400 [WARN]  Provider "registry.terraform.io/cloudflare/cloudflare" produced an invalid plan for cloudflare_custom_hostname.test, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .ssl[0].type: planned value cty.StringVal("dv") for a non-computed attribute
      - .ssl[0].settings: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2022-08-17T12:33:54.585-0400 [DEBUG] Resource instance state not found for node "cloudflare_record.validation", instance cloudflare_record.validation
2022-08-17T12:33:54.585-0400 [INFO]  ReferenceTransformer: reference not found: "local.custom_hostname"
2022-08-17T12:33:54.585-0400 [INFO]  ReferenceTransformer: reference not found: "local.cloudflare_zone_id"
2022-08-17T12:33:54.585-0400 [DEBUG] ReferenceTransformer: "cloudflare_record.validation" references: []
2022-08-17T12:33:54.585-0400 [DEBUG] refresh: cloudflare_record.validation: no state, so not refreshing
2022-08-17T12:33:54.587-0400 [WARN]  Provider "registry.terraform.io/cloudflare/cloudflare" produced an invalid plan for cloudflare_record.validation, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .allow_overwrite: planned value cty.False for a non-computed attribute
2022-08-17T12:33:54.588-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-17T12:33:54.589-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60841
2022-08-17T12:33:54.590-0400 [DEBUG] provider: plugin exited

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # cloudflare_custom_hostname.test will be created
  + resource "cloudflare_custom_hostname" "test" {
      + hostname                    = "test.example.com"
      + id                          = (known after apply)
      + ownership_verification      = (known after apply)
      + ownership_verification_http = (known after apply)
      + status                      = (known after apply)
      + zone_id                     = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

      + ssl {
          + certificate_authority = (known after apply)
          + method                = "txt"
          + status                = (known after apply)
          + type                  = "dv"
          + validation_errors     = (known after apply)
          + validation_records    = (known after apply)

          + settings {
              + ciphers         = (known after apply)
              + early_hints     = (known after apply)
              + http2           = (known after apply)
              + min_tls_version = (known after apply)
              + tls13           = (known after apply)
            }
        }
    }

  # cloudflare_record.validation will be created
  + resource "cloudflare_record" "validation" {
      + allow_overwrite = false
      + created_on      = (known after apply)
      + hostname        = (known after apply)
      + id              = (known after apply)
      + metadata        = (known after apply)
      + modified_on     = (known after apply)
      + name            = "test.example.com"
      + proxiable       = (known after apply)
      + ttl             = 60
      + type            = "TXT"
      + value           = (known after apply)
      + zone_id         = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    }

Plan: 2 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: 2022-08-17T12:33:54.591-0400 [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
yes

2022-08-17T12:34:04.952-0400 [INFO]  backend/local: apply calling Apply
2022-08-17T12:34:04.952-0400 [INFO]  terraform: building graph: GraphTypeApply
2022-08-17T12:34:04.953-0400 [DEBUG] Resource state not found for node "cloudflare_custom_hostname.test", instance cloudflare_custom_hostname.test
2022-08-17T12:34:04.953-0400 [DEBUG] Resource state not found for node "cloudflare_record.validation", instance cloudflare_record.validation
2022-08-17T12:34:04.953-0400 [DEBUG] ProviderTransformer: "cloudflare_custom_hostname.test" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:34:04.953-0400 [DEBUG] ProviderTransformer: "cloudflare_record.validation" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:34:04.954-0400 [DEBUG] ProviderTransformer: "cloudflare_custom_hostname.test (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:34:04.954-0400 [DEBUG] ProviderTransformer: "cloudflare_record.validation (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"]
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "local.cloudflare_zone_id (expand)" references: []
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "local.custom_hostname (expand)" references: []
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "cloudflare_custom_hostname.test" references: [local.custom_hostname (expand) local.cloudflare_zone_id (expand)]
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "cloudflare_record.validation" references: [local.cloudflare_zone_id (expand) cloudflare_custom_hostname.test cloudflare_custom_hostname.test cloudflare_custom_hostname.test (expand) local.custom_hostname (expand)]
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: []
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "cloudflare_custom_hostname.test (expand)" references: []
2022-08-17T12:34:04.954-0400 [DEBUG] ReferenceTransformer: "cloudflare_record.validation (expand)" references: []
2022-08-17T12:34:04.956-0400 [DEBUG] Starting graph walk: walkApply
2022-08-17T12:34:04.957-0400 [DEBUG] created provider logger: level=debug
2022-08-17T12:34:04.957-0400 [INFO]  provider: configuring client automatic mTLS
2022-08-17T12:34:04.999-0400 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 args=[.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0]
2022-08-17T12:34:05.003-0400 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60843
2022-08-17T12:34:05.003-0400 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0
2022-08-17T12:34:05.018-0400 [INFO]  provider.terraform-provider-cloudflare_v3.21.0: configuring server automatic mTLS: timestamp=2022-08-17T12:34:05.018-0400
2022-08-17T12:34:05.039-0400 [DEBUG] provider: using plugin: version=5
2022-08-17T12:34:05.039-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: plugin address: address=/var/folders/rr/t6khg1_s6fqfjf_p6zwjx7pc0000gq/T/plugin1156017939 network=unix timestamp=2022-08-17T12:34:05.039-0400
2022-08-17T12:34:05.083-0400 [WARN]  ValidateProviderConfig from "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" changed the config value, but that value is unused
2022-08-17T12:34:05.086-0400 [WARN]  Provider "registry.terraform.io/cloudflare/cloudflare" produced an invalid plan for cloudflare_custom_hostname.test, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .ssl[0].type: planned value cty.StringVal("dv") for a non-computed attribute
      - .ssl[0].settings: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
cloudflare_custom_hostname.test: Creating...
2022-08-17T12:34:05.086-0400 [INFO]  Starting apply for cloudflare_custom_hostname.test
2022-08-17T12:34:05.086-0400 [DEBUG] cloudflare_custom_hostname.test: applying the planned Create change
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ssl.0.validation_records" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ssl.0.validation_errors" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ssl.0.settings" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ssl.0.validation_errors" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ssl.0.settings" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ssl.0.validation_records" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ownership_verification" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: setting computed for "ownership_verification_http" from ComputedKeys: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.087-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
POST /client/v4/zones/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/custom_hostnames HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.0.1 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/dev
Content-Length: 175
Authorization: [redacted]
Content-Type: application/json
Accept-Encoding: gzip

{
 "hostname": "test.example.com",
 "ssl": {
  "method": "txt",
  "type": "dv",
  "wildcard": false,
  "settings": {}
 },
 "ownership_verification": {},
 "ownership_verification_http": {}
}
-----------------------------------------------------: timestamp=2022-08-17T12:34:05.087-0400
2022-08-17T12:34:05.633-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 201 Created
Cf-Cache-Status: DYNAMIC
Cf-Ray: 73c3d0afc8e5b18d-ATL
Content-Type: application/json; charset=UTF-8
Date: Wed, 17 Aug 2022 16:34:05 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU4vq74ZFe3sNVUZRCNcj4XD4UV; SameSite=Lax; path=/; expires=Wed, 17-Aug-22 19:04:06 GMT; HttpOnly
Set-Cookie: __cfruid=e61f258fde217cedd1fe402960e5c56e19bf7077-1660754045; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
X-Envoy-Upstream-Service-Time: 41

{
  "result": {
    "id": "a2961b91-672d-4941-a48a-91b788029174",
    "hostname": "test.example.com",
    "ssl": {
      "id": "057952dd-c629-4488-af09-e044eb722473",
      "type": "dv",
      "method": "txt",
      "status": "initializing",
      "settings": {},
      "wildcard": false,
      "certificate_authority": "digicert"
    },
    "status": "pending",
    "ownership_verification": {
      "type": "txt",
      "name": "_cf-custom-hostname.test.example.com",
      "value": "ffa07747-c03a-4528-96a0-031beb9d8109"
    },
    "ownership_verification_http": {
      "http_url": "http://test.example.com/.well-known/cf-custom-hostname-challenge/a2961b91-672d-4941-a48a-91b788029174",
      "http_body": "ffa07747-c03a-4528-96a0-031beb9d8109"
    },
    "created_at": "2022-08-17T16:34:05.600606Z"
  },
  "success": true,
  "errors": [],
  "messages": []
}

-----------------------------------------------------: timestamp=2022-08-17T12:34:05.633-0400
2022-08-17T12:34:05.634-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: Cloudflare API Request Details:
---[ REQUEST ]---------------------------------------
GET /client/v4/zones/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/custom_hostnames/a2961b91-672d-4941-a48a-91b788029174 HTTP/1.1
Host: api.cloudflare.com
User-Agent: terraform/1.0.1 terraform-plugin-sdk/2.10.1 terraform-provider-cloudflare/dev
Authorization: [redacted]
Content-Type: application/json
Accept-Encoding: gzip

-----------------------------------------------------: timestamp=2022-08-17T12:34:05.633-0400
2022-08-17T12:34:06.272-0400 [DEBUG] provider.terraform-provider-cloudflare_v3.21.0: Cloudflare API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 73c3d0b31c2facef-ATL
Content-Type: application/json; charset=UTF-8
Date: Wed, 17 Aug 2022 16:34:06 GMT
Expect-Ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGU4vq74ZFe3sNVUZRCNcj4XD4UV; SameSite=Lax; path=/; expires=Wed, 17-Aug-22 19:04:07 GMT; HttpOnly
Set-Cookie: __cfruid=2d8594d6b031a6b5aeb8d2abcdbce98f582ab704-1660754046; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Vary: Accept-Encoding
X-Envoy-Upstream-Service-Time: 12

{
  "result": {
    "id": "a2961b91-672d-4941-a48a-91b788029174",
    "hostname": "test.example.com",
    "ssl": {
      "id": "057952dd-c629-4488-af09-e044eb722473",
      "type": "dv",
      "method": "txt",
      "status": "initializing",
      "settings": {},
      "bundle_method": "ubiquitous",
      "wildcard": false,
      "certificate_authority": "digicert"
    },
    "status": "pending",
    "ownership_verification": {
      "type": "txt",
      "name": "_cf-custom-hostname.test.example.com",
      "value": "ffa07747-c03a-4528-96a0-031beb9d8109"
    },
    "ownership_verification_http": {
      "http_url": "http://test.example.com/.well-known/cf-custom-hostname-challenge/a2961b91-672d-4941-a48a-91b788029174",
      "http_body": "ffa07747-c03a-4528-96a0-031beb9d8109"
    },
    "created_at": "2022-08-17T16:34:05.600606Z"
  },
  "success": true,
  "errors": [],
  "messages": []
}

-----------------------------------------------------: timestamp=2022-08-17T12:34:06.271-0400
2022-08-17T12:34:06.275-0400 [WARN]  Provider "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" produced an unexpected new value for cloudflare_custom_hostname.test, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .custom_origin_sni: was null, but now cty.StringVal("")
      - .custom_origin_server: was null, but now cty.StringVal("")
      - .ssl[0].custom_key: was null, but now cty.StringVal("")
      - .ssl[0].wildcard: was null, but now cty.False
      - .ssl[0].custom_certificate: was null, but now cty.StringVal("")
cloudflare_custom_hostname.test: Creation complete after 1s [id=a2961b91-672d-4941-a48a-91b788029174]
╷
│ Error: Invalid index
│
│   on cloudflare.tf line 29, in resource "cloudflare_record" "validation":
│   29:   value      = resource.cloudflare_custom_hostname.test.ssl.0.validation_records.0.txt_value
│     ├────────────────
│     │ resource.cloudflare_custom_hostname.test.ssl[0].validation_records is empty list of object
│
│ The given key does not identify an element in this collection value.
╵
2022-08-17T12:34:06.328-0400 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-08-17T12:34:06.330-0400 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/3.21.0/darwin_amd64/terraform-provider-cloudflare_v3.21.0 pid=60843
2022-08-17T12:34:06.330-0400 [DEBUG] provider: plugin exited

Panic output
No response
Expected output
When, using the txt validation method for a custom hostname, it's expected that validation_records be present in the response after creation. A targeted apply of the custom hostname then a subsequent apply is required to create the validation records. The provider should anticipate an initializing status and retry resourceCloudflareCustomHostnameRead until a pending_validation status and validation_records are available.
After the custom hostname is validated, the validation_records are no longer present in the response and the cloudflare_record resource would be destroyed. It's expected that these values persist for the life of the custom hostname.
Actual output
╷
│ Error: Invalid index
│
│   on cloudflare.tf line 29, in resource "cloudflare_record" "validation":
│   29:   value      = resource.cloudflare_custom_hostname.test.ssl.0.validation_records.0.txt_value
│     ├────────────────
│     │ resource.cloudflare_custom_hostname.test.ssl[0].validation_records is empty list of object
│
│ The given key does not identify an element in this collection value.
╵

Steps to reproduce

apply template above

Additional factoids
It is not possible to use count or for_each to conditionally create the cloudflare_record if validation_records are present as the values are determined after apply.
References
#1466 and #1197 also report the missing records post-validation

i'd be open to reviewing a PR that added a wait_for_active_status attribute (see #1567 for prior art) where people could opt into this. i wouldn't want it as the default behaviour as many don't need this.

hey @jacobbednarz i opened up https://github.com/cloudflare/terraform-provider-cloudflare/pull/1953 to address this issue, which is also blocking me at the moment. thanks.


Introduce value objects for complex parameter types

We can offer users some custom parameter type objects to handle simple input validation + appropriate casting for more complex parameter types (the two we've talked about so far are arrays of strings & arrays of integers).
test/dummy/app/tasks/maintenance/params_task.rb demonstrates how a Task author would use one of these types in their Task. This way, users don't have to copy-pasta a regex across Tasks, and they also get typecasting for free without having to cast their user input themselves in the Task.
The regexes right now are pretty simple.
For array of integers: We accept a comma-delimited series of integers. We allow zero or one whitespace at the start or end of the string, before and after commas, and before and after the integers. (We could make it accept any amount of whitespace here).
For array of strings: We accept a comma-delimited series of strings (alphanumeric characters). I've just applied the same whitespace pattern matching as the integer array, although these will be included in the typecast result (we could discard additional whitespace at the start / end of the strings we parse? Not sure how fancy we want to get here)
Feedback welcome! 🤗  I would like to get an initial version of this ship and iterate as necessary though without getting too invested in the details 😉

cc @Shopify/rails @Shopify/core-stewardship

@etiennebarrie I can get on board with your perspective 😄  My inclination was to treat input data with a lot of caution, being pretty strict about what was expected and raising if it didn't conform to those expectations. You're right about Active Record types though - they're super loose in terms of how they coerce data, and they mostly just resort to nil if the data can't be coerced properly.
Let's go with just performing the coercion for users, and returning nil if the input can't be parsed properly into the intended value type - it can be up to users to define further validations on their Tasks if they need more safeguards in place.

For now, I've opted to introduce the value types without any of the validations, and I've added a note in the README:

If you use one of these types for a parameter in your Task, your input will becoerced appropriately. You may still want write validations for your input, as type coercion is fairly lax. For example, if you input "xyz" for anIntegerArrayType parameter, it will be cast to [0].

We may want to offer custom validations eventually (as you'd suggested), but I'm not sure what makes the most sense right now and so I'd prefer to defer until we have some feedback from users on what sort of custom validators would bring value.

We've agreed to put this on pause until we have more info. I've opened https://github.com/Shopify/maintenance_tasks/issues/432 in the meantime to keep track of this feature.

@adrianna-chang-shopify can this be closed?

Closing, I think we've determined that there isn't enough of a demand for a feature like this, and we weren't quite happy with the API in this PR.


Mouse wheel doesn’t work when title bar is right clicked until the window is minimized and restored/blurred and refocused.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.70.0
OS Version: Windows 7

Steps to Reproduce:

Open a VS Code window that has scrolling content.
Right click on the title bar.
Try to scroll the content, which would not work.
Minimize and restore the window.
Scroll again and it works again.

https://user-images.githubusercontent.com/8168391/183324519-8d7f3d04-45f4-41a9-93c4-9109350c52ce.mp4

I am not able to reproduce this on Windows 11, I am not sure why this would be the case on Windows 7. Is there anything more specific in the repro that I might be missing?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

I have provided all available information only to get it closed as info-needed.

What is still needed to get it reopened?


fix(bun): install bunx

Closes #1680

Oops, should have started with a download of the distribution zip instead of reading docs
The zip files from bun contain only the bun executable, and bunx is very literally an alias for bun x

More specifically, if I install with the script at https://bun.sh/install then I get bunx as a symlink to bun. Sounds like the bun binary checks its argv[0] process name to decide behavior, I've done that before too for shebang support, it's a fun trick

it'd be good to add a line to e2e/test_bun for a simple test


Add BBCode escape sequences

This PR adds [lb] and [rb] BBCodes, which are displayed as [ and ] respectively. This solution is consistent with the existing ones [lrm], [rlm], etc. BBCodes for Unicode control characters.

[b]text[/b]
text

[lb]b[rb]text[lb]/b[rb]
[b]text[/b]

Resolves #56556.

All of these codes probably should be added to the https://github.com/godotengine/godot-docs/blob/master/tutorials/ui/bbcode_in_richtextlabel.rst, BBCodes for the special characters is not currently documented anywhere.

Seems fine to me. Another option would be to add support for \[ and \] to escape brackets, so this would become \[b\]text\[/b\].
That's maybe more common/expected at least now that Markdown is so popular, but might also be more difficult to implement, so I'm fine with using [lb] and [rb] for literal brackets.

This should maybe be added to doc/tools/make_rst.py too for the class reference XML+BBCode to RST converter. So far we've always enclosed non-tag brackets with [code] [/code] (which treats everything within as literals), and that seems to be good enough, but it probably makes sense to have this feature there too.
There are more of our BBCode tags which are supported in RichTextLabel but not in make_rst.py, we should probably document that for doc writers (but that's outside the scope of this PR).

All of these codes probably should be added to the https://github.com/godotengine/godot-docs/blob/master/tutorials/ui/bbcode_in_richtextlabel.rst, BBCodes for the special characters is not currently documented anywhere.

If this PR is accepted, then I will open the corresponding PR in the godot-docs repository.

Thanks!

Cherry-picked for 3.5.


Filter is not applied all time.

I have made a strange observation. For some images, actually most of those I take with my camera, Image Toolbox does not apply filters in the preview but in the saved images. Here's a comparison between an image taken by the camera and one image directly taken from the website.
On the left you see the image from the home page and on the right there's a photograph of the home page image. Below you see the application of the live preview filters that work for the stored image from the home page but not from the photo taken by the camera.

fixed


Few questions

Is it possible to change the font?
I want to embed a snippet of my "newsletter" from substack in the footer. Is it possible to embed code?
in the section, "Things I do" - Is it possible to change the icons? And more things.
In the blog, how to show "short description". the description attribution is not showing anywhere
Is headings supported? I used various headings in MD file like ####, ### for various subheadings, but when it's converted, it's not displaying the headings. Is there any way to use headings?

Hi @rajganeshp ,
I pushed some updates now with the v2.1.0. Please download the latest release to use the below.

I want to embed a snippet of my "newsletter" from substack in the footer. Is it possible to embed code?

Yes, you can add embedded code using embed option in config file. Customize the code's width and height for better look and don't use the styling of your embed.
note: If you use styling in embedded code, then don't use hashtag in embed's background color.(it is considered as a comment in config file) Please use the rgp format.

in the section, "Things I do" - Is it possible to change the icons? And more things.

Yes, you can add font awesome icons with its class name as here and you can also add more items like this method.

In the blog, how to show "short description". the description attribution is not showing anywhere

Description to get a better seo. You can also show your description in your blog post with showdescription option in config file as here

Is headings supported? I used various headings in MD file like ####, ### for various subheadings, but when it's converted, it's not displaying the headings. Is there any way to use headings?

Now I updated these all. It will looks like here. But, h1(#) and h2(##) is preferable for heading.

Is it possible to change the font?

This theme's fonts are looking awesome. So, I don't think as of now

Thanks for quick response. Can you update you Readme to show how to pull
latest updates? I'm not too familiar with Git.
On Fri, Oct 23, 2020 at 3:26 PM GURU SABARISH<EMAIL_ADDRESS>wrote:

Hi @rajganeshp https://github.com/rajganeshp ,
I pushed some updates now with the v2.1.0
https://github.com/gurusabarish/hugo-profile/releases/tag/v2.1.0.
Please download the latest release to use the below.
I want to embed a snippet of my "newsletter" from substack in the footer.
Is it possible to embed code?
Yes, you can add embedded code using embed option in config file.
Customize the code's width and height for better look and don't use the
styling of your embed.
note: If you use styling in embedded code, then don't use hashtag in
embed's background color.(it is considered as a comment in config file)
Please use the rgp format.
in the section, "Things I do" - Is it possible to change the icons? And
more things.
Yes, you can add font awesome icons with its class name as here
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L42
and you can also add more items like this method
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L39
.
In the blog, how to show "short description". the description attribution
is not showing anywhere
Description to get a better seo. You can also show your description in
your blog post with showdescription option in config file as here
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L58
Is headings supported? I used various headings in MD file like ####, ###
for various subheadings, but when it's converted, it's not displaying the
headings. Is there any way to use headings?
Now I updated these all. It will looks like here
https://hugo-profile.netlify.app/blog/markdown. But, h1(#) and h2(##)
is preferable for heading.
Is it possible to change the font?
This theme's fonts are looking awesome. So, I don't think as of now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gurusabarish/hugo-profile/issues/5#issuecomment-715573671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR3WBTYSPDU4GPBLMTIS6LSMHRI5ANCNFSM4S4WV3EQ
.

Can you show me how to embed the code?
I figured out how to get the latest code.
On Fri, Oct 23, 2020 at 3:26 PM GURU SABARISH<EMAIL_ADDRESS>wrote:

Hi @rajganeshp https://github.com/rajganeshp ,
I pushed some updates now with the v2.1.0
https://github.com/gurusabarish/hugo-profile/releases/tag/v2.1.0.
Please download the latest release to use the below.
I want to embed a snippet of my "newsletter" from substack in the footer.
Is it possible to embed code?
Yes, you can add embedded code using embed option in config file.
Customize the code's width and height for better look and don't use the
styling of your embed.
note: If you use styling in embedded code, then don't use hashtag in
embed's background color.(it is considered as a comment in config file)
Please use the rgp format.
in the section, "Things I do" - Is it possible to change the icons? And
more things.
Yes, you can add font awesome icons with its class name as here
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L42
and you can also add more items like this method
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L39
.
In the blog, how to show "short description". the description attribution
is not showing anywhere
Description to get a better seo. You can also show your description in
your blog post with showdescription option in config file as here
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L58
Is headings supported? I used various headings in MD file like ####, ###
for various subheadings, but when it's converted, it's not displaying the
headings. Is there any way to use headings?
Now I updated these all. It will looks like here
https://hugo-profile.netlify.app/blog/markdown. But, h1(#) and h2(##)
is preferable for heading.
Is it possible to change the font?
This theme's fonts are looking awesome. So, I don't think as of now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gurusabarish/hugo-profile/issues/5#issuecomment-715573671,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR3WBTYSPDU4GPBLMTIS6LSMHRI5ANCNFSM4S4WV3EQ
.

Can you show me how to embed the code?

Go to your Substack account and copy the embedded code. It looks like below image.

Come back to the config file and paste your code as below without styling. If you want customize the height and width, then change it with your embed's width and height.

....
Params:
    .....
    #footer
    embed: <iframe src="https://gurusabarish.substack.com/embed" width="480" height="320" ></iframe>

Is it working for you? It's not working for me when I tried your above
snippet. Also, the "blog summary is not working.
Thanks,
Raj
On Fri, Oct 23, 2020 at 11:20 PM GURU SABARISH<EMAIL_ADDRESS>wrote:

Can you show me how to embed the code?

Go to your Substack account and copy the embedded code. It looks
like below image.

[image: substack]
https://user-images.githubusercontent.com/52481812/97067554-eb061e80-15db-11eb-9e58-207aa0bb78b4.PNG

Come back to the config file and paste your code as below without
styling. If you want customize the height and width, then change it with
your embed's width and height.

....Params:
.....
#footer
embed:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gurusabarish/hugo-profile/issues/5#issuecomment-715670828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR3WBWVRNR4GBE7NECQJK3SMJIXTANCNFSM4S4WV3EQ
.

Is it working for you? It's not working for me when I tried your above

Its not working now. It will take some time to fix. I will notify you when I did.

blog summary is not working

It works well as the image. Do you use the showdescription option's value as true?

no problem. thanks. On the blog summary, it will be nice to show on the
listing page.. so we can give few lines on what the blog is about.
On Sat, Oct 24, 2020 at 12:59 PM GURU SABARISH<EMAIL_ADDRESS>wrote:

Is it working for you? It's not working for me when I tried your above
Its not working now. It will take some time to fix. I will notify you when
I did.
blog summary is not working
It works well as the image. Do you use the showdescription
https://github.com/gurusabarish/hugo-profile/blob/6d50a08863a04f310826c13e048303352c3183e7/exampleSite/config.yaml#L58
option's value as true?
[image: description]
https://user-images.githubusercontent.com/52481812/97088744-9b156f00-1650-11eb-9c33-e05b4bca9c1c.PNG
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gurusabarish/hugo-profile/issues/5#issuecomment-716031805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR3WBWGDRGUTA5LZD3GADTSMMIYDANCNFSM4S4WV3EQ
.

no problem. thanks. On the blog summary, it will be nice to show on the
listing page.. so we can give few lines on what the blog is about.

 If you open to pull the code, then tell me your needs and the github repo link.
I can mail the full source code after making the website for the maintenance purpose.

Hi @rajganeshp ,
I have updated the description as you said.
Thanks

Thanks. Will check it out.
On Sun, Oct 25, 2020, 11:32 PM GURU SABARISH<EMAIL_ADDRESS>wrote:

Hi @rajganeshp https://github.com/rajganeshp ,
I have updated the description as you said.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gurusabarish/hugo-profile/issues/5#issuecomment-716297014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR3WBQFLBEILUA2HS3Z6V3SMT3UVANCNFSM4S4WV3EQ
.

it's working


Russian improved translate

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Congrats @privetsamara on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Add viewport border, or increase unfocused viewport background color saturation

The viewport background colour has low saturation when unfocused. The saturation increases on hover, and increases further on click.
CodeGlance only allows one viewport colour to be set for all themes. So for people who use both light and dark themes (and switch regularly), it's hard to find a middle ground background colour that will keep the viewport clearly visible when it's unfocused.
Example with the viewport colour set to #01579B (blue), while using a light theme. Left to right is unfocused, focused and clicked:

Although this blue is clearly visible when using a dark theme, it's hard to use with a light theme, particularly when unfocused.
Ideas:

Add a fixed border around the viewport, the colour of which can be set by the user by an option.
Add saturation slider options for the viewport background colour.

For example, Visual Studio's implementation of the minimap is lacking a viewport background colour, but is still usable because of well defined borders:

OK, I will consider the option of the fixed border.

Hi,try this setting viewport border thickness > 0 in config.
CodeGlance Pro-1.5.2.zip

Perfect! Thanks for the quick response. Will this make a release?

Yes,will release in the next week


Field display improvements

This makes some minor updates to the components to display fields. Includes Jelte's suggestions in #1708
Also:

Improves formatting for keyword fields if the value is an array. (a, b instead of a,b)
Dates are now displayed as "Jan 1, 2024".
Increases the preview size for text content fields when highlighting is off.

Internal changes:

Extracts the logic for content fields to a ContentFieldComponent.
Moved some components and pipes that were part of the DocumentModule to /frontend/src/app/document/.
Removed some exports from the DocumentModule that were not actually used anywhere else.
Removed the unused RegexHighlightPipe.

Ah, I didn't see #1593, so I assumed that the manual search was still a reality. In that case, it's indeed fine to remove the regex highlighter. The fvh search requires term vectors on the field level (not only in subfields of the multifield), but I believe the necessary reindex operations have been done. And indeed, Elasticsearch highlighting is an option at any rate, but complex queries won't get highlighted then.

but complex queries won't get highlighted then.

If you mean things like wildcards or fuzzy matching, if I recall correctly, that was the reason why we stopped using the regex highlighter (which does not support those).
The documentation does suggest that certain types of queries are not fully supported on all algorithms. (fvh doesn't support span queries, and unified is said to support "accurate phrase and multi-term (fuzzy, prefix, regex) highlighting" - suggesting some other algorithms do not.)
This isn't necessarily relevant for us because we only use simple_query_string queries. But any limitations described in the documentation point to unified as the most accurate - which is the algorithm we use if fvh is not supported.
I can't find any example of unified being less accurate for complex queries. Can you give an example of such a query? Or point to the documentation where I can read more about this?

I haven't implemented the Elasticsearch highlighting, but I remembered there were some limitations of what could be done without the fvh highlighter. All indices had to be reindexed for the ES highlighting feature is all I remember. Looking back at the documentation, perhaps being able to break the highlighting with the boundary_chars characters was more relevant then. @Meesch , do you remember?
Anyway, fine to merge this.


UX/3: User needs to know that the chosen suggestion is sent

After submitting the suggestion, a confirmation message should be displayed.

https://github.com/gla6-fp-team1/gaelic-project/pull/23


Kerblam new crashes if no answer is given to the questions it asks

Either use a default or re-ask the question if the user just presses "enter".

Fixed in #51


File drop zone for FF and Edge on-select not worrking for drops files

Hi,
Regarding the https://metroui.org.ua/file.html#_file_drop
It appears the on-select is only triggered in chrome, not in FF nor Edge.
I've a small suggestion too. Once you drop a file, it would be nice to display the name of the file(s) in the box. 😇

Bug for drop files in FF and Edge exists. Thanks.

Fixed for FF, for I am looking for a solution ...

Wow, that's quickly going forward... 👍

Fixed for IE11

Drag and drop not working on Microsoft edge (Bug on Edge)
https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/8964523-support-html5-drag-and-drop-of-files-from-explorer#{toggle_previous_statuses}

Works 👍 Thanks!


merge nodeagent helm charts into master

merge nodeagent helm charts change to master, disable by default for now.
including change from original PRs  https://github.com/istio/istio/pull/7875, https://github.com/istio/istio/pull/8724

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: gyliu513
If they are not already assigned, you can assign the PR to them by writing /assign @gyliu513 in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@quanjielin: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
90b3489f91836bd38bdf6f5655fa073eda06ab23
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/cc @wattli  /assign @gyliu513

@quanjielin: GitHub didn't allow me to request PR reviews from the following users: /assign.
Note that only istio members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @wattli  /assign @gyliu513

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: wattli
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: gyliu513
If they are not already assigned, you can assign the PR to them by writing /assign @gyliu513 in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by: wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


allow for multiple smoothie configurations

problem:
Project might have more than one smoothie layout for different email purposes
potential solution
Allow smoothie to be configured for multiple template_directories and multiple layouts.
Note:
I've made some progress towards this ... it has required work on elixir-smoothie too, I've a bit more to go on this but I think it would be an enhancement.
Let me know what you think...
Smoothie Reference branch
Elixir Smoothie Reference branch
Edit:
See PR.. https://github.com/jfrolich/smoothie/pull/4
and companion PR  https://github.com/jfrolich/elixir-smoothie

This is now possible in 2.0.0


Make the crowdsourced patient database available as a csv download

Is your feature request related to a problem? Please describe.
The patient database published as HTML from Google Sheets is now pretty heavy, over 22mb. A simple copy-paste into Excel for analysis is no longer easily possible and there are no other ways to access this data except as HTML.
Describe the solution you'd like
Make the data available as a csv download.
Describe alternatives you've considered
https://www.reddit.com/r/googlesheets/comments/aymwjd/how_do_you_select_csv_output_for_individual/

https://api.covid19india.org/csv/


Documentation: Correct response key from "generation" to "completion" in example code

Bug description
The example code in the documentation for Spring AI currently labels the response key as "generation" in a curl command example. However, the correct key should be "completion" to match the actual API response format.
https://docs.spring.io/spring-ai/reference/api/chatclient.html
Environment

Spring AI version: [Provide version here, e.g., 1.0.0]
Java version: [Provide Java version here, e.g., 11]
Vector Store: N/A

Steps to reproduce

Configure the ChatClient as shown in the documentation example.
Start the Spring application and make a request to the /ai/simple endpoint using curl localhost:8080/ai/simple.
Observe the response key, which is labeled "generation" instead of the expected "completion".

Expected behavior
The response should use "completion" as the key to accurately reflect the API response format.
Minimal Complete Reproducible example
The issue can be reproduced by using the example configuration in the documentation. The curl command will output:
{"generation": "Why did the pirate go to the comedy club? To hear some arrr-rated jokes! Arrr, matey!"}

but should output:
{"completion": "Why did the pirate go to the comedy club? To hear some arrr-rated jokes! Arrr, matey!"}

Thank you for reviewing this issue!

Here is my Pull Request #1534

solved #1534


junit integration bug when reporting seed during a test failure

The current behaviour is to take the exception causing the test to fail, find the very root cause, and then invoke Throwable#initCause(Throwable) with the FailedWithSeedException.
protected void failed(final Throwable t, final Description description) {
    setRootCause(t, new FailedWithSeedException(seed().current()));
}

private static void setRootCause(final Throwable t, final Throwable cause) {
    if (t.getCause() == null) {
        t.initCause(cause);
    } else {
        setRootCause(t.getCause(), cause);
    }
}

This works for most exceptions/errors, but there are cases where Throwable#initCause will fail with an IllegalStateException causing the test to error and the seed to not be reported. Most notably this does not work with junit5 which uses opentest4j AssertionFailedError. Invoking initCause on an AssertionFailedError after it has been thrown will not work.
I think the solution is to change the way these tests fail, and instead throw a FailedWithSeedException which has a cause of the original exception that caused the test to fail, so in the above case something like...
protected void failed(final Throwable t, final Description description) {
    throw new FailedWithSeedException(seed().current(), t);
}

This has the added downside of causing a junit test error rather than a test failure, therefore FailedWithSeedException should probably become FailedWithSeedError, extending java.lang.Error, or at the very-least FailedWithSeed and extending java.lang.Throwable. Both of these types should result in a junit test failure, rather than a test error.
This should probably be applied to master and V2

Fixes applied to master and V2


add support for both sample and population variance

@nicolaspanel - love your library, thanks for creating it!  anyway, i noticed the standard deviation method uses the sample variance rather than the population variance so i created a PR to provide the option to use population variance, with sample variance being the default.  i tried to keep to your style but i'd be happy to adjust it if desired.  happy holidays!

@nicolaspanel - on second thought, i noticed there's a ddof param used in numpy:  https://docs.scipy.org/doc/numpy/reference/generated/numpy.std.html
Maybe it'd make more sense to add a ddof param to conform to the numpy api?

@nicolaspanel - here's the ddof idea:
NdArray.prototype.std = function (options) {
  options = _.defaults({ 'ddof': 0 }, options);
  var squares = this.clone();
  ops.powseq(squares.selection, 2);
  var mean = this.mean();
  var shapeSize = _.shapeSize(this.shape);
  var variance = ops.sum(squares.selection) / (shapeSize - options.ddof) - mean * mean * shapeSize / (shapeSize - options.ddof);

  return variance > 0 ? Math.sqrt(Math.abs(variance)) : 0;
};

noticed that, although the logic is correct in the method, the variable name sample should be population instead as that's the real default.  i'm closing this PR as #10 replaces it with a more numpy-like api.


fragile fix for: Singleton client API not yet initialized

To paraphase https://github.com/yarnpkg/berry/issues/4122
@storybook/client-api peer depends on react.
<EMAIL_ADDRESS>depends on @storybook/client-api and<EMAIL_ADDRESS>but your workspaces depend on @storybook/client-api and<EMAIL_ADDRESS>yarn why -R @storybook/client-api
yarn why -R react

Thats why Yarn has to create two copies of @storybook/client-api: the first copy which uses<EMAIL_ADDRESS>and the other copy which uses<EMAIL_ADDRESS>
I've had little succes with the proposed packageExtensions solution, but after some mucking around with yarn why -R command, I discovered that downgrading React to the same version and pinning the storybook version in example-react-ts to same version as the other packages (6.4.14)  was enough to dedupe the @storybook/client-api package.
Fixes #50 but its a fragile fix, when upgrading or adding dependencies the issue can resurface.

Thanks @bfanger :)

@bfanger What config did you try with packageExtensions?
Found your thread @ the Yarn repo & it helped me resolve a similar issue with astro & solid-js. Just posted @ https://github.com/yarnpkg/berry/issues/4122#issuecomment-1048395120.

@bfanger

I've had little succes with the proposed packageExtensions solution

The packageExtension solution should be done the following way, the lines below should be added to the .yarnrc.yml:
packageExtensions:
  "@storybook/svelte@*":
    peerDependencies:
      react: "*"
      react-dom: "*"
  "@storybook/vue3@*":
    peerDependencies:
      react: "*"
      react-dom: "*"

This will force @storybook/svelte and @storybook/vue3 to peerDepend on react and react-dom. But this is not enough, their parent packages should provide these dependencies. So packages/example-svelete/package.json and packages/example-vue/package.json should have the following lines in their dependencies field:
  "dependencies": {
    ...
    "react": "17.0.2",
    "react-dom": "17.0.2"
  },


Crop or Pad transform.

So, tensorflow has a transform function called resize_image_with_crop_or_pad. I recently needed this function for my own work. Moreover, it'd be nice to have all of the following:

RandomPad - Makes an image a certain size by padding but performs random offset on the padding.
CenterCropOrPad - Replicates Tensorflows function
RandomCropOrPad - A conditional mix of RandomCrop and RandomPad, guaranteeing size but w random offset.

If I put in a pull request would you be open to these methods?
What are the standards for writing transforms?

Isn't RandomCrop what you want?

I tried RandomCrop and it threw an error when the desired size was bigger than the source. Is it supposed to be able to pad also?

Yes, latest version of torchvision supports padding as well, check the link I sent you. There is an option for optionally adding padding if the input is too small

Oh I see in the documentation it is, never mind, maybe the bug was something else then. Maybe there's a way to change the description of this method in the list of transforms so that it mentions padding as well? (Maybe that's the case and I missed it as well).
Sorry, just now learning the library. I'll try to be more careful before making issues next time.

No worries.
We can definitely improve the documentation. Could you please send a PR?

Yes I'll look into it.

So I also learned that RandomCrop when you set pad_if_needed to True does not RandomPad. AKA, whereas random crop applies a crop at a random offset to the image, pad_if_needed performs a centered padding, which does not randomly place the image in the padded image. The goal for padding should be that the image is in a random spot. Imagine the following:
Imagine the image, whatever size, on an infinite canvas.
Apply a random offset, and a random crop, to that canvas, such that:
if the crop is bigger than the original image, at least some of the original image remains in the output.
if the crop is smaller than the original image, all of the output is part of the original image.

The easy fix for this over-pad the image in RandomCrop.

The random crop behavior was fixed by #564. @ryanpeach could you also send a PR improving the documentation?

Yes sorry, I have limited time for that but next time I work on my project I'll get to it!

Can be closed via #791.

closed via #791


provide javascript library to access content via https://linker.bio

https://linker.bio is a entry point into a curated list of content registered with GBIF, iDigBio, Zenodo, and DataOne.
Suggest to provide an entry point into the https://linker.bio/ defined content-universe by implementing a javascript library / script that submits a http get to https://linker.bio/[some hash] , and returns the results.
related to #187

hey @Daniel-Mietchen - as you requested, I created a javascript library to retrieve content by their content hash : https://github.com/bio-guoda/content-concat and https://npm.com/content-concat .
Please let me know if you'd like to add features.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_2e59d1dd-1758-4d69-ba42-75ce3916f31b/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_2e59d1dd-1758-4d69-ba42-75ce3916f31b.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd4, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fixes for folder context menu appearing for folders like Recycle bin and brackets launcher script from shell emulators.

Moved the registry entries in the installer to HKCR\directory from HKCR\folder as this was leading to "Open as Brackets project" at all the locations including "Recycle Bin"
Added a new script to command folder which takes care of launching Brackets from emulators like MINGW32 and CYGWIN.

@MarcelGerber @peterflynn Could you take some time reviewing this. Thanks!

Fixes https://github.com/adobe/brackets/issues/10956 and https://github.com/adobe/brackets/issues/10938

Looks good to us.. Merging.
cc @prafulVaishnav

Is it possible to match its behavior with Windows command prompt? We can close command prompt window once we open brackets but on Git bash it will terminate the brackets process as well.

@sprintr You could do that. But for that to work it is a little tricky.
MING32 / Git Bash
After installing Brackets, you could launch brackets from command prompt using the following command. start is a windows command which would spawn the process, passed to it as a parameter. The above statement would not work with older versions of Brackets (1.2 and below) as we did not have the registry entry at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths before and this is changed with 1.3 installer.
The start command usually searches for keys at the above location and tries to launch the same.
start Brackets.exe <file/folder name>
CYGWIN
CYGWIN env does not recognize start `command so there is a workaround here. Use the following command.
brackets.bat <file/folder name>


Drop BLAST+6 and replace with docs and constants

This is a much much cleaner for generating the BLAST+6 files.
You should go ahead with the merge once the checks pass.

Codecov Report

Merging #76 into master will increase coverage by 6.55%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
+ Coverage   92.27%   98.83%   +6.55%
==========================================
  Files           5        5
  Lines         233      171      -62
  Branches       36       30       -6
==========================================
- Hits          215      169      -46
+ Misses         16        0      -16
  Partials        2        2

Nice!


Fix deep sleep issue with WiFi connectivity

The WiFi seems to attempt reconnection continuously after waking up from a deep sleep.
Things to try

Lower deep sleep period
Re-evaluate WiFi connection approach

Reference guide: https://www.espressif.com/sites/default/files/9b-esp8266-low_power_solutions_en_0.pdf

Detailed post with hardware hack: https://tinker.yeoman.digital/2016/05/29/running-nodemcu-on-a-battery-esp8266-low-power-consumption-revisited/

NodeMCU schematics:
https://github.com/nodemcu/nodemcu-devkit-v1.0/blob/master/NODEMCU_DEVKIT_V1.0.PDF


Feature request: csv data export

It would be very useful to have a export button on list view, to export the entire result-set, or the results matching a filter.
Implementation reference here: http://stackoverflow.com/a/14966131/892698

What to export? My 2c:

use filters (users expect, if the list displays 5 results among 500, to download only these 5)
don't use pagination (users expect, if the list displays 5 pages, to download all pages in a single file)

@fzaninotto exactly! The same configuration of fields on listView could be used for that.

Maybe just as another implementation reference: For ng-table a plugin called ng-table-export (https://github.com/esvit/ng-table-export) exists, which adds such an button.

cc @ThieryMichel

Implemented in #316


[Access Request] page 7345 "Pick Worksheet" variables CurrentWkshTemplateName, CurrentWkshName, CurrentLocationCode, CurrentSortingMethod

We would like to request access to the global variables CurrentWkshTemplateName, CurrentWkshName, CurrentLocationCode, CurrentSortingMethod of object page 7345 "Pick Worksheet"
var
    WMSMgt: Codeunit "WMS Management";
    CrossDockMgt: Codeunit "Whse. Cross-Dock Management";
    UOMMgt: Codeunit "Unit of Measure Management";
    // >>>>>>>>>>>>>>>>>>>
    // CurrentWkshTemplateName: Code[10];
    // CurrentWkshName: Code[10];
    // CurrentLocationCode: Code[10];
    // CurrentSortingMethod: Enum "Whse. Activity Sorting Method";
    // <<<<<<<<<<<<<<<<<<

    ItemDescription: Text[100];
    QtyCrossDockedUOM: Decimal;
    QtyCrossDockedAllUOMBase: Decimal;
    QtyCrossDockedUOMBase: Decimal;
    OpenedFromBatch: Boolean;
// >>>>>>>>>>>>>>>>>>>
protected var
    CurrentWkshTemplateName: Code[10];
    CurrentWkshName: Code[10];
    CurrentLocationCode: Code[10];
    CurrentSortingMethod: Enum "Whse. Activity Sorting Method";
// <<<<<<<<<<<<<<<<<<

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


fix(metrics): update storage metrics on gc

What type of PR is this?

Which issue does this PR fix:
https://github.com/project-zot/zot/issues/2596
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Awesome!


Google Drive Integration for large backups

The module is inspired by the Snapshot functionality of the SilverStripe Platform. When it comes to large backups there is a note in the docs:

If your sspak is larger than the maximum file size limit (2GB) then you can click the ‘File exceeds 2GB?’ button. This will provide further instructions on how you can send files to us that are too large to be uploaded.

Since the module is intended to be used in various envs we will face enormously smaller file size limits. To overcome this we want a Google Drive integration.
The GDrive storage should not be mandatory. If a user opts-in for it and authorizes the access the module should create a folder Backuper/.
There are two workflows:

Create Backup: When creating a new backup the user should have a possibility á la "Store in Google Drive". After the backup archive was created it should be sent to the previously created Backuper/ folder.
Restore Backup: The user should have an option á la "Load backup from Google Drive". For this we need to display a list of all backups in the Backuper/ folder. The selected one has to be loaded from GDrive and restored.

In the current implementation, the Google Drive authentication will be lost if the Silverstripe cache gets truncated. Hence, the user has to authenticate again after about 15 minutes.

Google Drive authentication gets renewed now if expired.


Add unit and integration tests checks to early check any broken changes in common core

Proposed changes
Describe what this PR is trying to do.
Type of change

[ ] Feature work
[ ] Bug fix
[ ] Documentation
[ ] Engineering change
[x] Test
[ ] Logging/Telemetry

Risk

[ ] High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
[ ] Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
[x] Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

Is it for CPP and would not block the PR in obj-c?

No, we are setting those two pipelines as optional instead of required due to stability issue. but I could recommend to take a look at the failure whenever it happens to make sure Common Core code changes is not the cause


Add calculator images to MSI

Summary of the Pull Request
Add Missing images from the calculator plugin in MSI.

References

PR Checklist

[ ] Applies to #xxx
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

@alekhyareddy28 do we need to make a similar change like #4520 for calculator and window walker icons? And are there any other icons we might be missing which are taken from PowerToys source of images?


My personal upgrade for fvtt11 for anyone interested

What is not working in v11 that requires an update?

just update the db and make searchable on the module list

Ye it's just item\tables\journals compendiums, i imagine it doesn't need that much updating

people always ask me where to download this stuff... and they always get scared when they see yellow....


Disable strict port so server will not exit when port is already used

This PR resolves issue #121

LGTM


Compatibility with Spree 2.1

Is this compatible with Spree 2.1?
Thanks for the great project!

Is there any solution to this problem ? Bottleneck for me!!

I'm trying to adapt this gem to be compatible with 3-0-stable.
Dependencies are easy to overcome but I have to understand how to change all the attr_accessible to the controller params.require within STI logic.

could I see the code, @redglory ? I want to know how to upgrade the extension. do you have a tutorial?
thank you


Fix asciidoc formatting for heading and bump to v2.0.8

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

This fix is part of the cleanup required for our conversion from asciidoc to asciidoctor


Serialization for composable controls

Looking great! Tested a bit and it's working with List and Shape. Demo in Slack!


[BUG] Shooting map entities causing stack overflow

Short Description

Branch and Version
Latest version of master.
Console Error Logs (Optional)
21:25:11 Lua Error: [acf3] stack overflow
1. random - [C]:-1
2. ColorRand - lua/includes/util.lua:116
3. DigTrace - addons/acf3/lua/acf/ballistics/world_pen_sv.lua:11
4. Func - addons/acf3/lua/acf/ballistics/world_pen_sv.lua:137
5. OnImpact - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:167
6. DoBulletsFlight - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:267
7. OnImpact - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:175
8. DoBulletsFlight - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:267
9. OnImpact - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:175
10. DoBulletsFlight - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:267
11. OnImpact - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:175
12. DoBulletsFlight - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:267
13. OnImpact - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:175
14. DoBulletsFlight - addons/acf3/lua/acf/ballistics/ballistics_sv.lua:267
15. OnIm

How to Reproduce (Optional)
Shoot map entities on gm_functionalf_flatgrass3 (cannot get on gmod right now so i can't verify if it's just that map, or just that server)

Is this still a thing? I've tried to reproduce it a couple times now under the same conditions, but I haven't had any luck.


Support for exports

https://tsdocs.dev/search/docs/discord-api-types fails with a TypeDefinitionResolveError, probably because the package doesn't actually expose top-level exports. It does however specify exports in its package.json. It would be cool if eg. https://tsdocs.dev/search/docs/discord-api-types/v10 worked

Same here: https://github.com/chubbyts/chubbyts-framework/blob/master/package.json#L52

Same here: https://tsdocs.dev/docs/signal-utils/0.12.2/index.html -- only shows the index module, but there are many more


bug: elasticsearch adapter _query filter not working

Ability to filter an index by a field and value is not work working for elastic search adapter

The filter is working, it is just exposing an elastic search implementation and not the abstraction documented in the search docs.
https://docs.hyper63.com/post-search{name}_query


Load Shed Point: HTTP1 Server Codec Dispatch

Commit Message: Add a load shed point for HTTP1 Server Codec dispatch.
Additional Description:
Risk Level: low/med
Testing: unit / integration test
Docs Changes: included
Release Notes: included
Platform Specific Features: n/a
[Optional Runtime guard:] n/a, off by config

/assign @RyanTheOptimist

/assign @mattklein123
For cross-company review

/retest

@KBaichoo needs main merge, please.

/retest


ExtAuthz dynamic metadata unavailable for StreamAccessLog service when DenyResponse sent

Description:
This is on Envoy 1.17, which configured with an ExtAuthz service that sends the dynamic metadata for access log purpose whether the call is rejected or not.
When a call goes through and a OkResponse is sent, the dynamic metadata gets collected by the StreamAccessLog service correctly. However, when a call is rejected, the metadata is not available to the service.
Both Envoy docs and #12671 seem to imply the dynamic metadata should be available regardless. So I'd like to check and see if anyone else has had the same use case and got it to work.

cc @esmet

Indeed, you're right: looks like CheckResponse.DynamicMetadata for a deny response does not yet emit the metadata. It does for an allowed request.
(tested on go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad and envoy eb99bfc13150fe57405138af3a6f1751fad7d8e2/1.18.0-dev)

@rockspore @erikbos could you help to send us the trace log? I'm looking at: Received CheckResponse: .... Thank you!

I think I found it, let me try to add a test for this.

@rockspore @erikbos, when you have time, could you help us to validate the fix? I have it on dio123/envoy:fix-15031 (this is an ubuntu-based image). Thank you very much for your help and time!

Yes I have verified that the metadata gets emitted with the fix. Thanks a lot for working on this, @dio!
Also, many thanks for confirming the issue, @erikbos!


Signal safe demangling

It would be very useful if we could use cpp_demangle in signal handlers, where allocation is not allowed, for handling things like segfaults and aborts in C++ code. This is usually achieved by printing demangled text directly to stderr.
Given that the crate requires alloc today, I assume this is not currently supported. Is adding support a possibility?
EDIT: Also see discussion in https://github.com/rust-lang/rust/pull/72981#issuecomment-767263128

It would be tough without switching to something like a pre-reserved arena that we could allocate from during the stack walk.

It would be tough without switching to something like a pre-reserved arena that we could allocate from during the stack walk.

It would be tough without switching to something like a pre-reserved arena that we could allocate from during the stack walk.

That is often what happens, but for unwinding (i.e. getting the list of PC addresses, which are easy to preallocate for). Do we also need an arena for the demangler itself?

It would be tough without switching to something like a pre-reserved arena that we could allocate from during the stack walk.

That is often what happens, but for unwinding (i.e. getting the list of PC addresses, which are easy to preallocate for). Do we also need an arena for the demangler itself?

I took a quick look at this. The demangler does use Box, Vec, and String, so it does need the ability to allocate. Box and Vec have configurable allocators so if an arena could be made to work through Allocator that could probably be threaded through everything in cpp_demangle, but as far as I can tell String does not yet take an Allocator.

That would require reserving space for all demangled symbols at the start of the process. I'm imagining something more like an API that accepts a Write type and writes directly to that (i.e. a log file or console) instead of storing the backtrace in memory.

Demangling C++ symbols at a minimum requires a variable size substitution table that depends on the symbol parsed so there's no way to demangle them without obtaining memory from either a preallocated block or e.g. malloc.

I've seen people write allocators that are signal safe because they just use mmap directly. Pretty gross, but if you're already in this situation where its necessary...
In general, better to save symbols somewhere and demangle them elsewhere, outside of the signal handler.


Can not open any files

Type: Bug
Good day
Clicking on a file in the Explorer does not open it in the editor window. Going to File -> Open File does also not open the file. AKA trying to open any script or file results in nothing happening.
Azure Data Studio version: azuredatastudio 1.46.1 (ba29842b81dec01177415e53948ca2168e69c3f8, 2023-10-02T18:14:22.887Z)
OS version: Windows_NT x64 10.0.22621
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1270P (16 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.24GB (10.23GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

schema-compare
Mic
1.21.0

sql-database-projects
Mic
1.3.1

Hi @hjpinndx
Do you see any errors in logs? Does restarting ADS work?

Hi @cheenamalhotra,
No errors in the logs. I've restarted ADS, uninstalled ADS and installed a fresh download with no luck. The problem seems to be when opening .sql files with the default 'Query Editor'. If I open the files with 'Text Editor' it does open.
Any ideas? Please see my logs below.
Thanks for your help!
logs.zip

@cheenamalhotra and update: If I click on File -> New Query, I get renderer errors, please see attached log.
renderer.log

Can you share your settings.json content (feel free to strip away connection information)?

Never mind, I believe this is an issue when acquiring Global Connection - async server tree view being unrendered is likely causing problems. I will post an update when we have a potential fix in Insiders that can be tested.

A workaround for the issue is to first open the Connections tab so it's rendered and then open the Query Editor.

@hjpinndx
Could you please try the latest insiders build and let us know if that resolves the issue?

It renders the Connections tab on startup and opening *.sql files work fine in Query Editor. Thanks @cheenamalhotra for your help.


A problem occurred before the training was completed

Thank you so much for such a great job.
My system environment is as follows:
OS: win11+wsl2+ubuntu20.04
Graphic Card: 1660ti 6G
RAM: 40G
I had no problems with my training until you updated the gui code. Today I updated the latest repository and had the following problem.

(ngp_pl) gzx@HelloWorld:~/code/ngp_pl$  /usr/bin/env /home/gzx/anaconda3/envs/ngp_pl/bin/python /home/gzx/.vscode-server/extensions/ms-python.python-2022.10.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 37035 -- /home/gzx/code/ngp_pl/train.py --root_dir ../../datasets/nerf/Synthetic_NeRF/Lego/ --exp_name Lego --num_epochs 1
GridEncoding: Nmin=16 b=1.31951 F=2 T=2^19 L=16
Using 16bit native Automatic Mixed Precision (AMP)
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Loading 100 train images ...
100it [00:01, 50.29it/s]
Loading 200 test images ...
200it [00:03, 51.64it/s]
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
Epoch 0:  83%|████████████████ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).y=30.00, train/psnr=29.70]
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
Traceback (most recent call last):
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1134, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/queue.py", line 179, in get
self.not_empty.wait(remaining)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/threading.py", line 306, in wait
gotit = waiter.acquire(True, timeout)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 1314) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/gzx/code/ngp_pl/train.py", line 264, in
trainer.fit(system, ckpt_path=hparams.ckpt_path)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 770, in fit
self._call_and_handle_interrupt(
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 723, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 811, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1236, in _run
results = self._run_stage()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1323, in _run_stage
return self._run_train()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1353, in _run_train
self.fit_loop.run()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/base.py", line 204, in run
self.advance(*args, **kwargs)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/fit_loop.py", line 269, in advance
self._outputs = self.epoch_loop.run(self._data_fetcher)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/base.py", line 205, in run
self.on_advance_end()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 255, in on_advance_end
self._run_validation()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 309, in _run_validation
self.val_loop.run()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/base.py", line 204, in run
self.advance(*args, **kwargs)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 154, in advance
dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/base.py", line 204, in run
self.advance(*args, **kwargs)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 112, in advance
batch = next(data_fetcher)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/utilities/fetching.py", line 184, in next
return self.fetching_function()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/utilities/fetching.py", line 259, in fetching_function
self._fetch_next_batch(self.dataloader_iter)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/pytorch_lightning/utilities/fetching.py", line 273, in _fetch_next_batch
batch = next(iterator)
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 652, in next
data = self._next_data()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1330, in _next_data
idx, data = self._get_data()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1286, in _get_data
success, data = self._try_get_data()
File "/home/gzx/anaconda3/envs/ngp_pl/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1147, in _try_get_data
raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e
RuntimeError: DataLoader worker (pid(s) 1314) exited unexpectedly
Epoch 0:  83%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋                        | 1000/1200 [01:12<00:14, 13.70it/s, loss=0.00104, train/s_per_ray=30.00, train/psnr=29.70]

I don't know what happened. If you know the cause of this problem, please let me know.

I am sorry to bother you.
I have fixed the problem. Your code is perfectly fine.
The reason for this problem was that I installed docker and the installation automatically changed the shared memory size of my linux subsystem. Once I reset the shared memory, the problem disappeared.

I also encountered this error with my wsl... due to insufficient shared memory. Currently I load all the data (training and validation) to RAM in training, so it would cost a lot RAM usage. My current workaround (if increasing RAM is impossible) is to comment out the validation dataloader (so to skip validation, only training), and use .ipynb to validate once the training finishes.


[embeddingapi] Add the pyunit structure for auto build

Add common methods that auto build will call
Add demo code for auto build
Add arch file to configure android device type
Add crosswalk-type to configure the crosswalk is beta or stable or canary
Add crosswalk-version to configure the checked crosswalk version
Add libraries.gradle build.gradle for gradle build
Add pom.xml for maven build

https://crosswalk-project.org/jira/browse/XWALK-4698

LGTM


Does not work with a Blazor 3.1 preview

Relies on Blazor.Cli last updated in March last year and Blazor.Browser last updated in July 2018.

I am definitely interested. I have been searching for exactly this. I really like using MobX with Vue and taking those patterns to C# would be fantastic.


Support pex3 cache operation at the distribution level.

It would be useful to be able to manipulate distributions in the Pex cache since these are the chief contributors to cache size and the cache items most directly identifiable to an end user since they ask for them in requirements.
Subject to spelling, the actions would be:

[ ] pex3 cache add a distribution to prep for offline use.
[ ] pex3 cache remove one or more distributions safely (paying mind to unzipped_pexes and venvs symlinks).
[ ] pex3 cache list to list distributions and their sizes much like the broader pex3 cache info.

Arguably even better would be the ability to prune items not recently used. This requires the least understanding of Pex cache internals and is likely the most familiar metric. I'll land this capability 1st since it requires much of the same infrastructure needed to support the OP.

#2586 provides most of the infra needed for this.


Unable to install HELM Chart in PSP enabled environments

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Unable to use CSI driver on PSP enabled clusters, where hostPath is disabled in restrictive PSP.
It is failing with error:
Warning  FailedCreate  9m39s (x26 over 148m)  daemonset-controller  Error creating: pods "csi-secrets-store-provider-azure-1596210160-" is forbidden: unable to validate against any pod security policy: [spec.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used]
What did you expect to happen:
Run Keyvault CSI Driver
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Make PSP configurable in values.yaml. Users can specify PSP to use.
Which access mode did you use to access the Azure Key Vault instance:
[e.g. Service Principal, Pod Identity, User Assigned Managed Identity, System Assigned Managed Identity]
N/A
Environment:
AKS

Secrets Store CSI Driver version: (use the image tag):
NAME                                            NAMESPACE       REVISION        UPDATED                                 STATUS
CHART                                  APP VERSION
csi-secrets-store-provider-azure-1596210160     default         1               2020-07-31 11:42:41.8503783 -0400 EDT   deployed
csi-secrets-store-provider-azure-0.0.9 0.0.7

Azure Key Vault provider version: (use the image tag):

Kubernetes version: (use kubectl version and kubectl get nodes -o wide):
NAME                             STATUS   ROLES   AGE     VERSION   INTERNAL-IP     EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
aks-worker-11323804-vmss000000   Ready    agent   7d13h   v1.17.7   <IP_ADDRESS>            Ubuntu 16.04.6 LTS   4.15.0-1091-azure   docker://3.0.10+azure
aks-worker-11323804-vmss000001   Ready    agent   7d13h   v1.17.7   <IP_ADDRESS>           Ubuntu 16.04.6 LTS   4.15.0-1091-azure   docker://3.0.10+azure

Cluster type: (e.g. AKS, aks-engine, etc):
AKS

@chakri-nelluri Thank you for opening the issue 👍
There is no kubernetes primitive for defining the PSP to use. The pods service account needs to be authorized to use a policy that's defined via RBAC. The secrets-store-csi-driver and csi-secrets-store-provider-azureare bootstrapped with a service account which you can use for authorizing to use with PSP.
We'll add a sample PSP in our docs that you can refer to. Is the question whether we can include a PSP in helm charts?

So you manually have to add pod security policy and it does not come shipped as a standard option in your helm charts?

So you manually have to add pod security policy and it does not come shipped as a standard option in your helm charts?