Not all of Linkerd metrics are gathered

Output of the info page (if this is a bug)
===============
Agent (v6.14.1)
===============

  Status date: 2019-10-04 16:32:29.759489 UTC
  Agent start: 2019-10-04 16:17:06.455264 UTC
  Pid: 337
  Go Version: go1.12.9
  Python Version: 2.7.16
  Check Runners: 16
  Log Level: info

  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: 3.471ms
    System UTC time: 2019-10-04 16:32:29.759489 UTC

  Host Info
  =========
    bootTime: 2019-05-22 08:29:25.000000 UTC
    kernelVersion: 4.9.0-6-amd64
    os: linux
    platform: debian
    platformFamily: debian
    platformVersion: 10.1
    procs: 65
    uptime: 3247h47m53s

  Hostnames
  =========
    ec2-hostname: ip-10-1-27-31.us-west-2.compute.internal
    host_aliases: [ip-10-1-27-31.us-west-2.compute.internal]
    hostname: i-05ae2f2162f48c1aa
    instance-id: i-05ae2f2162f48c1aa
    socket-fqdn: datadog-agent-fz6rk
    socket-hostname: datadog-agent-fz6rk
    hostname provider: aws
    unused hostname providers:
      configuration/environment: hostname is empty
      gce: unable to retrieve hostname from GCE: status code 404 trying to GET http://<IP_ADDRESS>/computeMetadata/v1/instance/hostname

