v0.12 multiple bios settings

What is the correct syntax for specifying multiple bios settings using the TF 0.12 usage?
Trying to do this:
  bios_option {
    manage_bios = true
    overridden_settings {

     id = "CollabPowerControl"
      value = "Disabled"

      id = "MemRefreshRate"
      value = "Refreshx1"

    }

Testing this -
overridden_settings {
id = "CollabPowerControl"
value = "Disabled"
}
overridden_settings {
id = "MemRefreshRate"
value = "Refreshx1"
}
}

ok - i think my example above is syntactically correct.
here is what my sample code now looks like-
note the plan works for this on 0.12, but does not apply.
resource "oneview_server_profile_template" "spt" {
  name                      = var.spt_name
  type                      = var.profile_type
  enclosure_group           = var.enclosure_group
  server_hardware_type      = var.server_hardware_type
  mac_type                  = "Physical"
  wwn_type                  = "Physical"
  serial_number_type        = "Physical"
  boot_order                = ["HardDisk"]
  boot_mode  {
    manage_mode = true
    mode = "UEFI"
    pxe_boot_policy = "Auto"
  }
  bios_option {
    manage_bios = true
    overridden_settings {
      id = "CollabPowerControl"
      value = "Disabled"
    }
    overridden_settings {
      id = "EnergyEfficientTurbo"
      value = "Disabled"
    }
    overridden_settings {
      id = "EnergyPerfBias"
      value = "MaxPerf"
    }
    overridden_settings {
      id = "IntelProcVtd"
      value = "Disabled"
    }
    overridden_settings {
      id = "IntelUpiPowerManagement"
      value = "Disabled"
    }
    overridden_settings {
      id = "MemPatrolScrubbing"
      value = "Disabled"
    }
    overridden_settings {
      id = "MemRefreshRate"
      value = "Refreshx1"
    }
    overridden_settings {
      id = "MinProcIdlePkgState"
      value = "NoState"
    }
    overridden_settings {
      id = "MinProcIdlePower"
      value = "NoCStates"
    }
    overridden_settings {
      id = "NodeInterleaving"
      value = "Enabled"
    }
    overridden_settings {
      id = "NumaGroupSizeOpt"
      value = "Flat"
    }
    overridden_settings {
      id = "PowerRegulator"
      value = "StaticHighPerf"
    }
    overridden_settings {
      id = "ProcHyperthreading"
      value = "Disabled"
    }
    overridden_settings {
      id = "ProcTurbo"
      value = "Enabled"
    }
    overridden_settings {
      id = "ProcVirtualization"
      value = "Disabled"
    }
    overridden_settings {
      id = "ProcX2Apic"
      value = "Disabled"
    }
    overridden_settings {
      id = "Sriov"
      value = "Disabled"
    }
    overridden_settings {
      id = "TimeFormat"
      value = "Local"
    }
    overridden_settings {
      id = "TimeZone"
      value = "Unspecified"
    }
    overridden_settings {
      id = "UncoreFreqScaling"
      value = "Maximum"
    }
    overridden_settings {
      id = "UsbControl"
      value = "InternalUsbDisabled"
    }
    overridden_settings {
      id = "WorkloadProfile"
      value = "Custom"
    }
  }

  local_storage {
    controller {
      device_slot =  "Embedded"
      drive_write_cache = "Unmanaged"
      initialize = "false"
      mode = "Mixed"
      predictive_spare_rebuild = "Unmanaged"
      logical_drives {
        accelerator = "Unmanaged"
        bootable = "true"
        # drive_technology = "SasHdd"
        name = "OS"
        num_physical_drives = 2
        raid_level = "RAID1"
      }
    }
  }
}

Here is a log snip:
2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_TradingDesktops_Gen10_4.oneview_server_profile_template.spt, 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:
      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_SQLServers_Gen10_4.oneview_server_profile_template.spt, 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:
      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_RDSServers_Gen10_1.oneview_server_profile_template.spt, 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:
      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_LinuxServers_Gen10_4.oneview_server_profile_template.spt, 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:
      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
mod2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_HypervServers_Gen10_4.oneview_server_profile_template.spt, 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:
      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_TradingDesktops_Gen10_4.oneview_server_profile_template.spt: applying the planned Create change
04_SQLServers_Gen10_4: eval: *terraform.EvalApplyPre
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_RDSServers_Gen10_1.oneview_server_profile_template.spt: applying the planned Create change
ule.SPT_EG04_TradingDesktops_Gen10_4.one2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_LinuxServers_Gen10_4.oneview_server_profile_template.spt: applying the planned Create change
2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_LinuxServers_Gen10_6.oneview_server_profile_template.spt, 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:
vi      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
e      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
w2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_RDSServers_Gen10_2.oneview_server_profile_template.spt, 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:
_s      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
e      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
r2021/03/01 21:07:44 [WARN] Provider "registry.terraform.io/-/oneview" produced an invalid plan for module.SPT_EG04_LinuxServers_RAID1_Gen10_4.oneview_server_profile_template.spt, but we are tolerating it because it is using the legacy plugin SDK.
 may be the cause of any confusing errors from downstream operations:
      - .affinity: planned value cty.StringVal("Bay") does not match config value cty.NullVal(cty.String)
      - .hide_unused_flex_nics: planned value cty.True does not match config value cty.NullVal(cty.Bool)
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_SQLServers_Gen10_4.oneview_server_profile_template.spt: applying the planned Create change
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_RDSServers_Gen10_2.oneview_server_profile_template.spt: applying the planned Create change
ver2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_LinuxServers_Gen10_6.oneview_server_profile_template.spt: applying the planned Create change
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_HypervServers_Gen10_4.oneview_server_profile_template.spt: applying the planned Create change
_pro2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_LinuxServers_RAID1_Gen10_4.oneview_server_profile_template.spt: applying the planned Create change
file_template.spt: Creating...
module.SPT_EG04_RDSServers_Gen10_1.oneview_server_profile_template.spt: Creating...
module.SPT_EG04_LinuxServers_Gen10_4.oneview_server_profile_template.spt: Creating...
module.SPT_EG04_SQLServers_Gen10_4.oneview_server_profile_template.spt: Creating...
module.SPT_EG04_RDSServers_Gen10_2.oneview_server_profile_template.spt: Creating...
module.SPT_EG04_LinuxServers_Gen10_6.oneview_server_profile_template.spt: Creating...
module.SPT_EG04_HypervServers_Gen10_4.oneview_server_profile_template.spt: Creating...
module.SPT_EG04_LinuxServers_RAID1_Gen10_4.oneview_server_profile_template.spt: Creating...
2021-03-01T21:07:44.493-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.493-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.493-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_RDSServers_Gen10_1.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_RDSServers_Gen10_1: eval: *terraform.EvalApplyPost, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_RDSServers_Gen10_1: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.655-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.655-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.655-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_RDSServers_Gen10_2.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_RDSServers_Gen10_2: eval: *terraform.EvalApplyPost, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_RDSServers_Gen10_2: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.656-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.656-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.656-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_SQLServers_Gen10_4.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_SQLServers_Gen10_4: eval: *terraform.EvalApplyPost, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_SQLServers_Gen10_4: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.666-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.666-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.666-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_HypervServers_Gen10_4.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_HypervServers_Gen10_4: eval: *terraform.EvalApplyPost, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_HypervServers_Gen10_4: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.700-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.700-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.700-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_TradingDesktops_Gen10_4.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_TradingDesktops_Gen10_4: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.715-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.715-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.715-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_LinuxServers_Gen10_6.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_LinuxServers_Gen10_6: eval: *terraform.EvalApplyPost, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_LinuxServers_Gen10_6: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.727-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.727-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.727-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_LinuxServers_Gen10_4.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_LinuxServers_Gen10_4: eval: *terraform.EvalApplyPost, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_LinuxServers_Gen10_4: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021-03-01T21:07:44.760-0500 [DEBUG] plugin.terraform-provider-oneview.exe: Error submitting new server profile template request: Error in response: An unexpected error occurred.
2021-03-01T21:07:44.760-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Status: 400 Bad Request
2021-03-01T21:07:44.760-0500 [DEBUG] plugin.terraform-provider-oneview.exe:  Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [DEBUG] module.SPT_EG04_LinuxServers_RAID1_Gen10_4.oneview_server_profile_template.spt: apply errored, but we're indicating that via the Error pointer rather than returning it: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.
2021/03/01 21:07:44 [ERROR] module.SPT_EG04_LinuxServers_RAID1_Gen10_4: eval: *terraform.EvalSequence, err: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_general_linux\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

