Support adding a storyboard file.

Fixes #619
Problem:
For an imported project, a user needs a way of bringing their project into the fold of Utopia so that they can see their work.
Fix:
Added functionality that searches a project for components, prioritising certain key names but otherwise defaulting to the first component found. If anything has been found, a file containing a Storyboard definition is generated pointing at that component.
Commit Details:

Fixes #619.
Adds AddStoryboardFile editor action.
Deleted setSceneContainerValueAtPath because it was unused.
Added triggering button to the FileBrowser component.
Adds createSceneFromComponent and createStoryboardElement
utility functions.
Changed addUtopiaCanvasComponentOrDefault to not insert an empty
canvas component.
Implemented addStoryboardFileToProject which does the work of
searching for potential "main" components and then builds a storyboard
file for one.

What's the deal with the removal of EmptyUtopiaCanvasComponent everywhere?

What's the deal with the removal of EmptyUtopiaCanvasComponent everywhere?

It's an empty storyboard component which doesn't really confer any benefit and was confusing matters when looking to see if a file had a storyboard in it because the logic streamlined it into the parse result.

What's the deal with the removal of EmptyUtopiaCanvasComponent everywhere?

It's an empty storyboard component which doesn't really confer any benefit and was confusing matters when looking to see if a file had a storyboard in it because the logic streamlined it into the parse result.

Ok got it, thanks. :+1: to the PR


Does not work well with stateful sets.

I have pods that are in a removed state from the replica set. this leaves the cluster in an unusable state. Why doesn't the sidecar automatically remove these nodes?

The sidecar uses a pod label selector to get the pods that should be in the replica set... nothing to do with a replica set or stateful set... so if you have pods that match the selector that are still running, they won't get removed.
Maybe you could change the labels for pods that are removed from the stateful set and/or replica set?
PR welcome if you want to have a go at trying to use something other than pod label selectors.

@jwaldrip - did I understand your question / issue correctly?

@jwaldrip - I'm going to close this issue because I haven't heard anything back from you. Please re-open if you feel it should be.


Theme switcher

I'm going to create a theme switcher module.

require 3rd party module?

Nope. All built with ZF2.
The way I made it is this:

Created Themes module. Inside there is a Module.php with getConfig method. The other folders are the names of the themes required for the CMS such as . default, awesome etc etc
Inside these themes I store a config folder with module.config.php which contents is only this;

return [
/**
* These are mandatory as well, but if anyone don't want to put text, just leave them empty: => ''
*/
'description' => 'Application default theme that comes with the installation',
'title' => 'Default',
'screenshot' => 'default.png',
'author' => 'Stanimir Dimitrov',
/**
 * The only path structure that is a must and must stay this way is /themes/THEME_NAME/.
 * /themes/THEME_NAME/ is built automatically by the system.
 *
 * Every other file structure can be orginized according to the users needs.
 * Which means that these examples are fully valid.
 *
 * You can omit the first trailing slash. The system will always include one for you.
 *
 *
 *   'css' => [
 *       '/habalababala/Anotherpath/to/style.css',
 *       'css/style.css',
 *       'scss/style.css',
 *       '/css/scss/style.css',
 *   ],
 *   'js' => [
 *       '/habalababala/Anotherpath/to/custom.js',
 *       '/assets//js/ember.js',
 *       '3rdparty/jquery.js',
 *    ],
 *
 */
'css' => [
    '/front/css/front.min.css',
],
'js' => [
    '/front/js/front.min.js',
],

/**
 * This is not necessary, but it's good for performance.
 */
'template_map' => include __DIR__.'/../template_map.php',
'template_path_stack' => [
    'default' => __DIR__.'/../view',
],

];

There is also a view folder with all the phtml files. and a template_map. All the assets such as css,js, images is stored inside the public/themes/THEME_NAME folder. and ae being called in the html ONLY when the theme is loaded.
Inside Application module I have a factory initThemes which calls the theme name from serviceLocator->get("Config") and loads it from onBootstrap method with a render event listener.
All theme configs are also stored inside serviceLocator->get("Config")  via the themes key.

Suggestions are welcome.

I personally think it's too complicated, even user to install, too many steps will be required to get it working, also, we need to have module that shows the power of zf2, like #157 ( controller plugin ), user can just download, paste in module, and run it. I am against about "Admin" module as we need a "single easy module" to be picked and try.

It only sounds complicated. Also, there won't be an admin module here. I was refering to my CMS. Give me a day for the first drafts.

ok :+1:

Module done. Closing.


Tips for testing?

I'm using temporal as a dependency and want to be able to test that my loops are firing as frequently and running for as long as they should without making others wait for the real time callbacks. Sinon's fake timers don't seem to work well with process.nextTick.
Has this already been solved?

I'm going to reopen this because I now believe it's possible with a tiny, non-breaking change (fingers crossed). Being able to mock Temporal similar to the way setTimeout is mocked in Sinon would be huge.

I was wrong. We've changed the tests so this is no longer a burning issue.


GKE autopilot cluster refresh error

What happened?
Hello!
I tried to create a new GKE Autopilot cluster via crossplane. It was created successfully but after crossplane can't refresh the information about it and shows Synced: False.
How can we reproduce it?
I used this manifest:
apiVersion: container.gcp.upbound.io/v1beta1
kind: Cluster
metadata:
  name: management
spec:
  providerConfigRef:
    name: infra
  forProvider:
    enableAutopilot: true
    releaseChannel:
      - channel: RAPID
    location: europe-north1
    networkRef:
      name: main
    subnetworkRef:
      name: kubernetes-europe-north1
    privateClusterConfig:
      - enablePrivateNodes: true
        masterIpv4CidrBlock: <IP_ADDRESS>/28
        masterGlobalAccessConfig:
          - enabled: true
    maintenancePolicy:
      - dailyMaintenanceWindow:
          - startTime: "13:00"
    ipAllocationPolicy:
      - servicesSecondaryRangeName: service-network
        clusterSecondaryRangeName: pod-network

Crossplane created cluster, but after that I got that:
Name:         management
Namespace:
Labels:       <none>
Annotations:  crossplane.io/external-name: management
API Version:  container.gcp.upbound.io/v1beta1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2023-08-09T21:08:08Z
  Finalizers:
    finalizer.managedresource.crossplane.io
  Generation:        7
  Resource Version:  89094
  UID:               1d1bdd6a-6289-4035-bf3e-0fb2fc310d98
Spec:
  Deletion Policy:  Delete
  For Provider:
    Addons Config:
      Gce Persistent Disk Csi Driver Config:
        Enabled:  true
    Binary Authorization:
    Database Encryption:
      State:            DECRYPTED
    Datapath Provider:  ADVANCED_DATAPATH
    Default Snat Status:
    Dns Config:
      Cluster Dns:         CLOUD_DNS
      Cluster Dns Domain:  cluster.local
      Cluster Dns Scope:   CLUSTER_SCOPE
    Enable Autopilot:      true
    Gateway API Config:
      Channel:  CHANNEL_STANDARD
    Ip Allocation Policy:
      Cluster Secondary Range Name:   pod-network
      Services Secondary Range Name:  service-network
    Location:                         europe-north1
    Logging Config:
      Enable Components:
        SYSTEM_COMPONENTS
        WORKLOADS
    Logging Service:  logging.googleapis.com/kubernetes
    Maintenance Policy:
      Daily Maintenance Window:
        Start Time:  13:00
    Monitoring Config:
      Enable Components:
        SYSTEM_COMPONENTS
      Managed Prometheus:
        Enabled:         true
    Monitoring Service:  monitoring.googleapis.com/kubernetes
    Network:             https://www.googleapis.com/compute/v1/projects/etherno-infra/global/networks/main
    Network Ref:
      Name:           main
    Networking Mode:  VPC_NATIVE
    Node Locations:
      europe-north1-a
      europe-north1-b
      europe-north1-c
    Node Pool Defaults:
      Node Config Defaults:
        Logging Variant:  DEFAULT
    Notification Config:
      Pubsub:
    Private Cluster Config:
      Enable Private Nodes:  true
      masterIpv4CidrBlock:   <IP_ADDRESS>/28
    Project:                 ***
    Release Channel:
      Channel:  RAPID
    Service External Ips Config:
    Subnetwork:  https://www.googleapis.com/compute/v1/projects/etherno-infra/regions/europe-north1/subnetworks/kubernetes-europe-north1
    Subnetwork Ref:
      Name:  kubernetes-europe-north1
    Vertical Pod Autoscaling:
      Enabled:  true
  Init Provider:
  Management Policies:
    *
  Provider Config Ref:
    Name:  infra
Status:
  At Provider:
  Conditions:
    Last Transition Time:  2023-08-10T09:05:33Z
    Message:               observe failed: cannot run refresh: refresh failed: Missing required argument: The argument "disabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
    Reason:  ReconcileError
    Status:  False
    Type:    Synced
Events:
  Type     Reason                         Age                From                                                    Message
  ----     ------                         ----               ----                                                    -------
  Warning  CannotObserveExternalResource  9h (x37 over 11h)  managed/container.gcp.upbound.io/v1beta1, kind=cluster  cannot run refresh: refresh failed: Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "disabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
  Warning  CannotObserveExternalResource  7m26s (x60 over 11h)  managed/container.gcp.upbound.io/v1beta1, kind=cluster  cannot run refresh: refresh failed: Missing required argument: The argument "disabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
  Warning  CannotObserveExternalResource  117s (x55 over 11h)  managed/container.gcp.upbound.io/v1beta1, kind=cluster  cannot run refresh: refresh failed: Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "disabled" is required, but no definition was found.

What environment did it happen in?

Crossplane Version: v1.13.2
Provider Version: v0.35.0
Kubernetes Version: v1.27.3
Kubernetes Distribution: GKE Autopilot

Hi @selfuryon,
Thank you raising for this issue, I can can reproduce this problem with a simple example manifest:
apiVersion: container.gcp.upbound.io/v1beta1
kind: Cluster
metadata:
  annotations:
    meta.upbound.io/example-id: container/v1beta1/cluster
  labels:
    testing.upbound.io/example-name: cluster
  name: cluster
spec:
  forProvider:
    location: europe-north1
    ipAllocationPolicy:
      - {}
    enableAutopilot: true

get the following error:
    message: |-
      observe failed: cannot run refresh: refresh failed: Missing required argument: The argument "enabled" is required, but no definition was found.
      Missing required argument: The argument "enabled" is required, but no definition was found.
      Missing required argument: The argument "issue_client_certificate" is required, but no definition was found.
      Missing required argument: The argument "enabled" is required, but no definition was found.
      Missing required argument: The argument "disabled" is required, but no definition was found.
    reason: ReconcileError
    status: "False"
    type: Synced

issue_client_certificate is coming from "masterAuth" spec, added this and it gone
          forProvider:
            masterAuth:
              - clientCertificate: ''
                clientCertificateConfig:
                  - issueClientCertificate: false

The rest is quite hard to find, since a lot of spec contain enabled

