Taluka many-to-many HealthBlock

Location mapping of Talukas and Blocks is one to many (slide 5 in the attached ppt).

In other words, one health block can be mapped to multiple talukas and one taluka can be mapped to multiple health blocks. In addition, one village can be mapped to multiple sub-centers, and one PHC can be mapped to multiple CHCs.
According to the MCTS team at MoHFW, they shared the MCTS location master data sheet with GF many months ago (I remember being in a meeting with Pankaj, Rajat C and Suparna in January I think when we asked MoHFW to send us the location master data sheet).
Did you ever get the MCTS Master Location Data sheet? Because according to the MCTS team, it clearly shows the one to many location mapping relationship between blocks and talukas and villages and sub-centers and PHCs and CHCs.
I have not attended any of the many meetings with the MCTS team since that initial meeting in Jan - but it seems that this may not have been discussed.
In addition, when you look at the fields that Aricent has highlighted in yellow on slide 7, which Aricent said were not necessary, you will see that these are the location mapping fields that handle the one to many mapping of blocks to talukas, sub-centers to villages and PHCs to CHCs.
The MCTS team didn't understand why we wouldn't want these fields, since they are required for the one to many mapping.
At any rate, it looks like we will have to change the mapping logic in Motech if we want to get any data below the district level into the DB. And clearly this will have an impact on the design of Pentaho...

MCTS Data concerns v0.2.pptx

So, should the object model be something like:
Class District {
   ...
   Set<Taluka> talukas,
   Set<HealthBlock> healthBlocks,
   ...
}

Class Taluka {
   ...
   District district,
   Set<HealthBlock> healthBlocks,
   ...
}

Class Set<HealthBlock> {
   ...
   District district,
   Set<Taluka> talukas,
   ...
}

This drive folder has the schemas:
https://drive.google.com/drive/u/1/folders/0B6TZ7g-U-3SdfmpQSVJvaHc5MnNlR1Vob0NrZFBHbmVOVzk2RWkyTzFSQUxZdklCVHo5S2s
I'm assuming we should ignore the Taluka Code (T_Code) in the HealthBlock table and instead use 'HealthBlock_Taluka_Mapping_Master'

We need to verify that if we delete
    @Field
    @Column(allowsNull = "false")
    @NotNull
    @JsonBackReference
    private Taluka taluka;

From HealthBlock.java and replace it with
    @Field
    @JsonBackReference
    private List<Taluka> talukas;

and change this in Taluka.java
    @Field
    @Cascade(delete = true)
    @Persistent(mappedBy = "taluka", defaultFetchGroup = "true")
    @JsonManagedReference
    private List<HealthBlock> healthBlocks;

to
    @Field
    @Cascade(delete = true)
    @Persistent(table = "nms_talukas_join_health_blocks", mappedBy = "talukas", defaultFetchGroup = "true")
    @Join(column = "taluka_id")
    @Element(column = "healthblock_id")
    @JsonManagedReference
    private List<HealthBlock> healthBlocks;

That MDS will delete the old one to many join column and create the join table.  We'll then have to add a new import that takes the Taluka HealthBlock mapping file and have it populate the joined fields.  That file will have to be imported after all the other data is imported.
We'll also have to update the validation code since currently it isn't valid to have  HealthBlock that isn't related to a Taluka.  That check will have to be removed.

We'll also have to make sure (if we don't already) that it's ok to import
MCTS beneficiaries with location data that doesn't exist in the database.
At MCTS today they explained that they would have new location info daily
and that the new beneficiaries would be tagged with this location data.
So we should be able to import a beneficiary from a Taluka (or possibly any
other location type) that doesn't exist (yet) in our system.
On Wed, Oct 14, 2015 at 9:52 AM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

We need to verify that if we delete
@Field
@Column(allowsNull = "false")
@NotNull
@JsonBackReference
private Taluka taluka;

From HealthBlock.java and replace it with
@Field
@JsonBackReference
private List<Taluka> talukas;

and change this in Taluka.java
@Field
@Cascade(delete = true)
@Persistent(mappedBy = "taluka", defaultFetchGroup = "true")
@JsonManagedReference
private List<HealthBlock> healthBlocks;

to
@Field
@Cascade(delete = true)
@Persistent(table = "nms_talukas_join_health_blocks", mappedBy = "talukas", defaultFetchGroup = "true")
@Join(column = "taluka_id")
@Element(column = "healthblock_id")
@JsonManagedReference
private List<HealthBlock> healthBlocks;

That MDS will delete the old one to many join column and create the join
table. We'll then have to add a new import that takes the Taluka
HealthBlock mapping file and have it populate the joined fields. That file
will have to be imported after all the other data is imported.
We'll also have to update the validation code since currently it isn't
valid to have HealthBlock that isn't related to a Taluka. That check will
have to be removed.
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/595#issuecomment-148114421
.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201

I'm not sure about that one.  Currently we will reject them.  We can import
them but not any location level below the not yet imported data, as long as
state and district are correct.  Later that information can be updated if
needed.
That field is a foriegn relationship in the system.  So we would have to
drop that rule and I think that could allow for all sorts of bad data
(since the source isn't really clean)
On Wed, Oct 14, 2015 at 10:06 AM, Frank Huster<EMAIL_ADDRESS>wrote:

We'll also have to make sure (if we don't already) that it's ok to import
MCTS beneficiaries with location data that doesn't exist in the database.
At MCTS today they explained that they would have new location info daily
and that the new beneficiaries would be tagged with this location data.
So we should be able to import a beneficiary from a Taluka (or possibly any
other location type) that doesn't exist (yet) in our system.
On Wed, Oct 14, 2015 at 9:52 AM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

We need to verify that if we delete
@Field
@Column(allowsNull = "false")
@NotNull
@JsonBackReference
private Taluka taluka;
From HealthBlock.java and replace it with
@Field
@JsonBackReference
private List talukas;
and change this in Taluka.java
@Field
@Cascade(delete = true)
@Persistent(mappedBy = "taluka", defaultFetchGroup = "true")
@JsonManagedReference
private List healthBlocks;
to
@Field
@Cascade(delete = true)
@Persistent(table = "nms_talukas_join_health_blocks", mappedBy =
"talukas", defaultFetchGroup = "true")
@Join(column = "taluka_id")
@Element(column = "healthblock_id")
@JsonManagedReference
private List healthBlocks;
That MDS will delete the old one to many join column and create the join
table. We'll then have to add a new import that takes the Taluka
HealthBlock mapping file and have it populate the joined fields. That
file
will have to be imported after all the other data is imported.
We'll also have to update the validation code since currently it isn't
valid to have HealthBlock that isn't related to a Taluka. That check will
have to be removed.
—
Reply to this email directly or view it on GitHub
<
https://github.com/motech-implementations/mim/issues/595#issuecomment-148114421
.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/595#issuecomment-148119751
.

Yeah, I was thinking dropping the checks might even make the MCTS import a
bit faster ;-)
So I guess the important question would be what do we do for people who
come in with district IDs we don't know.
Should we run that by BBC?
On Wed, Oct 14, 2015 at 10:16 AM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

I'm not sure about that one. Currently we will reject them. We can import
them but not any location level below the not yet imported data, as long as
state and district are correct. Later that information can be updated if
needed.
That field is a foriegn relationship in the system. So we would have to
drop that rule and I think that could allow for all sorts of bad data
(since the source isn't really clean)
On Wed, Oct 14, 2015 at 10:06 AM, Frank Huster<EMAIL_ADDRESS>wrote:

We'll also have to make sure (if we don't already) that it's ok to import
MCTS beneficiaries with location data that doesn't exist in the database.
At MCTS today they explained that they would have new location info daily
and that the new beneficiaries would be tagged with this location data.
So we should be able to import a beneficiary from a Taluka (or possibly
any
other location type) that doesn't exist (yet) in our system.
On Wed, Oct 14, 2015 at 9:52 AM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

We need to verify that if we delete
@Field
@Column(allowsNull = "false")
@NotNull
@JsonBackReference
private Taluka taluka;
From HealthBlock.java and replace it with
@Field
@JsonBackReference
private List talukas;
and change this in Taluka.java
@Field
@Cascade(delete = true)
@Persistent(mappedBy = "taluka", defaultFetchGroup = "true")
@JsonManagedReference
private List healthBlocks;
to
@Field
@Cascade(delete = true)
@Persistent(table = "nms_talukas_join_health_blocks", mappedBy =
"talukas", defaultFetchGroup = "true")
@Join(column = "taluka_id")
@Element(column = "healthblock_id")
@JsonManagedReference
private List healthBlocks;
That MDS will delete the old one to many join column and create the
join
table. We'll then have to add a new import that takes the Taluka
HealthBlock mapping file and have it populate the joined fields. That
file
will have to be imported after all the other data is imported.
We'll also have to update the validation code since currently it isn't
valid to have HealthBlock that isn't related to a Taluka. That check
will
have to be removed.
—
Reply to this email directly or view it on GitHub
<

https://github.com/motech-implementations/mim/issues/595#issuecomment-148114421

.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201
—
Reply to this email directly or view it on GitHub
<
https://github.com/motech-implementations/mim/issues/595#issuecomment-148119751

.

—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/595#issuecomment-148123057
.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201

How often does the location data come from mcts?  How often does the flw
and beneficiary data come in?  Also what changes can come in the location
update?  Just additions?  We don't even handle deletions.  Can one record
move to another parent in the hierarchy?  None of that was spec'd and I'm
not sure what the system behavior will be for those cases.
On Wed, Oct 14, 2015 at 5:18 PM, Frank Huster<EMAIL_ADDRESS>wrote:

Yeah, I was thinking dropping the checks might even make the MCTS import a
bit faster ;-)
So I guess the important question would be what do we do for people who
come in with district IDs we don't know.
Should we run that by BBC?
On Wed, Oct 14, 2015 at 10:16 AM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

I'm not sure about that one. Currently we will reject them. We can import
them but not any location level below the not yet imported data, as long
as
state and district are correct. Later that information can be updated if
needed.
That field is a foriegn relationship in the system. So we would have to
drop that rule and I think that could allow for all sorts of bad data
(since the source isn't really clean)
On Wed, Oct 14, 2015 at 10:06 AM, Frank Huster<EMAIL_ADDRESS>wrote:

We'll also have to make sure (if we don't already) that it's ok to
import
MCTS beneficiaries with location data that doesn't exist in the
database.
At MCTS today they explained that they would have new location info
daily
and that the new beneficiaries would be tagged with this location data.
So we should be able to import a beneficiary from a Taluka (or possibly
any
other location type) that doesn't exist (yet) in our system.
On Wed, Oct 14, 2015 at 9:52 AM, Rob LaRubbio <
<EMAIL_ADDRESS>wrote:

We need to verify that if we delete
@Field
@Column(allowsNull = "false")
@NotNull
@JsonBackReference
private Taluka taluka;
From HealthBlock.java and replace it with
@Field
@JsonBackReference
private List talukas;
and change this in Taluka.java
@Field
@Cascade(delete = true)
@Persistent(mappedBy = "taluka", defaultFetchGroup = "true")
@JsonManagedReference
private List healthBlocks;
to
@Field
@Cascade(delete = true)
@Persistent(table = "nms_talukas_join_health_blocks", mappedBy =
"talukas", defaultFetchGroup = "true")
@Join(column = "taluka_id")
@Element(column = "healthblock_id")
@JsonManagedReference
private List healthBlocks;
That MDS will delete the old one to many join column and create the
join
table. We'll then have to add a new import that takes the Taluka
HealthBlock mapping file and have it populate the joined fields. That
file
will have to be imported after all the other data is imported.
We'll also have to update the validation code since currently it
isn't
valid to have HealthBlock that isn't related to a Taluka. That check
will
have to be removed.
—
Reply to this email directly or view it on GitHub
<

https://github.com/motech-implementations/mim/issues/595#issuecomment-148114421

.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201
—
Reply to this email directly or view it on GitHub
<

https://github.com/motech-implementations/mim/issues/595#issuecomment-148119751

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/motech-implementations/mim/issues/595#issuecomment-148123057

.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/595#issuecomment-148239048
.

Both location & beneficiary data change daily.
Not sure about the master location data numbers, but for the recipients
it's in the thousands daily.
And I'm not sure if the location data attached to 'old' recipients already
in our system can be changed, but I think it can. (Kosh, remember?)
I guess we can live with that and ignore location changes on MCTS
beneficiary updates where the new location doesn't exist?
And yes, a location can suddenly have a new parent...
Dealing with regular master location updates (web services or file import)
is kind of a large amount of work that isn't part of what we're supposed to
do, right?
On Wed, Oct 14, 2015 at 5:28 PM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

How often does the location data come from mcts? How often does the flw
and beneficiary data come in? Also what changes can come in the location
update? Just additions? We don't even handle deletions. Can one record
move to another parent in the hierarchy? None of that was spec'd and I'm
not sure what the system behavior will be for those cases.
On Wed, Oct 14, 2015 at 5:18 PM, Frank Huster<EMAIL_ADDRESS>wrote:

Yeah, I was thinking dropping the checks might even make the MCTS import
a
bit faster ;-)
So I guess the important question would be what do we do for people who
come in with district IDs we don't know.
Should we run that by BBC?
On Wed, Oct 14, 2015 at 10:16 AM, Rob LaRubbio<EMAIL_ADDRESS>wrote:

I'm not sure about that one. Currently we will reject them. We can
import
them but not any location level below the not yet imported data, as
long
as
state and district are correct. Later that information can be updated
if
needed.
That field is a foriegn relationship in the system. So we would have to
drop that rule and I think that could allow for all sorts of bad data
(since the source isn't really clean)
On Wed, Oct 14, 2015 at 10:06 AM, Frank Huster <
<EMAIL_ADDRESS>wrote:

We'll also have to make sure (if we don't already) that it's ok to
import
MCTS beneficiaries with location data that doesn't exist in the
database.
At MCTS today they explained that they would have new location info
daily
and that the new beneficiaries would be tagged with this location
data.
So we should be able to import a beneficiary from a Taluka (or
possibly
any
other location type) that doesn't exist (yet) in our system.
On Wed, Oct 14, 2015 at 9:52 AM, Rob LaRubbio <
<EMAIL_ADDRESS>wrote:

We need to verify that if we delete
@Field
@Column(allowsNull = "false")
@NotNull
@JsonBackReference
private Taluka taluka;
From HealthBlock.java and replace it with
@Field
@JsonBackReference
private List talukas;
and change this in Taluka.java
@Field
@Cascade(delete = true)
@Persistent(mappedBy = "taluka", defaultFetchGroup = "true")
@JsonManagedReference
private List healthBlocks;
to
@Field
@Cascade(delete = true)
@Persistent(table = "nms_talukas_join_health_blocks", mappedBy =
"talukas", defaultFetchGroup = "true")
@Join(column = "taluka_id")
@Element(column = "healthblock_id")
@JsonManagedReference
private List healthBlocks;
That MDS will delete the old one to many join column and create the
join
table. We'll then have to add a new import that takes the Taluka
HealthBlock mapping file and have it populate the joined fields.
That
file
will have to be imported after all the other data is imported.
We'll also have to update the validation code since currently it
isn't
valid to have HealthBlock that isn't related to a Taluka. That
check
will
have to be removed.
—
Reply to this email directly or view it on GitHub
<

https://github.com/motech-implementations/mim/issues/595#issuecomment-148114421

.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201
—
Reply to this email directly or view it on GitHub
<

https://github.com/motech-implementations/mim/issues/595#issuecomment-148119751

.

—
Reply to this email directly or view it on GitHub
<

https://github.com/motech-implementations/mim/issues/595#issuecomment-148123057

.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201
—
Reply to this email directly or view it on GitHub
<
https://github.com/motech-implementations/mim/issues/595#issuecomment-148239048

.

—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/595#issuecomment-148240304
.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201


Hamlit upgraded to ~> 2.0.0

A lot of speedup improvements: https://github.com/k0kubun/hamlit/pull/43

@dclarizio Please review

@skateman do you have any numbers as to how much faster/memory improvements?  Is it possible to render some of our larger haml templates before/after?
Do we have adequate test coverage of our use of haml?
I'm concerned by the breaking changes listed above, how is our test coverage of these changes?

@skateman Please rebase and push again

@dclarizio please review


404 to install openCV 4 on Nano

This one works
https://pysource.com/2019/08/26/install-opencv-4-1-on-nvidia-jetson-nano/

Thanks for pointing out. You are welcome to file a pull request regarding the issue.


Allow puppetlabs/concat 6.x, puppetlabs/stdlib 6.x

Can you avoid to switch the order of module ? Or any reason for this switch ?
I like to sort modules in alphabetically order for a better overview. Some modules have a huge list of dependencies.

Ah yes ! Good reason for reordering.
What requires to increase the minimal version for concat ?

@Dan33l Not really. I just used one of @alexjfisher pull requests as boilerplate to introduce some kind of standard for lower boundaries. This version of puppetlabs/concat for example introduced support for Debian 9.

@dhoppe i don't know if we have a rule about minimal value requirement.
I my opinion, the lower limit should be moved only when it is required because something does not work.
Since we have acceptance tests on this module, i would prefer to keep unchanged the current minimal version. But i am also fine enough to bump the minimal version.

@bastelfreak What is your opinion on this topic? I changed the lower boundaries for a lot of modules:

https://github.com/pulls?utf8=✓&q=is%3Aopen+is%3Apr+user%3Avoxpupuli+archived%3Afalse+sort%3Acreated-asc+author%3Adhoppe+

I dont care about the ordering, I just try to keep the diff small and I am too lazy reorder dependencies.

the minimal version should only be bumped if this there is a reason for it (puppet5/6 support, debian 9 support....). But in that case we need to update the PR title and mark it as backwards-incompatible.

I'm not in favour of making major releases over something so trivial.  We've already dropped puppet 4 support (with a major version bump) and concat doesn't support puppet 5 until version 4.1.0.  As such, you couldn't consider bumping of the minimum concat version as a bugfix/cosmetic change.

