TextXML - Newlines are lost

onHover text in Minecraft can have new lines. JSON:
Text t = TextSerializers.JSON.deserialize("{text:\"Hover.\",hoverEvent:{action:show_text,value:\"Hello\\nthere.\"}}");

Screenshot:

But TextXML isn't supporting this in any way.
It's easy to test with serializing and deserializing Text generated from JSON with TextXML:
Text t2 = TextSerializers.TEXT_XML.deserialize(TextSerializers.TEXT_XML.serialize(t))

Resulting TextXML:
Hover.

Screenshot:

SpongeForge version:  b66f2dd-SNAPSHOT

It also annoys me that users wanting to use hovers now have to encode the <> characters as >
maybe we could fix both issues by refactoring the format, so hover is no longer an attribute of span, but a child tag of some sort?
HelloThereHover

Well, child tags right now mean content, while attributes hold properties.
hover is clearly not content, but also not really a property, but a pseudo event handler thingy...
Other people?

On the original issue:
In theory, the deserialization should preserve whitespace.
In practice there has been a bug with whitespace in TextXML before which @Doridian fixed before I handed it over to @zml2008 .
But we never tested multi-line stuff...
Also, I think @zml2008 reimplemented some parts from scratch, so this particular fix might not be in there anymore.

I think the fact that it has nested xml fragments that are getting coded show that it definitely should not be an attribute. It's just 100% unfriendly for people to input into configs.

@windy1 @Minecrell can either of you look at this?


Change msg to allow for stronger types

At the moment it is not really possible to strongly type a msg without using type assertions. I had initially tried to get around this by adding the generic .get function but this is ugly and is really just a type assertion in disguise. I realise now that redux already has this sorted, so we can pretty much just adopt that.
I'll demonstrate this with the counter example
enum Msg {
    Increment,
    Decrement,
    SetCounter,
    TrackInterval,
    // ...
}

interface IncrementMessage {
    kind: Msg.Increment;
}
interface DecrementMessage {
    kind: Msg.Decrement;
}
interface SetCounterMessage {
    kind: Msg.SetCounter;
    value: number;
}
interface TrackIntervalMessage {
    kind: Msg.TrackInterval;
    value: number;
}

type CounterMessages =
    | IncrementMessage
    | DecrementMessage
    | SetCounterMessage
    | TrackIntervalMessage;

const Counter = component<Model, CounterMessages>({
    update(msg, model) {
        switch (msg.kind) {
            case Msg.Increment:
                return { ...model, counter: model.counter + 1 };
            case Msg.Decrement:
                return { ...model, counter: model.counter - 1 };
            case Msg.SetCounter:
                return { ...model, counter: msg.value };
            case Msg.TrackInterval:
                return { ...model, interval: msg.value };
        }

        return model;
    },
});

Could probably even simplify this to
// Defined in fpreact somewhere
interface Message<K, V = undefined> {
    kind: K;
    value: V;
}

// In your component
type CounterMessages =
    | Message<Msg.Increment>
    | Message<Msg.Decrement>
    | Message<Msg.SetCounter, number>
    | Message<Msg.TrackInterval, number>;


Develop an Object Character Recognition Flutter Application.

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
NOTE: Any topic suggestion copied/taken/modified from YouTube may Lead to a permanent ban from the community.
Topic Suggestion
Develop an Object Character Recognition Flutter Application.
Pre-submission advice
By following all our pre-submission advice and reviewing our Resources folder, you will maximise your chances of your topic being approved.
We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner.
Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published (subject to vary depending on volume and/or backlog of articles).
Be sure to visit our Resources Page for tools, resources, and example articles that will help you propose and write a successful article.
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposal Submission
Proposed title of article
Develop an Object Character Recognition Flutter Application.
Use keyword research to improve your article's SEO.
Proposed article introduction
The aim of this article is to show how an object character recognition app can be created using Flutter. This application will read images and output text written on them. It uses TensorFlow Lite, a Mobile Neural Network API for efficient training on mobile devices. The implementation will be done step-by-step without any complex algorithms or Neural Network theory.
The information on this topic can be found in the "MobileNets" section of the TensorFlow Lite documentation . A good example how to use MobileNet is shown in the article "Flutter App for Darknet ML Models" . By following these articles, one should be able to understand how this application works.
For example, if the article is based on machine learning, use the following: [Machine learning] Introduction to Machine Learning.
If the article is based on developing an Android application, use the following: [Android] Developing Apps using Android.
ONLY viable topics to pick from:

API
Artificial Intelligence
Blockchain
Containers
Edge Computing
Languages
Machine Learning
Networking
Node.js
Security

Key takeaways

how to use pre-trained MobileNet models,
what is TensorFlow Lite
how it can be used on mobile devices

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Thank you for the topic suggestion @ , however this is a bit outside of our preferred topic areas.
We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternate topic to explore. 🚀

Thank you for the topic suggestion, however this is a bit outside of our preferred topic areas.
We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternate topic to explore. 🚀


Website Skaffold

