Use three digits to number exersie

For example, in chapter 7
The first exercise of section 3 is Exercise <IP_ADDRESS>, whereas the first exercise of section 4 is Exercise <IP_ADDRESS>. I think this is quite confused.
The first two digits specify chapter & section, the last digit specify which exercise of the section. I think that is enough to uniquely locate the exercise.
The third digits depends on the relative position of exercise in the section of original book, 7.3 contains three second-level header before the exercise thus the third digit is 4, while 7.4 contains no second-level header before the exercise thus the third digit is 1.

A special case is that certain section may contains more than one exercise block, then we need four digits.

I made that change because I think it's more explicit and clear. The exercise is in Chapter 7, Section 3, Subsection 4 (which happens to be the exercise section), problem 1. If many more people find it confusing, I'd change it. It's not the only way to organize it, but it is correct, and I'm happy with it, so I'm not going to change it.

with respect to the three digits: no problem.
with respect to the subsection issue: yeah, it's a pain. I wish I had a better solution. I initially tried to avoid hardcoding any exercise numbers, but there were even more issues keeping it in sync with the original. And it was hard to link to the exercises or look up which exercise people were referring to in the source. I figure, it if gets out of sync, someone will open an issue about it, then I'll fix it. But until a new edition of the book comes out, I doubt the organization will change too much.

You're


feat: add iOS support

Is your feature request related to a problem? Please describe:

iOS is currently not supported.
Describe the solution you'd like:

Add iOS support.
Describe alternatives you've considered:

Additional context:

https://stackoverflow.com/questions/20752254/using-mdm-to-configure-an-enterprise-app-via-nsuserdefaults

Hi, I noticed the README says:

The iOS implementation could not be tested yet. I appreciate any feedback.

Just wanted to provide some feedback that the plugin works on iOS. I've tested it on the Simulator as well as on iPhone and iPad devices. I got a small app published using this plugin.
Thanks a lot! 🍻

@petarov That's awesome! Thank you for letting me know.


PHP 7 Compatibility issue

The list of reserved words has been updated in PHP 7 to include ‘null’, which is used as a class name for the null DataType.
I got around it by just renaming Null class to NullDataType and updating the references. As far as I know the only reference is on line 60 of DataTypes/JsonObject.php.
I haven’t gone so far as to submit a PR as I'm wondering if the issue needs more thought, for example ‘mixed’ may well be reserved in future versions of PHP (see here). Perhaps all the core data types could be name spaced in some way?
Anyway - this library is awesome and has saved me an awful lot of time, so thank you!

Any chance that this can be patched? Using the library and going to cause issues on server running PHP 7 which is using Envoyer for deployments and will overwrite these changes every time.

Same problem here...
Is there any fix planned for the near future?
Other than that the library is great.
Thank you so much for sharing it!

I see this issue first came up in 2016 it is now 2019 and the composer package still does not have this fixed. Any update?


iframes not registered on window.frames with shadow dom

Description
When configuring Polymer with
window.Polymer = {
  dom: 'shadow'
};

iframes on the page are not added to window.frames. So if an iframe relies on window.parent.frames to work, it does not.
I work for Braintree, and our product Hosted Fields uses iframes to enter sensitive credit card data in a PCI compliant manner. The iframes are initialized by looping through the iframes on the page as referenced by window.parent.frames. Since the shadow dom obscures the iframes, the inputs never initialize.
From what I can tell, having the shadow dom obscure the iframes on the page is working as y'all intend. Does that mean that projects that require access to window.frames cannot use the shadow dom? Is there another way to reference frames on the page?
Live Demo
I've created a github page that reports the number of frames on the parent page. I've used that as an iframe in the following examples.
Without dom: 'shadow', iframes are registered just fine: https://jsbin.com/nugajab/edit?html,output
WIth dom: 'shadow', they are not: https://jsbin.com/qopaku/edit?html,output
Versions

Polymer: v1.7.0
webcomponents: v0.7.22

First, just a point of order -- this is really a Shadow DOM spec use case/question, as Polymer is a user of Shadow DOM, but not the spec owner.  There was a spec issue https://github.com/w3c/webcomponents/issues/145 that discussed and concluded that window.frames would not include <iframe>s in shadow roots, but I don't see a direct "scoped" replacement for it having been added to the spec (for example, I might imagine e.g. shadowRoot.frames being added as a replacement, but it wasn't).  You might consider opening an issue on that tracker for something like that.

Does that mean that projects that require access to window.frames cannot use the shadow dom? Is there another way to reference frames on the page?

In general, adding the concept of "scoping and encapsulation" to the web should be seen as a good thing that adds predictability and guarantees when combining code from different authors.  But it does often come at the cost of some "global conveniences" we could previously take advantage of (like being able to easily access any iframe anywhere), in the same way that e.g. encapsulation in Java means code can no longer access every variable in the program -- with similar benefits and loss of shortcuts we could have employed in lesser-encapsulated languages.  This does require rethinking and adapting solutions to fit the new model.
In this particular case, when a shadow DOM host (usually a custom element) is hosting a Braintree iframe that needs to be initialized, it would be reasonable to require the shadow host to invoke a Braintree library function to initialize any iframes in its scope (e.g. Braintree.initializeHostedFieldsInRoot(this.shadowRoot), which could e.g. querySelector for potential iframes in the shadow root).  This is consistent with the controlled, "opt-in" model that scoping implies, as opposed to the legacy "any actor may act on anything" sort of wild west that has plagued the web in the past and made it harder to integrate 3rd-party libraries.
I can sympathize with a counter-argument that says "but it was easier when all the user had to do was drop my script on her page and I could find all the iframes", but this is just a fundamental tradeoff that comes with the addition of primitives for scoping.  Going forward I think it will be important for library authors to consider the implications that Shadow DOM scoping implies, and provide alternate/additional library API's for users in those environments.  Does that make sense?

@crookedneighbor I'll go ahead and close this, assuming this answered your question -- if not just let me know.
Also, I'll just make a plug for Custom Elements here -- it seems they would be a perfect fit for your "Hosted Fields" product, since custom elements are a new browser primitive that allow defining new HTML tags and provide lifecycle hooks for e.g. initializing private implementation (the iframe) which can be hidden away in the Shadow DOM as an implementation detail, and your API can be exposed as a simple HTML tag with properties/events.  Might consider it for the next version of your SDK. :)

Thanks for your thorough explanation @kevinpschaaf!


Add DI options sample

