text:
[openmetrics] Offer option to send histograms as bucket counters AND distribution metrics

Output of the info page
===============
Agent (v7.16.1)
===============
  Status date: 2020-02-25 22:22:05.129654 UTC
  Agent start: 2020-02-25 19:45:25.923801 UTC
  Pid: 338
  Go Version: go1.12.9
  Python Version: 3.7.4
  Build arch: amd64
  Check Runners: 4
  Log Level: WARN
  Paths
  =====
    Config File: /etc/datadog-agent/datadog.yaml
    conf.d: /etc/datadog-agent/conf.d
    checks.d: /etc/datadog-agent/checks.d
  Clocks
  ======
    NTP offset: -6.989ms
    System UTC time: 2020-02-25 22:22:05.129654 UTC
  Host Info
  =========
    bootTime: 2020-02-10 21:50:08.000000 UTC
    kernelVersion: 3.10.0-1062.1.1.el7.x86_64
    os: linux
    platform: debian
    platformFamily: debian
    platformVersion: 10.2
    procs: 67
    uptime: 357h55m27s
    virtualizationRole: guest
    virtualizationSystem: docker
  Hostnames
  =========
    host_aliases: [ocp-app-01q.lab1.bwnet.us]
    hostname: ocp-app-01q.lab1.bwnet.us
    socket-fqdn: datadog-agent-jnpb5
    socket-hostname: datadog-agent-jnpb5
    host tags:
      [cluster:cluster.lab1]
    hostname provider: container
    unused hostname providers:
      aws: not retrieving hostname from AWS: the host is not an ECS instance, and other providers already retrieve non-default hostnames
      configuration/environment: hostname is empty
      gce: unable to retrieve hostname from GCE: Get http://169.254.169.254/computeMetadata/v1/instance/hostname: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Metadata
  ========
    hostname_source: container
