[Question] how to add en embed binary (framework) ?

Context 🕵♀
It's not an issue, I'm trying to understand what is possible to do with xcodeproj.
I have a project with MANY targets (more than 100). Sometimes I create a new framework, and I need to embed the framework by hand on all targets,. It takes dozens of minutes.
Illustration :
https://developer.apple.com/library/archive/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-EMBED_IN_APP_SECTION

What 🌱
So would it be possible to add an embed binary to all targets by script with xcodeproj ?
Is there a small exemple or tutorial showing how to use xcodeproj ?

Hey @jpsarda. Thanks for bringing this up. Unfortunately, we haven't done much work in documenting common use cases of xcodeproj. In fact, I have planned to write a blog post with some examples that show how to use xcodeproj and how Xcode projects are structured.
Answering your question. Yes, it's possible to do everything that you can do with Xcode, but you need to understand a bit of the structure. Here's how you can achieve that:

Read the project with xcodeproj.
You can find the copy binaries build phase by traversing the copyBuildPhases attribute and finding the one that copies the files into the frameworks directory.
The build phase has a files attribute. You can add your embedded frameworks there. To do so, you need to create a PBXBuildFile that references the framework file reference.

I recommend you doing it by hand and checking the git diff. That'll tell you what exactly needs to be added and modified in the project, and you'll have to implement it using Swift and the xcodeproj library. Also, have a look at this method because it does exactly what you are trying to do.

Thank you, very helpful indeed. How can I be notified of your blog post ? I'm interested in an hello world example. I'm not sure yet how to use the tool, it's swift based but it's to be used in scripting mode and not to be used in Xcode, right ?

Exactly, you need to implement your own command line tool that makes use of the library. You can follow the Tuist blog. I plan to write it on Christmas.

Hey @jpsarda. Apologies for taking me longer than expected to write something up. Here's the blog post https://ppinera.es/2019/03/15/xcodeproj/ . I hope it helps you better understand how Xcode projects are structured.
For the next major version we plan to add more documentation around it.


Minor changes to qbee recipe + github actions workflow

Thank you for the pr.
I'm sorry for the late reply here, I've somehow missed the notification.
We are trying to use separate branches for the yocto code names. Could you indicate which yocto code name you have tested this on? Your github actions workflow indicate that it's hardknott.

Closing as this is only relevant for qbee-agent v1, which is end of development.


Replaced Javafaker with Datafaker and upgrade of several dependencies.

Hi there, I'm one of the maintainers of Datafaker, which is an active fork of Javafaker. Javafaker is no longer maintained, and contains several bugs and security issues. I've also upgraded some of the other dependencies to keep the dependencies up to data.

I once revoked a similar PR since I didn't get an answer: https://github.com/dasniko/testcontainers-keycloak/pull/63
So, where are the benefits since I use it only in a test and as an example of how to use any 3rd party lib?
Additionally, PRs shouldn't be mixed up. So, upgrading any other deps should be done in a separate PR.

Sorry, I wasn't aware of that PR.
If you flip the question, and ask me why you should stay on a library which has several known CVEs, which is no longer maintained, which has several known bugs, then I would find that question hard to answer.
So, instead I'm suggesting something which makes the code slightly better in terms of dependencies, and I took the liberty of updating several more dependencies and make sure the application still works. Having said that : you're right, the value of this PR is probably not great in the bigger scheme of things, but personally I like to keep up to data with dependencies, it makes maintenance usually a bit easier.
We don't gain anything from having you on our library in any case, just hoped you'd appreciate it. If you see no value in this, no problem at all.


[Feature] Upgrade Armeria apm-sdk-plugin from 0.98.x to 1.21.x

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
The latest version supported by the apm-sdk-plugin of Skywalking is 0.98. Upgrade the apm-sdk-plugin to armeria-1.21.x.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The plugin is designed for specific versions. Basically, when we face incompatible new version, we should create a new plugin for newer versions, rather than bumping up version.

https://skywalking.apache.org/docs/skywalking-java/next/en/setup/service-agent/java-agent/java-plugin-development-guide/#implement-plugin
Witness class and methods could be used to help plugin identifying versions.

Set up witnessClasses and/or witnessMethods if the instrumentation has to be activated in specific versions.

OK，I'm sorry I'm not accurate, I mean by creating a new version plugin to adapt to the new version.

For maven module management under the apm-sdk-plugin directory, I have the following ideas:

SDK main module naming format: apm - ${sdk_name} - plugins, where ${sdk_name} is the real name of the sdk, for example: apm-armeria-plugins

The naming format of the sub-module under the main module of the SDK: apm - ${sdk_name} - ${version} - plugins, where ${sdk_name} is the real name of the sdk, and ${version} is the adaptive version of the SDK, for example: apm-armeria-0.99.x-plugin

The directory name of Maven module is consistent withandin pom.xml.

To sum up, take "armeria" as an example to show the structure of maven module as shown below:

I think this is not an issue about changing the folder structure. You are better to submit a pull request to add apm-armeria-plugins and move the existing two into it, then send another pull request for the new feature.

That's a good idea.

Are you still working on this?

Yes, I will submit it this weekend

@zhangrm New feature has been merged. Please follow up the discussion, and move the existing two plugins into the new created folder.

This issue has been resolved


Wrong description in Stride installer when missing Visual Studio component

Release Type: Official Installer
Version: (?)
Platform(s): Windows
Describe the bug
When installing Stride, if you are missing the Development Tools component, the installer says ".NET Core 2.1 Runtime (LTS)" is missing and needs to be installed, however this is incorrect.
As per this line
https://github.com/stride3d/stride/blob/b73b2a956422171c4173cecc7d5433d2d9c67d36/sources/tools/Stride.PackageInstall/Program.cs#L25
the installer is looking for Microsoft.NetCore.ComponentGroup.DevelopmentTools.2.1, but this is called Development Tools plus .NET Core 2.1 as seen in this link https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2019
The closest match to the description .NET Core 2.1 Runtime (LTS) is the one with ID Microsoft.Net.Core.Component.SDK.2.1 as per this link https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-build-tools?view=vs-2019
Expected behavior
Need the installer to state the correct missing/required component.

I noticed this too, I got really confused while installing because of this. I installed like 10gb of .net runtimes and sdks and it finally worked so.

I noticed this too, I got really confused while installing because of this. I installed like 10gb of .net runtimes and sdks and it finally worked so.

Corrected and merged with PR #988 (commit 065b78b61219b41651eb813f8b29e1767305cc09). The issue can be closed.

Corrected and merged with PR #988 (commit 065b78b61219b41651eb813f8b29e1767305cc09). The issue can be closed.

Corrected and merged with PR #988 (commit 065b78b). The issue can be closed.

Thanks.
FYI, if you write something like Fixes #985 in the PR, Github can usually detect the link and auto-close the issue.

Corrected and merged with PR #988 (commit 065b78b). The issue can be closed.

Thanks.
FYI, if you write something like Fixes #985 in the PR, Github can usually detect the link and auto-close the issue.


Summary table with cluster details page ?

In https://github.com/coiled/coiled-runtime/pull/433 we added the cluster id/name/details_url to the database. But we are only exposing the cluster_id in the plots via the tooltip.
I noticed that having the details page handy to click is useful but I wonder how do we want to access this information.
Currently, when a CI run fails, you can find it in the info logs:

However, when there is no failure is hard to put the pieces together. @ian-r-rose and I were thinking of doing a summary table (like the regressions one) that has the details page links.
How people would like this table to be?
Is test_module.py | cluster_details_url enough or do we want something else?
Should we have instead test_module | test_name | cluster_details_url ?
Thoughts?
cc: @ntabris @gjoseph92 since you mentioned this would be useful.

Closing this, as we have this info in when clicking on any plot.


unescape() has deparcated

escape() has deprecated in Javascript 1.5. Use encodeURI() or encodeURIComponent() instead.

Where in the codebase are you referring to? I don't see anything called escape.

Sorry it is unescape(). at `template.js:

We define that function and shadow the built-in, so there's nothing deprecated here.


The argument type 'KeyEvent' can't be assigned to the parameter type 'RawKeyEvent'

I'm using pluto_grid_plus: 8.4.0
I can't use 8.4.1, cause there is dependency conflict in my project
Resolving dependencies...
Note: intl is pinned to version 0.18.1 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_test from sdk depends on intl 0.18.1 and pluto_grid_plus >=8.4.1 depends on intl ^0.19.0,
  flutter_test from sdk is incompatible with pluto_grid_plus >=8.4.1.
So, because iconsole depends on both pluto_grid_plus ^8.4.1 and flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on pluto_grid_plus: flutter pub add pluto_grid_plus:^8.4.0

/lib/src/manager/shortcut/pluto_grid_shortcut.dart:33:39: Error: The argument type 'KeyEvent' can't be assigned to the parameter type 'RawKeyEvent'.
not like this one: https://github.com/doonfrs/pluto_grid_plus/issues/6
the message is opposite
I really need this to customize the filter widgets
use this locally is also an option, if can remove all the errors

ok，8.4.1 is ok, need ti upgrade everything, will close this one


Federated sign in (Not hosted web UI) results in signedOutFederatedTokensInvalid (Invalid login token. Issuer doesn't match providerName)

Describe the bug
I am trying to implement Federated sign in (Not hosted web UI) in SwiftUI and I am having a lot of trouble.
I have read through the Amazon documentation and many other references online with no success. The tutorials point to hosted UI which is not a great user experience.
Most helpful bug reference in understanding federated identities: https://github.com/aws-amplify/aws-sdk-ios/issues/4394
Like the bug above, I thought based on the documentation federatedSignIn actually logs the user in but that was incorrect. So then I tried calling AWSMobileClient.default().getAWSCredentials.
See below for debug console logs. I do not have experience with Cognito. What does this error mean? How do I debug this issue further?
Steps To Reproduce
Steps:

1. On startup call,

    private func configureAmplify() {
        do {
            try Amplify.add(plugin: AWSCognitoAuthPlugin())
            try Amplify.configure()
            Amplify.Logging.logLevel = .verbose

            AWSDDLog.sharedInstance.add(AWSDDTTYLogger())
            AWSDDLog.sharedInstance.logLevel = .verbose

        } catch {
            print("Could not configure Amplify", error)
        }
    }

2. After getting GIDGoogleUser from GIDSignIn.sharedInstance.signIn(with: signInConfig, presenting:vc), I call Login using federated identities with user.authentication.idToken

    guard
        let plugin = try? Amplify.Auth.getPlugin(for: AWSCognitoAuthPlugin().key),
        let authPlugin = plugin as? AWSCognitoAuthPlugin,
        case .awsMobileClient(let client) = authPlugin.getEscapeHatch()
    else { return }

    client.federatedSignIn(providerName: “Google”, token: userId)

Note: I have also tried “SignInWithGoogle” as the provider name and it still did not work.

3. Call AWSMobileClient.default().getAWSCredentials

Expected behavior
I expect the status to be signedIn and not signedOutFederatedTokensInvalid
Amplify Framework Version
1.28.3
Amplify Categories
Auth
Dependency manager
Cocoapods
Swift version
5.7
CLI version
10.5.1
Xcode version
Xcode 14.0.1 (14A400)
Relevant log output
<details>
<summary>Log Messages</summary>

Request headers:
{
    "Content-Type" = "application/x-amz-json-1.1";
    Host = "cognito-identity.us-west-2.amazonaws.com";
    "User-Agent" = "amplify-iOS/1.28.3 iOS/16.0 en_US";
    "X-Amz-Date" = 20221205T011951Z;
    "X-Amz-Target" = "AWSCognitoIdentityService.GetId";
}
Request body:
{"IdentityPoolId":"us-west-2:dd41e89c-1285-47d0-b6af-31cdf0407f95","Logins":{"Google”:”TOKEN FROM GOOGLE (user.authentication.idToken)”}}
Response headers:
{
    "Content-Length" = 102;
    "Content-Type" = "application/x-amz-json-1.1";
    Date = "Mon, 05 Dec 2022 01:19:51 GMT";
    "Strict-Transport-Security" = "max-age=31536000; includeSubDomains";
    "x-amzn-errormessage" = "Invalid login token. Issuer doesn't match providerName";
    "x-amzn-errortype" = "NotAuthorizedException:";
    "x-amzn-requestid" = "dd5ea637-eb70-462b-b22e-82f4809ab3a4";
}
Response body:
{"__type":"NotAuthorizedException","message":"Invalid login token. Issuer doesn't match providerName"}
GetId failed. Error is [Error Domain=com.amazonaws.AWSCognitoIdentityErrorDomain Code=8 "(null)" UserInfo={__type=NotAuthorizedException, message=Invalid login token. Issuer doesn't match providerName}]
Unable to refresh. Error is [Error Domain=com.amazonaws.AWSCognitoIdentityErrorDomain Code=8 "(null)" UserInfo={__type=NotAuthorizedException, message=Invalid login token. Issuer doesn't match providerName}]
[Amplify] AWSMobileClient Event listener - signedOutFederatedTokensInvalid
Error fetching credentials unableToSignIn(message: "Could not get valid federation token from the user.")
Listener: user logged in via federation, but currently needs new tokens!!!

```
Is this a regression?
No
Regression additional context
No response
Device
iPhone 14 - Simulator
iOS Version
16.0
Specific to simulators
No response
Additional context
No response

