Moving my Nostr data from a compromised nsecKey to a new nsecKey.

With Bitcoin, when i think my keys have been exposed i can simply create a new secKey and transfer everything to my new wallet.
In case i think my nostr nsecKey might have been exposed how can i move all my nostr data to to my new nsecKey? Is this on client side or protocol side?

shouldn't this be marked as closed? since the solution isn't the client responsability?


The case of multiple meta tags

As discussed in the commit discussions, https://github.com/Matsuuu/web-component-devtools/commit/fcfc874b8651523e4e59475af21c25e3b5776eea
"""
It's possible the manifest will be located on another domain/subdomain, such as when a library is delivered via CDN. Because of that, the origin probably shouldn't be appended to the path if the path is absolute.
Thinking further ahead, and possibly outside the project's initial scope, it will be useful to allow multiple manifest files, especially on end user websites where more than one web component/library is being consumed. My suggestion for this would be separate meta tags instead of concatenating URLs into a one. (This will make it dead simple for libs to document how to get the tag in an end user website: e.g. "just add this tag to your page".)

"""
A implementation should be created to support a series of manifests, if this becomes a part of the schema.
Thinking about the schema itself, should the package.json's "customElements" be a array too?

Thinking about the schema itself, should the package.json's "customElements" be a array too?

I don't have a strong opinion on this. One library => one manifest keeps things simple, but that probably won't work well for monorepos where each component is packaged independently but a single manifest is generated for all of them.

monorepos where each component is packaged independently but a single manifest is generated for all of them.

imo monorepos should generate a CEM per package and have each package ship a CEM, as opposed to having one 'global' CEM

👆 I agree and would be totally fine with such a requirement. To play devil's advocate, does it make sense to allow an array for collections that aggregate components from various libs, or would generating a new manifest be desirable here as well?
I'm probably thinking too far ahead. Aside from these, I can't think of any other reasons someone would require an array here. 🤷🏻♂

Closing this for now since if this discussion needs to be continued, it'd probably be better to do so in the cem repo


feat(vercel): add support for specifying edge regions

🔗 Linked issue
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This allows specifying the regions for edge functions in Vercel, which can be beneficial to ensure they are running close to a DB (for example).
More info: https://vercel.com/docs/concepts/functions/edge-functions#edge-function-regions
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Would it possible to also have the opt-in properties described here? that way we can mix and match as well?
no worries if its out of scope
export const config = {
  runtime: 'edge', regions: 'iad1'
}


item cloning not functioning for imaged item

steps to reproduce :

create an item having image
then clone that item and verify

issue closed


Error reporting in dev

Let's surface errors for faster dev cycles.

[ ] Make sure sourcemaps work
[x] Server startup errors
[ ] Server render errors
[ ] Compilation errors
[ ] Reload when server startup errors fixed
[ ] Reload when server render errors fixed
[ ] Reload when compilation errors fixed
[ ] Trigger page updates for server startup errors
[ ] Trigger page updates for server render errors
[ ] Trigger page updates for compilation errors

What is the status of this?


Support First and Last name fields

I'd like to have the ability to add First and Last name fields in the password ui register flow.

You need to build a custom ui for this or extend the existing UI components

It looks like I'll have to also extend the password adapter as well, since it doesn't accept a first and last name field.

i'd recommend collecting these things after auth is done in your application layer
but it is technically possible since the callbacks have all the form data

I've chosen to do this afterwards like you recommended, I'll close this now.


feature: remove redundant fields

For exported plugins, we should remove redundant fields， like creater, created, modified, and some empty field, keep only required fields. can gatha do that?

It is possible to do that! But this should be optional, some author may like to keep their name.
Right now, is responsibility of author to that. I myself use Commander to do the job! Normally for a plugin with 50kB, removing created/modified decrease the size of plugin by 2kB.

First turn off the timestamp from right sidebar/tools

damn, how could I forget this. Thank you

By the way I will add an option to Gatha settings, allow user to check some checkboxes to remove created/modified/creator/modifier before packaging.
No need to reopen the issue. I add this to my todolist


Support Model::isDirty() for mapped attributes

It took me some time to figure out how to do this, but yay it works :)
Why this PR:
I was building a Model observer (Model::saving()), and needed to check if an attribute was changed to be able to update another field. Without this feature of mappable isDirty, you still need to reference the original attribute name, which sort of defeats the purpose of Mappable, so I think it should be part of that trait.
I did not change the behavior of getDirty because it is used internally by Eloquent, and I prefer not to mess around with that. The original fields are still marked dirty, the only difference is that you can check for mapped attributes as well. Besides, Eloquent does not call isDirty when saving a model, so it should be safe to override it in this backwards compatible fashion.
Because this feature also requires an update of sofa/hookable, I have made a PR there as well. To run phpunit, please git checkout  feature/isdirty-composer which includes the updated dependency. Obviously don't merge that.
class User extends Eloquent
{
   use Eloquence, Mappable;
   protected $maps = ['name' => 'user_name'];
}

$user = new User;
$user->name = 'john';
$user->isDirty('john'); // true

To clarify, the unit tests fail because I didn't include the updated hookable repository in composer.json, to keep the main repo clean.

Thanks, I will take a look at this asap!

Great! Looking forward to your questions or merge.

@boukeversteegh Hey mate, all looks fine now, just please fix that single CS error and will be merged: https://travis-ci.org/jarektkaczyk/eloquence/jobs/94699218
thanks

just fixed that error, coverage is pending for a long time tho. thanks for taking the time to check and merge this PR!


update navigation sections and fix doctest

Add navigation section for Built-In Modules and Tic-Tac-Toe and update the doctest in Filter Values By Type to include the empty list.

The navigation is supposed to be automated by the mix bc task. I'm concerned as to why it wasn't caught by the task or the CI 🤔 The code looks great but I'm going to hold this PR until I have time to look into the cause.

I've let this sit too long. Been swamped. Going to merge this and will look into navigation as soon as I can.


Training module: Intro to DataOps, Git, and CI/CD

Migrated from GitLab: https://gitlab.com/meltano/academy/-/issues/6
Originally created by @aaronsteers on 2021-06-13 16:29:02

View 6 previous comments from the original issue on GitLab


getTextDecodingError = 'TokenName is not hex-encoded: base16

Got error on token minting and sending to own wallet
 let tokenName = fromString stringTokenName

<> Constraints.mustPayToPubKey ownPK forgedValue
<> Constraints.mustMintValue forgedValue

[pab:Warning:15473] [2021-11-22 22:09:08.04 UTC] WalletClientError "FailureResponse (Request {requestPath = (BaseUrl {baseUrlScheme = Http, baseUrlHost = \"localhost\", baseUrlPort = 8090, baseUrlPath = \"\"},\"/v2/wallets/b530fd5bb69e88f92e066ba40b4fae5b843dc7cb/transactions-balance\"), requestQueryString = fromList [], requestBody = Just ((),application/json;charset=utf-8), requestAccept = fromList [application/json;charset=utf-8,application/json], requestHeaders = fromList []), requestHttpVersion = HTTP/1.1, requestMethod = \"POST\"} (Response {responseStatusCode = Status {statusCode = 400, statusMessage = \"Bad Request\"}, responseHeaders = fromList [(\"Transfer-Encoding\",\"chunked\"),(\"Date\",\"Mon, 22 Nov 2021 22:09:07 GMT\"),(\"Server\",\"Warp/3.3.17\"),(\"Content-Type\",\"application/json;charset=utf-8\")], responseHttpVersion = HTTP/1.1, responseBody = \"{\\\"message\\\":\\\"Error in $.inputs[0].assets[0]['asset_name']: TextDecodingError {getTextDecodingError = 'TokenName is not hex-encoded: base16: input: invalid encoding at offset: 0'}\\\",\\\"code\\\":\\\"bad_request\\\"}\"})"

Now I am encode token, but for some reason on balancing it encrypts it once more
I have create unique market on start and eccode to base16
"marketVal: Value (Map [(b45e5c5e6f791fa8afbaa7a5352dac88d0760173a26fda416f077928,Map [(\"4e46544d61726b6574706c616365\",1)])])"
4e46544d61726b6574706c616365 =  NFTMarketplace in base16
Now on token create method I find this utxo consume it and sand back,
create market CreateParams{..} = do
...
let marketInst = marketInstance market
     mrScript = marketScript market
     marketFactoryData   = Factory $ nftMetadata : nftMetas
     nftMetadataData   = NFTMeta nftMetadata
     marketVal    = assetClassValue (marketId market) 1

     lookups  = Constraints.typedValidatorLookups marketInst
                <> Constraints.otherScript mrScript
                <> Constraints.unspentOutputs (Map.singleton oref o)
                <> Constraints.mintingPolicy nftTokenPolicy
                <> Constraints.mintingPolicy nftTokenMetaPolicy

     tx       = Constraints.mustPayToTheScript marketFactoryData marketVal
                <> Constraints.mustPayToTheScript nftMetadataData nftTokenMetaForgedValue
                <> Constraints.mustSpendScriptOutput oref (Redeemer $ PlutusTx.toBuiltinData $ Create nftMetadata)
                <> Constraints.mustPayToPubKey ownPK nftTokenForgedValue
                <> Constraints.mustMintValue nftTokenForgedValue
                <> Constraints.mustMintValue nftTokenMetaForgedValue
 logInfo @String $ "marketVal-current : " ++ show marketVal