This PR is ready to merge. Please ignore the above comments. (I can't delete them 😢 )
@uniqueg


⚠ Bofrost.nl has degraded performance

In 5d8bf3d, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1312 ms

Resolved: Bofrost.nl performance has improved in d8d6ac0.


Issue 1636: Renderers are deleted and recreated for each undo

Fixes #1636 - Renderers are deleted and recreated for each undo
Fixes #2317 - Closed visualizer windows not removed from params
This PR is primarily a performance optimization that prevents data and visualizers from being unnecessarily reloaded every time there is an undo or redo event.

Regression:

Open a dataset
Create a renderer
Press undo (the renderer is not removed)
Press undo again (the renderer is still not removed)
Press undo again

Vapor will crash.

Whoops. Missed some commits. Should be good now.

This is looking great. Too many times I have accidentally hit undo with a large dataset open and instantly regretted it.
The code review is approved.
I found a couple more bugs. These may addressed later as separate bug reports.
Dimensionality change breaks undo.

Create a wireframe
Change the dimension
Press undo many times
Undo will no longer do anything. Switching back to the other dimension and pressing undo a few more times will cause Vapor to crash. This may not be important with a new dimensionality selector on the way but this may reveal a more general bug.

Let's save this for later

Undoing opening sessions/datasets doesn't quite work. I don't know if these operations are supposed to be supported by undo.

Open a session
Press undo a few times (5-10?)
Vapor will crash.

Fixed by disabling undo/redo for session loads. Supporting these would take more effort than it is probably worth.

Undoing a projection string change results in some odd behavior:

Open JSmall
Create/enable a 2D data renderer
Change the projection string to have a different lat_0 parameter
Undo
The extents of the original renderer will have changed.

Ditto. Disabled undo/redo for these as well.

I think there are a bunch of these throughout vapor and it may just require adding params change groups but I happened to notice these as I was testing so I included them here:

Deleting a renderer takes 2 undos.
Creating a new visualizer window takes 4 undos.

I've wrapped a number of the multi-state param change events, but I'm sure that we'll find more with time.


There is no "StarBucks"

If the address/node_id has an alias/name, use the alias/name.

resolved


Fluent Node DSL

This PR adds a fluent node DSL to quickly build up a tree of CPG nodes. This can be used for unit tests or any occasion you quickly want to spin up a tree of CPG nodes that are independent of the underlying programming language. This is useful if you want to test the behaviour of some passes purely on the CPG tree, rather than a concrete program. It purely creates an AST using the CPG nodes, and does not fill any of the properties that are populated by passes, such as INVOKES or REFERS_TO, basically emulating what a LanguageFrontend does.
It also introduces a new interface called ArgumentHolder, similar to the existing StatementHolder and DeclarationHolder concepts.
A simple example can be found in the DslTest class but looks similar to the following:
with(TestLanguageFrontend()) {
    translationUnit("file.cpp") {
        function("main") {
            body {
                declare { variable("a") { literal(1) } }
                returnStmt { ref("a") + literal(2) }
            }
        }
    }
}

Ready for initial review. I would add more nodes as we need them or are we missing essentials for the test in core, @KuechA?


Remote connection suggestion

Hey Michael
Long time no see, hope all is well.
This is a great tool thanks!
I think its particularly interesting for a QA team validating an xbox one UWP app.
One bit of suggestion is that I think it would be a better UX if the console app would search & discover apps that implement the app service it expects.  That way it's very much like a remote debugger connection experience.  It's somewhat tedious to write out the connection UX on the various platforms / devices.

Quincy,
Doing great.
Great suggestion but unfortunately there is no API that I know of which Console Output can discover apps that implement a service since the connection is always established by the other apps.
I will look into adding an app extension that could do something like that.

A UWP app like ConsoleOutput can host extensions with a unique name like "ConsoleOutput.Source.1"  Then any app that has that named app extensions in the manifest is discoverable by ConsoleOutput as being on the system.  Then ConsoleOutput can start and interact with the app providing the extension.  This could be used to trigger the app to start but that is probably not the right user flow.


If there is only one possible move it is also the best move

Not too familiar with the code yet so please be careful when checking this
fixes https://github.com/akondas/php-grandmaster/issues/8

ChessphpChessboard has a setState() method. Is it possible to load certain position in the UI too somehow?

It is posibble to do that.
Code looks ok, thanks. :+1:


[Bug]:  Sidebar link have different weird behaviour

Version
System:
    OS: macOS 14.0
    CPU: (10) arm64 Apple M2 Pro
    Memory: 2.80 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 118.0.5993.96
    Safari: 17.0
  npmPackages:
    rspress: ^1.1.3 => 1.1.3

Details

These links cannot redirect to their own sidebar.
Codebase: https://github.com/recallwei/recallwei/tree/main/docs
Reproduce link
https://web-dev.brucesong.xyz/
Reproduce Steps
Click nav links and sidebar links, they act in different behaviour.

It also confused a lot. But fortunately i have fixed the problem in #290


support for VuePress 2.x

Can you please make it support VuePress 2.x?

Any progress would be appreciated!


Save image cache for a client

I want to speed up consecutive calls that use the same actor. There are places on the website that describe a build cache for the docker containers but say they are only available on the API.

Hi,
if you're referring to the Docker build cache, that caches the Docker image layers between two successive Actor builds, that is turned on by default, and you can use it in the API client through the use_cache argument in the ActorClient.build() method.
If you'd like to cache the Docker image of an Actor between successive calls of the Actor on the servers where the Actors are executed, that's not always possible and there is no way to control that. When you run an Actor, we cache its Docker image on the executing server, and when you run the Actor again, we try to allocate it to the same server, which should have its image cached. This is not always possible, however (perhaps the server is full and the Actor has to run on a different server, or the image was evicted from the cache because it was not executed for a long time), and the Actor image has to be pulled again.
Does that answer your question?

Closing as I think this is an invalid issue, feel free to reopen if you don't agree.


packages/provider.pkg.crossplane.io  current package revision is unhealthy || crossplane-contrib-provider-azure-c2d3b29775f5

What happened?
All of the sudden Provider pkg went un healthy.
NAME                                                           INSTALLED   HEALTHY   PACKAGE                                                     AGE
provider.pkg.crossplane.io/crossplane-contrib-provider-azure   True        False     xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1   124m
How can we reproduce it?
After installation with crossplane stable using helm,
Apply below file for create configuration and this configuration creates package as above. then started creating resources. after a day using this , facing this problem.
apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
name: getting-started-with-azure
spec:
package: registry.upbound.io/xp/getting-started-with-azure:v1.12.1
What environment did it happen in?
Crossplane version:

HI Team,
Please find the below result for cmd.
I am facing this issue after installing attached xrd and composition.  After deletion this installation below provider become healthy.
$ kubectl get pkg
NAME                                        INSTALLED   HEALTHY   PACKAGE                                                     AGE
provider.pkg.crossplane.io/provider-azure   True        False     xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1   45h
@.*** MINGW64 ~ (DP-68)
$ kubectl describe provider.pkg.crossplane.io/provider-azure
Name:         provider-azure
Namespace:
Labels:
Annotations:
API Version:  pkg.crossplane.io/v1
Kind:         Provider
Metadata:
Creation Timestamp:  2023-05-14T18:00:11Z
Generation:          1
Managed Fields:
API Version:  pkg.crossplane.io/v1
Fields Type:  FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:ignoreCrossplaneConstraints:
f:package:
f:packagePullPolicy:
f:revisionActivationPolicy:
f:revisionHistoryLimit:
f:skipDependencyResolution:
Manager:      kubectl-client-side-apply
Operation:    Update
Time:         2023-05-14T18:00:11Z
API Version:  pkg.crossplane.io/v1
Fields Type:  FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
f:currentIdentifier:
f:currentRevision:
Manager:         crossplane
Operation:       Update
Subresource:     status
Time:            2023-05-16T15:28:20Z
Resource Version:  2042890
UID:               86e11519-beb4-4ded-8bdf-0349627a3792
Spec:
Ignore Crossplane Constraints:  false
Package:                        xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1
Package Pull Policy:            IfNotPresent
Revision Activation Policy:     Automatic
Revision History Limit:         1
Skip Dependency Resolution:     false
Status:
Conditions:
Last Transition Time:  2023-05-16T15:28:19Z
Reason:                UnhealthyPackageRevision
Status:                False
Type:                  Healthy
Last Transition Time:  2023-05-14T18:00:12Z
Reason:                ActivePackageRevision
Status:                True
Type:                  Installed
Current Identifier:      xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1
Current Revision:        provider-azure-c2d3b29775f5
Events:
Type     Reason                  Age                  From                                 Message

Normal   InstallPackageRevision  51s (x7 over 10m)    packages/provider.pkg.crossplane.io  Successfully installed package revision
Warning  InstallPackageRevision  46s (x8 over 2m28s)  packages/provider.pkg.crossplane.io  current package revision is unhealthy
Mit freundlichen Grüßen / Best regards
K Thangamani
SX/ETM14-EM
Tel. +91 422 667

From: Jared Watts @.>
Sent: Tuesday, May 16, 2023 5:28 PM
To: crossplane-contrib/provider-azure @.>
Cc: Thangamani K (SX/ETM14-EM) @.>; Mention @.>
Subject: Re: [crossplane-contrib/provider-azure] packages/provider.pkg.crossplane.io current package revision is unhealthy || crossplane-contrib-provider-azure-c2d3b29775f5 (Issue #371)
Thanks for reporting this @thn4korhttps://github.com/thn4kor - any other information you can provide here, such as the output of kubectl describe provider.pkg.crossplane.io/crossplane-contrib-provider-azure?
—
Reply to this email directly, view it on GitHubhttps://github.com/crossplane-contrib/provider-azure/issues/371#issuecomment-1549523806, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A73G7NVDHQAQGQQTZ55DRGTXGNTTVANCNFSM6AAAAAAYBJJDBI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Unhealthy package revision it says, can you please give a solution to this issue?

Hi Team,
PFA..
kubectl get providerrevisions
NAME                          HEALTHY   REVISION   IMAGE
STATE    DEP-FOUND   DEP-INSTALLED   AGE
provider-azure-c2d3b29775f5   False     1          xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1   Active
kubectl describe providerrevisions
Name:         provider-azure-c2d3b29775f5
Namespace:
Labels:       pkg.crossplane.io/package=provider-azure
Annotations:  meta.crossplane.io/description:
The Microsoft Azure Crossplane provider adds support for managing Azure
resources in Kubernetes.
meta.crossplane.io/license: Apache-2.0
meta.crossplane.io/maintainer: Crossplane Maintainers<EMAIL_ADDRESS>meta.crossplane.io/readme:
provider-azure is the Crossplane infrastructure provider for Microsoft
Azure.
            If you encounter an issue please reach out on
            [slack.crossplane.io](https://slack.crossplane.io<https://slack.crossplane.io/>) and create an issue in
            the [crossplane/provider-azure](https://github.com/crossplane/provider-azure)
            repo.
          meta.crossplane.io/source: github.com/crossplane-contrib/provider-azure

API Version:  pkg.crossplane.io/v1
Kind:         ProviderRevision
Metadata:
Creation Timestamp:  2023-06-13T11:06:16Z
Finalizers:
revision.pkg.crossplane.io
Generation:  1
Managed Fields:
API Version:  pkg.crossplane.io/v1
Fields Type:  FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:meta.crossplane.io/description:
f:meta.crossplane.io/license:
f:meta.crossplane.io/maintainer:
f:meta.crossplane.io/readme:
f:meta.crossplane.io/source:
f:finalizers:
.:
v:"revision.pkg.crossplane.io":
f:labels:
.:
f:pkg.crossplane.io/package:
f:ownerReferences:
.:
k:{"uid":"94cf64a7-3f64-4b6d-9ac8-20178d081ec3"}:
f:spec:
.:
f:desiredState:
f:ignoreCrossplaneConstraints:
f:image:
f:packagePullPolicy:
f:revision:
f:skipDependencyResolution:
f:webhookTLSSecretName:
Manager:      crossplane
Operation:    Update
Time:         2023-06-13T11:06:19Z
API Version:  pkg.crossplane.io/v1
Fields Type:  FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
f:controllerRef:
.:
f:name:
Manager:      crossplane
Operation:    Update
Subresource:  status
Time:         2023-06-13T11:06:19Z
Owner References:
API Version:           pkg.crossplane.io/v1
Block Owner Deletion:  true
Controller:            true
Kind:                  Provider
Name:                  provider-azure
UID:                   94cf64a7-3f64-4b6d-9ac8-20178d081ec3
Resource Version:        12291274
UID:                     befdc4e7-6633-4698-8281-0d9fec9d7ede
Spec:
Desired State:                  Active
Ignore Crossplane Constraints:  false
Image:                          xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1
Package Pull Policy:            IfNotPresent
Revision:                       1
Skip Dependency Resolution:     false
Webhook TLS Secret Name:        webhook-tls-secret
Status:
Conditions:
Last Transition Time:  2023-06-13T11:06:19Z
Reason:                UnhealthyPackageRevision
Status:                False
Type:                  Healthy
Controller Ref:
Name:
Events:
Type     Reason             Age                  From                                         Message

Normal   ApplyClusterRoles  47m (x4 over 47m)    rbac/providerrevision.pkg.crossplane.io      Applied RBAC ClusterRoles
Normal   BindClusterRole    47m (x5 over 47m)    rbac/providerrevision.pkg.crossplane.io      Bound system ClusterRole to provider ServiceAccount(s)
Warning  SyncPackage        47m                  packages/providerrevision.pkg.crossplane.io  cannot update package revision
object metadata: Operation cannot be fulfilled on providerrevisions.pkg.crossplane.io "provider-azure-c2d3b29775f5": the object has been modified; please apply your changes to the latest version and try again
Warning  SyncPackage        11m (x40 over 47m)   packages/providerrevision.pkg.crossplane.io  cannot establish control of object: providerconfigs.azure.crossplane.io is already controlled by ProviderRevision crossplane-contrib-provider-azure-c2d3b29775f5 (UID da435804-63ba-4f95-8876-25c985fa29c8)
Mit freundlichen Grüßen / Best regards
K Thangamani
SX/ETM14-EM
Tel. +91 422 667

From: Jared Watts @.>
Sent: Friday, May 19, 2023 7:09 PM
To: crossplane-contrib/provider-azure @.>
Cc: Thangamani K (SX/ETM14-EM) @.>; Mention @.>
Subject: Re: [crossplane-contrib/provider-azure] packages/provider.pkg.crossplane.io current package revision is unhealthy || crossplane-contrib-provider-azure-c2d3b29775f5 (Issue #371)
Thanks @thn4korhttps://github.com/thn4kor - similar output for kubectl get providerrevisions and kubectl describe providerrevisions  could also be helpful here!
—
Reply to this email directly, view it on GitHubhttps://github.com/crossplane-contrib/provider-azure/issues/371#issuecomment-1554590926, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A73G7NVNTZDUCFII5HFZGKLXG5ZW5ANCNFSM6AAAAAAYBJJDBI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Autodiscover of games and applications

It could be very cool, if Costa GUI could do some kind of autodiscover of games and applications.

Interesting idea, and definitely a boost to usability. I will look into this.

Cool Jacob - I'm looking forward to see what you may come up with :)

Any update on this feature Jacob? 😀

I'm considering adding a new accessory for this purpose, one that could track a list of either known games/programs and present them to the user, or one that just finds all application files on disk. And then allow the user to select which ones to add to the desktop.
I'll get back to you on this soon.

Hi @jacobpalm, jacksonsoftwareio
If I may suggest, Auto adding bat, com, exe can be as much work as manually adding a link to an application. When we consider the number of executable files in a single install it creates a great many files to "Eliminate" from the list of found executables. By the time we eliminate the apps we don't want we could have already expended the time to add the apps we do want :)
I have seen and used this feature with a number of other launch menu system in the past and they have never really seamed successful and the auto search for apps was dropped. I can't recall which menu systems had it as the feature has long gone. It could have bean one of the early lupo (a-suite), P-apps type launchers.

I am working a similar problem myself atm between creating an application catalog from a CD-ROM or dir. I can scan an entire dir or drive to a list of files, but I still have to manually organize categories and descriptions. Categories become the biggest hurdle as many categories cross over and can link to a single file where my directory archives currently have a lot of duplicates.

Either way, Costa desktop is my favorite application along side of File Maven 3 :)

You can automate the categorizing a bit by using the different game databases online. I don't think there is anything similar for other applications, but it would allow you to separate the games from everything else.

After consideration, I've decided not to implement an autodiscover feature. As some have pointed out, just detecting all exe and com files would result in a lot of icons being added, requiring manual cleanup. Adding a database of known apps and games would also take a fair amount of work. Since Costa got a file browsing dialog, it has become much easier to locate programs when adding icons, and I think that kind of negates the need for auto discovery - although it would be a nice feature, I agree.


why not give some simple examples demonstrate how to use the library?

Sure, that seems reasonable. Which part of the library are you attempting to use?

FEC related? cause I search FEC and find this project but don't know how to use it quickly.

sure, I meant reed-solomon or convolutional codes?
i'll try to put some examples together soon. in the mean time, what you want to do is to create one of the objects (correct_reed_solomon_create or correct_convolutional_create), encode your message, send it through your lossy channel. then on the other side, create the same kind of object and decode the received bytes.

@brian-armstrong  thanks, I will try it.

Regarding the Viterbi part, my project has a C++ Class that wraps libcorrect, so it might serve as example.
https://github.com/opensatelliteproject/libsathelper/blob/master/includes/SatHelper/viterbi27.h
https://github.com/opensatelliteproject/libsathelper/blob/master/src/viterbi27.cpp
It has encode / decode for CCSDS standard Viterbi (the k=7 r=1/2) and also some Bit Error Rate calculation.

Also forget, I have for ReedSolomon as well:
https://github.com/opensatelliteproject/libsathelper/blob/master/includes/SatHelper/reedsolomon.h
https://github.com/opensatelliteproject/libsathelper/blob/master/src/reedsolomon.cpp


feat: Add minimum TLS protocol version for AWS CloudFront

Issue
Currently ION Deploy with TLSv1 (default from pulumi).
This PR will set the default to TLSv1.2_2021 for the Security Policy at CloudFront.

Thanks @JuniYadi!

Released in 0.0.189


Specify arn name for DynamoDb tables and Kinesis Stream

Describe the issue
I have an aws role that has the all necessary permissions to use the DynamoDb tables and Kinesis Data Stream that resides on a different account than where the two services mentioned above are located.
Therefore, the role will belong to a certain account id (e.g.<PHONE_NUMBER>) while the arn of DynamoDb tables and Kinesis Data Stream will contain the id of a different account (e.g.<PHONE_NUMBER>).
The library allows me to rename the Dynamo tables with the following properties.
spring.cloud.stream.kinesis.binder.locks.table = locks_table_name
spring.cloud.stream.kinesis.binder.checkpoint.table = checkpoint_table_name

and specify the kinesis stream data from which to consume records with the following property
spring.cloud.stream.bindings.input.destination = kinesis_name
In this way, the application will attempt to connect to the two services using as arn
arn:aws:dynamodb:eu-central-1:0000000000:table/locks_table_name
instead of
arn:aws:dynamodb:eu-central-1:1111111111:table/locks_table_name
The same applies to the Checkpoint table and Kinesis Data Stream.
I was wondering if it would be possible to specify the arn of the tables and kinesis data stream instead of their respective names.
Version of the framework
2.0.2.RELEASE
Expected behavior
Access to resource by arn instead name

Closing it due to lack of follow up form the original reporter


Canvas coloring

We are already randomizing positions and sizes and now I can also have random colors!

are we trying to have the random color for the canvas background ?

Ok cool. Thank you for letting me know


Refactor link parsing

This was mostly for my own benefit while working on https://github.com/raphlinus/pulldown-cmark/pull/445, so I don't mind if you want to close the PR.

This looks like a good reduction in complexity. Thanks!


user order='lower' for imshow when y is ascending

I used imshow() this week for firstime in long time.
When I fed a data from hysplit --> con2cdf4 netcdf4 data, i see image flipped upside down.  Strangely, it seems like this happen when imshow() is used, and subsequent set_data seems to fix the problem.
Despite weirdness above, i figured that the problem is related to the fact that somehow this netdf file has y in ascending order, unlike typical raster data.  According to mpl.Axes.imshow() help, i should say it origin='lower' in this case.
This change seems to fix the problem, image shows up with righ orientation for both imshow() and subsequent set_data().
When this imshow capability is used for data from different source, this may resurface if my assumption here is wrong.  So, just revisit this in future as needed.

accept for now, as imshow() is not often used feature so far.


Build docker image for rest-cli

Create a docker image with support rest cli by default.
Eg: Make an alias in docker image. So instead call java -jar rest-cli.jar
we just need restcli .... arguments ....

@quangson91 Hi QuangSon can i support you with this issue?

Yup. You can creat a Pull Request to this repo.

PR is created.

Yup. that great.
I merged that PR.


[UPI] MCC fails starting on bootstrap node in beta3

OKD version: 4.4.0-0.okd-2020-04-16-074048-beta3
FCOS: fedora-coreos-31.20200323.3.2-openstack.x86_64

Hi,
In the latest beta3 version of OKD4, MCC fails while trying to start in the bootstrap node, according to the following logs:
journalctl -b -f -u kubelet.service -u crio.service

-- Logs begin at Fri 2020-04-17 14:46:00 UTC. --
Apr 17 16:42:21 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: I0417 16:42:21.425788     894 kubelet_getters.go:173] status for pod bootstrap-machine-config-operator-rally-5c8a-khqx.cern.ch updated to {Pending [{Initialized False 0001-01-01 00:00:00 +0000 UTC 2020-04-17 14:49:02 +0000 UTC ContainersNotInitialized containers with incomplete status: [machine-config-controller]} {Ready False 0001-01-01 00:00:00 +0000 UTC 2020-04-17 14:49:02 +0000 UTC ContainersNotReady containers with unready status: [machine-config-server]} {ContainersReady False 0001-01-01 00:00:00 +0000 UTC 2020-04-17 14:49:02 +0000 UTC ContainersNotReady containers with unready status: [machine-config-server]} {PodScheduled True 0001-01-01 00:00:00 +0000 UTC 2020-04-17 14:49:02 +0000 UTC  }]      [] 2020-04-17 14:49:02 +0000 UTC [{machine-config-controller {&ContainerStateWaiting{Reason:CrashLoopBackOff,Message:back-off 5m0s restarting failed container=machine-config-controller pod=bootstrap-machine-config-operator-rally-5c8a-khqx.cern.ch_default(da548587f741a2ef3c487b5cb1fc7e9d),} nil nil} {nil nil &ContainerStateTerminated{ExitCode:255,Signal:0,Reason:Error,Message:I0417 16:37:42.750171       1 bootstrap.go:40] Version: machine-config-daemon-4.3.0-201910280117-236-ga2067c30-dirty (a2067c3093cbe70689d8f6f2519c8dd78324a50e)
Apr 17 16:42:21 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: F0417 16:37:42.944512       1 bootstrap.go:47] error running MCC[BOOTSTRAP]: ValidateMachineConfigV3: parsing Ignition config failed with error: unsupported config version
Apr 17 16:42:21 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: Report:
Apr 17 16:42:21 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: ,StartedAt:2020-04-17 16:37:42 +0000 UTC,FinishedAt:2020-04-17 16:37:42 +0000 UTC,ContainerID:cri-o://ae447aacc7cdddd632167c5597d243a19cbf099731b74d64beae64e52022d657,}} false 26 quay.io/openshift/okd-content@sha256:b228edc5d790d797ab9aa185c94dd64a85f5e2cbde582fbb32ee766520f3f5f3 quay.io/openshift/okd-content@sha256:b228edc5d790d797ab9aa185c94dd64a85f5e2cbde582fbb32ee766520f3f5f3 cri-o://ae447aacc7cdddd632167c5597d243a19cbf099731b74d64beae64e52022d657 <nil>}] [{machine-config-server {&ContainerStateWaiting{Reason:PodInitializing,Message:,} nil nil} {nil nil nil} false 0 quay.io/openshift/okd-content@sha256:b228edc5d790d797ab9aa185c94dd64a85f5e2cbde582fbb32ee766520f3f5f3   0xc0015a2791}] Burstable []}
...
Apr 17 16:42:35 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: I0417 16:42:35.409756     894 kubelet_node_status.go:294] Setting node annotation to enable volume controller attach/detach
Apr 17 16:42:35 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: I0417 16:42:35.413422     894 kubelet_node_status.go:486] Recording NodeHasSufficientMemory event message for node rally-5c8a-khqx.cern.ch
Apr 17 16:42:35 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: I0417 16:42:35.413454     894 kubelet_node_status.go:486] Recording NodeHasNoDiskPressure event message for node rally-5c8a-khqx.cern.ch
Apr 17 16:42:35 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: I0417 16:42:35.413499     894 kubelet_node_status.go:486] Recording NodeHasSufficientPID event message for node rally-5c8a-khqx.cern.ch
Apr 17 16:42:35 ocp-ismael-boot-ogicr.cern.ch hyperkube[894]: E0417 16:42:35.413893     894 pod_workers.go:191] Error syncing pod da548587f741a2ef3c487b5cb1fc7e9d ("bootstrap-machine-config-operator-rally-5c8a-khqx.cern.ch_default(da548587f741a2ef3c487b5cb1fc7e9d)"), skipping: failed to "StartContainer" for "machine-config-controller" with CrashLoopBackOff: "back-off 5m0s restarting failed container=machine-config-controller pod=bootstrap-machine-config-operator-rally-5c8a-khqx.cern.ch_default(da548587f741a2ef3c487b5cb1fc7e9d)"

This leads into a situation that master nodes won't join the cluster, while waiting until MCC is up.
This was previously working for the following version:
OKD: 4.4.0-0.okd-2020-03-23-032727
FCOS: fedora-coreos-31.20200223.3.0-openstack.x86_64

Install-config looks like:
apiVersion: v1
baseDomain: '${BASE_DOMAIN}'
compute:
- hyperthreading: Enabled
  name: worker
  replicas: 0
controlPlane:
  hyperthreading: Enabled
  name: master
  replicas: ${MASTER_REPLICA_COUNT}
metadata:
  name: '${CLUSTER_NAME}'
networking:
  clusterNetwork:
    - cidr: <IP_ADDRESS>/16
      hostPrefix: 24
  networkType: OpenShiftSDN
  serviceNetwork:
    - <IP_ADDRESS>/16
platform:
  none: {}
pullSecret: '${OPENSHIFT_PULL_SECRET}'
sshKey: '${SHARED_PUBLIC_KEY}'

Let me know if you require further information.
Cheers,
Ismael

Please attach the log bundle produced by bootstrap node

Hi,
Many thanks, false alarm since going deeper I've found we inject a manifest before building ignition files, that was in the previous ignition config version:
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: master
  name: 99-master-afterburn-hostname
spec:
  config:
    ignition:
      version: 3.0.0 # (was 2.2.0)
    systemd:
      units:
        - contents: |
            [Unit]
            Description=Master Afterburn Hostname
            Before=kubelet.service

            [Service]
            # rewrite /etc/hostname as a short name for CSR approval to work in CERN Cloud
            ExecStart=bash -c 'afterburn --provider openstack-metadata --hostname=/dev/stdout | cut -d . -f 1 > /etc/hostname'
            Type=oneshot

            [Install]
            WantedBy=multi-user.target
          enabled: true
          name: master-afterburn-hostname.service

After fixing, everything's working as expected for OKD4.4beta3. Sorry for the noise.
Cheers,
Ismael


[pwm] V2(S) Signoff

Description
Ensure V2(S) signoff criteria are still maintained (this is not a focus area block).

Commits since Earlgrey-ES tapeout
git log Earlgrey-M2.5.2-RC0..HEAD --oneline hw/ip/pwm/

61a237e197 [util/reggen] reverse order of substruct generation
de31bdf1c2 [reggen] Remove the devmode input
963a5006cc [doc] Minor tweak to md sanitisation code
bfd4f7823e [pwm,SiVal] Add feature list to pwm.hjson
1b16ca2122 [reggen] Add mubi support SWAccess that sets/clears a reg
59f8142826 [doc] Moved badges over to using hosted images
c9cdb74959 [doc] pwm registers and interfaces now use CMDGEN
7688e714e8 [reggen] Add initial support for version and cip_id hjson fields
fbd888eea8 Revert "[reggen] Add CIP_IDs and bump all major versions"
0ba10b3cd3 [reggen] Add CIP_IDs and bump all major versions
Issues closed since the Earlgrey-ES tapeout

#17696
chip-level test
#16689
DV change
#16562
Community support issue

Currently open issues

#19841
chip-level test
#19797
SW test
#19234
DV: moved to the backlog
#18390 -> //TODOs  are still present in the TB
#17913
moved to a later prod stage
#17369
Missing covergroups defined in the testplan -> moved to a later prod stage
#16734
Chip-level test
#13588 -> //TODOs for a later sign-off stage
#9999 -> Doc issue, moved to a later stage
#9830 -> DD/DV issue (TB should catch this): moved to a later sign-off stage
#3421 -> moved to backlog

Coverage report from 25/02/2024
The following report comes from the nightly regression dashboard (hash#[49a27e136c])

The passing rate is over 88% for all verification stages (inc V2S). Though there are intermittent failures in pwm_rand_output and pwm_stress_all.
Summary
There aren't outstanding changes required for this stage. @rswarbrick / @msfschaffner  Could any of you take a look to make sure you agree with this?

I've gone through the checklist carefully. I think I agree with your notes.
The #18390 issue looks like a genuine bug: we should probably just fix it instead of punting further! But that's something I'd be arguing if we were having a "from scratch V2 review", rather than confirming that nothing has regressed. I'm happy to keep the existing V2S stage.


Add push-to-app-catalog github action

Towards https://github.com/giantswarm/giantswarm/issues/19941
This adds a reusable github action for building apps using ABS and pushing to a github repo.
I've been testing it with a test catalog and a fork of our hello-world-app and here is an example run
name: 'Push to App Catalog'

on:
  push:
    tags:
      - 'v*'

jobs:
  push_to_app_catalog:
    uses: giantswarm/app-build-suite/.github/workflows/push-to-app-catalog.yaml@github-action
    with:
      app_catalog: example-catalog
      chart: hello-world-app
      organization: rossf7
    secrets:
      envPAT: ${{ secrets.PAT }}

As for the external action... I think we should treat it as any other library - we rely on external code heavily and I don't think this use case is different than an open source go library. TL;DR: if it works, let's keep it

@piontec Yes makes sense I just wanted to check.
I also made a small change to add --replace-chart-version-with-git so apps without an ABS config file have the correct version.
We can link to the docs so users can extend the config but I think it's good to have this as a default.


drawing not cleared with canvas + progressive rendering disabled

when first loading the page 2 drawing occurs after the labels at the bottom rotate. the first darwing is not cleared, making the chart false

Fixed with 1.0.0 release


Corporate Console>>Request new CLA manager :User is unable to create new CLA manager

Summary
Getting error status as 400 while creating new CLA manager
https://api.dev.lfcla.com/v3/onboard/notification
Reponse :
{      "Code":"400",    "Message":"Bad Request - unable to send notification to recipients<EMAIL_ADDRESS>error: AuthorizationError: User: arn:aws:sts::395594542180:assumed-role/cla-backend-dev-us-east-1-lambdaRole/cla-backend-dev-apiv3 is not authorized to perform: SNS:Publish on resource: arn:aws:sns:us-east-1:395594542180:lfx-topic-dev-email-events\n\tstatus code: 403, request id: d31d24eb-8e99-5444-b5c0-72906df2945b" }
Background
Provide context to the issue - provide steps to reproduce the behavior, such as:

Go to 'Corporate Console'
Click on 'Get started'
Enter all the details in 'Request new CLA manager'
Click on submit

Expected behavior
User should be able to create new CLA manager
Screenshots
create CLA manager.zip

This is related to a missing set of permissions for the backend lambdas -> SNS Topic Publish.  I have added the required permission via PR #456. @kdhaigud, how that this PR is merged and deployed to DEV can you re-test (in DEV)?

@dealako 'Request new CLA manager' pop up is not getting open after clicking on 'Get started'
CLA manager pop up.zip

Resolved - closing issue.


OCI: Check if we are OCI 1.0.0 compatible

We last tested/checked/tracked OCI runtime spec 1.0.0-rc5. There has since been the full OCI 1.0.0 release (https://github.com/opencontainers/runtime-spec/releases/tag/v1.0.0).
We should check for any changes, and see if we 'just work'(tm), or if we need some updates, and then update our release notes appropriately.

https://github.com/clearcontainers/runtime/issues/347


Ignore autorun on our buffered process commands. Fixes #10082

Fixes the problem of apm and atom shell calls via buffered-process being interrupted/confused by autorun entries in the registry by telling our commands to ignore them.

Refs atom/settings-view#162.


Moving MultiDomain to Configuration Menu

Would be nice if we could move the MultiDomain widget to the configuration panel, so it is not viewable to a normal user

I managed to move this to admin by changing the line 27 to 'admin'
Next thing is to try and figure out permissions so that it is only viewable to admins


Inconsistent behavior with volumes and volume driver plugins

I encountered a problem with the expected behavior of Docker volumes when using convoy volume driver with EBS backend store.
The tutum/mysql Docker image contain declaration of two volumes:
# Add VOLUMEs to allow backup of config and databases
VOLUME  ["/etc/mysql", "/var/lib/mysql"]

When running the this image, the normal behavior of Docker is to copy the content of those directories to the Volumes (in this case the EBS volumes), according to Dockerfile reference:

The VOLUME instruction creates a mount point with the specified name and marks it as holding externally mounted volumes from native host or other containers.

But the result was different:
# docker run -it -v masterdb-vol:/var/lib/mysql --volume-driver=convoy tutum/mysql

Convoy list:
# convoy list
DEBU[1468] Calling: GET, /volumes/list, request: GET, /v1/volumes/list  pkg=daemon
{
    "acf08d0e-c245-4970-b9eb-13a10f33f9a1": {
        "UUID": "acf08d0e-c245-4970-b9eb-13a10f33f9a1",
        "Name": "masterdb-vol",
        "Driver": "ebs",
        "MountPoint": "",
        "CreatedTime": "Fri Oct 16 02:16:01 +0000 2015",
        "DriverInfo": {
            "AvailablityZone": "us-west-2a",
            "CreatedTime": "Fri Oct 16 02:15:39 +0000 2015",
            "Device": "/dev/xvdm",
            "Driver": "ebs",
            "EBSVolumeID": "vol-8f4b317b",
            "IOPS": "12",
            "MountPoint": "",
            "Size": "4294967296",
            "State": "in-use",
            "Type": "gp2",
            "UUID": "acf08d0e-c245-4970-b9eb-13a10f33f9a1"
        },
        "Snapshots": {}
    },
    "e4087278-b375-4f95-b30e-d3cec1087d52": {
        "UUID": "e4087278-b375-4f95-b30e-d3cec1087d52",
        "Name": "0e7ed611f484092d396504a318f4c748150d56165dd03bdc2b3a288be2644965",
        "Driver": "ebs",
        "MountPoint": "",
        "CreatedTime": "Fri Oct 16 02:16:23 +0000 2015",
        "DriverInfo": {
            "AvailablityZone": "us-west-2a",
            "CreatedTime": "Fri Oct 16 02:16:01 +0000 2015",
            "Device": "/dev/xvdn",
            "Driver": "ebs",
            "EBSVolumeID": "vol-a848325c",
            "IOPS": "12",
            "MountPoint": "",
            "Size": "4294967296",
            "State": "in-use",
            "Type": "gp2",
            "UUID": "e4087278-b375-4f95-b30e-d3cec1087d52"
        },
        "Snapshots": {}
    }
}

The container exited with the error:
chmod: cannot access '/etc/mysql/conf.d/my.cnf': No such file or directory

Which indicates that the content of the volumes didn't get copied to the EBS volume.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Docker Version:
# docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

Docker Info:
# docker info
Containers: 0
Images: 14
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 14
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-48-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 1
Total Memory: 992.5 MiB
Name: ip-172-31-39-1
ID: IEC4:4RA6:5CIB:4BWN:C2Q3:UB3Z:4446:62BF:ISWI:66XJ:72ZU:TOA4
WARNING: No swap limit support

# uname -a
Linux ip-172-31-39-1 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

The issue is on an AWS EC2 t2.micro instance.
Steps to reproduce the issue:
1- install docker and convoy
2- set up your AWS credentials
3- start convoy daemon with ebs backend:
# sudo convoy daemon --drivers ebs &

4- run the tutum/mysql image:
# docker run -it -v masterdb-vol:/var/lib/mysql --volume-driver=convoy tutum/mysql

Result:
# docker run -it -v masterdb-vol:/var/lib/mysql --volume-driver=convoy tutum/mysql
DEBU[0393] Handle plugin activate: POST /Plugin.Activate  pkg=daemon
DEBU[0393] Response:  {
	"Implements": [
		"VolumeDriver"
	]
}  pkg=daemon
DEBU[0393] Handle plugin create volume: POST /VolumeDriver.Create  pkg=daemon
DEBU[0393] Request from docker: &{masterdb-vol map[]}    pkg=daemon
DEBU[0393] Create a new volume masterdb-vol for docker   pkg=daemon
DEBU[0393]                                               event=create object=volume opts=map[Size:0 BackupURL: VolumeName:masterdb-vol VolumeDriverID: VolumeType: VolumeIOPS:0] pkg=daemon reason=prepare volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b volume_name=masterdb-vol
DEBU[0398] Waiting for volume vol-8771f56b state transiting from creating to available  pkg=ebs
DEBU[0403] Adding tags for vol-8771f56b, as map[Name:masterdb-vol ConvoyVolumeUUID:2f0e3c45-2b3d-4e87-93bf-285a373c807b]  pkg=ebs
DEBU[0403] Created volume 2f0e3c45-2b3d-4e87-93bf-285a373c807b from EBS volume vol-8771f56b  pkg=ebs
DEBU[0403] Attaching vol-8771f56b to i-31d4a08e's /dev/sdh  pkg=ebs
DEBU[0409] Attached EBS volume vol-8771f56b to /dev/xvdh  pkg=ebs
DEBU[0410] Created volume                                event=create object=volume pkg=daemon reason=complete volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0410] Found volume 2f0e3c45-2b3d-4e87-93bf-285a373c807b (name masterdb-vol) for docker  pkg=daemon
DEBU[0410] Response:  {}                                 pkg=daemon
DEBU[0410] Handle plugin volume path: POST /VolumeDriver.Path  pkg=daemon
DEBU[0410] Request from docker: &{masterdb-vol map[]}    pkg=daemon
DEBU[0410]                                               event=mountpoint object=volume pkg=daemon reason=prepare volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0410]                                               event=mountpoint mountpoint= object=volume pkg=daemon reason=complete volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0410] Volume: 2f0e3c45-2b3d-4e87-93bf-285a373c807b (name masterdb-vol) is mounted at  for docker  pkg=daemon
DEBU[0410] Response:  {}                                 pkg=daemon
DEBU[0410] Handle plugin create volume: POST /VolumeDriver.Create  pkg=daemon
DEBU[0410] Request from docker: &{93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 map[]}  pkg=daemon
DEBU[0410] Create a new volume 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 for docker  pkg=daemon
DEBU[0410]                                               event=create object=volume opts=map[VolumeIOPS:0 Size:0 BackupURL: VolumeName:93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 VolumeDriverID: VolumeType:] pkg=daemon reason=prepare volume=bc795018-7311-4eb4-b301-a71592ad8cb1 volume_name=93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461
DEBU[0415] Waiting for volume vol-dc71f530 state transiting from creating to available  pkg=ebs
DEBU[0421] Adding tags for vol-dc71f530, as map[Name:93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 ConvoyVolumeUUID:bc795018-7311-4eb4-b301-a71592ad8cb1]  pkg=ebs
DEBU[0421] Created volume bc795018-7311-4eb4-b301-a71592ad8cb1 from EBS volume vol-dc71f530  pkg=ebs
DEBU[0421] Attaching vol-dc71f530 to i-31d4a08e's /dev/sdm  pkg=ebs
DEBU[0426] Attached EBS volume vol-dc71f530 to /dev/xvdm  pkg=ebs
DEBU[0427] Created volume                                event=create object=volume pkg=daemon reason=complete volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427] Found volume bc795018-7311-4eb4-b301-a71592ad8cb1 (name 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461) for docker  pkg=daemon
DEBU[0427] Response:  {}                                 pkg=daemon
DEBU[0427] Handle plugin volume path: POST /VolumeDriver.Path  pkg=daemon
DEBU[0427] Request from docker: &{93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 map[]}  pkg=daemon
DEBU[0427]                                               event=mountpoint object=volume pkg=daemon reason=prepare volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427]                                               event=mountpoint mountpoint= object=volume pkg=daemon reason=complete volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427] Volume: bc795018-7311-4eb4-b301-a71592ad8cb1 (name 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461) is mounted at  for docker  pkg=daemon
DEBU[0427] Response:  {}                                 pkg=daemon
DEBU[0427] Handle plugin mount volume: POST /VolumeDriver.Mount  pkg=daemon
DEBU[0427] Request from docker: &{93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 map[]}  pkg=daemon
DEBU[0427] Mount volume: bc795018-7311-4eb4-b301-a71592ad8cb1 (name 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461) for docker  pkg=daemon
DEBU[0427]                                               event=mount object=volume opts=map[MountPoint:] pkg=daemon reason=prepare volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427] Volume bc795018-7311-4eb4-b301-a71592ad8cb1 is not mounted, mount it now to /var/lib/convoy/ebs/mounts/bc795018-7311-4eb4-b301-a71592ad8cb1  pkg=ebs
DEBU[0427]                                               event=list mountpoint=/var/lib/convoy/ebs/mounts/bc795018-7311-4eb4-b301-a71592ad8cb1 object=volume pkg=daemon reason=complete volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427] Response:  {
	"Mountpoint": "/var/lib/convoy/ebs/mounts/bc795018-7311-4eb4-b301-a71592ad8cb1"
}  pkg=daemon
DEBU[0427] Handle plugin unmount volume: POST /VolumeDriver.Unmount  pkg=daemon
DEBU[0427] Request from docker: &{93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 map[]}  pkg=daemon
DEBU[0427] Unmount volume: bc795018-7311-4eb4-b301-a71592ad8cb1 (name 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461) for docker  pkg=daemon
DEBU[0427]                                               event=umount object=volume pkg=daemon reason=prepare volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427]                                               event=umount object=volume pkg=daemon reason=complete volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427] Response:  {}                                 pkg=daemon
DEBU[0427] Handle plugin mount volume: POST /VolumeDriver.Mount  pkg=daemon
DEBU[0427] Request from docker: &{masterdb-vol map[]}    pkg=daemon
DEBU[0427] Mount volume: 2f0e3c45-2b3d-4e87-93bf-285a373c807b (name masterdb-vol) for docker  pkg=daemon
DEBU[0427]                                               event=mount object=volume opts=map[MountPoint:] pkg=daemon reason=prepare volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0427] Volume 2f0e3c45-2b3d-4e87-93bf-285a373c807b is not mounted, mount it now to /var/lib/convoy/ebs/mounts/2f0e3c45-2b3d-4e87-93bf-285a373c807b  pkg=ebs
DEBU[0427]                                               event=list mountpoint=/var/lib/convoy/ebs/mounts/2f0e3c45-2b3d-4e87-93bf-285a373c807b object=volume pkg=daemon reason=complete volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0427] Response:  {
	"Mountpoint": "/var/lib/convoy/ebs/mounts/2f0e3c45-2b3d-4e87-93bf-285a373c807b"
}  pkg=daemon
DEBU[0427] Handle plugin mount volume: POST /VolumeDriver.Mount  pkg=daemon
DEBU[0427] Request from docker: &{93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 map[]}  pkg=daemon
DEBU[0427] Mount volume: bc795018-7311-4eb4-b301-a71592ad8cb1 (name 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461) for docker  pkg=daemon
DEBU[0427]                                               event=mount object=volume opts=map[MountPoint:] pkg=daemon reason=prepare volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0427] Volume bc795018-7311-4eb4-b301-a71592ad8cb1 is not mounted, mount it now to /var/lib/convoy/ebs/mounts/bc795018-7311-4eb4-b301-a71592ad8cb1  pkg=ebs
DEBU[0428]                                               event=list mountpoint=/var/lib/convoy/ebs/mounts/bc795018-7311-4eb4-b301-a71592ad8cb1 object=volume pkg=daemon reason=complete volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0428] Response:  {
	"Mountpoint": "/var/lib/convoy/ebs/mounts/bc795018-7311-4eb4-b301-a71592ad8cb1"
}  pkg=daemon
chmod: cannot access '/etc/mysql/conf.d/my.cnf': No such file or directory
DEBU[0428] Handle plugin unmount volume: POST /VolumeDriver.Unmount  pkg=daemon
DEBU[0428] Request from docker: &{masterdb-vol map[]}    pkg=daemon
DEBU[0428] Unmount volume: 2f0e3c45-2b3d-4e87-93bf-285a373c807b (name masterdb-vol) for docker  pkg=daemon
DEBU[0428]                                               event=umount object=volume pkg=daemon reason=prepare volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0428]                                               event=umount object=volume pkg=daemon reason=complete volume=2f0e3c45-2b3d-4e87-93bf-285a373c807b
DEBU[0428] Response:  {}                                 pkg=daemon
DEBU[0428] Handle plugin unmount volume: POST /VolumeDriver.Unmount  pkg=daemon
DEBU[0428] Request from docker: &{93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461 map[]}  pkg=daemon
DEBU[0428] Unmount volume: bc795018-7311-4eb4-b301-a71592ad8cb1 (name 93b3878b8f92cdb16f854c347743c518537c80ecdf8029b9ea899c312c224461) for docker  pkg=daemon
DEBU[0428]                                               event=umount object=volume pkg=daemon reason=prepare volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0428]                                               event=umount object=volume pkg=daemon reason=complete volume=bc795018-7311-4eb4-b301-a71592ad8cb1
DEBU[0428]

# docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                     PORTS               NAMES
f5d8c3698e30        tutum/mysql         "/run.sh"           3 minutes ago       Exited (1) 2 minutes ago                       adoring_hopper

# docker logs adoring_hopper
chmod: cannot access '/etc/mysql/conf.d/my.cnf': No such file or directory

Expected:
Result expected is to the image to run normally, without errors and the content of the /etc/mysql to be copied to the EBS volume created by the convoy driver.
Additional information
The tutum/mysql Docker image contain declaration of two volumes:
# Add VOLUMEs to allow backup of config and databases
VOLUME  ["/etc/mysql", "/var/lib/mysql"]

When running the this image, the normal behavior of Docker is to copy the content of those directories to the Volumes (in this case the EBS volumes), according to Dockerfile reference:

The VOLUME instruction creates a mount point with the specified name and marks it as holding externally mounted volumes from native host or other containers.

Correct, it does not copy unless using the local volume driver.

So is that the expected behavior for Docker or is it suppose to deal with transferring the data to every external volume driver?

It is the expected behavior.
Using a volume driver other than local has similar properties to using bind-mounts.

Thanks.

@cpuguy83 Is there anything can be done? It's hard for user to use volume plugins sometime because the some containers created by Dockerfile would assume the files in the same directory would be copied to the volume mounted at the same place, but it won't be true with volume plugin case.