To add:

I setup my identity pool using the amplify CLI
I have added the google client ID under Cognito -> Manage identity pools -> click on pool -> Edit Identity Pool -> Authentication providers -> Google+

Entered: IDENTIFIER.apps.googleusercontent.com

In my app, I have added the client ID under URL schemes: com.googleusercontent.apps.IDENTIFIER

@mtantawy1 It looks like the providerName and token parameters are incorrect. Please update your code base on the following code example and let us know if you're still having issues.  Please provide the amplifyconfiguration.json with identifiable information redacted if you're still getting issues.
import AWSMobileClientXCF

func signIn(user: GIDGoogleUser) {
      guard let token = user.idToken?.tokenString else { return }
      AWSMobileClient.default().federatedSignIn(providerName: IdentityProvider.google.rawValue, token: token) { userState, error in
          print(userState)
      }
}

Amazing! The provider name was incorrect and updating per your feedback to (IdentityProvider.google.rawValue) worked.
I spend quite a bit of time attempting to debug this issue without success so I really appreciate your help.
I may have missed some documentation. To reduce future questions, can you point me to the documentation that had this information to use IdentityProvider enum for federated identity login etc.?
Thank you!

@mtantawy1 The documentation and code snippet referencing facebook federated sign in via IdentityProvider is from here: https://docs.amplify.aws/sdk/auth/federated-identities/q/platform/ios/
In general,
Docs for Amplify V2 https://docs.amplify.aws/lib/q/platform/ios/
Docs for Amplify V1: https://docs.amplify.aws/lib-v1/q/platform/ios/
Docs for AWS iOS SDK: https://docs.amplify.aws/sdk/q/platform/ios/


Not working on MacOS

I am using Vapor 3.3 and SendGrid:
{
        "package": "SendGrid",
        "repositoryURL": "https://github.com/vapor-community/sendgrid-provider.git",
        "state": {
          "branch": null,
          "revision": "4fca9d02fee4f343666e73651fedd4d26ed048e8",
          "version": "3.0.6"
        }
 },

Running on MacOS I get this error.
2019-07-17 17:39:06.889052+0100 Run[37773:963087] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=37773
2019-07-17 17:39:06.889161+0100 Run[37773:963087] SecTaskCopyDebugDescription: Run[37773]/0#-1 LF=0
2019-07-17 17:39:06.909563+0100 Run[37773:963087] [] nw_socket_service_writes_block_invoke [C1.1:3] sendmsg(fd 25, 517 bytes) [54: Connection reset by peer]
2019-07-17 17:39:06.909600+0100 Run[37773:963087] [BoringSSL] nw_protocol_boringssl_error(1584) [C1.1:2][0x104c14ce0] Lower protocol stack error: 54
2019-07-17 17:39:06.909708+0100 Run[37773:963087] [BoringSSL] nw_protocol_boringssl_input_finished(1543) [C1.1:2][0x104c14ce0] Peer disconnected during the middle of a handshake. Sending errSSLClosedNoNotify(-9816) alert
2019-07-17 17:39:06.911942+0100 Run[37773:963087] TIC TCP Conn Failed [1:0x104822200]: 3:-9816 Err(-9816)
2019-07-17 17:39:06.950022+0100 Run[37773:963087] [] nw_socket_service_writes_block_invoke [C2.1:3] sendmsg(fd 25, 517 bytes) [54: Connection reset by peer]
2019-07-17 17:39:06.950050+0100 Run[37773:963087] [BoringSSL] nw_protocol_boringssl_error(1584) [C2.1:2][0x104c18b30] Lower protocol stack error: 54
2019-07-17 17:39:06.950094+0100 Run[37773:963087] [BoringSSL] nw_protocol_boringssl_input_finished(1543) [C2.1:2][0x104c18b30] Peer disconnected during the middle of a handshake. Sending errSSLClosedNoNotify(-9816) alert
2019-07-17 17:39:06.950482+0100 Run[37773:963087] TIC TCP Conn Failed [2:0x101c37340]: 3:-9816 Err(-9816)
2019-07-17 17:39:06.973341+0100 Run[37773:963087] [] nw_socket_service_writes_block_invoke [C3.1:3] sendmsg(fd 25, 193 bytes) [54: Connection reset by peer]
2019-07-17 17:39:06.973364+0100 Run[37773:963087] [BoringSSL] nw_protocol_boringssl_error(1584) [C3.1:2][0x104824dc0] Lower protocol stack error: 54
2019-07-17 17:39:06.973400+0100 Run[37773:963087] [BoringSSL] nw_protocol_boringssl_input_finished(1543) [C3.1:2][0x104824dc0] Peer disconnected during the middle of a handshake. Sending errSSLClosedNoNotify(-9816) alert
2019-07-17 17:39:06.973684+0100 Run[37773:963087] TIC TCP Conn Failed [3:0x101a8aca0]: 3:-9816 Err(-9816)
2019-07-17 17:39:06.974081+0100 Run[37773:963087] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9816)
2019-07-17 17:39:06.974117+0100 Run[37773:963087] Task <67AF45D5-ECD8-4E2D-B297-850A00B40904>.<1> HTTP load failed (error code: -1200 [3:-9816])
2019-07-17 17:39:06.974187+0100 Run[37773:961884] Task <67AF45D5-ECD8-4E2D-B297-850A00B40904>.<1> finished with error - code: -1200
[ ERROR ] Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9816, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x101c16a10 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9816, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9816}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://api.sendgrid.com/v3/mail/send, NSErrorFailingURLStringKey=https://api.sendgrid.com/v3/mail/send, _kCFStreamErrorDomainKey=3} (ErrorMiddleware.swift:26)
[ DEBUG ] Conform `NSURLError` to `Debuggable` for better debug info. (ErrorMiddleware.swift:26)

Running with a Ubuntu 18 docker container there is no issue.

I don't know why this is suddenly working again now. I suspect something weird was happening with my local setup but its currently working again from the macOS Xcode run.


[boost-multi-array] Additional dependencies for boost multiarray

Describe the pull request

What does your PR fix? Fixes
dependency for boost multiarray

Which triplets are supported/not supported? Have you updated the CI baseline?

Does your PR follow the maintainer guide?

What issue does this fix?

If I were to use boost multiarray, IMO, vcpkg install boost-multi-array followed by use of it in a project using cmake should work out of the box. But without this patch, my compilation fails. It includes other headers e.g. boost-array https://github.com/boostorg/multi_array/blob/3b405720559ff9acc968e1a40102ca6245a64e6c/include/boost/multi_array.hpp#L38. So I think when I do vcpkg install boost-multi-array it should get all other necessary header/packages too.

@dan-shaw ping!

Thanks for your contribution!


The "running dude" button generates simulations of inconsistent duration

Steps to reproduce:

Open a model and set the :running_man: end time to 5.0.
Click :running_man: and play the animation.
Repeat step 2.

Results:
Simulations are 4.993, 4.999, and 4.998 seconds long.

Environment:
OpenSim-078b8daf-2018-01-26.zip (obtained from AppVeyor artifacts) on Windows.

This might be related to the state that the Manager returns, which may have been changed in the improvements to Manager.

Jenny has this issue too with the Tug Of War model and the Forward Tool. The final time in the forward tool was 0.5 but the simulation only went to 0.48 seconds. So, this is not only an issue with the running dude.
UEFS

I believe this is fixed by PR #571 Please verify when it's merged

Since PR #571 has been merged, this should be fixed in latest build.

This is fixed for me Windows 10 OpenSim-e7831221-2018-03-06

Verified using :running_man: button and Forward Tool. AppVeyor artifact OpenSim-e7831221-2018-03-06.zip.

Reopening because @jenhicks tested using the same AppVeyor artifact and I presume wants this tested on mac also?


Setting config variables in AngularJS web app

I've got an application using the sample cards demo sitting here.
If you try it out on your phone (or using Chromes dev tools and set it to emulate a phone screen) you can see that the throwout distance is pretty far. I'm using the same controller code as is in the demo as you can see here.
I'm wondering how we can set the configs as is referenced here? I'd like to be able to adjust the distance so it doesn't just sit outside the stage but instead disappears.

