documentation update from October 9th webview.idl modifications

During my last commit, I think I may have not included some of the previous changes in WebView2.idl that were there. Hopefully this should rectify this as well as update documentation.

Docs Build status updates of commit dc75f55:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/hosting/webview2/reference/IWebView2CreateWebView2EnvironmentCompletedHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2CreateWebViewCompletedHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2DevToolsProtocolEventReceivedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2DocumentStateChangedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2DocumentTitleChangedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2Environment.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2Environment2.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2FocusChangedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2HttpHeadersCollectionIterator.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2HttpRequestHeaders.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2HttpResponseHeaders.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2MoveFocusRequestedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2NavigationCompletedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventArgs.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2NewWindowRequestedEventArgs.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2NewWindowRequestedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2PermissionRequestedEventArgs.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2PermissionRequestedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventArgs.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebMessageReceivedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequest.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequestedEventArgs.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequestedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceResponse.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebView.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebView2.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2WebView3.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2ZoomFactorChangedEventHandler.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/webview2.idl.md
:warning:Warning

Details

microsoft-edge/hosting/webview2/reference/IWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2CallDevToolsProtocolMethodCompletedHandler.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2CapturePreviewCompletedHandler.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2DevToolsProtocolEventReceivedEventArgs.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2DocumentStateChangedEventArgs.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2ExecuteScriptCompletedHandler.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2MoveFocusRequestedEventArgs.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2NavigationCompletedEventArgs.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventArgs.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2Settings.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2WebMessageReceivedEventArgs.md
:white_check_mark:Succeeded

microsoft-edge/hosting/webview2/reference/IWebView2CreateWebView2EnvironmentCompletedHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2environment' in 'microsoft-edge/hosting/webview2/reference/IWebView2Environment.md'

microsoft-edge/hosting/webview2/reference/IWebView2CreateWebViewCompletedHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'

microsoft-edge/hosting/webview2/reference/IWebView2DevToolsProtocolEventReceivedEventHandler.md

Line 20: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2devtoolsprotocoleventreceivedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2DevToolsProtocolEventReceivedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2DocumentStateChangedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2documentstatechangedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2DocumentStateChangedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2DocumentTitleChangedEventHandler.md

Line 36: [Warning] Cannot find bookmark '#iwebview2webview3' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView3.md'

microsoft-edge/hosting/webview2/reference/IWebView2Environment.md

Line 26: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 35: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 37: [Warning] Cannot find bookmark '#iwebview2createwebviewcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2CreateWebViewCompletedHandler.md'
Line 140: [Warning] Cannot find bookmark '#iwebview2webresourceresponse' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceResponse.md'
Line 142: [Warning] Cannot find bookmark '#iwebview2httpresponseheaders' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpResponseHeaders.md'
Line 142: [Warning] Cannot find bookmark '#iwebview2webresourceresponse' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceResponse.md'

microsoft-edge/hosting/webview2/reference/IWebView2Environment2.md

Line 26: [Warning] Cannot find bookmark '#iwebview2environment' in 'microsoft-edge/hosting/webview2/reference/IWebView2Environment.md'
Line 28: [Warning] Cannot find bookmark '#iwebview2environment' in 'microsoft-edge/hosting/webview2/reference/IWebView2Environment.md'
Line 28: [Warning] Cannot find bookmark '#iwebview2environment' in 'microsoft-edge/hosting/webview2/reference/IWebView2Environment.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2environment' in 'microsoft-edge/hosting/webview2/reference/IWebView2Environment.md'

microsoft-edge/hosting/webview2/reference/IWebView2FocusChangedEventHandler.md

Line 36: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'

microsoft-edge/hosting/webview2/reference/IWebView2HttpHeadersCollectionIterator.md

Line 29: [Warning] Cannot find bookmark '#iwebview2httprequestheaders' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpRequestHeaders.md'
Line 29: [Warning] Cannot find bookmark '#iwebview2httpresponseheaders' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpResponseHeaders.md'

microsoft-edge/hosting/webview2/reference/IWebView2HttpRequestHeaders.md

Line 64: [Warning] Cannot find bookmark '#iwebview2httpheaderscollectioniterator' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpHeadersCollectionIterator.md'

microsoft-edge/hosting/webview2/reference/IWebView2HttpResponseHeaders.md

Line 51: [Warning] Cannot find bookmark '#iwebview2httpheaderscollectioniterator' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpHeadersCollectionIterator.md'
Line 57: [Warning] Cannot find bookmark '#iwebview2httpheaderscollectioniterator' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpHeadersCollectionIterator.md'

microsoft-edge/hosting/webview2/reference/IWebView2MoveFocusRequestedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2movefocusrequestedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2MoveFocusRequestedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2NavigationCompletedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2navigationcompletedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2NavigationCompletedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventArgs.md

Line 57: [Warning] Cannot find bookmark '#iwebview2httprequestheaders' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpRequestHeaders.md'

microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2navigationstartingeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2NewWindowRequestedEventArgs.md

Line 32: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 48: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 56: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 80: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 82: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 84: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'

microsoft-edge/hosting/webview2/reference/IWebView2NewWindowRequestedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2newwindowrequestedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2NewWindowRequestedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2PermissionRequestedEventArgs.md

Line 31: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 71: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 73: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'

microsoft-edge/hosting/webview2/reference/IWebView2PermissionRequestedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2permissionrequestedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2PermissionRequestedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2processfailedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventArgs.md

Line 33: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 89: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 91: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'

microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2scriptdialogopeningeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebMessageReceivedEventHandler.md

Line 34: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 34: [Warning] Cannot find bookmark '#iwebview2webmessagereceivedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebMessageReceivedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequest.md

Line 78: [Warning] Cannot find bookmark '#iwebview2httprequestheaders' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpRequestHeaders.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequestedEventArgs.md

Line 29: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 37: [Warning] Cannot find bookmark '#iwebview2webresourcerequest' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequest.md'
Line 43: [Warning] Cannot find bookmark '#iwebview2webresourceresponse' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceResponse.md'
Line 49: [Warning] Cannot find bookmark '#iwebview2webresourceresponse' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceResponse.md'
Line 53: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 55: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'
Line 57: [Warning] Cannot find bookmark '#iwebview2deferral' in 'microsoft-edge/hosting/webview2/reference/IWebView2Deferral.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequestedEventHandler.md

Line 36: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 36: [Warning] Cannot find bookmark '#iwebview2webresourcerequestedeventargs' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequestedEventArgs.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebResourceResponse.md

Line 54: [Warning] Cannot find bookmark '#iwebview2httpresponseheaders' in 'microsoft-edge/hosting/webview2/reference/IWebView2HttpResponseHeaders.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebView.md

Line 26: [Warning] Cannot find bookmark '#iwebview2settings' in 'microsoft-edge/hosting/webview2/reference/IWebView2Settings.md'
Line 66: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 80: [Warning] Cannot find bookmark '#iwebview2scriptdialogopeningeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventHandler.md'
Line 81: [Warning] Cannot find bookmark '#iwebview2processfailedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventHandler.md'
Line 158: [Warning] Cannot find bookmark '#iwebview2settings' in 'microsoft-edge/hosting/webview2/reference/IWebView2Settings.md'
Line 160: [Warning] Cannot find bookmark '#iwebview2settings' in 'microsoft-edge/hosting/webview2/reference/IWebView2Settings.md'
Line 370: [Warning] Cannot find bookmark '#iwebview2navigationstartingeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventHandler.md'
Line 429: [Warning] Cannot find bookmark '#iwebview2documentstatechangedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2DocumentStateChangedEventHandler.md'
Line 464: [Warning] Cannot find bookmark '#iwebview2navigationcompletedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2NavigationCompletedEventHandler.md'
Line 512: [Warning] Cannot find bookmark '#iwebview2navigationstartingeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2NavigationStartingEventHandler.md'
Line 545: [Warning] Cannot find bookmark '#iwebview2movefocusrequestedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2MoveFocusRequestedEventHandler.md'
Line 589: [Warning] Cannot find bookmark '#iwebview2focuschangedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2FocusChangedEventHandler.md'
Line 603: [Warning] Cannot find bookmark '#iwebview2focuschangedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2FocusChangedEventHandler.md'
Line 617: [Warning] Cannot find bookmark '#iwebview2webresourcerequestedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebResourceRequestedEventHandler.md'
Line 663: [Warning] Cannot find bookmark '#iwebview2scriptdialogopeningeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventHandler.md'
Line 732: [Warning] Cannot find bookmark '#iwebview2zoomfactorchangedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ZoomFactorChangedEventHandler.md'
Line 765: [Warning] Cannot find bookmark '#iwebview2permissionrequestedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2PermissionRequestedEventHandler.md'
Line 818: [Warning] Cannot find bookmark '#iwebview2processfailedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventHandler.md'
Line 859: [Warning] Cannot find bookmark '#iwebview2addscripttoexecuteondocumentcreatedcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler.md'
Line 911: [Warning] Cannot find bookmark '#iwebview2executescriptcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ExecuteScriptCompletedHandler.md'
Line 948: [Warning] Cannot find bookmark '#iwebview2capturepreviewcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2CapturePreviewCompletedHandler.md'
Line 1095: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 1156: [Warning] Cannot find bookmark '#iwebview2webmessagereceivedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebMessageReceivedEventHandler.md'
Line 1178: [Warning] Cannot find bookmark '#iwebview2webmessagereceivedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebMessageReceivedEventHandler.md'
Line 1255: [Warning] Cannot find bookmark '#iwebview2calldevtoolsprotocolmethodcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2CallDevToolsProtocolMethodCompletedHandler.md'
Line 1296: [Warning] Cannot find bookmark '#iwebview2devtoolsprotocoleventreceivedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2DevToolsProtocolEventReceivedEventHandler.md'
Line 1393: [Warning] Cannot find bookmark '#iwebview2scriptdialogopeningeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ScriptDialogOpeningEventHandler.md'
Line 1405: [Warning] Cannot find bookmark '#iwebview2processfailedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2ProcessFailedEventHandler.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebView2.md