seems it encode  token name once more
token:<PHONE_NUMBER>3434643631373236623635373437303663363136333635
although in marketVal-current log - 4e46544d61726b6574706c616365
[pab:Info:51875] [2021-11-26 20:34:06.76 UTC] 8d9940d4-2857-4d6d-b8fe-efa2248f64ac: "marketVal-current: Value (Map [(b45e5c5e6f791fa8afbaa7a5352dac88d0760173a26fda416f077928,Map [(\"4e46544d61726b6574706c616365\",1)])])"
[pab:Warning:51875] [2021-11-26 20:34:06.81 UTC] WalletClientError "FailureResponse (Request {requestPath = (BaseUrl {baseUrlScheme = Http, baseUrlHost = \"localhost\", baseUrlPort = 8090, baseUrlPath = \"\"},\"/v2/wallets/88cc0e42b4a4f29d192c8b05967c386cb4c2aeaa/transactions-balance\"), requestQueryString = fromList [], requestBody = Just ((),application/json;charset=utf-8), requestAccept = fromList [application/json;charset=utf-8,application/json], requestHeaders = fromList []), requestHttpVersion = HTTP/1.1, requestMethod = \"POST\"} (Response {responseStatusCode = Status {statusCode = 403, statusMessage = \"Forbidden\"}, responseHeaders = fromList [(\"Transfer-Encoding\",\"chunked\"),(\"Date\",\"Fri, 26 Nov 2021 20:34:06 GMT\"),(\"Server\",\"Warp/3.3.17\"),(\"Content-Type\",\"application/json;charset=utf-8\")], responseHttpVersion = HTTP/1.1, responseBody = \"{\\\"message\\\":\\\"I can't process this payment as there are not enough funds available in the wallet. I am missing: coin: 0.000000 tokens:   - policy: b45e5c5e6f791fa8afbaa7a5352dac88d0760173a26fda416f077928     token:<PHONE_NUMBER>3434643631373236623635373437303663363136333635     quantity: 1 \\\",\\\"code\\\":\\\"not_enough_money\\\"}\"})"

you could check sources: on
https://github.com/input-output-hk/plutus-use-cases/blob/eleks/dev/eleks/nft/src/Contracts/NFT/OffChain.hs

Yep, that's correct. Plutus's TokenName is encoded automatically.
It's unclear how TokenName is not hex-encoded error was raised. The encoding should be done automatically, at least by Plutus.Contract.Wallet.extract.

Might be that I was running Cardano node from master (1.31.0), plutus apps is on 1.30
on master cardano-node it requires  --mint="1 $POLICY_ID.TOKEN_NAME"  TOKEN_NAME to be base16, on 1.30 it can be string

No, same issue on 1.30

Closing this because of https://github.com/input-output-hk/plutus-apps/issues/192 and turned out the problem is on plutus-apps side.


Cannot find name 'URLSearchParams'

I'm submitting a bug report

Library Version:
1.0.0-rc.1.0.0

Please tell us about your environment:

Operating System:
OS: Arch Linux
Kernel: x86_64 Linux 4.6.4-1-ARCH
Node Version:
v6.3.1
NPM Version:
3.10.5
JSPM OR Webpack AND Version
None
Browser:
Chrome Version 52.0.2743.82 (64-bit)
Language:
Typescript

Current behavior:
When I start to compile I got a bunch of errors:

/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,23): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,23): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,35): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,35): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,45): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,45): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,64): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,64): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,74): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(17,74): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,34): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,34): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,44): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,44): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,63): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,63): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,73): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(27,73): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,25): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,25): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,45): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,45): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,57): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,57): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,76): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(36,76): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(47,42): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(47,42): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(47,54): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(47,54): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(47,73): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(47,73): error TS2304: Cannot find name 'Response'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(68,13): error TS2304: Cannot find name 'Headers'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(68,13): error TS2304: Cannot find name 'Headers'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(73,43): error TS2304: Cannot find name 'URLSearchParams'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(73,43): error TS2304: Cannot find name 'URLSearchParams'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(258,16): error TS2304: Cannot find name 'Request'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(258,16): error TS2304: Cannot find name 'Request'.
/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(258,63): error TS2304: Cannot find name 'Response'.
[19:21:33] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(258,63): error TS2304: Cannot find name 'Response'.

I solved most of these errors by installing typings with typings i dt~whatwg-fetch -GS however one error remained:

/srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(73,43): error TS2304: Cannot find name 'URLSearchParams'.
[19:37:46] gulp-notify: [Error running Gulp] Error: /srv/http/aurelia/node_modules/aurelia-fetch-client/dist/aurelia-fetch-client.d.ts(73,43): error TS2304: Cannot find name 'URLSearchParams'.

What is the expected behavior?
Gulp should not trow an error.

Adding the following two lines to typings/index.d.ts worked for me
///
///
Although, I now get an error with au build
[Error: ENOENT: no such file or directory, open 'C:_web\au8\src\aurelia-fetch-client.js'
I am not familiar with the build process or package.json contents to work it out further for now.

In the aurelia_project/aurelia.json file, I added  "aurelia-fetch-client",   after           "aurelia-templating-binding", so it looked like this..  it compiles now with
      "aurelia-templating",
      **"aurelia-templating-binding",**
      "aurelia-fetch-client",
      {
        "name": "text",
        "path": "../scripts/text"
      },

Which lines did you add to index.d.ts, I can't see them in your post.

I don't know what @TracesOfNut added, but to get past this error, I had to add a reference to ../node_modules/aurelia-fetch-client/doc/url.d.ts

Interesting, i'll try this later today.

For anyone that comes across this...this is a TypeScript issue and has nothing to do with Aurelia itself. The Fetch specification makes uses of various types that it defines or are defined by other specs. To make TypeScript happy, you must have dts files that represent all the types from the required specs. So, you need a dts for the Fetch standard itself and you also need one for the url standard. The TS team should be providing those directly but for some reason they are not yet so you have to install them manually from community implementations.

For future visitors of this thread: I've found that the URLSearchParams interface is the only part of the fetch library not currently in any standard typings library, so I created a simple repo which you can add with:
typings install github:RomkeVdMeulen/URLSearchParams --global --save

You have to import it from @angular/http
import {URLSearchParams} from '@angular/http';

URLSearchParams is in the standard DOM library starting with TypeScript 2.2.1. I've updated the repo with instructions for replacing the custom typings with the standard lib.


UiPath Orchestrator

Contains v1.0.0 of the UiPath Connector which we are submitting for certification.

[X] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[X] I attest that the connector works and I verified by deploying and testing all the operations.
[X] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[X] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[X] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

Hello @TuckermanRav,
Thank you very much and congratulations on your new submission. Our Certification Engineers will review it within 1-2 weeks.
Please let us know if you have any questions.
Thank you very much again for working with us.

Hello @TuckermanRav,
I hope you are doing well.
Congratulations, your pull request is approved and merged. Please submit the files to ISV Studio or update your submission using your latest commit ID, please allow us up to 1-2 weeks to review your submission, and our Engineers will notify you in the “Activity Control” area in ISV Studio. Please make sure that the icon meets all the requirements, that it’s size is 230x230, icon background is not white or transparent and it matches the iconBrandColor property in apiProperties.json file.
After making the submission in ISV Studio, please attach an intro.md file in the activity control section. This file is required and it's different from readme.md. You can find an example of intro.md file on this page at step 6.
Please Create an environment in the Preview region. You will use this environment later to test your connector after Microsoft is done with the functional verification for your connector.
We expect all tests to be completed within 1-2 weeks.
If your connector passes all tests, the deployment process begins, and it typically takes up to 3 to 4 weeks to deploy your connector to all of our regions.
Please let me know if you have any questions or run into any problems while creating or updating your submission.
Thank you very much for working with us.

@TuckermanRav We have reviewed and approved your PR. Please go ahead and make a submission in the ISV Studio to move forward with the certification process and let us know if you have any questions.
https://docs.microsoft.com/en-us/connectors/custom-connectors/submit-for-certification#submit-to-isv-studio
Thanks


Pod reference contains broken links to KEP

This is a Bug Report

Problem:
These links are broken.

https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md
https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md
https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md

Proposed Solution:
The correct links would be as follows.

https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead

Page to Update:
https://kubernetes.io/docs/reference/kubernetes-api/workloads-resources/pod-v1/

The OpenAPI definition, not this page, should be modified, right?

It looks like it's being updated and needs to be regenerated.
/triage accepted
/language en
/kind bug

@oke-py @Cweiping so this just involves regenerating the reference documentation from the OpenAPI spec, a la https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/?

/assign

I regenerated the API docs, but the same links are still there (the broken ones).
These are the locations where they appear in the k8s source:
staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger.json
8905:          "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",

staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go
1644:	"readinessGates":                "If specified, all readiness gates will be evaluated for pod readiness.  A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",

staging/src/k8s.io/kubectl/testdata/openapi/swagger.json
8905:          "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",

api/openapi-spec/swagger.json
8908:          "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",

vendor/sigs.k8s.io/kustomize/kyaml/openapi/kubernetesapi/v1204/swagger.json
8550:          "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md",

pkg/apis/core/types.go
2836:	// More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md

obviously some of them are generated but given that trunk still has these broken references I don't think generating the API docs helps. I'll see about submitting a PR into k8s source I guess.

/remove-lifecycle stale

FYI this looks like it was fixed btw: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#pod-v1-core


A couple grammar updates to semaphore.md

:)

Is the build broken on this repo? I only made text changes and it shows the appveyor build failed...

??


Surface debug tasks

Fixes https://github.com/badsyntax/vscode-gradle/issues/394

superseded by #1149


"Request body must be a valid JSON array" returned

