core-data cannot send zero mq message to export-distro successfully

🐞 Bug Report
Affected Services
The issue is located in:  core-data and export-distro
Is this a regression?
Yes, the previous version in which this bug was not present was delhi (0.7.1)
Description and Minimal Reproduction
By default, core-data should push each event to export-distro via 0MQ, but the export-distro doesn't receive any.
core-data did push:

level=INFO ts=2019-07-04T02:45:40.771164652Z app=edgex-core-data source=event.go:257 msg="Event Published on message queue. Topic: events, Correlation-id: a9bf6cef-5127-46e9-b4cc-795423d79a56 "
level=INFO ts=2019-07-04T02:45:40.789396646Z app=edgex-core-data source=event.go:239 msg="Putting event on message queue"
level=INFO ts=2019-07-04T02:45:40.789677613Z app=edgex-core-data source=event.go:257 msg="Event Published on message queue. Topic: events, Correlation-id: 3667e68c-86c6-46fe-b494-0ccdba072719 "

🔥 Exception or Error
The log of export-distro doesn't show it receives data, and it sometimes pump the following error:

level=INFO ts=2019-07-03T13:48:06.832822052Z app=edgex-export-distro source=messaging.go:41 msg="Connecting to incoming message bus at: tcp://edgex-core-data:5563"
level=INFO ts=2019-07-03T13:48:06.83360274Z app=edgex-export-distro source=messaging.go:50 msg="Connected to inbound event messages for topic: events"
level=INFO ts=2019-07-03T13:48:06.833719582Z app=edgex-export-distro source=main.go:53 msg="Service dependencies resolved..."
level=INFO ts=2019-07-03T13:48:06.833762392Z app=edgex-export-distro source=main.go:54 msg="Starting edgex-export-distro 1.0.0 "
level=INFO ts=2019-07-03T13:48:06.833814419Z app=edgex-export-distro source=main.go:57 msg="This is the Export Distro Microservice"
level=INFO ts=2019-07-03T13:48:06.833864992Z app=edgex-export-distro source=main.go:66 msg="Service started in: 1.21739086s"
level=INFO ts=2019-07-03T13:48:06.833911588Z app=edgex-export-distro source=main.go:67 msg="Listening on port: 48070"
level=INFO ts=2019-07-03T13:48:06.83637125Z app=edgex-export-distro source=registrations.go:306 msg="Starting Export Distro :48070"
level=INFO ts=2019-07-03T13:48:06.838738526Z app=edgex-export-distro source=init.go:247 msg="Writeable configuration has been updated from the Registry"
level=INFO ts=2019-07-03T13:48:06.846716769Z app=edgex-export-distro source=registrations.go:340 msg="Starting registration loop"
level=ERROR ts=2019-07-03T13:53:46.982689813Z app=edgex-export-distro source=registrations.go:346 msg="exit msg: found more than 2 incoming messages (1 is no topic, 2 is topic and message), but found: 3"

🌍  Your Environment
Deployment Environment:
x86 or arm64
EdgeX Version:
1.0.0 edinburgh
Anything else relevant?
In 0.7.1 delhi, the log of export-distro normally shows

INFO: 2019/07/02 15:11:51 Service dependencies resolved...
INFO: 2019/07/02 15:11:51 Starting edgex-export-distro 0.7.1
INFO: 2019/07/02 15:11:51 This is the Export Distro Microservice
INFO: 2019/07/02 15:11:51 Starting Export Distro :48070
INFO: 2019/07/02 15:11:51 Connecting to incoming 0MQ at: tcp://edgex-core-data:5563
INFO: 2019/07/02 15:11:51 Connected to inbound 0MQ
INFO: 2019/07/02 15:11:51 Starting registration loop
INFO: 2019/07/02 15:11:53 Event received: {"id":"5d1b74390e36080001ba3f09","pushed":0,"device":"GroveDevice","created":1562080313401,"modified":0,"origin":1562080313000,"schedule":null,"event":null,"readings":[{"id":"5d1b74390e36080001ba3f0a","pushed":0,"created":1562080313401,"origin":0,"modified":0,"device":"GroveDevice","name":"LightIntensity","value":"6.79905272e+00"}]}
INFO: 2019/07/02 15:11:53 Event received: {"id":"5d1b74390e36080001ba3f0b","pushed":0,"device":"GroveDevice","created":1562080313406,"modified":0,"origin":1562080313000,"schedule":null,"event":null,"readings":[{"id":"5d1b74390e36080001ba3f0c","pushed":0,"created":1562080313406,"origin":0,"modified":0,"device":"GroveDevice","name":"SoundIntensity","value":"1.34259999e+00"}]}
INFO: 2019/07/02 15:11:53 Event received: {"id":"5d1b74390e36080001ba3f0d","pushed":0,"device":"GroveDevice","created":1562080313410,"modified":0,"origin":1562080313000,"schedule":null,"event":null,"readings":[{"id":"5d1b74390e36080001ba3f0e","pushed":0,"created":1562080313410,"origin":0,"modified":0,"device":"GroveDevice","name":"RotaryAngle","value":"3.00045898e+02"},{"id":"5d1b74390e36080001ba3f0f","pushed":0,"created":1562080313410,"origin":0,"modified":0,"device":"GroveDevice","name":"RotaryVoltage","value":"5.01270008e+00"}]}
INFO: 2019/07/02 15:11:55 Event received: {"id":"5d1b743b0e36080001ba3f10","pushed":0,"device":"GroveDevice","created":1562080315398,"modified":0,"origin":1562080315000,"schedule":null,"event":null,"readings":[{"id":"5d1b743b0e36080001ba3f11","pushed":0,"created":1562080315398,"origin":0,"modified":0,"device":"GroveDevice","name":"LightIntensity","value":"6.76178741e+00"}]}
INFO: 2019/07/02 15:11:55 Event received: {"id":"5d1b743b0e36080001ba3f15","pushed":0,"device":"GroveDevice","created":1562080315406,"modified":0,"origin":1562080315000,"schedule":null,"event":null,"readings":[{"id":"5d1b743b0e36080001ba3f16","pushed":0,"created":1562080315406,"origin":0,"modified":0,"device":"GroveDevice","name":"SoundIntensity","value":"1.37689996e+00"}]}
INFO: 2019/07/02 15:11:55 Event received: {"id":"5d1b743b0e36080001ba3f12","pushed":0,"device":"GroveDevice","created":1562080315404,"modified":0,"origin":1562080315000,"schedule":null,"event":null,"readings":[{"id":"5d1b743b0e36080001ba3f13","pushed":0,"created":1562080315404,"origin":0,"modified":0,"device":"GroveDevice","name":"RotaryAngle","value":"3.00045898e+02"},{"id":"5d1b743b0e36080001ba3f14","pushed":0,"created":1562080315404,"origin":0,"modified":0,"device":"GroveDevice","name":"RotaryVoltage","value":"5.01270008e+00"}]}
INFO: 2019/07/02 15:11:57 Event received: {"id":"5d1b743d0e36080001ba3f17","pushed":0,"device":"GroveDevice","created":1562080317402,"modified":0,"origin":1562080317000,"schedule":null,"event":null,"readings":[{"id":"5d1b743d0e36080001ba3f18","pushed":0,"created":1562080317402,"origin":0,"modified":0,"device":"GroveDevice","name":"LightIntensity","value":"6.79905272e+00"}]}

@cloudxxx8 I'm unable to duplicate this using the edinburgh branch. My steps to try and repro are as follows

Clean Mongo
Start all edgex services via make run
Start sample export-client
Start device-random

The expectation is that I should see the events from device-random published to my sample client.
Logs from edgex services showing client registration (some irrelevant entries omitted)
level=INFO ts=2019-07-05T16:33:45.407685Z app=edgex-export-distro source=registrations.go:306 msg="Starting Export Distro :48070"
level=INFO ts=2019-07-05T16:33:45.407753Z app=edgex-export-distro source=main.go:67 msg="Listening on port: 48070"
level=INFO ts=2019-07-05T16:33:45.418354Z app=edgex-export-distro source=registrations.go:340 msg="Starting registration loop"
level=INFO ts=2019-07-05T16:33:49.756113Z app=edgex-export-distro source=registrations.go:356 msg="Registration changes"
level=INFO ts=2019-07-05T16:33:49.757107Z app=edgex-export-distro source=registrations.go:236 msg="registration loop started: dell-ecp-client"

Logs from edgex services showing event is published from core-data to export distro
level=INFO ts=2019-07-05T16:34:15.153372Z app=edgex-core-data source=event.go:239 msg="Putting event on message queue"
level=INFO ts=2019-07-05T16:34:15.154085Z app=edgex-core-data source=event.go:239 msg="Putting event on message queue"
level=INFO ts=2019-07-05T16:34:15.154453Z app=edgex-core-data source=event.go:257 msg="Event Published on message queue. Topic: events, Correlation-id: 55f429d3-ba79-448d-93c1-58eaa7392fc9 "
level=INFO ts=2019-07-05T16:34:15.154891Z app=edgex-core-data source=event.go:239 msg="Putting event on message queue"
level=INFO ts=2019-07-05T16:34:15.15521Z app=edgex-core-data source=event.go:257 msg="Event Published on message queue. Topic: events, Correlation-id: 2f26dd8b-ac4b-488d-9a39-db2f4010f3a5 "
level=INFO ts=2019-07-05T16:34:15.456469Z app=edgex-core-data source=event.go:257 msg="Event Published on message queue. Topic: events, Correlation-id: 067b30b6-8263-49eb-b40d-c490033ea571 "
level=INFO ts=2019-07-05T16:34:15.492318Z app=edgex-export-distro source=httpsender.go:67 correlation-id=067b30b6-8263-49eb-b40d-c490033ea571 duration=34.687046ms msg="Response: 200 OK"
level=INFO ts=2019-07-05T16:34:15.496764Z app=edgex-export-distro source=httpsender.go:73 msg="Sent data: 7B226964223A2236353232323334322D386436612D346664382D393833612D323835376263336237396538222C22646576696365223A2252616E646F6D2D496E74656765722D47656E657261746F723031222C226F726967696E223A313536323334343435353134323238383030302C2272656164696E6773223A5B7B226964223A2237393662643038322D613135642D346164302D616463312D343230666537386434616534222C226F726967696E223A313536323334343435353134323133303030302C22646576696365223A2252616E646F6D2D496E74656765722D47656E657261746F723031222C226E616D65223A2252616E646F6D56616C75655F496E743332222C2276616C7565223A222D323234353633333034227D5D7D"