Added possible field that I get from my manual created cluster and used crossplane to observe
status:   atProvider:     addonsConfig:       - dnsCacheConfig:           - enabled: true         gcePersistentDiskCsiDriverConfig:           - enabled: true         gcpFilestoreCsiDriverConfig:           - enabled: true     binaryAuthorization:       - enabled: false         evaluationMode: DISABLED     clusterAutoscaling:       - autoProvisioningDefaults:         enabled: true     defaultSnatStatus:       - disabled: false     ipAllocationPolicy:       - podCidrOverprovisionConfig:           - disabled: false     monitoringConfig:       - managedPrometheus:           - enabled: true     networkPolicy:       - enabled: false     notificationConfig:       - pubsub:           - enabled: false             topic: ''     privateClusterConfig:       - enablePrivateEndpoint: false         enablePrivateNodes: false         masterGlobalAccessConfig:           - enabled: false     serviceExternalIpsConfig:       - enabled: false     verticalPodAutoscaling:       - enabled: true

I found the minimal working config for me:
apiVersion: container.gcp.upbound.io/v1beta1
kind: Cluster
metadata:
  name: management
spec:
  forProvider:
    enableAutopilot: true
    releaseChannel:
      - channel: RAPID
    networkRef:
      name: main
    subnetworkRef:
      name: kubernetes-europe-north1
    maintenancePolicy:
    location: europe-north1
      - dailyMaintenanceWindow:
          - startTime: "13:00"
    ipAllocationPolicy:
      - servicesSecondaryRangeName: service-network
        clusterSecondaryRangeName: pod-network
    defaultSnatStatus:
      - disabled: false
    masterAuth:
      - clientCertificateConfig:
          - issueClientCertificate: false
    serviceExternalIpsConfig:
      - enabled: false
    notificationConfig:
      - pubsub:
          - enabled: false
    privateClusterConfig:
      - enablePrivateNodes: true
        masterIpv4CidrBlock: <IP_ADDRESS>/28
  deletionPolicy: Orphan

So it requires defaultSnatStatus, serviceExternalIpsConfig, notificationConfig and masterAuth sections.

I tested Cluster.container with v0.34.0 and the resource was successfully created, spec:
spec:
  deletionPolicy: Delete
  forProvider:
    addonsConfig:
    - gcePersistentDiskCsiDriverConfig:
      - enabled: true
    binaryAuthorization:
    - {}
    clusterAutoscaling:
    - autoProvisioningDefaults:
      - imageType: COS_CONTAINERD
        management:
        - autoRepair: true
          autoUpgrade: true
        oauthScopes:
        - https://www.googleapis.com/auth/devstorage.read_only
        - https://www.googleapis.com/auth/logging.write
        - https://www.googleapis.com/auth/monitoring
        - https://www.googleapis.com/auth/service.management.readonly
        - https://www.googleapis.com/auth/servicecontrol
        - https://www.googleapis.com/auth/trace.append
        serviceAccount: default
        upgradeSettings:
        - maxSurge: 1
          strategy: SURGE
    databaseEncryption:
    - state: DECRYPTED
    datapathProvider: ADVANCED_DATAPATH
    defaultSnatStatus:
    - disabled: false
    dnsConfig:
    - clusterDns: CLOUD_DNS
      clusterDnsDomain: cluster.local
      clusterDnsScope: CLUSTER_SCOPE
    enableAutopilot: true
    gatewayApiConfig:
    - channel: CHANNEL_STANDARD
    ipAllocationPolicy:
    - {}
    location: europe-north1
    loggingConfig:
    - enableComponents:
      - SYSTEM_COMPONENTS
      - WORKLOADS
    loggingService: logging.googleapis.com/kubernetes
    masterAuth:
    - clientCertificateConfig:
      - issueClientCertificate: false
    monitoringConfig:
    - enableComponents:
      - SYSTEM_COMPONENTS
      managedPrometheus:
      - enabled: true
    monitoringService: monitoring.googleapis.com/kubernetes
    network: projects/official-provider-testing/global/networks/default
    networkingMode: VPC_NATIVE
    nodeConfig:
    - diskSizeGb: 100
      diskType: pd-standard
      imageType: COS_CONTAINERD
      loggingVariant: DEFAULT
      machineType: e2-small
      metadata:
        disable-legacy-endpoints: "true"
      oauthScopes:
      - https://www.googleapis.com/auth/devstorage.read_only
      - https://www.googleapis.com/auth/logging.write
      - https://www.googleapis.com/auth/monitoring
      - https://www.googleapis.com/auth/service.management.readonly
      - https://www.googleapis.com/auth/servicecontrol
      - https://www.googleapis.com/auth/trace.append
      reservationAffinity:
      - consumeReservationType: NO_RESERVATION
      serviceAccount: default
      shieldedInstanceConfig:
      - enableIntegrityMonitoring: true
        enableSecureBoot: true
      taint:
      - effect: NO_SCHEDULE
        key: cloud.google.com/gke-quick-remove
        value: "true"
      workloadMetadataConfig:
      - mode: GKE_METADATA
    nodeLocations:
    - europe-north1-a
    - europe-north1-b
    - europe-north1-c
    nodePoolDefaults:
    - nodeConfigDefaults:
      - loggingVariant: DEFAULT
    notificationConfig:
    - pubsub:
      - enabled: false
    privateClusterConfig:
    - masterGlobalAccessConfig:
      - enabled: false
    project: official-provider-testing
    releaseChannel:
    - channel: REGULAR
    serviceExternalIpsConfig:
    - enabled: false
    subnetwork: projects/official-provider-testing/regions/europe-north1/subnetworks/default
    verticalPodAutoscaling:
    - enabled: true
  managementPolicies:
  - '*'
  providerConfigRef:
    name: default

But when I try with v0.35.0 I get an error, spec:
spec:
  deletionPolicy: Delete
  forProvider:
    addonsConfig:
    - gcePersistentDiskCsiDriverConfig:
      - enabled: true
    binaryAuthorization:
    - {}
    clusterAutoscaling:
    - autoProvisioningDefaults:
      - imageType: COS_CONTAINERD
        management:
        - autoRepair: true
          autoUpgrade: true
        oauthScopes:
        - https://www.googleapis.com/auth/devstorage.read_only
        - https://www.googleapis.com/auth/logging.write
        - https://www.googleapis.com/auth/monitoring
        - https://www.googleapis.com/auth/service.management.readonly
        - https://www.googleapis.com/auth/servicecontrol
        - https://www.googleapis.com/auth/trace.append
        serviceAccount: default
        upgradeSettings:
        - maxSurge: 1
          strategy: SURGE
    databaseEncryption:
    - state: DECRYPTED
    datapathProvider: ADVANCED_DATAPATH
    defaultSnatStatus:
    - {}
    dnsConfig:
    - clusterDns: CLOUD_DNS
      clusterDnsDomain: cluster.local
      clusterDnsScope: CLUSTER_SCOPE
    enableAutopilot: true
    gatewayApiConfig:
    - channel: CHANNEL_STANDARD
    ipAllocationPolicy:
    - {}
    location: europe-north1
    loggingConfig:
    - enableComponents:
      - SYSTEM_COMPONENTS
      - WORKLOADS
    loggingService: logging.googleapis.com/kubernetes
    masterAuth:
    - clientCertificateConfig:
      - {}
    monitoringConfig:
    - enableComponents:
      - SYSTEM_COMPONENTS
      managedPrometheus:
      - enabled: true
    monitoringService: monitoring.googleapis.com/kubernetes
    network: projects/official-provider-testing/global/networks/default
    networkingMode: VPC_NATIVE
    nodeLocations:
    - europe-north1-a
    - europe-north1-b
    - europe-north1-c
    nodePoolDefaults:
    - nodeConfigDefaults:
      - loggingVariant: DEFAULT
    notificationConfig:
    - pubsub:
      - {}
    privateClusterConfig:
    - masterGlobalAccessConfig:
      - {}
    project: official-provider-testing
    releaseChannel:
    - channel: REGULAR
    serviceExternalIpsConfig:
    - {}
    subnetwork: projects/official-provider-testing/regions/europe-north1/subnetworks/default
    verticalPodAutoscaling:
    - enabled: true
  initProvider: {}
  managementPolicies:
  - '*'
  providerConfigRef:
    name: default

No native provider bump between these two versions, diff between them:

Also, I faced a similar issue Account.storage resource in provider-azure between v0.34.0 and v0.35.0, diff:

error message:
    message: |-
      observe failed: cannot run refresh: refresh failed: Missing required argument: The argument "write" is required, but no definition was found.
      Missing required argument: The argument "delete" is required, but no definition was found.
      Missing required argument: The argument "read" is required, but no definition was found.
      Missing required argument: The argument "enabled" is required, but no definition was found.

same issue in my side with gke cluster
  Warning  CannotObserveExternalResource    2m29s               managed/container.gcp.upbound.io/v1beta1, kind=cluster  cannot run refresh: refresh failed: Missing required argument: The argument "issue_client_certificate" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.
Missing required argument: The argument "disabled" is required, but no definition was found.
Missing required argument: The argument "enabled" is required, but no definition was found.

following manifest:
kubectl get Cluster.container.gcp.upbound.io gcp-spoke-01-jzb8c-jzc56 -o yaml
apiVersion: container.gcp.upbound.io/v1beta1
kind: Cluster
metadata:
  annotations:
    crossplane.io/composition-resource-name: gke-cluster
    crossplane.io/external-create-succeeded: "2023-08-16T18:31:47Z"
    crossplane.io/external-name: gcp-spoke-01-jzb8c-jzc56
    upjet.crossplane.io/provider-meta: '{"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0":{"create":2400000000000,"delete":2400000000000,"read":2400000000000,"update":3600000000000},"schema_version":"1"}'
  creationTimestamp: "2023-08-16T18:25:53Z"
  finalizers:
  - finalizer.managedresource.crossplane.io
  generateName: gcp-spoke-01-jzb8c-
  generation: 6
  labels:
    crossplane.io/claim-name: gcp-spoke-01
    crossplane.io/claim-namespace: default
    crossplane.io/composite: gcp-spoke-01-jzb8c
  name: gcp-spoke-01-jzb8c-jzc56
  ownerReferences:
  - apiVersion: gcp.caas.upbound.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: XGKE
    name: gcp-spoke-01-jzb8c-thbgp
    uid: 4fdd5aa0-275d-4406-83cc-60d1bb082b2a
  resourceVersion: "163973"
  uid: 0e9c7e81-b1ee-4674-925d-6e578443172e