What am I missing here?
Sending this:
.\curl -X POST 'https://api.openfigi.com/v1/mapping' -k -H 'Content-Type: text/json' -H 'api_key_here' --data '[{"idType":"ID_WERTPAPIER","idValue":"851399","exchCode":"US"}]'
And getting back:
Request body must be a valid JSON array.

I am not sure, this works for me:
$ curl -X POST 'https://api.openfigi.com/v1/mapping' -k -H 'Content-Type: text/json' -H 'api_key_here' --data '[{"idType":"ID_WERTPAPIER","idValue":"851399","exchCode":"US"}]'
[{"data":[{"figi":"BBG000BLNNH6","name":"INTL BUSINESS MACHINES CORP","ticker":"IBM","exchCode":"US","compositeFIGI":"BBG000BLNNH6","uniqueID":"EQ0010080100001000","securityType":"Common Stock","marketSector":"Equity","shareClassFIGI":"BBG001S5S399","uniqueIDFutOpt":null,"securityType2":"Common Stock","securityDescription":"IBM"}]}]

I just copied your command (except for the leading \.)

Also note that your api key should be included as
--header 'X-OPENFIGI-APIKEY: ...'

Also make sure the command is has no new lines, or if it does, use \ at the end like so:
curl -v -X POST 'https://api.openfigi.com/v1/mapping' \
     --header 'Content-Type: text/json' \
     --header 'X-OPENFIGI-APIKEY: abcdefghijklmnopqrstuvwxyz' \
     --data '[{"idType":"ID_WERTPAPIER","idValue":"851399"}]'

Weird.  It runs as I pasted it on another machine but not this one... Must be the build of curl for windows.  Runs fine on OSX and a Ubuntu box.
thanks...


Question about Task 2.11 (Superposition of two bit strings)

Hi,
I've come up with a solution alternative to the one suggested in the reference, which - if it worked - would probably be conceptually simpler. The idea is that, given the qubit register and two boolean registers from the outside (in this case, from the test), I attach one additional qubit, in a way extending my quantum register by one. I then apply Hadamard gate to that qubit, essentially obtaining the following superposition:
1/sqrt(2) (|0>|0>...|0> + |1>|0>...|0>)

where I assume that the first qubit is my additional one. I then iterate through the first classical register and whenever its item is true I apply a CNOT between the 0th and ith qubits, thus setting one half of the superposition. I then negate the first qubit with X and repeat the procedure for the second classical register. I finally discard my additional qubit and I'm left with my resultant qubit register.
Below is my take on implementing an operation according to the description above:
operation TwoBitstringSuperposition (qs : Qubit[], bits1 : Bool[], bits2 : Bool[]) : Unit {
        // ...
        using (q = Qubit()) {
            H(q);
            for (i in 0..Length(qs)-1) {
                if (bits2[i]) {
                    CNOT(q, qs[i]);
                }
            }
            X(q);
            for (i in 0..Length(qs)-1) {
                if (bits1[i]) {
                    CNOT(q, qs[i]);
                }
            }
            Reset(q);
        }
    }

The thing that puzzles me is that the test suite in QuantumKatas fails to pass. But I moved ahead and tried to simulate a simplified scenario, in which I specify the desired parameters of the superposition and then measure multiple repetitions. If I do it that way, the mechanism seems to work. Below is a test operator, which calls the one above in a for loop and gathers statistics:
operation TestTwoBitstringSuperposition (count: Int) : Int[] {
        mutable arr = new Int[4];
        using (q = Qubit[2]) {
            for (i in 1..count) {
                Set(Zero, q[0]);
                Set(Zero, q[1]);
                TwoBitstringSuperposition(q, [true,true], [false,false]);
                let res = [M(q[0]), M(q[1])];
                if (res[0] == Zero && res[1] == Zero) {
                    set arr[0] = arr[0] + 1;
                } elif (res[0] == Zero && res[1] == One) {
                    set arr[1] = arr[1] + 1;
                } elif (res[0] == One && res[1] == Zero) {
                    set arr[2] = arr[2] + 1;
                } elif (res[0] == One && res[1] == One) {
                    set arr[3] = arr[3] + 1;
                }
            }
            Set(Zero, q[0]);
            Set(Zero, q[1]);
        }
        return arr;
    }

It gives me sensible output, differing according to how I specify the boolean registers. I'm having trouble debugging the provided tests, so I'd like to ask you for help either making it work, or pointing out how my approach is wrong. Thanks!

Your solution doesn't actually prepare the superposition of the two given bit strings, it prepares one of the bit strings at random with 50-50 chance.
Consider the simplest example possible: prepare superposition of |0⟩ and |1⟩ basis states (bits1 = [true], bits2 = [false]). After the two loops, right before Reset, the state of the qubits is |00⟩ + |11⟩ (with appropriate normalization). Reset measures the qubit q and applies X if necessary to convert it to |0⟩ state. If you measure one of the qubits in the superposition |00⟩ + |11⟩, the second one will be left either in |0⟩ state or in |1⟩ state, depending on the measurement result, but not in a superposition.
It is possible to make this approach work, but you'll need to convert the additional qubit to |0⟩ state by uncomputing it, not by measuring it - for example, you can find a position in which the bitstrings differ and do a CNOT with the corresponding qubit the as control and the additional qubit as the target - but then it stops being conceptually simpler :-)

Thanks for the great explanation! So my means of zeroing the additional qubit (i.e. Reset) simply collapses the superposition I've built and by the time I was measuring my qubits proper, there was no more superposition to collapse, is that right?
I also want to clear one detail about your suggestion of 'uncomputing'. So, the configuration of superpositions between the additional qubit and the one corresponding to the first mismatch in bitstrings can be either 'straight' or 'diagonal' (meaning (q0 = |0⟩+|1⟩, qi = |0⟩+|1⟩) or (q0 = |0⟩+|1⟩, qi = |1⟩+|0⟩), respectively), and so the CNOT results in q0 becoming |0⟩ or |1⟩, respectively, after which measuring it no longer collapses our desired superposition. So the crux here is going with a unitary transformation (CNOT) instead of a measurement. Do I get this right?

I've implemented your suggestion and it worked fine. Here's the code:
operation TwoBitstringSuperposition (qs : Qubit[], bits1 : Bool[], bits2 : Bool[]) : Unit {
        // Find first index where bit strings differ
        mutable mismatch = -1;
        for (i in 0..Length(qs)-1) {
            if (bits1[i] != bits2[i] && mismatch == -1) {
                set mismatch = i;
            }
        }
        // Allocate one additional qubit
        using (q = Qubit()) {
            H(q); // Produce superposition
            // Set one half of the superpositon...
            for (i in 0..Length(qs)-1) {
                if (bits2[i]) {
                    CNOT(q, qs[i]);
                }
            }
            // ...then another
            X(q);
            for (i in 0..Length(qs)-1) {
                if (bits1[i]) {
                    CNOT(q, qs[i]);
                }
            }
            // Uncompute the additional qubit
            CNOT(qs[mismatch], q);
            // Cleanup
            Reset(q);
        }
    }

Thanks for a very enlightening discussion and keep up the great work :).


Add edge attribute visualization

Similar to node attribute vis, the edge attribute vis will show a summary visualization for edge attributes

Glitch resulted in two issues opened for the same issue. Closing this issue, it is now tracked with #182

Glitch resulted in two issues opened for the same issue. Closing this issue, it is now tracked with #182


Cannot read property 'setChild' of undefined

The app starts just fine, displaying the textarea and the button. Deleting all text in the textarea also removes the button. But typing something into the area afterwards causes a crash:
Code:
import React, { Component } from 'react';
import { render, Window, App, TextInput, Box, Button } from 'proton-native';

class Notepad extends Component {
  state = { text: 'Hello' };

  render() {
    return (
      <App>
        <Window title="Notes" size={{ w: 500, h: 500 }}>
          <Box>
            <TextInput
              onChange={text => this.setState({ text })}
              multiline={true}
            >
              {this.state.text}
            </TextInput>
            {this.state.text.length > 0 && <Button>Test</Button>}
          </Box>
        </Window>
      </App>
    );
  }
}

render(<Notepad />);

$ babel-node index.js
The above error occurred in the <BUTTON> component:
    in BUTTON (created by Notepad)
    in VERTICALBOX (created by Box)
    in Box (created by Notepad)
    in WINDOW (created by Notepad)
    in APP (created by Notepad)
    in Notepad

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:6780
      throw _error4;
      ^

TypeError: Cannot read property 'setChild' of undefined
    at Button.addParent (/????/proton-notepad/node_modules/proton-native/bin/components/DesktopComponent.js:148:38)
    at Button.render (/????/proton-notepad/node_modules/proton-native/bin/components/Button.js:53:12)
    at appendChild (/????/proton-notepad/node_modules/proton-native/bin/reconciler/index.js:70:53)
    at commitPlacement (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:4909:13)
    at commitAllHostEffects (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:5681:13)
    at Object.invokeGuardedCallback$1 (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:1562:10)
    at invokeGuardedCallback (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:1509:29)
    at commitRoot (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:5801:9)
    at performWorkOnRoot (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:6803:42)
    at performWork (/????/proton-notepad/node_modules/react-reconciler/cjs/react-reconciler.development.js:6753:7)
error Command failed with exit code 1.

Having the same exact error here, and it happens when components are added/removed "dynamically": for example if you try to render a <Text /> component based on a boolean condition, everything crashes with the very same error


How to remove "All"  text from the tree

Even if I get to know how to replace it is also fine. Can you give tips to do so?

Can anyone help?

There are 2 solutions:

Use custom template.
Use custom i18n.

Thanks for the reply. I will try to describe the problem in detail

Do you remove it or change it with another text?

