Change links at bottom of page

Checks

[X] I have searched the docs, existing issues, and existing discussions for answers first.

Link to your website repo
https://climate-data-dynamics.github.io/climate-data-dynamics-lab-website/team/
Version of Lab Website Template you are using
No response
Description
Need to update all the links at bottom of page to lab and/or Zika accounts.

This can be done in _config.yaml
# site social media and other links
links:
  email<EMAIL_ADDRESS>  orcid: 0000-0001-8713-9213
  google-scholar: ETJoidYAAAAJ
  github: Climate-Data-Dynamics
  twitter: Climate-Data-Dynamics
  youtube: Climate-Data-Dynamics

The GitHub account is correct but like you say the rest are not!


Add dct and r2r

It's not clear why fft is here but not dct or r2r.

There are lots of types of r2r transformations, and different nomenclatures and normalizations.  Do we want to specify FFTW's choices here?


Improvements

Related to https://github.com/vikejs/vike-react/discussions/30
See commit messages for more details

Thanks for the review and improvement PR.
Even the comments are awesome.
I do really appreciate that.
I will merge this tomorrow 👍


Update by Query script to modify sort_collection_data for ETL'd collections

This work would fix #862, #861, and #947 for collections already in the OpenSearch index, but would not fix re-harvests of ETL'd content - re-harvests of ETL'd content are resolved by PR #946.
To summarize the issues detailed in #862, #861, and #947, there are two issues with the ETL'd mapper's mapping of the sort_collection_data field:

Issue 1: (seen in #862, #861, and #947)
For ETL'ed collections, we have sort_collection_data values in the index that looks like this: california revealed from oakland museum of california::California Revealed from Oakland Museum of California::https:://registry.cdlib.org/api/v1/collection/26262/
For other collections, we have sort_collection_data values in the index that look like this: ctsa digital audio archive::CTSA Digital Audio Archive::26466
We need to modify all the existing sort_collection_data values to remove the https:://registry.cdlib.org/api/v1/collection/ part (along with the trailing /), or re-harvest all ETL collections.

Issue 2: (seen in #861 and #947)
For ETL'ed collections, we have sort_collection_data values in the index that look like this: california of the past alameda::California of the Past:: Alameda::https:://registry.cdlib.org/api/v1/collection/27162/. Even after resolving Issue 1, we'd still have california of the past alameda::California of the Past:: Alameda::27162 - note the :: between "California of the Past" and " Alameda".
We want to have california of the past alameda::California of the Past: Alameda::27162
We need to modify all the existing sort_collection_data values to replace the :: special delimiter character with : in the Collection display name, or re-harvest all 44 ETL collections that have a : character in their name.

I think this is the sort of script we want to write:
For each collection ID that's been ETL'd, verify that registry.cdlib.org is in the sort_collection_data field, and that the sort_collection_data field is an array of length 1:
GET _search
{
  "query": {"terms": {"collection_url": ["26262"]}},
  "aggs": {
    "sort_collection_data": {
      "terms": {
        "field": "sort_collection_data",
        "size": 10000,
        "order": {"_key": "asc"}
      }
    }
  }
}

check that there is exactly 1 value for the sort_collection_data field across all records of this collection:
len(response.aggregations.sort_collection_data.buckets) == 1
(if not, let's fail the script and look at this collection manually?)
check that the number of records with this 1 sort_collection_data value is the same as the number of records with this collection ID:
response.aggregations.sort_collection_data.buckets[0].doc_count == response.hits.total.value
(if not, let's fail the script and look at this collection manually?)
check that the sort_collection_data field value (incorrectly) has the full collection URL instead of the collection ID:
"registry.cdlib.org" in response.aggregations.sort_collection_data.buckets[0].key
(if not, let's fail the script, presumably this collection has a good value for sort_collection_data, but maybe we want to double check that manually?)
check if the sort_collection_data field value (incorrectly) has a double colon in the collection name:
len(response.aggregations.sort_collection_data.buckets[0].key.split("::")) > 4 (we check against 4 because, even though sort_collection_data should only have 3 parts, we've already ascertained that registry.cdlib.org exists in the value, so presumably http:://registry.cdlib.org exists in the value, resulting in 4 parts: <sortable collection name>, <collection name>, http, //registry.cdlib.org..., and if a colon exists in the collection name, then we'll have more than 4 parts)
If the value only has the first problem (the full URL problem), we can compose a new value by:
sort_collection_data_parts = response.aggregations.sort_collection_data.buckets[0].key.split("::")
new_value = [f"{sort_collection_data_parts[0]}::{sort_collection_data_parts[1]::{collection_id}"]
If the value has both problems (the full URL problem and a colon in the collection name), we can compose a new value by:
if len(sort_collection_data_parts) > 5
# this is some sort of collection name with multiple colons in the name, and we should fail the script and look at this manually
new_value = [f"{sort_collection_data_parts[0]}::{sort_collection_data_parts[1]}:{sort_collection_data_parts[2]::{collection_id}"]
then we can update:
POST _update_by_query
{
  "query": {"terms": {"collection_url": ["26262"]}},
  "script": {
    "source": "ctx._source.sort_collection_data = params.data",
    "lang": "painless",
    "params": {
      "data": <new_value>
    }
  }
}

This looks good to me. It looks similar to the approach I've taken before and wrote some notes on here: https://github.com/ucldc/rikolti/tree/main/record_indexer#opensearch-index-record-updates
The only tweak I might make is to use a term rather than terms query in the case(s) where you're searching for records with a given collection ID, i.e.:
{
  "query": {"term": {"collection_url": "26262"}}
}

I was wondering if we could write a reusable script for updating by query, but I feel like every case is going to be slightly different so not sure that we can generalize it...

@barbarahui ohhh, hrm, I tried running this in the OpenSearch UI's Dev Tools Console as your docs describe, but I encountered a permissions issue.

@amywieliczka Hrm, which user were you logged in as? I think it'd have to be the master user (credentials are stored in AWS Secrets Manager).

@amywieliczka Agree, this approach seems like the right one to me.


Datadog scaler: no matching metrics

Report
I want scale a pod with metrics from datadog but I couldn't.
Describe of the scaled objet:
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-trigger-auth-datadog-secret
  namespace: keda-test
spec:
  secretTargetRef:
  - parameter: apiKey
    name: datadog-secrets
    key: apiKey
  - parameter: appKey
    name: datadog-secrets
    key: appKey
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: datadog-scaledobject
  namespace: keda-test
spec:
  scaleTargetRef:
    apiVersion:    apps/v1
    kind:          Deployment
    name:          nginx-deployment-datadog
  pollingInterval:  5
  minReplicaCount:  1
  maxReplicaCount:  5
  triggers:
  - type: datadog
    metadata:
      query: "sum:kubernetes.pods.running{kube_namespace:keda-test,cluster_name:keda-cluster}"
      queryValue: "4"
      age: "10"
    authenticationRef:
      name: keda-trigger-auth-datadog-secret

Describe of the HPA:
Name:                                                               keda-hpa-datadog-scaledobject
Namespace:                                                          keda-test
Labels:                                                             app.kubernetes.io/managed-by=keda-operator
                                                                    app.kubernetes.io/name=keda-hpa-datadog-scaledobject
                                                                    app.kubernetes.io/part-of=datadog-scaledobject
                                                                    app.kubernetes.io/version=2.6.1
                                                                    scaledobject.keda.sh/name=datadog-scaledobject
Annotations:                                                        <none>
CreationTimestamp:                                                  Fri, 22 Apr 2022 21:04:39 -0300
Reference:                                                          Deployment/nginx-deployment-datadog
Metrics:                                                            ( current / target )
  "s0-datadog-sum-kubernetes-pods-running" (target average value):  <unknown> / 4
Min replicas:                                                       1
Max replicas:                                                       5
Deployment pods:                                                    1 current / 0 desired
Conditions:
  Type           Status  Reason                   Message
  ----           ------  ------                   -------
  AbleToScale    True    SucceededGetScale        the HPA controller was able to get the target's current scale
  ScalingActive  False   FailedGetExternalMetric  the HPA was unable to compute the replica count: unable to get external metric keda-test/s0-datadog-sum-kubernetes-pods-running/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: datadog-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-datadog-sum-kubernetes-pods-running
Events:
  Type     Reason                        Age                    From                       Message
  ----     ------                        ----                   ----                       -------
  Warning  FailedComputeMetricsReplicas  40m (x12 over 43m)     horizontal-pod-autoscaler  invalid metrics (1 invalid out of 1), first error is: failed to get s0-datadog-sum-kubernetes-pods-running external metric: unable to get external metric keda-test/s0-datadog-sum-kubernetes-pods-running/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: datadog-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-datadog-sum-kubernetes-pods-running
  Warning  FailedGetExternalMetric       2m51s (x159 over 43m)  horizontal-pod-autoscaler  unable to get external metric keda-test/s0-datadog-sum-kubernetes-pods-running/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: datadog-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-datadog-sum-kubernetes-pods-running

Expected Behavior
No failure event on the HPA
Scaling pods with datadog metrics
Actual Behavior
Failure event on the HPA.
The object does not scale
Steps to Reproduce the Problem

kubectl create deployment nginx-deployment-datadog --image nginx -n keda-test
Apply  ScaledObject

Logs from KEDA operator
Log keda-metrics-apiserver:
E0423 00:20:31.943388       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="error getting metrics from Datadog: no Datadog metrics returned"  "scaledObject.Name"="datadog-scaledobject" "scaledObject.Namespace"="keda-test" "scaler"={}
E0423 00:20:31.943661       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-datadog-sum-kubernetes-pods-running"}: no matching metrics found for s0-datadog-sum-kubernetes-pods-running
E0423 00:20:47.135279       1 logr.go:270] keda_metrics_adapter/datadog_scaler "msg"="error getting metrics from Datadog" "error"="no Datadog metrics returned"
E0423 00:20:47.312257       1 logr.go:270] keda_metrics_adapter/datadog_scaler "msg"="error getting metrics from Datadog" "error"="no Datadog metrics returned"

KEDA Version
2.6.1
Kubernetes Version
1.21
Platform
Amazon Web Services
Scaler Details
Datadog
Anything else?
No response

Hi,
Sorry for the delay on response :(
Could you also share operator logs? Could this be already solved with latest changes in the scaler @arapulido ?

Log keda-operator
1.6512754995241346e+09  INFO    controller-runtime.metrics      Metrics server is starting to listen    {"addr": ":8080"}
1.6512754995262947e+09  INFO    setup   Running on Kubernetes 1.21+     {"version": "v1.21.5-eks-bc4871b"}
1.6512754995265932e+09  INFO    setup   Starting manager
1.6512754995267165e+09  INFO    setup   KEDA Version: 2.6.1
1.6512754995267892e+09  INFO    setup   Git Commit: efca71d6bc770408468a9e1a4b3984f7136c0967
1.6512754995268617e+09  INFO    setup   Go Version: go1.17.3
1.6512754995269434e+09  INFO    setup   Go OS/Arch: linux/amd64
1.6512754995272608e+09  INFO    Starting server {"path": "/metrics", "kind": "metrics", "addr": "[::]:8080"}
1.651275499527264e+09   INFO    Starting server {"kind": "health probe", "addr": "[::]:8081"}
I0429 23:38:19.527339       1 leaderelection.go:248] attempting to acquire leader lease keda/operator.keda.sh...
I0429 23:38:19.549377       1 leaderelection.go:258] successfully acquired lease keda/operator.keda.sh
1.6512754995498044e+09  INFO    controller.scaledobject Starting EventSource    {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "source": "kind source: *v1alpha1.ScaledObject"}
1.651275499549932e+09   INFO    controller.scaledobject Starting EventSource    {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "source": "kind source: *v2beta2.HorizontalPodAutoscaler"}
1.651275499550015e+09   INFO    controller.scaledobject Starting Controller     {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject"}
1.6512754995501623e+09  INFO    controller.triggerauthentication        Starting EventSource    {"reconciler group": "keda.sh", "reconciler kind": "TriggerAuthentication", "source": "kind source: *v1alpha1.TriggerAuthentication"}
1.651275499550189e+09   INFO    controller.triggerauthentication        Starting Controller     {"reconciler group": "keda.sh", "reconciler kind": "TriggerAuthentication"}
1.6512754995502841e+09  INFO    controller.scaledjob    Starting EventSource    {"reconciler group": "keda.sh", "reconciler kind": "ScaledJob", "source": "kind source: *v1alpha1.ScaledJob"}
1.651275499550324e+09   INFO    controller.scaledjob    Starting Controller     {"reconciler group": "keda.sh", "reconciler kind": "ScaledJob"}
1.651275499550438e+09   INFO    controller.clustertriggerauthentication Starting EventSource    {"reconciler group": "keda.sh", "reconciler kind": "ClusterTriggerAuthentication", "source": "kind source: *v1alpha1.ClusterTriggerAuthentication"}
1.651275499550482e+09   INFO    controller.clustertriggerauthentication Starting Controller     {"reconciler group": "keda.sh", "reconciler kind": "ClusterTriggerAuthentication"}
1.651275499951445e+09   INFO    controller.scaledjob    Starting workers        {"reconciler group": "keda.sh", "reconciler kind": "ScaledJob", "worker count": 1}
1.651275499951494e+09   INFO    controller.triggerauthentication        Starting workers        {"reconciler group": "keda.sh", "reconciler kind": "TriggerAuthentication", "worker count": 1}
1.651275499951445e+09   INFO    controller.scaledobject Starting workers        {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "worker count": 5}
1.6512754999515328e+09  INFO    controller.clustertriggerauthentication Starting workers        {"reconciler group": "keda.sh", "reconciler kind": "ClusterTriggerAuthentication", "worker count": 1}
1.6512756266299636e+09  INFO    controller.scaledobject Reconciling ScaledObject        {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test"}
1.6512756266299856e+09  INFO    controller.scaledobject Adding Finalizer for the ScaledObject   {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test"}
1.651275626672114e+09   INFO    controller.scaledobject Detected resource targeted for scaling  {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test", "resource": "apps/v1.Deployment", "name": "nginx-deployment-datadog"}
1.6512756266722133e+09  INFO    controller.scaledobject Creating a new HPA      {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test", "HPA.Namespace": "keda-test", "HPA.Name": "keda-hpa-datadog-scaledobject"}
1.6512756269615564e+09  INFO    controller.scaledobject Initializing Scaling logic according to ScaledObject Specification      {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test"}
1.6512756269721518e+09  INFO    controller.scaledobject Reconciling ScaledObject        {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test"}
1.6512756426162288e+09  INFO    controller.scaledobject Reconciling ScaledObject        {"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "datadog-scaledobject", "namespace": "keda-test"}

@sebanazarian The Datadog scaler has changed quite a bit between 2.6 and future 2.7. Can you maybe try with what's on main to see if you still get the issue? Thanks!
@JorTurFer when are we expecting a new keda release?

@JorTurFer when are we expecting a new keda release?

I'm not sure if this week or next week. I'd say that on 5th, but I don't remember the exact date

I have checked last meeting notes and we aim to May 5th

@JorTurFer @arapulido  perfect, I will try with Keda 2.7 and I will tell the news.
Thanks!

Hi,
I tried Keda 2.7 with DatadogScaler and the deploy scaled.
But I have a problem when I want scale with Datadog Scaler.

It takes a long time for scale
Sometimes it throws me the following error and it fixes itself

KEDA VERSION 2.7
ScaledObject
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-trigger-auth-datadog-secret
  namespace: keda-test
spec:
  secretTargetRef:
  - parameter: apiKey
    name: datadog-secrets
    key: apiKey
  - parameter: appKey
    name: datadog-secrets
    key: appKey
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: datadog-scaledobject
  namespace: keda-test
spec:
  scaleTargetRef:
    apiVersion:    apps/v1
    kind:          Deployment
    name:          nginx-deployment-datadog
  pollingInterval:  10
  minReplicaCount:  1
  maxReplicaCount:  3
  triggers:
  - type: datadog
    metadata:
      # Optional: (Value or AverageValue). Whether the target value is global or average per pod. Default: AverageValue
      # metricType: "Value"
      query: "sum:aws.sqs.approximate_number_of_messages_visible{region:us-east-1,queuename:keda-datadog}" #  prod-ds-list-ingestion-queue ga-xdr-migrate-4886 # keda-test #prod-ds-list-ingestion-queue
      queryValue: "2"
      # Optional: The time window (in seconds) to retrieve metrics from Datadog. Default: 90
      age: "120"
      # Optional: The metric value to return to the HPA if a metric value wasn't found for the specified time window
      # metricUnavailableValue: "0"

    authenticationRef:
      name: keda-trigger-auth-datadog-secret

Log keda-metrics-apiserver

E0517 03:05:22.333544       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-datadog-sum-aws-sqs-approximate_number_of_messages_visible"}: no matching metrics found for s0-datadog-sum-aws-sqs-approximate_number_of_messages_visible
E0517 03:05:37.507403       1 logr.go:279] keda_metrics_adapter/datadog_scaler "msg"="error getting metrics from Datadog" "error"="no Datadog metrics returned for the given time window"
E0517 03:05:37.678856       1 logr.go:279] keda_metrics_adapter/datadog_scaler "msg"="error getting metrics from Datadog" "error"="no Datadog metrics returned for the given time window"
E0517 03:05:37.692443       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="error getting metrics from Datadog: no Datadog metrics returned for the given time window"  "scaledObject.Name"="datadog-scaledobject" "scaledObject.Namespace"="keda-test" "scaler"={}

Log Keda-operator
 1.6527567100243418e+09  ERROR   scalehandler    Error getting scale decision    {"scaledobject.Name": "datadog-scaledobject", "scaledObject.Namespace": "keda-test", "scaleTarget.Name": "nginx-deployment-datadog", "error": "no Datadog metrics returned for the given time window"}

Describe ScaleObject

Name:         datadog-scaledobject
Namespace:    keda-test
Labels:       scaledobject.keda.sh/name=datadog-scaledobject
Annotations:  <none>
API Version:  keda.sh/v1alpha1
Kind:         ScaledObject
Metadata:
  Creation Timestamp:  2022-05-17T03:03:49Z
  Finalizers:
    finalizer.keda.sh
  Generation:  1
  Managed Fields:
    API Version:  keda.sh/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:maxReplicaCount:
        f:minReplicaCount:
        f:pollingInterval:
        f:scaleTargetRef:
          .:
          f:apiVersion:
          f:kind:
          f:name:
        f:triggers:
    Manager:      kubectl-client-side-apply
    Operation:    Update
    Time:         2022-05-17T03:03:49Z
    API Version:  keda.sh/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:status:
        f:health:
          .:
          f:s0-datadog-sum-aws-sqs-approximate_number_of_messages_visible:
            .:
            f:numberOfFailures:
            f:status:
    Manager:      keda-adapter
    Operation:    Update
    Time:         2022-05-17T03:04:05Z
    API Version:  keda.sh/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .:
          v:"finalizer.keda.sh":
        f:labels:
          .:
          f:scaledobject.keda.sh/name:
      f:status:
        .:
        f:conditions:
        f:externalMetricNames:
        f:lastActiveTime:
        f:originalReplicaCount:
        f:scaleTargetGVKR:
          .:
          f:group:
          f:kind:
          f:resource:
          f:version:
        f:scaleTargetKind:
    Manager:         keda
    Operation:       Update
    Time:            2022-05-17T03:07:19Z
  Resource Version:  25126705
  UID:               3ed34aa4-cd8b-42df-8d1b-e8da62115c09
Spec:
  Max Replica Count:  3
  Min Replica Count:  1
  Polling Interval:   10
  Scale Target Ref:
    API Version:  apps/v1
    Kind:         Deployment
    Name:         nginx-deployment-datadog
  Triggers:
    Authentication Ref:
      Name:  keda-trigger-auth-datadog-secret
    Metadata:
      Age:          120
      Query:        sum:aws.sqs.approximate_number_of_messages_visible{region:us-east-1,queuename:keda-datadog}
      Query Value:  2
    Type:           datadog
Status:
  Conditions:
    Message:  Triggers defined in ScaledObject are not working correctly
    Reason:   TriggerError
    Status:   False
    Type:     Ready
    Message:  Scaling is not performed because triggers are not active
    Reason:   ScalerNotActive
    Status:   False
    Type:     Active
    Message:  No fallbacks are active on this scaled object
    Reason:   NoFallbackFound
    Status:   False
    Type:     Fallback
  External Metric Names:
    s0-datadog-sum-aws-sqs-approximate_number_of_messages_visible
  Health:
    s0-datadog-sum-aws-sqs-approximate_number_of_messages_visible:
      Number Of Failures:  23
      Status:              Failing
  Last Active Time:        2022-05-17T03:07:59Z
  Original Replica Count:  1
  Scale Target GVKR:
    Group:            apps
    Kind:             Deployment
    Resource:         deployments
    Version:          v1
  Scale Target Kind:  apps/v1.Deployment
Events:
  Type     Reason              Age                  From           Message
  ----     ------              ----                 ----           -------
  Normal   KEDAScalersStarted  10m                  keda-operator  Started scalers watch
  Warning  KEDAScalerFailed    8m18s                keda-operator  error when retrieving Datadog metrics: Get "https://api.datadoghq.com/api/v1/query?from=1652756619&query=sum%3Aaws.sqs.approximate_number_of_messages_visible%7Bregion%3Aus-east-1%2Cqueuename%3Akeda-datadog%7D&to=1652756739": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
  Normal   ScaledObjectReady   6m35s (x3 over 10m)  keda-operator  ScaledObject is ready for scaling
  Warning  KEDAScalerFailed    10s (x55 over 10m)   keda-operator  no Datadog metrics returned for the given time window

Thanks!!!!!

Hello @sebanazarian Thanks for trying out the Datadog Scaler with KEDA 2.7.
The HPA is what actually scales your deployment, not KEDA. You can see what value the HPA currently have by retrieving the HPA objects: kubectl get hpa.
The error of not metrics returned is not an error, but something that it can happen if you choose a period of time too short and no metrics are available for that period of time. As the time window moves, eventually, it may have a metric, that's why it gives the feeling of "fixing itself".
I would recommend you to get a bigger time window (age) (like 500), as your metric not might be available. But don't worry, by the default the Datadog API rollups: https://docs.datadoghq.com/dashboards/functions/rollup/, and we will use the last number.
Can you try that and report back?
Thanks!

Hi @arapulido  thanks for answers. Well I put age: 500. And I have these results:
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-trigger-auth-datadog-secret
  namespace: keda-test
spec:
  secretTargetRef:
  - parameter: apiKey
    name: datadog-secrets
    key: apiKey
  - parameter: appKey
    name: datadog-secrets
    key: appKey
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: datadog-scaledobject
  namespace: keda-test
spec:
  scaleTargetRef:
    apiVersion:    apps/v1
    kind:          Deployment
    name:          nginx-deployment-datadog
  pollingInterval:  10
  minReplicaCount:  1
  maxReplicaCount:  3
  triggers:
  - type: datadog
    metadata:
      # Optional: (Value or AverageValue). Whether the target value is global or average per pod. Default: AverageValue
      # metricType: "Value"
      query: "sum:aws.sqs.approximate_number_of_messages_visible{region:us-east-1,queuename:keda-datadog}" #  prod-ds-list-ingestion-queue ga-xdr-migrate-4886 # keda-test #prod-ds-list-ingestion-queue
      queryValue: "2"
      # Optional: The time window (in seconds) to retrieve metrics from Datadog. Default: 90
      age: "500"
      # Optional: The metric value to return to the HPA if a metric value wasn't found for the specified time window
      # metricUnavailableValue: "0"
    authenticationRef:
      name: keda-trigger-auth-datadog-secret

The times are when I put new message in SQS
First Test (age: 500)
0 to 1 scale at approx 9 minutes  (1 messages)
1 to 2 scales at approx 10 minutes (3 messages)
2 to 3 scales at approx 8 minutes (5 messages)
purge sqs: remove pods at approx 10 minutes (0 messages)
Second Test (age: 500)
1 to 2 scales at approx 4 minutes (3 messages)
2 to 3 scales at approx 10 minutes (5 messages)
3 to 2 dowscale at approx 10 minutes (4 messages)
2 to 1 dowscale at approx  8 minutes (2 messages)
Thrid Test (age: 120)
1 to 2 scales at approx 5 minutes (3 messages)
2 to 3 scales at approx  never  nothing in 18 minutes (5 messages) so I sent new message in SQS
2 to 3 scales at approx  2 minutes (6 messages)
3 to 2 dowscale at approx 8  minutes (4 messages)
2 to 1 dowscale at approx   20 minutes (2 messages)
My question is why do I have these times? the age of the attribute? I don't understand how datadogScaler works. because sometimes pod scaling takes 2 minutes other times 9, 11 or 20 minutes.
Thanks :)

Hi @sebanazarian, have you ruled out Datadog and the metric itself being the issue by looking at the aws.sqs.approximate_number_of_messages_visible metric in Datadog? The reason I ask is that the metric name includes "approximate" and it looks like you're using a low volume of messages.

Hello @sebanazarian ! Any updates on this issue? Thanks!

I noticed in @sebanazarian's post above that one of the warnings is related to a timeout (seen in the Describe ScaleObject section`
Warning  KEDAScalerFailed    8m18s                keda-operator  error when retrieving Datadog metrics: Get "https://api.datadoghq.com/api/v1/query?from=1652756619&query=sum%3Aaws.sqs.approximate_number_of_messages_visible%7Bregion%3Aus-east-1%2Cqueuename%3Akeda-datadog%7D&to=1652756739": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

I've bumped into this as well. Where is the request timeout limit determined?

Is there a solution for this issue?


 This can occur very quickly. To make the game more interesting and provide longevity, we should modify the number of enemies to be killed to better fit the present state of the game and possible require less enemies on easy versus more enemies on hard.

This task has been absorbed by story #369 as the work in that story made the work for this task directly necessary and complementary. Spent about 20 minutes figuring out how to properly initialize the enemies set and made some arbitrary initial value assignments based on difficulty setting.


ASDK support

I just did #8.
I did not test it tho.
Podspec does not have updated version, just added subspecs.

As much as I like this, I dislike having Neon rely on external dependencies even more, so this will likely not be integrated.

It's ok, It probably does not have any value added to ASDK either.

Thanks anyway! :)

I totally get @mamaral point and I think he's right.
However since it's fairly easy to extend (via extension ASDisplayNode : Frameable, Anchorable, Alignable, Groupable) it would be nice if this would be documented somewhere. @zdenektopic are you using this at the moment?


Enhancement request: add bandit support to linters

I'm proposing adding bandit support to the extension.
I have implemented this integration locally and was planning to submit a PR once I've written tests. Would this contribution be accepted?
I considered solving this with a flake8 plugin, but I have a preference to using oss as "out-of-the-box" as possible.
More generally, this extension provides a great base for integrating linting tools with VS Code -- is it possible to abstract this further to the point where simple linters are able to be integrated without requiring code changes to the extension? The only variable parameters for Bandit were the message regex + default arguments; this could be specified in settings.

possible to abstract this further to the point where simple linters are able to be integrated without requiring code changes to the extension?

Currently you need to introduce a couple of changes:

Configuration settings
Changes to how a linter is installed
Changes to regex for the linters

Most of the code is abstracted (re-usable via inherited classes), however all of the above changes have to be done either way.
And we must have some functional tests.

@DonJayamanne, thanks for the reply. Can I go ahead with submitting a PR for bandit integration in the meantime? I'd be happy to work on those other changes in the future.

@brettcannon I'm voting we go ahead and accept this PR, as bandit is built and managed by PyCQA.


The Last Timeout

This should realistically be configurable- but this is the last place I've found where a timeout is being imposed on the connection to the backend service.
Also of note- when providers times out, no error is propogated- so this probably needs one more bit of shoe-shine to be mergable.

Testing now against a dev stack and things look peachy


Cannot Calibrate Timers in Chorus App

Now that the lap timers that will connect, I have all of the functionality except in the race tab, the calibrate timers button does not show when the app connects with the device. Also, where is the button to set the current threshold?

I did a check with the components and found out that one of my pro mini boards was dead :( but everything now works.


Patient ID splits for training, validation, and test sets?

Looking to recreate some of your team's findings. Is it possible to share the same patient ID splits that were used in these experiments? Thank you for your consideration.

See the make_train_val_test_hold_out_set function in constants_and_util.py! Note that while this partitions all patient IDs in the dataset, the datasets on which we conduct analysis are slightly smaller because we filter for patients who have covariates described in the paper. The results on the paper are computed on the subtly named BLINDED_HOLD_OUT_DO_NOT_USE set.


types(plugin): support for type safe plugins

Allow type safe plugins configurations.
The only issue is the parameters name are not respected, aside from that it should support just a simple object with install function or by using the provided types

This seems more complete than https://github.com/vuejs/vue-next/pull/2589 and https://github.com/vuejs/vue-next/pull/2758

#2758 has the same functionality(from the tests I have here), it infers the arguments names, IMO it just needs a few more tests and it looks good


Email->assertTo() might accept multiple recipient email addresses

Hello
for now TestEmail::assertTo allows for checking that only 1 email address belongs in the To: recipients email addresses list.
So if I want to check that my e-mail goes to three specific email addresses, I have to call assertTo 3 three times, then check a count as follows:
        foreach($effectiveToEmailAddresses as $effectiveToEmailAddress) {
            $sentEmail->assertTo($effectiveToEmailAddress);
        }
        $this->assertCount(count($effectiveToEmailAddresses), $sentEmail->getTo());

maybe     final public function assertTo(string $expectedEmail, ?string $expectedName = null): self could have a friend sibling method assertToAddresses(Address[]|array $expectedAddresses, bool $strict = true): self where the $strict ensures that the recipient addresses set is exactly that of $expectedAddresses, instead of just checking for a subset inclusion (ie. expected addresses belong in actual addresses).
This is not blocking... Just ideating.

This makes sense. We'd need this method for each of the methods that return addresses.
Would be nice to perhaps have a TestAddressSet object so we could do:
$email->getTo()
    ->assertCount(int)
    ->assertContains(string $expectedEmail, ?string $expectedName = null)
    ->assertContainsAll(Address[] $expectedAddresses) // check subset
    ->assertOnlyContainsAll(Address[] $expectedAddresses) // strict
;

Not sure how to preserve BC for this though as changing the signature of getTo() would be a BC break.

Hello,
maybe... getTo() could have a getToMultiple() or getToAsSet() method returning your imagined TestAddressSet object and linked methods.
assertOnlyContainsAll could equate to assertContainsAll( with a $strict = true) flag last parameter.

maybe... getTo() could have a getToMultiple() or getToAsSet() sibling method returning your imagined TestAddressSet object and linked methods.

getToAsSet() seems nice.


List all Serial Ports (USB and onboard) RS232/RS485

Is your feature request related to a problem? Please describe.
No - new feature (with code to contribute)
Describe the solution you'd like
I've written some code to list the serial ports on Linux and Windows.
Want to know if this would be accepted into the project via a Pull Request.
Describe alternatives you've considered
npm serialport can list serial ports but (a) requires a binary module to be shipped and (b) it fails to list serial ports on some SBCs
Additional context
Code for Linux and Windows targets is tested on my local machines
So just wanted to check if listing Serial Ports (eg RS232 or RS485) is of interest to this project.

@RogerHardiman … good idea! I am currently working on version 6 of the library. If you like to provide some code, I would then probably refactor it a little to fit into the completely new code structure … would this be OK for you?


Flashed messages are stored up when they aren't displayed

When a form is submitted but the template isn't rendered (Like in the extension), any messages that would be flashed are stored and not deleted. (see attached)

Since this issue can't come up unless changes are made to something that flashes messages, going to close. I will re-open this if something like that comes up again.


Min Exposure for a Team

Anyone know of a way to have a minimum exposure for a team?  Lets say its a large NBA slate.  I would like to atleast 1 player from every team out of 150 lineups.  Is that possible?

I dont mean 1 player from every team in 1 lineup.  I just mean I would like to utilize all teams out of 150 lineups

Yea I would like this too.  Not sure of a way to do it, but say I wanted 10 lineups I would like to say give me 15% from the Bulls


when layoutType is floating, i got this error in agora uikit

Exception caught by widgets library ═══════════════════════════════════
Remote uid can not be null or 0
'package:agora_rtc_engine/src/render/video_view_controller.dart':
video_view_controller.dart:1
Failed assertion: line 74 pos 16: 'canvas.uid != null && canvas.uid != 0'

how u solve this issue?


Is it possible to send traces to elasticsearch through logstash

Hi Team,
Is it possible to send traces/logs from Jaeger to logstash first instead of directly sending to elasticsearch. Correct me if I am wrong but I think its not possible as of now as I could not find anything related to it. But if we use intermediate buffers like Kafka then its possible to send it through logstash? Please advise. Below are the versions that we are using-
Elasticsearch: 7.4
Jaeger: version 1.14 images running on openshift cluster

Jaeger itself only writes to Kafka or supported storage backends. You can implement various external adapters or storage plugins.


Added support to Laravel custom polymorphic types

Current implementation has a problem working with Laravel's enforceMorphMap. In this PR the cashier mollie will work seamlessly with enforceMorphMap.

Thanks @tmsperera !


[FEATURE] - Add test to increase coverage of correctBits.

Four tests for increasing coverage of method correctBits.

done


Request for example sample-metadata file

An example for how the metadata file should be formatted for cases of dual indices would be useful.
The readme states: "Metadata about the samples should be given as a headered metadata TSV file with
two columns 1. sample_id - the id of the sample or library. 2. barcode - the
expected barcode sequence associated with the sample_id." However, it is unclear how to specify multiple barcodes in this file. Should they be separated and in one field, split into multiple fields?
Thanks and apologies if this info is presented already and I missed it

I'll leave this open until we update the documentation, but the metadata file just want both/all the barcodes for a sample concatenated together, in the order they are read.  So e.g. for a dual barcoding run, if a sample has index1=ACGTACGT and index2=CCTTGGCC, the you'd just put ACGTACGTCCTTGGCC` in the barcode field.

Great, thanks for the quick response!


Only process needed request values

I was getting a PHP compile error on implode because I was sending other data through the an API route. Meaning I had payload data in my request and this function was not processing it correctly.
Note: I'm not entirely sure that $shopify_values actually contains all the values needed.

The problem with $request->all() is it returns both post and get doesn't it?
I think maybe if we change it to $request->query() would be better as we would only grab the query vars, not post?

Yea that is the issue I'm running into. Although, I don't know why anybody would use it, I think query vars can also be an array, so it would also through the same error if it ever encountered a complex set of query vars.
https://www.php.net/manual/en/function.http-build-query.php  (Example 3)

I'll switch it to use query only... But I'll dig through old issues to be sure.. pretty sure it came up for a reason just can't remember whyOn Mar. 25, 2020 00:00, andrewscofield<EMAIL_ADDRESS>wrote:
Yea that is the issue I'm running into. Although, I don't know why anybody would use it, I think query vars can also be an array, so it would also through the same error if it ever encountered a complex set of query vars.
https://www.php.net/manual/en/function.http-build-query.php  (Example 3)
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

@andrewscofield Sorry, I've been super tied up. Are you able to mod your PR to use query and not all?

Got it changed and its working great for me.

Awesome, thanks man


Set minimal compiler version to 1.70.0

Distributions are conservative when it comes to build dependencies. Tested with:
rustup install 1.70.0
rustup override set 1.70.0

@getreu
Is there any difference using this version? what is the benefit?

Distributions (Ubuntu, etc) come with a pinned Rustc. e.g. 1.63.0 and they include only
applications (versions) that can be compiled with that Rustc.
Concrete example: the application tp-note 1.23.9 requires 1.70.0. If the new version 1.23.10 uses clipboard-rs that requires 1.75.0, it can not be built with Rustc 1.70.0 any more. Thus the new version will excluded from the distribution.
This is why libraries should be very conservative concerning compiler (and dependency) requirements.
As a rule of thumb:

If you can stick to the current version of Debian -- Details of package rustc in bookworm 1.63.0
If this is not possible try at least Debian -- Details of package rustc in trixie 1.70.0

@getreu  I see, thanks! I really didn't consider this.


restrictEarlyData: Flagged Transport Settings to Restrict Early Data

In the case where processPacketData() detected a retry packet sent from the server, flag the transportSettings on the connection to set attemptEarlyData to false to restrict any early data being sent on the connection.

Wanted to see if there were any changes that needed to be made here.  Thanks!

Sorry for the lack of updates here. We were having some discussion in the internal diff review of the synced in diff. We may need more time.
By the way quic specs draft 20 17.2.3:

After a client receives a Retry packet, 0-RTT packets are likely to
have been lost or discarded by the server.  A client MAY attempt to
resend data in 0-RTT packets after it sends a new Initial packet.

Sorry for the lack of updates here. We were having some discussion in the internal diff review of the synced in diff. We may need more time.

No problem at all.  Let me know if there's anything I can do on my end.

By the way quic specs draft 20 17.2.3:
After a client receives a Retry packet, 0-RTT packets are likely to
have been lost or discarded by the server. A client MAY attempt to
resend data in 0-RTT packets after it sends a new Initial packet.

This is a great point brought up about the QUIC spec.  I was basing my logic to restrict early data on the TLS 1.3 spec which technically may not be correct in this case

Ye i think we can potentially send duplicate data in this case if server buffers the first 0-rtt data, sends Retry, client sends Initial, assumes server discards the first 0-rtt data and chooses to go with 0-rtt again with the same data. But then all frames in current quic draft are idempotent. So in that sense it should be safe. I wonder if there are application want explicitly disable this though, and whether we should let users control this via a transport settings.
@agnosticdev : Did you have a use case in mind when you sent the PR?

II was reviewing startCryptoHandshake() and noticed there was a call out in getPsk() for:
// TODO T32658838 better API to disable early data for current connection

After reviewing the TLS 1.3 spec, I added the code included in this PR as a technique to restrict early data to the first flight for security.
@yangchi, you bring up a great point though in that this may not be a security concern because:

But then all frames in current quic draft are idempotent. So in that sense it should be safe.

I think the usage of this logic and flag would be project dependent.

Yes I think it will be project dependent. The task mentioned in the TODO comment has been closed for quite some time. Give no API was actually added for that I assume people just decided it wasn't needed, and then forgot to clean up the TODO comment. I will ping the task internally to find out why. And then maybe clean up the TODO comment. In the mean time, I think without a clear use case, we can close this PR for now. Does that sound good to you?

@yangchi yes because all frames in the QUIC draft are idempotent, I am good closing this PR without restricting early data.  Do you want me to hold on closing and clean up the TODO in this PR or close?

@agnosticdev Going to close, thanks :)


More trait implementations and methods

Methods

[x] Replace Weak::from_trc with Trc::downgrade
[x] Replace Weak::to_trc with Weak::upgrade
[x] Add Trc::get_mut
[x] Add Trc::try_unwrap - Note the necessity for a race condition warning
[x] Add Trc::into_inner
[x] Add Trc::unwrap_or_clone

Traits
"D" signifies impl dependant on T implements the trait.

[x] D AsFd
[x] #11
[x] D Error
[x] D Hash
[x] D Error
[x] Unpin
[x] UnwindSafe
[x] Any
[x] From<&[T]>

Support of ?Sized added with pt 15.


Training Problem

Hi, bitsause.
I have trained a new agent in both synchronous and asynchronous environments, after training about 2k episodes, but I can't get any decent outcome as you said in your paper. The reward is floating as this:

So I carefully checked the training process. And I found some episodes stopped training before the car started running in both synchronous and asynchronous environments. Most of them got rewards: -10 as the data graph showing. I think they are invalid training. Especially, the frame of the server is just slightly ahead of the client's(around 40:30) in an asynchronous setting. This may be a hardware issue. But it can't explain all.
I trained agents in Town07, Carla 0.9.5.
Can you explain the reasons for me?

Hi @Oroduin
Yeah, the car getting stuck at the start of the episode sometimes is quite annoying, and should ideally be fixed. In my case, it didn't really happen that often, so it didn't greatly affect the training. Looking at your graph it seems to be happening quite frequently? My best guess is that this comes from a difference in hardware, which ideally shouldn't be the case when running in synchronous mode as it should be deterministic, but doesn't seem to be, unfortunately.
One thing that could be worth considering is trying to upgrade CARLA to see if that resolves any of these issues. Otherwise, we have to dig into the code and try to find out why this is happening, which is something I haven't had time to look into after I finished writing about the project

Hi, @bitsauce
I think your second piece of advice is very useful. I agree that the result comes from hardware and code issues. My hardware is not so good actually. I think I should extend the reset time of the car based on 2 seconds might be a little short for my condition and use synchronous mode instead.
Thank you for your help!

@bitsauce
Thank you for your reply.
I found I misunderstood the frame rate after going back to check the videos. The result is reasonable compared with first example.
And I trained agent in asynchronous mode, the car is driving more fiercely than synchronous mode but not so shaky as yours (maybe it's just I trained for longer time).


[Question] what's the difference between CCE and RCE in model based planning algorithm?

Required prerequisites

[X] I have read the documentation https://omnisafe.readthedocs.io.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Questions
The code of omnisafe/algorithms/model_based/planner/cce.py andomnisafe/algorithms/model_based/planner/rce.py is exactly the same.

Hi, Jackory!
You can see the distinctions between them in the following link. RCE uses the maximum cost from the ensemble model to evaluate the entire set of trajectories, while CCE utilizes the mean value
https://github.com/PKU-Alignment/omnisafe/blob/main/omnisafe/algorithms/model_based/planner/rce.py#L77

Hi, Jackory!
You can see the distinctions between them in the following link. RCE uses the maximum cost from the ensemble model to evaluate the entire set of trajectories, while CCE utilizes the mean value
main/omnisafe/algorithms/model_based/planner/rce.py#L77

Oh, I see. Thank you for your thoughtful reply!
---Original---
From: @.>
Date: Sun, Aug 27, 2023 23:28 PM
To: @.>;
Cc: "Yuhua<EMAIL_ADDRESS>Subject: Re: [PKU-Alignment/omnisafe] [Question] what's the difference betweenCCE and RCE in model based planning algorithm? (Issue #271)
Hi, Jackory!
You can see the distinctions between them in the following link. RCE uses the maximum cost from the ensemble model to evaluate the entire set of trajectories, while CCE utilizes the mean value
main/omnisafe/algorithms/model_based/planner/rce.py#L77
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


piePlot

Error in grDevices::pdf(file = filename, ....m version = version) :
cannot open file in "~blabla/resultsi/piePlots_icontrol -ko.pdf"
I think there is a mistake with the sep ="i" here:
else if (save != "none") {
ggsave(
filename = paste(path, "/piePlots_", paste0(i, ".", save), sep = "i"),
plot = p,
width = fig.width,
height = fig.height,
dpi = dpi
i think it should be sep = "" ?

corrected


Discord - Add Slash commands for botkubehelp

Is your feature request related to a problem? Please describe.
There is no way to view BotKube help on discord
Describe the solution you'd like
https://discord.com/developers/docs/interactions/slash-commands#slash-commands-interactions-and-bot-users
The Slash commands for the discord app can be registered through HTTP endpoint using client_id and guild_it. On calling Slash command, the backend receives an interaction event. Add support in BotKube backend to respond with help message to the Slash commands

Discord Interaction API and Slash commands are not supported by Go sdks as of now. We'll have to wait till https://github.com/bwmarrin/discordgo/pull/856 gets merged.

Discord Interaction API and Slash commands are not supported by Go sdks as of now. We'll have to wait till https://github.com/bwmarrin/discordgo/pull/856 gets merged.

@PrasadG193 that PR was merged.


Use cosmetic NumberFormat() to display slow performance time

If you want to prettify the performance time and make it easier to read, you can use numberformat().  Apparently adding a single "thousands" comma is enough to repeat to pattern, but behind the decimal you need to add a bunch of placeholders and then trim the trailing 0's.)
Here's a function
<cfscript>
string function prettyDecimal(numeric inputString=0){
	return trim(REReplace(numberformat(val(arguments.inputString), '9,999.999999999999'), "0+$", ""));
}
</cfscript>

NOTE: Some developers may want to perform additional functions if performance it slow. I tend only use timing during development and use it cosmetically.  As a result, you may want to enable this as an option (similar to the "nano" option.)

What do you mean by "easier to read"? Unless you specify the time unit, the output will automatically adjust from milliseconds to seconds, if 4 digits are exceeded. Adding a thousand separator to a number that already has 4 decimal places doesn't feel right. I prefer 9876.5432 over 9,876.5432.


Spatial lookup

Hi,
I saw that you updated the docs with the version upgrade. If I'm reading the rtree docs correctly (and from my own experience), the locate_within_distance takes a squared distance as input so in your example the atoms within 12.5^0.5 would be located.
You may want to check up on that and adjust tests accordingly.

Thanks a lot for the issue, it is fixed now. I seem to have overlooked this fact.

It's not terribly intuitive, I mostly stumbled over this because it's an integral part of my code :)


Building astropy fails with ImportError: Numpy version 1.13.0 or later must be installed to use Astropy

The other failure I am getting is when running:
./scripts/build_docker_images.sh docker aorwall astropy__astropy

It fails like this:
#13 [stage-0  7/11] RUN pip install -e .[test]
#13 0.605 Obtaining file:///opt/astropy__astropy
#13 0.609   Installing build dependencies: started
#13 2.381   Installing build dependencies: finished with status 'done'
#13 2.382   Checking if build backend supports build_editable: started
#13 2.554   Checking if build backend supports build_editable: finished with status 'done'
#13 2.555   Getting requirements to build editable: started
#13 4.113   Getting requirements to build editable: finished with status 'error'
#13 4.122   error: subprocess-exited-with-error
#13 4.122
#13 4.122   × Getting requirements to build editable did not run successfully.
#13 4.122   │ exit code: 1
#13 4.122   ╰─> [28 lines of output]
#13 4.122       Initializing astropy_helpers submodule with: `git submodule update --init -- astropy_helpers`
#13 4.122       warning: no previously-included files found matching '*.pyc'
#13 4.122       warning: no previously-included files found matching '*.o'
#13 4.122       no previously-included directories found matching 'build'
#13 4.122       no previously-included directories found matching 'astropy_helpers/tests'
#13 4.122       Traceback (most recent call last):
#13 4.122         File "/opt/pyenv/versions/3.9.19/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
#13 4.122           main()
#13 4.122         File "/opt/pyenv/versions/3.9.19/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
#13 4.122           json_out['return_val'] = hook(**hook_input['kwargs'])
#13 4.122         File "/opt/pyenv/versions/3.9.19/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
#13 4.122           return hook(config_settings)
#13 4.122         File "/tmp/pip-build-env-9h67qvlr/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 448, in get_requires_for_build_editable
#13 4.122           return self.get_requires_for_build_wheel(config_settings)
#13 4.122         File "/tmp/pip-build-env-9h67qvlr/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
#13 4.122           return self._get_build_requires(config_settings, requirements=['wheel'])
#13 4.122         File "/tmp/pip-build-env-9h67qvlr/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
#13 4.122           self.run_setup()
#13 4.122         File "/tmp/pip-build-env-9h67qvlr/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup
#13 4.122           super().run_setup(setup_script=setup_script)
#13 4.122         File "/tmp/pip-build-env-9h67qvlr/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
#13 4.122           exec(code, locals())
#13 4.122         File "<string>", line 26, in <module>
#13 4.122         File "/opt/astropy__astropy/astropy/__init__.py", line 118, in <module>
#13 4.122           _check_numpy()
#13 4.122         File "/opt/astropy__astropy/astropy/__init__.py", line 112, in _check_numpy
#13 4.122           raise ImportError(msg)
#13 4.122       ImportError: Numpy version 1.13.0 or later must be installed to use Astropy
#13 4.122       [end of output]
#13 4.122
#13 4.122   note: This error originates from a subprocess, and is likely not a problem with pip.
#13 4.124 error: subprocess-exited-with-error
#13 4.124
#13 4.124 × Getting requirements to build editable did not run successfully.
#13 4.124 │ exit code: 1
#13 4.124 ╰─> See above for output.
#13 4.124
#13 4.124 note: This error originates from a subprocess, and is likely not a problem with pip.
#13 ERROR: process "/bin/sh -c pip install -e .[test]" did not complete successfully: exit code: 1
------
 > [stage-0  7/11] RUN pip install -e .[test]:
#13 4.122       [end of output]

I also get errors when I try to build astropy now. My guess is that a dependency without a explicitly set version was upgraded since I first built the images. Can't figure out which though.
Seems like the already pushed Docker images still works though (:crossed_fingers: ).


Implement ETag

ETags aren't my favorite caching mechanism because all the heavy lifting is done by the server, but it might be worth looking into doing them anyway. Do we do strong ETags or weak ones? Should this be customizable from the Caddyfile? What are the default settings? How do we cache the computed ETags?
The Go standard library supports ETag and If-Modified-Since headers, but we need to do our part to take advantage of them.

Let's get inspired by nginx having its ETags looking like: "554b73dc-6f0d" 1st part is last modification timestamp and 2nd is file size. Both you have just when opening file, no computation needed, so caching this makes no sense.

That's a good idea. I'm down for simple and effective. I need to look into this more, but why is the modified date and file size both used? Are both needed?

In fact last_mod should change anytime you write something... but that's in seconds... in one second you can write few hundreds megs. Found it here: http://serverfault.com/questions/690341/algorithm-behind-nginx-etag-generation

That makes sense. I need to figure out how to best integrate this with a "cache" or "caching" directive (which one?)

As far as I remember ETag is not conditionally send on caching headers send by client. It can be send together with modified headers. Primary idea in RFCs was to send MD5 of content, but that's heavy to compute especially for bigger files. Btw nginx generate this just for static content and when you look at docs, it is just on/off tag in context of http or server or location.

So maybe it's a good idea to just send ETag from within the file server by default. That way, the client may use it but it doesn't have to. I'll need to investigate more if other caching related headers should be used similarly.

It's quite tricky. Client (browser) would work OK, but there would be some Squiq (whatever proxy) in between and there can be confusion. It is worth to be able switch on/off in config and may be best by URI. ETag comes usually with something like expires in nginx, that add/append_to header Cache-Control: max-age=86400 (1d for example). If you are doing site deploy once a day, then tell explicitly you static content can change at most once a day. Then there are public and private modifiers, that affects proxies behaviour. Hence the name private is evaluated in browser only public also on proxies.

I would suggest a two-part E-TAG using the stat object and running a fast hash (such as BLAKE2) against it.
Part 1:

mtime - modified at
ctime - created at
mode - permissions
size - number of bytes in the file

Part 2 (optional):
Optimistic Approach: If it is suspected that the file has changed (because the values above don't match), read the file disk and hash it. You could use a sparse hash rather than a complete hash to save disk access / cpu usage.
Pessimistic Approach: Hash the whole file every time.
Create the etag
etag := 'W/"' + part1[0:8] + '-' + part2[0:8] + '"'

Here are the docs

https://golang.org/pkg/os/#File.Stat
https://golang.org/pkg/os/#FileInfo
https://godoc.org/github.com/codahale/blake2#example-New

Unfortunately go doesn't return ctime ... that's annoying.
I'm optimistic that Name(), Size(), Mode(), and ModTime() are good enough. Since this isn't an issue of cryptographic security (or at least I think if you've got someone on your server fudging bad files to cause cache validation errors, you've got WAY bigger problems), it's a tradeoff between being perfectly accurate and accurate in most cases (reverting a change to a file which causes a different date, and usually a different file size).

Point me at the right file and there's a strong likelihood I can get you a pull request.

Hashing files will be a no-go on installations with lots of, or some very large files: It will slow down the start considerably.

I've got the start of something for this.  Hope to submit before the weekend is out.  :)


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Other
Brief description of your issue
winget upgrade --include-unknown command reports the Sublime Text 4 package has version number that cannot be determined
Steps to reproduce
Simply run a winget upgrade
Expected behavior
It should correctly report the version which has been installed in the system
Environment
❯ winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2361
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs

Additional Info
Sublime text 4 installed version is <IP_ADDRESS>5200 which was installed through winget only. It shows version number correctly on search but reports unknown version once installed. This particular version was added through this PR
❯ winget search SublimeHQ.SublimeText.4
Name           Id                               Version      Source
--------------------------------------------------------------------
Sublime Text 4 SublimeHQ.SublimeText.4          <IP_ADDRESS>5200 winget

@xd003 if you could kindly close this issue it would be great. This is a known issue which has been there for some time. Sadly we are unable to fix it yet if Sublime do not decide to update their package with a DisplayVersion.

Having the same issue with the latest update.
Is anybody from @sublimehq working on resolving this?


Close Modal?

Firstly, great project and thanks!
I am trying to find the easiest way to hide a modal after opening. May be worth adding this to the documentation, currently I only see clicking the backdrop as the only easy way.

How have you solved this?

Sorry for delayed response...
I decided to just use react-router by itself without this package in the end. Using a Link to a Route which contained the Modal style component.


chore: add labels to docker image

I don't have permission to merge this one @olblak

Neither do I :(

I just gave write permission to the group jenkins-infra/docker so next time you should be able to merge it @dduportal @garethjevans


Hello, Nice to meet you.

I am full stack developer, so wanna work with you and your team.

Thanks for your interest! DMed!


tooltip hidding under div

Expected behavior
tooltip show
Actual behavior
tooltip hidding under these 4 divs
panel panel-default

Your offer

${{ userInventorySelectedValue.toFixed(2) }}

Steps to reproduce the behavior
Other

Error Stack

Could you make a screenshot?
Have you changed any CSS?
Have you changed any HTML?

i delete the div that has "Please, select items that you want to trade"
and now tooltip hide under the panel-heading div

Notes :

i changed some CSS but only colors & width & heigh, didnt change any z-index value or position value
i didnt change the HTML

The div was there for exactly that reason. Since this is not an issue with the code itself and you've modified the front-end files I will keep this issue closed.

is there a possible fix for the issue ??
please help

Add the "Select items" div back in, any other solutions are up to you.


Common-itize Deploy1ESHostedPools and DeployQueues code

As seen in #484 and a quick look at the code programs, Deploy1ESHostedPools and DeployQueues have similar inputs and very slightly different selection of images to deploy. They should probably share more code.
A few examples beyond #484:

have nullable annotations been enabled in DeployQueues, see !31488❔
could DeployQueues benefit from something similar to !31435 and !31515, which avoided re-deploying identical configurations❔
what concepts e.g., environment (an enum in one program and a string in the other) and command argument parsing (both using Mono.Options for some reason but more customized in Deploy1ESHostedPools) can be common-ized❔
should both use a currently-supported command-line parser❔

If any aspects of the two programs involve compliance issues, this work may also address them.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[x] Internal Infrastructure Improvements

Release Note Description
[Fill in details as work is scoped]
Refactored internal CI tools Deploy1ESHostedPools and DeployQueues to share code in the new ToBeNamedSoonerOrLater project.

As we have a new helix-machines epic for improvements to the build process. This seems to fit much better there than as a standalone ops issue. Should we move it?

As we have a new helix-machines epic for improvements to the build process. This seems to fit much better there than as a standalone ops issue. Should we move it?

this work also overlaps the common-itizing planned as part of the 1ES work. either way, it should be prioritized w/in one of those epics


Enable pod stats with short ID

Signed-off-by: haircommander<EMAIL_ADDRESS>

@baude PTAL :)

Can you add a test for stats by name too? Otherwise LGTM

LGTM assuming happy tests.

bot, retest this please

@rh-atomic-bot r+


The v1alpha2 version is missing in the backendtlspolicy CRD.

What happened:
When I upgraded my CRDs to v1.1, I encountered the following error.
(⎈|steep-abyss:default)➜  ~ kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/experimental-install.yaml
customresourcedefinition.apiextensions.k8s.io/backendtlspolicies.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/gatewayclasses.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/gateways.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/grpcroutes.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/httproutes.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/referencegrants.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/tcproutes.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/tlsroutes.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/udproutes.gateway.networking.k8s.io created
(⎈|steep-abyss:default)➜  ~ kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.1.0/experimental-install.yaml
customresourcedefinition.apiextensions.k8s.io/backendlbpolicies.gateway.networking.k8s.io created
customresourcedefinition.apiextensions.k8s.io/gatewayclasses.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/gateways.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/grpcroutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/httproutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/referencegrants.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/tcproutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/tlsroutes.gateway.networking.k8s.io configured
customresourcedefinition.apiextensions.k8s.io/udproutes.gateway.networking.k8s.io configured
The CustomResourceDefinition "backendtlspolicies.gateway.networking.k8s.io" is invalid: status.storedVersions[0]: Invalid value: "v1alpha2": must appear in spec.versions

What you expected to happen:
no error
How to reproduce it (as minimally and precisely as possible):
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/experimental-install.yaml

# Then install v1.1 CRDs

kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.1.0/experimental-install.yaml

Anything else we need to know?:

Thanks for reporting this, I definitely get that this behavior is confusing. This is actually intentional though - we made breaking changes (field renames) to BackendTLSPolicy in v1.1. That resulted in us bumping the version to v1alpha3, and dropping v1alpha2 since we do not want to maintain a conversion webhook. I added more information about this transition in https://github.com/kubernetes-sigs/gateway-api/pull/3084.

Thank you @robscott
Now that I understand the background.
Do we need to include a note in the upgrade guide about how to fix this error?

That's a good idea, open to any suggestions for how to improve what we have there!

Remove all the outdated Custom Resource Definitions (CRDs), and the errors will be resolved.


Application to system with multiple parameters, inputs and outputs

Brief of the question: For a system with multiple parameters, inputs and outputs, what is the format of the argument values in the functions SimulatorForwardProblem () and SimulatorInferenceProblem ()?
More details of the question below:
I tried the code in the "examples" file and had a general idea of how to use the package. The "linearode" model is pretty straightforward, but I could not run the examples of "Tsurf_inv" and "ddm". I think the primary reason is I can't load the data. When I tried the SimulationBasedInference.jl, I used the "linearode" as a prototype. There are some errors when I tried the package to a simple lotka volterra model (with 1 parameters and two outputs).

In the SimulatorForwardProblem(odeprob, observable)
Can I give a function which solve the odeprob as an argument to the function?

If I have multiple outputs, how to use SimulatorObservable () function for the argument "observable"? Get the argument for each output individually or together in oneSimulatorObservable ()function? What format I should follow to set the arguement of all outputs?

In the function SimulatorInferenceProblem (forward_prob, ode_solver, model_prior, lik)
Similar questions of how to set "model_prior" and "lik" for multiple parameters and likelihood.

In my case, I did not get any error before I run "enis_sol = solve(inference_prob, EnIS(), ensemble_size=128, rng=rng);" and get error and stuck when I run the solve () function.
The error shows:

I think the error point out that I probably defined wrong argument types in functions for inference_prob. It is the main reason why I asked previous two questions.
It might be difficult to check more details behind the problem, so I attached the code if you would like to have a look.
https://github.com/Zhe-Jessica/LV_SBI/blob/main/LV_SBI.jl
I do understand you are probably busy and do not have time to check all the code. It would be very helpful if there are some other examples of the application of the SimulationBasedInference.jl package to the systems with multiple parameters and multiple outputs. I probably can have more ideas from this kind of examples.
Thank you very much for your time. Look forward to your response.

Hi, thanks for raising an issue.

Can I give a function which solve the odeprob as an argument to the function?

You can either provide a function which takes the parameters (i.e. f(theta)) and returns the relevant state/outputs, or you can provide an ODEProblem or similar SciMLProblem and provide the solver at solve-time in the typical fashion for the SciML interface, e.g:
forward_prob = SimulatorForwardProblem(odeprob, observable)
sol = solve(forward_prob, Tsit5())

When constructing a SimulatorInfelrenceProblem the solver must also be provided.

If I have multiple outputs, how to use SimulatorObservable () function for the argument "observable"? Get the argument for each output individually or together in oneSimulatorObservable ()function? What format I should follow to set the arguement of all outputs?

This depends somewhat on your use case. For the Lotka-Volterra example, I would probably just make one observable that returns both outputs. You could then add more observables that compute relevant derived quantities (if applicable). Multiple parameter priors can be provided simply as arguments to the prior method, e.g:
model_prior = prior(a=Beta(1,1), b=Beta(1,1), ...)

Note that the order must match that of the parameter vector in the ODEProblem.

In my case, I did not get any error before I run "enis_sol = solve(inference_prob, EnIS(), ensemble_size=128, rng=rng);" and get error and stuck when I run the solve () function.

 So this can be resolved by changing  α = p to  α = p[1].
There are some other issues with your configuration of the observables, however. Since you want a time-sampled observable, you need to provide the starring time and save times as such:
y1 = SimulatorObservable(:u1, state -> state.u[1,:], tspan[1], tsave, (1,))
y2 = SimulatorObservable(:u2, state -> state.u[2,:], tspan[1], tsave, (1,))

After fixing that, the code should work.
I will leave this issue open for now in case you have further questions. There are also clearly some improvements that need to be made to the documentation to make these things more clear.
If you can spare a bit of time, I would also appreciate if you could open a pull request adding this LV ODE example to the examples/ folder.

Thank you very much for your help. You pointed out the problem of the code. The parameter was not given as a vector, which leads to the problem.
Besides, the arguments of  SimulatorObservable () as you mentioned would lead to errors.
y1 = SimulatorObservable(:u1, state -> state.u[1,:], tspan[1], tsave, (1,))
y2 = SimulatorObservable(:u2, state -> state.u[2,:], tspan[1], tsave, (1,))

I managed to get a result by using SimulatorObservable(:u2, state -> state.u[2,:], (Nt,)), where Nt is the length of the time step.
I will add the LV ODE example to the folder. It is a simple time-related example to show the application to the system with multiple parameters and outputs. Hope it can help people apply to similar systems.
The last question I have for the package is about the noise_scale_prior (for example in linearode.jl example). Could you please explain more details of the distribution of this prior? Does this prior describle the noise range (amplitude), or the noise ratio or the standard deviation (such as if the noise follow normal distribution)?

Could you please explain more details of the distribution of this prior? Does this prior describle the noise range (amplitude), or the noise ratio or the standard deviation (such as if the noise follow normal distribution)?

It is the prior on the noise scale parameter for the likelihood/predictive distribution. For a Gaussian likelihood, this corresponds to the standard deviation. Note that for some algorithms, this prior is (partially) ignored. For example, the ensemble Kalman methods (EKS and ESMDA) necessarily assume this noise term to be constant, so the expected value of the prior is taken as the constant.

I managed to get a result by using SimulatorObservable(:u2, state -> state.u[2,:], (Nt,)), where Nt is the length of the time step.

This is very surprising. I am curious to see the working code, as I don't think that should work unless you were to construct the SimulatorForwardProblem using a function (which solves the ODEProblem) instead of supplying the ODEProblem directly.

Thanks for your explain. I used a function to solve the ODEProblem in the working code.
I am also thinking about another question. I know PosteriorStats.summarize shows the mean, std, etc. Meanwhile, I also want to check the estimation of paramter from each particle/ensemble member, so that I can see more detail of the estimation. It is possible to check the estimation of each particle using enis_sol.result.ens in ensemble importance sampling method. However, I couldn't find similar result for ensemble smoother and ensemble Kalman sampler method. Could you please give some suggestions on how to check them?
Besides, I pulled a request to add the example last week, but it seems didn't work. I will also add a link in case you would like to check or add to the repository.

The function you want is get_transformed_ensembel; see the degree-day model example here.
The importance sampling algorithm is actually a bit special in this case. The ensemble stored in enis_sol.result.ens is actually the prior ensemble, i.e. the samples from the prior. The output of importance sampling is a set of weights (determined by the likelihood) which can then be used in statistical calculations like mean and std. You can find an example of this here.
In general, I think all of the APIs related to handling the results need further improvement and documentation for user friendliness... but it's a tricky problem since each class of algorithm has very different outputs. Feel free to create more issues if you encounter further problems.

Actually, PosteriorStats.summarize for EnIS is broken... it doesn't account for the weights. I updated it to throw an error for now.
You can find the updated example script here which uses the recommended pattern for the observables (i.e. treating them as time sampled).


5.8 compatibility for 5.7 themes

I have tested the compatibility for themes
expecting concrete5.8 "fully backward compatible"
I have installed the theme "stucco" (that is for the 5.7.3 or higher) to the 5.8 beta2 .
I have opened the top page, an error occurs,showing the message"Call to a member function isLoggedIn() on null".
I wish the 5.8 would be totally compatible with 5.7 for the themes,  without editing any files of the existing themes.
server environment--PHP5.6.24,MySQL5.7.

It's not guaranteed to be 100% perfect; a theme or add-on developer may have to tweak their code in order to make it run perfectly on version 8, especially if they're doing certain things in a nonstandard way – but the goal has been for this to be minimal, and to allow the same code to run on 5.7 and 8.0 at the same time.
I would re-post this to the theme's support area, and ensure that you're testing with the latest release candidate. If the theme developer can identify a way that the core's changes are breaking their theme , we'd be happy to investigate how to try and mitigate those problems.


Review or rating pop up not opening

As it fall in the right condition and return true but in android physical device it is not opening the pop up

I'm having a similar issue, have you find a solution @Altaf94?

It might be because of https://developer.android.com/guide/playcore/in-app-review#quotas
@MCvanderBerg @Altaf94

In my experience it would not show up on anything except the prod build that was distributed through the play store.

As it fall in the right condition and return true but in android physical device it is not opening the pop up

please read the doc. well, it says that it's working on production or through internal testing.

Hi, I hope you’re doing well! My problem is now solved, but if anyone has any issues with in-app reviews, feel free to reach out—I’d be happy to help!

I have developed a custom native module for React Native and successfully bridged it into my React Native application without using any external libraries. The in-app functionality is complete and working perfectly.

Hi, I hope you’re doing well! My problem is now solved, but if anyone has any issues with in-app reviews, feel free to reach out—I’d be happy to help!

No Thank you we are following an in-app-review, it's a trusted package.


Support implicit type conversion from string to temporal

Description
Support implicit type conversion from STRING to DATE, TIME, TIMESTAMP, DATETIME. Republish for PR https://github.com/opensearch-project/sql/pull/129.
Issues Resolved
https://github.com/opensearch-project/sql/issues/114
Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[x] New functionality has been documented.

[x] New functionality has javadoc added
[x] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #171 (d1ae126) into main (bcdd3f5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main     #171   +/-   ##
=========================================
  Coverage     99.89%   99.89%
- Complexity     2496     2501    +5
=========================================
  Files           245      245
  Lines          5807     5818   +11
  Branches        338      338
=========================================
+ Hits           5801     5812   +11
  Misses            5        5
  Partials          1        1

Impacted Files
Coverage Δ

...ava/org/opensearch/sql/data/type/ExprCoreType.java
100.00% <100.00%> (ø)

...c/main/java/org/opensearch/sql/expression/DSL.java
100.00% <100.00%> (ø)

...h/sql/expression/function/BuiltinFunctionName.java
100.00% <100.00%> (ø)

.../expression/operator/convert/TypeCastOperator.java
100.00% <100.00%> (ø)

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 bcdd3f5...d1ae126. Read the comment docs.


feat: implement demo program for sendmsg

stacked on #108, so wait before merging and change the target branch to dev

For a simple demo and way to verify that it works.
Screencast From 2024-11-26 02-50-27.webm


IPv6 (New)

Hi Ryan. I couldn't figure out how to modify my pull request to change branches/commits, so I just closed it and started this new one. This contains everything the last one did except the LoxiGen stuff.

@phpHavok Awesome! =) Thanks for the contribution! Let's follow up on the payloads for ICMPv6 and such eventually. Those would be useful, especially since the OF protocol defines being able to operate on them.

I agree; ICMPv6 is going to be vital, especially since that's how IPv6 handles "ARP."

@phpHavok Yes, let me know if you want to tackle that, otherwise I'll take a look.

@rizard Sorry it has taken me so long to get back with you. I've been working on a different project/presentation, and I wasn't sure if I was going to be able to work on ICMPv6 or not. As it stands right now, I don't know. I'm going to work on the SPUD class, since it is more readily needed for my project. If you get a chance to look at ICMPv6, go right ahead!

@phpHavok No problem! I'll take a look when I can. It'll honestly be at the end of my to-do list right now, since nobody has requested it (but I'll eventually get to it). Thanks again!


Implement MVP but rich CLI

Current poc CLI: https://github.com/juanmirocks/parcel-reporter-mkpdf/blob/develop/workspaces/mkpdf/src/cli.ts
Goals:

[ ] Parse options from PrintMainInput
[ ] Allow inputs:

[ ] HTML
[ ] URL
[ ] (Not implemented) Markdown

[ ] Release globally-installable CLI as an npm package

Considered CLI JS libraries:

https://github.com/yargs/yargs
https://github.com/tj/commander.js
https://github.com/oclif/oclif
https://github.com/chalk/chalk (style)

Comparison of CLI libraries for JS as of 2023-06-06

Name
Version
Size
node official support
deno official support

yargs
17.7.2
292kB
✅
✅

commander.js
10.0.1
174kB
✅
⚠

oclif
3.9.0
166kB
✅
❌

For now, I try with oclif, since it's the leanest, it seems to do everything, and it's actively maintained by salesforce. deno packaging support is actually not needed and anyway they seem to be working on it.


Can mobile numbers be detected?

It looks like there is already a lot of work put into mobile number detection, but I can't make it work.
For example calling CountryCodes#mobile? delegates to a missing Country#mobile? method.
On the other hand I can see some "code fragments" hinting to mobile number detection.
Will this be implemented or am I using it wrong?
Thank you.

Closing this – it's been open too long.

I made some very simple mobile detection https://github.com/mobino/phone_classifier

This is good and sad at the same time. Good because I'm going to use it now, sad, because it should really be a part of Phony. Phony is by far the best maintained library, so it would be sad if changes get lost when being backported to other gems.
Originally I hoped that these variables could be exposed to the outside world (via a module). So others could hook in there. But I might be a bit naive there, considering that there are so many edge-cases.


Alarm status not updated

Ever since v2.2.1 there seems to be an issue where if the alarm is armed/disarmed by the physical panel, the status is not updated in the integration until the integration is reloaded. I would be happy to provide additional details, just don't know exactly what you'd want to take a look at.

This is probably related to #187. Would you mind enabling debugging and checking your full Home Assistant logs for any login, 403, or other obvious errors?

Thanks, I will do that. I enabled debugging and it's working just fine on a fresh restart of HA of course - I will wait until this evening and try to replicate. Will post an update when able.

Couldn't get it to replicate last night now that debug logging was on, of course! Now that v2.2.2 is released I'm marking this as closed. Thank you so much for your hard work developing this excellent integration!

I have just experienced this issue on 2.2.2. Fine after reload of components. Please reopen. It will enable logs.

I just experienced it again on 2.2.2, reopening issue. Of course I had logging disabled - I am going to re-enable debug logging and wait for it to fail again.

I am experiencing the same
Error fetching data from Alarm.com. Got 403 status when fetching data for device type DeviceType.SYSTEM. User is already logged in. Giving up on device type.
Error fetching data from Alarm.com. Got 403 status when fetching data for device type DeviceType.PARTITION. User is already logged in. Giving up on device type.
Error fetching data from Alarm.com. Got 403 status when fetching data for device type DeviceType.SENSOR. User is already logged in. Giving up on device type.
Error fetching data from Alarm.com. Got 403 status when fetching data for device type DeviceType.WATER_SENSOR. User is already logged in. Giving up on device type.

Folding into #234


docker autofc2 ffmpeg error

I'm using
docker run -d --name autofc2 -v D:/Downloads/_FC2/autofc2.json:/app/autofc2.json:ro -v D:/Downloads/_FC2/recordings:/recordings ghcr.io/holoarchivists/fc2-live-dl:latest autofc2 --config /app/autofc2.json
after the live stream offline
and I got this:
Task exception was never retrieved
future: <Task finished name='Task-14' coro=<AutoFC2.handle_channel() done, defined at /app/.local/lib/python3.10/site-packages/fc2_live_dl/autofc2.py:90> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
File "/app/.local/lib/python3.10/site-packages/fc2_live_dl/autofc2.py", line 93, in handle_channel
await fc2.download(channel_id)

File "/app/.local/lib/python3.10/site-packages/fc2_live_dl/FC2LiveDL.py", line 214, in download
await self._remux_stream(fname_stream, fname_muxed)

File "/app/.local/lib/python3.10/site-packages/fc2_live_dl/FC2LiveDL.py", line 279, in _remux_stream
async with FFMpeg(mux_flags) as mux:

File "/app/.local/lib/python3.10/site-packages/fc2_live_dl/ffmpeg.py", line 16, in aenter
self._ffmpeg = await asyncio.create_subprocess_exec(

File "/usr/local/lib/python3.10/asyncio/subprocess.py", line 218, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(

File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1667, in subprocess_exec
transport = await self._make_subprocess_transport(

File "/usr/local/lib/python3.10/asyncio/unix_events.py", line 207, in _make_subprocess_transport
transp = _UnixSubprocessTransport(self, protocol, args, shell,

File "/usr/local/lib/python3.10/asyncio/base_subprocess.py", line 36, in init
self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,

File "/usr/local/lib/python3.10/asyncio/unix_events.py", line 799, in _start
self._proc = subprocess.Popen(

File "/usr/local/lib/python3.10/subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,

File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

Thanks for the report. I forgot to install ffmpeg in the container. I pushed a commit, can you try to docker pull ghcr.io/holoarchivists/fc2-live-dl:latest and run the command again?

waiting for another stream offline
btw:Is it normal that docker autofc2 wont see the preview file in the recordings folder?

You should see the recordings in the folder. Make sure you set the outtmpl in your config to point to /recordings as the output folder.
If you didn't, you can try to browse the container and see where the files are: docker exec -it <container id> /bin/sh. You can get the container id with docker ps.

Thanks a lot
The docker autofc2 should work functionally
<m(__)m>


Show only active experiments on create/duplicate schedules page

JIRA: RHOAIENG-10401
Description

When user creates/duplicates a schedule, prevent user from selecting the archived experiments from the selector and only show active experiments.
How Has This Been Tested?

Create ExperimentA
Create a schedule ScheduleA with ExperimentA
Archive ExperimentA
Create a schedule, make sure you cannot select ExperimentA in the experiment selector
Duplicate the ScheduleA, make sure ExperimentA is not pre-filled

Test Impact

Added/changed some cypress tests to better test selecting archived experiments on a create schedules page.
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

testing locally
/lgtm

/approve


[Script]: Drawing Guess AI

Aim
Drawing Guess AI
Details
Drawing Guess AI
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


Simple CTS by default

Note: These still fail because the clock periods need to be adjusted.

Motivation was discussed at length during the sync meeting.

@donn are there open github issues for the "odd issues with TritonCTS"?  Are you going to make the default switch (I didn't make the meeting)?

@maliberty Not yet no. Most likely not- we're going to switch to simple CTS on the designs that have hold vios with TritonCTS.


Adding more information in the section "more"

Add some more informations about Lionel Messi in the "more" section
You can add some more styles as well as videos and photos of MESSI

@yuvi2565 go ahead. Add a screen shot after your work and then do a PR

@Soumyajit2825 This is information that I have added about Messi in the more section:


Zombie Pigman Spawner

Set up a spawner killed my share of pigman, used an egg on the spawner........ Aaaaaaaand I get chickens.
I kill more pigman, get another egg, use it on the spawner.................... Aaaaaaaaaaaand more chickens.
I didn't get what was going on, then looked in my chest at the drops, then played with sound (Yes, I play muted) I heard the pigman, and one of the chickens BIT ME!
Long story short, the pigman spawner is trying to falsely spawn chicken jockies and if the spawn fails, it only spawns the chicken. Even if the spawn somehow succeeds, the pigman are invisible, jocky or not.
TLDR;
Pigman spawners are broken

determined to be a bug in VTweaks


COMPASS-4245: reset does not clear out query bar fields

Description
Calling refreshEditor on reset was overwriting the query options using aceEditor with the previous value.
Checklist

[ ] New tests and/or benchmarks are included
[ ] Documentation is changed or added

Motivation and Context

[ ] Bugfix
[ ] New feature
[ ] Dependency update
[ ] Misc

Open Questions

How to add a test for this?
Dependents

The following packages are dependent:

'@mongodb-js/compass'
'@mongodb-js/compass-crud'
'@mongodb-js/compass-explain-plan'
'@mongodb-js/compass-schema'
'@mongodb-js/compass-home'
'@mongodb-js/compass-collection'

Types of changes

[ ] Backport Needed
[x] Patch (non-breaking change which fixes an issue)
[ ] Minor (non-breaking change which adds functionality)
[ ] Major (fix or feature that would cause existing functionality to change)

i would double check those travis tests! i think sometimes you just have to restart them in these repos (it's not super idempotent 😅 )

i would double check those travis tests! i think sometimes you just have to restart them in these repos (it's not super idempotent 😅 )

Oh my bad, i was just running npm run test instead of npm run test:karma


Log in not working.

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/dahlb/ha_kia_hyundai/blob/master/README.md
Region and Brand of car
Hyundai Palisade USA
Describe the bug
Log-in is not proceeding. Even trying after logging out and logging in on the mobile app.
Debug logs if an error occurred
Outlined here: https://github.com/dahlb/ha_kia_hyundai/blob/master/README.m
To Reproduce
Steps to reproduce the behavior:

Go t o integrations and select Kia/Hyundai.
Enter login info
Error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

duplicate of https://github.com/dahlb/ha_kia_hyundai/issues/83


Reference .NET Standard 2.0 assembly for Xamarin.Mac project

Description
Paket (5.196.2) generate incorrect reference Condition to .NET Standard 2.0 assemblies in fsproj that target Xamarin.Mac framework - related issues https://github.com/fsprojects/Fabulous/issues/328
Repro steps
Please provide the steps required to reproduce the problem

Install Fabulous template dotnet new -i Fabulous.Templates

Create new project dotnet new fabulous-app -n SqueakyApp --macOS --Android=false --iOS=false

Convert to Paket

This is what paket generate - https://github.com/sergey-tihon/MinMe/commit/c39d88f13844fe9c7e978832a1f73b439eabfe5a (repro branch)
Expected behavior
I think that Paket should explicitly mention framework in Condition
<When Condition="($(TargetFrameworkIdentifier) == '.NETStandard' And $(TargetFrameworkVersion) == 'v2.0')
Or ($(TargetFrameworkIdentifier) == 'Xamarin.Mac')">

Actual behavior
Paket does not mention Xamarin.Mac in condition
<When Condition="$(TargetFrameworkIdentifier) == '.NETStandard' And $(TargetFrameworkVersion) == 'v2.0'">

Known workarounds
Manually update fsproj after Paket.

Close it,  because it is works, at least for me


Feat/ink advance

This pull request has been deployed to Vercel.

Latest commit:
1d407aa

✅ Preview:
https://polkadot-bootcamp-626pxe3xk-openedu101.vercel.app

🔍 Inspect:
https://vercel.com/openedu101/polkadot-bootcamp/7bWdRK2meVg4GRpoFUaDfyWe1mba

View Workflow Logs