spec:
  deletionPolicy: Delete
  forProvider:
    addonsConfig:
    - gcePersistentDiskCsiDriverConfig:
      - enabled: true
    binaryAuthorization:
    - {}
    clusterAutoscaling:
    - {}
    databaseEncryption:
    - state: DECRYPTED
    defaultSnatStatus:
    - {}
    enableIntranodeVisibility: true
    initialNodeCount: 1
    ipAllocationPolicy:
    - clusterSecondaryRangeName: pods
      servicesSecondaryRangeName: services
    location: europe-west3
    loggingConfig:
    - enableComponents:
      - SYSTEM_COMPONENTS
      - WORKLOADS
    loggingService: logging.googleapis.com/kubernetes
    masterAuth:
    - clientCertificateConfig:
      - {}
    monitoringConfig:
    - enableComponents:
      - SYSTEM_COMPONENTS
      managedPrometheus:
      - enabled: true
    monitoringService: monitoring.googleapis.com/kubernetes
    network: https://www.googleapis.com/compute/v1/projects/crossplane-playground/global/networks/gcp-spoke-01
    networkRef:
      name: gcp-spoke-01
    networkSelector:
      matchLabels:
        networks.gcp.caas.upbound.io/network-id: gcp-spoke-01
    networkingMode: VPC_NATIVE
    nodeConfig:
    - serviceAccount<EMAIL_ADDRESS>    nodeLocations:
    - europe-west3-a
    - europe-west3-b
    - europe-west3-c
    nodePoolDefaults:
    - nodeConfigDefaults:
      - loggingVariant: DEFAULT
    notificationConfig:
    - pubsub:
      - {}
    privateClusterConfig:
    - masterGlobalAccessConfig:
      - {}
    project: crossplane-playground
    releaseChannel:
    - channel: REGULAR
    serviceExternalIpsConfig:
    - {}
    subnetwork: https://www.googleapis.com/compute/v1/projects/crossplane-playground/regions/europe-west3/subnetworks/gcp-spoke-01-jzb8c-j6fgb
    subnetworkRef:
      name: gcp-spoke-01-jzb8c-j6fgb
    subnetworkSelector:
      matchLabels:
        networks.gcp.caas.upbound.io/network-id: gcp-spoke-01
  initProvider: {}
  managementPolicies:
  - '*'
  providerConfigRef:
    name: default
  writeConnectionSecretToRef:
    name: 4fdd5aa0-275d-4406-83cc-60d1bb082b2a-gkecluster
    namespace: upbound-system
status:
  atProvider: {}
  conditions:
  - lastTransitionTime: "2023-08-16T18:45:13Z"
    message: |-
      observe failed: cannot run refresh: refresh failed: Missing required argument: The argument "enabled" is required, but no definition was found.
      Missing required argument: The argument "enabled" is required, but no definition was found.
      Missing required argument: The argument "disabled" is required, but no definition was found.
      Missing required argument: The argument "issue_client_certificate" is required, but no definition was found.
      Missing required argument: The argument "enabled" is required, but no definition was found.
    reason: ReconcileError
    status: "False"
    type: Synced
  - lastTransitionTime: "2023-08-16T18:31:47Z"
    reason: Creating
    status: "False"
    type: Ready
  - lastTransitionTime: "2023-08-16T18:38:01Z"
    reason: Success
    status: "True"
    type: LastAsyncOperation
  - lastTransitionTime: "2023-08-16T18:38:01Z"
    reason: Finished
    status: "True"
    type: AsyncOperation

set all these fields for my cluster - and then the resources synced and ready true
            loggingConfig:
              - enableComponents:
                - SYSTEM_COMPONENTS
                - WORKLOADS
            monitoringConfig:
            - enableComponents:
              - SYSTEM_COMPONENTS
              managedPrometheus:
              - enabled: true
            masterAuth:
              - clientCertificateConfig:
                  - issueClientCertificate: false
            addonsConfig:
              - dnsCacheConfig:
                  - enabled: true
                gcePersistentDiskCsiDriverConfig:
                  - enabled: true
                gcpFilestoreCsiDriverConfig:
                  - enabled: true
            binaryAuthorization:
              - enabled: false
            clusterAutoscaling:
              - autoProvisioningDefaults:
                enabled: true
            defaultSnatStatus:
              - disabled: false
            ipAllocationPolicy:
              - podCidrOverprovisionConfig:
                  - disabled: false
            monitoringConfig:
              - managedPrometheus:
                  - enabled: true
            networkPolicy:
              - enabled: false
            notificationConfig:
              - pubsub:
                  - enabled: false
                    topic: ''
            privateClusterConfig:
              - enablePrivateEndpoint: false
                enablePrivateNodes: false
                masterGlobalAccessConfig:
                  - enabled: false
            serviceExternalIpsConfig:
              - enabled: false
            verticalPodAutoscaling:
              - enabled: true

Looks like the issue was introduced in https://github.com/upbound/upjet/pull/237 with initProviders.
As now all the fields which were required and are also in initProvider are optional, they also got the tag omitempty. And it looks like it messes with the late-initialization of those fields. Notice that they are all bool fields with values false. Kudos to @turkenh for figuring it out!
Made a PR which fixes the behaviour (reverts the omitempty addition to previously required fields). Tested it out with the cluster example and it works ok.
Hopefully we will merge it soon and make some patch releases

Fixed in the newest provider releases! https://github.com/upbound/provider-gcp/releases/tag/v0.36.0


Lost data frames when saving a movie

Describe the bug
In the Save Movie option, with mpg chosen, the last several frames of data are always lost. The number lost is variable but can be large. Can this be fixed? My workaround is to keep the sequential files for the movie by setting the number of frames used in Save Movie to be larger than the actual number. This causes a script error and happily leaves the sequential image files intact in its directory. Importing a sequence into ImageJ allows an .avi movie to be created and then converting in VLC allows an .m4v to be made. This is tedious but only one frame is lost in the last step. Finally, mpg is an old movie format. Could you actually use m4v or mp4 files?
See: https://github.com/visit-dav/live-customer-response/issues/36
The user hasn't confirmed yet, but I suspect that ffmpeg is not installed or in the path where VisIt can find it.
To Reproduce
See: https://github.com/visit-dav/live-customer-response/issues/36
Additionally, please attach a (zipped) sessionfile to this ticket to easily reproduce (In the viewer, use File->Save Session).
Desktop

OS and version: ?
VisIt Version: ?
Server info (if applicable):

This can happen if some intermediate frames are missing, then the encoding will stop at the first break in sequential numbering, leaving any frames after that missing.

If this is related to garbled/failed renders...its hard to robustify but we could add logic to check for

number of saved images is same as expected time series
no saved image is zero or close to zero size (suggesting a garbled image)


the AK tract with the percent of tribal should be shown in the second paragraph

Describe the bug
There is one tract in AK that has land - it should have the percentage of the tract that is disadvantaged in the second sentence.
#8.83/55.1438/-131.5693
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@mattbowen-usds made the backend fix. it should have 94% tribal on the front end.


Implement sysconf to support std threads

std checks sysconf for the page size if it gets an error from pthread_attr_setstacksize (it then rounds the stack size up to a multiple of the page size).

Sysconf looks like one of those functions we’ll keep adding onto for a long time…


Could not attach to process with CustomPipeName: 'AzureFunctionsPSWorker'

I am no expert in functions, so please bear with me.
But I have a PowerShell Function App which I would like to build and test locally. Previously, I could run locally with no issue, but now this is no the case. When I type func host start or F5, I am prompted with the following error:

You must have the Azure Functions Core Tools installed to debug your local functions.

When I click install, I get the following error:

Could not attach to process with CustomPipeName: 'AzureFunctionsPSWorker'

Looks like this is mostly being handled here: https://github.com/Azure/azure-functions-powershell-worker/issues/368 Sounds like this is an issue related to using git bash as the default terminal


Add gym_dora

What this does
Add gym_dora for real world env
How it was tested
TODO
How to checkout & try? (for the reviewer)
TODO

This change is

Closing this as it will be done in https://github.com/dora-rs/dora-lerobot/pull/6


Task 1.07 #license file

adding License file to the final project

adding License file to the final project


Indicator result different with different size of dataframe

I did a pair of examples of sma (length=20) for a df of 100 days and another df of 50-day tail of the 100-day df
The sma (length=20) of the same day are different
It's supposed to get the same results? Since their 20 days back  'close' value are identical

Hello @leqel,
Show me some code and results.
Thanks,
KJ

Hello @leqel,

My aiming to doing this crop data from 100 to 50 to speed up the calculation. Say, I do have the previous data of indicators for 1000 days back . now I just want append only row of latest today. I just want to run the calculation for 1 rows or maximum "length" day back.

Totally understandable! In fact, it has been brought up with Utilizing this for Live Ticks, Issue #87. I suggest checking out that discussion when you have some time.
Again, I will not be modifying ema soon as it is accurate and working. I have other Issues that have piled up and I would like to resolve those before moving forward and adding other features that I think people will like as well. You are welcome to modify ema if you have an idea how to resolve the marginal differences that have been encountered. I would be glad to check out the results and improvements.
Thanks,
KJ


Use absolute path for workspace universally

This PR tweaks handling of the workspace CLI argument; It's an inconsequential change more or less, where we now convert a (potential) relative path to an absolute one before passing it down to components (e.g. executor or fstore). Reason for the change is that fstore should use the absolute path for the workspace, but since it's a common theme we can just do it before creating the component(s).

Good change!


Stuck on "Waiting for Crew"

Hey, so i've added Brutal Company Minus to a modpack my friends and i have been playing on and i was playtesting to see if everything worked. There was no issue landing on a Moon when no custom interior was loaded. As soon as a custom interior was going to be loaded the ship would not Land.
Here is the Error code from BepinEX:
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
BrutalCompanyMinus.UI.Update () (at :IL_008C)
Modlist Code: 018f0036-a560-dc49-9e48-2c764d594f02
Thanks for taking a look :)

Leaving this field empty will cause this mod to crash, Set it to 0 instead which will make the mod work.

Thank you so much for the quick response. That fixed it :D


Autoscroll should toggle off when user is hovering over comments link

This is to prevent autoscroll from moving the node right as the user is about to click the comment link.

https://github.com/robotnoises/bebop/commit/39cfb4aa64c3ab71cb87b162bafe99464e586865


Update Composer dependencies (2021-05-27-00-06)

Visual regression test passed!
View the visual regression test report


after a while, loupe occassionally fails to disappear when leaving the image

To reproduce: Repeatedly hover over and out of the target image. In most cases the loupe disappears as expected. After a while, in some cases, the loupe remains visible even when the mouse is moved out of the image.

I think it is because there's a race, either we remove the event listener first or we recalculate the exit condition

the exitDistance should be half of the width for x and half of the height for y from the magnifier glass

Just submitted a new PR @nishanths


Automated cherry pick of #3091: fix: reduce policy sync worker queue size

Cherry pick of #3091 on release/2.10.0.
#3091: fix: reduce policy sync worker queue size

/approve
/lgtm


Update package vndr codegangsta/cli to urfave/cli

Signed-off-by: Hui Kang<EMAIL_ADDRESS>

@huikang It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926

Thanks @huikang I think changing this makes sense, but you may consider only switching the repository, but keeping the SHA/commit the same. Are there specific changes that you think are needed in the newer commit?
Also; it looks this needs a rebase now 😢

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6c51292). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #1653   +/-   ##
========================================
  Coverage          ?     38%
========================================
  Files             ?     137
  Lines             ?   27351
  Branches          ?       0
========================================
  Hits              ?   10396
  Misses            ?   15684
  Partials          ?    1271

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c51292...9755085. Read the comment docs.

cmd/dnet was not carried forward to moby/moby


Upgrade Ruby version to 3.2.0

We should be using the latest version of Ruby possible. This branch should be tested before merging, as per https://docs.publishing.service.gov.uk/manual/ruby.html#update-ruby-version-in-the-relevant-repos. Trello card: https://trello.com/c/e5BZBWyK/3075-bump-platform-reliability-repos-ruby-versions-to-v3xx-5