+1
It doesn't seem to work with $scope.options and swing-options="options".

+1
Still a problem. Interesting there was code fix for this already in the directive. But seems to have been reverted.

@gajus Looks like the npm build is simply out of date. Can you update with the latest code?

@gajus I think npm still contains version 1.0.0


core: c++ implementation of main_interface

WIP will update description.
This PR implements the interface introduced in #225

@goaway this is a green build of what I had been working on plus what we worked on this afternoon. Note I left two FIXMEs behind.

closing to create draft PR


⚠ Bofrost.es has degraded performance

In a519902, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1315 ms

Resolved: Bofrost.es performance has improved in bcba7e6 after 20 minutes.


Velero backup on AWS giving errors

What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.)
Creating Velero backup on AWS fails with Error: PartiallyFailed
Installed Velero 1.0.0 using the guide: https://velero.io/docs/v1.0.0/aws-config/

Velero Installation command
helm upgrade --install velero stable/velero
--namespace kube-addons
--set image.tag=v1.0.0
--set rbac.create=true
--set configuration.provider=aws
--set configuration.backupStorageLocation.name=aws
--set configuration.backupStorageLocation.bucket=obscured
--set configuration.backupStorageLocation.config.region=us-west-2
--set snapshotsEnabled=false
--set credentials.useSecret=false
--values kube2iam.yaml
--dry-run=false --debug

Generated manifest
https://gist.github.com/rajakshay/7b0e93d5742c9a21278661dc1d2d008c

Tried creating a backup

velero backup create test-backup
Backup request "test-backup" submitted successfully.
Run `velero backup describe test-backup` or `velero backup logs test-backup` for more details.

Then, ran velero backup describe test-backup

Name:         test-backup
Namespace:    kube-addons
Labels:       velero.io/storage-location=default
Annotations:  <none>

Phase:  PartiallyFailed (run `velero backup logs test-backup` for more information)

Errors:    1
Warnings:  0

Namespaces:
  Included:  *
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Label selector:  <none>

Storage Location:  default

Snapshot PVs:  auto

TTL:  720h0m0s

Hooks:  <none>

Backup Format Version:  1

Started:    2019-07-19 13:44:06 -0700 PDT
Completed:  2019-07-19 13:44:14 -0700 PDT

Expiration:  2019-08-18 13:44:06 -0700 PDT

Persistent Volumes: <none included>

What did you expect to happen:
Backup should have completed without an error.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)

kubectl logs deployment/velero -n kube-addons
https://gist.github.com/rajakshay/5a320dad498c1fad90ed83073a84f3e4

velero backup describe <backupname> or kubectl get backup/<backupname> -n velero -o yaml

Name:         test-backup
Namespace:    kube-addons
Labels:       velero.io/storage-location=default
Annotations:  <none>

Phase:  PartiallyFailed (run `velero backup logs test-backup` for more information)

Errors:    1
Warnings:  0

Namespaces:
  Included:  *
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Label selector:  <none>

Storage Location:  default

Snapshot PVs:  auto

TTL:  720h0m0s

Hooks:  <none>

Backup Format Version:  1

Started:    2019-07-19 13:44:06 -0700 PDT
Completed:  2019-07-19 13:44:14 -0700 PDT

Expiration:  2019-08-18 13:44:06 -0700 PDT

Persistent Volumes: <none included>

velero backup logs <backupname>
https://gist.github.com/rajakshay/eda6b04f54b6baa1ddfc067af5a26f0f

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Velero pod logs
https://gist.github.com/rajakshay/4fe13a7abe64944ad1adc15d52d54e09

Grepping error log from velero pod
kubectl logs -n kube-addons <velero-pod-name> | grep error

time="2019-07-19T20:16:06Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero
time="2019-07-19T20:17:06Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero
time="2019-07-19T20:20:06Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero
time="2019-07-19T20:39:10Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero

Grepping error log from backup logs:
velero backup logs test-backup | grep error

time="2019-07-19T20:44:07Z" level=error msg="Error getting volume snapshotter for volume snapshot location" backup=kube-addons/test-backup error="unable to locate VolumeSnapshotter plugin named velero.io/" group=v1 logSource="pkg/backup/item_backupper.go:410" name=pvc-12dca563-8331-11e9-9822-06e7522f5c62 namespace=kube-addons persistentVolume=pvc-12dca563-8331-11e9-9822-06e7522f5c62 resource=pods volumeSnapshotLocation=default

CRDs that got created (Please ignore the timestamps since I updated the ticket later with one of the terminal outputs. But, I have validated that these were the only CRDs existing on the cluster)
kubectl get crd -n kube-addons

NAME                                                  CREATED AT
backups.velero.io                                     2019-07-19T23:18:22Z
backupstoragelocations.velero.io                      2019-07-19T23:18:22Z
deletebackuprequests.velero.io                        2019-07-19T23:18:22Z
downloadrequests.velero.io                            2019-07-19T23:18:22Z
podvolumebackups.velero.io                            2019-07-19T23:18:22Z
podvolumerestores.velero.io                           2019-07-19T23:18:22Z
resticrepositories.velero.io                          2019-07-19T23:18:22Z
restores.velero.io                                    2019-07-19T23:18:22Z
schedules.velero.io                                   2019-07-19T23:18:22Z
serverstatusrequests.velero.io                        2019-07-19T23:18:22Z
volumesnapshotlocations.velero.io                     2019-07-19T23:18:22Z

Note I am deploying in custom namespace. But, even when I deployed to namespace velero, the result is no different.
Environment:

Velero version (use velero version):

Client:
	Version: v1.0.0
	Git commit: -
Server:
	Version: v1.0.0

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-19T22:12:47Z", GoVersion:"go1.12.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:02:58Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes installer & version:
kops & KOPS_BINARY_VERSION=1.14.0-alpha.1

Helm Version( use helm version)

Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"}

Cloud provider or hardware configuration:
AWS. EC2/r4.large

OS (e.g. from /etc/os-release):

PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"`

OS (from uname -a)

