Files are missing after composer install

[x] I've read the guidelines for Contributing to Roots Projects
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and followed them (if applicable)
[x] This is not a personal support request that should be posted on the Roots Discourse community

Description
When commiting my composer.json to git, and checkout repo some other place to use or develop my solution, it's simply missing the entire config directory, /web/index.php /web/wp-config.php
and also not .env.example is recreated, should it not be possible to do like this?
Steps to reproduce

composer create-project roots/bedrock
commit composer.json
checkout some other place, and run composer install.

Expected behavior:
Download a complete filestructure with at least the config and complete web folders.
Actual behavior:
Downloading only the web folder
all the time
Versions
1.12.8: 2019-09-05
Additional information
Any additional information, configuration or data that might be necessary to reproduce the issue.

Turns out it was a misunderstanding in how i thought it should work


Train 143

High Level Description
Train-143
#1255
#1284
#1365
#1370
#1378
#1379
Checklist for all PR's

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and Review Process
What is the review process and when will my changes land?
All PRs require 2 approvals using github's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@gpaul @vespian @branden @mellenburg @mhrabovcin please create pr's against 1.9.0-rc4 if any of the pr's need to be backported

@spahl @lingmann ready for review and merge


move over VAMP etc

[ ] VAMP
[ ] Koopman reweighting

Koopman reweighted TICA is done by a two step estimation, first the equillibrium correction is computed from the data, then the data is reweighted using this correction during the estimation of the covariance matrices. In PyEMMA the user did not have to construct both estimators and pass the data twice due to the streaming approach.
I'm going to move over the functionality, but we need to think about how to make it easy to use.


Added FSC integration

I have added a default fsc option which can be overridden by specifying no-fsc

Thanks, looks good!
I'm just wondering if better default would be current behavior, and command line flag would be use-fsc? For example what happens if the useFsc is generated and you have older scala plugin in idea?

Good point. I would say

If the older plugin ignores this setting then we have no problem
Most people will be using the latest plugin as the ide is evolving all the time so everyone wants latest version

I think 90% of people will want fsc on as default.  I'd suggest releasing with current setup with note saying tested with fsc integrated version of scala plugin

So - are you going to push this change?  I am newish to git so can I now delete my fork ?

Could you make a pull request without version changes in Build.scala and plugins.sbt?

Done