pact_broker doesn't support Ruby 3 yet: https://github.com/pact-foundation/pact_broker/issues/599


Profile error can have zero or one occurrence

I found out, that the specification allows to have multiple error definitions. From details, I found in internal documents, I never saw even example of multiple errors. So, I am fixing it as a bug in the specification rather not implemented specification.

Thanks for pointing me to that doc. I was looking in documents talking about profiles only. :/
If multiple errors should be possible, then spec needs to allow error naming.
Error : error ErrorName ModelDefinition

ErrorName : Identifier?

@zdne Hmm, this does bring up a memory about talking about this at some point I think. I'm just guessing here but didn't we end up saying we'd solve this with type unions instead? It's semantically the same but we already have type unions implemented 🤷♀


Codespaces - Oryx version bump to 20210728.1

The image exp-20210721.2 was creating oryx-build-commands.txt file in the user directory which we want to avoid. Hence, the old image was not pushed to prod. This image is built upon  exp-20210721.2 with a fix to the bug.
https://github.com/microsoft/Oryx/releases/tag/20210728.1

Once the dev tag is released, will confirm the dynamic pathing works well with an example repo that requires a non-cached version of a language

dynamic pathing (at least for nodejs) looks good with the dev tag
test repo: https://github.com/joshspicer/dynamic-pathing

oryx-build-commands changes looks good for Node.js with the dev tag
Test repo - https://github.com/samruddhikhandale/kitchensink-codespaces-linux/tree/testing-ory-commands

looks fine for Python as well
Test repo - https://github.com/samruddhikhandale/kitchensink-codespaces-linux/tree/oryx-python-app


fix: findFilesByfilename respects path option

scope code search to path and return paths relative to path.
update python releaser to call findFilesByfilename appropriately.
Fixes #664

I wasn't quite up to adding a test/releasers/python.ts so codecov nailed me :-( I'd be happy to augment a test file if someone else starts it (I looked briefly at test/releasers/node.ts and decided I didn't have the time to invest in figuring it out/porting it for the python releaser), at least not before getting buy-in on this solution.

@joeldodge79 I'm on a vacation for the next few days, very much appreciate the patch, will look soon.

@joeldodge79 this looks like a good fix to me 👍

@bcoe sorry for the lag, I was completely unplugged for the past two weeks. I just rebased the branch. There's still the codecov issue for test/releasers/python.ts ... ok to let slide for now?

@bcoe sorry for the lag, I was completely unplugged for the past two weeks. I just rebased the branch. There's still the codecov issue for test/releasers/python.ts ... ok to let slide for now?


Preview window does not close when FZF is opened

Neovim version (nvim -v | head -n1)
NVIM v0.10.0
Operating system/version
macOS 13.5.1
How to reproduce the issue

Have quickfix open with preview window open
Open FZF
FZF window will be opened below the preview window
...

Expected behavior
I would expect the preview window to be closed as would be the case if I switched to a different buffer. I tried working around this in a few ways:

Updating my mappings that open FZF to do require("bqf").hidePreviewWindow() first. This seems to have no effect.
Adding a BufLeave autocmd for the quickfix buffer to call require("bqf").hidePreviewWindow(). This also seems to have no effect.

I'm wondering if part of the issue is that hidePreviewWindow only takes effect if the quickfix is currently focused?
Actual behavior
FZF window will be opened below the preview window.

I can't reproduce it. Could you make your config minimized?

Sorry, I should have clarified that I'm referring to the fzf-lua plugin that uses a floating window. I assumed it was an issue with all floating windows, but I couldn't reproduce this by calling vim.api.nvim_open_win. The issue only occurs when calling FzfLua. I'll dig in more tonight and try to better understand the issue.

fzf-lua issue.
https://github.com/ibhagwan/fzf-lua/blob/ce1e24f2a48089b65deefcb0a71a9856839002b5/lua/fzf-lua/utils.lua#L1042-L1044
https://github.com/kevinhwang91/nvim-bqf/blob/1b24dc6050c34e8cd377b6b4cd6abe40509e0187/lua/bqf/preview/handler.lua#L469


when component mounted , it had send many request, and how can i fix this problem

when component mounted , it had send many request, this is my code:
import React, { Suspense } from 'react';
import fetch from 'unfetch';
import useSWR from 'swr';

import { Card } from '../../../common';
import { Loading } from '../../../frame';

const fetcher = (url: string) => fetch(url).then(r => r.json());

const Users = () => {
  const { data: users, error } = useSWR(
    `/proxy/tribe/user/recommend?bk_time=${new Date().getTime()}`,
    fetcher,
    { suspense: true }
  );
  return (
    <Card title="Recommen">
      <div className="bitkan-ksite-recommenduser">
        { JSON.stringify(users) }
      </div>
    </Card>
  );
}
export default () => {
  return (
    <Suspense fallback={ <Loading></Loading> }>
      <Users></Users>
    </Suspense>
  );
}

is there someone can help me, thanks

`/proxy/tribe/user/recommend?bk_time=${new Date().getTime()}`

The problem is there, combined with suspense every time you start rendering Users it will create a new date object and trigger a new request, then it will suspend until it has data, once the data is already cached it will unsuspend, but since the render will run again it will create a new data, suspending again and repeating this infinitely.
What you can do, is to store the date in another place, e.g. in a state or ref.
const date = React.useRef(new Date().getTime())
const { data: users, error } = useSWR(
  `/proxy/tribe/user/recommend?bk_time=${date.current}`,
  fetcher,
  { suspense: true }
);

Or using state
const [date, setData] = React.useState(new Date().getTime())
const { data: users, error } = useSWR(
 `/proxy/tribe/user/recommend?bk_time=${date}`,
 fetcher,
 { suspense: true }
);

The state option is better if you want to update it and cause a re-render.
Another options, is to create the date in the parent component and pass it as prop, this way the parent will generate the date only one time.
A last option, is to create the date object outside the React component, this will create it only one time for your whole app tho, so it will not be update until the user reload the page and you will have no way to update it, if you don't need it to be update this is probably the best solution.

thank you


[Improvement] Lack of documentation on non-default backend

By default, Polaris will be using in-memory backend as defined in https://github.com/polaris-catalog/polaris/blob/main/polaris-server.yml#L90. However, there is no documentation on what are the allowed values as well as how to use eclipselink (https://github.com/polaris-catalog/polaris/tree/main/extension/persistence/eclipselink) to switch to non-default backend.

Is there a reason why eclipselink is not a dependency of polaris-service? It seems that eclipselink lists polaris-service as a dependency, but it should be the other way around. I downloaded the project, removed eclipselink from the dependencies, and it worked.
When I tried to change the metastore to eclipselink, I encountered the following issue:
2024-07-31 15:12:59 io.dropwizard.configuration.ConfigurationParsingException: polaris-server.yml has an error:
2024-07-31 15:12:59   * Failed to parse configuration at: metaStoreManager; Could not resolve type id 'eclipse-link' as a subtype of `io.polaris.core.persistence.MetaStoreManagerFactory`: known type ids = [in-memory] (for POJO property 'metaStoreManager')
2024-07-31 15:12:59  at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.polaris.service.config.PolarisApplicationConfig["metaStoreManager"])

Is there a reason why eclipselink is not a dependency of polaris-service? It seems that eclipselink lists polaris-service as a dependency, but it should be the other way around. I downloaded the project, removed eclipselink from the dependencies, and it worked.
When I tried to change the metastore to eclipselink, I encountered the following issue:
2024-07-31 15:12:59 io.dropwizard.configuration.ConfigurationParsingException: polaris-server.yml has an error:
2024-07-31 15:12:59   * Failed to parse configuration at: metaStoreManager; Could not resolve type id 'eclipse-link' as a subtype of `io.polaris.core.persistence.MetaStoreManagerFactory`: known type ids = [in-memory] (for POJO property 'metaStoreManager')
2024-07-31 15:12:59  at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.polaris.service.config.PolarisApplicationConfig["metaStoreManager"])

So eclipse-link is not getting loaded into the final JAR (thus not enabled) as of now. A modification of gradle.build is needed to enable it (include it in the final JAR).

I tried to use H2 as backend metastore via eclipselink and face this error when I send an auth token request:
Realm is not bootstrapped, please run server in bootstrap mode.

How to run the server in bootstrap mode?

I tried to use H2 as backend metastore via eclipselink and face this error when I send an auth token request:
Realm is not bootstrapped, please run server in bootstrap mode.

How to run the server in bootstrap mode?

@cgpoh , you can do this:
java -jar polaris-service/build/libs/polaris-service-1.0.0-all.jar bootstrap polaris-server.yml

This is documented in the open PR: https://github.com/polaris-catalog/polaris/pull/43

@MonkeyCanCode , thanks! After running the bootstrap command and running ./gradlew runApp, I can't find client id and secret in stdout on initial startup anymore. Without the credentials, how to send OAuth2 requests?

@MonkeyCanCode , thanks! After running the bootstrap command and running ./gradlew runApp, I can't find client id and secret in stdout on initial startup anymore. Without the credentials, how to send OAuth2 requests?

So with the eclipse link extension, the credentials will be stored in the backend metastore after bootstrap (in this case, it will be in h2 files on your local file system...the location will be /tmp/eclipse-link/). You will need h2 client to read the content. It is also possible to replace h2 with other backends (e.g. Postgres), but modifications of Gradle file (used by eclipse link) will be needed as well as the connection info within persistent.xml under resources directory under polaris-service.

@MonkeyCanCode , thanks! I'm trying out Postgres, will try to figure out where the credentials are stored for Postgres.

@MonkeyCanCode , thanks! I'm trying out Postgres, will try to figure out where the credentials are stored for Postgres.

For postgres, it will be under xxxxx_credential table.

@MonkeyCanCode thanks! Just found out that the secrets are in principal_secrets table. Everything is working properly now.

Closed this issue as https://github.com/polaris-catalog/polaris/pull/47 is merged.


Implement multi select widget

ACs:

Create input box that allows you to select from multiple options
Render selected options
Ability to remove selected option

@anserwaseem can you please help complete this ticket from the open PR?


[Enhancement] Remove schema hash from BE and FE

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
Schema hash is not used any more, we should remove it and keep our code more clear. Schema hash is used in may places:
BE

used in various paths, such as snapshot path, trash path, tablet's path
in the log, We often print tablet id, schema hash
The schema hash is recorded in TabletMetaManager, and some are recorded in the keys of rocksdb
The schema hash is recorded in RowsetMeta, it is not used.
TabletManager such as getTablet, drop Tablet.
Various Task executions on BE, such as alter task, clone task
Many http actions provided by BE require schema hash as a parameter
Meta Tools

FE

Available in Catalog, Tabletmeta
The schema hash in the report handler is removed to prevent the tablet from being deleted by mistake
The query task sent by Fe to BE, as well as in various tasks

Solution
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@caiconghui  already doing some work #8574


[BUG] No minion presense

