More friendly terminating of running task

Hi!

VSCode Version: 1.10.1
OS Version: macOS Sierra

It is a bit lengthy to terminate current running task by "cmd+shift+p term up|down to select Tasks: Terminate Running Task and Enter".
It would be great to have e.g.

Terminate Task context action on Task Output window, or better
to have a button inside Output Window which will terminate current task (Terminal window also have custom icons at the top right corner ;)

Thanks for evaluating!

You can bind a keyboard shortcut to the command "workbench.action.tasks.terminate" for a quicker termination.

Yep, that's definitely better than using command search. But button would be much better...because it would be in the "right context" ;) Global command is just too "general" in this case ;) Thanks a lot.

We are moving to running tasks in the terminal which makes terminating them a lot easier since the terminal panel already has support to terminate a terminal. No further action is planned for the output panel.
I am closing this issue since the terminal will support the requested functionality.

You can't even imagine how I'm glad to hear it! :-) That's what I actually want in #22156
Do you have some time estimate when it could be live? Because running thousands of JS tests through Output window is unusably slow. Thanks ;)

Support for this is already in 1.9 and 1.10 but not on by default. See the release notes for 1.9 and 1.10 how to enable this. In 1.10 you can simply change the version field of the tasks.json to 2.0.0. But be aware that running in the terminal is work under construction. And it might change a little in the future.

Sounds great, will definitely try that, thanks!


Per-Character Typing Audio / Default Per-Character Themes

Is your feature request related to a problem? Please describe.
When running a scene, I'd like for each character to have their own default settings for typing sounds.
Describe the solution you'd like
Ability to set specific audio typing settings per character as defaults that take precedence over the Theme default.
Describe alternatives you've considered
Creating themes for each character and swapping them in whenever they are speaking so that they have their own sound effects is presently my only option, as far as I'm aware. Not horrible, honestly, but it would mean I'd have to make sure I didn't miss one per character. It would also mean that any changes I made to one theme would have to be replicated in all of the other themes in order to maintain consistency.
Alternative/In addition?: Being able to set a default theme per character with all the fixings, not just for audio speed, but I'd like the option to do both if possible, or to have it be the default but allow me to set local variations that take precedence for any setting.
The theme default could be good for a "narrator" voice where no character is speaking, and it gets overridden by character-specific ones.
Additional Context
For an example of this in action, Deltarune appears to use a basic beep that's just transformed various ways for its different characters, each of whom has a unique "voice" that comes through in the typing.
While this is possible with Dialogic, there are extra steps that make it a little more tedious.

Thanks for the request.
Agreed that this would be cool. This is a duplicate of #364 tho, if I'm not mistaken. I believe @timkrief wanted to implement this, but I'm not sure what the state of that is at the moment.
I'll close this issue, but the feature itself is on the to do list.
The very long to do list...


Add support for USING SCAN

Is it possible to add support for USING keyword ?
https://neo4j.com/docs/cypher-manual/current/query-tuning/using/#:~:text=A planner hint is used,query with the USING keyword.
Something like
Cypher.match(node.relationshipTo(otherNode, "HAS")).usingScan(otherNode, "CustomLabel")

would be nice.

Hi Gael. Oh, that's an interesting request, didn't expect that people are going to use the DSL for queries that advanced.
And sure, that's perfectly valid request.

Hi Gael. Oh, that's an interesting request, didn't expect that people are going to use the DSL for queries that advanced.
And sure, that's perfectly valid request.

Hi Michael.
I have a lot more feature requests that I work around for now using the "RawExpression" trick, here is a quick list:

toFloat function () and similar
timestamp() function ()
Apocs methods (I use apoc.map.groupBy, apoc.coll.sum, apoc.map.mergelist, but I believe others would be nice to have to)
Access to properties on other things than nodes (e.g. last(collectedThings).name)
duration methods ()
Access to duration, datetime and time properties (years, months, minutes, etc.)

Should I create a different issue for each one of them ?

Hi Michael.
I have a lot more feature requests that I work around for now using the "RawExpression" trick, here is a quick list:

toFloat function () and similar
timestamp() function ()
Apocs methods (I use apoc.map.groupBy, apoc.coll.sum, apoc.map.mergelist, but I believe others would be nice to have to)
Access to properties on other things than nodes (e.g. last(collectedThings).name)
duration methods ()
Access to duration, datetime and time properties (years, months, minutes, etc.)

Should I create a different issue for each one of them ?

Function for time related things are there: https://github.com/neo4j-contrib/cypher-dsl/blob/main/neo4j-cypher-dsl/src/main/java/org/neo4j/cypherdsl/core/Functions.java#L1144
APOC specific ones are not gonna happen. You can build them like this https://github.com/neo4j-contrib/cypher-dsl/blob/main/neo4j-cypher-dsl/src/test/java/org/neo4j/cypherdsl/core/CypherIT.java#L3418-L3439
Properties of expressions: Please create a ticket :)

Function for time related things are there: https://github.com/neo4j-contrib/cypher-dsl/blob/main/neo4j-cypher-dsl/src/main/java/org/neo4j/cypherdsl/core/Functions.java#L1144
APOC specific ones are not gonna happen. You can build them like this https://github.com/neo4j-contrib/cypher-dsl/blob/main/neo4j-cypher-dsl/src/test/java/org/neo4j/cypherdsl/core/CypherIT.java#L3418-L3439
Properties of expressions: Please create a ticket :)

Yes, I saw the time functions (which are great news by the way!) but I'm missing functions like duration.between(instant1, instant2), or time().years. Combine this with properties of expressions and I couldn't be happier!

Yes, I saw the time functions (which are great news by the way!) but I'm missing functions like duration.between(instant1, instant2), or time().years. Combine this with properties of expressions and I couldn't be happier!


[cmorizers] Ensure no unnecessary OBS data is downloaded automatically

@ehogan and myself have noticed that (due to an unmodified test) the WOA cmorizer was happily downloading data when the actual data was created during the test session, albeit that was outputted in an obsolete format due to the fact that the test was left unchanged after the cmorizer was updated to the later version, this is documented in https://github.com/ESMValGroup/ESMValTool/issues/2452
This issue raises the following two questions:

for tests: are all tests updated to use the latest cmorizer's data format to prevent automatic downloads when they are not needed?
more generally, @ehogan actually had a very good idea IMO to introduce an e.g.  --no-downloador --offline option to the cmorizer like we have with CMIP/pyesgf downloads - is there such an option already in place, and if not, how about we implement one?

Cheers :beer:

I went through the related issues and I think I understand the problem. When the WOA cmorizer was refactored, a feature was added to automatically download raw data if missing in RAWOBS when the cmorizer is called. The test was modified to account for the newer version of the variable but unfortunately not for this automatic download. So the test used to trigger a data downloading because the data paths were not correct. Thanks for noticing and fixing this annoying behaviour @valeriupredoi @ehogan!
In the "old" cmorizer framework, there are only a handful of cmorizer that had been implemented with an automatic download of missing data when the cmorizer is called, including the WOA cmorizer. It is quite unfortunate that the WOA cmorizer is also used for testing... In the new framework (#1657), downloading and cmorizing are clearly separated in all cases. In the updated test, only the cmorization command will be used, so no risk of any hidden data download there.

for tests: are all tests updated to use the latest cmorizer's data format to prevent automatic downloads when they are not needed?

Regarding the cmorizer tests, I don't think there is any risk of automatic download because of the clear separation between downloading and cmorizing in #1657.

more generally, @ehogan actually had a very good idea IMO to introduce an e.g. --no-downloador --offline option to the cmorizer like we have with CMIP/pyesgf downloads - is there such an option already in place, and if not, how about we implement one?

Note, that even with #1657 merged, users will still need to "prepare" their obs data before running recipes. There won't be any download of obs data during recipe runs (V: I think you once opened an issue about that but I can't find it...). So I'm not sure if an --offline option as for the pyesgf downloads is really needed for the obs at the moment. Regarding the preparation of obs data, users will be able to type: esmvaltool data download DATASET (or esmvaltool data prepare DATASET for download+cmorization) but I think it should be quite clear not to do that on nodes with no access to the outside world.
But I would suggest to first collect some feedback once the new cmorization framework is available and see if we need to do something here.

I think we can close this as we can close this as we have not encountered such issues in a long time. this was only due to the fact that the WOA CMORizer was one of the very few with data download capabilities prior to #1657. And also that WOA is one of the very few cases used in our tests. Since #1657 download and CMORization are well separated and such issues should no longer surface. @valeriupredoi, feel free to reopen if needed 🍺


Code Signature tooltip obscures code and completions

Description
when opening parentheses triggers the signature, the default behavior of lsp appears to be to show an extra tooltip (in addition to default completer), which obscures the code being typed and the completions.
As a result, I have to be constantly hitting escape, every time I open parentheses or type any number of other completion or inspection-triggering keys.
It's unclear to me if this is an lsp problem or a jupyterlab problem, but both of these behaviors seem incorrect:

there shouldn't be two tooltips at once
tooltips shouldn't ever obscure the cursor

Reproduce

open notebook
typeimport requests
requests.get(

see cursor and completer hidden behind inspection tooltip:

https://github.com/user-attachments/assets/ec59a21a-5670-4eaf-bcf7-06c2f550e0be
Expected behavior

Tooltips don't obscure code
No more than one tooltip at a time

Context

Operating System and version: browser: macOS 14.6.1, server: ubuntu 22.04
Browser and version: Safari 17.6
JupyterLab version: 4.2.4
Language server and version: jupyter-lsp 2.2.5, jupyterlab-lsp 5.1.0

Required: installed server extensions

Config dir: /home/jovyan/.jupyter
Config dir: /srv/conda/envs/notebook/etc/jupyter
dask_labextension enabled
- Validating dask_labextension...
Extension package dask_labextension took 0.2798s to import
A _jupyter_server_extension_points function was not found in dask_labextension. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
dask_labextension 7.0.0 OK
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 2.2.5 OK
jupyter_server_proxy enabled
- Validating jupyter_server_proxy...
jupyter_server_proxy 4.3.0 OK
jupyter_keepalive enabled
- Validating jupyter_keepalive...
jupyter_keepalive 0.3.0 OK
jupyter_resource_usage enabled
- Validating jupyter_resource_usage...
jupyter_resource_usage 1.1.0 OK
jupyter_server_mathjax enabled
- Validating jupyter_server_mathjax...
jupyter_server_mathjax  OK
jupyter_server_terminals enabled
- Validating jupyter_server_terminals...
jupyter_server_terminals 0.5.3 OK
jupyter_server_xarray_leaflet enabled
- Validating jupyter_server_xarray_leaflet...
A _jupyter_server_extension_points function was not found in jupyter_server_xarray_leaflet. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
jupyter_server_xarray_leaflet 0.2.3 OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 4.2.4 OK
jupyterlab_code_formatter enabled
- Validating jupyterlab_code_formatter...
jupyterlab_code_formatter 3.0.2 OK
jupyterlab_git enabled
- Validating jupyterlab_git...
jupyterlab_git 0.50.1 OK
jupyterlab_myst enabled
- Validating jupyterlab_myst...
jupyterlab_myst 2.4.2 OK
nbdime enabled
- Validating nbdime...
nbdime 4.0.1 OK
nbgitpuller enabled
- Validating nbgitpuller...
nbgitpuller 1.2.1 OK
notebook enabled
- Validating notebook...
notebook 7.2.1 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim  OK
panel.io.jupyter_server_extension enabled
- Validating panel.io.jupyter_server_extension...
Extension package panel.io.jupyter_server_extension took 0.8595s to import
panel.io.jupyter_server_extension  OK
Config dir: /usr/local/etc/jupyter

Required: installed lab extensions

JupyterLab v4.2.4
/srv/conda/envs/notebook/share/jupyter/labextensions
        jupyter-matplotlib v0.11.4 enabled OK
        anywidget v0.9.13 enabled OK
        ipytree v0.2.2 enabled OK
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        jupyterlab_code_formatter v3.0.2 enabled OK (python, jupyterlab_code_formatter)
        jupyter-leaflet v0.19.2 enabled OK
        ipyurl v0.1.2 enabled  X (python, ipyurl)
        jupyterlab-myst v2.4.2 enabled OK (python, jupyterlab_myst)
        nbdime-jupyterlab v3.0.1 enabled OK
        dask-labextension v7.0.0 enabled OK (python, dask_labextension)
        ipyspin v1.0.0 enabled OK
        @jupyterlab/git v0.50.1 enabled OK (python, jupyterlab-git)
        @jupyter-lsp/jupyterlab-lsp v5.1.0 enabled OK (python, jupyterlab-lsp)
        @jupyter-widgets/jupyterlab-manager v5.0.11 enabled OK (python, jupyterlab_widgets)
        @pyviz/jupyterlab_pyviz v3.0.3 enabled OK
        @jupyter-server/resource-usage v1.1.0 enabled OK (python, jupyter-resource-usage)
        @jupyter-notebook/lab-extension v7.2.1 enabled OK
        @jupyterhub/jupyter-server-proxy v4.3.0 enabled OK
        @minrk/jupyter-keepalive v0.3.0 enabled OK
/home/jovyan/.local/share/jupyter/labextensions
jupyter-fs v0.4.1 enabled OK (python, jupyter-fs)
The following extensions may be outdated or specify dependencies that are incompatible with the current version of jupyterlab:
ipyurl
If you are a user, check if an update is available for these packages.
If you are a developer, re-run with --verbose flag for more details.
Disabled extensions:
@jupyterlab/apputils-extension:announcements
@jupyterlab/completer-extension:base-service
@jupyterlab/fileeditor-extension:language-server
@jupyterlab/notebook-extension:language-server

there shouldn't be two tooltips at once

I think this should be configurable; I get why this can be annoying. Some other popular editors show even more tooltips as you type.

tooltips shouldn't ever obscure the cursor

agreed! I think this is a regression due to a change in positioning of the tooltip. I guess this happens when at the top of the notebook, but not when you have more space overheads, right?

The relevant plugin is called "signature", as a quick fix you can disable it in the settings.

Thanks! I found the disable as I was writing up the issue. Took me a while, since it doesn't show up in search results for LSP or Language Server.
It appears to always obscure something, but you're right, it does depend on where the cursor is in the frame. In the middle, it almost doesn't obscure it at all (it does overlap the top of the cursor's row a tiny bit):

And at the bottom, it doesn't obscure the code (any more than the middle one, at least), but does completely obscure the completions:

though this is inconsistent, as scrolling up and down results in the tooltips obscuring the cursor no matter where it is:

When placing a tooltip above the cursor, it should probably be offset by at least the width of the tooltip's drop shadow plus a bit.
I get that some folks like to see lots of information so everyone's preferences will differ. But it doesn't seem right that showing two overlapping tooltips will ever be the right thing to do, but if that's going to happen, how on earth does one pick? I saw some screenshots when I was checking if this was already open (that I can't find anymore, of course) where the completion and signature appeared to share a tooltip. That seems like it might help with the layout problem, but I assume there's a good reason it doesn't work that way anymore.

completion and signature appeared to share a tooltip

I think you may think about documentation in the completer. You can enable it in settings.

But it doesn't seem right that showing two overlapping tooltips will ever be the right thing to do, but if that's going to happen, how on earth does one pick?

Right!
As to which to show - the language server decides whether to show signature or not - not this extension, so the behaviour will differ between servers. Which server are you using?


Omicron resource updates

Resources describing:

[ ] BA.1 & BA.2 sublineages
[x] BV-BRC resources
[x] Primers that address dropout issues:

https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3001236
https://www.medrxiv.org/content/10.1101/2<IP_ADDRESS>67293v2
UNZA primer scheme: 10.1016/j.ijid.2020.09.1480

[ ] Software version minimums for BA.1/BA.2 lineage and 21K/L clade assignments
[ ] Additional reference sequences

Drafting changes on @jkspinler's fork: https://github.com/jkspinler/pipeline-resources/tree/omicron-updates

Need to add info on BA.3:

Third sublineage in B.1.1.529 (Omicron-related)

Nucleocapsid deletion for PCR typing

WHO inclusion of all sublineages: https://www.who.int/en/activities/tracking-SARS-CoV-2-variants/

Infectious disease modeling

Masking strategies: https://virological.org/t/masking-strategies-for-sars-cov-2-alignments/480

Nextstrain ncov masked site: https://github.com/nextstrain/ncov/blob/master/defaults/sites_ignored_for_tree_topology.txt

Reference data:

TX data with midnight primers
Various omicron specimens sequenced with VarSkip Long:

https://www.ncbi.nlm.nih.gov/biosample/23637602
https://www.ncbi.nlm.nih.gov/biosample/23894510
https://www.ncbi.nlm.nih.gov/biosample/23894511


Add common library

On top of user library, we should have some pre-built, standard library of common shapes for people to use without having to draw them themselves.
Should probably live in the repo so people can make PRs for new shapes.

what are a good set of inclusion criteria for common shapes?

I'd imagine: must be common, generic, and high quality.
Note that we don't even have consensus for this feature yet. The implementation needs to be figured out, too.

Having a repo for collecting those is a good idea.. but I'm not sure if we want to include the common library in general in Excalidraw.

Upvote to this feature.
If I need to create a scheme (block-scheme, BPMN, UML, etc..) I go to draw.io or something else service to achieve my goal because other services have prebuilt shapes to save my time.

Since our target group is pretty wide, I don't think that we'll be able to find a common library for all users.. For now we can start with this https://excalidraw.github.io/excalidraw-libs/ and eventually we can think on how to incorporate it.

The link above pointing the libs is dead. Here's a new link: https://libraries.excalidraw.com

The link above pointing the libs is dead. Here's a new link: https://libraries.excalidraw.com

can we get your api to add library item


Proposal: A WebView based on Microsoft Edge (Chromium) in WinUI 3

Proposal: A WebView based on Microsoft Edge (Chromium) in WinUI 3
Summary
The Microsoft Edge browser is moving to be based on the Chromium web engine. This proposal is to create a WebView in WinUI 3 which takes advantage of the Microsoft Edge Webview2. This will allow WinUI 3 apps to host web content in the most relevant and standards compliant way.
We have now released a preview of the control in WinUI 3.0 Alpha (February 2020) 🚀👩💻🎉
Rationale

The latest version of Microsoft Edge will be using Chromium and the current XAML WebView is based on the EdgeHTML engine
WinUI developers would have access to the web-compatible Chromium platform
The performance characteristics of web content in WinUI apps will begin to match that of Chromium
WinUI app developers have requested this feature

Scope

Capability
Priority

Developers can host standards-based web content rendered by the Chromium engine in WinUI apps
Must

Support the Microsoft Edge 'evergreen' update model, keeping the WebView rendering up to date with the latest auto-update of Microsoft Edge on the users system
Must

Released as an open source component in the WinUI repo
Should

Developers can host web content in apps on all OS releases where WinUI 3 is supported
Should

Gracious failure when WebView is run without Microsoft Edge (Chromium) installed
Should

Smooth migration experience for current users of EdgeHTML Webview
Should

Allow simple access to WinRT APIs via AddWebAllowedObject
Should

Access to WinRT directly via JavaScript
Could  (not in v1)

Ability to package a specific version of Microsoft Edge with the app, e.g. BYOV
Could  (not in v1)

Proposed API
The WinUI WebView element will be built on top of the Microsoft Edge WebView2 API. We have yet to determine the full shape and set of APIs for the WebView element. A draft spec for the WebView2 has been posted to the spec repository.
APIs included in the API spec are those being proposed for the WinUI WebView element directly. Additional APIs will reside on the WebView2 core object. There are not represented in the API spec linked above.
In short; If you don't see an API in the WebView2 API spec and it is existing functionality of the current WebView, it is likely planned to be included on the base WinRT object, whose API is likely to closely match the current IWebView2WebView interface.
The high-level API structure is pictured below.
 _________________________
|                         |
|       WinUI 3 App       |
|_________________________|
|                         |
| WinUI WebView element   |
|          API            |
|_________________________|
|                         |
|   WebView2 core API     |
|                         |
|_________________________|

This is already in progress.
"Webview2"
https://docs.microsoft.com/en-us/microsoft-edge/hosting/webview2

@shaheedmalik
Perhaps you should more carefully read the issue...

The WinUI WebView element will built on top of the Microsoft Edge WebView2 API. We have yet to determine the full shape and set of APIs for the WebView element. We plan to publish a proposed API, in the WinUI spec repo. We will update this proposal accordingly with a link at that time. The APIs included in the API spec will be those that we are proposing to place on the WinUI WebView element directly. In the meantime, we welcome feedback on desired APIs and scope.

Please add printing, and print-to-PDF APIs. This is super useful when generating reports based on HTML. The current print options in UWP are terrible. WebViewBrush is not vector based.
https://stackoverflow.com/questions/39012591/uwp-print-webview

Back in 2016 when I was developing full featured UWP browser for Windows Mobile I wrote this blog post about missing features in the original WebView. Some of the ideas are a bit dated, most of them are still relevant:
https://www.suchan.cz/2016/04/make-webview-great-again/
My favourite points:
Proper access to Frames
There is no way in the current WebView how to uniquely identify Iframes in a page or how to run custom JavaScript code in target Iframes. This is especially problematic when developer wants to handle right mouse clicks for opening custom context menu or key combos inside the page using custom JavaScript. Invoking custom script is just not possible inside Frames or Iframes.
Proper Popup Window handling
Since Windows 10 the WebView has a method called NewWindowRequested. This method is raised when the page requests new window to be created. This is nice, but once a new window is created, there is no link between the original page and the new popup window in the page DOM and there is no notification when the parent window is requesting window.close() for the popup window.

I know important features that came late (or didn't come to the original WebView) are:

Intercepting each resource request (e.g. being able to add custom headers for auth, serve content from a cache, or filter out bad actors)
Independently controlling each WebView's cache, be it sharing from a central cache, or independent from others so that it can be wiped separately from entire app.
Access to DOM

Am a bit concerned about the fact that if the WebView is a major component of an app and the user doesn't have the new Edge installed, that the app wouldn't work without more user involvement.  Can there be a base install version of the Edge components that can be installed as a dependency? But just doesn't show the icon on the user's start menu in this scenario as in normal install. i.e. still be the evergreen model and not BYOV, but at least do the base install when it's needed by an app using the new WebView at package/install time (if needed), and not involve extra manual user steps.  If the user later installs new Edge, this 'base' package all gets replaced by the main bits and WebView is none the wiser.
Also, assuming as part of WinUI 3 it will work regardless of app model?  And having it also be able to work when deploying via UnoPlatform would be great too. 😋 FYI @jeromelaban
Can you clarify the AddWebAllowedObject, assuming you mean that a WinRT API can just be dangled off some class the developer creates and call that?  But the custom object from the developer (outside of any WinRT APIs) is important too.  That's also the WebView -> App bridge, but there's no mention of the App -> WebView bridge about being able to call JavaScript on the WebView instance.

Please also refer to https://github.com/microsoft/microsoft-ui-xaml/issues/1298 (proposal for access to cookies in WebView)

Ability to view PDFs and SharePoint docs (Word, Excel, etc.) by navigating to URL.  Printing APIs would be nice, too.

@martinsuchan thank you for posting this blog. I'll take some time to go through this.
@michael-hawker given Edge Chromium's planned distribution model the main case I am referencing in this failure mode would be a machine that has not been updated or in an organization that has not yet pushed the update.
Yes, it would work regardless of app model. The Uno angle is a good question. Thanks for adding Jerome.
In terms of WinRT access we are hoping to explore the needed API set with customers and create a plan to support the necessary usage models moving forward.

So a question need to be asked. Would this work on Xbox? And what about IoT?
Most TV apps on Xbox are actually PWA or Webview apps. This seems very basic. If don't come, Xbox will be stuck with EdgeHTML forever?
I currently have an app for Xbox and Windows that uses the normal WebView when clicking on links there, but the perf is not that great, and I would switch instantly. But not having on Xbox would make things complicated.
And what about IoT too? A lot of enterprise apps there are also web based, and currently stuck on EdgeHTML.
In my opinion, would be quite smart to put new edge engine, read, Blink, as a dependency on Store (just like .NET Native, WinUI, etc is there). It shouldn't rely on a Edge install that the user may not have, or might be removed by the user!
What if the user uninstall Edge?

@vitorgrs Great question! The new Chromium based WebView2 should be available on Xbox and IoT as well. Ideally the Chromium WebView should be a separate package downloadable in Store, just like it works on Android, where all apps share the same Chrome WebView, that can be updated separately in Google Play.

Working on all OS versions where WinUI 3 is supported is certainly a goal, as called out in the scoping section. We will be able to get more specific moving forward about supported endpoints for the v1, but we really love getting this feedback. The user removing the Edge browser will not be an issue as the APIs necessary for the WebView will be available as part of an OS update.

These days, nearly every single Desktop app has an HTML view in some form, and unfortunately, many of them are still stuck with IE WebBrowser-based wrappers. Providing a modern WebView for modernizing those existing apps is a great initiative and is a step in the right direction, thanks for that.
However, if I was to start a new Desktop app development today, I'd be looking for a cross platform UI framework. My team is about to ship a brand new Desktop app for which we've chosen Electron. We also considered Flutter for Desktop, but we haven't looked back to WPF or WinForms.
Thus, apologies if my request is off-topic here, but it'd be great to see some efforts from Microsoft to create a cross-platform HTML rendering shell for .NET Core, based on the new Edge, which is also a cross-platform browser. Then we could use Blazor.NET to create cross-platform Desktop apps. I believe there's a great demand for such toolkit, and it might be the future of the Desktop development.

These days, nearly every single Desktop app has an HTML view in some form

This isn’t something to be proud of at all.

@fitojb

This isn’t something to be proud of at all.

I know, but that's the reality. You might be surprised at how many Microsoft's own projects use Chromium in some form. To check it out, go to https://thirdpartysource.microsoft.com and type in Chromium in the Filter field.

I'm glad to hear there's a plan to get the new browser engine into apps. The existing UWP WebView control was a pain to use for us in a couple of ways, and I would love to see them considered in the design of the newer control:

The current WebView control hosts content on the UI thread by default on desktop, and there's no declarative way of setting WebViewExecutionMode in the XAML, which means if we want our app to remain responsive while the browser is loading, we can't use the WebView directly in our XAML.
We can't manipulate the DOM directly via C# (e.g. to insert a stylesheet or remove an element or similar), it must be updated via JavaScript, which means putting JavaScript literals in our C# code.
The mechanism to run arbitrary JavaScript on the page after load (InvokeScriptAsync()) requires making a function call, which means everyone (including Microsoft in sample code) seems to be calling eval() in many places. If we're going to have to run script to manipulate the page.
It swallows mouse and keyboard events. Our app (a kiosk app) resets to the idle state when the user is idle for more than some predetermined number of seconds, but in order to listen for those events we had to listen for mouse move and keydown events in JavaScript and bubble them up to the app (as well as in the surrounding app).
There's no clear way to implement a handler for browser modals, both JavaScript-triggered (e.g. confirm(), prompt()), and navigation triggered (e.g. handling resubmission of POST data when refreshing a page that was requested by post).
There's no easy way to clear all session data including cookies. Calling ClearTemporaryWebDataAsync() doesn't clear session and other cookies, and HttpCookieManager doesn't have the ability to clear all cookies either. This makes it hard to ensure two kiosk users don't see each other's private session information.
When the URL is updated by JavaScript (e.g. in an Angular app) there's no navigation events fired on the control (only ContentLoading()).
It's extremely cumbersome to update the user agent string, which makes it hard for the remote site to handle the request loaded in an app in this way specially. There's also no easy way to inject request headers, or other similar methods to affect the behaviour.

Is there any dates, or estimated dates regarding the release of a WebView based on EDGE Chromium to be used from within UWP (Xamarin.Forms)?

🦙 @hanneslarsson Adam showed a preview during the last community call starting here and mentioned that hopefully an early preview of it would be coming in February.

@michael-hawker Awesome!! Super thanks for the update! I’m so looking forward to the new webview!

We have now released a preview of the control in WinUI 3.0 Alpha (February 2020) 🚀👩💻🎉

Does this also allow editing the HTML content with JavaScript disabled? I'd like to build an e-mail viewer and editor that has JavaScript disabled for security, but also allows editing a reply with the original message quoted inline in the editor. Various input events need to be handled by the application here to update the formatting accordingly. As well as an API to manipulate the DOM with the use of toolbars and other UI commands (set font, insert images, tables and such).
Also, loading of remote resources like images needs to be restricted for privacy, unless it's allowed by an option. Is this supported, too?

Does this also allow editing the HTML content with JavaScript disabled?

@ygoe have a look at ICoreWebView2Settings::put_IsScriptEnabled. I'm not sure though if you'd still be able to manipulate the DOM with ExecuteScript if you disable scripts.
I myself currently still use the legacy WebOC for its simple text editing features.

@ygoe The HTML content is run out-of-proc from the XAML app, and it is not possible to access the DOM from the app.  JavaScript would need to be enabled, at least for the script you want to run.
For your second question, I believe that will be possible via the WebResourceRequested event.

Working on all OS versions where WinUI 3 is supported is certainly a goal, as called out in the scoping section. We will be able to get more specific moving forward about supported endpoints for the v1, but we really love getting this feedback. The user removing the Edge browser will not be an issue as the APIs necessary for the WebView will be available as part of an OS update.

@adambarlow, is there progress in the availability of WebView2 and WinUI in general for the Xbox platform? Can we expect a Prerelease this year that will include this?

is there progress in the availability of WebView2 and WinUI in general for the Xbox platform? Can we expect a Prerelease this year that will include this?

same question for Windows IoT Core

@adambarlow
Is there any SDK release timeline to support WinUI3?

@johnnylq From the Windows UI Library Roadmap:

WinUI 3 was shipped as a series of preview releases throughout 2020. We expect to ship Project Reunion 0.5 in late March 2021, which will include the first stable, supported version of WinUI 3.

You can find the most recent release here.

This control has been supported since the Windows App SDK 0.5 release earlier this year. With that, this Issue stands closed.


add deleted-customer-feature

add deleted-customer-feature

Codecov Report

Merging #93 (7bfc7a0) into main (3e2944a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #93   +/-   ##
=======================================
  Coverage   96.21%   96.21%
=======================================
  Files           5        5
  Lines         396      396
=======================================
  Hits          381      381
  Misses         15       15

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e2944a...7bfc7a0. Read the comment docs.


readme refinement

I have rewritten the introduction of this repository because I believe it helps quickly inform anyone about the use-cases, merit and advantages of Peek. It basically acts as a summary to the entire README.
This is extremely valuable as anyone visiting the repo will quickly be able to grasp what Peek does rather than reading the entire repo.
Hopefully, this would provide some value. As least for me, I wished it was there at the first place.

This reads great :+1:


Feature Request: Support numbering all formulas like equations

In my case, I need number all formulas (equations, inequalities and other math formulas...) and not only the equations. I think it would help if the numbering parameter can be supported in all math expressions wrapped by $ $

What do you mean? This is already the case with
#set math.equation(numbering: "(1)")

Though named math.equation, an "equation" is any bit of math.

Oh sorry, I am confused by the name.... It actually works for any math formula.

Oh, phew! I was a bit worried for a moment :sweat_smile:
Cheers!


Dynamic allocation and deallocation of qubits/wires support by StateVectorDynamicCPU

Context:
This PR adds StateVectorDynamicCPU that allows the allocation and deallocation of qubits/wires dynamically, and defines all operations to manipulate the statevector data for quantum circuit simulation. Also, it introduces WIRE_STATUS so that operations can be only applied on ACTIVE wires. RELEASED wires can be re-activated while DISABLED wires are permanently destroyed.
Description of the Change:

[X] StateVectorDynamicCPU
[X] Test_StateVectorDynamicCPU

Possible Drawbacks:
The dynamic state-vector support must not affect the performance of StateVectorManaged or StateVectorRaw in Lightning.
Related GitHub Issues:
n/a

StateVectorDynamicCPU will be added in a separate repository.


CDN support

Hi, is there any plan to support CDN on overplus over WebSocket or GRPC?

Yes it‘s in my plan, but currently it's a low priority thing.

already supported in v1.0.4

already supported in v1.0.4

ws 改成true了， 但是v2rayn的trojin里要路径path， 不知道填什么， 空白？ 似乎一直连不上

随便填一下，这个不影响

还是不成功，先是利用脚本的，只改了ws true， 因为是v6only，所以只能用cdn
/etc/overplus/server.json
{
    "run_type": "server",
    "local_addr": "<IP_ADDRESS>",
    "local_port": "443",
    "allowed_passwords": [
        "qwer1234"
    ],
    "log_level": "NOTICE",
    "log_dir":"",
    "ssl": {
        "cert": "/etc/overplus/server_N4BJNel36ggJKcy5.crt",
        "key": "/etc/overplus/server_N4BJNel36ggJKcy5.key"
    },
    "websocketEnabled": true
}

客户端如图xxx.com已cf小云朵

提示bad handshake
 [Warning] [3547147887] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://xxx.com/op): 521 Origin Down > websocket: bad handshake] > common/retry: all retry attempts failed

改了配置后重启服务了吗？有服务端log吗

systemctrl restart了
我也手动启动查看了
服务端只有
/usr/bin/overplus /etc/overplus/server.json
[2022-12-09 14:27:14][NOTICE] /__w/1/s/Server/Service.cpp Service: line: 28 [139752243918848] listen websocket connection
[2022-12-09 14:27:14][NOTICE] /__w/1/s/Server/Service.cpp run: line: 111 [139752243918848] SslServer start...

然后客户端怎么改  服务端也就这2句。 之前曾经用过xray trojin的cdn正常，现在卸载了换用overplus

换用v2rayn也试了下
 app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://xxx.com/):  > remote error: tls: handshake failure] > common/retry: all retry attempts failed

跳过证书验证设置为 true，试一下

还是一样的提示， 感觉好像就是没连上服务端， notice那里也没刷新到有入站请求类的

我试过ws直连是可以的，我不知道套cdn的话，是不是什么配置有问题。

ok  我再研究下各种组合看看

试了下 ，地址改成直连可以，
 operator(): line: 43 [140449995233024] accept incoming connection :100.9
[2022-12-09 15:30:36][NOTICE] /__w/1/s/Server/Service.cpp operator(): line: 43 [140449995233024] accept incoming connection :100.90
[2022-12-09 15:30:36][NOTICE] /__w/1/s/Server/Service.cpp operator(): line: 43 [140449995233024]

切换cf绑定的域名后就不行了
[2022-12-09 15:31:22][NOTICE] /__w/1/s/Server/Service.cpp operator(): line: 43 [140449995233024] accept incoming connection :<IP_ADDRESS>
[2022-12-09 15:31:27][NOTICE] /__w/1/s/Server/Service.cpp operator(): line: 43 [140449995233024] accept incoming connection :<IP_ADDRESS>
[2022-12-09 15:31:30][NOTICE] /__w/1/s/Server/Service.cpp operator(): line: 43 [140449995233024] accept incoming connection :<IP_ADDRESS>
[2022-12-09 15:31:49][NOTICE] /__w/1/s/Server/Service.cpp operator(): line: 43 [140449995233024] accept incoming connection :<IP_ADDRESS>
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449978447616] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449995233024] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449970054912] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449961662208] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449970054912] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449986840320] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449978447616] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449970054912] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449995233024] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449961662208] Client-->Server: The WebSocket stream was gracefully closed at both endpoints
[2022-12-09 15:32:03][ERROR] /__w/1/s/Server/Session.cpp operator(): line: 314 [140449986840320] Client-->Server: stream truncated