Linux ip-**obscured** 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux```

can you provide the output of velero snapshot-location get -o yaml?

It looks like you're missing configuration for the volume snapshot location -- see the Values.yaml file around https://github.com/helm/charts/blob/master/stable/velero/values.yaml#L87

It looks like you're missing configuration for the volume snapshot location -- see the Values.yaml file around https://github.com/helm/charts/blob/master/stable/velero/values.yaml#L87

Thank you @skriss for helping me debug this issue.
For anyone following this issue, here was my problem:
I had a cached version velero-2.0.3 of this chart present on my local machine, and the feature that I was looking for (disabling PV snapshots) was included in the chart version 2.1.1 https://github.com/helm/charts/pull/15259/files
I never realized that I was using a cached copy until after your comment.
Since, I am setting snapshotsEnabled=false, I should not need a  volume snapshot location configuration.
The only weird thing that I notice is that the CRD volumesnapshotlocations still gets created. Which should not be the case due to this line: https://github.com/helm/charts/blob/master/stable/velero/templates/volumesnapshotlocation.yaml#L1
Or at least the intention was to not create it (if not needed) as per the explanation on the chart README, and here: https://github.com/helm/charts/blob/master/stable/velero/values.yaml#L152
My understanding about how this should work may not be incorrect here though.
kubectl get crd -n kube-addons | grep velero
backups.velero.io                                     2019-07-22T21:07:57Z
backupstoragelocations.velero.io                      2019-07-22T21:07:57Z
deletebackuprequests.velero.io                        2019-07-22T21:07:57Z
downloadrequests.velero.io                            2019-07-22T21:07:57Z
podvolumebackups.velero.io                            2019-07-22T21:07:57Z
podvolumerestores.velero.io                           2019-07-22T21:07:57Z
resticrepositories.velero.io                          2019-07-22T21:07:57Z
restores.velero.io                                    2019-07-22T21:07:57Z
schedules.velero.io                                   2019-07-22T21:07:57Z
serverstatusrequests.velero.io                        2019-07-22T21:07:57Z
**volumesnapshotlocations.velero.io                     2019-07-22T21:07:57Z**

For anyone looking at a similar issue, here is my working output for creating backups:

velero backup describe backup99
Name:         backup99
Namespace:    kube-addons
Labels:       velero.io/storage-location=default
Annotations:  <none>

Phase:  Completed

Namespaces:
  Included:  *
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Label selector:  <none>

Storage Location:  default

Snapshot PVs:  auto

TTL:  720h0m0s

Hooks:  <none>

Backup Format Version:  1

Started:    2019-07-22 13:53:42 -0700 PDT
Completed:  2019-07-22 13:53:50 -0700 PDT

Expiration:  2019-08-21 13:53:42 -0700 PDT

can you provide the output of velero snapshot-location get -o yaml?

apiVersion: velero.io/v1
items: []
kind: VolumeSnapshotLocationList
metadata:
  resourceVersion: "13464800"
  selfLink: /apis/velero.io/v1/namespaces/kube-addons/volumesnapshotlocations

OK, glad you got this sorted out. If there's still an issue with the Helm chart, please file a bug against that repo. Thanks!


problems in dist_train (single nodes multi-gpu)

I can run on single gpu with 0.02/8 learning rate, but I have some problems in distributed traing with two gpus on single node(lauhcher is pytorch).  I wirite a print function in model and I find it will stop after some iteration, and there will be no more log output, just like this:

The numer I print is this:

The sbtach script is this:

The log didn't update just like this

I really need your help!! Thank you so much!

There is no error and the cmd"squeue" shows it is still running...

the version of my mmdet is 2.4.0 and mmcv-full is 1.1.3, all the codes on single gpu can work, but the pytorch launcher always cannot work.

There is no error and the cmd"squeue" shows it is still running...

If I set inter 1 to print log, it will stuck after some iterations....

Hi! Please refer to this issue to see whether this is the problem.

Hi! Please refer to this issue to see whether this is the problem.
Thank you for your repy.

:( It still doesn't work. This has made me disappointed several days...
I can train with single gpu with launcher "none". However, if I use pytorch launcher, the training iwill be stuck after some iterations. The log is as follows and there is no checkpoint saved and no new log printed after that.

Actually, since you're using slurm you can try slurm_train.sh and see if the problem persists.

@tmp12316
hi, could you please tell me how you finally solve this issue?


AMQPStreamConnection class is deprecated.

Updated php tutorials to use AMQPConnection class instead of the deprecated AMQPStreamConnection class. It has been officially deprecated since Nov. 2014, see: https://github.com/videlalvaro/php-amqplib/commit/64eb289c9f5721daa2bd3ad0f333c5b738580843#diff-d22541aa1646efa4a61d570b8a0a0ff0

Class deprecation happened the other way around.
On Tue, Sep 29, 2015 at 2:30 AM jeffreydwalter<EMAIL_ADDRESS>wrote:

Updated php tutorials to use AMQPConnection class instead of the
deprecated AMQPStreamConnection class. It has been officially deprecated
since Nov. 2014, see: videlalvaro/php-amqplib@64eb289
#diff-d22541aa1646efa4a61d570b8a0a0ff0
https://github.com/videlalvaro/php-amqplib/commit/64eb289c9f5721daa2bd3ad0f333c5b738580843#diff-d22541aa1646efa4a61d570b8a0a0ff0
You can view, comment on, or merge this pull request online at:
https://github.com/rabbitmq/rabbitmq-website/pull/83
Commit Summary

Updated php tutorials to use AMQPConnection class instead of the
deprecated AMQPStreamConnection class.

File Changes

M site/tutorials/tutorial-five-php.md
https://github.com/rabbitmq/rabbitmq-website/pull/83/files#diff-0
(8)
M site/tutorials/tutorial-four-php.md
https://github.com/rabbitmq/rabbitmq-website/pull/83/files#diff-1
(8)
M site/tutorials/tutorial-one-php.md
https://github.com/rabbitmq/rabbitmq-website/pull/83/files#diff-2
(8)
M site/tutorials/tutorial-six-php.md
https://github.com/rabbitmq/rabbitmq-website/pull/83/files#diff-3
(8)
M site/tutorials/tutorial-three-php.md
https://github.com/rabbitmq/rabbitmq-website/pull/83/files#diff-4
(8)
M site/tutorials/tutorial-two-php.md
https://github.com/rabbitmq/rabbitmq-website/pull/83/files#diff-5
(8)

Patch Links:

https://github.com/rabbitmq/rabbitmq-website/pull/83.patch
https://github.com/rabbitmq/rabbitmq-website/pull/83.diff

—
Reply to this email directly or view it on GitHub
https://github.com/rabbitmq/rabbitmq-website/pull/83.

Oh man, duh. :) I guess that's what I get for staring at a computer screen all day.
In that case, you guys need to update the php-amqplib demo code...


Bt device name

To pair with phone
reboot edison
sudo killall bluetoothd; sudo /usr/local/bin/bluetoothd --experimental &

sudo hciconfig hci0 name $HOSTNAME

bluetoothctl

power off

power on

discoverable on

agent on

default-agent

for android
select device from phone
Type yes on terminal

for iPhone
pair AA:BB:CC:DD:EE:FF

Type yes on terminal

type
trust AA:BB:CC:DD:EE:FF

Can you add those pairing steps to the docs if you haven't already?

Can you add those pairing steps to the docs if you haven't already?


DepthCapture.cpp issue with OPT8241 Tintin

Hi,
I tried to run the DepthCapture.cpp code in Visual Studio 2013. I linked the requisite libraries (voxel.lib, ti3dtof.lib, voxelpcl.lib and tintincdk.lib) and the include folder for the headers. Visual Studio compiles the code and runs the executable, but immediately shows an error that "The program can't start because voxel.dll is missing from you computer" and in Visual Studio it says that "The program exited with code ....... "A dependent dll file was not found".
So I thought I need to link voxel.dll instead of voxel.lib. I tried that but I get an LNK1107 error saying that the file is either corrupted or invalid.
I don't know what the issue is. Could I get some suggestions to deal with this issue?
Thanks.

I figured out that I need both the .lib and .dll files of voxel. But when I tried that, I got another error from Visual Studio saying that the .dll file is either corrupted or invalid. I'm running VS2013, are the library files compiled for the corresponding VC++ compiler?

You don't need the .lib, just the .dlls files.
Please follow build instructions from https://github.com/3dtof/voxelsdk/wiki/Build-from-source-on-Windows and when you run the binaries, make sure the VOXEL_SDK_PATH and PATH variables are appropriately set. At minimum, you need something like the following:
set VOXEL_SDK_PATH=C:\Work\voxelsdk\build
set PATH=%VOXEL_SDK_PATH%\lib;%VOXEL_SDK_PATH%\bin;%PATH%

Thanks for the reply. But for some reason, I'm not able to download Cypress SuiteUSB from their website. It is one of the dependencies listed in the Build from Source in Windows page. Is there a way to bypass it? Or is there an alternative dependency I can use?
Also, are the binaries for Voxel SDK supposed to work with the VC++ compiler in Visual Studio 2013 only?


Absolute speaker diarization?

Question
I've just managed to integrate the new speaker diarization feature into my project. Very cool stuff. My goal is to let people record meetings, summarize them, and then also list per-speaker tasks. This seems to be a popular feature.
One thing I'm running into is that I don't feed Whisper a single long audio file. Instead I use VAD to feed it small chunks of live audio whenever someone speaks.
However, as far as I can tell the speaker diarization only works "relatively", detecting speakers within a single audio file.
Is there a way to let it detect and 'sort' the correct speaker over multiple audio files? Perhaps it could remember the 'audio fingerprints' of the speakers somehow?

Going through the sourcecode a bit more I found an existing ability for speaker verification.
My plan is to:

Try and first use diarization as normal
Using the segment info, somehow reconstruct a good chunk of consecutive audio frames for each identified speaker.
Use the verification ability to get a 512-length vector 'fingerprint' for each speaker. I found example code here.
Keep a list of these fingerprints, and find a way to compare new and old fingerprints, and get likelyhood score that it's the same speaker, or a brand new one.

Going though the code I also noticed that only up to three speakers can be separated with diarization. But with these short snippets of audio and the verification mechanism, that would no longer be a limitation. Win-Win!

I've got it somewhat working!
I'm testing it now.
One odd thing that just happened is that all the chunks of a recording (me doing a chipmunk voice to pretend to be a second person) got the same timestamp (5.2). Screenshot:

Question
I've just managed to integrate the new speaker diarization feature into my project. Very cool stuff. My goal is to let people record meetings, summarize them, and then also list per-speaker tasks. This seems to be a popular feature.
One thing I'm running into is that I don't feed Whisper a single long audio file. Instead I use VAD to feed it small chunks of live audio whenever someone speaks.
However, as far as I can tell the speaker diarization only works "relatively", detecting speakers within a single audio file.
Is there a way to let it detect and 'sort' the correct speaker over multiple audio files? Perhaps it could remember the 'audio fingerprints' of the speakers somehow?

This is very cool! Could be good also for extracting clips from podcasts or YouTube videos with many speakers 👍🏼

It's turned out even cooler than that :-)
I ask a speaker with a new fingerprint to first say "I consent to recording my voice". Only once they've said that will their contribution show up. Otherwise it just says "Redacted - no consent".
I also made it so that you can say "My name is X", and from then on it will preface your contribution with your name instead of "Speaker0", etc.

It's turned out even cooler than that :-)
I ask a speaker with a new fingerprint to first say "I consent to recording my voice". Only once they've said that will their contribution show up. Otherwise it just says "Redacted - no consent".
I also made it so that you can say "My name is X", and from then on it will preface your contribution with your name instead of "Speaker0", etc.

could you share you implemented VAD?

Have a look here for an easy to use one: https://github.com/ricky0123/vad

For people finding this thread: you may also want to look at this recently added model that is also designed to create audio fingerprints for voices. It says it only supports English and Chinese. I haven't tried it yet, but I'm curious to see how it would compare to wavlm-base-plus-sv, since wavlm-base-plus-sv isn't great. But I might just be using it wrong (feeding it too much or too little data, etc).
Here's my final pipeline:
class PipelineSingleton {
    static asr_model_id = 'onnx-community/whisper-base_timestamped';
    static instance = null;
    static asr_instance = null;

    static segmentation_model_id = 'onnx-community/pyannote-segmentation-3.0';
    static segmentation_instance = null;
    static segmentation_processor = null;

    static verification_model_id = 'Xenova/wavlm-base-plus-sv';
    static verification_instance = null;
    static verification_processor = null;

    static async getInstance(progress_callback = null,model_name='onnx-community/whisper-base_timestamped',preferences={}) {
		console.log("Whisper_worker: Pipeline: getInstance:  model_name, preferences: ", model_name, preferences);
		this.asr_model_id = model_name;

		PER_DEVICE_CONFIG[self.device] = {...PER_DEVICE_CONFIG[self.device],preferences}

        this.asr_instance ??= pipeline('automatic-speech-recognition', this.asr_model_id, {
            ...PER_DEVICE_CONFIG[self.device],
            progress_callback,
        });

        this.segmentation_processor ??= AutoProcessor.from_pretrained(this.segmentation_model_id, {
			...preferences,
            progress_callback,
        });
        this.segmentation_instance ??= AutoModelForAudioFrameClassification.from_pretrained(this.segmentation_model_id, {
            // NOTE: WebGPU is not currently supported for this model
            // See https://github.com/microsoft/onnxruntime/issues/21386
            device: 'wasm',
            dtype: 'fp32',
			...preferences,
            progress_callback,
        });

        this.verification_processor ??= AutoProcessor.from_pretrained(this.verification_model_id, {
            device: 'wasm',
            dtype: 'fp32',
			...preferences,
            progress_callback,
        });

        this.verification_instance ??= AutoModel.from_pretrained(this.verification_model_id, {
            device: 'wasm',
            dtype: 'fp32',
			...preferences,
            progress_callback,
        });

        return Promise.all([this.asr_instance, this.segmentation_processor, this.segmentation_instance, this.verification_processor, this.verification_instance]);
    }
}

Be advised that you'll also need to write a lot of code to 'clean up' the output from the various models.

whisper-base_timestamped seems to really need the start of the audio to be a bit of silence. If it doesn't get that it will give strange timestamps that are outside of the duration of the audio. So it's easy enough to recognize.
Pyannote is very good at recognizing different speakers. Maybe because of the FP32?
pyannote-segmentation-3.0 will happily return 9 segments for audio of two speakers. A lot of these segments will be for silence in between sentences. In my case I added those segments to the next 'real' speaker's segment.
pyannote will output various speaker ID's. Zero means: no speaker detected. 1,2 or 3 refers to an individual speaker. Higher numbers mean two speakers were talking at the same time.
In order to match spoken sentences to segments I recommend this route: create the joined, simplified list of segments first. Then use the words array to reconstruct individual sentences and their timestamps. Use the timestamp of the second word of the sentence to match it to a segment.
wavlm-base-plus-sv is.. unpredictable. It does well at figuring out a female speaker is a different one from a male speaker. But it could not really tell Joe Biden and Donald Trump apart. Again, I may just be using it poorly. One trick to improve performance could be to record multiple fingerprints per speaker. That might make the comparison better, I don't know.

Here's some example code for how I 'cleaned up' the segments:
	let last_speaker_id = null;
	let joined_segment_end = null;

	for(let s = 0; s < segments.length; s++){
		segments[s]['original_id'] = segments[s].id;

		if(segments[s].id > 0 && segments[s].id < 4){
			last_speaker_id = segments[s].id;
		}

		// Sometimes there are weird, very short segments at the beginning, less than a tenth of a second long. This causes them to be pruned later
		if(s < 3 && segments[s].start < (s * 0.1)){
			segments[s].start = 0;
		}
		joined_segment_end = segments[s].end;
	}

	for(let s = segments.length - 1; s >= 0; --s){
    	//console.log("segment: ", s);
		if(typeof segments[s] == 'undefined'){
			console.error("segment no longer existed at position: ", s);
			continue
		}

		if(typeof segments[s].id == 'number' && typeof segments[s].confidence == 'number' && typeof segments[s].start == 'number' && typeof segments[s].end == 'number'){

			// only speaker ID's of 1, 2 or 3 refer to individual speakers. zero means no speaker (silence), and 4 and above is for combinations of speakers (speaking at the same time)
			// TODO: this just steamrolls over mixed speakers, assigning the ID of the speaker that ends up speaking on it's own afterwards.
			if( (segments[s].id == 0 || segments[s].id >= 4) && last_speaker_id != null){

				//console.log("changing a segment's ID.  old -> new, and duration: ", segments[s].id,last_speaker_id,segments[s].end - segments[s].start);
				segments[s].id = last_speaker_id;
			}

			if(segments[s].id > 0 && segments[s].id < 4){
				//console.log("segment has good single speaker ID: ", segments[s].id);

				if(segments[s].id != last_speaker_id){
					//console.log("switching to another speaker");
					last_speaker_id = segments[s].id;
					joined_segment_end = segments[s].end;
				}
				else{
					//console.log("still the same speaker speaking");
					if(joined_segment_end != null){
						if(joined_segment_end != segments[s].end){
							segments[s].end = joined_segment_end;

							if(typeof segments[s + 1] != 'undefined' && segments[s+1].id == segments[s].id && reached_zero == false){
								//console.log("removing older segment with the same ID as this one");
								segments.splice(s + 1, 1);
							}
						}

					}

				}

			}
			// TODO: Could distinguish between silence and mixed speakers here
			else{
				console.error("segment has bad speaker ID: ", segments[s]);
			}

			// Remove very short segments from the beginning
			if(segments[s].start == 0 && reached_zero == true){
				segments.splice(s, 1);
			}
			else if(segments[s].start == 0 && reached_zero == false){
				reached_zero = true;
			}

			//console.log("reached_zero: ", reached_zero);
			//console.log("joined_segment_end: ", joined_segment_end);

		}
		else{
			console.error("segment was missing basic attributes: ", segments[s]);
		}

    }

Since it's somewhat working now I'll close this issue.


Feature Request: Anchor drop down updates margins

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 2.1.4
Issue description:
Changing a node's anchor settings via the dropdown does not move the node.  This seems counter-intuitive and unsatisfying.  For example, selecting "full rect" should expand the node (setting all margins to 0) to fill its parent.

In 2.1.x, my workaround is to use Ctrl+P shortcut.
In 3.0 there's 'Full Rect and Fit Parent' already.

This is on my planned improvements for the 2D editor.

Done for 3.0, but I don't think it will be backported to 2.1


Try other SMT solvers

Since we have added the capability to print the smtlib2 query, it is not so hard to evaluate other SMT solvers (in particular CVC4 and Boolector). If there is significant variation among solvers, it may be worth running them in a parallel portfolio in separate processes. We don't necessarily even have to replace our usage of Z3 for constraint construction to achieve this.

Yices 2 is also promising seeming
https://smt-comp.github.io/2020/results/qf-aufbv-single-query

On a very preliminary experiment for a particular query (addname in grammatech)

z3 3m20s
yices 54s
cvc4 timeout
boolector 15s

Here is a rough outline of a relatively painless way to integrate other solvers.
Add a flag to point to a smtlib compatible binary --wp-solver=~/Downloads/boolector/bin/boolector
Fork a process calling this binary name in Precondition.check. I'm not sure exactly how to do this. core probably has this functionality. Maybe this https://ocaml.janestreet.com/ocaml-core/latest/doc/core/Core__/Core_command/index.html .   Roughly you need to pipe in the following string to the process:
Printf.printf "(set-logic QF_AUFBV) \n %s \n (check-sat) \n (get-model) %!" (Z3.Solver.to_string solver) );
```
You may want to check that it returns "sat" before asking for the model. I think solvers can often be run interactively via pipe.