@alexjfisher I agree, but some told me that I need to label the pull requests as backwards-incompatible.
I have made ~20 pull requests of this kind and it is no fun to change them every time someone makes a statement. :(

I agree with @alexjfisher here. I think the bug label makes more sense here instead of backwards-incompatible. Anybody has a different opinion?

My primary trouble is we mix two changes:

a maintenance update
a bugfix.

But finally, i am fine enough if we change the title of PR and add bug label.


migrate ci to github actions

Asked whether it is ok to migrate to GH actions in https://github.com/expressjs/discussions/issues/229
If we do migrate. I imagine we will need to remove the project from travis
The new ci action  and README.md changes are based on the respective files in cookie repository

Action passing https://github.com/carpasse/methods/actions/runs/8810935553

Great work @carpasse! :partying_face: The pipeline is working as expected https://github.com/jshttp/methods/actions/runs/8874996852


support new citation markup

From https://github.com/AmerMathSoc/texml/issues/183#issuecomment-2138103604
<cite-group>
    <x>[</x>
    <xref ref-type="bibr" rid="bibr-AEG0" specific-use="cite">AEG08<cite-detail><x>, </x>Section 5</cite-detail></xref>
    <x>; </x>
    <xref ref-type="bibr" rid="bibr-AEG0" specific-use="cite">AEG08</xref>
    <x>]</x>
</cite-group>

(Note: added whitespace just for clarity here.)

I think I might just copy them. They currently won't have attributes on them and (right now) I can't see a reason why they would ever get attributes.

By "them", I mean cite-group and cite-detail - both are valid (custom) html tag names.

I'm weirdly stumped by handling of x and how it will change (cf. https://github.com/AmerMathSoc/texml/issues/183#issuecomment-2142472958).
Maybe it's time to move this hacky bit downstream now.

Since this is a breaking change either way, we might as well.

Ah, finally got it. I don't think this has to be a breaking change. But I've created #445 to remember.


Incorrect routing when UpstreamHost is specified and UpstreamHttpMethod is empty

Expected Behavior
When a reroute rule specifies UpstreamHost, it should only match requests with that host name. There's a bug where this check is ignored if the rule has an empty or null UpstreamHttpMethod
Actual Behavior
UpstreamHost is ignored
Specifications

Version: 7.0.5
Platform: all

I will submit a PR shortly that addresses this.

@davidni at first glance I agree! This looks good. Let me double check by pulling your code and seeing if I get a failing test!

Please double check, thanks. FWIW, I added a test and confirmed it fails before my changes and passes after.

@davidni really appreciate your help! Thanks 😄

Released in 7.0.6


feat: allow custom SSE host

init options now take a separate sseHost to let users select a different host for the live connection. This is in addition the existing host option. Both of these are useful for proxying.

Thanks!


Drawing Image in XAML file

In wpf I was able to create Image.soure as a drawinImage, which is not available in WinUI. I like to draw path with a brush in XAML.
for example
 <GeometryDrawing Brush="#EBEBEB" Geometry="M71.2,6.1 C71.1,6.1,70.9,6.1,70.8,6.1 L70.8,9.2 C70.9,9.2,71,9.2,71.2,9.2 L101.3,9.2 L101.3,6.1 L71.2,6.1Z" />

I wish I should be able to create Image in only XAML file.

I'm not familiar with drawinImage. Is this supposed to be drawingImage?  @MikeHillberg @codendone FYI

Thank you, my friend.
Over the years I became expert of XAML, so I created an image only using XAML. It does not have to be WPF, but any system where I could draw any path in an image.
Have a look this application.
I saw an application (MFC) where user displayed 3D model. How that can be done. I have many 3D Models and I would like to display with WinUI.
Best regards
Agha Khan
(206) 619-2097

From: Stephen L Peters @.>
Sent: Monday, April 5, 2021 4:33 PM
To: microsoft/microsoft-ui-xaml @.>
Cc: AghaKhan @.>; Author @.>
Subject: Re: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
I'm not familiar with drawinImage. Is this supposed to be drawingImage? @MikeHillberghttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMikeHillberg&data=04|01||f13db5b1fddb4ccb032d08d8f88b3556|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532624059457980|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=nJ0enUAsZZMRuf9WGg09Lh8JIz93rLSD1Gm7J44YrI8%3D&reserved=0 @codendonehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcodendone&data=04|01||f13db5b1fddb4ccb032d08d8f88b3556|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532624059457980|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NdCI0hV3m0tMQTK%2F9etK8349H%2F7Ca770dvu9OBdPRTw%3D&reserved=0 FYI
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmicrosoft-ui-xaml%2Fissues%2F4746%23issuecomment-813708981&data=04|01||f13db5b1fddb4ccb032d08d8f88b3556|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532624059467937|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=22DEoSz%2BPtxq2uiuIhHKEarHk20gvQJTI2SapvNhWPI%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABISNWYRFIXEN2ZLQQJHWI3THJCEJANCNFSM42NRWLEA&data=04|01||f13db5b1fddb4ccb032d08d8f88b3556|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532624059467937|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fmkWS3pcfBEx5bS9Tj0MrhRa7jSn74ETW2Hcq447iLM%3D&reserved=0.

Hey @AghaKhan, doesn't the Path shape and the Geometry classes fit your needs?
Here's a link to the docs with the path shape.
The DrawingImage as in WPF is not supported by WinUI. See also this issue in the WindowsCompositionSamples.

Thank you for your reply.
I understand that DrawingImage as in WPF is not supported by WinUI.
Bust I was not asking for DrawingImage.
Now in dynamic chart (chart will be an image) we have to draw complex shape where one of them is a path. In WPF and even in SVG image we are using mini language to draw various shapes. How this can be done in WinUI?
Now suppose I am porting some other application to WinUI, (Could be WPF, or SVG) where mini language is used then how I will able to import such application. The mini language is universal and Microsoft must include in WinUi, else I do not see any future of WinUI.
Have you worked with Win2D? Win2D does support mini language and it is Microsoft project!
The solution you are proposing is no correct, because (as I tried to translate mini language) to  Draw shapes is not correct because some shapes are missing unless I write myself. Also realized when I translate the code swells and become a single line of code to multipage pages code.
There must be native solution.
I can send you many examples.
Best regards
Agha Khan
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Thomas Claudius @.>
Sent: Thursday, April 8, 2021 3:50 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
Hey @AghaKhanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAghaKhan&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191701600|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Pt1%2FkPWR4MusEvcMfE%2BbxzEQxKZAR7ZC8OkkAgeGhWU%3D&reserved=0, doesn't the Path shape and the Geometry classes fit your needs?
Here's a link to the docs with the path shapehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fuwp%2Fdesign%2Fcontrols-and-patterns%2Fshapes&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191711556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wSWXATGeBI98zMFT5syjdQAZhJfrenGtI11T9B6pECM%3D&reserved=0.
The DrawingImage as in WPF is not supported by WinUI. See also this issuehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindowsCompositionSamples%2Fissues%2F16&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191711556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=qX%2Fy1K%2B7RQjkWowlY%2BpLTJkURYd%2FIP4Js3sDVMqekss%3D&reserved=0 in the WindowsCompositionSamples.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmicrosoft-ui-xaml%2Fissues%2F4746%23issuecomment-815661073&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191711556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=EIAelJnDQkyVFXPiE3NXDurmTZuXNEt2wvvURIOimLo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABISNW7DSDQJKXS5GKORA2DTHWC6TANCNFSM42NRWLEA&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191721513|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=uBck%2FFPY3u1RbGITq59966NY57TQHi5qHS7Z88cnL5M%3D&reserved=0.

Hi:
I just looked and found out that WinUI does support mini language.
For example

But that is not an image, where I was looking how I could create an image with mini language.
Best regards
Agha Khan
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Agha @.>
Sent: Thursday, April 8, 2021 9:13 AM
To: @.>
Subject: RE: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
Thank you for your reply.
I understand that DrawingImage as in WPF is not supported by WinUI.
Bust I was not asking for DrawingImage.
Now in dynamic chart (chart will be an image) we have to draw complex shape where one of them is a path. In WPF and even in SVG image we are using mini language to draw various shapes. How this can be done in WinUI?
Now suppose I am porting some other application to WinUI, (Could be WPF, or SVG) where mini language is used then how I will able to import such application. The mini language is universal and Microsoft must include in WinUi, else I do not see any future of WinUI.
Have you worked with Win2D? Win2D does support mini language and it is Microsoft project!
The solution you are proposing is no correct, because (as I tried to translate mini language) to  Draw shapes is not correct because some shapes are missing unless I write myself. Also realized when I translate the code swells and become a single line of code to multipage pages code.
There must be native solution.
I can send you many examples.
Best regards
Agha Khan
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Thomas Claudius @.>
Sent: Thursday, April 8, 2021 3:50 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
Hey @AghaKhanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAghaKhan&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191701600|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Pt1%2FkPWR4MusEvcMfE%2BbxzEQxKZAR7ZC8OkkAgeGhWU%3D&reserved=0, doesn't the Path shape and the Geometry classes fit your needs?
Here's a link to the docs with the path shapehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fuwp%2Fdesign%2Fcontrols-and-patterns%2Fshapes&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191711556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wSWXATGeBI98zMFT5syjdQAZhJfrenGtI11T9B6pECM%3D&reserved=0.
The DrawingImage as in WPF is not supported by WinUI. See also this issuehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindowsCompositionSamples%2Fissues%2F16&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191711556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=qX%2Fy1K%2B7RQjkWowlY%2BpLTJkURYd%2FIP4Js3sDVMqekss%3D&reserved=0 in the WindowsCompositionSamples.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmicrosoft-ui-xaml%2Fissues%2F4746%23issuecomment-815661073&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191711556|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=EIAelJnDQkyVFXPiE3NXDurmTZuXNEt2wvvURIOimLo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABISNW7DSDQJKXS5GKORA2DTHWC6TANCNFSM42NRWLEA&data=04|01||b90bd072775346f48acb08d8fa7c1955|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637534758191721513|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=uBck%2FFPY3u1RbGITq59966NY57TQHi5qHS7Z88cnL5M%3D&reserved=0.

Hey @AghaKhan, yes, as I mentioned already, the Path shape and also Geometries support creating paths in XAML.
Regarding the image, you have different options in WinUI, like for example these:
a) Use Path shape, and if you need it as an Image source (I don't know why you want to do this), you could use RenderTargetBitmap.
b) Use SVG like you know and love it, and use SvgImageSource.
Both, RenderTargetBitmap and also SvgImageSource, can be assigned to the Source property of an Image

Thank you.
I was able to resolve my issue.
Once again, for showing new ways to achieve my objectives.
Best regards
Agha Khan
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Thomas Claudius @.>
Sent: Friday, April 9, 2021 1:17 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
Hey @AghaKhanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAghaKhan&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787448530|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hYtb5f%2FLygF8Iy%2Fi25UyPH4UFfs0gi5kPhpmrRaZR0w%3D&reserved=0, yes, as I mentioned already, the Path shape and also Geometries support creating paths in XAML.
Regarding the image, you have different options in WinUI, like for example these:
a) Use Path shape, and if you need it as an Image source (I don't know why you want to do this), you could use RenderTargetBitmaphttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fapi%2Fwindows.ui.xaml.media.imaging.rendertargetbitmap%3Fview%3Dwinrt-19041&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787458492|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yaG%2BKTuTKqBRsiuQW3b8dnf2FppVMxv5BR6bfalBgSQ%3D&reserved=0.
b) Use SVG like you know and love it, and use SvgImageSourcehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fapi%2Fwindows.ui.xaml.media.imaging.svgimagesource%3Fview%3Dwinrt-19041&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787458492|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=gBDlUhXVjCy0gSoz1hY7445ZTn4ht5IX9jyNg4JG77I%3D&reserved=0.
Both, RenderTargetBitmap and also SvgImageSource, can be assigned to the Source property of an Image
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmicrosoft-ui-xaml%2Fissues%2F4746%23issuecomment-816508171&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787458492|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=GxWRS%2BhOQD0s6XFr%2Fr5%2Bw31i2K37FNfrOHrulPIDu5Q%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABISNW7SIQGY6LTHUM2RSKDTH2Z3LANCNFSM42NRWLEA&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787468447|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=h3j9AdS5Ss4Pg8RN27kEnltV840Cd7DjKmOdg%2FHwxMA%3D&reserved=0.