Logs from sample client confirming receipt of the event
level=INFO ts=2019-07-05T16:33:49.749278Z source=main.go:32 msg="bootstrap OK"
level=INFO ts=2019-07-05T16:33:49.753623Z source=logging.go:26 duration=4.268584ms function=registration/Register msg="received client id ddd8d484-3570-4553-a2b4-e14f31de55be"
level=INFO ts=2019-07-05T16:33:49.753891Z source=main.go:73 transport=http address=:48050 msg=listening
level=INFO ts=2019-07-05T16:34:15.492066Z source=logging.go:27 duration=32.428605ms function=receiver/AddEvent msg="event id 65222342-8d6a-4fd8-983a-2857bc3b79e8 hash QmZrWxnTLETzJScFvFvQRtBVG1nE5bduxCt3J3YyT3NpJM"

We had to thoroughly test this flow for the CBOR work, Rules Engine changes and App-Functions SDK integration so a lot of different folks have run this scenario. I'm pretty confident it's working. If you find more information, post it here.

@cloudxxx8 Just sent you an email that I believe is related to this. If you like you can try the fix I link to from that email in your local environment and see if it solves the problem. We'll have to take an action on Monday.

@tsconn23 sorry, I just confirmed this issue is invalid, because the receive log won't print anymore in this release.  I opened this issue because of this line https://github.com/edgexfoundry/edgex-go/blob/edinburgh/internal/export/distro/zeromq.go#L70 , but just found out this function is no longer used.  We have confirmed the export-distro works fine with MQTT without any INFO log print out


Support ktx2 loader

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Support ktx2 loader

doc: https://yuque.antfin-inc.com/kevin.hs/notebook/im0sldctixwmx5gl?singleDoc# (not public now)
demo: https://github.com/gz65555/ktx2-demo (link engine)

Usage
Basic
engine.resourceManager('skybox.ktx2').then(...);
engine.resourceManager('duck.ktx2').then(...);

Init Transcode WebWorker
KTX2Loader.init(...);

Destroy Transcode WebWorker
KTX2Loader.destroy();

Specify Format Priority(Advanced)
engine.resourceManager({
...,
formatPriorities: [KTX2TargetFormat.RGBA32]
}).then(...);

BinomialLLCTranscoder and KhronosTranscoder folder name should be lowercase


Need to set up default settings

Need to set up default settings, by chanign values in the default preferences

Did this in a commit, works fine! Done!


Add .pane-body to highlight global style

Fixes https://github.com/microsoft/vscode/issues/207744

