proposal: time: export Location.lookup() as Location.Lookup()

Export Location.lookup() as Location.Lookup() to help finding DST transitions.
Sometimes one want to find the when a zone transition starts or ends, which is already implemented in the non exported func (l *Location) lookup(sec int64) (name string, offset int, start, end int64, isDST bool)
Example: I need to correct '2021-03-28 02:30:00' in 'Europe/Amsterdam', which is in the non-existing hour during DST transition between CET and CEST, to the first coming valid time.
I.e. there is a requirement to have a function that takes a date and time in a DST Location and if it is incorrect, correct it to the first following correct date and time.
Setting the time and then reading it back may give a new time that is not at the DST transition, like: https://go.dev/play/p/sJdTyNZJPT6
And I don't expect time.Date() to change it current behaviour, but if there was an efficient way to find the DST transition one could easily just check the DST transition and correct it one self.

We don't want to simply export the current Location.lookup method.  That method takes and returns a number of seconds in the Unix epoch, but an exported method should use time.Time.  For an exported API we should probably return some indication of ambiguity, when a time.Time value exists in two different timezones (e.g., when the hour between 1am and 2am is repeated in typical daylight savings time transitions).
Want to propose a useful API to export?  Thanks.

It sounds like the need here is for a new method on time.Time that tells the time zone transitions to either side of the instant that is described by the time.Time? Do I have that right?

It sounds like the need here is for a new method on time.Time that tells the time zone transitions to either side of the instant that is described by the time.Time? Do I have that right?

Yes, the primary need is to find the time zone transitions, since that information already exists, but is not exposed.

Thanks.  What about
// ZoneBounds returns the bounds of the time zone in effect at time t.
// The zone begins at start and the next zone begins at end.
// If the zone begins at the beginning of time, start will be returned as a zero Time.
// If the zone goes on forever, end will be returned as a Time in the very distant future.
// The Location of the returned times will be the same as t.
func (t Time) ZoneBounds() (start, end Time)

Yeah, that might work. I like that ZoneBounds is simple. There are a couple limitations of that interface though, see below.

If the zone goes on forever, end will be returned as a Time in the very distant future.

Should we expose that future time as a constant or add a method to check for it (similar to IsZero()) to time.Time? Consider a program that prints the next 10 zone transitions is given a location that goes on forever without transitions, like UTC. That program will need to determine when to stop iterating.
How is the user supposed to iterate backwards in time? Subtract Duration(1) from start and call ZoneBounds() on the result?
So, daylight saving time flag, zone name and offset will be exposed with Time.IsDST and Time.Zone, right? IsDST/Zone do lookups currently, is it okay if we first do lookup in ZoneBounds() and then again for IsDST/Zone calls? While we could theoretically cache lookup results in Time, I would be cautious about making Time bigger.
If we wanted iteration that is O(1) instead of needing to do O(log N) lookup every time, we could cache the zone index, but it would require an additional type. What about something like
type Zone struct {
	// location that the zone is part of.
	location *Location
	// index of the current zone in Location.tx.
	// -1 if the first zone (lookupFirstZone) is used.
	// 0..len(Location.tx)-1 for a zone starting with the given transition index.
	// len(Location.tx) if we used extend string to build this Zone.
	index int
	// start time of the zone.
	// Zero time if the zone starts at the beginning of time.
	// This identifies the zone instance when using extend string.
	start Time
}

// Name of the zone.
func (z Zone) Name() string

// Offset of the zone east of UTC.
func (z Zone) Offset() Duration

// Start is the time when the zone starts.
// If the zone begins at the beginning of time, start will be returned as a zero Time and ok will be false.
func (z Zone) Start() (start Time, ok bool)

// End is the time when next zone starts.
// If the zone goes on forever, end will be returned as a Time in the very distant future and ok will be false.
func (z Zone) End() (end Time, ok bool)

// IsDST reports whether the time in the zone is in Daylight Savings Time.
func (z Zone) IsDST() bool

// LaterZone returns the next zone.
// If there is no later zone, LaterZone returns (z, false).
func (z Zone) LaterZone() (later Zone, ok bool)

// EarlierZone returns the previous zone.
// If there is no previous zone, EarlierZone returns (z, false).
func (z Zone) EarlierZone() (earlier Zone, ok bool)

// LookupZone describes the zone in effect at t.
// The Location of the times returned by the Zone will be the same as t.Location().
func (t Time) LookupZone() Zone

Disadvatages:

Larger API surface.

Advantages:

Efficient iteration of zones.
Easy to add a field to the result in the future if needed.

For a use case like building a VTIMEZONE, we could add methods like:
// IsExtended returns true if the Zone was computed from an extend string.
func (z Zone) IsExtended() bool

// Extend returns the zone extend string.
func (l *Location) Extend() string

However, the name Zone might clash with types proposed in #49951. We could use ZoneIter instead of Zone, but I don't like ZoneIter as much as Zone.

Should we expose that future time as a constant or add a method to check for it (similar to IsZero()) to time.Time?

Fair question.  There is a tension between returning a zero result for the end of time and returning a time in the distant future.  Returning a zero result makes it easy to see that there is no information but harder to write a quick comparison to see whether a time is in range.  Defining a new constant or method extends the API only for purposes of this new method, which seems unfortunate.

How is the user supposed to iterate backwards in time?

Is this a common operation that needs to be supported efficiently in the low-level time package?

If we are going to expose zone boundaries, we should probably document what a zone boundary is or isn't.
In valid TZif files, it seems that a transition time is when at least one of the following changes (RFC 8536, section 2):

UT offset
whether daylight saving time is in effect
time zone abbreviation

although there is the following in RFC 8536, section 3.2:

Each value is used as a transition time at which the rules for computing local time may change.

so I'm not sure whether it is guaranteed that something changes.
Also I have no idea if how the properties of boundaries look like if we are getting the zone data from another source, for example Windows.

If we wanted to do a scan of all known time zone changes at a given location, then assuming there are N of them, that scan takes O(N log N) with the simple API and O(N) with the complex API. But log N is tiny, since N is two per year. Is it really worth all this new API just to save a small constant factor? It seems hard to believe that it would be.
It seems like in the ZoneBounds API, end needs to be zero if there is no future switch, just so that loops can see a value to terminate with.

@mjonss would the API in https://github.com/golang/go/issues/50062#issuecomment-1006162293 address your use case?

@mjonss would the API in #50062 (comment) address your use case?

That should be enough and I agree with keeping it simple. My specific use case is just check the bounds once when the parsing/conversion of a time does not yield the same result (i.e. due to DST transition). But I can also see other use cases needing to loop over a few years.
Also changing the very distant future to zero Time would make it more complete and still simple to check. So the ZoneBounds() of an UTC location would just return two zero Time.
If performance would be needed, then the data set is also small enough to run once and cache by own implementation.

Also +1 for end to be zero time if the zone goes on forever.

If we wanted to do a scan of all known time zone changes at a given location, then assuming there are N of them, that scan takes O(N log N) with the simple API and O(N) with the complex API. But log N is tiny, since N is two per year. Is it really worth all this new API just to save a small constant factor? It seems hard to believe that it would be.

That is a good point. I agree that it is not worth adding the complex API.
For the use case of scanning all known time zone changes, there is one piece still missing - a zone with an extend string can repeat transitions forever. Although it seems that it is better to have a method like
// Extend returns the location's extend string and the time when it first takes effect.
func (*Location) Extend() (extend string, start time.Time)

instead of exposing that information as part of the zone lookup. Seems that adding the Extend() method or similar could be handled in a separate proposal.
The only remaining question I have is whether we want to add a note to the documentation warning that (some?) zone properties might not change at zone boundaries. For example:
// Return values of Zone or IsDST might change only at zone boundaries,
// but subsequent zones are not required to differ.

Does it make sense?

Since time zones are not stable over time and changes happens frequently, I don't think it makes much sense of iterating over time zone transitions for more than a "few" years (I don't imagine any time zone 'extension' to be left unchanged for more than 100 years? Hopefully European Union will get rid of theirs eventually...)

The Extend string seems like too much. Those are a cryptic, not terribly well-defined format, and we don't want to expose that as our API for all time.
But adding ZoneBounds seems OK.

It sounds like the current ZoneBounds proposal is:
// ZoneBounds returns the bounds of the time zone in effect at time t.
// The zone begins at start and the next zone begins at end.
// If the zone begins at the beginning of time, start will be returned as a zero Time.
// If the zone goes on forever, end will be returned as a zero Time.
// The Location of the returned times will be the same as t.
func (t Time) ZoneBounds() (start, end Time)

(The difference from iant's comment above is that end is a zero time when there isn't one.)
Do I have that right? Does anyone object to that?

Looks good to me, no objections.

Looks good to me.

Based on the discussion above, this proposal seems like a likely accept.
— rsc for the proposal review group

No change in consensus, so accepted. 🎉
This issue now tracks the work of implementing the proposal.
— rsc for the proposal review group


is empty and impl From

Changes here are needed for https://github.com/boa-dev/boa/pull/3856

We need a way of checking if a partialDuration is empty, I don't know if the changes here would work, open to ideas.
We  need to be able to convert from Finite64 back to f64 so I've added a From impl (for more info see the errors here:

I think this is implemented as is_zero and as_inner.


Add sold out to on hover effect and remove from default view

So looks pretty

branch - sold-out-on-hover-effect


Master to develop after 1.14.0

Description
Release branch to be merged to develop.
Master to develop merge after Release 1.14.0
Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[x] Immediately
[ ] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[x] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Made one suggestion. The rest looks good to me. Thanks.

I'm merging this as there are other PRs waiting for this to be merged.


Antivirus false-flag?

Just downloaded the "isolate.1.0.0.exe" release & BitDefender flagged the download as infected by "Generic.Malware.FM!.8C4530F8", I'm guessing this is a false flag by the AV software, but might be others than me as well that have this issue.