[AutoPR hanaonazure/resource-manager] Added Key Vault ID for GET and LIST SapMonitor

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6839

(message created by the CI based on PR content)


Fix #1178: improve logic for calculating time-rail width

This pull request records the desired top position for the lastControl-element before adjusting the width of the time-rail element. While the current top position of the lastControl is greater than the desired top position, the railWidth is decreased.
The check for position: absolute is then redundant, because desired top will always be equal to current top in that case. I believe removing this check improves robustness against different stylings.

@code-distillery Is this PR still needed? The current code is using other calculations that might fixed your issue. Can you verify this, please?

@ron666 Thanks for picking this up. It's been a while, however, and I cannot verify this anymore. So I'm ok if you just close this. If it's still an issue it will come up sooner or later.


HCM route request_headers_to_add cannot evaluate upstream host info correctly

UPSTREAM_METADATA is referring to the metadata in HostDescription, which is reasonable IFF
an upstream host is selected.
However, the evaluation is invoked before the upstream is selected so we can never encode the upstream
info into the header to upstream.
Approach:
Instead run header evaluation during route decoding the downstream header, push back to onPoolReady()
beside the parent_.downstreamHeaders()->setHost(host->hostname());
I evaluate twice which is not ideal but it solve my problem.
+++ b/source/common/router/upstream_request.cc
@@ -378,6 +378,9 @@ void UpstreamRequest::onPoolReady(
     parent_.downstreamHeaders()->setHost(host->hostname());
   }