Line 28: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 28: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'

microsoft-edge/hosting/webview2/reference/IWebView2WebView3.md

Line 33: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 33: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'
Line 47: [Warning] Cannot find bookmark '#iwebview2newwindowrequestedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2NewWindowRequestedEventHandler.md'
Line 89: [Warning] Cannot find bookmark '#iwebview2documenttitlechangedeventhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2DocumentTitleChangedEventHandler.md'

microsoft-edge/hosting/webview2/reference/IWebView2ZoomFactorChangedEventHandler.md

Line 36: [Warning] Cannot find bookmark '#iwebview2webview' in 'microsoft-edge/hosting/webview2/reference/IWebView2WebView.md'

microsoft-edge/hosting/webview2/reference/webview2.idl.md

Line 27: [Warning] Cannot find bookmark '#iwebview2createwebview2environmentcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2CreateWebView2EnvironmentCompletedHandler.md'
Line 96: [Warning] Cannot find bookmark '#iwebview2createwebview2environmentcompletedhandler' in 'microsoft-edge/hosting/webview2/reference/IWebView2CreateWebView2EnvironmentCompletedHandler.md'

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


Cannot pass optional property a to the other type's optional property b if --strictOptionalProperties=true

Bug Report

🔎 Search Terms

--strictOptionalProperties, Strict optional properties

#43947
#13195

🕗 Version & Regression Information

<EMAIL_ADDRESS>
I seem this contains https://github.com/microsoft/TypeScript/pull/43947

This changed between versions<EMAIL_ADDRESS>and<EMAIL_ADDRESS>
Of course, this will not be happen if --strictOptionalProperties=false.

⏯ Playground Link

Playground link with relevant code
At this moment which I filed this issue, typescript playground does not prepare to use 4.4.0-dev.20210602.
💻 Code

interface A {
    a?: number;
}

function outer(input: A) {
    inner({
        // typescript compiler with `--strictOptionalProperties=true` will say here is error as
        //  > Type 'number | undefined' is not assignable to type 'number'.
        //  > Type 'undefined' is not assignable to type 'number'.ts(2322)
        a: input.a,
    });
}

function inner(input: A) {
}

🙁 Actual behavior
TypeScript compiler fail to compile the the above example with the reason I commented.
After I read #43947, I could not conclude the current behavior is expected design. So I filed this as a bug.
🙂 Expected behavior
I thinks this should be pass to compile.
Remarks
If we pass outer's input to inner directly like the following example, typescript compile success to compile.
interface A {
    a?: number;
    b: string;
}

interface B {
    a?: number;
}

function outer(input: A) {
    inner(input);
}

function inner(input: B) {
}

strictOptionalProperties means, roughly, that an optional property must either exist with the specified type, or not exist at all.  Allowing the assignment would mean you've possibly created an explicit property with the value undefined, which is counter to the purpose of the flag.

Ah, I see what #13195 aims. By that, this would not be a bug. Thank you.


[PALOMABOT] Reduce the Aave Yield bot start Fee to 0.001505965127871499

Reduce the Aave Yield bot start Fee to 0.001505965127871499 ETH

Close as shipped.


How change template write crambs?

How change template and add new atributs, because I need add attr itemscope for CEO.
Help me please!!!!!!

Hi! Thank you for the question.
Unfortunately, current version hasn't support for changing template. But I will work on adding it to the next update. I will do my best for make it in near future.

The plugin is very good, thank you for the answer.


Update MIT license and copyright to CMakePCHCompiler Authors

@gjasny As requested by @mick-p1982 I am preparing update listing all authors in copyright. Let me know if this looks good for you.

I can be Mick Pearson (https://github.com/mick-p1982) if you need a link/address. Even though my contribution is relatively minor, I may put this project in my profile to raise its visibility. Plus it's neat to have contributed to something so widely applicable/beneficial in a not insignificant way. Even if necessity made me do it :)

@mick-p1982 I have replaced all attributions to my name with "MakePCHCompiler Authors" pointing to Contributor list where your name is at 2nd place. Hope it works for you.

@nanoant Since you asked, I think a nice (more personable) touch would be to write first/last names out in a central document included with the files. Just as your name was in the original boiler-plate (which I like, not being a fan of multi-line preambles in sources files.)
IN-SHORT: Define "Authors" in a portable/future-proof way.

@mick-p1982 I was exactly looking for some future-proof way, but I have found no way to have automated (auto-updating) list of contributors (aka "Authors") in README.md.
Of course I could put the names there by hand, but that's not future-proof, hence perfect way would be to simply have it automated. So far most close is a solution from opencollective.com -- but this requires registering the project on their website, whereas the most popular automatic badge system shields.io provides only contributor count badge.
Therefore I have used term "Authors" as copyright holders, linking to in the README to GitHub contributor list page -- as seen in other projects licenses, e.g. Gogs, jquery or Julia.

@nanoant  Well, by "future-proof" I mean that when the files are copied, they are on disk, and that means they are future-proof... whereas if that link goes dead... they are not future-proof.
I think a link is fine for small contributions, but hand edits is not hard. If you're willing to make my PR  into such a to-do (about nothing) then I think you write a few names down :)
Simply copying every Tom Dick & Harry's name down is not as personable as a hand written list. The fact that not all names are in the list, makes it more endearing. Since not all contributions are equal. Some require effort... some can be just fixing a typo. To include them all, automatically, would be a little bit insulting anyway.


Squared difference

I made squared difference function.
I have not written test code now.

I add test case in_shape = (), and modify function (return utils.force_array(y)).
But following error occurs:
The first error message:
Traceback (most recent call last):
File "/Users/satomotoki/research/pfn/chainer/chainer/testing/condition.py", line 57, in
lambda: f(*args, **kwargs),
File "/Users/satomotoki/research/pfn/chainer/tests/chainer_tests/functions_tests/math_tests/test_squared_difference.py", line 51, in test_backward_cpu
self.check_backward(self.x1, self.x2, self.g)
File "/Users/satomotoki/research/pfn/chainer/tests/chainer_tests/functions_tests/math_tests/test_squared_difference.py", line 47, in check_backward
functions.SquaredDifference(), x_data, g_data, dtype=self.dtype, atol=1e-2, rtol=1e-2)
File "/Users/satomotoki/research/pfn/chainer/chainer/gradient_check.py", line 228, in check_backward
y[0].backward()
File "/Users/satomotoki/research/pfn/chainer/chainer/variable.py", line 398, in backward
_check_grad_type(func, x, gx)
File "/Users/satomotoki/research/pfn/chainer/chainer/variable.py", line 41, in _check_grad_type
raise TypeError(make_message(msg))
TypeError: Function SquaredDifference (SquaredDifference) has a bug.
Please report this error to the issue tracker with the stack trace,
the information of your environment, and your script:
https://github.com/pfnet/chainer/issues/new.
Type of data and grad mismatch
<type 'numpy.ndarray'> != <type 'numpy.float64'>

Please merge or rebase master branch.

OK, great! Pease fix the document. See docs/source/reference/functions.rst.

LGTM! Thank you.


Add more cli parameters for automated install

Added some more CLI flags that allow for an automated install to a custom location. Flags added are:

--path the location where to install Juliaup to
--add-to-path when set, do not append .bashrc etc addind Juliaup to PATH
--background-selfupdate and --startup-selfupdate update intervals

This PR allows Juliaup to be used as an administrative tool -- where it:

can't be installed to the home directory (it might be invoked by a setup tool running as a privileged/admin user)
mustn't mess with local config files (such as bashrc)
shouldn't automagically update itself

As an example, this it how I plan to use it at NERSC:

Install into a global location (set by modulefiles):

JULIA_DEPOT_PATH=/path/to/global/shared/depot ./juliainstaller --path=/models/bin/path --add-to-path=no --background-selfupdate=0 --startup-selfupdate=0 --yes

Use juliaup to download julia versions (no more wget+untar!!!)

After learning some more about rust and clap, I think this is pretty much ready. @davidanthoff Let me know what you think.


Multi Tenant (theming)

Hello all
I'm really enjoying working with the boilerplate so far, it's a great blend of simplicity and capability.
The question I'm wondering about is, what would be the simplest path towards using this for a multi tenant environment?
Here's my basic requirements:

