Tech and literature review on missing time series data imputation

Tech Review:

impyute
[Scipy-Pandas Interpolation](https://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation, https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html)

Literature/Article Review:

(https://towardsdatascience.com/how-to-handle-missing-data-8646b18db0d4)


429 Error

Getting this in HA logs on startup:
Error requesting husqvarna_automower data: 429, message='', url=URL('https://api.amc.husqvarna.dev/v1/mowers/')
429 is 'too many requests', isn't it? Anyone else having this? I've only installed this integration as directed, not sure why I'd have more requests than anyone else.

I've never had this problem before. Do you have automations, which trigger on startup?
For more details, you can activate debugging, and check, if there are a lot if requests on startup.

I've looked around for anything that could be polling it extra. I found none, and never wrote any. I was a little suspicious of the duplicate automower entity that was created last time I needed to re-authorize, so I deleted the integration and started over. No automowers or error messages appear now :-(

This should be fixed in #102, feel free to test it before merging.


Locator Devices

I saw on the home page README that you might be trying to get hold of a locator device to test with, but in case you can't find one, you might be interested in a project I came across on Hackaday that shows how to build an adapter for connecting a PS/2 mouse to the VT340.
https://hackaday.io/project/19576-dec-mouse-adapter
I know absolutely nothing about hardware hacking, so I don't know how easy that would be to build, but I figured it might be something you would understand.
Also, I noticed that the links in the Locator Devices section aren't rendering correctly on GitHub. I think the way it's supposed to work if you're using the footnote link format is you'll use a reference in the text like this:
the common protocol they spoke in the [VCB02 manual], particularly the appendices...

And then define the link for that reference in a footnote like this:
[VCB02 manual]: docs/kindred/EK-104AA-TM-001_VCB02_Video_Subsystem_Feb87.pdf

If you want to test stuff like this before checking it in, what I do is paste my markdown into a comment or issue on GitHub (obviously without submitting it) and just see what it looks like in the preview.

And while we're on the subject of locator protocols, there was something else I wanted to discuss with you. I've seen a couple of places where you've mentioned the capabilities of DECterm and the VWS VT200 emulator, and I was curious whether you actually have access to a system with either of those terminals?
The reason I ask is because both of them are supposed to support the DEC Text Locator extension, which is something I wanted to implement in Windows Terminal. The documentation can be a bit ambiguous (as is often the case), so I was hoping to find a reasonable reference implementation I could test against. And if the VT340 doesn't have that extension, then a terminal emulator written by DEC would be the next best thing.


Won't replace a resource when its dependency is recreated

Hello,
I'm writing this terraform code to spin up a kubernetes cluster (VM) on Proxmox.
I'm using cloud-init and since there's no way to "rebuild the image" like in the WebUI I created a null_resource whose trigger is the hash of the rendered cloud-init files (user_data and network), and added it as a dependancy for the actual cluster.
# The variable that accounts for the nodes' definition
variable "nodes" {
  default = {
    kmaster = {
      id          = 6000
      storage     = "threetb"
      description = "terraform cloud-init test"
      node        = "virt"

      boot = {
        order = "c"
        disk  = "scsi0"
      }

      net = {
        nic_type    = "virtio"
        mac_address = ""
        bridge      = "vmbr0"
      }

      vga = {
        type = "serial0"
      }

      clone_from = "kinit" # ONLY CLONE SUPPORTED by this terraform module
      # pool = "test"

      hw = {
        cores        = 4
        sockets      = 1
        RAM          = 4096
        disk_size_gb = "30G"
        disk_type = "scsi"
        disk_storage = "threetb"
        nic_type     = "virtio"
        bridge       = "vmbr0"
      }

      netinit = {
        ip          = "<IP_ADDRESS>/23"
        nameservers = ["<IP_ADDRESS>", "<IP_ADDRESS>", "<IP_ADDRESS>"]
        gw          = "<IP_ADDRESS>"
      }

      userinit = {
        snippets_path = "/mnt/mounted_disk/snippets"
        kubernetes_user = {
          name     = "kube"
          ssh_keys = ["blabla", "woofwoof"]
          visudo   = ["ALL=(ALL) NOPASSWD:ALL"]
        }
        packages = [
          "some",
          "needed",
          "packages",
          "for",
          "kubernetes"
        ]

        files = [ # Supported: content, path, encoding, owner, permissions, contentpath
          {
            content = "net.bridge.bridge-nf-call-ip6tables = 1\nnet.bridge.bridge-nf-call-iptables = 1\nciao"
            path    = "/etc/sysctl.d/k8s.conf"
          },
          {
            content  = "U0VMSU5VWD1wZXJtaXNzaXZlCg=="
            encoding = "b64"
            path     = "/etc/selinux/config"
          },
          {
            content  = "so not important"
            encoding = "b64"
            path     = "/etc/docker/daemon.json"
          },
          {
            content = "br_netfilter"
            path    = "/etc/modules-load.d/k8s.conf"
          },
          {
            contentpath = "files/kinstall_ubuntu24.sh"
            path        = "/root/kubeinstall.sh" # DO NOT TOUCH OR CHANGE IN THE USERINIT TEMPLATE ACCORDINGLY
            owner       = "root:root"
            encoding    = "b64"
            permissions = "0700"
          }
        ]
        cmds = [
          "/root/kubeinstall.sh kmaster '1.23.2-00' kube"
        ]
        reboot = true
      }
    }
  }
}

# I use some local variables to keep the code clean
locals {
  netinitvars = {
    for name, val in var.nodes : name => { ip = val.netinit.ip, nameservers = val.netinit.nameservers, gw = val.netinit.gw }
  }
  userinitvars = {
    for name, node in var.nodes : name => {
      hostname = name
      kuser          = node.userinit.kubernetes_user.name
      kuser_authorized_ssh_keys = node.userinit.kubernetes_user.ssh_keys
      kuser_visudo   = node.userinit.kubernetes_user.visudo
      packages       = node.userinit.packages
      files = node.userinit.files
      kubernetes_version = var.kversion
      commands = node.userinit.cmds
      reboot_enabled = node.userinit.reboot
    }
  }
  net_rendered = {
    for name, node in var.nodes: name => templatefile("${path.module}/files/netinit.yml.tftpl", local.netinitvars[name])
  }
  user_rendered = {
    for name, node in var.nodes: name => templatefile("${path.module}/files/userinit.yml.tftpl", local.userinitvars[name])
  }
}

resource "null_resource" "cloud_init_config_files" {        # Replace provisioners with some more IaaC method
  for_each = var.nodes

  triggers = {
    # Any change to the rendered config files will trigger the recreation                            <================||||
    initfiles = md5("${local.net_rendered[each.key]} ${local.user_rendered[each.key]}")
  }

  connection {
    type     = "ssh"
    user     = var.pve.user
    private_key = file("${path.module}/files/id_rsa")
    host     = var.pve.host
  }

  provisioner "file" {
    content =  local.net_rendered[each.key]
    destination = "/mnt/threetb/snippets/netinit-${each.key}.yml"     # Needs fixing with the var.userinit.snippets_path
  }
  provisioner "file" {
    content = local.user_rendered[each.key]
    destination = "/mnt/threetb/snippets/userinit-${each.key}.yml"    # Needs fixing with the var.userinit.snippets_path
  }
}

resource "proxmox_vm_qemu" "cloudinit-test" {
  depends_on = [
    null_resource.cloud_init_config_files,                                          <================||||
  ]

  for_each = var.nodes

  vmid = each.value.id
  name        = each.key
  desc        = each.value.description
  target_node = each.value.node
  # The destination resource pool for the new VM
  pool = try(each.value.pool, null) != null ? each.value.pool: null

  clone = each.value.clone_from

  cores   = each.value.hw.cores
  sockets = each.value.hw.sockets
  memory  = each.value.hw.RAM

  network {
    macaddr = try(each.value.net.mac_address, null) != null? each.value.net.mac_address: null
    model = each.value.net.nic_type
    bridge = each.value.net.bridge
}

  disk {
    size = each.value.hw.disk_size_gb
    type = each.value.hw.disk_type
    storage = each.value.hw.disk_storage
  }

  os_type   = "cloud-init"
  boot = each.value.boot.order
  bootdisk = each.value.boot.disk
  cicustom                = "user=threetb:snippets/userinit-${each.key}.yml,network=threetb:snippets/netinit-${each.key}.yml" # Fix with variable
  /* Create the Cloud-Init drive on the "local-lvm" storage */
  cloudinit_cdrom_storage = "local-lvm"

  serial {
    id =  0
    type = "socket"
  }
  vga {
    type = each.value.vga.type
  }
}

So I'd expect the null_resource to be destroyed, and so the proxmox_vm_qemu.
What I get is actually:
>> terraform plan
null_resource.cloud_init_config_files["kmaster"]: Refreshing state... [id=1664071392670878091]
proxmox_vm_qemu.cloudinit-test["kmaster"]: Refreshing state... [id=virt/qemu/6000]

...

Terraform will perform the following actions:

  # null_resource.cloud_init_config_files["kmaster"] must be replaced
-/+ resource "null_resource" "cloud_init_config_files" {
      ~ id       = "1664071392670878091" -> (known after apply)
      ~ triggers = { # forces replacement
          ~ "initfiles" = "4a0736e821a62d9df43cd31307ae9e2b" -> "f46799b973de47a6e9e7bae77cecd8b2"
        }
    }

  # proxmox_vm_qemu.cloudinit-test["kmaster"] will be updated in-place
  ~ resource "proxmox_vm_qemu" "cloudinit-test" {
        id                        = "virt/qemu/6000"
        name                      = "kmaster"
        # (37 unchanged attributes hidden)

      ~ disk {
          ~ size         = "29900M" -> "30G"             # fixed by using 29900M
            # (17 unchanged attributes hidden)
        }

        # (3 unchanged blocks hidden)
    }

Plan: 1 to add, 1 to change, 1 to destroy.

So basically even though the null resource is going to be replaced while the vm is not.
I haven't worked with Terraform for a while now but as far as I remember the vm should definitely be replaced.
Thanks

Interested in the outcome of this discussion as well since I see the same issue. I have not tried depends_on using a different provider but it looked to me that it might just be about ordering. I wished it would trigger the deletion as you pointed at though...


Multiple nodes secure deploy

Add the ability to deploy multiple elasticsearch nodes to the role. It is also necessary to ensure the safe interaction of nodes with each other, as described here: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/configuring-stack-security.html ?blade=kibanasecuritymessage
It is possible to partially reuse this role when implementing secure interaction: https://github.com/elastic/ansible-elasticsearch

Assignee is None

Created by capitanFlint129 at 2022-11-17T19:31:14Z


2023edits

Proposed draft iteration for OGC API - Coverages, for which I hope to soon hold a SWG vote to approve merging these changes.
19-087.pdf
The main changes is getting rid of all /coverage/* resources, with a JSON Schema at /schema replacing the CIS RangeType resource, and the collection description extent with its uniform additional dimension capabilities and grid property replacing the CIS DomainSet. It isolates the dependency on the Coverage Implementation Schema to the CIS JSON requirement class.
The document was also significantly shortened and simplified overall, while also adding new draft requirement classes for the different encodings (currently a short stub in many cases), for selecting an output CRS, and for scenes making up a coverage.

2023-09-06: Motion to merge these edits
Motion: Amy
Second: Joan
(note: Stephan has participated in recent meetings, therefore we temporrily make him a non-voting member for the purpose of achieving quorum)
Discussion:
There was NOTUC.
Present: Carl, Joan, Tom, Amy, Jerome


Support of Atmega8

Hi, I would like to use the Atmega8 chip, which do not seem to be supported by now.
I don't know enough of the avh-hal system to implement it myself (but I could try with some help)

On Wed, Nov 09, 2022 at 03:14:53AM -0800, Xavier-Frédéric Moulet wrote:

... but I could try with some help

#362

@stappersg, #362 adds a board to arduino-hal, that's not what the issue poster needs to do.  They need to add a new MCU to atmega-hal which works differently.
@xfmoulet, as a reference for adding a new MCU, maybe PR #306 is a better candidate.  You need to mostly follow what happens there.  You can open a draft PR once you got the bare basics working and need help with some more specific things (e.g. ADC, PWM, ...).  Just let me know when you get stuck anywhere.

I have an issue (so closing this PR for the moment) : adps() method prescaler_2 does not exist, only bit definitions ...
I try to find a way to temporarily disable the ADC device for the moment (I guess the other possibility would be to enable is automated extraction in avr-device ?)

I think I have done the needed patches in avr-device for this. See https://github.com/Rahix/avr-device/pull/112
I've also tried to implement ATmega8 to avr-hal, see the relevant commit here: https://github.com/Rutherther/avr-hal/commit/67fb8b1ca6d992a486253153a8c191a664ac7c23
There were some problems with that as the rest of the ATmega's are different to ATmega8 (EEPROM does not use erase mode, ADC does not have DIRD). I have added macros to avr-generic-hal specific to ATmega8 (in eeprom.rs and adc.rs), does that make sense? I suppose there are other microcontrollers that will work the same way so it could be useful in the future. What do you think, @Rahix? Do you have any better idea?
Also name of the register for wdt is different, as a hotfix I added cfg feature to avr-generic-hal wdt.rs. What is the correct way to handle this? Should I add parameters to the macro that will access the correct register? (wdtcsr for other megas, wdtcsr for ATmega8)
I have not yet tested anything except EEPROM, so I won't make a PR yet, but you can expect it in a week.

Another thing is that ATMega8 does not support watchtog at 4000 ms and 8000 ms timeouts, what would the correct way to handle that be? https://github.com/Rahix/avr-hal/compare/main...Rutherther:avr-hal:main#diff-6697f39027bdefb403a8c88673c635515ca9737eb92bf78393b97feffc9b6725R39
Also the rest of the timeouts is not exaclty right either for ATmega8:

As we now have two PRs for ATmega8 open here, #368 by @xfmoulet and #384 by @Rutherther, how shall we proceed?  Should we just drop one or is there work to be merged from both?

I did not have enough time to pursue patching the generator, and I think @Rutherther went further than I did with its implementation, I can retire mine if you agree with it.

Alright, let's go that route.  Thanks anyway for initially starting the work on this topic!


clean-repo-tabs: menuItem is undefined

Description
onlyShowInDropdown@moz-extension://49f9749d-a211-4327-ae0d-6e28fb7a9a1c/assets/refined-github.js:12081:7
init@moz-extension://49f9749d-a211-4327-ae0d-6e28fb7a9a1c/assets/refined-github.js:12142:27

The feature throws an error on those lines:
https://github.com/refined-github/refined-github/blob/a0381ca315606a53def92932ed7927dca84d8963/source/features/clean-repo-tabs.tsx#L43-L44
How to replicate the issue + URL

Open https://github.com/refined-github/sandbox/pull/12/checks
Click on the "Files" tab

Extension version
23.12.1
Browser(s) used
Firefox

If it happens only after a navigation, it's probably due to:

https://github.com/refined-github/refined-github/issues/6437

I should really look into those AJAX issues

Closing in favor of https://github.com/refined-github/refined-github/issues/6437

I was wrong, https://github.com/refined-github/refined-github/pull/7513 does not fix it

Duplicate of https://github.com/refined-github/refined-github/issues/7806

Again unrelated 😂


how can we set the reading as word, sentence and paragraph mode?

Now the epub reader is reading sentence so If the reader need word by word that should be reflected and for paragraph also so how can I do that. :) @hebertialmeida share if have any option for this or I have to want to do it another way please send the feedback. @katopz

Right now the implementation uses sentences because the TTS feels more natural, but you should be able to achieve this modifying the current implementation.
There is no easy way to use that, so you will have to implement.


Master -> Live

Docs Build status updates of commit 2ad0b05:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/comfort.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holographic-frame.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/windows-device-portal-img-16.png
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-base-ch5.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding-SDK.md
:white_check_mark:Succeeded
View

mixed-reality-docs/using-the-windows-device-portal.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2cc6d98:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/comfort.md
:white_check_mark:Succeeded
View

mixed-reality-docs/holographic-frame.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/windows-device-portal-img-16.png
:white_check_mark:Succeeded
View

mixed-reality-docs/mrlearning-base-ch5.md
:white_check_mark:Succeeded
View

mixed-reality-docs/scene-understanding-SDK.md
:white_check_mark:Succeeded
View

mixed-reality-docs/using-the-windows-device-portal.md
:white_check_mark:Succeeded
View

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Change note about okta/azuread scim being avail for enterprise

This is an automatically enabled feature now for enterprise customers and we no longer have to enable this manually, unless it's a custom provider

Making sure this change is ready for prime time. Asked the foundation team in their campfire for their input.
https://3.basecamp.com/3453178/buckets/23328660/chats/3993480919@6184047250

Added change to AzureAD page as per @JuanitoFatas recommendation

Lovely 💝


[SPARK-26742][K8s][branch-2.4] Update k8s client version to 4.1.2

What changes were proposed in this pull request?
Updates client version and fixes some related issues.
How was this patch tested?
Tested with the latest minikube version and k8s 1.13.
KubernetesSuite:

Run SparkPi with no resources
Run SparkPi with a very long application name.
Use SparkLauncher.NO_RESOURCE
Run SparkPi with a master URL without a scheme.
Run SparkPi with an argument.
Run SparkPi with custom labels, annotations, and environment variables.
Run extraJVMOptions check on driver
Run SparkRemoteFileTest using a remote data file
Run SparkPi with env and mount secrets.
Run PySpark on simple pi.py example
Run PySpark with Python2 to test a pyfiles example
Run PySpark with Python3 to test a pyfiles example
Run PySpark with memory customization
Run in client mode.
Run completed in 4 minutes, 20 seconds.
Total number of tests run: 14
Suites: completed 2, aborted 0
Tests: succeeded 14, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spark Project Parent POM 2.4.2-SNAPSHOT ............ SUCCESS [  2.980 s]
[INFO] Spark Project Tags ................................. SUCCESS [  2.880 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  1.954 s]
[INFO] Spark Project Networking ........................... SUCCESS [  3.369 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  1.791 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  1.845 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  3.725 s]
[INFO] Spark Project Core ................................. SUCCESS [ 23.572 s]
[INFO] Spark Project Kubernetes Integration Tests 2.4.2-SNAPSHOT SUCCESS [04:25 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:08 min
[INFO] Finished at: 2019-03-06T18:03:55Z
[INFO] ------------------------------------------------------------------------

Test build #103105 has started for PR 23993 at commit 5e6e770.

Test build #103105 has finished for PR 23993 at commit 5e6e770.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8567/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8567/

@shaneknapp I have this for 2.4.1 for testing as well. Tests fail due to the minikube issue.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8567/
Test FAILed.

jenkins test this please

Test build #103107 has started for PR 23993 at commit 976a2eb.

Test build #103107 has finished for PR 23993 at commit 976a2eb.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8569/

I removed hadoop-2.6 deps but this still fails (although I try to align it with https://github.com/apache/spark/pull/23814)

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8569/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8569/
Test FAILed.

@skonto Thanks! Good to know it's due to minikube issue. I was stucked on this for a while. Glad you figure it out

Test build #103108 has started for PR 23993 at commit 5de30f5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8570/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8570/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8570/
Test FAILed.

tests pass as reported here: https://issues.apache.org/jira/browse/SPARK-26742

Test build #103108 has finished for PR 23993 at commit 5de30f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

@gatorsmile -- am i missing something, or did this not get merged?

ping @gatorsmile

This is not merged. I accidentally closed it.

Test build #103452 has started for PR 23993 at commit 5de30f5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8872/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8872/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8872/
Test FAILed.

k8s test failure is expected

test this please

Test build #103456 has started for PR 23993 at commit 5de30f5.

test this please

Test build #103458 has started for PR 23993 at commit 5de30f5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8875/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8875/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8875/
Test PASSed.

we're going to wait to see if the regular non-k8s PRB job passes before merging.

Test build #103456 has finished for PR 23993 at commit 5de30f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #103458 has finished for PR 23993 at commit 5de30f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Merging to 2.4.

Hi，
I report an issue related with kubernetes-client 4.1.2 which introduce non daemon thread which block jvm exit.
Any Idea to fix it ? Thanks.
More details please check https://issues.apache.org/jira/browse/SPARK-27812
By the way, I believe update kubernetes-client is a necessary choice.
Without this version, I have to fix another issue with aws eks.

@yuhuali1989 Could I know more details about issue with aws eks?
I think maybe we can patch SDK client and then upgrade client in next 2.x release?


gcsfuse 0.18.0

Merged in https://github.com/Homebrew/homebrew-fuse/commit/981c94864b7db2cc0e9711652ce128ebca55af33. Thanks again @jacobsa!


Exposing the client in server routes

Is there a way to expose the client in nitro / server routes? My proposal would be along the lines of:
export default defineEventHandler(async (event) => {
  const result = await event.context.gql()

  // maybe even nicer to expose a hook or a global function like $fetch

  const result = await $graphql('operation', variables)

})

@chris-visser This feature is currently being worked on, and would follow the same implementation as per Gql Functions
hence usage would be as follows:
export default defineEventHandler(async (event) => {
  const result = await GqlGetTodos(variables)
})

Ahh nice! Really appreciate your work on this library and the timely response. Keep up the great work. Wish more gql clients would have a similar approach


Improve SAML support

Accept IdP EntityID to use when metadata contains more than one IdP.
Allow specifying attribute names to get given name, surname, and email address.
Allow specifying NameIDFormat to request.
Allow specifying whether to get username from a named attribute, or NameID.
Allow getting administrator state from attribute.
All new config options default to their previous functionality if not set.

Thank you for your contribution.
@thomasDOTde you might want to see this changes.

Is there anything you want to see different here to merge?

@ngoduykhanh If #130 is going to happen, would you rather see an attribute for "user role" than just a boolean for "administrator" that's currently in the PR?

Hello,
This feature would really be awesome. So far, PowerDNS-Admin have templating, multi-users, one-click DNSSEC activation, almost everything needed !
I don't really understand which conflicts should be resolved to integrate this into master. May I help ?

@Azylog the only conflict I see is the imports in views.py. That's easy enough to resolve. Before merging, I would like to have support for managing which Account(s) a user belongs to from SAML assertions, which shouldn't be too difficult to add.

Merged as it has been verified. Thanks again for the PR!


Make minor modifications to README, add logo

This makes a few minor changes to the README but also adds a package logo as well.

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

Project coverage is 75.26%. Comparing base (cd618a4) to head (0e99697).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #257   +/-   ##
=======================================
  Coverage   75.26%   75.26%
=======================================
  Files          41       41
  Lines        4180     4180
=======================================
  Hits         3146     3146
  Misses       1034     1034

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


user-read-currently-playing not in scope list

Can you please release the updated version with user-read-currently-playing in the scope list

An updated version is available here: https://www.nuget.org/packages/SpotifyAPI.Web/
#276 for more infos


Add folding  capabilities

Hi,
I've recently did a PR on the vim's typst ftplugin (https://github.com/vim/vim/pull/15897) and this is a sync of that.

Thanks!


Still Incomplete List of Role Templates for Cloud Foundry / Missing Persona Definitions

Issue description
As mentioned in issue #60 the table with the explanations of Role Templates for Cloud Foundry is still missing the following Role Templates:

AuthGroup_Administrator
AuthGroup_BusinessExpert
AuthGroup_ContentPublisher
AuthGroup_IntegrationDeveloper
MonitoringArtifactsDeploy
QueuesRetry

Especially for the AuthGroup_* Role Templates a description of the covered authorizations in the AuthGroup would be very valuable when developing authorization concepts and deciding if the AuthGroups can be used or not.
The Role Template WorkspacePackagesTransport has no Persona associated. That seems also like a gap in the documentation.
Feedback Type (Optional)
content gaps
Page Title on SAP Help Portal (prefilled)
Tasks and Permissions for Cloud Integration
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/integration-suite/sap-integration-suite/tasks-and-permissions-556d5575d4b0483e85d4f3251f21d0ec

Hi @sebastianesch
Thank you for your feedback, we will check and get back to you.

Hello @sebastianesch,
I have updated the documentation:
https://help.sap.com/docs/integration-suite/sap-integration-suite/tasks-and-permissions-556d5575d4b0483e85d4f3251f21d0ec
The description of role AuthGroup_ContentPublisher is missing. The reason is: This role is exclusively intended for usage by integration developers at SAP or for dedicated SAP partners. It is not intended for use beyond that.
Many thanks again for your input!

Then maybe include that information in the documentation. The role is in the system and when an audit takes place and there is no information about what this role does, this might raise additional questions.

Hello @sebastianesch, thanks for the comment! I proceeded accordingly and updated the documentation now. You are right: Having this undocumented creates room for questions. Thanks again!


Chat Code Changes are not applied completely leading to VS Code needing to be restarted

Copilot Chat Extension Version: 0.23.2024102903 and also 0.22.2
VS Code Version: 1.95.2
OS Version: Windows 11 Pro - 10.0.22631 Build 22631
Logs: Attached

Steps to Reproduce:

Add a file to the context
Ask a question to update the file (seems worse when updating the whole file)
Click to apply the changes to the file - This runs through the file making the changes
Expect to see "accept changes" but it is not above the editor as a tick, nor anywhere as differences in the file.
Any further attempts to apply changes, whether the same change or a new question result in a pop up "Another code change is being previewed. Please apply or discard the pending changes first".

Choice of LLM to use doesn't seem to matter.
The only way I've found to fix this is a VS Code restart, which is frustrating when it's happening almost every time
copilot.chat.log
copilot.log

I am having the same problem but I am able to update the code by reopening the file instead of shutting down the editor.


how to defined a typescript type which can check the string value is a valid hex string?

such as:
let str: ByteString = "01afe3"; // valid
let str1: ByteString = "0a1" // invalid, hex string length should be even
let str2: ByteString = "hello" //invalid, only hex allow

the value can be any string that is a valid hex.
i have try below:
type HexChar = '0' | '1' | '2' | '3' | '4' | '5' | '6'| '7' | '8' | '9' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F';
type HexColor = `#${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}${HexChar}`;
let color: HexColor = '#123456';

but this only work when the value is fixed length.
we wants a type that can handle any length if the string value is valid.

You forgot to fill out the issue template.
This repository is meant for feature requests and bug reports, not questions.
You could try to make HexColor a union with different length strings, but you could possibly reach the limit of TypeScripts type-system here.

Thank you.
all solustion i found is below:
type HexChar = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F';

type HexType<T extends string> =
  T extends `${infer R1}${infer R2}${infer R3}`
  ?  R1 extends HexChar
    ? R2 extends HexChar
      ? `${R1}${R2}${HexType<R3>}`
      : never
    : never
  : T extends `${infer R1}${infer R2}`
    ? R1 extends `${HexChar}${HexChar}`
      ? `${R1}${HexType<R2>}`
      : never
  : `${T}`;

/**
 * Converts a hex literal to string.
 * @param {string} hexStr - should be in format of hex literal, i.e. `/^([0-9a-fA-F]{2})*$/`
 */
export function hexToString<T extends string >(hexStr: HexType<T>): string {

  return hexStr;
};

hexToString("00aa")

but this require a hepler function hexToString . I don't wants a hepler function , I just wants a type.

You forgot to fill out the issue template.
This repository is meant for feature requests and bug reports, not questions.
You could try to make HexColor a union with different length strings, but you could possibly reach the limit of TypeScripts type-system here.

YEs , i reach the limit. can we remove it?

The best option is to just deal with the limitations of the type system. I'd create a function that accepts the string and also validates it, then just returns a branded type.


Consume page: Add to solution dialog

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog):
Visual Studio Version

Describe the bug

When you click the "Add to solution" button in the project templates section.
Clear description of the problem:
The dialog should follow designs from this Figma to align with distances between buttons, overall padding, etc.
https://www.figma.com/file/bhdPADawiO4YQGdUNExiUc/?node-id=1%3A133

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

When the "Add to solution" dialog pops up, the text in the text field should be selected, and "Add to solution" button should be in a focused state so that if the customer hits enter, the project is added to the solution. As shown here:
https://www.figma.com/file/bhdPADawiO4YQGdUNExiUc/All-Scenarios?node-id=32%3A8713

Distance between the buttons should be 6px. Originally in my mock-ups, it was 8px. But after checking with what other dialogs have in VS, 6px looks more commonly used. Figma is updated to show 6px.

The subtitle should read
"It will use the most recent model created on 7/1/2021 at 11:24 AM."

Minor language update in the "project already exists with the same name" dialog.

The text should read....
https://www.figma.com/file/bhdPADawiO4YQGdUNExiUc/All-Scenarios?node-id=32%3A20372
Screenshots
Additional context
Add any other context about the problem here.

The subtitle should read
"It will use the most recent model created on 7/1/2021 at 11:24 AM."

Fixed!

Minor language update in the "project already exists with the same name" dialog.

Hi @beccamc
Does this issue already be fixed?

I think 1 and 2 are still open. I'll move it to the nice to have column.

@romalpani  All focused buttons in  model builder has this style
however in the figma for add to solution dialog the style of button focus is looking different
what do you think about consistency?

Regarding the second point, @zewditu could you help to share how to verify the distance between the two buttons?
Not repro 1, 3 ,4 of this issue on latest main build: <IP_ADDRESS>7701

When the "Add to solution" dialog pops up, the text in the text field is selected, and "Add to solution" button is in a focused state.
3.The subtitle was updated:
"It will use the most recent model created on date at time."
Minor language update in the "project already exists with the same name" dialog.


Added eventhub health check in common-libs

Added eventhub health check in common-libs

Switching hears on tis.


Unpublished page shows in menu for multi language site

Summary
I have a page using Django CMS that has two different languages, EN and DE. I created a page in EN, and published it, but made sure it's unpublished in DE, as indicated by the gray circle in the page admin.
However, when I'm using the DE version of the site, I see the menu item appear, even though the page is not published in that language. Clicking on the link takes me to the EN version of the page (unless in edit mode).
This seems related to #4214 but that seems to have been fixed.

Expected behaviour
The page should not show up in the menu, if it's not published in the language that's currently active.
Actual behaviour
Page shows up anyway.
Environment

Python version: 3.5.6
Django version: 1.8.15
django CMS version: 3.4.2

Hello @gmenih341,
Did you try clearing the cache?

@czpython does restarting the server do this as well? Because then I have cleared the cache.

@gmenih341
It does not.
Try running this in manage.py shell.
>>> from cms.menu_pool import menu_pool
>>> menu_pool.clear()

@czpython Couldn't import from cms.menu_pool, so I replaced that with menus.menu_pool, and cleared it. Still showing unpublished page.

ping @gmenih341

@gmenih341 Were you able to resolve your issue? I'm seeing the exact same behavior. I have a site, for which I copied all pages to a new language (before there only existed one language). One page that appears in the menu is unpublished for the new language, but is still shown...

@tschale if I remember correctly, we added some if statements to the menu template, to filter out the problematic item, as we knew that it will never be published in the other language.
Hope this helps.

Thank you. Unfortunately I need a general solution, but I guess it's gonna be some hacky workaround to filter those out...

This seems to be a general problem beginning(?) in version 3.5.x. Before (I checked 3.4.6) CMSMenu.get_nodes used the attribute published of Title to filter out unpublished pages using the title. That seems to have been refactored in 3.5.x, the published-flag isn't used anymore.
As a workaround I changed following code snipped (around lines 230) to filter by the titles published attribute, which solves my problem:
        if not self.renderer.draft_mode_active:
            # we're dealing with public pages.
            # FOLLOWING LINE IS NEW
            pages = pages.filter(title_set__language__in=languages, title_set__published=True)
            # prefetch the draft versions.
            pages = pages.select_related('publisher_public__node')
        pages = get_visible_nodes(request, pages, site)

@czpython is there a reason why the titles published-flag isn't used anymore? I've seen the changes in #6159, which also don't use that flag.

@czpython Can you please comment on the current state of this? This seems like a major bug, at least in our use-case. Authenticated (non staff, non superuser) users see pages in the menu that aren't published in their language. Those pages are published in the other language though.
It seems like CMSMenus queries pages that are published and that have a title in the current language. But it doesn't seem to filter whether that title is actually published in the current language.
Can you please confirm whether that actually is a bug, or whether we might be doing something wrong?

Guys, I have given a website to administer and same issue on my side. Running on 3.4.4. Any help how to hide these unpublished pages for other languages would be really appreciated.

@lazdins This could be fixed in 3.7.1: "Fixed a bug where the menu would render draft pages even if the page on the request was a public page. This happens when a user without change permissions requests edit mode."
https://github.com/divio/django-cms/blob/develop/CHANGELOG.rst#371-2019-11-26
3.4 I also no longer supported, It is advised that you move to 3.7 as it is an LTS release that is currently supported and the recommended version at the time of my comment: https://www.django-cms.org/en/roadmap/

Please advise on the progress of this, we're trying to get through the backlog of issues in the CMS.

Closing as no response and linked to a possible solution.

If someone stumbles upon this issue of unpublished pages appearing in the menu when there is a published page in a different language: have a look at the CMS_LANGUAGES setting, specifically make sure hide_untranslated and fallbacks are set to the values you need.


Missing Coin Records

I imported an existing mainnet mnemonic into Sage.  The Sage wallet is only finding 1 coin record for this wallet but it actually has 2 coins when viewed using the Chia Reference Wallet or when using the get_coin_records rpc.  Screenshot provided showing what Sage displays vs get_coin_records vs Chia Reference Wallet.

Is this coin on a hardened wallet address?

I'm not sure what "hardened wallet address" means.  The imported mnemonic is from a Goby wallet that I use for integration with things like warp.green - so it receives coins from my warm wallet and hardware wallet.  This is the missing coin id so you don't hafta try and type it from the screenshot :) - 0x3edcc3f8dcf72432128b1e6f89dec58ae083a4a4a36e66dfd39de72931a0dfb3