Merged, thanks!
It would have been better if you modified the original commit instead of creating a new one (so that pull request didn't know anything about the version change bits), but that involves a bit more advanced git stuff.

ok - still new to Git - will look at that on help for future
On 6 Nov 2011, at 12:07, Mikko Peltonen wrote:

Merged, thanks!
It would have been better if you modified the original commit instead of creating a new one (so that pull request didn't know anything about the version change bits), but that involves a bit more advanced git stuff.

Reply to this email directly or view it on GitHub:
https://github.com/mpeltonen/sbt-idea/pull/105#issuecomment-2645060


warn-unused-ignores doesn't work

settings
{
  "mypy-type-checker.importStrategy": "useBundled",
  "mypy-type-checker.args": [
    "--show-column-numbers",
    "--no-pretty",
    "--hide-error-context",
    "--warn-unused-ignores"
  ]
}

logs
2023-05-02 11:22:45.838 [info] [Trace - 11:22:45 AM] Received notification 'window/logMessage'.
2023-05-02 11:22:45.838 [info] file:///c%3A/Users/user/project/sandpit/asdf.py :
sandpit\asdf.py:1:12:1:14: error: Incompatible types in assignment (expression has type "str", variable has type "int")  [assignment]
sandpit\asdf.py:3: error: Unused "type: ignore" comment

2023-05-02 11:22:45.839 [info] [Trace - 11:22:45 AM] Received notification 'textDocument/publishDiagnostics'.

@DetachHead In the log do you see the argument being passed to mypy?

yes
2023-06-16 10:09:29.417 [info] c:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\project-zbC6VfKB-py3.11\Scripts\python.exe -m mypy.dmypy --status-file C:\Users\user\AppData\Local\Temp\.vscode.dmypy_status\status-f9223072-9f9c-486d-aa66-84bf1a253973.json run -- --no-color-output --no-error-summary --show-column-numbers --show-error-code --no-pretty --show-column-numbers --no-pretty --hide-error-context --warn-unused-ignores --show-error-end c:\Users\user\project\sandpit\asdf.py

for this code:
foo: int = "1"

1  # type: ignore[misc]

This does not seem like an extension issue. I ran mypy from command line and I get the same:

yeah i get the error when running it from the command line too, but the problem is that the extension does not show the unused ignore errors even though they show up when running it from the command line

Ah I see, It looks like the patter of output has bug in mypy itself. It does not give a column number. We can add a regex that can handle this case, but this looks like a bug in mypy itself.

i've raised it on mypy: https://github.com/python/mypy/issues/15463
however apparently that's not the only error that doesn't have column numbers, but i'm not sure what other ones there are


Example of using from Java

Glad to see a new framework based on Android Compose. I’d like to see an example of using it from
Java like they have on Android.

You may check this question in StackOverflow: https://stackoverflow.com/questions/66433437/can-i-write-jetpack-compose-components-in-java
The best answer of that question is:

No, you can't write Jetpack Compose components in Java, and there are no future plans to allow this (source: I work on Compose). Note that this is not the same thing as using components created in Compose from a Java app, which is possible.
Jetpack Compose makes heavy use of Kotlin features such as coroutines, and @Composable methods require transformations that are done by a Kotlin compiler plugin. There is no way to get access to these from Java.
Ryan M answered Mar 2, 2021 at 5:06

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


has the beta been tested on opera

I went back to complete a challenge I noticed that the beta has gone live ..... um it doesnt look like it has been tested on opera as I am not ale to complete challenges via opera ....
opera version : 31.0.1889.99
OS is a ground up build making use of  the debian stable repo
Challenge http://freecodecamp.com/challenges/zipline-wikipedia-viewer has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
update1: I can complete a challange in firefox but only when I CTRL-ENTER
update2: completing a wa point is compatible with opera

Hey @nicovanwyk thanks for posting.
It looks like you've updated your comment suggesting this is no longer an issue so I'll close it.  Feel free to reopen if you still experience problems.


nodenext compatibility

Checklist

[ ] run npm run test and npm run benchmark
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[ ] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

@Eomm
@mcollina
@climba03003


App crashes when doing any secure storage read or write operation on IOS simulator - No exception logged

My app is simply crashing and I get the message "Lost connection to device" on IOS simulator when I am doing a secure storage write or read.
It works fine on Android.
Is there any permission that I need to add to the app or anything else access ios keychain?

Issue was unrelated. Closing.

Issue was unrelated. Closing.

Hello! Did you find any solution. Experiencing the same crash.


feat: add callback to Api#state

Callback gets called when all action handlers have fired

Current coverage is 100% (diff: 100%)

Merging #3 into master will not change coverage

@@           master    #3   diff @@
===================================
  Files           6     6
  Lines          71    73     +2
  Methods        20    20
  Messages        0     0
  Branches        2     3     +1
===================================
+ Hits           71    73     +2
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update b1e883f...3bf3481


Use exec before command

:+1: this eliminates the shell in the pstree hierarchy?

yearp should be the case


chore: [CHAOS-3222]: Add the docs example for the http headers

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65683c82e516927805b06bca--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65683efd01894f7856bd8eeb--harness-developer.netlify.app


[ARTEMIS-3756]: Enabling extra parameters to be passed by the URI.

passing the full list of parameters when creating the URI.
moving the WARN message to DEBUG when unknown parameters are
received.

Jira: https://issues.apache.org/jira/browse/ARTEMIS-3756

Ah, missed that the code was changed, yep seems likely it could be related hehe.
@clebertsuconic is the fix to change the logging again, or alter the test?


WARN color: #993 Resolved variables received without matching request 11

Getting a lot of these messages running out of sources on macOS opening 1 workspace and 1 empty window:
[83441:0624/103512.020124:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 2", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.243985:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 3", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.251766:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 4", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.275805:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 5", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.278883:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 6", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.333367:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 7", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.361417:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 8", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.381099:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 9", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103512.382565:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 10", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
Debugger listening on ws://<IP_ADDRESS>:5876/9677c992-e0a9-48f1-95d3-0fd1b0e5383c
For help, see: https://nodejs.org/en/docs/inspector
[83441:0624/103513.703698:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 11", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103513.705374:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 12", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103513.706006:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 13", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103513.707272:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 14", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103513.708713:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 15", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103514.062518:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 16", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103514.141785:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 17", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103514.142542:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 18", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103514.151194:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 19", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)
[83441:0624/103514.153280:INFO:CONSOLE(201)] "%c WARN color: #993 Resolved variables received without matching request 20", source: vscode-file://vscode-app/Users/bpasero/Development/Microsoft/monaco/out/vs/platform/log/common/log.js (201)

I'm getting similar messages on Windows. It's a constant stream of these.
[2021-07-23 10:25:38.546] [sharedprocess] [warning] Resolved variables received without matching request 31071
[2021-07-23 10:25:38.549] [sharedprocess] [warning] Resolved variables received without matching request 31072
[2021-07-23 10:25:38.549] [sharedprocess] [warning] Resolved variables received without matching request 31072
[2021-07-23 10:25:39.147] [sharedprocess] [warning] Resolved variables received without matching request 31073
[2021-07-23 10:25:39.148] [sharedprocess] [warning] Resolved variables received without matching request 31073
[2021-07-23 10:25:39.150] [sharedprocess] [warning] Resolved variables received without matching request 31074
[2021-07-23 10:25:39.150] [sharedprocess] [warning] Resolved variables received without matching request 31074
[2021-07-23 10:25:39.157] [sharedprocess] [warning] Resolved variables received without matching request 31075
[2021-07-23 10:25:39.158] [sharedprocess] [warning] Resolved variables received without matching request 31075
[2021-07-23 10:25:39.160] [sharedprocess] [warning] Resolved variables received without matching request 31076
[2021-07-23 10:25:39.161] [sharedprocess] [warning] Resolved variables received without matching request 31076


Timepicker text box value is not updating with value changes

Bug, feature request, or proposal:
The value shown in the text box is not updating after, value assigned to ngModel change. Placeholder value and time visible in the time-picker is updated as shown in following images.
*In this image you can see that place holder contains 00:00 as the time value. But old value 02:10 is still visible.

What is the expected behavior?
Text box value should show the same value as placeholder and time-picker.
What is the current behavior?
text-box value not updating with value changes
What are the steps to reproduce?
*add time-picker
*change the value assigned to the ngModel from the ts side
Which versions of Angular, MD2, OS, browsers are affected?
Angular version - 2.4.0
md2 version - 0.0.17
OS - Windows 10
Browser - chrome
Is there anything else we should know?
When I hide the timepicker after the value changed and show it again after about one second, value is correctly updated.
Please note that I can't update to Angular 4 as I am working on an old project.

yes, textbox value change after completely selecting the time, I mean while you select the hour and minute both then it will reflect.

But then the user will see old value as selected value till he click and check. Isn't it a bug?


Connect-SFTP with Azure

Not sure if this is a bug, my own error, or something not supported.
I have an Azure storage account with SFTP enabled. I can connect to it using a WinSCP client, or even the WinSCP powershell module.
I have not been able to utilize Connect-SFTP using the same information. I've even went as far as connecting all three ways that are offered. Also confirmed each method worked in a client.
WARNING: Connect-SFTP - Error: Exception calling "Connect" with "0" argument(s):
"The connection was closed by the server:  - RequestId:SCRUBBED Time:SCRUBBED (KeyExchangeFailed)."

$dstClient = @{
    HostName = "scrubbed.blob.core.windows.net"
    UserName = "scrubbed.user"
    Password = "scrubbed.pass"
    Path = "/"
}

$dUser=$dstClient.UserName
$dPass=$dstClient.Password
$dHost=$dstClient.HostName

$sshkey = "F:\scrubbed\p.key"

#Create Destination Credentials
$dstPass = ConvertTo-SecureString $dPass -AsPlainText -Force
$dCred = New-Object System.Management.Automation.PSCredential ($dUser, $dstPass)

## Each method listed but I would only execute with one of them uncommented.
#Key Method
$dstServer = Connect-SFTP -Server $dHost -Verbose -Username $dUser -PrivateKey $sshkey
#User Pass Method
$dstServer = Connect-SFTP -Server $dHost -Verbose -Username $dUser -Password $dPass
#PS Credential Method
$dstServer = Connect-SFTP -Server $dHost -Verbose -Credential $dCred

I do have this working with my other SFTP source that is not hosted in Azure.
My goal was to use Start-FXPFileTransfer to see if I could transfer between two SFTP for my project and then provide the source for reference to the git since no examples exist.
If I could provide anything else, I am more than happy too.
Have a great day or evening!

I get this error too when connecting to an SFTP server.
WARNING: Connect-SFTP - Error: Exception calling "Connect" with "0" argument(s):

IS this still an issue?

I'm also hitting this issue when attempting to connect to a sftp. Can connect using the same details when using WinSCP but it fails with powershell.

You would need to provide more details?

Sorry, mine was user error. I've deleted my comment


Removed slash before curl command

In bash this is, for better or worse, intentional since it prevents any alias intercepting the "curl" command and breaking/changing it. Observe:
$ curl
curl: try 'curl --help' or 'curl --manual' for more information
$ alias curl="echo \"Oh no\""
$ curl
On no
$ \curl
curl: try 'curl --help' or 'curl --manual' for more information
$ unalias curl

It breaks in Fish, and I'm sure, other alternate shells though and I'm not sure it provides any real tangible benefit to users of Bash.

Ah! Good to know, I had no clue, it's the first time I stumble upon this, and as the other README.md files for the other hats did not include this, I thought it might have been accidental. Thanks :)

How likely is it that curl gets aliased to something else, and how likely is it that the "aliased curl" won't do what you expect it to?

I can't say I've got a good answer for that!

On the same topic of consistency... the unicorn-hat repo uses
\curl -sS https://get.pimoroni.com/unicornhat | bash

but the unicorn-hat-hd repo uses
curl https://get.pimoroni.com/unicornhathd | bash

:stuck_out_tongue_winking_eye:
(I think most readers, myself included, would assume that \curl is a typo and might 'auto-correct' it to just curl when typing it in?)

I would be inclined to agree with the 'auto-correct' hypotheses. We should canonicalise on no-slash.
P.S. Hiiii! Long time no see!


Zwave device status changes are not reported after update to .83

Home Assistant release with the issue:

.83.X
Last working Home Assistant release (if known):
82.1
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io/Windows/VirtualBox/Ubuntu 18.04
Component/platform:

Unknown
Description of problem:
After updating to 83.X (I believe this happened for .83.1 and .83.3, but I can’t recall exactly) whenever I unlock/lock my Schlage zwave lock from the HA UI the lock status doesn’t change. If I manually turn the knob, the lock status updates. The issue goes away by restoring 83.1 via a snapshot.  I’ve tried updating multiple times and I continue to experience the problem.
N.B. I’m not sure if this is related, but I’m using the “manual” Google Assistant (not the Home Assistant cloud) and exposing the lock to Google Assistant via an input_boolean instead of the zwave device directly.  It shouldn’t be an issue, because the problem occurs when I use the UI to attempt to control the lock using the entity_id lock.schlage_be469_touchscreen_deadbolt.  I have an automation that triggers when the input_boolean has a state change which in turn locks/unlocks the Schlage accordingly.  I only mention this because it might be related to #18856.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

I just updated to .84.1 and I’m still experiencing the same problem.
Using the lock icon on Overview, if the device will only lock or unlock one time, because after that the device status is not being updated.  I can use the services page to use lock/unlock and it will adjust the lock accordingly, but the device status does not change.  If I manually toggle the bolt, it will update.
What can I do to help you track this down?  Do you need my yaml files?

The patch was merged into the dev branch, but didn't make it into the 0.84 branch. :( I've asked the maintainers to see if it can be included in the next bugfix release. Sorry about the delay!

Fix tagged for 84.3

Looks like it’s coming in .84.3! You could probably drop this file into custom_components/locks if you need it sooner.


Add WebTonicClient to miden-client

Summary
This PR adds the WebRpcClient, a WASM-compatible implementation of the miden-client NodeRpcClient trait.
The WebRpcClient is designed for web environments. The existing tonic_client builds an auto-generated ApiClient using tonic_build with the default transport feature enabled. As a result, this auto-generated implementation relies heavily on tokio, which is not compatible with WASM. This poses a challenge for web-based applications that need to interact with the Miden node.
To address this, the WebRpcClient has been developed to provide the same functionality but in a web-compatible manner. The key difference is that WebRpcClient also generates an ApiClient via tonic_build, but with the transport feature disabled. When used in combination with the tonic-web-wasm-client crate, you can wrap the newly generated ApiClient and create an ApiClient that is compatible with grpc-web.
Considerations
I'm sure the biggest thing that will stand out to reviewers is the fact that I had to basically duplicate the tonic_client/domain folder to web_tonic_client/domain as well. As well as the fact that the auto-generated code to come from both tonic_build configurations is the same with the exception of the rpc.rs file. I took a while to see I could manipulate the build.rs file to dump all auto-generated files with the exception of rpc.rs to /src/client/rpc/generated_common, and dump the respective rpc.rs copies needed (one build with transport, the other without) to src/client/rpc/tonic_client/generated and src/client/rpc/web_tonic_client/generated, respectively. From here, I wanted to also include a step in the build.rs file to apply some post-processing to each rpc.rs file so the imports within the auto-generated code could properly point to the right objects in the generated_common folder.
This proved to be a bit difficult, however. Couldn't get it working after a few hours, so decided to put this PR up with the duplication. Happy to discuss alternate approaches, or to see if we can get this working in the follow-up PR.

Great work! I don't mind the duplication that much for now. Also, if the idea still is to make a wasm crate, we could consider moving the webstore and webtonicclient implementations to that crate if it makes sense (I think that might also remove the need for a wasm feature flag). Left some minor comments/nits

@mFragaBA great point! I think for now it would be best to keep this PR as is and then my next PR planned is the one that will be adding the web-client code that references both the WebStore and WebTonicClient. I think we can have the discussion of it living as its own crate or not there, and I can copy this folder and the WebStore code accordingly should we decide to move forward with that route then. 👍

I tried running the make doc command locally and getting these types of errors
error[E0252]: the name `ProtoAccountId` is defined multiple times
 --> crates/rust-client/src/rpc/domain/accounts.rs:9:5
  |
7 | use crate::rpc::tonic_client::generated::account::AccountId as ProtoAccountId;
  |     ------------------------------------------------------------------------- previous import of the type `ProtoAccountId` here
8 | #[cfg(feature = "web-tonic")]
9 | use crate::rpc::web_tonic_client::generated::account::AccountId as ProtoAccountId;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ProtoAccountId` reimported here
  |
  = note: `ProtoAccountId` must be defined only once in the type namespace of this module
help: you can use `as` to change the binding name of the import
  |
9 | use crate::rpc::web_tonic_client::generated::account::AccountId as OtherProtoAccountId;

Is this because the underlying command runs all-features? cargo doc --all-features --keep-going --release -p miden-client. I could address all of these issues, but then would have to gate all the code in domain under different feature flags so don't think we want that. Any suggestions?

Is this because the underlying command runs all-features? cargo doc --all-features --keep-going --release -p miden-client. I could address all of these issues, but then would have to gate all the code in domain under different feature flags so don't think we want that. Any suggestions?

Yeah, this seems to be the case. As for solutions, I'm not sure what would be the best way to mitigate this right now. I can check tomorrow but some things that come to mind:

Just generate docs avoiding either tonic or webtonic for now, and tackling this later with the other code deduplication efforts.
Keeping the web tonic client on the WASM crate as @mFragaBA suggested.
Avoiding having similar generated structs on the same module (which would probably entail duplicating more code and gating each of the web/non-web versions at a higher level).

LGTM! @dagarcia7 Lint failed because of fmt.

Fixed!

Oh, I also forgot to mention we should update CHANGELOG with this change (I think we also missed it for the WebStore)

Added a message retroactively for WebStore and added one for the WebTonicClient


Not possible to deploy an arm and arm64

ecowitt2mqtt version
latest
Describe the bug
Raspi. upgraded to the last available Software
Building is not possible  tried on raspi arm and arm64
docker-compose deployment stops working afterwards
To Reproduce
Steps to reproduce the behavior:
pi@test $ docker-compose up -d
Building ecowitt2mqtt
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.21.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 71, in main
    command()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 127, in perform_command
    handler(command, command_options)
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1052, in up
    to_attach = up(False)
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1048, in up
    silent=options.get('--quiet-pull'),
  File "/usr/lib/python3/dist-packages/compose/project.py", line 466, in up
    svc.ensure_image_exists(do_build=do_build, silent=silent)
  File "/usr/lib/python3/dist-packages/compose/service.py", line 330, in ensure_image_exists
    self.build()
  File "/usr/lib/python3/dist-packages/compose/service.py", line 1027, in build
    platform=platform,
  File "/usr/lib/python3/dist-packages/docker/api/build.py", line 154, in build
    path, exclude=exclude, dockerfile=dockerfile, gzip=gzip
  File "/usr/lib/python3/dist-packages/docker/utils/build.py", line 30, in tar
    files=sorted(exclude_paths(root, exclude, dockerfile=dockerfile[0])),
  File "/usr/lib/python3/dist-packages/docker/utils/build.py", line 49, in exclude_paths
    return set(pm.walk(root))
  File "/usr/lib/python3/dist-packages/docker/utils/build.py", line 214, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/lib/python3/dist-packages/docker/utils/build.py", line 214, in rec_walk
    for sub in rec_walk(cur):
  File "/usr/lib/python3/dist-packages/docker/utils/build.py", line 214, in rec_walk
    for sub in rec_walk(cur):
  [Previous line repeated 2 more times]
  File "/usr/lib/python3/dist-packages/docker/utils/build.py", line 184, in rec_walk
    for f in os.listdir(current_dir):
PermissionError: [Errno 13] Permission denied: '/home/pi/IOTstack/volumes/influxdb/data/data/openhab_db'

docker Compose File :
  ecowitt2mqtt:
    build: .
    container_name: ecowitt2mqtt
    image: bachya/ecowitt2mqtt:latest
    restart: unless-stopped
    hostname: ecowitt2mqtt
    depends_on:
      - mosquitto
    #ports:
    #  - "8053:8050/tcp"
    environment:
      #- LOG_LEVEL=DEBUG
      - LOG_LEVEL=INFO
      - ENDPOINT=/data/report
      - HASS_DISCOVERY="false"
      - PORT= 8050
      - MQTT_BROKER=mosquitto
      - MQTT_PORT= 1883
      - MQTT_USERNAME=ecowitt2mqtt
      - MQTT_PASSWORD=ecowitt2mqtt
      - MQTT_TOPIC=EFWS2900/
      - UNIT_SYSTEM=metric
    labels:
      - "traefik.enable=true"
      - "traefik.tcp.routers.ecowitt.rule=HostSNI(`*`)"
      - "traefik.tcp.routers.ecowitt.entrypoints=tcp"
      - "traefik.tcp.services.ecowitt.loadbalancer.server.port=8050"

Many tanks for help

That stacktrace doesn't show anything related to ecowitt2mqtt. The last line is telling:
PermissionError: [Errno 13] Permission denied: '/home/pi/IOTstack/volumes/influxdb/data/data/openhab_db'

You need to fix that permissions issue.

All others Application, around 15 are working. All these happens as soon as i make docker-compose up -d ecowitt2mqtt.
Not shure why that happen
Docker himselv  works as root and has the permission. Exept if you use a different user internal in the container to build it up
It has something to with that container. As i said i was trying it on two different raspies
Best regards
Reto

Am 27.09.2021 um 16:47 schrieb Aaron Bach @.***>:

That stacktrace doesn't show anything related to ecowitt2mqtt. The last line is telling:
PermissionError: [Errno 13] Permission denied: '/home/pi/IOTstack/volumes/influxdb/data/data/openhab_db'
You need to fix that permissions issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

 ecowitt2mqtt:
    build: .
    container_name: ecowitt2mqtt
    image: bachya/ecowitt2mqtt:latest
    ...

The inclusion of both a build and image argument here doesn't make sense; the build . argument indicates that the ecowitt2mqtt Docker image is in the same directory as the docker-compose.yml file. Why not just use the image that's already available on Docker Hub?

Hi Aron
Many thanks for your feedback
That was it !
Sorry, copiet from your github the configuration and did not study much
Thanks again for your help
Best regards
Reto

Am 27.09.2021 um 19:16 schrieb Aaron Bach @.***>:

ecowitt2mqtt:
build: .
container_name: ecowitt2mqtt
image: bachya/ecowitt2mqtt:latest
...
The inclusion of both a build and image argument here doesn't make sense; the build . argument indicates that the ecowitt2mqtt Docker image is in the same directory as the docker-compose.yml file. Why not just use the image that's already available on Docker Hub?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Update README.md

Added a table to showcase where the project is featured. Placed the table after the tech stack section for visibility. Open to suggestions on its placement if needed.

Hi @arushi2610 Could you please take a look at my PR.


Added folder-icon for flutter

Description
Added folder-icon for google flutter framework.

Contribution Guidelines

[x] By creating this pull request, I acknowledge that I have read the Contribution Guidelines for this project.
[x] I have read the Code Of Conduct and promise to abide by these rules

Oh, now I understand the path can't be a decimal, and all path of icons must be integer. Haha, I thought I only needed to match the outer paths. Haha, Sorry I think I'm going to cry lol 🤣

This is to sharpen that icon, right? I think I saw it on a tech blog somewhere, but it's coming back to me here, thanks.

This is to sharpen that icon, right? I think I saw it on a tech blog somewhere, but it's coming back to me here, thanks.

No worries, we introduced that rule a few months ago to increase the sharpness for the icons. You can find more information in our Contributions guidelines: https://github.com/material-extensions/vscode-material-icon-theme/blob/main/CONTRIBUTING.md#tips-for-designing-pixel-perfect-icons


Make the mouse cursor become an IBeamCursor on mouse over

This is the standard for all text editing fields on MacOS.

Thanks for doing this! I was thinking about it recently, in the context of what would be required for modal editing (it should be an IBeam in insert mode, probably a regular arrow in command mode). But this looks right for what we're doing now.


No openxr option in my MR Feature Tool

[Enter feedback here]
I can't find the openxr plugin from MR Feature Tool

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

ID: 925d3427-330f-5613-95d5-66dd48ebcefd
Version Independent ID: 925d3427-330f-5613-95d5-66dd48ebcefd
Content: Add the Mixed Reality OpenXR Plugin to your Unity project - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/unity/mixed-reality-openxr-plugin.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @satyapoojasama
Microsoft Alias: vinnietieto

Which version of Unity is your project using? You'll need to use Unity 2020.3 or newer.

Which version of Unity is your project using? You'll need to use Unity 2020.3 or newer.

Thanks, I used older version of unity, now I can see the opener

Great! Glad to hear you were able to resolve it


add model tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

26 of 27 (96.3%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+12.1%) to 77.931%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

vs_listener/models.py
3
4
75.0%

Files with Coverage Reduction
New Missed Lines
%

vs_listener/models.py
1
76.0%

Totals

Change from base Build<PHONE_NUMBER>:
12.1%

Covered Lines:
113

Relevant Lines:
145

💛  - Coveralls


[GSSoC'23] LCM & HCF Calculator Ready

Title and Issue number

Title - LCM & HCF Calculator
Issue Number - 3139
Close #3139

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@MohitGupta121 @Saurabh-kumar09 @pranjay-poddar sir, please review this pull request


Port forwarding to multiple pods

Is your feature request related to a problem?
Here's the use case:
I want to test the horizontal scalability of my server. I set 2 replicas of my server and run devspace dev.
However, the port is forwarded to just one pod. So I can't really know whether using two ports works.
However it's inconvenient if you just want to quickly try out the scalability of your server.
Which solution do you suggest?
Add an option for simple load balancing.
Which alternative solutions exist?
I can do a workaround with kubernetes or I make two deployments with different, but identical images. Then I forward those deployments to different ports and try out both at the same time.
Additional context
/kind feature

@FlorianKutz thanks for creating this issue! The problem with port-forwarding to multiple pods is that you cannot use a local port twice, so we would need to automatically allocate other ports for this. I'm not sure if we should allow this, since configuration is not clear for me here. What would you expect to happen locally, which ports should get allocated?

Also just ran into this (except working on a consensus algorithm) so I'd just like syncing to be done between several pods and it doesn't matter to me which pod gets my forwarded traffic. Even in the original case given by @FlorianKutz, I suspect it doesn't matter which pod gets the forwarded traffic since they're testing scalability -- but also probably want files synced.
Would it be possible to have forwarded ports going to a k8s service?

This is now available in the latest version! Please give it a try!


[Kubernetes] Update 1.20.13, 1.21.7, 1.22.4

https://github.com/kubernetes/kubernetes/releases/tag/v1.20.13
https://github.com/kubernetes/kubernetes/releases/tag/v1.21.7
https://github.com/kubernetes/kubernetes/releases/tag/v1.22.4

LGTM , thank you


Fix error 500 response when calling the REST API for a non-existing directory in a Maven repository

Steps to reproduce

Compile the project (https://github.com/strongbox/strongbox/wiki/Building-the-code#building)
Run jetty server (https://github.com/strongbox/strongbox/wiki/Building-the-code#running-jetty-in-blocked-mode)
Visit for example http://localhost:48080/storages/storage-common-proxies/maven-central/pl/fuss/

Problem
See StackTrace at https://gist.github.com/fuss86/df8bdc5454d6e5da7e4fbf6a34f5cf4c
Expected result
404 HTTP response

Resolved in #463 by @sanket407.


Applications exiting within 10-20ms of startup lose logs

If an application starts and immediately crashes/quits, anything outputted to stdout/err is not logged which makes debugging quite hard. On our deployments it seems to affect anything that dies within 10-20ms.
The workaround for this is to change the Procfile to have a sleep statement in it, e.g. web: sleep 1 && command.
I'm not sure if this is the correct place to file this issue, but I figured it was a good start.
This can be replicated by uploading a simple application that outputs something to stdout and immediately quits, such as example.go:
func main() {
    println("This will not appear in the application logs")
}

Thanks, @Jonty, for reporting this.
This is indeed an unfortunate issue that we have experienced ourselves. Its root cause is hidden in the logic of the DEA Logging Agent for discovering and connecting to stdout/stderr on app containers when they are started on the DEA.
This issue is not present in Diego and so this will not be an issue when you switch from DEAs to Diego when you push your app. Note that DEA is being deprecated in favor of Diego. If you have a CF deployment that has Diego available, then just try to enable diego for your app and you should be fine. See here for instructions on how to enable diego for your app.
Given that this is only an issue with the DEA, which are being deprecated, and you do have a workaround, I am going to close this issue. If you feel that this has to be addressed despite the workarounds, please let us know and reopen the issue.


typo in _FileFeed.peek_next()

There's a typo in _FileFeed.peek_next() (line 3128 3135), which causes it to raise an Exception when dealing with line continuation -  res should be line.
Didn't feel like forking and creating a pull-req for this minor change, so here's a patch at gist.github.com

Thanks for the catch!
Looks like that function is only used while reading the .config header. To be honest, the line joining behavior probably doesn't make sense when reading .config files, so the _FileFeed reuse is a bit dubious.
I'll add your patch and some test cases in a separate commit.
Just of curiosity, did you run into this issue in the wild?

Just out of curiosity, did you run into this issue in the wild?

Random find, actually; no practical use involved so far.


Downscaling seems to not work properly with limitToBounds

In case of the scale below 1 with no bounds limit content seems to be positioned randomly while using zoomIn and zoomOut functions.
Configuration:
const options = {     minScale: 0.1,     maxScale: 3,     limitToBounds: false, };
Everything seems to be fine while limitToBounds is set to true.
Video:
https://www.youtube.com/watch?v=h2qhwRi5KbU

Thanks for reporting, and for the video! I will take a look over the weekend 👍

I think it's about mouseX and mousY calculation in the handleZoomControls function. In case of the negative scale you should probably divide instead of multiply. The other way would be to calculate ratio and then do the multiplication.
The base idea:
   var mouseX = (Math.abs(positionX) + wrapperWidth / 2);     var mouseY = (Math.abs(positionY) + wrapperHeight / 2);     if (scale < 1) {         mouseX = mouseX * scale;         mouseY = mouseY * scale;     } else {         mouseX = mouseX / scale;         mouseY = mouseY / scale;     }


Test alert sub classes - class name and class name as string

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[X] Tests have been added that prove the fix is effective or that the feature works.
[X] New and existing tests pass locally with the changes.
[X] Code follows the style guidelines of this project (PEP8, clean code, linter).
[X] A self-review of the code has been done.

What is the ticket or issue number?

https://jira.carbonblack.local/browse/CBAPI-4939
Pull Request Description

Extending unit test coverage.
Does this introduce a breaking change?

[ ] Yes
[X] No

How Has This Been Tested?

Fix for build break is in #422 - not related to changes in this PR.


bug: Improve handling exceptions from unsupported PHPUnit versions

This is an alternative fix for #1421, based partly on the useful work done by and discussion with @uuf6429 in #1426.
Attempting to render PHPUnit assertion failures is brittle, because:
a) we (intentionally) don't impose any PHPUnit version constraints in composer.json and
b) PHPUnit's code for rendering exceptions is not covered by their BC promise.
I've added tests that cover both the absence of PHPUnit classes, and the presence of a PHPUnit class that works differently to how we expect, causing an error. These demonstrate the current total failure and early termination of Behat in both these scenarios (and show that throwing our own exception here will behave the same, just with a different message).
The second commit updates the PHPUnitExceptionStringer to ensure that we always render something useful for any past or future PHPUnit version. This prioritises communicating that an assertion has failed and in many cases will still have as much detail as usual (see e.g. the examples of the failing int comparison in the feature file).

As the github action logs will eventually be removed, just to record that the previous output (for the entire behat command) was:
With a theoretically-supported PHPUnit that causes errors during stringification
In IncompatibleThrowableToStringMapper.php line 9:

  Some internal problem

behat [-s|--suite SUITE] [-f|--format FORMAT] [-o|--out OUT] [--format-settings FORMAT-SETTINGS] [--init] [--lang LANG] [--name NAME] [--tags TAGS] [--role ROLE] [--story-syntax] [-d|--definitions DEFINITIONS] [--snippets-for [SNIPPETS-FOR]] [--snippets-type SNIPPETS-TYPE] [--append-snippets] [--no-snippets] [--strict] [--order ORDER] [--rerun] [--rerun-only] [--stop-on-failure] [--dry-run] [--] [<paths>]

F

With unsupported PHPUnit
F
Fatal error: Uncaught Error: Class 'PHPUnit_Framework_TestFailure' not found in src/Behat/Testwork/Exception/Stringer/PHPUnitExceptionStringer.php:43
Stack trace:
#0 src/Behat/Testwork/Exception/ExceptionPresenter.php(93): Behat\Testwork\Exception\Stringer\PHPUnitExceptionStringer->stringException(Object(PHPUnit\Framework\ExpectationFailedException), 1)
#1 src/Behat/Behat/Output/Node/EventListener/Statistics/StepStatsListener.php(151): Behat\Testwork\Exception\ExceptionPresenter->presentException(Object(PHPUnit\Framework\ExpectationFailedException))
#2 src/Behat/Behat/Output/Node/EventListener/Statistics/StepStatsListener.php(79): Behat\Behat\Output\Node\EventListener\Statistics\StepStatsListener->captureStepStatsOnAfterEvent(Object(Behat\Behat\EventDispatcher\Event\AfterStepTested))
#3 src/Behat/Testwork/Output/Node/EventListener/ChainEventListener.php(47): Behat\Behat\Output\Node\EventListener\Statistics\StepStatsListener->listenEvent(Object(Behat\Testwork\Output\NodeEventListeningFormatter), Object(Behat\Behat\EventDispatcher\Event\AfterStepTested), 'tester.step_tes...')
#4 src/Behat/Testwork/Output/NodeEventListeningFormatter.php(90): Behat\Testwork\Output\Node\EventListener\ChainEventListener->listenEvent(Object(Behat\Testwork\Output\NodeEventListeningFormatter), Object(Behat\Behat\EventDispatcher\Event\AfterStepTested), 'tester.step_tes...')
#5 vendor/symfony/event-dispatcher/EventDispatcher.php(230): Behat\Testwork\Output\NodeEventListeningFormatter->listenEvent(Object(Behat\Behat\EventDispatcher\Event\AfterStepTested), 'tester.step_tes...', Object(Behat\Testwork\EventDispatcher\TestworkEventDispatcher))
#6 vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'tester.step_tes...', Object(Behat\Behat\EventDispatcher\Event\AfterStepTested))

[... stack frames 7 to 31 removed for simplicity...]
#32 bin/behat(34): Symfony\Component\Console\Application->run()
#33 {main}
  thrown in src/Behat/Testwork/Exception/Stringer/PHPUnitExceptionStringer.php on line 43

Looks very good overall @acoulton!


Graduating to a Composer package.

Hi, guys. Great job with this library. It would be awesome if graduated to an official Composer package. Are you interested; if so, do you want some help?

Sure! Feel free to make the necessary changes and make a pull request, I'll submit it to packagist.org if everything is ready.


change the implementation of jdbc plugins

Coverage decreased (-0.4%) to 17.725% when pulling a6a7836c9509392eb4d887ae24b227272d2a46d3 on ascrutae:feature/jdbc-plugin-refactory into cb7b4e73d4cbe0ff927c61f3cad4323358453c38 on OpenSkywalking:master.


[wip] - do-not-merge - Add test PlacementTableVersionNotEventuallyIncreased

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

Description
Add a new test called PlacementTableVersionNotEventuallyIncreased
Signed-off-by: Lee Fowler<EMAIL_ADDRESS>Issue reference
Issue #7490_https://github.com/dapr/dapr/issues/7490#issue-2115676985
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

It looks like the git rebase might have messed up. I am seeing a file diff of 364 files changed, which I wouldn't expect for this change. Can you try again, either a merge or rebase?

@cicoyle : I created a new branch with PR at https://github.com/dapr/dapr/pull/7835/files, since the rebase on this branch messed up and added many commits to this branches history. At present there are only two files changed on the new PR and 7 cases for rich error handling added to the file pkg/api/errors/placement.go.


avoid writing operation failed because of disk full

Is your feature request related to a problem? Please describe.
when disk arrive threshold, writing operation will failed, and have to try other nodes, which will make writeOp cost more time.
Describe the solution you'd like
when disk arrive threshold, let writing operation success, and ast new writeOp request to other available nodes

fixed https://github.com/cubefs/cubefs/pull/1353


Ideas

Component.get_from_raw
Like Component().get_from(), but for raw components. Example usage:
class Button(flare.Button, ...):
    ...

button = Button.get_from_raw(message.components)
# message: hikari.Message
# button: Button | None

Add get_components to ModalContext
ModalContext.interaction.message.components already exists, which afaik is all you need for a get_components method which should mirror MessageContext.get_components.
Add get_component(x, y)
It would be helpful to be able to get a specific component and not load all of them

Relevant discord discussion https://discord.com/channels/826875707418214451/832673087031083009/1090147316020822067

All of these should be implemented.


Almost unplayable sometimes.

basically i can see in the config on h3vr that tnh qol improvments is constantly trying to refresh and get a number for the number of online people or list of leaderboards. It almost BREAKS the game and makes it unplayable for me atleast. PLEASE remove the leader board feature and just use the one thats in the base game.

If the player count feature is causing issues you can disable it in your mod manager's Config Editor. That should prevent it from loading in.
If you don't mind, to help me figure out why there's issues:

What version of the game are you running? Is it experimental or mod-safe?
What happens exactly thats makes the game unplayable?

The issue you're experiencing might actually be from TNHTweaker if it's installed. At the time the issue was created, TNHTweaker only worked on the experimental non-mod-friendly branch.

Hey,
Yea I just did that through the config thank you I really appreciate it, but I’m running the mod friendly branch, and what happens is that let’s say you’re playing tnh, running around and youll get an initial stutter, and slowly it’ll get worse and worse and for longer periods of time and I look at the belpn config and I see nothing whatsoever just the bullet code being fired off that’s it. So essentially the config doesn’t specify what’s happening and I continue to lag for so long
Sent from Yahoo Mail for iPhone
On Wednesday, March 30, 2022, 11:21 AM, msk @.***> wrote:
If the player count feature is causing issues you can disable it in your mod manager's Config Editor. That should prevent it from loading in.
If you don't mind, to help me figure out why there's issues:

What version of the game are you running? Is it experimental or mod-safe?
What happens exactly thats makes the game unplayable?

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hmm, my mod does nothing to bullets or shooting mechanics. My leaderboard
code simply scans the data that the game sets, not touching it at all.
Try disabling this QoL mod completely and see if the problem still persists.
On Sun, Apr 3, 2022, 10:44 AM MintyJuulyPodeqeq @.***>
wrote:

Hey,
Yea I just did that through the config thank you I really appreciate it,
but I’m running the mod friendly branch, and what happens is that let’s say
you’re playing tnh, running around and youll get an initial stutter, and
slowly it’ll get worse and worse and for longer periods of time and I look
at the belpn config and I see nothing whatsoever just the bullet code being
fired off that’s it. So essentially the config doesn’t specify what’s
happening and I continue to lag for so long
Sent from Yahoo Mail for iPhone
On Wednesday, March 30, 2022, 11:21 AM, msk @.***> wrote:
If the player count feature is causing issues you can disable it in your
mod manager's Config Editor. That should prevent it from loading in.
If you don't mind, to help me figure out why there's issues:

What version of the game are you running? Is it experimental or mod-safe?
What happens exactly thats makes the game unplayable?

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
@.***>
—
Reply to this email directly, view it on GitHub
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements/issues/1#issuecomment-1086915861,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADT6X42YYLU37UFPXW6AGWLVDHKGDANCNFSM5SCPKEDQ
.
You are receiving this because you commented.Message ID:
@.***
com>

Check your other mods, I tested on mod-safe with and without TNHTweaker (looks like it works on mod-safe now) and have no issues. Make sure everything's up to date. If you have still have further issues and suspect it's due to this mod, please reply with log as follows:

Make sure game is closed
In r2modman, go to Settings > Debugging tab.
Click "Copy log file contents to clipboard"
Paste into a comment here.

Additionally, please list all mods you have installed.

As it has been over a week since the last reply, I will close this issue. AFAIK this mod has no fatal issues that make Take and Hold unplayable.


NameError: name 'disabled_tqdm' is not defined

As the title, has anyone got similar issue?
Traceback (most recent call last):
File "/data//instructor-embedding/clustering.py", line 3, in
model = Instructor('hkunlp/instructor-large')
File "/home/miniconda3/envs/instructor/lib/python3.10/site-packages/sentence_transformers/SentenceTransformer.py", line 95, in init
modules = self._load_sbert_model(model_path)
File "/data/instructor-embedding/InstructorEmbedding/instructor.py", line 530, in _load_sbert_model
"tqdm_class": disabled_tqdm,
NameError: name 'disabled_tqdm' is not defined
FYI:
def _load_sbert_model(self, model_path, token = None, cache_folder = None, revision = None, trust_remote_code = False):
"""
Loads a full sentence-transformers model
"""
# Taken mostly from: https://github.com/UKPLab/sentence-transformers/blob/66e0ee30843dd411c64f37f65447bb38c7bf857a/sentence_transformers/util.py#L544
download_kwargs = {
"repo_id": model_path,
"revision": revision,
"library_name": "sentence-transformers",
"token": token,
"cache_dir": cache_folder,
"tqdm_class": disabled_tqdm,   (NameError: name 'disabled_tqdm' is not defined)
}

Facing same problem, fixed with installing sentence transformer 2.3.0


MINOR: rename TopologyDescription.Subtopology to SubtopologyDescription

Literally just renaming a class because I want to use the name Subtopology for something else, and the current Subtopology class seems to be used solely for the topology description. Split into a separate PR to minimize no-op changes in the main PR

@wcarlson5 @guozhangwang

Ready for review @wcarlson5 @guozhangwang @rodesai

I'm going to merge this without another committer +1 since it's a minor PR with mostly renaming/wrapping classes. And the PR build is actually completely green for once 🥳

@guozhangwang Ah, shoot, I forgot that the interface name would be public of course..I'll just go ahead and revert that change. I believe the internal class name change should be fine but let me know if there's another name you would prefer

Here: https://github.com/apache/kafka/pull/10713


Add support for netlify form-handling

What this PR does / why we need it:
Adds support for netlify form-handling
Which issue this PR fixes (optional - uncomment and add issue):
fixes #43
Special notes for your reviewer:
This might not be a good solution since it doesn't take any global configuration into account
Release note:

Small issue I think, but in general looks good.

Another thing to consider. Should we use netlify's recaptcha support, when using netlify? Might be easier for people that just want to use netlify.

Netlify does not parse the form perfectly so a missing whitespace before netlify> in the generated form will fail.
Also formName needs to be formname <-- I come to really hate that hugo case
My suggestions would be something like:
        <form class="contact" method="POST" name="{{ $contact.formname | default "contactForm" }}" id="contactForm
          {{- if $contact.netlify -}}
            " netlify
          {{- else -}}
            " action="{{- $contact.posturl | default (printf "https://formspree.io/%s" $contact.email) -}}"
          {{- end -}}
          >

Another way would be to not remove the whitespace via the -, but that feels hacky.

I added your code and it works very well. The only issue is syntax highlighting of the code. Check this out:

Regarding the other issue, I was hoping to add that when #3 is fixed since adding Netlify captcha support would mean that we should disable our own captcha and perhaps remove our error for when captcha can not be loaded.

Yeah saw the issue with the syntax highlighting. Might be something to think about in the long-term. For now I would say LGTM and iterate. If you want to track the syntax issue, you can open an issue.


Patch 1

Previous PR on another branch - https://github.com/docker/swarm/pull/2243

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:LukasBacigal/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~15
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.


PEP8 fixes

PEP8 fixes, done using autopep8 and a lot of manual tweaking for more intuitive indentation than the automated tool gives. I'm looking forward to discussion about the advantages and disadvantages of this. The main possible disadvantage is that it makes code history less easily navigable using Git. The main advantage is that this would bring us to an equilibrium point of maximum readability, and it would not be strenuous after that to make sure that new commits still follow the standard, so it would be a one-time adaptation.

@hdoupe Thanks for the catch, I fixed a few merge conflicts and amended the commit. I had to do a lot of manual merging because I was first working on top of #917, then realized it was probably better to separate the two until the other one is merged.

Thanks for the contribution @lucassz


Manage properties for multiple @RegisterAiService

Today, if you have multiple @RegisterAiService in a project, where each of them needs different properties (like mode-id or others...), the only way to specialize them is to use the chatMemoryProviderSupplier property, one for each @RegisterAiService.
It may be useful to do this through the use of application.properties.
For more information (context and example), there is a post in Zulip.

Thanks for the reporting!
@edeandrea did you have a similar use case, or what it a little different?

I'm not sure what details are being referred to on Zulip. That link in the original post seems to be broken.
My use case (#56) was not multiple @RegisterAiService in a project. My use case is a single @RegisterAiService that can be satisfied by multiple extensions (openai & azure-open-ai).

That link in the original post seems to be broken.

Oops, fixed now

My use case is a single @RegisterAiService that can be satisfied by multiple extensions (openai & azure-open-ai).

Gotcha, thanks for clarifying

Maybe, kinda like datasources, you have the idea of "named" services. And then in the configuration you can have both global config, as well as config that is scoped to a particular named service.

Yeah, that's probably where we will end up when we do this

yeah, named services was what I was thinking too.

@cescoffier were discussing this in another context, so I'll probably look into it soon

This keeps coming up, so I'll likely take it up this week

This is also related to https://github.com/quarkiverse/quarkus-langchain4j/issues/56

@cescoffier has an extensive proposal here.

@andreadimaio can you try version 0.8.0 and see if there is anything missing now?

@andreadimaio can you try version 0.8.0 and see if there is anything missing now?

I plan to try these new changes tomorrow, I'll get back with feedback. 😁

It seems that there is a problem using the modelName in the @RegisterAiService annotation.
I'm testing it with the BAM and OpenAI modules for now, and the problem is present with both (version 0.8.1)
If I create a LLMService interface like:
@RegisterAiService(modelName = "tokenizer")
@SystemMessage("""
    ...
""")
public interface LLMService {

    @UserMessage("""
       ...
    """)
    public String tokenize(String v);
}

with application.properties
...
quarkus.langchain4j.bam.tokenizer.api-key=...
...

When I start Quarkus, I see the error:
The config property quarkus.langchain4j.bam.api-key is required but it could not be found in any config source

To solve the problem, I need to add both lines to the application.properties file
quarkus.langchain4j.bam.tokenizer.api-key=...
quarkus.langchain4j.bam.api-key=...

Any chance you can upload the sample you are using so I can try it out?

Any chance you can upload the sample you are using so I can try it out?

git clone https://github.com/andreadimaio/langchain4jquarkustest.git

🙏🏼

I see what the problem is, it's related to DevUI...

I tried to help you find the problem, but you were too quick. I'll stop my investigations. 😁

Thanks :)

https://github.com/quarkiverse/quarkus-langchain4j/pull/309 fixes the problem

I tested the fix by compiling the code on my workstation using the 999-SNAPSHOT version and everything works fine.
I did two different tests, in the first one I used the bam with two different models, using the application.properties like this:
quarkus.langchain4j.bam.tokenizer.api-key=${BAM_API_KEY}
quarkus.langchain4j.bam.tokenizer.chat-model.model-id=meta-llama/llama-2-70b-chat

quarkus.langchain4j.bam.tokenizer2.api-key=${BAM_API_KEY}
quarkus.langchain4j.bam.tokenizer2.chat-model.model-id=google/flan-t5-xl

And in the second test I have used two different maven modules (bam, watsonx)
quarkus.langchain4j.tokenizer.chat-model.provider=bam
quarkus.langchain4j.bam.tokenizer.api-key=${BAM_API_KEY}
quarkus.langchain4j.bam.tokenizer.chat-model.model-id=meta-llama/llama-2-70b-chat

quarkus.langchain4j.tokenizer2.chat-model.provider=watsonx
quarkus.langchain4j.watsonx.tokenizer2.base-url=https://us-south.ml.cloud.ibm.com
quarkus.langchain4j.watsonx.tokenizer2.project-id=${WATSONX_PROJECT_ID}
quarkus.langchain4j.watsonx.tokenizer2.api-key=${WATSONX_API_KEY}
quarkus.langchain4j.watsonx.tokenizer2.chat-model.model-id=meta-llama/llama-2-70b-chat

Everything works fine! From my point of view we can close this issue, but I don't know if you want to wait for the next version.


#344 Postgresql configuration & #688 Atlas update

Signed-off-by: Nigel Jones<EMAIL_ADDRESS>

Confirmed again the build is good. It is. The build machine appears to have glitched. Forcing a rebuild
run-verify

run-verify


Table and Where sql is not predicted

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
1.12
Which database and its version are you using?
5.7
Please provide a complete runnable program to reproduce your issue. IMPORTANT
DB.Table("domain").Where(2).Update(Domain{Name: "name"}) -->  UPDATE domain SET name = 'name'  WHERE (domain.`` = 2)

in where clause it should be  .Where("domain=?",2)


connectCaller times out with webrtc client

Currently using

https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/app.js (controller),
drachtio v0.8.3-rc1-1-gc77950e55 build from source
FreeSWITCH version: 1.6.20+git~20180123T214909Z~987c9b9a2a~64bit (git 987c9b9 2018-01-23 21:49:09Z 64bit) (installed using brew and overwrite configuration with the config here https://github.com/davehorton/docker-drachtio-freeswitch-mrf)
freeswitch + drachtio running on local network

app log: https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/app.log
drachtio log: https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/drachtio.log
freeswitch log: https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/freeswitch.log
connectCaller just times out, drachtio receives the invite from freeswitch but couldn't route it back to the ua, when using linphone / xlite (non webrtc) it works

Yes, I've noticed this before.  Its an issue with how Freeswitch deals with SRTP connections.  I've taken to using rtpengine to handle SRTP as a front end so I have not worked out to date how to fix this.
The issue is that this dialplan
    <extension name="socket">
      <condition field="${sip_user_agent}" expression="^drachtio-fsmrf:(.*)$">
        <action application="answer"/>
        <action application="socket" data="${sip_h_X-esl-outbound} async full"/>
      </condition>
    </extension>

Behaves differently when the INVITE is using SRTP -- specifically, the answer command does not complete, and thus the socket command never executes.  Thus the timeout on the application side.
So I'm not sure at the moment why answer never completes in this scenario....if you have any thoughts they would be welcome

It might be useful to get a freeswitch log after turning log levels up to debug
fsctl loglevel debug

Oops sorry about that.
Here is some new logs.
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take2/drachtio.log
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take2/freewswitch.log
Thanks, i'll play around more on the Freeswitch side now, I recall this was working half a year ago. So maybe its the recent version of Freeswitch?

It may well be a change that I made.  Not sure.

I don't see any additional logging in that freeswitch log.  Did you turn log levels to debug?  Since you copied in your dialplan, what does it look like?

Sorry again
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take3/freeswitch.log
let me get that dial plan

dialplan
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/freeswitch/dialplan/mrf.xml

Its strange that the freeswitch logging is not showing the execution of the dialplan

maybe try 'console loglevel debug' as well

okay ill try that, and i'll get a working non srtp log too

the notworking one originate from webrtc client
the working one originate from linphone
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take4/notworking-freeswitch.log
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take4/working-freeswitch.log
gonna just prepare and leave for work wont be responsive until a bit later
thanks for everything again

Okay if i made this configuration changes to freeswitch conf I can connect to it directly and play some sound...
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/freeswitch/sip_profiles/mrf.xml#L15-L16
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/freeswitch/dialplan/mrf.xml
freeswitch log: https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take5/freeswitchdirect.log
using fsmrf log: https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take5/drachtioproxied.log

I mean if I enable their websocket binding and connect to it directly SRTP works..

and and it looked liked debug is working now

Yes, looks like the difference is the handshake gets completed in your working example.  These lines, after the 200 OK is generated, we do not see in the non-working example
2019-07-24 12:09:20.548776 [INFO] switch_rtp.c:3192 Changing audio DTLS state from HANDSHAKE to SETUP
2019-07-24 12:09:20.568817 [INFO] switch_rtp.c:3101 audio Fingerprint Verified.
2019-07-24 12:09:20.568817 [INFO] switch_rtp.c:3941 Activating audio Secure RTP SEND
2019-07-24 12:09:20.568817 [INFO] switch_rtp.c:3919 Activating audio Secure RTP RECV
2019-07-24 12:09:20.568817 [DEBUG] switch_core_sqldb.c:2617 Secure Type: srtp:dtls:AES_CM_128_HMAC_SHA1_80
2019-07-24 12:09:20.568817 [INFO] switch_rtp.c:3141 Changing audio DTLS state from SETUP to READY
2019-07-24 12:09:20.568817 [DEBUG] switch_core_sqldb.c:2617 Secure Type: srtp:dtls:AES_CM_128_HMAC_SHA1_80
2019-07-24 12:09:20.568817 [NOTICE] mod_dptools.c:1312 Channel<EMAIL_ADDRESS>has been answered
2019-07-24 12:09:20.568817 [DEBUG] switch_channel.c:3773<EMAIL_ADDRESS>Callstate Change EARLY -> ACTIVE

one difference -- in the non-working example the 200 OK looks to have an IP that is behind a nat:
v=0
   o=FreeSWITCH<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
   s=FreeSWITCH
   c=IN IP4 <IP_ADDRESS>

whereas in the working example the freeswitch address looks directly reachable by the client?
   v=0
   o=FreeSWITCH<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
   s=FreeSWITCH
   c=IN IP4 <IP_ADDRESS>

I think to finish the DTLS handshake the client receiving the 200 OK needs to be able to reach the freeswitch at that address.....can it?

curious the invite back sent out is not being proxied back by the drachtio-server even though it was received (im expecting something after a 100 on the UA side but got nothing) should we be looking in the drachtio part?

can you post the drachtio logs that goes with the latest non-working freeswitch log?

<IP_ADDRESS>

that address looks wrong .. investigating

the fact that the handshake succeeds means that it is an address that the freeswitch is recivinbg on, because the handshake takes place over the UDP transport

175.25.50.x is my routers network is inside a NAT the lab environment.
192.168 shouldn't be in there unless i accidentally configured something wrong hmm

not working drachtio https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take6/drachtio-notworking.log

OK I see the whole problem now...its a kind of deadlock

drachtio-fsmrf is waiting for the socket connection from freeswitch before sending the 200 OK back to the client (at which point the handshake would take place)
freeswitch is waiting for the handshake to complete before proceeding to the making the socket connection.

OK, hmm, at least we know what it is.  Need to think about this...

as an experiment, change the dialplan so the socket command comes first, then the answer.
Might not work but I would be interested to see logs

swapped
https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take7/swappeddrachtio.log

i think it works..

webrtc client now get 200 OK back

here is the freeswitch log https://github.com/andrewvmail/drachtio-webrtc-conference/blob/master/take7/freeswitch.log

nevermind does not work but client now gets 200 back

Is the IP in the body of the 200 OK reachable from the web RTC client? It will need to be for the handshake to be concluded
Sent from my iPhone

On Jul 24, 2019, at 4:15 PM, momoterraw<EMAIL_ADDRESS>wrote:
nevermind does not work but client now gets 200 back
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I think so.

Yeah just double checked the ip in the C=IN line in the body of the 200 OK the webrtc client receive has the correct ip but handshake did not complete

Hi Dave, touching back on this issue this might be of interest https://www.ietf.org/proceedings/70/slides/mmusic-9.pdf can attempt fixing this with some directions. would rec #2 be ideal?

So I'm assuming that the Dratchio framework is currently not capable of dealing with its much needed companion SIP.js or any other javascript communication platform which is using WebRTC. I was spending the last few days dealing with AWS containers and instances looking through the logs and trying to figure out where the problem lies but I'm not comming from the VoIP area so I guess I won't be ahead of you guys anytime soon. Let me know if I can be any help for you.

drachtio can work fine with WebRTC.  Dealing with WebRTC implies two things:

handling SIP over (secure) websockets
handling SRTP; typically transcoding to RTP

drachtio, being only a SIP signaling/application platform handles the first.  You can configure yoru drachtio server to handle SIP over ws or wss.
The second, being media handling, is not something the drachtio server will handle, it will be up to your media server.  This particular issue was about trying to get this to work with Freeswitch, and so if that is your configuration there will most probably be an issue (until I have time to look into this further).
However, I use rtpengine as my media server in WebRTC configuration and it is simple, more efficient than freeswitch, and works fine.
As far as SIP.js <==> drachtio that works fine.  This is purely a SIP interface between them, and I have developed applications with both SIP.js and jsSIp

I saw this problem earlier this week.
It took me lot of time to understand why the connectCaller fail with timeout.
I think that the simple solution will be to change the connectCaller function so it will do it like this:

create endpoint in freeswitch without remoteSdp
after we have an active endpoint, modify the remoteSdp to the sdp from webrtc
send the localSdp to the client as usual

My scenario is to be able to do conference between webrtc (and maybe pstn) users.
rtpengine cannot do conference, so i need freeswitch.
Currently what i did is put rtpengine in the middle between freeswitch and the web client, it is working but if freeswitch knows how to talk with webrtc, why add the rtpengine in the middle?
I tried to do direct connection between the web client and freeswitch (freeswitch is from your docker image) using the method that i wrote above, and it did not success.

Create endpoint without remoteSdp
Modify the active endpoint to use the remoteSdp from the webrtc
Send the localSdp from freeswitch to the web client
The webclient cannot connect to freeswitch using the received sdp, ICE negotiation problem.

When i checked it in the In the about:webrtc of firefox,
In the working scenario (using rtpengine in the middle) i see 5 rows, the first row is the public ip of the client.
In the non-working scenario (connect freeswitch directly) i did not see the this row.
Any idea why?

rtpengine cannot do conference - yes exactly my scenario also!
we know rtpengine is only for one to one endpoints. this world became much more about one to many endpoints. I think we should agree this will take Drachtio framework to the next level of an all capable framework once we figure out what is going on with this issue. in the meantime I would love to see a code example of how to put rtpengine in middle as you suggest @akalter
and of course if you got a clue on this issue @davehorton, deadlock as you mentioned earlier
what are your thoughts about solution for the issue? Is it going to be from the client side or the server side of drachtio / freeswitch?

@akalter tried .
Made these changes to CreateEndpoint at mediaserver.js by your suggestion @akalter :
this.srf.createUAC(uri, {headers: opts.headers})
endpoint.once('ready', () => {
endpoint.modify(opts.remoteSdp);
callback(null, endpoint);
});
Now my web application based on SIP.js return:
Failed to set remote answer sdp: Called with SDP without DTLS fingerprint.
After investigating the network stream and google I can tell that that Freeswitch receive INVITE with:
m=audio 53031 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
m=video 53033 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123 119 114 115 116
but sending back 200 OK response for the INVITE with:
m=audio 29746 RTP/AVP 102 0 8 104 101
m=video 32266 RTP/AVP 103
But the response should be with UDP/TLS/RTP/SAVPF instead.
If anyone have idea what can be the reason please help.

I have the code that i tested with it, but i cannot run it now.
Looks like he endpoint.modify returns promise, and after it resolves - the endpoint.local.sdp is  UDP/TLS/RTP/SAVPF

I've checked in a beta fix that should allow Mediaserver#connectCaller to handle SRTP being offered from webrtc clients.  To test it, could you please install as follows:
npm install — save drachtio-fsmrf@beta.

Please re-run your tests and let me know the results.
Also, note two things:

You should not (and you will now get an assert if you try) call MediaServer#createEndpoint with a remote sdp offering SRTP - you have to use Mediaserver#connectCaller.  The reason is that part of creating the endpoint in this scenario is doing the TLS handshake with the sender, which only connectCaller is in a position to do since it has the res object.
This is only a solution for connecting inbound SRTP calls to freeswitch.  Generating an outbound call from freeswitch is trickier because we need to get freeswitch to offer SRTP outside of the context of having an incoming offer with SRTP.  I am still looking into possible solutions for this.

If your simple test does not work, please run it with DEBUG=drachtio:fsmrf env var set and provide logs

I tested it with the beta version and i still have the timeout problem, same as before.
The error:
drachtio:fsmrf MediaServer#createEndpoint - connection timeout for 3e29153d-90e9-4862-a9d3-86e55645e124
Should i modify the freeswitch configuration?
The current freeswitch configuration is:
    <extension name="socket">             <condition field="${sip_user_agent}" expression="^drachtio-fsmrf:(.*)$">             <action application="answer"/>             <action application="log" data="INFO ***** before connect to socket "/>             <action application="socket" data="${sip_h_X-esl-outbound} async full"/>             <action application="log" data="INFO ***** after connect to socket "/>       </condition>

the normal configuration should be fine.  Could you run with DEBUG as I requested, then send me both the node.js logs as well as the drachtio server logs

Interesting... there are now new findings!
When using demo-1 from SIP.js I can hear the IVR voice message from drachtio-fsmrf with the following SDP message in the invitation:
v=0
o=-<PHONE_NUMBER>891369810 2 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=group:BUNDLE 0
a=msid-semantic: WMS ZwJfPBxjASsCVKqG8YCRPnFX4qJghpx4qMFL
m=audio 51983 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 <IP_ADDRESS>
a=rtcp:9 IN IP4 <IP_ADDRESS>
a=candidate:202810205 1 udp<PHONE_NUMBER> 4eecf1cb-2932-412b-b51c-d7055a338a3c.local 51983 typ host generation 0 network-cost 999
a=candidate:2064909898 1 udp<PHONE_NUMBER> 66b8d9c7-28e6-4a76-861d-e3eda29d984f.local 51984 typ host generation 0 network-cost 999
a=candidate:842163049 1 udp<PHONE_NUMBER> <IP_ADDRESS> 51983 typ srflx raddr <IP_ADDRESS> rport 0 generation 0 network-cost 999
a=ice-ufrag:B6wU
a=ice-pwd:I6pfjuTjkEg6SE6C7IsmfGcX
a=ice-options:trickle
a=fingerprint:sha-256 4C:DD:15:00:8E:BE:6E:B3:B3:F5:FF:35:E1:8F:40:D8:54:FE:86:03:A3:72:7A:88:96:89:35:FC:7F:DB:02:B3
a=setup:actpass
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
a=sendrecv
a=msid:ZwJfPBxjASsCVKqG8YCRPnFX4qJghpx4qMFL 4a6ecb5d-757e-49fb-a92c-f02e82fa5a33
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1954271339 cname:a/QCz2g+vZsVG3+d
a=ssrc:1954271339 msid:ZwJfPBxjASsCVKqG8YCRPnFX4qJghpx4qMFL 4a6ecb5d-757e-49fb-a92c-f02e82fa5a33
a=ssrc:1954271339 mslabel:ZwJfPBxjASsCVKqG8YCRPnFX4qJghpx4qMFL
a=ssrc:1954271339 label:4a6ecb5d-757e-49fb-a92c-f02e82fa5a33

and this log on the server:
"123" <sip:anonymous.pkmqtm@anonymous.invalid>;tag=itrs3njgec
got attempt record from network at 04:13:35.299751: pvgjq79d5dat1thbcvmt
got stop record from application at 04:13:35.442995 with reason call-rejected: pvgjq79d5dat1thbcvmt
"123" <sip:anonymous.pkmqtm@anonymous.invalid>;tag=itrs3njgec
got attempt record from network at 04:13:35.583809: pvgjq79d5dat1thbcvmt
invited
{"level":30,"time":1586924016082,"pid":19672,"hostname":"ip-172-31-36-242.eu-west-1.compute.internal","Call-ID":"pvgjq79d5dat1thbcvmt","family":"ipv4","scheme":"sip","user":"216548489848","host":"sip.xxxxxxxxx.com","port":null,"params":{},"headers":{},"msg":"received INVITE from tcp/<IP_ADDRESS>:62764","v":1}
got attempt record from application at 04:13:36.099270: 51862d92-f972-1238-6d8f-0a7d01e9ec20
  drachtio:fsmrf MediaServer#connectCaller - createUAC (srtp scenario) produced dialog for 0ec98c8c-a100-4256-9ffc-b6f8911f41f9: {"id":"51862d92-f972-1238-6d8f-0a7d01e9ec20;from-tag=QQDBBDcSjQHyH","type":"uac","sip":{"callId":"51862d92-f972-1238-6d8f-0a7d01e9ec20","remoteTag":"S1HZNXtQa9Njm","localTag":"QQDBBDcSjQHyH"},"local":{"uri":"sip:drachtio@xx.xx.xxx.xx:5080","sdp":"v=0\r\no=-<PHONE_NUMBER>259109555 2 IN IP4 <IP_ADDRESS>\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS 5xJ9e4MS3KNyoTQBqIDdfuMPpIYMiwQggYXO\r\nm=audio 51365 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 <IP_ADDRESS>\r\na=rtcp:9 IN IP4 <IP_ADDRESS>\r\na=candidate:202810205 1 udp<PHONE_NUMBER> 4eecf1cb-2932-412b-b51c-d7055a338a3c.local 51365 typ host generation 0 network-cost 999\r\na=candidate:2064909898 1 udp<PHONE_NUMBER> 66b8d9c7-28e6-4a76-861d-e3eda29d984f.local 51366 typ host generation 0 network-cost 999\r\na=candidate:842163049 1 udp<PHONE_NUMBER> <IP_ADDRESS> 51365 typ srflx raddr <IP_ADDRESS> rport 0 generation 0 network-cost 999\r\na=ice-ufrag:YXGI\r\na=ice-pwd:1b1lG2leOyBFqf54KyEFpaPe\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B6:98:2E:47:62:63:1D:00:7E:70:DC:4C:48:D1:46:D9:42:EE:07:FA:52:5F:4A:B0:F6:92:3C:1D:1D:0C:BA:16\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:5xJ9e4MS3KNyoTQBqIDdfuMPpIYMiwQggYXO f781d4fa-72b8-4d5e-9bfd-fc0c1e2ee3a7\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1649915407 cname:rU8S4MsviOOAbf9s\r\na=ssrc:1649915407 msid:5xJ9e4MS3KNyoTQBqIDdfuMPpIYMiwQggYXO f781d4fa-72b8-4d5e-9bfd-fc0c1e2ee3a7\r\na=ssrc:1649915407 mslabel:5xJ9e4MS3KNyoTQBqIDdfuMPpIYMiwQggYXO\r\na=ssrc:1649915407 label:f781d4fa-72b8-4d5e-9bfd-fc0c1e2ee3a7\r\n","contact":"<sip:xx.xxx.xx.xxx:5060>"},"remote":{"uri":"sip:drachtio@xx.xx.xxx.xx:5080;transport=udp","sdp":"v=0\r\no=FreeSWITCH<PHONE_NUMBER><PHONE_NUMBER> IN IP4 xx.xx.xxx.xx\r\ns=FreeSWITCH\r\nc=IN IP4 xx.xx.xxx.xx\r\nt=0 0\r\na=msid-semantic: WMS B2M62ClAsrUVucaEUHsDX6awM9D5sG5T\r\nm=audio 28130 UDP/TLS/RTP/SAVPF 111 110\r\na=rtpmap:111 opus/48000/2\r\na=fmtp:111 useinbandfec=1; minptime=10\r\na=rtpmap:110 telephone-event/48000\r\na=ptime:20\r\na=fingerprint:sha-256 2D:15:DC:8E:4C:37:14:B8:E8:94:11:A5:D9:39:C1:F5:ED:1A:BD:1A:50:1E:9D:5D:A4:7F:7A:B0:74:84:E8:76\r\na=setup:active\r\na=rtcp-mux\r\na=rtcp:28130 IN IP4 xx.xx.xxx.xx\r\na=ice-ufrag:MpRAmSWYRpU9WPSl\r\na=ice-pwd:nyCopjHyKM0eRYsud9UqSGez\r\na=candidate:9735191008 1 udp 659136 xx.xx.xxx.xx 28130 typ host generation 0\r\na=end-of-candidates\r\na=ssrc:2198349304 cname:yIPra1RtiBeCDf7n\r\na=ssrc:2198349304 msid:B2M62ClAsrUVucaEUHsDX6awM9D5sG5T a0\r\na=ssrc:2198349304 mslabel:B2M62ClAsrUVucaEUHsDX6awM9D5sG5T\r\na=ssrc:2198349304 label:B2M62ClAsrUVucaEUHsDX6awM9D5sG5Ta0\r\n"},"onHold":false} +7s
got start record from network at 04:13:36.118252 with role uac: 51862d92-f972-1238-6d8f-0a7d01e9ec20
got start record from application at 04:13:36.179529 with role uas: pvgjq79d5dat1thbcvmt
  drachtio:fsmrf MediaServer#_onNewCall: xx.xx.xxx.xx received new call with tracking uuid: 0ec98c8c-a100-4256-9ffc-b6f8911f41f9 +1s
  drachtio:fsmrf MediaServer#connectCaller - (srtp scenario) produceEndpoint for 0ec98c8c-a100-4256-9ffc-b6f8911f41f9 +0ms
  drachtio:fsmrf Endpoint#ctor creating endpoint with uuid db58396a-cff8-4020-90f9-353acf4f6a11, is3pcc: undefined +0ms
  drachtio:fsmrf Endpoint#api uuid_set_media_stats db58396a-cff8-4020-90f9-353acf4f6a11 +1ms
  drachtio:fsmrf Endpoint#api response: [{"headers":[{"name":"Content-Type","value":"api/response"},{"name":"Content-Length","value":5}],"hPtr":null,"body":"+OK:\n"},{"Content-Type":"api/response","Content-Length":5},"+OK:\n"] +62ms
  drachtio:fsmrf Endpoint#api uuid_dump db58396a-cff8-4020-90f9-353acf4f6a11 +1ms
  drachtio:fsmrf Endpoint#api response: [{"headers":[{"name":"Content-Type","value":"api/response"},{"name":"Content-Length","value":10696}],"hPtr":null,"body":"Event-Name: CHANNEL_DATA\nCore-UUID: ca2b1398-721f-4acc-a626-0a891aa3326b\nFreeSWITCH-Hostname: ip-172-31-27-248\nFreeSWITCH-Switchname: ip-172-31-27-248\nFreeSWITCH-IPv4: <IP_ADDRESS>\nFreeSWITCH-IPv6: %3A%3A1\nEvent-Date-Local: 2020-04-15%2004%3A13%3A37\nEvent-Date-GMT: Wed,%2015%20Apr%202020%2004%3A13%3A37%20GMT\nEvent-Date-Timestamp:<PHONE_NUMBER>709736\nEvent-Calling-File: mod_commands +60ms
  drachtio:fsmrf MediaServer#createEndpoint - (srtp scenario) returning endpoint for uuid 0ec98c8c-a100-4256-9ffc-b6f8911f41f9 +1ms
  drachtio:fsmrf Endpoint#execute play_and_get_digits 1 1 1 5000 # https://xxxxxxxxx.com/audio/ivr.wav silence_stream://250 myDigitBuffer \d+ 8000 +1ms
  drachtio:fsmrf Endpoint#execute playback silence_stream://500 +1ms
DTMF SIP info: 1
1

I tested this action with 3 different targets.

Bria
Zoiper
Twilio sip trunk

and got different errors after the IVR route the call to its destination:

Bria:

SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP xx.xxx.xx.xxx;rport=5060;branch=z9hG4bKp428323yaSr4B
To: <sip:216548489848@<IP_ADDRESS>:62890>;tag=e8359f2f;rinstance=277ebb273d880d0c
From: "123" <sip:anonymous.pkmqtm@anonymous.invalid>;tag=itrs3njgec
Call-ID: 5383c761-f972-1238-6d8f-0a7d01e9ec20
CSeq: 18908217 INVITE
User-Agent: Bria release 6.1.0 stamp 103104
Warning: 305 devnull "SDP: Incompatible media format: no common codec"
Content-Length: 0

Zoiper:

SIP/2.0 484 Address Incomplete
Via: SIP/2.0/UDP xx.xxx.xx.xxx;rport=5060;branch=z9hG4bKcBFaBppcBX2Za
To: <sip:+97252xxxxxxx@<IP_ADDRESS>:3548>;tag=79e4ae08;transport=UDP;rinstance=64c4222e2e6bc476
From: "123" <sip:anonymous.337sc7@anonymous.invalid>;tag=98bvd6v7mv
Call-ID: 73845899-f974-1238-6d8f-0a7d01e9ec20
CSeq: 18908674 INVITE
User-Agent: Zoiper rv<IP_ADDRESS>
Content-Length: 0

Twilio sip trunk:

SIP/2.0 488 Not Acceptable here
CSeq: 18908787 INVITE
Call-ID: f93afde7-f974-1238-6d8f-0a7d01e9ec20
From: <sip:+97233765340@xx.xxx.xx.xxx:5060>;tag=Na8Q3ZH69pH8Q
To: <sip:+97252xxxxxxx@xxxxxxxxx.pstn.de1.twilio.com:5060>;tag=57869687_6772d868_402c0d80-8a07-411e-a437-73a3f63905b7
Via: SIP/2.0/UDP xx.xxx.xx.xxx;received=xx.xxx.xx.xxx;rport=5060;branch=z9hG4bKHrD6KXayv9HXm
Server: Twilio
Contact: <sip:<IP_ADDRESS>:5060>
X-Twilio-Error: 32102 The SDP is not correctly formatted.
Warning: 305 Twilio "Incompatible media format"
Content-Length: 0

I think this is expected.  You are saying (I think) that you can connect an inbound call to the media server for IVR (or presumably) a conference.  Your outdials though are not working though.
I don't completely understand how your app is constructed, can you provide more details.
Keeping focused on this issue however -- "connectCaller times out with webRTC client" -- I still need to know if this is now fixed

I have confirmed in my test that this now works.  I'm going to be closing this issue shortly (once I migrate the fix from beta into a latest release).
There is more still to do be done -- specifically, there needs to be some way to call Mediaserver#createEndpoint with no remote sdp and get back SRTP, for when you know you want to offer SRTP on an invite (e.g. you are sending a call to a registered webrtc client).  But that is not what this issue is about.
Here is a sample test app that works when I call it from a webrtc client.  It

connects the call to freeswitch using SRTP
plays a prompt
allocates a new RTP endpoint and then dials through twilio to a PSTN phone, bridging the webrtc endpoint to the PSTN.

https://gist.github.com/davehorton/ca8a9e3820eddcb8b71c9eb4efd224b9

fixed in 2.0.0

It still not working, also with v2.0.0, with your sample code.
I just modified the srf and mrf configuration.
 This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:18700) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This means that freeswitch was not able to establish the outbound esl connection from freeswitch to your application.  Most probably a configuration issue on your side having to do with where your app is running , and what IP it is listening on (e.g an IP that is not reachable from the freeswitch).
In my configuration the drachtio app, drachtio server, and freeswitch were all running on the same server, which does simplify things a bit.

I tested it now with chrome and it is working as expected, but with firefox it is not working.
Any idea why firefox cannot handle the sdp from freeswitch, but can handle the sdp from rtpengine?

Okay, with firefox - it is timeout problem.
I changed it in mediaserver.js from 4000 to 20000 and it is working as expected.
I think that the difference is the a=setup line in the sdp.
In rtpengine it is a=setup:passive
In freeswitch it is a=setup:active
So for now i must stay with rtpengine as bridge to freeswitch, because it is not acceptable for the user to wait too much time

That is very strange.  It would be good to see what the freeswitch logs (set to debug) look like for the firefox scenario

OK, it is not problem of the a=setup line.
I forced freeswitch to use passive, and it is still took very long time.
Something around 9-10 seconds in either case.
I will try later to check the logs


_reload() takes 0 positional arguments but 1 was given

https://github.com/Kitware/trame-vuetify/blob/master/trame_vuetify/ui/vuetify.py#L115

self.server.controller.on_server_reload(self.server)

https://github.com/Kitware/paraview-visualizer/blob/master/pv_visualizer/app/ui/main.py#L21

def _reload():

They are several event listener on_server_reload didn't have argument in paraview-visualizer makes the reload didn't works.
Is argument self.server necessary?

It is paraview-visualizer that should update its API expectation. That was added on purpose.