To have a default app with pages, components and containers
To be able to additionally include CSS and custom components for another domain, but within the same codebase
To be able to work in any tenant in dev, and then use npm run build <tenant_name>

I'm already using this thread to implement variables for use in JS and CSS, so I'm wondering if the simplest path is individual webpack config files for each tenant. I'm not sure if I'd need to then go on to use separate entry point files for each tenant.
Another thought I had was to possibly use node environment variables, although I'm not sure if this would scale well.
Any thoughts or suggestions greatly appreciated!

I think you'd want to go with a separate entry point for each tenant, otherwise you'll end up copy-and-pasting the webpack config a lot.
I'll close this issue for now – hope you can figure it out!


#700: Default m2e configuration to avoid errors in Eclipse

Configure to ignore fabric8-maven-plugin goals in Eclipse to avoid
errors when importing a project using fabric8-maven-plugin
report it here to have it for FIS 2.0

looks good to me
[merge]


Editing of Links is difficult: A click into the link opens the linked page

It is possible to edit the link by selecting the linked text.
It would be nice to just click in the linked text to edit the target of the link.

I've missed this ticket. The fix is easy, I'll implement it right away


styled-components improvement

Hello,
I made some tests with server side rendering and the styled components feature branch.
Seems like the server side rendering doesn't work for the styles.
Regarding to this discussions https://github.com/styled-components/styled-components/issues/124 I implemented this:
file: src/server/middleware/reactApplication/index.js

import styleSheet from 'styled-components/lib/models/StyleSheet'
...
// Create our React application and render it into a string.
  const reactAppString = renderToString(
    <CodeSplitProvider context={codeSplitContext}>
      <ServerRouter location={request.url} context={reactRouterContext}>
        <DemoApp />
      </ServerRouter>
    </CodeSplitProvider>,
  );

  const styles = styleSheet.rules().map(rule => rule.cssText).join('\n')

  // Generate the html response.
  const html = generateHTML({
    // Provide the full app react element.
    reactAppString,
    // Nonce which allows us to safely declare inline scripts.
    nonce,
    // Running this gets all the helmet properties (e.g. headers/scripts/title etc)
    // that need to be included within our html.  It's based on the rendered app.
    // @see https://github.com/nfl/react-helmet
    helmet: Helmet.rewind(),
    // We provide our code split state so that it can be included within the
    // html, and then the client bundle can use this data to know which chunks/
    // modules need to be rehydrated prior to the application being rendered.
    codeSplitState: codeSplitContext.getState(),
    styledComponents: styles,
  });