+  parent_.routeEntry()->finalizeRequestHeaders(*headers, parent_.callbacks()->streamInfo(), <Expose insert_envoy_original_path flag to RouteInterface>);

Example config:
    - filters:
      - name: envoy.http_connection_manager
        config:
          codec_type: auto
          stat_prefix: tls_back
          route_config:
            name: local_route
            virtual_hosts:
            - name: backend
              domains:
              - "*"
              request_headers_to_add:
              - header:
                  key: X-istio-original-port
                  value: "%UPSTREAM_METADATA([\"istio\", \"port\"])%"
                append: true

  - name: echo_cluster
    connect_timeout: 1s
    type: strict_dns
    lb_policy: round_robin
    load_assignment:
      cluster_name: "echo_cluster"
      endpoints:
        lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 15008
          metadata:
            filter_metadata:
              istio:
                port: "80"

I moved finalizeRequestHeaders to this place. all test cases except 2 cases expect the function be invoked there failed, which is not hard to update test cases.
Please let me know if you have any concerns on move the finalizeRequestHeaders which is not captured by the tests

I think I'd want to see the PR to understand better the effect of the change.


Compiler suggests a wrong insertion point for 'await' in if let ....

Description
As you can see in the following code, the compiler suggests to write 'await' at the right of let, which is syntactically invalid.
Steps to reproduce
Try to compile the following code:
func f() async -> Int? { return 0 }
async let result = f()
if let result { print(result) }

/* COMPILER SAYS:

if-let-await.swift:3:8: error: expression is 'async' but is not marked with 'await'
if let result { print(result) }
      ^~~~~~
      await
if-let-await.swift:3:8: note: reference to async let 'result' is 'async'
if let result { print(result) }
      ^

 */

// FIX as above...
if let await result { print(result) } // ⛔ Invalid Syntax

// Correct answer is...
if let result = await result { print(result) } // ✅

Expected behavior
Compiler suggests the correct answer described above.
Environment

swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-<IP_ADDRESS>.2 clang-14<IP_ADDRESS>.100)
Xcode 14.3 / Build version 14E222b

Hi YOCKOW, I am new to the open-source contribution. I understand the issue. can you assign it to me?

@YOCKOW @AnthonyLatsis
Is there an existing function or Printer for retrieving variable for certain type of Expr?

@YOCKOW @AnthonyLatsis
Is there an existing function/Printer/visit for retrieving variable string for certain type of Expr?

In Swift, you can use the Mirror type to retrieve the string representation of a variable or value's type. The Mirror type provides a reflection API that allows you to inspect the structure and contents of an instance.

That wasn't my question, anyway I have figured it out.

@bhargavsai04 I have started working on this issue, are you still working on it?


Make kwctl inspect pull policies if they are remote and not pulled yet

If kwctl inspect is executed against a remote policy: registry://, http:// or https://, the policy should be pulled if it is not in the store instead of erroring out that the policy does not exist.

Closing as discussed, behavior is similar to crictl inspecti.


Replace internal implementation of the VroomJsEngine by the JavaScriptEngineSwitcher.Vroom module

Replacing of the VroomJsEngine internal implementation by the JavaScriptEngineSwitcher.Vroom module in future will simplify upgrade to the JavaScript Engine Switcher version 3.X.

Yeah this looks good to me. Thank you @Taritsyn!


Set value of amount inside of ng-repeat based off of isActive

I have an ng-repeat editable form like below. How can I set the value of amount to 0 when it's disabled by the editable-checkbox (isActive)? I have to working so it disables the amount input when editableDataForm.$data.isActive, but I can't set the value to 0.

        {{row.amount}}

Did you try using an e-ng-change on the checkbox to set the row.amount to 0 when it's checked?

If I set row.amount using e-ng-change, then when the cancel button is clicked the value is set to zero.

what about also changing row.amount?

If I change row.amount, the underlying model is changed. I'd like to retain the original values if the Cancel button is clicked.

What happens with this code?
e-ng-change="editableDataForm.$data.amount = (editableDataForm.$data.isActive) ? '0' : row.amount">