From @guardrex  in #10553
I wonder about explaining how to achieve the following pattern that's often used by the framework ...
services.AddMyService(options =>
{
    options.SomeOption = "some value";
}

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

ID: ed39cb0e-aa85-8bba-ffb4-859b56a60723
Version Independent ID: dc7e3449-650b-d117-5eac-69e5ccb250cb
Content: Options pattern in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/options.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Tracked in Options pattern master issue: Check here first #18291

@serpent5  let me know if you can provide a sample for this.

Sure, I can put something together.

@Rick-Anderson Do you want this as:

A sample app I create under my own GitHub account that you can pull code from?
A follow-up PR once the rewrite that's in-progress completes?
Inline code here?

Do a PR with just the sample app in https://github.com/dotnet/AspNetCore.Docs/tree/master/aspnetcore/fundamentals/configuration/options/samples/3.x


MongoDB creation

Repro steps:

Action: cosmosDB.createAccount
Error type: Error
Error Message: Entry not found in cache.
Version: 0.8.0
OS: win32

I've just experience the same issue. It does go away after restarting VSCode, so it's not a major issue, but it is reproducable across versions.
Repro steps:

Create a Free Trial account without any resources (Not sure if this is relevant)
Start VSCode
Leave VSCode/your pc open for 12+hours? (Again..not sure if this is relevant )
Open the Azure-tab
In the Azure-tab in VSCode, click 'Create Account'
Give any name
Choose MongoDB
An error message pops up, and no account was created

Action: cosmosDB.createAccount
Error type: Error
Error Message: Entry not found in cache.
Version: 0.10.1
OS: win32
VS Code Version: 1.33.0

This is being tracked here: https://github.com/Microsoft/vscode-azure-account/issues/53


Add docs/cost-faq.md

Off the cuff costs:

$99/yr for an Apple Developer account to publish to the App Store (unless someone in your SG is already a developer)
$25 one-time registration fee to publish on Google Play (same as above)
Base tier on heroku, ~$7/month. (That's not free, but way easier than standing up your own server... or if someone already has one and will let you add to it)

this is information is already included in /docs/deployment.md

I'm just going to update deployment.md to have an up-front "here's the cost" section so people can budget it out up-front before continuing.

Added. Feel free to re-open if you think it needs more tweaks, but I think this is cleaner without splitting off a separate file.


"ERROR message:Bad CONNECT

I keep getting the below message
"ERROR message:Bad CONNECT content-type:text/plain version:1.0,1.1,1.2 content-length:38 Virtual host 'undefined' access denied"
My provider configuration:
ngstompProvider
.url('http://<IP_ADDRESS>:15674/stomp')
.credential('guest','guest')
.class(SockJS);
Libraries used:
Stomp JS: 1.7.1
Sock JS: 0.3.4

You use some old version of libraries (Stomp is in v2.3) and SockJS is now in 1.0.3.
Could you first try to connect with just StompJs and without AngularJS to see if the problem is link to AngularStompDK or Stomp himself...

Adding .vhost('/') resolved the problem. Thanks

Ok, but I advice you to upgrade your lib version 👍

Yes. Upgraded to latest

I had the same issuse using the latest version against Rabbitmq. Adding .vhost('/') solves it.


Item list from variable won't show first time you start typing

Luv this directive, but I'm experiencing an issue.
When the items-method needs to return an item list stored in a variable, the autocomplete directive won't show any suggestions first time you start typing. You need to delete the text again from the search box and only when typing (from scratch) the 2nd time items load.
See http://codepen.io/ChrisAelbrecht/pen/waewMr for reproducing the issue.
Same codepen here, but with variable directly in items-method: http://codepen.io/ChrisAelbrecht/pen/rVwBxP
I'm using ionic 1.0.0 uranium-unicorn.
Thx,
Chris

Hi Chris,
I just had a look at it and I fixed the issue. Seems to be related to the collection-repeat component that its not redrawn correctly, but now it should work. Could you maybe test the latest master and give me feedback such that I can close the issue?
Thanks and regards,
Guy

Hi Guy,
I confirm that it works now. List shows immediatly when you start typing.
Thx for the quick fix!
Chris


Nearest value!

We have 452 number of data points. For the padding, do we need to approach to the nearest of this value as power of 2?

@JustinJaniszewski
Can you help him with this?

I would, although I am not sure if it is required. Personally I just the cut the data to a value of 2^n just because that was easier.


New command: Add a new user to a Microsoft Teams team

Add a new user to a Microsoft Teams team
command: teams users add -i| --groupId <groupId> -r|--role [role]

groupId: id of the group
role: Member or Owner. Default Member

Feel free to assign me if you agree on spec.

All yours!

Are you still working on this @appieschot?


Add "Upload to HotsLogs" checkbox to a web uploader

Now that we support uploads to hotslogs, we can enable it in a web uploader. Checkbox needs to add uploadToHotslogs=true as a post or get parameter.

the wording should be made clear that there's no extra burden to the user (i.e. they don't have to upload the same file twice). Maybe along the lines of "allow hotslogs to access your replays" or something else that's more brief.
Aside, I wonder why we'd push replays to hotslogs rather than asking them to pull from us.

the wording should make it clear that there's no extra burden to the user

I agree. Don't know hot to make it shorter though. Uploader's checkbox is "Send a copy to hotslogs" but
it's not clear from the text that servers sends it instead of client.

I wonder why we'd push replays to hotslogs rather than asking them to pull from us.

Because Barrett is not decided yet whether he wants to integrate, but we want to attract more users. Uploading everything in one place is more convenient.

I think "Send a copy to hotslogs" is fine. We can add a tooltip that explains there's no extra burden to the user, so that anyone who cares has a way to find out.

but we want to attract more users. Uploading everything in one place is more convenient.

Agreed.
In terms of functionality, the checkbox must be checked before the upload starts for this parameter to be included in the submission. There's two ways I can see us handling this for a reasonable user experience:

Grey out the checkbox after uploading starts so that users aren't misled into thinking they can tick the box later and get the same functionality. This means we can keep the form mostly as-is and just add a checkbox with a parameter, like you said in your first post.

Alternatively, we could set up a second server-side script to to copy to hotslogs after uploads are completed. Modify the existing server-side file upload script to return the id of each successful upload and, after the entire batch is done, pass them to the second script. Then the user can click the checkbox at any point and it will do what they expect it to.

Obviously the first option will be quicker to implement in the short term and I think that would be a reasonable first step. Does the uploader app only act on uploads that are in progress/not yet complete?

Yes let's go with the first option. Uploader app works in the same way.


[BACKLOG-18678] Fix for right click in file open/save on linux

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'plugins/file-open-save/core' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'plugins/file-open-save/core' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins/file-open-save/core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/file-open-save/core/src/main/javascript/app/shared/directives/edit.directive.js

@ddiroma


Expose the ability to look up the task standard and error output in the Gradle Task API

Tasks that delegate their operation to external processes occasionally report results in the standard or error output. This is the case with the Java or Kotlin compiler, or the AAPT Android tool. The Task API does not currently offer any facilities for capturing the output of a single task reliably, and the output capture functionality currently in TaskInternal captures all output. Build scan capture the output reliably, but the information is not available programmatically in Gradle.
It's not unreasonable to plugins to expect access to this information. For example, we have a plugin that collects task results and formats them for presenting them to the user (either at the console or through an external integrations with our code review tool), and would need the ability to capture the individual output of these tasks.
I feel that the ideal solution would be for the Task API to expose streams for the standard and error output of the task. Alternatively, it would be convenient if the information in the build scan could be queries programmatically through a standard interface.
For context, this is what the summaries look like:

Duplicate of #6068.


Is there any advice on reassemble the splitted protein chunks?

Hello, I used your way to predict long protein. I am wondering is there any advice on reassemble the splitted protein chunks?

Hi,
Thanks for your question. This does indeed look like the GPU OOM error, and for a protein of this size (2500 amino acids), it is not uncommon. Unfortunately, running the inference on the CPU (with RAM) would not be a good option either, as it would take many-many hours, if not days.
You could try folding the protein in chunks by manually splitting it and then re-assembling the results, but this approach involves manual interventions and has not been validated for quality.
Thus, I'm afraid there are no good solutions, other than getting access to a GPU with more memory.

Originally posted by @AnyaP in https://github.com/deepmind/alphafold/issues/417#issuecomment-1091992815

I recommend taking a look at https://github.com/deepmind/alphafold/issues/172#issuecomment-920083414.


UI: Add namespace input box to UserInfo page for SSO RBAC NS delegation

Summary
Add an input box to the UserInfo page where a user can type in a namespace. It would default to the Argo installation namespace, as it currently does today.
Use Cases
Right now, when using SSO RBAC with Namespace delegation, there's no way to see in the UI what SA will map to your user in a specific namespace.
You have to try a request in that namespace and then check the Server logs. Users who don't have access to the Server logs have no way to debug or even see what SA they got assigned in an NS.
Moreover, as the UserInfo page only shows you the default SA in the Argo installation namespace (see also #10968), that can be very confusing to a user who only has access to a specific namespace; they will effectively never be able to see their permissions for that namespace.
This popped up over Slack today with a user, but I was similarly confused by this when I was first setting up SSO RBAC namespace delegation (see also #10968).
Implementation Details
Server-side Details
This does require a new query parameter to be able to be passed to the backend in /api/v1/userinfo, i.e. ?namespace=my-namespace.
In server/auth/gatekeeper.go, this line in the rbacAuthorization function gets the namespace via the getNamespace function. That function merely takes a request as an argument, so we just have to make sure the request is properly formatted as it expects.
I'm not entirely sure how it does the conversion from gRPC to Go struct, as this is one of the places where almost everything is auto-generated that keeps confusing me (and other contributors). IIRC the source of truth here is info.proto, but I'm not entirely sure how to ensure that adding a namespace property there corresponds to GetNamespace() returning that property specifically.
UI Details
I think an input box for Namespace at the top of the page would suffice. Default to the Argo installation namespace as mentioned above. Should use the same input box and behavior as the Namespace input on the Workflows List page.
Only show this input box if SSO RBAC Namespace delegation is enabled.

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

i also would love to have the UserInfo and ns correct in UI

i also would love to have the UserInfo and ns correct in UI

To be clear, this only impacts those using SSO RBAC Namespace Delegation and the current SA is not incorrect, it just shows the assigned cluster scope SA instead of any one NS SA

this should be a namespace drop-down that pulls in namespaces by scanning rolebindings the user is assigned to or using SubjectAccessReview for the same behavior so the user sees the namespaces they are part of. This would be a better user experience then a blank input box.

This would be a better user experience then a blank input box.

It would be, but this is a bit easier said than done. There's actually a separate feature request for that: #9140

that pulls in namespaces by scanning rolebindings the user is assigned to

The problem is that you don't know ahead of time what namespaces the user has access to.
A user can map to multiple SAs' annotation expressions. So you'd have to do a cluster-wide search, which in and of itself may not be performant (big lists etc), then evaluate all the expressions to see which ones apply to the user, which also may not be performant.
If there were a static listing somewhere, that would definitely make it much easier, but that does not currently exist.

I'm looking into this, and I'm having trouble with the "Only show this input box if SSO RBAC Namespace delegation is enabled" requirement. Unless I'm missing something, the UI currently has no way of knowing when SSO or RBAC namespace delegation (which is controlled by the SSO_DELEGATE_RBAC_TO_NAMESPACE environment variable) is enabled. It would be possible to update the /api/v1/info API to expose this information via a new field called something like canDelegateRBACToRequestNamespace, and I created a branch to do that: https://github.com/argoproj/argo-workflows/compare/main...MasonM:argo-workflows:feat-12041
That works, but do we really want to want to update that API solely to support this requirement? It'd be simpler to always show the input box.

Nice analysis! Yes, you're correct that it would have to be added to the info endpoint (although it would be better to name it identically).
I've also tried to avoid updating that API, especially as there can be security ramifications to exposing more configuration. Instead I've tried to infer the configuration where possible. In this case, I don't think you can infer it before displaying the input, as the installation namespace will always have some SA.
As such, I think it's fine to have the namespace there for now and for an MVP, and we can reevaluate the info endpoint changes later.
Also note I wrote this issue up almost a year ago, so my knowledge of the codebase was certainly more incomplete back then 😅


Need to Export the data from the Team Calendar Extension

Hi Team,
We want to export the data from the Team Calendar extension and as we checked there is no direct options to export the data ,so could you please help us is there any other way is available to export the data from the team calendar extension.
Regards,
Rakesh

Hi, Unfortunately, there isn't an option to export data please feel free to reach out if you have any other questions or concerns.


Can I override applogo.ico?

Feature Description
I prefer the Playnite default orange icon for the system tray, so I've overwritten applogo.ico in the theme folder. However, every time Mythic updates I have to repeat the process. Is there a method that I missed for overriding it without this happening?
Thanks :)
Screenshots
No response

Sorry for the late reply, I've been taking a break from Playnite work in general.
I'm afraid that there's no way to prevent it from overriding.


CommonMark/Markdown renderer (round-trip parsing/rendering)

It's useful to be able to render a parsed document back to CommonMark markdown. This is a tracker issue for issues relating to that, so far:

[x] Unable to disambiguate emphasis delimiter #10
[x] Unable to disambiguate list-item type #11

More currently unanswerable questions once the parse tree has been constructed:

[ ] Headers: was it ATX or Setext type?
[ ] Links: was it an inline, reference, or auto-link?

There are other metadata items for different types of nodes that would need to be captured to re-render a completely identical copy of the input text, things like:

[ ] The opener and closer sequences for certain items like headers, inline code, fenced code blocks (as these can be variable to some degree).
[ ] Whitespace padding between block elements (would be addressed by #1).

Finally, reference link definitions are swallowed up completely by the ParagraphParser, no AST nodes exist for them.  Another strategy would be to leave those in somehow and put them in the visitor such that renderers have the option to deal with them.  I'm guessing that this is not an easy issue to address since link reference defintions can exist in many block contexts (paragraph, list-item, blockquote), forcing all those to have to parse them.

[ ] Reference link definitions: define an AST node type.

In the Rascal project (https://github.com/usethesource/rascal) I am using your very nice framework and have also felt the need for a round-trip back to CommonMark. Sofar, I have written an AnsiRenderer that maps back to text (and optionally to Ansi characters for highlighting). This is acceptable with a somewhat relaxed definition of round-trip but it breaks down when trying to apply this to the Tables extension. There are several issues in that case:

[ ] The general problem that all *Extension classes also need to implement AnsiRendererExtension (or whatever the round-trip renderer will be named)
[ ] More specifically, the meta-data to reconstruct the table header is problematically missing and cannot be easily approximated.

@PaulKlint: Cool!
Yeah, if you have external custom renderers for extensions, you either need to depend on the artifacts or provide additional artifacts for each extension. If it's a built-in renderer, we can just implement them for the extensions directly.
What specifically is missing from the metadata for table headers? Could you create a separate issue for that?

Is there in fact an implementation of a CommonMark renderer (with whatever limitations there are as mentioned above), or is the intention only to develop one once they are overcome?
Or, perhaps, are you looking for one to be contributed?

FYI: We have stopped exploring this line of development and have switched to http://asciidoctor.org (in particular the Java binding http://asciidoctor.org/docs/asciidoctorj/).

@mattsheppard: We'd welcome contributions for this, yes! Let me know if you want to work on this and I can provide some guidance. I think even a basic renderer would be nice to have already, we can address the other issues later on.

Ok, thanks @robinst - maybe I ought to start by taking a more serious look at the existing renderers to see how much sense they make to me - thus far, I've only poked stuff from the outside.
Any quick pointers you have time to share would be great!

Cool. So you'd want to have something similar to TextContentRenderer, see the classes in the org.commonmark.renderer.text package. They are also setup in a way that allows extensions to contribute to rendering.
But instead of rendering a minimal plain text version (see CoreTextContentNodeRenderer), you'd want to render the original source instead.

We have a partial implementation of a Markdown renderer in https://github.com/symphonyoss/messageml-utils/blob/master/src/main/java/org/symphonyoss/symphony/messageml/markdown/MarkdownRenderer.java. There is some organisation-specific code and the rendering is possibly incomplete, but I could look at adapting and contributing this for the core library.

I'm looking to use CommonMark-Java on a new project, but not having round-trip parsing/rendering is a show-stopper.  Any progress on this issue?

I never got around to doing anything... though it’d still be handy to me so I’d be glad to try it if you developed it... or I may get to it someday :)

I can't imagine it being too difficult, but the last thing I need is another 4+ hour task on my plate :)  I guess there aren't any other good options.  I can't afford to embed all of JRuby to get asciidoc.

Hey @seii! Nice, thanks for working on it, I know it's a tricky change. I had a look at the code in your fork, some initial comments to get this started:

It was a bit hard to follow due to code getting commented out and new one added, instead of modifying the existing code. If you modify the existing code it's much easier to understand what changes because there's a diff.
I would prefer not to make it conditional in the code (if (Parsing.IS_ROUNDTRIP)). If there's no big performance impact we should just add the additional information to the nodes by default. (DocumentRoundtripParser shouldn't be necessary, it should just be changes in DocumentParser.)
prepareContainerStartBlock and containerString: I didn't understand why it's necessary. Can you explain what problem it's solving? I'd like to have a proper solution for it instead. (I don't mind if we have to break the parser SPI for it.)
Instead of TextContentRoundtripRenderer I'd name it CommonMarkRenderer (roundtrip is one use case for that, but someone could actually create AST nodes directly and then use the renderer to produce commonmark)

Hello @robinst! Sorry for the code blocks which were commented, I hadn't expected anyone to review my branch directly yet.

I have removed all commented-out sections and added comments of my own in several places. Hopefully this is a much cleaner experience.
I agree that if checks are not ideal. It is a temporary measure for now, mostly because I started "at the top" in my IDE with org.commonmark.internal.BlockContent and realized I had no way to decide which code to use. Regarding DocumentRoundtripParser, it currently begins by adding a newline to everything that parse(Reader input) returns, so it's fundamentally changing how lines are read compared to DocumentParser. I'm open to trying to integrate those two classes, but I wanted to start at a compatible place and increment instead of breaking everything. 🙂  (Also, with compatibility in mind, I have prioritized (!Parsing.IS_ROUNDTRIP) blocks first in all if statements to try and minimize performance impacts... but I don't have any benchmarks so I can't tell if it matters.)
I have added better comments to the containerString field and also to the prepareContainerStartBlock method. The short version is that container blocks were ending up double-printing their delimiters because the delimiters had been included as part of the content before. (Figuring out what to do about that was... educational!)
I have renamed the relevant rendering classes as you suggest. I agree that creating AST nodes directly would be great - I began this adaptation hoping to use the AST directly for a project of my own.

Aside from these items, I'd welcome any suggestions on how I could avoid the current if statements. Unifying the standard approach with my changes would be best, but I have done all work so far using CommonMark 0.29 tests as my validation and none of this project's extensions would have such tests because they're, y'know, not standard CommonMark. 🙂

it currently begins by adding a newline to everything that parse(Reader input) returns, so it's fundamentally changing how lines are read compared to DocumentParser

Hmm why is that?

(Also, with compatibility in mind, I have prioritized (!Parsing.IS_ROUNDTRIP) blocks first in all if statements to try and minimize performance impacts... but I don't have any benchmarks so I can't tell if it matters.)

To be clear, I don't want to merge/release this as is (with the if statements).
I'll try to do a more in-depth review and play around with the code at some point in the future, but can't promise anything.

Hmm why is that?

I investigated a few ways to do roundtrip parsing, including an attempt to create my own. (That ended quickly!) Choosing to re-insert the newline which readLine() previously stripped allowed me to decide when extra newlines didn't belong in the AST (less common) instead of deciding when they needed to be added in (more common). This may just be a difference in how coding made sense to me, but once I took this approach I finished in a couple weeks what I hadn't managed in months.

To be clear, I don't want to merge/release this as is (with the if statements).
I'll try to do a more in-depth review and play around with the code at some point in the future, but can't promise anything.

That's fine, I wouldn't want to keep all the if statements either.
To be clear in return, I'm happy to look into unifying my changes in a way that HTML rendering continues working normally. As I said before, my primary worry is breaking the extensions. For the official portions of this library I can test against the CommonMark suite to make sure I haven't broken compatibility. Since the extension portions of this library are unofficial, I wouldn't be able to verify them that way. If you're open to the possibility that I may break extension compatibility, let me know.

You mean extension API compatibility? Yeah I'm fine if we have to break it in order to enable this feature. But once we have the changes I can also try to see if we can do it in a compatible way.

Hi!
MarkdownRenderer is a nice feature (whether used in a roundtrip case or not).
Do you plan to have a release that incorporates that addition soon? AFAICT 0.21.0 does not contain this new addition.
Thanks!

@ericbottard Yeah, planning the next release, just some other things I want to get in before that! Will update this issue once it's released.

This has now been released in 0.22.0: https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md#0220---2024-03-15
While it still has limitations when it comes to round-tripping (see release notes above), I think we can close this issue now and open new ones for particular problems.


_rmlint.sh:32: command not found: _arguments

After updating my completion library, I see the following bug when booting zsh:
~/.zgenom/sources/zsh-users/zsh-completions/___/src/_rmlint.sh:32: command not found: _arguments

See: https://github.com/zsh-users/zsh-completions/issues/809 which seems basically the same issue, and they note it's a zgen bug (so maybe inherited into zgenom), not an issue with the completion repo.
Proposed solution from the thread:

Files starts with _ like _rmfile.sh is autoloaded file in zsh file name convention. It should not be loaded manually. zgen should avoid loading such files

Thanks @rktjmp for bringing this up.
I just updated my plugins and ran into the same problem.
You can easily "fix" this by using zgenom load zsh-users/zsh-completions instead of zgenom load zsh-users/zsh-completions src.
Here's some background why this error occurs:
When providing a folder to zgenom it will add the path to fpath which
is the wanted behavior in this case.
It also iterates over all files which match *.sh and will source them.
Since zsh-completions has files like _rmlint.sh in this folder they're
matched and sourced which is the not wanted behavior - resulting in an
error.
While this could be fixed by checking for *.sh and exclude _*.sh
files I'm not sure if this is a so widely popular naming scheme that it
would not break another plugin.

It probably makes sense that the _ prefix takes precedence instead of the sh extension.

You should now be able to use zgenom load zsh-users/zsh-completions src without an error as well.
But using zgenom load zsh-users/zsh-completions is safer for the future since it uses the default entry point for plugins.

:+1: Good work


aws cloudwatch input multi group

Description of Changes

changelog for aws multi group
docs fro aws cloudwatch input multi group

Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
1.3793027
-0.017292857
127.61409
+0.7842102

1
5000
5.120737
+0.2240839
136.26859
-3.3845673

1
10000
9.8620825
-0.17278671
145.31775
+1.8572083

1
50000
47.06975
+0.41744232
174.15329
-2.775589

1
100000
90.1202
-1.5022964
230.91434
-0.051986694

10
100
1.8620805
-0.13800061
133.6262
+1.7899933

10
500
5.8276153
-0.06894636
142.7504
+6.952713

10
1000
11.190137
-0.9481106
144.61005
-1.556839

10
5000
54.173508
+4.9143066
181.25296
+2.0074005

10
10000
108.50546
+7.8376694
279.4352
+61.74556


support mjs/cjs config file extension for eslint

Changes proposed:

[x] Add
[ ] Delete
[ ] Fix
[ ] Prepare

see https://github.com/eslint/rfcs/pull/43 and https://github.com/eslint/eslint/pull/12321

From the above PRs, specifically at configuring.md changes on eslint/eslint#12321:

JavaScript (ESM) - use .eslintrc.cjs when running ESLint in JavaScript packages that specify "type":"module" in their package.json. Note that ESLint does not support ESM configuration at this time.

So I don't see .mjs being included as well.

@KingDarBoja .mjs will be include in the future version.

FYI, ESLint currently only supports CommonJS configs. .mjs would only be necessary if ESLint adds support for ESM configs.


fix(SessionTokenStorage): allow adding tokens after max count thresho…

…ld is reached
Tokens were not being added to storage after the max token count threshold was reached.  This was causing the request check middleware to incorrectly forbid requests.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 97.458%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
115

Relevant Lines:
118

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 97.458%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
115

Relevant Lines:
118

💛  - Coveralls


Missing character from name headline on author’s profile

Was perusing the author pages, and stumbled upon Faruk Ateş’ page. His name inside the .author-header h1 is being truncated, or to be more specific it seems the Franklin ITC font being loaded doesn’t contain the ş character.
Could the font be subset in a way that this character is loaded from a fallback font?
Screenshot for reference:

I renewed the font via Webtype's control panel, which seems to have done the trick.


How To Make cPanel Login Username As Domain

Hello
I Want Make cPanel Login Username As Domain Registration

Do you mean you wanna change the default username which Boxbilling automatically creates like "u12345678" ?

yeah

Any answer?


Advice on training this to master face direction

Hi there I am new to training and after achieving some good result with the demo I can make the AI do well as long as the picture face does not rotate much. I would like for this AI to master the ability to look from left to middle to right flawlessly while talking.
Would your advice be to grab a couple videos of people doing this behavior and have the AI train on those and then try to evaluate the demo now that the AI is better trained data?
To perfect animating a human face and mouth movements in multiple directions even turning head so we see back of head what would be your general advice on going about that?
Also I have only done tests on a 256 image but i did do on videos 512x512, 640x640 and 256x256 no issues-but the biggest factor ai seems to need is the same zoom between the person of the driving video and the image-if I am not perfectly zoomed on the head in both sources the AI won't animate the mouth any advice on that?
*Update in my testing driving_video size matching the image size from 256x256 on both to 512x512 on both with even some off values like 640x640 for the driving_video and 256x256 on the image-regardless of the dimensions used and whether they match or not the resulting generated video will always look the same-the only factor as mentioned is the zoom factor of the faces from the driving_video and the source image-the more they match in the first frame where they look and their closeness to the camera the more better the AI gets it right. The person can look around after the first few frames but the AI will need to be trained on looking around data. If it can look around convincingly while holding it's shape and talking then this is some next level stuff!

there I am new to training and after achieving some good result with the demo I can make the AI do well as long as the picture face does not rotate much. I would like for this AI to master the ability to look from left to middle to right flawlessly while talking.

This likely happens because of not proper alignment between source and first frame of driving. Also large parts need to be Inpainted this is also a problem.

Would your advice be to grab a couple videos of people doing this behavior and have the AI train on those and then try to evaluate the demo now that the AI is better trained data?

It will only improve inpainting part. For alignment you should invent something different.

To perfect animating a human face and mouth movements in multiple directions even turning head so we see back of head what would be your general advice on going about that?

Colect more data. Add keypoint supervision. Reduce amount of inpainting needed.

I was not able to understand the rest.


Book of Secrets

B sure 2 read !

Can you help show me around here. I'm confused unsure how I landed on your page I just need training wheels around here

Chat me up on what'sapp
+2348167206056
On Thu, Jan 27, 2022, 8:02 AM Annienhuis @.***> wrote:

Can you help show me around here. I'm confused unsure how I landed on your
page I just need training wheels around here
—
Reply to this email directly, view it on GitHub
https://github.com/trimstray/the-book-of-secret-knowledge/issues/320#issuecomment-1022904573,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWFZYNUA7EDUMJ75JIKYSATUYDUYVANCNFSM5MNRTI7A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
com>


Update readme to point to same case org

Your actual org and remote has a lowercase s readme references uppercase S.  Believe it or not this breaks dep tools like glide in edgecases. While fixing those tools are better I think we should import using the actual org and repo name.

This is also problem for code in github.com/sirupsen/logrus/hooks/syslog

Any chance we could get this merged? It's still leading to some confusion.

This was reviewed sometime before and reverte. For more info go to #384

Right but i'm not sure what the issue is.  Capital S is wrong.  The actual pathing is lowercase on github.  Tools like glide that validate that the remote matches the import break on updates.

It may be wrong but changing it now disrupts builds too especially when you are pulling some libraries you have no control over. See first lines in README:

Seeing weird case-sensitive problems? See this issue. This change has been reverted. I apologize for causing this. I greatly underestimated the impact this would have. Logrus strives for stability and backwards compatibility and failed to provide that.

Well it seems I need to change it back in our codebase.

Glide will work if you use lower-case, and this repo supports both upper-case (for backwards compatibility) and lower-case.


Custom Middleware: 'httpAdminMiddleware' is added to 'HTTP In' nodes and Node-RED dashboard

We're trying to use the custom middleware httpAdminMiddleware, httpNodeMiddleware and the middleware for the Node-RED dashboard (set in property ui in settings.js) for authorization based on a header that is set by a reverse-proxy. (We check whether the user has the required role.) Yet the httpAdminMiddleware is added to all routes and not just to the admin/editor routes as we would expect from reading the user-guide.
What are the steps to reproduce?

Add httpAdminMiddleware to setting.js
Add an http in node to a flow and deploy it
Install the node-red-dashboard

What happens?

The middleware configured in httpAdminMiddleware is added for all requests to the http in node and requests to the dashboard (/ui)

What do you expect to happen?
We would expect the httpAdminMiddleware to only be added to admin/editor routes.
Please tell us about your environment:

[x] Node-RED version: 1.2.9
[x] Node.js version: 10.23.2
[x] npm version: 6.14.10
[x] Platform/OS: Docker on Windows
[x] Browser: Chrome

I assume you haven't moved the admin api mount point (it's still /).
Have you tried moving it to say /red?

Hi,
This issue occurs if you haven't set httpAdminRoot to move one the admin api away from the root path (/) which is shared with the httpNodeRoot used by dashboard/http in etc.
As they share the same root path, when a request comes it, it first gets passed to the admin route handler (as that one is mounted first) so any middleware applied to that handler gets applied to the request. If it then doesn't find a matching route to handle the request, it gets passed to the node route handler.
If you set httpAdminRoot to move the root away from /, then the requests will be directed to the right handler straightaway.
This same issue applies to a number of the settings with have, like apiMaxLength amongst others.
It is fixable, but will require some careful handling in the admin routes. There may be existing apps out there that rely on this overlap of middleware so not something we can rush a fix for.

Thanks for the hint. I will try moving the admin api away.

As you said, if I move the admin api away it works as expected. Thank you very much!

I'm going to keep this issue open for the time being as I do think this is something we need to handle better - at the very least, improving the docs to highlight the workaround.


Use LASER to improve data quality

https://github.com/facebookresearch/LASER

Creating a new issue to use LASER to improve data quality. LASER generates embedding for sentences in different languages that are semantically consistent between languages. This allows for determining how similar two pieces of parallel data are to remove bad data.

Creating a new issue to use LASER to improve data quality. LASER generates embedding for sentences in different languages that are semantically consistent between languages. This allows for determining how similar two pieces of parallel data are to remove bad data.

I use this [SentenceTransformers] to do the same thing with cosine similarity. It'll increase pre-processing times a ton [the speed is slow, even with optimization in the cosine calculation it's 1000ex/s].
You would use the multilingual models which are listed here


RSCP connection does not recover after HOSTUNREACHABLE error

It looks as if the app cannot reconnect once a connection problem has occurred.
---- stdout ----
2024-01-13T07:31:38.825Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] Starting sync ...
2024-01-13T07:31:38.825Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] readSyncData: Requesting connection ...
2024-01-13T07:31:38.825Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] readSyncData: Connection received
2024-01-13T07:31:38.826Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] readSyncData: Sending request frame ...
2024-01-13T07:31:38.827Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] E3DC HKW - Heute: skipping value for date_range -> no change
2024-01-13T07:31:38.827Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] Connected station is still available
2024-01-13T07:31:38.828Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] readSummaryData: Requesting connection ...
2024-01-13T07:31:38.828Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] readSummaryData: Connection received
2024-01-13T07:31:38.829Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] Startdate: Sat Jan 13 2024 00:00:00 GMT+0000 (Coordinated Universal Time) - duration (seconds): 86400
2024-01-13T07:31:38.829Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] readSummaryData: Sending request frame ...
2024-01-13T07:31:58.925Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] Starting sync ...
2024-01-13T07:31:58.925Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] readSyncData: Requesting connection ...
2024-01-13T07:31:58.926Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] readSyncData: Connection received
2024-01-13T07:31:58.926Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] readSyncData: Sending request frame ...
2024-01-13T07:31:58.927Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] E3DC HKW - Heute: skipping value for date_range -> no change
2024-01-13T07:31:58.928Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] Connected station is still available
2024-01-13T07:31:58.928Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] readSummaryData: Requesting connection ...
2024-01-13T07:31:58.928Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] readSummaryData: Connection received
2024-01-13T07:31:58.929Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] Startdate: Sat Jan 13 2024 00:00:00 GMT+0000 (Coordinated Universal Time) - duration (seconds): 86400
2024-01-13T07:31:58.930Z [log] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] readSummaryData: Sending request frame ...
2024-01-13T07:32:19.019Z [log] [ManagerDrivers] [Driver:home-power-station] [Device:6336307b-3e37-402d-82f6-6f089f84e9b3] Starting sync ...