Then I added them into
file: src/server/middleware/reactApplication/generateHTML.js
export default function generateHTML(args: Args) {
  const { reactAppString, initialState, nonce, helmet, codeSplitState, styledComponents } = args;
  ...
return `<!DOCTYPE html>
    <html ${helmet ? helmet.htmlAttributes.toString() : ''}>
      <head>
        ${helmet ? helmet.title.toString() : ''}
        ${helmet ? helmet.meta.toString() : ''}
        ${helmet ? helmet.link.toString() : ''}
        ${styleTags(assetsForRender.css)}
        <style>${styledComponents || ''}</style>
        ${helmet ? helmet.style.toString() : ''}
      </head>
      <body>

Looks now a lot nicer to me.
Can someone confirm that this is a good solution? :)
Thanks

It's a start.
More information on styled-components SSR @ https://github.com/styled-components/styled-components/pull/214

Thanks for looking into this @datoml :)
I'll have a review of this soon. :)

Thanks for looking into this @datoml :)
I'll have a review of this soon. :)

The glamor styleSheet that styled-components exposes is a singleton.With the above approach every request to render a page will result in it's styles being appended to it.So in subsequent requests you end up sending previously rendered CSS unrelated to the current page.
Calling styleSheet.flush() in between requests doesn't seem to work at the moment.

Has someone got a full working implementation that they are willing to create a PR for?

I am currently using styled-components for my project with the hope that there will be a fix in die near future for this.
@ctrlplusb I am not that familiar with creating a PRs :).

@datoml I encourage you to try!
Check out this cool egghead course:
How to Contribute to an Open Source Project on GitHub

Thanks for the link. I'll have a look :):

@ctrlplusb  I implemented the SSR changed that @datoml recommended above, you can check it out here.  It seems to work, but it double injects the styles, once on the server and once on the client.

I'm wondering if you read what i linked. That's all known and discussed and there's no solution for it yet, even though it's very simple in principle
https://github.com/styled-components/styled-components/pull/214

I did.
We currently have to wait that this gets implemented.
Everything here is currently a workaround until its done and gets released.

FYI I have been using styletron, which has no problems with SSR and has a similar API to styled-components.  In case this is blocking someones adoption, there are alternatives.

I tried styletron but I like the api from styled-components more.
Doing something like this feels awesome to me :).
import styled from 'styled-components';

const button = styled.button`
  color: green;
  border: 1px solid blue;
`;

I'm hard to convince as well. On the one hand i'm not sure about the performance implications of styletrons many CSS selectors in really large DOMs (think Githubs Diff view), on the other hand i love to be able to write CSS instead of objects, including inline syntax highlighting etc, so i'm with @dataoml on that one :)

Totally see your guys points, I guess I prefer the object style as it opens up the Javascript as the API to modifying/merging styles:
const centeredButtonStyle = Object.assign(
  {},
  { color: 'red' },
  theme.layout.centered
);

I have been really enjoying creating and composing objects for more generic styles.

Thats true.
The reason styled-components won my heart was that I can copy the whole css code and go back to good old css styles.
Every approach has it pros and cons :).

Check this out: https://github.com/RafalFilipek/styled-props
:)

I will have a look on it :).
But it seems similar to the build in ThemeProvider.
https://github.com/styled-components/styled-components#theming
Or am I missing something? :D

@codepunkt Thanks for suggesting styletron, i was totally unaware of it's existence....:P

@ctrlplusb @codepunkt Server Rendering API for styled-components has just been merged into master

@lucianlature it was merged into v2 branch, not master.

Got too excited for a moment, sorry.

Out of curiosity, did you guys look at https://github.com/rofrischmann/fela
According to https://github.com/hellofresh/css-in-js-perf-tests it is extremely fast and creates very small sized output compared to something like glamor/styletron. The docs are great (http://fela.js.org/docs/guides/UsageWithReact.html), it works with react-native, and SSR is implemented and works too.
And with https://github.com/jakecoxon/babel-plugin-css-to-js you can have a very similar API to styled-components!

@bkniffler The alternatives are endless. CSS in JSS fatigue! 🤣

In order to get styled-components working server-side with current v2-beta, which api seems still a bit under discussion (https://github.com/styled-components/styled-components/pull/214), you can use this approach.
https://gist.github.com/mschipperheyn/c17280278218074a53147f54259af66a
The reference keyword is: styledComponentCSS
I based this on react-universally@next

Does anybody have styled components working with react universally nowadays? I am using version 2.1.1 of styled components, but have not had any joy. I looked at the gist provided by 'mschipperheyn', but it looks like things have changed in styled-components land!
I am trying to use ServerStyleSheet, creating an instance and then using collectStyles on my app component. But I am missing something, getStyleElement returns an empty array. I know that app is async so perhaps at the point of collection it is empty?

Okay, I was on the right track. I managed to implement Styled Components by passing my ServerStyleSheet instance as a prop on ServerHTML, then using .getStyleElement() to add the css to headerElements within ServerHTML.js. I am really pleased I got this working and also pleased I found React Universally.

@designspin is there a gist you could share if it all works? Btw, here is the main issue on styled-components where you could also maybe post that update for others following the issue - https://github.com/styled-components/styled-components/issues/762

Hey oyenanuj,
Here is a GIST of what appears to be working for me right now: https://gist.github.com/designspin/c11095334ae1f105d1f93123232d37fd

@designspin If you will link me a repo where you're having issues, I'll take a look.

@strues
No issue, the above GIST is in fact a solution. It is working for me, thanks.

@strues @designspin Does anyone have the setup for using the starter kit with SC v2? The feature branch still seems to have v1 of SC.

@mschipperheyn @strues @designspin Does anyone have the setup for using the starter kit with SC v2? The feature branch still seems to have v1 of SC.


bigquery: avoid relying on time.Now().Unix() in tests

Sometimes, relying on time.Now().Unix() leads to collisions and test flakiness.
CC, FYI @shollyman
PR coming up.

Datasets are already created within a project-specific namespace, so if you're getting collisions on dataset names it means they already use the same project or its a more exotic test that uses bigquery DatasetInProject() rather than Dataset().
Have a failure I should look at for collision issues?


Remove the original zip when update netty lib name

Motivation
When rebuilding the Jar file to rename Netty so files, we need to remove the original file otherwise the zip tool is performing a "merge" and it will be including both the original and the renamed files.

run integration tests


Code style to remark

In the examples I see
oninitclass
oninitbehaviour
in all the other code I see ur using lowerCamelCase why aren't you using that type of writing everywhere in your code?

It's because of the events naming standard. For example you have the window.onclick not window.onClick. The same is true about window.addEventListener('mousedown') not window.addEventListener('mouseDown'). So I'm not breaking here any rules, just following the standard.
I the last update (0.9.0) I also made few changes to API and for example to create module instead writing Astronomy.Module you write Astronomy.createModule. The first upper case letter is reserved for global objects and constructors.
I the last update I've also change the way, the events are defined in the behaviors and modules.

Moreover you can use whatever style you want. Internally it makes all event names lowercase. So you can write addEvent('initclass') and addEvent('initClass').


txn: return min_commit_ts for check_not_exists

Signed-off-by: youjiali1995<EMAIL_ADDRESS>
What problem does this PR solve?
Problem Summary:
TiKV always returns min_commit_ts=0 for check_not_exists operations. It may result in unnecessary falling back for async commit.
What is changed and how it works?
What's Changed:
check_not_exists operations don't write locks or change data, so we needn't ask the concurrency manager for the max_ts. Its min_commit_ts is max(start_ts + 1, req.min_commit_ts).
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test

Side effects
Release note

No release note.

LGTM

/merge

/run-integration-compatibility-test

/merge


pullFrom does not work with fetchOnPull enabled

Issue Type: Bug

In settings, set "git.fetchOnPull": true,
Using the command palette, checkout a branch that is behind master in commits.
Using the command palette, run Git: Pull from...
Select origin
Select master
VScode's git will only fetch from master and not pull at all.

VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:07:18.473Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (5.03GB free)

Process Argv

Screen Reader
no

VM
0%

Can I take on this issue? Thank you

I also encountered this issue too. Is this issue solved already?

Delete

Hall

@Git {git.fetchOnPull = false}

@Git {git.fetchOnPull = false} now

I'd like to work on this issue. Is there any other information I should know?

This issue is the same as #97472, and @mdasifhasan has already found a solution to the issue there

Closing since there is more progress on #97472


Lazy primitive group deserialization

Reduce strain on JVM's garbage collector when reading an osm.pbf file by deferring parsing each primitive group (see https://wiki.openstreetmap.org/wiki/PBF_Format) so there's less deserialized data in-memory at any given point in time.
Pull in osm protobuf definitions from https://github.com/openstreetmap/OSM-binary/tree/master/osmpbf to replace an LGPL dependency with MIT and give more flexibility for future tweaks
Replace LongHashSet with more memory-efficient Roaring64Bitmap for storing IDs of ways that are members of multipolygons

Previously osm_pass1 was taking ~3 minutes and spending 1.5 minutes in GC, now it takes 1:45-2:00 and spends 14 seconds in GC on a cg6d.metal instance. This also helps running with a smaller heap in memory-mapped mode (which should probably be the default now unlesss you have 150GB+ of RAM).

What is GC pressure and primitive group?

What is GC pressure and primitive group?

I didn't think anyone would read this 😉 ! Updated the description, does that make more sense now?


rm bedrock - use v3-repos instead

:clipboard: https://github.com/bobanetwork/boba-v3/issues/16
Overview
Move Bedrock specific architecture to our new v3-repositories.
Changes

Bedrock submodules removed.

Testing

Codecov Report
Base: 47.14% // Head: 47.79% // Increases project coverage by +0.64% :tada:

Coverage data is based on head (5afcce8) compared to base (ddafe33).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #389      +/-   ##
===========================================
+ Coverage    47.14%   47.79%   +0.64%
===========================================
  Files           99       97       -2
  Lines         3877     3825      -52
  Branches       765      763       -2
===========================================
  Hits          1828     1828
+ Misses        2049     1997      -52

Flag
Coverage Δ

boba-contracts
20.58% <ø> (+0.27%)
:arrow_up:

contracts
79.30% <ø> (+1.55%)
:arrow_up:

core-utils
86.80% <ø> (ø)

data-transport-layer
31.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ontracts/contracts/standards/L2GovernanceERC20.sol

...ontracts/contracts/standards/L2GovernanceERC20.sol

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update skills.md

👷 Deploy Preview for djuikem-clotilde processing.
🔨 Explore the source changes: f6577aea56bfd7e17457cb3b05884682d2d76f01
🔍 Inspect the deploy log: https://app.netlify.com/sites/djuikem-clotilde/deploys/620c7e1ddb42910007852071


Error serving from undefined

｢wds｣: webpack output is served from undefined
｢wds｣: Content not from webpack is served from ../dist
｢wds｣: 404s will fallback to /index.html
^^^^^^^^^^^
webpack output
Im not sure if this is causing the fetch errors, because I'm sure my api keys are valid, I did some fetch testing.  It's just my personal project, if you have any question, please let me know.


the-foundation: 1.9.0 → 1.9.1

https://git.skyjake.fi/skyjake/the_Foundation/src/tag/v1.9.1/CHANGES.md#1-9-1
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 354960

x86_64-linux

:white_check_mark: 4 packages built:

lagrange
lagrange-tui
sealcurses
the-foundation


Make compatible with graalvm

Hi!
This small change allows me to include this awesome library in a native GraalVM binary.
Here's the related issue: https://github.com/oracle/graal/issues/1074
All tests pass for me.

@dakrone do you have any additional thoughts on this ticket?


Will/motor response packet alignment hotfix

enum field is undercontrained with packing across 32bit/64bit systems. These directives fix that.

approved


[core] Add .getSnapshot() to actor refs

This PR adds the .getSnapshot() method, which allows you to synchronously retrieve the latest value emitted from that actor. That value may be undefined if no value has been emitted yet.
This is the first step in full actor persistence, since persisting the state of a machine at a specific point in time involves synchronously reading the "state" (really the last known emitted values) of each actor.
const machine = createMachine({
  context: {
    promiseRef: null
  },
  initial: 'pending',
  states: {
    pending: {
      entry: assign({
        promiseRef: () => spawn(fetch(/* ... */), 'some-promise')
      })
    }
  }
});

const service = interpret(machine)
  .onTransition((state) => {
    // Read promise value synchronously
    const resolvedValue = state.context.promiseRef?.getSnapshot();
    // => undefined (if promise not resolved yet)
    // => { ... } (resolved data)
  })
  .start();

// ...

Is this planned for v4 as well?

Is this planned for v4 as well?

This PR is targeted for v4 specifically! Of course, it will make its way into v5 shortly thereafter.

@davidkpiano
if you can please merge this PR ASAP - I need it to implement feature with store nested machines

At the moment I have a machine that uses sendUpdate to make sure the parent get the latest updates from the child actor machine. The problem is that I can't create the child machine without a parent then (which I would like). With getSnapshot can I then use the child machine with and without a parent (since the child doesn't really know about getSnapshot if not called)?

At the moment I have a machine that uses sendUpdate to make sure the parent get the latest updates from the child actor machine. The problem is that I can't create the child machine without a parent then (which I would like). With getSnapshot can I then use the child machine with and without a parent (since the child doesn't really know about getSnapshot if not called)?

Yes you can, if I understand your use-case correctly. Feel free to share code if it makes it more clear.

@Andarist Is this good to merge as-is?
We can still adjust for different use-cases (e.g., observable snapshots, etc.) for v5.


utils and hooks for better DX

Description
Added a basic useScaffoldRead hook (to start with draft).
wagmi 0.6.x type inference problem
It seems that wagmi 0.6.x does not support type inference. The type inference was introduced in wagmi 0.7.x.
Problems faced

I tried upgrading the version of wagmi(not in this branch) and seems like for type inference we need to generate abi's in .ts file. Currently we are exporting all abi's in generated directory as .json file.

Unfortunately [TypeScript doesn't support importing JSON as const]
(https://github.com/microsoft/TypeScript/issues/32063). If you have ABIs in .json files, you should convert the files to .ts, export the ABIs, and add const assertions to them. (We have future integrations planned for Foundry/Hardhat users to make this easier.) - wagmi docs

also while exporting we need to export it as const. Here is some useful discussion around this topic https://github.com/wagmi-dev/wagmi/discussions/1084#discussioncomment-3891592

Suggestions needed
Now to get good auto-completion and take full advantage of the typescript as mentioned in #88, I think the following are steps that we need to take :
a. Bump the version of wagmi
b. handle the exports of abi to .ts file
c. create utility hooks and utils
1.) I feel 1 and 2 can be conquered parallelly but should we do it in this PR itself?
2.) would love to hear a view on hooks like useYourContractRead instead of useScaffoldRead?
Reason: Felt a lot of resistance to get the correct types for abi but was not able to achieve it, because it is dynamic.Also maybe because of my limited knowledge of typescript. Would love it if someone could give it a try 🙌 .
I have pushed a branch with new version of wagmi(only to tinker for type-interference) with name utils/hooks-newWagmi. Go to localhost:3000/demoExample to see the use of useScaffoldRead (other pages will break). Tinker with useScaffolRead hook.
What I plan to achieve was similar to this video.

2.) would love to hear a view on hooks like useYourContractRead instead of useScaffoldRead?
Reason: Felt a lot of resistance to get the correct types for abi but was not able to achieve it, because it is dynamic.Also maybe because of my limited knowledge of typescript. Would love it if someone could give it a try raised_hands .

Maybe we could explore TS generics? https://www.typescriptlang.org/docs/handbook/2/generics.html
useScaffoldRead<YourContract>(//...)

Also, I like useScaffoldContractRead than useScaffoldRead. What do you think?

This is unlocked since #96!

I tried upgrading the version of wagmi(not in this branch) and seems like for type inference we need to generate abi's in .ts file. Currently we are exporting all abi's in generated directory as .json file.

Did some digging and came across some resources from which we can take inspiration :

https://github.com/wagmi-dev/wagmi/issues/1090#issuecomment-1284716268
https://github.com/samkingco/sk-web3/blob/d7cd967383759300a9a96721aa49c592b8e4352f/packages/app/gen-abi.sh
https://github.com/anteqkois/tipdapp/blob/72bcd6d3e2bc55c41b13e919298fe5782c0bc495/contracts/scripts/deploy.ts#L45-L64

2 and 3 were posted here -> https://github.com/wagmi-dev/wagmi/issues/1106

@technophile-04 For the type inference, maybe we can also check https://github.com/scaffold-eth/scaffold-eth-typescript (or even ask @ShravanSunder for guidance!)

@technophile-04 Also, feel free to extract the typing inference to another issue.
We can start using the hooks in the example UI (without fancy type auto completion) and add it later. I think it's a must have (since we are using TS), but it's not needed to make the hooks work properly.
Just saying this because I don't want us to blocked too much on this!

Yes @carletex, 100% agree with you will do it ASAP 🙌

Yup @carletex makes sense and agree with will do it ASAP!

Hii @carletex added v0.0.1 iteration of useScaffoldContractRead and useScaffoldContractWrite they are very loosely typed currently.
Would love to know your thoughts on function signatures mainly on useScaffoldContractWrite (contractName: string, functionName: string, args?: any[], value?: string) kept value?: string because don't won't dev always struggling with making sure its BigNumber | number and handled it internally in useScaffoldContractWrite with parseTxnValue but my thinking maybe very one sided on both hooks and would love to know others thought/inputs also happy to revamp the whole thing again with others perspective

You didn't re-request the review 🔄...

But I think this is ready! :D Really good job Shiv. Thanks


Name Stem not accetped

ShEx parser does not accept the pattern  :chemb dct:accrualPeriodicity freq:~?.

There seems to be a number of issues currently with both name and value stems.
As far as I can tell the parser does not like the use of value stems with cardinality modifiers.
Also currently RDF.js throws an error when either stem is used. This is a trivial fix though.
Should get both fixed soon.

Name stems fixed by 660186d5dcb967c0c2403e91a91df79ec2897aed
Value stems throw parse error. @jacobbaungard could you have a look?

Added failing test for data stem cfdf60bbb9d33

Support for parsing value stems has been added in the value_stems branch. It does not look like RDF.js currently supports this in the validation phase.

Value stems fixed, and pull request made.


Rename cache to bot

I believe it would be worth renaming cache to bot. A lot of people write code doing bot.guilds and when they see cache.guilds its not evident nor is it clear what cache is to beginners. bot would make that clear.
On a sidenote: i've seen some users just say they dont like DD because it uses cache.guilds since they have a bad taste/opinion from another library that uses that style so it would also help resolve that

I don't know but bot is very ambiguous; not to mention, it looks like there is main object "bot" (similar to new Client())

bot is very ambiguous compared to cache, which is quite self-explanatory; not to mention, this change promotes the presence of a main object "bot" (similar to new Client()), Discordeno however should divert from that behavior. It will do the opposite effect, it will make it ambiguous and vague.

I believe it is the best linguistic wise. When a developer is thinking okay so how do i get all the guilds on my bot the code is essentially bot.guilds. You don't really think in terms of cache. That is a bit advanced topic that i think most beginners will not understand. I don't think it promotes a main object, just renames it. It's still the same thing. I do agree we should avoid the God object at all costs, but is a name going to effect that?

Discordeno is very different within basic design, renaming cache to bot still will not solve the issue of fundamental design difference between other Node.js libraries and Discordeno

No i think, the design issue became mute since v10. To an end user, there is basically no difference. With the getters, it provides nearly the same exact experience. It is the developers of the library itself, who have the different experience becuase of the design.
Renaming the cache to bot isn't intended to change the design but the problem where some users hate the concept of cache.x because of their usage in other libs.

Is it just me but I kinda like cache.

+1 for cache


The keyword argument exclude does not take effect when custom class uses model_serializer

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
The exclude keyword argument of model_dump function does not work when there is a custom serialization function decorated with model_serializer(when_used='json'). I would expect the custom serialization process will only be invoked when using model_dump_json or model_dump(mode='json'), but it seems like this will also affect the normal model_dump behavior.
Take the following code as example:
from pydantic import BaseModel, model_serializer

class Test(BaseModel):
  a: int = 123
  b: str = 'bob'

  @model_serializer(when_used='json')
  def ser_model(self):
    out = {}
    for k, v in self:
      if isinstance(v, str):
        out[k] = v.title()
      else:
        out[k] = v
    return out

t = Test()

# This prints normally
print(t.model_dump())  # {'a': 123, 'b': 'bob'}

# This also works as expected
print(t.model_dump_json())  # {'a': 123, 'b': 'Bob'}

# But this doesn't
print(t.model_dump(exclude={'b'}))  # {'a': 123, 'b': 'bob'}

The last case of using exclude in model_dump does not really exclude the specified column in the output. Everything would just work fine by removing the ser_model function, therefore the problem must be within ser_model itself.
I have also tried to pass the mode='wrap' to model_serializer and redefined the function signature as documented to the following:
from typing import Any
from pydantic import BaseModel, model_serializer

class Test(BaseModel):
  a: int = 123
  b: str = 'bob'

  @model_serializer(mode='wrap', when_used='json')
  def ser_model(self, serializer: Any, handler: pydantic.SerializerFunctionWrapHandler):
    out = {}
    for k, v in self:
      if isinstance(v, str):
        out[k] = v.title()
      else:
        out[k] = v
    return serializer(out)

t = Test()

# Still doesn't work
print(t.model_dump(exclude={'b'}))  # {'a': 123, 'b': 'bob'}

The above still doesn't work, and after testing all different cases, I suspect the model_serializer not only overrides the serialization process to 'json' mode only, but also to other scenarios even if the argument when_used='json'.
I tried removing when_used in model_serializer to make it apply to both json and dict dump cases, and it 'kind of' works, rather I received a UserWarning saying that the Pydantic serializer expected type of Test and not dict (this occurs at the last line, the return statement).
After all, there are actually three things related to this issue:

How to correctly implement a custom serialization function with model_serailizer and does not effect exclude while dumping the model?
I found that there is so little documents that explain each of the argument of model_serialization. Says the usage of mode='wrap', why is the correct function signature of the decorated function being listed in the Usage Error page, and not under the API reference page? Isn't it better to put this information under API reference or tutorial page? Also I think it's better to have more code examples in the documents as well.
Related to the above, the function signature provided in the official document annotates the first additional argument (the serializer defined in the above code example, and the value in the document) as type of Any, which does not give much information of what it really is. And when print the variable type in the console, I can see the actual type is SerializationCallable, which until then I realize I can call it at the last return statement. Maybe it's better to modify the annotation and explicitly point this out in both API reference and the Usage Error page.

While searching for similar cases, I found that this issue could probably also relates to #6549
Still, thanks for the awesome work and the extraordinary Rust migration. I've been using pydantic a lot in my work and really makes the code more easily to maintain. Hope there could be someone helping on this issue.
Example Code
As provided in the description.

Python, Pydantic & OS Version
pydantic version: 2.0.2
        pydantic-core version: 2.1.2 release build profile
                 install path: /Users/thmac-02/opt/miniconda3/envs/kaguya/lib/python3.11/site-packages/pydantic
               python version: 3.11.2 (main, Mar 27 2023, 18:38:21) [Clang 14.0.6 ]
                     platform: macOS-13.2.1-arm64-arm-64bit
     optional deps. installed: ['typing-extensions']

Selected Assignee: @adriangb

As for reference, my current workaround is to manually check the mode inside the custom function, and not using when_used in model_serializer. And also some improvement to deal with the UserWarning thrown by serializer when passing with dict.
import pydantic
from typing import Any
from pydantic import BaseModel, model_serializer

class Test(BaseModel):
  a: int = 123
  b: str = 'bob'

  @model_serializer(mode='wrap')
  def ser_model(self, serializer: Any, handler: pydantic.SerializerFunctionWrapHandler):
    if handler.mode != 'json':
      return serializer(self)

    replica = self.model_copy()
    for k, v in replica:
      if isinstance(v, str):
        setattr(replica, k, v.title())
    return serializer(replica)

I faced the same issue, I have a custom validator due to I want to exclude a field  in a model with nested models, and in my case I didn't find a workaround since I need to know the value of the exclude field in order to apply it to the nested models (I suppose that I have to process info.exclude in order to pass the correct value to the nested value, but we have this bug).
@model_serializer(when_used="json", mode="plain")
    def serialize_model(self, info: SerializationInfo) -> dict[str, Any]:
        seralized_data = {
            "id": self.id,
            "labels": [label.model_dump(exclude=info.exclude) for label in self.labels],
            "structure": self.structure.model_dump(),
        }

        if self.structure.technical_name == "XXXX":
            return seralized_data | {"with_inheritance": self.with_inheritance}

        return seralized_data

I'm experiencing a related problem when attempting to pass the SerializationInfo to the wrap function.
from pydantic import BaseModel, SerializationInfo, model_serializer

class M1(BaseModel):
    a: int

    @model_serializer(mode="wrap")
    def _serialize(self, nxt, _info: SerializationInfo):
        return nxt(self)

class M2(BaseModel):
    a: int

    @model_serializer(mode="wrap")
    def _serialize(self, nxt, info: SerializationInfo):
        return nxt(self, info)  # Is this supported usage?

if __name__ == '__main__':
    assert M1(a=1).model_dump(exclude={"a"}) == {}
    assert M2(a=1).model_dump(exclude={"a"}) == {"a": 1}   # Shouldn't this be `{}` as well?

I bumped into this when attempting to dynamically inject some excluded fields depending on some serialization context determined at runtime.

it's still not fixed)

I also ran into this, but it's not clear what can be changed in pydantic besides documentation. The info argument to a model serializer contains all the model_dump keyword arguments as attributes; it is up to you to handle those arguments correctly in the function you wrap with model_serializer.
Because custom serialization is custom, you can return anything from a custom serializer function, and so it's not really possible for pydantic to allow that level of freedom while also checking that you handle all the model_dump kwargs correctly.


CSS:383 - Extract RGB color values into their own custom properties

Description

This module exports an object that is used to define a custom attribute in a JavaScript application. The attribute is used to extract the red, green, and blue values from a string that starts with "rgb" and not starts with "rgba" and returns an object with a single property "rgb" whose value is a string containing the extracted red, green, and blue values separated by commas.
How and where has this been tested?

run gulp build at components/tokens

Screenshots

To-do list

[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have tested these changes in Windows High Contrast mode.

[x] This pull request is ready to merge.

@Rajdeepc @pfulton and @GarthDB, I've updated the excellent work Rajdeep did to match the solution you & I had discussed Garth. This version updates all rgb or rgba values to their raw formats (255, 255, 255 rather than rgb(255,255,255)) and shows how the CSS needs to be updated.

RGB postcss tool: https://github.com/castastrophe/postcss-rgb-mapping

Notes on some of the scope creep going on in this PR:

Cleans up tokens & vars build process to use little to no gulp
Sets up tokens to build separately - moves us towards building them separate from the build - ideally they only get recompiled when the package changes
Tokens is now using postcss to structure the output, eventually much of this can be pulled out to be configured at a higher level b/c the same rules apply to the other packages too
Removed a lot of unused code from the vars updateDNA file and the main gulpfile as well
Fixes the release build task too!


Option for hand controller always-on physics?

It would be awesome if there was an interaction style option besides Hold, Toggle, ByScript(not sure how that is supposed to be used?) that would allow the controllers to be be always physically on and colliding with the environment until the player grabs an object. I tried adjusting the NVRHand script and just fell into a deep rabbit hole trying to get it working. It seems there are many places in the code that assume you are using this two controller dynamic (ghost controller vs. physical controller) Has anyone been successfully done this?
Thanks!

I know im a little late but did you ever find something for this? I really need this to be always physical.


Dockstore CLI for Developers

When using the Dockstore CLI it would be nice to be able to manually specify a local CWL for use with the launch feature:
'''
ubuntu@brian-pcawg-bwa-testing:~/gitroot/CGP-Somatic-Docker$ dockstore launch
Usage: dockstore launch --help
dockstore launch
Description:
Launch an entry locally.
Required parameters:
--entry                 Complete tool path in the Dockstore
Optional parameters:
--json             Parameters to the entry in the dockstore, one map for one run, an array of maps for multiple runs
--tsv              One row corresponds to parameters for one run in the dockstore
--descriptor              Descriptor type used to launch workflow. Defaults to cwl
'''
In addition to the --entry.  That way, a developer can work on a new CWL and locally built docker image without having to do a full round trip to Dockstore.

Added to #194


Update @gravity-ui/dynamic-forms to 3.0.0

Tests failed randomly, don't connected with changes in PR:


Cannot depend on sckit-sparse in a clean environment due to early numpy import.

I'd like to depend on scikit-sparse, but this line in setup.py imports numpy before it is installed with setup_requires.   As a consequence, scikit-sparse (and packages that depend on it) can't be pip installed in clean virtual environments like Travis.
Of course, one can make a workaround by first installing numpy, but I think the issue would be better fixed in setup.py, e.g. with something like this.

That answer's obsolete. And setup_requires is unfortunately broken and
should never be used. The modern way to do this is to declare the
dependency in pyproject.toml, and then pip will make sure it's installed
before invoking setup.py.
On Tue, Jun 4, 2019, 12:19 Ryan<EMAIL_ADDRESS>wrote:

I'd like to depend on scikit-sparse, but this line
https://github.com/scikit-sparse/scikit-sparse/blob/e35b764ae3910615322ac9db64330cee426d05e8/setup.py#L34
in setup.py imports numpy before it is installed with setup_requires. As
a consequence, scikit-sparse (and packages that depend on it) can't be pip
installed in clean virtual environments like Travis.
Of course, one can make a workaround by first installing numpy, but I
think the issue would be better fixed in setup.py, e.g. with something
like this
https://stackoverflow.com/questions/19919905/how-to-bootstrap-numpy-installation-in-setup-py
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scikit-sparse/scikit-sparse/issues/55?email_source=notifications&email_token=AAEU42DDY2RH57IEWWPMXTTPY252PA5CNFSM4HTAFAP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXTPIGQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEU42HZQO7QZD4JH4KPDP3PY252PANCNFSM4HTAFAPQ
.

... except for the fact that support pyproject.toml has at least one longstanding bug (https://github.com/pypa/pip/issues/5317).
I don't actually manage this package at all anymore so my opinion hardly matters, but I do still prefer the build_ext-subclassing solution.

setup_requires has many more outstanding bugs, and they're less likely to
be fixed.
On Tue, Jun 4, 2019, 12:56 Antony Lee<EMAIL_ADDRESS>wrote:

... except for the fact that support pyproject.toml has at least one
longstanding bug (pypa/pip#5317 https://github.com/pypa/pip/issues/5317
).
I don't actually manage this package at all anymore so my opinion hardly
matters, but I do still prefer the build_ext-subclassing solution.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scikit-sparse/scikit-sparse/issues/55?email_source=notifications&email_token=AAEU42GFOA2DT7Q3IRGHJZTPY3CGLA5CNFSM4HTAFAP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW5WBGY#issuecomment-498819227,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEU42DIGRXD6GLDYE2C5QDPY3CGLANCNFSM4HTAFAPQ
.

Oh, I have no doubt that pyproject.toml is the way of the future given that the powers to be have decided that.  All I can see, however, is that as of today, setup_requires works for me and pyproject.toml doesn't.
For example, matplotlib has a setup_requires on numpy.  We get many complaints about various aspects of our build, but they are mostly related to the system dependencies (freetype, libpng); I don't remember seeing a single setup_requires-related bug report in the past few years.

The main two issues are that it can't install from wheels, so your users probably end up with super-slow numpy, and it corrupts the environment metadata, so later upgrades/uninstalls don't work right. I think the reasons matplotlib doesn't get bug reports are because (a) most of your users are installing from wheels so they never run setup.py anyway, (b) since the effect is to break numpy, possibly months later, the affected users don't realize that they should complain to matplotlib.
Of course a lot of the blame here rests with the packaging infrastructure for having a footgun like this, and with the companies who won't pay for maintenance of the infrastructure they rely on, etc. But here and now, avoiding setup_requires is still a good idea.

OK, let's try to install the following setup.py in a clean, new venv:
from setuptools import setup
from setuptools.command.install import install

class install(install):
    def run(self):
        import numpy; print(numpy, file=open("/tmp/log", "w"))
        return super().run()

setup(
    name="foobarbaz",
    cmdclass={"install": install},
    setup_requires=["numpy==1.16.4"],
)

One can inspect /tmp/log and check that numpy was indeed available during the install, but after the install, it is not there anymore.
One can even pre-install another version of numpy before running pip install ., and check that during the install, the numpy version is 1.16.4 but after the install, we're back to the previously installed version.  Given that the temporarily-setup_installed-numpy is actually installed as an egg, I just don't see how the actually outside-of-setup_install installed numpy is affected.  [Obviously, if we're talking about egg-less setup dependencies, then that won't work -- but then one should ask why they are egg-less.]
Also that means that the sole point at which one has an egg-installed numpy rather than a wheel is during the install, where I don't think the performance of numpy matters that much.
Yes, it is true that setuptools provides a lot of ways to shoot oneself in the foot.  However, that does not mean it is not powerful enough to write correct setup scripts.

Huh. That doesn't match the received wisdom I'd picked up from e.g. the setuptools maintainers, and is much better than I thought. I would still be wary of being bitten by edge cases, and I'm still dubious about the idea of intentionally choosing the older, more complicated, deprecated approach over the newer, simpler, actively-maintained approach, but it does handle the worst issues I know of.

I think a lot of the discussions surrounding setup_requires confused two issues.
Yes, the API around setup_requires (basically, requiring to subclass build_ext for most practical purposes) is less than optimal.  And yes I am aware that because setup_requires relies on easy_install, which doesn't handle wheels, may be less customizable than pip, yada yada -- although I don't know if there are any technical reasons why setup_requires (possibly under a new name) could not have been switched to use pip instead.
On the other hand, this does not mean that setup_requires is underpowered and that a whole new system had to be invented.  And again, that system actually doesn't work in combination with other well-documented configuration options (namely, defaulting to --user installs -- note that this is something that has also been repeatedly proposed on distutils-sig, not some obscure edge case).

I don't know if there are any technical reasons why setup_requires (possibly under a new name) could not have been switched to use pip instead.

There were challenges there, mostly that the only way pip could figure out what needed to be installed was to invoke setup.py, and invoking setup.py already triggered the install of setup_requires. But with modern pip + modern setuptools, setup_requires are basically converted into pyproject.toml requirements and handled by pip: https://github.com/pypa/setuptools/blob/d36295aae2d6d2238546309a0dc4043f6e27e78a/setuptools/build_meta.py#L144
But this isn't really an argument for using setup_requires. In any situation where pip can handle setup_requires, it can also handle pyproject.toml (they use the same code paths internally), and pyproject.toml is significantly simpler to use. The only reason to favor setup_requires is if there's some situation where you want to get legacy easy_install behavior.

On the other hand, this does not mean that setup_requires is underpowered and that a whole new system had to be invented.

I mean... the user experience around setup_requires is terrible, as you noted, and that's completely unfixable without a new system. Also, this is part of a larger project to break the tight coupling between python packaging and setuptools, which also requires a new system.

And again, that system actually doesn't work in combination with other well-documented configuration options (namely, defaulting to --user installs -- note that this is something that has also been repeatedly proposed on distutils-sig, not some obscure edge case).

Yes, software has bugs, I'm not sure what you want me to say there. I get its frustrating when your personal setup breaks. I'm sure they'd welcome help fixing them. And unfortunately using pip.conf to default to --user installs is, in fact, a pretty obscure edge case. Maybe it won't be someday, that would be great, but right now the reason it's not the default yet is because no-one's done the work to go through and figure out how to smooth out the edge cases. And then combine that with editable installs, which are another huge pile of technical debt that we're trying to gradually crawl out from under... it's tough.

I don't know if there are any technical reasons why setup_requires (possibly under a new name) could not have been switched to use pip instead.

There were challenges there, mostly that the only way pip could figure out what needed to be installed was to invoke setup.py, and invoking setup.py already triggered the install of setup_requires. But with modern pip + modern setuptools, setup_requires are basically converted into pyproject.toml requirements and handled by pip: pypa/setuptools:setuptools/build_meta.py@d36295a#L144 [...]

It's great that handling for setup_requires has been improved, I'm all for it.  Whether that had to be done at the same time as introducing a new API is the question.

On the other hand, this does not mean that setup_requires is underpowered and that a whole new system had to be invented.

I mean... the user experience around setup_requires is terrible, as you noted, and that's completely unfixable without a new system.

A pretty obvious solution would have been to make ext_modules accept a callable that returns a list of extensions (and then you can import whatever you require from within that callable).  Clearly that solution has been discovered again and again, see e.g. https://github.com/pypa/setuptools_scm/#importing-in-setuppy for something similar.

Also, this is part of a larger project to break the tight coupling between python packaging and setuptools, which also requires a new system.

Yeah, that would be another great debate to have.  But perhaps another time?  :)

And again, that system actually doesn't work in combination with other well-documented configuration options (namely, defaulting to --user installs -- note that this is something that has also been repeatedly proposed on distutils-sig, not some obscure edge case).

Yes, software has bugs, I'm not sure what you want me to say there. I get its frustrating when your personal setup breaks. I'm sure they'd welcome help fixing them.

Oh, I certainly agree with the fact that at the end of the day, the one who writes the code is the one who gets a say.  But my hands are already full enough maintaining matplotlib that I'll just look at this from the peanut gallery.

And unfortunately using pip.conf to default to --user installs is, in fact, a pretty obscure edge case. Maybe it won't be someday, that would be great, but right now the reason it's not the default yet is because no-one's done the work to go through and figure out how to smooth out the edge cases. And then combine that with editable installs, which are another huge pile of technical debt that we're trying to gradually crawl out from under... it's tough.

Well, people have been talking about defaulting to --user for more than 5 years now (https://github.com/pypa/pip/issues/1668), and in fact setting that default in pip.conf has worked for me for years (and still does) -- whether on system pythons or on conda pythons -- with no problem.  I don't really want to re-read the whole pip thread to resummarize it here properly but IIRC the main issues were related to policy (how to interact well with the distros?  should we make sure ~/.local/bin is in the $PATH?  etc.) and not to technical issues -- and I was aware of none until pyproject.toml showed up.

@njsmith, @anntzer, @rgiordan There is a PR to fix this in #64 but I don't think this project is maintained anymore. Do any of you have privileges for this project?
I've also re-factored further in a fork and was just going to make releases base on that but I wanted to try to do things through this project.
@jor- are you still out there?

I'm happy to give you commit rights & PyPI ownership, as this project is basically unmaintained now AFAICT.  Let's just give a few days for the other devs to chime in, in case they want to comment on that.

@anntzer thank you for that!

Yes, I am still alive. But right now I do not have time to maintain this package anymore. So if there is someone able and willing to maintin this package I am very happy. I hope to have more time for this package again sometime in the future.

Gave you access on PyPI.  I don't manage the conda-forge package so you'll have to figure out the contact point yourself...

@anntzer, any chance I can have admin access so I can set up some secrets to use in github actions?

It's all yours.

Fixed in master and v0.4.5 and is available on pypi and conda-forge.


adds the option to not send an email via send_message

Currently there is no way to opt out of sending a message via send_message method. This PR adds that ability.
USE CASE:
Instead of emailing users (default) i'd like to send them an SMS, but not both.

Hi,
I need this feature, has a reason to not merge it?
Has something that can I do to unlock it?


feat: add linehaul info to uv-client

Summary
Closes #1958
This adds linehaul metadata to uv's user-agent when pep 508 markers are provided to the RegistryClientBuilder. Thanks to #2381, we were able to leverage most information from markers and avoid inconsistency.
Linehaul is meant to be accompanying metadata pip sends in it's user agent when talking to registries. You can see this output by running something like python -c 'from pip._internal.network.session import user_agent; print(user_agent())'.
In PyPI, this metadata processed by the linehaul-cloud-function. More info about linehaul can be found in #1958.
Below are some examples from pip:

Linux GHA: pip/24.0 {"ci":true,"cpu":"x86_64","distro":{"id":"jammy","libc":{"lib":"glibc","version":"2.35"},"name":"Ubuntu","version":"22.04"},"implementation":{"name":"CPython","version":"3.12.2"},"installer":{"name":"pip","version":"24.0"},"openssl_version":"OpenSSL 3.0.2 15 Mar 2022","python":"3.12.2","rustc_version":"1.76.0","system":{"name":"Linux","release":"6.5.0-1016-azure"}}
Windows GHA: pip/24.0 {"ci":true,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.12.2"},"installer":{"name":"pip","version":"24.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.2","rustc_version":"1.76.0","system":{"name":"Windows","release":"2022Server"}}
OSX GHA: pip/24.0 {"ci":true,"cpu":"arm64","distro":{"name":"macOS","version":"14.2.1"},"implementation":{"name":"CPython","version":"3.12.2"},"installer":{"name":"pip","version":"24.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.2","rustc_version":"1.76.0","system":{"name":"Darwin","release":"23.2.0"}}

Here's how uv results look like (sorry for the keys not having the same order):

Linux GHA: uv/0.1.21 {"installer":{"name":"uv","version":"0.1.21"},"python":"3.12.2","implementation":{"name":"CPython","version":"3.12.2"},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":"Linux","release":"6.5.0-1016-azure"},"cpu":"x86_64","openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Windows GHA: uv/0.1.21 {"installer":{"name":"uv","version":"0.1.21"},"python":"3.12.2","implementation":{"name":"CPython","version":"3.12.2"},"distro":null,"system":{"name":"Windows","release":"2022Server"},"cpu":"AMD64","openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
OSX GHA: uv/0.1.21 {"installer":{"name":"uv","version":"0.1.21"},"python":"3.12.2","implementation":{"name":"CPython","version":"3.12.2"},"distro":{"name":"macOS","version":"14.2.1","id":null,"libc":null},"system":{"name":"Darwin","release":"23.2.0"},"cpu":"arm64","openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Distro information (such as the one pip uses from pip._vendor import distro to retrieve instead of platform module) was not retrieved from markers. Instead, the linux release codename/name/version uses sys-info crate, adding about 50us of extra overhead on linux. The distro osx version re-used the mac_os version implementation from #2381 which adds about 20us of overhead on osx. I tried to use other crates to avoid re-introducing mac_os.rs but most of them didn't yield satisfactory performance (40ms-60ms~) or had the wrong values needed (e.g. darwin version vs osx version).
I also didn't add rustc retrieval as those seem to add substantial overhead due to querying rustc. PyPy version detection was also not added to avoid adding extra overhead to support PyPy for linehaul. All other behavior was kept 1-1 to match what pip's linehaul implementation does (as of 24.0). This also aligns with what was discussed in #1958.
Test Plan
Added new integration test to uv-client.

I also didn't add libc retrieval or rustc retrieval as those seem to add substantial overhead due to querying ldd or rustc.

We now have this information for the python interpreter itself, i added it.

Distro information (such as the one pip uses from pip._vendor import distro to retrieve instead of platform module) was not retrieved from markers. Instead, the linux release codename/name/version uses sys-info crate, adding about 50us of extra overhead on linux. The distro osx version re-used the mac_os version implementation from https://github.com/astral-sh/uv/pull/2381 which adds about 20us of overhead on osx. I tried to use other crates to avoid re-introducing mac_os.rs but most of them didn't yield satisfactory performance (40ms-60ms~) or had the wrong values needed (e.g. darwin version vs osx version).

Great performance work! On my machine (ubuntu) we're at 0.000s and even relative to the 2ms warm cache black resolve the linehaul instantiation is fast.
Warm cache resolve black

I tried to query the big-data table for uv downloads but there are no uv records yet (but the latest ingested data is from today). I think the reason for it is that we need to add a uv parser in here https://github.com/pypi/linehaul-cloud-function/blob/main/linehaul/ua/parser.py

Yes, a parser can now be added since the data is being sent as of 0.1.22 ❤


No forecast data

Hi,
Thank you for your integration.
But the template you described isn't working.
There is no entity found for daily or hourly forecast data.
I added Metzingen as location, so I tried "weather.metzingen_metzingen_daily" but the answer is always "null".
The strange thing is when I'm clicking on the entity "weather.metzingen_metzingen" all forecast is shown.
But how can I access them for example for the platinum weather card?

Sorry my fault!


Catch the old value and compare it with the new one.

Hey,
I have a select that's being submitted with sprig. Once submitted, I want to try and compare the old value to the new one passed and see if there are any changes to the variable so I can reset other data in the component.
Every time I submit, the input appears to be resetting back to null and not remembering what it used to be.
Is there any way to preserve variables between refresh?
I am trying to attempt something like this:
{% set productAges = productAges ?? null %}
{% set productAgesOld = productAgesOld ?? null %}

{% if productAges != productAgesOld %}
	{% set productRanges = [] %}
	{% set productDietary = [] %}
{% endif %}

{% set productAgesOld = productAges %}

Storing values in hidden inputs is the easiest way to persist data across requests.

@bencroker Doh, that's painfully obvious now! Thanks for the quick response.


renovatebot(deps): update dependency org.apache.ignite:ignite-core to v2.7.5

This PR contains the following updates:

Package
Update
Change

org.apache.ignite:ignite-core (source)
patch
2.7.0 -> 2.7.5

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

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

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.null seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


About the calculation of PSNR and SSIM

Hi, when I use test.py to evaluate the PSNR and SSIM of the results, I have encountered an error while executing the code:
ssim_val_rgb.append(ssim_loss(gray_restored, gray_gt, channel_axis=None))
the error message is:
ValueError: Since image dtype is floating point, you must specify the data_range parameter. Please read the documentation carefully (including the note). It is recommended that you always specify the data_range anyway.
I think that it need to specify the parameter of data_range, could you please  provide this parameter,thanks!

I installed an earlier package of the to ensure the progress of the evaluation, I evaluated the model on ISTD+ dataset but the results were pretty strange, Is there anything I forgot or made a mistake? My results on ISTD+ are the following:
PSNR: 25.448642, SSIM: 0.951459, RMSE: 7.791862  SPSNR: 33.511993, SSSIM: 0.988814, SRMSE: 9.262710  NSPSNR: 26.501147, NSSSIM: 0.963846, NSRMSE: 7.612985


Question - soft keyboard always show

Hello, i have a simple question. How did u made that function to always show virtual keyboard even if HW keyboard is plugged? I need to use that function but i can't use your keyboard :/ .

check the settings, it's right there...


BID/ASK prices are NOT being streamed into _zmq._Market_Data_DB

Hi. I'm able to run other commands such as sending new orders but each time i subscribe to market data and then trying to get data i get an empty dict {}:
>>> _zmq._DWX_MTX_SUBSCRIBE_MARKETDATA_('EURUSD')
[KERNEL] Subscribed to EURUSD BID/ASK updates. See self._Market_Data_DB.
>>> _zmq._Market_Data_DB

[Output]
>>> {}
I use python 3.7
Please help!

this is most likely a problem with configuration see this troubleshooting video to resolve

Hi did you resolve the issues? The same case is for me

The same goes here.

same problem!! Could you solve it?

Same problem...


Youtube Music Stopped Working

Since 2 days, Youtube Music is not working. Instead, its showing error "Oops Something went wrong".

Basic information

Your Linux distribution and its version: Elementary OS 5.0 Juno

Your desktop environment: Patheon (default in elementaryOS),

Nuvola Runtime version: 4.16.4 (4-g819cdb2)

The web app you use and its version: Youtube Music ( 1.3.0 (0-gbbf30d7) )

Describe the bug
Youtube Music is not working. Instead, its showing error "Oops Something went wrong".
Steps to reproduce the behavior
Just open the app or try to reload or sign in.
Expected behavior

...
Debugging log
dubug.txt
Screenshots

Hello @vedanshgarg. Thanks for reporting the issue. I've updated your report with a bug reporting template. Could you edit your report and fill in missing fields? That would make bug triaging faster. Thanks.
To edit your post, click the three dots in the top right corner of your post and select Edit.

info updated

Thanks, @vedanshgarg. I apologize for the late response.  I've been moving to a new flat so life is a bit crazy nowadays.
I'm now in a process of upgrading Nuvola's embedded Chromium to the latest version. The build was successful and I'm going to test it next week. Thanks for your patience.

I hope that the upgraded Chromium will resolve the issue.

Great, Looking forward to the new build.

Hello @vedanshgarg. I'm afraid I cannot reproduce the issue with Nuvola stable (Chromium 73) nor Nuvola devel (Chromium 74). Could you try removing the cache with this command and see whether it helps?
rm -rf ~/.var/app/eu.tiliado.NuvolaAppYoutubeMusic/{cache,data}

Closing this ticket as there hasn't been any response since June 1st.


Improve Alpine.js detection

The regex pattern from PR #3056 would match <div x-data>, but it would also match <div lightbox-data> and gave a lot of false positives.
This PR fixes that problem, lowers the confidence slightly for html match and adds additional methods of identification.

HTML REGEX BEFORE

HTML REGEX AFTER

Thanks!


Implement getitem method

fix #484
I implemented simplest version, but we need to discuss about ideal specification.

I implemented simplest version, but we need to discuss about ideal specification.

How about implement cupy.choose?

This implementation fails when x and t is cupy.ndarray whose size are both 0. See #490 for details.

How about implementing cupy.choose and make it backprop-able.
Humm... Its sounds good.

__getitem__ method of Variable is another choice.

Yes, it looks like numpy.choose. But, I noticed that getitem(x, a) == a.choose(x.T).

LGTM!


Documentation fixes

Fix docs inconsistencies around Ctrl +   keyboard shortcuts (see https://github.com/microsoft/Codex-CLI/issues/112)
Fix some doc typos and formatting

print hello


Remove Italicizing of Reblogged Text

Can we see just how it looks without the italics, just plain text. ty

Nevermind I actually just completely changed my mind sorry!


Standardize and Update Font Usage

A quick UI fix for the next updated version of the app.
Instructions

We currently use UIFont.systemFont, UIFont.boldSystemFont, and Constants.Fonts.SanFrancisco (e.g. "SFUIText-xxx") throughout the app. Replace uses of UIFont.systemFont | UIFont.boldSystemFont with an initializer using the Constants.Fonts.SanFrancisco enum.

[x] Consolidate San Francisco and System Font usage to one font.

Download the San Francisco font here. We are using the following variants of SF-Pro-Display

Regular

Medium

Bold

Semibold

[x] Install Pro Display fonts

Remove previously included fonts and install and include them following this guide. You'll need to change the string identifiers in Constants.swift.

[x] Properly add new fonts

Use one consistent font initializer everywhere within the app.

[x] Go through app and use one system for fonts.

Update: Just use SF-Pro-Display everywhere. Updated above issue

To be fully completed in upcoming Styling PR


refactor: undo with memento snapshots

Explicit Memento pattern for undo functionality (yep, it's memory inefficient, will probably explore the Command pattern later to add both undo / redo)
Collocated the selection & memento atoms in the Dashboard route folder where they are referenced (for better maintenance)

👍🏻


Change name Visual Studio > Visual Studio Code

Would love to have Visual Studio running in a Docker container, heh. But this is VS Code. It's correct in the directory name, just a small fix in the Dockerfile comment.

Seems legit. Thx