I want to make Z539... as first line of display. So I am just checking whether any inbuilt feature/property is there to remove "All"

I want to remove

Set configuration hasAllCheckBox=false to hide it => done

Thanks for live support, works fine. I am closing the issue

I want to change the text just the text All, how do I do that? In fact I need to translate it, for "Tudo"


Migrations should go under a root folder called Data

Not sure if it qualifies as a breaking change, but it's been the way it is since Entity Framework 4.3...

This would only be for MVC apps (based on the default template), and it is just an idea based on feedback that called for the creation of a Data folder for things like the application's DbContext. We could otherwise:

Keep Migrations as a top level folder side by side with the new Data folder
Not create the Data folder at all and leave the application's DbContext under the Models folder.

We want to stay consistent with what we have done in the past. It's also not clear that Data is the right pattern. Even discussing within our team there are various opinions on where things should go:

Everything under Models
Just CLR classes under Models and then Migrations and DbContext under Data
etc.

Developers are free to move the migrations to wherever they want and then any subsequent migrations will be added in the same location.

Also worth noting that we haven't heard any significant feedback in the past that folks didn't like where we have been putting them

Reopening this issue per the templates review. In RC2 we will update the layout to move migrations to data folder. https://github.com/aspnet/Templates/issues/290

We're not going to change this in EF. We have been using Migrations folder for several releases now and haven't had negative feedback. Migrations will still work with the template since we just follow wherever your existing migrations are.


is this project dead?

just curious

maybe

oh no!

Considering that latest commit dates back to 26 May 2015 and that there are 6 un-merged pull requests with oldest one being from 2013... I guess it sadly is dead.
@mattupstate Can you please confirm or deny it please?

I started using all the Flask Security stack, now I see it's pretty abounded. Is there any alternatives?

This seems to be the only package to provide object based/row level permissions, as far as I know Flask Security doesn't do that

@patvdleer Flask Security based on Flask Principal. Both repos also owned by the same person.

@leonprou Flask security does provide role based permissions but these are access based as far, as I know, not object based/row level based

I am using this project in a online erp system with a lot cusomize.
In my experience this project is not "dead".
The philosophy in this project is awesome！

I am using this project in a online erp system with a lot customize.
In my experience this project is not "dead".
The philosophy in this project is awesome！

Just curios is your project open source?

Definitely looks like the project is dead. According to his profile, the owner hasn't made any flask-related contributions since 2015, and looks like he doesn't do anything on Github at all any more.
Any interest in somebody else supporting the project? Seems like it should be relatively low effort, since few changes should be needed.

Here's a blog post from mattupstate that explains what has happened.

Wow. Sometimes we forget that we're human first before being considered software developers.

Hi all folks, Flask-principal is now maintained by the Pallets-eco organization. Thanks for your support and concern for all those years.
@aenglander Marked for closing.


hide debug flag, since is for developer only

Hide debug flag, since it should not be presented for end users, it should be used for developers only.

Closing for now, if we get questions from users about this I will re-create it and merge.


How to calculate the remainder? I didn't find the divideandremainder () method

How to calculate the remainder? I didn't find the divideandremainder () method

It has not been implemented yet. Will take it up in the future. As a workaround (for now) you can do something like:
a - b*round(a/b)

Using the bigdecimal functions for.

@1171736840 The feature has been added to the new release. Please validate and let know.


期望支持ParameterBuilder

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

supported ParameterBuilder in 1.1.1 version


Potential bug in HISTORY command with "point="

Hi @tkoziara,
I am getting an error when requesting output from parmec using the following HISTORY command:
result1 = HISTORY(entity='DX',source=1,point=(1.1875, 1.425, 1.95975),h5file='test0rb.h5',h5last=True)
The error is as follows:
output.cpp: 2923 => HDF5 file read error: ANGVEL dataset missing
Opening the .h5 files in paraview gives me access to ANGVEL results so perhaps there's an issue with accessing the .h5 files using the HISTORY command?
Note that I don't get this error if I remove the "point=" request in the HISTORY command.
I'm using parmec changeset dd103c0.
Many thanks,
Ben
(mention @stevebrasier)

OK, thanks for reporting:) Try >= dca0c42. Closing (do reopen if fails).
Tomek

Thanks @tkoziara. I'll later today/tomorrow morning :)
Ben

Hi @tkoziara, this fix works :)
Thanks,
Ben


[2.0] $router.go is replaced by $router.push, but is not documented in release notes

There is no mention of this behavior change in https://github.com/vuejs/vue-router/releases, which caught me off-guard. Would be better to write a note about this.

Yes... updated the beta.1 release notes.


Payback Loan - Error message even with sufficient DUSD

What happened:
• User has sufficient DUSD balance, go to Payback Loans screen, “How much of loan do you want to pay?” is highlighted in red with error message
What you expected to happen:
• No error message if user has sufficient DUSD balance
How to reproduce it (as minimally and precisely as possible):
Loans > Click into vault > Loans > PAYBACK LOAN > “How much of loan do you want to pay?” is highlighted in red with error message
Anything else we need to know?:

Issue resolved


Correct privileges required for show ranges

Also show how to add a user to the admin role.
Fixes #7297

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/faf3612130996b47da7107120bb632378d345332/
Edited pages:

v19.2/authorization.md
v19.2/show-ranges.md
v20.1/authorization.md
v20.1/show-ranges.md


Api

I would add that you need to update your remote if your local server has code, so that I can update your server assignment points.


middleware cant not handle exception

built by Ts2.1 ;
Expception throw in use function of middleware  cant be handled correctly,   this.handleError was undefined. 'this' scope is not work when call this.handleError.
Generated Code in ExpressDriver.js
ExpressDriver.prototype.registerMiddleware = function (middleware) {
if (!middleware.instance.use)
return;
this.express.use(function (request, response, next) {
var _this = this;
}
actually , I modified the js, the code can work.
ExpressDriver.prototype.registerMiddleware = function (middleware) {
if (!middleware.instance.use)
return;
var _this = this;
this.express.use(function (request, response, next) {
   }

same as #63


Mark nightly releases as prerelease

This will ensure the nightly releases aren't marked as "latest". This will make it easier to find the actual latest release on github.

I'm not quite sure how to test this without merging it and running a release

I included your patch in a test run here:
https://github.com/korran-testorg/caliptra-sw/actions/runs/8056647396

Yup, works:
https://github.com/korran-testorg/caliptra-sw/releases/tag/release_v20240227_0


Improve Appearance of "Insert Admonition" Command Dialog

Please improve the appearance of the Insert admonition command dialog window.

Problems

dropdown to small (width)
icons are overflowed by text
new users have too many possible options (might be confusing, what to use..)

other (common) workflows
doesn't fit into personal scheme

would like to use only my types
guidelines (personal/company/…)

decluttering

minimalism
focus

Suggestion
Appearance Improvement: Move & Align Icons on the left side (fixed width)

Appearance Improvement: full Input width for the dropdown (or even better with auto sizing)

Add Configuration Option: Disabled predefined/default options
Add a checkbox in the configuration, to disable

all (keep it simple) predefined Admonition types
or any user selected (advanced) predefined Admonition types

The user can add custom types, only the required or common used types by themselves.

it would be great to disabled the options at least in the select dropdown (the background logic can be the same)
or add data-Attributes to the selection Dropdown (for custom CSS, to hide Options from the View)

dropdown to small (width)
icons are overflowed by text

Does this happen for you on the default theme? I think this might be a theme issue.
Help vault appearance:

I did make the suggester full-width, though.

@valentine195 Good point, it seems that an issue is related to the theme I'm using "Minimal Theme"

~icons are overflowed by text~

the related problem is "icons are overflowed by text" --> Theme: "Minimal" Issue
https://github.com/kepano/obsidian-minimal

~Appearance Improvement: Move & Align Icons on the left side (fixed width)~

Some Tests with other common Themes
Default Theme 🆗

Depp Work Theme 🆗

Nord Theme 🆗

Minimal Theme 🐛

Obsidian Version : 0.13.26
Admotion Version 6.12.1
Minimal Theme Version: 5.1

Okay, I'm going to consider this closed then.

Okay, I'm going to consider this closed then.

Thanks!

Minimal Theme Version: 5.1


primitive type matched with constructor breaks serialization

The Parceler framework will happily write out an int as a primitive type, and then attempt to read that as the Integer wrapper type.  The specific scenario was:

Object annotated with @Parcel, using Bean serialization
Getter returning int
Constructor arg of getter property name taking Integer

Result:

serialization writes a single integer into the parcel for a primitive value
deserialization reads two integers from the parcel for the wrapper type
deserialization continues past the problem with garbage data

Expected behavior (different from result) - one of the following:

Parceler detects the mismatch in types and serializes using the format expected by the constructor IF ABLE (scenarios reversed should error)

Parceler always refuses to match primitive types with associated wrappers before generating code

Example:
@Parcel(Parcel.Serialization.BEAN)
public class Victim {
  @ParcelConstructor
  public Victim(final Integer intArg, ...) { ... }

  public int getIntArg() { return 1; }
}

Ah, good catch!  I'll try to resolve this asap.

@del-flexe, I decied to be a little less flexable on this one, following the suggesting Expected Behavior 2.  With the referenced PR types must match identically in order for Parceler to associate them.  Would you like to test this PR out?

On second thought, supporting autoboxed types isn't that complex.  I went ahead and added it.

This is probably pretty easily-tested ... I'll take this patch as good (I'm working around it for now).

Sounds good.  Yeah, the PR is > 50% tests so I think it is well vetted.


Android resource linking failed on RN 0.58

    buildToolsVersion = "28.0.3"
    minSdkVersion = 16
    compileSdkVersion = 28
    targetSdkVersion = 27
    supportLibVersion = "27.1.1"

Execution failed for task ':react-native-dialogs:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  Output:  /Users/stereodenis/work/busfor-app/node_modules/react-native-dialogs/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  /Users/stereodenis/work/busfor-app/node_modules/react-native-dialogs/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  /Users/stereodenis/work/busfor-app/node_modules/react-native-dialogs/android/build/intermediates/res/merged/release/values/values.xml:1012: error: resource android:attr/fontVariationSettings not found.
  /Users/stereodenis/work/busfor-app/node_modules/react-native-dialogs/android/build/intermediates/res/merged/release/values/values.xml:1013: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

  Command: /Users/stereodenis/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/04da7acbe4e6c290598770fad4d05b99/aapt2-3.2.1-4818971-osx/aapt2 link -I\
          /Users/stereodenis/Library/Android/sdk/platforms/android-26/android.jar\
          --manifest\
...
Daemon:  AAPT2 aapt2-3.2.1-4818971-osx Daemon #0

It might be the same problem here - https://github.com/aakashns/react-native-dialogs/issues/98

it starts working with this:
subprojects {
...
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex') ) {
                details.useVersion "27.1.1"
            }
        }
    }
}