When using that code, it doesn't change amount to 0 in edit mode when I check the box.

This seems to work, the value is updated and reverted if cancelled...but the ui doesn't seem to reflect the change until after the save/cancel.
e-ng-change="update(editableDataForm)"
 $scope.update = function (form) {
      form.amount.value = 0;
      form.amount.$viewValue = 0
  }

I get this error: TypeError: Cannot set property 'value' of undefined

Then I would need to seem more of your code.


Track Missed blocks

Is your feature request related to a problem? Please describe.
If a validator consistently misses blocks, their penalties will increase, and they may eventually be kicked out of the validator pool altogether. Therefore we want to track missed blocks.
We want to replicate the beaconcha.in block chart for local validators.

Describe the solution you'd like

Following up from https://github.com/ChainSafe/lodestar/pull/5309  If a validator fails to propose or attest to a block at the appropriate time, it is considered a missed block. A missed block can occur for several reasons, and so we have to instrument all possible areas where it could occur. Such as Networking errors, failure to publish, failure during processBlock  or other bugs.
Additional context

Related to #5255

Missing blocks does not incur any penalties on the validator. Only missing attestation and sync committee duties incur penalties which we already track. Regarding missed blocks

failure to publish: already tracked
failure during processBlock: already tracked
Networking errors: not really possible to track since a single node has no visibility what happens on the rest of the network. The only data points you have are:

seeing the gossip message containing your block sent again to you; which does not say much since there could be a network partition and the block still not reach the next proposer
checking that the block is included in the chain after a sufficiently large re-org safe distance. This is what this metric intended to track https://github.com/ChainSafe/lodestar/issues/5255 basically means:

orphaned: network observer has seen the block but it's not included in the canonical chain
missed: network observer has not seen the block at all

Missing blocks does not incur any penalties on the validator. Only missing attestation and sync committee duties incur penalties which we already track.

Thanks for clarifying, chatGPT let me down here, should have crossed checked in the knowledge base

checking that the block is included in the chain after a sufficiently large re-org safe distance.
What would you define as a sufficiently large re-org distance? I suppose 7 blocks since that is the largest reorg to date.

missed: network observer has not seen the block at all
Understood, I'll update that PR.

or attest to a block at the appropriate time

this is also not related to missed blocks, attestations are not done per block but per slot which might or might not a include block (beacon_block_root, LMD GHOST vote)

Resolved with #5538


Bold the fact that the 'Gaze Input' capability is only settable in Visual Studio.

This issue comes up repeatedly, but unfortunately isn't something that we have too much control over - there needs to be Unity support added to check this from within Unity, and until that happens, we should try to do all we can to call out in our docs that this is a VS specific step.
https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4193

/azp run mrtk_docs


[issue-267] Add GitHub Actions workflow

fixes #267
removing the CircleCI workflow
this makes even Windows working again :)

They do run on my branch: https://github.com/armintaenzertng/tools-python/actions
I have added pull_request as a trigger for the workflow, but I think we have to merge this first, as currently the pipeline is still trying to use CircleCI.


Preferring gdb over lldb on Linux

Issue number of the reported bug or feature request: #
Describe your changes
A clear and concise description of the changes you have made.
Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.
Additional context
Add any other context about your contribution here.

Codecov Report
Patch coverage: 12.50% and project coverage change: -0.11% :warning:

Comparison is base (68a453a) 91.86% compared to head (5ebf6fc) 91.75%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #449      +/-   ##
==========================================
- Coverage   91.86%   91.75%   -0.11%
==========================================
  Files          90       90
  Lines       10762    10766       +4
  Branches     1471     1473       +2
==========================================
- Hits         9886     9878       -8
- Misses        874      886      +12
  Partials        2        2

Flag
Coverage Δ

cpp
84.85% <ø> (-0.25%)
:arrow_down:

python_and_cython
95.29% <12.50%> (-0.04%)
:arrow_down:

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

Files Changed
Coverage Δ

src/memray/commands/attach.py
53.93% <12.50%> (-0.72%)
:arrow_down:

... and 4 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Crashes on Ubuntu 18.04 due to different glibc version

Prerequisites
affected version: Latest (can't really check due to crash)
Describe the issue
Latest version requires glibc 2.29 however Ubuntu 18.04 only comes with glibc 2.27.
ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.4) 2.27

