add database as a dependency in asyncpg instrumentation

What does this pull request do?
Adds database(postgres) as a dependency in python elastic apm for asyncpg instrumentation
I have taken the code from psycopg2 instrumentation which is able to show database as a dependency. Ran these changes locally and I can now see postgres under dependencies.

Related issues
closes  https://github.com/elastic/apm-agent-python/issues/1111

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1114 opened

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-04-26T08:59:59.399+0000

Duration: 3 min 18 sec

Commit: 2a6f62c495ff85e0f80bc58d09a09bf6786638c4

Trends :test_tube:

Steps errors
Expand to view the steps failures

Load a resource file from a shared library

Took 0 min 0 sec . View more details on here
Description: approval-list/elastic/apm-agent-python.yml

Error signal

Took 0 min 0 sec . View more details on here
Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Log output
Expand to view the last 100 lines of log output

[2021-04-26T09:02:45.776Z]  > git checkout -f 0de57545735b0fb5a743adafcf8edd69f0d0aca1 # timeout=15
[2021-04-26T09:02:49.670Z] Commit message: "Merge commit 'f477f1b5c55842034a7cd04af342dc51d3c1af22' into HEAD"
[2021-04-26T09:02:49.670Z] First time build. Skipping changelog.
[2021-04-26T09:02:49.670Z] Cleaning workspace
[2021-04-26T09:02:49.779Z]  > git --version # timeout=10
[2021-04-26T09:02:49.783Z]  > git --version # 'git version 2.17.1'
[2021-04-26T09:02:49.791Z] fatal: bad object b4aa23e52e63d1c9b07c2ac41042ac29824d10a5
[2021-04-26T09:02:50.537Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-04-26T09:02:50.645Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-04-26T09:02:50.814Z] Timeout set to expire in 1 hr 0 min
[2021-04-26T09:02:49.673Z]  > git rev-parse --verify HEAD # timeout=10
[2021-04-26T09:02:49.684Z] Resetting working tree
[2021-04-26T09:02:49.684Z]  > git reset --hard # timeout=10
[2021-04-26T09:02:49.721Z]  > git clean -fdx # timeout=10
[2021-04-26T09:02:51.106Z] [INFO] Number of builds to be searched 10
[2021-04-26T09:02:51.306Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-04-26T09:02:51.347Z] Running in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1114/src/github.com/elastic/apm-agent-python
[2021-04-26T09:02:51.406Z] [INFO] gitCheckout: Checkout SCM PR-1114 with default customisation from the Item.
[2021-04-26T09:02:51.449Z] [INFO] Override default checkout
[2021-04-26T09:02:51.538Z] Sleeping for 10 sec
[2021-04-26T09:03:01.581Z] The recommended git tool is: git
[2021-04-26T09:03:01.742Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2021-04-26T09:03:01.748Z] Wiping out workspace first.
[2021-04-26T09:03:01.762Z] Cloning the remote Git repository
[2021-04-26T09:03:01.762Z] Using shallow clone with depth 3
[2021-04-26T09:03:01.762Z] Avoid fetching tags
[2021-04-26T09:03:01.783Z] Cloning repository git@github.com:elastic/apm-agent-python.git
[2021-04-26T09:03:01.823Z]  > git init /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1114/src/github.com/elastic/apm-agent-python # timeout=10
[2021-04-26T09:03:01.830Z] Fetching upstream changes from git@github.com:elastic/apm-agent-python.git
[2021-04-26T09:03:01.830Z]  > git --version # timeout=10
[2021-04-26T09:03:01.838Z]  > git --version # 'git version 2.17.1'
[2021-04-26T09:03:01.839Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-04-26T09:03:01.846Z]  > git fetch --no-tags --progress -- git@github.com:elastic/apm-agent-python.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2021-04-26T09:03:04.778Z] Cleaning workspace
[2021-04-26T09:03:04.797Z] Using shallow fetch with depth 3
[2021-04-26T09:03:04.797Z] Pruning obsolete local branches
[2021-04-26T09:03:05.590Z] Merging remotes/origin/master commit f477f1b5c55842034a7cd04af342dc51d3c1af22 into PR head commit 2a6f62c495ff85e0f80bc58d09a09bf6786638c4
[2021-04-26T09:03:05.741Z] Merge succeeded, producing f80a38cda380fa01d7c7caa70912f4d7888092ae
[2021-04-26T09:03:05.742Z] Checking out Revision f80a38cda380fa01d7c7caa70912f4d7888092ae (PR-1114)
[2021-04-26T09:03:05.800Z] Commit message: "Merge commit 'f477f1b5c55842034a7cd04af342dc51d3c1af22' into HEAD"
[2021-04-26T09:03:05.800Z] First time build. Skipping changelog.
[2021-04-26T09:03:05.800Z] Cleaning workspace
[2021-04-26T09:03:04.758Z]  > git config remote.origin.url git@github.com:elastic/apm-agent-python.git # timeout=10
[2021-04-26T09:03:04.762Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-26T09:03:04.771Z]  > git config remote.origin.url git@github.com:elastic/apm-agent-python.git # timeout=10
[2021-04-26T09:03:04.780Z]  > git rev-parse --verify HEAD # timeout=10
[2021-04-26T09:03:04.786Z] No valid HEAD. Skipping the resetting
[2021-04-26T09:03:04.786Z]  > git clean -fdx # timeout=10
[2021-04-26T09:03:04.800Z] Fetching upstream changes from git@github.com:elastic/apm-agent-python.git
[2021-04-26T09:03:04.800Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-04-26T09:03:04.804Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/apm-agent-python.git +refs/pull/1114/head:refs/remotes/origin/PR-1114 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2021-04-26T09:03:05.593Z]  > git config core.sparsecheckout # timeout=10
[2021-04-26T09:03:05.599Z]  > git checkout -f 2a6f62c495ff85e0f80bc58d09a09bf6786638c4 # timeout=15
[2021-04-26T09:03:05.656Z]  > git remote # timeout=10
[2021-04-26T09:03:05.661Z]  > git config --get remote.origin.url # timeout=10
[2021-04-26T09:03:05.668Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-04-26T09:03:05.672Z]  > git merge f477f1b5c55842034a7cd04af342dc51d3c1af22 # timeout=10
[2021-04-26T09:03:05.731Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-04-26T09:03:05.744Z]  > git config core.sparsecheckout # timeout=10
[2021-04-26T09:03:05.750Z]  > git checkout -f f80a38cda380fa01d7c7caa70912f4d7888092ae # timeout=15
[2021-04-26T09:03:05.802Z]  > git rev-parse --verify HEAD # timeout=10
[2021-04-26T09:03:05.811Z] Resetting working tree
[2021-04-26T09:03:05.811Z]  > git reset --hard # timeout=10
[2021-04-26T09:03:05.844Z]  > git clean -fdx # timeout=10
[2021-04-26T09:03:05.885Z]  > git --version # timeout=10
[2021-04-26T09:03:05.895Z]  > git --version # 'git version 2.17.1'
[2021-04-26T09:03:05.913Z] fatal: bad object b4aa23e52e63d1c9b07c2ac41042ac29824d10a5
[2021-04-26T09:03:06.790Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-04-26T09:03:07.536Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-04-26T09:03:09.611Z] Running in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1114/src/github.com/elastic/apm-agent-python/.git
[2021-04-26T09:03:09.754Z] Archiving artifacts
[2021-04-26T09:03:10.638Z] + git rev-parse HEAD
[2021-04-26T09:03:11.038Z] + git rev-parse HEAD
[2021-04-26T09:03:11.384Z] + git rev-parse origin/pr/1114
[2021-04-26T09:03:11.457Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-04-26T09:03:11.741Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-04-26T09:03:12.836Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-python/pulls/1114/reviews return 0 elements
[2021-04-26T09:03:12.922Z] [INFO] githubPrCheckApproved: Title: add database as a dependency in asyncpg instrumentation - User: ajaygupta2790 - Author Association: FIRST_TIME_CONTRIBUTOR
[2021-04-26T09:03:13.318Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-04-26T09:03:13.318Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-04-26T09:03:13.424Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2021-04-26T09:03:13.455Z] Sleeping for 5 sec
[2021-04-26T09:03:14.542Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2021-04-26T09:03:14.651Z] Stage "Test" skipped due to earlier failure(s)
[2021-04-26T09:03:14.772Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-04-26T09:03:14.892Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-04-26T09:03:15.016Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-04-26T09:03:15.268Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-26T09:03:15.322Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-26T09:03:15.441Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-26T09:03:15.561Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-26T09:03:16.083Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1114
[2021-04-26T09:03:16.279Z] [INFO] getVaultSecret: Getting secrets
[2021-04-26T09:03:16.340Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-26T09:03:17.448Z] + chmod 755 generate-build-data.sh
[2021-04-26T09:03:17.448Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1114/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1114/runs/1 ABORTED 197770
[2021-04-26T09:03:17.448Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1114/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-26T09:03:17.448Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1114/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-04-26T09:03:17.448Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-04-26T09:03:18.792Z] Retry 2/3 exited 22, retrying in 2 seconds...

@ajaygupta2790 great catch, the fix looks good!
If you don't mind, could you sign the CLA? Then we can get this merged ASAP :)

I have already signed this, twice :P

@ajaygupta2790 ah, I see, the problem is that your commits are linked to the @ajay1mg account, for which we don't have a CLA on file yet. Would you mind signing the CLA again, using the ajay1mg account? That would be the quickest way to resolve the issue.


C# WorkspaceId type incorrectly an Int

What happened?
If you try to pass any actual workspaceId to MetastoreAssignment the workspaceId is too large for the Int type.
Steps to reproduce
Try and create a metastoreAssignment resource in C#.
Expected Behavior
I would be able to cast the workspaceId which was a string in the Azure Native Databricks Workspace resource into an Int.
Actual Behavior
The int.Parse failed.
Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @jimconstable, thanks for the issue! I've passed this along to the team to appropriately prioritize and add to our work stack.
It looks like upstream the workspaceId is an int64, but here we're using int.

Is there a workaround for linking a Metastore to a Workspace?

Same issue with MwsPermissionAssignment resource

Hey folks, thanks for bringing this to our attention, this looks like an instance of https://github.com/pulumi/pulumi-terraform-bridge/issues/1342, we'll prioritize this as soon as we can.


SIGSEGV immediately after zookeeper session initiation (with both OpenJDK and Oracle JDK)

Immediately after zookeeper session establishment is complete, Java throws a SIGSEGV.  This occurs both with OpenJDK and with Oracle JDK
marathon-0.8.1-1.0.171.el6.x86_64
jdk-1.7.0_75-fcs.x86_64
(almost identical messages with java-1.8.0-openjdk-<IP_ADDRESS>-5.b13.fc21.x86_64)
Mar 31 11:36:56 control marathon[25108]: [2015-03-31 11:36:56,850] INFO Starting Marathon 0.8.1 (mesosphere.marathon.Main$:20)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,172] INFO Connecting to Zookeeper... (mesosphere.marathon.Main$:39)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,179] INFO Client environment:zookeeper.version=3.3.3-1203054, built on 11/17/2011 05:47 GMT (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,179] INFO Client environment:host.name= (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,179] INFO Client environment:java.version=1.7.0_75 (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,179] INFO Client environment:java.vendor=Oracle Corporation (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,179] INFO Client environment:java.home=/usr/java/jdk1.7.0_75/jre (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:java.class.path=/usr/bin/marathon2 (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:java.library.path=/usr/local/lib:/usr/lib:/usr/lib64 (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:java.io.tmpdir=/tmp (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:java.compiler= (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:os.name=Linux (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:os.arch=amd64 (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:os.version=2.6.32-504.12.2.el6.x86_64 (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,180] INFO Client environment:user.name=root (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,181] INFO Client environment:user.home=/root (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,182] INFO Client environment:user.dir=/var/log (org.apache.zookeeper.ZooKeeper:97)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,183] INFO Initiating client connection, connectString=<IP_ADDRESS>:2181 sessionTimeout=10000 watcher=com.twitter.common.zookeeper.ZooKeeperClient$3@64e6b46f (org.apache.zookeeper.ZooKeeper:379)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,191] INFO Opening socket connection to server /<IP_ADDRESS>:2181 (org.apache.zookeeper.ClientCnxn:1061)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,195] INFO Socket connection established to <IP_ADDRESS>/<IP_ADDRESS>:2181, initiating session (org.apache.zookeeper.ClientCnxn:950)
Mar 31 11:36:58 control marathon[25108]: [2015-03-31 11:36:58,199] INFO Session establishment complete on server <IP_ADDRESS>/<IP_ADDRESS>:2181, sessionid = 0x14c6f8e034901d0, negotiated timeout = 10000 (org.apache.zookeeper.ClientCnxn:739)
Mar 31 11:36:58 control marathon[25108]: #
Mar 31 11:36:58 control marathon[25108]: # A fatal error has been detected by the Java Runtime Environment:
Mar 31 11:36:58 control marathon[25108]: #
Mar 31 11:36:58 control marathon[25108]: #  SIGSEGV (0xb) at pc=0x00007ffd6b74553c, pid=25108, tid=140726418175744
Mar 31 11:36:58 control marathon[25108]: #
Mar 31 11:36:58 control marathon[25108]: # JRE version: Java(TM) SE Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13)
Mar 31 11:36:58 control marathon[25108]: # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops)
Mar 31 11:36:58 control marathon[25108]: # Problematic frame:
Mar 31 11:36:58 control marathon[25108]: # C  [libc.so.6+0x7b53c]  cfree+0x1c
Mar 31 11:36:58 control marathon[25108]: #
Mar 31 11:36:58 control marathon[25108]: # Core dump written. Default location: /var/log/core or core.25108
Mar 31 11:36:58 control marathon[25108]: #
Mar 31 11:36:58 control marathon[25108]: # An error report file with more information is saved as:
Mar 31 11:36:58 control marathon[25108]: # /var/log/hs_err_pid25108.log
Mar 31 11:36:58 control marathon[25108]: #
Mar 31 11:36:58 control marathon[25108]: # If you would like to submit a bug report, please visit:
Mar 31 11:36:58 control marathon[25108]: #   http://bugreport.sun.com/bugreport/crash.jsp
Mar 31 11:36:58 control marathon[25108]: #

Error report file at:  https://gist.github.com/wwalker/8ec3fca78ce7858a0d9e

Simple bt on the core file:
Core was generated by `java -Djava.library.path=/usr/local/lib:/usr/lib:/usr/lib64 -Djava.util.logging'.
Program terminated with signal 6, Aborted.
#0  0x00007ffd6b6fc625 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install jdk-1.7.0_75-fcs.x86_64
(gdb) bt
#0  0x00007ffd6b6fc625 in raise () from /lib64/libc.so.6
#1  0x00007ffd6b6fde05 in abort () from /lib64/libc.so.6
#2  0x00007ffd6b071c55 in os::abort(bool) () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#3  0x00007ffd6b1f3cd7 in VMError::report_and_die() () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#4  0x00007ffd6b1f425e in crash_handler(int, siginfo*, void*) () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#5
#6  0x00007ffd6b0686f1 in os::is_first_C_frame(frame*) () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#7  0x00007ffd6b1f23cd in VMError::report(outputStream*) () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#8  0x00007ffd6b1f38da in VMError::report_and_die() () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#9  0x00007ffd6b076b6f in JVM_handle_linux_signal () from /usr/java/jdk1.7.0_75/jre/lib/amd64/server/libjvm.so
#10
#11 0x00007ffd6b74553c in free () from /lib64/libc.so.6
#12 0x00007ffd6b799630 in freeaddrinfo () from /lib64/libc.so.6
#13 0x00007ffd59070cb0 in process::initialize(std::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/libmesos-0.22.0.so
#14 0x00007ffd59071390 in process::ProcessBase::ProcessBase(std::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib/libmesos-0.22.0.so
#15 0x00007ffd5901c333 in mesos::internal::state::ZooKeeperStorageProcess::ZooKeeperStorageProcess(std::basic_string<char, std::char_traits, std::allocator > const&, Duration const&, std::basic_string<char, std::char_traits, std::allocator > const&, Optionzookeeper::Authentication const&) () from /usr/lib/libmesos-0.22.0.so
#16 0x00007ffd5901c590 in mesos::internal::state::ZooKeeperStorage::ZooKeeperStorage(std::basic_string<char, std::char_traits, std::allocator > const&, Duration const&, std::basic_string<char, std::char_traits, std::allocator > const&, Optionzookeeper::Authentication const&) () from /usr/lib/libmesos-0.22.0.so
#17 0x00007ffd590c3059 in Java_org_apache_mesos_state_ZooKeeperState_initialize__Ljava_lang_String_2JLjava_util_concurrent_TimeUnit_2Ljava_lang_String_2 () from /usr/lib/libmesos-0.22.0.so
#18 0x00007ffd61012d98 in ?? ()
#19 0x00000000dcbe15a3 in ?? ()
#20 0x00007ffd000000b6 in ?? ()
#21 0x00007ffd64009098 in ?? ()
#22 0x00007ffd61060e85 in ?? ()
#23 0x00007ffd64008800 in ?? ()
#24 0x00007ffd610610f8 in ?? ()
#25 0x00007ffd6c2a4980 in ?? ()
#26 0x00000000dcbe17e0 in ?? ()
#27 0x00007ffd6c2a4a08 in ?? ()
#28 0x00000000dcbe83d0 in ?? ()
#29 0x0000000000000000 in ?? ()

zookeeper-client on the same machine seems to connect just fine.

I believe I am experiencing a similar issue in a few environments.  I believe this may be due to INFO Client environment:host.name= (org.apache.zookeeper.ZooKeeper:97) based off of some observations on which environments this does and does not work well in

This has been hopefully solved by running Marathon 0.8.2-RC3 with Mesos 0.22.1 (Master+Libraries). Please reopen if the problem persists.


polish ci job filter

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3897 (c247969) into master (22546ae) will decrease coverage by 0.25%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3897      +/-   ##
============================================
- Coverage     65.99%   65.74%   -0.26%
+ Complexity     6265     6236      -29
============================================
  Files           900      900
  Lines         24901    24901
  Branches       2244     2244
============================================
- Hits          16434    16371      -63
- Misses         7082     7152      +70
+ Partials       1385     1378       -7

Impacted Files
Coverage Δ

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
47.12% <0.00%> (-31.04%)
:arrow_down:

...controller/ShenyuClientHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...ruptor/RegisterClientServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...nyu/plugin/motan/cache/ApplicationConfigCache.java
52.00% <0.00%> (-5.00%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
60.86% <0.00%> (-4.35%)
:arrow_down:

...ache/shenyu/admin/model/dto/DataPermissionDTO.java
59.25% <0.00%> (-3.71%)
:arrow_down:

...rg/apache/shenyu/admin/model/page/CommonPager.java
44.82% <0.00%> (-3.45%)
:arrow_down:

... and 19 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Updating eventhub specs path in profile

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

@qianwens This is not a swagger spec change, just a profile map that we maintain for AzureStack

/azp run automation - sdk

/azp run automation - sdk

@qianwens Could you please merge this PR?


Bug Report: Game running slowly before playing any song(?)

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows 10 x64
What version of the game are you using? Look in the bottom left corner of the main menu.
<IP_ADDRESS> Kade Engine 1.4.2 (built from source)
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.

 Provide extensive detail and images if possible.
I am unsure if this is an issue on my end or something but the game plays REALLY slowly when you first boot it up, like everything is at 0.5x speed and then after you play a song it goes back to normal speed.

Whoops, found out someone else made an issue about this - closing


#1157: Limit the amount of time for reconciliations

Resolves #1157
Limit to 7 days the amount of time that the Controller will attempt to reconcile changes to ServiceBroker, ServiceInstance, and ServiceInstanceCredential specs. The Controller will cease reconciliation retries in 3 cases: (1) the reconciliation completes successfully, (2) the Broker responds with an error, and (3) the reconciliation retry loop exceeds 7 days.
To accommodate removing resources from the worker queues in the latter two cases, the reconcile functions have been changed to return a completed bool in addition to the error. This disambiguates the presence of an error from whether the Controller has determined that the reconciliation has been completed. For example, if the Broker responds with an error, the reconcile function can return completed=true and the error returned. Previously, the Controller had to return err=nil so that the resource would not be requeued. This made the code more difficult than necessary to understand when trying to determine what the appropriate return from a reconcile function should be.

I'd be okay with a command line flag, and possibly in the future with knobs
that we can change per-broker.
On Wed, Sep 6, 2017 at 3:14 PM, Doug Davis<EMAIL_ADDRESS>wrote:

@duglin commented on this pull request.
In pkg/controller/controller.go
https://github.com/kubernetes-incubator/service-catalog/pull/1196#discussion_r137364127
:

@@ -53,6 +54,9 @@ const (
//
pollingStartInterval      = 1 * time.Second
pollingMaxBackoffDuration = 1 * time.Hour

// amount of time to allow the reconciler to retry operations
retryDuration = 7 * 24 * time.Hour

Can we make this configurable via some config file or cmd line flag?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/service-catalog/pull/1196#pullrequestreview-61021398,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWXmCkMg9NZx6dsqplwemnq1a69Vcegks5sfu8agaJpZM4PO0nn
.

This PR has been rewritten to significantly simplify it and reduce the amount of change.

@pmorie Merge it in whenever you're happy with it, though make sure the linter passes first haha.


Fix sphinx documentation workflow

@babenek
Did you checked this error? https://github.com/Samsung/CredSweeper/runs/6773957745?check_suite_focus=true
It seems regex module required in docs/requiremnets.txt file.

@csh519
The PR fixes the issue and checks it every PR instead fetch.
regex and others packages requires due they are imported in credsweeper.
The solution is to install all required packages for credsweeper and then - packages for sphinx


Show entities only

Describe the bug （描述一下问题）
Plugin shows only a entity and does not show up as a device. Therefor I cannot do much with the automations of it
Versions (版本信息)

Home Assistant version: Home Assistant Core 2022.5.2
Midea msmart version: 0.0.23

i think you can still create automations with only entities
i.e. in this case in the automation, call the service "Climate set temperature" and specify the corresponding entity


Update README

The team no longer uses hatch. The launching process needs to be rewritten.

@WenqiLiao Is there a PR for this?

Not yet. I am waiting for your response on Slack.


Primitive components work, but datepicker, currency, etc. throwing "Entangle" error.

Describe the bug
Using "base (primitive) components" i.e. select, input, text-area, etc. works 100% and values are posted throught to the Livewire server-side component. But using Datepicker, Currency and Phone creates an error and does not submit through on the request and produces errors on die client-side saying that the livewire property can't be found.
To Reproduce
Using the latest versions of Laravel, WireUI, Alpine 3 and TailwindCss 2
    "devDependencies": {
        "@tailwindcss/forms": "^0.3.4",
        "@tailwindcss/typography": "^0.4.1",
        "alpinejs": "^3.7.0",
        "autoprefixer": "^10.4.0",
        "axios": "^0.21",
        "laravel-mix": "^6.0.39",
        "lodash": "^4.17.19",
        "postcss": "^8.4.4",
        "postcss-import": "^14.0.2",
        "tailwindcss": "^2.2.19"
    },

Note the component is making use of a public $state = [] property.

As can be noticed above, I've tried wire:model directly also tried wire:model.defer, etc. Further also applied wire:key
Expected behavior
I suspect when the entanglement errors are resolved, the components will actually post through to the backend. And like mentioned the select and normal input components works correctly.
Screenshots

Additional context
Would appreciate some guidance on this matter.

@slakbal hello
This is not a wireui bug, is a livewire error message
Add the opening, number, and date keys into your array as null to solve.
Your initial array must be
[
'opening' => null,
'number' => null,
.... every key as null or with value
]

Need to initialize the key, because the alpine cant find the key if not exists

@PH7-Jack  wow it worked!
Strange that it works with
public $state = []
for the "normal" fields.
Thanks for the help!!!!
Is this in the documentation, had a quick scan but couldn't see it. Otherwise we should actually document this also and save you potential future queries/time. :)
Thanks again!

@slakbal The entangle has this bug, every key must exist to work.


[IDEA] NES Emulator

Conditions for submitting an app idea

[X] I have read and agree to the conditions above
[ ] I would like to develop this app myself

Describe your app idea
No. Not Retroarch. I need the brand new application to submit is NES Emulator with tons of games including Super Mario Bros with cheats. I'm not talking about the Retroarch, i'm talking about the NES Emulator. Please, develop the NES Emulator app and submit it to Homebrew Channel as soon as possible. I'm gonna test it if it works very well.

This is your first warning. Don't submit repeated issues. #110

ok im sorry

If i am getting first warning, then stop doing this...


Bug: subscriber's retry doesn't work and cause infinity message nacking.

Describe the bug
Faststream[Rabbit] on version 5.17 subscriber's param retry gather than 0 cause infinity retrying.
How to reproduce
Include source code:
from collections.abc import AsyncGenerator
from contextlib import asynccontextmanager
from typing import Any

from fastapi import FastAPI
from faststream import Logger
from faststream.rabbit import RabbitBroker, RabbitMessage, RabbitQueue
from faststream.exceptions import NackMessage

rabbit_broker = RabbitBroker("amqp://dev:1234@localhost:5672")

@asynccontextmanager
async def custom_lifespan(_: FastAPI) -> AsyncGenerator[None, Any]:
    await rabbit_broker.start()
    yield

app = FastAPI(lifespan=custom_lifespan)

RETRY = 1  # !Change me :D

async def bug_consumer(msg: RabbitMessage, logger: Logger) -> None:
    logger.info("Received a message with ID `%s` from `bug.q` queue with body `%s`.", msg.message_id, msg.decoded_body)

    # await msg.nack()  # !When `RETRY = 0`, broker starts infinity loop without message counting in `CounterWatcher`.

    # raise NackMessage  # !If `RETRY = 0`, works fine? But if `RETRY = 1`, `CounterWatcher` doesn't count tries on right way and broker starts ping-pong (nacking) message.
    # raise ValueError("1 + 1 != 3")  # !Same here.

rabbit_broker.subscriber(queue=RabbitQueue("bug.q", durable=False), retry=RETRY)(bug_consumer)

And/Or steps to reproduce the behavior:

Install depends
poetry run uvicorn bug:app --host <IP_ADDRESS> --port 80 --reload
Uncomment one line (17-19)
Open RabbitMQ and publish message into bug.q

Expected behavior
I guess retry param in should affect how many times massage was processed and stop trying to handle it retry count is reached.
Observed behavior
As I see each nack return message back in the queue with different ID. That's why CounterWatcher class increase amount of messages in self.memory creating a new object in memory during each try. It cause memory leaking to.
Screenshots

Environment
Running FastStream 0.5.17 with CPython 3.12.4 on Darwin
Additional context
Provide any other relevant context or information about the problem here.

@RoTorEx thank you for the report! But can you take a look here, please: https://github.com/airtai/faststream/issues/1603 ?
Is your problem the same?

Hey, @Lancetnik.
It seems like this ticket describes the same problem. Also I didn't see any cautions in the documentation. Could you explain please how I need to manage some publisher settings with massage_id so that retry begin to work?

Hey, @Lancetnik.
It seems like this ticket describes the same problem. Also I didn't see any cautions in the documentation. Could you explain please how I need to manage some publisher settings with massage_id so that retry begin to work?

If you publishes the message via FastStream or aio-pika they setts message id automatically. Which tool are you using? Anyway, it should has the same parameter in the signature

My service receive messages from remote hosts via RabbitMQ Shovels :)

RabbitMQ Shovels

Sorry, but I am not familiar with this plugin. I can suggest you just do not use retry feature and call message.ack/nack manually. Anyway, I am planning to deprecate this option and remove it in 0.6.0

Got it. Thanks a lot for your answers.

You're welcome. Can we close the Issue on this?

Yeap :)

well, how can we re-implement retries through nack/ack properly when it will be deprecated? @Lancetnik how can we keep track of retry number?

well, how can we re-implement retries through nack/ack properly when it will be deprecated? @Lancetnik how can we keep track of retry number?

In the way you want: in-memory / redis / using message properties
The current implementation promises smth, but can't guarantee anything. Also, I can't make it better due our ideology - we can't make service statefull or use external storage. So, I want to remove "retry" option and replace it by on_error=AckPolicy.nack/reject/do_nothing or smth like that

yeah, ok. but leaving my 5 cents: it's actually handy that it's possible to do retry=2  e.g. in my case for some unclear reason it happens that I receive AMQPConnectionError (maybe network itself is buggy) and so I just need a second try. actually this AMQPConnectionError is quite bothering, I feel like its possible to do re-connect at pika level but not on faststream

yeah, ok. but leaving my 5 cents: it's actually handy that it's possible to do retry=2 e.g. in my case for some unclear reason it happens from time to time that I receive AMQPConnectionError (maybe network itself is buggy) and so I just need a second try. actually this AMQPConnectionError is quite bothering, I feel like its possible to do re-connect at pika level but not on faststream

Probably your connection errors can be fixed by max_consumers (qos) parameter usage. It's some kind of magic I found

yeah, ok. but leaving my 5 cents: it's actually handy that it's possible to do retry=2 e.g. in my case for some unclear reason it happens from time to time that I receive AMQPConnectionError (maybe network itself is buggy) and so I just need a second try. actually this AMQPConnectionError is quite bothering, I feel like its possible to do re-connect at pika level but not on faststream

Probably your connection errors can be fixed by max_consumers (qos) parameter usage. It's some kind of magic I found

its like consumer_max_per_channel?

its like consumer_max_per_channel?

Yes


chore(deps): update renovate/renovate docker tag to v35.156.0

This PR contains the following updates:

Package
Update
Change

renovate/renovate
minor
35.144.2 -> 35.156.0

Release Notes

renovatebot/renovate (renovate/renovate)
v35.156.0
Compare Source
Features

refactor changelog platforms (#23076) (989aa4f)
Use swc for running scripts (#23080) (4c99ab0)

Tests

config: Refactor tests for getDefault function (#23078) (91f31b4)

v35.155.0
Compare Source
Features

platform: update PR target branch if baseBranch changed (#23010) (4180370)

Code Refactoring

reorder platforms alphabetically (#23077) (21f984f)

v35.154.0
Compare Source
Features

detect bitbucket host types (#23075) (db91079)

v35.153.0
Compare Source
Features

detect bitbucket hosts (#23074) (7089d1e)

v35.151.1
Compare Source
Build System

deps: update dependency minimatch to v9.0.2 (#23072) (7c637cc)

v35.148.0
Compare Source
Features

Utility class for Result values (#23059) (ac114f1)

Code Refactoring

don't throw errors from datasource package releases lookup (#23058) (930fc9f)

Build System

deps: update dependency editorconfig to v1.0.3 (#23061) (acdd6ff)

v35.147.0
Compare Source
Features

bundler: try matching lock file to package file first (#23032) (6161d06)

v35.146.1
Compare Source
Bug Fixes

changelog: Revert platform dispatch changes (#23048) (492d313)

v35.144.3
Compare Source
Bug Fixes

handle empty dependencyDashboard issue body (#23019) (04c8bda)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 4.4.20 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cancel previous builds?

Is there some way to cancel previous builds if a new build is queued? For example, if I push a new commit to develop branch I want a build to kick off, but if I push 4 new commits in quick succession then only the last one should get built.

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

ID: 3f151218-9a11-0078-e038-f96198a76143
Version Independent ID: 09c4d032-62f3-d97c-79d7-6fbfd89910e9
Content: Conditions - Azure Pipelines
Content Source: docs/pipelines/process/conditions.md
Product: devops
Technology: devops-cicd
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Found it, I was looking for batch option: https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml


Design Brief method not showing correctly

The Design Brief method shows up when all methods are listed, but it does not show up when the methods are narrowed down to the Define phase.

I fixed this real quick like, the word define in the YAML on the top of the method file has to be lowercase instead of upper, the sort is case sensitive.


dropped support for parentScroll?

is this parentScroll api already available? I installed from npm but looks like it's not working

@shanshanzoe It seems to work, but their seems to be a bug where when you specify a parentScroll, the virtual-scroll element has the style overflow-y:hidden; applied which prevents the parentScroll to actually have a scroll.  Where I use it, overriding the style overflow:visible seems to fix it.

Is it related (https://github.com/rintoj/angular2-virtual-scroll/issues/140)? If it is, I'll close it.

Seems like [parentScroll]="scroll.window" is not working on latest version
instead you have to define window on component and use it like [parentScroll]="window"

@nishesj Even by configuring the window, everything is messed up. If I set up the height of my virtual-scroll component, the scroll of my body remains small (total-padding has the right height but because it's in virtual-scroll which has only a limited height). If I don't set up the height of virtual-scroll, all the nodes are created...
Something seems to be broken in the design.

have you tried giving your body fixed height ? something along height: 100vh;

@nishesj Yes, I did...if you give a predefined height, no chance you'll get the scroll expanded anyway. I'm curious to understand how @a139383 intended to make it work because I don't see how it could ever work

@nishesj I got it working! you were right, body needed a height!

Hi @rintoj, Is there any update on this? Im still having issues with double scrollbars. I would love to use the body scroll, please see image: https://ibb.co/n4ETKG

#scroll [parentScroll]="scroll.window"
This obviously does not work. I've tried everything.

I'm not able to get virtual scroll parentScroll to work either.  I've set height = 100vh for body tag and no luck.  Has there been any progress on getting this fixed?  Can someone provide an example if they have it working please?
      <virtual-scroll
              #scroll
              [items]="ContactList"
              (update)="scrollItems = $event"
              (change)="onListChange($event)"
              [parentScroll]="body">

          <app-contact-card *ngFor="let item of scrollItems; let i = index"
                            [contactModel]="item"></app-contact-card>
      </virtual-scroll>

body
{
height: 100vh;
}
Thanks.

Would someone mind creating a simple example of implementing this in the "demo" folder of this repo's source code & submitting a PR? It'd be good to have for future testing & documentation.
I'm 99% sure it's working, because I'm using it in a separate more complex project. However, I haven't had time to extract it to a simple example yet.
This would save me a bit of time so I can build more features & respond to other issues & pull requests. Thanks.

I've added an example of this to the demo app that's part of this github repo.

The demo is available on github. I'm waiting on rintoj to update it here:
http://rintoj.github.io/angular2-virtual-scroll/
Either way, I believe this issue is fixed.
Closing this since I haven't received a response from the original poster. Please re-open if you continue to experience this issue.


Derive: Helper attributes on generic parameters are preserved

When the derive macros generate the impl Serialize and impl Deserialize, all attributes on generic parameters are preserved.
Example:
#[derive(Serialize, OtherMacro)]
struct X<#[some_helper_attribute] Y>(Y);

results in
impl<#[some_helper_attribute] Y> Serialize for X<Y> where Y: Serialize { ... }

causing this error:  cannot find attribute 'some_helper_attribute' in this scope

This becomes a problem when #[derive(Serialize)] is used together with other derive macros which use helper attributes on generic parameters.
In the example above, #[some_helper_attribute] is a helper attribute of the derive macro OtherMacro.
These helper attributes are preserved by serde, and copied into the impl block. There, they are outside of the context of the derive macro OtherMacro, and cause a "cannot find attribute .. in this scope" error.

As far as I can tell, the only attributes valid in this position are

built-ins like #[cfg(..)] and #[cfg_attr(..)]
derive helper attributes

Specifically, attribute-style proc macros are not allowed there.

Maybe this (removing all attributes except built-ins) is something syn's Generics::split_for_impl should do?

This was proposed in https://github.com/dtolnay/syn/issues/422, but the issue was closed.


Rework RemoveFinalMeasurements pass (bug fixes)

Summary
Fixes several bugs with RemoveFinalMeasurements and QuantumCircuit.remove_final_measurements discussed in #7089.
Details and comments
RemoveFinalMeasurements

Fixes determination of final operations (barriers and measures), which previously considered only nodes immediately preceding an output node.
Fixes determination of final operations which could wrongly consider a barrier to be final, even if other circuit operations followed it.
Fixes multi-bit classical register removal, where classical registers were not removed even if other bits were idle, unless a final measure was done into each and every bit.
Fixes handling of classical registers with shared underlying bits which was not previously handled.
Fixes handling of classical bits without registers.
Fixes register deletion where registers were deleted from DAGCircuit manually without updating DAGCircuit.{clbits, _wires, input_map, output_map, _multi_graph}, which resulted in an invalid DAG.

DAGCircuit

Adds method remove_cregs to remove classical registers from the circuit.
Adds method remove_clbits to remove idle classical bits as well as any registers that reference them.

QuantumCircuit

Fixes clbit copy from DAG in remove_final_measurements.

Sample output
Before pass

After pass

Todo

[ ] Fixes for QuantumCircuit.remove_final_measurements which wrongly clears all clbits.
[ ] Unit testing for new methods on DAGCircuit.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

88 of 94 (93.62%)  changed or added relevant lines in 3 files are covered.
80 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.01%) to 82.328%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/dagcircuit/dagcircuit.py
46
52
88.46%

Files with Coverage Reduction
New Missed Lines
%

qiskit/pulse/library/waveform.py
3
90.38%

qiskit/test/decorators.py
3
70.95%

qiskit/dagcircuit/dagcircuit.py
74
86.29%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
49345

Relevant Lines:
59937

💛  - Coveralls

Changes to simplify the behavior of DAGCircuit.remove_(cregs|clbits) as suggested by @kdk are now done via e59fb8ea6c4462ead5091849c276af42cd85f917. No behavioral changes have been made to RemoveFinalMeasurements.
I believe everything else is good to go, barring any additional comments.
Thanks for the reviews, @jakelishman @mtreinish and @kdk!😄

Regarding performance, results of 100000 runs of benchmark PassesBenchmarks.time_remove_final_measurements with 20 qubits and depth 1024:
Release 0.18.3:<PHONE_NUMBER>s
Current main: 6.392182523s
PR branch: 7.624031293s
This is about what I'd expect, since the current version of main doesn't account for sequences of final measures and barriers, or properly update DAGCircuit. The huge improvement from 0.18.3 to main likely comes from #7039, and is preserved.

did you base this branch off a main before #7039?

I believe that had already gone in prior to me starting this branch, so maybe some other refactor touched that file. I should have a chance to do the merge shorty!


Image classification

Could you release the code of image classification?

Hi, we don't plan currently to release the classification code.
However, we used exactly the same script for feature optimization (https://github.com/astra-vision/PODA/blob/master/PIN_aug.py), and for training the linear probe, we used the script provided in CLIP code  (https://github.com/openai/CLIP#linear-probe-evaluation)

I'll close this issue now. Please feel free to re-open it if you have any other questions.


New Windows Server 2025 operating system

Link to product page on endoflife.date
Let us know the URL of the product page on endoflife.date you found the incorrect details.
https://endoflife.date/windows-server
Details of incorrect and correct details you have found
In the meantime, the Windows Server 2025 operating system has been launched on the market.
release.date: 2024-01-26
endoflife.date: not known
What is the source website for the product and for its version information?
For example: https://learn.microsoft.com/de-de/windows-server/get-started/whats-new-windows-server-2025

Windows Server 2025 is not launched yet...
https://learn.microsoft.com/windows-server/get-started/whats-new-windows-server-2025

Important
Windows Server 2025 is in PREVIEW. This information relates to a prerelease product that may be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.

Closing this.


Library proguard rules

Hi there,
It would be extremely helpful if you could the the appropriate library proguard rules.

Can you elaborate on what proguard rules you would need? The library doesn't use any external dependency and reflection so proguard shouldn't be unnecessarily stripping out essential code.

With proguard enabled the gradle build had errors. After adding the lines below in the proguard-rules file, the gradle build was successful.
-keep class org.kxml2.** { ; }
-keep class org.xmlpull.* { *; }
Sorry for the late response, I had no time to investigate it any further.


in function not working properly for JSON array

I'm having the following issue with "in" function when I use it with a JSON array.
This works:
{{ $array := (seq 1 10) }}
{{ in $array 7 }} => true
{{ in $array 12 }} => false

Having the following JSON:
{
    "array": [1,2,3,4,5,6,7,8,9,10]
}

This doesn't:
{{ $json_content := getJSON "path/to/json" }}
{{ in $json_content.array 7 }} => false
{{ in $json_content.array 12 }} => false

I have tried different things and I always get the same result.

Probably a type mismatch (int vs int64), not sure what to do about that in this case.
@tatsushid any idea?

@bep, yes, as you mentioned, it is caused by a type mismatch but not int64 vs int but float64 and int!
According to the go official document about encoding/json, JSON is unmarshaled any number values into float64 when interface{} type value is passed as a container.
Which is the best introducing a something container struct at reading JSON to add special unmarshaler for int value or fix all template functions (includes in) to compare any numbers in float type? I prefer the former one.

Which is the best introducing a something container struct at reading JSON to add special unmarshaler for int value or fix all template functions (includes in) to compare any numbers in float type? I prefer the former one.

@tatsushid It would be totally preferred if this could be solved in one place.

I wrote a JSON unmarshal sample code https://play.golang.org/p/5Dyk4CvhoI. json.Decorder has UseNumber() method not to convert a number value to float64 value but to just save it as json.Number. We can convert json.Number value to int64 or float64 as we like later.
The sample expands JSON element tree with json.Number to the one without json.Number not to break current behavior in other area in Hugo. It's not efficient but I can't find out the way to do it in parsing JSON.
What do you think? If it looks good, I will implement it around JSON parser in Hugo.

@tatsushid looks fine to me. I'll gladly trade a slight performance hit in this area in favor of consistent behavior.

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.

@moorereason is this fixed?

No, here's a failing test:
{[]float64{1, 2, 3}, 1, true},

My recent updates have been in Union and Intersect, not In.

The slow path to perfection ... :-)


Assert when no window manager nor desktop manager are enabled.

The goal is to ensure that NixOS users do not forget to enable a window manager or a desktop manager when they enable the X server.  As soon as we have a didactic message, we can change the default value of services.xserver.desktopManager.default to replace it by "none" and change the example value to be more talkative.
To do that, we should add an assertions or a warning into display-managers/default.nix module [1] which checks the sessions options of the desktop manager [2] and the session option of the window manager [3] and report if these are empty.
[1] https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/display-managers/default.nix
[2] https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/desktop-managers/default.nix#L29
[3] https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/window-managers/default.nix#L36

Sounds nice. "good-first-bug" is supposed to mean it's suitable for nix-inexperienced people? (reminds me of "trivial" tag also)

Sounds nice. "good-first-bug" is supposed to mean it's suitable for nix-inexperienced people?

Yes, this means for users (frequently new) which would gain more experience by solving this issue.

@nbp Could I pick this up to gain some experience with NixOS and contributing?

@TimoMeijer: why not, take it. I would make you the Assignee formally, but it seems github only allows people with commit rights in there.

There seems to be no proper way to make this assertion, because:

As @lethalman pointed out, the User could have a custom ~/.xsession file that starts their environment, even if no window- or desktopmanager has been enable. This can not be checked during the build, as we can't access the user home to check for this file. This could be overcome by making the ~/.xsession more integrated into our configuration, but that would be a separate issue.
The User could change the "systemd.services.display-manager.preStart" option, to change the behaviour of the displayManager entirely. This implies that even if the xserver is enabled, the displayManager doesn't have to be, and thus, the assertion could break an otherwise valid configuration.

(triage) I’m not sure if it’s a good idea to limit the users with an assert. How about inserting a warning and calling it a day?


Fix firefox multi-lines issue in configuration text-area

Fix firefox multi-lines issue in configuration text-area in the blueprint composer

replace white-space "nowrap" by "pre" otherwise firefox doesn't display new lines
handle shift+enter (in addition to ctrl+enter and option+enter) to create a new line
avoid javascript error when the input is empty and new line is inserted

Signed-off-by: Ludovic Plantin<EMAIL_ADDRESS>

Tested on both Firefox and Chrome, works like a charm! Thank you @ludop-usharesoft 👍
I'll merge this now. In the meantime, can you make sure you sign your ICLA? Thanks again!

Thanks Thomas ;-)
It's ok for the ICLA, I have signed it (the 14th of June).


UI improvements for import status pop-up window

Not urgent but I have a few suggestions to improve UI on the the import status pop-up.
Steps to reproduce the behavior:

Open IPFS webui
Go to "Files"
Upload a file (via import or drag + drop)
See upload status pop-up window

UI issues/Suggestions (4 total):

The exit and minimize buttons are not vertically center aligned (see screenshot with added lines for present state)

The arrow icon should be flipped to indicate state, i.e. minimized vs maximized (see gif for proposal)

For better ux, the minimize button’s clickable area size should be increased. Ideally, the full title bar should be clickable and allow the user to minimize/maximize the pop-up (see gif for proposal)

The stroke around the clickable area size for both exit and minimize buttons is unnecessary (see screenshot for present state)

sgtm, i'd say these are UX bugs that should be fixed :)


can you use the proxy to spoof your protocol

like i'm 1.19.80 and i want to join 1.20 server using the relay proxy

If you want to not be able to read packets, yes this is technically possible. However it doesn't make practical sense, so there is no way to do it in the documented API.


added GO program to convert string to alternatingcase

📑 Description
Closes #3967

copilot:all

Hey @apurvagandhi
Please Allow edits from maintainers
Reference: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork#enabling-repository-maintainer-permissions-on-existing-pull-requests


Issue #629: Routing in a group to a block before the 'routing' answer causes stack overflow

What is the context of this PR?
Describe what you have changed and why, link to other PRs or Issues as appropriate.
How to review
Describe the steps required to test the changes (include screenshots if appropriate).

Wooah, hold up chaps - this is fixed in my PR #631 - perhaps review that before opening further PR's?


Add smsaero back to Stackage

smsaero-0.5 now supports servant-0.7 which was the problem in https://github.com/fpco/stackage/issues/1290

Travis is doing something weird, but I've verified that the version bounds are fine.


Downgrade lockfile to version 1

We think we still have users running Node version 12 and 14, which install with npm@6 [1, 2]. npm@6 does understand lockfiles using lockfileVersion@2, but will downgrade it automatically, resulting in lockfile churn. If there are teams working on a prototype where some members are using npm@6 and some are using npm@7 or up, this can get really annoying, and result in a poor user experience.
npm@8 (distributed with Node v16 [3]) can still works with lockfileVersion@1, so this commit changes the npm config and creates a new (old) package-lock.json that will result in less lockfile churn [4].
In future when we drop support for Node v12 we can revisit this decision, hopefully by then Node v14 will come with a new version of npm.

FYI, running npm install with this change takes about a minute (at any time, there is no speed-up from repeated runs).
Whereas without this change npm install for the second run takes about 3 seconds.

FYI, running npm install with this change takes about a minute (at any time, there is no speed-up from repeated runs).
Whereas without this change npm install for the second run takes about 3 seconds.

Huh, the difference was small enough for me that I didn't think about this - everything takes ages on my machine! Guess then the question is how often we think people are going to running npm install. Advanced users could probably just update the lockfile version and carry on. Other users probably not running it multiple times?

Also it seems to break npm ls with npm@8 :( Trying to find a workaround but it is very annoying.

can confirm npm ls is broken in npm 8 when using lockfile-version=1, in addition npm 8.1.0 that comes with node 16.13.0 (current lts version) does not recognise lockfile-version=1 at all and will convert to 2. This is is fixed in 8.1.3, but these 2 issues feel enough to not continue with lockfile-version=1

@joelanman Agree. Closing this issue.


i can  not download videos with this

i can  not download videos with this

What is the main problem? Is there an error or something?


T2 server-side credentials refactoring

With GCP coming next as a cloud vendor, we have to restructure the server-side credential stuff.

[ ] remove Gandi DNS from Spring stuff. It is not needed currently and can be reanimated using Terraform (see link in comments)
[ ] analyze usage of credentials.properties
[ ] replace credentials file with a complex yaml file which is processed at container-level, not in the Spring application
[ ] replace credentials-playbook in infra repo with a template which has to be adapted manually.

Gandi Terraform: https://registry.terraform.io/providers/go-gandi/gandi/latest/docs/resources/livedns_record


ofproto: Fix NULL deref reported by Coverity.

Ofproto_class_find__() may return NULL, and dereference it to cause segfault.
Tested-by: Zhang YuHuang<EMAIL_ADDRESS>Signed-off-by: Lin Huang<EMAIL_ADDRESS>

Hi,
Thanks for your contribution.
I am closing this PR as it appears to have gone stale.
If you believe this change is still relevant then please do feel welcome to resubmit it using the preferred mechanism of the Open vSwitch project, the email workflow described in Submitting Patches.

Sorry for not noticing this before my previous message.
This change was accepted last month as 120140f891a2b9502fba54ae1f7031e7c4f68f1e.


[AMORO-2692] Support proxy user in terminal

Why are the changes needed?

Close #2692.
Brief change log

Add proxy user parameter to the REST API.
Support impersonation in spark terminal.

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

I‘m looking forwared to this PR!  But I have some questions
It seems ams-server did not include authorization and authentication, How can we use this function on ams terminal?
Do we consider support proxy on spark engine?

@xieyi888 Thanks for your input!

It seems ams-server did not include authorization and authentication, How can we use this function on ams terminal?

Do you mean the kerberos authentication? Ideally, the terminal would use the UGI in TableMetaStore.RuntimeContext, but in fact the UGI cannot cover the usages like Iceberg async tasks. This PR mainly makes the spark user right. For example, the table created would have the proxy user as its owner.
WRT authorization, I think that's the catalog's job and not relevant to the amoro terminal.

Do we consider support proxy on spark engine?

I think it's doable via Kyuubi. But I haven't got the chance to verify it yet.

@link3280 From your PR, it seems that you are calling terminal by REST API?  so that you can pass the proxyUser from http parameters. But this is not working for user executing SQL via WebBrowser.

@link3280 From your PR, it seems that you are calling terminal by REST API? so that you can pass the proxyUser from http parameters. But this is not working for user executing SQL via WebBrowser.

That's right. This PR doesn't involve web UI changes.

I think it's doable via Kyuubi. But I haven't got the chance to verify it yet.

Hi @link3280, Can you explain more details how to execute SQL statements with configured user?


Update readme to reflect auto-registering service provider

Me: Do I really have to register the service provider myself like the pioneers used to do?
Me: I better just check first and see if it auto-registers.
Me: Ok, phew, it does.
Me: I should PR this to save thousands of developers from the same toils.
Also, I actually came here to PR a change to the config to reflect the new resources directory stuff: resources/assets -> resources/. But it looks like someone already did, but change isn't tagged...
...you should tag it...

 I don't write PHP anymore I just write books and play Rocket League.

Pshh... you changed...

@calebporzio can you tag a release :)
Kind would love to not publish a config for assets dir https://github.com/adamwathan/blade-svg/pull/30

Lol, yes I will

Thanks @calebporzio! Haha


the description of bash.exe in the task manager is not correctly translated in French

"Microsoft Bash Launcher" has been translated as "Lanceur de dépistage Microsoft" in French, which means something like "Microsoft testing launcher"
(On a more general note I often see bad translations that seems to occur because of a lack of context, for example in Windows Update since a few builds there is "update parameters" (probably, I've not looked at the EN version) that has been translated as "Mettre à jour les paramètres" which would be a correct translation if "update" was a verb, which is obviously not the case here and so the end result makes no sense. Maybe MS should review how its translations are performed and have them made by people who actually use the software during at least 2 minutes...)

ok in 14946


flutter run --local-engine should generate overridden dependencies for sky_engine automatically.

Right now, when I modify Dart code in my local engine build and want to test those with flutter code from the flutter repo, I run something like this:
flutter run -d linux --local-engine-host=host_debug_unopt --local-engine=host_debug_unopt

The problem is that this fails to compile because the local version of sky_engine doesn't match the Dart changes I've made in the engine, and I need to add something like this to the pubspec.yaml of the thing I am running:
dependency_overrides:
  sky_engine:
    path: /usr/local/home/gspencer/code/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_engine

Making these changes now works for running the app I want to run, but the IDE still shows errors until I also add that same stanza to the packages/flutter/pubspec.yaml file.
Which means I need to update the override if I switch to another build type, and I need to remember to revert the pubspecs before committing.
It wouldn't fix the IDE problem, but when I specify --local-engine to flutter run, it would make sense to also transparently add the correct override to the pubspec for running the application.  It might mean that it somehow needs to supply a different pubspec than the one in the app's directory because ideally I wouldn't have to revert the file before committing.
Perhaps what needs to exist is an environment variable that both the IDE and the flutter tool, and probably dart too, listen to that would point to a file with any global dependency overrides in it. Then that file could be written by flutter run --local-engine as a temporary file, and it would set the environment variable. The IDE would need to have an additional setting for which engine to use so it knows what to set the environment variable to.
This would allow setting the local engine to transparently use the correct Dart files for sky_engine.
cc @DanTup

Actually, it looks like this is partly a problem with my arguments to flutter run, but it still leaves the question about the IDE showing errors even when the app compiles and runs.
The dependency_overrides can help fix that, as can making the sky_engine a symbolic link, but it would still be nice to not have to do that.

I'm going to close this in favor of an issue on the IDE plugin.


fix: add tooltip for iron barrels (closes #23)

I basically just copied over the code from iron chests

wait nvm it closes #23

Thanks!


fixes attribution retry logic

Issue #, if available:
Description of changes:
We will occasionally see timeouts when requesting the go-import url.  This code has largely been unchanged for 2 years, but turns out the retry logic was just wrong and when the timeouts would occur, they would sometimes result in uncaught exceptions.  This looks like a big change, but for the most part its just changing the old promise still methods to better utilize async/await and actually work in terms of retrying.
Since I was here, went ahead and updated the dependencies and updated some of the expected output files due to changes in upstream repo names.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Saving the vbaDeveloper.xlam file

This tool sounds very promising, but its installation has been a nightmare so far. I am using Excel 2013 and if I try to save the file with the name vbaDeveloper.xlam leaving the Sav as type as it is, I get the "To continue saving as macro-free workbook, click Yes", If I click Yes then the file can not be opened. If I click No then I am stuck. What is the solution?

This addin has never been tested with excel 2013. Is it possible to create a plain empty .xlam file in excel 2013? Try doing that first and then import the vba code.

@pmesgari any news?

I am having this problem with Excel 2016.  I'll try the suggestion of @hilkoc and report back.

@hilkoc suggestion does work. Newer versions of excel must get confused when they start as .xlsm and then are saved to .xlam later.


Always-false-condition in editorServices.ts

The condition on line 1663 in editorServices.ts:
https://github.com/Microsoft/TypeScript/blob/eef7d8bd3d974528464c7968deab78b747568c06/src/server/editorServices.ts#L1650-L1666
is always false as the called method closeExternalProject always returns void. That way the if-block with shouldRefreshInferredProjects = true; is never executed (for more information see the linter rule detecting this).

See also https://palantir.github.io/tslint/rules/no-void-expression/ -- but this would require us to set up linting with type information.

thanks for the report. a PR would be appreciated.

@mhegazy seems like using a void value in a truthiness position is hyper-sketchy - thoughts on making that an error in TS?

thoughts on making that an error in TS?

i thought you had experimented with this a while back; I think it is a check worth adding, baring any breaks that we might find from RWC tests.

I had a test for always-truthy values that attempted to find bugs like if (x.f) (in lieu of if (x.f()) {) but the problem was that non-strictNullChecks .d.ts file gave tons of false positives. Checking for void values in control flow test positions should be a home run

i think the void check should only flag errors. seems like a low risk-high yield change to make.


Intermittent playback of mp3 issues

I want to use playsound in a Python 3.9 application. I have 3 .mp3 files and note that these play occasionally but not all the time (the same file can work sometimes, and fail others).
For example:
playsound('path_to_audio.mp3')
can return the following error:
Error 265 for command:
        open audio/A-Tone-His_Self-1266414414.mp3
    The device name is already being used as an alias by this application.  Use a unique alias.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Mark\anaconda3\envs\deca\lib\site-packages\playsound.py", line 72, in _playsoundWin
    winCommand(u'open {}'.format(sound))
  File "C:\Users\Mark\anaconda3\envs\deca\lib\site-packages\playsound.py", line 64, in winCommand
    raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException:
    Error 265 for command:
        open audio/A-Tone-His_Self-1266414414.mp3
    The device name is already being used as an alias by this application.  Use a unique alias.

When it works, this appears to be the simplest audio player available for cross-platform Python apps, so would be great if this was fixed.
Here's a link to one of my mp3 files:
https://soundbible.com/1815-A-Tone.html

Interestingly, this issue doesn't seem to occur if I download the wav files

Hi Mark,
Can you update the test.py file with a test case that consistently fails with this issue? The current test suite already plays the same file twice and is working fine, so it must be more complicated than that. Maybe there’s something specific about the file you’re testing with, or the file format, or the name of the file.
It’s difficult to fix a bug when we have no way of knowing how to reliably cause it in the first place.
Bonus points if you can also demonstrate it failing on Travis CI, but I have a Windows 10 laptop I can test on so if it consistently fails for you, it’ll probably fail for me, too.
Thanks,
Taylor
Sent from my iPhone

On Jul 27, 2021, at 13:02, Mark Strefford @.***> wrote:

I want to use playsound in a Python 3.9 application. I have 3 .mp3 files and note that these play occasionally but not all the time (the same file can work sometimes, and fail others).
For example:
playsound('path_to_audio.mp3')
can return the following error:
Error 265 for command:
open audio/A-Tone-His_Self-1266414414.mp3
The device name is already being used as an alias by this application.  Use a unique alias.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Mark\anaconda3\envs\deca\lib\site-packages\playsound.py", line 72, in _playsoundWin
winCommand(u'open {}'.format(sound))
File "C:\Users\Mark\anaconda3\envs\deca\lib\site-packages\playsound.py", line 64, in winCommand
raise PlaysoundException(exceptionMessage)
playsound.PlaysoundException:
Error 265 for command:
open audio/A-Tone-His_Self-1266414414.mp3
The device name is already being used as an alias by this application.  Use a unique alias.
When it works, this appears to be the simplest audio player available for cross-platform Python apps, so would be great if this was fixed.
Here's a link to one of my mp3 files:
https://soundbible.com/1815-A-Tone.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

OK, let me look at that later.
Here's another failing file https://soundbible.com/1682-Robot-Blip.html

I don't think this is a repeat play issue.
This file works fine all the time: https://soundbible.com/1815-A-Tone.html
This file fails almost every time: https://soundbible.com/1682-Robot-Blip.html but works OK when playing in Windows directly

OK, renaming that last file to a shorter filename fixes it

I don’t intend for filename length to be a limiting factor, or at least not for filenames that are reasonable (say, shorter than 30 characters?)
Perhaps files with longer names should be automatically renamed by playsound, if this is a real issue with Microsoft’s MCI library…
Sent from my iPhone

On Jul 27, 2021, at 13:30, Mark Strefford @.***> wrote:

OK, renaming that last file to a shorter filename fixes it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

The filename wasn't that long in my view: audio/Robot_blip-Marianne_Gagnon-120342607.wav
Renaming to audio/Robotblip120342607.wav fixed it.
I'm on a Windows 11 (Windows Insider) build so not sure if that's caused issues.


Add setup.py and It is ready to install from pypi

I add setup.py and It is ready to install from pypi.
wangchanberta_getting_started.aireseach Notebook (all working): https://colab.research.google.com/drive/1W4CrLZ1lvjyG9oedgebTiRCNnzo3iuDi?usp=sharing

Thank you very much for your contribution to this project. As the repo is currently in the early state, it might have some mistakes/errors.
We will merge this PR into the dev branch, and add additional required libraries to the setup.py. After everything is tested, we would push all changes back to the master branch and notify you.

Thank you very much for your contribution to this project. As the repo is currently in the early state, it might have some mistakes/errors.
We will merge this PR into the dev branch, and add additional required libraries to the setup.py. After everything is tested, we would push all changes back to the master branch and notify you.

Thank you very much for your contribution to this project. As the repo is currently in the early state, it might have some mistakes/errors.
We will merge this PR to the dev branch, and add additional required libraries to the setup.py. After everything is tested, we would push all changes back to the master branch and notify you.

OK. move to https://github.com/vistec-AI/thai2transformers/pull/23

Thank you very much for your contribution to this project. As the repo is currently in the early state, it might have some mistakes/errors.
We will merge this PR to the dev branch, and add additional required libraries to the setup.py. After everything is tested, we would push all changes back to the master branch and notify you.

OK. move to https://github.com/vistec-AI/thai2transformers/pull/23


node_modules/technicalindicators/declarations/oscillators/CCI.d.ts(1,28): Cannot find module '../../src/StockData'

looks like the StockData is in the same declarations folder and not back in src

@anandanand84 I have the same problem after updated to technicalindicators v1.1.1 & TypeScript v2.7.1
After checking the lib directory, I see no /src/ folder in /declarations/. Also, the correct import path for this line of code is:
import { CandleData } from '../StockData';

Fixed in 1.1.3


Cannot cancel tests when waiting for Dune lock

When the extensions are waiting for Dune to run the tests, it appears that they are waiting for the lock to be released. However when pressing cancel the tests are not cancelled.

The new version 0.7.0 fixes this and adds an error message after some time if the lock cannot be acquired

The fix and the message work.


Automate MauiCompat build, Update MAUI Preview 11

Description of Bug
Automate MauiCompat generation, Update MauiCompat to preview 11
PR Checklist

[ ] Has a linked Issue, and the Issue has been approved
[ ] Has tests (if omitted, state reason in description)
[ ] Has samples (if omitted, state reason in description)
[ ] Rebased on top of main at time of PR
[ ] Changes adhere to coding standard

[ ] Updated documentation

I thought MauiCompat remains optional if the script fails, but seems like it checks only for path exist, this validation can be removed

I will rework pipeline logic a bit. We need to skip script if MauiCompat exists ( for branch like 1.3.0-MauiCompat)

Thanks Vlad!!


Verify JVM language support

Related problem
Not so much a problem, more a preferred action to take. Currently we 'know' other JVM languages are supported by Hartshorn, but this knowledge is not backed by tests.
Requested feature
Add tests to verify the following JVM languages are supported (besides Java, which is covered by existing tests..):

Kotlin 1.7.10
Scala 2.13.8
Groovy 4.0.2

Closed by closing keyword, reopening as #813 was only the first PR. Next steps are to verify proxying of data types, field/attribute- and constructor injection


Fix #36 wrong assumption about __rdtsc

__rdtsc() is MSVC specific builtin not WIN32 specific
Fixes #36

don't have time to check on different platforms but looks good, let's merge it.


Apply pipeline stack key-value tags to all data pipeline resources

Describe the bug
When a pipeline is created in data.all a number of additional resources are also created.
When tags are applied to the stack via the data.all UI and the stack is updated, the majority of the associated stack resources are updated with the tags.
This doesn't appear to be the case with Step Functions - the tags are not updated at all.
The Step Function doesn't appear to be in the CloudFormation stack and is perhaps created via the build and deploy of the code pipeline?
How to Reproduce
Create a pipeline in data.all UI and add some tags:

Once the stack update has completed, locate the Step Function related to this pipeline (searched using the pipeline resourceUri:

Check the Step Function tags:
The additional tags maintained for the pipeline stack don't appear.
Expected behavior
If the stack creates objects (or triggers the creation of objects in build/deploy) , it should also update them, including tags.
Your project
n/a
Screenshots
No response
OS
n/a
Python version
3.8
AWS data.all version
1.0
Additional context
No response

Hi @gavclark, I worked with your version of data.all (is the one creating a Step Function from a yaml file right?)
In the new versions the blueprint has be replaced by an AWS DDK application.
In any case the stack deployed from data.all is just a CICD pipeline (so tags apply to this stack). Depending on the definition of the DDK app or of your yaml file different resources are deployed  from the CICD pipeline to build the data pipeline.
In the DDK app version we add some by-default tags (which does not include key-value tags) to the resources, but this seems to not be the case for previous versions.
Conclusion:

From our side we can work on passing all key-value tags to the DDK application in the open-source version. It would be an enhancement feature)
If you still want to keep working with the previous blueprints, you can modify the code to add tags to the stacks created by the CICD pipeline.

Hi @dlpzx , sorry I've only got around to replying to this now !
Yes, we create the Step Function from a YAML file - for how much longer should we keep doing that (or , when should we start using the DDK)
I'm still not 100% sure whether your suggestion would work for us (modifying the code to add tags to the stacks created by CICD pipeline) . Is there an option to have a call please ?

Hi @gavclark, I will reach out to the corresponding Professional Services team to organize a call. But in general, from the open-source team we focus on developing the last version of the code, therefore when considering tagging of resources it will be on the current implementation of pipelines.
If you want to implement tagging in your code with the previous blueprint, my advice is to go an find in the app.py of the blueprint and add CDK Tags: Tags.of(app).add("dataall", "true") Tags.of(app).add("Target", pipeline_name)) . This is basically what we are doing in the DDK pipelines


Unable to send log with log4j-core 2.7 and log4j-slf4j-impl 2.7

Hi,
I'm unable to send log to Graylog 2.1.2 with log4j2-gelf 1.3.1, log4j-core 2.7 and log4j-slf4j-impl 2.7.
No exception is thrown and no packet is sent on the network.
I've attached a log file from log4j2.
Thank you,
logGelf.txt

@wilvh Please attach a minimal example application to reproduce the problem, including your log4j2 configuration.

@joschi Here is a simple example of an application that works in 2.6.2 but not in 2.6.7
log4j2.txt
Main.txt

@wilvh I couldn't reproduce any problem with log4j 2.7, but your example application simply exits too fast for the GELF appender to send its contents to Graylog.
Try the following in your example application:
package com.example;

public class   Main {
  private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Main.class);
  public static void main(String[] args) throws InterruptedException {
    log.error("SEVERE ERROR...");
    System.out.println("END");
    Thread.sleep(1000L);
  }
}

@joschi Thank you for your fast reply. I've tried your example and it works with log4j 2.7.
In 2.6.2 I had some logs that had not registered in Graylog and your solution seems to have fixed this problem too. Is there another method than adding a Thread.sleep in all my programs? (Do not exit the program before GELF appender has sent its content). Thank you very much


Question about Apple Pay ShippingAddressFields type

Shouldn't the type of requiredShippingAddressFields? be AddressFields (defined on line 11)? Since currently the type is ContactFieldsType, which to me doesn't really makes sense.
https://github.com/stripe/stripe-react-native/blob/04abc26fcbd43da0c0132d5fbde17567e0bd0117/src/types/ApplePay.ts#L65

The ContactFieldsType is correct- see Apple's docs: https://developer.apple.com/documentation/passkit/pkcontactfield

Is there any way to specify that only postal code should be required similar to billingAddressConfig.format: 'MIN' for Google Pay?


python37Packages.timeout-decorator: 0.4.1 -> 0.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.timeout-decorator is: "Timeout decorator"
meta.homepage for python37Packages.timeout-decorator is: "https://github.com/pnpnpn/timeout-decorator"
meta.changelog for python37Packages.timeout-decorator is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.5.0 with grep in /nix/store/z595amqz06pmpgnjijr15q9zvjvb8n7p-python3.7-timeout-decorator-0.5.0

directory tree listing: https://gist.github.com/e0726b82409f1b906179ce3d9c5308af

du listing: https://gist.github.com/4f7458e6616cc4bb2d0221c4ab2d4def

Rebuild report (if merged into master) (click to expand)

20 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
5 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python27Packages.timeout-decorator
python37Packages.timeout-decorator
python37Packages.transformers
python38Packages.timeout-decorator
python38Packages.transformers

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z595amqz06pmpgnjijr15q9zvjvb8n7p-python3.7-timeout-decorator-0.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.timeout-decorator https://github.com/r-ryantm/nixpkgs/archive/bdb807b4176be17ba268a3f369fee77cf020082f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z595amqz06pmpgnjijr15q9zvjvb8n7p-python3.7-timeout-decorator-0.5.0
ls -la /nix/store/z595amqz06pmpgnjijr15q9zvjvb8n7p-python3.7-timeout-decorator-0.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

5 packages built:

python27Packages.timeout-decorator
python37Packages.timeout-decorator
python37Packages.transformers
python38Packages.timeout-decorator
python38Packages.transformers

Maintainer pings

Result of nixpkgs-review pr 104922 run on x86_64-darwin 1

1 package failed to build:

python38Packages.transformers

4 packages built:

python27Packages.timeout-decorator
python37Packages.timeout-decorator
python37Packages.transformers
python38Packages.timeout-decorator

Result of nixpkgs-review pr 104922 run on x86_64-darwin 1

1 package failed to build:

python38Packages.transformers

4 packages built:

python27Packages.timeout-decorator
python37Packages.timeout-decorator
python37Packages.transformers
python38Packages.timeout-decorator


Added force_raycast_update GDScript method for RayCast[2D]

I was wondering why a RayCast2D instance returned the same collision point when I tried to use it multiple times during a single fixed process frame. I wanted an enemy to try and look at multiple players in one frame, and pick the one to follow, but yeah... I'd have to make n raycasters for n players, which doesn't seem optimal. So I added a force_raycast_update() method to make sure the raycast result is "refreshed". This little change saves the need to manually talk to the servers. Took care of RayCast2D and RayCast.

YEAH!

There is one problem about this, it will not work if you are using physics as threaded.
If you guys are fine understanding this, let's merge it (there seems to be conflicts so please give them a fix before).

Fixed, rebased
@reduz could you give more detail on that? We can communicate with the physics servers inside of GDScript, does that mean there is no reliable way to raytrace in multithreaded applications? (or with servers at all)

Would it be unreliable even in _fixed_process()? AFAIK, that method is the "sync point" with the physics engine so I think it shouldn't, but who knows.

Ping @reduz for more details about:

There is one problem about this, it will not work if you are using physics as threaded.

Then @WalasPrime could likely add the relevant info to the docs for force_raycast_update and then we'll merge.


symbol font width handling

Please help on unicode symbol font handling on v1.6.7.
#1 Starting from v1.6.3 or v1.6.4, the new (looking) editor can't handle symbol font width correctly.
In this screenshot, I selected (by mouse) the multiplication sign but the editor can't recognize it's double-width font.  The saved file is confirmed that it's UTF8 encoding.

#2 When I open my documents written by v1.5.9 with unicode symbol fonts, some fonts are not recognized correctly.  Just like above #1, the editor seems like treat it as ascii (single width) code.  This problem is also starting from v1.6.3 or v1.6.4.  In this screenshot, I have an unicode multiplication sign "32 x 32" (I edit this screenshot to mask privacy contents).

Can you share a document sample? Does it happen in new created files in v1.6.7?

I'm using windows version of v1.6.7 with JRE, freshly downloaded, on windows 10 Pro with latest windows updates.
Here's my simple code.
167.txt
While making this file, I notice that following procedure makes another symptom on my windows 10.
a) open this 167.txt file by other editors (I checked VIM, notepad).
b) copy & paste the 167.txt contents into new file on v1.6.7 editor.
c) we see the font changed.
Here, I confirmed several windows applications can receive correct text from the clipboard at step b).
It seems like only Asciidocfx alters the unicode symbol font.
Please help!

I tried but I'm not able to reproduce the issue on my local env.

Can you try the latest version? It should handle this symbols well.

Great! Thanks for reporting.


Make a discord server.

Is it possible Make an interactive communication medium for asking small queries if there is not one yet?

I'll do this soon.

I'd personally vote for something more privacy friendly ... maybe a channel on https://libera.chat/, which is automatically accessible via IRC and Matrix (and they even have a nice web-frontend for IRC so you can use it entirely without any account).

I'd personally vote for something more privacy friendly ... maybe a channel on https://libera.chat/, which is automatically accessible via IRC and Matrix (and they even have a nice web-frontend for IRC so you can use it entirely without any account).

What is that? I would like either telegram or discord.

I'd personally vote for something more privacy friendly ... maybe a channel on https://libera.chat/, which is automatically accessible via IRC and Matrix (and they even have a nice web-frontend for IRC so you can use it entirely without any account).

I would vote for discord.

I'm planning to use Discord for this.
From my perspective, it's the most popular choice for OSS projects, and will thus require the least activation energy for the average user to participate and get involved. (I also already use it to participate in a number of similar communities, so selfishly, it's just helpful for me to put this on Discord vs. monitoring another discussion channel.)
I totally understand that some users won't want to use Discord... but I think the reality is that some people will inevitably disagree with whatever I choose... 😅
I'll add a few caveats / clarifications, though:

No user or contributor should feel required to be part of the Discord.

If you want to chat with me 1:1 through some other synchronous channel, like Matrix, I'm happy to do that. I don't want to fragment the community by maintaining two community channels on different apps, but I'm definitely happy to engage 1:1 elsewhere.

I really want GitHub to continue to be a source of truth and to continue growing as a form of searchable documentation. So I'll likely ask people to open Issues if they run into a new problem or new question. (Not always, of course -- we'll figure it out the right heuristics as we go.) This has been my main hesitation around adopting any form of synchronous chat.

I'm planning to use Discord for this.
From my perspective, it's the most popular choice for OSS projects, and will thus require the least activation energy for the average user to participate and get involved. (I also already use it to participate in a number of similar communities, so selfishly, it's just helpful for me to put this on Discord vs. monitoring another discussion channel.)
I totally understand that some users won't want to use Discord... but I think the reality is that some people will inevitably disagree with whatever I choose... 😅
I'll add a few caveats / clarifications, though:

No user or contributor should feel required to be part of the Discord.
If you want to chat with me 1:1 through some other synchronous channel, like Matrix, I'm happy to do that. I don't want to fragment the community by maintaining two community channels on different apps, but I'm definitely happy to engage 1:1 elsewhere.
I really want GitHub to continue to be a source of truth and to continue growing as a form of searchable documentation. So I'll likely ask people to open Issues if they run into a new problem or new question. (Not always, of course -- we'll figure it out the right heuristics as we go.) This has been my main hesitation around adopting any form of synchronous chat.

You could easily sync discord with matrix and many other platform, so, the discord is best option and then people who wanna use matrix can use Matrix by synchronisation.

GitHub Discussions is also one of the good platforms for the community to discuss different topics.
Ex: https://github.com/meilisearch/meilisearch/discussions

It's live! I'll be hanging on Discord here: https://discord.gg/Z8KbeK24. Come join.

@charliermarsh The invite link seems to be expired.

Ya, the invite link was limited to 7 days.

Oops, sorry -- here's the updated link (and I'll update the comment above and docs): https://discord.gg/c9MhzV8aU5


npm package

add a package.json and publish to npm.

:+1:

I suggest to do it when current milestone is done

@geekplux can we close this?


Local storage backed component state

It would be convenient to be able to have component state backed by local storage. Something Like
[LocalStorage]
public string LocalStorageBackedProperty { get; set; }

Or maybe this?:
public LocalStorage<string> LocalStorageBackedProperty { get; set; }

@LunicLynx @DamianEdwards

@danroth27 Great idea!
Don't forget SessionStorage for caching purposes as well:
[SessionStorage(Duration=3600)]
public string SessionStorageBackedProperty { get; set; }

I will look into this. That would be a nice addition to https://github.com/aspnet/Blazor/pull/205

@LunicLynx By all means please have a look if you want, though I suspect this might need to happen a little while down the line when we figure out some extra lifecycle hooks. We might want to wait a while before getting to this.


Disallow to assign instance/class variable outside method dynamically

This code can be compiled currently:
class Foo
  if true
    @foo = [] of Int32
  end
end

p Foo.new

but it is crashed at run time.
$ crystal run foo.cr
Invalid memory access (signal 11) at address 0x4

This fix prevents it.

Sorry my fix is not perfect. I close this and will open a new pull request when fixed correctly.


[Feature] Add addition titles search language.

Hello, i been using stream-fusion few weeks, it always give me accurate result of titles search language.
Is possible add addition titles search for Chinese, Russians, japan, Koreans ?
below is logs from stream-fusion which show it parse title correct in language "English, French"
matching titles: ['The Monkey King 2', 'Le Roi singe  2', 'The Monkey King 2']

get_results Retrieved media metadata: ['Ride On', 'Ride On', 'Ride On']

 matching titles: ['Angel Heart', '天使心', 'Angel Heart']

Thanks.

Languages give me headaches; the fact is that to optimize stream-fusion for the French language, I perform a sort on multi-releases with known group names. Therefore, it will be difficult to integrate other languages without reworking the regex.
Other plugins, such as Comet for example, are more generalist in terms of content and languages.
I'll see what I can do when I have a moment anyway.

Languages give me headaches; the fact is that to optimize stream-fusion for the French language, I perform a sort on multi-releases with known group names. Therefore, it will be difficult to integrate other languages without reworking the regex. Other plugins, such as Comet for example, are more generalist in terms of content and languages.
I'll see what I can do when I have a moment anyway.

Thanks for the reply ya, even I no french but I use your addons without any problem !
Appreciate your effort of making this stremio addons.


Use ValueStopwatch to reduce allocation

ValueStopwatch could replace Stopwatch to reduce allocation.
Since ValueStopwatch is an internal type in ReverseProxy project, I added it to ReverseProxy.ServiceFabric as a linked file.

Thanks


fix: Remove vector wrap from log messages

The definition of log was copied from timbre source code1. This should keep a small abstraction over the logging framework while fixing the vector wrap and formatting of arguments.

Here is a preview of the before log and after log':

(for some reason the encoding doesn't seem to be correct in the repl, but it does render without any issues in my terminal (running application))
Note: I do not like macros, and I know you are also not a big fan, but I did not find a way around them since timbre/log is a macro itself.
Please let me know if you would like me to change anything.

Curious about the clj-kondo analysis is not complaining about this macro?

Curious about the clj-kondo analysis is not complaining about this macro?

I think that' because from linting perspective, there are no mistakes?
(defn sum-args [& args] (apply + args))
(defn wrap-sum-args [& args] (sum-args args))
(wrap-sum-args 1 2) // < no lint errors

Thanks a lot for your findings and the PR


Cannot set portfolio value for ETH and BTC, only for others.

I was able to set the portfolio values for several altcoins, but when it came to ETH and BTC it wouldn't "stick".
I was able to set them manually in the config file however. In there they where both set as 0.0, even after editing inside cointop.
Now i am able to change the portfolio values from inside cointop as i would assume it should function.

Issue should be fixed now. Closing, but create another issue if experiencing problems.