The model should look something like this http://smtlib.cs.uiowa.edu/examples.shtml
```
(get-model)
; ((define-fun x () Int 8)
;  (define-fun y () Int 6)
; )
```
Take this, parse as an SExpr and then assert these values to the z3 solver and call Z3.Solver.check if sat.

@philzook58 can we close this?

I suppose we can. This work has been integrated into master


Missing findOneAndUpdate() implementation

https://www.mongodb.com/docs/manual/reference/method/db.collection.findOneAndUpdate/
https://www.mongodb.com/docs/manual/reference/method/db.collection.findOneAndReplace/
Any chance to add it soon? Along with bulk support.

Any update on this issue?

I just stumbled across this issue, and upon further investigation, this is possible using
MyModel.find_one(...).update(..., response_type=UpdateResponse.NEW_DOCUMENT)

Docs: https://beanie-odm.dev/tutorial/updating-%26-deleting/#response-type

hi @hamilton-earthscope, from where do we import UpdateResponse enum?
Thanks


fix: bug #160

Pull Request
📖 Description

This PR removes the extra Theme/Direction switches from the TreeViewPage
🎫 Issues

#160
👩💻 Reviewer Notes

📑 Test Plan
Nothing to test, just simple deletion of an extraneous <div>

✅ Checklist
General

[ ] I have added tests for my changes.
[X] I have tested my changes.
[ ] I have updated the project documentation to reflect my changes.
[ ] I have read the CONTRIBUTING documentation and followed the standards for this project.

This does NOT require a new package release. Just a fix in the demo sites


PHPLIB-913: Database::createEncryptedCollection() helper

https://jira.mongodb.org/browse/PHPLIB-913

Coding standard CI failure is due to PHPLIB-1106 and will be addressed by https://github.com/mongodb/mongo-php-library/pull/1058.
The CI build failures for mongodb-latest are due to PHPLIB-1088 and will be addressed in a subsequent PR.


Code signing for macOS release

The NSA has had public-key cryptography capabilities since the 1960s. It would be neat if this could be applied to sign the macOS releases of Ghidra so that Gatekeeper does not interfere with using it.
I don't know how Gatekeeper plays with Java code signing. This problem may be exacerbated by installing with brew cask (--no-quarantine may be a workaround for that).

Relates to #621

So.. it has been nearly a year since this has been needed.  I've recently taken on the task of creating an app bundle for Ghidra for MacOS to simplify installation without requiring separate JDK install.  However, the lack of signing and malware vetting for all of the internal packages of Ghidra or of the JDK has made creating a signed and verified app bundle seemingly impossible.
Could the Gatekeeper issues please be addressed?
See the below for a couple of attempts at wrapping Ghidra and the jdk with a compiled AppleScript to easily launch it.
https://gist.github.com/yifanlu/e9965cdb148b550335e57899f790cad2
https://github.com/stevecheckoway/ghidra_app
I'm also happy to share my own attempts at using Apple notarization service to notarize the binary releases.

Does the Gatekeeper issue only apply to macOS "applications?"  I've never had any Gatekeeper issues running a Ghidra release or dev build on any version of macOS.

Yes, GateKeeper is MacOS validation service which includes verification of digital signatures of binaries as well as a notarization service where binaries are signed by Apple as having been scanned for malware.
While it is still possible to run Ghidra by manually authorizing the system to run the program, it isn't a best practice and is disabled by policy controls on many systems.

I've never had to manually authorize Ghidra, and my Gatekeeper settings have always been "App Store and identified developers."  Are our configurations different?

Almost certainly, had to manually right-click -> open the decompile binary to stop Gatekeeper from yelling at me during analysis of a binary.

I'm also experiencing this situation, running macOS 11.1 (build 20C59). My GUI Gatekeeper setting is also "App Store and identified developers."
Excerpts from Gatekeeper:
% spctl --status
assessments enabled
% spctl --list
[snip]
5419[UNLABELED] P0 allow execute [/usr/local/Caskroom/ghidra/9.2,20201113/ghidra_9.2_PUBLIC/Ghidra/Features/Decompiler/os/osx64/decompile] 	cdhash H"385051bc30cdef532cfd14c777171a31de95aefe"
In addition to decompile, the GnuDemangler jar also prompts me about this when it tries to run from within Ghidra. There's no way to allow it when Ghidra triggers the prompt; I must dig into the folders, find the executable, and manually run it.
Having spctl enabled is also a STIG setting for macOS.

I cannot even get it to disassemble anything on macOS 11.5.1.

You are not getting the option to "Open Anyway" in the Security & Privacy settings?

I guess it's been a couple months since I've tried it...the experience has really degraded:

I just did some testing on macOS 11.5.1.  The first time the decompiler tried to run I got a popup forcing me to choose between "Move to Trash" and "Cancel".  I went over to "Security & Privacy" and it wasn't aware of the problem yet.  When I clicked "Cancel", the decompiler appeared in "Security & Privacy" and I was able to click "Open Anyway".  Same process with the demangler.  Things worked fine after I did that once.
Definitely not a good user experience but it ultimately worked.

We have no plans to sign our executables.  Instead, the route we decided to go is to allow the user to rebuild the native binaries from a ghidra release, which is described in #3387.  This will be available in the 10.1 release.  If you rebuild the native binaries when you download the release, you will not run into any Gatekeeper issues.

Homebrew, a popular macOS packaging system, is discussing the removal of the Ghidra formula due to the lack of code signature. Over 9,000 users installed Ghidra this way on their Macs in the past year.

Thanks for the heads up.  While we don't officially support any 3rd party packaging systems, we are aware of the poor user experience not having them signed is causing, even with our own official distribution.
If we cannot sign them, we will likely stop distributing the macOS native components, relying instead on the user running support/buildNatives before using Ghidra for the first time.  No decisions have been made yet though.


Checksumming

Question brought up about whether this protocol should do checksums.
Supporting evidence of "bad things happening":