@yasker Honestly this behavior was changed to bring it in line with binds, originally the data was being copied.

@cpuguy83 There's been some discussion in the past on this that I can remember (I need to shine my beckoning light so @thaJeztah can come to the rescue), but I really think that the copying behaviour should be the default.  Are there serious technical issues with doing this?

@cpuguy83 Maybe a volume create option would be good for this.  It's pretty much impossible for the volume driver to do this, so the core docker would need to support it.

@ibuildthecloud It would have to be on docker run, since volume create wouldn't have anything to copy.
I'm trying to find the PR that introduced it... so I'm not sure the reason behind it... but the point being that to revert that behavior will require discussion.

@cpuguy83 I realized that reverting the behaviour is basically impossible, so a flag seems like the only option.  I would imagine that on container start it could somehow look at the volume options to determine if the copying should be done.  So the contents wouldn't be copied at the time of volume create but instead at the time of docker run

@ibuildthecloud This won't work, volume opts are specifically for the driver, and docker does not even keep them around.

@cpuguy83 but it could :)  I'm saying that because this would be core functionality of Docker so it obviously would have to persist this option.

My personal preference would be to have an option to propagate volumes somehow. My main reason here, is that a user should have the option to swap the "included batteries" with another option; in this case, pick a volume plugin that's more appropriate for the situation, and still being able to keep the same behavior as the default (local) plugin/driver.
There is an issue of course; should a volume that was created out of band be propagated? In all cases? or only as an opt-in?
Not sure what the best approach is here, but some option would definitely be good