Description
When exploring the usage of mysql with salt I found a problem where the presence detection does not work when enabling the mysql_cache. This is due to many factors as far as i was able to read the ls function is not returning the minion name its returning the etcd_key column value which is data in my case. I'd like to make a PR for this issue in the future.
def ls(bank):
    """
    Return an iterable object containing all entries stored in the specified
    bank.
    """
    _init_client()
    query = "SELECT etcd_key FROM {} WHERE bank=%s".format(
        __context__["mysql_table_name"]
    )
    cur, _ = run_query(__context__.get("mysql_client"), query, args=(bank,))
    out = [row[0] for row in cur.fetchall()]
    cur.close()
    return out

The code above is the source of mysql_cache list or also ls called here function. What it is supposed to return is minion name, this is not in the select of the sql statement, the minion name is in the bank column.
salt/presence/present   {
"_stamp": "2024-10-17T12:25:05.694697",
"present": []
}
Setup
I am using a Proxmox hypervisor for testing with salt, nothing special about it.
Two minions are connected to the salt-master one is a linux desktop VM and the other is windows 11 VM.
Please be as specific as possible and give set-up details.

[ ] on-prem machine
[x] VM (Virtualbox, KVM, etc. please specify)
[ ] VM running on a cloud service, please be explicit and add details
[ ] container (Kubernetes, Docker, containerd, etc. please specify)
[ ] or a combination, please be explicit
[ ] jails if it is FreeBSD
[ ] classic packaging
[x] onedir packaging
[x] used bootstrap to install

Steps to Reproduce the behavior
Enable mysql_cache and have presence_events turned on the master.
Now looking at the events you would be able to see this json:
salt/presence/present   {
    "_stamp": "2024-10-17T14:01:15.311226",
    "present": []
}

Expected behavior
Expect a list of alived minions when running:
salt-run manage.alived
Versions Report
Salt Version:
Salt: 3007.1
Python Version:
Python: 3.10.14 (main, Apr  3 2024, 21:30:09) [GCC 11.2.0]
Dependency Versions:
cffi: 1.16.0
cherrypy: unknown
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.4
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 23.1
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: Not Installed
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.16.0
smmap: Not Installed
timelib: 0.3.0
Tornado: 6.3.3
ZMQ: 4.3.4
Salt Package Information:
Package Type: onedir
System Versions:
dist: ubuntu 24.04.1 noble
locale: utf-8
machine: x86_64
release: 6.8.0-45-generic
system: Linux
version: Ubuntu 24.04.1 noble

Please see my explanation of the issue here: https://github.com/salt-extensions/saltext-mysql/pull/10#pullrequestreview-2411950755
In the meantime, I discovered a corresponding issue + PR at the Salt core repo:
https://github.com/saltstack/salt/issues/66102
https://github.com/saltstack/salt/pull/66103
I believe the proposed fix to still be inadequate because - following the filesystem hierarchy analogy - it only lists "subdirectories" while skipping over "files" in the requested cache bank.

Thank you for the time invested, I will slimm down the changes.
I agree with what you have said. Then I will request a feat aswell for using both mysql_cache and mysql as a returner with seperate configs.


Remove this from the GTM Templates Gallery as it's now duplicate with Algolia's one

Hey @thyngster ,
hope everything goes well on your end. I was wondering whether we could remove this version of the template from the gallery as it's now showing as a duplicate with our own "official" one: https://tagmanager.google.com/gallery/#/owners/algolia/templates/search-insights-gtm
Also, we fixed a bug yesterday that you probably also have: https://github.com/algolia/search-insights-gtm/pull/4
Let us know!

Hi @redox I've just requested this to Google.

Hi @redox I've just requested this to Google.

Awesome! thank you!!!

Hello @thyngster, do you have any updates from Google on your request to remove your template from the gallery? Thanks!


Bin resolution for AEP and EAD

i like both of these, both are reasonable - should this be configurable? like, i only want a histogram accurate to the $1000.00
Originally posted by @HenryGeorgist in https://github.com/HydrologicEngineeringCenter/fda-model/pull/59#discussion_r734193575

this issue will be resolved when we figure out sturges rule #116


IP address assignment out of order for dynamic NICs

User needs consistent output of IP address. Similar to https://github.com/F5Networks/terraform-aws-bigip-module/issues/24. However in previous ticket not all NICs that needed to be modified were updated. As a result, dynamic IP assignment uses NIC blocks that did not get the fix.
This applies to public, public1, external_private, and external_private1. Make sure you validate the fix is in both dynamic and static NIC blocks.
See static (fixed) versus dynamic (not fixed)
#This resource is for static  primary and secondary private ips

resource "aws_network_interface" "public" {
  count                   = length(compact(local.external_public_private_ip_primary)) > 0 ? length(local.external_public_subnet_id) : 0
  subnet_id               = local.external_public_subnet_id[count.index]
  security_groups         = [local.external_public_security_id[count.index]]
  private_ip_list_enabled = true
  private_ip_list         = [local.external_public_private_ip_primary[count.index], local.external_public_private_ip_secondary[count.index]]
  source_dest_check       = var.external_source_dest_check
  tags = merge(local.tags, {
    Name = format("%s-%d", "BIGIP-External-Public-Interface", count.index)
    }
  )
}

#This resource is for dynamic  primary and secondary private ips

resource "aws_network_interface" "public1" {
  count             = length(compact(local.external_public_private_ip_primary)) > 0 ? 0 : length(local.external_public_subnet_id)
  subnet_id         = local.external_public_subnet_id[count.index]
  security_groups   = [local.external_public_security_id[count.index]]
  source_dest_check = var.external_source_dest_check
  private_ips_count = 1
  tags = merge(local.tags, {
    Name = format("%s-%d", "BIGIP-External-Public-Interface", count.index)
    }
  )
}

This is still not fixed on all dynamic NICs. For example current code still shows...
resource "aws_network_interface" "public1" {
  count             = length(compact(local.external_public_private_ip_primary)) > 0 ? 0 : length(local.external_public_subnet_id)
  subnet_id         = local.external_public_subnet_id[count.index]
  security_groups   = [local.external_public_security_id[count.index]]
  source_dest_check = var.external_source_dest_check
  private_ips_count = 1
  tags = merge(local.tags, var.externalnic_failover_tags, {
    Name = format("%s-%d", "BIGIP-External-Public-Interface", count.index)
    }
  )
}

This includes any changes needed for the resource as well as outputs.


Multiple predictions per observation for time series

As an evalml user, I want time series pipelines to make multiple predictions per observation. For example, using the data from the past week, predict the target values for the next three days.
How should this parameter be specified?

As an extra parameter to pipeline predict
At the pipeline init level