https://fb.facebook.com/notes/ramkumar-natarajan/bitflips-in-event-configuration/10157088119540006
https://criticalindirection.com/2016/02/22/tcp-checksum-the-fault-in-the-stars/

The concern expressed is that a bit flips and the protocol ends up in a "zombie" state where a stream dangles or other non-deterministic behavior occurs.

I can't imagine choosing the computational and data costs of checksumming every frame, and just accepting the risk of a bit flip happening and possibly causing odd behavior, such as a hung stream.
But should the protocol allow something different? Or should the answer be left to the transport layer, which was my initial response as to what is responsible for this (https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md#transport-protocol).

It's a question of probability and consequence. So, a risk assessment.
There is a timeout implied in the protocol. So, any corruption (to the rsocket header) that causes a misstep should cause a timeout. If the implementation has sufficient validation, that is. However, corruption of payload may will result in application corruption.
By and large, data payloads (metadata or data) have a higher probability of corruption than headers/footers.
So, a possible solution is a checksum as part of the metadata. Would be better if metadata could follow data, though.
Checksums can be quite performant when done correctly.
Remember that simply reflecting the same checksum from the transport/network layer provides no more protection unless it is done differently. Different checksums are better than reusing the same one.

Honestly, this is a framing issue and is probably best handled by the framing. i.e. just like framing is left to the transport, so to should the presence/absence of a checksum field for any checksum.

My original question was actually aimed at the behavior of ignoring bad frames rather than checksumming. It's very low % but if say the stream id for a new REQUEST_CHANNEL gets corrupted and beats the TCP CRC check - in the leaseless scenario the requestor will start streaming packets which are silently ignored and the application on either side can't tell there's a problem.
It's (extremely) unlikely to occur, but if it does I can't see it as being anything other than a bug in the protocol. This is different from other protocols, I think, because the failure is silent and hidden from the user.

Optional checksum on user-provided messages (data and metadata) needs be the responsibility of the RS protocol, IMO. Then applications above RS (which could be a dbms) won't have to checksum.

@nickgg I think some of the handling within an implementation could be more stringent. i.e. if a server sees a request with a stream id that indicates a gap, it could error out the connection. Some of this is captured in the spec. Some not.
But, the handling of checksum failure in a reliable transport is often overlooked. What happens, for example, in RS if a frame fails to checksum? Dropping some frames can cause corruption (like dropping a single PAYLOAD out of stream). Or should a single checksum failure error the connection?
@wenbozhu I have argued it both ways in the past. In general, I do prefer checksumming of payload to be optional when possible. The best place to do it depends on the use case. That is why for example, in Aeron, we placed a reserved value field in the header to be filled by the application on send. This is used for checksumming by some users. It is easy to layer this functionally quite nicely.

I'm not sure what you mean by a gap in the stream ids? The spec does not specify an ordering of stream ids.
I think its a reasonable call to push the problem of checksumming up to the user, but that's not possible for control packets such as SETUP and REQUEST_X.

@nickgg the spec implies an ordering by referencing HTTP/2. But doesn't explicitly enforce it. The only part called out is the even/odd part. However, by referencing HTTP/2, it is bringing in some semantics in an implied manner.
It depends on what is meant by "user" honestly. The use of a specific transport is a user choice. Nothing is forbidden from using a transport that has a checksum or does something equivalent (such as an HMAC). The transport section is not meant to be exhaustive and if it was, RS would be in real trouble because it could not be future compatible.
Given the choice of transport and given that framing is broken out, I don't see why including checksum in the protocol is necessary. It feels like over specification to me.

Is there anything right now that MUST be figured out before we call the spec v1.0? Or can this easily be added in future versions if we end up determining it is important?
I'd rather not rush a design on something like this, and it seems to me we could easily add it later in a v1.x by having new optional fields on frames.

Nothing comes to mind for me. And as I have stated, I think checksumming can be done in the transport framing or at the application level.

Sure, sounds fine.
I do think that if you intended to imply a sequential ordering to stream ids that should be explicit in the spec, to avoid interop gotchas.

I agree with @tmontgomery here.
Let's keep this protocol simple and leave the checksum out of the picture, it can be added at different level if necessary.

I do think that if you intended to imply a sequential ordering to stream ids that should be explicit in the spec, to avoid interop gotchas.

@tmontgomery Should wording on this be clarified? For example, should we require starting at 1/2 and incrementing sequentially by 2 (odd/even on each side)?

@benjchristensen For clarity, we should, I believe. Also, it does add a means to help validate a stream id.

Proposed change here: https://github.com/ReactiveSocket/reactivesocket/pull/220

I think agreement here was only to merge the above PR, and leave everything else out of scope or specific to a particular transport impl.


4.3 should be the default branch

4.3 should be the default branch on this repo; it's currently still 4.2.

@supahgreg Thanks for the heads-up! I changed the default branch to 4.3.


Feat/add license

Coverage remained the same at 100.0% when pulling a5344bf083f5ab6d1e144743b62898e98d100733 on feat/add-license into 521421cc717c52c458c17a2b7233c3a4507f89d0 on master.


disabling ipv6 in containers

Despite a lot of searching, I'm not able to find a way to disable IPv6 in containers, specifically Ubuntu.  The usual method is sysctl settings, but that doesn't work.  Could you please point me to the magical setting for this.  FYI, there are unprivileged containers.  Thanks guys.  Always appreciated.
James

Seems to be working fine here:
stgraber@castiana:~$ lxc exec ups-monitor bash
root@ups-monitor:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:3e:1f:c6:7a
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          inet6 addr: 2001:470:b368:4242:216:3eff:fe1f:c67a/64 Scope:Global
          inet6 addr: fe80::216:3eff:fe1f:c67a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4681 errors:0 dropped:0 overruns:0 frame:0
          TX packets:364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2354704 (2.3 MB)  TX bytes:41303 (41.3 KB)

root@ups-monitor:~# echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
root@ups-monitor:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:3e:1f:c6:7a
          inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4681 errors:0 dropped:0 overruns:0 frame:0
          TX packets:364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2354704 (2.3 MB)  TX bytes:41303 (41.3 KB)

root@ups-monitor:~#

It could be that sysctl.d doesn't work though as at least some init systems wrongly assume that those can't be applied in containers or consider some sysctl being denied as a critical error and stop applying any further one.
You may just want to stick this particular sysctl as a network hook or in rc.local for now.

I do get the same result on ifconfig, but netstat -plant still shows services binding, even after restarting service and/or container:
tcp6       0      0 :::8301                 :::*                    LISTEN      384/consul
tcp6       0      0 :::8302                 :::*                    LISTEN      384/consul
tcp6       0      0 :::8500                 :::*                    LISTEN      384/consul
tcp6       0      0 :::22                   :::*                    LISTEN      372/sshd
tcp6       0      0 :::8600                 :::*                    LISTEN      384/consul

I'll look into using rc.local and stuff, maybe I can figure out something that I can drop in cloud.init

yeah, I think that part is normal though they won't have anything on IPv6 to bind to so will just bind to all IPv4 addresses.
You could set /proc/sys/net/ipv6/bindv6only to 1 in your container, that should stop that behavior of having things bind to IPv6.

Closing this issue as the sysctls do appear to work and there's really not much that LXD can do about any of this as it's pure kernel and init system behavior. Feel free to ask more questions in the issue though.

You beat me to it.  I managed to stop the bindings, but in order to do so, had to disable ipv6 in the host kernel, which breaks far too many other things, and can't really change container kernel as it's shared.  Appreciate the help, but pretty sure the issue is regardless of containers.


build pipelining fails

Problem

When running CARGO_BUILD_PIPELINING=true cargo build --all --tests on my project, I get
error: crate `<foo>` required to be available in rlib format, but was not found in this form

Unfortunately this project is not open source, so I'm not sure what else to report.
Notes
Output of cargo version: cargo 1.37.0-nightly (545f35425 2019-05-23)

CC @alexcrichton

Thanks for the report! Is it possible to share the project that generated this error?

Probably not. Is there a way to get debugging information out of cargo?

If you're ok with it you can do a CARGO_LOG=trace cargo build ... and I can try to piece together what went wrong.

I can do that. The log is 67 MB. Can I email you a link to it?

Sure!

Sent.

Is this a build where RUSTC_WRAPPER is set in one way or another? The metadata file looks like it's getting produced at the exact same time as the output file which seems like there may be some caching somewhere. If so does this bug reproduce without the caching layer/wrapper?

We don't set that anywhere. I think the most interesting thing going on in our build is a linker script. We don't have anything like ccache involved.

Ok thanks for the clarification, digging more I believe https://github.com/rust-lang/cargo/pull/7008 should at least fix one of the issues I saw (and was able to reproduce locally). Could you test that out and see if it fixes the issues you're seeing?

Unfortunately cargo master (and your PR) dies earlier with error: Unrecognized option: 'json-rendered' when CARGO_BUILD_PIPELINING=true, so I can't actually test it.

To double check, you're doing the equivalent of rustup run nightly /path/to/cargo/target/debug/cargo build?

Apparently not!
That gets me farther, to crate rusoto_ec2 required to be available in rlib format, but was not found in this form which is similar to but different from the original error.

Can you send me the logs for that as well?

After I cleared out the existing target/ directory to get a log from scratch, I haven't been able to reproduce this with your branch.
So it appears that it is in fact fixed \o/

Seen in tikv here https://github.com/tikv/tikv/issues/5130


setAnswer should validate the Answer

setAnswer should fail if an invalid answer was set.,
e,g. invalid value of the mutiselect

Would you expect it to throw, or to return a boolean value depending on success?

throw so I can catch :)


Align functions

Like in diagrams: Top, bottom, etc

implemented alignLeft.
Make type Align = LeftA | RightA | TopA | BottomA or something

Following Haskell Diagrams, formulate in terms of moving origin to edge of envelope.


fixed nerd-font icons

Fixed the nerd font icons as the old ones didn't work on the updated nerd fonts, the icons are same just the names got changed in the website.
Ronit Sadhukhan
<EMAIL_ADDRESS>

Is this issue present in the deathemonic version?

Also people can check this issue for more information, but TL;DR of it is some of the Unicode codepoints used where not free for use, meaning they where already occupied so some of them where changed around to prevent issues
https://github.com/ryanoasis/nerd-fonts/issues/1190

I didn't check the deathmonic version but what I found out is that they had changed the codes for various icons, and hence those codes starting showing different icons.

Running nerdfix check it alerted about some obsolete icons.
I had to use nerdfix fix to properly display them.

Is there anything blocking this from being merged?

Running nerdfix check it alerted about some obsolete icons (for basic and the deathmonic versions). I had to use nerdfix fix to properly display them.