memory_hardened: adding hardened memory operations

Implementing fault-resistant, constant-time operations to copy,
compare and reverse memory blocks:
memcpy_fr
memshred
memequal_fr
memxor
memclear_fr
Implement efficient versions with shuffled memory access patterns as
well as decoy memory accesses:
memcpy_hardened
memequal_hardened
memcpy32_hardened
calculate_checksum
memreverse_hardened
Signed-off-by: Vadim Sukhomlinov<EMAIL_ADDRESS>

Miguel, thanks a lot for constructive comments! I tried to address all of them. Sorry for code style and thanks for reference. This is my first commit to OT, will study it.


Correctly serialize complex numbers with a nonzero real part.

In validation/fields/custom.py, is_imaginary was used to check if a
number was complex, needing to be serialized as a pair of floats. This
causes, for instance, qiskit-aer to crash when attempting to initialize
a nontrivial state.

Summary
In validation/fields/custom.py, is_imaginary was used to check if a
number (a symby.Basic value) was complex, needing to be serialized as a pair of floats. This
causes, for instance, qiskit-aer to crash when attempting to initialize
a nontrivial state.
Details and comments
This fixes a bug which is evident in qiskit-aer. I figured it was easier to submit a pull request than to file a bug report.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Since reals are in complex, and are caught by the else clause, perhaps you could instead use,
if sympy.im(value) != 0

@ewinston made your suggested change; thanks! Looks like CI is happy now.

Good point @1ucian0. Seems test/python/validation/test_custom_fields.py was a better fit.