I think the answer depends on whether this parameter should affect how the pipeline is fit.
If we go with option 1, then the pipeline is fit to only make the "next" prediction (whether that's tomorrow or k days from now) and we can get predictions for the entire horizon by recursively calling predict on the predictions. I think this would work but if the pipeline isn't fit on its own predictions, the errors would compound towards the end of the horizon.
If we go with option 2, then we can either fit a different estimator for each timestep in the horizon or we can fit the estimator with a mixture of its own predictions and ground truth (in the hopes it will learn to correct its mistakes).
The answer will depend how this feature is integrated into AutoML.

@dsherry Might need you for this triage.

@dsherry Might need you for this triage.


User marking on posting

Leave always marked as the first or the last user that the user selects, TweetDeck work that way and in my opinion I think it is easier

Makes sense, I'll do that.

done


point hotkey bug

Description

point hotkey does not work on the object in the world
but it works in right click menu in object list
and if you rebind point, it works well like previous
Reproduction

point
dont work
rebind
work
Screenshots

Additional context

nevermind, i think it just was issue with my scroll wheel


fix(CocoaPods): Added Sub Dependency to DependencyMap

Hi ORT Team,
Could you please review this?
Resolves #7523
ㄴ fix(CocoaPods): Added Sub Dependency to DependencyMap
~Resolves #7543
ㄴ fix(cocoapods): Refined Podspec Name Matching for CocoaPods~

So I've debugged this and read up on the Podfile.lock structure to better understand what the problem is. I was able to solve this (I believe) in a simpler way, see https://github.com/oss-review-toolkit/ort/pull/7558.
@ksg97031 if you can confirm that my PR works for you, we can close this one.

@ksg97031 if you can confirm that my PR works for you, we can close this one.

Thanks for confirming, closing this!


Proof read website

Created from project to keep track of task

I quickly proofread run.biosimulations.org and biosimulators.org around 12/15. Someone else should do this again before we submit papers.

I quickly proofread run.biosimulations.org and biosimulators.org around 12/15. Someone else should do this again before we submit papers.


[New game]: BACKSPACE MAGIC 👾

🎮 Game Request
Game logic and basic description

Welcome to the world of magic world!
 You must beat the boss to become officially a wizard.
To cast a spell, you have to create it inside the "Spell Box".
Inside the Spell Box, there are some random letters.
You cannot type anything, the only thing you can rely on is ... BACKSPACE!

Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Found Devices Show No Options

Describe the bug
When bringing up the GUI window, I can detect and find all the devices on my network, but when selecting any of them, nothing but a blank window shows up. I was able to get a crash log from my Linux Mint system to help further looking into this bug.
To Reproduce
Steps to reproduce the behavior:

Run WLED GUI on a Linux Mint 21.1 install.
Click on a found WLED device on the network.
No options shown in the window for selected device.

Expected behavior
Options for said selected device should show up and be operable.
Screenshots
First image shows the devices on my network.

But when selecting any of them, this is all I am given.

Desktop (please complete the following information):

OS: Linux Mint Cinnamon
Version 21.1

Additional context
Here is a pastebin of the crash report from my system given about the WLED GUI bug.
https://termbin.com/ph0v
If the link does not work, Ill copy it below.
===================================================================
Info
       PID: 2423 (wled-gui)
       UID: 1000 (azurusnova)
       GID: 1000 (azurusnova)
    Signal: 31 (SYS)
 Timestamp: Fri 2023-01-13 01:56:55 PST (5min ago)

Command Line: $'/opt/WLED/wled-gui --type=renderer --field-trial-handle=16358194044287095488,15556290221622830441,131072 --enable-features=WebComponentsV0Enabled --disable-features=CertVerifierService,CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess --lang=en-US --app-path=/opt/WLED/resources/app.asar --enable-sandbox --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=7 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100'
Executable: /opt/WLED/wled-gui
Control Group: /user.slice/user-1000.slice/session-c1.scope
Unit: session-c1.scope
Slice: user-1000.slice
Session: c1
Owner UID: 1000 (azurusnova)
Boot ID: a289d9df7445484eb69508659b0dd76f
Machine ID: e7d0df732b0649e49e97a4d764308014
Hostname: azurusnova
Storage: /var/lib/systemd/coredump/core.wled-gui.1000.a289d9df7445484eb69508659b0dd76f.2423.1673603815000000.zst (present)
Disk Size: 1.6M
Message: Process 2423 (wled-gui) of user 1000 dumped core.
            Found module linux-vdso.so.1 with build-id: dba798e3849739247caa8c4b4acc15cf5f1b3c88
            Found module libresolv.so.2 with build-id: 7fd7253c61aa6fce2b7e13851c15afa14a5ab160
            Found module libkeyutils.so.1 with build-id: ff27227afa5eeddccab180dd29bd7fcff94aea7c
            Found module libmd.so.0 with build-id: cd2d2f71b3967ebde30e2aa43b8eb63339020c06
            Found module libbrotlicommon.so.1 with build-id: 43a72967cf84155914c8b3e915926733d1e57c11
            Found module libgpg-error.so.0 with build-id: 3fbec71c67bee60d8aef00697ee187079b0fb307
            Found module libgmp.so.10 with build-id: f110719303ddbea25a5e89ff730fec520eed67b0
            Found module libhogweed.so.6 with build-id: 3cc4a3474de72db89e9dcc93bfb95fe377f48c37
            Found module libnettle.so.8 with build-id: 3d9c6bf106ef53d625b7b1c8bb1300e84598a74a
            Found module libtasn1.so.6 with build-id: 2fde6ecb43c586fe4077118f771077aa1298e7ea
            Found module libunistring.so.2 with build-id: ca5149da8d5a298b8f286ffca3d6e2402ec0fe01
            Found module libidn2.so.0 with build-id: 45b73e0e1c46a76be22f572ee98c60af5768bf8f
            Found module libp11-kit.so.0 with build-id: a0ffe1d002de5812dc718186172efb78604ddf2c
            Found module libkrb5support.so.0 with build-id: f9dcbdef069078853fc0d3d7fbfc9bbb923cfe3c
            Found module libcom_err.so.2 with build-id: ce0901f10854b3c9276066b98d9a72303206e0d5
            Found module libk5crypto.so.3 with build-id: 1b22be74b69ba5fcd325664ba47bf9e87bf7d530
            Found module libkrb5.so.3 with build-id: c840d413c769ab9bcbcd12740eca61e5a969cce3
            Found module libbsd.so.0 with build-id: 9a6c72469251e2feb63e175ef5cb944ce6e00df3
            Found module libbrotlidec.so.1 with build-id: 4b1f390dd6e24d49684db8b2443d082379e8e977
            Found module libdatrie.so.1 with build-id: 128b6874a47f2b783d9e9060d3caaee4110bfd3d
            Found module libuuid.so.1 with build-id: 64c0d0cb22fa2bdeca075a0c0418ba5ff314b220
            Found module libgraphite2.so.3 with build-id: 5ffbc76fc948f6b88d766a7210c2e6a329a6c278
            Found module libgcrypt.so.20 with build-id: 60a5e524de0ed8323edf33e9eb9127a9eee02359
            Found module libcap.so.2 with build-id: 9e11e3bca4b0a25d047cb36e933e1d727663cf8e
            Found module liblz4.so.1 with build-id: a85971851cd059f1af80d553c8e7170d42ec59a1
            Found module libzstd.so.1 with build-id: 5d9d0d946a3154a748e87e17af9d14764519237b
            Found module liblzma.so.5 with build-id: b85da6c48eb60a646615392559483b93617ef265
            Found module libpcre2-8.so.0 with build-id: 184a841c55fb7fe5e3873fcda8368c71016cd54c
            Found module libblkid.so.1 with build-id: cdf95a964e3302bb356fefc4b801fae8c4340b31
            Found module libgnutls.so.30 with build-id: b9fa7b6d0c47adb8a3f03b2452c3df3eb2c93715
            Found module libavahi-client.so.3 with build-id: bfe4357823739cfde10dbc3a40971c391bee9c41
            Found module libavahi-common.so.3 with build-id: 5e23004fad8b0b7f921dcff3df5f9855904f45d2
            Found module libgssapi_krb5.so.2 with build-id: cfb0a0611861784ae85210cca6e5cc729e554c23
            Found module libstdc++.so.6 with build-id: f57e02bfadacc0c923c82457d5e18e1830b5faea
            Found module libwayland-server.so.0 with build-id: 75c4598a62c3c6e94868467866488cdfba049e7d
            Found module libXdmcp.so.6 with build-id: 6b60f99504aa1d3999ea02a14366d1a39d6c5dcf
            Found module libXau.so.6 with build-id: 7089b383cacbfc1760634a3be19a923e51fe3315
            Found module libXrender.so.1 with build-id: 7ccbfa4c24e93c42fa50dd2e42fa277630f9650c
            Found module libxcb-render.so.0 with build-id: cb521131fd3b0f2ee6056cbc2014b3b8ef0d5c0e
            Found module libxcb-shm.so.0 with build-id: edb24ef4079aa423edcc50a3bb0dfb912fe8a57a
            Found module libfreetype.so.6 with build-id: e3aff1d56fb1aecc723a73882f7d0f208a36c4bc
            Found module libpixman-1.so.0 with build-id: 5e936cdac032b6048d9d1a8c0bb0e4a10c86d48c
            Found module libthai.so.0 with build-id: afa54530349e68380815d606d15dbfda8952799f
            Found module libwayland-client.so.0 with build-id: a85980f4efa33fa5cadfbf257349fef99d499427
            Found module libwayland-egl.so.1 with build-id: e13dfac5961e8fb58c54984fe8110a73c2f5ef99
            Found module libwayland-cursor.so.0 with build-id: abcd1ab467757354ac36fd0938b82d47d7aebe1f
            Found module libXcursor.so.1 with build-id: d936a5db46d8babb0f2cc490df36b6b18a16d8aa
            Found module libXinerama.so.1 with build-id: 9823bebfa26a681265db4aeb09abf44deec38401
            Found module libfontconfig.so.1 with build-id: 0bb435fdd5ec37178e14ea03bb36f779a4b72a94
            Found module libharfbuzz.so.0 with build-id: 3b9c495c079286b8d1f55d0937a0a771593eb7e6
            Found module libpangoft2-1.0.so.0 with build-id: a7dd79c7ea8ec4d5791f83f9a8f34ffbfa8c3801
            Found module libfribidi.so.0 with build-id: 6e075a666e1da8ffdb948d734e75d82b1b6dc0fb
            Found module libepoxy.so.0 with build-id: 5ea53a2b100e4b044eee19d5222881a724abf046
            Found module libcairo-gobject.so.2 with build-id: 71b5bd37d77ea1862d2ed00e9f6ead482f307db8
            Found module libXi.so.6 with build-id: 8ff5a3ac871a90fd9d0a7917c61f748a41c6b5ee
            Found module libpangocairo-1.0.so.0 with build-id: cb231e62ccba07e561d1d08804e975f615a6faf6
            Found module libjpeg.so.8 with build-id: c54abff9294357e28532a76a049a4cb2542fc15b
            Found module libpng16.so.16 with build-id: d58bf7c11ac793d528926238d831792b5ef792cf
            Found module libsystemd.so.0 with build-id: 61fb1ea64197576f79977fb27e1be39a088e7f3e
            Found module libplds4.so with build-id: 7a42de24ba93c1411714c1bf4179f213861ca88d
            Found module libplc4.so with build-id: 5a402ce5ec0224c4d29815c4e15334d92f6ecf05
            Found module libselinux.so.1 with build-id: 6fa53202ce676297de24873c886443b2759bfd8a
            Found module libmount.so.1 with build-id: eeb33f2b4b9c3eb0a29575eb9932ef08663bd836
            Found module libz.so.1 with build-id: 30840b79ac329ecbf1dec0bb60180eed256d319f
            Found module libgmodule-2.0.so.0 with build-id: 991a9f61e69c30ef8ab73761c300ae51249ede63
            Found module libpcre.so.3 with build-id: 3982f316c887e3ad9598015fa5bae8557320476a
            Found module libffi.so.8 with build-id: 59c2a6b204f74f358ca7711d2dfd349d88711f6a
            Found module ld-linux-x86-64.so.2 with build-id: 61ef896a699bb1c2e4e231642b2e1688b2f1a61e
            Found module libc.so.6 with build-id: 69389d485a9793dbe873f0ea2c93e02efaa9aa3d
            Found module libgcc_s.so.1 with build-id: 09c4935b79388431a1248f6a98e00d7dc81b8513
            Found module libatspi.so.0 with build-id: 2843c68233d5ba81da3d6bc31422e49472873dba
            Found module libcups.so.2 with build-id: d3f64a3ab859de045e124a0271356296fa446150
            Found module libasound.so.2 with build-id: d1986cd985564afaa9aa64c753423b01dd5b228e
            Found module libgbm.so.1 with build-id: bf1b52367ee353eee83b42a4e2e0486d67f1c0e2
            Found module libxkbcommon.so.0 with build-id: a4b17d939092101dc8f6b2a1d70eaf1fddb2dd51
            Found module libxcb.so.1 with build-id: 1bef862a339557aa16c34c7a4b27f8f3aea90517
            Found module libexpat.so.1 with build-id: d212d1f61d04a1e60fccad1a8c118428cfd9be42
            Found module libXrandr.so.2 with build-id: 069f930a2b41f3908a1a92b1a51c38bd13a559e2
            Found module libXfixes.so.3 with build-id: a9c550a40b8154a3b4b5e2ac182bb50c013c3f18
            Found module libXext.so.6 with build-id: 9fb1880e02dfa11a8c39cd1a170109de08302059
            Found module libXdamage.so.1 with build-id: 8358b7625700dc247fa21fb4304cba877a28bb04
            Found module libXcomposite.so.1 with build-id: 2c84db5342304ba1a76db7dd9b7a3bfaa8a716ce
            Found module libX11.so.6 with build-id: b8d9314a7185312e4813abcac67d8b68ae2fd690
            Found module libm.so.6 with build-id: 27e82301dba6c3f644404d504e1bb1c97894b433
            Found module libcairo.so.2 with build-id: 60a39c3684e41370bd0a59ed1ecbdccf47e30069
            Found module libpango-1.0.so.0 with build-id: 2d778a30dd59c0673b0208c538999ccc0991093a
            Found module libgdk-3.so.0 with build-id: 97b768ef80858a79741be2492754d948989e63c6
            Found module libgtk-3.so.0 with build-id: 9a340345f5e200f42140f3cb4bacb407e91843f8
            Found module libgdk_pixbuf-2.0.so.0 with build-id: 374b383e3b68b5d8b552519094129f401596e502
            Found module libdrm.so.2 with build-id: d32defdcdf5f200f16d1633e52372f5e158f64a5
            Found module libdbus-1.so.3 with build-id: 63e8b99215502138cb63afd6d65851a5e837ed49
            Found module libatk-bridge-2.0.so.0 with build-id: 7e8009077fbdcd7bf094c51bf78742b96f216d73
            Found module libatk-1.0.so.0 with build-id: b93088667fbd06f6b72d273403d352e7c0554698
            Found module libnspr4.so with build-id: e3e4d4d1a1147e472eccb52c81c7900edd363c43
            Found module libsmime3.so with build-id: 292adbee233a91d925fd9ee6383937642dfabd74
            Found module libnssutil3.so with build-id: b24a1ca29f12cf954fe008d91fdb385f813cce7f
            Found module libnss3.so with build-id: 8b792587a5804b3f7a31761a10d2b45fdfed054b
            Found module libgio-2.0.so.0 with build-id: 9b52271b63917542ba10ffb8a82b97befd2c238f
            Found module libxshmfence.so.1 with build-id: f08296172ec7b676e1b371afc936e36add17366d
            Found module libglib-2.0.so.0 with build-id: 137458a0f7846a084270bf5bb03df075a578db6d
            Found module libgobject-2.0.so.0 with build-id: 44f60e584780daaeb1880ead5dd00f12ffd423d2
            Found module librt.so.1 with build-id: 1030be4690f8aa93b63acd9180b3037d99a974bf
            Found module libpthread.so.0 with build-id: e62798b68557abb4bc5548aba2640cd5ab948f36
            Found module libdl.so.2 with build-id: 952123c3bdce7c3370553717942b4878d1fad797
            Found module libffmpeg.so with build-id: 13070cd6d4401903dee7a42e402d150de4362b18
            Found module wled-gui with build-id: 50300d22dcba520f8681cbf4f8bd71ff9320371c
            Stack trace of thread 1:
            #0  0x00007f99924909ed __clone3 (libc.so.6 + 0x1269ed)

===================================================================
GDB Log
warning: Can't open file /dev/shm/.org.chromium.Chromium.D6WhRH (deleted) during file-backed mapping note processing
[New LWP 1]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/WLED/wled-gui --type=rendere'.
Program terminated with signal SIGSYS, Bad system call.
#0  clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:62
62	../sysdeps/unix/sysv/linux/x86_64/clone3.S: No such file or directory.
===================================================================
GDB Backtrace
warning: Can't open file /dev/shm/.org.chromium.Chromium.D6WhRH (deleted) during file-backed mapping note processing
[New LWP 1]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/WLED/wled-gui --type=rendere'.
Program terminated with signal SIGSYS, Bad system call.
#0  clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:62
62	../sysdeps/unix/sysv/linux/x86_64/clone3.S: No such file or directory.
#0  clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:62
#1  0x00007f9992490a51 in __GI___clone_internal (cl_args=cl_args@entry=0x7fff6f1756e0, func=func@entry=0x7f99923fe850 <start_thread>, arg=arg@entry=0x7f998f941640) at ../sysdeps/unix/sysv/linux/clone-internal.c:54
#2  0x00007f99923fe759 in create_thread (pd=pd@entry=0x7f998f941640, attr=attr@entry=0x7fff6f175a70, stopped_start=stopped_start@entry=0x7fff6f1757fe, stackaddr=stackaddr@entry=0x7f998f141000, stacksize=8386688, thread_ran=thread_ran@entry=0x7fff6f1757ff) at ./nptl/pthread_create.c:295
#3  0x00007f99923ff280 in __pthread_create_2_1 (newthread=, attr=, start_routine=, arg=) at ./nptl/pthread_create.c:828
#4  0x000055b7e45ca44b in ?? ()
#5  0x000017a12d867be0 in ?? ()
#6  0x00007f998f941640 in ?? ()
#7  0x00007fff6f1759b0 in ?? ()
#8  0x000017a12d6f2c80 in ?? ()
#9  0x0000000000000030 in ?? ()
#10 0x000017a12d84cbb8 in ?? ()
#11 0x00007fff6f175970 in ?? ()
#12 0x000055b7e9c95c85 in __start_google_malloc ()
#13 0x000055b7e4a60d74 in ?? ()
#14 0x00007fff6f175b30 in ?? ()
#15 0x0000000000000000 in ?? ()
===================================================================
GDB Backtrace (all threads)
warning: Can't open file /dev/shm/.org.chromium.Chromium.D6WhRH (deleted) during file-backed mapping note processing
[New LWP 1]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/WLED/wled-gui --type=rendere'.
Program terminated with signal SIGSYS, Bad system call.
#0  clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:62
62	../sysdeps/unix/sysv/linux/x86_64/clone3.S: No such file or directory.
Thread 1 (Thread 0x7f9990e313c0 (LWP 1)):
#0  clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:62
No locals.
#1  0x00007f9992490a51 in __GI___clone_internal (cl_args=cl_args@entry=0x7fff6f1756e0, func=func@entry=0x7f99923fe850 <start_thread>, arg=arg@entry=0x7f998f941640) at ../sysdeps/unix/sysv/linux/clone-internal.c:54
ret =
saved_errno = 1
flags =
stack =
#2  0x00007f99923fe759 in create_thread (pd=pd@entry=0x7f998f941640, attr=attr@entry=0x7fff6f175a70, stopped_start=stopped_start@entry=0x7fff6f1757fe, stackaddr=stackaddr@entry=0x7f998f141000, stacksize=8386688, thread_ran=thread_ran@entry=0x7fff6f1757ff) at ./nptl/pthread_create.c:295
need_setaffinity =
clone_flags = 4001536
tp = 0x7f998f941640
args = {flags = 4001536, pidfd =<PHONE_NUMBER>71472, child_tid =<PHONE_NUMBER>71472, parent_tid =<PHONE_NUMBER>71472, exit_signal = 0, stack =<PHONE_NUMBER>80544, stack_size = 8386688, tls =<PHONE_NUMBER>70752, set_tid = 0, set_tid_size = 0, cgroup = 0}
ret =
PRETTY_FUNCTION = "create_thread"
#3  0x00007f99923ff280 in __pthread_create_2_1 (newthread=, attr=, start_routine=, arg=) at ./nptl/pthread_create.c:828
stackaddr = 0x7f998f141000
stacksize =
iattr = 0x7fff6f175a70
default_attr = {external = {__size = "\250X\027o\377\177\000\000@\002\000\000\000\000\000\000\200X\027o\377\177\000\000\225\313\266\343\267U\000\000\200X\027o\377\177\000\000\200\000\000\000\000\000\000\000\017\002\000\000\000\000\000", __align =<PHONE_NUMBER>89032}, internal = {schedparam = {sched_priority =<PHONE_NUMBER>}, schedpolicy = 32767, flags = 576, guardsize =<PHONE_NUMBER>88992, stackaddr = 0x55b7e3b6cb95, stacksize =<PHONE_NUMBER>88992, extension = 0x80, unused = 0x20f}}
destroy_default_attr =
c11 =
pd = 0x7f998f941640
err = 0
retval = 0
self =
stopped_start = false
thread_ran = false
original_sigmask = {__val = {0,<PHONE_NUMBER>, 4, 27968, 2, 736,<PHONE_NUMBER>4112,<PHONE_NUMBER>89016,<PHONE_NUMBER>89088,<PHONE_NUMBER>5703,<PHONE_NUMBER>0880,<PHONE_NUMBER>7184,<PHONE_NUMBER>6608,<PHONE_NUMBER>4112, 16, 1}}
PRETTY_FUNCTION = "__pthread_create_2_1"
#4  0x000055b7e45ca44b in ?? ()
No symbol table info available.
#5  0x000017a12d867be0 in ?? ()
No symbol table info available.
#6  0x00007f998f941640 in ?? ()
No symbol table info available.
#7  0x00007fff6f1759b0 in ?? ()
No symbol table info available.
#8  0x000017a12d6f2c80 in ?? ()
No symbol table info available.
#9  0x0000000000000030 in ?? ()
No symbol table info available.
#10 0x000017a12d84cbb8 in ?? ()
No symbol table info available.
#11 0x00007fff6f175970 in ?? ()
No symbol table info available.
#12 0x000055b7e9c95c85 in __start_google_malloc ()
No symbol table info available.
#13 0x000055b7e4a60d74 in ?? ()
No symbol table info available.
#14 0x00007fff6f175b30 in ?? ()
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.
#0  clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:62
#1  0x00007f9992490a51 in __GI___clone_internal (cl_args=cl_args@entry=0x7fff6f1756e0, func=func@entry=0x7f99923fe850 <start_thread>, arg=arg@entry=0x7f998f941640) at ../sysdeps/unix/sysv/linux/clone-internal.c:54
#2  0x00007f99923fe759 in create_thread (pd=pd@entry=0x7f998f941640, attr=attr@entry=0x7fff6f175a70, stopped_start=stopped_start@entry=0x7fff6f1757fe, stackaddr=stackaddr@entry=0x7f998f141000, stacksize=8386688, thread_ran=thread_ran@entry=0x7fff6f1757ff) at ./nptl/pthread_create.c:295
#3  0x00007f99923ff280 in __pthread_create_2_1 (newthread=, attr=, start_routine=, arg=) at ./nptl/pthread_create.c:828
#4  0x000055b7e45ca44b in ?? ()
#5  0x000017a12d867be0 in ?? ()
#6  0x00007f998f941640 in ?? ()
#7  0x00007fff6f1759b0 in ?? ()
#8  0x000017a12d6f2c80 in ?? ()
#9  0x0000000000000030 in ?? ()
#10 0x000017a12d84cbb8 in ?? ()
#11 0x00007fff6f175970 in ?? ()
#12 0x000055b7e9c95c85 in __start_google_malloc ()
#13 0x000055b7e4a60d74 in ?? ()
#14 0x00007fff6f175b30 in ?? ()
#15 0x0000000000000000 in ?? ()

For the time being I have uninstalled the app since every time my system would crash while I am gaming, that would be the only app that would show up in the crash log in my Mint system.

Hi! Thank you for the report?
What WLED version do you use?
Does it work if you enable online Mode in settings?

Hi! Thank you for the report! What WLED version do you use? Does it work if you enable online Mode in settings?

Using the latest version that I can get from here on the site.
I havent tried the online mode in settings, cant at the moment since I am trying to suss out another issue of my whole system crashing out while playing a game after my GPU upgrade. Trying to update the BIOS to see if that problem is sussed out.
I still don't know why I can't reply without it closing out the issue, I don't want to close it out. It only gives these two options for me when trying to reply.

I meant which WLED version do your lights have?
You can see the version if you click on info here:

I meant which WLED version do your lights have? You can see the version if you click on info here:

Had to pull this from my phone since those options do not even come up in the UI.

It is probably because of the WLED version 0.14.
WLED-GUI does not support this version right now completely.
But I think it would work if you enable online mode for the devices with this version in WLED-GUI settings.

Tried setting one of the lamps toggles to online mode and it didn't change anything for it.
Sorry for the late reply, had to debug a crashing system after a GPU upgrade (ended up being the power supply).
I will be keeping closer tabs and hoping for a possible upgrade.
Thank you though for all your work on making WLED much better through this.
On a note, I did try an older version of the program as you suggested to someone else having the same issue on a windows machine, while it did kind of work, it wasnt ideal.

I will try to reproduce and fix this, maybe in March.
Sorry for that, but I have to do a lot of other stuff right now. 😞

No pressure. I am glad that I could spot this issue and provide the information I have.
I'll be following along as you go.

How did you install WLED? The latest release is 0.14.0-b1. How did you install <IP_ADDRESS>.1?
Have you tried it with using the latest release from here?
https://github.com/Aircoookie/WLED/releases

How did you install WLED? The latest release is 0.14.0-b1. How did you install <IP_ADDRESS>.1? Have you tried it with using the latest release from here? https://github.com/Aircoookie/WLED/releases

Sorry about the long delay.
Ive been having this issue with all versions of WLED, the normal version and even the Moon Mod version.
Ive installed them with ESP-Flasher, https://install.wled.me/ and even using the over the air option on each board.

Damn close option, wish that wasnt the default. lol

Just to be sure: Does only the settings page not work in WLED-GUI or does the whole WLED Page not show up?

When staring up the app, the lights show up in the list, but anytime I click on one and go to the gui for the lights, its all blank.

This is what I should see from my lights.
(this is a screenshot from the browser.)

This is what I see here from the app.

/home/azurusnova/Videos/2023-04-17-02:56:01.187469660.mkv
Here's a video clip of what I am encountering, if that would help make sense of what I am dealing with.

Thank you for the video! I have to look into this again and try to reproduce it.

I was wondering if you have ever found a fix.

Hi!
To be honest, I haven't tried to reproduce it, and seeing that you created this issue over a year ago makes me feel a little sad for you. I wasn't very motivated to fix it because I would have had to set up Linux Mint as well.
Unfortunately, I won't be able to fix it until March. I know I already said this last year, but I have enough to do at the moment with WLED and other things. 😞
Maybe there is somebody who wants to fix this and make a pull request. Otherwise, I'll have to look into it. But I don't want to make any empty promises. Let's see if I get around to it this time.

Don't worry about the timeline. I am patient. :P
Also I tried installing the latest version onto another Mint computer and got the same results.
I am starting to think that this could be a chrome issue if this is what it is running on as a backend.


[Feature]: add test logic for the docker build process

example
FROM rockylinux/rockylinux:9

RUN touch /tmp/foo.txt

# check if the file exists
# test: RUN test -f /tmp/foo.txt

.PHONY:
test:
	grep -v '^# test:' Dockerfile > Dockerfile.test
	$(CONTAINER_TOOL) build -t example.com/foo:latest -f Dockerfile.test .
	rm -f Dockerfile.test

explain
Check that the previous build meets expectations by adding some RUN instructions to the dockerfile that you need to test. In order not to affect the production image, pass the test instructions through the # test: comment. Remove the # test: tag with the command before the test is executed, and then use the temporary test dockerfile. Build the image directly during the build phase without worrying about the annotated test instructions. On the other hand, it also has a certain role for developers.
pros

Before release, check whether the image meets the requirements through CI to discover problems in advance and reduce bugs in production
With dockerfile, you can see more details and important information about container construction, which is always more important for the target content of the test. For example, whether the source code build or install program commands are available, or whether the specified program version is satisfied, whether the file added to the container exists, and so on.

cons

Because you need to use a RUN instruction for detection, you need to add another layer when writing the dockerfile, even if the instruction is commented out during production. When you write, however, there is an instruction to break up an otherwise long RUN instruction into multiple RUN instructions and insert tests into them. This undoubtedly increases the number of layers of the container image.

If you consider not disassembling the existing RUN instruction, you can add build-args to pass a TEST=true environment variable when testing, and judge and test in the shell logic of the existing RUN instruction. However, this will increase the complexity of the RUN instruction and increase the development cost.
On the issue of the number of layers of dockerfile, in the early docker practice, it was proposed to minimize the number of layers, and there are some views on the concept of not exceeding many layers. But that's rarely seen now. By using the cloud-native build tool buildpacks, we can see that in order to maximize the reuse of the container system, each layer will be very small, and the final number of layers of the image is very large, of course, we can also see that the number of building layers of some mainstream images reaches more than 10 layers.

@lwpk110 @tutunannan please review


In volto's Env vars reference documentation, also mention and link the Razzle documentation

For example, we don't have it documented that you can use a custom PORT env var.
https://razzlejs.org/docs/environment-variables

See also:

https://github.com/plone/volto/issues/4581
https://github.com/plone/volto/issues/2810#issuecomment-1485476894
https://github.com/plone/volto/issues/2810#issuecomment-1344380747

@tiberiuichim
If the documentation for RazzleJS does not explicitly mention how to use a custom PORT environment variable, you can still set a custom port using the general approach for setting environment variables in Node.js applications.

@tiberiuichim Is there a need to document each env variable or just linking the Razzle documentation is fine?


Generate Flow for a roadnet.json file

Hello;
The big issue with the CityFlow project is the lack of documentation and updating the  platform.
I want to ask is there any way to generate the Flow file from the ready roadnet.json File?
Thanks

Actually, there is a doc for CityFlow: https://cityflow.readthedocs.io/en/latest/.
For now, we don't have a script for generating flow given roadnet, you can just traverse all roads in your roadnet file, and generate the flow given any two roads as origin and destination. CityFlow has the auto-route generator so that you only need to set the origin road and the destination road instead of the whole route.


avoid unneccessary base64 encode of protected data for tag computation

Signed-off-by: lovesh harchandani<EMAIL_ADDRESS>

I think this PR should be closed. It moves us away from the JWE standard and I don't believe it garnered enough efficiency worth accepting it. I believe this is why @lovesh closed the PR that referenced this.

This has been superseded by a slightly modified technique that uses out-of-the-box JWE/JWS features.


Tests

Would love for there to be tests..
Here's a use case: https://github.com/IvyApp/ivy-sortable/issues/3#issuecomment-74893997

You're welcome to do the time, as long as you use tape, sinon, and proxyquire. I'm blazing through other stuff at the moment

hmmm mabey I can help to but on my free time. I'm trying to learn in coding different sites

Is anyone on this? Maybe i can help too

Nope. Give it a shot!

Ok i will try to help you.
I just need to look how to use tape, i never use it and don't know how it's work.

Example: https://github.com/taunus/taunus/blob/master/test/browser/componentCache.js

Nice example.

Thanks, i will have a look at it

some higher level tests, for example with protractor?

I'd rather just have tests using tape that doesn't need any confusing setup

You mean a simple protractor config and a static webserver would be confusing?
E2E could sit on top of unit tests ensuring that the component is usable in a real word scenario not just in a unit test. For example an element drag is easily reproducable with Protractor.

You can also use testling which is just a unixy CLI tool

testling seems abandoned, I saw multiple repos switching to zuul+saucelabs and I made that switch in one repo - easy as a breeze (unless browsers start timing out ;) )