I will submit another PR with everything fixed as OP doesn't seem active

Closing as #22 supersedes this


[FEATURE] XY line plot with customized y-axis to handle the 0/360 angle discontinuity

Maybe this feature is available, however, I was not able to find it in the documentation. I have angular data around 0 degrees:
x = [1,2,3,4,5,6]
y = [0.1, 359.2, 359.5, 0.2, 0.3]

Plotting this as a XY plot in chart.js leads to the plot jumping back and forth on a y-axis range of [0, 360]. Is there a way I can specify a y-axis range such as [355, 5] where 0 and 360 are considered the same y-axis value and thus handles the 0/360 discontinuity?

It's not clear to me how you'd like this to behave. What if you transformed your data and plotted the following as input instead?
y = [0.1, -0.8, -0.5, 0.2, 0.3]

Originally I had something like you suggested, however, I had some users who were upset that they were not seeing the raw values. Ideally, I would like y_min at 355, y_max at 5, and zero at 0/360. If this is too much of a bother please feel free to close this issue and I'll tell the users to live with it.

We're unlikely to implement this in the core library. You could try writing your own plugin


Update run-web-app-in-cordova.md

Replaced "https://cordovahostedweb-starter.azurewebsites.net/" with "https://YOUR-HOSTED-WEB-APP-URL" to match other docs.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

cordovadocs/tips-workarounds/run-web-app-in-cordova.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@mwd-au thanks for the PR. unfortunately recent directory structure changes required to implement side-by-side version support has created a merge conflict. we value your contribution, and have included it in this new PR https://github.com/MicrosoftDocs/CordovaDocs/pull/26.


[SparkR] [Doc] SparkR ML user guides update for 2.0

What changes were proposed in this pull request?

Update SparkR ML section to make them consistent with SparkR API docs.
Since #13972 adds labelling support for the include_example Jekyll plugin, so that we can split the single ml.R example file into multiple line blocks with different labels, and include them in different algorithms/models in the generated HTML page.

How was this patch tested?
Only docs update, manually check the generated docs.

Test build #61606 has started for PR 14011 at commit baa917f.

cc @mengxr

Test build #61606 has finished for PR 14011 at commit baa917f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/61606/
Test PASSed.

looks good!

cc @jkbradley

@yanboliang is this good to go ? Would be good to merge this soon

@shivaram I think it's good to go, I only did user guides sync and reorg. Thanks!

Thanks @yanboliang - LGTM. Merging this to master and branch-2.0


Modify the spelling

Description
I've modify the spelling which may let reader feel confused.

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

My pending PR #1653 will make this obsolete. This update is redundant and I do not see any value is adding this.


[FIX] Fix the function to parse prefilter for EDF files to add np.nan when the prefilter information does not exist for the channel

Reference issue
None
What does this implement/fix?
For EDF, BDF and GDF, prefilter information is parsed by _parse_prefilter_string function.
This function makes arrays for highpass and lowpass values
but values are added only when the filter exist.
As a result, it is not possible to extract the filter for the corresponding channel from raw.info['highpass'] and raw.info['lowpass'] by using raw.info['sel'].
To make it as same as other variables like raw.info['n_samps'], add np.nan if the filter does not exist.
In addition, the function was refactored by adding new helper function, _extract_filter_value.

sorry, I misunderstood raw.info and raw._raw_extras.
It should be fixed also in _get_info if this update is applied.
I withdraw this PR.
I still think it is useful if we can get correct filter values from raw._raw_extras, then try to update codes for it.


Cannot capture on http://ozarkchamber.com/Missouri/

Chrome version 59.0.3071.86

The latest updates likely resolved the error you’re getting. Please try again with v2.6 or later.
Thanks!


Support running the script in a docker compose environment

This pull request incorporates a series of enhancements and fixes to add docker compose functionality and ensure cross-platform support:

Dockerfiles for the main app and for Tileserver-GL, incorporating the main tileserver-gl server and a small shell command to listen for the creation of a config.json file (representing the culmination of the first part of the script, at which point Tileserver-GL is ready to start).
docker-compose.yml to handle service orchestration for the main app and tileserver-gl.
A run.sh script to parse input and output flags and pass them to docker compose, as well as handling the shutdown of containers upon script completion.
main.py (used for Python environment) has been split up into docker-generate.py and docker-tileserver-compile.py, each of which is feeding a Docker service, preceding and succeeding tileserver-gl, respectively. There is some DRY redundancy between main.py and these files that could probably be cleaned up in the future.
A wait_for_tileserver_gl() function which requests the Tileserver-GL health endpoint to ensure the server is ready.
Small fixes to the various functions to get them working for both Docker and Python environments.
Optional PORT variable added to .env for Tileserver-GL, in case 8080 is occupied.
Modified the Readme to reflect the new changes and Docker runtime option.

This is a workflow we want to trigger every time a change detection is made, right?
I will need to think about the right target to deploy this (in google cloud or azure) and we may need to tweak things for that.

Yes, that is correct: the envisioned workflow is that this script would be triggered every time a new change detection alert message is received by Frizzle.

I'm inclined to merge this since the Docker compose workflow itself works fine, and we're now looking at a separate batch of work for deployment. I can start an issue for further discussion. Does that sound good?

Oh, I can't believe I let this go 3 weeks with no reply!  My apologies.  Yes, go ahead and merge.


Fix for components whose modules do not have components or overridable_attrs attributes

Fixes #25
This is a placeholder. I will update this once I've finished testing.

@frankdugan3 mix test outputs the following. I don't think it's related to my changes.
== Compilation error in file lib/pyro/extension/info_test.exs ==
** (CompileError) lib/pyro/extension/info_test.exs:109: undefined function calculation/1 (there is no such import)
    (stdlib <IP_ADDRESS>) lists.erl:1462: :lists.mapfoldl_1/3
    (ash 2.9.18) expanding macro: Ash.Resource.Dsl.Calculations.Calculate.calculate/3
    lib/pyro/extension/info_test.exs:108: Pyro.Resource.InfoTest.User (module)
    (ash 2.9.18) expanding macro: Ash.Resource.Dsl.calculations/1
    lib/pyro/extension/info_test.exs:107: Pyro.Resource.InfoTest.User (module)

@frankdugan3 Am I running the tests correctly, or are they not something that need to pass in order for my PR to be merged?

I'm sure the failing test is a bug on my end, will merge it today as it LGTM if you take it out of draft mode.


Demo error "Transaction is invalid"

download demo and run , get token name and balance all get error "Transaction is invalid"

Sorry i forgot to update Example project. You can run pod update and this should work


does not support multiple streams

will you support multiple streams?

What do you mean by multiple streams? Not sure if it is what you want, but you can create multiple Yolov8 objects, with one for each stream if necessary


Needs UI Improvement

If assigned I will improve the UI of this website

Hi and thank you, if you have any specific improvements you can open a PR, otherwise I’m quite happy to maintain current UI.
Thank you,
Kate


[SUPPORT] Issue with 'Ask torvalds' button

Describe the problem you faced
A user query was posted regarding the 'Ask torvalds' button functionality. The user provided various sources related to Hudi, including the GitHub repository, Slack channel, and documentation links. However, the specific issue or question related to the button functionality was not clearly mentioned.
Additional context
Relevant Sources:

GitHub Repository
Slack Channel Discussion
GitHub Issue
Flink Quick Start Guide
Hudi CLI Documentation

Stacktrace
No specific error or stack trace provided in the user query.

ok


unexpected key in source state_dict: necks.aux_head.convs.conv.weight, necks.aux_head.convs.bn.weight

I have trained  a model in r50f16s4.py, but when I test the model， there has a error.
unexpected key in source state_dict: fc.weight, fc.bias
missing keys in source state_dict: layer3.4.bn2.num_batches_tracked, layer3.5.bn1.num_batches_tracked, layer4.1.bn3.num_batches_tracked, layer3.0.downsample.1.num_batches_tracked, layer1.2.bn3.num_batches_tracked, layer4.1.bn2.num_batches_tracked, layer1.0.bn3.num_batches_tracked, layer2.1.bn3.num_batches_tracked, layer2.2.bn2.num_batches_tracked, layer3.0.bn2.num_batches_tracked, layer3.0.bn3.num_batches_tracked, layer2.3.bn1.num_batches_tracked, layer3.4.bn3.num_batches_tracked, layer3.5.bn2.num_batches_tracked, layer4.1.bn1.num_batches_tracked, layer1.1.bn3.num_batches_tracked, bn1.num_batches_tracked, layer4.2.bn1.num_batches_tracked, layer2.3.bn2.num_batches_tracked, layer2.3.bn3.num_batches_tracked, layer4.0.downsample.1.num_batches_tracked, layer4.0.bn1.num_batches_tracked, layer2.2.bn3.num_batches_tracked, layer1.1.bn1.num_batches_tracked, layer2.0.bn2.num_batches_tracked, layer3.3.bn3.num_batches_tracked, layer3.0.bn1.num_batches_tracked, layer2.0.downsample.1.num_batches_tracked, layer4.2.bn2.num_batches_tracked, layer1.2.bn2.num_batches_tracked, layer3.2.bn2.num_batches_tracked, layer1.0.bn1.num_batches_tracked, layer1.1.bn2.num_batches_tracked, layer2.2.bn1.num_batches_tracked, layer1.0.downsample.1.num_batches_tracked, layer3.1.bn3.num_batches_tracked, layer4.2.bn3.num_batches_tracked, layer3.3.bn2.num_batches_tracked, layer4.0.bn3.num_batches_tracked, layer3.5.bn3.num_batches_tracked, layer3.4.bn1.num_batches_tracked, layer3.3.bn1.num_batches_tracked, layer1.2.bn1.num_batches_tracked, layer3.2.bn3.num_batches_tracked, layer3.1.bn2.num_batches_tracked, layer3.2.bn1.num_batches_tracked, layer2.0.bn3.num_batches_tracked, layer2.1.bn1.num_batches_tracked, layer3.1.bn1.num_batches_tracked, layer4.0.bn2.num_batches_tracked, layer2.1.bn2.num_batches_tracked, layer1.0.bn2.num_batches_tracked, layer2.0.bn1.num_batches_tracked
Traceback (most recent call last):
File "tools/test_recognizer.py", line 259, in
main()
File "tools/test_recognizer.py", line 176, in main
load_checkpoint(model, args.checkpoint, strict=True, map_location='cpu')
File "/home/majian/anaconda3/envs/torch12/lib/python3.6/site-packages/mmcv/runner/checkpoint.py", line 162, in load_checkpoint
load_state_dict(model, state_dict, strict, logger)
File "/home/majian/anaconda3/envs/torch12/lib/python3.6/site-packages/mmcv/runner/checkpoint.py", line 86, in load_state_dict
raise RuntimeError(err_msg)
RuntimeError: unexpected key in source state_dict: necks.aux_head.convs.conv.weight, necks.aux_head.convs.bn.weight, necks.aux_head.convs.bn.bias, necks.aux_head.convs.bn.running_mean, necks.aux_head.convs.bn.running_var, necks.aux_head.convs.bn.num_batches_tracked, necks.aux_head.fc.weight, necks.aux_head.fc.bias
I didn't change any of the parameters and I haven't found the cause of this bug. Please help me slove this problem.