Steps to Reproduce
Try running chipmunk on Ubuntu 18.04
Environment
Ubuntu 18.04
Failure Logs
[JS]:<PHONE_NUMBER>717: [BAD] UncaughtException: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /.../resources/app/node_modules/indexer-neon/native/index.node)```

Thanks for the report, we will take a look at it

should be solved with the next release snapshot probably tomorrow

solved with 2.13.*


More obvious docs link in README

Coverage remained the same at 79.773% when pulling 57ee4d2d2e8ccbc4da85b563f2e2d67bec101c60 on tomdyson:patch-1 into 04df93a698582dd69a9c08dbbbdcc8b1a906609d on LUKKIEN:master.


fix updater

DirectoryHash() was before applied to the whole _temp folder, which included more subfolders than one mod in some circumstances. Solves this issue by subfoldering it even more. Added some cleanup

this should fix
https://github.com/JamesWilko/Payday-2-BLT/issues/90
https://github.com/JamesWilko/Payday-2-BLT/issues/98
end
https://github.com/JamesWilko/Payday-2-BLT/issues/100


No utf-8 encoding, unable to say languege specific letters

For example
When saying "Zażółć gęślą jaźń", polish letters will be skipped, even when explicitly setting a polish synthesizer.

Yeah, what encoding does it use?

yeah i have the same problem in latin characters like "ç ã õ á é" I change the encoding in the base file but dont work

I have the same problem on Windows and this resolve utf 8 for me
#131

Example solution that changes the encoding to utf-8 using exec and chcp:
const { exec } = require('child_process');
const say = require('say');
exec('chcp 65001');
say.speak("Zażółć gęślą jaźń.", "Microsoft Paulina Desktop");

Yeah, what encoding does it use?

Turns out it uses encoding from the current console.


Error consuming purchase: Response code 5

Problem
When trying to purchase a subscription product I get the following message Error consuming purchase with token. Response code: 5.
This is run from the version of the app that is on play store internal testing. and I found the error message with the following adb shell "logcat --pid=$(pidof -s com.example.app)".
So it seems like it's not consuming my purchase correctly.
Steps to Reproduce

I used the same code as the In_app_purchase plugin
Upload the app with flutter stable
Connect the device to a computer and the command above to get the logs
Make the purchase

Hello @RobertBrunhage !
Did you manage to solve the issue? Does the problem still exist in the latest stable version?

Not really, found revenueCat and used that instead.
So haven't tested with latest stable

Hi @RobertBrunhage
if you're still experiencing this problem with latest stable, please create a new issue and provide the information required in the template.
Thank you


Iron Maiden Elyse

In Iron Maiden quest, once you start it at Bastion then go Nyr and talk to Elyse, nothing happens,
Elyse Doesn't recognize that quest is ongoing.
Verified By BlitzAsogi

Nvm! Sorry for the trouble, an item was supposed to be given for the quest progression


Where are the Policy Definitions and Initiatives located?

Hi team, I was wondering where I can locate the Policy Definitions and Initiatives for ALZ/ELZ that are listed in the ALZ documentation and called out via https://www.azadvertizer.net.  For example, I want to use Deny-VNET-Peer-Cross-Sub and assign it to the Sandbox MG.  What repo do I go to get the definition?
On the topic of azpolicyadvertizer, what are the API's that it is using to aggregate the policy info from?
Many thanks

Hi @furrm,
The policies are all located here: https://github.com/Azure/Enterprise-Scale/tree/main/eslzArm/managementGroupTemplates/policyDefinition. Mainly in the policies.json file.
AzAdvertizer actually just pulls all the definitions from these files in this location and builds its library from there.
You could just take the definition from AzAdvertizer directly in its JSON section for that policy?

If not I would advise checking out the ALZ-Bicep policy library library, as you can see the policy you referred to here: https://github.com/Azure/ALZ-Bicep/blob/main/infra-as-code/bicep/modules/policy/definitions/lib/policy_definitions/policy_definition_es_deny_vnet_peer_cross_sub.json. You could also use this ALZ-Bicep module, https://github.com/Azure/ALZ-Bicep/tree/main/infra-as-code/bicep/modules/policy/definitions, to get all the ALZ policies or edit the arrays to only take the ones you want.
This library is also built from the same policies.json and other definition files as explained here https://github.com/Azure/ALZ-Bicep/wiki/PolicyDeepDive
Hope that helps
Thanks
Jack

Thanks for the prompt response @jtracey93.
Lots of great links to consume.  Unfortunately I get 404 for https://github.com/Azure/Enterprise-Scale/tree/main/eslzArm/managementGroupTemplates/policyDefinition.
Cheers,
Mike

No worries at all @furrm.
Seems I cut off an s by mistake from the link, try: https://github.com/Azure/Enterprise-Scale/tree/main/eslzArm/managementGroupTemplates/policyDefinitions


fix: remove inject icons

Looks good to me✔
Further steps: create migration guide with common issues during upgrade


Added pickle serializer.

Pickle can serializer any types and might be useful for systems where security is not a concern.

Codecov Report

Merging #232 (e944e9e) into develop (4d0a7e3) will increase coverage by 0.14%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff             @@
##           develop     #232      +/-   ##
===========================================
+ Coverage    73.04%   73.18%   +0.14%
===========================================
  Files           56       57       +1
  Lines         1688     1697       +9
===========================================
+ Hits          1233     1242       +9
  Misses         455      455

Files
Coverage Δ

taskiq/serializers/__init__.py
100.00% <100.00%> (ø)

taskiq/serializers/pickle.py
100.00% <100.00%> (ø)

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

Hi @s3rius,
Could you show how to use this serializer with RedisAsyncResultBackend? I tried like this:
broker.with_serializer(serializer=PickleSerializer())

But got error: _picke.UnpicklingError: invalid key, '{'. Do I need something else?

@aryadovoy, the redis-result-backend uses different serializer, so you need to pass it directly as the parameter of your resultBackend. https://github.com/taskiq-python/taskiq-redis/blob/e30ed080f4df584f8de03535bffd3a0c1c090586/taskiq_redis/redis_backend.py#L58

@s3rius, looks like PickleSerializer is default for RedisAsyncResultBackend, so no changes needed and can pass any objects as result in Redis?


csrng fires an unexpected interrupt during plic_all_irqs_test_sim_verilator

Near the end of the plic_all_irqs_test on a verilated earl grey model, we get an unexpected csrng interrupt and the test fails.
The relative clock rates are a little different in the verilated model so it's not surprising we only see the issue in verilator.
It looks like the CSRNG is firing an interrupt the test doesn't expect long after the CSRNG's interrupts are explicitly tested. (As if it were functioning as sometime of watchdog) Is there anyone familiar enough with the CSRNG to talk me through the expected behavior sometime? I'm especially curious about any free running counters or timers that can expire.

I'm not yet sure which interrupt has fired, I'm checking that and whether it's relative to csrng init or the testing of the csrng interrupts.

Is there supposed to be a sort of watchdog and is there a way to "pet the dog" in the CSRNG so it doesn't bark?

It's reporting an ID of 178

Perhaps the test should disable interrupts from the csrng after it's been tested.

We could also just test the csrng near the end of the test...

two likely sources of interrupt for csrng would be "cs_cmd_req_done" in which case a SW cmd has finished executing. The second would be "cs_entropy_req" where a request for a new seed from ENTROPY_SRC was made. I would expect that interrupts are not normally enabled for proper operation. There is no "watch dog" function in CSRNG.

My mistake, I misread #13622, I see it's describing a separate issue regarding an earlier interrupt pulse. As I understand there's an entropy request (or many) being made here that's causing this interrupt later in the test.

sorry, i should have clarified. These two issues are related, they're just manifesting differently depending on test platform.
Let me get some waves out to show.

This is resolved by #13656


2.0.0 on npm

There's a 2.0.0 release on npm that I can't find the source for in this repository. It was published at 2017-01-05T13:55:26.512Z.
It also does not work as expected. I don't know exactly what's wrong, but sanitizeInput apparently does not get called.
$ npm show ember-one-way-controls

{ maintainers:
   [ 'dockyard<EMAIL_ADDRESS>     'martndemus<EMAIL_ADDRESS>     'sugarpirate<EMAIL_ADDRESS>],
  keywords: [ 'ember-addon' ],
  'dist-tags': { latest: '2.0.0' },
  description: 'Native one way controls',
  repository:
   { type: 'git',
     url: 'git+https://github.com/dockyard/ember-one-way-controls.git' },
  users:
   { joeperales: true,
     eturino: true,
     ivanvotti: true,
     codebruder: true,
     vizh: true },
  bugs: { url: 'https://github.com/dockyard/ember-one-way-controls/issues' },
  license: 'MIT',
  versions:
   [ '0.4.0',
     '0.4.1',
     '0.5.0',
     '0.5.1',
     '0.5.2',
     '0.5.3',
     '0.5.4',
     '0.6.0',
     '0.6.1',
     '0.6.2',
     '0.6.3',
     '0.6.4',
     '0.7.0',
     '0.8.0',
     '0.8.1',
     '0.8.2',
     '0.8.3',
     '0.9.0',
     '0.9.1',
     '0.9.2',
     '1.0.0',
     '1.0.1',
     '1.0.2',
     '1.1.0',
     '1.1.1',
     '1.1.2',
     '2.0.0' ],
  name: 'ember-one-way-controls',
  time:
   { modified: '2017-01-10T16:34:00.145Z',
     created: '2015-12-28T15:08:03.379Z',
     '0.4.0': '2015-12-28T15:08:03.379Z',
     '0.4.1': '2016-02-04T15:49:44.777Z',
     '0.5.0': '2016-02-08T15:33:49.951Z',
     '0.5.1': '2016-02-08T16:53:02.309Z',
     '0.5.2': '2016-02-09T14:30:06.377Z',
     '0.5.3': '2016-03-04T12:19:58.636Z',
     '0.5.4': '2016-04-13T13:54:24.188Z',
     '0.6.0': '2016-04-16T08:31:19.562Z',
     '0.6.1': '2016-04-16T09:03:59.970Z',
     '0.6.2': '2016-04-18T17:55:19.537Z',
     '0.6.3': '2016-04-22T13:12:25.701Z',
     '0.6.4': '2016-04-29T13:19:24.108Z',
     '0.7.0': '2016-05-09T06:58:17.882Z',
     '0.8.0': '2016-05-10T08:05:06.889Z',
     '0.8.1': '2016-06-04T09:01:46.020Z',
     '0.8.2': '2016-06-04T12:53:03.100Z',
     '0.8.3': '2016-06-14T13:25:03.023Z',
     '0.9.0': '2016-07-29T08:23:16.460Z',
     '0.9.1': '2016-08-01T08:00:49.261Z',
     '0.9.2': '2016-08-02T07:16:53.031Z',
     '1.0.0': '2016-08-03T14:21:36.572Z',
     '1.0.1': '2016-08-22T14:17:59.658Z',
     '1.0.2': '2016-08-24T18:08:29.171Z',
     '1.1.0': '2016-08-26T08:06:03.658Z',
     '1.1.1': '2016-09-09T09:22:48.108Z',
     '1.1.2': '2016-11-16T17:32:11.846Z',
     '2.0.0': '2017-01-05T13:55:26.512Z' },
  readmeFilename: 'README.md',
  homepage: 'https://github.com/dockyard/ember-one-way-controls#readme',
  version: '2.0.0',
  author: '',
  directories: { doc: 'doc', test: 'tests' },
  scripts:
   { build: 'ember build',
     start: 'ember server',
     test: 'ember try:each' },
  dependencies:
   { 'ember-cli-babel': '^5.1.7',
     'ember-cli-htmlbars': '^1.0.10',
     'ember-get-helper': '~1.1.0',
     'ember-invoke-action': '1.4.0',
     'ember-runtime-enumerable-includes-polyfill': '^1.0.1' },
  devDependencies:
   { 'broccoli-asset-rev': '^2.4.5',
     'ember-ajax': '^2.4.1',
     'ember-cli': '2.10.0',
     'ember-cli-app-version': '^2.0.0',
     'ember-cli-dependency-checker': '^1.3.0',
     'ember-cli-htmlbars-inline-precompile': '^0.3.3',
     'ember-cli-inject-live-reload': '^1.4.1',
     'ember-cli-jshint': '^2.0.1',
     'ember-cli-qunit': '^3.0.1',
     'ember-cli-release': '^0.2.9',
     'ember-cli-sri': '^2.1.0',
     'ember-cli-test-loader': '^1.1.0',
     'ember-cli-uglify': '^1.2.0',
     'ember-disable-prototype-extensions': '^1.1.0',
     'ember-export-application-global': '^1.0.5',
     'ember-load-initializers': '^0.5.1',
     'ember-resolver': '^2.0.3',
     'ember-suave': '4.0.0',
     'loader.js': '^4.0.10',
     'ember-hash-helper-polyfill': '^0.1.1' },
  engines: { node: '>= 4.0.0' },
  'ember-addon':
   { configPath: 'tests/dummy/config',
     demoURL: 'http://ember-twiddle.com/2d7246875098d0dbb4a4' },
  gitHead: '6eeebd20acd76395af445bbb51c26e68d0a69d6f',
  dist:
   { shasum: '7a79f1a56094c44fe1012fd0f9b75bd92d136fe9',
     tarball: 'http://mirror.devrepo.ddg:8081/repository/web/ember-one-way-controls/-/ember-one-way-controls-2.0.0.tgz' } }

The 2.0.0 release log is here: https://github.com/DockYard/ember-one-way-controls/releases/tag/v2.0.0
2.0.0 removed sanitizeInput, that's probably why that doesn't work anymore.

Makes sense. :smile:
Source code still appears to be missing? At least the ´package.json` has the wrong version.

Ah, seems I accidentaly pushed the 2.0.0 to a branch, that has been fixed now.


Suggestion: Include Google Analytics

... currently every route of the Laralum ecosytem is being tracked, but for me the most interesting pages would be my homepage and blog. Maybe there is also a possibility to include Google Analytics with Spatie/laravel-analytics to gain even more data?!

Indeed, my stupid fella @24aitor Thought it was a bad idea, would do this myself :)

Just to clarify: You can include your public rutes under laralum.base middleware to track theese things :)

As said Erik in last comment, it's neccesary to include middleware on routes to track, and soon I'll include on statistics a list of most visited links of tracked routes, that I created on first release, but Erik deletes in release 1.1.0 without any reason.

Why can't we just create an "AnalyticsMiddleware" which the user can assign to every route they want to track?

I belive it's better to just include laralum.base middleware (as it's required in most part in your routes) and add a boolean if you wanna track them or not in the settings. What do you think ?

Sure, could work this way.
On May 24, 2017 21:55, "Erik Campobadal"<EMAIL_ADDRESS>wrote:

I belive it's better to just include laralum.base middleware (as it's
required in most part in your routes) and add a boolean if you wanna track
them or not in the settings. What do you think ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Laralum/Statistics/issues/7#issuecomment-303833545,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJrwdOIPJ7mAIicceV1DRLMmE7r_WhXfks5r9IsUgaJpZM4NaEw6
.


Avoid using racially linked language

Related to #5188. Curious if there are other places in Shields we should consider revising, though this is the only one that came to mind.
There's a badge URL that references this Arch Linux package but I can't find a replacement. Also it's supposed to be an example of a package with no license, however the website lists it as being MIT licensed. I'm not sure what's up with that.

Warnings

:warning:
This PR modified the server but none of its tests. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against 089a71bd9c0b6128a0462a1f4f6687ac504b8356

We do also have one occurrence of blacklist in a service test:
https://github.com/badges/shields/blob/13d75e0607334b700fdb4a533768cde341619a50/services/aur/aur.tester.js#L54-L56
We'd need a different example of a package in the Arch User Repos which does not declare a license to replace it. Needn't block the merge of this though.

Yea, and weirdly if you look at the website for that package (see link in top post), it shows MIT license. I poked around for a bit but everything had a license listed on the website.


Rules for sourceIP in kubernetes audit