Hi:
Is there any working sample using 3D model?
Best regards
Agha Khan
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Agha @.>
Sent: Friday, April 9, 2021 9:32 AM
To: @.>
Subject: RE: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
Thank you.
I was able to resolve my issue.
Once again, for showing new ways to achieve my objectives.
Best regards
Agha Khan
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Thomas Claudius @.>
Sent: Friday, April 9, 2021 1:17 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [microsoft/microsoft-ui-xaml] Drawing Image in XAML file (#4746)
Hey @AghaKhanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAghaKhan&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787448530|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hYtb5f%2FLygF8Iy%2Fi25UyPH4UFfs0gi5kPhpmrRaZR0w%3D&reserved=0, yes, as I mentioned already, the Path shape and also Geometries support creating paths in XAML.
Regarding the image, you have different options in WinUI, like for example these:
a) Use Path shape, and if you need it as an Image source (I don't know why you want to do this), you could use RenderTargetBitmaphttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fapi%2Fwindows.ui.xaml.media.imaging.rendertargetbitmap%3Fview%3Dwinrt-19041&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787458492|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yaG%2BKTuTKqBRsiuQW3b8dnf2FppVMxv5BR6bfalBgSQ%3D&reserved=0.
b) Use SVG like you know and love it, and use SvgImageSourcehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fuwp%2Fapi%2Fwindows.ui.xaml.media.imaging.svgimagesource%3Fview%3Dwinrt-19041&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787458492|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=gBDlUhXVjCy0gSoz1hY7445ZTn4ht5IX9jyNg4JG77I%3D&reserved=0.
Both, RenderTargetBitmap and also SvgImageSource, can be assigned to the Source property of an Image
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmicrosoft-ui-xaml%2Fissues%2F4746%23issuecomment-816508171&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787458492|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=GxWRS%2BhOQD0s6XFr%2Fr5%2Bw31i2K37FNfrOHrulPIDu5Q%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABISNW7SIQGY6LTHUM2RSKDTH2Z3LANCNFSM42NRWLEA&data=04|01||3732d61088de402ebd1e08d8fb2ffba2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637535530787468447|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=h3j9AdS5Ss4Pg8RN27kEnltV840Cd7DjKmOdg%2FHwxMA%3D&reserved=0.


STORM-3040: Improve scheduler performance

There are a lot of different scheduler improvements.  Mostly these are either caching, storing data in multiple ways so we can look it up quickly, and finally lazily sorting nodes in a rack only when it is needed, instead of all ahead of time.
I also added in performance tests.  They currently pass on travis, but I would like to hear from others on if this solution looks good or if there is a better way for us to do performance testing.

@revans2
In total, this is a good promotion direction.
So this promotion mainly focus on repetitive computation and some eagerly computed data structure, right?
What is the average promotion percentage when applied this patch?

@danny0405 In my tests TestResourceAwareScheduler.testLargeTopologiesCommon went from about 7 mins to about 7 seconds. For TestResourceAwareScheduler.testLargeTopologiesOnLargeClustersGras I don't have a before value because I killed it after an hour.  The after is about 7 seconds per topology, or about a min and a half.

@danny0405 @kishorvpatil With some recent changes to master my patch started to fail with some checkstyle issues.  I have rebased and fixed all of the issues.  Please take a look again, specifically the second commit and let me know.

Oh I forgot I also added back in something I messed up before and added back in anti-affinity to GRAS.

@revans2
I approve with you promotion totally.
The only concern are all kinds of cache we use here, now storm has many caches not just for scheduling. I just think if we can make a disk-storage-backend for all of such caches master needs. Disk cache has better fault-tolerance and is much cheeper than memory, but this is another promotion direction, and has nothing to do with this patch.
BTW: thx for your nice work.

@danny0405 I added in the comments about thread safety like you suggested.

@revans2
Thx for your work, the storm-core travis check still fails, we should fix that.

@danny0405 the failure is a known race condition around netty and is not related to this change.


AOS - Modify the Maximum Delay

This is:

Question

Specifications

AOS version: ^2.3.4
OS: Windows 11 22H2
Browser: Google Chrome

Expected Behavior

I am trying to develop an information site, and i am adding a part of the site dedicated to the resources of the informations, I have 10 resources and I want to animate them based on their index for example:
The first source will have 0 (data-aos-delay="400*index") delay, for the second 400 of delay and so on until reach 10.
Actual Behavior

The actual problem is that AOS allow a maximum of delay of 3000, and I was wondering if there is a way that allows you to change this maximum.

You can add custom delays through the following actions
body [data-aos-delay='4000'].aos-animate {
  transition-delay: 4000ms;
}

In fact, the author has built in this method, gradually increasing the built-in style from 50ms to 3000ms


Add Minimap /  Map Icon for the Cart while stationary

Is it possible to add a minimap / map icon for the cart? It could be visible if the cart is standing still and invisible while pulling the cart. So the endless search for lost carts ends.

This is a fantastic idea! I don't know exactly what would be involved in making this happen, I've not worked with the minimap before, but I'd love to get this implemented. Especially if the carts still 'fall off' randomly. Haven't heard more reports of that but it could still be possible

The same problem, I lost more than 3x of the trolleys, very complicated to find them because no marking on the map would be really essential.


in_app_purchase not fetching available products in iOS for live version. It works fine in both Sandbox and Testflight.

I have a subscription added and got approved in iOS. I am able to complete a purchase in sandbox as well as in Test Flight. But  in live version InAppPurchase.instance.queryProductDetails returns an empty list. I have seen multiple people reporting this issue. If anyone knows a solution to this, please help.

Hi @abinmittu, have you completed all the required setup steps in the appstore?
Do you get any errors in whatever monitoring system you're using?

Yes. I have completed all the required steps. I'm using version 3.0.7. I'm not sure if it is some issue from Apple's side. Because a lot of people are complaining in their developer forum (https://developer.apple.com/forums/thread/13324). Some said it will take 24-48 hours after the approval for IAP to show up.

How long has it been since the upload to the store?
I'm not sure this is an issue from the plugin because if it was an issue with the plugin, it probably wouldn't have worked in testflight or locally


nice work!

simple but effect and , 看了/跑了几个例子，感觉多多少少会在视频的运动幅度上有些许损失。amazing!

Thanks for your attention. And yes, over-smoothed motion is a side effect, which is discussed in the paper supplementary section C. You can change the filter parameters (e.g., from 'gaussian' to 'butterworth') to take a balance between temporal consistency and motion diversity.


fix crash app when item value is undefined

In my case, when I passed some data into the search data. I debug and see the app crash when item value is undefined.
So I add a null check condition. Please help to check.
Thanks @Kajanan02

Thank you for the PR this issue is not handled else part.So I made some changes and fixed this issue. Check our latest version 1.9.1 react-native-searchable-dropdown-kj


Fix fabfs into fabs for iOS 7

fabsf seems deprecated, I changed it into fabs

Nice one - thanks.


tgas with the same name and different links cannot display the problem list normally (v1.0.9)

Version: 1.0.8, 1.0.9 都必现
比如:
'ChatGPT' 问题 - DevWiki Q&A
https://qa.devwiki.net/tags/ChatGPT
'ChatGPT' 问题 - DevWiki Q&A
https://qa.devwiki.net/tags/chatgpt

无法通过tag 列表 显示 那4个问题.

This problem has been repeated through testing, and we will correct this problem

https://qa.devwiki.net/answer/api/v1/tags/page?page=1&page_size=20&query_cond=popular
Through the API query, it is found that chatgpt tag has two tags, one uppercase and one lowercase. In the historical version, we modified the tag rules once, so only part of the association questions will be shown in the tag list.

Tag 404 will be fixed in v1.1.0 so that duplicate tags can be removed to resolve the problem


mise constructs wrong download URL