Changing line 21 in \src\vs\workbench\browser\parts\views\media\view.css to:
.pane-body .monaco-tl-contents .monaco-highlighted-label .highlight {
causes the following issue:
peekViewResult.selectionForeground is colored "blue" 2aaaff and not as defined "white"
This color cannot be changed in the settings.json file like
    "workbench.colorCustomizations": {
        "peekViewResult.selectionForeground": "#ffffff"
     }

If you want to change the color in the peekViewResult view you must use
    "workbench.colorCustomizations": {
        "list.highlightForeground": "#ffffff"
     }

I.e.: CSS for lists has precedence before peekViewResult.
This issue appeared first after releasing

"Visual Studio Code 1.88.0" and
"Visual Studio Code - Insider 1.89.0"

and not before.
Please undo your changes to:
.monaco-tl-contents .monaco-highlighted-label .highlight {
and find another solution to highlight global style.

@schwaber can you get a fresh issue with this info so we can take a look?


federated spaces

The ownCloud clients have learned the indirection of discovering spaces at the /me/drives endpoint. As it turns out , we can use this mechanism to discover spaces on remote instances.
For now this is a braindump of what I wrote down the last time I thought about this. Eventually, I drift into the Backend For Frontend pattern for oidc web clients because it would make accessing remote instances a lot safer. So here goes...
Currently, the graph of an oCIS instance only lists the spaces of that instance. Following the actively managed space registry ADR we can extend this to spaces on other instances.
While the API currently has a webdav property it lacks a property for the /drives/id endpoint on a remote instance.

[ ] do we need to prefix the space ID? With an instance id?

When we add that the clients can discover spaces on remote instances. This becomes a federated graph when remote /drives/id endpoints can authenticate users from other IdPs. This federated authentication is covered by openid connect.
Which IdPs should an instance trust? Every IdP that contains a user that was sent an invite. An invite contains an email and when creating the invite the instance can do an OpenID Connect discovery for that email. If there is an idp we add it to the list of trusted IdPs. If not we use the IdP for guest accounts.
In a similar fashion we can discover the oCIS instance that hosts the web ui. We need to add CORS headers so it can make requests to our graph endpoint.
We could host the web ui globally at eg htt s://web.owncloud.com
When it is opened you first enter your email. That will trigger an OpenID Connect discovery and a LibreGraph discovery. Web will authenticate with the idp and fetch the user and drives list from the LibreGraph endpoint.

[x] Do we need to register web with the idp? How does dynamic registration work? -> https://openid.net/specs/openid-connect-registration-1_0.html fits the bill. It explicitly mentions web apps.
[ ] which IdPs actually support it?

keycloak, okta, ping, maybe other big ones
neither authelia, nor authentic support it

oCIS as a RP would need to find out which IdPs to use to verify the access token based on the access token, but access tokens might be opaque. Web would have to send the idp as well. AFAICT there is RFC 8693
OAuth 2.0 Token Exchange that could be used by ocis server side to exchange the id token for an access token to impersonate the user / act on behalf of it. The id token could act as a session? Hm. It does look like there is a spec for this, but I don't understand it, yet.
The RP has to authenticate to exchange the id token... How would it get the credentials? Using the dynamic client registration? So not only web, but also ocis server would have to register with the idp? What about the clients?
Interesting read with recommendations for oidc RP: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps-18
Hm the BFF - Backend For Fronted pattern is the most secure, but requires all web request sto go through a server. But it takes web out of the client s we have to register at the idp.
It would turn out web app into a client that can maintain secrets. The backend would store them.
It could even decide how to implement the API  between the browser app and the backend. oCIS itself would only expose LibreGraph. (And later maybe CS3).
It could also use the same LibreGraph API but with cookies which the backend replaces with an access token. The backend would be a proxy for the Frontend. Backend For Fronted.
https://auth0.com/blog/the-backend-for-frontend-pattern-bff/
Example implementation https://github.com/michaelvl/oidc-oauth2-bff
Hmmm this would also get rid of the cors headers problem, because the web backend does not need to respect them.
We can talk to any ocis instance without them having to tweak any cors headers. We do not need to madd a list of all IdPs the web ui should be allowed to access.
https://handouts.secappdev.org/handouts/2022/philippederyck_securingoauthspa.pdf
And a nice page with sequence diagrams ffor BFF and other patterns: https://docs.abblix.com/docs/openid-connect-flows-explained-simply-from-implicit-flows-to-authorization-code-flows-with-pkce-and-bff

I know this is just a braindump. But since your posting it in a public issue, I assume you're interested in feedback. So let me try :smiley:

The ownCloud clients have learned the indirection of discovering spaces at the /me/drives endpoint. As it turns out , we can use this mechanism to discover spaces on remote instances.
For now this is a braindump of what I wrote down the last time I thought about this. Eventually, I drift into the Backend For Frontend pattern for oidc web clients because it would make accessing remote instances a lot safer. So here goes...
Currently, the graph of an oCIS instance only lists the spaces of that instance. Following the actively managed space registry ADR we can extend this to spaces on other instances.

Which ADR are you referring to here? Is that already existing? Or is that still tdb?

While the API currently has a webdav property it lacks a property for the /drives/id endpoint on a remote instance.

[ ]  do we need to prefix the space ID? With an instance id?

Why?

When we add that the clients can discover spaces on remote instances.

What is "that" referring to? The new property referencing a remote /drives/id endpoint, or the space id with and instance id prefix?

This becomes a federated graph when remote /drives/id endpoints can authenticate users from other IdPs. This federated authentication is covered by openid connect.

I guess here you're referring to https://openid.net/specs/openid-federation-1_0.html? (which is still a draft)

Which IdPs should an instance trust? Every IdP that contains a user that was sent an invite. An invite contains an email and when creating the invite the instance can do an OpenID Connect discovery for that email. If there is an idp we add it to the list of trusted IdPs. If not we use the IdP for guest accounts.

I guess I am misunderstanding something here, but why should we automatically trust IDPs based on the fact that we could discover it via a single users email address? Maybe we just want to trust that single user and not anybody else that is able to sign in via the discovered IDP?

In a similar fashion we can discover the oCIS instance that hosts the web ui. We need to add CORS headers so it can make requests to our graph endpoint.
We could host the web ui globally at eg htt s://web.owncloud.com
When it is opened you first enter your email. That will trigger an OpenID Connect discovery and a LibreGraph discovery. Web will authenticate with the idp and fetch the user and drives list from the LibreGraph endpoint.

What are you referring with "LibreGraph discovery" ?

* [x]  Do we need to register web with the idp? How does dynamic registration work? -> https://openid.net/specs/openid-connect-registration-1_0.html fits the bill. It explicitly mentions web apps.

* [ ]  which IdPs actually support it?

  * keycloak, okta, ping, maybe other big ones
  * neither authelia, nor authentic support it

Again, What is "it" referring to. oidc federation or dynamic client registration?

oCIS as a RP would need to find out which IdPs to use to verify the access token based on the access token, but access tokens might be opaque.

I must admit that from here on, you completely lost me. I have a really hard time imagining how all the different pieces
you're mentioning are tieing together. (And I have the slight feeling I am not the only one :smiley: )

Web would have to send the idp as well. AFAICT there is RFC 8693 OAuth 2.0 Token Exchange that could be used by ocis server side to exchange the id token for an access token to impersonate the user / act on behalf of it. The id token could act as a session? Hm. It does look like there is a spec for this, but I don't understand it, yet.

The RP has to authenticate to exchange the id token... How would it get the credentials? Using the dynamic client registration? So not only web, but also ocis server would have to register with the idp? What about the clients?

[ .. ]

This brings everything on the OIDC level ... doesn't work without it, right?
OCM Federation 2.0 then depends on it.
Is this in any way related to the solid protocol? You it be related/using it?
Answer: Graph is different from Solid - there could be a proxy/translator with little effort for the missing 5% from graph to solid.
OIDC is also used in solid.
For the future we could have syncing between the federated servers with a trashbin, so in case the other side goes away we still have the data available for future usage if required.


Fix 'taxes_included' and 'tax_shipping' type definitions

Description
Fixes #1145

Thanks for providing this fix! Sadly, we won't be able to merge this in because this code is auto generated by a schema up stream that we need to fix. We've got it on our radar and are making the fix for the next release :) Thanks for your help!


make front end maintainable

too much free floating JS (mostly jquery) right now. let's find the right way to organize that stuff

looks like the right way is to get all the free-floating jquery code into their own external js files. then load the js files as part of the DOM (document.ready stuff still a little unclear)


PDF appears as white paper with no text

Hello,
I am using pdf.js in my .Net application. It was working well in many PDFs.
But recently, some PDFs are not rendering.
The entire screen appears just as white paper without any text.
The browser console shows the following messages:
PDF f7bb6400f049c0f34bac34f67ee99934 [1.4 iTextSharp™ 5.5.13 ©2000-2018 iText Group NV (AGPL-version) / -] (PDF.js: 1.9.426)
pdf.worker.js:10 Warning: getOperatorList - ignoring errors during task: RenderPageRequest: page 0

Please help me.

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md such that the issue becomes actionable.

Here is the attached screenshot:

Here is the attached screenshot :

@broy-github we aren't magicians... so please read https://github.com/mozilla/pdf.js/issues/14377#issuecomment-994735460 and provide all the information we need.

Again, without all of the ISSUE_TEMPLATE filled in we really cannot provide any assistance!
Of particular importance is that you include the actual PDF document, since no debugging can be done from a screen-shot alone. Also, you really need to update the PDF.js version before asking for help, since the version you're using is over four years old.
Closing as INCOMPLETE, since there's unfortunately no actionable information here.

Please find the PDF attached here with :
test.pdf

WFM, using PDF.js version 2.12.248 in Firefox Nightly 97 on Windows.
Once more: You're using a very old and completely unsupported version of the PDF.js library, hence please update to a supported release; see https://mozilla.github.io/pdf.js/getting_started/#download

Is it working in Chrome and Edge browser in Windows 10?


Support FIFO mode in sensor drivers for sensors with internal FIFO such as lis2ds12, lis2dw12

Is your enhancement proposal related to a problem? Please describe.
I'm using lis2ds12/lis2dw12 with nRF9160 DK. I add the sensor in overlay file in the device tree:
&spi3 {
	compatible = "nordic,nrf-spim";
	status = "okay";
	sck-pin = <23>;
	mosi-pin = <24>;
	miso-pin = <25>;
	cs-gpios = <&gpio0 22 0>;

	lis2dw12@0 {
		compatible = "st,lis2dw12";
		spi-max-frequency = <1000000>;
		reg = <0>;
		irq-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
		label = "LIS2DW12";
	};
};

in the project configuration file, sensor configuration is:
CONFIG_SENSOR=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y
CONFIG_LIS2DW12=y
CONFIG_LIS2DW12_TRIGGER_OWN_THREAD=y
CONFIG_LIS2DW12_INT_PIN_1=y
CONFIG_LIS2DW12_ODR_200=y

In the code, register a trigger handler function, and read the x/y/z acceleration after every triggered event:
bool init_LIS2DW12()
{
	struct device *lis2dw12 = device_get_binding(DT_LABEL(DT_INST(0, st_lis2dw12)));
	struct sensor_trigger trig;
	trig.type = SENSOR_TRIG_DATA_READY;
	trig.chan = SENSOR_CHAN_ACCEL_XYZ;
	sensor_trigger_set(lis2dw12, &trig, lis2dw12_trigger_handler);
}

static int sample_count=0
static void lis2dw12_trigger_handler(struct device *dev,
				    struct sensor_trigger *trig)
{
	struct sensor_value accel[3];
	sensor_sample_fetch_chan(dev, SENSOR_CHAN_ACCEL_XYZ);
	sensor_channel_get(dev, SENSOR_CHAN_ACCEL_XYZ, accel);
	sample_count++;
	printf("sample count: %d\r\n", sample_count);

	//put the samples to another buffer and wait for further process in another task...
}

So the sensor_sample_fetch_chan() and sensor_channel_get() only reads one sample at a time.
After a bunch of test, I found that the code only works when LIS2DW12 ODR (output date rate) is <=100Hz.
At 200Hz ODR, the interrupt is so frequent that the above code of reading the X/Y/Z acceleration sample one by one is not good enough to handle such frequent interruption.
Describe the solution you'd like
A lot of sensors supported by Zephyr has FIFO function. (e.g. lis2ds12, lis2dw12, LSM6DSO , MPU6050). It is nice if the sensor driver can offer functions to enable the FIFO mode and perform bulk SPI reading (prefer to use DMA too).
This can make the sensor driver much more useful when working with high output data rate. Because the existing frequent interruption at each single sample is not a good approach since it brings too much CPU overhead for RTOS.
Describe alternatives you've considered
For now it is also possible to NOT to use sensor_sample_fetch_chan() and sensor_channel_get() functions, but to get the context pointer and directly call the LIS2DW12 register read function, or even SPI read functions, such as example below:
static void lis2dw12_trigger_handler(struct device *dev, struct sensor_trigger *trig)
{
	struct lis2dw12_data *data = (struct lis2dw12_data *)dev->driver_data;
	stmdev_ctx_t *ctx = ((struct lis2dw12_data *)dev->driver_data)->ctx;

	///////////////////////////////////////////
	//Below is blocking read, this is the most stable when working at 200Hz ODR
	if(ctx->read_reg(data, 0x28U, buffer_rx, 192)) {
		printf("lis2dw12_spi_read_async() error.\r\n");
	}
}

This approach works. But the code depends on what function are available in the sensor's driver/middleware.
It would still be better if sensor driver provides FIFO functions since that'll be a generic implementation for all sensors.
Additional context
NO.

I think it would be worth re-opening https://github.com/zephyrproject-rtos/zephyr/pull/17434 as it would better suit applications where high sensor data rates need to be processed. Support for sensors that have a FIFO can be implemented on current sensor API, e.g. could be done reading FIFO contents on trigger or using a periodic timer and then _fetch would be a consumer.
Still there are a couple of problems I see in the current API. First is an efficient way of accessing data in blocks. In case sensor FIFO was used data would be read internally in bursts, but external access would made on a sample basis (requiring two calls, _fetch + _get). The second point is that sensor API does data conversion on _get. This is not always desired, e.g. I may just want to transmit raw values, apply some data processing on non-converted data, etc.

Is there any status update on this FIFO support issue?  I am looking for a solution to use the internal hw FIFO of the sensor.  Thanks,
JC

Should be fixed by #60063


Reuse (copy) overlapping matrix samples between range evaluation steps

In many cases (such as recommended with the rate function) the evaluation range is significantly larger than one evaluation step and, in this situation, many of the samples between subsequent evaluation steps overlap. Starting with an empty slice at every step and copying over all samples one-by-one is significantly slower than doing a copy(), so doing the latter gives a performance boost of between ~25% with an overlap of 5 out of 6 samples (rate[1m], 1000 10s steps, 10s resolution) and ~90% (rate[1d], same step and resolution).
This only produces an improvement if the range covered by BufferedSeriesIterator is adjusted to the eval step starting with the second step, otherwise the Next() and At() calls need to be made for all overlapping samples, and this is where the slowness comes from to begin with.
Here are the before and after benchmarks, as well as benchcmp output.

I have slightly reworked the change (but only slightly).
I got rid of "poking around ev", as you put it, as that was a misguided optimization and thus unnecessary. I have also clearly documented the preconditions for matrixIterSlice. I could rename it to matrixIterSliceAppend, to make it more obvious, if you think that helps. And finally, I'm buffering the initial delta value in BufferedSeriesIterator, so it doesn't have to be passed in on every Reset call.
If you have a suggestion for how to wrap this more nicely, I'm happy to oblige.

Conflicts resolved.
I did add a comment to #4226 though, on what I perceived to be a regression introduced by that change (which I noticed during merging).

Thanks!


Missing a Troubleshooting secion

I cannot get Application Guard to determine a URL is untrusted and redirect the request to the hardware-isolated environment.
Wish there were some diagnostic information available.

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

ID: 15d066f2-0726-bbf9-3425-756ce7dbadee
Version Independent ID: 03501802-fb28-a89d-a463-e27d2fea7456
Content: Testing scenarios using Windows Defender Application Guard in your business or organization (Windows 10)
Content Source: windows/security/threat-protection/windows-defender-application-guard/test-scenarios-wd-app-guard.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

@officedocsbot assign @jvsam

Hi @OriginalDonSolo, have you installed Windows Defender Application Guard extension for Google Chrome or Mozilla Firefox?

Hi @OriginalDonSolo, we're sorry to hear that you're having issues. Please ensure that your device meets the requirements before turning on Windows Defender Application Guard and defining the network isolation settings. If you've met the requirements and followed the instructions and you still can't get it to work,  I recommend that you contact Windows 10 support for assistance. There are also other support resources that are available for you like the Microsoft Tech Community or the Technet forums where you can post your question and get help from the community. Thank you and kindly keep us informed if you find any relevant information that can be incorporated into this documentation.

Here's what I learned.
I had the setting 'Turn on Windows Defender Application Guard in Managed Mode' set to a value of 3, which is 'Enable Windows Defender Application Guard for Microsoft Edge AND Microsoft Office.'
With that setting, AG would ignore ALL its settings.  When I changed that setting to a value of 1, which is 'Enable Windows Defender Application Guard for Microsoft Edge ONLY', then AG works properly.  Change the setting back to 3 and it will ignore all its settings.  Back to 1, and it will work properly.
Now, I do not know why or what that means, just that Office in AG does not work properly and that enabling it prevents AG from processing its Group Policy settings.
From: Jo<EMAIL_ADDRESS>Sent: Sunday, December 22, 2019 1:46 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Don Pachniak<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Missing a Troubleshooting secion (#5565)
Hi @OriginalDonSolohttps://github.com/OriginalDonSolo, we're sorry to hear that you're having issues. Please ensure that your device meets the requirementshttps://docs.microsoft.com/windows/security/threat-protection/windows-defender-application-guard/reqs-wd-app-guard before turning onhttps://docs.microsoft.com/windows/security/threat-protection/windows-defender-application-guard/install-wd-app-guard#install-application-guard Windows Defender Application Guard and defining the network isolation settingshttps://docs.microsoft.com/windows/security/threat-protection/windows-defender-application-guard/configure-wd-app-guard#network-isolation-settings. If you've met the requirements and followed the instructions and you still can't get it to work, I recommend that you contact Windows 10 supporthttps://support.microsoft.com/hub/4338813/windows-help?os=windows-10 for assistance. There are also other support resources that are available for you like the Microsoft Tech Communityhttps://techcommunity.microsoft.com/ or the Technet forumshttps://social.technet.microsoft.com/Forums/home where you can post your question and get help from the community. Thank you and kindly keep us informed if you find any relevant information that can be incorporated into this documentation.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/issues/5565?email_source=notifications&email_token=ANF3JG7NPAOT3Y6KZ2UJAO3QZ67W3A5CNFSM4JTEQFBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPYRDY#issuecomment-568297615, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANF3JGY633EAPABJP2ESU4LQZ67W3ANCNFSM4JTEQFBA.

Thank you for that additional information @OriginalDonSolo. I am sorry that I can't be of much help, it would be best if you ask the question at Technet forums or Microsoft Tech community so that other community members, or even Microsoft engineers can provide answers or some insights. This GitHub-based documentation feedback system is intended to help improve the quality of the technical documentation of Microsoft Docs so if you have feedback or suggestions related to this documentation, please let us know and we will submit it for review. Thank you.

Thank you @jvsam for your help with this! I'm going to close this issue out for now, with kind regards.


lv_preload.c Add feature to allow setting whether the animation is pl…

…ayed in forward/reverse. Changes the default spinner behavior from counterclockwise to clockwise.
Side comment: I see that lv_anim_del is commented out; is this going to cause issue?

Very clean implementation, thank you!
Could you please use the DIR and ANIM abbreviations?
I don't know why lv_anim_del is commented out. It should be enabled. Can you test it?

Let's make lv_anim_del a separate PR/commit incase it causes issues.
If abbreviating to dir and anim, should we abbreviate lv_set/get_animation_time as well?

Let's make lv_anim_del a separate PR/commit incase it causes issues. But in my short testing, uncommenting it had no ill effects.

I'm almost certain that it will be fine to re-enable it. Let's open an issue if you face any related problems.

If abbreviating to dir and anim, should we abbreviate lv_set/get_animation_time as well?

Yes, I think it's still easy to understand but much shorter. Do you agree?

Alright, I uncommented lv_anim_del and I changed the abbreviations. Should be good to merge!

Great, thank you!


feat: Loops

Demonstrate the use of loops with a simple example.
This can be a Cairo program, not necessarily a contract.

"I would love to do it. Should I also demonstrate how to add loop control with something like Span?"

loop control with something like Span?

Amazing idea! Array iteration with loops and pop_front


Added Daoud Boulad AKA Boltmerz

I added myself to the Contributors.md file.

I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Moose HoP doors fix

About the PR

You can bolt the doors in the HoP office on Moose.
Warning: this is my first map related PR, I have no idea if I did it right, but I know my change worked. If I did anything wrong, tell me.
Media

https://user-images.githubusercontent.com/44417085/235302104-3fd404e2-da43-4b20-b1d9-7d389bc66ac6.mp4

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: crazybrain

fix: The airlocks for HoP's office on Moose can be bolted with the service remote.

Don't know why tests failed.

Don't know why tests failed or what I need to do to fix it.

Test fail is yaml schema but you didn’t change the map file names so might be erroneous.


gimp: 2.10.6 → 2.10.8

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gegl/versions.
meta.description for gegl_0_4 is: '"Graph-based image processing framework"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.4.12 with grep in /nix/store/vpbhipg2ljaxjpcbzzwridcng3idy5g9-gegl-0.4.12

directory tree listing: https://gist.github.com/f28ed54e96d256e806dc7790e0072642

du listing: https://gist.github.com/6128e626b91a7d97815af36c547a965d

Outpath report (click to expand)

Outpath difference report
36 total rebuild paths
18 package rebuilds
18 x86_64-linux rebuilds
7 i686-linux rebuilds
4 x86_64-darwin rebuilds
7 aarch64-linux rebuilds
First ten rebuilds by attrpath
gegl_0_4
gimp
gimp-with-plugins
gimpPlugins.exposureBlend
gimpPlugins.focusblur
gimpPlugins.fourier
gimpPlugins.gap
gimpPlugins.gimplensfun
gimpPlugins.gmic
gimpPlugins.lightning

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vpbhipg2ljaxjpcbzzwridcng3idy5g9-gegl-0.4.12 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gegl_0_4 https://github.com/r-ryantm/nixpkgs/archive/5e26455254b8f563c72042caa42e15c2a357ae4b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vpbhipg2ljaxjpcbzzwridcng3idy5g9-gegl-0.4.12
ls -la /nix/store/vpbhipg2ljaxjpcbzzwridcng3idy5g9-gegl-0.4.12/bin

cc @jtojnar for testing.

Success on x86_64-linux (full log)
Attempted: gegl_0_4
Partial log (click to expand)
shrinking /nix/store/h7cr36p7k757m7nnqrdjahc1rqsaf1bl-gegl-0.4.12-dev/bin/gegl-imgcmp
shrinking /nix/store/h7cr36p7k757m7nnqrdjahc1rqsaf1bl-gegl-0.4.12-dev/bin/gegl
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/h7cr36p7k757m7nnqrdjahc1rqsaf1bl-gegl-0.4.12-dev/lib  /nix/store/h7cr36p7k757m7nnqrdjahc1rqsaf1bl-gegl-0.4.12-dev/bin
patching script interpreter paths in /nix/store/h7cr36p7k757m7nnqrdjahc1rqsaf1bl-gegl-0.4.12-dev
checking for references to /build in /nix/store/h7cr36p7k757m7nnqrdjahc1rqsaf1bl-gegl-0.4.12-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/76gkhsssj8xg4ggr86kwp6ppfm9v8295-gegl-0.4.12-devdoc
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/76gkhsssj8xg4ggr86kwp6ppfm9v8295-gegl-0.4.12-devdoc
checking for references to /build in /nix/store/76gkhsssj8xg4ggr86kwp6ppfm9v8295-gegl-0.4.12-devdoc...

Success on x86_64-darwin (full log)
Attempted: gegl_0_4
Partial log (click to expand)
/nix/store/nkg95pddy65wwhpchdkmfh9pdp8694cz-gegl-0.4.12/lib/libgegl-sc-0.4.dylib: fixing dylib
/nix/store/nkg95pddy65wwhpchdkmfh9pdp8694cz-gegl-0.4.12/lib/libgegl-0.4.0.dylib: fixing dylib
/nix/store/nkg95pddy65wwhpchdkmfh9pdp8694cz-gegl-0.4.12/lib/libgegl-npd-0.4.dylib: fixing dylib
/nix/store/nkg95pddy65wwhpchdkmfh9pdp8694cz-gegl-0.4.12/lib/libgegl-sc-0.4.dylib: fixing dylib
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/fagbbfi9g6117zh0zpy4nkgrjigk41fn-gegl-0.4.12-dev/lib  /nix/store/fagbbfi9g6117zh0zpy4nkgrjigk41fn-gegl-0.4.12-dev/bin
patching script interpreter paths in /nix/store/fagbbfi9g6117zh0zpy4nkgrjigk41fn-gegl-0.4.12-dev
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/a9g76w4kgk3gzadx134sdgdmfvj04b22-gegl-0.4.12-devdoc
/nix/store/nkg95pddy65wwhpchdkmfh9pdp8694cz-gegl-0.4.12

Success on aarch64-linux (full log)
Attempted: gegl_0_4
Partial log (click to expand)
shrinking /nix/store/2rk9k0n5k6b3y0nni4hyf19zxi6p51qk-gegl-0.4.12-dev/bin/gegl
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2rk9k0n5k6b3y0nni4hyf19zxi6p51qk-gegl-0.4.12-dev/lib  /nix/store/2rk9k0n5k6b3y0nni4hyf19zxi6p51qk-gegl-0.4.12-dev/bin
patching script interpreter paths in /nix/store/2rk9k0n5k6b3y0nni4hyf19zxi6p51qk-gegl-0.4.12-dev
checking for references to /build in /nix/store/2rk9k0n5k6b3y0nni4hyf19zxi6p51qk-gegl-0.4.12-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/xrb74szr21n5xvqvxmfsx1pwywpgn7kv-gegl-0.4.12-devdoc
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/xrb74szr21n5xvqvxmfsx1pwywpgn7kv-gegl-0.4.12-devdoc
checking for references to /build in /nix/store/xrb74szr21n5xvqvxmfsx1pwywpgn7kv-gegl-0.4.12-devdoc...
/nix/store/0bav10yifj2n3ym5y6rd45772mqdypz6-gegl-0.4.12

Failure on x86_64-darwin (full log)
Attempted: babl, gegl_0_4, gimp
Partial log (click to expand)

Error: GIMP configuration failed.

  - Error: missing dependency glib-networking
      *** Test for glib-networking failed. This is required.

See the file 'INSTALL' for more help.
builder for '/nix/store/224rj9zc20pmnrnlmxidpbpsrrwaa3kb-gimp-2.10.8.drv' failed with exit code 1
error: build of '/nix/store/224rj9zc20pmnrnlmxidpbpsrrwaa3kb-gimp-2.10.8.drv' failed

The darwin issues is https://github.com/NixOS/nixpkgs/issues/41071

Success on x86_64-linux (full log)
Attempted: babl, gegl_0_4, gimp
Partial log (click to expand)
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/python-eval/python-eval.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/histogram-export/histogram-export.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/palette-offset/palette-offset.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/gradients-save-as-css/gradients-save-as-css.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/file-openraster/file-openraster.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/palette-sort/palette-sort.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/python-console/python-console.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/py-slice/py-slice.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/foggify/foggify.py'...
wrapping `/nix/store/xnjjzbaljqz9g1ylm3bprhikh7d68g6l-gimp-2.10.8/lib/gimp/2.0/plug-ins/palette-to-gradient/palette-to-gradient.py'...

Success on aarch64-linux (full log)
Attempted: babl, gegl_0_4, gimp
Partial log (click to expand)
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/palette-offset/palette-offset.py'...
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/histogram-export/histogram-export.py'...
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/gradients-save-as-css/gradients-save-as-css.py'...
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/foggify/foggify.py'...
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/file-openraster/file-openraster.py'...
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/colorxhtml/colorxhtml.py'...
wrapping `/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8/lib/gimp/2.0/plug-ins/python-console/python-console.py'...
/nix/store/jk4gfljy4rwn4sl09zara22r11xhjyg0-babl-0.1.60
/nix/store/byr5gqha6mfidyia5x186c4k2f53yvpr-gegl-0.4.12
/nix/store/c3793qlpgmgs0xh5kyyzqrzlfxzzn0x8-gimp-2.10.8


Permission denied

Hi all,
today I installed a new proxy - we already have multiple proxies running - but I am getting the following error:
2023-02-15 22:28:59: Returning authorisation request result for<EMAIL_ADDRESS>2023-02-15 22:28:59: Caught exception while requesting OAuth 2.0 credentials for<EMAIL_ADDRESS>PermissionError(13, 'Permission denied`)
The error message only appears after I did the login to authorize the account.
In the logfile in azure / m365 I am able to see that the login itself was successful.
Do you have any Ideas what I am doing wrong here?
(IDs are correct and were checked)
[SMTP-1587]
local_address = IP Address from Proxy
server_address = smtp.office365.com
server_port = 587
starttls = True
<EMAIL_ADDRESS>permission_url = https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/token
oauth2_scope = https://outlook.office365.com/IMAP.AccessAsUser.All https://outlook.office365.com/POP.AccessAsUser.All https://outlook.office365.com/SMTP.Send offline_access
redirect_uri = http://localhost
client_id = Client_ID
client_secret = Client_SECRET
Thanks in advance!
Kind regard
André

I suspect this is a permission issue with the O366 client you are using.
You've requested IMAP, POP and SMTP scopes - did you include all of these when setting up the client?

I´m using:
IMAP.AccessAsUser.All
offline_access
openid
POP.AccessAsUser.All
Delegiert
SMTP.Send
User.Read
What I missed telling:
I try to send the mail using powershells send-mailmessage cmdlet which is using SMTP.

These sorts of issues are very tricky to diagnose remotely, and I don't really have anything else to suggest I'm afraid. It's unlikely to be an issue with the proxy though. Are you sure you've enabled IMAP/POP/SMTP for this account?

I'm going to close this under the assumption that it has been resolved. Feel free to reopen if you found that it was an issue with the proxy itself.

Sorry for the late response.
We were finally able to fix the issue - which where made by a wrong configuration.
The user under which the proxy was running did not have access to write to the emailproxy.conf file.
Thus leading to the "permission denied" message - which better should be "accesss denied".
So in the end the proxy clould not store the tokens into this file.
Maybe it`s possible to implement a startup check wheter this file is writable or not und print a message cleary viewing this problem und then exiting the proxy.
Think you for your feedback anyway!

Thanks for following up again with this extra detail – I agree that the proxy should try to handle this if possible. I'll add a check when the file is saved, which should at least give a more useful error message.


Mappings parsing fix

Issue #, if available:
Description of changes:
fixed mappings parsing when field name named "properties" exists in mappings
CheckList:
[ ] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #851 (4937cf3) into main (bcd8988) will increase coverage by 0.30%.
The diff coverage is 87.50%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #851      +/-   ##
============================================
+ Coverage     75.29%   75.59%   +0.30%
- Complexity      110      111       +1
============================================
  Files           125      125
  Lines          6885     6884       -1
  Branches       1034     1034
============================================
+ Hits           5184     5204      +20
+ Misses         1171     1153      -18
+ Partials        530      527       -3

Impacted Files
Coverage Δ

...opensearch/alerting/util/DocLevelMonitorQueries.kt
72.94% <85.71%> (+0.69%)
:arrow_up:

.../opensearch/alerting/DocumentLevelMonitorRunner.kt
83.38% <88.88%> (+3.11%)
:arrow_up:

... and 6 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


(docs) update /main/docs/IMPLEMENTATION_DESIGN.md

correct spelling
correct grammar
propose md structure
create stronger intent
improve readabilityity

Looks good, thank you for the effort! 😊

Looks good, thank you for the effort! 😊


Rewind/Fast Forward Bindings Option

In my personal setup for games that don't use the right thumbstick I like to enable the ability to rewind and speed up gameplay since I am typically very bad at games these days and I don't get much time to play.
I was curious if it would be reasonable to request a toggle in the menu to speed up and rewind gameplay either for specific consoles or games, I'm not sure how nuanced the configuration can be per game or console.
Might be a good idea to optionally use a hotkey to enable the binding as well.
My personal binding is as follows but it's just an example and I don't expect it to be used in place of already existing standards within the project.
Rewind: LSTICK (Click Hold) + Right Stick -X
Forward: LSTICK (Click Hold) + Right Stick +X
Curious if anyone else would find this kind of feature useful.

Absolutely


Service page - bullates points not saving while adding working paper

Describe the bug
https://www.berrycast.com/conversations/a225e982-cf32-5cd3-9ff1-1ec4db276ae8

give better description, video is for reference to find, but Problem, Suggestion should be there, without that i can not give  priority to this
Steps to reproduce, Problem, Suggestion, Clast with any other Module, any issue which we can link all things needs to be here

considering this, forwarding this , due to small migration issue

https://www.berrycast.com/conversations/7b9af25b-9f65-50b7-9656-737c51632b93


modularize / opt-depend on default

Changes

Modularized the letter-cutter and api scripts
Optional-depends on default (can be used as an api from any game now)

How to test
Test mod (with devtest game):
init.lua
letters.register_letters("basenodes", "stone", "basenodes:stone", "Stone", "default_stone.png")

mod.conf
depends = letters, basenodes

Ingame:
/giveme basenodes:stone_letter_au

[x] Runs as a library/api in any non-default game
[x] Still works as expected in the default game

Did you make sure that the node names are exactly the same as before?

Did you make sure that the node names are exactly the same as before? I am asking this to double-check in case I missed something during testing.

I did test that already but double checked just in case: all nodes are accounted for and work as expected 👍


How to Update Metadata of Already Added MediaItems?

After setting the playlist using controller.setMediaItems(), is there a way to directly modify the already set MediaItem?
My project plays local audio files, and I use MediaMetadataRetriever in the onAddMediaItems callback of the Service to parse the files to obtain the actual music name, duration, and other information. When there are a lot of audio files (1k+), the parsing speed is very slow.
So, is it possible to set temporary information in onAddMediaItems, then parse it in the background using MediaMetadataRetriever, and replace the parsed information in the already added MediaItem after parsing is complete? Or is there a better approach?

This looks like a duplicate of #33, so I'll close this. Please re-open you think #33 does not address your use-case.

One more note/question: ExoPlayer and most other players will parse the media metadata when trying to play a file at the latest. So unless you need to know all metadata in advance (e.g. to display it to a user), there is actually no need to do any of the background service logic you describe here.

Thanks for the clarification. Just for completeness: Once we get around to fix https://github.com/google/ExoPlayer/issues/4727, you really don't need your workaround anymore because ExoPlayer would take care of reading all metadata initially if requested.


Inside  pkg file ,there is a "${package.build.dir}" directory,  is it right?

Delete this pkg file (not sure where you got it).
1 - Go to the main page of the DateTimeField repo and click the button "Clone or Download" and "Download ZIP"
2 - Create your project using sencha -sdk <path to framework> generate app -classic MyApp MyApp
3 - Go into MyApp and create a folder packages\local\DateTimeField or go into MyApp, run sencha generate package DateTimeField go into the package folder and delete all contents.
4 - Unzip the Downloaded package into that folder
5 - Edit the app.json file at the root of your project and include DateTimeField to the requires block if it isn't there.
Not you should be able to add xtype: 'datetimefield to your containers

I build it under extjs workspace with "sencha package build" then got the pkg file


Adam optimiser fails because of negative v_hat values leading to nan in weight update

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
tf 2.16.1
Custom code
Yes
OS platform and distribution
Debian 12
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
cuDNN version 8907
GPU model and memory
Quadro RTX 8000, 48GB
Current behavior?
Adam leads to nan values in UNet while SGD works fine. On manual implementation and debugging, I have found the problem to be in the calculation of v_hat. For whatever reason, v_hat is becoming negative at the beta_2*v_hat stage. After this all calculation collapses. The addition is incorrect as well. The whole code repository is too hard to simplify to give a standalone test case, but i have attached the training code. This issue should be model agnostic, as it is happening in the optimiser.
To note: I tried tf.keras.optimizers.Adam with various parameters and then implemented my own version to debug and found the issues mentioned below.
Another note: This happens randomly. Sometimes it will happen after 10 iterations, sometimes after 2000.
This is quite unexpected behaviour from a library used by so many people in such a common routine. Please suggest possible resolution.
Thanks
Standalone code to reproduce the issue
if self.networkMode == 'training':
            self.optimizer = tf.keras.optimizers.Adam(learning_rate=self.stgs.START_LEARNING_RATE, clipvalue=2.0, epsilon=1e-3)
            list_losses = []
            list_weights = []

            gradsTexNet = tape.gradient(finalLoss, texNet.model.trainable_weights)
            # optimizer.apply_gradients(zip(gradsTexNet, texNet.model.trainable_weights))
            grads_copy = [tf.identity(g) for g in gradsTexNet]
            weights_copy = [tf.identity(w) for w in texNet.model.trainable_weights]

            weight_update_list = []
            m_hat_list = []
            v_hat_list = []
            s1 = []
            s2 = []
            for ioy, weight in enumerate(texNet.model.trainable_weights):
                self.t += 1.0 # Increment time step

                # Update biased first moment estimate
                self.m[ioy].assign(self.beta_1 * self.m[ioy] + (1 - self.beta_1) * gradsTexNet[ioy])
                s1.append((1 - self.beta_2) * tf.square(gradsTexNet[ioy]))
                s2.append(self.beta_2 * self.v[ioy])
                # Update biased second moment estimate
                self.v[ioy].assign(self.beta_2 * self.v[ioy])
                self.v[ioy].assign_add((1 - self.beta_2) * tf.square(gradsTexNet[ioy]))

                # Compute bias-corrected first and second moment estimates
                m_hat = self.m[ioy] / (1 - (self.beta_1**self.t))
                v_hat = self.v[ioy] / (1 - (self.beta_2**self.t))

                # Update the weight
                weight_update = self.learning_rate * m_hat / (tf.sqrt(v_hat) + self.epsilon)

                m_hat_list.append(m_hat)
                v_hat_list.append(v_hat)
                weight_update_list.append(weight_update)

                weight.assign(weight - weight_update)
            weights_copy2 = [tf.identity(w) for w in texNet.model.trainable_weights]

Relevant log output
The issue is in:
self.v[i].assign(self.beta_2 *self.v[i] + (1 - self.beta_2) *tf.square(gradsTexNet[i]))

it is self.beta_2 * self.v[i] which is becoming negative first.
The values for self.beta_2 * self.v[i] become [-277.81274   243.22517  -335.06995   333.12036   -47.58728   340.61444
  -58.375122  338.2406  ]

The values for (1 - self.beta_2) * tf.square(gradsTexNet[i]) become: [2.6129057e-05 3.6575788e-05 1.4987046e-08 3.2171758e-07 1.2511656e-05  1.8191919e-05 1.2237210e-05 6.4639935e-05]

The values of their sum don't line up and are this:
[-198.82468   -77.196434 -199.875    -537.16595  -119.70409  -448.5137  -115.79137  -342.62042 ]

If i divide them by (1 - beta_2**t) in tensorflow, the values become:
[ -49780.793  -19328.082  -50043.766 -134493.1    -29970.95  -112296.766   -28991.3    -85783.695]

but if i divide them using python, the values become this:
[-3586.765  -1392.6112 -3605.7126 -9690.387  -2159.4424 -8091.1143  -2088.8574 -6180.817 ]

The gradient values are:
[-0.16164485 -0.19124797  0.00387131  0.01793649 -0.11185551 -0.13487741  -0.11062192  0.25424385]

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

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

This sounds like a scam. I will not be downloading anything on that link.

@simba611,
Could you please share a reproducible code that supports your statement so that the issue can be debugged in the effective way? Thank you!


Shift4 - access

Must be maildrop, has an api for functionality but nothing for reporting data or deleting data


Release2.1

Coverage decreased (-88.0%) to 0.0% when pulling 51076ff6fbb51c9c2b4fad33737a6bdae4382674 on release2.1 into 360b1ef469cc35f1f7a93d9f926e2e5beebb6122 on master.


@Shreeshrii Improved Makefile and python scripts for Validation CER plotting

Improvements over current version:

Uses a Makefile for validation and plotting (still needs to be run twice to get latest checkpoints validation)
Allows for missing validation logs till the Checkpoint CER falls below 10%
Plots saved in data/MODEL_NAME/plot directory
Training log is used from data/MODEL_NAME.log
Plots have been enhanced to display number of lines in list.train, list.eval and list.validate.
Line plot is used only for CER every 100 iterations.
Scatter points are used for the values for Checkpoint CER, Eval CER and Validation CER
Labels added to display minimum CER value with the learning iteration number
Allows use of custom validation lists from data/MODEL_NAME directory

See sample plots below:

PR #214, #215 and #217 are needed to be applied for this to work.

PR #214, #215 and #217 are needed to be applied for this to work.

see https://github.com/Shreeshrii/tesstrain/tree/ben/data/ben
for training results and reports for Bengali using groundtruth provided in
https://groups.google.com/g/tesseract-ocr/c/kpF4jmik6W0/m/bo4HL0ejBgAJ
I will try and convert the bash scripts creating ocreval reports to make.

see https://github.com/Shreeshrii/tesstrain/tree/ben/data/ben
for training results and reports for Bengali using groundtruth provided in
https://groups.google.com/g/tesseract-ocr/c/kpF4jmik6W0/m/bo4HL0ejBgAJ
I will try and convert the bash scripts creating ocreval reports to make.


mdt + bxx files need to be merged for hexagon elf?

trying to figure out how to use your tools
For android: my assumption is the mdt + bxx files need to be merged into a single file which would be the hexagon elf - is this incorrect? Are you assuming the user does the before running your toolset?

Hi Lucas, the short answer is Yes.
Those files you mention are loaded (merged) by the peripheral image loader into a single contiguous executable program.
IDA processor modules (like the one provide in this repository for Hexagon) rely on IDA loader modules to load and interpret the input file (in a similar way as an operating system loader would), e.g., mapping a string of bytes from the binary that encode an instruction into memory, so the processor module can later disassemble them into an instruction.
There is no (to my knowledge) IDA loader module available that can handle those files as the PIL would (which would be desirable), so those files (that represent an ELF executable, as you can see by checking the 'ELF' magic number) have to be merged by you (there are tools available on the web that can do this) before using the IDA to analyze them (this is not a limitation of the IDA processor module itself, rather the limitation is not having the IDA loader module).
You can also analyze each separate file, indicating IDA to load it as a "Binary file" (i.e., plain binary with no additional information) which is not the most convenient way, but may be enough for your needs.

for the purpose of anyone else reading this
this might do it: https://github.com/laginimaineb/unify_trustlet

Great, thanks for the link.


Docs: Matic setup instructions

https://docs.matic.network/docs/develop/metamask/config-matic/
This might involve instructions on how to get matic tokens available.

How to move MATIC from ETH mainnet to POLYGON network:
https://wallet.matic.network/

Made great progress on this, got blocked by https://github.com/webaverse/app/issues/1064
https://github.com/madjin/docs/blob/master/docs/market/matic-guide.md

fixed https://docs.webaverse.com/docs/market/matic-guide


Fix Ruby 2.7 v 3 positional args

Ruby (https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/) deprecated positional arguments in 2.7, it is fully unsupported in Ruby 3.0
This PR fixes a use of this deprecated pattern which was blocking the rails installer command

Thank you for the change! Do I understand that Pecorino would simply not work for you on Ruby 2.7?

which was blocking the rails installer command

I don't want to be nitpicky but I would like to understand the problem better. I know kwargs changes have been a pain throughout the 2.x to 3.x lifecycle, but knowing how things fail exactly would help deepen my understanding.
Also, should we add a CI run on 2.7 maybe? there is no reason for this gem to require 3.x

Ah I see:
/Users/julik/Code/libs/pecorino/lib/pecorino.rb:8:in `require_relative': /Users/julik/Code/libs/pecorino/lib/pecorino/throttle.rb:58: syntax error, unexpected ',' (SyntaxError)
...Pecorino::LeakyBucket.new(key:, **)
...                              ^
rake aborted!
Command failed with status (1)
/Users/julik/.rbenv/versions/2.7.7/bin/bundle:23:in `load'
/Users/julik/.rbenv/versions/2.7.7/bin/bundle:23:in `<main>'

Yes, let's fix this and also add 2.7 to CI. Thanks!


Support for i18n

It would be great to include internationalization support by default :)

Great idea we can add this in fairly easily! Stay tuned :)
Making sure the port to ng4 goes smoothly and we'll be able to make cosmetic tweaks more easily afterwards!


Duplicate id Rows

While inspecting the generated database I noticed that there are two id rows for every table with the same content. For example, if I have the following class.
@Entity
public abstract class AbstractUser {
    @Key
    long id;
    String name;
    String profilePicUrl;
}

Then the resulting table has the following rows.
 id | id | name | profilePicUrl
--------------------------------
 1    1    Alex   http://
 2    2    Tobi   http://...

How are you retrieving the rows and column names? The database will not allow you to have to two columns with the same name so that should not be possible. Are you sure they are both named 'id'?

I was using Stetho to look at the database content, i.e. via Chrome Devtools. Thinking more about it, I assume the duplicate id rows shown are due to some presentational problem in Chrome Devtools resp. Stetho. Interestingly, Chrome Devtools shows tables created by ORMLite with both a rowid and _id (_id is the primary key), however their content is not identical. In any case, false alarm ;).