---- stderr ----
2024-01-12T16:53:47.807Z [err] [ManagerDrivers] [Driver:summary] [Device:92c2298e-631f-4450-9648-4d7fa3730c62] Error: connect EHOSTUNREACH <IP_ADDRESS>:5033
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -113,
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 5033
}

fixed in 0.6.0


Event delivery is wrong sometimes

Currently I have two event listeners for PRs. They could be merged but I'm keeping them as-is for this issue.
fun onPullRequestEvent(@Opened @Reopened @Synchronize payload: GHEventPayload.PullRequest) {
  val pullRequest = payload.pullRequest

  if (pullRequest.isOpen) {
    checkPullRequest(pullRequest)
  }
}

fun onPullRequestLabelEvent(@Labeled @Unlabeled payload: GHEventPayload.PullRequest) {
  val pullRequest = payload.pullRequest

  if (pullRequest.isOpen) {
    checkPullRequest(pullRequest)
  }
}

smee.io shows the delivered events when I open a new PR via a GitHub App, assigning labels just after opening.
You can see opened comes before labeled.

However, debugging I've found out that the opened event is received later in time, messing with check runs.
Label: executor-thread-2,<PHONE_NUMBER>762 (System.currentTimeMillis)
Label: executor-thread-3,<PHONE_NUMBER>010 (System.currentTimeMillis)
Opened: executor-thread-1,<PHONE_NUMBER>728 (System.currentTimeMillis)