2021-03-01T21:07:44.781-0500 [WARN]  plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_general_linux\main.tf line 1, in resource "oneview_server_profile_template" "spt":
2021-03-01T21:07:44.790-0500 [DEBUG] plugin: plugin process exited: path=C:\terraform12\terraform-provider-oneview.exe pid=23068
   1: resource "oneview_server_profile_template" "spt"2021-03-01T21:07:44.790-0500 [DEBUG] plugin: plugin exited
 {

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_general_linux\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_rds_hyperv\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_rds_hyperv\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_rds_hyperv\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_sql\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

Error: Error in response: An unexpected error occurred.
 Response Status: 400 Bad Request
 Response Details: An unexpected and unhandled runtime exception occurred.

  on ..\modules\spt_trading\main.tf line 1, in resource "oneview_server_profile_template" "spt":
   1: resource "oneview_server_profile_template" "spt" {

@AsisBagga not sure 0.12 works with profiles...
any chance to expedite these capabilities?

@rismoney  Hi Rich, hope you're doing good. Recently master branch was upgraded to Terraform version 0.12.x
We are in middle of the release for our SDK to support latest OneView version and along with that, the changes for server profile and server profile templates should be incorporated to Terraform 0.11 and master branch as well before end of the next week.

Hey @rismoney @AsisBagga how do you find out what BIOS settings are able to be overridden? In the Server Profile example examples/server_profile.tf one one example is given, TimeFormat. How did you find all of these other settings to override?
When I look through the source oneview/data_source_server_profile.go I can only see that overridden_settings has a map of elements, but where are these documented?
Alternatively, how can I vew a server profile I have created manually, in terms of Terraform resource attributes, so I know how to set up my resource based on server profiles I already use?
I have tried setting an existing profile as a data source and printing it with an ouput when I run terraform apply (as noted here), but I just get an empty result.
Sorry if this is a noob question, just starting to use this module. Thanks!

For the BIOS overriden settings I created a server profile template in the GUI that had all the settings.   Then I used the powershell CLI to enumerate them.  They will vary based on the modules you use.
Let me know if you need the command syntax for doing that.  The cmdlet was get-hpovserverprofiletemplate with multilevel property expansions.

The shirt answer to your second question is not super safely/easily.  You need to really understand terraform import and it may not be super mature at this point for oneview.   Essentially you can stub a resource in TF code and import the resource.  Then run a plan, and it will highlight the settings you need to write code for.  Never run apply at this point until it doesn't want to make a change, or you will most likely destroy your resource.  Best to test in sperate directory/state file and learn that.  Last time I used import many settings weren't imported, but that may have changed with a lot of the changes that have been pushed.


Changed use-tower[12].ops.rhcloud.com and tower.ops.rhcloud.com DNS entries to the new bastion centric names.

The bot failed because pylint failed. This was on code that I didn't modify.  I would prefer not to fix that in this PR.
Pylint failed:
************* Module openshift_tools.monitoring.zagg_sender
I: 35, 0: Locally disabling too-many-arguments (R0913) (locally-disabled)
I:127, 0: Locally disabling too-many-arguments (R0913) (locally-disabled)
I:159, 0: Locally disabling too-many-arguments (R0913) (locally-disabled)
************* Module certificate-generate-and-request
I: 22, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I: 24, 0: Locally disabling broad-except (W0703) (locally-disabled)
I: 26, 0: Locally disabling import-error (E0401) (locally-disabled)
************* Module verify-cicd-operation
I:  4, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:  5, 0: Locally disabling bare-except (W0702) (locally-disabled)
I:  6, 0: Locally disabling too-many-instance-attributes (R0902) (locally-disabled)
W:101,25: Use % formatting in logging functions and pass the % parameters as arguments (logging-format-interpolation)
W:162,25: Use % formatting in logging functions and pass the % parameters as arguments (logging-format-interpolation)
************* Module verify-gather-logs-operations
I: 15, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I: 16, 0: Locally disabling logging-not-lazy (W1201) (locally-disabled)
I: 17, 0: Locally disabling broad-except (W0703) (locally-disabled)


Remote network support

Add support for accessing network resources from the remote service context.
This includes dns resolving.
This will add an option that once enabled, all outgoing traffic will be sent from the remote agent context instead of the local context.
Some example use cases:

User wants their local process to make an API call to another service in the k8s cluster. When the local process makes a request to another service, mirrord intercepts it and executes it through the agent instead. In the future we'd probably want very granular configuration here - so e.g. be able to toggle the feature only for certain destination hostnames, or even certain HTTP methods/parameters. This isn't part of the current requirements but might be worth thinking about when designing the feature.
User wants their local process to read data from a database on the k8s cluster. When the local process makes a request to the database, mirrord should intercept it and execute it through the agent instead. Note that this would often rely on environment variables being overridden with their remote values, so that the local process would have the correct connection string.
Users wants their local process to make an API call to an external API accessible from the k8s cluster (e.g. a hosted database).

I think this issue should be broken into few parts, here's a suggestion:

DNS Resolving - This should be done by hooking getaddrbyname and getaddrinfo. Should be a flag. (MIRRORD_ENABLE_DNS ?)
TCP Outgoing - We already hook most of the relevant functions, we need to handle connect flow, then connect from the remote agent, probably have a local "proxy" (using DuplexStream?) and copy_bidirectional of tokio. (MIRRORD_ENABLE_TCP?)
UDP Outgoing - This is a bit more "complicated" as it's not a stream, but might be even "easier" on some level. There's a bind that would probably happen if the application wants to receive data also. Let's start discussing it once we're close to finish 2.

When would it make sense to turn on ENABLE_TCP without ENABLE_DNS?

When would it make sense to turn on ENABLE_TCP without ENABLE_DNS?
When the services are accessible from your existing network I guess? but my thought was to split it into a feature flag just so it can be introduced partially, but ofc we can have a united flag for networking.

Okay, wanted to make sure there wasn't a use case I was missing here. I wouldn't split it into two flags, it seems like unnecessary complexity.

We still lack some UDP flows AFAIK based on what @t4lz said (recvto/sendto flow)

My mistake, reopened.

Should we close this in favor of a more specific issue now (an issue about recv_from and send_to only)?

I think so. @t4lz can you open the new issue?

Closing in favour of https://github.com/metalbear-co/mirrord/issues/647.


Get error 404

When sending the iOS app to background , configured background mode to support audio but still it disconnects , maybe there is some kind of override in the code ?

what do you mean by error 404 and disconnect ?
if you enable background audio in your app.
the behavior is ( my experience ) :

you can NOT start and play a audio session while app is in background.

if your audio session starts when app is in foreground, it will continue to play after app goes to background.

@zxcpoiu is correct. Also note that React Native won't run timers (setTimeout, setInterval) so might need to polyfill them with https://github.com/ocetnik/react-native-background-timer


No detections found with custom segmentation model

I've trained a custom segmentation model using the yolov8 repository and followed the steps in the Segment.md file. Even though the pt model results in detections, after converting to engine and running the infer-seg.py script on my images, I am getting "no object!".

Actually, I just tested on the yolov8m-seg original model and same scenario. The nano model works fine

Actually, I just tested on the yolov8m-seg original model and same scenario. The nano model works fine

Do you modify the class names?
Could you please upload your onnx and one image ?

Actually, I just tested on the yolov8m-seg original model and same scenario. The nano model works fine

Do you modify the class names?
Could you please upload your onnx and one image ?

Sorry for the late reply. Yes, I did modify the class names. I can share the model, but unfortunately the image is not something I can share. How can we proceed?

Actually, I just tested on the yolov8m-seg original model and same scenario. The nano model works fine

Do you modify the class names?
Could you please upload your onnx and one image ?

Sorry for the late reply. Yes, I did modify the class names. I can share the model, but unfortunately the image is not something I can share. How can we proceed?

You can give me a test image and your pt model or onnx model.

I am facing similar issue. Trained a custom Yolov8 Seg model.
Converted pt to onnx with export-seg.py and onnx to engine with build.py.
It works in TensorRT version <IP_ADDRESS>, but when I convert in TensorRT version <IP_ADDRESS> or <IP_ADDRESS>., it gives all classes as class 0.
I am not able to understand what is the issue?
What could be the issue?

I am facing similar issue. Trained a custom Yolov8 Seg model. Converted pt to onnx with export-seg.py and onnx to engine with build.py. It works in TensorRT version <IP_ADDRESS>, but when I convert in TensorRT version <IP_ADDRESS> or <IP_ADDRESS>., it gives all classes as class 0.
I am not able to understand what is the issue? What could be the issue?

could you please upload your onnx model?


add in new algoritem workerEnv and algoritemEnv

when you insert add new algoritem, you can insert  workerEnv and algoritemEnv, this is need as object key and value
this is need to see as Resources and Advanced

Labels:
Environment variable.
Hkube worker Environment variables.


Visual Studio git

Please, consider supporting git bundled with existing Visual Studio installation for Windows.
No need to download & install git if it is installed with Visual Studio already.

Thank you very much for filing this issue. This request has come up over the years, but at the moment we are not planning on bundling git with VS Code so I will go ahead and close this issue as out of scope. Thank you for your understanding.

bundling git with VS Code is irrelevant to the issue.
It is about git that is already bundled with Visual Studio (not Code) installed in parallel
Looks like misunderstanding

This can already be done through the git.path setting.

That is correct. And this issue is about making it for developer automatically if no other git.exe found.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Error after running the 'create' command

Hi, I am getting this error! Please let me know what I can do to solve this! I have no python experience whatsoever!
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "c:\users\gaming pc.local\bin\spotify_to_ytmusic.exe_main.py", line 7, in
File "C:\Users\Gaming PC\pipx\venvs\spotify-to-ytmusic\Lib\site-packages\spotify_to_ytmusic\main.py", line 98, in main
args.func(args)
File "C:\Users\Gaming PC\pipx\venvs\spotify-to-ytmusic\Lib\site-packages\spotify_to_ytmusic\controllers.py", line 75, in create
spotify, ytmusic = _init()
^^^^^^^
File "C:\Users\Gaming PC\pipx\venvs\spotify-to-ytmusic\Lib\site-packages\spotify_to_ytmusic\controllers.py", line 29, in _init
return Spotify(), YTMusicTransfer()
^^^^^^^^^
File "C:\Users\Gaming PC\pipx\venvs\spotify-to-ytmusic\Lib\site-packages\spotify_to_ytmusic\spotify.py", line 27, in init
use_oauth = conf.getboolean("use_oauth")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Gaming PC\AppData\Local\Programs\Python\Python312\Lib\configparser.py", line 1273, in get
return _impl(self._name, option, raw=raw, vars=vars,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Gaming PC\AppData\Local\Programs\Python\Python312\Lib\configparser.py", line 806, in getboolean
return self._get_conv(section, option, self._convert_to_boolean,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Gaming PC\AppData\Local\Programs\Python\Python312\Lib\configparser.py", line 786, in _get_conv
return self._get(section, conv, option, raw=raw, vars=vars,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Gaming PC\AppData\Local\Programs\Python\Python312\Lib\configparser.py", line 781, in _get
return conv(self.get(section, option, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Gaming PC\AppData\Local\Programs\Python\Python312\Lib\configparser.py", line 1146, in _convert_to_boolean
raise ValueError('Not a boolean: %s' % value)
ValueError: Not a boolean: y

When you were going through the setup, did you use y instead of the word yes when this question was asked?
Use OAuth method for authorization to transfer private playlists (yes/no):

the code seems to be looking for the word yes or no explicitly, rather than looking for y or n. if you re-run setup and answer that question explicitly, you should be good.

Hi, I don't think I used only Y, but it is definitely possible. I also went through and found that the oAuth method is not supported anymore as Google enforced their security on that front.
It needs to be via browser Auth, which actually ended up working very swell.
Thanks for the reply, however!


VizPanel: Make VizPanel usable without relative position parent

Currently VizPanel requires a relative positioned parent (something SceneFlexItem and SceneCSSGridItem both add).
SceneFlexItem is really needed anyway for flex layouts as it has size constraints. But for CSS Grid layout the size constraints are on the grid itself and you rarely need the item level props (grid-column-start, etc).
So I think it could make sense to add this relative wrapper to VizPanel so that i can be used directly as a child anywhere (but esp in css grid layouts)

oh for those that wonder why the absolute wrapper is needed around PanelChrome, I wish it was not needed. but without it, the panel will resize to be smaller when the window or other panels make the space available for it change.
The use of useMeasure to get the width and height then sets these dimensions PanelChrome / visualization, making the panel really take up all that space, so when the space available changes it does not make useMeasure change as PanelChrome is then making use of the space previously assigned, locking it in.


Incorrect instructions in README

The README suggests /try-runtime queue [env-vars] --url ws://[kusama | westend | polkadot] [try-runtime-cli-args], however ENV vars passed to that command get interpreted as arguments to polkadot try-runtime - see https://github.com/paritytech/polkadot/pull/5319#issuecomment-1097984782

the --url parameter from that example also appears to be incorrect, the current syntax is --uri


Add tests for import admin actions

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

21 of 21 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+5.0%) to 95.711%

Totals

Change from base Build<PHONE_NUMBER>4:
5.0%

Covered Lines:
1406

Relevant Lines:
1469

💛  - Coveralls


AddedDockerFileandModifiedReadmeFileAccordingtoDocker

I have Added Docker in repository and had modified readme.md file installation According to docker as mentioned in issue #54 in your repository

I have Added Docker in repository and had modified readme.md file installation According to docker as mentioned in issue #54 in your repository

Great


slp: Don't explode if there is some padding after end-of-row

Many real SLPs (as found in SWGB/GRAPHICS.DRS) have a bit of air after
the end-of-row opcode. This isn't an error.
Signed-off-by: Chris Forbes<EMAIL_ADDRESS>

That sounds reasonable. Thanks!


Added Supernatural to TV Shows List

You have trailing spaces on line 605, causing the test to fail. Additionally the dataset in Jeopardy! Questions appears to be a list of US colleges.

@kipply Please make an individual pull request for each suggestion. Closing this, please resubmit =)


Medals Counter

The medal counter shows the number of places won in all rounds in all tournaments (I also checked with other users, and it's probably true) It seems to me that this should only return the value of the final rounds

Hi @XNizi , thanks for reporting this. Adding a fix as we speak ;)
This should be fixed tomorrow when the new API build has run

@XNizi seems to be solved:

Thank you so much for reporting this and looking into this.
Feel free to open new bug tickets or feature requests if needed


Update default labels in Github issue templates

The "kind/*" labels which are described in the contributor docs should
be used instead of the legacy ones.

/skip-all


Bot spams with error "Unable to decode update 683818374"

The whole message is:
Unable to decode update 683818374: Int: DownField(iconCustomEmojiId),DownField(forumTopicCreated),DownField(replyToMessage),DownField(editedMessage),DownArray,DownField(result).
It throws in com.bot4s.telegram.cats.Polling in line 24.
Is it ok to always receive this error? Bot works fine, but spam in log confuses

Hello ! Thank you for reporting the error, it's not normal (but happy that it does not crashes the whole bot).
As you can see here https://github.com/search?q=repo%3Abot4s%2Ftelegram iconCustomEmojiId&type=code
The documentation does not match the type of the field in some of those classes iconCustomEmojiId: Option[Int] = None when it should probably be string.
According to the doc:

https://core.telegram.org/bots/api#forumtopic => correct in bot4s/telegram
https://core.telegram.org/bots/api#forumtopicedited => incorrect
https://core.telegram.org/bots/api#forumtopiccreated => incorrect (the error you are seeing)

I might have some time to fix that but I can't commit on a date. Those are minor changes and if you have the time, would you be willing opening a PR to fix them ?
There might be other places where iconCustomEmojiId is used that I have missed

Ok, i'll open PR


"Cannot read property 'client' of undefined" in Chat.js: 298

Raised when chat.client.joinRoom = function (room) { ... } is called. The chat variable is undefined for some reason, so we need to look into the parameters that are passed to it and ensure they are all not null

At the beginning of the file, you'll see var chat = connection.chat, ....
In this context, connection.chat is passed from the function parameter, and is actually window.jQuery.connection, or just $.connection.
There is no chat value associated with $.connection, so var chat is null. This is possibly due to no SignalR support yet? The hubs may be responsible for setting this up.

This StackOverflow post has some insight.

Hang tight on this one until the working SignalR bits are installed and
tested
https://github.com/MachUpskillingFY17/JabbR-Core/issues/3#issuecomment-243003900
On Sun, Aug 28, 2016 at 5:16 PM, James Earle<EMAIL_ADDRESS>wrote:

This StackOverflow post has some insight.
http://stackoverflow.com/questions/12396233/connection-is-undefined-signalr-0-5-3-mvc4
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MachUpskillingFY17/JabbR-Core/issues/11#issuecomment-243008734,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqPDZ2VPZJKvjiUkD11VGObNQLWBcvTks5qkiTQgaJpZM4Jug3D
.

This has been resolved by Kevin and Heather's work on SignalR. Most recent work in PR #37, issue #31


Slow export for scene containing 4000 objects

When exporting a scene with 4000 objects, with only one of them visible, I noticed that performance is problematic - even when exporting only the visible object.
I came across this problem with a scene containing many variants of kitchen furniture elements, I can't provide this file but I provide a synthetic replacement.
Steps to reproduce the behavior:

Open the attached blend file (containing 4000 cubes)
Export as GLB using the following script snippet, to export the single visible cube

import bpy
bpy.ops.export_scene.gltf(filepath=r'4000cubes-b3d_3.2.glb', use_visible=True, use_active_scene=True, export_materials='PLACEHOLDER', export_animations=False, export_morph=False, export_skins=False)

I obtain the following result (2+ seconds to export the single cube)

16:40:43 | INFO: Draco mesh compression is available, use library at C:\nllbin\blender-3.3.0-alpha+master.7f4ee97b9ef9-windows.amd64-release\3.3\python\lib\site-packages\extern_draco.dll
16:40:43 | INFO: Starting glTF 2.0 export
16:40:45 | INFO: Extracting primitive: Cube.1643
16:40:45 | INFO: Primitives created: 1
16:40:45 | INFO: Finished glTF 2.0 export in 2.051008939743042 s

Expected behavior
The export for this single cube should be faster : I get less that 0.1 second when exporting a blend file with a single cube object.
.blend file/ .gltf
4000cubes-b3d_3.2.blend.zip
Version

OS: Windows 10 x64
Blender Version 3.3-alpha+master.7f4ee97b9ef9

Additional context
I've been profiling the export time using cProfile :
import bpy
import cProfile
with cProfile.Profile() as pr:
    bpy.ops.export_scene.gltf(filepath=r'4000cubes-b3d_3.2.glb', use_visible=True, use_active_scene=True, export_materials='PLACEHOLDER', export_animations=False, export_morph=False, export_skins=False)

import pstats
from pstats import SortKey
p = pstats.Stats(pr)
p.sort_stats(SortKey.CUMULATIVE).print_stats(30)

and I noticed that :

a majority of the time is spent in gltf2_blender_gather_tree.py
due to many calls to blender_object.children
children is a slow method, the doc mentions that it "takes O(len(bpy.data.objects)) time."

ob.children can be precomputed and cached if it's the bottleneck, https://blender.stackexchange.com/questions/229469/how-can-the-linear-time-cost-of-blenders-children-python-property-be-avoided-i

@julienduroure Thanks ! Can you please tell me in which version of Blender this will be included ? Is there any doc that describes the release process for Blender inclusion ?

This enhancement is included in Blender 3.3 (currently in beta).
See commit here: https://developer.blender.org/rBA5b2953ad0883223bf8f58cf2bd650891f759bb65
About release process: Every commit here is replicated in Blender repository few minutes after.
The choice of branch it will be replicated depends on 2 different things:

Blender release process step (see https://wiki.blender.org/wiki/Process/Release_Cycle)
Severity/risk on changes that are done


[BUG] Incompatibility with CBPC

Describe the bug
Various incompatibilities when both CBPC and FSMP are installed - issues which aren't apparent when only either one is installed on their own. Known issues thus far:

Outfit physics disabled until re-equipped
Inconsistent hair physics enabling/disabling related to the "disableSMPHairWhenWigEquipped" option

To Reproduce
Steps to reproduce the behavior:
Complicated. For starters, view CBPC bug report titled "Physics do not apply until armour is re-equipped" for possible lead on nested .nif nodes.
Then, for in-game, ensure both CBPC and FSMP are installed. Simply proceed with usual activity.
Hair Issue pt 1:

don a physics-enabled hair
equip chest armor from a mod such as "Remodeled Armor SE - CBBE 3BA". Hair physics should be enabled
equip bracers or boots. Hair physics should now be disabled
unequip bracers or boots. Hair physics should remain disabled
unequip everything. Hair physics should return. Explained as actor body being refreshed

Hair Issue pt 2:

don a physics-enabled hair
equip bracers or boots. Hair physics should now be disabled
unequip bracers or boots. Hair physics should remain disabled, even though player character is nude
equip chest armor. Hair physics should return. Explained as actor body being refreshed

Physics disabled on game-load:

equip an affected armor. Notice that physics work as expected
save game
quit game
load game in new game session
et voila. Physics are disabled, and perhaps you've also got a wrist seam. Use Vera's Slim Wrist skeleton to see the seam more clearly. Seam is merely a side-effect of this bug

Expected behavior

Outfit physics should be enabled when loading saves in new game sessions
Hair physics should enable and disable where appropriate, as described in the related option's description

Desktop (please complete the following information):

OS: Steam Deck, SteamOS 3.4.6, KDE Plasma 5.26.1, Proton 7.0-6

FSMP

Installed version: 2.0.1-beta1
CUDA: No_CUDA
AVX: No_AVX, AVX, AVX2

SKSE

Installed version: 2.2.3
(You can check it in the bottom left part of the screen, when looking at your MCMs.)

Skyrim

Installed version number: 1.6.640
(You can check it in the bottom left part of the screen, when looking at your MCMs.)

Required files
configs.xml: configs.txt
hdtSMP64.log: hdtSMP64.log
Additional context
Related external documentation by other users:
NexusMods Bug Report
LL Thread
Current available workarounds:

To fix inappropriate hair/wig physics behavior, set "disableSMPHairWhenWigEquipped" to "false"
To disable body physics bug, or resolve the accompanying wrist seam, either use unaffected modded outfits or disable CBPC

Said "Outfit physics" bug may manifest in seemingly arbitrary ways, so it wouldn't do to dismiss the issue entirely if physics appear to be enabled on game load. That's precisely why one should check for wrist seams. Possible manifestations of the bug:

Breast physics disabled, wrist seam apparent
Breast physics enabled, wrist seam apparent
Breast physics disabled, no wrist seam

Assumption: When CBPC is present. FSMP is impeding correct processing of specific outfit nodes, or the correct processing of the outfit's skeleton (?). This is why symptoms of CBPC and FSMP's incompatiblity don't manifest without the presence of outfit parts.
It is important that this subject issue not be confused with issues solely on a mod user's end specifically related to their use of FSMP or Bodyslide. That the subject issue doesn't manifest if FSMP is used by itself doesn't mean this incompatibility doesn't exist. As for Bodyslide, substantial testing proves issue is related to .nif nodes and not the building of meshes.

Hey Nuanulla,
thanks for the detailed bug report.
I have read the cbpc bug report and the LL bug investigation.
I didn't manage to reproduce. I have before worked on a node name problem, fixed with 1.50.6.
It seems that you still have the bug with 2.0.1.
Could you contact me on Discord (DaydreamingDay)? The discord invite is on FSMP nexus description page.
I really would like to reproduce and solve this.
Cheers,
Day


Cannot read property 'addFieldType' of undefined

I just tried running the sandbox following the steps on the website, but I'm getting the following error.
/projects/apostrophe-sandbox/node_modules/apostrophe-people/index.js:184
  self._schemas.addFieldType({
               ^

TypeError: Cannot read property 'addFieldType' of undefined
    at new people.People (/projects/apostrophe-sandbox/node_modules/apostrophe-people/index.js:184:16)
    at people (/projects/apostrophe-sandbox/node_modules/apostrophe-people/index.js:27:10)
    at initAposPeople (/projects/apostrophe-sandbox/app.js:171:42)
    at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:551:21
    at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:227:13
    at iterate (/projects/apostrophe-sandbox/node_modules/async/lib/async.js:134:13)
    at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:145:25
    at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:229:17
    at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:556:34
    at /projects/apostrophe-sandbox/node_modules/apostrophe-map/index.js:284:14

Just ran through a fresh checkout of the sandbox with no errors. What steps
did you follow?
On Thu, Jul 21, 2016 at 12:29 AM, Saulo Vallory<EMAIL_ADDRESS>wrote:

I just tried running the sandbox following the steps on the website, but
I'm getting the following error.
/projects/apostrophe-sandbox/node_modules/apostrophe-people/index.js:184
self._schemas.addFieldType({
^
TypeError: Cannot read property 'addFieldType' of undefined
at new people.People (/projects/apostrophe-sandbox/node_modules/apostrophe-people/index.js:184:16)
at people (/projects/apostrophe-sandbox/node_modules/apostrophe-people/index.js:27:10)
at initAposPeople (/projects/apostrophe-sandbox/app.js:171:42)
at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:551:21
at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:227:13
at iterate (/projects/apostrophe-sandbox/node_modules/async/lib/async.js:134:13)
at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:145:25
at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:229:17
at /projects/apostrophe-sandbox/node_modules/async/lib/async.js:556:34
at /projects/apostrophe-sandbox/node_modules/apostrophe-map/index.js:284:14
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe-sandbox/issues/53, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAB9fbLRQYQLymGpxEBuN1pJIxu7Rpzxks5qXvWRgaJpZM4JRb00
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

I followed the instructions on the website, but I messed up somewher. I did it again from scratch and now it works. Sorry about the unnecessary issue.


make.bash: clarify that CGO_ENABLED=0 sets default into resulting compiler

What version of Go are you using (go version)?

$ go version
1.17.7

Does this issue reproduce with the latest release?
Yes.
What did you do?
Ran CGO_ENABLED=0 ./make.bash.
What did you expect to see?
I expected it to produce a compiler (without using cgo) that abides by the documented behavior for cgo. Namely, host builds have cgo enabled by default.
What did you see instead?
The resulting compiler defaults to cgo disabled even for the host, as confirmed by go env.

This is working as intended, ref #12808

@seankhliao This behavior is not at all implied by the current documentation for make.bash.

CGO_ENABLED: Controls cgo usage during the build. Set it to 1

to include all cgo related files, .c and .go file with "cgo"
build directive, in the build. Set it to 0 to ignore them.
That does not make it clear that it is actually going to burn a default into the resulting compiler. Probably there need to be two different flags:

Should cgo be enabled while compiling?
What default value should be burned into the resulting compiler?

Please re-open this issue.

The current behavior is working as intended.  We aren't going to change how CGO_ENABLED works today.
Reopening to clarify the documentation.

We aren't going to change how CGO_ENABLED works today.

@ianlancetaylor I'd like to request that you reconsider this. Today if I build a compiler targeting linux from an Alpine image (yes I know this isn't fully supported), then my options are either:

build with CGO_ENABLED=0, which has the unwanted side effect of producing a compiler that doesn't do cgo for the host by default
build without CGO_ENABLED=0 and produce an unusable compiler that is linked with musl

I think it would make more sense (and be more consistent) if there were CGO_ENABLED_FOR_$GOOS_$GOARCH environment variables, which set the defaults for the built compiler. This would accomplish two goals:

In my case, I would run with CGO_ENABLED=0 CGO_ENABLED_FOR_linux_amd64=1 and get the expected result.
People who are currently setting CC_FOR_$GOOS_$GOARCH can improve their experience by not having to explicitly set CGO_ENABLED=1 for a target for which they have pre-selected a C compiler.

I'm not opposed to adding CGO_ENABLED_FOR_${GOOS}_$(GOARCH} or perhaps more simply CGO_ENABLED_FOR_TARGET.  What I'm opposed to is changing the current meaning of CGO_ENABLED.

We are planning some changes to the way cgo in std is handled, and it may be worth revisiting this behavior at that time. For now we should probably sit on this issue.

For anyone looking for a workaround for the original issue, on linux/amd64 you can explicitly set GOHOSTARCH=386 to fool make.bash into thinking it is doing a cross-compile, so it will produce a compiler without cgo that still has cgo enabled by default. Note that you will also need to install gcc-multilib, as the bootstrap compiler will still be compiled with cgo.


Encode a list with Thot.json

Hi!
I'm having troubles decoding a list with the decoder.
The list exists in my json object, but since I encode it manually without Thot, maybe the format is not good and cannot be decoded?
Anyway, since I need to send a JS object to my store, I use the following unsafe method:
        createObj  [
          "mylist" ==> object.someList
        ]

where someList is an optional list field
So using Thot.Encode, how would that work? Furthermore, would I be possible to output a JS object?
Thanks in advance for your help!

I am not sure to understand your problem, encore function will output a string not a JS object.
Does the following code answer your question ?
open Thot.Json

let listData = Some  []

let fromOption data =
    match data with
    | Some data ->
        Encode.list [ ] // Decode here the list via a for loop for example
    | None -> Encode.nil

let jsonString =
    Encode.object
        [ "myList", fromOption listData
        ]

To add even mode details, a list in a JS Object using createObj looks like this:
"myList":{"head":{"field":"value","otherfield","value"},"tail":{}}
So maybe I would have to provide some custom decoder for the list type to handle head and tail values? Or is it already handled by thot?

Thanks for your fast answer!  👍
I will try the method you gave me and tell you if that works.

Ok so, since I must send a JS Object that will be serialized by the library using JS.Stringify, I need to transform my list into an array so that I don't get the List custom tails and head fields. And then it works.
So, well it had nothing to do with Thot.
As always, thanks for your kind help @MangelMaxime 👏


minval can be greater than maxval in tf.keras.initializers.RandomUniform

minval should be less than maxval. However, when minval is greater than maxval, the code works.
import tensorflow as tf
results={}
try:
  minval = 10
  maxval = -6
  seed = 124
  arg_class = tf.keras.initializers.RandomUniform(minval=minval,maxval=maxval,seed=seed,)
  arg_input = [9,6,7,]
  results["res"] = arg_class(arg_input)
except Exception as e:
  results["err"] = "Error:"+str(e)

@cheyennee,
The output of the minval and maxval was working as expected in tf.keras.initializers.RandomUniform. Also we change the min and max values the output was different in both the cases. Kindly find the gist of it here.

@tilakrayal  In other API, when minval is greater than maxval, it will throw an exception. I dont know why tf.keras.initializers.RandomUniform doesnt throw an exception, although it works as expected.

@gadagashwini,
I was able to reproduce the issue on tensoflow v2.8, v2.9 and nightly. Kindly find the gist of it here.

@gadagashwini @cheyennee
Logically, yes it should throw an error. But i tried it multiple times and it initializes values in range [minval, maxval] or [maxval, minval] whichever holds.
I would be happy to send a PR, in case we think it is rquired.

@cheyennee , @old-school-kid ,
The function tf.keras.initializers.RandomUniform  internally relies on tf.random.uniform .Both these APIs raises error when the dtype is int. However with float dtype the implementation not validating this values but these values seems taken as a range and the outputs are generated within this range.Please refer the attached gist.
Logically this should throws an error but implementation is otherwise taken care as range for output.I am not sure this is intended or not but for uniformity the behaviour should be same for int and float data types. But for performance reason this validation might be skipped as implementation is taken care of that in another way.
If you believe this validation is important and willing to propose a PR please feel free to do and let Team review and comment on it. Thanks!


Please rename modules to 'fdb'

This matches other fdb api's and is easier to remember.
Db = fdb:open().
fdb:get_range(Db, From, End).
etc.

Unfortunately the fdb namespace was already claimed by a couple different projects.
https://hex.pm/packages/fdb
https://github.com/happypancake/fdb-erlang

💔


Improve Maven Toolchain File Error Logging

Improve error logging when there are parsing failures for the maven toolchains file
by ensuring the toolchain file location is properly printed and that any logging
from the XML parser is routed through SLF4J instead of being directly logged
to stderr.
Fixes #19939 by improving error logging as described below:
https://github.com/gradle/gradle/issues/19939#issuecomment-1044241597

Changes are good to go!
However I believe we have tests for this. So we should be able to test the change by adding an invalid toolchains file that contains UTF8 as the encoding.

@big-guy and I tried for quite a while to reproduce this exact issue. We could not get a "UTF8" encoding to throw any fatal error. So, we resorted to adding an integration test to verify the logging behavior for the general case of an incorrectly formatted toolchains file.

That's interesting, I wonder why though ...

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Changes are good to go!
However I believe we have tests for this. So we should be able to test the change by adding an invalid toolchains file that contains UTF8 as the encoding.

@big-guy and I tried for quite a while to reproduce this exact issue. We could not get a "UTF8" encoding to throw any fatal error. So, we resorted to adding an integration test to verify the logging behavior for the general case of an incorrectly formatted toolchains file.

@jvandort @big-guy  Did you see my comment where I added a reproduction recipe and debug logs? https://github.com/gradle/gradle/issues/19939#issuecomment-1112430825


Get all records with get(lists)?

Not sure if I'm missing something here but is there a way to get all lists (or a subset) using get?

You should reference the MailChimp docs for that.
http://developer.mailchimp.com/documentation/mailchimp/reference/lists/


Add PostgreSQL 17 support with pgrx 0.12.6

@Vonng we released support for pg17. let us know if you have any issues.


Retrieve search results in a JSON format

As a developer
I want to TITLE
So that I can process JSON search results instead of XML
I am applying a transform to search results from the /v1/search endpoint.  Using a ServerTransform class.  I want to store the search results in a JacksonHandle.
JacksonHandle results = queryMgr.search(querydef, new JacksonHandle());

But I'm getting an XQuery error returned.  Below is the XQuery transform that transforms search results to JSON.
xquery version "1.0-ml";

module namespace transform = "http://marklogic.com/rest-api/transform/json-search";

import module namespace json = "http://marklogic.com/xdmp/json" at "/MarkLogic/json/json.xqy";

declare namespace search = "http://marklogic.com/appservices/search";

declare function transform(
        $context as map:map,
        $params as map:map,
        $content as document-node()
) as document-node()
{
    let $c := json:config("custom") ,
        $cx := map:put( $c, "whitespace", "ignore" ),
        $cx := map:put( $c, "text-value", "label" ),
        $cx := map:put( $c, "camel-case", fn:true() ),
        $cx := map:put( $c, "json-attributes", ("snippet-format", "total", "start", "page-length")),
        $cx := map:put( $c, "array-element-names", (xs:QName("search:result")))
    let $_ := map:put($context, "output-type", "text/json")
    let $json := json:transform-to-json(  $content ,$c )
    return $json
};

Ok, I've tested this, and I'm getting the following server error:
testIssue471(com.marklogic.client.test.TransformTest): Local message: search failed: Internal Server Error. Server Message: XDMP-AS: (err:XPTY0004) $src as node() -- Invalid coercion: () as node() . See the MarkLogic server error log for further detail.
Is that what you're seeing?  What you're doing looks correct and seems like it should work.

Yes that is the message I received.

Scott, if you don't transform the results, does this work as expected?  I would expect that using JacksonHandle is enough to tell the REST endpoint to send us the serach results in JSON format.  I'm not sure why you're having your transform convert to JSON.  It might be better to just do whatever transforms you need on the XML then let the REST endpoint convert it all to JSON.

Unless something has changed (or I misunderstood back at the birth of the API), that's not how transforms work in the REST API. What gets returned from the transform is what gets returned to the client. If he wants to send back JSON, then his transform needs to return JSON.

I haven't verified, but I think if you specify the format parameter as JSON and try to shove the results into a JacksonHandle then you get the error.


[AMD] Fix rest of convert2d tests in test_core.py

This PR limits layouts in a way to guarantee scratch buffer fits into LDS.

Last time I touched this test, I've missed that some of tests overflow LDS with single scratch buffer.
This PR limits layouts in a way that scratch buffer always fits into LDS.


MWPW-160251

Resolves: MWPW-160251

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

Project coverage is 84.73%. Comparing base (c5eab8d) to head (fd4a672).

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #881      +/-   ##
==========================================
+ Coverage   84.72%   84.73%   +0.01%
==========================================
  Files          48       48
  Lines        6141     6140       -1
==========================================
  Hits         5203     5203
+ Misses        938      937       -1

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


No default stylesheet when installed

Selecting Default stylesheet in settings doesn't work: there is no stylesheet applied. Maybe a wrong stylesheet path. Only occurs with system-wide installations with ppa.

Selecting any other stylesheet doesn't seem to work either. I'm also using PPA version.


docs: update latest release to v0.6.2

What type of PR is this?
/kind documentation
What this PR does / why we need it:
Now that v0.6.2 is released this brings some of the changes from the release branch back into main so that we're documenting the latest release properly in the README.md, e.t.c.

Thanks @shaneutt!
/lgtm


Bootstap URL issue

Used the bootstrap snippet in init.el and returned this error:
Debugger entered--Lisp error: (file-missing "Cannot open load file" #("No such file or directory" 0 25 (charset windows-1252)) "c:/Users/Dave/.emacs.d/straight/repos/straight.el/...")
load("c:/Users/Dave/.emacs.d/straight/repos/straight.el/bootstrap.el" nil nomessage)
(let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (if (file-exists-p bootstrap-file) nil (save-current-buffer (set-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straigh..." 'silent 'inhibit-cookies)) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage))
eval-buffer(#<buffer  load> nil "c:/Users/Dave/.emacs.d/init.el" nil t)  ; Reading at buffer position 492
load-with-code-conversion("c:/Users/Dave/.emacs.d/init.el" "c:/Users/Dave/.emacs.d/init.el" t t)
load("c:/Users/Dave/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1295fe1>) #f(compiled-function () #<bytecode 0x1295ff5>) t)
command-line()
normal-top-level()
Then found the bootstrap.el url returned a 404
C:\Users\Dave.emacs.d>ls straight
repos
C:\Users\Dave.emacs.d>ls straight/repos
C:\Users\Dave.emacs.d>git clone "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
Starting git
C:\Users\Dave.emacs.d>"C:\Program Files\Git\mingw64\bin\git.exe" clone "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
Cloning into 'install.el'...
remote: 404: Not Found
fatal: repository 'https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el/' not found
Incidentally this worked last week on a different Windows 10 computer. Has something changed in the repo?

This was some form of issue with git.
I found I had two installs of a standalone git install and a version installed with MSYS.
I uninstalled both git and MSYS, then reinstalled MSYS. Added git using pacman -S git.
Once git was reinstalled the bootstrap ran to completion.


[Request] Ability to get the car state

For a PV project I would like to be able to get the state of the vehicle.
Currently there are mostly actions like setting the charging amps, which is great but getting the state through the SDK would allow me to check if the charging cable is plugged in.
Don't know if that's possible but getting how much the battery is already charged would be a great help too.

Closing as a duplicate of #52 (commands are mostly interface-agnostic).


NFS server on Wyze?

Hello, would it be possible to set an NFS server on the cam?
This could allow for scheduled transfers/backups by pulling the data to the NAS when needed instead of having to maintain a constant NFS connection between the camera and NAS/NFS server.
Somewhat related to https://github.com/HclX/WyzeHacks/issues/68 since the camera could always record to the internal SD and we could copy/delete the footage from the cam's SD over the network when the camera is reachable.

i don't think running nfs server on the camera is the right solution. starting a ssh server might be a better choice which you can already do it with custom script.


Create Issue Template for the project

Create Issue Template for the project and add it to /.github folder. Discuss here.

Fixed in 65dc21e2948087bc47d0cbb1e5fca8fa178660d0


No Longer Works When Signed In (Server-Side?)

Worked without issue until recently.
Now Chat has completely completely disappeared from Bing only when signed in, even the button is gone. Opening bookmarked chat link simply redirects to search result
If I go to Bing Chat while signed out, the extension works fine, but then I lose conversation history.
Reproduced with a different FF profile on a different device.
Unfortunately I think they somehow detected this extension and server-side blacklisted my account from accessing Chat? ... You might want to add a warning about this to the description page.

Closed as I can access Chat again, might have had nothing to do with extension.


Power Analysis Error - ValueError: f(a) and f(b) must have different signs

I'm trying to do the power analysis as found in the examples for NPS values. I have data that I shared in the attached file for Y_total and Yhat_total. I copied the code from the examples and modified it for my use case.
I do not understand the error I am getting. I am trying to report confidence intervals for the average value of the NPS. I can get this to work for percentages.  Can you explain the error reason?
# Find n such that we reject H0: average NPS score <= 3 with probability 80% using a test at level alpha
num_experiments = 100
list_rand_idx = [
    np.random.permutation(n_total) for i in range(num_experiments)
]
alpha=0.05

def _to_invert_ppi(n):
    n = int(n)
    nulls_rejected = 0
    # Data setup
    for i in range(num_experiments):
        rand_idx = list_rand_idx[i]
        _Yhat = Yhat_total[rand_idx[:n]]
        _Y = Y_total[rand_idx[:n]]
        _Yhat_unlabeled = Yhat_total[rand_idx[n:]]

        ppi_ci = ppi_mean_ci(_Y, _Yhat, _Yhat_unlabeled, alpha=alpha)
        if ppi_ci[0] > 3:
            nulls_rejected += 1
    return nulls_rejected / num_experiments - 0.8

def _to_invert_classical(n):
    n = int(n)
    nulls_rejected = 0
    # Data setup
    for i in range(num_experiments):
        rand_idx = list_rand_idx[i]
        _Y = Y_total[rand_idx[:n]]

        classical_ci = classical_mean_ci(_Y, alpha=alpha)

        if classical_ci[0] > 3:
            nulls_rejected += 1
    return nulls_rejected / num_experiments - 0.8

n_ppi = int(brentq(_to_invert_ppi, 1, 1000, xtol=1))
n_classical = int(brentq(_to_invert_classical, 1, 1000, xtol=1))
print(
    f"The PPI test requires n={n_ppi} labeled data points to reject the null."
)
print(
    f"The classical test requires n={n_classical} labeled data points to reject the null."
)

trial_values.json

Can you copy paste the error?

Can you reject 2? Looks like you should be able to based on the plot.

2 does not work for this example. I also tried making the values continuous (not ordinal), but that made no difference.
Could you provide an interpretation of the simulation we do here?

Interesting. Basically this simulation is asking at what n the confidence interval excludes H0. In other words, when the p value for H0 is smaller than alpha.
The error gets thrown when the binary search fails-that means one of two things:

No n can reject the null you chose.

All n reject the null you chose.

So if the search is failing, it's worth examining the p values to see which case you're in. If you're not hitting the cases I described, it signifies some sort of deeper problem.
Let me know if this helped?

Okay understand the interpretation but not sure I understand the parameters here. How does nulls_rejected / num_experiments - power translate to checking when the p value for H0 is smaller than alpha? What part of this relates to p value and significance level?

Okay so two remaining questions:

How can I check the p values as you suggested above using that code?
If we don't have the labeled data in advance, how would we conduct a power analysis to determine how much hand labeled data and machine labeled data to collect before our experience? Does peeking at the experiment play a role here?

Thanks for your help so far, it's much appreciated!

Hey! Sorry for the confusion.

The code above just checks whether the confidence interval contains the H0 value. So you should directly inspect the confidence intervals.
That's not possible without assumptions on the data. Your intervals are generally proportional in size to the standard deviation of Y-f. So if you assume stuff about the distribution of Y-f, you can predict how many samples you would need by looking at confidence interval sizes.

Happy to help!

Hey! I'll close this soon, unless you want to keep chatting.

Hey feel free to close, I'll open something else if I run into problems
again.
On Sat, Mar 23, 2024 at 12:54 AM Anastasios Angelopoulos <
@.***> wrote:

Hey! I'll close this soon, unless you want to keep chatting.
—
Reply to this email directly, view it on GitHub
https://github.com/aangelopoulos/ppi_py/issues/9#issuecomment-2016366003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM5GVT56MBP4DFYVMO4PO63YZUKHRAVCNFSM6AAAAABEFRMBPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGM3DMMBQGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sean smith


add license to each file

add the license to each file in the repository.

completed in version 0.2.1


Also capture Should in tests

Currently:
it("should do XYZ"); 💥
it("Should do XYZ"): ✅

After this:
it("should do XYZ"); 💥
it("Should do XYZ"): 💥

This PR is not done yet, I made a mistake and need to fix it upstream


LSTM : Training: Subtrainer does not write checkpoints

Environment

Tesseract Version: 4.00.00-dev
Platform: Ubuntu 14.04

Current Behavior:
While finetune training, lstmtraining is running subtrainer. After the regular training iteration reached 60,000, subtrainer training has started from 270 and it is updating subtrainer till it reaches current iteration.
Expected Behavior:
Either subtrainer should be run at regular intervals or if needs to catch up for a large number of iterations, it should save checkpoints, so that in case needed, the process can be restarted,
UpdateSubtrainer:Sub:At iteration 284/1500/1505, Mean rms=0.089%, delta=1.062%, char train=3.922%, word train=9.339%, skip ratio=0.4%,
UpdateSubtrainer:Sub:At iteration 303/1600/1605, Mean rms=0.091%, delta=1.129%,                                                                                char train=4.07%, word train=9.912%, skip ratio=0.4%,
UpdateSubtrainer:Sub:At iteration 321/1700/1705, Mean rms=0.093%, delta=1.232%, char train=4.082%, word train=10.139%, skip ratio=0.4%,
UpdateSubtrainer:Sub:At iteration 340/1800/1805, Mean rms=0.095%, delta=1.32%, char train=4.324%, word train=10.76%, skip ratio=0.4%,
UpdateSubtrainer:Sub:At iteration 359/1900/1905, Mean rms=0.093%, delta=1.22%, char train=4.036%, word train=10.23%, skip ratio=0.4%,
UpdateSubtrainer:Sub:At iteration 378/2000/2005, Mean rms=0.094%, delta=1.229%, char train=4.146%, word train=10.413%, skip ratio=0.4%,
Encoding of string failed! Failure bytes: ffffffe0 ffffffa4 ffffff83 20 ffffffe0 ffffffa4 ffffff95 ffffffe0 ffffffa5 ffffff80 ffffffe0 ffffffa4 ffffffb2 ffffffe0 ffffffa4 ffffff95 ffffffe0 ffffffa4 ffffff82 20 ffffffe0 ffffffa4 ffffffae ffffffe0 ffffffa4 ffffffae
Can't encode transcription: ललिता भट्टारिका देवता, ऐं बीजं क्लीं शक्तिः, सौः कीलकं मम
UpdateSubtrainer:Sub:At iteration 393/2100/2106, Mean rms=0.092%, delta=1.188%, char train=3.956%, word train=9.7%, skip ratio=0.5%,
UpdateSubtrainer:Sub:At iteration 406/2200/2206, Mean rms=0.089%, delta=1.092%, char train=3.606%, word train=9.478%, skip ratio=0.5%,
Encoding of string failed! Failure bytes: 7c
Can't encode transcription: अनेन भवति। अस्ति। " जायते -- सर्वत्र इह फलं सर्वेषां |
UpdateSubtrainer:Sub:At iteration 428/2300/2307, Mean rms=0.091%, delta=1.15%, char train=3.732%, word train=9.588%, skip ratio=0.3%,
UpdateSubtrainer:Sub:At iteration 447/2400/2407, Mean rms=0.09%, delta=1.073%, char train=3.477%, word train=9.343%, skip ratio=0.3%,
UpdateSubtrainer:Sub:At iteration 463/2500/2507, Mean rms=0.091%, delta=1.114%, char train=3.541%, word train=9.258%, skip ratio=0.2%,
Encoding of string failed!
UpdateSubtrainer:Sub:At iteration 722/3700/3710, Mean rms=0.094%, delta=1.085%, char train=3.587%, word train=9.63%, skip ratio=0.2%,
Encoding of string failed! Failure bytes: ffffffe0 ffffffa4 ffffff82 ffffffe0 ffffffa4 ffffffa4 ffffffe0 ffffffa4 ffffffb0 ffffffe0 ffffffa4 ffffff83 20 ffffffe0 ffffffa4 ffffff96 ffffffe0 ffffffa4 ffffffb5 ffffffe0 ffffffa4 ffffffa4 ffffffe0 ffffffa5 ffffff8d
Can't encode transcription: पूर्णानंदोऽंतरः खवत्
Compute CTC targets failed!

Image too small to scale!! (1x48 vs min width of 3)
Line cannot be recognized!!

I was using the large unicharset generated by the program. Ray suggested to hand-edit the unicharset till he updates unicharset extractor.
@theraysmith Still waiting for that commit.
I will close this as lstm training process has changed now with new starter trained data etc.


ref(tests): dot-import two packages for readability

Generally I'm not a fan of Go dot-imports, but for this test code I think it makes it more approachable and easier to read.

fair nuff. LGTM


added downloads

Thank you for the PR, but I have some trepidation about this.

The downloads are not accurate because it includes all the CI and mirroring. This is a well known issue with PyPI stats and I believe contributed to them removing the stats, which used to be listed on the page IIRC. So it doesn't tell use really how many people downloaded Kivy since pretty much daily there will be many CI services downloading kivy.
I'm not sure I trust the site. It seems harmless and has been around for a bit, but I don't like the idea someone simply opening our repo (on github or locally) being forced to make a connection to the third party-site, unless it's a much more established website.

But the second issues is a more minor concern, compared to the concern that it doesn't really at much info. But I'm open to other opinions.

I'm closing as after thinking about this, I still think overall I don't like adding it.


[docs] Add generic props usage examples

[ v ] I have followed (at least) the PR section of the contributing guide.

Related #18868

@fyodore82 Very nice, thanks!


Handle a few forgotten cases of already resigned leaders.

In a failover or cleanout or resign leadership situation it is possible that in Current we have an already resigned leader. This needs to be taken into account when deciding which server to failover to or to move to. This fixes bad behaviour in corner cases.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/11503/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/11506/

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr-windows/5237/

Tests blue except false positive failure.


Remove unnecessary line from example

This line doesn't seem necessary nor relevant to this example

Thx @frewsxcv


fix: fetch cache does not depend on tag cache being enabled

That should help with https://github.com/opennextjs/opennextjs-cloudflare/pull/194

Thanks for all the reviews today :)

FYI at the moment there is no way to manually invalidate a fetch cache entry without the tag cache

We will work on the tag cache next. Hopefully early next year.


Cleanup

Removing examples that are either no longer used, or are maintained in DartPad.
@kwalrath

Since Dart Pad isn't source control, would it make sense to keep a copy of the useful samples in Github?

We've decided to go another way on this, particularly now that we have an automated way to create gist files.


Perf results for minute frequency

Hi @freddiev4 ,
When we use minute data the performance results are coming in daily basis.
Could you please help how can we get the perf result on minute basis?

Duplicate of https://github.com/quantopian/zipline/issues/2040 ?


Sum of N Lucas Numbers

💥 Proposal
Program to find the sum of N Lucas Numbers
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Added Polish translation

is it ok?

This looks good but could you please comment here with a translation for
Battery quantity
I will be adding this next week so will be good to get a complete translation.

Sure! "Battery quantity" is Liczba baterii in Polish.

Thanks, I'll get this translation into the next release.


BUG on CC0043 and CC0092 (ChangeAnyToAll) when invocation is complex

Both CC0043 and CC0092 will crash with an NullReferenceException when the Any or All invocation is complex, composed of more than one Member Access. So, instead of A.Any, which works, A.B.Any will fail.
This is happening at the UnusedParametersAnalyzer.cs, line 153. (See it here).
Here is the code that is causing the analysis to fail, from UnusedParametersAnalyzer.cs:
if (!typeSymbol?.AllInterfaces.Any(i => i.ToString() == "System.Runtime.Serialization.ISerializable") ?? true) return false;

The error is being raised at line 62 (see it here):
var otherInvocationSymbol = semanticModel.GetSpeculativeSymbolInfo(invocation.SpanStart, otherInvocation, SpeculativeBindingOption.BindAsExpression);

These are the variable values at that point:
invocation.ToString()
".AllInterfaces.Any(i => i.ToString() == \"System.Runtime.Serialization.ISerializable\")"
otherInvocation.ToString()
".AllInterfaces.All(i => i.ToString() == \"System.Runtime.Serialization.ISerializable\")"
invocation.Expression.ToString()
".AllInterfaces.Any"

I was working on the fix, and I can't repro. It is closed.

Reopening, found a way to repro.


Dashboard field label highlighting is not consistent

Severity (1-4; 1 - not severe, 4 - very severe):
3
Priority (1-4; 1 - lowest priority, 4 - highest priority):
3
Synopsis - describe bug/task/future request, in more detail:
The highlighting on the field labels gets shorter on each row. by the time the last one is displayed, the field label is not contained in the highlighting (see image below)
Expected Behavior - what the behavior is supposed to be, for bug/task/FR:
Labels should be consistent
Actual Behavior - what the behavior is instead, for bugs only:
Labels are not consistent
To reproduce:

Go to the home page
Scroll down to the Dashboard

I misunderstood .. what I am seeing is the number of issues bar, and this will look better/make more sense once there are more stats to count.  Closing this issue.


gomod2nix triggers "too many open files" error

Describe the bug
It triggers panic: fcntl<EMAIL_ADDRESS>too many open files error. I guess because the new version generate lots of coroutines simultaneously which opens lots of files at the same time.
To Reproduce
run gomod2nix on a relatively large project.
Expected behavior
It would be good to work under the default ulimit.
Environment

OS name + version: macOS
Version of the code: master

Additional context
Add any other context about the problem here.

I think https://github.com/tweag/gomod2nix/pull/51 should fix your problem with only a modest slowdown.


@conda-forge-admin please add user @akoseki2

Comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @akoseki2 in conda-forge/dpm360-lightsaber-feedstock#3.


Admin part - Configuration Widget URL

Subject of the issue
Manage the widget urls by category on the global configurations
Issue type
[] Bug
[] Improvment
[] Documentation
[x] Feature
NB: Specify labels in right panel also
Expected behaviour
Tell us what should happen

related to #77.
Configuration has been done widget side


debugserver does not run properly.

Describe the bug
BUG1: /Developer/usr/bin/debugserver  failed to get the task for pid
BUG2: /jb/debugserver failed to set breakpoint properly.
To Reproduce
Steps to reproduce the behavior:

ios 11.0.3, compile master branch (rev 30cfc5cb71a9dcb95406ef14e3e51481767ac434) and install and jb.
ssh to ios , su ,and run:
3a: /Developer/usr/bin/debugserver  <IP_ADDRESS>:1234 /var/containers/Bundle/Application/some-uuid/SOME_APP.app/SomeApp
3b: /jb/debugserver  <IP_ADDRESS>:1234 /var/containers/Bundle/Application/some-uuid/SOME_APP.app/SomeApp

3a would failed by:
/Developer/usr/bin/debugserver  <IP_ADDRESS>:1234 /var/containers/Bundle/Application/B453AFC8-8832-4AFB-8A03-B9CD4472BAF0/WeChat.app/WeChat
...
error: failed to launch process /Developer/usr/bin/debugserver: failed to get the task for process 624

3b would run debugserver, and lldb can connect it, but set any breakpoint would cause the app die.
see below.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

iOS Version: 11.0.3
iOS Device: iphone7
unc0ver Version:  master rev 30cfc5cb71a9dcb95406ef14e3e51481767ac434

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
$ lldb
(lldb) platform select remote-ios
  Platform: remote-ios
 Connected: no
  SDK Path: "/opt/_home_/xungeng/Library/Developer/Xcode/iOS DeviceSupport/12.0 (16A366)"
  SDK Roots: [ 3] "/opt/_home_/xungeng/Library/Developer/Xcode/iOS DeviceSupport/11.0.3 (15A432)"
(lldb) process connect connect://localhost:1234
Process 637 stopped
* thread #1, stop reason = signal SIGSTOP
    frame #0: 0x0000000105ec51d8 cy-3Fwa7C.dylib`_dyld_start
cy-3Fwa7C.dylib`_dyld_start:
->  0x105ec51d8 <+0>:  mov    x28, sp
    0x105ec51dc <+4>:  and    sp, x28, #0xfffffffffffffff0
    0x105ec51e0 <+8>:  mov    x0, #0x0
    0x105ec51e4 <+12>: mov    x1, #0x0
Target 0: (WeChat) stopped.
(lldb) si
Process 637 stopped
* thread #1, stop reason = instruction step into
    frame #0: 0x0000000105ec51dc cy-3Fwa7C.dylib`_dyld_start + 4
cy-3Fwa7C.dylib`_dyld_start:
->  0x105ec51dc <+4>:  and    sp, x28, #0xfffffffffffffff0
    0x105ec51e0 <+8>:  mov    x0, #0x0
    0x105ec51e4 <+12>: mov    x1, #0x0
    0x105ec51e8 <+16>: stp    x1, x0, [sp, #-0x10]!
Target 0: (WeChat) stopped.
(lldb) br set -a $pc+8
Breakpoint 1: where = cy-3Fwa7C.dylib`_dyld_start + 12, address = 0x0000000105ec51e4
(lldb) c
Process 637 resuming
Process 637 stopped
* thread #1, stop reason = EXC_BAD_ACCESS (code=50, address=0x105ec51dc)
    frame #0: 0x0000000105ec51dc cy-3Fwa7C.dylib`_dyld_start + 4
cy-3Fwa7C.dylib`_dyld_start:
->  0x105ec51dc <+4>:  and    sp, x28, #0xfffffffffffffff0
    0x105ec51e0 <+8>:  mov    x0, #0x0
    0x105ec51e4 <+12>: mov    x1, #0x0
    0x105ec51e8 <+16>: stp    x1, x0, [sp, #-0x10]!
Target 0: (WeChat) stopped.
(lldb)

note: lldb connected to debugserver , stopped at _dyld_start, it then succeeded to  run a si command.
However, when set a breakpoint at $pc+8 (xxx1e4), the app cause EXC_BAD_ACCESS at $pc (xxx1dc).
It seems like the memory is not executable??

Finally I solved this bug myself. It's hard to say if this is a bug of unc0ver or not.
IOS 11&12 restirct more to make it harder to debug a production app process.
So debugger should to modified to alter the target process for being debugged.
It could be an enchancement for unc0ver to unrestrict it on demand.
Now I built a new debugserver (github/swigger/debugserver-ios) to directly fix this case.


Bug: Investigate possible bug in processing logic when files exist

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the bug
Investigate possible bug where previously downloaded datasets contain all expected files and all file hashes match is not processed further. See https://github.com/UAL-RE/ReBACH/blob/4463f8de8340bf7cfb4c3672a3825477b3ce626a/figshare/Article.py#L562
May also need to improve the log message in https://github.com/UAL-RE/ReBACH/blob/4463f8de8340bf7cfb4c3672a3825477b3ce626a/figshare/Article.py#L564
Steps To Reproduce
TBD

Things seem to be working as expected. Closing.


[Event Request] Application “Tests- Reverse”, Codeunit 134129 "ERM Reverse For Cust/Vendor"

[Event Request] Application “Tests- Reverse”, Codeunit 134129 "ERM Reverse For Cust/Vendor"

Could you please insert the OnTestInitialize Event at the beginning of the procedure Initialize?

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.


cargo-dist autoselects non-GitHub remote and fails

The problem I'm experiencing is this:
  × GitHub CI support requires a GitHub repository
  ╰─▶   × Your repository URL https://<not github> couldn't be parsed.
        help: Only GitHub URLs are supported at the moment.

The repo in question has two remotes: one origin that points at something that's not GitHub and one github that does point at GitHub.
Is there a way for me to tell cargo-dist to just use the GH remote?

I can't find any guidance on what a dist.toml file should look like.
I found this: https://opensource.axo.dev/cargo-dist/book/reference/config.html
but no matter what I put in there, cargo dist init consistently fails with this error message:
  × We encountered an issue trying to read your workspace
  ├─▶   × failed to parse TOML
  │
  ╰─▶ missing field 'build-command'

The aforementioned reference page suggests this is optional so I don't understand why it's complaining about it missing.

hrm that sounds frustrating- and i'm sorry about that. our docs are less than ideal at the moment because we are in a transition period to this new config system that allows niceties like the override i'm suggesting. let me draw up an example real fast (where i either find the same bug as you or can give you a good thing to follow to implement what you need).
the fastest/easiest/probably least ideal thing you could do is update your repository field on your Cargo.toml. but in lieu of that let me sort how i can get this override to work for ya.

ok! i got it working, but it's a bit gross. here's what i found so you can get it working but i think we'll want to make it a bit easier in the future:
create a dist-workspace.toml
[workspace]
members = ["cargo:./"]

create a dist.toml
[package]
responsitory = "https://github.com/another/repo"

this is a lot to just override the one field, but it should work for you

That made the workflow generation work, thank you!
However, the workflow itself is now failing:

This is the repository: https://github.com/SamusAranX/ffauto-rs
Is this something I can fix on my end?

I am about to go to dinner right now but I can get back to you tomorrow morning! sorry it's been a bumpy ride but we'll get you over the finish line!

No worries! This is a scrunkly personal project, not something corporate or mission-critical 😄

I looked at this again and I don't think it's a problem with how my repo is set up.
Whatever cargo dist build is generating is lacking whatever the subsequent jq call is looking for, making the workflow fail even after the actual builds succeeded.

Are you able to share the build artifacts from a build where this occurred?

I did some more tests and found out that workflows run just fine with stock settings. (oops)
It only started failing when I added these lines to the workspace.metadata.dist section of my Cargo.toml:
# Use ZIP files
unix-archive = ".zip"
windows-archive = ".zip"

# Don't upload a source tarball
source-tarball = false

Here are all of the build artifacts that felt relevant:
artifacts-build-local-aarch64-apple-darwin.zip
artifacts-build-local-x86_64-apple-darwin.zip
artifacts-build-local-x86_64-pc-windows-msvc.zip
artifacts-build-local-x86_64-unknown-linux-gnu.zip
If you need anything else, please let me know.

I believe I found the bug. Working on a fix now.

I've merged a fix for that error; it'll make it in our next release.


Test Altair for visualizations

Spatial support is now implemented https://github.com/altair-viz/altair/pull/1664

From all tasks this seems to be the one that requires the least formal knowledge of both all the theory and the code base. If you were to test this where would you start? First time I come across altair. Seems quite useful.

Thank you for your interest in taking over this task @slothkong !
The main advantage I'm hoping for is to have interactive plots. For example, the current Trajectory.plot() function can show speed along the trajectory using different colors and we can add a legend to explain the colors but with Altair, I would hope that the user can hover over a line segment and see the actual speed value.

ok. I can l play  a bit with 0_getting_started.ipynb and see if I can plot the same data with the new lib.
Just out of curiosity, have you considered plotly?
I think this kind of interactivity you hope to achieve could also be easily implemented on it, with the benefit that is a more standard library, getting tons of love by the dev community these days. Might give MovingPandas an extra boost and ease up open source developement

Plotly would be a great addition as well and it would most likely be a more sensible first step. I'll open a separate ticket for plotly.
Altair get's really powerful when used to create linked charts but I might be getting ahead of myself.

@slothkong looking forward to seeing what you come up with

I've started an ipynb comparing folium and hvplot:

https://github.com/anitagraser/movingpandas/blob/master/tutorials/3_interactive_maps.ipynb


fix mem leak in converting amqp value into string

amqpvalue_to_string will malloc memory for the string, we should free the c allocated memory after usage.
according to cython, https://cython.readthedocs.io/en/latest/src/tutorial/strings.html, we could copy the c string into python string first, then we should be able to safely free the c string and let python take over the life management of the python string.

/azp run python - uamqp - tests

/azp run azure-uamqp-python - all-tests


Page Needs More Details on how to define the response body definition.

It seems that when setting up an external call in a dataflow you need to define a response body definition. Outside of two youtube videos, I have been unable to find documentation on how to define a valid response body definition. I believe you have an example on your documentation page but I am not seeing much of an explanation.  I think there should be more on this, or a link to a page explaining how to write a properly formatted definition.

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

ID: 73a3c6c0-e834-4fa3-ecd6-ba220b46c79c
Version Independent ID: adb106be-ca29-47fd-3dea-b1f8941e3b85
Content: External call data transformation in mapping data flow - Azure Data Factoryhttps
Content Source: articles/data-factory/data-flow-external-call.md
Service: data-factory
Sub-service: data-flows
GitHub Login: @kromerm
Microsoft Alias: makromer

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

Hi @Kachopsticks. Thanks for your feedback to help us improve the docs. I see the owner of the doc made an update that appears to address your feedback, providing a note about how to get the response body definition. I will close this issue today but we can continue the conversation here if necessary, even after it is marked as close. #please-close


Play Video opens to a new tab

Make it open in a hover panel.

Wrote a new modal script and js then used the youtube api to play the video when the modal opens and stop it when it closes.

Wrote a new modal script and css then used the youtube api to play the video when the modal opens and stop it when it closes.