Agreed, zuul would be great. Anyone willing to take this on?

 There's a ton of corner cases missing, but it's definitely way better than where it was before. Also, I need to set up CI with travis or circle at some point. For now it's just running locally on development environments.


Usage pattern suggestion: Open Source Model served over OpenAI-like API Server

Python-llama-cpp and OpenRouter.ai are gain traction among llm users for their being able to serve OpenSource models over an OpenAI-like API interface. Personally, I often deploy a local model to a Colab notebook then tunnel the endpoint to a Ngrok public URL for consumption.
I wonder if it's possible for py-llm-core to accommodate this pattern of usage. This will also be useful for user who are using the Azure Open AI service as it also requires providing a custom api endpoint.

There are several things to consider:
The OpenAI API provides the functions parameters to ensure structured output:
If the target server running a OpenAI-like API support this => subclassing llm.openai.OpenAIChatModel is the easiest route. You would have to:

modify api_base: openai.api_base = "http://<Your api-server IP>:port"
implement the ctx_size property to return the context size of the target model

This means writing something like that should work:
import openai
from llm_core.llm import OpenAIChatModel
from llm_core.parsers import BaseParser

openai.api_base = "http://<Your api-server IP>:port"

class MyOpenAICompatibleLLM(OpenAIChatModel):
    name: str = "< model name >"
    ctx_size: int = 4000