The reported error is that the saved model includes the aux_head weights, but we ignore the aux_head for inference.
You can comment https://github.com/decisionforce/TPN/blob/1b3568ecc0509e9210ca8f33dad98f73c8a8a80c/tools/test_recognizer.py#L158 and #L159 to inference model correctly.
We will fix this bug.


Merge prTesting_202005121953 branch to master branch

Docs Build status updates of commit 07a5ff0:
:clock10: Pending: waiting for processors (15 builds ahead of you)
:warning: Docs Build is busy, currently there are 15 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 07a5ff0:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestRef.md
:warning:Warning

Details

split/updateTestRef.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
Line 0: [Warning] Markdown content is not allowed before H1.
Line 1: [Suggestion] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning on 04/01/2020.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Exception: Unable to load named entity extractor

rasa NLU version: Latest - rasa-nlu (0.7.0a7)
Used backend: mitie_sklearn
plattform: ubuntu
Issue: While running server, getting error that "unable to load model_dir/entity_extractor.dat"
Training is working and model directory is getting created and enitty_extractor.dat file is also getting ceated.
Error loading MITIE model file: model_20170308-122617/entity_extractor.dat
This file does not contain a mitie::named_entity_extractor. Contained: mitie::named_entity_extractor_pure_model
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "build/bdist.linux-x86_64/egg/rasa_nlu/server.py", line 99, in
File "build/bdist.linux-x86_64/egg/rasa_nlu/server.py", line 90, in create_app
File "build/bdist.linux-x86_64/egg/rasa_nlu/data_router.py", line 30, in init
File "build/bdist.linux-x86_64/egg/rasa_nlu/data_router.py", line 101, in __create_model_store
File "build/bdist.linux-x86_64/egg/rasa_nlu/data_router.py", line 154, in create_interpreter
File "build/bdist.linux-x86_64/egg/rasa_nlu/interpreters/mitie_sklearn_interpreter.py", line 20, in load
File "/usr/local/lib/python2.7/dist-packages/mitie/mitie.py", line 234, in init
raise Exception("Unable to load named entity extractor from " + filename)
Exception: Unable to load named entity extractor from model_20170308-122617/entity_extractor.dat

@getramki is this a model you trained with this version (0.7.0a7) or with a previous version? If you don't mind it would also be good if you could add the metadata.json.

Got Solved :) the problem was with my previous installation of mitie (0.2.0), I have upgraded it (may be minor patch) and now its working.
thanks @tmbo for the fast reply. It is trained with this version (0.7.0a7) only.

Yes that is right. For future reference:
You need to install the latest version, since we are using so called pure models (where the feature extractor is not integrated into the model and can be loaded separately). This has been implement rather recently.


updated README file; added alternative H1 and H2 markdown

I simply added the alternative markdown for headers. That is missing from yours.

Thanks @ThatOneCoder !


Install errors

Does anyone have any insights into installing the package without the dependency errors?

Is this from a pip install or are you building from the source?

I used:
pip3 install zensols.mimicsid
on a new Google Colab notebook

I was in the middle of updating the model for this package and it looks like its dependencies got ahead of me. I have cut a new release, so retry with pip3 install -U zensols.mimicsid.

Thanks so much for the quick replies. I am looking forward to using the package. I am still getting the same errors; it is having trouble finding specific versions of the dependent packages. Do you think the error happens because the package versions are not specified in the requirements file?

@evanbrociner The package has two requirements:
zensols.deepnlp~=1.7.0
zensols.mimic~=1.0.0

If you follow these dependencies through, it should be getting zensols.install==0.2.0, not 0.1.0 and not 0.0.1.
I'm sorry I can't help you more, I don't have much experience with Google Collab.  I would recommend getting spaCy 3.2.4 installed first, as I've had issues with the kinds of errors your getting with the resolver.  Then installing the others.  Or even just going directly with the legacy pip resolver:
pip install -U zensols.mimicsid --use-deprecated=legacy-resolver

@evanbrociner I tried the last pip install specifying the resolver and it worked on a clean virtual environment.  If it still doesn't work in Google Collab, it might have something to do with Google's environment.  Feel free to open the issue back up if you continue to have problems.

I have verified this is an issue with the spaCy 3.2 package needing the --use-deprecated=legacy-resolver flag.  However, if you're still having issues, there is now a Docker image available as well.  However, you will need to build or obtain a MIMIC-III database for any access to it.


giada: 0.16.4 -> unstable-2021-09-24

Motivation for this change
Upgrade to 0.18.2 incorporating these changes.

[ ] Waiting for a release with https://github.com/monocasual/giada/pull/509

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks, updated.

Seems to solve https://github.com/NixOS/nixpkgs/issues/142178 thanks! To get input, you just need to enable it in the configuration file. I just have a strange "larsen" effect when I try to register audio, but I guess I first need to learn how to use the software ^^


eframe/ egui-wgpu incompatibility with newer wgpu versions

Describe the bug
In at least my build context (coming up), depending directly on wgpu version 20.1 (current) leads to a crash in Firefox (probably in all browsers that don't support WebGPU, it works on Chrome with enabled WebGPU). Heres the log in Firefox:
Uncaught TypeError: getObject(...) is undefined
    __wbg_requestAdapter_b0d64c10f0bfd226 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:578
    __wbg_adapter_42 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:250
    real http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:209
    __wbg_queueMicrotask_481971b0d87f3dd4 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:884
    __wbg_finalize_init http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:1559
    __wbg_init http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:1595
    async* http://<IP_ADDRESS>:8080/index.html#dev:16
mcmc_demo-6c401a0085eb0dce.js:578:30
    __wbg_requestAdapter_b0d64c10f0bfd226 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:578
    <wgpu::backend::webgpu::ContextWebGpu as wgpu::context::Context>::instance_request_adapter::hc0c16e57da346dd4 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2107636
    <T as wgpu::context::DynContext>::instance_request_adapter::hc0058abf52a1d763 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2202453
    h5cecfccf087c1a9a http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2166769
    hc389faf99ffaa202 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:105585
    h21410ab4be9f46b9 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:383964
    h35b40b5f68a3d1f0 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:661690
    hcf892b4c0a3a4fde http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:1181489
    h80f707863decb2cf http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2112313
    hbf9411c1172ab246 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:1678594
    <dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::hfaed4a23f847ddbf http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2275128
    __wbg_adapter_42 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:250
    real http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:209
    (Async: VoidFunction)
    __wbg_queueMicrotask_481971b0d87f3dd4 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:884
    h51f0a1cca5739fc7 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:1850555
    h0eb3bde3985833bd http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2195678
    hc787f4c8a7bb596f http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2192491
    h76cc710eb39d210b http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:1700792
    h670841e24720bde5 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2250830
    h38ea8e899b4efd14 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2250778
    hf493d00ff565563f http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2167733
    h658afcf1f1425f65 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:1953734
    h486a59ce3e8054c5 http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2160407
    main http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2274002
    <anonymous> http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce_bg.wasm:2280141
    __wbg_finalize_init http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:1559
    __wbg_init http://<IP_ADDRESS>:8080/mcmc_demo-6c401a0085eb0dce.js:1595
    InterpretGeneratorResume self-hosted:1412
    AsyncFunctionNext self-hosted:799
    (Async: async)
    <anonymous> http://<IP_ADDRESS>:8080/index.html#dev:16

As said, executing this in at least the one browser that supports WebGPU on stable doesnt cause an error, and additionally matching the version of wgpu that egui depends on (that being 19.1) also fixes the issue with wgpu falling back to WebGL rendering.
The build-context is the eframe template with wgpu added (as feature and direct dependency), and of course no glow feature (though in earlier experimentation re-adding it did not make a difference), I also added the wayland feature, but I dont think that makes a difference.
I want the wgpu dependency because I want to render a custom shader.
So its run/build with trunk build.
Trying to run this with the master tree of egui and eframe leads to other runtime errors down the line.
Heres a diff between the state from the template and the issue that displays the error (if wgpu dependency is changed to 20.1): https://github.com/9SMTM6/mcmc-demo/compare/initial_template…wgpu_dependency_issue
To Reproduce
Steps to reproduce the behavior (this has not been tested in its entirety):

Clone/ Apply the template
Add wgpu feature
Add wgpu dependency on 20.1 (with webgl feature to allow for fallback)
trunk serve
open the page on firefox, observe an empty page, check the browser logs and find an error similar to the above

Expected behavior
Essentially what happens if downgrade the dependency to 19.1, it detects that WebGPU is not enabled and falls back to WebGL rendering.
Alternatively at least some dependency resolution error, because there does seem to be a breaking change of wgpu but still some kind of dependency unification of the eframe/egui wgpu dependency with my direct one.
Screenshots

Not applicable
Desktop (please complete the following information):

OS: Arch Linux
Browser Firefox 126.0.1 (64-bit) | works with Chromium 125.0.6422.141 (Official Build) Arch Linux (64-bit) and the following flags: #enable-vulkan=true, #ozone-platform-hint=Wayland, #enable-unsafe-webgpu=true
Version 0.27.2 and 0.27.0, master causes different runtime errors

Smartphone (please complete the following information):
not tested
Additional context

Cant think of anything else relevant.

I've played a bit around with the egui_demo_app. Increasing the wgpu dependency of the egui workspace causes a few dependency issues (not just in cargo), but if you fix all these, the result works. Heres the commit with all changes: https://github.com/9SMTM6/egui/commit/3d0c5cdfc4263f24aceaa8f84e55814fab19ba88

Patching the template app dependencies on egui and eframe to use the version with the upgraded wgpu fixes the issue. Actually it fixes when directly depending on either wgpu version, but at this point I don't do anything with my wgpu dependency. I'd theorize that doing something with wgpu MIGHT cause the issue to re-appear (unless its really limited to the initialization, egui/eframe gets to that before me).

Indeed, I get a very similar error in Firefox if I add the wgsl shader example to the latest state of the template that worked with both wgpu versions, and depend directly on 19.1.
Nice to have that nailed down. Still really not sure where things go wrong in the packaging.