So, with version 28.0.0 its not working

Interesting, thanks for sharing! I'll leave this open because this should be troulbeshooted as it should work out of the box with default stuff. We might need to update the underlying java lib.

it starts working with this:
subprojects {
...
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex') ) {
                details.useVersion "27.1.1"
            }
        }
    }
}

So, with version 28.0.0 its not working

u save my day.. thx bro..

Where can I locate the file to downgrade the version in my project folder?

it starts working with this:
subprojects {
...
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex') ) {
                details.useVersion "27.1.1"
            }
        }
    }
}

So, with version 28.0.0 its not working

u save my day.. thx bro..

Where can I locate the file to downgrade the version in my project folder?


Number of steps not matching

Wehn computing the number of steps here
https://github.com/instadeepai/marl-eval/blob/43f7d0a952c91187ff00702f94bafd423b7bcc99/marl_eval/utils/data_processing_utils.py#L230
-1 is subtracted to the actual number of steps even if there are no absolute metrics.
Is this expected? are users constrained to provide the "absolute_metrics" key?

Hi @matteobettini, yes this is intended for now. We always assume that a user will be passing in an absolute_metrics key.


[5.8] Add map() method to the query builders

I often find myself wanting to map query builder results, and I'd like to have the power of chunk()/each() rather than having to get() all the results and then perform my map operation. This adds that function to the BuildsQueries trait.
Before:
// Load all users into memory at once
$summary = User::whereConfirmed(false)->get()->map(function(User $user) {
    return "{$user->name} <{$user->email}>";
});

After:
// Only load 100 at a time
$summary = User::whereConfirmed(false)->map(function(User $user) {
    return "{$user->name} <{$user->email}>";
}, 100);

This implementation will return an Eloquent collection if all the mapped results are instances of Model or a base collection in all other cases.

IMO it seems out of the scope of building queries. Doesn't really belong here. The builder is macroable though.

What's preventing you from using chunk()/each() though? You don't need map() specifically to iterate through chunked results because chunk()/each() already do that for you:
$summary = collect();
User::whereConfirmed(false)->each(function(User $user) use ($summary) {
    $summary->push("{$user->name} <{$user->email}>");
}, 100);

Isn't it what you wanted? Or am I missing something.

Yeah, I can easily implement this locally for my own use, but I felt like it was a common enough pattern that it should be in the framework.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Feature: copy response to clipboard

DHC has this. Useful for very large requests (1Mb/100k lines), which currently crash POSTMan.
Happy to pay if this is a premium feature.

Update: "copy" is listed at http://www.getpostman.com/all_features, but it's unclear whether it's paid or not. Is there an edition comparison page somewhere?
Same for code folding, which DHC has too.

Nevermind, I was running the non-packaged app, which was being linked from all over StackOverflow.


Verify Troubles with PostGIS

sh-4.2$ ./backup.sh -v test -f also_a_test

Verifying backup ...

Settings:
- Database: test
- Backup file: /backups/daily/2019-04-03/gwells-pgsql-staging-gwells_2019-04-03_11-00-17.sql.gz

Would you like to continue?  Press Ctrl-C to exit, or any other key to continue ...

waiting for server to start.........
Restoring from backup ...
Restoring to <IP_ADDRESS>:5432 ...
DROP DATABASE "test";
DROP DATABASE

CREATE DATABASE "test";
CREATE DATABASE

GRANT ALL ON DATABASE "test" TO "user24W";
GRANT

Restoring from backup ...
SET
SET
SET
SET
SET
SET
SET
SET
CREATE SCHEMA
ALTER SCHEMA
CREATE EXTENSION
COMMENT
CREATE EXTENSION
COMMENT
CREATE EXTENSION
COMMENT
ERROR:  could not open extension control file "/opt/rh/rh-postgresql96/root/usr/share/pgsql/extension/postgis.control": No such file or directory
Restore complete - Elapsed time: 0h:0m:1s

waiting for server to shut down.... done
server stopped
Cleaning up ...

[!!ERROR!!] - Backup verification failed; /backups/daily/2019-04-03/gwells-pgsql-staging-gwells_2019-04-03_11-00-17.sql.gz

Elapsed time: 0h:0m:12s - Status Code: 3

@DerekRoberts, What's the name of the base image you are using?

@WadeBarnes It's one that was created for GWells a while back by the devops team.  Sounds like we might have to replace it.
https://github.com/bcgov/openshift-postgresql-oracle_fdw

@DerekRoberts, I don't have access to that project to pull a copy of the image for testing.

@WadeBarnes How about now?  View and image-puller rights temporarily granted.

We determined the image was missing the required plug-ins.  So it's simply a matter of updating the image, or switching to a base image that contains the plug-ins.


Add v0.3.0 documentation README.md

Samples
Documentation should have a collection of examples to allow easy usage
Cookbooks
Explain what is happening behind the Dart code

Any progress on 3.0.0? Are you still working on this plugin? thanks.

no, the development of this package is currently frozen

Closed a time ago by #42.
See releases.


Fixed markdown issue

Corrected markdown/duplicate issues seen in lines 220-224 & 228.
Resolves #499

@JoeDavies-MSFT - PR is ready for final review based on issue #499.
Thank you.
cc: @kenwith


viewer_certificate.0.acm_certificate_arn conflict

Using release 0.7.0
AWS provider 2.0
module "cf-s3-cdn" {
  name                     = "help-scentregroup-cf-s3-cdn"
  source                   = "cloudposse/cloudfront-s3-cdn/aws"
  version                  = "0.7.0"
  stage                    = "xxx"
  namespace                = "xxx"
  aliases                  = ["xxx]
  parent_zone_id           = "xxx"
  origin_bucket            = "xxx"
  acm_certificate_arn      = "xxxxx"
  minimum_protocol_version = "TLSv1.1_2016"
  price_class              = "PriceClass_All"
}

Plan error:
Error: module.cf-s3-cdn.aws_cloudfront_distribution.default: "viewer_certificate.0.acm_certificate_arn": conflicts with viewer_certificate.0.cloudfront_default_certifi
cate

Error: module.cf-s3-cdn.aws_cloudfront_distribution.default: "viewer_certificate.0.cloudfront_default_certificate": conflicts with viewer_certificate.0.acm_certificate
_arn

Same issue here.

Same here

same

Same. However, the I read that this is resolved in the to be released version 2.1.0 of the aws provider.

Thanks guys for the updates. Unfortunately, we don't have the engineering bandwidth to address, but we will promptly review any PRs.

I no longer get the error with the 2.1.0 aws provider

Confirming the new provider fixes it. Thanks all.


fix: apply Vite resolving algorithm to node_modules libraries

This PR adds experimental loader and conditions, so native Node resolving algorithm knows about Vite's resolving algorithm.
This is a giant breaking change, but still should not affect a lot of people. This fixes issues when people applied custom conditions and they were working in Vite, but didn't work in Vitest, because it was imported from another library. This PR also allows applying alias to external libraries - this is useful for preact, for example.
We still don't allow mocking external libraries within another external library!
Closes #1638

Can we have a flag to toggle this behavior?

Can we have a flag to toggle this behavior?

How would you call it? I personally don't think it should be toggable. From my experience with Vitest issues for the past several months, is that people expect aliasing to work as it works in Jest (also inside node_modules)

Ok, we could try and see how it works

After upgrading to v0.20.1, most of my tests are now failing with:
SyntaxError: Named export '__assign' not found. The requested module 'tslib' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'tslib';
const { __assign } = pkg;

It seems to be caused by framer-motion using tslib. The package does include an exports field and module support, so a bit weird why this is popping up. Thinking it's related to how node modules are resolved now?

After upgrading to v0.20.1, most of my tests are now failing with:
SyntaxError: Named export '__assign' not found. The requested module 'tslib' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'tslib';
const { __assign } = pkg;

It seems to be caused by framer-motion using tslib. The package does include an exports field and module support, so a bit weird why this is popping up. Thinking it's related to how node modules are resolved now?

Please, open a separate issue with minimal reproduction. Thank you! 😄

This change breaks projects using yarn pnp
0.19.1 works, when upgrading to 0.20 I get
Serialized Error: {
  "errors": [
    [Error: Cannot find module '/workspace/octane/.yarn/__virtual__/vitest-virtual-b7339852d0/0/cache/vitest-npm-0.20.2-9730ec2bf1-eea156689f.zip/node_modules/vitest/dist/loader.mjs' imported from /workspace/octane/
Did you mean to import /workspace/octane/.yarn/__virtual__/vitest-virtual-b7339852d0/0/cache/vitest-npm-0.20.2-9730ec2bf1-eea156689f.zip/node_modules/vitest/dist/loader.mjs?],
  ],
}

Looks like its already reported https://github.com/vitest-dev/vitest/issues/1758


[Event Request] - New event OnBeforePostResourceJnlLine inside 5819 "Undo Service Consumption Line"

Hello, please consider adding the following event to Codeunit 5819 "Undo Service Consumption Line"
    [IntegrationEvent(false, false)]
    local procedure OnBeforePostResourceJnlLine(ServiceShptLine: Record "Service Shipment Line"; var IsHandled: Boolean)
    begin
    end;

and call it twice inside the "PostResourceJnlLine" procedure:
    local procedure PostResourceJnlLine(ServiceShptLine: Record "Service Shipment Line")
    var
        ResJnlLine: Record "Res. Journal Line";
        ResJnlPostLine: Codeunit "Res. Jnl.-Post Line";