For posterity's sake, to quote Discord:

There are two types of keys, hardened (you need the secret key to derive children) and unhardened (you can use the master public key to derive children as well). The latter (also known as observer keys) can be used to calculate a wallet's child keys and addresses without the secret key, which enables monitoring tools and cold wallets to be built. But this comes at the cost of privacy if the master public key were leaked, so hardened keys are a bit more private.

Sage does not currently support hardened keys, but once #13 is resolved it will.

I suppose I have the same issue as my goby key imported on Sage doesn't show any assets.
Here are the HD Path for 2 addresses on Goby :
m/12381n/8444n/2n/0n
m/12381n/8444n/2n/3n

I suppose I have the same issue as my goby key imported on Sage doesn't show any assets.
Here are the HD Path for 2 addresses on Goby :

m/12381n/8444n/2n/0n

m/12381n/8444n/2n/3n

Good to know, thanks!


bug: An error occurred when executing envd up under the example of envd-quick-start

Description
failed to load docker image: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/images/load?quiet=1": context canceled  tag="envd-quick-start:dev"
error: process "useradd -p  -u 0 -g envd -s /bin/sh -m envd" did not complete successfully: exit code: 4
Reproduction
Additional Info
Environment: ubuntu18.6, non-root user

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Thanks for the issue! I think it is related to #522