Concerning Application User and Security Roles

Would creating and assigning a custom security role be enough to then add out of the box security roles like "System Administrator"? We had some issues with the "Save a copy" of the System Administrator role into a custom role applied to an Application User.
It's still is a precondition to have a custom security role anyway, correct?

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

ID: 90b480da-e005-5821-a22f-6e7d848b6ad8
Version Independent ID: a28af9cb-719e-4e22-5ec1-665d20d423ed
Content: Create users in Dynamics 365 for Customer Engagement apps (online) and assign security roles
Content Source: ce/admin/create-users-assign-online-security-roles.md
Service: crm-online
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

Additionally - around July – there was a limitation in CRM: application users (oauth users) couldn’t receive the System Administrator role. If we tried to do so, we’ve received a specific error mentioning this limitation. Currently that warning/error is gone? What changed here please?

Thanks for the feedback. We have removed the custom security role restriction for Application user and updated the documentation.


update version-policy.md links

fix issue https://github.com/kubeflow/website/issues/2687
Removed broken links
after fix

Review page
https://deploy-preview-2693--competent-brattain-de2d6d.netlify.app/docs/reference/version-policy/

/assign @RFMVasconcelos

@RFMVasconcelos all done, thank you
page
https://deploy-preview-2693--competent-brattain-de2d6d.netlify.app/docs/reference/version-policy/


Add bulk document delete

The REST API added support for deleting multiple documents by uri.  We should add this support to the Java API.

Have added tests to verify that all types of DocumentManagers have bulk delete feature. Method testBulkWriteDeleteWithTransactions in TestBulkWriteWithTransactions class checks for delete with transaction.


Cache classes editor help (a.k.a. faster editor startup)

(Built on top of #71644, which is included here. Please review newest commit only.)
The class reference is now cached and regenerated every time the doc tool is run or the commit hash changes. This avoids, on every regular run of the editor, paying the cost of instantiating all the known classes at startup.
Docs generation have two steps: a synchronous one, which just contributes to the perceived startup time, and one which runs on a thread, whose cost is negligible, but I guess can affect some low performance systems for the brief time it lasts.
On my system (AMD Ryzen 9 5900HX with NVMe SSD), a regular startup gives these times:

Before this PR: 240 ms sync + 114 ms async.
With this PR: 0 ms sync + 200 ms async.
UPDATE: I want to clarify that the zero milliseconds is not due to the SSD. If the cache is already generated, the only things that needs to happen synchronously is checking if the file exists. Parsing and validating it happens asynchronously.

In short, on my system the Godot editor takes roughly 1/4 of a second less to start. Not a lot, but good in any case.

Rebased on top of 4.1.

Rebased again, after the rebase of the PR dependency.

Did some before/after testing, with a naive approach timing the editor startup time on a simple/near empty project.
System:
$ inxi -C
CPU:
  Info: quad core model: Intel Core i7-8705G bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 1726 min/max: 800/4100 cores: 1: 900 2: 913 3: 900
    4: 3100 5: 900 6: 900 7: 3100 8: 3100

Godot build: scons target=editor
For each test I removed ~/.cache/godot, ~/.local/share/godot/app_userdata/<project name> and <project path>/.godot.
And then I timed the startup of the editor when using the --quit argument, so it quits as soon as it's initialized:
time ./bin/godot.linuxbsd.editor.x86_64 -e --path ~/New\ Game\ Project4.0/ --quit

Before this PR (68b8156fe3075e0e45b070d26fce2a0baae6f293)
Cold run, generates shader cache, etc. (average of 3 runs after 1 warmup run):
8.765s
Subsequent runs (average of 20, after 3 warmup runs):
$ hyperfine -i -w3 -m20 "./bin/godot.linuxbsd.editor.x86_64.old -e --path ~/New\ Game\ Project4.0/ --quit"
Benchmark 1: ./bin/godot.linuxbsd.editor.x86_64.old -e --path ~/New\ Game\ Project4.0/ --quit
  Time (mean ± σ):      6.623 s ±  0.264 s    [User: 5.017 s, System: 0.469 s]
  Range (min … max):    5.559 s …  6.819 s    20 runs

With this PR (rebased on 68b8156f)
Cold run, generates shader cache, etc. + doc cache (average of 3 runs after 1 warmup run):
8.655s
Subsequent runs (average of 20, after 3 warmup runs):
hyperfine -i -w3 -m20 "./bin/godot.linuxbsd.editor.x86_64 -e --path ~/New\ Game\ Project4.0/ --quit"
Benchmark 1: ./bin/godot.linuxbsd.editor.x86_64 -e --path ~/New\ Game\ Project4.0/ --quit
  Time (mean ± σ):      6.282 s ±  0.238 s    [User: 4.806 s, System: 0.485 s]
  Range (min … max):    5.332 s …  6.459 s    20 runs

So it does seem to shave off around 350 ms in average for me, though it's not a very reliable test. Interesting that the cold run also seems to be tangentially faster / same duration, so saving the cache doesn't seem to be slow.

Did some before/after testing, with a naive approach timing the editor startup time on a simple/near empty project.
System:
$ inxi -C
CPU:
  Info: quad core model: Intel Core i7-8705G bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 1726 min/max: 800/4100 cores: 1: 900 2: 913 3: 900
    4: 3100 5: 900 6: 900 7: 3100 8: 3100

Godot build: scons target=editor
For each test I removed ~/.cache/godot, ~/.local/share/godot/app_userdata/<project name> and <project path>/.godot.
And then I timed the startup of the editor when using the --quit argument, so it quits as soon as it's initialized:
time ./bin/godot.linuxbsd.editor.x86_64 -e --path ~/New\ Game\ Project4.0/ --quit

Before this PR (68b8156fe3075e0e45b070d26fce2a0baae6f293)
Cold run, generates shader cache, etc. (average of 3 runs after 1 warmup run):
8.765s
Subsequent runs (average of 20, after 3 warmup runs):
$ hyperfine -i -w3 -m20 "./bin/godot.linuxbsd.editor.x86_64.old -e --path ~/New\ Game\ Project4.0/ --quit"
Benchmark 1: ./bin/godot.linuxbsd.editor.x86_64.old -e --path ~/New\ Game\ Project4.0/ --quit
  Time (mean ± σ):      6.623 s ±  0.264 s    [User: 5.017 s, System: 0.469 s]
  Range (min … max):    5.559 s …  6.819 s    20 runs

With this PR (rebased on 68b8156f)
Cold run, generates shader cache, etc. + doc cache (average of 3 runs after 1 warmup run):
8.655s
Subsequent runs (average of 20, after 3 warmup runs):
hyperfine -i -w3 -m20 "./bin/godot.linuxbsd.editor.x86_64 -e --path ~/New\ Game\ Project4.0/ --quit"
Benchmark 1: ./bin/godot.linuxbsd.editor.x86_64 -e --path ~/New\ Game\ Project4.0/ --quit
  Time (mean ± σ):      6.282 s ±  0.238 s    [User: 4.806 s, System: 0.485 s]
  Range (min … max):    5.332 s …  6.459 s    20 runs

So it does seem to shave off around 350 ms in average for me, though it's not a very reliable test. Interesting that the cold run also seems to be tangentially faster / same duration, so saving the cache doesn't seem to be slow.

The above test was running on AC.

Thank you for the thorough review.
PS. Rebased now the PR dependency has been merged.

If an outdated cache exists, the class_list is missing a few entries. Notably @GlobalScope being missing causes #76250.
diff --git a/class_list b/class_list
index fe8c67b9c65..2ec0a0a7c4e 100644
--- a/diff-tmp
+++ b/diff-tmp
@@ -1,5 +1,3 @@
-@GDScript
-@GlobalScope
 AABB
 AcceptDialog
 AESContext
@@ -54,7 +52,6 @@ Area2D
 Area2D.SpaceOverride
 Area3D
 Area3D.SpaceOverride
-Array
 ArrayMesh
 ArrayOccluder3D
 AspectRatioContainer
@@ -292,7 +289,6 @@ CylinderShape3D
 DampedSpringJoint2D
 Decal
 Decal.DecalTexture
-Dictionary
 DirAccess
 DirectionalLight2D
 DirectionalLight3D
@@ -402,7 +398,6 @@ FileDialog
 FileDialog.AccessEnum
 FileDialog.FileModeEnum
 FileSystemDock
-float
 FlowContainer
 FlowContainer.AlignmentMode
 FogMaterial
@@ -668,7 +663,6 @@ Node2D
 Node3D
 Node3D.RotationEditModeEnum
 Node3DGizmo
-NodePath
 Noise
 NoiseTexture2D
 Object
@@ -697,19 +691,10 @@ ORMMaterial3D
 OS
 OS.RenderingDriver
 OS.SystemDir
-PackedByteArray
-PackedColorArray
 PackedDataContainer
 PackedDataContainerRef
-PackedFloat32Array
-PackedFloat64Array
-PackedInt32Array
-PackedInt64Array
 PackedScene
 PackedScene.GenEditState
-PackedStringArray
-PackedVector2Array
-PackedVector3Array
 PacketPeer
 PacketPeerDTLS
 PacketPeerDtls.Status
@@ -771,7 +756,6 @@ PhysicsServer2D.PinJointParam
 PhysicsServer2D.ProcessInfo
 PhysicsServer2D.ShapeType
 PhysicsServer2D.SpaceParameter
-PhysicsServer2DExtension
 PhysicsServer2DManager
 PhysicsServer3D
 PhysicsServer3D.AreaBodyStatus
@@ -793,7 +777,6 @@ PhysicsServer3D.ProcessInfo
 PhysicsServer3D.ShapeType
 PhysicsServer3D.SliderJointParam
 PhysicsServer3D.SpaceParameter
-PhysicsServer3DExtension
 PhysicsServer3DManager
 PhysicsServer3DRenderingServerHandler
 PhysicsShapeQueryParameters2D
@@ -996,7 +979,6 @@ RichTextEffect
 RichTextLabel
 RichTextLabel.ListType
 RichTextLabel.MenuItems
-RID
 RigidBody2D
 RigidBody2D.CcdMode
 RigidBody2D.CenterOfMassModeEnum
@@ -1044,7 +1026,6 @@ ShapeCast2D
 ShapeCast3D
 short
 Shortcut
-Signal
 Skeleton2D
 Skeleton3D
 SkeletonIK3D
@@ -1095,8 +1076,6 @@ StreamPeerTCP
 StreamPeerTcp.Status
 StreamPeerTLS
 StreamPeerTls.Status
-String
-StringName
 StyleBox
 StyleBoxEmpty
 StyleBoxFlat
@@ -1217,7 +1196,6 @@ Upnp.UpnpResult
 UPNPDevice
 UpnpDevice.IgdStatusEnum
 ushort
-Variant
 VBoxContainer
 Vector2
 Vector2i

Also random thought, but I don't think switch between different build configurations (ie mono and standard version) of the same commit or having uncommitted changes invalidates the cache.


ARROW-7735: [Release] Add missing conda-forge channel to verify wheels

pytest-faulthandler and pytest-lazy-fixture require it.

I withdraw this because we have #6399.


Link with an existing Todoist Project/Task

Currently the only feature of this plugin is creating tasks on Todoist, based on note or project.
Would about also having an option to link with existing Todoist tasks? For example, having two new shortcuts:

Link Todoist Project
Link Todoist Task

Which when triggered would show a selector for the task/project to link with.
I'm suggesting this because sometimes Todoist is the input in my flow.

I'd love to have this too!


Bug Fix navigator alignment

Description
Fix navigator height issue
Related Issue

#498

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] Review requested