Two cents on this:
Happens on all Electron apps when their build is unsigned. I wonder if @seenaburns will spend the cash for a certificate (unlikely IMO, stuff ain't cheap). False positive anyway, just tell your AV to f*** off.

@GitSquared thank you for the context, this is pretty unfortunate but I don't think I want to pursue shelling out for a certificate right now =/

@seenaburns perhaps if enough people use the binary it will be unflagged anyway. Or you could try to submit it directly to AVs... Might not be worth the effort to be honest. Your call. o/

Good to know! 1.0.1 didn't seem to trigger the AV this time around, so all good here (loving isolate!)

Closing but can reopen if others have problems in the future


Failed to setup turn 31. (Unit ID '136048556' was missing)

Hello,
I wanted to watch my replay with the (replay number: 969110), but I got the following error massage multiple times:
"Failed to setup turn 31. (Unit ID '136048556' was missing)"
I tried the standard stuff like refreshing etc. but it does not help.
Is there any way how I can salvage the replay?
Here is the full error massage:
System.AggregateException: Failed to setup turn 31. (Unit ID '136048556' was missing)
---> AWBWApp.Game.Exceptions.ReplayMissingUnitException: Unit ID '136048556' was missing
at AWBWApp.Game.API.Replay.Actions.EndTurnAction.SetupAndUpdate(ReplayController controller, ReplaySetupContext context)
at AWBWApp.Game.Game.Logic.ReplayController.setupActions(Boolean logDesyncs)
--- End of inner exception stack trace ---
at AWBWApp.Game.Game.Logic.ReplayController.setupActions(Boolean logDesyncs)
at AWBWApp.Game.Game.Logic.ReplayController.LoadReplay(ReplayData replayData, ReplayMap map)

Should be fixed in v0.11.5


Kafka Data Loader API Compatibility

Describe the bug
Redpanda is not compatible (doesn't work) with kafka api_version = 0.10.2, but this is default in mage_ai/streaming/sources/kafka.py and can not be configured.
Default value for a KafkaConsumer would be None, meaning the client will attempt to infer the broker version by probing various APIs. This should be the default option and api_version should be configurable with the yaml config.

Hi @mazieb , the api_version is configurable in the yaml config:
https://docs.mage.ai/guides/streaming/sources/kafka


basic questions on mfem

I just discovered the existence of mfem. This looks very powerful and I am very interested.
I am using fem mostly to simulate piezoelectricity. I have some basic questions on what is possible with this library.

The obvious question: I saw that the library provides prebuild formulations. I did not see any piezoelectric formulation, but I would like to make sure it does not.
Is it possible to work with complex dof. Typically, I am solving harmonic problems and any loss results in imaginary part of the coefficients.
Is it possible to have a mesh where the number of dofs per nodes is not constant. For example, a piezoelectric material would need 4 dofs per node, 3 for mechanical displacement and 1 for electrical potential. Vacuum will only need 1 dof per node (electrical potential) and a metal would only need only the mechanical displacements.
I could not find how to define a specific physics in the documentation. I am sure it is possible, but I did not find it. I looked at some of your examples and the ones I looked were using a physics which is already defined. Is there an example showing how to define a specific physics. Normally, I would define the formulation at the element level.
Thanks for this nice library.
Marc

Hello, Marc (@marcsolal),
Thank you for the kind words. I hope that you will find MFEM useful.
I'm not familiar with piezoelectric simulation but I suspect we do not have an example or miniapp with all of the necessary features. However, it seems likely we have many of the pieces you might need. If you could share the equations and any other distinctive requirements we'd be happy to give you some more specific feedback.
We have at least two examples (ex22 and ex25) which demonstrate the use of complex-valued fields. The approach we take is to simulate the real and imaginary parts of a PDE as a pair of coupled equations. The reason for this approach is partly historical in that our solvers were only real-valued at one time. We have recently added support for some complex-valued direct solvers so it might be reasonable to consider building complex-valued linear systems. I don't think we currently have plans to do this.
Your third question pertains to what we call different physics in different regions. This is a feature we have received many questions about and as luck would have it we just began adding this two weeks ago. Since it is such a new feature I am not yet familiar with its use or possible limitations. There is one example that I'm aware of that you could examine which can be found here. This example demonstrates a one-way coupling between two equations and I'm not sure if a full coupling is possible yet. Another approach which we have often used in the past is to approximate your multi-physics problem by using extreme coefficient values in certain regions to effectively disable certain physics in select regions. Clearly this has drawbacks but it can produce suitable results.
Rather than thinking directly about the "physics", e.g. force or energy balance, we tend to think about mathematical operators. If you can write the necessary physics as a set of coupled partial differential equations we can probably help you determine a suitable means to discretize the relevant fields and produce the necessary mathematical operators needed to build the discrete linear system.
Best wishes,
Mark

Classification | PRIVATE
Thanks for answering.
Regarding the “physics”, we need to couple the classic elastic waves equations (for anisotropic materials) with the electrostatics (Poison type of equations). I will give more details when everything is back to normal after the hurricane. Basically, for each material we have a stiffness tensor, a permittivity matrix and a piezoelectric tensor linking displacements and electrical potential.
Marc
From: Mark L. Stowell @.>
Sent: Thursday, September 29, 2022 2:30 PM
To: mfem/mfem @.>
Cc: Marc Solal @.>; Mention @.>
Subject: Re: [mfem/mfem] basic questions on mfem (Issue #3236)
This email has been sent from an EXTERNAL source
Hello, Marc @.***https://urldefense.com/v3/__https:/github.com/marcsolal__;!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1Syi88q3eig$),
Thank you for the kind words. I hope that you will find MFEM useful.
I'm not familiar with piezoelectric simulation but I suspect we do not have an example or miniapp with all of the necessary features. However, it seems likely we have many of the pieces you might need. If you could share the equations and any other distinctive requirements we'd be happy to give you some more specific feedback.
We have at least two examples (ex22 and ex25) which demonstrate the use of complex-valued fields. The approach we take is to simulate the real and imaginary parts of a PDE as a pair of coupled equations. The reason for this approach is partly historical in that our solvers were only real-valued at one time. We have recently added support for some complex-valued direct solvers so it might be reasonable to consider building complex-valued linear systems. I don't think we currently have plans to do this.
Your third question pertains to what we call different physics in different regions. This is a feature we have received many questions about and as luck would have it we just began adding this two weeks ago. Since it is such a new feature I am not yet familiar with its use or possible limitations. There is one example that I'm aware of that you could examine which can be found herehttps://urldefense.com/v3/__https:/github.com/mfem/mfem/blob/master/miniapps/multidomain/multidomain.cpp__;!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1SyiF6FdnpA$. This example demonstrates a one-way coupling between two equations and I'm not sure if a full coupling is possible yet. Another approach which we have often used in the past is to approximate your multi-physics problem by using extreme coefficient values in certain regions to effectively disable certain physics in select regions. Clearly this has drawbacks but it can produce suitable results.
Rather than thinking directly about the "physics", e.g. force or energy balance, we tend to think about mathematical operators. If you can write the necessary physics as a set of coupled partial differential equations we can probably help you determine a suitable means to discretize the relevant fields and produce the necessary mathematical operators needed to build the discrete linear system.
Best wishes,
Mark
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/mfem/mfem/issues/3236*issuecomment-1262663613__;Iw!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1SygOrdZ5AQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJWCVAKRXUZ6MDVQEXMIHTDWAXN3PANCNFSM6AAAAAAQYGQ3CY__;!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1Syhq4pU7cg$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This email may contain highly sensitive, confidential information that may be privileged and is meant only for the use of the specific intended addressee(s). Your receipt is not intended to waive any applicable privilege. If you have received this email in error, please delete it and immediately notify the sender by separate email. Unauthorized disclosure of confidential information may cause irreparable harm to Qorvo.

Classification | PRIVATE
I tried to rewrite the general piezo equation below. Usually, the structure comprises not only piezo materials but also dielectric (same equations, piezo tensor e=0), metals (only first equation, potential is constant, e=0), and vacuum (only Poisson equation). Tensors have many symmetries.
Marc
@.***
From: Mark L. Stowell @.>
Sent: Thursday, September 29, 2022 2:30 PM
To: mfem/mfem @.>
Cc: Marc Solal @.>; Mention @.>
Subject: Re: [mfem/mfem] basic questions on mfem (Issue #3236)
This email has been sent from an EXTERNAL source
Hello, Marc @.***https://urldefense.com/v3/__https:/github.com/marcsolal__;!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1Syi88q3eig$),
Thank you for the kind words. I hope that you will find MFEM useful.
I'm not familiar with piezoelectric simulation but I suspect we do not have an example or miniapp with all of the necessary features. However, it seems likely we have many of the pieces you might need. If you could share the equations and any other distinctive requirements we'd be happy to give you some more specific feedback.
We have at least two examples (ex22 and ex25) which demonstrate the use of complex-valued fields. The approach we take is to simulate the real and imaginary parts of a PDE as a pair of coupled equations. The reason for this approach is partly historical in that our solvers were only real-valued at one time. We have recently added support for some complex-valued direct solvers so it might be reasonable to consider building complex-valued linear systems. I don't think we currently have plans to do this.
Your third question pertains to what we call different physics in different regions. This is a feature we have received many questions about and as luck would have it we just began adding this two weeks ago. Since it is such a new feature I am not yet familiar with its use or possible limitations. There is one example that I'm aware of that you could examine which can be found herehttps://urldefense.com/v3/__https:/github.com/mfem/mfem/blob/master/miniapps/multidomain/multidomain.cpp__;!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1SyiF6FdnpA$. This example demonstrates a one-way coupling between two equations and I'm not sure if a full coupling is possible yet. Another approach which we have often used in the past is to approximate your multi-physics problem by using extreme coefficient values in certain regions to effectively disable certain physics in select regions. Clearly this has drawbacks but it can produce suitable results.
Rather than thinking directly about the "physics", e.g. force or energy balance, we tend to think about mathematical operators. If you can write the necessary physics as a set of coupled partial differential equations we can probably help you determine a suitable means to discretize the relevant fields and produce the necessary mathematical operators needed to build the discrete linear system.
Best wishes,
Mark
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/mfem/mfem/issues/3236*issuecomment-1262663613__;Iw!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1SygOrdZ5AQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJWCVAKRXUZ6MDVQEXMIHTDWAXN3PANCNFSM6AAAAAAQYGQ3CY__;!!LUcoR2A!IJePyDD-TpH8Yhstk4G-475G7g_ZicsfwGJc1hOcAo2oTL3xvXZ2Zr3zWT9JMEj-hcorKtoNmxtN0Ic1Syhq4pU7cg$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This email may contain highly sensitive, confidential information that may be privileged and is meant only for the use of the specific intended addressee(s). Your receipt is not intended to waive any applicable privilege. If you have received this email in error, please delete it and immediately notify the sender by separate email. Unauthorized disclosure of confidential information may cause irreparable harm to Qorvo.

Hello, @marcsolal,
Unfortunately, I don't see any equations but I think I'm starting to get the picture. You've probably noticed that our elasticity examples involve linear or non-linear elasticity with isotropic materials. While our FEM framework could easily support anisotropic materials I don't think we currently have the necessary integrators implemented in the library. Of course MFEM is extensible so they could be added by the user. An alternative would be to construct the necessary operators using our BlockOperator class with existing scalar integrators such as the DiffusionIntegrator with a tensor material.
The coupling terms would face similar challenges. Again both approaches could work; implement new integrators with higher rank tensor coefficients or low rank tensor coefficients with existing integrators and BlockOperators to glue them together.
Best wishes,
Mark
P.S. I hope the hurricane didn't create too much chaos for you.

Classification | PRIVATE
The equations were in my email. It was a screen copy. I guess github is not keeping them.
Thanks, I think I would have to add my own integrators…I will have a look on all that.
Marc
From: Mark L. Stowell @.>
Sent: Friday, September 30, 2022 4:36 PM
To: mfem/mfem @.>
Cc: Marc Solal @.>; Mention @.>
Subject: Re: [mfem/mfem] basic questions on mfem (Issue #3236)
This email has been sent from an EXTERNAL source
Hello, @marcsolalhttps://urldefense.com/v3/__https:/github.com/marcsolal__;!!LUcoR2A!IKhl7w5sO-A-CuuGj3wsmwUSYC8qINhYJTQYtTRWgxoWClufSvL4x46cdLmcClLS7alahaPJAAar3jKOEC9im5qdWw$,
Unfortunately, I don't see any equations but I think I'm starting to get the picture. You've probably noticed that our elasticity examples involve linear or non-linear elasticity with isotropic materials. While our FEM framework could easily support anisotropic materials I don't think we currently have the necessary integrators implemented in the library. Of course MFEM is extensible so they could be added by the user. An alternative would be to construct the necessary operators using our BlockOperator class with existing scalar integrators such as the DiffusionIntegrator with a tensor material.
The coupling terms would face similar challenges. Again both approaches could work; implement new integrators with higher rank tensor coefficients or low rank tensor coefficients with existing integrators and BlockOperators to glue them together.
Best wishes,
Mark
P.S. I hope the hurricane didn't create too much chaos for you.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/mfem/mfem/issues/3236*issuecomment-1264000314__;Iw!!LUcoR2A!IKhl7w5sO-A-CuuGj3wsmwUSYC8qINhYJTQYtTRWgxoWClufSvL4x46cdLmcClLS7alahaPJAAar3jKOEC-rlylLTw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJWCVANVEHGMF5QPYE4UMD3WA5FLJANCNFSM6AAAAAAQYGQ3CY__;!!LUcoR2A!IKhl7w5sO-A-CuuGj3wsmwUSYC8qINhYJTQYtTRWgxoWClufSvL4x46cdLmcClLS7alahaPJAAar3jKOEC-4Jij_Yw$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This email may contain highly sensitive, confidential information that may be privileged and is meant only for the use of the specific intended addressee(s). Your receipt is not intended to waive any applicable privilege. If you have received this email in error, please delete it and immediately notify the sender by separate email. Unauthorized disclosure of confidential information may cause irreparable harm to Qorvo.


nav: tap on map to select destination

It would be nice to be able to select a precise location to navigate to (especially when picking a location you want to save)

@gregjhogan
Could you elaborate more on this suggestion?

On my phone I can tap and hold anywhere on the map in google maps and it pops a pin at that location (filling in the search bar with the exact lat/long coordinates), which you can then navigate to or save.


Dynamics CRM V9 UCI Automation

Does Github support UCI automation as well, if yes please let me know how i can get it working. I am currently working on Dynamics CRM version <IP_ADDRESS>3 on,ine

@nehagupta08 - The issue from #252 has been resolved.
Have you been able to test out the Unified Interface, or do you have any specific questions about how to use it? You'll want to make sure you're using the beta/v9.0.2 branch of EasyRepro as that contains the additional project to support UCI automation.
Regards,
Tyler


Still being maintained?

I have just come across this library and wanted to know if it is still being maintained?

I suggest checking out Meteor.js it's what I changed to after having a play
with this. But then it depends on your love of MongoDB and other
requirements.
--
Michael Kubler
Mob :<PHONE_NUMBER>
"Change is not a spectator sport"
On 18 Aug 2016 5:42 am, "Nick Law"<EMAIL_ADDRESS>wrote:

I have just come across this library and wanted to know if it is still
being maintained?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/techpines/bone.io/issues/29, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3XhrV2OlZeHFUw0SXfYkd0jfhoHaC9ks5qg2nCgaJpZM4Jm1Yg
.

Ok thanks. Don't think Meteor is for me though.


feat: open in windows

:books: Summary

🔼 Updated dependencies
✨ Added context menu for choosing Popup or Window
✨ Based on the option opens the extension
✨ It will be just on the window, if we press two times, it will focus on that window.
[x] resolves #33

🖼 Options (On right-click menu)

🖼 Chrome in window

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

Chrome Web Store
GitHub release

Your semantic-release bot :package::rocket:


Ubuntu 18.04, can't build. error: failed to select a version for k256. all possible versions conflict with previously selected packages. failed to select a version for k256 which could resolve this conflict

    Updating crates.io index
    Updating git repository `https://github.com/gakonst/ethers-rs`
error: failed to select a version for `k256`.
    ... required by package `ethers-core v1.0.2 (https://github.com/gakonst/ethers-rs#d48187ac)`
    ... which satisfies git dependency `ethers-core` of package `ethers v1.0.2 (https://github.com/gakonst/ethers-rs#d48187ac)`
    ... which satisfies git dependency `ethers` of package ` ...`
versions that meet the requirements `^0.11` are: 0.11.6, 0.11.5, 0.11.4, 0.11.3, 0.11.2, 0.11.1, 0.11.0

all possible versions conflict with previously selected packages.

  previously selected package `ecdsa v0.13.3`
    ... which satisfies dependency `ecdsa-core = "^0.13"` of package `k256 v0.10.4`
    ... which satisfies dependency `k256 = "^0.10.4"` of package `ethers-core v0.10.0`
    ... which satisfies dependency `ethers-core = "^0.10.0"` of package `ethers-providers v0.10.0`
    ... which satisfies dependency `ethers-providers = "^0.10.0"` of package `...`

failed to select a version for `k256` which could resolve this conflict

I first stumbled upon this issue a few months back as well but I can't remember how I made it work, or maybe I didn't.

can you check if your lock file is up to date?
try cargo update ethers all ethers crates you're using

that was it


Expression Builder - Missing option to search for a user when testing expressions

Hello,
Previously we had the option to select a user and then test the expression using user info. But now this option is not visible and we need to provide the details for every function we add, Documentation says "Test the expression by searching for a user or providing values and selecting Test expression."

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

ID: b3ff9f49-1560-d727-6b82-4e1bde9b59b5
Version Independent ID: 3241fa8b-8b7f-d1a5-6f73-8077f1632cc2
Content: Understand how expression builder works with Application Provisioning in Microsoft Entra ID - Microsoft Entra ID
Content Source: docs/identity/app-provisioning/expression-builder.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@vek473
Thanks for your feedback! We will investigate and update as appropriate.

@vek473
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.
@kenwith
Can you please check and add your comments on this doc update request as applicable.

Updated the topic to match test instructions found in the how-to-expression-builder#test-an-expression "Expression Builder" topic. I've updated the instructions to say:
Test the expression by providing values and selecting Test expression. For example, from the dropdown list, select the mail attribute. Fill in the value with the email domain that starts with the @ sign; for example, @fabrikam.com. Then select Test expression and the output of the expression test appears in the View expression output box.
#please-close


Update server to 5.10

A new minor is ready
[EDIT]
wait... In few weeks will be released the 5.10

I am requesting this due to I am facing server connections error. I believe version 5.9.0 is bugged

New issue https://github.com/ronoaldo/minetestserver/issues/26

Note: the executable has changed name


Sync stage and master branches

This PR should update the stage branch with the changes its missing from the master branch.

Pull Request Test Coverage Report for Build 2050

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.164%

Totals

Change from base Build 2047:
0.0%

Covered Lines:
2022

Relevant Lines:
2653

💛  - Coveralls


chore(docs): add chart repository docs

#639

Yay!

awesome. I'll take that ambiguous line out. Thanks!


radGrid column titles are LTR instead of RTL

I've written this style to make rad grid column titles RTL
    thead.k-grid-header > tr > .k-header {
        text-align: right;
    }

for using RTL style you have to use  "k-rtl" class
if you want to change all of your element inside your page you can do like this
 and if you want to change specific element you can do just like this


Fix sildenafil breakdown page

Fixes #1105

Unit tests failed on Travis with a segfault, so am re-running them.


[QUESTION]libpmc.so: cannot open shared object file: No such file or directory

When I run ./teaser_cpp_ply, i got "error while loading shared libraries: libpmc.so: cannot open shared object file: No such file or directory"
But I can find libpmc.so in the directory "TEASER-plusplus/build/pmc-build".
Whta's wrong ?

Try run sudo ldconfig

include(ExternalProject)
ExternalProject_Add(pmc
GIT_REPOSITORY    https://github.com/pybind/pybind11.git
In the file "pybind11.CMakeLists.txt.in"，the name seems to be wrong ?

Good catch! You can try changing pmc to pybind11 and see whether it solves this issue.

@jingnanshi
Using a pointcloud whose size is 16328, I got stuck in the step "max_clique_ = clique_solver.findMaxClique(inlier_graph_);" and finally was killed.
The algorithm do not allow big pointclouds ???

@s20163081161 TEASAER++ takes in correspondences, not raw points. You need to use a feature detector and matcher to find correspondences.

Doc fixed in PR #107


Sortable List doesnt work in Chrome on Windows

To reproduce use Chrome on Windows and go to https://framework7.io/docs/sortable-list.html  then try the demo to sort.

Actually it's only on that particular computer. Cant reproduce on another machine... I'll reopen if I can reproduce it.

If anyone ran into this symptom in my case it was wacom table driver.


Handle to_file/3 errors

File.write/3 may fail, Image.to_file/3 should handle that case too.
Thank you for your efforts !

@mikowitz what do you think ?


Move from firebase to API

use this api instead of firebase, that would require migrating a lot of functionality, use puzzles to simplify the work and divide it.

Job #9 is now in scope, role is DEV

Bug was reported, see §29: +15 point(s) just awarded to @ammaratef45/z

@ammaratef45/z everybody who has role DEV is banned at #9; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@ammaratef45/z everybody who has role DEV is banned at #9; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@ammaratef45/z everybody who has role DEV is banned at #9; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@ammaratef45/z everybody who has role DEV is banned at #9; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

The job #9 assigned to @ammaratef45/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @ammaratef45/z

It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @ammaratef45/z

@ammaratef45 7 puzzles #45, #46, #47, #48, #49, #50, #51 are still not solved.

The job #9 is now out of scope

Order was finished: +30 point(s) just awarded to @ammaratef45/z

@ammaratef45 6 puzzles #45, #47, #48, #49, #50, #51 are still not solved; solved: #46.

@ammaratef45 8 puzzles #45, #47, #48, #49, #50, #59, #60, #61 are still not solved; solved: #46, #51.

@ammaratef45 10 puzzles #45, #47, #49, #50, #59, #60, #61, #69, #70, #71 are still not solved; solved: #46, #48, #51.

@ammaratef45 9 puzzles #45, #49, #50, #59, #60, #61, #69, #70, #71 are still not solved; solved: #46, #47, #48, #51.

@ammaratef45 10 puzzles #49, #50, #59, #60, #61, #69, #70, #71, #94, #95 are still not solved; solved: #45, #46, #47, #48, #51.

@ammaratef45 9 puzzles #50, #59, #60, #61, #69, #70, #71, #94, #95 are still not solved; solved: #45, #46, #47, #48, #49, #51.

@ammaratef45 7 puzzles #104, #105, #70, #94, #95, #98, #99 are still not solved; solved: #100, #101, #45, #46, #47, #48, #49, #50, #51, #59, #60, #61, #69, #71.

@ammaratef45 6 puzzles #104, #105, #94, #95, #98, #99 are still not solved; solved: #100, #101, #45, #46, #47, #48, #49, #50, #51, #59, #60, #61, #69, #70, #71.


AUDR Multiple updates for the Spatio-temporal immune zonation of the human kidney dataset in prod

Dataset/group this task is for:

project full name:  Spatio-temporal immune zonation of the human kidney
project short name:  KidneySingleCellAtlas
project uuid:  abe1a013-af7a-45ed-8c26-f3793c24a1f4
submission date:  2019-08-14T10:22:30.675Z 2019-10-03T12:29:04.626Z 2019-10-22T17:45:52.311Z 2019-09-25T16:40:15.246Z 2019-10-03T12:44:03.880Z
submission uuid:  702313be-fdde-42ea-89a5-bd1b01531736 9cfca427-6e22-447a-867e-4d81fdb7391c d5410c6e-612d-421a-a66f-2de5e04dd050 2afc1a93-f35d-4dec-95b7-7bd54b6da834 9e1d7bdc-e4a8-4dac-a131-6434aeb15bd0
update date:  2019-08-14T10:24:13.705Z 2019-10-03T12:30:26.645Z 2019-10-23T14:50:16.509Z 2019-10-03T09:44:08.217Z 2019-10-03T12:45:15.145Z
involved wranglers: Enrique,,Sapena Ventura;
Analysis state:  INCOMPLETE
Project state:  INCOMPLETE
Current spreadsheet can be found at

PROJECTS-FINISHED/Benjamin Stewart - Adult fetal kidney

Original ticket in HCA repo https://github.com/HumanCellAtlas/hca-data-wrangling/issues/341
Wrangler responsible for this dataset/lab:

Enrique
Description of the task:

[x] Update old less specific 10x v2 sequencing ontology (EFO:0009310) to the newer more specific 10x 3'/5' v2 sequencing ontology (EFO:0009899/EFO:0009900). This is currently dependent on when pipeline change their subscription queries: https://github.com/HumanCellAtlas/secondary-analysis/issues/800

[x] Update file_format field from "fastq.gz" to "fastq". This is a file metadata update and is NOT a simple update.

This spreadsheet has a tab named Project - Publication instead of Project - Publications and thus publication is not displayed in the Browser as this isn't parsed.

[x] Rename Project - Publication to Project - Publications in the spreadsheet
[x] Change institute name of some collaborators' institutes and move to department
[x] Change "European Bioinformatics Institute" to "EMBL-EBI"
[x] Change 'Department of Medicine,  University of Cambridge' to 'University of Cambridge' in the institution field, and shift the department name into department field

For donors F16, F17, F35, F38, F41, F45 fix the following fields:

[x] donor_organism.development_stage.text:
Fetus stage 1
Fetus stage 2
Fetus stage 1
Fetus stage 3
Fetus stage 4
Fetus stage 3
[x] donor_organism.development_stage.ontology:
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
[x] donor_organism.development_stage.ontology_label:
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
[x] donor_organism.gestational_age:
8.14
9.14
7.85
12
16
13.85

For donors F16, F17, F35, F38, F41, F45 delete values for  the following field:

[x] donor_organism.organism_age
This field counts from birth so is irrelevant in the case of developmental samples

For specimens F16_1 and F17_1:

[x] collection_protocol.protocol_core.protocol_id:
Change ID to fetal_kidney_collection

For library preparation protocol:

[x] library_preparation_protocol.strandedness:
first

For files:

[x] Add content_description field and fill them

[x] review donor_organism.diseases.ontology_label and donor_organism.death.cause_of_death for consistency

[x] change polyA RNA to polyA RNA extract

For supplementary files:
de-capitalise (To match the supplementary filenames currently in the DSS) the names of:

[x] Mature_kidney_declined_transplant_collection.pdf
[x] Mature_kidney_tumour_nephrectomy_collection.pdf
[x] Fetal_kidney_collection.pdf
[x] Mature_kidney_dissociation.pdf
[x] Fetal_kidney_dissociation.pdf
[x] Mature_kidney_enrichment_2.pdf
[x] Fetal_flow_enrichment_1.pdf
[x] Fetal_flow_enrichment_2.pdf

Acceptance criteria for the task:

[x] all fields are fixed in the spreadsheet
[ ] an end-to-end review is done for the whole dataset (to make sure there is no further mistakes)
[ ] dataset is AUDRed in prod with simple updates

From @ESapenaVentura

specimen_from_organism.organ_parts.ontology:UBERON:0000056 [ureter] is not a descendant of
specimen_from_organism.organ.ontology:UBERON:0002113 [kidney]

Thanks for the hard work jahilton , it seems that we need to discuss what is admitted and what not. Ureter is clearly a part of the kidney, and it is related through ontologies by contributes_to_morphology_of: renal pelvis, which in turn it's a subclassOf of kidney.
I don't know what kind of checks we should do here, but it is probably good to ask an expert on ontologies for help.
Also, while preparing some things, I discovered another AUDR:
Samples F16 and F17 are linked to mature_tumour_nephrectomy_collection collection protocol when they should be linked to fetal_kidney_collection
This is a simple update and shouldn't make it harder to AUDR this dataset

From @rays22
d5410c6e-612d-421a-a66f-2de5e04dd050 has failed validation test: https://github.com/ebi-ait/ingest-graph-validator/tree/master/graph_test_set/protocol_document_has_supplementary_file.adoc
Test description:
If a protocol defines a supplementary file as the document describing it, there must exist a supplementary file that is named exactly the same.
If any filenames are returned by this test, that means those files are missing as they are specified in protocols and do not exist.
The other submission UUIDs failed to load into a graph database.

I think this project should wait for bulk/spreadsheet updates to be possible

Done - Exported by Jacob as part of #334

[x] Update old less specific 10x v2 sequencing ontology (EFO:0009310) to the newer more specific 10x 3'/5' v2 sequencing ontology (EFO:0009899/EFO:0009900). This is currently dependent on when pipeline change their subscription queries: https://github.com/HumanCellAtlas/secondary-analysis/issues/800

Done - Was it exported with submission 1 or not?
This spreadsheet has a tab named Project - Publication instead of Project - Publications and thus publication is not displayed in the Browser as this isn't parsed.

[x] Rename Project - Publication to Project - Publications in the spreadsheet
[x] Change institute name of some collaborators' institutes and move to department
[x] Change "European Bioinformatics Institute" to "EMBL-EBI"
[x] Change 'Department of Medicine,  University of Cambridge' to 'University of Cambridge' in the institution field, and shift the department name into department field

For donors F16, F17, F35, F38, F41, F45 fix the following fields:

[x] donor_organism.development_stage.text:
Fetus stage 1
Fetus stage 2
Fetus stage 1
Fetus stage 3
Fetus stage 4
Fetus stage 3
[x] donor_organism.development_stage.ontology:
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
HsapDv:0000003
[x] donor_organism.development_stage.ontology_label:
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
Carnegie stage 01
[x] donor_organism.gestational_age:
8.14
9.14
7.85
12
16
13.85

For donors F16, F17, F35, F38, F41, F45 delete values for  the following field:

[x] donor_organism.organism_age
This field counts from birth so is irrelevant in the case of developmental samples

[x] review donor_organism.diseases.ontology_label and donor_organism.death.cause_of_death for consistency

For library preparation protocol:

[x] library_preparation_protocol.strandedness:
first
[x] change polyA RNA to polyA RNA extract

To Do:
For specimens F16_1 and F17_1:

[ ] collection_protocol.protocol_core.protocol_id:
Change ID to fetal_kidney_collection uuid:  f44d6b65-0866-47d5-bfb2-8173b1b6a2b3
F16 8ef48580-339e-4c23-b5bd-04c8692cab5f --> 17aea4fd-cd72-4c36-8ded-d686162804b4
F17 9fde0deb-9630-4007-aea6-e7a7b1e68c2a -->  5fbd4bb4-e761-4345-99b8-bd5e141a8b94

For protocols:
de-capitalise (To match the protocol_core.document filenames currently in the submission) the names of:

[ ] Mature_kidney_declined_transplant_collection.pdf
[ ] Mature_kidney_tumour_nephrectomy_collection.pdf
[ ] Fetal_kidney_collection.pdf
[ ] Mature_kidney_dissociation.pdf
[ ] Fetal_kidney_dissociation.pdf
[ ] Mature_kidney_enrichment_2.pdf
[ ] Fetal_flow_enrichment_1.pdf
[ ] Fetal_flow_enrichment_2.pdf

For files:

[ ] Add content_description field and fill them
sequence file : DNA sequence data:3494 DNA sequence
supplementary file : Protocol data:2531 Protocol

Is this needed?

[ ] Update file_format field from "fastq.gz" to "fastq". This is a file metadata update and is NOT a simple update.

@idazucchi what's the status on this?

Almost done: I've done a bulk update to fix the file names in the protocols and the content description for all the files.
The metadata is validating

If this is still stuck @MightyAx, I would recommend looking into grafana logs and see what happened. Perhaps it is the same issue and the fix I made didn't fix it

I've scheduled a handover with @jacobwindsor since I don't know how to look at the grafana logs.

The file was still stuck in metadata validating, but we aren't exporting files for DCP1 updates only metadata, so this can be safely ignored.
Jacob set the metadata of the file to valid,
graph validation was successful
@idazucchi will export the project
@MightyAx  to cleanup the data files from the terra bucket using this cleanup routine

The file 4834STDY7002875_S1_L001_R1_001.fastq.gz was stuck in metadata validation but was no trace of the validation job.
The file has been forced to valid.
The project passed graph validation.
I exported the metadata, @MightyAx can you please run the script for the DCP1 projects?

Ida exported successfully
I ran the cleanup with the following  (abridged) results:
INFO:__main__:Working on submission d5410c6e-612d-421a-a66f-2de5e04dd050
INFO:__main__:Found project abe1a013-af7a-45ed-8c26-f3793c24a1f4
INFO:__main__:project abe1a013-af7a-45ed-8c26-f3793c24a1f4 is a DCP1 project
Would you like to continue with fixing the terra area for this submission? (Y/n)
[66/66 objects] 100% Done # /metadata/sequence_file
[10/10 objects] 100% Done # /metadata/supplementary_file
[76/76 objects] 100% Done # /descriptors
[22/22 objects] 100% Done # /links

@idazucchi can this be moved to finished?

this is a project in #334 so we will de doing the import request with the other datasets from that ticket


Update Pages “BestTermiteInspectionPage”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
c67ab7985327e6c1261d9e700ce669280dc53a54

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/655bf0685f4d730008b84bbd


Fix function comments based on best practices from Effective Go

Every exported function in a program should have a doc comment. The first sentence should be a summary that starts with the name being declared.
From effective go.
PR generated by CodeLingo. Install here to drive Continuous Higher Standards.

Hi there!
Dan from CodeLingo here. This PR is testing out a new service. I'd love to hear your feedback or answer your questions. We're keen to learn how we can best help dev teams without getting in your way.
Dan & the CodeLingo Team


Added support for environment variables in config

Pre-review checklist

[x] I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
[x] I've added new automated tests to verify correctness of my new code.
[x] I've confirmed that my changes are up-to-date with the target branch.
[ ] I've described my changes in the section below.

Changes description
...

Shouldn't we write a summary of changes in PR description?


Add username's first character must be a letter condition statement

Closes: #1
Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

@googlebot I signed it!


chore: promote stocks-ui to version 0.0.8

chore: promote stocks-ui to version 0.0.8
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign dnmahendra
You can assign the PR to them by writing /assign @dnmahendra in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix visibility issues with events, nested types, and 'private protected'

Fixes #109.
I set out to fix famandassem members which should not be shown. They have been able to be created in .NET assemblies since the beginning.
While writing tests, I discovered that tests were missing for the visibility of events and nested protected internal types. I added them and they failed, so this PR fixes two additional issues:

Events were being included and shown as public regardless of visibility, including private ones.
Nested protected internal types were excluded even though they appear as protected types from outside the assembly.

@jnm2 this probably requires a rebase on top of master

Rebased. This one was tricky to untangle. I think I did it right, but shout if something looks off!


Nested mutations #14

Adding support for nested insert and update mutations.

 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.


Netlify badge in readme is broken

Since I deleted the netlify project, now the netlify badge is broken, I think we should remove it or update it.

This is a document issue so opening it for Hacktoberfest

Hi @Souvikns , I've created a Pull Request for this issue: https://github.com/Tech-Phantoms/Tech_Phantoms_website/pull/294.


[stable/cluster-autoscaler] Update rolebinding.yaml

This is a RoleBinding resource, not ClusterRoleBinding

@victoru Bump the chart version

/assign

/ok-to-test

@victoru the pods aint comming up, could you please fix the CI error?
I0816 14:20:05.325] cluster-2620-aws-cluster-autoscaler-1091296286-fbpbj   0/1       CrashLoopBackOff   4         3m

hmm, how was #1587 able to pass this check? It's failing right now because autoscalingGroups is empty by default.

RoleBinding and ClusterRoleBinding
A role binding grants the permissions defined in a role to a user or set of users.
It holds a list of subjects (users, groups, or service accounts), and a reference to
the role being granted. Permissions can be granted within a namespace with a
RoleBinding, or cluster-wide with a ClusterRoleBinding

My first question is why do you want a cluster-autoscalar to be confined within a namespace?

My first question is why do you want a cluster-autoscalar to be confined within a namespace?

There is a separate ClusterRole/Binding for for granting access to cluster-wide resources. This Role/Binding only grants permission to create & update the cluster-autoscaler's ConfigMap.

@victoru thanks for catching this so quickly. Sloppy on my part.

This chart will just be another one we have to excuse from tests. It's (currently) AWS-only, and requires user-provided values for successful deployment.

/lgtm

Thanks Okay now understood.  Did not check the other yaml
/unassign


Add note that ports with license NoMirror will not be mirrored

see https://trac.macports.org/ticket/56025

I"m a bit confused on why port-mirror.1 is generated and also in git repo; let me know if I should commit that file as well.

Yeah, the generated port-mirror.1 file should also be committed in a separate commit. Looks good to me otherwise

We commit the generated man pages to the repository in order to allow building base without asciidoc. It would be a chicken-and-egg problem to require asciidoc first to build MacPorts on a new platform.
However, we also use the modification date of the latest git commit that touched the *.1.txt source file in the generated man page. Therefore both files cannot be committed at the same time, but the process has to be:

Edit *.1.txt
Commit *.1.txt
Regenerate manpages
Commit *.1


Don't work 1.15.2

does not work on version 1.15.2

Can you give us more information?
For example what platform you are running on (Bukkit, Spigot, Paper, BungeeCord, Velocity, Sponge, etc.)?
Are there any errors in console? And if yes: Can you send them?

Version Bukkit
Errors:
Error occurred while enabling LuckPerms v5.1.26 (Is it up to date?)
java.lang.NoClassDefFoundErro me/lucko/luckperms/lib/okhttp3
    at me.lucko.luckperms.common.web. ~[?:?]
    at me.lucko.luckperms.common.plug ~[?:?]
    at me.lucko.luckperms.bukkit.LPBu ~[?:?]
    at org.bukkit.plugin.java.JavaPlu ~[server.jar:git-Paper-371]
    at org.bukkit.plugin.java.JavaPlu ~[server.jar:git-Paper-371]
    at org.bukkit.plugin.SimplePlugin ~[server.jar:git-Paper-371]
    at org.bukkit.craftbukkit.v1_15_R ~[server.jar:git-Paper-371]
    at org.bukkit.craftbukkit.v1_15_R ~[server.jar:git-Paper-371]
    at net.minecraft.server.v1_15_R1. ~[server.jar:git-Paper-371]
    at net.minecraft.server.v1_15_R1. ~[server.jar:git-Paper-371]
    at java.lang.Thread.run(Thread.ja [?:1.8.0_212]
Caused by: java.lang.ClassNotFoundExcepti me.lucko.luckperms.lib.okhttp3
    at java.net.URLClassLoader.findCl ~[?:1.8.0_212]
    at org.bukkit.plugin.java.PluginC ~[server.jar:git-Paper-371]
    at org.bukkit.plugin.java.PluginC ~[server.jar:git-Paper-371]
    at java.lang.ClassLoader.loadClas ~[?:1.8.0_212]
    at java.lang.ClassLoader.loadClas ~[?:1.8.0_212]
    ... 11 more
Dnia 25 lipca 2020 12:55 Tobi   napisał(a):
Can you give us more information?
For example what platform you are running on (Bukkit, Spigot, Paper, BungeeCord, Velocity, Sponge, etc.)?
Are there any errors in console? And if yes: Can you send them?
—  You are receiving this because you authored the thread.  Reply to this email directly,  github.com view it on GitHub , or  github.com unsubscribe .

Turn the server off, delete the libs folder in the luckperms folder and start again.

Don't work
Dnia 25 lipca 2020 21:23 Yannick Schinko   napisał(a):
Turn the server off, delete the libs folder in the luckperms folder and start again.
—  You are receiving this because you authored the thread.  Reply to this email directly,  github.com view it on GitHub , or  github.com unsubscribe .

Try again, but make sure you completely stop the server before deleting the libs directory.


Create skeleton for pubsub::Subscriber

Hi!
Thanks for implementing the pubsub client in cpp.
Curious what the timeline is for the pubsub library to be ready to use?

Cannot commit to a date right now.  I expect we will create milestones and specific plans in the next few weeks.


Foxaholic Cloudflare Infinite Loop

Source information
Foxaholic
Steps to reproduce

Go to Foxaholic source
Open the webview for foxaholic
Click checkbox to verify as human for cloudlfare
Be stuck in an infinite loop on step 3

Expected behavior
In the past after step 3 it would normally get past cloudlfare and load foxaholic.
Actual behavior
Never gets past step 3 of clicking the checkbox to verify as human for cloudflare.
LNReader version
1.1.19
Android version
Android 14
Other details
I've done a fresh re-install of LNReader to see if that would help and it did not.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.12.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

it's fixed in beta

it's fixed in beta

ohh, thank you! I didn't check out the beta version of the app. I've only been using whatever I see as the latest release.

https://github.com/LNReader/lnreader/releases/tag/v2.0.0-beta.0
make sure to convert your backup

You should use v2 beta app or wait for its stable release


Remove unneccessary AppsandFeaturesEntries * manifests/y/YARC/YARCLauncher/v1.0.1/YARC.YARCLauncher.installer.yaml

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 899)


user database job cleanup

this is a job digest that got stored with wrong param values in the user database..
which might call for some job cleanup tools
https://plasmodb.org/plasmo/app/workspace/blast/result/B6BFA154DFD985F41240B6CF5E156DE3
error stored in user database:
select * from userlogins5.MULTIBLAST_JOBS where job_digest = 'B6BFA154DFD985F41240B6CF5E156DE3'
(this is related to https://github.com/VEuPathDB/web-multi-blast/issues/10)

this might be another one:
https://plasmodb.org/plasmo/app/workspace/blast/result/DBC0FF51BD16E882F662441374B97416
seems to break with invalid organism value?


Is there a way to close file selecting dialog?

<input type="file" id="input_file">
Imagine if that input clicked by puppeteer, It will show up file selecting dialog.
Can you close it using puppeteer? That's all I want. Thanks.

page.on('dialog', dia => dia.dismiss()) iirc

@bexoss unfortunately file selection dialogs are not closable atm. We'll need a better file picker support eventually; closing this in favor of #2946.

To anyone who is looking for a solution here's the link to puppeteer docs with a new FileChooser API:
https://pptr.dev/#?product=Puppeteer&version=v1.19.0&show=api-class-filechooser


Created nsg bicep template

Change

Created nsg bicep template
Pipeline reference

Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update (Wiki)

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (readme)
[x] I did format my code

Missing updates:

Remove comments from parameter file
Update API versions on readme


ParameterStore should reuse AWS Sessions for multiple requests

Describe the solution you'd like
I would like the Parameter Store provider to reuse a single AWS Session (in a worst case, probably easiest todo) on all requests done for a single ExternalSecret resource.
Best case scenario the controller could just keep refreshing a single authenticated session for the lifetime of the controller.
What is the added value?
Looks like ParameterStore (and most likely Secrets Manager) provider issues a fresh session for each request made to the api effectively doubling the number of requests done to external API (and reducing performance).
Combined with using GetParameter API instead of batch GetParameters it results in a lot of waste and possible performance issues for large scale deployments.
I would expect session reuse to significantly improve the reconciliation times.
Give us examples of the outcome
I am not exactly sure what is wrong with the AWS SDK usage or how could it be improved at this point.
Observations (Constraints, Context, etc):
For the last few days i'm looking into performance issues of ESO on our staging cluster (~30 environments deployed at once, ~30 ExternalSecret objects in each, ~5 Parameters in each secret). I am posting my findings as issues.
After observing "principalid" changing between each request to Parameter Store in AWS CloudTrail Lake, Into verified the provider issues a fresh session for every single GetParameter request.
Notice the AssumeRoleWithWebIdentity.requestParameters.roleSessionName matches the following GetParameter.principalid and each has only a single pair of requests:

CloudTrail entries
[
  {
    "eventTime": "2022-05-27 07:00:00.000",
    "operation": "AssumeRoleWithWebIdentity",
    "eventSource": "sts.amazonaws.com",
    "principalid": "arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B:sts.amazonaws.com:system:serviceaccount:external-secrets:external-secrets",
    "session_username": "",
    "username": "system:serviceaccount:external-secrets:external-secrets",
    "requestParameters": "{roleArn=arn:aws:iam::5<REDACTED>8:role/staging-01-external-secrets, roleSessionName=1653634800072212330}",
    "userIdentity": "{type=WebIdentityUser, principalid=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B:sts.amazonaws.com:system:serviceaccount:external-secrets:external-secrets, arn=null, accountid=null, accesskeyid=null, username=system:serviceaccount:external-secrets:external-secrets, sessioncontext=null, invokedby=null, identityprovider=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B}"
  },
  {
    "eventTime": "2022-05-27 07:00:00.000",
    "operation": "GetParameter",
    "eventSource": "ssm.amazonaws.com",
    "principalid": "A<REDACTED>7:1653634800072212330",
    "session_username": "staging-01-external-secrets",
    "username": "",
    "requestParameters": "{withDecryption=true, name=/staging/kubernetes/staging/defaults/partners-reporting/secret.snowflake_password}",
    "userIdentity": "{type=AssumedRole, principalid=A<REDACTED>7:1653634800072212330, arn=arn:aws:sts::5<REDACTED>8:assumed-role/staging-01-external-secrets/1653634800072212330, accountid=5<REDACTED>8, accesskeyid=ASIAXPRZ43VPEWA5YJHK, username=null, sessioncontext={attributes={creationdate=2022-05-27 07:00:00.000, mfaauthenticated=false}, sessionissuer={type=Role, principalid=A<REDACTED>7, arn=arn:aws:iam::5<REDACTED>8:role/staging-01-external-secrets, accountid=5<REDACTED>8, username=staging-01-external-secrets}, webidfederationdata={federatedprovider=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B, attributes=null}, sourceidentity=null, ec2roledelivery=null, ec2issuedinvpc=null}, invokedby=null, identityprovider=null}"
  },
  {
    "eventTime": "2022-05-27 07:00:01.000",
    "operation": "GetParameter",
    "eventSource": "ssm.amazonaws.com",
    "principalid": "A<REDACTED>7:1653634801170591852",
    "session_username": "staging-01-external-secrets",
    "username": "",
    "requestParameters": "{withDecryption=true, name=/staging/kubernetes/staging/defaults/partners-reporting/secret.snowflake_password}",
    "userIdentity": "{type=AssumedRole, principalid=A<REDACTED>7:1653634801170591852, arn=arn:aws:sts::5<REDACTED>8:assumed-role/staging-01-external-secrets/1653634801170591852, accountid=5<REDACTED>8, accesskeyid=ASIAXPRZ43VPAH2HJEON, username=null, sessioncontext={attributes={creationdate=2022-05-27 07:00:01.000, mfaauthenticated=false}, sessionissuer={type=Role, principalid=A<REDACTED>7, arn=arn:aws:iam::5<REDACTED>8:role/staging-01-external-secrets, accountid=5<REDACTED>8, username=staging-01-external-secrets}, webidfederationdata={federatedprovider=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B, attributes=null}, sourceidentity=null, ec2roledelivery=null, ec2issuedinvpc=null}, invokedby=null, identityprovider=null}"
  },
  {
    "eventTime": "2022-05-27 07:00:01.000",
    "operation": "AssumeRoleWithWebIdentity",
    "eventSource": "sts.amazonaws.com",
    "principalid": "arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B:sts.amazonaws.com:system:serviceaccount:external-secrets:external-secrets",
    "session_username": "",
    "username": "system:serviceaccount:external-secrets:external-secrets",
    "requestParameters": "{roleArn=arn:aws:iam::5<REDACTED>8:role/staging-01-external-secrets, roleSessionName=1653634801170591852}",
    "userIdentity": "{type=WebIdentityUser, principalid=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B:sts.amazonaws.com:system:serviceaccount:external-secrets:external-secrets, arn=null, accountid=null, accesskeyid=null, username=system:serviceaccount:external-secrets:external-secrets, sessioncontext=null, invokedby=null, identityprovider=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B}"
  },
  {
    "eventTime": "2022-05-27 07:00:03.000",
    "operation": "AssumeRoleWithWebIdentity",
    "eventSource": "sts.amazonaws.com",
    "principalid": "arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B:sts.amazonaws.com:system:serviceaccount:external-secrets:external-secrets",
    "session_username": "",
    "username": "system:serviceaccount:external-secrets:external-secrets",
    "requestParameters": "{roleArn=arn:aws:iam::5<REDACTED>8:role/staging-01-external-secrets, roleSessionName=1653634803899903136}",
    "userIdentity": "{type=WebIdentityUser, principalid=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B:sts.amazonaws.com:system:serviceaccount:external-secrets:external-secrets, arn=null, accountid=null, accesskeyid=null, username=system:serviceaccount:external-secrets:external-secrets, sessioncontext=null, invokedby=null, identityprovider=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B}"
  },
  {
    "eventTime": "2022-05-27 07:00:03.000",
    "operation": "GetParameter",
    "eventSource": "ssm.amazonaws.com",
    "principalid": "A<REDACTED>7:1653634803899903136",
    "session_username": "staging-01-external-secrets",
    "username": "",
    "requestParameters": "{withDecryption=true, name=/staging/kubernetes/staging/defaults/partners-reporting/secret.snowflake_password}",
    "userIdentity": "{type=AssumedRole, principalid=A<REDACTED>7:1653634803899903136, arn=arn:aws:sts::5<REDACTED>8:assumed-role/staging-01-external-secrets/1653634803899903136, accountid=5<REDACTED>8, accesskeyid=ASIAXPRZ43VPLFMKFSO7, username=null, sessioncontext={attributes={creationdate=2022-05-27 07:00:03.000, mfaauthenticated=false}, sessionissuer={type=Role, principalid=A<REDACTED>7, arn=arn:aws:iam::5<REDACTED>8:role/staging-01-external-secrets, accountid=5<REDACTED>8, username=staging-01-external-secrets}, webidfederationdata={federatedprovider=arn:aws:iam::5<REDACTED>8:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/8C<REDACTED>8B, attributes=null}, sourceidentity=null, ec2roledelivery=null, ec2issuedinvpc=null}, invokedby=null, identityprovider=null}"
  }
]

Hey @nazarewk thank you for the research, i think we can re-use sessions in pkg/provider/aws/auth by storing them in a map[string]*session.Session. The lookup key can be the store's {namespace}/{name}. That way we even can re-use sessions across multiple Kind=ExternalSecret.

@moolen Do we ever need to map the session?. I think a simple var type *session.Session where we can store the first session is created first time would do it. Then we can reuse it all the time.
My concern is, what if the session expired. I did a quick check and didn't see the session package has a way to check expiration.
Happy to contribute with a PR after we align.


Compiling error in esp32-mqtt.h

Hey,
I am getting a compile error such as 'converting to 'String' from initializer list would use explicit constructor 'String::String(int, unsigned char)' in line 93 in esp32-mqtt.h file.
void publishTelemetry(const char* data, int length)
{   mqtt->publishTelemetry(data, length); }
I tried a couple of things but I could not figure it out.

Thanks for the report!  I must have introduced an issue in the 1.1.5 release. You may need to include Arduino.h in some platforms.

What OS are you using and which version of the ESP32 SDK?

I'm unable to reproduce the issue, please feel free to add comments in this issue / try the suggestions from there.


Examples do not compile due to missing Api implementations

I believe this is from some refactoring of Api<K> and RawApi that must have happened in the past, before my introduction to this library. But, the examples assume a whole host of static methods on Api<K> that do not exist, but are instead present on RawApi.
I will submit a PR to add the methods to Api<K> as it would be a nice ergonomic addition and it would fix all of the examples.

I have added a comment about it in two sections of the README. Maybe in the future we can change the default inclusion of features, but at the moment it is a bit awkward because the feature requires you to pick out another feature from the dependency it pulls in.


MRTK3 should expose a method to query if HoloLens 2 eye tracking is calibrated

Overview
MRTK2 had exposed a way to query if HoloLens eye tracking is calibrated. This is useful, because eye tracking doesn't function on HoloLens 2 if the user hasn't calibrated, and apps may want to change UX based on this lack of calibration.
Tasks

[ ] Add an API to query if eye tracking is calibrated.
[ ] Add usage of new API to Eye Gaze sample scene
[ ] Add manual test for HL2

API Recommendation
Add standalone helper class like EyeCalibrationChecker into Input package.  Log a "warning" message if this is used on non-UWP platform.
Other Possibilities

Extend ActionBasedController and create a GazeController, and add bool IsCalibrated() to GazeController
Possibly add bool IsCalibrated() member function to IGazeInteractor
Something else?

Workaround
The following code can be used to query this information:
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System;
using UnityEngine;
using UnityEngine.Events;
#if WINDOWS_UWP
using Windows.Perception;
using Windows.Perception.People;
using Windows.Perception.Spatial;
using Windows.UI.Input.Spatial;
#endif

namespace Microsoft.MixedReality.Toolkit.Examples
{
    /// <summary>
    /// Checks whether the user is calibrated and prompts a notification to encourage the user to calibrate.
    /// </summary>
// TODO make sure this component menu is the same as other "input" things
    [AddComponentMenu("Scripts/MRTK/Input/EyeCalibrationChecker")]
    public class EyeCalibrationChecker : MonoBehaviour
    {
        [Tooltip("For testing purposes, you can manually assign whether the user is eye calibrated or not.")]
        [SerializeField]
        private bool editorTestUserIsCalibrated = true;

        public UnityEvent OnEyeCalibrationDetected;
        public UnityEvent OnNoEyeCalibrationDetected;

        private bool? prevCalibrationStatus = null;

        private void Update()
        {
            bool? calibrationStatus;

            if (Application.isEditor)
            {
                calibrationStatus = editorTestUserIsCalibrated;
            }
            else
            {
                calibrationStatus = CheckCalibrationStatus();
            }

            if (calibrationStatus.HasValue)
            {
                if (prevCalibrationStatus != calibrationStatus)
                {
                    if (!calibrationStatus.Value)
                    {
                        OnNoEyeCalibrationDetected.Invoke();
                    }
                    else
                    {
                        OnEyeCalibrationDetected.Invoke();
                    }
                    prevCalibrationStatus = calibrationStatus;
                }
            }
        }

        private bool CheckCalibrationStatus()
        {
#if WINDOWS_UWP

            if (MixedReality.OpenXR.PerceptionInterop.GetSceneCoordinateSystem(Pose.identity) is SpatialCoordinateSystem worldOrigin)
            {
                SpatialPointerPose pointerPose = SpatialPointerPose.TryGetAtTimestamp(worldOrigin, PerceptionTimestampHelper.FromHistoricalTargetTime(DateTimeOffset.Now));
                if (pointerPose != null)
                {
                    EyesPose eyes = pointerPose.Eyes;
                    if (eyes != null)
                    {
                        return eyes.IsCalibrationValid;
                    }
                }
            }
#endif // WINDOWS_UWP

            return true;
        }
    }
}

### Tasks
- [ ] Add an API to query if eye tracking is calibrated.
- [ ] Add usage of new API to Eye Gaze sample scene
- [ ] Add Unit Tests. Since Unit Tests will run on non-HL2s, tests should only validate behavior for non-HL2 devices.

Closed with #11664


Add support for optimizing QuantumKernel feature map parameters

Summary
Closes #226
Currently, qiskit-machine-learning.kernels.QuantumKernel (QK) only supports feature map circuits which contain a number of parameters equal to the dimensionality of the input data, and it provides no interface for clients to update/bind parameters manually. This makes it cumbersome for clients to use QK within algorithms which require many updates to feature map parameters.
This PR will make it more convenient to conduct kernel optimization methods based around the QuantumKernel class by providing interfaces to bind and re-bind QuantumKernel feature map parameters.
This PR provides:

New QuantumKernel class fields, user_parameters and user_param_binds, which yield an array of user parameters defined in the feature map circuit and the current mapping of those parameters, respectively.
New QuantumKernel function, assign_user_parameters, which allows users to continuously bind over the top of the same parameters in kernel optimization routines.

Reopening this PR due to some commits not being attached to a git user.

Given that this PR introduces a new feature it should include reno release note. (See https://github.com/Qiskit/qiskit-machine-learning/blob/main/CONTRIBUTING.md#release-notes for more info if you need it)

@calebj15 I'm not quite sure I understand your intentions, but right now in this PR we have updates in QuantumKernel and a new QuantumKernelTrainer. I thought there would be 2 PRs for these two features.

@woodsp-ibm This PR looks good to me. Is there anything left open?

@woodsp-ibm Is there anything left open after the recent updates?


JRuby support

Looks like danger use redcarpet only for markdown parsing, this not possible with jruby.
Workaround for Gemfiles:
unless RUBY_PLATFORM == 'java'
  gem 'danger', '~> 2.0', require: false
end

Hrm, yeah, I'm not sure that we can live without redcarpet, it's the only markdown rendered that does github flavoured markdown right. Think we should document this 👍

As i know kramdown can support GFM http://kramdown.gettalong.org/parser/gfm.html

@orta … yeap I would also prefer kramdown over redcarpet

Shipped as 2.1.1 👍


More custom keyword sets and modifying operators/delimiters.

Hello,
First of all, This is related to the issue I made a while ago: #106.
Basically, I am creating an IDE for a not very popular scripting language called PAWN, As seen in the above issue, I had trouble having custom keywords. Using that guy's help, I was able to get 1 more set so I gained exactly 2 sets, However I need more.
I was experimenting with NP++ since they use Scintilla too and I found something really interesting.
Np++ has a way to create your own syntax highlighting with your custom wordsets.
The weird thing is that there is like 8 custom keyword sets plus being able to set custom operators and delimeters.
My question is, What lexer is used there when I create such a custom language in NP++, is it like a dummy lexer ?.. if yes can it be imported to ScintillaNET ?
Would be really great if I could do that instead of using the C++ lexer.
Thanks for any help.

Ok, I have been looking at thiis for a while and I think the best solution here is to develop a lexer, Great.
However, Can regex be used in a lexer instead of manual iterate ? If yes, Which is more efficient ?

Bump please.

There is no one way to write a lexer and using regular expressions is certainly acceptable. Whether it would be more efficient than iterating the lines/characters by hand? Not sure I could say. That would require profiling.
As for how Notepad++ manages to allow for custom lexers... I haven't looked into it, but I imagine that it is a custom lexer as described in https://github.com/jacobslusser/ScintillaNET/wiki/Custom-Syntax-Highlighting but instead of having the syntax hardcoded in, it will read that from a configuration file.
I've considered creating such a lexer for ScintillaNET, but never gotten around to it.

So, A lexer is the only way to go..
I'll leave this issue opened for now cause I'm sure I'll have some more questions.

Ok I've actually managed to do it myself :)
Here is the code I used:
private void Scintilla1_StyleNeeded(object sender, ScintillaNET.StyleNeededEventArgs e)
{
	var startPos = Scintilla1.GetEndStyled();
	var line = Scintilla1.LineFromPosition(startPos);
	startPos = Scintilla1.Lines(line).Position;

	var endPos = e.Position;

	//Clear all styling.
	Scintilla1.StartStyling(startPos);
	Scintilla1.SetStyling((endPos - startPos), 0);

	//Get all text and loop through all regex matches.
	foreach (Match match in Regex.Matches(Scintilla1.GetTextRange(startPos, (endPos - startPos)), "(?:\\bTest\\b|\\bTestTwo\\b|\\bTestThree\\b)")) {
		Scintilla1.StartStyling(startPos + match.Index);
		Scintilla1.SetStyling(match.Length, 1);
	}
}

I'm going to close the issue now, Thanks for all your help :)
And also please if there is any problem in my code that actually might occur, Please tell me before I start doing it big.

Looks good. :)

Ok, I am back with a small problem.
How to setup multiline stuff with the StyleNeededEvent ?
Like for exampe, Multiline comments.
The styleNeeded event only fires with the changed set of text so the text may not contain the /* or */ so my regex will obviously fail to know its a comment... :/
Here is what happens to me:

You have to split your regex into two operations. Look for a comment start with "/*". If "*/" is not found on the same line, store the line number in a variable. Then in the same pass of StyleNeeded or on a different pass, continue looking for the "*/" comment-end token.
Every lexer I've ever written or seen uses this same approach.
It might help to think of a line of text as not a line of text at all, but rather just a range of text that happens to end in a "\r\n" sequence. A good lexer will work the same whether it processes a line at a time or not.

I see, thanks :)
btw, in a normal lexer (non regex), what would be the best way to parse for stuff that are multi-character like comments.
How to check for two symbols that are after each other ?

What I, and most lexers I've seen do, is put the lexer into a different state. For example, a lexer will start in state 0. If your scan finds a '/' character, it puts the lexer into state 1. We don't know yet though if this is a "/*" sequence, or a "//" sequence.
If the next character is a '*' then we know it is a multi line comment and we put the lexer into state 2. The lexer continues in state 2 until it finds a "*/" sequence and then returns to state 0. On the other hand, if after the first '/' we find another '/', then we know this is a single line comment and transition from state 1 to state 3. State 3 continues until we find a "\r\n" sequence (end of line) at which point we mark the end of the single line comment and return to state 0.
Said another way, multi character tokens (that are not keywords or identifiers) are usually broken up into multiple states. Thus, you can pause the lexer at any point in the scan -- even after the first '/' is found but before the next '*' or '/' character is found, and pick right back up where you left off on another pass because you set the lexer into a different state when it found that first character.
You can see this demonstrated with the string detection in the Custom Syntax Highlighting recipe. Once in the string state STATE_STRING each pass of the lexer will continue looking for a closing " (double-quote) which marks the end of the string and state.
Obviously we're talking about comments and strings which are usually many, multiple characters but the same principles apply to tokens that are just two characters long, such as "==" or ">=".
Finally, if for some reason the next character you find after '/' is NOT '*' or another '/', then that might mean it is either a divide token (not a comment at all) or an error. For example, if the last character of the document is a '/' we would transition to state 1 as normal. But we might have a rule that says if the lexer finishes processing all the input and doesn't finish in the 0 state, it is an error.
There is a whole science devoted to this type of programming referred to as state machines.
Finally, finally, I find it helpful to remember that the text is all just a string of characters, not lines. The text actually looks like this:
/*\r\n\r\n\r\nhgfutgdisygft\r\nfgydsfsdf\r\ndfjsgfssdf\r\n\r\n\r\n*/

Treat the line breaks just like they were any other token, such as ';' or "=>", because they are!

Ahh I see, So I have to create a global variable for storing the state and once / is found, set var to 1 and then on the next character, if it was *, Style until */ is found the same way and if the character was not *, Change the state back to zero therefore continuing to style normally.
Thanks for your effort there :)

Just a reminder: what I described is what you would do if you were scanning character-by-character as you asked. If you are using regular expressions against an entire line of text, you could look for the complete start sequence "/*" because your grammar (I'm assuming) doesn't allow that sequence to be split across lines. It HAS to be completely on one line; otherwise, it's invalid.
Once that sequence is found, however, you can apply the state based approach to track it across multiple lines.
If your lexer is designed to work line-by-line instead of character-by-character, don't bother splitting the recognition of your tokens into multiple states if those tokens can't span more than one line.

Okay another problem, How to make colorizing for keywords ?
I saw your approach in the example but the problem is that the keywords can be thousand's so I think its not good to loop on them each character ?
Probably, Its not that slow... I don't know, thats why I am asking.. ?

what I described is what you would do if you were scanning character-by-character as you asked
And thats what I asked for really.. haha
I am looking forward to create a normal char-by-char lexer because I'm having some issues with the state thing in regex, And I think it would be way easier with a normal lexer.
And in fact, Just to anyone who is ever willing to create a regex lexer, Having multiple regex calls like this:
``
is very very slow and the codes was noticeably changing from black to colours.

btw, I ended up using the C++ lexer and doing this to colorize more custom words:
https://github.com/JohnyMac/ExtremeStudio/blob/b8fa924f66a23b0039fc2f4000345f1e005ef6b0/ExtremeStudio/DockPanel Forms/MainForm Docks/EditorDock/EditorDock.vb#L551-L644
Basically, I handle the UpdateUI event for any changes in the UI and then recolor the visible part of code. I created my own StyleNeeded clone that can work along with a lexer.


Push the frontend Docker image to GitHub Docker registry

sir in which repo shall the image to be pushed?

Hi @Rajdeep1311! 👋
To docker pull ghcr.io/aerabi/events-frontend.


Autocomplete imports

Hi,
recently i updated atom-typescript to version 10.1.11.
After that when i import a module there is no autocompletion what i want to import.
After moving back to version 10.1.9 the auto-completion of modules works again.
I'm using atom on Windows 10 64 bit.
Do you need more information for this bug?

Same issue here - have been experiencing this for a few days.  Downgraded from 10.1.11 to 10.1.9 and module auto-complete works again. For the record, reference tags for *.d.ts files were auto-completing correctly under 10.1.11.
Ubuntu 16.04.1, Atom 1.11.2.

Does this happen with every import or just one package in particular? I.e., if you create a blank project, do you have this problem?

@guncha I've found this with all module imports in all projects. Toggling between versions 10.1.9 and 10.1.11 effectively toggles between module imports working and not working, respectively. It happens with existing and new projects.

+1 i can confirm that

Ok, cool, I just confirmed it. I'll look into it.

Version: 10.1.9

Version: 10.1.11

Hey Guys, any update on this??
i am also experiencing this for few days, had to downgrade to<EMAIL_ADDRESS>


The connection to the server localhost:8080 was refused

Hi,
I have a problem connecting to the master node. The possible problem might be the master node is binding <IP_ADDRESS>. It should bind <IP_ADDRESS>. Which line should I change?
I am using the master branch.
➜  dind-cluster docker version
Client:
 Version:	18.02.0-ce
 API version:	1.32 (downgraded from 1.36)
 Go version:	go1.9.4
 Git commit:	fc4de44
 Built:	unknown-buildtime
 OS/Arch:	darwin/amd64
 Experimental:	false
 Orchestrator:	swarm

Server:
 Engine:
  Version:	17.09.1-ce
  API version:	1.32 (minimum version 1.12)
  Go version:	go1.8.3
  Git commit:	19e2cf6
  Built:	Thu Dec  7 22:28:28 2017
  OS/Arch:	linux/amd64
  Experimental:	false

➜  dind-cluster docker-machine ls
NAME      ACTIVE   DRIVER    STATE     URL                        SWARM   DOCKER          ERRORS
default   *        xhyve     Running   tcp://<IP_ADDRESS>:2376            v17.09.1-ce

* Node joined: 1
* Deploying k8s dashboard
The connection to the server localhost:8080 was refused - did you specify the right host or port?
W0320 09:48:18.148048   39667 factory_object_mapping.go:423] Failed to download OpenAPI (Get http://localhost:8080/swagger-2.0.0.pb-v1: dial tcp [::1]:8080: getsockopt: connection refused), falling back to swagger

➜  dind-cluster docker ps
CONTAINER ID        IMAGE                                COMMAND                  CREATED             STATUS              PORTS                      NAMES
60f272297576        mirantis/kubeadm-dind-cluster:v1.8   "/sbin/dind_init sys…"   21 minutes ago      Up 21 minutes       8080/tcp                   kube-node-2
38f1b1a26248        mirantis/kubeadm-dind-cluster:v1.8   "/sbin/dind_init sys…"   21 minutes ago      Up 21 minutes       8080/tcp                   kube-node-1
7f764b1957ad        mirantis/kubeadm-dind-cluster:v1.8   "/sbin/dind_init sys…"   24 minutes ago      Up 24 minutes       <IP_ADDRESS>:8080->8080/tcp   kube-master

I have changed my localhost ip to the docker-machine ip
➜  dind-cluster cat /private/etc/hosts
<IP_ADDRESS>	localhost
<IP_ADDRESS>	broadcasthost
::1             localhost

Same problem here running boot2docker within a parallels driver on Mac OSX. Unlike docker for mac, the docker VM on parallels gets an own IP and hosts entry (e.g. kube.shared).


Implementing the Ballerina Shopify Connector

Purpose
Implement the Ballerina Shopify Connector.
This connector enables to connect with Shopify REST API to handle Shopify Customers, Products, and Orders.
Compatible with Ballerina 1.2.x releases.

Design Document

Fixes #1

Closing since this PR is sent from the wrong branch.


Update to use updated LUNQ library

I have updated several files which use LUNQ incorrectly, and have replaced the redundant method calls with for loops.

Changes Unknown when pulling 8c73637529a4d4d545a2fec87a142f1f55944e73 on JohnMHarrisJr:master into ** on DigiTechs:master**.


chore: main back to alpha

:tada: This PR is included in version 1.16.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.16.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Platform solaredge_modbus_multi does not generate unique IDs.

Everything appears to be working correctly. I have two inverters and one meter which are all correct.
Describe the bug
I get an error message in the logs about unique IDs, which I suspect is related to 2022.7 beta release.
Expected behavior
Integration should generate unique IDs and not report an error message.
Screenshots

Logs
Copy any log messages/errors from Home Assistant from "custom_components.solaredge_modbus" and "pymodbus.client.sync".
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:620
Integration: Sensor (documentation, issues)
First occurred: 11:54:24 AM (28 occurrences)
Last logged: 11:54:24 AM

Platform solaredge_modbus_multi does not generate unique IDs. ID SE-MTR-3Y-400V-A_606773955_exported_c_kwh already exists - ignoring sensor.solaredge_m1_exported_c_kwh
Platform solaredge_modbus_multi does not generate unique IDs. ID SE-MTR-3Y-400V-A_606773955_imported_kwh already exists - ignoring sensor.solaredge_m1_imported_kwh
Platform solaredge_modbus_multi does not generate unique IDs. ID SE-MTR-3Y-400V-A_606773955_imported_a_kwh already exists - ignoring sensor.solaredge_m1_imported_a_kwh
Platform solaredge_modbus_multi does not generate unique IDs. ID SE-MTR-3Y-400V-A_606773955_imported_b_kwh already exists - ignoring sensor.solaredge_m1_imported_b_kwh
Platform solaredge_modbus_multi does not generate unique IDs. ID SE-MTR-3Y-400V-A_606773955_imported_c_kwh already exists - ignoring sensor.solaredge_m1_imported_c_kwh

Home Assistant (please complete the following information):

Home Assistant 2022.7.0b2
Supervisor 2022.06.2
Frontend 20220630.0 - latest
solaredge-modbus-multi Version: 2.0.0

Additional context
I deleted the old integrations before installing 2.0.0, all the history came across correctly.

I tried installing core-2022.7.0b2 on my dev virtual machine, but was not able to duplicate the issue.

Did you manually rename the device to "Solaredge M2" or did it create it like that? It should be M1.

Can you also provide all of the attributes from entity sensor.solaredge_m1_device

I added a check to ignore duplicate meter serial numbers, in case the same meter is being reported multiple times. The unique ID relies on the device model and serial number, where the serial number must be unique to each device model.
Please try this branch: https://github.com/WillCodeForCats/solaredge-modbus-multi/archive/refs/heads/50-platform-solaredge_modbus_multi-does-not-generate-unique-ids.zip

Did you manually rename the device to "Solaredge M2" or did it create it like that? It should be M1.

No I didn't rename anything, this is how it auto configured.

Can you also provide all of the attributes from entity sensor.solaredge_m1_device

Here are the attributes.

The only thing I can think of is that somehow the same meter is being reported more than once, which the branch should fix by ignoring meters where a device was already created with the same serial number.

2.0.1 Has opened up an new error message for me.
Functionality does't appear impacted.
This error originated from a custom integration.

Logger: custom_components.solaredge_modbus_multi.hub
Source: custom_components/solaredge_modbus_multi/hub.py:105
Integration: SolarEdge Modbus Multi-Inverter (documentation, issues)
First occurred: 9:06:50 AM (1 occurrences)
Last logged: 9:06:50 AM

Duplicate serial 606773955. Ignoring meter 2 on inverter ID 1

That is just saying there was a duplicate found and it was ignored. Everything looks correct to me.
The issue of why the same meter is being reported more than once would be an issue to look into on the hardware side (is the meter somehow connected to both inverters?) but otherwise not an error with the integration.

The duplicate detected message will now display at warning level instead of error level in release v2.0.2.


feat: add permission section to create user page

Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

[x] Builds without warnings or errors (pnpm buid, autofix with pnpm format:fix)
[x] Pull request targets dev branch
[x] Commits follow the conventional commits guideline
[x] No shorthand variable names are used (eg. x, y, i or any abbrevation)

Closes #1451

I don't like the UI very much but we can still make it prettier after 1.0

Sure I just wanted to have it as functionallity for now 😉