/cc @aseaday

@sea-wyq Could you please share the output of envd version --detail?

At present, the experiment is successful under the root user. Nice

In the envd-quick-start example, when I enter the built container, execute python demo.py and find that the numpy package does not exist.

Thanks for the report.
I think it is related to the python update-alternative. We also need the help from @aseaday
I really suffer from the conda/python although we already have envd. Sigh.

In build.envd I added config.pip_index(url="https://pypi.tuna.tsinghua.edu.cn/simple") 。Because it took five minutes to download the numpy package without success

@sea-wyq Could you please show the result of which python in envd environment?

/opt/conda/bin/python

OK, thanks, Let's discuss it in discord if you are free. I am glad to help you debug on this.

Let me know if there is any solution. Ha ha.

@sea-wyq Would you mind joining our discussions on Discord? https://discord.com/invite/KqswhpVgdU

joined, FOURTH

You can give python3 a try with python3 demo.py.
We are working on the fix.

I think it may be caused by cache.
Please envd d , envd prune and docker rmi envd-quick-start:dev. And redo envd  up

joined, FOURTH

Cannot find you there, could you please share your name on discord?

python3 is invalid

joined, FOURTH

Cannot find you there, could you please share your name on discord?

should be ok now

I think it may be caused by cache. Please envd d , envd prune and docker rmi envd-quick-start:dev. And redo envd up