Screenshots

https://user-images.githubusercontent.com/10246220/164140919-1d20639a-7f05-4829-a4ee-7f1d5a533197.mov

@allcontributors add @jav-solo for bugs.


Vcpkg Binary Cache Cleanup

Use
condition: and(succeeded(), eq(variables['System.TeamProject'], 'internal'))

Do we know how long the default token time is for? We should make sure we don't want to shorten it.
Originally posted by @weshaggard in https://github.com/Azure/azure-sdk-for-cpp/pull/3329#discussion_r835613480

Also, roll account key after this goes in.

Keys rolled


harmonizing version syntax; code in param files

@doutriaux1 @zshaheen we now routinely populate a tree of results from the pmp that includes data, metrics, diagnostics and graphics.    Its time we exercise version control on everything, following the cmor template (e.g., v20181018).
It is helpful to be able to define templates for results_dir and output_filename_template from within the parameter file, and below is one way to do that.  However, there is something preventing us from being able to have simple code like this in the param files.
Any suggestions on how we tackle this?
import datetime
year = datetime.date.today().year
month = datetime.date.today().month
day = datetime.date.today().day
version_now = 'v' + str(year) + str(month) + str(day)

Another one liner option
datetime.datetime.now().strftime('v%Y%m%d')
Out[7]: 'v20181018'

Or even more pythonic:
"{:v%Y%m%d}".format(datetime.datetime.now())

@doutriaux1  @zshaheen @durack1  This is needed to flush out doc for beginners, and for that  I prefer my version because its more readable by non experts, and it too can be reduced to 2 lines and still be readable.   But more to the point, how do we implement this ASAP? ... it’s basically the last piece needed to flush out our suite of examples and thus be ready to complete documentation.

@gleckler1 will try to put it in today. Worst case tomorrow.

@doutriaux1   Any luck with allowing some code in parameter files?
Lousy weather in DC!

@gleckler1 @doutriaux1 with either of the examples above from Chucky or I, all you'd need is the string format "v%Y%m%d" to be added in the file as a string variable, voila!

@zshaheen fixed cdp, I need to review it. Hopefully tomorrow or even today

@durack1 ... input parameter files are .py

@gleckler1 no problem my mistake, no issue with code in a *.py, which is code...

@durack1 @doutriaux1 @gleckler1
No, they want extra/temp variables in the py files that won't be set as attributes to the parameter files. Ex:
import datetime
year = datetime.date.today().year
month = datetime.date.today().month
day = datetime.date.today().day
results_dir = "results_{}-{}-{}".format(year, month, day)

In the case above, we only want the parameter object to have a results_dir parameter, and not year, month, and day.

@zshaheen thanks for clarifying.
So why not have a vars_to_save = [...] or conversely a vars_to_exclude = [...] at the end of the file which means you can do whatever you want, including calculating derived stuff etc in a param file, and then optionally include/exclude it?

@durack1 The fix in cdp will automatically do it. Only parameters that can work with the PMP parser will be the one used. This way, there's always a 1:1 map from the py files to a command via the command line.

@zshaheen nice, just like magic..

@zshaheen ok and now that I think about it, what happens if a user assigns (for e.g.) a numpy array to a variable that CDP is expecting to be a string?

Yes, this was @doutriaux1's idea, it's pretty cool.

Regarding your second comment, we don't have an answer about that yet. For e3sm_diags, we're encountering the same issue.

One possible solution is to use the ast.literal_eval to figure that out, so the argument would be --zonal_mean_2d_plevs 'numpy.logspace(2.0, 3.0, num=17)'
Or when the py is dumped and a command of it is saved, expand the numpy arrays.

If you don't get what I'm saying about this point, look at the "Show Output Metadata" on this link. It's a dump of the parameters used to create that plot.

We're still thinking how to approach this.

@zshaheen ok got you, so expanding contour levels (e.g. shape 10,1) makes sense, but what happens if you have a shape 1024,1024? Maybe just throw an error, with an appropriate warning, or throw a warning at first iteration, and then if a user adds cdp.warnings = False or equivalent, then you just push ahead with using whatever is handed to the call..

@durack1 @doutriaux1 Another idea is to just dump a py file of the parameters for a single plot as well. This way, we avoid the case you talked about, when the shape is 1024x1024. Also we still get an easy way for users to change the parameters for a given run as well.

?

@doutriaux1 @zshaheen   Is the fix in CDP already in pmp nightly, i.e. can I test out making example param files for pmp documentation?

@gleckler1 moving on to this now.

@doutriaux1 great... this is a critical step

@zshaheen do I need a special keyword? The following does not work:
import pcmdi_metrics
parser = pcmdi_metrics.driver.pmp_parser.PMPParser()
parser.add_argument("--charles", default="DEFAULT")
args = parser.get_parameters()[0]
print("You picked: {}".format(args.charles))

ran . with the following myparams.py
peter = "Peter"
charles = "hi from param file"

I get:
python test_params.py -p myparams.py
Traceback (most recent call last):
  File "test_params.py", line 7, in <module>
    args = parser.get_parameters()[0]
  File "/Users/doutriaux1/miniconda3/envs/vcs/lib/python3.6/site-packages/cdp/cdp_parser.py", line 454, in get_parameters
    orig_parameters = self.get_orig_parameters(*args, **kwargs)
  File "/Users/doutriaux1/miniconda3/envs/vcs/lib/python3.6/site-packages/cdp/cdp_parser.py", line 124, in get_orig_parameters
    self._usable_via_cmdline_args(parameter)
  File "/Users/doutriaux1/miniconda3/envs/vcs/lib/python3.6/site-packages/cdp/cdp_parser.py", line 290, in _usable_via_cmdline_args
    raise RuntimeError(msg)
RuntimeError: peter is not a valid parameter because it's not defined in the parser.

You have an old version. The latest code for this fix is on the issue45 branch on cdp (not pmp). I can tell you're using an old version by looking here, the function _usable_via_cmdline_args() displayed in your stack trace was renamed.

@zshaheen I'll try again but I'm pretty sure I had it installed from that branch

@zshaheen I'll completely remove it from my env and re-install again

@doutriaux1 @zshaheen  Is this ready for use yet?

@gleckler1 Charles looked at my changes to CDP and tried them in PMP and I think all is okay.
@doutriaux1, I can release another version of CDP with fix so we have a pinned down version.

@zshaheen  I think I am making some progress with it from nightly.   This will be extremely helpful.   Lets chat and THANKS!


Trackers - how to get access to some physical values

Hello,
The Se3Controller's init function takes as input also the UAV's mass, gravity constant, and motor parameters A and B.
How can I get access to these variables inside a custom tracker I want to create?
Thanks!
Best,

Hey, good question. You can't. So far I did not need them in a tracker. However, I acknowledge that they might be used, so I am going to update the tracker interface, so both the trackers and the controllers will get the same info. I will keep you posted.

Hey Bryan, Merry Christmas!! I updated the controller and tracker interface. Now, you can get the following from the common_handlers, that are passed to trackers and controllers:

common_handlers->motor_params
common_handlers->g ultimately pass from the core.launch to all core nodes
common_handlers->getMass() gets you the current estimated UAV mass

The motor_params now follows a new format defined in mrs_lib, pls check mrs_uav_system#33.
Sincerely, Tomas


Using hansel & gretel on multiple contigs.

Hello! Thank you so much for creating such a wonderful tool! I've installed and tested hansel & gretel on a few single contigs in my dataset. Everything is very clearly explained and easy to use- thank you!
I'm curious about whether your software can be applied to multiple contigs together, i.e. to determine haplotypes based on SNPs present across multiple contigs? Specifically, I'm interested in assigning haplotypes to a "genome" (or at least the closest approximation of one that we can obtain from metagenomic sequencing). I know that I can do this but I want to be it wouldn't violate any assumptions etc. in gretel if I did?
Thanks!

Hello! Thanks for your message, it's so nice to hear that you've found our software and its suitably documented for real-world use! Can you expand a little more on your question? Currently Gretel recovers haplotypes for a given contig:start-end, but you can do this for as many regions on your assembly as you'd like.
Are you asking if we can do this and also consider the evidence over multiple contigs simultaneously? I think this could be difficult, as the Hansel matrix is populated with co-occurring SNPs seen on reads that align to the contig in question - which means we're locked to considering evidence from one region at a time.

Hi Sam,
Yes, I'm interested in considering evidence over multiple contigs simultaneously. In theory, I could concatenate, say, 3 contigs together for input into Gretel to get a Hansel matrix with co-occurring SNPs across the data, then separate the contigs again post-Gretel. Besides the fact that this feels hacky, would it violate anything under the hood? Is there a length constraint on input into Gretel, or a length at which the haplotype predictions might begin to drop off?
Cheers,
Fiona

Hi Fiona,
My initial thought also was that you could concat the contigs in question.
My gut tells me that this might violate our assumption in that we are
considering what are three distinct regions as if they belonged together.
Ultimately, if your sequence reads don't actually connect the three regions
together there's no evidence for Gretel to co-consider anyway, which is
probably the technical limitation that will prohibit you from trying this.
Gretel requires every adjacent SNP pair to be supported by at least one
read. I would suspect Gretel would give you an error between the last SNP
of your first contig and the first SNP of the second contig? What would
your proposed read alignment look like?
On 22 Dec 2017 15:38, "Fiona J Whelan"<EMAIL_ADDRESS>wrote:

Hi Sam,
Yes, I'm interested in considering evidence over multiple contigs
simultaneously. In theory, I could concatenate, say, 3 contigs together for
input into Gretel to get a Hansel matrix with co-occurring SNPs across the
data, then separate the contigs again post-Gretel. Besides the fact that
this feels hacky, would it violate anything under the hood? Is there a
length constraint on input into Gretel, or a length at which the haplotype
predictions might begin to drop off?
Cheers,
Fiona
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/SamStudio8/gretel/issues/17#issuecomment-353621458,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDfOjj6Yg4TYiFSkCe3k6Hsf234xyJ5ks5tC80TgaJpZM4RLIK8
.


Fix Tempfile reference being returned as nil

This PR fixes the issue of files being uploaded from users having
the params[:file][:tempfile] being returned as nil, rather than
an instance of Tempfile like it should be.
PR fixes #90, and shamelessly stolen from #91. This PR does
not contain the warnings that were included in #91.
Thanks for the fix @danleyden!  Hopefully this will not have a
failing Travis.ci build.

And the build failed!  I'll investigate it a bit, let me know if there's something obvious that I need to do here.

@droppedoncaprica Thank you!!


Use environment files for setOutput and saveState

What is the purpose of this pull request? (put an "X" next to an item)
[X] Bug fix
Closes #42
What changes did you make? (Give an overview)

Changed the setOutput and saveState function to use environment files instead of the deprecated set-output and save-state commands.

Is there anything you'd like reviewers to focus on?
No tests were added because existing functionality using environment files is not tested either - should we add some?