I have enable audit policy
I audit log I am getting following output
{"kind":"Event","apiVersion":"audit.k8s.io/v1beta1","metadata":{"creationTimestamp":"2019-03-07T15:42:34Z"},"level":"RequestResponse","timestamp":"2019-03-07T15:42:33Z","audit
ID":"e8bd30b2-6cb5-4ac1-b1a0-237e5d418eed","stage":"ResponseComplete","requestURI":"/api/v1/secrets?limit=500\u0026resourceVersion=0","verb":"list","user":{"username":"system:
serviceaccount:openshift-monitoring:kube-state-metrics","uid":"dda34cc3-19fa-11e9-887c-42010a8a0003","groups":["system:serviceaccounts","system:serviceaccounts:openshift-monit
oring","system:authenticated"]},"sourceIPs":["<IP_ADDRESS>"],"objectRef":{"resource":"secrets","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"responseObject":{"
kind":"SecretList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/secrets","resourceVersion":"647108"},"items":[{"metadata":{"name":"builder-dockercfg-rrb7f","namespace":"d
efault","selfLink":"/api/v1/namespaces/default/sec

But in falco l am not able to capture sourceIPs from below rules
- rule: Disallowed K8s User
  desc: Detect any k8s operation by users outside of an allowed set of users.
  condition: kevt and non_system_user and not ka.user.name in (allowed_k8s_users)
  output: K8s Operation performed by user not in allowed list of users (user=%ka.user.name target=%ka.target.name/%ka.target.resource verb=%ka.verb uri=%ka.uri resp=%ka.response.code)
  priority: WARNING
  source: k8s_audit
  tags: [k8s]

looks like need to set new rules.

You should be able to use jevt.value[/sourceIPs] to access that part of the audit json object. Are you asking about how to access that field, or are you asking that this rule adds the source IP to its output string?

Basically I am not a developer, I am pure infra guy  -:)
So looking for modified rule by adding the source IP to its output string?

Yeah you’d add something like “sourceIP=%jevt.value[/sourceIPs]” to the output property of the rule.

Modified rules as follows ...
- rule: Disallowed K8s User
  desc: Detect any k8s operation by users outside of an allowed set of users.
  condition: kevt and non_system_user and not ka.user.name in (allowed_k8s_users)
  output: K8s Operation performed by user not in allowed list of users (user=%ka.user.name target=%ka.target.name/%ka.target.resource verb=%ka.verb uri=%ka.uri sourceIP=%jevt.value[/sourceIPs]
 resp=%ka.response.code)
  priority: WARNING
  source: k8s_audit
  tags: [k8s]

Please confirm.

That looks right and falco properly loads a rule like that. Let us know if it isn't working for you.

Let me test, will update you.
Thanks.

Just to update, it's working. -:)
Thanks for your help.


Screen real estate is not fully used and scrolling can be weird in the table view

As you can see there is a lot of white space on left, right and bottom. I would expect the scroll bar of the main table block to be the ones of the whole window and that table to fill in the space

I also experience this on OSX

Fixed in #148


Fix Protect-RubrikVM on 5.2 and various fixes

Description
Fixes issues with Protect-RubrikVM
Related Issue
Resolves #689
Resolves #692
Motivation and Context
Protect-RubrikVM did not function as intended on 5.2 because of new endpoint that has been introduced
How Has This Been Tested?
Existing tests passed and new tests added where appropriate.
Screenshots (if appropriate):

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTION document.
[X] I have updated the CHANGELOG file accordingly for the version that this merge modifies.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.

Closing PR as #714 added these changes


GitHub Actions (three platforms), pre-compiled Windows gems

Don't know if there's an interest in Actions CI.  See:
https://github.com/MSP-Greg/nokogiri/runs/502131943
Three jobs each on Ubuntu, macOS, & Windows, total time 2:56.
Re pre-compiled Windows gems, some gems ship the dependency dll's and use Fiddle to load them.  This could possibly be done with any needed MSYS2 dll's not included with Ruby, allowing the Nokogiri gem to work without an MSYS2 installation...

See PR https://github.com/sparklemotion/nokogiri/pull/2011 for Actions update.

Closing to continue conversation at #2011.

Closing to continue conversation at #2011.


Added hover / click effects to the step labels

It looks good. I'll fix build errors on another branch.


Update node-backup-and-restore.md

Docs PR Template
Why this should be merged

How this works

How these changes were tested

To prevent any errors while building

[] run vale /docs/file/path on all changed .md files to ensure all grammar rules pass
[] run markdownlint /docs/file/path on all changed .md files to ensure all linting rules pass
[] complete the above two checks and all additional rules outlined in style-checker-notes.md to
ensure all checks pass

If a document was removed/deleted

[] the path to that doc must be redirected to a valid URL via the
_redirects file
[] _redirects were manually verified with the cloudflare preview link
[] sidebars.json reflects all changes made to file path

If a document was moved

[] all files that were moved from their current directory to a new path have had their paths
redirected via the _redirects file
[] _redirects were manually verified with the cloudflare preview link
[] sidebars.json reflects all changes made to file path

No translation needed, it looks to be correct on the Spanish portion but the english had a couple cut off sentences.


Slides flash one under the other before settling to show them next to each other

Check that this is really a bug

[X] I confirm

Reproduction link
https://github.com/kevinrenskers/swiper-repro-2
Bug description
When the carousel initially loads on screen, you see all slides one under each other for a brief moment, before they quickly settle to be shown one next to the other.
To run the repro:

Checkout https://github.com/kevinrenskers/swiper-repro-2
npm i
npm run dev

I'm seeing the same behavior in Safari, Chrome and Firefox. It's easily visible with the very minimal example from the repro:
https://github.com/nolimits4web/swiper/assets/229384/1fd559f8-4eb2-43bd-b6a9-7f2f9c7ae32d
But in a real-world website it's much worse:
https://github.com/nolimits4web/swiper/assets/229384/9c17f392-2a27-4477-ae28-f7f8fd8bcdbd
Expected Behavior
The slider should be shown with all the slides already in their correct position. If that's not possible, they should at least be hidden until everything's ready?
Actual Behavior
A very bad flash of unstyled content. Not really unstyled though, just not in the right position.
Swiper version
10.0.3
Platform/Target and Browser Versions
macOS, all web browsers
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Do you want to ask a question? Are you looking for support? Stack Overflow or Swiper Discussions is the best places for getting support

Please, don't use GitHub issues for questions


Create Issue template

Currently creating issues is a wild west, before we go "Open Source ready" and post onto Hacker News, we should setup a template for issues

I'll get on this for every repo. Kent C Dodds has some pretty good boilerplate. I'll make a PR with something like that and then we can refine.

#59

Done on #59


CI: add function which waits for DNS to resolve host names of services

Add a function implement some waiting function which waits until the host names for services resolve. Also revert the changes in #3693 so that tests are querying host names again instead of service IPs.

I think the issue linked in the description is incorrect. This has nothing to do with #3693.

He was referring to #3695 Updated the link

My bad, thanks for fixing the issue link @manalibhutiyani .


🐛 Fixed incorrect rendering of links following line breaks in beta editor

closes https://github.com/TryGhost/Product/issues/3827

links following a line break in the editor were being rendered before the line break when previewing/publishing
bumps Koenig packages which includes relevant fix in @tryghost/kg-lexical-html-renderer

This was merged and released as part of 5.61.2: https://github.com/TryGhost/Ghost/releases/tag/v5.61.2


Adds new Policy Papers and Consultation finder

Introduces new Policy papers and consultations finder
As a user, when I view this finder it should be scoped to just policy papers and consultations and I should have the option to filter by:

Policy papers
Consultations (open)
Consultations (closed)

Ticket: https://trello.com/c/40IA4pPe/241-introduce-documenttype-facet-behaviour-on-policy-papers-consultations-finder
Demo: https://finder-frontend-pr-922.herokuapp.com/policy-papers-and-consultations

All fixed now @andysellick and ready for review again 👍


metrics: Cherry pick #15118 to release-6.5: add min_safe_ts, min_safe_ts_region and min_safe_ts_gap

What is changed and how it works?

Issue Number: ref #15082
What's Changed:
Cherry pick #15118

metrics: add min_safe_ts, min_safe_ts_region and min_safe_ts_gap

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Manual test (add detailed scripts or steps below)

Side effects
Release note
None

/merge

@tikv/qa-release-merge PTAL

/merge


bgpv1: Consolidate reconciler-specific maps into generic ReconcilerMetadata

This PR finishes the efforts of making the BGP reconcilers independent and plugable / separateable by removing reconciler-specific maps from the BGP Manager's ServerWithConfig struct. Instead of that, all reconcilers can keep their metadata in a common ReconcilerMetadata map, keyed by the reconciler name.
As a side effect, the reconciler interface gets a new Name() method that can be used to retrieve reconciler's name.

/test

/test

/test

approved & all green, marking as ready to merge

/test


Stop updating when I manually restart?

I support Win LTSB point of sale systems , have gp setup to install updates at a specific time during the night each week.   Problem occurs- updates "pile up" during the week as they download, and if a user needs to reset a workstation, they install during the reboot.   This is an issue when we are rebooting a terminal during busy lunch and now it is unavailable for 2 hours while updates run.   Is there a way to force it not do updates on a manual reboot, and only do them on the scheduled reboot?

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

ID: 0184809a-63ff-ecc2-ab67-9c9f4df900f8
Version Independent ID: ac25ee6c-4c57-58b3-1313-e4a53f53c5a1
Content: Manage device restarts after updates (Windows 10)
Content Source: windows/deployment/update/waas-restart.md
Product: w10
GitHub Login: @DaniHalfin
Microsoft Alias: daniha

I have not tried this recently, but instead of rebooting from the start button, use    to access the security screen and use the power button in the lower right corner of the screen. Let me know if that works.
Hope it helps.

Hmm. What I typed was interoperated by GitHub in a way I did not expect. Lets try again.
Use CTRL ALT DEL to access the security screen and use the power button in the lower right corner of the screen. Hope it helps. Let me know if it works.

@comet52a Can you confirm that your question has been answered? We would like to follow up. Thanks.

Hello @comet52a  ,
We are closing this issue since your support question seems to be answered. Feel free to re-open this issue if you still experience problems.
Thanks.

@officedocsbot close


Bug in ListMLE?

I noticed that in the code for ListMLE:
def inner_train(self, batch_preds, batch_stds, **kwargs):
	# loss function of ListMLE
	batch_logcumsumexps = apply_LogCumsumExp(batch_preds)
	batch_loss = torch.sum(batch_logcumsumexps - batch_preds)
	self.optimizer.zero_grad()
	batch_loss.backward()
	self.optimizer.step()

	return batch_loss

batch_stds was not actually used... How would you calculate loss without labels?

same question when reading the ListMLE paper.

@PxYu @raymongL sorry for my late reply. Since the documents associated with the same query have been pre-sorted according to their standard labels in a decreasing order, thus batch_stds is not used here to re-order again. To some extent, it is aimed to enhance the efficiency.


Original helium hotspot firmware EU versión

Hi, I was sent a link to the original helium hotspot firmware from your website but it doesn't work.
The led does not light up but there is connection.
Where can I get the SD image for the original Helium?
Two years ago the SD broke and I replaced it with an image from the Helium website but it no longer exists.
And I have my Hotspot stopped.
Now there is the version from their website Helium OG 2023 but the led does not light up.

The led will not light up. This is a known issue.
The image works fine


refactor: migrate from sdk.Context to Context.Context (2/n)

Description
second pr of migrating the repository to use context in public apis
ref: https://github.com/cosmos/ibc-go/issues/5917
Example commit messages:
fix: skip emission of unpopulated memo field in ics20
deps: updating sdk to v0.46.4
chore: removed unused variables
e2e: adding e2e upgrade test for ibc-go/v6
docs: ics27 v6 documentation updates
feat: add semantic version utilities for e2e tests
feat(api)!: this is an api breaking feature
fix(statemachine)!: this is a statemachine breaking fix
-->

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

opening for preliminary review as i make sure tests are passing


GET request with formData for query parameters

Hi,
I have a problem with generating correct documentation whenever I have a GET request that has form data for "query" parameters. It resolves URL for Postman as:
?lat&lng&distance&start_date&end_date&filters
instead of:
{{base_url}}/api/v1/garages/find?lat&lng&distance&start_date&end_date&filters
while on the name there is the correct route path...

Version of package: v2.0.2
Version of Laravel: v10.48.3
Here is my function:
/**
     * Find available garages
     */
    public function index(FindRequest $request)
    {
        $garageAvailableFor = 'visitor';

        $user = $this->guard()->user();

        if ($user && $user->employee_id)
            $garageAvailableFor = 'employee';

        $departmentId = NULL;
        $workLocationId = NULL;
        $customerDailyInventoryExemption = false;

        if ($user) {
            $departmentId = $this->guard()->user()->entity_work_location_department_id;
            $workLocationId = $this->guard()->user()->entity_work_location_id;
            $customerDailyInventoryExemption = !!$user->daily_inventory_exemption;
        }

        return response()->json(
            $this->garages->getFilteredDaily(
                !is_null($request->get('lat')) ? $request->get('lat') : NULL,
                !is_null($request->get('lng')) ? $request->get('lng') : NULL,
                !is_null($request->get('distance')) ? $request->get('distance') : NULL,
                $request->get('start_date') ?: NULL,
                $request->get('end_date') ?: NULL,
                $request->get('filters') ?: [],
                $garageAvailableFor,
                $workLocationId,
                $departmentId,
                $customerDailyInventoryExemption
            )
        );
    }

And here is a FindRequest:
<?php

namespace App\Http\Requests\Api\Garage;

use App\Http\Requests\FormRequest;

class FindRequest extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'lat'        => 'required_with:lng,distance',
            'lng'        => 'required_with:lat,distance',
            'distance'   => 'required_with:lat,lng',
            'start_date' => 'required_with:end_date|date',
            'end_date'   => 'required_with:start_date|date',
            'filters'    => 'sometimes|array',
        ];
    }
}