Unfortunately, I don't think we have the possibility to guarantee a strong ordering. We receive the events on various threads and they are treated in parallel.
@yrodiere WDYT?

@gsmet couldn't they be parallelized based on the object id? Just guessing as I don't know enough about how you do it.
If this cannot be done, it's probably better to make it clear somewhere, or offer a flag to entirely switch off parallelization.

@yrodiere WDYT?

We could probably guarantee that event processing starts in the order we receive events, but it would still be possible for the first event to be processed slower than the second one. If we add the requirement that events for the same repository are processed one at a time (put it through a queue or an equivalent reactive solution), it could solve the problem... except that we could still possibly receive events in the wrong order due to varying network delays.
Really, the solution would be for your app to be resilient to events coming in the wrong order, because there'll always be a chance that it happens. How to be resilient would depend on the exact stuff you're doing, though, and I don't know what that is.

@yrodiere that is a fair point.
The "starts in order" approach might be a good trade off. At that point synchronization is up to me.
I don't care about the "finished processing" part, as it probably adds complexity for no big benefit.
And regarding how I solved this problem: most objects are "refreshable", so before checking requirements I simply ask the GitHub API for updated data.

@gsmet sounds good. Worth adding this note in the docs?


Plugin not throwing any error message  while trying to delete storage account with leased resources

Environment:
OS - Windows
Plugin Version - 0.1.227 , Daily Build 300
IDE - Intellij 14.1.3 , JRE 1.8
Authentication - Publish Settings file
Steps -
Click Azure.
Expand Storage.
Select storage account which has any active resources such as active vm images/disk.
Right Click and Select Delete.
Plugin is not able to delete them and not showing any status message whether the storage has been deleted or not .
The plugin should throw some error message for these type of storage account like " this storage account could not be deleted as it has active images/disks . "  as it was throwing in the case when we are trying to delete the blobs which contains those leased resources .