Describe the bug
I run mise up. It wants to update Python and fails, complaining about the status 404 for the URL which does not look correct at all:
❯ MISE_VERBOSE=1 mise up
DEBUG ARGS: mise up
DEBUG EnvResults
DEBUG config: /usr/home/alexey/.config/mise/config.toml
DEBUG ls: "/home/alexey/.local/state/mise/hints"
DEBUG install_some_versions: python@latest
INFO<EMAIL_ADDRESS>                     install
DEBUG GET http://mise-versions.jdx.dev/python-precompiled-x86_64-unknown-freebsd-.gz
DEBUG starting new connection: http://mise-versions.jdx.dev/
DEBUG GET http://mise-versions.jdx.dev/python-precompiled-x86_64-unknown-freebsd-.gz 404 Not Found
DEBUG GET https://mise-versions.jdx.dev/python-precompiled-x86_64-unknown-freebsd-.gz
DEBUG starting new connection: https://mise-versions.jdx.dev/
DEBUG GET https://mise-versions.jdx.dev/python-precompiled-x86_64-unknown-freebsd-.gz 404 Not Found
Error:
   0: failed to install<EMAIL_ADDRESS>   1: HTTP status client error (404 Not Found) for url (https://mise-versions.jdx.dev/python-precompiled-x86_64-unknown-freebsd-.gz)

Location:
   /home/alexey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mise-2024.12.12/src/http.rs:72

Version:
   2024.12.12 freebsd-x64 (2024-12-17)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

To Reproduce
mise up
Expected behavior
mise does not fail.
mise doctor output
version: 2024.12.12 freebsd-x64 (2024-12-17)
activated: no
shims_on_path: yes

build_info:
  Target: x86_64-unknown-freebsd
  Features: DEFAULT, NATIVE_TLS
  Built: Tue, 17 Dec 2024 11:18:52 +0000
  Rust Version: rustc 1.83.0 (90b35a623 2024-11-26)
  Profile: release

shell:
  /usr/local/bin/bash
  GNU bash, version 5.2.37(0)-release (amd64-portbld-freebsd14.1)
  Copyright (C) 2022 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

  This is free software; you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

dirs:
  cache: ~/.cache/mise
  config: ~/.config/mise
  data: ~/.local/share/mise
  shims: ~/.local/share/mise/shims
  state: ~/.local/state/mise

config_files:
  /usr~/.config/mise/config.toml

backends:
  aqua
  asdf
  cargo
  core
  gem
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:
  pipx  https://github.com/yozachar/asdf-pipx.git#81cb547

toolset:
  [...]

path:
  [...]

env_vars:
  (none)

settings:
  experimental  true /usr~/.config/mise/config.toml

No problems found

Additional context
FreeBSD 14.2-RELEASE

Additional information: I have cargo-installed mise with --locked. Both 2024.12.12 and 2024.12.11 fail in the same way, `2024.12.10' successfully built Python 3.13.1.


repo add fails on a new helm setup without running update first

Blew away my helm setup and got myself a new binary et all but didn’t run update by accident
helm repo add deis https://github.com/deis/charts
[ERROR] Could not load /Users/helgi/.helm/config.yaml: open /Users/helgi/.helm/config.yaml: no such file or directory

This could show a bit nicer error message or just have certain actions run the eq of update if needed.

Yeah, we can definitely run helm doctor to fix the set up before failing this way.

This was fixed by #377. helm repo add does the right thing now.


Getting error with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I am using versions as below:
react: 16.3.2
react-trello: 2.1.4
styled-components: 4.0.3
Getting below error"
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of GlobalStyleComponent.

@suyogupatil try 2.2 release

@suyogupatil how it is going?


RUM-3180: Avoid crash when applicationContext is null

What does this PR do?
If applicationContext is null when performing createImageWireframe, then log the view to telemetry and return null from the method
Motivation
Fixes issue where a NPE crash was seen on applicationContext
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1864 (cf58dc5) into develop (659c865) will decrease coverage by 0.25%.
Report is 2 commits behind head on develop.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1864      +/-   ##
===========================================
- Coverage    83.72%   83.47%   -0.25%
===========================================
  Files          470      470
  Lines        16629    16603      -26
  Branches      2499     2495       -4
===========================================
- Hits         13922    13859      -63
- Misses        2042     2060      +18
- Partials       665      684      +19

Files
Coverage Δ

...adog/android/sessionreplay/SessionReplayPrivacy.kt
100.00% <100.00%> (ø)

...dog/android/sessionreplay/SessionReplayRecorder.kt
94.74% <100.00%> (ø)

...y/internal/recorder/base64/ImageWireframeHelper.kt
95.20% <100.00%> (+0.28%)
:arrow_up:

... and 23 files with indirect coverage changes


Typescript server: bad formatting for formatonkey if convertTabsToSpaces === false

Configure the format options so that convertTabsToSpaces = false.
Type  to insert a new line behind an indented }
Observe: the new line has tabs and spaces. The cursor sits between.

@dbaeumer can you send a PR

PR #2687 opened


Migrate mui from 5.3.0 to 5.11.14

Current Package
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.3.0",
"@mui/lab": "^5.0.0-alpha.65",
"@mui/material": "^5.3.0",
"@mui/styles": "^5.3.0",
"@mui/x-data-grid": "^5.2.2",

If you are new to react then the issue may not suitable for you

refer MUI for more information

Fixed in #290


Update nf-bcrypt-bcryptgenrandom.md

correcting support for flag on Vista. It is supported with SP2.

@lindakup : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@lindakup: I'm sorry - only the author of this article, @mikben, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Add descriptions to engine-only examples

We have some good engine-only examples. Some examples are self-explanatory, but some are hard to understand what they are showing, without reading through the code. It would be good to add some UI way to show a description of what the example is showing and how to use it.
For example, Component Properties loads an example of a box and some lights moving. It is not immediately obvious what the example is demonstrating without reading the code.

I wanted to have this many times before, thanks for creating the ticket.
Ideally it would be something rendered using html, to not pollute the example code with element components and similar, and it should handle hyperlinks as well. Something similar to https://threejs.org/examples/#webgl_animation_skinning_blending perhaps.


Use releases to determine latest / add --pre option

Much like pip itself, uses the mapping of releases to determine the
latest version.
Adds a --pre option akin to pip's that will include pre-release and
development versions (the old default). Defaults to False.

Great, thanks a lot!

@rvause I see that you're using the internal API from pip. This may be relevant for further development of pip-review. Could you refer to any documentation for those modules?

Yes, this change actually uses a vendor library API distributed with pip, packaging. Documentation here

You should probably depend directly on packaging (https://pypi.python.org/pypi/packaging) without relying on pip internal vendorized dependencies. Otherwise it'll break if/when pip change its internal structure.

Yeah, I'd agree with that. My original rationale for using the vendorised packaging library was to not add a dependency to pip-review and that, because of it's function, it would be safe to assume pip would not be missing.

Thanks for mentioning this, @b4stien. I will keep this in mind for a future improvement.
Although it might turn irrelevant if at some point I decide to reimplement pip-review on top of pip list -o, as somebody suggested somewhere else. It would be possible to remove a lot of code in that case, including any use of packaging. It would have the same drawback of relying on the presence of pip, but I think that's acceptable.


Users can update an existing saved filter

Currently, when a user saves a filter with the same name as a previously saved filter there end up being two filters with the exact same name. Then, when the user tries to delete one of them, they both get deleted.

:tada: This issue has been resolved in version 0.88.1 :tada:
The release is available on:

v0.88.1
GitHub release

Your semantic-release bot :package::rocket:


[WIP] PEAR-762 - Put context id in local storage

Description
Checklist

[x] Added proper unit tests
[x] Left proper TODO messages for any remaining tasks
[x] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

I want to understand something / something doesn't feel right:

incognito
verified localstorage and cookie doesn't have the context_id
make a cohort, save, e.g. "Eye"
verified localstorage and cookie now have the context_id
delete the context_id from cookie, then nuked the whole cookie for good measure
tried saving -- ran into cohort saving error
tried refreshing -- lost my "Eye" cohort
but the cookie now has the context_id

I would have thought that now that the cookie has the context_id, I should be able to retrieve my "Eye" cohort that was saved and also be able to modify "Eye".
I then made another cohort and saved that. Now I have 2 context_ids in the cookie. The "old"/"first" one has an expiration/max-age set to "Session".

Hi @wteouchicago, I see the issue you're describing. Not sure how it was working for me before but I've pushed a change that should fix the cookie not getting added to the requests. Could you test again when you get a chance?

very nice -- everything is working as expected and smoothly. 👍 I tried variations of deleting cookies, deleting the context_id from cookie or from localstorage and nothing was disrupted.


Add interrupt handler callback support

QuickJS supports an "interrupt handler" to allow JS execution to be stopped in case of e.g. Ctrl+C or timeouts. I've added support for it to the API. The type constraints on it are probably stricter than they need to be but this was sufficient for my purposes.

Needs a cargo fmt.


move sense2vec to an optional dependency

I feel like spaCy is still very much a relevant dependency to have, but sense2vec is a bit niche. Seems like a valid candidate to move to an optional dep.

Working on this now.


0.3.1

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/57248
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.3.1 -m "<description of version>" 36ff5f1e459dedcba94f26a56966bdcf53a0b617
git push origin v0.3.1

Also, note the warning: Version 0.3.1 skips over 0.3.0
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.


expose event or some trigger on disconnected!

Would be nice to be able to listen on node for disconnected event
(when we are using 'moleculer-web')
so we can do some custom logic in that case
and also some parameter in settings so when some node goes down then show this kind of respnses
instead of hanging request to specific action (this happens after we stop/kill some node)
would be nice also to check if node is down or not
before we call action
{
  "name": "ServiceNotFoundError",
  "message": "Service 'extra.hello' is not available!",
  "code": 501,
  "type": null,
  "data": {
    "action": "extra.hello"
  }
}

or
{
  "name": "NodeNotFoundError",
  "message": "Service 'extra.hello' on node 'server-1' is not available!",
  "code": 501,
  "type": null,
  "data": {
    "action": "extra.hello"
  }
}

yes we can use timeout but then it does not gives us a correct understanding what was happened
in case some node is disconnected
[TRANSIT] Node 'server-1' disconnected!

You can listen node disconnected right now. The node.disconnected or node.broker event is triggered (broken if not received heartbeat from node)
broker.createService(ApiGwService, {
	settings: {...},

	events: {
		"node.disconnected"(node) {
			this.logger.warn(`The ${node.id} node is disconnected!`);
		},
		"node.broken"(node) {
			this.logger.warn(`The ${node.id} node is broken!`);
		}
	},
})

In the next version I think I will merge these event to one.


Shorter variable names, IP addresss is identified with regex

Hey! I shortened some variable names (personal preference, feel free to leave out), and switched IP identification to be found with awk + regex instead of cut, allowing for better portability with other vpn providers.

Julia

Looks good to me! Thanks!


[i2c,dv] Confirm monitor changes in #21765 are not hiding degenerate behaviour

Description
Split out from #21887, as a checking component. The other issue can then be left to track a future refactoring.

I spent some time reviewing the changes to the i2c_if.sv in a8fd5a8c, 689a1632 and 06a7163c that this issue is referring to.
I don't believe there is a high likelihood of these changes hiding degenerate behaviour. To ensure that the DUT is driving exactly the specified delays for all of the configured timing parameters under all circumstances, this should really be implemented with a assertion-based protocol checker, allowing the monitor to focus on gathering transactions for functional checks. Many of the interface routine delays impose an upper or lower bound on some particular delay between sampling events, and often rely on being called at exactly the correct time to provide a workable check. These checks, while not necessarily incorrect, are brittle and provide weak guarantees for checking compliance.
These timing checks are difficult to write to be complete over all possible circumstances, as many implementations observe the parameters as upper and lower bounds of a particular bus configuration, and will function correctly so long as the bounds are not exceeded. To verify exact adherence to a particular configuration of parameters, the stimulus would need to be constrained so an exact set of checks apply. This should be somewhere we take the block DV in the future, hopefully as part of an assertion-based approach that contributes to #21887 .


parseTorrent.remote: set 30s timeout on http requests

So we don't wait forever for an http torrent link to download.

5.8.2


Could we add a ArrayIndex ?

I can see there are build in
listIndex
streamIndex
vectorIndex
But I have some case class using Array to with better with Java.
I have added my own one which works fine.
implicit def arrayIndex[A]: Index[Array[A], Int, A] = new Index[Array[A], Int, A] {
  def index(i: Int) = Optional[Array[A], A](
  l      => if(i < 0) None else l.drop(i).headOption)(

(a:A) => (l:Array[A]) => if(i < 0) l
else{
val cloned = l.clone()
cloned(i) =a
cloned
})
}
Let me know whether it's good idea. Thanks !

Hi @russellyou, monocle only supports immutable data structure.

Understand that.  Thanks @julien-truffaut
if we clone the Array before changing the element, could we treat it as effective immutable even the Array itself is mutable.
Not sure whether my case is special, for working with Java, many of my case class contain Array. It will be good to have a consistent way(lens) to access the deep embedded fields.
Thanks !

yes, if you clone it before changing the element it will be like an immutable array. It is completely fine that you use it this way but I don't think it is something that should be defined in monocle.

OK. Close this issue then.


MockedAuth0Provider for testing in jest

MockedAuth0Provider for testing
Hopefully this is an appropriate place to post this, but I've been banging my head against the wall for a few days now trying to find the best way to test my react app which is wrapped in the Auth0Provider The problem seems to be with the Auth0Client and some of the checks it does before initializing, mainly around validating that window.crypto exists. I've tried to mock out the Auth0Client similar to what is done in this repo in __mocks__/@auth0 however I still haven't been able to get around this error. Uncaught [Error: For security reasons, window.crypto is required to run auth0-spa-js.]   In my tests i have a custom render function that imports import { Auth0Provider } from "@auth0/auth0-react"; and returns:
 return <Auth0Provider clientId="__test_client_id__" domain="__test_domain__">
              <Provider store={store}>
                <MockedProvider mocks={[getUserMock, ...mocks]} addTypename={false}>
                  <UserProvider>{children}</UserProvider>
                </MockedProvider>
              </Provider>
            </Auth0Provider>

I've seen a few suggestions of people recommending to set a global window.crypto in setUpTests.js  but this still seems like it could be avoided with a mocked provider.
Describe the ideal solution
Have a MockedAuth0Provider that doesn't do the check for window.crypto or provide a way to pass a mocked Auth0Client as a prop to the Auth0Provider.
Alternatives and current work-arounds
The only current work around that I have seen is to define a crypto property on the window object.
I'm a React and Jest novice so if this isn't a valid request I apologize, but I've exhausted all the options that I could find to solve this problem. Any tips on how to get the Auth0Provider mocked out properly would be greatly appreciated.
Thanks

Hi @kcarra
You can mock the Auth0Provider using jest.mock, eg
import React from 'react';
import ReactDOM from 'react-dom';
import { Auth0Provider } from '@auth0/auth0-react';

jest.mock('@auth0/auth0-react', () => ({ Auth0Provider: ({ children }) => '
{children}
' }));

it('renders without crashing', () => {
  const div = document.createElement('div');
  ReactDOM.render(<Auth0Provider />, div);
});

Thank you very much @adamjmcgrath! This solved my problem, I ended up putting all the mocks for auth0 in the setupTests.js file
import "@testing-library/jest-dom/extend-expect";

jest.mock('@auth0/auth0-react', () => ({
  Auth0Provider: ({ children }) => children,
  withAuthenticationRequired: ((component, _) => component),
  useAuth0: () => {
    return {
      isLoading: false,
      user: { sub: "foobar" },
      isAuthenticated: true,
      loginWithRedirect: jest.fn()
    }
  }
}));

@adamjmcgrath How would you approach the exact same issue but in the context of Storybook? We need to mock the Auth0Provider and the useAuth0 hook in order to inject a fake connected user inside our stories. Right now we're unsure about the right way of doing it.

Hi @jgoux - I'm not familiar with Storybook, but it looks like you can mock providers in a similar way here https://storybook.js.org/docs/react/workflows/build-pages-with-storybook#mocking-providers

@adamjmcgrath The issue is that there is nothing to mock with the Auth0Provider as it builds the client internally. Mocking providers is working only when those contexts are used as a transport mecanism and the client is injected externally (like redux's store, or apollo's client).
I'll try to make it works using the import mocking and webpack aliases : https://storybook.js.org/docs/react/workflows/build-pages-with-storybook#mocking-imports

I think it'd be helpful if Auth0 shipped with a mock provider much like Apollo does. Using jest.mock in every test file is a lot of duplication. As far as I can tell, there's no way in jest to push that out to a helper method that gets called. Moreover, due to the way Jest hoists mocks, I can't see a way to test two different mocked responses within the same test file. Having to split component tests out into multiple files based on auth state is going to be rather annoying.
That leaves @kcarra's suggestion of using setupTests.ts. That addresses the duplication issue, but only works for a single auth state. Someone better versed with Jest can likely find a way to conditionally change the response based on some closed over state with external control. That might require running tests with --runInBand.
Having an official solution with accompanying documentation would be very helpful.

I'm doing this a little different, using auth0-nextjs, but it doesn't  which feels a little cleaner to me.
Create client.ts file in mocks, jest looks here automatically for mocked modules.

inside<EMAIL_ADDRESS>import { getAuth0User } from '@mocks/userMock'; // just a mocked user object

export const customUseUser = jest.fn(() => getAuth0User);
export const customAuth0Provider = ({ children }: { children: unknown }) => (

{children}

);
export * from '@auth0/nextjs-auth0/client';
export { customUseUser as useUser, customAuth0Provider as UserProvider };

Then in test-utils import UserProvider as usual.
import { UserProvider } from '@auth0/nextjs-auth0/client';


Error: unable to verify the first certificate

Hi!
Once the build is completed, I need to create a tag for the build. So I installed this extension into TFS in our company. I created a simple build definition only with the task of creating a tag (Tag Build). In build definition on the tab Options is enabled "Allow scripts to access OAuth token". When I run this build, the task "Tag Build" returne error:
"Error: unable to verify the first certificate".
Can you help me please with this issue?

This is likely similar to #94. Can you try the gist in there and let me know if that resolves your error?


Restore redirect binding support from passport-saml-too branch.

See https://github.com/bergie/passport-saml/commit/6f2087e2aa8f14953ec454e82e9882e28ba90da3, in which it was removed.
However, in order to restore this, will need to add signature verification support, which is not in the passport-saml-too code.

If anyone from this thread is still around and interested, #277 proposes to address this.

Considering this resolved by #277


Add IPv4 preference support

In our tests with Austrian time servers we often see that using IPv6 addresses results in much slower query times (consistently 10 seconds instead of ~4 with only IPv4).
This PR adds a new parameter to the Clock.sync call and NTPClient to allow the preference of IPv4 addresses if both IPv4 and IPv6 addresses are resolved.

Sorry for the delay, not a big fan of this. The way this is usually implemented (happy eye balls, etc) is to prioritize one over the other but not shut down one category. One solution could be to sort the dns results by preferred category and pick the result of the first N successful ones, regardless if they are ipv4 or 6.
could have a [.preferIPv6, .preferIPv4, .auto] sort of setting


Evaluate model on PR

When a PR includes changes to the notebook, display new model accuracy in the PR as a comment.
This is helpful as a demonstration of how datascientists can make life easier for reviewers; obvious jumping-off points would include blocking the PR if accuracy degrades. Also note caching of Python env in workflow.
@dmgardiner25 LMK your thoughts.
The check will fail below b/c I don't have sufficient persmissions to this repo (working sample here)

misguided .

Will review and merge asap... usage limit issues...
On Wed, 15 Feb 2023, 18:10 Theomegas1, @.***> wrote:

misguided .
—
Reply to this email directly, view it on GitHub
https://github.com/github/codespaces-jupyter/pull/34#issuecomment-1431306726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYGVWRNIDYFPN7NJKNUIAH3WXTFDLANCNFSM6AAAAAAU4HHVFI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your PR. Your workflow is a neat demo of how to track model performance over time, but that's not the focus of this repo. We need to keep this template as lightweight as possible for new Codespaces users.


Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig and JSHint)

Add JSHint and EditorConfig files as recommended in draft DEP 3.
This pull request is related to #4573 which adds JavaScript unit tests.  This pull request was split out of #4573 by request of @timgraham.

We also need documentation in /internals/contributing/writing-code/coding-style/ about the editorconfig file and instructions for running the JavaScript linter.

Hey @treyhunner, this is good PR. Can you tell me why not enforce single style on all JS files?

@oinopion we could enforce a common style on all files, but I would recommend not forcing third-party libraries to conform to a particular style (e.g. jQuery should use tabs because that's what they use).
I can try to determine which libraries are Django-specific and not third-party at this point and convert all of those to 4 spaces.  Thoughts on that?

I think it would be good to enforce a common style on all JS files that are part of Django.
And if it's not already easy to tell which are which, then we should probably reorganize (e.g. introduce a vendor/ dir) to make it clear.

@oinopion @carljm I converted all JS files except for jquery.js to use 4 spaces.  It seems that jquery.js is thee only file that is maintained outside of Django.

Thanks @treyhunner, awesome job :+1:
Big :+1: to @carljm suggestion of moving jquery to vendor.

@oinopion @timgraham I moved the jquery.js file. I'm not sure whether the location I moved it to is exactly what you had in mind.

@timgraham good point. I completely forgot to update the references to the jquery file.  I updated the file paths as well as a test (I can remove that change it it is unnecessary).

I added documentation for JavaScript code style as well as documentation for running the tests.  I can remove the documentation for running the tests and re-include it in #4573 after this is merged.

Could you make the jquery move a separate PR?

I removed the jQuery file changes and (moved those changes to #4827) and rebased onto master.

Excellent work.

The "Add documentation for running JavaScript tests" commit can be removed from this PR. I'll add the JavaScript build to Jenkins after merging this PR. You can squash commits when updating, thanks.

After running npm install there's a 'node_modules/" directory in the Django root. Should this be added to gitignore or dealt with in some other way?

@timgraham I removed the commit for JavaScript testing documentation.  I also added the node_modules directory to .gitignore.

Could you add a "JavaScript" note or section to coding-style.txt  that links to the new page and also squash commits?

@timgraham link added to coding-style.txt.  I think we should also add a link under the writing-code section, but that might be more fitting for the documentation in #4573.

I think it might also be appropriate to cross-link the section on JavaScript patches.  Should some of that information be moved into the new JavaScript style guide also?

Yes, I think moving that information to the new page would be fine.

I guess this is enough for 1 pull request. :-)
Could you squash commits when updating?

buildbot, test on selenium.

merged in ec4f219ecb7a5e43d0353633fac4dac42d0ee492, thanks!

Sorry I forgot to squash. Thanks for handling that @timgraham.


Remove Cognitive Services Anomaly Detector Node.js package

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5530
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5530/commits/b6ca30d14bff638a0fefcda52e6d831af933255e

Automation for azure-sdk-for-java

@sarangan12, Could you investigate Ruby failures? Thanks!

@sarangan12 can you please take a look?

@sarangan12 ping :)


ES6-ify contact importer

Issue Summary
Refactor the contact importer to make more use of ES6 standards

@mbernier, please review it.


Group Tabs

It would be nice to have the feature of grouping selected tabs, so that we can execute same command on all the tabs under the group at the same time.

Any update on this feature?


Automated cherry pick of #3473: Left nav free training

Cherry pick of #3473 on release-v3.13.
#3473: Switch to vanilla san-serif font

Deploy preview for calico ready!
Built with commit e94fe1f3d634ed3cfa4b90830de733209477e8e2
https://deploy-preview-3480--calico.netlify.app


Can not use js_serializable! from outside the create

When I try to use js_serializable! I get the following error:
error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
  --> src/lib.rs:45:1
   |
45 | js_serializable!(MyType);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate
   |
   = note: the impl does not reference any types defined in this crate
   = note: define and implement a trait or new type instead
   = note: this error originates in a macro outside of the current crate

The line is right below the type that I have defined so it should work. I don't know if there's something I can do to get a more precise error message as the macro expands quite a bit it's hare (at least for me) to pinpoint the error.
A bit OT, but I don't know where else to ask. Is it possible to pass values to JS without serializing them?

Oops!
I could have sworn it worked on an older Rust, but maybe not...? Nevertheless I've fixed it, so it should work properly now; feel free to grab newest master and try it out.
Anyway, thanks for the report!

A bit OT, but I don't know where else to ask. Is it possible to pass values to JS without serializing them?

Some values, yes. Anything complex (e.g. strings, structs, etc.) is out of the question, however if you'd want to pass an array of primitives (e.g. &[u32]) with as little overhead as possible then it is doable since JS can access Rust's "memory" as a typed array. (e.g. see src/webapi/typed_array.rs for a work-in-progress of such a thing)

... and also published to crates.io as 0.1.3.

Seems to work with a quick test. Thanks!

Some  values, yes. Anything complex (e.g. strings, structs, etc.) is out of  the question, however if you'd want to pass an array of primitives (e.g.  &[u32]) with as little overhead as possible then it is doable since JS can access Rust's "memory" as a typed array. (e.g. see src/webapi/typed_array.rs for a work-in-progress of such a thing)

I read up on emscripten and is far more lower level than I ever thought, kind of obvious in the hindsight but I somehow expected stuff to somehow magically already be JS objects. I will have to reevaluate my strategy a bit.


when i typed localhost:5000 on my browser it says "this site can't be reached" how can i start the local server and where can i get this local server

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/run
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Maybe your 5000 port is bussy. when you run the application it should shows you the port which application use

Are you starting the app with "dotnet run"? It should print the specific URL it binds to in console -- try using that instead of 5000.

Closing out due to lack of response; I hope you found a solution. Feel free to re-open with more information if you're still having an issue.


RE4 Steam Deck crash

The game crashes after getting into the menu, when you the game actually loads.  Was trying to use trainers with the game but it crashes with just the .dll file in the game directory.  Removing the .dll lets me get in-game with no issues.

try the latest build: https://github.com/praydog/REFramework-nightly/releases

you need this PR: https://github.com/praydog/REFramework/pull/688

Fixed in 7088ddb1f7924c3ed2afa90c2cfd2d7265ef6014
Download the latest build: https://github.com/praydog/REFramework-nightly/releases


hal_mtimer.c

There is a check in mtimer_get_time_us() that makes sure you don't overflow the lower register while reading the higher register, line 97 and 99 should switch places in order to get this behaivour. This is done correctly on line 60 in the same file
do {
tmpValLow = *(volatile uint32_t *)(CLIC_CTRL_ADDR + CLIC_MTIME);
tmpValHigh = *(volatile uint32_t *)(CLIC_CTRL_ADDR + CLIC_MTIME + 4);
tmpValHigh1 = *(volatile uint32_t *)(CLIC_CTRL_ADDR + CLIC_MTIME + 4);
} while (tmpValHigh != tmpValHigh1);
should become
do {
    tmpValHigh1 = *(volatile uint32_t *)(CLIC_CTRL_ADDR + CLIC_MTIME + 4);
    tmpValLow = *(volatile uint32_t *)(CLIC_CTRL_ADDR + CLIC_MTIME);
    tmpValHigh = *(volatile uint32_t *)(CLIC_CTRL_ADDR + CLIC_MTIME + 4);
} while (tmpValHigh != tmpValHigh1);

in both bl702 and bl602 hal drivers.

Thank you for pointing our, this will be fixed later.


[QUESTION] possible sheet names

Prerequisites
Versions

PHP version: 7.3.6
Laravel version: 5.7
Package version: 3.1

Question
isn't there a way of setting possible sheet names when importing?
Additional Information
something like possible column names

Something like this?
Selecting sheets by worksheet name

I mean something like this:
public function sheets(): array
    {
        return [
            'Worksheet 1'  ?? 'sheet1'=> new FirstSheetImport(),
            'Worksheet 2' ?? 'sheet2' => new SecondSheetImport(),
        ];
    }

I want to import the sheet by its name but I'm facing the issue that sometimes the sheet can have a different name, so it's why I thought that maybe I could set more than 1 name when importing the sheet.

If it's always the same order, you could use the index instead of the worksheet name.
Some other thoughts / references:
You may add all possible names and their imports, and use SkipsUnknownSheets
https://github.com/Maatwebsite/Laravel-Excel/issues/2200
https://github.com/Maatwebsite/Laravel-Excel/issues/2241

that's true I will use your second approach 'cause I'm using SkipsUnknownSheets, something like this:
 public function sheets(): array
    {
        return [
            'Worksheet 1' => new FirstSheetImport(),
            'sheet 1' => new FirstSheetImport(),
        ];
    }

I don't want to use the index because the order could vary as well, but this will solve my issue.
thank you so much for you help @GlennM


Versioning

It would be great to tag some versions.

Hi there! There is no need for this library. We won't be breaking compatibility without renaming the entire thing.


Company Communicator issue: fail to send messages to users

When I am sending messages to members of the M365 Group (5th option), message delivery to all users fails and I receive this error.
System.ArgumentException: 'serviceUrl' cannot be null or empty (Parameter 'serviceUrl')
   at Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.Teams.MessageService.SendMessageAsync(IMessageActivity message, String conversationId, String serviceUrl, Int32 maxAttempts, ILogger log) in C:\home\site\repository\Source\CompanyCommunicator.Common\Services\Teams\Messages\MessageService.cs:line 62
   at Microsoft.Teams.Apps.CompanyCommunicator.Send.Func.SendFunction.Run(String myQueueItem, Int32 deliveryCount, DateTime enqueuedTimeUtc, String messageId, ILogger log, ExecutionContext context) in C:\home\site\repository\Source\CompanyCommunicator.Send.Func\SendFunction.cs:line 176
Before this, I re-synced the App Service on Azure to resolve another error that says "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." And this is resolved successfully, now this is a new error. May I know how I can solve this issue?

Hi @githubclaw ,
Thanks for raising the query. Please repo URL and branch that has been during the template creation.
Here are the steps.
--Go to Azure Portal
-- Click on Resource Group
-- Under your subscription, select the resource group where deployment has been done
-- Please open the highlighted one. Screenshot has been shared for the reference

--Click on  Microsoft template

-- Then select inputs from left section where you can find the GitHub repo URL and Branch that are used. Please share them.

@gsv022  - Facing the same issue.

Could you please share the GitHub repo and branch. To check it please follow the above mentioned instructions. And share the screenshot for better troubleshooting.

the github repo: https://github.com/cristianoag/microsoft-teams-apps-company-communicator.git
the branch: master

@githubclaw ,
We had discussion with the team. Our support scope is very limited with the standard version as the area of code modification is not known to us for customized versions. We will not be able to provide much assistance on this issue as the deployed instance is a customized version. Please let us know if you have any issues with the standard version.
Hope you understand.

@githubclaw , We are closing the issue request. If there are any issues related to standard version of CC, please log a new issue. We are happy to assist.


Azure Static Webapps is not creating custom authentication

Describe the bug

Some well-known configurations are not correctly picked up for auth proxy creation.
Cannot provide it publicly, only in private, but it is a Keycloak OIDC config.
To Reproduce
Steps to reproduce the behavior:

Deploy the Azure SWA with staticwebapp.config.json like this:

{
  "routes": [
    {
      "route": "/*",
      "headers": {
        "Cache-Control": "no-store"
      }
    }
  ],
  "auth": {
    "identityProviders": {
      "customOpenIdConnectProviders": {
        "keycloak": {
          "registration": {
            "clientIdSettingName": "KEYCLOAK_CLIENT_ID",
            "clientCredential": {
              "clientSecretSettingName": "KEYCLOAK_CLIENT_SECRET"
            },
            "openIdConnectConfiguration": {
              "wellKnownOpenIdConfiguration": "<private keycloak valid well-known URL>"
            }
          },
          "login": {
            "nameClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
            "scopes": ["openid", "profile", "email"],
            "loginParameterNames": []
          }
        }
      }
    }
  },
  "globalHeaders": {
    "Access-Control-Allow-Origin": "*",
    "Access-Control-Allow-Methods": "GET, POST, PUT"
  }
}

KEYCLOAK_CLIENT_ID and KEYCLOAK_CLIENT_SECRET are correctly set up in Application Settings.
3. Wait for deploy to finish
4. Navigate to .auth/login/keycloak and see a 404 code

Expected behavior
Expected to see at least a login page from my keycloak provider
Screenshots
From diagnostics:

Additional context and possible hints
If I specify the separated auth, token, certs, issuer URLs, I can get a login page but the flows seems buggy and I can't get logged in in the end
I can provide my SWA URL, tenant and well-known URL for further details in DM
Thank you

@mkarmark is there any logs on your side we can check together during the deployment ?

Having the same issue as described above, only using Azure B2C instead of keycloak.

Any update on this? I'm facing the same issue... And today I can't even deploy a new Static Web App via anything!!! Getting 500 in both Azure Portal and az-cli :(

same error here , azure b2c auth integration doesn't seem to be working, I get a 401 error once the flow redirects or the callback happens.

Probably a very old issue, but I also did the configuration and getting the same 404 error.
Any pointers on what is wrong here... :(


conveniently switch between ui and none-ui implementation

In my GUI I'm providing a switch to the users to toggle between "Advanced Upload" and "Quick Upload".
The first simply stands for the "ui implementation" (fully loaded plugins), the latter should rather act as if   jquery.fileupload-ui.js and jquery.fileupload-ip.js have never been loaded and just gives standard feature implementation (none ui) which starts the upload process a soon as files are dropped on the browser w/o bothering the user with any lists, bars or buttons.
The problem is once the full set of files are loaded I can't manage jQuery-File-Upload to downgrade so it won't use any UI.
Any ideas
Thanks

You can use the following method to switch between widget versions:
// Switch to basic version:
$.widget('blueimp.fileupload', $.blueimp.fileupload, {});

// Switch to Image Processing version:
$.widget('blueimpIP.fileupload', $.blueimpIP.fileupload, {});

// Switch to UI version:
$.widget('blueimpUI.fileupload', $.blueimpUI.fileupload, {});

Or you could provide an alternative version with another widget name:
// Basic version:
$.widget('blueimp.fileupload', $.blueimp.fileupload, {});
// $('#fileupload').fileupload();

// Image Processing version:
$.widget('blueimp.fileuploadIP', $.blueimpIP.fileupload, {});
// $('#fileupload').fileuploadIP();

// UI version:
$.widget('blueimp.fileuploadUI', $.blueimpUI.fileupload, {});
// $('#fileupload').fileuploadUI();

For more information, please have a look at the jQuery UI widget factory documentation:
http://wiki.jqueryui.com/w/page/12138135/Widget-factory

This was quick. Thanks


Dock will shake while edit the TileMap

Godot version:
3.2 beta 2
OS/device including version:
Mac OS 10.15.1
Issue description:
While edit the TileMap(such as drag on TileMap to paint cells), the docks (the Inspector and the TileMap dock) on the right will shake.
Another issue:
Select a tile, and then hold down the control to remove tiles, then release the control, the selected tile will become empty.
Steps to reproduce:
1 add a tilemap
2 edit the tilemap like dragging to paint tiles
Minimal reproduction project:

Duplicate of #28135.


Replace all mentions of "targets" with "artifacts"

We want to use "targets" only in three cases:

the top-level metadata role
custom target delegation or targets bin role(s)
when we mention "target files"

This is necessary as currently, we make mistakes in our code which results in messages to the user referring to "artifacts" as "targets".
Signed-off-by: Martin Vrachev<EMAIL_ADDRESS>

Merging as breaking changes


🐛 [Bug] Shape analysis failure when encountered dynamic fallback

Bug Description
In dynamic fallback scenarios, the shape analysis will fail in generateRandomInputs phase.
Traceback (most recent call last):
  File "main.py", line 56, in <module>
    main()
  File "main.py", line 37, in main
    model = torch_tensorrt.compile(torch_script_module.half(), **compile_settings)
  File "/opt/conda/lib/python3.8/site-packages/torch_tensorrt/_compile.py", line 115, in compile
    return torch_tensorrt.ts.compile(ts_mod, inputs=inputs, enabled_precisions=enabled_precisions, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch_tensorrt/ts/_compiler.py", line 113, in compile
    compiled_cpp_mod = _C.compile_graph(module._c, _parse_compile_spec(spec))
RuntimeError: Trying to create tensor with negative dimension -1: [-1, 3, 224, 224]

To Reproduce
Run the following code.
import torch
import torch_tensorrt
import torchvision
import time

torch_tensorrt.logging.set_reportable_log_level(torch_tensorrt.logging.Level.Debug)

warmup_time = 10
test_time = 100
def main():
    torch.manual_seed(2022)
    im_rand = torch.rand((16, 3, 224, 224)).cuda()
    resnet_model = torchvision.models.resnet50()
    resnet_model = resnet_model.eval().cuda()
    torch_script_module = torch.jit.trace(resnet_model, (im_rand))
    # torch.jit.save(torch_script_module.half(), 'resnet18.pt')

    # torch_script_module = torch.jit.load('resnet.pt')
    input = torch.rand((32, 3, 224, 224)).cuda()
    ts_output = torch_script_module(input)
    print('result:', ts_output)

    compile_settings = {
        # "inputs": [input],
        "inputs": [torch_tensorrt.Input(
            min_shape=[1, 3, 224, 224],  # TODO: depends on the model size
            opt_shape=[32, 3, 224, 224],
            max_shape=[32, 3, 224, 224],
            # shape=[1, 3, 224, 224],
            dtype=torch.half,  # Datatype of input tensor. Allowed options torch.(float|half|int8|int32|bool)
        )],
        'torch_executed_ops': ['aten::adaptive_avg_pool2d'],
        "enabled_precisions": {torch.half}
    }

    print("Compile: FP16")
    model = torch_tensorrt.compile(torch_script_module.half(), **compile_settings)

    for i in range(warmup_time):
        trt_output = model(input.half())

    print("Compile: FP16")
    t1 = time.time()
    for i in range(test_time):
        trt_output = model(input.half())
    t2 = time.time()
    print('trt_output: ', trt_output)

    diff = abs(ts_output - trt_output)
    print('diff: {}'.format(diff.mean()))

if __name__ == '__main__':
    main()

Expected behavior
The compilation could run successfully.
Environment

Build information about Torch-TensorRT can be found by turning on debug messages

Torch-TensorRT Version (e.g. 1.1.0):
PyTorch Version (e.g. 1.11):
CPU Architecture: x86_64
OS (e.g., Linux): Linux
How you installed PyTorch (conda, pip, libtorch, source): pip
Build command you used (if compiling from source):  bazel
Python version: 3.8
CUDA version: 11.3

same issue

@edric1261234  You can try if this PR can help: https://github.com/pytorch/TensorRT/pull/1111

@edric1261234 You can try if this PR can help: #1111

Thank you, it works!

Pretty sure I also have this issue.  Trying to use dynamic input sizes for GPT models.  I will look at PR later to see if that helps.

@narendasan can you take a look?

In Torch-TRT 1.3.0 there is now support for dynamic shape with partial compilation enabled. Please try it out and let us know if it works. Reopen if the issue persists.


DO NOT MERGE: chore: remove bonus dependencies

I know I'm going to regret asking this, but what version of node:8 are we testing against @jkwlui @bcoe ?

Oh man.
https://nodejs.org/api/assert.html#assert_assert_rejects_asyncfn_error_message
@JustinBeckwith assert.rejects was added in v10.0.0 :(  This PR is gonna wait for a little bit longer.

Myles kindly backported it to 8.13 for us :)
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#2018-11-20-version-8130-carbon-lts-mylesborins-prepared-by-bethgriggs
Can we just upgrade to run the latest build of 8 in our tests?

@jkwlui can we use the latest Node v8 in CI?

It looks like the feature is broken in Node v8.  Just compare this:
fenster-macbookpro:~ fenster$ node --version
v12.1.0
fenster-macbookpro:~ fenster$ node
Welcome to Node.js v12.1.0.
Type ".help" for more information.
> require('assert').rejects(Promise.reject(42))
Promise { <pending> }
>

fenster-macbookpro:~ fenster$ node --version
v8.16.0
fenster-macbookpro:~ fenster$ node
> require('assert').rejects(Promise.reject(42))
Promise {
  <pending>,
  domain:
   Domain {
     domain: null,
     _events: { error: [Function: debugDomainError] },
     _eventsCount: 1,
     _maxListeners: undefined,
     members: [] } }
> (node:95195) UnhandledPromiseRejectionWarning: 42
(node:95195) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:95195) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:95195) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "block" argument must be of type Function. Received type object
    at waitForActual (assert.js:723:11)
    at Function.rejects (assert.js:800:31)
    at repl:1:19
    at ContextifyScript.Script.runInThisContext (vm.js:50:33)
    at REPLServer.defaultEval (repl.js:240:29)
    at bound (domain.js:301:14)
    at REPLServer.runBound [as eval] (domain.js:314:12)
    at REPLServer.onLine (repl.js:468:10)
    at emitOne (events.js:121:20)
    at REPLServer.emit (events.js:211:7)
(node:95195) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)


Add 0301 and 1008 options, fix max usdc pool balance

This is Proposal 19 and adds options that expire on the 3rd and 10th of August. It also fixes the wrongly too highly set usdc liquidity pool balance – this sets it to 50k as previously accepted by governance. This is for security reasons.
Class hash 0x624711767220c18293111756f63cf61394bc7dff690976e7f666d65ba958f89

Added options that expire on 24th August as requested by users and increased voting time (applicable from next proposal) to 1500 to reflect the faster Starknet
New class hash 0xa8ee1fdf54164d651ced5b47032206c2aff48c54ccf7a8bab4a3f677000038

Otherwise lgtm

New class hash 0x2c0e4d73f6e4a7a7530e3836396cd1ffced98549a81fd7a81146a7a3a428342


[CLI]: WandbTracer is not working with langchain v0.0.169+

Describe the bug

WandbTracer.__init__(...) does not work with langchain v0.0.169 and above.
Change from https://github.com/hwchase17/langchain/pull/4549 breaks internal TracerSession initialization.

from wandb.integration.langchain import WandbTracer

tracer = WandbTracer({"project": "project-name-here"})

Traceback (most recent call last):
  File ".../wandb-langchain.py", line 36, in <module>
    main()
  File ".../wandb-langchain.py", line 12, in main
    WandbTracer({"project": "onboarding-prompt"})
  File "/../venv/lib/python3.9/site-packages/wandb/integration/langchain/wandb_tracer.py", line 140, in __init__
    self.session = self.load_session("")
  File ".../venv/lib/python3.9/site-packages/wandb/integration/langchain/wandb_tracer.py", line 225, in load_session
    self._session = TracerSession(id=1)
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 2 validation errors for TracerSession
tenant_id
  field required (type=value_error.missing)
id
  value is not a valid uuid (type=type_error.uuid)

Additional Files
No response
Environment
WandB version: 0.15.2
OS: macOS 13.2.1 22D68 arm64
Python version: 3.9.6
Versions of relevant libraries:
langchain==0.0.170

Additional Context
No response

Hello @kde713 !
It looks like our team is working on the issue already but I will be making a bug report for thoroughness. Thank you for reporting this!

@rsanandres-wandb Seems like this issue was resolved in v0.15.3 with PR #5558. Is it okay to close this?


Compilation error parsing app.print(2 / (3))

How to reproduce:

Visit alan-lang.com.
Replace "Hello, World!" with 2 / (3).
Execute code snippet.

Result:
Cannot read property 'basicassignables' of null

Hi @ogier thank you for reporting this. I can confirm that if you put 2 / (1 + 2) in there it does work, so I think I know what's going on here. :)