class MyOpenAICompatibleParser(BaseParser):
    def __init__(
        self,
        target_cls,
        model="< model name >",
        completion_kwargs=None,
        *args,
        **kwargs
    ):
        super().__init__(target_cls, *args, **kwargs)

        # Your custom initialization code should be written here
        self.completion_kwargs = (
            {} if completion_kwargs is None else completion_kwargs
        )

        self.model_wrapper = MyOpenAICompatibleLLM(
            name=model,
            system_prompt=(
                "Act as a powerful AI able to extract, parse and process "
                "information from unstructured content."
            ),
        )
        self.ctx_size = self.model_wrapper.ctx_size
        self.model_name = self.model_wrapper.name

Support for Azure deployments was added. Closing the issue.


perf: ensure compiler options affecting semantic diagnostics get included in build info

With --allowImportingTsExtensions it was never using the build info because it wouldn't store "allowImportingTsExtensions" in the buildinfo file.
I'm not sure how to write a test for this as it doesn't seem easily unit testable. Some guidance would be helpful if you'd like a test.

(Side note: The removal of Andrew as a reviewer was unintentional. I'm not sure if GH automatically did that)


Networking: RPC Signals

I wonder if there is a way to send a signal over a Network.
In my situation I want to send a "client ready" message to the server when the client has loaded the world and is ready to have the other players spawned.
With RPC this is not doable because the function does have to exist locally but the onClientReady method should only be implemented on the server.
My suggestion is that there should be some other kind of networked method call to call a method on a remote.
Am I missing anything? Would there be a correct way to implement this?

Like instead using:
EmitSignal("mysignal", obj_where_method_is, "_on_my_method");
something like this?:
RpcEmitSignal("mysignal", obj_where_method_is, "_on_my_method");
RpcIDEmitSignal(1,"mysignal", obj_where_method_is, "_on_my_method");

But , the connection, how can be done? Which side will be in charge?

I think you confused EmitSignal with Connect. I think a combination of your two ideas looks good.
Lets assume that for the Server and Client we have two seperate projects.
In the client project Client.cs is a autoloaded singleton on /root/Network.
In the server project Server.cs is a also autoloaded singleton on /root/Network
Client.cs

[Signal]
[Remote]
delegate void mysignal();

RpcEmitSignal("mysignal", obj_where_method_is);
// in our setup obj_where_method_is == this

Server.cs
obj_where_signal_is.RpcConnectSignal("mysignal", this , "on_my_signal");
// in our setup obj_where_signal_is == this

private void on_my_signal() {
    //...
}

But , the connection, how can be done? Which side will be in charge?

That is a good question. I think the party which receives the signal (the one on which actual code will be executed) should be in charge for connecting.

If is like this we will need something like this?

I think so too.

So the remote object have to be shared/checked across network.. How will be the network performances?

See above for a proposed sharing mechanism. I think this way the performance will just be as it is with current rpc.

I got an idea.
This would not really be signals but could be used like they were.
In the current networking code a rpc processed like this:
https://github.com/godotengine/godot/blob/ea48b403a9e7b8ddb2b814c6ea413bb9f5ed0518/core/io/multiplayer_api.cpp#L1012-L1078
In short:

Get rpc mode of locally existent function
Execute locally when Sync
Send over the network to remote peer id

When we would change the order to be:

Execute locally when sync
Send over the network to remote peer id
Get rpc mode of locally existent function

It would allow to call a function that does not exist locally but on the remote.
Then Node.ConnectRpc("method", object, "handler_method") could just set the [Remote] attribute on the Node object.
Still somehow the emitter of the signal has to know which function to call on the remote...
Maybe we could add some internal method that does this.

@maringuu  I din't investigate in the code yet, but I have some reserve about all this:
Nowadays network games are setup with authoritative server for several reasons - security in first place. I'm not sure how this impact the whole structure and how people are supposed to manage lag and other issues. While currently we sent our date by methods/properties and it is "easy" to check manage them if something like that will be implemented how we able to manage them? I'm not sure if we really we need at this point. Another side is IF the engine will be in charge of this problems but I doubt :)

This is probably a better fit for the proposals repo. Can you edit this post to follow tgat repo's issue template? Then @Calinou can move it

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!