Detailed Steps :+1: Create a new Storage Account.
Create a new Virtual Machine. While creating the VM in VM configuration, give the “storage account” name as the created storage account. Create the VM.
Click Azure.
Expand Storage.
Select storage account which has created and which contains the created VM.
Right Click and Select Delete.
Plugin not showing any error message, while in portal it is showing error message as” Storage account testst123245 has some active image(s) and/or disk(s), e.g. deletetestvm11-deletetestvm11-0-201506160740040915. Ensure these image(s) and/or disk(s) are removed before deleting this storage account.”.

This issue has been fixed .


Istio Operator cannot install Istio on a custom namespace

Bug description
Istio Operator cannot install Istio on a custom namespace :
I installed Istio Operator in a custom namespace (not "istio-system") and then using an istiooperators.install.istio.io objet, used the operator to install Istio's control plane, in the same custom namespace.
The install did not work, as Istio Operator tries to create 2 objects (istiod-service-account and istio-reader-service-account) in "istio-system" despite asking the Operator to install Istio in a custom namespace.
The Operator will then create other objects (in the custom namespace), and will not suceed in creating the Deployment of istiod in the custom namespace.
It will be stuck on - Processing resources for Istiod. Waiting for Deployment/<custom-namespace>/istiod
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
The Operator creating every object necessary for Istio's Control Plane in the custom namespace.
Steps to reproduce the bug
Install Istio Operator with istioctl operator init --operatorNamespace istio-system-test --istioNamespace istio-system-test
Apply the following manifest with kubectl :
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system-test
  name: "istio-staging"
spec:
  profile: "default"
  namespace: istio-system-test

The Operator will then try to create the control plane but will be stuck at - Processing resources for Istiod. Waiting for Deployment/istio-system-test/istiod, according to the logs of the pod :
k logs -n istio-system-test istio-operator-7d8d7487b8-mhvq8 | grep error
2020-08-25T12:09:55.503258Z	error	installer	failed to create "ServiceAccount/istio-system/istio-reader-service-account": namespaces "istio-system" not found
2020-08-25T12:09:55.568056Z	error	installer	failed to create "ServiceAccount/istio-system/istiod-service-account": namespaces "istio-system" not found
✘ Istio core encountered an error: failed to create "ServiceAccount/istio-system/istio-reader-service-account": namespaces "istio-system" not found

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
Istio : 1.6.6 (no running Istio pods in "istio-system-test")
kubectl :
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.9", GitCommit:"500f5aba80d71253cc01ac6a8622b8377f4a7ef9", GitTreeState:"clean", BuildDate:"2019-11-13T11:21:43Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:43:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Helm was not used, but I first encountered this issue with an Operator installed through Helm on an EKS 1.15 cluster.
How was Istio installed?
Istio was installed with the help of the Operator, in a custom namespace (see previously for all the installation details)
Environment where bug was observed (cloud vendor, OS, etc)
This was done on minikube v1.12.1 (Ubuntu 20.04), but I also encountered this issue on a kubernetes cluster with EKS 1.15.

Try with the following IOP instance:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system-test
  name: "istio-staging"
spec:
  profile: "default"
  namespace: istio-system-test
  values:
    global:
      istioNamespace: istio-system-test

I tried it, it works as intended now, thank you very much !


Plot builder doesn't work

Steps to reproduce

Open a table
Open sidebar
Create plot