        IsHandled: Boolean;

    begin

        **IsHandled := false;
        OnBeforePostResourceJnlLine(ServiceShptLine, IsHandled);
        if IsHandled then
            exit;**

        SourceCodeSetup.Get();
        ServShptHeader.Get(ServiceShptLine."Document No.");

        with ResJnlLine do begin
...
...

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52544.


Improve type error for missing argument (regression after #1609)

#1609 regressed in type error for missing arguments, see https://github.com/actonlang/acton/pull/1609/files#diff-ade64a3c6f02a7c6d2466dad27669124eb3bf1a6b4f8a5ace52873c62889defb. We used to get the call site but now it only points to the definition.
Before:
|
4 |a = f(3)
  |    ^^^^

  |
1 |def f(x,y):
  |    ^
Type incompatibility between definition of and call of f (too few arguments in call)
f is inferred to have a type of the form [A(Plus)] => _(A, A) -> A

Now:
  |
1 |def f(x,y):
  |        ^
Keyword element 'y' is not found

This is after #1609 but not sure if it's on @nordlander or @sydow to fix.

This is clearly on me. Next week...

Fixed by #1637


CDN FrontDoor: cdn/resource-manager/Microsoft.Cdn/stable/2021-06-01 RuleSetName not returned in GET call

resp, err := client.Get(ctx, id.ResourceGroup, id.ProfileName, id.RuleSetName, id.RuleName)
props := resp.RuleProperties

props.RuleSetName // this property is empty and does not get returned in the above call

RuleSetName is not being return in the GET call.

This issue has been fixed.


weird css style after closing textbox

When I click to edit the text, and I either change it and save or cancel it, the text is rendered in a bright grey color and much smaller. I'm using the default theme as I don't want the BS stuff.
I use this on different labels, which are themed individually. I don't want this to override anything.
I tried playing with the xeditable.css to fix this. Funnily, the only way to get rid of this problem is to delete
.editable-hide {
    display: none!important;
}

When this is gone, the weird font color and size is gone, but that come with the problem that the old text is not hidden while the text field is shown.
That feels odd. Is this a bug or how can I get rid of this problem?

Is this still an issue?

@eugef There has been no follow up, please close.


todo: back-port some fixes

Minor correctness fixes but pretty intrusive and don't cherry-pick cleanly:

bellard/quickjs@10fc744ae4dfe59b685f5643b71530891cf0be3b (probably the easiest one)
bellard/quickjs@af308614a8b89e80a6e6a3f270292ef724931d1e
bellard/quickjs@f25e5d4094a11cf098670417e8a16ffb7cbadda0

There's also bellard/quickjs@efdb722f029a62776dc64abe2d122f5b4fd29ab5 for a test that does eval("import('./module-code_FIXTURE.js');") that I fixed... quite differently... in 64c9ac539264f1db7d260e236db2a1dca2c727bf :-)

Middle one: https://github.com/quickjs-ng/quickjs/pull/531

All done!


Correction for raw affiliation Information Quantique [LIP6]; University of Edinburgh

Correction needed for raw affiliation Information Quantique [LIP6]; University of Edinburgh
raw_affiliation_name: Information Quantique [LIP6]; University of Edinburgh
new_rors: 01nrxwf90;05krcen59
previous_rors: 01nrxwf90
works_examples: W4383994299
contact: e476592e95dff933fed5a674c368b2b7:f70d7782c3f7f3eaff4e5dc7f5 @ sorbonne-universite.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


The config is missing files

Could you provide the full code thanks?

Hi, now it is the full code.  GCC-Net uses the detection head of AutoAssign. You can the code: CUDA_VISIBLE_DEVICES=2,3 ./tools/dist_train.sh configs/autoassign/autoassign_r50_fpn_8x2_3x_gcc_duo.py 2

Sorry,the path ./configs/base is missing some files.
base = [
'../base/datasets/duo_detection.py',
'../base/schedules/schedule_1x.py', '../base/default_runtime.py'
]

Sorry for my carelessness, now it is available.


⚠ Bofrost.lu has degraded performance

In a81249c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1569 ms

Resolved: Bofrost.lu performance has improved in 60cec38 after 20 minutes.


Unable to compile under psc 0.10.x

Hi !
When trying to use the lib in a project I encounteed some errors :
// error in Control.Monad.Rec.Class
Unknown value U.unsafeCoerceEff

// Error in Control.Monad.Cont.Trans
Connot import type class MonadAsk from module Control.Monad.Reader.Class

I'm on MacOS (don't know if it is relevant, but I managed to make it work on Arch Linux), using psc 0.10.2.

Looks like you're using it in a project with outdated dependencies - or if you don't have any other dependencies, try deleting bower_components and bower i again. Both of the above changes were made in the core libraries when they were updated for PureScript 0.10.

Seems weird, I deleted the cache of bower, removed bower_components and reinstalled deps but still have the problem.
Here is the dependencies pulled by the project :
  "dependencies": {
    "purescript-halogen": "^0.12.0",
    "purescript-ace-halogen": "^4.0.0",
    "ace-builds": "^1.2.2"
  }

Here are the deps installed :
purescript-halogen : 0.12.0
purescript-eff : 2.0.0
purescript-transformers : 2.0.2

Huh, yeah they all look fine. Tried clearing output too?

That is indeed one thing I forgot ^^ Works fine afterwards :) I'll close the issue ^^
Just by curiosity, what is generated in output/ is handled by the compiler ?

The externs.json files, and generated javascript for each module is stored in there - the compiler reads the externs back in so that compiles can be done incrementally rather than having to recompile the whole project every time. It's supposed to notice when things go out of date and rebuild in those cases though, so not sure why that wasn't happening here!

I'll try to reproduce this and report this issue on the compiler repo :)
Thanks a lot for your help !


hello are you going to update your api?

I lost interest in diep,io and will probably not work on this api anymore.


Regarding the training issue

I apologize for the disturbance. During the training process, even though all the paths have been set, a "media" directory is being created when I run the code. Could you please explain what the issue might be?

Thanks for your attention and sorry for missing!
This is usually due to a failure in downloading the dataset, which results in the image being missing from the dataset.
Regarding the ‘’media‘’ path, I'm actually not sure why. You can try replacing all relative paths in the code with absolute paths. Hope this helps.


⚠ WSINGRESOS - OXXO has degraded performance

In df09ef1, WSINGRESOS - OXXO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/compartido/wspagosoxxo.r) experienced degraded performance:

HTTP code: 200
Response time: 2494 ms

Resolved: WSINGRESOS - OXXO performance has improved in 8a0b92a.


Migration: IHostApplicationLifetime+Environments

Fixes #14180

@Tratcher I just figured out that you probably meant for all of them. I've been 🏃 all day ... and it's Friday ... and we had the release. 😅
I need to return anyway to this topic for Kestrel updates very soon. I'll make at pass on it for these updates at the same time. I'm going to make a note to self on my Kestrel issue now to do the work.


Updated ICRP-107 dataset to include stable nuclides

This PR aims to update the ICRP-107 dataset and associated numpy and sympy  files to include the stable nuclide information generated in PR #33's updated ICRP notebook. Additionally, the Radionuclide, Inventory, and DecayData test files are updated to pass with the addition of stable nuclides.

@alexmalins, I had one issue with the tests, with the Radionuclide.plot() function outputting a diagram that is one node longer in size (with no actual node showing up). I also sent a photo in the slack. Any ideas what might be the problem? I am unfamiliar with the Radionuclide class. Other than that, the tests had some simple errors as expected, but nothing too major!


[Question] TD3_DEFAULT_CONFIG

Hi @Toni-SM
While utilizing TD3 agent on the pendulum-v1 env with the default config, I checked that "smooth_regularization_noise" is None in default config.
however, that cfg make this below error.
skrl/agents/torch/td3/td3.py in _update(self, timestep, timesteps)
393                 # target policy smoothing
394                 next_actions, _, _ = self.target_policy.act({"states": sampled_next_states, **rnn_policy}, role="target_policy")
--> 395                 noises = torch.clamp(self._smooth_regularization_noise.sample(next_actions.shape),
396                                      min=-self._smooth_regularization_clip,
397                                      max=self._smooth_regularization_clip)
AttributeError: 'NoneType' object has no attribute 'sample'
I add the line cfg_td3["smooth_regularization_noise"] = GaussianNoise(mean=0, std=1) to avoid that error and it works.
Could you check this error and kindly let me know what would be a suitable default value for smooth_regularization_noise in TD3?