ok ,it works.  thanks

I think it may be caused by cache. Please envd d , envd prune and docker rmi envd-quick-start:dev. And redo envd up

ok ,it works. thanks

Sorry for your inconvinience and your bug submitting.  It was cause by old image built from old version envd and new envd just use it becuase of cache design. We we introduce a more robust cache feature to solve it.

I think it may be caused by cache. Please envd d , envd prune and docker rmi envd-quick-start:dev. And redo envd up

ok ,it works. thanks

Sorry for your inconvinience and your bug submitting. It was cause by old image built from old version envd and new envd just use it becuase of cache design. We we introduce a more robust cache feature to solve it.

@aseaday Thanks for the investigation. Could you please open an issue to keep track of it? I am closing this one.
@sea-wyq Thanks for the issue. Feel free to leave comments if there is any update.
@all-contributors Please add @sea-wyq for bug issues


Using proto.RequiredAcksNone causes panic

I have written a very simple program to send two messages to a KAFKA cluster. The program queries the broker for the partition count and uses that count to create a Distributed Producer to distribute the load across the partitions.
The program works fine if I use conf.RequiredAcks = proto.RequiredAcksLocal. But I am willing to give up some durability guarantees to lower latency. Therefore, I don't want to wait for any acks.
When I change my program to use proto.RequiredAcksNone, it panics like this:
goroutine 1 [running]:
github.com/optiopay/kafka.(*producer).produce(0xc820040380, 0x5f2f20, 0xb, 0x0, 0xc82000b250, 0x2, 0x2, 0x0, 0x0, 0x0)
	/Users/me/mygo/src/github.com/optiopay/kafka/broker.go:816 +0x128d
github.com/optiopay/kafka.(*producer).Produce(0xc820040380, 0x5f2f20, 0xb, 0x0, 0xc82000b250, 0x2, 0x2, 0x0, 0x0, 0x0)
	/Users/me/mygo/src/github.com/optiopay/kafka/broker.go:742 +0xcb
github.com/optiopay/kafka.(*roundRobinProducer).Distribute(0xc82000e940, 0x5f2f20, 0xb, 0xc82000b250, 0x2, 0x2, 0x1dcd6500, 0x0, 0x0)
	/Users/me/mygo/src/github.com/optiopay/kafka/distributing_producer.go:85 +0xf7
main.main()
	/Users/me/mygo/src/github.com/keep94/kafka/kafka.go:39 +0xabd

Here is my go program:
package main

import (
        "fmt"
        "github.com/optiopay/kafka"
        "github.com/optiopay/kafka/proto"
        "log"
)

func main() {
        addresses := []string{
                "<IP_ADDRESS>:9092",
                "<IP_ADDRESS>:9092",
                "<IP_ADDRESS>:9092",
                "<IP_ADDRESS>:9092",
                "<IP_ADDRESS>:9092",
        }
        broker, err := kafka.Dial(addresses, kafka.NewBrokerConf("foo"))
        if err != nil {
                log.Fatal(err)
        }
        defer broker.Close()
        var count int32
        count, err = broker.PartitionCount("metricTopic")
        if err != nil {
                log.Fatal(err)
        }
        fmt.Println("count = ", count)
        conf := kafka.NewProducerConf()
        // Using this line works
        conf.RequiredAcks = proto.RequiredAcksLocal
       // Using this line causes dist.Distribute below to panic.
        conf.RequiredAcks = proto.RequiredAcksNone

        producer := broker.Producer(conf)
        dist := kafka.NewRoundRobinProducer(producer, count)
        messages := []*proto.Message{
                {Value: []byte("Whos on first?")},
                {Value: []byte("Whos on second?")},
        }
        if _, err := dist.Distribute("metricTopic", messages...); err != nil {
                log.Fatal(err)
        }
}

@keep94 sadly, we never used NoACK option and looks like it was not fully implemented. Please check again, your code should work now. Remember that without ack you get no offset response and none of produced message attributes are updated.


AWS infra destroy, handle empty instanceIDs

In the case where the nodepool didn't create any instances this
list can be empty on destroy, which causes an error like:
missing required field, TerminateInstancesInput.InstanceIds
This causes the destroy to get stuck, so instead handle the
case where the list is empty.