Opposite of that everything looks nice :) The only question I have is whether there is an option to add Authorization headers per middleware group? I have different key name and value for /api and for /webhooks

Hey @mateusz-peczkowski, do you have your route from your routes file too please?


How to handle providers that stop being listed

Somebody mentioned that Yale was listed in January.

Rerunning code to harvest data for charts for all mAbs, instead of just evusheld including bebtelovimab, paxlovid and sotrovimab.
Wrote new code to walk through each time healthdata.gov published, and filter zip codes based on each set of data...instead of just using the set of zipcodes in the latest file.
This helped find Yale New Haven Hospital in a zip code slightly different than they list on their home page:


Seqcoll distance

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
73 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.05%) to 91.122%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-9/lib/python3.9/site-packages/cogent3/app/dist.py
4
96.36%

.nox/test-3-9/lib/python3.9/site-packages/cogent3/core/alignment.py
69
94.23%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
232898

Relevant Lines:
255588

💛  - Coveralls


Change class libraries to shared projects in CPS area

Currently we reference 14.0 explicitly.

Part of #1386.

Turns out I didn't need that


experimental onAttrChanged method

Summary
This is in need of an example that can't be trivially solved with existing APIs.
New method - onAttrChanged.
The idea here is that currently there's no easy way to add functionality (beyond template changes) when an attribute on the component changes. While native web-components offer hooks here (with attributeChangedCallback), there's no way to tie into that function with tram-lite defined components.
onAttrChanged sets up a mutation observer, and allows us to basically get that functionality, for both tram-lite components, and other native components.

This was completed as part of v2.4.0


Update test_construction.py

#538 "theoretical proposal for changes" I'm still learning about modularity, so I decided on this file called test
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to FESTIM?

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code refactoring
[ ] Documentation Update (if none of the other choices apply)
[x] New tests

Checklist

[ ] Black formatted
[ ] Unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Hi @tadash10 thanks for this.
It is hard to understand what this PR is doing.
I think @jhdark just showed an example of using @pytest.mark.mpi and @pytest.mark.serial to differentiate between tests that need to be run in serial or in parallel.
Also the tests don't pass, you could try to run this locally to debug


Convert rest of zedmanager to use SubscriptionIntf and PublicationIntf

Will convert rest of the agents in subsequent PRs

Before starting to do these changes I'd like to see the rename which @deitch suggested i.e. that the interfaces are named Subscription and Publication. and the implementation something else. A lot easier to do that rename with sed or an emacs macro now than later.

[Kalyan]
Hmm.. I was not sure if it was worth doing it.. It is not adding much to readability nor breaks any existing pattern in code. Also,
https://golang.org/doc/effective_go.html#interface-names
-- This did not mention such a convention - and I was not sure what we are gaining by churning the ocean..
Having said that.. I don't have a strong opinion.. If you guys feel it is worth it, I can go ahead and change it..

Looks nice; I find it more readable now than the original.
Just yetus of course


RuleMessage class problem depending on pybind11 version

Hi,
In the last update, the pybind11 version was fixed to 2.2.4 (commit d467505).
After some tests and debugging, i figured out that the rule message string attributes does not work well with version 2.2.4:
[...]
[...]

>>> print(rule_message.log())

ModSecurity: Warning.  [file ""] [line "99"] [id "932100"] [rev ""] [msg ""] [data ""] [severity "2"] [ver ""] [maturity "0"] [accuracy "0"] [hostname ""] [uri ""] [unique_id ""] [ref ""]

The problem is probably caused by the std::String -> Python(str) conversion since only the string values are empty.
By using  pybind11 master branch, the problem is solved:
[...]
[...]

>>> print(rule_message.log())

ModSecurity: Warning. Matched "Operator `Ge' with parameter `5' against variable `TX:INBOUND_ANOMALY_SCORE' (Value: `15' ) [file "CRS/RESPONSE-980-CORRELATION.conf"] [line "76"] [id "980130"] [rev ""] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 15 - SQLI=5,XSS=0,RFI=0,LFI=0,RCE=10,PHPI=0,HTTP=0,SESS=0): Looking for basic sql injection. Common attack string for mysql, oracle and others.; individual paranoia level scores: 15, 0, 0, 0"] [data ""] [severity "0"] [ver ""] [maturity "0"] [accuracy "0"] [tag "event-correlation"] [hostname ""] [uri "/contact.htm"] [unique_id "155869273841.586395"] [ref ""]

Hi @j0k2r ! Thanks for pointing this out. pybind11 has been updated and v0.0.5 has been released.


Permission asked when launching the app

In iOS, the NSLocalNetworkUsageDescription permission is asked from start, even thought I do not trigger CastDiscoveryService().search() at start.
How to prevent this permission to be asked first time launching the app ?

It was just my issue. Uninstall / reinstall solved the problem


ADD: About Page

About page is simply whatever we have on the readme file salvage that and make the same page on GitHub
For any more queries contact @OmGuptaIND or @AkMo3.

I am on it.


BUG: require("neo-tree").close_all() no longer works as its not defined

Did you check docs and existing issues?

[X] I have read all the docs.
[X] I have searched the existing issues.
[X] I have searched the existing discussions.

Neovim Version (nvim -v)
0.9.1
Operating System / Version
macOS Ventura 13.4.1
Describe the Bug
It used to be possible to close neotree after opening a file with this  event handler configured
  event_handlers = {
    {
      event = "file_opened",
      handler = function(file_path)
        --auto close
        neotree.close_all()
      end,
    },
  },

As is, its taken directly from the recipes page.
Now, when running I get the following error:
Error in event handler for event file_opened[table: 0x01019283c8]: /Users/felipe.sere/.config/nvim/init.lua:188: attempt to call field 'close_all' (a nil value)

Screenshots, Traceback
No response
Steps to Reproduce
Open neovim
Open neotree
In neotree, try to open any file with o
Expected Behavior
The function should be defined and close the current neotree instance.
Your Configuration
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}

local neotree_config = {
  "nvim-neo-tree/neo-tree.nvim",
  dependencies = { "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim" },
  cmd = { "Neotree" },
  keys = {
    { "<Leader>e", "<Cmd>Neotree<CR>" }, -- change or remove this line if relevant.
  },
  opts = {
  event_handlers = {
    {
      event = "file_opened",
      handler = function(file_path)
        --auto close
        neotree.close_all()
      end,
    },
  },
  window = {
    mappings = {
      ["o"] = "open",
      ["l"] = false,
    },
  },
}

table.insert(plugins, neotree_config)
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

I can verify this issue. I can also confirm that the function exists in neo-tree v2.x, so somewhere in the migration to main, this function was dropped off. I am a bit busy this morning so I don't have the time to bisect this.
Tagging @cseickel as they may have quicker access to more details/a solution/workaround

Confirming that this was a deprecated function that was dropped in 3.0. You can use either of these to replace it:
vimc.cmd("Neotree close")
-- OR
require("neo-tree.command").execute({ action = "close" })

Confirmed, works like a charm.
I'll update the recipe.

I'll update the recipe.

Thanks!

I replaced this by
require("neo-tree.sources.manager").close_all();