Fixes issue where the multicast is not send from the listen IP address

I noticed that in some situations the multicast announcement is send on the wrong interface. This PR fixes that issue by explicitly sending the announcement from the ListenIP.

I still have issues under some circumstances. I wonder if it is explicitly needed to set the interface to send multicast messages from and explicitly join a group as described here: https://godoc.org/golang.org/x/net/ipv4

The last commit fixes my multicast problem for the remaining scenario's. I think it should be ok like this.

Updated...

Is there anything that is keeping this PR from merging?
Thanks.

Apologies for the extended delay!


Fixes #133  - Fix problem with lua script loading.

Loading lua scripts from 'Script/' is not properly defined in stock lua and should explicitly specify the current directory as './Script'

closes #133


Use random number seed

There is currently no way to specify random number seed in the python Exotic Monte Carlo Engine. This is important as:

difficult to unit test/replicate results
Not able to run risks (Greeks)

See here for the current python implementation of the random number generator ABC.

@claudiayip as discussed!


Convert helper text to text from array

Helper text for content with anchor was an array instead of a string of text.
Changes

Converts helper text array to string of text.
Re-words helper text to be clearer that the text with still have auto-generated components.

Testing

Create a new blog page in wagtail.
Add a content with anchor component.

Screenshots
Before:

After:

Notes

Hope I'm not abusing a semicolon 😃

Hope I'm not abusing a semicolon

You are ;) The second statement is not an independent clause by virtue of being introduced by the coordinating conjunction "or". Check out http://theoatmeal.com/comics/semicolon
I might suggest being a little more explicit about what we recommend: "Enter some human-friendly text, or a big, ugly, semi-random ID will be generated on save."

Ah, I see.

@Scotchester is this better??

:+1: Please condense your migrations to a single migration with a meaningful name before merging.

Argh, keep forgetting that step, thanks!


list explainmagnitude / execute explainmagnitude2 not reliable

Dear devs,
for the BOINC project monitoring service (which project gets what mag, first only Win/Intel hardware) I intend to set up for the community I need one of the commands list explainmagnitude / execute explainmagnitude2 to put out reliably like displayed in the end of this post.
There are at least 2 different cases that may occur that are not helpful:

The output changes from time to time #205. There may be a connection between whether der is a NN response or not.
Sometimes a project, in my case enigma@home, is not displayed although it is present in list cpids and also in the NN (and on gridcoinstats). A workaround is execute explainmagnitude2 force , sleep 10, execute explainmagnitude. The sleep is necessary because sometimes execute explainmagnitude2 has the same output as the execute explainmagnitude2 force.

 This is long-standing issue, see #205.