I ran into this testing #1239 where the HostedCluster rollout was incomplete, so there are no instances, but the destroy gets stuck like:
2022-04-08T14:12:44+01:00	INFO	WARNING: error during destroy, will retry	{"error": "failed to terminate instances: InvalidParameter: 1 validation error(s) found.\n- missing required field, TerminateInstancesInput.InstanceIds.\n", "type": "errors.aggregate,failed to terminate instances: InvalidParameter: 1 validation error(s) found.\n- missing required field, TerminateInstancesInput.InstanceIds.\n"}

/lgtm
Thank you!

/approve

Funny, I hit the same thing and made the same patch locally just this morning... thank you!


Duplicated error message

Describe the bug
In RedwoodJS we generate types programatically. When there are no files with gql stuff to parse we get a duplicated error message:
gen | Generating TypeScript definitions and GraphQL schemas...
gen |
gen |       Unable to find any GraphQL type definitions for the following pointers:
gen |
gen |           - ./web/src/**/!(*.d).{ts,tsx,js,jsx}
gen |
gen |
gen |       Unable to find any GraphQL type definitions for the following pointers:
gen |
gen |           - ./web/src/**/!(*.d).{ts,tsx,js,jsx}
gen |
gen |
gen | Error: Could not generate GraphQL type definitions (web)
gen |
gen | 14 files generated

It would look much better for our users if you only output the error message once.
To Reproduce
I tried to reproduce the error message in codesandbox, but I couldn't get it to look exactly the same, I get much more output there. But I hope it's close enough to be useful for you. This is what I get when I run node script.js
sandbox@sse-sandbox-2yriny:/sandbox$ node script.js
(node:1139) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

      Unable to find any GraphQL type definitions for the following pointers:

          - ./web/src/**/!(*.d).{ts,tsx,js,jsx}

      Unable to find any GraphQL type definitions for the following pointers:

          - ./web/src/**/!(*.d).{ts,tsx,js,jsx}

node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

AggregateError: Something went wrong

https://codesandbox.io/s/agitated-heyrovsky-2yriny?file=/script.js

My GraphQL schema:

See codesandbox link

My GraphQL operations:

See codesandbox link

My codegen.yml config file:

const codegenConfig = {
  schema: "schema.graphql",
  config: {
    namingConvention: "keep",
    // to allow camelCased query names
    scalars: {
      // We need these, otherwise these scalars are mapped to any
      // @TODO is there a way we can use scalars defined in packages/graphql-server/src/rootSchema.ts
      BigInt: "number",
      DateTime: "string",
      Date: "string",
      JSON: "Record<string, unknown>",
      JSONObject: "Record<string, unknown>",
      Time: "string"
    },
    omitOperationSuffix: true // prevent type names being PetQueryQuery, RW generators already append Query/Mutation/etc
  },
  generates: {
    "/Users/tobbe/tmp/typegen/web/types/graphql.d.ts": {
      documents: "./web/src/**/!(*.d).{ts,tsx,js,jsx}",
      plugins: [{ typescript: { enumsAsTypes: true } }, "typescript-operations"]
    }
  },
  silent: false,
  errorsOnly: true
};

(Also see codesandbox link)
Expected behavior
I expect the error to only show once.
Environment:

OS: MacOS 12
@graphql-codegen/cli: 2.6.1
NodeJS: 14.19.0

Additional context
Issue and draft PR on our side:
https://github.com/redwoodjs/redwood/issues/4393
https://github.com/redwoodjs/redwood/pull/4491

If I switch this to false instead I only get one error as expected https://github.com/dotansimha/graphql-code-generator/blob/cb9adeb962cee5a19064d73f6f21fe2ea488d575/packages/graphql-codegen-cli/src/codegen.ts#L379
But I guess the fix isn't as easy as that. You probably have a good reason for stoping early 🙂