=========
Collector
=========
  Running Checks
  ==============
    cpu
    ---
      Instance ID: cpu [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/cpu.d/conf.yaml.default
      Total Runs: 627
      Metric Samples: Last Run: 6, Total: 3,756
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s
    disk (2.5.3)
    ------------
      Instance ID: disk:e5dffb8bef24336f [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/disk.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 452, Total: 282,952
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 1.378s
    docker
    ------
      Instance ID: docker [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/docker.d/conf.yaml.default
      Total Runs: 619
      Metric Samples: Last Run: 8,820, Total: 1 M
      Events: Last Run: 0, Total: 716
      Service Checks: Last Run: 1, Total: 619
      Average Execution Time : 3.658s
    file_handle
    -----------
      Instance ID: file_handle [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/file_handle.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 5, Total: 3,130
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s
    io
    --
      Instance ID: io [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/io.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 455, Total: 284,515
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 3ms
    kubelet (3.4.0)
    ---------------
      Instance ID: kubelet:d884b5186b651429 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/kubelet.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 3,814, Total: 1 M
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 4, Total: 2,504
      Average Execution Time : 6.386s
    load
    ----
      Instance ID: load [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/load.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 6, Total: 3,756
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s
    memory
    ------
      Instance ID: memory [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/memory.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 17, Total: 10,642
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s
    network (1.12.2)
    ----------------
      Instance ID: network:e0204ad63d43c949 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/network.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 31, Total: 19,406
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 105ms
    ntp
    ---
      Instance ID: ntp:d884b5186b651429 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/ntp.d/conf.yaml.default
      Total Runs: 11
      Metric Samples: Last Run: 1, Total: 11
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 11
      Average Execution Time : 981ms
    openmetrics (1.3.0)
    -------------------
      Instance ID: openmetrics:argo:24ca5ec29bda41f3 [OK]
      Configuration Source: kubelet:docker://bcc5c94c61083c1fe11de4936f12f733ececa08414e66c44bdd5ac800d673246
      Total Runs: 86
      Metric Samples: Last Run: 89, Total: 7,627
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 86
      Average Execution Time : 29ms
      Instance ID: openmetrics:argo:e822becabdb98fb [OK]
      Configuration Source: kubelet:docker://d5414e1f44598239e76bef98f8ac623d20596ca8e99fc960c80d827faeb8a208
      Total Runs: 158
      Metric Samples: Last Run: 84, Total: 13,023
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 158
      Average Execution Time : 50ms
      Instance ID: openmetrics:jenkins:1cb698262b8693f [OK]
      Configuration Source: kubelet:docker://31b523ea583d7a7698dddde960d108432d1db81be4df5e4d7b40f2a77c628a31
      Total Runs: 626
      Metric Samples: Last Run: 1,223, Total: 765,570
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 493ms
      Instance ID: openmetrics:jenkins:4098d8357e61abc9 [OK]
      Configuration Source: kubelet:docker://5c0eb29d1c1f0a4e9cb19983a5b2d02ccf466ea0b3b92f4d00f6c18f588cd765
      Total Runs: 626
      Metric Samples: Last Run: 52, Total: 32,552
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 161ms
      Instance ID: openmetrics:jenkins:6ff158361907b312 [OK]
      Configuration Source: kubelet:docker://c4d08888c74a76777b9e2970f0d77b30c5007e85a71e144ba6a5ae2c78f40a47
      Total Runs: 626
      Metric Samples: Last Run: 1,202, Total: 752,452
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 544ms
      Instance ID: openmetrics:jenkins:804a23f6b7eb0cea [OK]
      Configuration Source: kubelet:docker://fa5867c5238ecd5d3b12e679ca9c5c72108b4c010568137667489ae5a5efb12d
      Total Runs: 626
      Metric Samples: Last Run: 52, Total: 32,552
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 12ms
      Instance ID: openmetrics:one-id:6f2950c5f7b7a6ab [OK]
      Configuration Source: kubelet:docker://5ed03916f3709d75f249ea1c02daf943bdc646ae0e550f7311582f61bd3c443c
      Total Runs: 626
      Metric Samples: Last Run: 13, Total: 8,138
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 56ms
      Instance ID: openmetrics:one-id:a7f9db6bf5c8fae5 [OK]
      Configuration Source: kubelet:docker://c651eea322b9e239ae715cd4b0428c41f2fa678eb642fe36cf763b382f5e2947
      Total Runs: 627
      Metric Samples: Last Run: 239, Total: 149,853
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 627
      Average Execution Time : 188ms
      Instance ID: openmetrics:one-id:aa0c2448f34cb741 [OK]
      Configuration Source: kubelet:docker://a6bd60e32e66bc703aeeda6e3825bd50ab9b189e01f728728c9f1d91aa78cf50
      Total Runs: 626
      Metric Samples: Last Run: 13, Total: 8,138
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 117ms
      Instance ID: openmetrics:one-id:e0441bd923a5b179 [OK]
      Configuration Source: kubelet:docker://99ab07bcc79b4436656415cff0b3ae77faf1ca29e3ce977fb73aceaf28e1e662
      Total Runs: 626
      Metric Samples: Last Run: 224, Total: 140,224
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 626
      Average Execution Time : 234ms
    uptime
    ------
      Instance ID: uptime [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/uptime.d/conf.yaml.default
      Total Runs: 626
      Metric Samples: Last Run: 1, Total: 626
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s
========
JMXFetch
========
  Initialized checks
  ==================
    no checks
  Failed checks
  =============
    no checks
=========
Forwarder
=========
  Transactions
  ============
    CheckRunsV1: 626
    Dropped: 0
    DroppedOnInput: 0
    Events: 0
    HostMetadata: 0
    IntakeV1: 376
    Metadata: 0
    Requeued: 0
    Retried: 0
    RetryQueueSize: 0
    Series: 0
    ServiceChecks: 0
    SketchSeries: 0
    Success: 2,871
    TimeseriesV1: 626
  API Keys status
  ===============
    API key ending with 6f1b6: API Key valid
==========
Endpoints
==========
  https://app.datadoghq.com - API Key ending with:
      - 6f1b6
==========
Logs Agent
==========
  Logs Agent is not running
=========
Aggregator
=========
  Checks Metric Sample: 10.4 M
  Dogstatsd Metric Sample: 45,710
  Event: 717
  Events Flushed: 717
  Number Of Flushes: 626
  Series Flushed: 10.1 M
  Service Check: 20,725
  Service Checks Flushed: 21,335
=========
DogStatsD
=========
  Event Packets: 0
  Event Parse Errors: 0
  Metric Packets: 45,709
  Metric Parse Errors: 0
  Service Check Packets: 0
  Service Check Parse Errors: 0
  Udp Bytes: 2.9 M
  Udp Packet Reading Errors: 0
  Udp Packets: 45,710
  Uds Bytes: 0
  Uds Origin Detection Errors: 0
  Uds Packet Reading Errors: 0
  Uds Packets: 0
=====================
Datadog Cluster Agent
=====================
  - Datadog Cluster Agent endpoint detected: https://172.24.134.181:5005
  Successfully connected to the Datadog Cluster Agent.
  - Running: 1.4.0+commit.f102bd8

Additional environment details (Operating System, Cloud provider, etc):

Adopt OpenJDK 12.0.2
Spring Boot 2.2.4.RELEASE
OpenShift v3.11.98

Steps to reproduce the issue:

We are using Spring Boot's Micrometer instrumentation library to collect OpenMetrics from our webservers. By default, Micrometer ships with an OpenMetrics summary http_server_requests_seconds. We have enabled the Micrometer's SLA feature to make it a histogram with the following Spring properties:

management:
  metrics:
    distribution:
      sla:
        http.server.requests: 50ms,100ms,250ms,500ms

which produces OpenMetrics such as:
http_server_requests_seconds_bucket{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",le="0.05",} 9804.0
http_server_requests_seconds_bucket{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",le="0.1",} 9804.0
http_server_requests_seconds_bucket{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",le="0.25",} 9804.0
http_server_requests_seconds_bucket{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",le="0.5",} 9804.0
http_server_requests_seconds_bucket{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",le="+Inf",} 9804.0
http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",} 9804.0
http_server_requests_seconds_sum{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/oauth2/token",} 52.225603882

I then wanted to send my metrics as distribution metrics so I can visualize my latency for various percentiles and combinations of tags. As a result, I've attached the following annotations to my pod:

    ad.datadoghq.com/signum.check_names: '["openmetrics"]'
    ad.datadoghq.com/signum.init_configs: '[{}]'
    ad.datadoghq.com/signum.instances: |-
      [
        {
          "prometheus_url": "http://%%host%%:8888/actuator/prometheus",
          "namespace": "one-id",
          "metrics": ["http*"],
          "type_overrides": {},
          "send_histogram_buckets": true,
          "send_monotonic_counter": true,
          "send_distribution_buckets": true,
          "send_distribution_counts_as_monotonic": true
        }
      ]
    ad.datadoghq.com/signum.tags: |-
      {
        "team": "keystone",
        "env": "dev",
        "apiVersion": "v1"
      }

Describe the results you received:
This works great! I am able to visualize all the percentiles I want. However, when I enable distribution metrics via send_distribution_buckets I lose my bucket counter metrics i.e. one_id.http_server_requests_seconds.count which had tags like upper_bound and status.
Describe the results you expected:
I was wanting send_distribution_buckets to still send the raw counters as well, because although its more metrics/money I can use them to calculate SLIs (i.e. were 99% of requests succesful/fast) as well as Apdex scores. For example, we have been using this query in our SLO monitor and dashboards:
(per_second(sum:one_id.http_server_requests_seconds.count{upper_bound:0.5,$env,$cluster}.as_count()) - per_second(sum:one_id.http_server_requests_seconds.count{upper_bound:0.5,status:500,$env,$cluster}.as_count()))
/
per_second(sum:one_id.http_server_requests_seconds.count{upper_bound:none,$env,$cluster}.as_count())

Percentile estimations are great for visualizing performance trends and triaging, but they are not great performance indicators for alerting. And so, I'm wondering two things:

Is my approach to getting SLIs and percentiles via OpenMetrics sane? Should I be considering other alternatives?

Is it reasonable to propose (and likely contribute) an additional boolean config var for the openmetrics check that would allow users to opt-in to still sending the raw counters too, something along the lines of send_bucket_counters_with_distributions?

Thanks for the time and help!

Received help from the office hour folks yesterday. I was able to get both my counters and percentiles by simply creating two checks with the following annotations:
    ad.datadoghq.com/signum.check_names: '["openmetrics", "openmetrics"]'
    ad.datadoghq.com/signum.init_configs: '[{}, {}]'
    ad.datadoghq.com/signum.instances: |-
      [
        {
          "prometheus_url": "http://%%host%%:8888/actuator/prometheus",
          "namespace": "one-id",
          "metrics": ["http*"],
          "type_overrides": {},
          "send_histogram_buckets": true,
          "send_monotonic_counter": true,
          "send_distribution_buckets": false,
          "send_distribution_counts_as_monotonic": true
        },
        {
          "prometheus_url": "http://%%host%%:8888/actuator/prometheus",
          "namespace": "one-id",
          "metrics": ["http*"],
          "type_overrides": {},
          "send_histogram_buckets": true,
          "send_monotonic_counter": true,
          "send_distribution_buckets": false,
          "send_distribution_counts_as_monotonic": true
        }
      ]
    ad.datadoghq.com/signum.tags: |-
      {
        "team": "keystone",
        "env": "dev",
        "apiVersion": "v1"
      }

After some consideration, although the workaround ^ is acceptable for the time being I think it would be preferred to avoid the second, unnecessary HTTP request by adding another config var.
I'll reopen and work on a PR for this to get folks feedback as this should be simple but there's quite a bit of boolean vars now for openmetrics.

Chiming onto this issue, another issue we've seen is that the sum and count information doesn't seem to be looked at all when distribution buckets are enabled, meaning we can't look at the count of requests coming in anymore.

It would also be nice if the naming of these are made consistent:
send_histogram_buckets
send_monotonic_counter
send_distribution_buckets
send_distribution_counts_as_monotonic

To
send_histogram_buckets
send_histogram_counts_as_monotonic <-
send_distribution_buckets
send_distribution_counts_as_monotonic

Hey @hfuss @adammw @tonglil
Earlier this year, we introduced a new and improved version of the Openmetrics base check, called OpenMetricsBaseCheckV2.
You can enable V2 by using the openmetrics_endpoint instead of prometheus_url. You need to be on Agent 7.26.x+ and Python 3.
As part of Openmetrics V2, we now support collecting histogram counters when distribution metrics is enabled.
https://github.com/DataDog/integrations-core/blob/763da121dccfc3e7a3e5d6e9e6c57f8e56e8a1b7/openmetrics/datadog_checks/openmetrics/data/conf.yaml.example#L220-L225
To see the complete list of options, see the conf.yaml.example: https://github.com/DataDog/integrations-core/blob/master/openmetrics/datadog_checks/openmetrics/data/conf.yaml.example
There were some config option changes, so please check if your openmetrics instances use any of these and replace the options (types should be compatible, but you can read more about them in the conf.yaml.example):

type_overrides is incorporated in the metrics option now
ignore_metrics is now exclude_metrics
prometheus_metrics_prefix is now raw_metric_prefix
health_service_check is now enable_health_service_check
labels_mapper is now labels_rename
label_joins is now share_labels
send_histograms_buckets is now collect_histogram_buckets
send_distribution_buckets is now histogram_buckets_as_distributions

authors: ChristineTChen adammw hfuss tonglil

repo: DataDog/integrations-core


text:
Fix auto_conf.yaml

Require: https://github.com/DataDog/integrations-core/pull/8722
Description
Remove reference to auto_conf.yaml in tests
Motivation
There is no need to copy auto_conf.yaml, it's now provided by agent.
See related PR: https://github.com/DataDog/integrations-core/pull/8709

/azp run PR Changes

/azp run PR Changes

/azp run PR Changes

/azp run PR Changes

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
🛑 Flappy is down

In 7acc775, Flappy (https://flappy.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Flappy is back up in 25981cc after 7 minutes.

source: gharchive/issue

repo: DataEnsta/upptime

license: MIT


text:
🛑 Bar is down

In 0dd1563, Bar (https://bar.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bar is back up in 6858b4f after 8 minutes.


text:
🛑 DaTA is down

In a3b20bd, DaTA (https://data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DaTA is back up in 8a31678 after 10 minutes.


text:
Integration with JIRA requires username and password

In your code, you mention to activate JIRA, one should instantiate using username, and password to be sent to those calls, can we do without it? Just plain old, oauth token?

Yes, you can specify access_token, as seen here.
I would also recommend setting refresh_token, client_id, and client_secret unless your access_token doesn't expire.

repo: DataFire/Integrations

license: mit

license_source: bigquery


text:
Retrieval example

Thank you for your excellent work. If it's not too much trouble, are you able to add an example for using retrieval with this library?

Hi, thank you for your kind words, I added an example of the retrieval assistant, here: https://github.com/Dataherald/Assistant/blob/main/retrieval_assistant.py

Wow thank you! Much appreciated.

authors: MohammadrezaPourreza silverberrydesert

repo: Dataherald/Assistant


text:
Some builds fail: stat: cannot statx ...: no such file or directory

I'm running nix-portable with NP_LOCATION=/scratch/danio and these files in my PATH:
wxrwxrwx  1 danio eall_s   12 Aug 19 16:28 nix -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-build -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-collect-garbage -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-copy-closure -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-index -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-info -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-instantiate -> nix-portable
-rwxr-xr-x  1 danio eall_s  37M Apr 28 14:17 nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:29 nix-shell -> nix-portable
lrwxrwxrwx  1 danio eall_s   12 Aug 19 16:28 nix-store -> nix-portable
-rwxr-xr-x  1 danio eall_s  114 Aug 21 14:46 nix_wrapper.sh

nix_wrapper.sh:
#!/bin/sh
exec bash -c '
mkdir -p /scratch/danio
export NP_LOCATION="/scratch/danio"
exec $SSH_ORIGINAL_COMMAND
'

on an NFS share
Some builds seem to work but others fail. I've seen it when I tried to build qtwebengine using this node as a builder, but now I also see it when running nix-build -vvvvvvvvvv -I "nixos=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-21.05.tar.gz -A omnikeywith a localdefault.nix`
the key seems to lie here in the log:
stat: cannot statx '/nix/store/ah9102l9q1fsgsama0gss32w7p9a3il5-read-omnikey-0.1.0/bin/read-omnikey': No such file or directory
waiting for children
building of '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv!out' from .drv file: got EOF
building of '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv!out' from .drv file: woken up
building of '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv!out' from .drv file: build done
killing process 6457
builder process for '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv' finished
lock released on '/nix/store/ah9102l9q1fsgsama0gss32w7p9a3il5-read-omnikey-0.1.0.lock'
building of '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv!out' from .drv file: done
building of '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv!out' from .drv file: goal destroyed
error: --- Error -------------------------------------------------------------------- nix-build
builder for '/nix/store/bwyhffd4s60yl242194a5ldyqdyzllha-read-omnikey-0.1.0.drv' failed with exit code 1

Specifically the stat: cannot statx '/nix/store/ah9102l9q1fsgsama0gss32w7p9a3il5-read-omnikey-0.1.0/bin/read-omnikey': No such file or directory
Do you have an idea of what's wrong?

Node that works: Linux demiurgen 5.14.0-1-amd64 #1 SMP Debian 5.14.6-3 (2021-09-28) x86_64 GNU/Linux
Node that doesn't work: Linux isvegg 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux

Had a similar problem, adding filter-syscalls = false to my conf fixed it. Obviously not ideal, i can't see it in your logs but it's probably trying to setuid or setgid on read-omnikey. I'm not sure what the 'right' fix would be.

repo: DavHau/nix-portable


text:
Error "nix is unable to build packages" when there's nothing to build

Go to https://app.kasmweb.com/#/cast/1481835260 , it's a demo for a web-based Ubuntu desktop environment.
Open a terminal and run:
wget --no-check-certificate https://github.com/DavHau/nix-portable/releases/download/v010/nix-portable
chmod a+x nix-portable
./nix-portable nix run nixpkgs#jq

There should be nothing to build here but it crashes with "nix is unable to build packages"
I ran it with NP_DEBUG=2, here's the log: errorlog.txt

I got that error when I had a nix.conf in my home directory pointing the store to a folder in my home directory that already existed.

authors: mausch txomon


text:
Allow overriding config parameters without writing a config file

I'd like to run the SARIF formatter on our CI but don't want to configure it by default for everyone running the linter itself on their development machines. I know I can create a config, extend the original config in it and override it with the --config parameter, but that requires all repositories using our shared pipeline to have the same markdownlint-cli2 config file name.
Instead I'd like to be able to configure a formatter as a CLI parameter or being able to override the base config and let markdownlint-cli2 resolve the repo config on its own. Ideally the configuration in the repository should be set up for developers to allow easy onboarding.
Not sure how this could work with the current configuration/CLI setup, so I don't really have a helpful suggestion, just my feature request. Feel free to just close this if it isn't in scope for the project or not helpful.

If I understand your scenario correctly, you should be able to have your pipeline make the relevant configuration file update to add the SARIF output formatter. While that will create a diff for the repository during the CI run, it will be deleted as soon as it's done anyway. Or you could revert the change in your pipeline after linting.

Another option is to use JavaScript for the configuration file and then determine at runtime whether or not to include the SARIF formatter based on whether code was running in the context of CI or not.

authors: DavidAnson strayer


text:
fix: The 'extends' property not working with --config option

Fixes https://github.com/DavidAnson/markdownlint-cli2/issues/190

The PR adds the missing logic to utilize the extends config file after reading config from --config option. It also adds unit test markdownlint-cli2-config-option-with-extends.
Note, some tests were failing before my changes. So I've fixed them. Let me know if this is ok.

No tests should have been failing. You can check Actions history. It ran multiple times yesterday as I made commits.

authors: DavidAnson OnkarRuikar


text:
Save showing/hiding state to localstorage

Same as #51, but for showing/hiding state

Does this mean/include the showing/hiding state of the entire devtools panel?

Yep, that wasn't very well worded. This should save whether the panel is being shown or hidden.

authors: Dexterminator danielcompton


text:
[Feature Request] Use Built-In Conversion Rates for Currency

Currently, Lazy Money has it's own internal conversion rates between the 5 units of currency. Foundry 5E, in its latest update, now has the conversion rates set in the module/config.js file

I looked into it but that particular format seems useful for converting everything into plat but in my use case of converting arbitrary denominations it only seems to make things more complicated with no added benefit.
I also find it highly unlikely WotC will change the currency rates during 5e's lifetime so not relying on DND5E's API for this should be fine.

My request is because I have a module that allows users to alter those currency rates to custom rates. So by using that DND5E's API, people are able to set their own rates between the different currencies and still get all the benefits of Lazy Money.

I changed it so that my cpValue object is now generated from the DND5E config.

authors: DeVelox ktrieun

repo: DeVelox/lazymoney


text:
Compilation fails with CUDA enabled

Hello,
I have an nVidia GPU, and I wanted to test CUDA. I had to make the changes described in #35 (every one of them) to make it work. My situation was the same, I followed the BUILD.md guide but installing CUDA instead of AMD SDK.
After that It seems to work with no issues. Performance seems good, but as my understanding of CUDA specifics is very limited, I am not sure what are the effects of this workarround. I would like to help with testing if needed.

After that It seems to work with no issues. Performance seems good,
But compilation fails?
So what does work with no issues?

I apologize since my explanation was not clear enough.
Compilation fails with the code "as is" on master. With the changes suggested in #35 it compiles and works, but my knowledge of what is happening behind the scenes is not enough to make a PR with a proper fix (not just a workaround commenting the offending lines).

@ignaciobfp Ah, ye now I understand, I will look into PR'ing it

Nice, thanks

@ignaciobfp Don't expect it too soon though, ill leave this issue open until I PR it tho

Removing sm_20 support (what I've show in my issue) just means that this program would no longer support older GPUs.

@DeadSix27 @ignaciobfp
This issue has been solved in #54, It should be closed.

@YukihoAA I added you as contributor you have push rights and can close issues now.
see: https://github.com/DeadSix27/waifu2x-converter-cpp/invitations

@DeadSix27 Thank you for your invitation!
OK, I'll keep check on new PR and issues

authors: DeadSix27 LuminescentMoon YukihoAA ignaciobfp


text:
No percentage

Today a new firmware 1.8.16 was released for the HmIP-BROLL.
Since then the shutter card does not show any percentage of the shutter.

If you've a problem since you updated something else than the shutter card, it's 99% sure it has nothing to do with shutter card.
Look at your HmIP-BROLL if it correctly brings percentage to Home Assistant, it could be a good way to start.

Excuse me, a one-time lowering and raising of the shutter has solved the problem.
Thanks for your effort!

authors: Deejayfool bussio

repo: Deejayfool/hass-shutter-card


text:
Faster copy

this change will accerate the aten::copy by about 5%.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.16 out of 17 committers have signed the CLA.:white_check_mark: wiryls:white_check_mark: jfxu-st:white_check_mark: zhaoguochun1995:white_check_mark: caikun-pjlab:white_check_mark: POI-WX:white_check_mark: Bonbon-Tang:white_check_mark: lljbash:white_check_mark: NeosZhang:white_check_mark: tangzhiyi11:white_check_mark: Reinerzhou:white_check_mark: CoolKbh:white_check_mark: Wrench-Git:white_check_mark: fandaoyi:white_check_mark: hellozmz:white_check_mark: lwj-st:white_check_mark: zyf654321:x: SHshenhaoYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant Wrench-Git


text:
invicti professional edition v24.3.0 / .nss file have issues / An exception error occurred during the report import:["'utf-8' codec can't decode byte 0xc6 in position 106: invalid continuation byte"]

Pls review this video:
An exception error occurred during the report import:["'utf-8' codec can't decode byte 0xc6 in position 106: invalid continuation byte"]
https://github.com/DefectDojo/django-DefectDojo/assets/428820/c6f4e26d-d2ca-4599-8ecc-c1c1406f329d

Could you please upload a sample file to reproduce the issue? Then, we can close it with a PR

@johnfelipe , please share a sample file here.

https://gist.github.com/johnfelipe/59ba7758276ddaab4971207367712e85
is censured like HCL Appscan

Netsparker supports only JSON format, but you provided xml content...

invicti professional edition v24.3.0
this is former netsparker, but im use invicti, can we put new scanner
called Invicti professional or something?
El jue, 16 may 2024 a las 16:47, manuelsommer @.***>)
escribió:

Netsparker supports only JSON format, but you provided xml content...
—
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/10076#issuecomment-2116244257,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFDYQRACZ5XGZYHUUXTZCUSOBAVCNFSM6AAAAABHBFFPQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGI2DIMRVG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure, why not. Feel free to make a PR. 👍

Then for make you PR, do u need JSON for netspeaker?
El vie, 17 may 2024, 1:48 a. m., manuelsommer @.***>
escribió:

Sure, why not. Feel free to make a PR. 👍
—
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/10076#issuecomment-2116868464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFBFKQAZ7EHLWTIBBSDZCWR2BAVCNFSM6AAAAABHBFFPQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWHA3DQNBWGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: johnfelipe manuel-sommer

repo: DefectDojo/django-DefectDojo


text:
Importing snyk test scans produces error: An exception error occurred during the report import:'priority'

I am importing manually snyk scans created using snyk test. Occasionally I get the following error message:
An exception error occurred during the report import:'priority'
After I get the above error message, the remaining vulnerabilities are not imported.
I am using DefectDojo v. 2.29.4 hosted on an EC2 in AWS using the DefectDojo AMI.
I have some scan files that I could potentially share, however I would have to sanitize them first.
I took a look at the DD code, however since I am not familiar with the code and for amount of time I spent on it, I went as far as figuring out that the issue probably occurs in engagements/views.py, but I didn't determine where the "priority" string in the error message comes from.
Any help is greatly appreciated. Thank you.

Could you please provide a sample file to reproduce the issue?

The short answer is that I can't right now. I can't send the file as is, as I would have to sanitize the fields that contain some confidential information. Since I have over 100 vulns in that file, it would take me some time.
In the meantime it would be helpful if you can help me understand where the string "priority" that is part of the error message comes from. Is it related to the Jira "priority" field?
Also, I deleted all the imports for the Snyk organization I was having issues with, and re-imported the same file that was giving me the above error message and this time it worked fine. Not clear why. Thanks.

I don't know, do you have a full error, e.g. look at these examples:
https://github.com/DefectDojo/django-DefectDojo/issues/9838
https://github.com/DefectDojo/django-DefectDojo/issues/9837
In order to reproduce the issue, the right one vuln would be enough, you don't need to sanitize 100 vulns.

I have to figure out which vulnerability is causing the issue. I deleted the test for which the import was failing and re-import the same file with no errors this time. I can try to re-import it again and see if the issue persist or if it is gone.
Regardless, I have seen many instances of this issue in syslog. Here is an example:
2024/03/28 21:24:03 [28/Mar/2024 21:24:03] ERROR [dojo.api_v2.exception_handler:36] 'priority'
2024/03/28 21:24:03 Traceback (most recent call last):
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
2024/03/28 21:24:03     response = handler(request, *args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/rest_framework/mixins.py", line 19, in create
2024/03/28 21:24:03     self.perform_create(serializer)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/api_v2/views.py", line 3485, in perform_create
2024/03/28 21:24:03     serializer.save(push_to_jira=push_to_jira)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/api_v2/serializers.py", line 2502, in save
2024/03/28 21:24:03     ) = reimporter.reimport_scan(
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/importers/reimporter/reimporter.py", line 682, in reimport_scan
2024/03/28 21:24:03     ) = self.process_parsed_findings(
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 48, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/celery/local.py", line 182, in call
2024/03/28 21:24:03     return self._get_current_object()(*a, **kw)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/celery/app/task.py", line 411, in call
2024/03/28 21:24:03     return self.run(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/importers/reimporter/reimporter.py", line 429, in process_parsed_findings
2024/03/28 21:24:03     finding.save(push_to_jira=push_to_jira)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/models.py", line 2943, in save
2024/03/28 21:24:03     finding_helper.post_process_finding_save(self, dedupe_option=dedupe_option, rules_option=rules_option, product_grading_option=product_grading_option,
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 75, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 48, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/celery/local.py", line 182, in call
2024/03/28 21:24:03     return self._get_current_object()(*a, **kw)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/celery/app/task.py", line 411, in call
2024/03/28 21:24:03     return self.run(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 120, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/finding/helper.py", line 383, in post_process_finding_save
2024/03/28 21:24:03     jira_helper.push_to_jira(finding)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/jira_link/helper.py", line 602, in push_to_jira
2024/03/28 21:24:03     return update_jira_issue_for_finding(finding, *args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 75, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 48, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/celery/local.py", line 182, in call
2024/03/28 21:24:03     return self._get_current_object()(*a, **kw)
2024/03/28 21:24:03   File "/opt/dojo/lib/python3.10/site-packages/celery/app/task.py", line 411, in call
2024/03/28 21:24:03     return self.run(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/decorators.py", line 120, in wrapper
2024/03/28 21:24:03     return func(*args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/jira_link/helper.py", line 818, in update_jira_issue_for_finding
2024/03/28 21:24:03     return update_jira_issue(finding, *args, **kwargs)
2024/03/28 21:24:03   File "/opt/dojo/django-DefectDojo/./dojo/jira_link/helper.py", line 872, in update_jira_issue
2024/03/28 21:24:03     priority=fields['priority'],
2024/03/28 21:24:03 KeyError: 'priority'
Thanks again.

Hi @AlBellom , maybe this PR fixes your problem: https://github.com/DefectDojo/django-DefectDojo/pull/9571 ?
The release is 2.31.2 🌈
Please upgrade and try the latest version if this can be reproduced.

@AlBellom
I agree that updating to the latest is the way forward.
The AMI uses godojo to do the initial install. You can use the instructions at https://github.com/DefectDojo/godojo/blob/master/docs-and-scripts/upgrading.md to upgrade an existing AMI install.

@mtesauro @manuel-sommer It appears the AMI doesn't have any dojo-stop script. Looking at systemctl, it seems like there is service called sysdojo.service that is able to start and stop the DefectDojo service, but it is now clear if also starts and stop all Celery services, the database and whatever else. I didn't find any documentation around it. Please advise. Thank you.

@AlBellom
You can get the dojo-stop & dojo-start scripts at https://github.com/DefectDojo/godojo/tree/master/docs-and-scripts
sysdojod is used to bring up DefectDojo as a Systemd service. You can use systemctl status sysdojod or pstree to see what processes are started by sysdojod. As I recall, it starts dojo and the celery processes (worker & beat)
first-install.service is exactly what it's named - its the service that brings up the website used to do the initial install of DefectDojo when you first launch the AMI. Once the first install is done, it's no longer needed and should just exit immediately if it is still being started on boot.

Thanks @mtesauro.
When I run /opt/dojo/bin/python3 ./manage.py migrate as part of the upgrade, I get the following message:
Running migrations:
No migrations to apply.
Your models in app(s): 'dojo' have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
It is not clear if this message is just a notice that there are no migrations or if there are further actions to be taken.

@AlBellom
You can always run showmigrations to make sure all the migrations have run. See https://docs.djangoproject.com/en/5.0/ref/django-admin/#django-admin-showmigrations

@mtesauro
There are few points in the upgrade instructions that are not correct:

dojo-stop works only if Dojo was started with dojo-start, as it uses screen. This is typically not the case for an AWS AMI, as Dojo is started at system boot.
I used sudo systemctl stop sysdojo to stop Dojo instead of dojo-stop.
The steps in (4), (5), and (6) should be executed as user dojosrv and therefore after running sudo su - dojosrv.
After I performed all the steps in the upgrading.md document, I restarted Dojo via sudo systemctl start sysdojo.
When I tried to access Dojo from the browser I got a 404...

Suggestions? Thanks.

authors: AlBellom manuel-sommer mtesauro


text:
API v2 to revert earlier version of API

This PR adds v2 of API using Django Rest Framework.

The new code comes with 100% code coverage
The new code is PEP8 compliant
Adds both Swagger UI and DRF browsable APIs.
Token Generation is also available via API.

To test it locally please follow the below steps

Setup Vagrant setup locally using the following Script from django-DefectDojo(obviously replace the existing Vagrantfile)

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
    config.vm.box = "bento/ubuntu-16.04"
    config.vm.hostname = "defect-dojo"

    config.vm.network :private_network, ip: "192.168.13.37"

    # Exposes port 8000 on host from guest.
    config.vm.network "forwarded_port", guest: 8000, host: 8000

    # Shared folder for local code base
    config.vm.synced_folder ".", "/opt/defect-dojo/dojo/app/"

    config.vm.provider "virtualbox" do |v|
      v.memory = 1024
      v.name = "Defect-Dojo"
      v.cpus = 1
    end
end

login into vagrant box and run setup.bash script

vagrant ssh
cd /opt/defect-dojo/dojo/app/
./setup.bash  # select mysql, set root password and type it again when asked about MySQL details.
python manage.py runserver 0.0.0.0:8000

Visit http://localhost:8000/ on your host machine, login and browse to v2 of api below
http://localhost:8000/api/v2/

When submitting a pull request, please make sure you have completed the following checklist:

[x] Your code is pep8 compliant (Dojo's code isn't currently pep8 compliant, but we're trying to correct that)
[x] If this is a new feature and not a bug fix, you've included the proper documentation under the /docs folder

@devGregA @aaronweaver for your review please

Hi Greg and Aaron, do you guys need some information for this review ? I have fixed both the issues you highlighted last time.

Hi Mohammed and Aaron, i'm interested in adding tags using the API. Can you tell me if this will be possible with version 2? This feature has been added as an Enhancement and I'm curious rather it will be implemented in the near future.

authors: mjobn secfigo


text:
Add LDAP integration docs

Lets help out the Django newbies (myself included) 😄
Helping out: #3981 and #6595

@jake-cryptic this is some solid documentation here. I am torn on whether LDAP support should be left as an exercise to the reader via documentation, or if It should be supported out the box
@devGregA @mtesauro what are your thoughts?

There was an issue about this a long time ago that got closed 😄  https://github.com/DefectDojo/django-DefectDojo/issues/1317

authors: Maffooch jake-cryptic


text:
Add support for CalcFi CosmWasm executions

For on-chain execution of CalcFi apps, we need to add support for CosmWasm MsgExecuteContract parsing for CalcFi contract addresses.
Helpful links
Blocked by https://github.com/DefiantLabs/cosmos-tax-cli/issues/443

This issue will be worked on during the development of https://github.com/DefiantLabs/cosmos-tax-cli/issues/443 to allow real-world testing

repo: DefiantLabs/cosmos-tax-cli


text:
mxss in SSM package not consistent with packages

In GitLab by @T.Mulder on Feb 4, 2020, 11:38
In my specific case i had rivers in layers 5,6 and 7.
However in the SSM package a concentration of 0.01  g/L was assigned to all layers: criv_t1_p?_l? = 0.01
And also for the rch: crch_t1_p?_l? = 0.001
This resulted in an error that i had to increase the mxss of 96832
When playing around with the value of mxss i found out that the same error occured when i increased it to 200.000
But when i adjusted the criv --> criv_t1_p?_l5_7 = 0.01 the error was gone.
So my sugestion is that the amount of active layers is taken into account in the SSM package instead of selecting all layers with L?

In GitLab by @Huite on Feb 20, 2020, 12:55
mentioned in commit e27feab47b59da4e4b25fbabc4840c20b4e350ea

repo: Deltares/imod-python


text:
idf.open error

In GitLab by @jeroenhelder on Jun 29, 2021, 16:57
When opening a IDF rasterfile I get the error "Not a supported IDF file"
I figured out that in header the reclen_id returns 2295 instead of 2296.
The IDF is from an iMOD project and generated by the GUI.

In GitLab by @Huite on Jul 1, 2021, 11:35
This should have been fixed in this commit: f929f2122d7611bec95a2ba9f188f7aa224081f3
Although we've been a little bit late with a new release, last release (10.1) is from October 2020, and the commit is from July.
Which version are you on?
(Via)
import imod; print(imod.__version__)

In GitLab by @jeroenhelder on Jul 1, 2021, 12:37
OK uninstalling and reinstalling worked, it is 0.10.1 and the idf open is working fine, thanks


text:
Delete unused strings in i18n

Hey @santisiri ,
Noticed since Sovereign changed a lot in comparison to it's earlier versions, many translation keys in i18n are no longer relevant.
Would it be OK to do a little summer cleaning keeping only what's in use ?

no. don't break things unnecessarily.

authors: santisiri virgile-dev

repo: DemocracyEarth/sovereign


text:
install with pip

Need to get this on pypi to be install-able with pip.

need to restructure the project a bit for this as well.

repo: DerekRies/starmadepy


text:
Using the model to recognize voice

Hello,
thanks for this project I managed to get the test to work immediately.
I have been trying to use the model as feature extraction for d-vectors by reading the tensor value at fc7.
The idea would be to compare (cosine compare) stored d-vectors against the voice recorded for a person during an enrollment process with the d-vector generated by the current recording.
However I tried this for a couple of wav samples and the cosine difference doesn't seem to go below 0.6 even for different people in the set indicating the model does not work well in this scenario.
How is this model meant to be used ? would it work only with the voices in the VoxCeleb set ?
Thanks in advance.

I can't say with 100% certainty whether this is due to the model architecture or the implementation.
Also, there's some points to be considered from the original paper

For verification, feature vectors can be obtained from the classification network using the 1024 dimension fc7 vectors,  and  a  cosine  distance  can  be  used  to  compare  vectors. However, it is better to learn an embedding by training a Siamese network with a contrastive loss [38]. This is better suited to the verification task as the network learns to optimize similarity directly, rather than indirectly via a classification loss

So, the author's suggestion convert fc8 to 1024D is the better performing one but the simpler alternative using fc7 as output also seems to give okayish results according to the paper.
I didn't go through the full paper again and this repo only has the identification model. So my suggestion would be to train the model again and go for the Siamese networks approach for both models after training for classification. If that works then we have our answer otherwise it might be a problem with the implementation.

Keeping it open. If I get some time in the near future I'll try it out.

Hello,
We are also facing a similar issue with the model. We were passing another audio to the preprocess function and extracting features from self.features instance of the class. We also followed the same procedure with test.wav and got two 4096D vectors (one with other audio and one with test.wav audio as input) and got 99.8% cosine similarity. We followed the protocol of preprocesing from signal_utils.py. I have also attached the files which I am using for this analysis.
inference.zip
Can you confirm this behaviour? I have also attached the audio files on which I am testing.

authors: Derpimort giusarno samyak0210

repo: Derpimort/VGGVox-PyTorch


text:
Clarify support & type usage in documentation

Hi there, I've been playing around with HTMX and your library, however I'm having a bit of trouble following the second method of installation:
'An alternative is to include a triple-slash directive wherever you need completions for htmx attributes'
As far as I can tell, this isn't true for TypeScript; I've attempted to add the reference directive to a single component I created, however, including this reference causes other parts of my application (in other files) to have type issues (I'm using Hono as a server).
I found a reference on the TypeScript repository explaining this same issue:
https://github.com/Microsoft/TypeScript/issues/19978
Here is my working repository and branch with the issue replicated - https://github.com/CRBroughton/htmx-contacts-app/tree/github-example-broken
Do you have any recommendations on how I can resolve the above? Either by modifying what I already have, or an alternative to the reference?
Thank you for the library, and your time :)

For the repo you mentioned in particular, it might work if you add 'typed-htmx' in the types section of tsconfig.json next to 'bun-types'.
From what I could gather reading the TS issue, adding a triple-slash directive would actually clear out all entries in the types section and add only those present in the declaration files.

HI there, thanks for the reply :)
I've added in the types to the tsconfig as suggested, but it's still falling over on the hono.tsx file. Seems to be something to do with the types HtmlEscapedString | Promise<HtmlEscapedString> from Hono, and the string type that is now expected.

I'll keep poking at it tomorrow and see if I can get it to work; So far the best I've found is type-casting with as HtmlEscapedString | Promise<HtmlEscapedString> on every bit of HTML.
Thanks again for the help.

I've included an example with Hono for your reference, hopefully this works!

If you have a reproduction repo I might be able to take a look at it soon

thanks for your reply, here it is:
https://github.com/bertez/node-hono-test
it happens with bun as well

I fixed this but didn't publish the changes, it's on 0.2.1 now

thank you! it works

authors: CRBroughton Desdaemon bertez

repo: Desdaemon/typed-htmx

license: ISC


text:
Example suggestions

[ ] Wait for a file download (1, 2, 3):
[ ] Use Request Logger to log REST API calls: https://stackoverflow.com/questions/52745697/requestlogger-not-intercepting-all-http-requests
[ ] How to upload a file with TestCafe: https://stackoverflow.com/search?q=[testcafe]+Upload
[ ] Windows and basic authentication example - https://supportcenter.devexpress.com/internal/ticket/details/T809667
[ ] A hot topic is avoiding the issue with multiple windows, but I don't know if we can provide an example that will work for most cases.
[ ] Check if the document in the iframe is loaded using ClientFunction:
https://stackoverflow.com/questions/57787520/interacting-with-iframe-with-empty-src-attribute/57819981#57819981
[ ] Setup access to microphone and camera API - https://stackoverflow.com/questions/58388177/browser-capabilities-in-testcafe
[x] Wait for a built-in page object property value - https://stackoverflow.com/questions/58373482/wait-for-css-property/58380117#58380117 -
[x] xpath Selector workaround - https://stackoverflow.com/a/55627672/10448174
[ ] Mock Date - https://stackoverflow.com/a/55503853/10448174
[ ] Test features that require a secure context - Web Crypto, Service Workers, Apple Pay. Which pages Chrome considers secure

How about this one? https://stackoverflow.com/questions/58373482/wait-for-css-property/58380117#58380117

It's good example. But I recommend to rename it as Wait for a built-in page object property value or simplified variant Wait for ....

Test email sent via a test case
https://stackoverflow.com/questions/60179445/testcafe-any-recipes-available-for-email-integration

What about this one https://stackoverflow.com/questions/61116376/set-referrer-for-firefox-on-test-cafe
import { RequestHook } from 'testcafe';

fixture `fixture`
    .page `http://example.com`;

export class MyRequestHook extends RequestHook {
    constructor (requestFilterRules, responseEventConfigureOpts) {
        super(requestFilterRules, responseEventConfigureOpts);
    }
    async onRequest (event) {
        event.requestOptions.headers['Referer'] = 'http://my-modified-referer.com';
    }
    async onResponse (event) {
    }
}

const hook = new MyRequestHook();

test.requestHooks(hook)('referer', async t => {
    await t.navigateTo('https://www.whatismyreferer.com/');

    await t.debug();
});

Progress bar testing example:
https://stackoverflow.com/questions/61614885/how-to-test-dymamic-progress-bar-using-testcafe

[ ] Random Data Generation

https://stackoverflow.com/questions/1349404/generate-random-string-characters-in-javascript
https://stackoverflow.com/questions/1527803/generating-random-whole-numbers-in-javascript-in-a-specific-range

[ ] How to capture client-side errors on a page

[ ] How can my application code know whether the app is being tested with testcafe?

[ ] How to click unrendered virtualized element in TestCafe

[ ] How to add request logger for a test or a fixture and filter logs by a browser

[ ] TestCafe with Electron: show and hide main window

[ ] How to check downloaded file name?

[ ] Conditional testing

[ ] Selectors with dynamic classes and IDs

[ ] How do I run tests on multiple browsers in lambdatest?

QR Code from programmatic API - https://github.com/DevExpress/testcafe/issues/5528#issuecomment-690929810

authors: AlexKamaev AlexSkorkin AndreyBelym Farfurix kirovboris miherlosev

repo: DevExpress/testcafe-examples


text:
Test fails to navigate to success page as request header size exceeds the set limit

Scenario:
My test creates an order on Ecommerce website.
When test tries to navigate to success page (which displays the order number),it fails.
Error details:
Failed to perform a request to the resource at
"URL" because of an error.
The request header's size is 2257 bytes which exceeds the set limit.
I am using below command to change the max header size and run the test locally
export NODE_OPTIONS="--max-http-header-size=64000" & npm run test.local;
but still the test fails and every time I get a different request header size limit.
Can you help??
Your Environment details:

testcafe version:                   1.9.4 1.10.1
node.js version:                    v12.18.3
command-line arguments:  export NODE_OPTIONS="--max-http-header-size=64000" & npm run test.local;
browser name and version: chrome  88.0.4324.96
platform and version:          macOS 10.15.7

I have updated the testcafe version to 1.10.1, and I still face the same issue.

I have updated the testcafe version to 1.10.1, and I still face the same issue.

Hi @sharda-Mahendra-cko
TestCafe sets up the maximum header size for a request as 80 kb. It means that you can remove the export NODE_OPTIONS="--max-http-header-size=64000" instruction from TestCafe's run parameters.
If after applying this change, the issue persists, please share with us an example that we can debug locally.

authors: miherlosev sharda-Mahendra-cko

repo: DevExpress/testcafe


text:
Getting a blank page load when using roles to maintain the session between the Tests (happening from the middle of the tests)

What is your Scenario?
When we try to automate our application using the Testcafe and tried to maintain the session between the tests using roles, we are getting blank page loads for the tests (after running few of them).
What is the Current behavior?
We are getting blank page loads for the tests (after running few of them) when using roles
What is the Expected behavior?
We should not get blank page loads.
What is your public website URL? (or attach your complete example)
You can use https://xeni.dev.booking.clubxeni.com/
What is your TestCafe test code?
const clientUser = Role(url, async (t) => {
await helpers.maximizeWindow();
await loginPage.login('xxxx', 'xxxx');
await headers.verifyHeaders();
}, { preserveUrl: true });
fixtureHB-217 Search for Flights in Air Travel
.requestHooks([hook])
.before(async (ctx) => {
ctx.hasExecuted = false;
})
.beforeEach(async (t) => {
await t.useRole(clientUser);
await headers.clickOnAirTravel();
await flightPage.clickOnFlightsTab();
if (!t.fixtureCtx.hasExecuted) {
  t.fixtureCtx.hasExecuted = true;
}

});
test.meta({ safari: 'true' })('HB-120 Verify Traveling from list with exact entered text', async () => {
await flightPage.enterTravelFromLocation('Hyd');
await flightPage.verifyTravelFromLocationListShown();
await flightPage.verifyLocationListToHave('Hyderabad', 'from');
});
Like this we have many tests. We get the blank page load after 15 or 12 tests randomly. If we close the browser when we see this issue, then from the next test it is fine.
Your complete configuration file
{
"selectorTimeout": 90000,
"pageLoadTimeout": 90000,
"browserInitTimeout": 180000,
"assertionTimeOut": 90000,
"disableMultipleWindows": true,
"skipJsErrors": true,
"concurrency": 1,
"speed": 1,
"stopOnFirstFail": false,
"quarantineMode":{
"successThreshold":1,
"attemptLimit": 3
},
"screenshotPath": "/screenshots/",
"screenshots": {
"takeOnFails": true,
"fullPage": true,
"pathPattern": "${DATE}_${TIME}/test-${TEST_INDEX}/${USERAGENT}/${FILE_INDEX}.png"
}
}
Your complete test report
Error in Role initializer -
AssertionError: Air Travel tab is not shown in the booking page after login: expected false to be truthy
Browser: Chrome 95.0.4638.69 / macOS 10.15.7 ( https://automation.lambdatest.com/logs/?sessionID=b3ff3ee394bedd573d4b562b91f7c194 )
Screenshot: C:\Users\LENOVO\qaautomation\screenshots\2022-01-24_11-26-46\test-118\Chrome_95.0.4638.69_macOS_10.15.7\errors\1.png
15 |    await action.click(this.accommodations);
16 |  }
17 |
18 |  async verifyHeaders() {
19 |    await this.verifyLoaderIsNotShown();

20 |    await t.expect(this.airTravel.exists).ok('Air Travel tab is not shown in the booking page after login', { timeout: 100000 });
21 |  }
22 |
23 |  async clickOnAirTravel() {
24 |    await this.verifyHeaders();
25 |    await action.click(this.airTravel);

at  (C:\Users\LENOVO\qaautomation\src\pages\headers.js:20:43)
at asyncGeneratorStep (C:\Users\LENOVO\qaautomation\src\pages\headers.js:2:144)
at _next (C:\Users\LENOVO\qaautomation\src\pages\headers.js:2:482)
Screenshots

Steps to Reproduce

Create and Run a bunch of tests with roles added to maintain session between the tests.

TestCafe version
1.16.0
Node.js version
14.17.4
Command-line arguments
testcafe chrome src/tests/*.js --skip-js-errors --reporter html:reports/report.html
Browser name(s) and version(s)
Chrome v 96.0
Platform(s) and version(s)
macOS, Windows
Other
We run the tests in LambdaTest. This issue is happening when we run the tests locally and in Lambda Test as well.

@Dmitry-Ostashev  Please look into this issue when you get a chance. Thank you.


text:
ComputeHelper.rd and ComputeHelper.view null

I'm getting these static vars as null somehow.  I am trying to do some calcs in editor.  Not sure if that's related.  Maybe a simple @tool annotator would fix it.

Thanks for opening the first issue! Just tested this myself and adding @tool seems to fix it just fine. Weirdly enough, static funcs and const vars both work completely okay without @tool, so it seems like the only script that needs the annotation is ComputeHelper. I'll merge a PR for this in a few minutes.

authors: DevPoodle matt-seaton

repo: DevPoodle/compute-shader-plus


text:
Add same page link.

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] New feature or enhancement
[ ] UI change (please include screenshot!)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Added link to localization.

Other information

Quality check
Before creating this PR:

[x] Did you follow the code style guideline as described in CONTRIBUTING.md
[ ] Did you build the app and test your changes?
[ ] Did you check for accessibility? On Windows, you can use Accessibility Insights for this.
[ ] Did you verify that the change work in Release build configuration
[ ] Did you verify that all unit tests pass
[ ] If necessary and if possible, did you verify your changes on:

[ ] Windows
[ ] macOS
[ ] Linux

Thanks !

authors: niyari veler

repo: DevToys-app/DevToys


text:
Elaborate Documentation for API Endpoints #22

Added a detailed API documentation required for FaceRec:
This pull request includes significant updates to the docs/API.rst file. The changes involve a complete overhaul of the documentation to provide detailed information about the available API endpoints, replacing the previous submodule documentation.
Updates to API documentation:

docs/API.rst: Replaced submodule documentation with detailed descriptions of the available API endpoints, including methods, inputs, descriptions, expected outputs, and scenarios.

It won't be merged until the Python application passes on your branch so please fix that

Also, do you have any idea how the changes you made in the .rst file will be reflected in the readthedocs documentation?
I understand the task you are doing may be for that you could have created a new section or even another page for this task

@Devasy23 I'd like to know what changes to make in order to pass the checks. Thank you.

You'll have to fix the requirements.txt file , it's messed up because of the pre-commit hook's bug

please resolve the conflict with the main branch

@Devasy23 I'd like to know what changes to make in order to pass the checks. Thank you.

@AnleaMJ please do the necessary


text:
Unhandled exception, DLL was not found; "Load Save" button greyed out

Upon launching, I get the following message:

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Dll was not found.

Details are as follows:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DllNotFoundException: Dll was not found.
   at WolvenKit.Core.Compression.KrakenNative.Kraken_Decompress(Byte[] buffer, Int64 bufferSize, Byte[] outputBuffer, Int64 outputBufferSize)
   at WolvenKit.Core.Compression.KrakenNative.Decompress(Byte[] buffer, Byte[] outputBuffer)
   at WolvenKit.Core.Compression.Oodle.Decompress(Byte[] inputBuffer, Byte[] outputBuffer)
   at WolvenKit.Core.Compression.Oodle.DecompressBuffer(Stream inStream, Byte[]& rawBuf)
   at WolvenKit.RED4.TweakDB.Helper.TweakDBStringHelper.LoadFromStream(Stream stream)
   at CP2077SaveEditor.Views.Form2.Init()
   at CP2077SaveEditor.Views.Form2.Form2_Load(Object sender, EventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
CP2077SaveEditor
    Assembly Version: 1.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Runtime
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Windows.Forms
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Windows.Forms.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Collections.Specialized
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.ObjectModel
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Threading
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Collections
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
WolvenKit.Core
    Assembly Version: 1.61.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Text.Json
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Drawing.Common
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Threading.Thread
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Memory
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Numerics.Vectors
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.ComponentModel
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Resources.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Drawing
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
WolvenKit.RED4.Types
    Assembly Version: 1.61.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Collections.Immutable
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Linq
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Text.RegularExpressions
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
WolvenKit.RED4.Save
    Assembly Version: 1.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Private.Uri
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Text.Encodings.Web
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
WolvenKit.Common
    Assembly Version: 1.61.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
WolvenKit.RED4.TweakDB
    Assembly Version: 1.61.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Security.Cryptography
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Runtime.Loader
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 7.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------

************** JIT Debugging **************

If I attempt to continue anyway, the "Load Save" button is completely greyed out and cannot be used, rendering the program completely useless.
I can running CyberCAT through a Windows 11 virtual machine since attempting to run it through Wine on my host Linux installation has wielded similar results.

Don't run the exe from inside the 7z. Extract the files to some folder first.

I've extracted the archive via 7zip and am running it on Win 10 home and get the same error and behavior.
Is there some .net runtime or something this editor is dependent on? FWIW I game on the steamdeck and have a M1 Pro, am borrowing someone's dell laptop to run this save editor. Does the game need to be installed on the machine that the save editor is running on?

I created a Win11 ARM VM using UTM and gave this another try, but got the same error message. I did some updates and installed the vortex manager in case that made a difference and noticed it just downloaded the same .7z file.
@LuineGR
I tried loading the editor again and it worked! I assume it was .NET 6.0 required by Vortex - maybe most people already just have that installed by default? On the Win10 dell machine I installed .NET 5.0 as it is required to build, but that didn't solve the issue.
Loaded up an autosave and was able to change a quest flag and reload back in game. :)

authors: LuineGR erutan seberoth

repo: Deweh/CyberCAT-SimpleGUI


text:
Added Weather App UI

Fixed issue #7 . Please review it.

Fixed issue #7 . Please review it.

Hey @ISHITA-ROY016 , You have developed very beautiful UI, but this is a Design repo
so make this PR into Flutter repo

Hey @ISHITA-ROY016 , You have developed very beautiful UI, but this is a Design repo so make this PR into Flutter repo

But sir I made this pr because I was assigned to #7 in this repo. I was asked to make a weather app UI. Should I change my UI?

Hey @ISHITA-ROY016 , You have developed very beautiful UI, but this is a Design repo so make this PR into Flutter repo

But sir I made this pr because I was assigned to #7 in this repo. I was asked to make a weather app UI. Should I change my UI?

Ishita this repo is for UI/UX Design where we accept only those design which are made in Figma, XD or Sketch.
So, design Weather App in any one of the above software and then make PR.

Ishita this repo is for UI/UX Design where we accept only those design which are made in Figma, XD or Sketch. So, design Weather App in any one of the above software and then make PR.

Okay.

repo: Dezenix/mobile-screens


text:
File renaming option

Hi,
It is not strictly about dealing with subtitles, but it would be great if subliminal has an option to rename video files using user-defined patterns. For instance %s - %n - %t for show name, episode number and episode title.

Not a job for subliminal I'm afraid, subliminal deals with subtitles. You can implement the extra logic by creating your own CLI script using the subliminal library.

authors: Diaoul azmeuk

repo: Diaoul/subliminal


text:
Kodi

Anyone uses Subliminal along with Kodi? Because this is my experience.
I run Windows.

I'm not sure I understand the issue. I use Kodi and can perfectly play videos with subtitles that are downloaded by subliminal.
Now if you try to automate download of subtitles with Kodi, that's not a subliminal issue but a problem within your integration.

The issue is that I can't download the subtitles when I open the video from Kodi. If I open the video from the File Explorer with MPV and download the subtitle, and then I open it on Kodi, of course it works. It's the process of opening it with Kodi, and then running the subliminal script that collides.
I've now asked the developers of Kodi, of the script, and of subliminal, and nobody seems to have an answer. I blame this on Kodi, but they're devs never listen to these sort of concerns "because why not just use our awful integrated player and use that instead of this Rube Goldberg machine!", so before I get stuck forever, I'll ask here one more time: can you try opening a video from Kodi, with MPV as the external player, and then successfully run the script linked on my first post?


text:
Two small bugs fixed

a bug with "import tasks import TodoList", your named task.py, so it's "import task ..."
and a second bug with task.py, no need "i+1" for the last line

Two bugs resolved


text:
Option to use Origin instead of API key

I want to configure an API's use to be tracked based on the Origin headers of the requests, instead of or in addition to IP address or API key.

Is this request related to a particular proxy? Can you give an example of what a request with Origin header would look like?

We'll know the answer at the kickoff meeting 16.11.2016 if not sooner :)

@brylie created an upstream request to API Umbrella
https://github.com/NREL/api-umbrella/issues/307

authors: bajiat kyyberi tuukka

repo: Digipalvelutehdas/APIKA


text:
Support frame/style parameter in Nuclei Detection

We should accept single band images and just skip deconvolving them.
This would allow running the algorithm on arbitrary frames from multi-channel images.

We probably also add a flag to invert single channel images, as the standard hematoxylin has dark nuclei on a light background.
The frame and style parameters can be done like here:
https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/histomicstk/cli/PositivePixelCount/PositivePixelCount.xml#L160-L177
and here:
https://github.com/DigitalSlideArchive/HistomicsTK/blob/master/histomicstk/cli/PositivePixelCount/PositivePixelCount.py (where the words frame and style appear).

Closed by #996

repo: DigitalSlideArchive/HistomicsTK


text:
🛑 ZL1OTD Repeater is down

In d07f165, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19159 ms

Resolved: ZL1OTD Repeater is back up in 4c49961.

repo: DigitalVoiceNZ/upptime


text:
🛑 ZL1OTD Repeater is down

In 95b776f, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19264 ms

Resolved: ZL1OTD Repeater is back up in 61e59ae.


text:
🛑 ZL1OTD Repeater is down

In 41a0ddf, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19178 ms

Resolved: ZL1OTD Repeater is back up in 09ae506.


text:
🛑 ZL1OTD Repeater is down

In 59e15da, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19427 ms

Resolved: ZL1OTD Repeater is back up in 4aa2ceb.


text:
[v2] Cachebusting string

We could add a config option, if the dev would also like us to tag add ?v=8a9hafha9h to the end of the echoed string, for cachebusting.

@tabacitu should we implement this one?
I think it makes some sense ... Developers may set a cachebusting variable for ALL the bassets, should them?

Totally agree. I've added a corresponding issue in backpack/bassets, to do it there. There is never going to be a v2 of digitallyhappy/assets, we're just going to recommend everyone use Bassets instead.
So let's move this conversation to https://github.com/Laravel-Backpack/bassets/issues/6

authors: promatik tabacitu

repo: DigitallyHappy/assets


text:
⚠ RPC server - Harmony has degraded performance

In 75fb5dd, RPC server - Harmony ($HARMONY_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Harmony performance has improved in 0c92a82.

repo: DimensionDev/status


text:
Chisel mod animations not working

Using 1.12.2 with chisel 0.2.1.35 and VanillaFix 1.0.10-99 on Forge 1.12.2-14.23.5.2836. Animated textures from the chisel mod don't seem to work?

The animated textures do work, you're most likely experiencing a mod incompatibility. What is your mod list?

It's quite long, so I had to screenshot the list if that's okay.

Maybe try removing TexFix?

I removed TexFix, but nothing changed.

I can confirm Chisel animations do work with the stable releases of both mods from CurseForge.

authors: Kaihatsujin ZombieHDGaming xJon

repo: DimensionalDevelopment/VanillaFix


text:
The images on article are completely wrong

see https://github.com/DinisCruz/Book_Practical_Git/blob/master/manuscript/Creating_a_version_TeamMentor_which_uses_the_new_GitUserData.config_file.md
and compare with original
http://blog.diniscruz.com/2013/03/creating-version-teammentor-which-uses.html
This is not good at all, and I need to figure out the root cause of this prob (and hopefully there will not be other posts with it)..
That said, I did find a weird image on a post I fixed a couple days ago (need to go back into it a look at why)

all (as far as I can tell) image issues have been solved


text:
URL Failure When Dragging kitty-dark.icns Over Preview

I am receiving a failure when trying to load the icns icon over the preview.
Open URL Error

Unknown URL type, cannot open:
  file:///Users/marcelo.mantilla/Programming/personal-configurations/kitty-dark.icns

Press Enter or Esc to exit

@marcelo-mantilla make sure you're dragging it over the top left icon not the big one:

I did the same thing; this should perhaps be promoted to the README.

Got the same Issue. Thanks @marcelo-mantilla for opening this issue

I did the same thing; this should perhaps be promoted to the README.

I'm happy to merge pull requests

authors: DinkDonk farkmarnum hoclun-rigsep linux-root marcelo-mantilla

repo: DinkDonk/kitty-icon


text:
Testing: Default Option Unselected After Selecting Other Option

Problem
Currently the JS code implement a feature to "unselect" any "selected"/"disabled" (i.e. default) option upon the user's first interaction with a <select> element. But this remains untested

Implemented with: 319537c742ab11018ecb408ca43b570ef36eb057

repo: DiogenesAnalytics/parley


text:
File "script/assign_pose_Neg.py", line 26, in      data = pickle.load(open('Data/Trainval_Neg_HICO_with_pose.pkl', 'rb'), encoding='latin1') FileNotFoundError: [Errno 2] No such file or directory: 'Data/Trainval_Neg_HICO_with_pose.pkl'

I am following second part of step 5 and I get the following error:

(djrn) [jalal@goku DJ-RN]$ python script/assign_pose_Neg.py --pose ../../data/smplify-x/ride_bike/toy_dataset/tmp_data_train/keypoints/ --res ../../data/smplify-x/ride_bike/toy_dataset/tmp_res_train/results/
Traceback (most recent call last):
  File "script/assign_pose_Neg.py", line 26, in <module>
    data = pickle.load(open('Data/Trainval_Neg_HICO_with_pose.pkl', 'rb'), encoding='latin1')
FileNotFoundError: [Errno 2] No such file or directory: 'Data/Trainval_Neg_HICO_with_pose.pkl'
(djrn) [jalal@goku DJ-RN]$ pwd
/scratch3/research/code/DJ-RN

When I use ripgrep, it doesn't seem elsewhere in the code the file Trainval_Neg_HICO_with_pose.pkl is created. So, could you please share how this file is created? hmmm

(djrn) [jalal@goku DJ-RN]$ rg Trainval_Neg_HICO_with_pose.pkl
script/assign_pose_Neg.py
26:data = pickle.load(open('Data/Trainval_Neg_HICO_with_pose.pkl', 'rb'), encoding='latin1')

The method is written in another github repo:
$ python script/Download_data.py 1qioujFz-jWBXPb-gCRqh6ttpf79H06Re Data/Trainval_Neg_HICO_with_pose.pkl
https://github.com/DirtyHarryLYL/Transferable-Interactiveness-Network/blob/master/script/download_dataset.sh

repo: DirtyHarryLYL/DJ-RN


text:
Request: make the first month the top left corner

Natural reading order is left-right and top-down, but currently the first event starts at lower left corner.  This means we are reading upwards from the bottom, which is sensible in bar graphs but not as natural (IMO) for reading a timeline.

Good catch. I've flipped around some math in the d3-waffle.js, and fixed this up.

authors: Frithweaver mgoadric

repo: DiscoTrayStudios/myLifeInMonths


text:
🛑 TSU is down

In 7cc0033, TSU (https://TSU.DLCDevelopment.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TSU is back up in 9041f46.

repo: Discord-Development-Centre/status


text:
Fix Autocomplete Command Traversal

This PR fixes the autocomplete command traversal problem and replaces string arrays used in the command maps with IList to remove the unnecessary ToArray() method calls and give devs access to a variable sized container.

@quinchs sorry ive been busy this week and i couldnt thoroughly test this, i dont want to break anything in the live build. I just wanted to get this out there to inform people about whats in the pipeline rn.

appears to be running as intended.


text:
Update limits per Discord API docs (https://discord.com/developers/do…

https://discord.com/developers/docs/interactions/slash-commands#a-quick-note-on-limits

Thanks for the update

As a reference, Discord API change occurred back in march (10=>25): https://github.com/discord/discord-api-docs/commit/809a617ef6fed31f4fb2d34bb72005a05901944c#diff-07978ef9d619062fb1afbb70ea065124531246743444f4354cc9e6c8879f8780

authors: MrCakeSlayer gehongyan


text:
bump python version

What type of pull request is this?

[ ] Non-breaking code change
[ ] Breaking code change
[x] Documentation change/addition

Description
Bump to 3.10
Changes
Bumped minimal python version in the docs
Checklist

[ ] I've formatted my code with Black
[ ] I've ensured my code works on Python 3.10.x
[ ] I've tested my code

Nice catch. Merging.
And congrats on the first PR

authors: LordOfPolls leestarb

repo: Discord-Snake-Pit/Dis-Snek


text:
Contribute back to original repository

Hey there, is there any reason you are not kdrag0n's original repository?

The original repository seems to be no longer maintained

Yeah, @kdrag0n seems very busy with OrbStack for now. Good for him, smart guy.

repo: Displax/safetynet-fix


text:
message:urllib.error.HTTPError: HTTP Error 414: Request-URI Too Long

Hi Qiyun,
I am using the HGTector2 pipeline. When I ran my protein imput file.fasta ( 4000 proteins), the screen always traceback me a messages showed as follow with the final error message:urllib.error.HTTPError: HTTP Error 414: Request-URI Too Long
What do you thinck about this problem?
Many thanks for your advice
Best regards
Jean claude
Homology search started at 2020-04-20 14:24:42.412971.
Settings:
Search method: remote.
Self-alignment method: native.
Remote fetch enabled: yes.
Reading input proteins...
XKB1.1-Proteins: 4050 proteins.
Done. Read 4050 proteins from 1 samples.
Dropping sequences shorter than 30 aa... done.
Reading custom taxonomy database... done.
Read 1 taxa.
Batch homology search of XKB1.1-Proteins started at 2020-04-20 14:24:42.796838.
Number of queries: 4046.
Submitting 21 queries for search.Traceback (most recent call last):
File "/home/jogier/anaconda3/envs/hgtector/bin/hgtector", line 100, in
main()
File "/home/jogier/anaconda3/envs/hgtector/bin/hgtector", line 39, in main
module(args)
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/site-packages/hgtector/search.py", line 165, in call
res = self.search_wf(
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/site-packages/hgtector/search.py", line 701, in search_wf
res = self.remote_search(seqs)
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/site-packages/hgtector/search.py", line 1599, in remote_search
with urlopen(url) as response:
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/home/jogier/anaconda3/envs/hgtector/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 414: Request-URI Too Long

Hi @jcogier thanks for your interest in our program! The remote BLAST function is not practical if you have a large number of input sequences (i.e., 4000). You will need to build a local database and run search locally. The install page explains how you can get the database and aligner.

authors: jcogier qiyunzhu

repo: DittmarLab/HGTector


text:
Broken Mega menu tiles on mobile

Current behavior

Tile in mega menu are broken on mobile view.
Expected behavior

They should render as they are rendering on desktop view
Steps to reproduce the issue

Open capybara.storefrontcloud.io on mobile device
Click menu on bottom bar.

Can you handle fixing this bug by yourself?

[X] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Here is the link to, the part of video where we are explaining the changes we made for this fix
https://www.youtube.com/watch?v=dPEIp80FBw0&feature=youtu.be&t=47

repo: DivanteLtd/vsf-capybara


text:
[RFC] Payment Gateway Integration

One of the more challenging parts of the checkout has been payment gateways. This RFC is an effort to streamline integrations, offering standardized workflows.
Since integrations like these touch the stack on every level and need tight integration in both the frontend, as well as the underlying e-commerce engine, a clear separation of concerns should be made.
The frontend and middleware should be as agnostic as possible, containing little to no business logic.
This RFC focusses more on the high-level architecture than specific implementation details, although these are welcome of course.
Integration divided into actions
For a generic Payment Gateway, assuming we're dealing with online payments (Credit Card, Sofort, iDeal, etc), the integration can be divided into various actions. Below an overview of the actions with a short introduction into requirements and challenges.
1. Fetching payment methods
Payment methods are to be displayed in the frontend in the Checkout UI. These payment methods might be simple options or have their own UI like a Credit Card asking for card number and name.
The methods to be displayed may vary depending on variables of the order being created; subtotal, billing country or the types of items.
2. Communication with Gateway
The selected payment method, with any user input added, is bundled with order details and send of to the Payment Gateway. Here it's important to note this has to be done encrypted.
Optionally the user might need to be redirected to an external page to finalize the payment.
3. Payment status callback
Once the payment has been processed by the payment gateway a callback is done to the originating platform. This updates the order registering a payment, or a failure.
New proposed integration
The new flow has a clear separation of concerns where business logic is focussed in the underlying e-commerce platform, the middleware merely transforms data and the VueJS app handles presentation.

This is very important (obviously)
I'll post here what we came across with developing a payment integration as first pointers. I'll post more when i have the time
What we came across with building payment provider integration was:
We had to store a order in the backendsystem to link the payment to be sure the order and payment are linked properly - don't know a better way tbh, it's common in payment integrations i guess. If payment fails the order is canceled.
We hooked into the order-afterPlaced event, where we had the backend order id.
What we did then is fetch order details again to hash data and get the increment id. The data we get with this extra call could be already provided by o2m (in this case) to prevent the extra backendsystem fetch action.
The hash is to compare the VSF cart totals to the stored order grand_total. To be sure the correct amount is used to create the payment for this order.
Payment method in VSF has to be configured in Magento2 to accept an order with paymentmethod-code 'X' - therefore we had to add Paymentmethods mapping in config which makes it a bit less manageable to add payment methods to the shop (for non developers).

Steps to add paymentmethod now are: Add paymentmethod in Mollie accountdashboard, Enable payment method in Mollie Magento2 module, add paymentmethod mapping in config.

We integrated a payment API from Mollie (Dutch PSP) with multiple payment methods, we use the replaceMethods action to only provide payment methods from this PSP (for now).
with the headless solutions and microservices out there, should it be possible to manage actions on a paymentmethod level or on a payment provider level?
Looking at PSP API's, the naming for actions (fetching methods, create payment, get payment status etc.) are not standarized. So we should add key variables for these actions.
I see it like VSF provides all the actions / hooks and in the backend layer (VS-API) we use keys to map the actions to the PSP API endpoints. This should be a config setting for the module, mapping the VSF actions to the API endpoints.

There is now no entry in m2 stating that the order has been paid, the response from the payment gateway is not saved in m2.

Possible idea:
Create order with invoice in status not paid before send the customer to their bank site.
After receive from payment gateway invoice transition to payed
https://docs.magento.com/m2/ce/user_guide/sales/invoice-create.html
https://webkul.com/blog/how-to-programmatically-create-invoice-in-magento2/

hi @dimasch
after placing the order in Magento (there is no invoice now), you can invoke the invoice method after user comes back. Or by a webhhook from a payment provider api.
When you invoke the invoice method you can update the order status.

Hi, @DaanKouters

What is the motivation to add an invoice upon placing the order with status not paid?
"invoice" - This is only my "possible" assumption. Only one goal - to save transaction_id to Magento2 order after approved a payment from gateway.

Tell me how to make it better? Simple REST Api endpoint for save  transaction_id ?
For example, the Braintree module save transaction_id out of the box https://github.com/danrcoull/vsf-payment-braintree

hi @dimasch in our payment integration we added a magento mini module to save the transaction_id we receive from the payment provider. At this point a payment is created at the PSP for the placed order, there is no payment done yet.
It's a simple API endpoint with order_id and transaction_id as payload to link these together.
The transaction_id is saved as an order extension attribute.
But this point makes it very platform dependent. Don't know how we can come up with a solution for multiple backendsystems. We could save this kind of data in redis, there is also an order object saved already. But that's not a good idea, because when the redis cache is flushed you lost all this data. So that's out of the question imo.

authors: DaanKouters dimasch sandermangel

repo: DivanteLtd/vue-storefront


text:
Checkout structure added; For validation let’s use https://monterail.…

…github.io/vuelidate/#sub-contextified-validators from Monterail!

@filrak fixes made in https://github.com/DivanteLtd/vue-storefront/pull/192/commits/aca726dd6927a66e1daefe8511a9f21f4e097670


text:
[fix] 3495 - categoriesDynamicPrefetchLevel

Related issues

closes #3495
Short description and why it's useful

The config variable categoriesDynamicPrefetchLevel now can be equal to 0

Yes, it does fix the issue.
Thank you.

authors: pkarw themreza


text:
Added the metric SHD-CPDAG

Some algorithms (e.g. GES and PC) returns CPDAG instead of DAG. To compare these methods with methods that return DAGs, SHD-CPDAG can be useful. Basically, it convert DAGs to their respective CPDAGs and then apply SHD.

Thanks for the contribution !

authors: Diviyan-Kalainathan kurowasan


text:
linux aarch64  无法运行

aarch64 架构的linux
我尝试了
agent_arm_eabi5
agent_linux_x86
agent_linux_x64
都无法运行

我询问了chatgpt
通常情况下，要在 aarch64 架构上运行 arm_eabi5（32位 ARM）的二进制文件，确保你的系统支持32位运行时，并安装了相应的32位库是非常重要的。如果系统中没有相应的库支持，运行时可能会失败。
以下是一些基本步骤：
启用32位支持：
在许多Linux系统上，你需要启用32位支持。在Ubuntu系统上，可以通过以下方式启用：
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install libc6:armhf
安装32位的库：
你可能需要安装一些32位版本的库，以满足 arm_eabi5 二进制文件的依赖关系。
sudo apt-get install libsomething:i386
替换 "libsomething" 为实际的库名。
尝试运行二进制文件：
使用 qemu-aarch64 模拟器运行 arm_eabi5 二进制文件。请确保已经安装了 QEMU。
qemu-aarch64 -L /usr/arm-linux-gnueabi/ ./your_arm_eabi5_binary
注意替换 ./your_arm_eabi5_binary 为你的二进制应用程序的路径。
在尝试运行之前，请确保你的系统上已经有了必要的32位支持库。如果还是无法运行，可能需要更进一步的调查，检查二进制文件的依赖关系和可能的错误消息。
但是渗透环境并不支持安装依赖。