The issue #205 is closed and not solved. And 2. is not covered there. Thats why I added a new issue ;)

might be related to explainmagnitude2 which lets u call nn for the explainmagnitude.
it would be expmag_nresp which fills in msNeuralResponse
if msNeuralResponse is not empty it'll display that information meaning its a response from nn.
if its it empty it continues on and uses mvBoincProjects for the data.

this can be closed


fix(Success Modal): fixed check pipeline and success modal UI

:tada: This PR is included in version 1.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Request separate PVCs when parallel is set to true

This patch changes the way PVCs are requested when the parallel option is set to true. Instead of using one PV for all the workflow steps, it is divided into multiple PVs. This change is needed, because the LVM backed storage does not support the RWX, which causes issues in some cases.

The job is failing. But this is expected as we need to update the other controllers as well (tobiko + horizontest).
  # github.com/openstack-k8s-operators/test-operator/controllers
    controllers/horizontest_controller.go:128:3: cannot use instance.Spec.Parallel (variable of type bool) as int value in argument to r.EnsureLogsPVCExists
    controllers/horizontest_controller.go:163:34: not enough arguments in call to r.GetPVCLogsName
            have (*"github.com/openstack-k8s-operators/test-operator/api/v1beta1".HorizonTest)
            want (client.Object, int)
    Error: building at STEP "RUN if [ -f $CACHITO_ENV_FILE ] ; then source $CACHITO_ENV_FILE ; fi ; CGO_ENABLED=0  GO111MODULE=on go build ${GO_BUILD_EXTRA_ARGS} -a -o ${DEST_ROOT}/manager main.go": while running runtime: exit status 1