Hi @Tobbe,
First, sorry for the enormous delay in answering your issue.
I reproduced the duplicated errors on both CLI and script scenarios.
A PR is pending for the CLI scenario: #8120
For your custom scripts, the duplicated errors come from your script implementation that does not provide a "catch" handler to cli.generate(/* ... */).then().
To avoid the errors to "bubble up" and be printed twice, ensure to pass a proper failure callback as follow:|
cli.generate(codegenConfig, true).then(
  (data) => {
    console.log("data", data);
  },
  () => Promise.resolve() // not providing this callback will trigger a nodejs "triggerUncaughtException"
);```

@Tobbe the CLI duplicated error messages bug is fixed in<EMAIL_ADDRESS>📦

Thanks @charlypoly! We've since moved to using import { codegen } from '@graphql-codegen/core'. But great to get this fixed nonetheless 🙂


Cookies cleared when property incognito is false

On Android cookies always deleted regardless of incognito is true or false.
To Reproduce:
<WebView
source={{uri: 'https://google.com'}}
incognito={false}
/>

Expected behavior:
When prop incognito is false cookies are not cleared and cache not removed.
Screenshots/Videos:

Environment:

OS: Android
OS version: Android 9
react-native version: 0.62.0
react-native-webview version: 9.0.2

I've created this PR https://github.com/react-native-community/react-native-webview/pull/1465 to fix this issue.


Add donation link that links to patreon account

Link to patreon account
Where do you think the best place to put this on the site is?

✅ By submitting this issue, I have verified the following

[x] Checked to see if the issue has already been discussed before 🤔
[x] If proposing new content to be added, made sure enough details were provided 🔍

We can put in on the bottom of every single page or just on the Contact Page - depends on how much visibility we want to give it.
Can you link the Patreon account here so someone can take a look at it?
As for the design, we would just use or something similar - I already have the asset.

awesome. yeah I just made an account at patreon.com/techqueria

https://github.com/techqueria/website/pull/94


I get an error with no error message

Using danger-python-0.1.0 and<EMAIL_ADDRESS>in CLI I get the following error:

(env) [jay@jay-arch DiscordBot]$ danger-python pr https://github.com/TrainerDex/DiscordBot/pull/25
Starting Danger PR on TrainerDex/DiscordBot#25
You don't have a DANGER_GITHUB_API_TOKEN set up, this is optional, but TBH, you want to do this
Check out: http://danger.systems/js/guides/the_dangerfile.html#working-on-your-dangerfile
Usage: danger-python run [OPTIONS]
Try 'danger-python run --help' for help.
Error: no such option: -p
Danger: ⅹ Failing the build, there is 1 fail.
Failures
danger-python failed.
Markdowns
Log

I get the same issue in the GitHub action

Still the same. It IS the error message: Error: no such option: -p. Coming from https://github.com/danger/python/blob/master/danger_python/shell.py#L30
But TBH when I first saw this repo, I was super excited... but when I looked in the code what do I see? That this just calls danger JS... SO what's the point?...

You can write your rules, and libraries in python - https://danger.systems/js/usage/danger-process.html

Hey! Any example how to get danger-python working? I got same error as above and can't figure it out. My GH actions example:
jobs:
  run-danger:
    name: "Run danger"
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v3
      - name: Run command
        env:
          GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
        run: |
            npm install -g danger
            pip install danger-python
            danger-python ci

I got either Error: no such option: -p or Could not add a commit status, the GitHub token for Danger does not have access rights. even though it really creates a (blank) comment. Token is correct as with js danger everything works well. Thanks!


Starr - Added MS Learn courses

Purpose

Added MS Learn courses for learning docs

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[X] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout starr

What to Check
Verify that the following are valid

Verify MS Learn docs for General, VM, and SaaS learning pages.

Other Information

Removed /en-us segment from docs paths


Latest release gives compile error, refuses to build

Errors:
  2  http://eslint.org/docs/rules/semi

 @ multi ./build/hot-reload ./src/main.js

 error  in ./~/vue-good-table/src/components/Table.vue

Module build failed: Error: Couldn't find preset "env" relative to directory "/Users/stephen/takeaction_quasar14/node_modules/vue-good-table"
    at /Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
    at Array.map (native)
    at OptionManager.resolvePresets (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform (/Users/stephen/takeaction_quasar14/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/Users/stephen/takeaction_quasar14/node_modules/babel-loader/lib/index.js:49:20)
    at Object.module.exports (/Users/stephen/takeaction_quasar14/node_modules/babel-loader/lib/index.js:174:20)

 @ ./~/vue-good-table/src/components/Table.vue 8:2-92
 @ ./~/vue-good-table/src/index.js
 @ ./src/main.js
 @ multi ./build/hot-reload ./src/main.js

Previous build worked fine...

Sorry I spoke too soon...this is related to a change in dev environment...still investigating...

hm, per this issue I tried to install babel-preset-env which did allow it to build, but now results in a blank page and error: Uncaught TypeError: Cannot read property 'installed' of undefined

@ssuess where are you seeing that error? I suspect this is unrelated to vue-good-table.

vue.runtime.esm.js?a427:4105 Uncaught TypeError: Cannot read property 'installed' of undefined
    at Function.Vue.use (vue.runtime.esm.js?a427:4105)
    at eval (main.js?1c90:23)
    at Object.<anonymous> (app.js:1611)
    at __webpack_require__ (app.js:689)
    at fn (app.js:110)
    at Object.<anonymous> (app.js:1921)
    at __webpack_require__ (app.js:689)
    at app.js:790
    at app.js:793

It could be unrelated, but no other component is throwing this error...

how are you including the plugins? can you paste your code so I get more context?

how am I including them?  You mean in main js or the vue files? I am doing both, either in main.js like:
import VueGoodTable from 'vue-good-table'
Vue.use(VueGoodTable)

Or in the view files like
import VueGoodTable from 'vue-good-table'
export default {
  props: {
    list: Array
  },
  components: {
    VueGoodTable
  },

looks correct, but if you include in the main.js, you shouldn't need to include it again in view files... unless they're in different projects?

No I just meant I have tried both separately, not both at the same time. And I am blocked on this error, which is strange, because in another project your module works just fine...I am going through the list of module differences between projects to see if I can find what is missing or different...

alright... it's tough for me to investigate this since I cannot reproduce it. let me know what you find out.

UGH I found it. It was related to another import line that I have erroneously pasted over with the import line from vue-good-table. Sorry to have bothered you, and thanks for the responses!

no prob. glad you were able to resolve it.


Rotate not actually 3D

How do I do an actual perspective rotate? When you 3d rotate something, one side should become smaller because it's further away. This plugin seems to basically just scale it on one axis, and it stays the same size on both sides throughout the whole rotation.
How it should work:

How it works:

How do I do an actual perspective rotate? When you 3d rotate something, one side should become smaller because it's further away. This plugin seems to basically just scale it on one axis, and it stays the same size on both sides throughout the whole rotation.
How it should work:
How it works:

That's because this plugin only adds the missing 3D transformations to the tailwind classes. What you want can be achieved with a combination of CSS transformations.


Create the git hooks when starting the project

Is your feature request related to a problem? Please describe.
I used a different computer and the git hooks were not set.
I do not known for now if this is a bug or if I must do something specific to create the git hooks (for example the pre-commit to lint the code).
Describe the solution you'd like
Find a way to make the less possible grunt work when joining the project to have good git hooks configured.

Husky requires Git >=2.13.0. Got v2.10.2.
husky > Failed to install


Alpaka add non-cached pinned host buffers

Add non-cached, pinned, host buffers, and use them instead of pageable memory to recover a performance close to that of native CUDA.

@waredjeb could you double check that this recovers the performance of ./alpaka --cuda and brings it again within few percent of that ./cuda ?

@waredjeb could you double check that this recovers the performance of ./alpaka --cuda and brings it again within few percent of that ./cuda ?

Looks like it recovers the performance of ./alpaka --cuda !

The upstream PR (https://github.com/alpaka-group/alpaka/pull/1782) has been merged into alpaka, so I've cleaned up these changes.

With the latest changes, the performance of alpaka --cuda is back to ~97% that of native ./cuda:
fwyzard@devfu-c2b04-44-01.cms:/data/user/fwyzard/pixeltrack-standalone$ CUDA_VISIBLE_DEVICES=0 numactl -N 0 ./cuda --numberOfThreads 16 --numberOfStreams 16 --maxEvents 10000 &> /dev/null; for N in 1 2 3 4; do CUDA_VISIBLE_DEVICES=0 numactl -N 0 ./cuda --numberOfThreads 16 --numberOfStreams 16 --maxEvents 10000 | grep throughput; done
Processed 10000 events in 9.324276e+00 seconds, throughput 1072.47 events/s, CPU usage per thread: 67.0%
Processed 10000 events in 9.348212e+00 seconds, throughput 1069.72 events/s, CPU usage per thread: 66.7%
Processed 10000 events in 9.426962e+00 seconds, throughput 1060.79 events/s, CPU usage per thread: 66.0%
Processed 10000 events in 9.440113e+00 seconds, throughput 1059.31 events/s, CPU usage per thread: 66.1%

vs
fwyzard@devfu-c2b04-44-01.cms:/data/user/fwyzard/pixeltrack-standalone$ CUDA_VISIBLE_DEVICES=0 numactl -N 0 ./alpaka --cuda --numberOfThreads 16 --numberOfStreams 16 --maxEvents 10000 &> /dev/null; for N in 1 2 3 4; do CUDA_VISIBLE_DEVICES=0 numactl -N 0 ./alpaka --cuda --numberOfThreads 16 --numberOfStreams 16 --maxEvents 10000 | grep throughput; done
Processed 10000 events in 9.610436e+00 seconds, throughput 1040.54 events/s, CPU usage per thread: 66.3%
Processed 10000 events in 9.681004e+00 seconds, throughput 1032.95 events/s, CPU usage per thread: 65.9%
Processed 10000 events in 9.711554e+00 seconds, throughput 1029.7 events/s, CPU usage per thread: 66.1%
Processed 10000 events in 9.698732e+00 seconds, throughput 1031.06 events/s, CPU usage per thread: 66.0%


[WFLY-4740] Move JMS high-level commands to the messaging extension

move JMS high-level commands (jms-queue, jms-topic, connection-factory,
create-jms-resource, delete-jms-resource) from wildfly-cli module to the
messaging extensions (that provides the server runtime for these commands)
JIRA: https://issues.jboss.org/browse/WFLY-4740

Pending PR for wildfly-core: https://github.com/wildfly/wildfly-core/issues/778

Windows Build 1696 is now running using a merge of 0112886d9f246e1794e0c0ed2a9c69070ff8f889

Linux with security manager Build 1524 is now running using a merge of 0112886d9f246e1794e0c0ed2a9c69070ff8f889

Linux Build 6620 is now running using a merge of 0112886d9f246e1794e0c0ed2a9c69070ff8f889

Linux with security manager Build 1524 outcome was SUCCESS using a merge of 0112886d9f246e1794e0c0ed2a9c69070ff8f889
Summary: Tests passed: 828, ignored: 320 Build time: 0:05:11

Linux Build 6620 outcome was FAILURE using a merge of 0112886d9f246e1794e0c0ed2a9c69070ff8f889
Summary: Tests failed: 47 (47 new), passed: 2826, ignored: 375 Build time: 0:45:14
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.management.cli.ArchiveDefaultScriptNamesTestCase.testDeployUndeployArchive: <no details avaliable>

org.jboss.as.test.integration.management.cli.ArchiveTestCase.testUnDeployArchive: <no details avaliable>

org.jboss.as.test.integration.management.cli.ArchiveTestCase.testDeployArchive: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DataSourceTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DeployTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DeployURLTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DeployWithRuntimeNameTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.JmsTestCase: org.jboss.as.test.integration.management.cli.DeploymentOverlayCLITestCase.testSimpleOverrideWithRedeployAffected: <no details avaliable>

org.jboss.as.test.integration.management.cli.JmsTestCase: org.jboss.as.test.integration.management.cli.DeploymentOverlayCLITestCase.testWildcardOverrideWithRedeployAffected: <no details avaliable>

org.jboss.as.test.integration.management.cli.JmsTestCase: org.jboss.as.test.integration.management.cli.DeploymentOverlayCLITestCase.testSimpleOverrideInEarAtWarLevelExploded: <no details avaliable>

##### there are 37 more failed tests, see build details

Windows Build 1696 outcome was FAILURE using a merge of 0112886d9f246e1794e0c0ed2a9c69070ff8f889
Summary: Tests failed: 47 (47 new), passed: 2826, ignored: 375 Build time: 0:48:12
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.management.cli.ArchiveDefaultScriptNamesTestCase.testDeployUndeployArchive: <no details avaliable>

org.jboss.as.test.integration.management.cli.ArchiveTestCase.testUnDeployArchive: <no details avaliable>

org.jboss.as.test.integration.management.cli.ArchiveTestCase.testDeployArchive: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DataSourceTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DeployTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DeployURLTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: org.jboss.as.test.integration.management.cli.DeployWithRuntimeNameTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.DeploymentArchiveTestCase: <no details avaliable>

org.jboss.as.test.integration.management.cli.JmsTestCase: org.jboss.as.test.integration.management.cli.DeploymentOverlayCLITestCase.testSimpleOverrideWithRedeployAffected: <no details avaliable>

org.jboss.as.test.integration.management.cli.JmsTestCase: org.jboss.as.test.integration.management.cli.DeploymentOverlayCLITestCase.testWildcardOverrideWithRedeployAffected: <no details avaliable>

org.jboss.as.test.integration.management.cli.JmsTestCase: org.jboss.as.test.integration.management.cli.DeploymentOverlayCLITestCase.testSimpleOverrideInEarAtWarLevelExploded: <no details avaliable>

##### there are 37 more failed tests, see build details

This requires a core-upgrade-required label.
The failures are related to the PR and expected. wildly-core 2.0.0.Alpha3 still provides the high-level JMS commands.
Loading the same commands from the messaging extension generates an exception when the CLI is initialized.
Once https://github.com/wildfly/wildfly-core/pull/778 is merged and wildfy-core 2.0.0.Alpha4 is used in WildFly, the JMS commands will only be loaded from the messaging extension and the tests will pass again.

@aloubyansky please approve this and  wildfly/wildfly-core#778

Yes, this looks good. Perhaps, we could leave non-generic handlers out. Not sure we need those or even whether they still work.


Fix a course option choice bug

These two classes were out of sync with one another.
Context
Currently you can't change the course option for applications in the "offer" state.

 Gap in functionality when changing course options via support UI


[5.8] Collection firstOrFail

PR introduces new FirstOrFail method in Collections like Query Builder one.

StyleCi refactor

Please revert all the code style changes.

Please revert all the code style changes.

I should ignore styleci failed checks?

Of course don't ignore Laravel's styleci, however there are changes that were made that were not suggested by styleci, like reordering imports. Laravel orders these by length.

Also laravel uses new Collection not new Collection()

Regarding the many StyleCI commits => if StyleCI fails you can click on the red icon and download the diff there for all suggested changes.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Confirm selecting the correct matrix back-end in RadialFourierAnalysis

It seems to have switched to dense matrix for a rather deep mask stack with many bins and orders. That exceeded the memory budget of the workers. Enforcing use_sparse='scipy.sparse' helped, which means that the automatic switching logic likely failed.
Code is currently in udf_wip_v2.

Additionally, we should make it easy to use the RadialFourierAnalysis functionality without calculating endless visualizations.
Idea @sk1p: Make the visualization lazy. +1 ! :-)


Request: HACS Compatibility

I think this could be a very useful integration. I just think you haven't got much feedback because it isn't available on the HACS store. If you were able to convert this to be installable from the HACS store, I think this could be a popular integration!
Here is some more information about that:
https://github.com/custom-components/information
https://github.com/custom-components/integration_blueprint

@brianhanifin Thanks for the idea. I may try that, though I'll admit I'm reluctant to throw good time after bad. But if I get some free time and the process doesn't seem onerous, I'll give it a try. Thanks Brian.


OVN start containers properly, improve logs

The ovn northd and the nb and sb database containers now start properly.
Improved logging in northd, ovnsdb and ovnndb.
Cleanup /var/run/openvswitch files and /var/log/openvswitch files during
uninstall.
Signed-off-by: Phil Cameron<EMAIL_ADDRESS>

@shettyg @rajatchopra @girishmg PTAL

/lgtm

@girishmg Thanks for reviewing this, I made your suggested changes. PTAL

@girishmg Monitor set up a process to check in on the daemon. I spoke with @dcbw and we decided that since Kubernetes will restart failed containers in the pod and record restarts it is better to just let it do that. The ovn databases are run detached as well and stdout becomes the log output.


Not working on Windows

Hello!
I’m trying to install elm-websocket-client with elm-grove.
After typing grove install panosoft/elm-websocket-client in my working directory it started to clone the dependencies and I’ve got errors like this:
ERROR: Unable to clone: elm-community/json-extra Error: Unable to clone: https://github.com/elm-community/json-extra.git (Error: failed to make directory 'C:\Users\my_username\AppData\Local\Temp\elm-community\json-extra': The system cannot find the path specified. )
for all of them.
After a little investigation I found out that Nodegit wants only forward-slashes for directory separators no matter what OS is used.
I’ve converted backward-slashes to forward-slashes for cloneLocation here: https://github.com/panosoft/elm-grove/blob/8188f77a1688f407703d90aca0b3d799c30014f9/src/Native/Git.js#L30
All dependencies were cloned; it started to check out and got frozen:
Cloning https://github.com/elm-community/json-extra.git
Cloning https://github.com/elm-lang/core.git
Cloning https://github.com/elm-lang/html.git
Cloning https://github.com/elm-lang/websocket.git
Cloning https://github.com/justinmimbs/elm-date-extra.git
Cloning https://github.com/panosoft/elm-websocket-client.git
Checking out: panosoft/elm-websocket-client (6.0.1)
Checking out: elm-lang/websocket (1.0.2)
Checking out: elm-community/json-extra (2.6.0)
Checking out: justinmimbs/elm-date-extra (3.0.0)
Checking out: elm-lang/html (2.0.0)
Checking out: elm-lang/core (5.1.1)
After further investigation I saw that the destination paths for checkout looked like D:\_projects\my_work_directory\C:/Users/my_username/AppData/Local/Temp/elm-lang/html\2.0.0
So I’ve looked at pathJoin function: https://github.com/panosoft/elm-grove/blob/8188f77a1688f407703d90aca0b3d799c30014f9/src/AppUtils.elm#L48-L59 and found out that it determines whatever path is absolute or not incorrectly on Windows. I’ve made it more Windows friendly and the destination paths changed to something like C:/Users/my_username/AppData/Local/Temp/elm-lang/html\2.0.0 not sure if that’s a correct behavior or not, though.
Now it crushes withERROR: Unable to read: elm-package.json location: C:/Users/my_username/AppData/Local/Temp/elm-lang/html\elm-package.json Error: SystemError NoSuchFileOrDirectory { message = "ENOENT: no such file or directory, open 'C:\\Users\\my_username\\AppData\\Local\\Temp\\elm-lang\\html\\elm-package.json'", stack = "Error: ENOENT: no such file or directory, open 'C:\\Users\\my_username\\AppData\\Local\\Temp\\elm-lang\\html\\elm-package.json'", syscall = "open", path = Just "C:\\Users\\my_username\\AppData\\Local\\Temp\\elm-lang\\html\\elm-package.json", address = Nothing, port_ = Nothing } and here I give up. Could you please provide any clue on what’s going on?

The only thing I can see here is that the filename has all forward slashes in it except for the last one:
C:/Users/my_username/AppData/Local/Temp/elm-lang/html\elm-package.json
You now have more experience with running this on Windows than I do at this point.
BTW, I'm no longer maintaining this project due to the fact that Evan has vowed to disallow Native code in Elm 0.19. We are no longer using Elm for server code.

Oh, thanks for the information. I think i'll suspend my Elm studies then and switch to Fable or ScalaJs.

We've moved to Haskell on the backend and are still using Elm on the frontend (for now). I will be looking to Purescript or Haskell (GHCJS or WebAssembly) in the future.
I don't want to discourage you from learning Elm. I think it's a great gateway into Haskell.
Using it in production is another thing all together. I would use it carefully.
As far as websockets go, you can always use the Elm websocket library.

I’m searching for a saner alternative to JS/Typescript on the frontend.
I’ve tried Elm websocket library, but it lacks subscriptions on connect/reconnect. A had a choice to use WebSocket.LowLevel or elm-websocket-client. The latter seemed more pragmatic but it did not end well. At the same time it’s highly frustrating to see that issues and PRs on this topic on the websocket library repository remain unaddressed by maintainers for a pretty long time.
For now Elm seems to me as a nice language with a very poorly maintained ecosystem. I’ll definitely keep an eye on it, but for now I think I should try something else.


Receiver not really receiving anything

I would expect a Transfer but I just see this:
RECV frame=Frame { channel: 0, body: Flow(Flow { next_incoming_id: Some(0), incoming_window: 5000, next_outgoing_id: 1, outgoing_window: 5000, handle: Some(Handle(1)), delivery_count: Some(0), link_credit: Some(0), available: Some(1), drain: false, echo: true, properties: None }) }

available: Some(1)
Am I misunderstanding something? I tried all of the "do not filter out, accept everything" code but I still don't get the message / delivery I want?

Apparently the link credit is 0, and there is one message waiting. Do you see any outbound Flow performatives that carry non-zero link credit in the logs?

the server is setting the link credit to 0. before this it was 200 or 1000. does that sound plausible?

This shouldn't happen though. The specs states that only the receiver can independently change this value. (http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-flow)

Do you see any outbound Flow frame in the logs?

Closing as the cause of the problem is #267

can you re-open for tracking please?
https://github.com/minghuaw/fe2o3-amqp/pull/263 is more important than you realize i think. not being able to set open container frame domain host different than connection string host will block usage for this usecase


docs: latest features

@lyie28 here's some doc about the new features from the last couple weeks. Deployed here: https://docs.lavague.ai/en/433-add-documentation-for-latest-features/docs/


TypeError: Cannot call a class as a function

Hi, thank you for setting up this project. I've been waiting for a while for someone to continue with the vue-class-component package.
I was trying today to migrate my project away from vue-class-component and vue-property-decorator to your library, but unfortunately ran into some issues.
One of the errors I'm trying to solve now is:

The issue seems to come from the new BaseComponent that I made to replace the Mixins that I had before. I followed the documentation to set it up this way.
BaseComponent.vue
       @ComponentBase
        export default class BaseComponent extends Vue { }

MyComponent.vue
	@Component({ components: BaseComponent })
	export default class MyComponent extends BaseComponent { }

I tried to add it in the components  property of my component to make sure it is imported, so that is not the issue I think. I'm not sure what I am doing wrong. Any suggestions?

Which version is this?

Which version is this?

2.0.4

BaseComponent(decorated by ComponentBase) is just use for extending. You shouldn't use it in {components:{}}.
Use ComponentBase for extending or Component for vue instance.

Okay I removed the import for BaseComponent, but the issue remains.
Did you mean I also have to split up my BaseComponent?

Do I need to make a separate class that extends Vue and then use ComponentBase to extend that class?

The default exported component should be Component, not ComponentBase.
Use
@Component
export default Comp extends Vue{
}

or extending version
@ComponentBase
class CompBase extends Vue{
}

@Component
export default class Comp extends CompBase{
}

Okay I removed the import for BaseComponent, but the issue remains. Did you mean I also have to split up my BaseComponent?
Do I need to make a separate class that extends Vue and then use ComponentBase to extend that class?

No.
Component generates standard vue components, it could be used in vue template, option api components {components:{Foo:Bar}} where accepted standard vue components.
ComponentBase is a base class identifier used by this repo, so vue couldn't analyze use instance it.

I've found the issue finally after lots of searching. There were a few components that were being loaded somewhere in the component tree, that did not have @Component decorator yet. In the vue-class-component package it was not necessary to have this decorator everywhere. After going through all the components to make sure they have the decorator it seems to be working. Thanks for the help with explaining


Renderer restructure

Defined partitioning, of a wrapper around the regl-renderer functions we use as well as our custom renderer code that has a clean API, and the use of that wrapped renderer but moved into our new module core.

Also room for optimisation, eg for when camera is adjusted in the different event controls within the same frame, and when frames can skip redrawing


Error in config file

Hi,
Thank you for developing EukDetect. It looks very promising!
I installed the tool and ran a test. The test worked fine.
However, when trying to run EukDetect, I receive the following error:
yaml.scanner.ScannerError: mapping values are not allowed here
in "./eukdetect_configfile.yml", line 36, column 24
My config file looks like this:
#Default config file for eukdetect. Copy and edit for analysis
#Directory where EukDetect output should be written
output_dir: "/cluster/projects/nn9383k/arfa/eukdetect/EukDetect/eukdetect1/output"
#Indicate whether reads are paired (true) or single (false)
paired_end: true
#filename excluding sample name. no need to edit if paired_end = false
fwd_suffix: "_paired1.fq"
#filename excludign sample name. no need to edit if paired_end = false
rev_suffix: "_paired2.fq"
#file name excluding sample name. no need to edit if paired_end = true
se_suffix: ".fastq.gz"
#length of your reads. pre-trimming reads not recommended
readlen: 150
#full path to directory with raw fastq files
fq_dir: "/cluster/projects/nn9383k/arfa/mockcommunity"
#full path to folder with eukdetect database files
database_dir: "/cluster/projects/nn9383k/arfa/eukdetect/EukDetect/eukdb"
#name of database. Default is original genomes only database name
database_prefix: "ncbi_eukprot_met_arch_markers.fna"
#full path to eukdetect installation folder
eukdetect_dir: "/cluster/projects/nn9383k/arfa/eukdetect/EukDetect/eukdetect1"
#list sample names here. fastqs must correspond to {samplename}{se_suffix} for SE reads or {samplename}{fwd_suffix} and {samplename}{rev_suffix} for PE
#each sample name should be preceded by 2 spaces and followed by a colon character
samples:
sample1:  mock_fungal:
sample2:  mock_fungal:
I ran a SLURM job script to run this and it seems the job is exiting on "sample1: mock_fungal:" row.
Any advice?

Thanks for reaching out. Try reconfiguring the config file as possible:
samples:
  mock_fungal:
  mock_fungal:

See if that works.

Hi Abigail,
That seemed to have done the trick! Thank you.


chore: bump kcl version to 0.10.3

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

chore: bump kcl version to 0.10.3

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

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

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
91

Relevant Lines:
622

💛  - Coveralls


GSLUX-646: improve layer exclusion

JIRA issue
https://jira.camptocamp.com/browse/GSLUX-646
Description
Some aspects of the layer exclusion mechanism were not in line with the v3 features:
background must be included in exclusion logics in both directions: when changing background AND when adding a layer.
Comparison logics have been improved
Screenshots
(only if the final render is different)

Thanks @mki-c2c ! I didn't quite get the details here yet. Maybe you can still explain to me how this improves the exclusions.

the real fix here was to make the 2-way check:
check layers when changing background AND check background when adding layers.


invalid API keys, bad or old nonce, exchange is down or offline, on maintenance, DDoS protection, rate-limiting

binance POST https://api.binance.com/api/v3/order 400 {"code":-1021,"msg":"Timestamp for this request was 1000ms ahead of the server's time."} (possible reasons: invalid API keys, bad or old nonce, exchange is down or offline, on maintenance, DDoS protection, rate-limiting)

This mostly happens on the users end. Have you synched you clocks and do you keep them synched?
Use google to search for 3rd  party programs to regularly synch your clock.

ah yep it is, I restarted the computer and worked, now works again. Thanks


Add supported Sequelize version to Build a Node.js App with CockroachDB and Sequelize doc

Re: Build a Node.js App with CockroachDB and Sequelize
Issue Description
Demo not working with sequelize version 4, 5 and 6.
Nothing happen after run command node sequelize-basic-sample.js.
But for pg demo it working as expected.
Suggested Resolution

Thanks for submitting this issue @mosmaall. I think this sample app only works with Sequelize v3, but @ericharmeling can confirm.
Eric - I think we should add what version we support (and/or update the app to support v4+). If we are just adding the supported version, this might be a good-first-issue. I'll let you decide-- feel free to unassign yourself and label!

I would have expected v4 and v5 to work already. cc @vy-ton

I replaced npm install sequelize sequelize-cockroachdb with npm install sequelize@3 sequelize-cockroachdb and followed the remaining instructions, but still did not get any output at all. The installed version of Sequelize was 3.35.1.

@ericharmeling I believe we can close this now that we have Sequelize support up to v6, which the docs reflect


display warp: fullWarp_abs.nii.gz is invalid: should be encoded in a 5D file with vector intent code

Description
I wanted to apply sct_image -i fullWarp_abs.nii.gz -display-warp to the warping field (fullWarp_abs.nii.gz) used for correction of gradient nonlinearities (gradient_unwarp.py). I got this error:
(venv_sct) sabeda@DESKTOP-JQ8A4UV:/mnt/c/Users/sb199/Projet3_data$ sct_image -i warping_field/fullWarp_abs.nii.gz -display-warp

--
Spinal Cord Toolbox (git-jca/3336-display-warp-7de29b49e9979eb22409e8a11eb2c79eb0277281)
sct_image -i warping_field/fullWarp_abs.nii.gz -display-warp
--

Creating temporary folder (/tmp/sct-20210407144012.007017-jex9nz5p)
sct_resample -i grid_3.nii.gz -f 3x3x1 -x nn -o grid_3_resample.nii.gz # in /tmp/sct-20210407144012.007017-jex9nz5p
sct_apply_transfo -i /tmp/sct-20210407144012.007017-jex9nz5p/grid_3_resample.nii.gz -d /tmp/sct-20210407144012.007017-jex9nz5p/grid_3_resample.nii.gz -w /mnt/c/Users/sb199/Projet3_data/warping_field/fullWarp_abs.nii.gz -o /mnt/c/Users/sb199/Projet3_data/warping_field/grid_3_resample_fullWarp_abs.nii.gz # in /mnt/c/Users/sb199/Projet3_data
Traceback (most recent call last):
  File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/scripts/sct_image.py", line 554, in <module>
    main(sys.argv[1:])
  File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/scripts/sct_image.py", line 233, in main
    visualize_warp(im_warp=im_in, im_grid=None, step=3, rm_tmp=True)
  File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/scripts/sct_image.py", line 547, in visualize_warp
    run_proc(['sct_apply_transfo', '-i', fname_grid, '-d', fname_grid, '-w', fname_warp, '-o', grid_warped])
  File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/utils/sys.py", line 320, in run_proc
    raise RuntimeError(output)
RuntimeError:
--
Spinal Cord Toolbox (git-jca/3336-display-warp-7de29b49e9979eb22409e8a11eb2c79eb0277281)

sct_apply_transfo -i /tmp/sct-20210407144012.007017-jex9nz5p/grid_3_resample.nii.gz -d /tmp/sct-20210407144012.007017-jex9nz5p/grid_3_resample.nii.gz -w /mnt/c/Users/sb199/Projet3_data/warping_field/fullWarp_abs.nii.gz -o /mnt/c/Users/sb199/Projet3_data/warping_field/grid_3_resample_fullWarp_abs.nii.gz
--

Parse list of warping fields...
Traceback (most recent call last):
File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/scripts/sct_apply_transfo.py", line 365, in <module>
main(sys.argv[1:])
File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/scripts/sct_apply_transfo.py", line 360, in main
transform.apply()
File "/mnt/c/Users/sb199/spinalcordtoolbox/spinalcordtoolbox/scripts/sct_apply_transfo.py", line 169, in apply
.format(path_warp))
ValueError: Displacement field in /mnt/c/Users/sb199/Projet3_data/warping_field/fullWarp_abs.nii.gz is invalid: should be encoded in a 5D file with vector intent code (see https://nifti.nimh.nih.gov/pub/dist/src/niftilib/nifti1.h

I tested sct_image -display-warp with a warping field created with sct_register_multimodal and everything worked.
So I don't think fullWarp_abs.nii.gz has the same format, it has only 4 dimensions.
I investigated the code from gradunwarp.py to see what was fullWarp_abs.nii.gz but it didn't get me anywhere.
Maybe not worth the trouble for just displaying the grid with the warping field.
The  file is in : duke/temp/sebeda/data_warping_field/fullWarp_abs.nii.gz

This is the look of the warping field:

doesn't not really look like what was applied.

UPDATE
I did not figure out how to convert the warping field in the ITK format to make it compatible with sct_image -display-warp but, I figured out that fullWarp_abs.nii.gz is a volume of coefficient, so to have the field, I ran :
fnirtfileutils -i fullWarp_abs.nii.gz -o field.nii.gz
And on ITK-SNAP, when clicking on multi-component display  --> grid I get this:

Well, it is not as nice as the output of sct_image -display-warp but, from what I observed, the grid is only in the axial view, I think having the sagittal view for the warping field may be better here, maybe we ca do something with that image instead.

@jcohenadad I may need your insights on this please 😊

So I think fullWarp_abs.nii.gz follows FSL convention and not ITK, it has only 4 dimensions.

yup! you figured this out.  As you probably noticed we have a sct_image -to-fsl feature, but no sct_image -to-itk 😬
However, your investigation in https://github.com/sct-pipeline/ukbiobank-spinalcord-csa/issues/59#issuecomment-815437421 is excellent, and i think largely sufficient if the goal is simply to export a nice-looking image to illustrate gradient non-linearity correction in the pipeline figure of your article

However, your investigation in #59 (comment) is excellent, and i think largely sufficient if the goal is simply to export a nice-looking image to illustrate gradient non-linearity correction in the pipeline figure of your article

That's what I thought! thanks


Fix: define PCI_STD_NUM_BARS when not found

Description
A recent checkin began relying on sys/pci.h for its definition of PCI_STD_NUM_BARS.
It seems that some distributions don't have a version of that file that defines PCI_STD_NUM_BARS.
This change defines it to 6 when not found.
Collateral (docs, reports, design examples, case IDs):

[ ] Document Update Required? (Specify FIM/AFU/Scripts)

Tests added:
Tests run:
CI

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
15756

Relevant Lines:
23697

💛  - Coveralls


Drop use of https://github.com/gorilla/websocket

https://github.com/gorilla/websocket is deprecated and unmaintained.
We should switch to something that is and ensure everything works as expected (ie. draining in queue proxy etc).
Releated to https://github.com/knative/serving/issues/13824 https://github.com/knative/pkg/issues/2727

/assign

We no longer need to replace gorilla/websocket with gobwas/ws.
Further information is here. https://github.com/knative/serving/issues/13824
/unassign


Remove duplicated book_leave_modal element from team view page

Fixes https://github.com/timeoff-management/application/issues/188
I understand that this leave modal is different than the one from footer because of redirect_back_to='/calendar/teamview/'
which is not present in he footer https://github.com/timeoff-management/application/blob/master/views/partials/footer.hbs#L2
But the testing did not provide any problems. After adding new absence I always stayed on the team view.  So I would say this is not necessary to have.
All tests are green:

Thank you @petrvecera


Fixing problem checking if there is only one layer in the map

After changes about labels on top, we have to check number of layers with function
map.layers.getDataLayers(), if not the calculation will be always 2, counting low basemap and labels layer, that's the reason why "remove" button always appears in each layer.
Fixes #4917
REVIEWER: @viddo

:+1: but could this be testable?

Yeah, let's add a couple of tests.

Frontend tests were OK :+1: (details)

Fixed tests, they were failing :dancer: (tests are our friends)

Frontend tests were OK :+1: (details)


Notification component vanilla extract rewrite

Reason:
Some strange changes leaked into the original PR for this issue.
Closes "Recreate the Notifications Component"
Changes made (preferably with images/screenshots):

[x] Rewrite the core of the notification component using vanilla-extract
[x] Pass down "footer" as parameter (blue)
[x] Pass down "header" as parameter (red)

[x] Support for notification-icon and close-icon

Check off the following:

[x] I have reviewed my changes and run the appropriate tests.
[x] I have have run rush change to add the appropriate change logs.
[x] I have added/edited docs.
[x] I have added tutorials.
[x] I have double checked and DEFINITELY added docs.

Comments

[x] Remove unrelated changes from PR
[x] General code cleanup
[x] Turn block into Sprinkles
[x] Prevent type casting
[x] Move marginLeft block into sprinkles
[x] Turn header and footer into subcomponents

Just checked the story and it seems that the contents of the notification can't be changed so I can't test the behavior when the content is really long. I would assume we want a maximum width when it is not full screen to keep things readable. I thinking we can put a max character width on it? Also the notifications component should be within the component section in storybook!


Add black and white offline property for Avatar. Minor styling tweaks

This adds a few changes as discussed for the Avatar component, although not all of them are done.

Black and white picture given an offline property (previously, fadedOut)
Fall back to initials if the url property is Falsy
Remove background if the image is shown (as not to show a leaking background colour)

Awesome, thanks @magalhini ! 💥