Hi @sjYoondeltar
I assume the regularization noise is always defined by the user for training.
I will fix the implementation to ignore its use when it's None (and show a warning message in this case)
A typical configuration can be found in the following example (td3_gym_pendulum.py):
https://github.com/Toni-SM/skrl/blob/b760dc7d49aad6b53a8ab2a81be704bb8a6f10dd/docs/source/examples/gym/td3_gym_pendulum.py#L87-L88
In this example, the parameters are the same as those used by the TD3 authors to evaluate the algorithm in the paper

Thanks for your answering @Toni-SM

Hi @sjYoondeltar
Many thanks for reporting this issue.
A warning message has been added to the development version (develop branch) when the regularization noise is not specified and its availability is checked before applying it.
https://github.com/Toni-SM/skrl/blob/bca2173ed238cdead3024f67eba62acbd55bb545/skrl/agents/torch/td3/td3.py#L160-L161
https://github.com/Toni-SM/skrl/blob/bca2173ed238cdead3024f67eba62acbd55bb545/skrl/agents/torch/td3/td3.py#L357-L361


digitalocean-dyndns chart migration

Signed-off-by: Jeff Billimek<EMAIL_ADDRESS>

Chart failed testing due to default values not resulting in a clean install - will revisit.


Footer redesign

closes #59
I have redesigned the footer as per your request.  I kept with the theme of the website, added icons, and incorporated your link styles. I've added a bit more information than requested, so you can use it as a template for future changes.
Thank you for the opportunity to contribute!

Updated.

Done

@TJRelly Thanks for your contribution.


AttributeError: 'NoneType' object has no attribute 'dtype'

I got to Model Inference, and then this happened. What should I do?
Traceback (most recent call last):
File "D:\programms\RVC-beta\RVC-beta-v2-0528\infer-web.py", line 161, in vc_single
audio = load_audio(input_audio_path, 16000)
File "D:\programms\RVC-beta\RVC-beta-v2-0528\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: ffmpeg error (see stderr output for detail)
Traceback (most recent call last):
File "D:\programms\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "D:\programms\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "D:\programms\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "D:\programms\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess
processing_utils.audio_to_file(sample_rate, data, file.name)
File "D:\programms\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file
data = convert_to_16_bit_wav(data)
File "D:\programms\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav
if data.dtype in [np.float64, np.float32, np.float16]:
AttributeError: 'NoneType' object has no attribute 'dtype'

I get the same error. Standalone, latest version.

@VAM-Kitten, I tried that but still get the error 😢

@VAM-Kitten I trained it with it set to TRUE and I still get the error

I get the same error. Standalone, latest version. I have the FFMPEG in the system path.
EDIT: This error only happens if you use model that has been trained with the 'model pitch guidance' set to FALSE. If you want to use that model, you have to set "Protect the artifact of voiceless consonant and breath. 0.5: don' use it. The number smaller, the stronger protection." to 0.5 - the error goes away.

It is not working, I tried too.

I have the same problem, how to solve it?

It seems that this problem just went down due to new problems that appeared. BUT I still have not found an answer and a solution to the problem, like other users. What to do?

If you are on windows make sure that your path has a \ at the end.
You will also get this error if the audio can't be found.

If you are on windows make sure that your path has a \ at the end. You will also get this error if the audio can't be found.

This error persists no matter what I do. I correctly indicated the address and the name of the song, I subtracted the values, as mentioned above. Nothing works.

I believe I have found the fix, download hubert_base.pt here:
https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main
and place it in the same directory as go-web.bat
restart the webui and try again, seems to have fixed my issue. voice doesn't sound as i expected but it may just be bad training on my end

I believe I have found the fix, download hubert_base.pt here:
https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main and place it in the same directory as go-web.bat
restart the webui and try again, seems to have fixed my issue. voice doesn't sound as i expected but it may just be bad training on my end

Mine already had that file in the right place originally and when I did it again replacing the original file with the new one you referenced (incase it got updated)  still didn't work :(

I believe I have found the fix, download hubert_base.pt here:
https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main and place it in the same directory as go-web.bat
restart the webui and try again, seems to have fixed my issue. voice doesn't sound as i expected but it may just be bad training on my end

Mine already had that file in the right place originally and when I did it again replacing the original file with the new one you referenced (incase it got updated) still didn't work :(

ah, sorry to hear. It seems for me my download did not contain all the necessary files
I've seen some suggestions in other threads stating you might have luck by removing spaces from the input file name and making sure it's .wav, perhaps try downloading someone else's model and weights to see if it could be model dependent?

I've seen some suggestions in other threads stating you might have luck by removing spaces from the input file name and making sure it's .wav, perhaps try downloading someone else's model and weights to see if it could be model dependent?

tried with a few different models but still no luck :(

I get the same error. Standalone, latest version. I have the FFMPEG in the system path.
EDIT: This error only happens if you use model that has been trained with the 'model pitch guidance' set to FALSE. If you want to use that model, you have to set "Protect the artifact of voiceless consonant and breath. 0.5: don' use it. The number smaller, the stronger protection." to 0.5 - the error goes away.

I've trained my model with pitch guidance. I Tried 0 protection 0.33 and 0.5, harvest crepe and pm give the same error.
Anyone had luck in solving this?

I fixed the issue. You need to add ".wav" to the end of your file (if wav) EXAMPLE: \instrument_Balling song.mp3_10.wav <-- add wav to end of directory NOT rename. If mp3 do ".mp3" etc etc

I fixed the issue. You need to add ".wav" to the end of your file (if wav) EXAMPLE: \instrument_Balling song.mp3_10.wav <-- add wav to end of directory NOT rename. If mp3 do ".mp3" etc etc

I'm sorry, I don't quite understand what you said. Do I need to add a .wav suffix to the filename of the wav file?

I fixed the issue. You need to add ".wav" to the end of your file (if wav) EXAMPLE: \instrument_Balling song.mp3_10.wav <-- add wav to end of directory NOT rename. If mp3 do ".mp3" etc etc

I'm sorry, I don't quite understand what you said. Do I need to add a .wav suffix to the filename of the wav file?

What he's saying is you have to add the file type suffix when entering the path for the file in the PROGRAM, so D:\acapella\vocals.wav not D:\acapella or D:\acapella\vocals

提醒一下各位，我出现这个问题是因为没有选择推理音色，以为只要选择index路径就可以。顺便一提，模型文件最好直接放在weight文件夹下，否则无法查找到。

As a reminder, I had this problem because I didn't select the inference tone, thinking that I just had to select the index path. By the way, it's best to put the model files directly under the weight folder, otherwise they won't be found.

It might be a GPU error?
I had exact same issue with my GTX 980 Ti 6gb, problem gone with my RTX 4070 12gb

I'm getting this with every model I've found. I tried the suggestions above (file name is "vox.wav").
Any other ideas?

Using HP2 instead of HP3 to seperate vocals solved it for me.

I fixed the issue. You need to add ".wav" to the end of your file (if wav) EXAMPLE: \instrument_Balling song.mp3_10.wav <-- add wav to end of directory NOT rename. If mp3 do ".mp3" etc etc

I'm sorry, I don't quite understand what you said. Do I need to add a .wav suffix to the filename of the wav file?

What he's saying is you have to add the file type suffix when entering the path for the file in the PROGRAM, so D:\acapella\vocals.wav not D:\acapella or D:\acapella\vocals

actually fixxed it!

i have solved this, we are doing a little mistake while choosing the path of the file. do not copy from uper bar just right click on the file we want to use and simply copy the file path, that's it

I had this problem for a while, I looked everywhere but I didn't find a solution until I solved it myself..just copy the path like this..don't use any other method..

I get the same error. Standalone, latest version. I have the FFMPEG in the system path.
EDIT: This error only happens if you use model that has been trained with the 'model pitch guidance' set to FALSE. If you want to use that model, you have to set "Protect the artifact of voiceless consonant and breath. 0.5: don' use it. The number smaller, the stronger protection." to 0.5 - the error goes away.

I had this problem for a while, I looked everywhere but I didn't find a solution until I solved it myself..just copy the path like this..don't use any other method..
I had this problem for a while, I looked everywhere but I didn't find a solution until I solved it myself..just copy the path like this..don't use any other method..

I’ve had the same issue, with the dtype. I solved it by updating Python to 3.11. All issues gone!

tnx bro i did this and its working fine for now 😃♥
On Thu, Jan 4, 2024 at 2:49 PM bartvangogh @.***> wrote:

I’ve had the same issue, with the dtype. I solved it by updating Python to
3.11. All issues gone!
—
Reply to this email directly, view it on GitHub
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/529#issuecomment-1876928872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEE57GN3TZFLLFF5NUGUULDYM2F3JAVCNFSM6AAAAAAZG2DNGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWHEZDQOBXGI
.
You are receiving this because you commented.Message ID:
<RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/529/1876928872@
github.com>

Hey, another person having problems with this same error... Info:

System: Windows 10
Python 3.10.11 (doesn't work with 3.11 onwards on Windows)
No supported GPU
Installed dependencies with requirements-dml.txt and Visual Studio Build Tools 2022

The wav file I was testing with was 16-bit, so that isn't the issue... Swapping out backslashes for slashes didn't work either :-\
It looks like there's an error with making the pipeline in vc/modules.py, based on this error from trying to pass a single file through the batch tab:

I had this problem for a while, I looked everywhere but I didn't find a solution until I solved it myself..just copy the path like this..don't use any other method..

Worked for me! Thanks. It gets a bit weird, though...
"C:\Users\hello\Desktop\FNM\Digging.wav.wav"

Sometimes the same issue shows up again and I think it mistly occurs when the audio that needs to be converted is not on 44Khz, or when the audio has a silent start of more than 0.5 seconds.

Strangely, this problem went away for me when I renamed the file to have no spaces.

Strangely, this problem went away for me when I renamed the file to have no spaces.

Update: Various non-letter characters in the file name also seem to cause this problem for me. I had a file name with dashes and it was failing until I removed the dashes. It seems safest to have paths and file names with just letters and nothing else.

In fact, just add double quotation marks to the path of the file.


updated mail tests to be run in parallel

This PR is meant to remove the need to delete all the emails in mailhog before and after a test run so now tests can be performed in parallel.

mailhog_client = <testsuite.mailhog.MailhogClient object at 0x7f266829fdf0>
mail_template = {'equal_templates': {'From': '"a-213.apps.ocp-cluster.osp.api-qe.eng.rdu2.redhat.com Notification" <no-reply@a-213.app...id":[0-9]+,"account_id":[0-9]+},"category":\\["notification","service_contracts/service_contract_created_event"\\]}'}}}

    def matching_emails(mailhog_client, mail_template):
        """
        Checks that the 'To', 'From' and 'Return-Path' addresses match the addresses from
        the template
        Checks that the message body and header matches one of the items in the template that
        was not already matched. (The sent emails shouldn't be identical)
        Returns the ids of the matching emails
        """
        ids = []
        messages = mailhog_client.messages()
        checked_messages = []
        for message in messages['items']:
            message_body = message["Content"]["Body"]\
                .replace("=\r\n", "").replace("\r\n", "")
            headers = message["Content"]["Headers"]

            for address_type in ["To", "From", "Return-Path"]:
>               if headers[address_type][0] != mail_template["equal_templates"][address_type]:
E               KeyError: 'To'

testsuite/tests/system/messages/test_email_accounts.py:52: KeyError

I keep getting this error when running the tests in parallel @palmieric

mailhog_client = <testsuite.mailhog.MailhogClient object at 0x7f266829fdf0>
mail_template = {'equal_templates': {'From': '"a-213.apps.ocp-cluster.osp.api-qe.eng.rdu2.redhat.com Notification" <no-reply@a-213.app...id":[0-9]+,"account_id":[0-9]+},"category":\\["notification","service_contracts/service_contract_created_event"\\]}'}}}

    def matching_emails(mailhog_client, mail_template):
        """
        Checks that the 'To', 'From' and 'Return-Path' addresses match the addresses from
        the template
        Checks that the message body and header matches one of the items in the template that
        was not already matched. (The sent emails shouldn't be identical)
        Returns the ids of the matching emails
        """
        ids = []
        messages = mailhog_client.messages()
        checked_messages = []
        for message in messages['items']:
            message_body = message["Content"]["Body"]\
                .replace("=\r\n", "").replace("\r\n", "")
            headers = message["Content"]["Headers"]

            for address_type in ["To", "From", "Return-Path"]:
>               if headers[address_type][0] != mail_template["equal_templates"][address_type]:
E               KeyError: 'To'

testsuite/tests/system/messages/test_email_accounts.py:52: KeyError

I keep getting this error when running the tests in parallel @palmieric

Do you know if the key error is from headers or mail_template["equal_templates"]?
I never got this kind of error to be honest.

LGTM!


DropList: Adds menuCSS prop to allow custom css on the menu when portaling

Feature
Sometimes when portaling you might need to apply some custom css to the menu but find that adding styles using Styled Components doesn't work (this happens because the styled component can't target the menu as it's no longer in its scope). In these rare ocasions you can use the menuCSS prop to add your styles, it accepts the returned value from the css helper from Styled Components
// import { css } from 'styled-components'

<DropList
  items={regularItems}
  toggler={<SimpleButton text="Click" />}
  tippyOptions={{
    appendTo: () => document.body,
  }}
  menuCSS={css`
    width: 134px;

    &:hover {
      color: salmon;
    }
  `}
/>

Note: menuCSS should only be used in conjuction with tippyOptions.appendTo, if not you will see errors in the console. Use regular styled components in any other instance.

Other

Fixes a bug that was happening in the condition story

Pull Request Test Coverage Report for Build 3507

2 of 5 (40.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 94.237%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/ConditionField/ConditionField.AddButton.jsx
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/components/ConditionField/ConditionField.AddButton.jsx
1
28.0%

Totals

Change from base Build 3506:
-0.02%

Covered Lines:
6555

Relevant Lines:
6796

💛  - Coveralls


Add support for MS Teams notification

Hi Team,
Please add suport for MS Teams notification WebHook
https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using
Thanks in advance

If anyone who uses Teams could action this (and test that it works), that'd be great! 🙏


No UTF-8 characters in quotebox

quotebox sections don't display UTF-8 characters.

Do UTF-8 characters display in the regular text? Which compiler are you using (PDFLatex, etc.)?

Yes, they work everywhere else using \usepackage[utf8]{inputenc}.
I'm using pdfTeX 3.14159265-2.6-1.40.20 and I've not touched the fonts.

Which version of the package are you using?

I've just updated to the latest release.

Did it work before?

It must have worked at some point, because I have some older versions of my document printed out which are ok

Bummer, those characters do not seem to exist in the gillius2 font family. I could not even get them to appear with
{\H o}{\H O}{\H u}{\H U}

Once again, it worked in the main text and did not in the DndReadAloud environment. I changed the font to the roman font and got the letters to appear.
\DndSetFonts[readaloud-family=\normalfont]

As a short-term fix, you can select another font you like and replace the font family for stat blocks, sidebars, and read aloud text by using the command above. Meanwhile, I will have to see if I can find another font I like that supports more of those characters.

Yeah, I've just found the error message in the logs. But I don't understand how it could have worked before.
The command you wrote does not seem to work.

Yeah, I've just found the error message in the logs. But I don't understand how it could have worked before.
The command you wrote does not seem to work.

Which command are you referring to?
As for the change, we previously used opensans for the sans serif fonts. They were "faking" small caps by shrinking capital letters. This does not work as well as a font with true small caps support (something about kerning I believe).
Recently the maintainers decided to drop support for small caps rather than faking it, so I looked elsewhere and changed the font to something else that was reasonably similar to the books. Unfortunately, gillius2 supports small caps and (I think) most accented characters but seems to be missing the double acute accent.
If I cannot find a font that supports both small caps and all accents, I may need to resort to using opensans for the body text  and gillius2 for the titles of the various boxes.

I see. \DndSetFonts[readaloud-family=\normalfont] just writes [readaloud-family=] to the first page. I'm not familiar with fonts in latex.

My guess is you either used curly braces instead of square brackets or a fix I put out a few hours ago might help you. Try getting the latest version from master and check if you used square brackets.

It works with the latest git version. Thanks.


Fix page previews on Wagtail 4

Page previews are currently broken on Wagtail 4. This fixes them.
Previews are currently broken because the preview sidebar loads the preview content in an iframe, and listens for the load event before showing the preview content to the user.
But the load event never fires for preview requests, which you can test directly in the browser by visiting a URL like:
http://localhost:8000/admin/pages/12893/edit/preview/?mode=&in_preview_panel=true
Why doesn't the load event fire? Because the length of the HTTP response doesn't match what gets sent in the Content-Length HTTP header. The header is slightly longer than the actual content. So the browser is waiting for more content which never comes, which keeps the page loading, which prevents the preview content from appearing.
So why is the Content-Length HTTP header wrong? The response content gets modified (shortened) after the header is set.
Where does that happen? By our ParseLinksMiddleware, which processes the HTML response content and adds link icons and such.
But wait, I hear you say. How can the content get shortened by this middleware? If anything, it should get longer.
It turns out that middlewares are actually run twice for Wagtail preview views, once as part of the regular Django request-response cycle and once when the preview response is rendered:
https://github.com/wagtail/wagtail/blob/b3b53c8b708aed6af26e28b21272a0509c152b9e/wagtail/models/__init__.py#L645
And the second time it runs is actually after Django's CommonMiddleware is run, which is the thing that sets the Content-Length header.
So: normally first our ParseLinksMiddleware runs, and alters the content length. Then the CommonMiddleware runs which sets the proper Content-Length header.
But in the preview views, ParseLinksMiddleware runs AGAIN, and RE-parses the HTML, which, somehow, shrinks the content slightly. But we don't re-set the Content-Length header, which gets us into the situation described above.
To fix this: I've modified the ParseLinksMiddleware so that it will never run more than once on the same HTTP response. One amount of link parsing should be enough for anyone.
How to test this PR
To test that this fixes Wagtail 4 page previews, edit a page in Wagtail 4 (note: one you've never edited before in Wagtail 4! because editing a page resets the preview content which fixes previews on a page-by-page basis sometimes) and note that the sidebar preview will populate shortly after you open it.
On a Wagtail 4 branch without this fix, the sidebar preview will never be populated.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

Amazing piece of work.


HTTP 500 on /hub/

I've tried accessing https://everware.rep.school.yandex.net/hub/user/kazeevn without logging in - got 500, internal server error.

What do you mean with "without logging in"? Did you clear your cookies or use a browser you never used to visit that everware instance before?
Unfortunately error 500 just means "something went wrong". There should be a logout button at the bottom. Logout, wait a minute and try again. This time it should take you to the login page.
Everware is still beta so there are some corners where you can get stuck in an endless failure loop :cry:

Thankfully, there is no failure loop - I can go to https://everware.rep.school.yandex.net/ and login.
For clarity, I just used a browser where I never logged in to GitHub to reproduce.