I have addressed every issue @lpiwowar has pointed out. Now the code looks much cleaner, thank you for the review!
The first patch contained just change of logic for Tempest CR, now I have added changes to other CRs as well. One extra change is adding a placeholder for Ansible CR, because I want to apply the same logic to all CRs and it will be easier to just code the logic behind the placeholder later.

recheck
Failure in the previous job run was not caused by the patch.

recheck

recheck

recheck


implicit transaction wasn't created on a main thread when using platformview and set CA_ASSERT_MAIN_THREAD_TRANSACTIONS environment variable

we have a iOS flutter app which has a environment variable CA_ASSERT_MAIN_THREAD_TRANSACTIONS = 1 ,  after enter a page with platformview and pop back ,  when enter the page with platformview again, it hit a assert "CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread." I know It just take place in debug mode.  But in add-to-app we need set this variable to give us some warning tips.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.13.0-0.0.pre.1007, on macOS 12.2.1 21D62 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
This is taking an unexpectedly long time...[!] Xcode - develop for iOS and macOS (Xcode 12.5)
✗ Flutter requires Xcode 13 or higher.
Download the latest version or update via the Mac App Store.
✗ CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Connected device (1 available)
[✓] HTTP Host Availability
Steps to Reproduce
Just set CA_ASSERT_MAIN_THREAD_TRANSACTIONS = 1 and create page with platformview, It is easy to Reproduce

flutter_mac.zip

Just set CA_ASSERT_MAIN_THREAD_TRANSACTIONS = 1

Thanks for the code. Where exactly need to set this value ?

Ok, thanks for the update. I see the value being set in the repo I cloned that you shared earlier:

Running the code using latest master, I don't see the error you reported:
https://user-images.githubusercontent.com/67046386/168521546-1a3c3bee-e98a-4ed6-9277-9e55b050acf5.mov
flutter: flutter:-----------跳转 Normal Widget----
flutter: flutter:-----------跳转 Normal Widget----
flutter: flutter:-----------跳转 Normal Widget----
flutter: flutter:-----------跳转 Normal Widget----

Ok, thanks for the update. I see the value being set in the repo I cloned that you shared earlier:

Running the code using latest master, I don't see the error you reported:
103390.mov
flutter: flutter:-----------跳转 Normal Widget----
flutter: flutter:-----------跳转 Normal Widget----
flutter: flutter:-----------跳转 Normal Widget----
flutter: flutter:-----------跳转 Normal Widget----