Expected:
Plot opens
Actual:
Plot spins forever
dh-core.js:5157 Uncaught
ClassCastException {stackTrace: null, backingJsObject: Error: java.lang.ClassCastException
    at ClassCastException.createError (http://localhost:4000/js…}
backingJsObject
:
Error: java.lang.ClassCastException at ClassCastException.createError (http://localhost:4000/jsapi/dh-core.js:1192:10) at ClassCastException.initializeBackingError (http://localhost:4000/jsapi/dh-core.js:1212:46) at ClassCastException.Throwable (http://localhost:4000/jsapi/dh-core.js:1150:8) at ClassCastException.Exception (http://localhost:4000/jsapi/dh-core.js:1224:16) at ClassCastException.RuntimeException (http://localhost:4000/jsapi/dh-core.js:1241:16) at new ClassCastException (http://localhost:4000/jsapi/dh-core.js:1504:23) at Object.checkCriticalType_0 (http://localhost:4000/jsapi/dh-core.js:40664:16) at Object.$asInt (http://localhost:4000/jsapi/dh-core.js:40567:13) at Object.lambda$13_0 (http://localhost:4000/jsapi/dh-core.js:22850:16) at Function.copyTo_2 (http://localhost:4000/jsapi/dh-core.js:23255:11) at lambda (http://localhost:4000/jsapi/dh-core.js:152:22) at Object.$handleDelta (http://localhost:4000/jsapi/dh-core.js:22734:7) at Object.$handleDelta_0 (http://localhost:4000/jsapi/dh-core.js:23414:11) at Object.$lambda$78 (http://localhost:4000/jsapi/dh-core.js:10988:13) at Function.apply_36 (http://localhost:4000/jsapi/dh-core.js:12597:9) at lambda (http://localhost:4000/jsapi/dh-core.js:152:22) at Object.$lambda$15_2 (http://localhost:4000/jsapi/dh-core.js:30656:101) at Function.run_47 (http://localhost:4000/jsapi/dh-core.js:31300:9) at lambda (http://localhost:4000/jsapi/dh-core.js:152:22) at Function.onInvoke_211 (http://localhost:4000/jsapi/dh-core.js:29991:22) at lambda (http://localhost:4000/jsapi/dh-core.js:152:22)
__java$exception
:
ClassCastException {stackTrace: null, backingJsObject: Error: java.lang.ClassCastException at ClassCastException.createError (http://localhost:4000/js…}
cause
:
(...)
message
:
"java.lang.ClassCastException"
stack
:
"Error: java.lang.ClassCastException\n    at ClassCastException.createError (http://localhost:4000/jsapi/dh-core.js:1192:10)\n    at ClassCastException.initializeBackingError (http://localhost:4000/jsapi/dh-core.js:1212:46)\n    at ClassCastException.Throwable (http://localhost:4000/jsapi/dh-core.js:1150:8)\n    at ClassCastException.Exception (http://localhost:4000/jsapi/dh-core.js:1224:16)\n    at ClassCastException.RuntimeException (http://localhost:4000/jsapi/dh-core.js:1241:16)\n    at new ClassCastException (http://localhost:4000/jsapi/dh-core.js:1504:23)\n    at Object.checkCriticalType_0 (http://localhost:4000/jsapi/dh-core.js:40664:16)\n    at Object.$asInt (http://localhost:4000/jsapi/dh-core.js:40567:13)\n    at Object.lambda$13_0 (http://localhost:4000/jsapi/dh-core.js:22850:16)\n    at Function.copyTo_2 (http://localhost:4000/jsapi/dh-core.js:23255:11)\n    at lambda (http://localhost:4000/jsapi/dh-core.js:152:22)\n    at Object.$handleDelta (http://localhost:4000/jsapi/dh-core.js:22734:7)\n    at Object.$handleDelta_0 (http://localhost:4000/jsapi/dh-core.js:23414:11)\n    at Object.$lambda$78 (http://localhost:4000/jsapi/dh-core.js:10988:13)\n    at Function.apply_36 (http://localhost:4000/jsapi/dh-core.js:12597:9)\n    at lambda (http://localhost:4000/jsapi/dh-core.js:152:22)\n    at Object.$lambda$15_2 (http://localhost:4000/jsapi/dh-core.js:30656:101)\n    at Function.run_47 (http://localhost:4000/jsapi/dh-core.js:31300:9)\n    at lambda (http://localhost:4000/jsapi/dh-core.js:152:22)\n    at Function.onInvoke_211 (http://localhost:4000/jsapi/dh-core.js:29991:22)\n    at lambda (http://localhost:4000/jsapi/dh-core.js:152:22)"
suppressed
:
(...)
get cause
:
ƒ ()
get suppressed
:
ƒ ()
[[Prototype]]
:
Object
stackTrace
:
null
[[Prototype]]
:
Object

@dsmmcken I'm unable to reproduce this using the following two tables:
from deephaven import empty_table
t = empty_table(1000).update(["x=i", "y=Math.sin(i)"])

from deephaven import time_table
tt = time_table("00:00:01").update(["y=Math.sin(i)"])

@dsmmcken what is the source table you used for this?

from deephaven import empty_table, time_table

simple_ticking = time_table("00:00:01").update([
        "MyString=new String(`a`+i)",
        "MyInt=new Integer(i)",
        "MyLong=new Long(i)",
        "MyDouble=new Double(i+i/10)",
        "MyFloat=new Float(i+i/10)",
        "MyBoolean=new Boolean(i%2==0)",
        "MyChar= new Character((char) ((i%26)+97))",
        "MyShort=new Short(Integer.toString(i%32767))",
        "MyByte= new java.lang.Byte(Integer.toString(i%127))"])

complex_ticking = simple_ticking.update([
        "MyBigDecimal= new java.math.BigDecimal(i+i/10)",
        "MyBigInteger= new java.math.BigInteger(Integer.toString(i))"
])

I used timestamp and myint from complex ticking, and it is still reproducable, but interestingly your example tables are not.

Interesting. Seems to be crashing because of the MyBoolean column. I've distilled it down to a simpler example:
from deephaven import time_table
tt = time_table("00:00:01").update(["y=i", "MyBoolean=new Boolean(i%2 ==0)"])

Couple things to note:

Shouldn't crash if there's a boolean
Shouldn't be getting the boolean in the snapshot anyway since it's not part of the figure I created at all.


Matter nRF Connect Generic Switch Example Application

Test issue(s)
Matter nRF Connect Generic Switch Example Application
Group 2: Generic Switch
By defaut Group 1 is enabled:
I: Button has been pressed, keep in this state for at least 500 ms to change light sensitivity of binded lighting devices.
I: Dimming started...
I: Notify Bounded Cluster | endpoint: 1 cluster: 6
I: Notify Bounded Cluster | endpoint: 1 cluster: 8
I: Notify Bounded Cluster | endpoint: 1 cluster: 8
I: Notify Bounded Cluster | endpoint: 1 cluster: 8
I: Notify Bounded Cluster | endpoint: 1 cluster: 8

I would try Group 2 (Generic Switch) for nRF5340 DK board fom .
Could you tel me how  to switch to generic-switch mode mode?
Setup

1 x nRF5340 DK board
NRF Connect SDK v2.5.2

Platform
nrf connect
Anything else?
uart:~$ matter config
VendorId:        65521 (0xFFF1)
ProductId:       32772 (0x8004)
HardwareVersion: 0 (0x0)
PinCode:         20202021
Discriminator:   f00
Done
uart:~$ matter switch
  help            Switch commands
  onoff           Usage: switch onoff [on|off|toggle]
  groups          Usage: switch groups onoff [on|off|toggle]
  table           Print a binding table

If I recall correctly, the generic switch is enabled by default. It's just on endpoint 2 instead of 1. Have you tried running the procedure from https://github.com/project-chip/connectedhomeip/tree/fea16046a88c0a5e8a9e4b789f0463c9c5f334d1/examples/light-switch-app/nrfconnect#testing-the-generic-switch?
If this doesn't work, then it needs fixing.

If I recall correctly, the generic switch is enabled by default. It's just on endpoint 2 instead of 1. Have you tried running the procedure from https://github.com/project-chip/connectedhomeip/tree/fea16046a88c0a5e8a9e4b789f0463c9c5f334d1/examples/light-switch-app/nrfconnect#testing-the-generic-switch?
If this doesn't work, then it needs fixing.

I thought I will have logs in the console regarding endpoint 2.
I will try running the procedure. I'll keep you informed of the result.


Project install error via NPM

When running npm install in the project, the installation fails. It works ok via yarn.

I pushed some changes onto the 1.5 branch which fixes that dependency issue. NPM install works on my machine; does it work for you?

Yes. I can confirm, branch 1.5 works with npm install. You can close this issue.


out of memory issue with face reacognition.js

Hii,
The error is: out of memory issue. Is there any memory dispose method in face-api.js and i also tried with tensorflow memory leak issue still am getting the same error. what best could be done to resolve this??
2020-03-23 13:41:31.839784: W tensorflow/core/framework/op_kernel.cc:1651] OP_RE
QUIRES failed at cwise_ops_common.cc:82 : Resource exhausted: OOM when allocatin
g tensor with shape[1,256,256,64] and type float on /job:localhost/replica:0/tas
k:0/device:CPU:0 by allocator cpu
Exception code=0xc0000005 flags=0x0 at 0x00007FF95CFFA277. Access violation - at
tempting to read data at address 0x0000000000000010

Did you ever find a solution to this? I'm running into leaks in WebWorkers myself and can't find a way to get memory be freed. (Noted in another issue: https://github.com/justadudewhohacks/face-api.js/issues/732)


parallel builds of the same job

I am heavily testing your features today :) - by the way, great tool, seems exactly what i needed and had much trouble looking for something like this.
thanks for the quick reply.
now i have an issue of running builds in parallel.
my job is a pipeline one, and "Do not allow concurrent builds" is not set.
i try to run the same job in parallel (with different params) but it seems as though they are waiting for one another instead of running in parallel.
any ideas?
thanks
Asher

I am heavily testing your features today :)

Thank you, it is much appreciated.

by the way, great tool, seems exactly what i needed and had much trouble looking for something like this.

I'm glad it has been useful. For my purposes, I wanted to leverage Jenkins and Octopus as a CI pipeline, but wrapped in my own web-interface for management purposes.

i try to run the same job in parallel (with different params) but it seems as though they are waiting for one another instead of running in parallel.

This should work fine as long as you are using separate JenkinsJobRunner instances. Each instance will manage a unique queue and build number for the associated job. Starting a second job using the same runner would overwrite the ID of the first item. I will probably add additional error handling to prevent the user from starting more than one job from a runner.

Ok, I think I see what the problem is.
I’m triggering the job from a TFS (XAML) build, where “parallel” isn’t really parallel.
I guess in this case you have the “Async” method? So I can trigger a job, exit the class, and return again with a new client instance to poll the jobs’ status?
Again, missing some example of how to do this in the documentation.
Any chance you can share some example on how to achieve it?
Thanks,
Asher Ungar
Debugger Team Leader
SDT,        CEVA-DSP
From: Joshua Miller<EMAIL_ADDRESS>Sent: Sunday, February 25, 2018 22:52
To: null511/Jenkins.NET<EMAIL_ADDRESS>Cc: Asher Ungar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [null511/Jenkins.NET] parallel builds of the same job (#5)
I am heavily testing your features today :)
Thank you, it is much appreciated.
by the way, great tool, seems exactly what i needed and had much trouble looking for something like this.
I'm glad it has been useful. For my purposes, I wanted to leverage Jenkins and Octopus as a CI pipeline, but wrapped in my own web-interface for management purposes.
i try to run the same job in parallel (with different params) but it seems as though they are waiting for one another instead of running in parallel.
This should work fine as long as you are using separate JenkinsJobRunner instances. Each instance will manage a unique queue and build number for the associated job. Starting a second job using the same runner would overwrite the ID of the first item. I will probably add additional error handling to prevent the user from starting more than one job from a runner.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/null511/Jenkins.NET/issues/5#issuecomment-368343483, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGn6IB-MTf0SxCYXkdIfa8fz9lcyi-9wks5tYcfygaJpZM4SSaah.

I'm having trouble following your usage, could you provide a more detailed example? Also, the JenkinsJobRunner was designed as a convenience class for easy use. For more advanced scenarios, it may be more useful to leverage the JenkinsClient directly. You can view the source of the JenkinsJobRunner as an example.

Ok, I think I see what the problem is. I’m triggering the job from a TFS (XAML) build, where “parallel” isn’t really parallel.

Are you using TFS > Jenkins.NET > Jenkins? If so, are you using Jenkins.NET from a web service which has a single instance, or a desktop/console application which will have an instance per-running-job?

To run multiple jobs from a single application using JenkinsJobRunner, you will need to create an instance of JenkinsJobRunner for each running Job. You only need one instance of JenkinsClient.
var client = new JenkinsClient {...};

var jobName = "Test Job";
var taskList = new Task[3];
for (var i = 0; i < 3; i++) {
    var runner = new JenkinsJobRunner(client) {
        ...
    };

    taskList[i] = runner.RunAsync(jobName);
}

Task.WaitAll(taskList);

The above example should start the same job three time using asynchronous tasks, and then wait for all the tasks to complete.

I wrapped the Jenkins.NET in a TFS XAML build custom activity (also C#).
The problem I had is that I need to exit the activity in order to parallel builds (because they are not really parallel in TFS XAML workflow).
So, I took your suggestion and I’m now using the client directly to queue a build, get it’s “queue Item number” and then exit the activity, and enter a new activity which checks the status of the build according to the item number.
Seems to work well ☺
Thanks
Asher Ungar
Debugger Team Leader
SDT,        CEVA-DSP
From: Joshua Miller<EMAIL_ADDRESS>Sent: Monday, February 26, 2018 01:05
To: null511/Jenkins.NET<EMAIL_ADDRESS>Cc: Asher Ungar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [null511/Jenkins.NET] parallel builds of the same job (#5)
I'm having trouble following your usage, could you provide a more detailed example? Also, the JenkinsJobRunner was designed as a convenience class for easy use. For more advanced scenarios, it may be more useful to leverage the JenkinsClient directly. You can view the source of the JenkinsJobRunner as an examplehttps://github.com/null511/Jenkins.NET/blob/master/Jenkins.NET/JenkinsJobRunner.cs.
Ok, I think I see what the problem is. I’m triggering the job from a TFS (XAML) build, where “parallel” isn’t really parallel.
Are you using TFS > Jenkins.NET > Jenkins? If so, are you using Jenkins.NET from a web service which has a single instance, or a desktop/console application which will have an instance per-running-job?

To run multiple jobs from a single application using JenkinsJobRunner, you will need to create an instance of JenkinsJobRunner for each running Job. You only need one instance of JenkinsClient.
var client = new JenkinsClient {...};
var jobName = "Test Job";
var taskList = new Task[3];
for (var i = 0; i < 3; i++) {
var runner = new JenkinsJobRunner(client) {

    ...

};

taskList[i] = runner.RunAsync(jobName);

}
Task.WaitAll(taskList);
The above example should start the same job three time using asynchronous tasks, and then wait for all the tasks to complete.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/null511/Jenkins.NET/issues/5#issuecomment-368353732, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGn6ICqZDIVaIZXSyfVFgZF9mo0KYX5wks5tYeb9gaJpZM4SSaah.

I had to get the build number instead of using the “queuedItemNumber” – due to Jenkins issue:
https://issues.jenkins-ci.org/browse/JENKINS-31039
it turns out that after 5 minutes, Jenkins API deletes the queued item number information and results in “Not Found - 404” error.
Asher Ungar
Debugger Team Leader
SDT,        CEVA-DSP
From: Asher Ungar
Sent: Monday, February 26, 2018 09:36
To: 'null511/Jenkins.NET'<EMAIL_ADDRESS>null511/Jenkins.NET<EMAIL_ADDRESS>Cc: Author<EMAIL_ADDRESS>Subject: RE: [null511/Jenkins.NET] parallel builds of the same job (#5)
I wrapped the Jenkins.NET in a TFS XAML build custom activity (also C#).
The problem I had is that I need to exit the activity in order to parallel builds (because they are not really parallel in TFS XAML workflow).
So, I took your suggestion and I’m now using the client directly to queue a build, get it’s “queue Item number” and then exit the activity, and enter a new activity which checks the status of the build according to the item number.
Seems to work well ☺
Thanks
Asher Ungar
Debugger Team Leader
SDT,        CEVA-DSP
From: Joshua Miller<EMAIL_ADDRESS>Sent: Monday, February 26, 2018 01:05
To: null511/Jenkins.NET <Jenkins.NET<EMAIL_ADDRESS>Cc: Asher Ungar <Asher.Ungar<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [null511/Jenkins.NET] parallel builds of the same job (#5)
I'm having trouble following your usage, could you provide a more detailed example? Also, the JenkinsJobRunner was designed as a convenience class for easy use. For more advanced scenarios, it may be more useful to leverage the JenkinsClient directly. You can view the source of the JenkinsJobRunner as an examplehttps://github.com/null511/Jenkins.NET/blob/master/Jenkins.NET/JenkinsJobRunner.cs.
Ok, I think I see what the problem is. I’m triggering the job from a TFS (XAML) build, where “parallel” isn’t really parallel.
Are you using TFS > Jenkins.NET > Jenkins? If so, are you using Jenkins.NET from a web service which has a single instance, or a desktop/console application which will have an instance per-running-job?

To run multiple jobs from a single application using JenkinsJobRunner, you will need to create an instance of JenkinsJobRunner for each running Job. You only need one instance of JenkinsClient.
var client = new JenkinsClient {...};
var jobName = "Test Job";
var taskList = new Task[3];
for (var i = 0; i < 3; i++) {
var runner = new JenkinsJobRunner(client) {

    ...

};

taskList[i] = runner.RunAsync(jobName);

}
Task.WaitAll(taskList);
The above example should start the same job three time using asynchronous tasks, and then wait for all the tasks to complete.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/null511/Jenkins.NET/issues/5#issuecomment-368353732, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGn6ICqZDIVaIZXSyfVFgZF9mo0KYX5wks5tYeb9gaJpZM4SSaah.

Closing as resolved, by using JenkinsClient manually instead of the JenkinsJobRunner utility class.


E2E/Playwright: Add user browser context and reorganize env variables

Summary

Added user browser context to easily login user per browser and its pages
Reorganized env variables in one place only
Fixed tests and updated snapshots

Ticket Link
none
Related Pull Requests
Awaiting https://github.com/mattermost/mattermost-webapp/pull/12092
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.


Add Install Instructions

Add an install section to the README with instructions for adding the plugin using npm or yarn

Thanks @12vanblart 👍


how to deploy the server on heroku

No need to close the pull request, you can just add the commits here!

Looks good to me!

Hum... Requires a bit of work for merging but its Ok.  I can assume that.


MudText: Color.Default uses the wrong color when using nested MudTexts

Bug type
Component
Component name
MudText
What happened?
The bug is in the first hasError3 example.
These are nested MudTexts and when using Color.Default the nested MudText uses the color
of the parent MudText; red instead of black.
The second hasError3 example, are two separate MudTexts.
The color behavior here is as expected.
I'm not absolutely 100% sure if this a bug because I don't know what Color.Default will refer to in a nested context.
In this case red would make sense because it is the color of the parent and thus default (?).

Expected behavior
If this is a bug, I would expect the color of the nested MudText to be black instead of red.
Reproduction link
https://try.mudblazor.com/snippet/GYwmEyEISlhXogTR
Reproduction steps
See reproduction link.
Relevant log output
No response
Version (bug)
6.0.9
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

I now use a MudStack and two seperate MudTexts as a workaround.
Perhaps this is even a better implementation.


How to use jwt authentication without username and password

In the example of jwt authentication, it configures both client Id and client secret which I don't want.
Is there some similiar configuration like "security.oauth2.resource.jwt.key-uri" in spring-boot?

No, we don't have that option available in Steeltoe.

that's very bad news. Good to hear MS provide this thing. tks for the help

Hi @yhjhoo,  It was not my original intention to close this ticket.  So, I am going to reopen this as hopefully you or someone in the community would like to contribute something that would satisfy this request.  This is currently not a team priority, but we are willing to assist in helping with a solution.

This should be a function of the ASP.NET Core JWT auth library, I do not see anything for Steeltoe to do here


Update routing-preference-unmetered.md

added language around confirmation of services supported by route pref.

@mbender-ms

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@callachun Please review the suggested updates along with the question about the link & unmetered supported services. Thanks!


Add Filter property to CornerRadiusFilterConverter

Per spec review discussion, added Filter property to CornerRadiusFilterConverter to avoid using the default string based converter parameter.

/azp run


Resolution when multiple DIDComm services are defined in a DidDoc

In my solution, which consists on a mobile agent and a mediator (both based on AFJ), I'm trying to support both WebSocket and HTTP transports. For that purpose, in connections protocol I'm exchanging a DID document that exposes two DIDComm services (one for each).
While testing against ACA-Py I noticed that, depending on the order and/or priority, it will be able to answer or not. For instance, if the DID document is the following:
{
  "@context": "https://w3id.org/did/v1",
  "publicKey": [
    {
      "id": "2NzWkSUJsBcBSPNmZSC3Kw#1",
      "controller": "2NzWkSUJsBcBSPNmZSC3Kw",
      "type": "Ed25519VerificationKey2018",
      "publicKeyBase58": "kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh"
    }
  ],
  "service": [
    {
      "id": "2NzWkSUJsBcBSPNmZSC3Kw#IndyAgentService",
      "serviceEndpoint": "http://<IP_ADDRESS>:4000",
      "type": "IndyAgent",
      "priority": 0,
      "recipientKeys": [
        "kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh"
      ],
      "routingKeys": [
        "HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn"
      ]
    },
    {
      "id": "2NzWkSUJsBcBSPNmZSC3Kw#IndyAgentService",
      "serviceEndpoint": "ws://<IP_ADDRESS>:4000",
      "type": "IndyAgent",
      "priority": 1,
      "recipientKeys": [
        "kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh"
      ],
      "routingKeys": [
        "HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn"
      ]
    }
  ],
  "authentication": [
    {
      "publicKey": "2NzWkSUJsBcBSPNmZSC3Kw#1",
      "type": "Ed25519SignatureAuthentication2018"
    }
  ],
  "id": "2NzWkSUJsBcBSPNmZSC3Kw"
}

My understanding based on Aries RFC 0067 is that the agent should take the HTTP one as the higher priority one (lower number) and try to use other services in case it does not support it (or they are not reachable when sending a certain message).
However, it fails when I test this against a local ACA-Py executed with these parameters:
aca-py start --inbound-transport http <IP_ADDRESS> 8001 --outbound-transport http --auto-provision -e http://<IP_ADDRESS>:8001 --no-ledger --admin-insecure-mode --admin <IP_ADDRESS> 9001

It seems that it takes the WS endpoint as the higher-priority one and it does not try using HTTP even if it realizes that it does not support it when queuing it, as you can see in the log:
2023-09-25 15:15:45,170 aries_cloudagent.transport.pack_format DEBUG Expanded message: {'@type': 'https://didcomm.org/connections/1.0/request', '@id': 'd2539ddb-2df1-46fa-837a-a93e4492b93d', 'label': 'dsdsd', 'connection': {'DID': '2NzWkSUJsBcBSPNmZSC3Kw', 'DIDDoc': {'@context': 'https://w3id.org/did/v1', 'publicKey': [{'id': '2NzWkSUJsBcBSPNmZSC3Kw#1', 'controller': '2NzWkSUJsBcBSPNmZSC3Kw', 'type': 'Ed25519VerificationKey2018', 'publicKeyBase58': 'kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh'}], 'service': [{'id': '2NzWkSUJsBcBSPNmZSC3Kw#IndyAgentService', 'serviceEndpoint': 'http://<IP_ADDRESS>:4000', 'type': 'IndyAgent', 'priority': 0, 'recipientKeys': ['kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh'], 'routingKeys': ['HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn']}, {'id': '2NzWkSUJsBcBSPNmZSC3Kw#IndyAgentService', 'serviceEndpoint': 'ws://<IP_ADDRESS>:4000', 'type': 'IndyAgent', 'priority': 1, 'recipientKeys': ['kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh'], 'routingKeys': ['HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn']}], 'authentication': [{'publicKey': '2NzWkSUJsBcBSPNmZSC3Kw#1', 'type': 'Ed25519SignatureAuthentication2018'}], 'id': '2NzWkSUJsBcBSPNmZSC3Kw'}}, '~thread': {'thid': 'd2539ddb-2df1-46fa-837a-a93e4492b93d', 'pthid': '945918e9-ac3d-4588-8993-1163499a29d8'}}
2023-09-25 15:15:45,171 aiohttp.access INFO <IP_ADDRESS> [25/Sep/2023:18:15:45 +0000] "POST / HTTP/1.1" 200 150 "-" "okhttp/4.9.2"
2023-09-25 15:15:45,173 aries_cloudagent.connections.base_manager WARNING No corresponding DID found for sender verkey: kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh
2023-09-25 15:15:45,173 aries_cloudagent.connections.base_manager WARNING No corresponding DID found for recipient verkey: 7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW
2023-09-25 15:15:45,174 aries_cloudagent.messaging.base_handler DEBUG ConnectionRequestHandler called with context <RequestContext(_connection_ready=False, _connection_record=<ConnRecord(_id='8ac3e0be-52e3-4c39-bbd4-170d7fe97145', _last_state='invitation', _new_with_id=False, state='invitation', created_at='2023-09-25T18:14:28.340379Z', updated_at='2023-09-25T18:14:28.340379Z', my_did=None, their_did=None, their_label=None, their_role='invitee', invitation_key='7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW', invitation_msg_id=None, request_id=None, error_msg=None, inbound_connection_id=None, routing_state='none', accept='auto', invitation_mode='once', alias=None, their_public_did=None, connection_protocol='connections/1.0')>, _context=<aries_cloudagent.config.injection_context.InjectionContext object at 0x1072f1510>, _message=<ConnectionRequest(_message_id='d2539ddb-2df1-46fa-837a-a93e4492b93d', _message_new_id=False, _message_decorators=<DecoratorSet{~thread: <ThreadDecorator(_thid='d2539ddb-2df1-46fa-837a-a93e4492b93d', _pthid='945918e9-ac3d-4588-8993-1163499a29d8', _sender_order=None, _received_orders=None)>}>, _message_type='connections/1.0/request', connection=<ConnectionDetail(_did='2NzWkSUJsBcBSPNmZSC3Kw', _did_doc=<DIDDoc did=2NzWkSUJsBcBSPNmZSC3Kw>)>, label='dsdsd', image_url=None)>, _message_receipt=<MessageReceipt(_connection_id=None, _direct_response_mode=None, _in_time='2023-09-25T18:15:45.168061Z', _raw_message='{"@type":"https://didcomm.org/connections/1.0/request","@id":"d2539ddb-2df1-46fa-837a-a93e4492b93d","label":"dsdsd","connection":{"DID":"2NzWkSUJsBcBSPNmZSC3Kw","DIDDoc":{"@context":"https://w3id.org/did/v1","publicKey":[{"id":"2NzWkSUJsBcBSPNmZSC3Kw#1","controller":"2NzWkSUJsBcBSPNmZSC3Kw","type":"Ed25519VerificationKey2018","publicKeyBase58":"kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh"}],"service":[{"id":"2NzWkSUJsBcBSPNmZSC3Kw#IndyAgentService","serviceEndpoint":"http://<IP_ADDRESS>:4000","type":"IndyAgent","priority":0,"recipientKeys":["kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh"],"routingKeys":["HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn"]},{"id":"2NzWkSUJsBcBSPNmZSC3Kw#IndyAgentService","serviceEndpoint":"ws://<IP_ADDRESS>:4000","type":"IndyAgent","priority":1,"recipientKeys":["kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh"],"routingKeys":["HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn"]}],"authentication":[{"publicKey":"2NzWkSUJsBcBSPNmZSC3Kw#1","type":"Ed25519SignatureAuthentication2018"}],"id":"2NzWkSUJsBcBSPNmZSC3Kw"}},"~thread":{"thid":"d2539ddb-2df1-46fa-837a-a93e4492b93d","pthid":"945918e9-ac3d-4588-8993-1163499a29d8"}}', _recipient_verkey='7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW', _recipient_did=None, _recipient_did_public=None, _sender_did=None, _sender_verkey='kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh', _thread_id='d2539ddb-2df1-46fa-837a-a93e4492b93d', _parent_thread_id='945918e9-ac3d-4588-8993-1163499a29d8')>, _profile=<InMemoryProfile(backend=in_memory, name=default)>)>
2023-09-25 15:15:45,175 aries_cloudagent.core.event_bus DEBUG Notifying subscribers: <Event topic=acapy::record::connections::request, payload={'state': 'request', 'created_at': '2023-09-25T18:14:28.340379Z', 'updated_at': '2023-09-25T18:15:45.174939Z', 'connection_id': '8ac3e0be-52e3-4c39-bbd4-170d7fe97145', 'their_did': '2NzWkSUJsBcBSPNmZSC3Kw', 'their_label': 'dsdsd', 'their_role': 'invitee', 'connection_protocol': 'connections/1.0', 'rfc23_state': 'request-received', 'invitation_key': '7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW', 'routing_state': 'none', 'accept': 'auto', 'invitation_mode': 'once'}>
2023-09-25 15:15:45,176 aries_cloudagent.protocols.coordinate_mediation.v1_0.route_manager DEBUG Routing connection as inviter
2023-09-25 15:15:45,177 aries_cloudagent.core.event_bus DEBUG Notifying subscribers: <Event topic=acapy::record::connections::response, payload={'state': 'response', 'created_at': '2023-09-25T18:14:28.340379Z', 'updated_at': '2023-09-25T18:15:45.177096Z', 'connection_id': '8ac3e0be-52e3-4c39-bbd4-170d7fe97145', 'my_did': 'D2ngFXuCXoPb6TFAwkqmzh', 'their_did': '2NzWkSUJsBcBSPNmZSC3Kw', 'their_label': 'dsdsd', 'their_role': 'invitee', 'connection_protocol': 'connections/1.0', 'rfc23_state': 'response-sent', 'invitation_key': '7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW', 'routing_state': 'none', 'accept': 'auto', 'invitation_mode': 'once'}>
2023-09-25 15:15:45,178 aries_cloudagent.connections.base_manager DEBUG Resolving connection targets for DID 2NzWkSUJsBcBSPNmZSC3Kw
2023-09-25 15:15:45,178 aries_cloudagent.resolver.default.legacy_peer DEBUG Checking if resolver supports DID did:sov:2NzWkSUJsBcBSPNmZSC3Kw
2023-09-25 15:15:45,178 aries_cloudagent.resolver.default.legacy_peer DEBUG DID is valid IndyDID did:sov:2NzWkSUJsBcBSPNmZSC3Kw
2023-09-25 15:15:45,178 aries_cloudagent.resolver.default.legacy_peer DEBUG Fetched doc DIDDoc(2NzWkSUJsBcBSPNmZSC3Kw)
2023-09-25 15:15:45,178 aries_cloudagent.resolver.did_resolver DEBUG Valid resolvers for DID did:sov:2NzWkSUJsBcBSPNmZSC3Kw: [<aries_cloudagent.resolver.default.legacy_peer.LegacyPeerDIDResolver object at 0x106814d10>]
2023-09-25 15:15:45,178 aries_cloudagent.resolver.did_resolver DEBUG Resolving DID did:sov:2NzWkSUJsBcBSPNmZSC3Kw with <aries_cloudagent.resolver.default.legacy_peer.LegacyPeerDIDResolver object at 0x106814d10>
2023-09-25 15:15:45,179 aries_cloudagent.connections.base_manager DEBUG Resolved DID document: context=['https://w3id.org/did/v1'] id='did:sov:2NzWkSUJsBcBSPNmZSC3Kw' also_known_as=None controller=None verification_method=[Ed25519VerificationKey2018(id='did:sov:2NzWkSUJsBcBSPNmZSC3Kw#1', type='Ed25519VerificationKey2018', controller='did:sov:2NzWkSUJsBcBSPNmZSC3Kw', public_key_hex=None, public_key_base58='kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh', public_key_pem=None, public_key_multibase=None, blockchain_account_id=None, ethereum_address=None, public_key_jwk=None)] authentication=['did:sov:2NzWkSUJsBcBSPNmZSC3Kw#1'] assertion_method=None key_agreement=None capability_invocation=None capability_delegation=None service=[DIDCommV1Service(id='did:sov:2NzWkSUJsBcBSPNmZSC3Kw#didcomm-0', type='did-communication', service_endpoint=AnyUrl('ws://<IP_ADDRESS>:4000', scheme='ws', host='<IP_ADDRESS>', host_type='ipv4', port='4000'), recipient_keys=['did:sov:2NzWkSUJsBcBSPNmZSC3Kw#1'], routing_keys=['did:key:z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA#z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA'], accept=None, priority=1)]
2023-09-25 15:15:45,179 aries_cloudagent.connections.base_manager DEBUG Resolved DIDComm services: [DIDCommV1Service(id='did:sov:2NzWkSUJsBcBSPNmZSC3Kw#didcomm-0', type='did-communication', service_endpoint=AnyUrl('ws://<IP_ADDRESS>:4000', scheme='ws', host='<IP_ADDRESS>', host_type='ipv4', port='4000'), recipient_keys=['did:sov:2NzWkSUJsBcBSPNmZSC3Kw#1'], routing_keys=['did:key:z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA#z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA'], accept=None, priority=1)]
2023-09-25 15:15:45,179 aries_cloudagent.resolver.default.legacy_peer DEBUG Checking if resolver supports DID did:key:z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA
2023-09-25 15:15:45,179 aries_cloudagent.resolver.did_resolver DEBUG Valid resolvers for DID did:key:z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA: [<aries_cloudagent.resolver.default.key.KeyDIDResolver object at 0x106970450>]
2023-09-25 15:15:45,179 aries_cloudagent.resolver.did_resolver DEBUG Resolving DID did:key:z6MkviwiksKSisp2PSAsEYuykvrT3pLSRWiHZWmFUD1SnhJA with <aries_cloudagent.resolver.default.key.KeyDIDResolver object at 0x106970450>
2023-09-25 15:15:45,180 aries_cloudagent.connections.base_manager DEBUG Not caching connection targets for connection in state (response)
2023-09-25 15:15:45,180 aries_cloudagent.core.conductor WARNING Cannot queue message for delivery, no supported transport
2023-09-25 15:15:45,180 aries_cloudagent.core.event_bus DEBUG Notifying subscribers: <Event topic=acapy::outbound-message::undeliverable, payload=<OutboundMessage(connection_id='8ac3e0be-52e3-4c39-bbd4-170d7fe97145', enc_payload=None, _endpoint=None, payload='{"@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/connections/1.0/response", "@id": "738c19ed-e15d-4a10-9dad-825c126cd86b", "~thread": {"thid": "d2539ddb-2df1-46fa-837a-a93e4492b93d", "pthid": "945918e9-ac3d-4588-8993-1163499a29d8"}, "connection~sig": {"@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/signature/1.0/ed25519Sha512_single", "signature": "S_bGzXHluabAgPdjzEdojKKGC2CY1EqlocI2TNSzIYRkROr-tvgudH0y3ZcJoXRAWefGGMoUQmFIhxVyezsVBg==", "sig_data": "AAAAAGURzlF7IkRJRCI6ICJEMm5nRlh1Q1hvUGI2VEZBd2txbXpoIiwgIkRJRERvYyI6IHsiQGNvbnRleHQiOiAiaHR0cHM6Ly93M2lkLm9yZy9kaWQvdjEiLCAiaWQiOiAiZGlkOnNvdjpEMm5nRlh1Q1hvUGI2VEZBd2txbXpoIiwgInB1YmxpY0tleSI6IFt7ImlkIjogImRpZDpzb3Y6RDJuZ0ZYdUNYb1BiNlRGQXdrcW16aCMxIiwgInR5cGUiOiAiRWQyNTUxOVZlcmlmaWNhdGlvbktleTIwMTgiLCAiY29udHJvbGxlciI6ICJkaWQ6c292OkQybmdGWHVDWG9QYjZURkF3a3FtemgiLCAicHVibGljS2V5QmFzZTU4IjogIjdaS1NWRXJveTFMS0x0M1JTUjY0VmR3TlVBYXM4cndMTXoyTjZCR2tiTGV4In1dLCAiYXV0aGVudGljYXRpb24iOiBbeyJ0eXBlIjogIkVkMjU1MTlTaWduYXR1cmVBdXRoZW50aWNhdGlvbjIwMTgiLCAicHVibGljS2V5IjogImRpZDpzb3Y6RDJuZ0ZYdUNYb1BiNlRGQXdrcW16aCMxIn1dLCAic2VydmljZSI6IFt7ImlkIjogImRpZDpzb3Y6RDJuZ0ZYdUNYb1BiNlRGQXdrcW16aDtpbmR5IiwgInR5cGUiOiAiSW5keUFnZW50IiwgInByaW9yaXR5IjogMCwgInJlY2lwaWVudEtleXMiOiBbIjdaS1NWRXJveTFMS0x0M1JTUjY0VmR3TlVBYXM4cndMTXoyTjZCR2tiTGV4Il0sICJzZXJ2aWNlRW5kcG9pbnQiOiAiaHR0cDovLzEwLjgyLjE0LjE3Njo4MDAxIn1dfX0=", "signer": "7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW"}}', reply_session_id='7dec0546-eb74-4532-bace-98a3e86f8057', reply_thread_id='d2539ddb-2df1-46fa-837a-a93e4492b93d', reply_to_verkey='kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh', reply_from_verkey='7xntAnTryZSZmHtZ5jZic4nPUFxWpvp2UdGGMeYFrizW', target=None, target_list=[<ConnectionTarget(did='did:sov:2NzWkSUJsBcBSPNmZSC3Kw', endpoint='ws://<IP_ADDRESS>:4000', label='dsdsd', recipient_keys=['kbh9fkqAYeaTRhsZsnrPgMadwnuSFWBsgiM3EVjZRMh'], routing_keys=['HGggAd51PLKZGwLAYyx8uqJTEF4b1dTvsVrKdw3RsUWn'], sender_key='7ZKSVEroy1LKLt3RSR64VdwNUAas8rwLMz2N6BGkbLex')>], to_session_only=False)

If I invert the priority of the services (and also the order in the JSON, but I guess it doesn't matter), it takes the HTTP service and it works fine. However, this is undesirable in my case because I want to actually give more priority to WebSocket transport.
I'm not sure if this is just a problem on the priority management or if the DID Documents AFJ is producing are not correct. Any comment about how to make them to work together will be really appreciated!

@genaris thanks for the detailed report! I can recreate your issue on current main of ACA-Py. For some reason, when we store the document we're sending, only one of the service endpoints is getting saved. I'll look a bit closer to see if I can spot why this might be happening.

Actually, it's on deserialization, not storage, that the service disappears. It would seem the issue is the fact that the id is the same for both service endpoints. The last one overwrites the previous one as it is being deserialized. It would perhaps be good for ACA-Py to provide a warning that this is taking place but it would seem we are strictly expecting the service identifiers to be unique within the document. I believe this is consistent with the DID Core spec.

Thank you very much @dbluhm! Indeed the problem is that duplicated service id. Once I fixed that issue, I've tested with both orders and priorities and ACA-Py properly selected the HTTP one.