=========
Collector
=========

  Running Checks
  ==============

    cpu
    ---
      Instance ID: cpu [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/cpu.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 6, Total: 360
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

    disk (2.5.0)
    ------------
      Instance ID: disk:e5dffb8bef24336f [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/disk.d/conf.yaml.default
      Total Runs: 60
      Metric Samples: Last Run: 200, Total: 12,000
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 206ms

    docker
    ------
      Instance ID: docker [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/docker.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 700, Total: 42,648
      Events: Last Run: 0, Total: 1
      Service Checks: Last Run: 1, Total: 61
      Average Execution Time : 232ms

    file_handle
    -----------
      Instance ID: file_handle [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/file_handle.d/conf.yaml.default
      Total Runs: 60
      Metric Samples: Last Run: 5, Total: 300
      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: 61
      Metric Samples: Last Run: 52, Total: 3,136
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 8ms

    kubelet (3.3.2)
    ---------------
      Instance ID: kubelet:d884b5186b651429 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/kubelet.d/conf.yaml.default
      Total Runs: 60
      Metric Samples: Last Run: 884, Total: 53,337
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 3, Total: 180
      Average Execution Time : 1.81s

    linkerd (2.3.0)
    ---------------
      Instance ID: linkerd:2c0c3215a89c0c75 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/linkerd.d/auto_conf.yaml
      Total Runs: 60
      Metric Samples: Last Run: 74, Total: 4,520
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 60
      Average Execution Time : 140ms

    load
    ----
      Instance ID: load [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/load.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 6, Total: 366
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 2ms

    memory
    ------
      Instance ID: memory [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/memory.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 17, Total: 1,037
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

    network (1.11.4)
    ----------------
      Instance ID: network:e0204ad63d43c949 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/network.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 181, Total: 11,041
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 76ms

    ntp
    ---
      Instance ID: ntp:d884b5186b651429 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/ntp.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 1, Total: 61
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 61
      Average Execution Time : 0s

    uptime
    ------
      Instance ID: uptime [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/uptime.d/conf.yaml.default
      Total Runs: 61
      Metric Samples: Last Run: 1, Total: 61
      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: 61
    Dropped: 0
    DroppedOnInput: 0
    Events: 0
    HostMetadata: 0
    IntakeV1: 6
    Metadata: 0
    Requeued: 0
    Retried: 0
    RetryQueueSize: 0
    Series: 0
    ServiceChecks: 0
    SketchSeries: 0
    Success: 128
    TimeseriesV1: 61

  API Keys status
  ===============
    API key ending with 72519: API Key valid

==========
Endpoints
==========
  https://app.datadoghq.com - API Key ending with:
      - 72519

==========
Logs Agent
==========

  Logs Agent is not running

=========
Aggregator
=========
  Checks Metric Sample: 477,882
  Dogstatsd Metric Sample: 12,478
  Event: 2
  Events Flushed: 2
  Number Of Flushes: 61
  Series Flushed: 463,359
  Service Check: 3,096
  Service Checks Flushed: 3,142

=========
DogStatsD
=========
  Event Packets: 0
  Event Parse Errors: 0
  Metric Packets: 12,477
  Metric Parse Errors: 0
  Service Check Packets: 0
  Service Check Parse Errors: 0
  Udp Bytes: 1 M
  Udp Packet Reading Errors: 0
  Udp Packets: 12,478
  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://<IP_ADDRESS>:5005
  Successfully connected to the Datadog Cluster Agent.
  - Running: 1.3.2+commit.e3f5101

Describe what happened:
Configured Linkerd:
/etc/datadog-agent/conf.d/linkerd.d/auto_conf.yaml
ad_identifiers:
  - linkerd
init_config:
instances:
  - prometheus_url: http://%%host%%:9990/admin/metrics/prometheus

But whent I check the collected metrics at Datadog UI some of them are absent.
e.g. linkerd.rt.client.status.1XX_s, linkerd.rt.client.status.2XX_s, linkerd.rt.client.status.3XX_s ,linkerd.rt.client.status.4XX_s, linkerd.rt.client.status.5XX_s
If I check linkerd 9990 port endpoints directly, e.g. http://<IP_ADDRESS>:9990/admin/metrics/prometheus I see the metrics.
Describe what you expected:
All Linkerd metrics collected (https://github.com/DataDog/integrations-core/blob/master/linkerd/metadata.csv)
Steps to reproduce the issue:
Additional environment details (Operating System, Cloud provider, etc):
k8s v1.11.9 on to of AWS
Linkerd 1.6.4

@spender0 We need some additional information. Can you send a flare, which will automatically open a support ticket? Thanks.

As far as I noticed with my config, the difference between LinkerD v1 and v2 is not only the Prometheus URL but also the ad_identifiers block. Adding the correct one for V2 made it work for me.
V1:
ad_identifiers:
  - linkerd

V2:
ad_identifiers:
  - proxy

Same here.

As far as I noticed with my config, the difference between LinkerD v1 and v2 is not only the Prometheus URL as described in the docs but also the ad_identifiers block. Adding the correct one for v2 made it work for me.
V1:
ad_identifiers:
  - linkerd

V2:
ad_identifiers:
  - proxy

Thank you so much for sharing this!
How come this is not part of the official docs? 😞


What is the dependent node version?

Your project is very good, as a vue beginner, I am learning and researching this project, but when running locally, I encountered problems, the error is as follows, my local nodejs version is 18
➤  npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '8 || 10 || 12 || 14 || 16 || 17' },
npm WARN EBADENGINE   current: { node: 'v18.12.1', npm: '8.12.1' }
npm WARN EBADENGINE }
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated<EMAIL_ADDRESS>The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated<EMAIL_ADDRESS>3.x is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Building: /usr/local/bin/node /Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   '/usr/local/bin/node',
npm ERR! gyp verb cli   '/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | arm64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python Python is not set from command line or npm configuration
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - executable path is<EMAIL_ADDRESS>npm ERR! gyp verb find Python - executing<EMAIL_ADDRESS>to get version
npm ERR! gyp verb find Python - version is "3.11.4"
npm ERR! gyp info find Python using Python version 3.11.4 found at<EMAIL_ADDRESS>npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 18.12.1
npm ERR! gyp verb command install [ '18.12.1' ]
npm ERR! gyp verb install input version string "18.12.1"
npm ERR! gyp verb install installing version: 18.12.1
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 18.12.1
npm ERR! gyp verb build dir attempting to create "build" dir: /Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-sass/build
npm ERR! gyp verb build dir "build" dir needed to be created? /Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-sass/build
npm ERR! gyp verb build/config.gypi creating config file
npm ERR! gyp verb build/config.gypi writing out config file: /Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-sass/build/config.gypi
npm ERR! (node:45756) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
npm ERR!  Traceback (most recent call last):
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
npm ERR!     sys.exit(gyp.script_main())
npm ERR!              ^^^^^^^^^^^^^^^^^
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
npm ERR!     return main(sys.argv[1:])
npm ERR!            ^^^^^^^^^^^^^^^^^^
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
npm ERR!     return gyp_main(args)
npm ERR!            ^^^^^^^^^^^^^^
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
npm ERR!     [generator, flat_list, targets, data] = Load(
npm ERR!                                             ^^^^^
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
npm ERR!     result = gyp.input.Load(
npm ERR!              ^^^^^^^^^^^^^^^
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
npm ERR!     LoadTargetBuildFile(
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
npm ERR!     build_file_data = LoadOneBuildFile(
npm ERR!                       ^^^^^^^^^^^^^^^^^
npm ERR!   File "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
npm ERR!     build_file_contents = open(build_file_path, "rU").read()
npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR!  System Darwin 22.5.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /Users/ponponon/Desktop/code/me/github/muse-vue-ant-design-dashboard/node_modules/node-sass
npm ERR! gyp ERR! node -v v18.12.1
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR!      /Users/ponponon/.npm/_logs/2023-06-23T13_48_37_304Z-debug-0.log

These bugs seem to be related to the node version. The dependency declaration file for this project does not specify the version of nodejs, so I need to ask you

Same problem.I tried to switch the node version to 15.14.0 and it works.You can install nvm to use diffrent node versions among projects, here is the link https://github.com/coreybutler/nvm-windows.

Same problem.I tried to switch the node version to 15.14.0 and it works.You can install nvm to use diffrent node versions among projects, here is the link https://github.com/coreybutler/nvm-windows.

Solved,tks your answer.😍


add health check endpoint to server

relates to stellar/kube#544
Adds a GET /health endpoint for kubernetes to use when determining if the service is up and ready to begin serving requests.

Preview is available here:http://stellar-anchor-tests-pr21.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr21.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr21.previews.kube001.services.stellar-ops.com/


[Feature]: Add ES2021 target support

🚀 Feature Proposal
https://www.typescriptlang.org/tsconfig#target
It seems that only ES2020 and ESNext are "supported". Running my tests with ES2021 target on tsconfig some if-conditionals are executed even if the value is undefined. Then with target ESNext jest tests work.
Motivation
Up to date with TS.
Example
No response

Do you have a scenario where your test failed? I checked the codes and all targets are supported.


Highlighter: fix comments and C/C++/C# preprocessor directives

Using # in generic comments was a mistake. Removed by the commit 4f45865, first of all, to avoid interference with C/C++ preprocessing.
Now, CoffeeScript, Python, and R need special comment patterns.
After # was removed, the preprocessor directives were implemented separately for C and C++. So, it needs unification.

Shame on legacy authors :-)

After the commit 4651d89, it is obvious that the unification between C and C++ preprocessor directive would not make sense.

The commit d122e96 fixed the issue for CoffeeScript

The commit 069b408 fixes commenting for PHP and Haskel.
With Haskel, the author Bruno Dias failed to implement multiline comment {-   ... -}, but now it is fixed.


New package: SVGDraw v0.1.0

Registering package: SVGDraw
Repository: https://github.com/jingyuewang/SVGDraw.jl
Created by: @jingyuewang
Version: v0.1.0
Commit: dd69c16e3e0bc5451c8b9cf0166bb44e7a723b48
Reviewed by: @jingyuewang
Reference: https://github.com/jingyuewang/SVGDraw.jl/commit/dd69c16e3e0bc5451c8b9cf0166bb44e7a723b48#commitcomment-55627995

Hi mosè,
My registration is stalled. I guess the reason is I accidentally commented in the PR thread at the JuliaRegistries/General while I should have commented in my own commit. I was wondering  if you can resume the registration or if there is anythong that I should do?


Bugfix/home page typo

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: WouterVanVegchel sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


add book programming indonesian version

What does this PR do?
Add Resource(s)
For resources
Description
Why is this valuable (or not)
Yes, of course
How do we know it's really free?
This is Free
For book lists, is it a book?
Tutorial Make Android Application
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

please read /CONTRIBUTING.md


Errors when using it in a project in windows

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2555	'svgdom::use_element::get_tag': overriding virtual function return type differs and is not covariant from 'cssom::styleable::get_tag' (compiling source file src\GUI.cpp)	ImGui DX11 base	C:\Users\HP\Desktop\ImGuiDX11base-main\packages\libsvgdom.0.4.10\build\native\include\svgdom\elements\structurals.hpp	93
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2555	'svgdom::use_element::get_id': overriding virtual function return type differs and is not covariant from 'cssom::styleable::get_id' (compiling source file src\GUI.cpp)	ImGui DX11 base	C:\Users\HP\Desktop\ImGuiDX11base-main\packages\libsvgdom.0.4.10\build\native\include\svgdom\elements\structurals.hpp	86
i get this error 9 times in my output console when building.
I installed svgdom through nuget
im using v143 , c++17
thanks for help in advance

@ElCapor
I see that you have installed version 0.4.10 of the package libsvgdom. Could you check, what is the version of libcssom package?

closing due to no response from submitter


Render tag name without slug when title

When a tag contains more than one word it is slugified. (Yay!) However, this means the page title and meta title render with the hyphen too. (Nay!)
Maybe this is personal preference, but at least the H1 should be unslugified.

I'm trying to rework this part of the code at the moment anyway, but it seems that I'm not able to reproduce your issue. Could you show me an example, where this happens?

Again, there's nothing technically wrong, more of a question. Would the h1 and meta title be better served as capitalized, and without being hyphenated?

Ah, now I get it. I guess you could be right that in the end it boils down to personal taste. On the other hand, if you allow capitalized tags with spaces, why not show the original? One could argue, either allow and show them, or don't allow them.
The thing is, with how the tags pages are implemented now, I believe the change wouldn't be as trivial as one might think.

The thing is, with how the tags pages are implemented now, I believe the change wouldn't be as trivial as one might think.

I'm curious, what do you mean?

Because all of these files play somehow a role in it:
https://github.com/satnaing/astro-paper/blob/main/src/pages/tags/[tag].astro
https://github.com/satnaing/astro-paper/blob/main/src/pages/tags/index.astro
https://github.com/satnaing/astro-paper/blob/main/src/layouts/PostDetails.astro
https://github.com/satnaing/astro-paper/blob/main/src/components/Tag.astro
https://github.com/satnaing/astro-paper/blob/main/src/utils/getPostsByTag.ts
https://github.com/satnaing/astro-paper/blob/main/src/utils/getUniqueTags.ts
https://github.com/satnaing/astro-paper/blob/main/src/utils/slugify.ts
Maybe one could simply change the function getUniqueTags.ts to return the altered AND unaltered tag, and pass the unaltered tag to props in [tag].astro. But that might break other stuff, no idea.

Hello @djmtype.
Thanks for pointing this out. I just made a PR for this and you can also check the preview URL here.


Move away from abandoned guzzle 3.x

Migrate to guzzlehttp 6 like league/oauth2-client

The travis test is running PHP 5.3 and 5.4, even though I've set the library requirement to 5.5 (to comply with guzzlehttp 6.x requirement). I'm not sure what to do about it.
Is 5.3/5.4 support required?

Hey @guss77, thank you so much here! See #71 :)


Add code coverage badge to README

Codecov Report

Merging #50 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   93.49%   93.49%
=======================================
  Files          31       31
  Lines         569      569
  Branches       69       69
=======================================
  Hits          532      532
  Misses         27       27
  Partials       10       10

Continue to review full report at Codecov.

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

🎉  woohooo, thanks @viman


Feature/create script composer section

This PR has the following:

[x] added the script section to composer.json to make it simpler to run the script's directory commands
[x] updated the readme file to show how we can use the composer run command
[x] updated the readme file to move docker section to be under the installation instructions.

Thanks @linuxjuggler

most welcome @chartjes


Proposal: extend TargetKind.classType to cover class type aliases

Today, the meta package's TargetKind.classType value is documented as:

Indicates that an annotation is valid on any class declaration.

and the implementation in analyzer mirrors this.
I'd like to expand the definition and implementation to include class type aliases (class D = C with M;), specifically to accommodate for @reopen being legally attached to a class type alias. I think of a "class type alias" as just another syntax for declaring a class; it is not really interesting to distinguish it from a "class declaration" anywhere beyond the parser and the syntax tree.
Current package:meta annotations which use TargetKind.classType:

@doNotStore
@optionalTypeArgs
@reopen

A code search of various packages (but not exhaustive) indicates that TargetKind.classType is also used by:

Angular's @Directive, @Component, @Pipe, @Injectable, @Singleton, @GenerateFactory
built_value's @BuiltValueEnum
json_serializable's @JsonSerializable
drift's @DataClassName, @UseRowClass, and @DriftView
go_router's @TypedGoRoute

In any case, for the opportunity for feedback, I'll CC @leonsenft, @davidmorgan, @simolus3, @kevmoo, @stuartmorgan

Luckily there is not a distinction in the spec. Both forms are listed under classDeclaration, with a big | between them. The thing that analyzer calls "ClassTypeAlias" has the mixinApplicationClass half. Maybe we should change the name of our class 🤷 . In any case, we don't have to change the docs of TargetKind.classType, since the spec (and probably the Language Tour) don't distinguish. Which then won't lead to confusion with "Generalized Type Aliases". 😄


Allow artifacts in build results to be edited.

Resolve #637 - Allow artifacts in build results to be edited.

Should we disable editing the set? I edited the feather to be archaic petra, and now the optimization still says eosf 4p, and the burst still has the 4p bonus

yeah, there are a ton of weird interactions here. I need to look at the update chain for some of these stuff, because the build results UI need to register listener for everything that can change


🐛 Fix last seen for users

closes #10138
This adds an updateLastSeen method to the user model instance, refactors the codebase to use this method anywhere the last_seen is updated and adds middleware to the admin api to ensure that we always update the last_seen property when a user accesses the API.

@allouis Feel free to self merge


OTAA not recieving JoinAccept

Hello ,
i m having some troubles connecting my node to TTN as the node is stuck in the join procedure.
i thought it was a timer issue ,i was using stm32 1ms systick timer as a counter then i switched to lptim which is ticking at a rate of 16384 tick per second but the problem still persist i m still not recieving the joinaccept packets.
I've set a breakpoint in LDL_MAC_process() where LDL_Radio_collect() is called but its not reaching that point.
I'm using STM32L073RZ microcontroller with the semtech sx1272 transceiver , laird RX186 gateway and the TTN server stack
my node is about five meters away from the gateway
the joinrequest messages are received by TTN and its sending the join accept messages back.
also i tried to enlarge RX1/RX2 windows but wont work either
https://github.com/cjhdev/lora_device_lib/blob/94c64ba1cae06d81ee4d3b80d4895b543284ec27/src/ldl_mac.c#L570

https://github.com/cjhdev/lora_device_lib/blob/94c64ba1cae06d81ee4d3b80d4895b543284ec27/src/ldl_mac.c#L616

here is the link to my test repo
https://github.com/abdouTCH13/LDL_STM32L073RZ_test
any help would be very appreciated.
thank you

Hi
I will try to reproduce this problem and get back to you. Might take a few days.

hello i have resolved the issue after installing the chirpstack servers localy
it was my mistake i misscalculated the eps value and now everything is working properly
thank you for your help .


chore: lint e2e

Description
Lint e2e
Commit Message / Changelog Entry
chore: lint e2e

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

@damiannolan how do you code?
I'm pretty VSCode or Cursor focused in terms of tools, tho I jump into neovim from time to time.  I think this matters for the t.Helper() stuff, because when in VSCode, t.Helper() calls do pretty amazing stuff.  You get in-line traces with a lot more detail than without it.


DrivenModal Solution Type not Supported in Newer Version of Ansys

Information

Qiskit Metal version:  0.1.5
Python version:  3.11.9
Operating system:  Windows 10
Ansys version: 2024 R2

What is the current behavior?
When trying to run the Impedance, admittance and scattering analysis tutorial on the qiskit-metal docs, an error occurs while using newer versions of Ansys. The error occurs when running the command em1.run( name="SingleTM_hfss", components=[], open_terminations=[], port_list=[('Q1', 'readout', 70)], jj_to_port=[('Q1', 'rect_jj', 50, True)], box_plus_buffer = False). The first error is as follows:
Traceback (most recent call last):
  File "C:\Users\xra\AppData\Local\anaconda3\envs\qiskit\Lib\site-packages\pyEPR\project_info.py", line 335, in connect_setup
    self.setup_name = setup.name
                      ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\xra\qiskit-metal\test\DO_NOT_RUN.py", line 46, in <module>
    em1.run( name="SingleTM_hfss", components=[], open_terminations=[], port_list=[('Q1', 'readout', 70)],
  File "c:\users\xra\qiskit-metal\qiskit_metal\analyses\core\simulation.py", line 203, in run
    self.run_sim(*args, **kwargs)
  File "c:\users\xra\qiskit-metal\qiskit_metal\analyses\simulation\scattering_impedance.py", line 175, in run_sim
    renderer_design_name = self._render(
                           ^^^^^^^^^^^^^
  File "c:\users\xra\qiskit-metal\qiskit_metal\analyses\core\simulation.py", line 167, in _render
    design_name = self.renderer.execute_design(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\users\xra\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py", line 753, in execute_design
    self.new_ansys_design(design_name, solution_type)
  File "c:\users\xra\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py", line 795, in new_ansys_design
    self.connect_ansys_design(adesign.name)
  File "c:\users\xra\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py", line 463, in connect_ansys_design
    self.pinfo.connect_setup()
  File "C:\Users\xra\AppData\Local\anaconda3\envs\qiskit\Lib\site-packages\pyEPR\project_info.py", line 346, in connect_setup
    raise Exception(' Did you provide the correct setup name?\
  File "C:\Users\xra\AppData\Local\anaconda3\envs\qiskit\Lib\site-packages\pyEPR\project_info.py", line 335, in connect_setup
    self.setup_name = setup.name
                      ^^^^^^^^^^
Exception:  Did you provide the correct setup name?                            Failed to pull up setup. 😭

I think this error is an easy fix and merely a problem of case usage in the code as described below. However, once I fix this error using my attempted solution, I get the following error instead
11:20AM 09s ERROR [new_ansys_design]: The solution_type = DrivenModal is not supported by this renderer
Traceback (most recent call last):
  File "C:\Users\xra\qiskit-metal\test\DO_NOT_RUN.py", line 46, in <module>
    em1.run( name="SingleTM_hfss", components=[], open_terminations=[], port_list=[('Q1', 'readout', 70)],
  File "c:\users\xra\qiskit-metal\qiskit_metal\analyses\core\simulation.py", line 203, in run
    self.run_sim(*args, **kwargs)
  File "c:\users\xra\qiskit-metal\qiskit_metal\analyses\simulation\scattering_impedance.py", line 175, in run_sim
    renderer_design_name = self._render(
                           ^^^^^^^^^^^^^
  File "c:\users\xra\qiskit-metal\qiskit_metal\analyses\core\simulation.py", line 167, in _render
    design_name = self.renderer.execute_design(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\users\xra\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py", line 753, in execute_design
    self.new_ansys_design(design_name, solution_type)
  File "c:\users\xra\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py", line 795, in new_ansys_design
    self.connect_ansys_design(adesign.name)
                              ^^^^^^^
UnboundLocalError: cannot access local variable 'adesign' where it is not associated with a value

Steps to reproduce the problem
Run the code found here https://qiskit-community.github.io/qiskit-metal/tut/4-Analysis/4.03-Impedance.html (the Impedance, admittance and scattering analysis tutorial available in the qiskit-metal docs) using Ansys Electronics Desktop 2024 R2.
What is the expected behavior?
The expect output is as it is in the tutorial:
INFO 08:50AM [connect_project]: Connecting to Ansys Desktop API...
INFO 08:50AM [load_ansys_project]:      Opened Ansys App
INFO 08:50AM [load_ansys_project]:      Opened Ansys Desktop v2020.2.0
INFO 08:50AM [load_ansys_project]:      Opened Ansys Project
        Folder:    C:/Ansoft/
        Project:   Project22
INFO 08:50AM [connect_design]: No active design found (or error getting active design).
INFO 08:50AM [connect]:          Connected to project "Project22". No design detected
INFO 08:50AM [connect_design]:  Opened active design
        Design:    SingleTM_hfss [Solution type: DrivenModal]
WARNING 08:50AM [connect_setup]:        No design setup detected.
WARNING 08:50AM [connect_setup]:        Creating drivenmodal default setup.
INFO 08:50AM [get_setup]:       Opened setup `Setup`  (<class 'pyEPR.ansys.HfssDMSetup'>)
INFO 08:50AM [get_setup]:       Opened setup `Setup1`  (<class 'pyEPR.ansys.HfssDMSetup'>)
INFO 08:50AM [get_setup]:       Opened setup `Setup1`  (<class 'pyEPR.ansys.HfssDMSetup'>)
INFO 08:50AM [analyze]: Analyzing setup Setup1 : Sweep

Suggested solutions
The solve the first error I described above, it seems to be a simple misuse of case in the code. In qiskit_metal\analyses\simulation\scattering_impedance.py on line 177, there is solution_type='drivenmodal', but in pyEPR\project_info.py it is checking elif self.design.solution_type == 'DrivenModal': on line 326. Changing the case in scattering_impedance.py to match that in project_info.py then produces the second error described above. This may be another case of a problem with variable names as in qiskit_metal\renderers\renderer_ansys\ansys_renderer.py on line 780 there is elif solution_type == "drivenmodal":, although changing all 3 of these to have the same case produces the original error. Another possible explanation is that DrivenModal is no longer part of the Ansys 2024 R2 suite. It seems that they have changed the solution type name from DrivenModal to ModalNetwork in newer releases of the software.

 I believe the name change is the reason for this problem. What I did to manage(or bypass) it is to add a few lines corresponding to the DrivenModal and I have to manually change the solution type in HFSS from Hybrid Modal to Modal Network after creating a new design. The following are the detailed locations:
`C:\Users\zshen\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py -> new_ansys_design
elif solution_type == "hfss modal network":
adesign = self.pinfo.project.new_dm_design(design_name)
C:\Users\zshen\qiskit-metal\qiskit_metal\renderers\renderer_ansys\ansys_renderer.py -> new_ansys_setup
elif self.pinfo.design.solution_type == "HFSS Modal Network":
setup = self.add_drivenmodal_setup(name, **other_setup)
C:\Users\zshen.conda\envs\qiskit_env\Lib\site-packages\pyEPR\ansys.py -> get_setup
elif self.solution_type == "HFSS Modal Network":
return HfssDMSetup(self, name)`


Updating bch-js

:tada: This PR is included in version 1.1.3 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Batch matmul fast path in MHAWithCache

Summary: When doing self attention, an optimization is to combine the Q, K, V input projection matrices and do a single matmul, instead of 3. Adding this optimization in MHAWithCache.
Differential Revision: D48418780

Codecov Report
Patch coverage: 77.77% and project coverage change: -0.01% :warning:

Comparison is base (951a452) 69.11% compared to head (a2e0a70) 69.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #449      +/-   ##
==========================================
- Coverage   69.11%   69.11%   -0.01%
==========================================
  Files         170      170
  Lines       11524    11530       +6
==========================================
+ Hits         7965     7969       +4
- Misses       3559     3561       +2

Files Changed
Coverage Δ

...hmultimodal/modules/layers/multi_head_attention.py
96.82% <77.77%> (-3.18%)
:arrow_down:

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


Revert "Give billing.coordinator_machine_account billing.viewer role"

Reverts populationgenomics/cpg-infrastructure#182

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

:exclamation: No coverage uploaded for pull request base (main@3862a2a). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #183   +/-   ##
=======================================
  Coverage        ?   88.04%
=======================================
  Files           ?        4
  Lines           ?      393
  Branches        ?        0
=======================================
  Hits            ?      346
  Misses          ?       47
  Partials        ?        0

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


"Property 'comments>excludes' is misspelled or does not exist" with detekt 1.18.0

This is the relevant configuration:
comments:
  active: true
  excludes: ['**/test/**','**/androidTest/**','**/*.Test.kt','**/*task.Spec.kt','**/*.Spek.kt']
  CommentOverPrivateFunction:
    active: false
  CommentOverPrivateProperty:
    active: false
  EndOfSentenceFormat:
    active: false
    endOfSentenceFormat: ([.?!][ \t\n\r\f<])|([.?!:]$)
  UndocumentedPublicClass:
    active: false
    searchInNestedClass: true
    searchInInnerClass: true
    searchInInnerObject: true
    searchInInnerInterface: true
  UndocumentedPublicFunction:
    active: false

Kotlin 1.5.20
Detekt 1.18.0
It's  working fine with v1.17.1, I didn't see anything about it in the changelog.

Thanks for the report. I just created a PR fixing it.


Add support for multiple datasources

Add support for multiple datasources.
prometheus and loki.
If single templated datasource found:

Should be named $datasource with label "Data Source"

If two templated datasources found:

Prometheus should be named $prometheus_datasource with label "Prometheus Data Source"
Loki should be named $loki_datasource with label "Loki Data Source"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Closed in favor of #124


Pointing flake8 specifically at the urllib3 package

Fixes #914.

Woo! :custard:

This excludes the tests, no? Why not update Flake8's config instead?

It looks like we're already excluding tests in setup.cfg, along with a couple other things. But, we can certainly get the effect we want using the config there and excluding the pattern site-packages; that way, it isn't sensitive to the specific name of the virtualenv. Does that sound good to everyone?

That sounds fine.

Suits me!


Prefix incorrect before first value change

Describe the bug
When the input mask is set on a empty field the prefix is showed incorrectly until any value is typed on it.
Correct: R$
What is shown: 0$
To Reproduce
{
    alias: 'currency',
    prefix: "R$ ",
    groupSeparator: ".",
    radixPoint: ",",
    rightAlign: false
}

Expected behavior
A clear and concise description of what you expected to happen.
Live example
https://jsfiddle.net/bqmtk1u7/10/
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 72

Yes I was also having the same problem when I want to use RM for the currency. It will initially shows 0M as default placeholder.. Only working fine after you start typing on it.

@henriquecm , @zickmho ,
This is fixed in the latest beta v5.0.0
https://jsfiddle.net/utqegy7b/


Avoid argument conversion if argument is already one of accepted types

def foo(s: str = None): ... # type is Union[str, None]
def foo(s: Optional[str]): ... # type is Union[str, None]

When using these very idiomatic/pythonic type hints, it makes it impossible to pass a None from robot because robot will convert it to a string of value "None"
Other unwanted side effects include conversions between float/int:

if you have Union[int, float] and use it with ${42.9} that gets converted to an integer 42.
-pekkaklarck

The purpose of this change was to make a literal int/float/enum etc passed to a function with a union type hint be treated as a literal of that type instead of being passed as a string.
So I suggest avoiding the conversion entirely if the following conditions are met:

the value is not a string
the value is already a valid type from the union

An alternative solution would be to always attempt the string conversion last. I think this approach is a bad idea because it adds more hidden complexity for users.
PR: #3895

I agree ${None} being converted to a string is not good if you use Optional[str], but I wouldn't say that totally breaks it. There's also a simple workaround that you omit Optional and just use arg=None. Anyway, let's discuss this more in #3897.

Our codebase uses type hints, so foo(arg=None) is unacceptable and foo(arg: str=None) is the same type as foo(arg: Optional[str])

This issue is about what to do if an argument accepts multiple types (i.e. typically is an Union) and the given argument already matches one of these types. This was actually discussed as the first design decision in #3738 that introduced this multi type support. This is what I wrote about that subject there:

Should we first check does the given argument match any of the possible types before doing conversion? If, for example, we have arg: Union[str, int] and the given argument is an integer, should we pass it as is (it matches one of the possible types) or should we test conversion with possible types one-by-one? In the latter case we'd convert the integer to a string because the first possible type is str. In this case checking does the argument match any of the types feels better.
On the other hand, if we have arg: Union[int, str] and call with a string 2, checking does the given argument match any of the type would mean that we don't do any conversion because one of the types is str. If we'd go through types one-by-one, we'd convert it to an integer because int is before str. In this case testing conversion one-by-one works better.
We could also make it so that we test conversions one-by-one if the given argument is a string and otherwise first check does the argument match any of the types. That feels a bit inconsistent and hard to explain, though. I got a feeling that going through types one-by-one works best. The key thing to remember is that str should be the last type to avoid converting all arguments to strings.

As you can read above, there are basically three alternatives how to handle this. We decided to go with the middle solution of not checking does the type match and just doing conversion one-by-one. This means that if you have e.g. Union[int, str] and call it with string 2, it gets converted to an integer 2. A problem is that if you have Union[int, float], float 2.9 gets converted into an integer 2.
The PR #3895 initially proposed using the first option. It would mean that Union[int, float] and call it with a float, no conversion is done. That's great, but it would also mean that if you have Union[int, str] and call it with a string 2, no conversion is done either. That's in my opinion worse than the current situation.
The final option listed above would have a benefit of not converting floats if you have e.g. Union[int, float] but converting strings if you have e.g. Union[int, str]. That approach was rejected because it's not as straightforward as the above solutions but since it avoids their problems I start to believe this is the approach to use. PR #3895 has also been updated to use this approach.

The more I think about this, the more I like the option three discussed above and that PR #3895 also nowadays implements. I've initially thought this issue as a feature request changing functionality and in that case it can be earliest done in RF 4.1. I guess we could also consider the current functionality buggy in which case it could be fixed already in RF 4.0.1. The change is backwards incompatible either way, but changing functionality now when Union support has been live only since RF 4.0 could be safer.
If you think this should be a bug fix in RF 4.0.1, add :+1: reaction to this comment, and use :-1: if you think this should wait for RF 4.1. If you think the current functionality shouldn't be changed, add a comment explaining why!

Although Union conversion itself is new in RF 4.0, this bug caused a regression in cases like arg: str = None where Python automatically converts str to Union[str, None] due to the default value (#3908). With earlier releases we had extra code to remove the Union in this case, but the code was removed when Union support was added. The problem is that the Union support is buggy in this regard but once it's fixed also default values are handled correctly.

I've been thinking this more and also discussed the problem with @aaltat who encountered some surprises related to Union support with SeleniumLibrary. We agreed that the current behavior is not acceptable and needs to be changed. We then discussed about the alternatives:

If the given argument isn't a string, check does it have one of the accepted types. This is the solution I have proposed earlier but now I fee that it is a bit too magic, hard to explain, and can cause subtle bugs. For example, if an argument has type like Union[int, str] and its value is got from a variable having string as a value, it can be surprising that the final argument type depends on does the string look like an integer or not. This behavior would also make changes to argument conversion with some type backwards incompatible. For example, if we enhance integer conversion as proposed in #3909, string like 0x0 would be considered a hexadecimal value zero.

Always check is the argument one of the accepted types. I have been against this earlier because it means that if an argument has type Union[int, str] and it gets string 42 as a value, it will not be converted. The reason I have considered that a problem is that the common way to call keywords is like Example    42 so most argument are strings. This basically means that if you add str into a Union, in the common case no conversion is done. Considering the problems with other approaches, and the fact that you need to add str there explicitly, I believe this problem is not so bad. A big benefit of this approach is that it's easy to explain.

Based on our discussion, @aaltat and I agreed that it's best to handle Union conversion so that we do no conversion if the given argument has one of the accepted type. This should be done with all arguments without exceptions. Could you @KotlinIsland change PR #3895 so that it behaves like this? I know it originally worked like that and I asked you to change it. This is a surprisingly hard design decision and with different approaches having different pros and cons.

@aaltat already promised to test SeleniumLibrary after this behavior has been changed so that we learn how it affects an existing library in real life. It probably is a good idea to also create RF 4.0.1rc1 to make it easy for others to test this before the final RF 4.0.1 release.

After all this investigation, problems with SeleniumLibrary and the realization that this behavior caused a regression with None default value (#3908), I definitely consider this a pretty high priority bug rather than an enhancement. Since it's a bug, we can fix it in RF 4.0.1 even though the fix itself is backwards incompatible.

I see the need for this conversation for 'literals' ie foo  42 should be an int, but should
${bar} =  42
foo  ${bar}

Be an int or a string?
Maybe there could be a lint warning that a conversion is going to happen here, and include a syntax to disable conversion
${bar} =  42  # ok
foo  ${bar}  # warning: value conversion
foo  ${bar:no_conversion}  # special syntax to not convert something

What if RF has type hints like
```robot
foo

I think the core design of RF where everything is a string makes this very complicated.

I think if the ide could inform where conversion are happening it would reduce confusion a lot, maybe conversions could also be included in the report.

In my opinion Robot should not start converting values automatically just because they look like something. For example, something like Foo    42 should mean passing a string to the keyword by default and conversion done only if the keyword itself has type information. The same should happen also with Foo    ${bar} - the keyword should get the original value unless it has type info.
We have issue #3278 about adding variable type conversion using syntax like ${COUNT:int}. It's currently targeted for RF 5, but we don't yet have concrete plans when the development of that release will start an what it actually will contain. I agree it would be a handy feature.
Anyway, in this issue we should concentrate on Union conversion. As I wrote earlier, I nowadays think the original approach in PR #3895 is the best one.


Adding deterministic dependencies

@aexmachina This PR fixes the lack of deterministic dependencies of the project by adding a lock file to the dependency manager (package-lock.json). Also sinon-chai dependency was updated since it was pointing to a private repository which was asking for credentials.
By doing so it was also necessary to upgrade sinon too since sinon-chai depends on sinon and is better to keep consistent versions. By updating sinon and sinon-chai a single failing test on FactorySpec.js showed up which was fixed too.

Great, thanks! Published v5.0.3


Add Rendering Blend Modes as Uniforms

Fixed with this commit: https://github.com/jonobr1/force-directed-graph/pull/14


Strict variables in logstash::configfile

When logstash::configfile is used with $source parameter

This is a tiny patch, it probably doesn't require CLA.

Can one of the admins verify this patch?

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.


preview failed gcp:container:Cluster timeout

Problem description
I created a stack at GCP and implemented a ci/cd pipeline with Gitlab.
Every time the runner fails with a timeout. Tested the script on my mac and it works perfectly.
My gitlab-ci.yml is attached.
Errors & Logs
Diagnostics:       pulumi:pulumi:Stack (n1000-10-staging):         error: preview failed       gcp:container:Cluster (gke-cluster):         error: Preview failed: refreshing urn:pulumi:staging::XXX::gcp:container/cluster:Cluster::gke-cluster: Error reading Container Cluster "gke-cluster-XXX": Get https://container.googleapis.com/v1beta1/projects/XXX/locations/europe-west3/clusters/gke-cluster-XXX?alt=json&prettyPrint=false: Get http://XXX.XXX.XXX.XXX/computeMetadata/v1/instance/service-accounts/default/token?scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fndev.clouddns.readwrite%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control: dial tcpXXX.XXX.XXX.XXX:80: i/o timeout

This issue is 4 years old and contains no repro. Nobody has commented on it ever since. I don't think it's actionable for us. I'll assume it was some configuration issue, or the underlying issue has been fixed since.


EOmutexTest.java:78-82: Uncomment this test when problem...

The puzzle 33-016de260 from #33 has to be resolved:
https://github.com/objectionary/eo-threads/blob/0a3d93da8649b9592280abace535df1632488559/src/test/java/EOorg/EOeolang/EOthreads/EOmutexTest.java#L78-L82
The puzzle was created by @levBagryansky on 01-Oct-22.
Estimate: 90 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 33-016de260 has disappeared from the source code, that's why I closed this issue.


Add an API to sign bytes with the creds

This can already be done via NKey#sign(byte[]): https://github.com/nats-io/nats.java/blob/main/src/main/java/io/nats/client/NKey.java#L754
...and you need to create an NKey if you are implementing the AuthHandler: https://github.com/nats-io/nats.java/blob/main/src/main/java/io/nats/client/AuthHandler.java


use correct pydantic model fields in trapi throttle

This fixes an issue that is present among some multi-hop queries by properly utilizing pydantic models in trapi throttle. This should also close #353 and #354.
However, this does bring up another pressing issue. When this error was present, strider would error out and then hang until reset. We need to have more robust error handling to ensure that this is not an issue in the future.

Was this issue caught through offline testing? If so can we add a unit test to catch this in the future?
It certainly looks like a bug, but why didn't we catch it?

A unit test can't catch this because it uses the batching code that directly deals with how we call external services. If we want to test this, we would have to do one of two things:

Implement tests using offline services; or
Create a mocked test that actually results in batched requests

Option 1 is bad for reasons we have discussed previously and since maintaining tests that call external services is a massive headache. Option 2 sounds reasonable but would require someone to sit down and create a multi-hop test that uses many KP's that have extensive knowledge and would provide dozens of curies, which is where the batching actually kicks in. Unfortunately, both of these options seem pretty infeasible.
That being said, we should have more robust error handling so we don't have situations where strider hangs because of bad code, bad requests, or some other type of error. This was fine because it had never been deployed except to dev, if this had been put into prod, it would've been a massive issue.

I can accept that not all things can be tested. You still must take the canary to the coal mine. And that's why we have dev. Let's cut an image and keep testing this one.


Dropdown component throws error if used with inNavbar property

components: Dropdown
reactstrap version #9.1.10, #9.2.0
import method es
react version #18.2.0
bootstrap version #5.1.3

What is happening?
Using Dropdown with the inNavbar prop and a custom tag results in the "cannot read properties of null (reading 'contains')" error. Code/steps to reproduce is attached below.
Upon investigation the tag component does not receive the innerRef property when inNavbar is passed, and does receive innerRef otherwise.
What should be happening?
No error should be thrown.
Steps to reproduce issue
Set up a dropdown menu like below
<UncontrolledDropdown inNavbar>
  <DropdownToggle
    tag={({ innerRef, ...props}) =>
Note, no inner ref in props
}
  />
  <DropdownMenu>
  // rest of code omitted

Error message in console
Dropdown.js:110 Uncaught TypeError: Cannot read properties of null (reading 'contains')
    at Dropdown.handleDocumentClick (Dropdown.js:110:1)

After investigation, i think the issue started from 9.1.3, which we landed on after looking at what the ref is for inNavbar in the dropdown toggle component, more specifically this commit: https://github.com/reactstrap/reactstrap/commit/c23d8478e9d25a2887484d9260c0d55322114ba7.
The commit introduces a discrepancy in passing ref/innerRef between components that do not have inNavbar, and components that do, that matches the behavior we're observing.

I can reproduce this even without inNavbar, on any Drodpwon wich does not explicitly contain a DropdownToggle.
In my case I'm handling the open/close of the menu externally by triggering the toggle callback.

Ran into this issue while attempting to upgrade. Curious if the PR that's open is planned to be merged? I was trying to implement a workaround by including a hidden DropdownToggle in my UncontrolledDropdown, but that seemed to break the expected behavior.


Make it technically possible to respond to voice commands

Make it technically possible to respond to voice commands
This pull request adds:

Speech Recognition
Intention Recognition

A message looks something like:
struct SpeechIntentMsg {
    string text;
    string intent;
    vector<Slot> slots;
    float confidence;
}

struct Slot {
    string name;
    string value;
}

A slot represents a substitution made during sentence parsing. For example, consider the following grammar:
I saw a (red | green | blue){colour} car

Given the sentence I saw a green car, there would be a SpeechIntentMsg produced once the sentence was spoken where the slots vector contained one slot with name=colour, and value=green.
I know this slots language does not make sense, but we use it here for consistency with voice2json's terminology.
The system uses arecord underneath the hood to find the microphone.
Pre-PR Checklist:
Have you

[x] Updated NUbook if necessary (add link to NUbook PR here)
[x] Added/Updated tests for your changes, including regression tests for bug fixes
[x] Updated relevant module READMEs
[x] Added/modified documentation directives in relevant code
[x] Added relevant labels to the PR

The module is being tested by hand at the moment.
Reviewers, Note
This pull request replaces the other pull request here with the same name due the integration tests being unable to complete.
To verify the code is able to perform intention recognition:

Create a wav file in the repository: espeak -w output.wav "bring me an apple from the bench"
Run the module passing the full path: ./b run speechintent -- file /home/nubots/NUbots/output.wav

The module will translate the sentence and then perform intention recognition based on the grammar in docker/voice2json/sentences.ini.
Things left to do

[x] Install json.h in /usr/local/include/ instead of as a user header in the SpeechIntent module.
[ ] Sync the following directories during the installation:

/home/nubots/.local/share/voice2json/en-us_kaldi-zamia
/home/nubots/voice2json
/opt/kaldi/

This branch takes longer than 6 hours to compile. It was part way through OpenFST which takes about 40 minutes. Kaldi comes afterwards and also takes about 40 minutes.
I'm kind of the opinion at the moment that we need to build these packages separately and then use Pacman (or some other tool) to manage the dependencies in the docker container and robot. I've been trying to install multiple packages at the same time, but couldn't until after one was built. If they were separated I'd be able to work on the at the same time.

This branch takes longer than 6 hours to compile. It was part way through OpenFST which takes about 40 minutes. Kaldi comes afterwards and also takes about 40 minutes.
I'm kind of the opinion at the moment that we need to build these packages separately and then use Pacman (or some other tool) to manage the dependencies in the docker container and robot. I've been trying to install multiple packages at the same time, but couldn't until after one was built. If they were separated I'd be able to work on the at the same time.

@KipHamiltons @Bidski

Superceded by #966


Add example to connect to remote server to run debug

I don't know if this is out of scope, but I thought it would be helpful to have an example of how to connect to a remote server to do some debugging.

Please see the document here. https://github.com/node-inspector/node-inspector/pull/1002


Inherit Style

Without this, we can't use flex and other inherited styles.

This will cause KeyboardAvoidingView and ScrollView to inherit the same style.
Is there any style that must be inherited by KeyboardAvoidingView?
If you use Animate.ScrollView, then the style must be inherited by it.
Or you have a better way to help me improve it so that both are compatible?

In this case, I needed to use flex:1. Let me be more clear. On my project, I needed a button to stick to the bottom of the view and the InputScrollView to fill the remaining space.
The way you set the height, with height:100% doesn't allow to do this. Setting a style inheritance makes this possible. I don't know, maybe use a specific prop to inherit style?

Setting height: 100% is to make InputScrollView more like ScrollView's default height setting
If you add a container outside the InputScrollView, can you solve your problem?
<view style={{ flex: 1 }}>
    <InputScrollView />
</view>
<Button style={{ flex: 0 }} />

If the above method does not work, please help me to test the following modification is feasible
            <KeyboardAvoidingView behavior={isIOS ? 'padding' : null}>
                <View style={[styles.wrap, this.props.style]}> // <= Use this view to inherit the style
                    <ScrollComponent ref={this._onRef}
                                     onMomentumScrollEnd={this._onMomentumScrollEnd}
                                     onFocusCapture={this._onFocus} {...otherProps}>
                        ....
                    </ScrollComponent>
                </View>
            </KeyboardAvoidingView>

If none of the above will work, I will consider your suggestion.


rg/add raise contract

@Created-for-a-purpose Apologies for confusion but we are maintaining the project fork itself which is under RizeLabs org.
Closing this pr and re-opening one at Rizelabs org.


ng serve per default only listens on IPv6 (Linux)

Command
serve
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
ng serve seems to only listen on IPv6 per default.
This seems like pretty weird behaviour, as most services do not work like that, and it makes debugging issues which involves networks and proxies kind of unexcepted.
Minimal Reproduction
Serve an application:
ng serve

[..]
Watch mode enabled. Watching for file changes...
Re-optimizing dependencies because lockfile has changed
  ➜  Local:   http://localhost:4200/
  ➜  press h + enter to show help

It says its listening on localhost.
Localhost is resolving to both ::1 and <IP_ADDRESS>. Still ng decides to only listen on ::1:
netstat -pnlt | grep ':4200'
tcp6       0      0 ::1:4200                :::*                    LISTEN      2145414/ng serve

I can force it to run it on IPv4 with binding to <IP_ADDRESS> or <IP_ADDRESS>, but then  it only listens to ipv4, and not 6 of course:
ng serve --host <IP_ADDRESS>

netstat -pnlt | grep ':4200'
tcp        0      0 <IP_ADDRESS>:4200          <IP_ADDRESS>:*               LISTEN      2152537/ng serve --

Starting it explicitly with localhost also only binds it to IPv6:
ng serve --host localhost

netstat -pnlt | grep ':4200'
tcp6       0      0 ::1:4200                :::*                    LISTEN      2164254/ng serve --

It seems like this "issue" is only reproducible on Linux, on Mac OSX, ng binds "correctly".
Exception or Error

Your Environment
Angular CLI: 17.3.2
Node: 20.9.0
Package Manager: npm 10.1.0
OS: linux x64

Angular: 17.3.12
... animations, common, compiler, compiler-cli, core, elements
... forms, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                              Version
--------------------------------------------------------------
@angular-devkit/architect            0.1703.2
@angular-devkit/build-angular        17.3.2
@angular-devkit/core                 17.3.2
@angular-devkit/schematics           17.3.2
@angular/cdk                         17.3.10
@angular/cli                         17.3.2
@angular/material                    17.3.10
@angular/material-date-fns-adapter   17.3.10
@schematics/angular                  17.3.2
rxjs                                 7.8.1
typescript                           5.4.3
zone.js                              0.14.4

Anything else relevant?
No response

This issue is not related to Angular. In Node.js 18, the preference for IPv4 over IPv6 has been removed. Instead, Node.js now respects the order returned by DNS entries. As a result, it is no longer guaranteed that "localhost" will resolve to <IP_ADDRESS>. For more details, see: https://github.com/nodejs/node/pull/39987


Fixed invalid escape sequences (#473)

Quick fix for #473.
Invalid escape sequences were raising a DeprecationWarning in Python 3.6 and above.
So I just wrapped them as raw strings.

Coverage decreased (-0.01%) to 57.267% when pulling a77c0c1534908833056c3c196b0b0a015ec29970 on fbernhart:regex_deprecation into 98ebf5ae7ad666cbd30990a438ff534b8c8fdbda on xhtml2pdf:master.


Terminal mode text deletion/overwrite can be broken

Problems have been observed in CP/M with VDP 2.7.1 - notably "delete" doesn't seem to work.
This problem appears to be the same as one observed in mode 7 in 2.7.0, caused by the new XOR-rendered cursor.
This can be fixed by ensuring that the painting mode is changed to "set" when enabling (or resuming) terminal mode.  Either that or the cursor plotting can always change the painting mode back to "set" after rendering the cursor.

potential fix is in #195

fix released, and it worked :grin:


Output as UVC Gadget

Being able to output an incoming NDI stream as a UVC Gadget would be great work environments where it's not possible to install software.
At the moment the best solution is Dicaffine HDMI output into a HDMI USB capture card.

Bump, I'm currently looking for this feature also. NDI to USB webcam (UVC).
Birddog apparently has the birddog pod but it's either sold out or not released yet.


Prerequisite for CI/CD on Azure Synapse Analytics

I am going through Microsoft learn documents on setting up CI/CD for Azure Synapse Analytics and in its prerequisite it appears that we need both GitHub and Azure DevOps Service license. Is it possible to use either one of these services to setup CI/CD pipeline on Azure Synapse Analytics to avoid onboarding timeline for new customer who may be new to AzDO service as well as GitHub? If so, can the document be updated with some information that refer to either AzDO service or GitHub? Because if I am new user and trying to quickly scan the page on prerequisite, it appears that I need to get onboarded to both services.

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

ID: de000363-1626-b5b3-2e13-bff9c8855955
Version Independent ID: ff8b1409-77fe-1d98-4131-8ce7bdd16c6d
Content: Continuous integration & delivery in Azure Synapse Analytics - Azure Synapse Analytics
Content Source: articles/synapse-analytics/cicd/continuous-integration-delivery.md
Service: synapse-analytics
Sub-service: cicd
GitHub Login: @liudan66
Microsoft Alias: liud

@Anand-Moghe
Thanks for your feedback! We will investigate and update as appropriate.

@Anand-Moghe
Thank you for bringing this to our attention.
I've delegated this to content author @liudan66, who will review it and offer their insightful opinions.
@liudan66
Could you please review add comments on this, update as appropriate.

Followed up with the author.

@Anand-Moghe Hi there. The article author updated it based on your feedback. Thanks for letting us know about this issue.
#please-close


Overriding modules with addMockModule

I am attempting to overwrite a module in the application with a mock module, but it does not seem to be working, and it is possible that I do not understand the documentation correctly.
In the main code, I have:
angular.module('myApp.authServices', [])
.service("myLoginService", ['$http', function($http) {
    this.authenticate = function() {
           /* Do authentication here */
         };
}]);

So, in my e2e test script, I attempted to do the following:
var authServiceMock = function() {
  angular.module('myApp.authServices', [])
  .service("myLoginService", ['$http', function($http) {
    this.authenticate = function() {
           /* Do alternative authentication here */
         };
  }]);
};

Then, I do:
browser.addMockModule("myApp.authServices", authServiceMock);

I have tried putting that line in several places - before any tests, in a beforeEach, and in the middle of tests, but it always calls the "myLoginService" from the main code.  Any ideas?

Did you get resolved?

same doubt

I have the same issue, tried the browser.addMockModule all, its never called.

I have the same issue if I put
browser.ignoreSynchronization = true;

before browser.addMockModule.


Allow passing claims_options in StarletteOAuth2App

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

[x] You consent that the copyright of your pull request source code belongs to Authlib's author.

This pull requests allows to put custom claims_options into the StarletteOAuth2App. This is needed for example in a multihomed Keycloak setup. Here, the users accesses Keycloak from a public URL (e.g. https://keycloak.localhost with a Reverse Proxy in front) which might not be reachable from the application (e.g. in a Docker Container). In that case, the program using authlib would access Keycloak directly using a private URL (e.g. http://keycloak:8080).
Here, the JWT iss would mismatch when retrieving the user_info, but the developer knows that it has two possible values: The public and the private URL. To suppress the validation error, the base function AsyncOpenIDMixin.parse_id_token allows setting custom claims_options, but in StarletteOAuth2App, that was impossible to do.

Could you also add it for Django and Flask? I would like to keep them the same API.

Done

Thanks


Found a possible security concern

Hey there!
I belong to an open source security research community, and a member (@sheldor2021) has found an issue, but doesn’t know the best way to disclose it.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

Hi! We forked this project and added a SECURITY.md here https://github.com/Develatio/traverse-v2/commit/40765e58767c1f9b95ccea8456ae07d0aa53db8d
Can you ping us?

@alexandernst - thanks for your comment!
I would welcome @sheldor2021 to submit a new report to us against your repository so that we can handle it directly with your repository. Just for reference for maintainers of this repository, the report can be found here:
https://huntr.dev/bounties/cb0a3dc3-3f6d-4399-8236-8acf5e5016d5/
We typically wait 90 days from point of disclosure before sharing details of the vulnerability publically, i.e. non-maintainers.


macro access to global context not working as documented?

Reading the docs here I tried to pass the whole context to a macro in the following template (where user1 and user2 are provided in the context passed to template.evaluate()):
{{ m1(_context) }}
{% macro m1(_context) %}
{{ user1.name }} + {{ user2.name }}"
{% endmacro %}

Compare with the following template that does not use a macro:
{{ user1.name }} + {{ user2.name }}

Using the same context, the first one evaluates to + while the second evaluates to bugs + bunny. Of course, I can pass the two variables explicitly:
{{ m2(user1, user2) }}
{% macro m2(user1, user2) %}
{{ user1.name }} + {{ user2.name }}
{% endmacro %}

But I'd like to understand why the first example did not work as I expected. The example in the docs uses {% set foo = 'bar' %}, maybe it's different for variables passed through the context when you call template.evaluate()? Also, if it makes any difference, I'm using getLiteralTemplate to load the templates and I'm on version 3.1.4.

It's missing the use of _context variable within macro. If doc contains a typo, can you create a PR ?
{{ m1(_context) }}
{% macro m1(_context) %}
  {{ _context.user1.name }} + {{ _context.user2.name }}"
{% endmacro %}

Sure, I can do that!

Is this the place to make this change?


[NCL-7614] Set graceful shutdown to 30 seconds

By default, if the pod has not stopped 30 seconds 1 after it got the SIGTERM signal, the pod is SIGKILled.
We should allow a graceful shutdown of 30 seconds on Quarkus as a result.

300s was set intentionally. The use case a monitor that is waiting for a new environment to become ready.
In our deployment config, we use a setting that is overriding the default 30s.


added {my profile-Kshitiz}

I added my profile in index.html

Hello @kshitizvardhan! Please don't remove the 47th line, Also the code should be at the end of the file, Above this line <!-- Please place the code above this line -->

ok @ayushsarode i will make a change
thank you


Support risingwave schema inspect

Hi, atlasgo devs,
I want to contribute the integration for RisingWave, a pgwire-compatible database primarily targeting streaming. We've heard from several users praising the usability of atlasgo, and we believe integrating both tools would streamline the user experience.
At first, I tried directly connecting RisingWave via the Postgres connector, but atlasgo threw serveral errors due to the lack of some SQL features at the RisingWave side. These features are currently unnecessary in RisingWave's context, so I had to tweak atlasgo to work properly with RisingWave.
A major modification is that I introduced a separate branch to check if atlas is connecting to RisingWave:
	c.risingwave, err = c.isRisingWaveConn()
	if err != nil {
		return nil, fmt.Errorf("postgres: failed checking if connected to RisingWave: %w", err)
	}
	if c.risingwave {
		return noLockDriver{
			&Driver{
				conn:        c,
				Differ:      &sqlx.Diff{DiffDriver: &risingwaveDiff{diff{c}}},
				Inspector:   &risingwaveInspect{inspect{c}},
				PlanApplier: &planApply{c},
			},
		}, nil
	}

If it is, all further execution will go to RisingWave-specific implementation.
Another tricky part is:
-	LEFT JOIN pg_depend AS t5 ON t5.classid = 'pg_catalog.pg_class'::regclass::oid AND t5.objid = t3.oid AND t5.deptype = 'e'
+	LEFT JOIN pg_depend AS t5 ON t5.classid::text = 'pg_catalog.pg_class' AND t5.objid = t3.oid AND t5.deptype = 'e'

I slightly adjusted the comparison, removing ::regclass::oid. I used text instead of oid for comparison. This is because RisingWave doesn't support regclass nor oid. I thin using text would achieve better compatibility with other PG-like databases. 😄 I hope this modification would not break anything.

Hey! Thanks for the contribution, @neverchanje.
Unfortunately, we cannot accept these changes and commit to support this new database. If the database is compatible with the PostgreSQL information schema, it should work with the current driver as is.
If you are working at RisingWave, you are welcome to send me a message on our Discord server and we can discuss this partnership.


[Help] Untrusted bans

I play non-prime with my friends with this cheat, i added junkcode. We have the same dll, the same injector and the same config. Why i got like 4/5 untrusted bans and them only 1?

junkcode AA?

@NexSqaud ?

@NexSqaud what do u mean

You added Anti-aim to osiris?

@NexSqaud no the source is the same, no changes to the hacks, i only added junkcode

What a junkcode added?

@NexSqaud i use a site called junkcode.gethaxelt.in

https://void.to/Thread-STRANGE-UNTRUSTED-BAN

Junkcode useless, osiris not detected. Your injector can be detected.

@NexSqaud im using process hacker, but the thing is that my friends got banned only once

ahhaha process hacker detected

@NexSqaud what you think is better for injecting?

I use Inflame

@NexSqaud how can i make it undetected

Ok thank you Nex for helping me. I will try later

Fasm size about 3MB.

@NexSqaud last question, how can i install fasm?

google -> fasm


1.28.0 - maestro-driver-ios using huge amount of storage space in DerivedData

Describe the bug
Currently in /Library/Developer/Xcode/DerivedData/* I see maestro using a lot of storage
To Reproduce
Keep running multiple tests on maestro
Then use the following command  du -sh $HOME/Library/Developer/Xcode/DerivedData/* | sort -rh to list out what is in DerivedData
Screenshots

Environment information (please complete the following information):

Maestro version 1.28.0
Platform: iOS
Host: macOS 13.4 on Xcode 14.3.1

Hi @sidster-io, I've updated maestro to save these maestro-driver-ios-* directories in the OS temp dir (/var/folders/.../.../...) which should be automatically cleaned by the OS.
This change will be part of the next maestro release (scheduled this week).
To remove any already existing logs, one can use rm -rf ~/Library/Developer/Xcode/DerivedData/maestro-driver-ios-*.

Hi @sidster-io I believe this issue has been fixed.
Let me know if you still find that this issue is still happening.


Pub get "pre-compiles" packages without entry points in bin/

More specifically it looks like it pre-compiles packages which have a transformers section in their pubspec.yaml.
In certain cases this does not seem to make any sense. Here is an example:
$ cat pubspec.yaml
name: foo
version: 0.1.0
author: bar
dependencies:
  googleapis_auth: any
$ pub get
Resolving dependencies... (1.8s)

collection 1.1.0
crypto 0.9.0
googleapis_auth 0.2.2
http 0.11.1+1
http_parser 0.0.2+5
path 1.3.0
source_span 1.0.2
stack_trace 1.1.1
string_scanner 0.1.2
Changed 9 dependencies!
Precompiling dependencies...
Loading source assets...
Precompiled googleapis_auth.

It "Precompiled googleapis_auth" here, even though googleapis_auth

does not have any entrypoints in bin/
does not have any transformers which would affect other packages depending on it (i.e. files inside lib/ stay the same)

More specifically the transformer section in pubspec.yaml is only doing one thing:
It disables the built-in "$dart2js" transformer for certain files where it does not work.
Yes, this built-in transformer is unfortunately an explicit opt-out instead of an opt-in solution -- as mentioned many times.
$ ls $(readlink packages/googleapis_auth)/../
total 36K
-rw-r----- 1 kustermann eng  447 Nov 24 02:03 CHANGELOG.md
-rw-r----- 1 kustermann eng  158 Sep 15 18:06 codereview.settings
drwxr-x--- 3 kustermann eng 4.0K Nov 24 09:18 lib/
-rw-r----- 1 kustermann eng 1.5K Aug 13 17:20 LICENSE
-rw-r----- 1 kustermann eng  439 Nov 24 02:04 pubspec.yaml
-rw-r----- 1 kustermann eng 9.4K Nov 24 02:03 README.md
drwxr-x--- 4 kustermann eng 4.0K Nov 24 09:18 test/
$ cat $(readlink packages/googleapis_auth)/../pubspec.yaml
name: googleapis_auth
version: 0.2.2
author: Dart Team<EMAIL_ADDRESS>description: Obtain Access credentials for Google services using OAuth 2.0
homepage: https://github.com/dart-lang/googleapis_auth
environment:
  sdk: '>=1.7.0 <2.0.0'
dependencies:
  crypto: '>=0.9.0 <0.10.0'
  http: '>=0.11.1 <0.12.0'
dev_dependencies:
  unittest: '>=0.11.0 <0.12.0'
transformers:

$dart2js:
    $exclude:
    - test/oauth2_flows/auth_code_test

This issue has been moved to dart-lang/pub#1200.


Add entrypoint for app-level code

Basically, provide a way for users to run app-level code when the worker is initialized. This would be directly beneficial for the new hooks feature (#522), but could realistically be used for any arbitrary code. Current proposal is to respect the main field in a user's package.json
NOTE: I already added the function app dir to the worker init request in https://github.com/Azure/azure-functions-host/pull/8144, necessary to read the user's package.json

With the change on the Function Host, will there be some more data provided to the workers when they start up, info that can be used to find the package.json?

Yes that is the point of the change on the host and it will also help with https://github.com/Azure/azure-functions-nodejs-worker/issues/531, if that's what you're after 😝

Yes that is the point of the change on the host and it will also help with #531, if that's what you're after 😝


[1.20.1] Incompatible with ImmediatelyFast-1.1.25

Mod List

Description
Install sfcr-1.7.6-mc1.20 and ImmediatelyFast-1.1.25+1.20.1, then cause completely random crash.
sfcr-1.7.6-mc1.20 and ImmediatelyFast-1.1.24+1.20.1, no problem.
If it's ImmediatelyFast's fault, inform me, I'll report to their issue tracker.
crash-2023-08-05_17.14.09-client.txt
latest.log(crash after F3+G)
latest.log(crash on entering world)

Test with ImmediatelyFast-1.1.26 and it's fine.


USDB Syncer version annotation updated to latest

Version wasn't updated within the pyproject.toml which leads local development show 0.7.0 in build-logs while we're already on 0.9.0
PS C:\repos\usdb_syncer> poetry install
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: usdb_syncer (0.7.0)
# After changing
PS C:\repos\usdb_syncer> poetry install
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: usdb_syncer (0.9.0)

Not quite sure why the pipeline is failing.. :o


Update TTGO_T listener

https://github.com/peterfdej/TallyArbiter-TTGO_T/blob/main/Tally_Arbiter_TTGO_T.ino

If you want to contribute code to this project, please do it through a pull request.


Ubuntu and system's sftp

If file opened via ubuntu's sftp, it has path like /run/user/1000/gvfs/sftp:host=path_to_file_on_server.
Now if i press enter in todo preview, sublime try to open tab with path /run/user/1000/gvfs/sftp and ofcourse open empty file (with error in console Unable to open /run/user/1000/gvfs/sftp).
can this be fixed? or maybe not open a new tab, but focus existed tab with this file and only select specific line...

I'll be more than happy to accept a PR.


:green_heart: Fix docker build push

lol so I forgot to add --push when publishing the builds 🙃

So I have a suspicion that podman buildx, when used in this way for building multi-arch images, will overwrite the tag for whichever build happens last (since it is not parallel builds). If this is true, then the next nightly push will only have an arm64 build on dockerhub. This is obviously a problem. I'll divert my attention to the build system again this weekend 😭

https://github.com/redhat-actions/buildah-build?tab=readme-ov-file <-- viable

So I have a suspicion that podman buildx, when used in this way for building multi-arch images, will overwrite the tag for whichever build happens last (since it is not parallel builds). If this is true, then the next nightly push will only have an arm64 build on dockerhub

Yup, it did just that: https://hub.docker.com/layers/aaronleopold/stump/nightly/images/sha256-2633f62ee8a4ed8fa3016cbfd441229e7eddc0fc2a1667181fd2b67297c1537e?context=explore


100% CPU usage...

After updating Docker version to the latest build, I noticed that Docker environment was utilizing 100% of 1 CPU core of 4 given to my Docker environment under Unraid OS. First I thought that there was a problem with new py-kms Docker image and I tried to run py-kms in Debian VM to see if the python only version has the same problem and yes same issue exists.
Running old python3 version:

Running new python3 version:

Docker environment:

Hope this information helps!

Okay, that is strange. Well, we've had this before https://github.com/SystemRage/py-kms/issues/38 - and then fixed. Additionally I had fixed this in #51 for docker. But you are right. It is here again. I can reproduce this and will take a look further into it.

It seems Fix for #58 messes up the CPU usage under Linux. I rolled back the fix in pykms_Server.py file and the CPU usage went back to normal. I'm not the python expert, so can't really understand what is the real problem, just tried to roll back latest fixes to see if something changes and it did.

i don't know why, but he didn't like
selector.register(fileobj = self.w_service.fileno(), events = selectors.EVENT_WRITE)


tables not rendered despite option

With ruby-2.2.3 and redcarpet 3.3.2 tables aren't rendered despite having turned on the option. What am I doing wrong?
Redcarpet::Markdown.new(Redcarpet::Render::HTML, tables: true).render("| --- | ---|\n| ex | ample |")
=> "<p>| --- | ---|\n| ex | ample |</p>\n"

Sorry for the bother, I was not considering my own stupidity as much as I should have.
"| | |\n| --- | ---|\n| ex | ample |"

Hi @joelmeyerhamme!
Yes, the table syntax may be improved at some levels (e.g. #411 and #476) ; I'm giving it a close but things may get easier with tables in the future! Thanks for reporting anyway!


Complete normative and informative references

Fixes #3740
Normative

[x] ABNF
[x] CommonMark
[x] HTML 4.01
[x] IANA registries
[x] JSON Schema Core
[x] JSON Schema Validation
[x] OpenAPI registries
[x] OpenID Connect Core
[x] OpenID Connect Discovery
[x] SPDX
[x] WhatWG URL
[x] XML Namespaces
[x] YAML

Informative

[x] OpenAPI learn - informative

Preview of new output

https://ralfhandl.github.io/OpenAPI-Specification/oas/v2.0.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.0.0.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.0.1.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.0.2.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.0.3.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.0.4.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.1.0.html#normative-references
https://ralfhandl.github.io/OpenAPI-Specification/oas/v3.1.1.html#normative-references

We can either merge, or hang on and see if that final https://github.com/tobie/specref/pull/803 gets a review, I'm happy either way

We can either merge, or hang on and see if that final tobie/specref#803 gets a review, I'm happy either way

I'd rather merge and fine-tune in a later PR. We do have more PRs coming, for example

https://github.com/tobie/specref/pull/805 - OpenAPI-Learn and OpenAPI-Registry

Uncertain here whether to use "Registry" as we do predominantly, or "Registries" as we do in a minority of cases


Have you compare the execution time of various algorithms?

Figure 7 in the origin paper compares the performance of various algorithms. But the x-axis is the estimated training time which can be queried from the nasbench-101 dataset.
I am really interested in how much execution time does each algorithm take. The execution time here means how long each algorithm takes to obtain the Figure 7, not the estimated training time.
Have you compare that part?

No we haven't investigated the additional overhead of the single methods systematically since they are all negligible (seconds) compared to the time of a single function evaluation (hours). Also note, that an optimizer's overhead strongly depends on how efficient it is implemented and which hyperparameters you use.
Having said that, since we do an exhaustive amount of function evaluations (5000), model-based approaches such as SMAC might need a few hours to generated the full trajectory in Figure 7 (even though the optimizer overhead are only a few seconds).

@aaronkl
As you said, SMAC takes a few hours to generate the full trajectory in Figure 7. This result is based TPU, right?
Which implementation of SMAC you used in your experiments?
From my experience, the open source implementation of SMAC  takes a very long time(1 hour for only 1 repeat ) to generate the trajectory(around 2500 evaluations) on my laptop(Intel® Core™ i5-5200U CPU @ 2.20GHz × 4 ).  So in order to compute the mean performance of 500 independent runs as a function of the estimated training time just like the Figure 7 in the origin paper, it will take 500 hours which is a very big number. Unlike SMAC, Random Search and Evolutionary Search are much faster. That's why I am concerned about the additional overhead of these algorithms.

I used the implementation from here
For the comparison we parallelized all 500 runs of SMAC on 500 different cores which means in actual wall-clock time it took only a few hours (everything was on CPU).
Even though one could probably improve SMAC's optimization overhead it will never be as fast as random search, which is ok since it's made for expensive optimization problems. Keep in mind running SMAC for one hour corresponds to running the original benchmark for 2778 hours.
For the paper we used 500 runs to get very solid estimate of the optimizers' performance. However, in case you just want to play around or get some quick estimates of method's performance, you probably get away with less runs (e.g 50 or so).

Anyway, nice work!
And thanks for your reply.


Add std derives to SystemParam types

Objective

Use Clone on SystemParam, when applicable, in a generic context.

Solution

Add some derives

Testing

I ran cargo test once.
I didn't even look at the output.

It would be helpful to reviewers to briefly explain why Clone was needed on these types.

If it were just Clone, that would be easier to approve. Why Copy?

Sorry for the delay replying.
Types should eagerly implement applicable traits.
My use case was playing around with some dynamic manipulation of builders in order to inject data into a system during state initialization, and my test usage with Local required cloning the builder so that the same builder could be mapped to multiple arguments of a system.
So I think the question is better asked as: why not?
Builder types are only used in the guts of
As for Copy, I think I actually should have made more of them Copy. I don't really see any reason why these shouldn't be Copy when wrapping a Copy type. And [therefore it should] (https://doc.rust-lang.org/std/marker/trait.Copy.html#when-should-my-type-be-copy).
Note that for actual SystemParams, I think Clone or especially Copy wouldn't work because the semantics are tied to the system and it's state. But this is just the builders, and they are basically fancy named closures.

So I think the question is better asked as: why not?

More derives mean more build time

And [therefore it should] (https://doc.rust-lang.org/std/marker/trait.Copy.html#when-should-my-type-be-copy).

A lot of people think this advice is wrong. Deriving Copy change the usage of a type from move semantics to copy semantics, and can lead to unexpected behaviour

I agree with everything but Copy here, and would approve it if that's removed. The explanation about dynamic manipulation of builder types makes sense to me.

 It does make sense if you are coming from a language like Haskell, I think.


[Storage-Blob] Rename clients from *URL => *Client

/azp run azure-sdk-for-js - all-tests - storage-blob

/azp run azure-sdk-for-js - all-tests - storage-blob

/azp run azure-sdk-for-js - all-tests - storage-blob

@jeremymeng Curious, what does "/azp run azure-sdk-for-js - all-tests - storage-blob" do?

"/azp run azure-sdk-for-js - all-tests - storage-blob" do?

@XiaoningLiu It manually trigger a azure devops build (see https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#comment-triggers). When I create this PR I didn't have PR validation enabled in that build pipeline so I used the comment to queue the build. Going forward it shouldn't be needed.

Where do we define - all-tests - storage-blob parameters? Are they in some pipeline configurations?


Adds RUNNING_AND_UPCOMING to CitySavedList

Needs updated relay schema once MP is promoted

this should be good to go @ashfurrow  no more WIP


Make README Method 1 clearer

This might be me being not very command line savy, but either way, I found the readme 'How to use it' Method 1 difficult to follow and didn't get it to work. I found Method 2 fine, probably because it was obvious what needed to be edited.
Firstly, it's not clear what SCRAPER_FILE and REFERENCES_FILE should look like, should they contain the file path and name or just the file name? An example would be nice.
More generally, I didn't know how to edit python manage.py run_predict [OPTIONS] SCRAPER_FILE REFERENCES_FILE in such a way to make it run, my best guess failed:

Thanks for a great writeup, @lizgzil !

Maybe we're getting closer to dropping this method from the README and deprecate manage.py, in favor of other methods now?

In favor 👍

I'm going to close this since we have another issue to update the readme


Choosing a YAML schema

We'll want encode the valid YAML structure from #1 into a schema so we can programmatically enforce it. I'm going to use this issue to jot down potential options.

https://github.com/23andMe/Yamale
http://rx.codesimply.com/
https://github.com/Grokzen/pykwalify

We can also look to see what http://reusabledata.org does (source).

Reusable Data uses the kwalify ruby library. It looks like their is a python port of kwalify named pykwalify. pykwalify appears to be actively maintained, while Rx and Yamale from above don't appear as active. Hence, I suggest we go with kwalify/pykwalify.

Sounds good. Just so I'm understanding this correctly, the schema would not need to be seen by users - but performs response validation for records like this one?

Just so I'm understanding this correctly, the schema would not need to be seen by users - but performs response validation

Exactly. Perhaps users may want to look at it to see what the valid values are for a certain field. So the next step for us will be to convert https://github.com/transpose-publishing/policies-database/issues/1#issuecomment-387247838 into a schema.yaml file. @jpolka do you want to try doing that and we can touch base if you get stuck.

I'll give it a shot @dhimmel :)
What's the benefit of commenting out unset fields? I imagine this might be more confusing to users.

It will be best to have you add this file via a pull request. We can go over that tomorrow morning.

@jpolka I will commit this file with your authorship info in a new PR and we can go from there.

Just realized the schema should include a human-readable publisher name. @dhimmel should I create a new branch & pull request on dhimmel/policies-database/schema.yml or...? (thanks in advance)
  # Policy/publisher name from SHERAP/RoMEO - "name"
  policy-name:
    type: str

Wait till I'm done with https://github.com/transpose-publishing/policies-database/pull/8 and that's merged.


REL: Change the name

Just realized from https://github.com/seldon-code/pyseldonlib/issues/9 that we'll run into the same issue here as well, since I can see that pyseams is considered too close to pyteams.

Unfortunately the same ..lib approach won't work here because of

Will need another descriptive name, @RuhiRG @amritagos.

What about pydSEAMSlib?

Works for me, changing the name now.


fix(homepage): update dependencies (incl @scalprum/react-core from 0.8 to 0.9)

Hey, I just made a Pull Request!
This updates the dynamic-home-page dependencies similar to @kim-tsao PR https://github.com/janus-idp/backstage-showcase/pull/1977, after extracting the code into this repo, and before https://github.com/janus-idp/backstage-showcase/pull/1944 was merged.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or Updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

/lgtm