The second time you push into page,   try long press the button for a while.

@houhuayong
Tried the same, but got no unexpected behavior.
https://user-images.githubusercontent.com/67046386/168737283-ccc70d51-4946-40fe-bf90-cad058a8d428.mov
Are you still able to replicate this using latest master or stable ?

@houhuayong Tried the same, but got no unexpected behavior.
103390.mov
Are you still able to replicate this using latest master or stable ?

Run Demo using "flutter run" in command line have no problem at all.   Please try in Xcode by open Runner.xcworkspace and CMD + R

Thanks for this tip. Running through XCode does give me the behavior as you reported earlier. Trying to longpress on the button hangs as below and throws error log:

 console log

2022-05-20 17:11:18.107408+0530 Runner[26786:284464] Metal API Validation Enabled
----------------------------<PHONE_NUMBER>79.425
----------------------------<PHONE_NUMBER>94.241
----------------------------<PHONE_NUMBER>94.276
2022-05-20 17:11:18.360765+0530 Runner[26786:285001] flutter: The Dart VM service is listening on http://<IP_ADDRESS>:52626/LPjSyP52lNc=/
2022-05-20 17:11:18.732638+0530 Runner[26786:284995] [VERBOSE-2:dart_isolate.cc(669)] Could not resolve main entrypoint function.
2022-05-20 17:11:18.733064+0530 Runner[26786:284995] [VERBOSE-2:dart_isolate.cc(167)] Could not run the run main Dart entrypoint.
2022-05-20 17:11:18.737484+0530 Runner[26786:284995] [VERBOSE-2:runtime_controller.cc(385)] Could not create root isolate.
2022-05-20 17:11:18.737906+0530 Runner[26786:284995] [VERBOSE-2:shell.cc(604)] Could not launch engine with configuration.
----------------------------<PHONE_NUMBER>38.308
----------------------------<PHONE_NUMBER>38.344
2022-05-20 17:11:18.843095+0530 Runner[26786:284995] [VERBOSE-2:dart_isolate.cc(669)] Could not resolve main entrypoint function.
2022-05-20 17:11:18.843409+0530 Runner[26786:284995] [VERBOSE-2:dart_isolate.cc(167)] Could not run the run main Dart entrypoint.
2022-05-20 17:11:18.847107+0530 Runner[26786:284995] [VERBOSE-2:runtime_controller.cc(385)] Could not create root isolate.
2022-05-20 17:11:18.847442+0530 Runner[26786:284995] [VERBOSE-2:shell.cc(604)] Could not launch engine with configuration.
----------------------------<PHONE_NUMBER>47.8469
2022-05-20 17:11:18.962535+0530 Runner[26786:284995] [VERBOSE-2:dart_isolate.cc(669)] Could not resolve main entrypoint function.
2022-05-20 17:11:18.962778+0530 Runner[26786:284995] [VERBOSE-2:dart_isolate.cc(167)] Could not run the run main Dart entrypoint.
2022-05-20 17:11:18.967624+0530 Runner[26786:284995] [VERBOSE-2:runtime_controller.cc(385)] Could not create root isolate.
2022-05-20 17:11:18.967977+0530 Runner[26786:284995] [VERBOSE-2:shell.cc(604)] Could not launch engine with configuration.
2022-05-20 17:11:22.881242+0530 Runner[26786:284975] flutter: flutter:-----------跳转 Normal Widget----
2022-05-20 17:11:25.866248+0530 Runner[26786:284962] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2022-05-20 17:11:25.866447+0530 Runner[26786:284962] [ProcessSuspension] 0x10c9feae0 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=26821, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
2022-05-20 17:11:27.063905+0530 Runner[26786:284976] [Utilities] CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread.
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/dhs/Library/Developer/Xcode/DerivedData/Runner-eyonxeiftadqesagfjtwhdhtngyp/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/dhs/Library/Developer/Xcode/DerivedData/Runner-eyonxeiftadqesagfjtwhdhtngyp/Build/Products/Debug-iphonesimulator
CoreSimulator 783.5 - Device: iPhone 13 (3BD8F2FF-FDB5-4074-8C91-54F99C79156D) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13
CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.0.0 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (2 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.1.0-0.0.pre.820, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.820 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b876f78ea5 (33 minutes ago), 2022-05-19 20:52:50 -0700
    • Engine revision 3ee9c189b9
    • Dart version 2.18.0 (build 2.18.0-130.0.dev)
    • DevTools version 2.13.1

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Add PNG/JPG/JPEG/WEBP to PDF Converter to MediaManip Page

Sample Reference

Can you assign this issue to me @smaranjitghose

@Kumud-869231165 Are you still working on this?


This gem have conflict with gem spree_static_content

Need to refactor relation "spree_pages" because spree_static_content use it.

Hey @restot,
For now, we are not supporting the compatibility with other extensions.


Added dnsname tag

Fixes #19
Since this is an optional feature, it is disabled in the example configuration (.env) and in the documentation.

Hey, Thanks for your contribution. I'll look into it asap, it looks like a great addition.

I've merged this MR. Thanks! Just note that I will be doing a couple of change before I release it.
Very nice work, thanks for contributing to my project.


Can no longer set authenticated and unauthenticated root paths in Rails 6

The following code worked properly for me running
Ruby 2.5.1
Rails <IP_ADDRESS>
Devise 4.6.2
  authenticated :user do
    root to: "transactions#index"
  end

  devise_scope :user do
    root to: 'devise/sessions#new'
  end

However, after upgrading to Rails 6.0.0.rc1 and Ruby 2.6.3 I get the following error:
Invalid route name, already in use: 'root'  (ArgumentError)
This would appear related to a change discussed here
If this is no longer valid routing syntax in Rails 6, how would I go about doing the same thing? (Just need a standard, unauthenticated root route, and a separate authenticated one).

I just ran into this too. I got things going again with this answer: https://github.com/rails/rails/issues/34854#issuecomment-451512232
So I have something along these lines:
  authenticated :user do
    root to: 'dashboards#show', as: :authenticated_user_root
  end

  authenticated :admin do
    root to: 'admin/dashboards#index', as: :authenticated_admin_root
  end

@hayesr thanks for the reply. So in my case, instead of two different authenticated roots, I'm trying to do an authenticated one, and an unauthenticated one. You happen to have any idea how to do this?
(feel like I need an unauthenticated option or something)

You will need to name one of the routes because Rails doesn't allow two routes with the same name anymore. I'm closing this issue since it is not a devise issue. Thank you.


The size of tensor a (12) must match the size of tensor b (8) at non-singleton dimension 1

when i run gradio_demo.py, it report error "The size of tensor a (12) must match the size of tensor b (8) at non-singleton dimension 1" ,which means model "iclight_sd15_fc.safetensors" shape not equal to base model (realistic-vision-v51)

what, same issue, how to resolve the issue


Settings: Move imageio from project anatomy to project settings [pypeclub]

Brief description
Expansion of https://github.com/pypeclub/OpenPype/pull/3909
Additional info

Nuke: added enable switch on project_settings/nuke/imageio so it is possible detect backward compatible projects.

Testing notes:

[x] Flame
[x] (and Flare?)
[x] Maya
[x] Nuke
[x] Hiero
[x] (Did Resolve have any? I couldn't find it. If it didn't, let's check this box and continue our ignorance.)

Conflict resolve is needed


Admin Panel Prefix

Laravel Version: 5.5
Voyager Version: 1.0
PHP Version: 7.1
Database Driver & Version: MySQL

Is it possible to have the admin panel prefix go to the root directory? I'd like to have actually use a subdomain for the admin panel.

I have not tested it personally, but you can try
Route::domain('admin.domain.com')->group(function () {
    Voyager::routes();
});

I havent tested it, but it should mostly work.  You'll likely have some issues doing that.  Specifically, if you log in with a user that is not granted access to Voyager, it will try to redirect to /, likely causing an infinite loop.  Other than that, I think everything should just work.

thanks @emptynick & @fletch3555. Will be testing in the next few days (hopefully) and will comment back on how it works along with any tweaks for future reference.

Sounds good.  I'll close this for now.  Feel free to open it again if needed

Is it working by now? I want to take voyager to -> sub.mydomain.com/admin instead mydomain.com/admin
Is it possible?

Is it working by now? I want to take voyager to -> sub.mydomain.com/admin instead mydomain.com/admin
Is it possible?

Route::group(['domain' => 'sub.mydomain.com', 'prefix' => 'admin '], function () {
Voyager::routes();
});

Is it working by now? I want to take voyager to -> sub.mydomain.com/admin instead mydomain.com/admin
Is it possible?

i have too, but not working, pleace help


[BEAM-1981] Fix ApexTimerInternals serialization error.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @kennknowles @dhalperi

Results :

Tests run: 221, Failures: 0, Errors: 0, Skipped: 3

Coverage decreased (-0.02%) to 69.795% when pulling d85da488970677c5b90eb5dd7f2fbb88fb68ec09 on tweise:BEAM-1981-ApexTimerInternals into 6ca7c510f1d36be4e9f1cfe412f2f8c193730148 on apache:master.

@kennknowles addressed comments. Processing time timer changes will be addressed as part of BEAM-2022, after this is merged. Want to get both fixed for the release.

Coverage increased (+0.003%) to 69.688% when pulling f37d954873ae03cdae854837570b62e334be9022 on tweise:BEAM-1981-ApexTimerInternals into 47aaf11250e61d61c0bb3616063dbd5b7f2adb88 on apache:master.

LGTM. Merging