Hi there, is there any update on this?
The set-output and save-state commands are being removed in three months and this PR has been open for 2 already - will it be merged?
It'd be great if we could get this merged as I don't want to rely on a git dependency pointing to my branch in my actions.


some pdf file cannot render by ios13

please like these by iphone:
http://gzsdkj.top/hrz/#/?demo=ykj
Configuration:

Safari
Iphone11- ios13.6
pdf.js 2.4.456

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md (e.g. the actual PDF file should be attached here, there's no screenshots illustrating the problem, and finally there's just a general lack of information); as-is this issue really isn't actionable.


feat: detect webp, libzip, libedit, bzip2

additionally to other libraries, also detect webp, libzip, libedit, bzip2 and configure accordingly.

@odarriba any feedback on this?

First of all, sorry for the delay: there have been some really busy months.
I like the idea, but it will be great to detect them also on Linux. Is there any chance to add those libraries discovery for linux?

@salzig I think that could be addressed on other PR if needed.
Merging, thanks for the PR! ❤


Create module to execute pytest from Linux on WSL

Create module to execute pytest from Linux on WSL by using following module (execute_python).
https://github.com/lyoutakoduka/spartaproject/blob/aed81cf4172fe7a63ee6e257027eff4d4d28f9ac/pyspartaproj/script/shell/execute_python.py#L35
Part of this problem: https://github.com/lyoutakoduka/spartaproject/issues/9#issue-1938174128

Before creating a module to execute pytest from Linux on WSL, I updated module "execute_python" and "execute_command" which is used by the module about pytest.
https://github.com/lyoutakoduka/spartaproject/blob/aed81cf4172fe7a63ee6e257027eff4d4d28f9ac/pyspartaproj/script/shell/execute_python.py#L35
https://github.com/lyoutakoduka/spartaproject/blob/aed81cf4172fe7a63ee6e257027eff4d4d28f9ac/pyspartaproj/script/shell/execute_command.py#L19
Note: other modules related to this update is fixed.


spark-csv  trimming all the fields while writing into csv file on spark-2.1

I am using Databricks spark-csv_2.11 version 1.5 for writing a csv file in spark-2.1. By default it is trimming all the fields before writing into the file.
I have also used the options option("ignoreLeadingWhiteSpace", "false") &  option("ignoreTrailingWhiteSpace","false") , but still its trimming the field. Any idea how to ignore the trimming ??

Hi @RRAJ07 - I know this is quite an old issue, but have you overcome your problem of spark trimming every value when save to csv?


Yash Daga

Profile Screenshot

Hey,
you can add your profile by adding a PR described in the Readme.
Feel free to reopen the issue.


Origin header case sensitive

There might be cases where the case of the Origin header key is not consistent.
Make sure that origin as well as Origin are accepted.

https://stackoverflow.com/questions/8993773/contains-case-insensitive/8993788


Basic Auth is not working && Insecure option

I am trying to make a GET request to a y-cam, with basic authentication. Which is working perfectly alright in postman but not working in Finch.
The total stack trace is below with Basic auth credentials,
iex(2)> Finch.start_link(name: MyFinch)
{:ok, #PID<0.3648.0>}
iex(7)> Finch.build(:get, "http://<IP_ADDRESS>:8083/snapshot.jpg", [{"Authorization", "Basic ---="}]) |> Finch.request(MyFinch)                                                                   %Mint.HTTP1{
  buffer: "",
  host: "<IP_ADDRESS>",
  mode: :passive,
  port: 8083,
  private: %{},
  request: nil,
  requests: {[], []},
  scheme_as_string: "http",
  socket: #Port<0.10>,
  state: :open,
  transport: Mint.Core.Transport.TCP
}
%Mint.HTTP1{
  buffer: "",
  host: "<IP_ADDRESS>",
  mode: :passive,
  port: 8083,
  private: %{},
  request: %{
    body: nil,
    connection: [],
    content_length: nil,
    data_buffer: [],
    headers_buffer: [],
    method: "GET",
    ref: #Reference<0.702117736.1220280322.1452>,
    state: :status,
    status: nil,
    transfer_encoding: [],
    version: nil
  },
  requests: {[], []},
  scheme_as_string: "http",
  socket: #Port<0.10>,
  state: :open,
  transport: Mint.Core.Transport.TCP
}
#Reference<0.702117736.1220280322.1452>
{:error, %Mint.TransportError{reason: :closed}}
iex(8)>

where this works fine in postman

the response supposes to be an Image and postman do give it back. what could be wrong? I am at a dead end with this.
Also in past, while using HTTPoison, there was an option which we can pass in hackney, for :insecure while making a request.
*** insecure: to perform "insecure" SSL connections and transfers without checking the certificate**
is there any option available in Finch or mint?

On MINT level, I have these responses,
when the Basic Auth works with normal message it returns
{:ok,
 %Mint.HTTP1{
   buffer: "",
   host: "<IP_ADDRESS>",
   mode: :active,
   port: 8200,
   private: %{},
   request: %{
     body: {:content_length, 82580},
     connection: ["close"],
     content_length: 89750,
     data_buffer: [],
     headers_buffer: [],
     method: "GET",
     ref: #Reference<0.3432692369.2117337091.47316>,
     state: :body,
     status: 200,
     transfer_encoding: [],
     version: {1, 1}
   },
   requests: {[], []},
   scheme_as_string: "http",
   socket: #Port<0.8>,
   state: :open,
   transport: Mint.Core.Transport.TCP
 },
 [
   {:status, #Reference<0.3432692369.2117337091.47316>, 200},
   {:headers, #Reference<0.3432692369.2117337091.47316>,
    [
      {"connection", "close"},
      {"pragma", "no-cache"},
      {"cache-control", "no-cache"},
      {"content-type", "image/jpeg"},
      {"content-length", "89750"}
    ]},
   {:data, #Reference<0.3432692369.2117337091.47316>,
    <<255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0,
      255, 219, 0, 197, 0, 20, 14, 15, 18, 15, 13, 20, 18, 16, 18, 23, 21, 20,
      24, 30, 50, ...>>}

but for the above case, it gives such data
{:ok,
 %Mint.HTTP1{
   buffer: "",
   host: "<IP_ADDRESS>",
   mode: :active,
   port: 8083,
   private: %{},
   request: %{
     body: :until_closed,
     connection: [],
     content_length: nil,
     data_buffer: [[] | ""],
     headers_buffer: [],
     method: "GET",
     ref: #Reference<0.2916372212.772538373.182667>,
     state: :body,
     status: 200,
     transfer_encoding: [],
     version: {1, 0}
   },
   requests: {[], []},
   scheme_as_string: "http",
   socket: #Port<0.7>,
   state: :open,
   transport: Mint.Core.Transport.TCP
 },
 [
   {:status, #Reference<0.2916372212.772538373.182667>, 200},
   {:headers, #Reference<0.2916372212.772538373.182667>,
    [
      {"server", "HTTPD"},
      {"pragma", "no-cache"},
      {"cache-control", "no-cache"},
      {"content-type", "image/jpeg"}
    ]}
 ]}

it says content type image jpeg but I am not sure where the data is, but return type is jpeg

closing this to add a new one.


[sw, testing] Add Inverted() function in mock_mmio.h

Closes https://github.com/lowRISC/opentitan/issues/3847
Hello, newcomer here interested in contributing :)
The new function should be used in dif_rstmgr_unittest.cc instead of bitfield_bit32_write() right ? Should that be included in this PR ?

Hi @Yetizone!  Thanks for the PR! I'm going to tag @silvestrst and @mcy who have a better idea what they want here.
One thing that I'm sure they'll want is a doc comment about how this is expected to be used - and we like CI to pass too 😄.
If you want to move dif_rstmgr_unittest.cc to use this, you can either do that in the same commit, or add another commit to this PR - we merge PRs by rebasing, so each commit (and its message) will be added onto master when merged. If you want to amend commits while working on the PR, force-pushing to your own branch is the way to do so.

I've been trying to do the Build Software step on my machine in order to verify if I fixed the build errors locally before pushing, but I'm having a problem.
I've followed the steps here to install the lowRISC toolchain in the default location /tools/riscv but I'm getting this error when running ./meson_init.sh -f :
meson.build:5:0: ERROR: Unknown compiler(s): [['/tools/riscv/bin/riscv32-unknown-elf-clang']]
Additional details:

I've checked if the /tools/riscv/bin/riscv32-unknown-elf-clang file exists and it's there, it's a link to clang, which I have installed.
I'm using Ubuntu 20.04

It might be worth trying to run /tools/riscv/bin/riscv32-unknown-elf-clang --version, to make sure that the symlink works properly.

Indeed, running that did actually result in an error and installing the package suggested in this post fixed it and ./meson_init.sh seems to work fine now.
Thanks for the suggestion! :)

Alright, now I'm able to build the software locally so I can catch build errors from now on.
I've pushed just now changes which add an example use case for the new function in a separate commit. The use case was inspired from the comments in this pr here.
The suggested solution in the original issue confused me a bit because it states that "Inverted() should take what LeInt() normally does", which if I understand correctly should be a string literal, but in the use case I don't know how to express (1 << some_value) with string literals.

I've re-written the changes here as per @silvestrst 's suggestions.
I see the CI is stuck, but I noticed many of the other recent PRs have the CI stuck at the same step, so I'm thinking it's not the fault of the patch :)

I've finished applying everyone's suggestions and updated the changes!
Let me know if there's anything else that needs to be done :)

@mcy could you please have a look?

@mcy could you please have a look?

@gkelly @mcy This PR has been around for a while now. Can you please have a look and merge or give feedback as appropriate?

Hi @mcy, gentle ping. Do you have any concerns with this PR?


merge from arlac77/template-github-action,arlac77/template-kronos-component

package.json

chore(deps): add ^3.10.1 remove ^3.10.0 (devDependencies.ava)

Codecov Report

Merging #1063 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1063   +/-   ##
=======================================
  Coverage   89.00%   89.00%
=======================================
  Files           7        7
  Lines         700      700
  Branches       75       75
=======================================
  Hits          623      623
  Misses         77       77

Continue to review full report at Codecov.

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


Are the following operations supported?

http://<IP_ADDRESS>:3000/api?id=6
How does this URL get the request parameters?

Hi. I tried something like this on my own and now i tried your solution and for both attempts i get an error when using the UI to get.
invalid type: map, expected option
I also notice that the query params specified in the get_products do not show up in the swagger UI docs. and cannot be entered for testing into the openapi UI.


Models are out of date with the new pydantic modeling paradigm from pydantic 2.0

Seems like this is still using the old implementation of Config for pydantic. For example:
class RefreshToken(RefreshTokenUpdate):
    class Config:
        from_attributes = True

Should now be re-written as:
from pydantic import ConfigDict

class RefreshToken(RefreshTokenUpdate):

    model_config = ConfigDict(from_attributes=True)

I believe you should be able to use Bump Pydantic to get a lot of these things fixed with minimal work

Thanks for highlighting this issue @sammaphey.
We've gone ahead and captured this in a JIRA ticket, where you can track its' progress.
Feel free to open a PR related to the issue and we will happily review it any time.

Marking issue as "fixed" with introduction of PR: #29