[Enhancement]: Replace ImageKit component with

🚀 Enhancement Request
Now that we introduced Webpack's Asset Modules, there's no longer need for ImageKit component: it's cumbersome, makes image handling hard and it doesn't speed up image fetching at all. DcaPal is served behind Cloudflare which already does all the caching we need.
Describe the solution you'd like

Let's replace ImageKit with good old  tags importing assets from /images folder

Some steps as reminder:

[ ] Save all images on images folder (preferably with the same structure)
[ ] On webpack.common.js integrate the field alias like that:

 resolve: {
   ...
   alias: {
      "@images": path.resolve(__dirname, 'images/'),
   }
 }

[ ] Replace all image that use <IKImage> with   with the folder imported like that:

import fooImage from<EMAIL_ADDRESS>...

[ ] Remove dcapal-frontend/src/app/images.js
[ ] Remove imagekitio-react package and all reference of Imagekit urls (check also README.md)

alias: {
     "@images": path.resolve(__dirname, 'images/'),
  }

Oh nice trick, wasn't aware of that 🙂 Is it portable to Vite too?

Is it portable to Vite too?

Yes, of course!

Resolved in #57


Issue with TimeDistributed for GRU, LSTM

The following lines worked with keras and TF (pre 1.4).
input_tensor = Input((input_epochs_per_output_epoch, samples_per_epoch, features_per_epoch))
inner_intermediate = TimeDistributed(BatchNormalization(axis = -1), name="bn_input")(input_tensor)
many lines...
inner_out = TimeDistributed(Bidirectional(GRU(intermediate_features, return_sequences=False, recurrent_dropout=recurrent_dropout, dropout=normal_dropout, kernel_initializer=kernel_initializer, kernel_regularizer=l2(l2_lambda), implementation=lstm_implementation), merge_mode='concat'), name="inner_out")(inner_intermediate)
However, with TF 1.5.0, using keras within TF, the final line fails with:

ValueError: as_list() is not defined on an unknown TensorShape.

Because there are a lot of lines between 2 and 3, which have various layers wrapped by TimeDistributed, I've figured out that it is only GRU and LSTM layers that cause this error. I've tried specifying the input_shape for both the the wrappers and/or the layers themselves, to no avail.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

I didn't realize that those questions were necessary. Answers below.
Have I written custom code: No, using standard keras Functional API
OS Platform and Distribution: macOS 10.13 & Ubuntu 16.04
TensorFlow installed from: macOS: pip & Ubuntu: conda
TensorFlow version: 1.5.0
Bazel version: N/A (was not compiled)
CUDA/cuDNN version: Ubuntu: CUDA 9
GPU model and memory: Ubuntu: GeForce 1080 Ti
Exact command to reproduce: written in initial post

new finding
The above lines work perfectly if I use the keras package (2.1.4) directly, instead of keras included in Tensorflow.

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 49 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 64 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 79 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 94 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@adamjones1 It looks like this has been fixed in the latest tensorflow nightly.

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 89 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 104 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Closing as this is resolved


add awesome Ruby-on-Rails-Learning-Resources

Link is at Ruby-on-Rails-Learning-Resources

Doesn't look very well maintained. Last commit a year ago.
// @RosieChiu

Alright then. Now do I have to look for another resource or close the PR?

If you think it's a good resource, you could offer to maintain it for them and get added there, or fork and maintain a fork and I could link to that instead.

Alright I'll try to maintain it myself.


Give an opportunity to the renderer to perform clean when disconnected

Not sure if it is a bug or a feature request ...
Current behaviour
When a custom element if removed from the DOM, the disconnectedCallback is properly called but this does not cascade to the preact components below. This means the componentWillUnmount lifecycle method is never called in those.
This can lead to memory leaks as for example any subscription taken in the componentDidMount lifecycle will not be released properly when the custom element is removed from the DOM.
Expected behaviour
skatejs  should notify the renderer so that the proper lifecycle methods of the renderer can be correctly triggered.

Hmm interesting, thanks for report! maybe this should be opened directly on renderer-preact ?

You are right. Done. Feel free to close this one.

Using @skatejs/element you can now hook into the disconnectedCallback() to do this for all renderer subclasses.


Verifying notification

During notification verifying getting error. Header openpayu-signature exist in incoming header data.
TypeError: Cannot read property 'split' of undefined
    at PayU.parseHeaderToJson (/Users/arminhupka/PhpstormProjects/untitled/node_modules/@ingameltd/payu/dist/PayU.js:182:28)
    at PayU.verifyNotification (/Users/arminhupka/PhpstormProjects/untitled/node_modules/@ingameltd/payu/dist/PayU.js:199:29)
    at notify (file:///Users/arminhupka/PhpstormProjects/untitled/server.js:40:26)
    at Layer.handle [as handle_request] (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/layer.js:95:5)
    at /Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/index.js:335:12)
    at next (/Users/arminhupka/PhpstormProjects/untitled/node_modules/express/lib/router/index.js:275:10)```

Would you like to create a PR for this?

Hello, and thanks for library ;-) Maybe someone have simillar problem with verifications, for SvelteKit I discovered where there is problem (propably stringify function added some slashes that generate wrong md5 checksum:
export const POST: RequestHandler = async ({ request }): Promise<Response> => {   const bodyText = await request.text();   const isValid1 = payU.verifyNotification(signature, bodyText); // WORKS correctly   const isValid2 = payU.verifyNotification(signature, JSON.stringify(bodyText)); // DOES NOT WORK
Documentation explains this in https://developers.payu.com/europe/docs/payment-flows/lifecycle/#signature-verification
where there is no information that body should be strigified, so maybe it would be nice to update readme. Greetings!

Hey @t-soltysiak would you mind opening a PR for documentation change?

This is mainly happening because of the JSON parsers alters the original body, so using the original request body as it is with verification(like in stripe) is the way

Hey @t-soltysiak would you mind opening a PR for documentation change?

sure: https://github.com/ingameltd/payu/pull/17


ENOTFOUND: Unable to connect to external broker from a container.

I have a Kafka cluster running on a Ubuntu machine. I have a kafkajs consumer client, hosted on my Mac (same network as the Ubuntu machine), that successfully connects and consumes messages from Kafka cluster on the Ubuntu machine.
When I publish the kafkajs client to a minishift cluster running on my Mac book, the connections keep on failing with ENOTFOUND. In both cases, the connection is via an IP address e.g. <IP_ADDRESS>:9092. When running in a container, for some reason, the lookup is for the host name of the Ubuntu machine followed by ENOTFOUND.
What could be wrong?

You need to configure how the Kafka brokers advertise themselves. The IP addresses you provide to KafkaJS initially will be used to connect to the brokers, and then query them for other members of the cluster.

Closing this, as it's an issue with operating Kafka, rather than anything to do with KafkaJS. You can take a look at how we run Kafka with docker-compose, although it's a bit more complicated because we're setting up SASL, which you may not need.


Very user unfriendly documentation. No reference to user roles for web pub sub.

Very user unfriendly documentation. No reference to user roles for web pub sub.

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

ID: 0c4c897d-50cd-34e9-c2e7-7ca235090b8c
Version Independent ID: 65d9edff-959a-e5d7-1164-947261bb592a
Content: Reference - Azure Web PubSub trigger and bindings for Azure Functions
Content Source: articles/azure-web-pubsub/reference-functions-bindings.md
Service: azure-web-pubsub
GitHub Login: @JialinXin
Microsoft Alias: jixin

Do you refer to the roles in connect response user can assign? Please check https://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-cloud-events#system-connect-event for details.

Hi, No.
This doesn’t make sense to me. I’ve been using the following code to get an access_token and uri from the web pub sub rest api:
// Decode the token and extract the sub claim
var handler = new JwtSecurityTokenHandler();
var jwtToken = handler.ReadJwtToken(accessToken);
var userId = jwtToken.Claims.First(claim => claim.Type == "oid").Value;
var roles = new[] { "webpubsub.joinLeaveGroup", "webpubsub.sendToGroup"};
var accessUri = serviceClient.GetClientAccessUri(DateTimeOffset.UtcNow.AddHours(6),userId,roles);
response.Headers.Add("Content-Type", "text/plain; charset=utf-8");
But in my flutter app have been unable to make a web socket connection as the ‘session’ is authenticated with a bearer token. I was hoping this would provide me with an access_token and uri that I can use from an authenticated client….it seems that this now returns a WS connection. I am just very confused as the point of webpubsub was supposed to be that it is standard websockets.
Any help you can provide will be appreciated as I can not determine any solution from your documentation.
Cheers
Pete
Peter Schonefeld
Senior Developer
[Spirit of Tasmania]https://www.spiritoftasmania.com.au/
T:  +61 3 6419 9140
M:  +61 467 942 687
E<EMAIL_ADDRESS>W: spiritoftasmania.com.auhttps://www.spiritoftasmania.com.au/
From: JialinXin @.>
Sent: Friday, December 8, 2023 3:25 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Peter Schonefeld @.>; Author @.>
Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] Very user unfriendly documentation. No reference to user roles for web pub sub. (Issue #117839)
Do you refer to the roles in connect response user can assign? Please check https://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-cloud-events#system-connect-eventhttps://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-cloud-events#system-connect-event for details.—Reply to this email directly, view it on GitHub, or unsubscribe.Youhttp://unsubscribe.You are receiving th
https://au.report.cybergraph.mimecast.com/alert-details/?dep=C%2FVkhyMVF1YuBfM5jV7QXA%3D%3DliyxlFjCFWvqaLnlSf2qEJ950K%2BgqeYPm3Ntfwe4UM1eaAuD1PGu4Xa7u0aWngoWklPBQctfirkcGp7%2BU9MqXHdWSZIkwvg5SQZ4bztFlmWpOCTtH%2F2zjpwR%2BBm4U%2FiGGhRnRCSyzap01rPcx1d5ahB7O%2FxNOeQDr0gtykH7%2BWtSz99QVuXkBpkGGTfqVwQ4g20uGpyrjf4VLl5H%2Bt%2BY0E91Kzpmvmupz6tFZkvMs5wIqzYFHG7sBmiAQ%2FGpfWTQonTolXS04RhhRTWURdkYwnjpUsxA5Jwvmvgas%2FKOIERTmLJSkTdbKtZ4S31eXkgy0Bx1YzPIgnZZo0n8jaKDGLDQ8LCjSK%2ByBWqmC8h%2FhRINRXVJ7yESuQPdYNDgaafNhHwf5gOox3%2FFNqdzLXYcI%2BUUmmbMpQ3t5W7WX6T75q8qoV9Fl%2FPRk2e2J6BuQaEI67X5gAaSy%2Fcwf3m6Jgq4W7%2FGuGxe9Wm%2Bhja7qJTpZfhTtVNw%2FyCcCTqfctlupauDm2BWcNG73oncMoBcDCDUWjqOO0nnom9qoAK%2BlADV%2BZls0BDxI6z3a8m3nrtqL5tjTuS04IFGOkSKz6kXaQTYiOZCeQq2z7d4h16mkvrrhVuHA9c3wnIqF8%2BBSS23ud%2Flq73SSutjMpIL8JeJPsMDlpQWggGbMCjAExRmdl2G6nBPEOdaDRG38J7QfjD5E6FOTnMItg%2FzOCOjRhw%2BsWvTe5xUxQyETZVXDJzqZofM4afEk%2FUHDYM43xSYLepS1sE3ZJg7wAK2SXKMQmxURvmG8mSKwBMuvTVEsLcUDFIN7o5ZcFf8C0VLnfnDxEMFE7DD%2BQ1ft8OQbgia7dcyxEX1%2BMTmbIaFEoS%2BcCYaNlqmRSqTvCNohtd%2BUbQ65YfLdfM6SJrmal%2FiMyG56GoFV4%2FnzMe3tBaHLNYQC3Q9260SGP01uzCBX9kG%2BeL90jO%2BmK%2BTo3Ybd51srZpAuTjAz7BKoFBR7IHU1jAg7cTb%2BVNKwAfOIKZDI%2FhNGrErya%2B7Ag7%2BP%2Br7dCIeIgrbN1qBvZkmglbq2cRIjxJ8%2FXCF8nySzxONySGxis5JM8RB0n1VZGMiby%2FhfCc2s5iXG0wyCkDImNcCL2Li2onHVsMBqZ4m1H8%3D
Do you refer to the roles in connect response user can assign? Please check https://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-cloud-events#system-connect-eventhttps://learn.microsoft.com/en-us/azure/azure-web-pubsub/reference-cloud-events#system-connect-event for details.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/117839#issuecomment-1846528462, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZOHTWYMKFTDBL3BKGV6KUDYIKJBPAVCNFSM6AAAAABAMCXHVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWGUZDQNBWGI.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

If this is the question you have, I'll update to illustrate the limitation and solution a little more in this doc accordingly.

That would be appreciated. Thank you.
Peter Schonefeld
Senior Developer
[Spirit of Tasmania]https://www.spiritoftasmania.com.au/
T:  +61 3 6419 9140
M:  +61 467 942 687
E<EMAIL_ADDRESS>W: spiritoftasmania.com.auhttps://www.spiritoftasmania.com.au/
From: JialinXin @.>
Sent: Friday, December 8, 2023 5:20 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Peter Schonefeld @.>; Author @.>
Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] Very user unfriendly documentation. No reference to user roles for web pub sub. (Issue #117839)
If this is the question you have, I'll update to illustrate the limitation and solution a little more in this doc accordingly.—Reply to this email directly, view it on GitHub, or unsubscribe.Youhttp://unsubscribe.You are receiving this because you authored the thread.Message ID: <MicrosoftDoc
https://au.report.cybergraph.mimecast.com/alert-details/?dep=dnq1flyjiT42lYXA7HVDqA%3D%3DCONOmNF6e78yvgYGvO%2BOBXGXVghcDnblytYpNgvtleurj4eqrcTbPQmsVK9JOhXcLny6VgcnoYjoHe9Y0k0PjHSvbg42CCgLNGmk9ceFQCcvYLv63Syzpk6SelrQ%2F%2BNJJCECkNnypiUFqhQAOr%2BcfxcUil%2BitegOqZ%2BVYdKXhuH6UoYC6WOf3FTjjjHVvCtwZBkOWaazmOAPCAxyzl%2FL5DEcgCZWURfGlip5fTMGcAGiFSOAIgQxYbdTcb8DOnCsDtY5qQolvhLool%2BEaDDmWMg8rZUxEYAhCsBOe%2BzHSVxY8GYVEB%2FJg3HmEjMZvStwzVaWgM7RF7A5w5xuSFAg4yDVWMPI%2FtcKIrSjyWvwOW8JTr5bb3Nu89E5PzhWvifZR%2BSPsrp5rW%2B02S6GPPj8o5hbCjP9zukLEmkvY8b5w4EPz0nJZUxWUirEDKOt48%2B4vLSbYzxuRzAP2LqP9dnPnfBGAy2AUhELm3%2Bbqt0reiNKd1Zi6bWGaR6pAAkgrSKGtTmvbe7eo02gXfTCOOy9TahKLNybCdUJu%2B09%2BmdrsOwMfnt7w3pt7MD6s%2Ba5tbu0qxA7HLKtcQR7vCC%2BHXqRZVSfNiFO0o4Fpl%2Fics7bnDZ2MLN6S%2B8imQLMvPWlv5lOWzf9b9DpTRIOOEatyFhYcQcddMaf1ZYxTL5%2BubCxTwjbt1dtdoqpls6kB8A5RJwm%2BGhvapoL2%2Bmy8hqmaWhv7D3tUU2jLTmQJKOkKYHrACUTxSGmXoGJZB49912G0eA7eoIa5NU5l4rAiL5D1GrOCSM7u15QXvBKVw0dQW%2ByqaaeQhFJHsxlVVMODl3X8AT%2BiTF1zHOzr%2BqZ2oI1i%2F7QQaATnvhM8xy0pY2qOGm4YD1z2rUt5vFhWa%2FqLKk2AqmJiswnmlpsjyqAnQYaqi%2FG%2BBapz8g0vC7Uo8UzVc%2ByK49flPoYHld1wtqkA8f7huJT5YZQSSxXKmK%2F1%2Br6hRaOdVXWfjdHjd0O5xBO3WYfcrsYwrtZirsEFp5S49V1XRIj6HeDfZsycVgq097jfIXuPTDWySeE79WAJO%2FlhMqgpPZ3EYAsXBSXr5cnECKOhRqVHtHPXeBW5JZcwx3H5JichQ4zRk7iC3995TzSEk%2BB2ELhVz%2B8yXH1%2FUxyntiwh0qR
If this is the question you have, I'll update to illustrate the limitation and solution a little more in this doc accordingly.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/117839#issuecomment-1846605912, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZOHTWZ4IGU5X2NAJY327SDYIKWRLAVCNFSM6AAAAABAMCXHVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWGYYDKOJRGI.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

@pschonefeld-sot
I've delegated this to @JialinXin, a content author, to review and share their valuable insights.

The doc is updated. I think it's good to resolve this issue now.

@RamanathanChinnappan-MSFT to help close the issue.

thanks for your time


More consumable Grunt plugin

Makes this patternlab-node core wrapper more consumable and easily added to an existing or new Gruntfile.
Addresses #9
Summary of changes:

Allows the Pattern Lab task to be easily loaded into a project's Gruntfile by using grunt.loadNpmTasks
Allows default configurations to be overwritten in separate JSON file or within a Gruntfile
Readme file updated to reflect changes

This looks really good. A minor tweak to the new gruntfile could fix issue #11 by changing the commands to match those shown by https://github.com/pattern-lab/patternlab-node/blob/master/core/lib/patternlab.js liststarterkits and loadstarterkit


removing privileged status for apiserver container

Description
This change removes the privilaged status for apiserver container. To be merged after we merge this https://github.com/tigera/apiserver/pull/256

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

From my initial testing, making the image run as root seemed sufficient. Didn't encounter any errors when it made not privileged. This needs to be tested more, since the errors might have gotten silenced etc.

converting this to draft, operator needs more changes for curator component

What is the need for the Service Account. There are no role bindings for it so it doesn't seem useful to add a SA. Is it just so it doesn't get associated with a default one? Could you provide some reasoning for the SA. Thanks.
Also I think any RunAsNonRoot should be tested on an OpenShift cluster.

as discussed on slack, we are creating new SA so that it curator doesn’t get associated with the default one, this new SA helps us create stricter pod security policies for curator as current PSP are based on service account used by the component.
I'll mention this in the code and also update the PR as discussed.


Support multiple config compiler flags (#2835)

Please check if the PR fulfills these requirements

[ ] 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, ...)

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
Running webpack --config "file1.js" --config "file2.js" throws a syntax error. #2835
What is the new behavior?
Running webpack --config "file1.js" --config "file1.js" will trigger the MultiCompiler, the same behavior as exporting an array of config objects in a config file.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the following...

Impact:
Migration path for existing applications:
Github Issue(s) this is regarding:

Other information:

I still need to write tests and add this to the docs. I have a repo testing the feature over here: asarode/webpack-multi-config-test
Any feedback on the code?

Committed some changes. configFiles is now always an array, configFileLoaded is accurate, and it exports an array of options for multiple config files, a single option object when there's exactly one config file, or an empty options object when the files aren't loaded.

Thanks


updates due to sample update

Reason(s) for PR:
-adding clarification for configuring MS Graph API endpoints
This PR addresses the issue: #48780

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

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

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

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

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

@archieag @derisen - I resolved the merge conflict. The article had been updated in master since this PR was opened, hence the merge conflict. Can you check that after resolving the merge conflict, everything in the article looks as it should? Then we can merge. Thanks.

@ktoliver thank you very much -all looks good to me!

Thanks @derisen


[Enhancement] Popup to autosize based on the content

Summary
Right now when I open a popup that contain one label, it looks like this:

I don't need it that high. Please provide an option to autozise it based on the content.
API Changes
bool Autozise
Intended Use Case
User don't need to calculate the size manually
Who Will Do The Work?

[ ] I am willing to take this on myself
[x] Just putting this out there for someone to pick up

#937


Take user to the level of the created asset in Sigle Page view

When concluding the creation of an asset in Single Page view, the user is currently redirected to the single page view at the Project level. It would be more convenient if the user was redirected to the level of the asset that was just created.

It can be labeled as low priority.


stm32u5: Handle the remaining bytes if data length is not aligned on FLASH_STM32_WRITE_BLOCK_SIZE

Hello, I am working with a nucleo_u575zi_q and noticed that the flash driver does not handle the length in case the length isn't WRITE_BLOCK_SIZE aligned. At the same time, the similar case is addressed in flash_stm32h7x.c driver (added below). I tried to write a similar small test program (see below) to solve this, but getting '-EINVAL' error code at the last unaligned data chunk.
int i, j, rc = 0;
      for (i = 0; i < len; i += FLASH_STM32_WRITE_BLOCK_SIZE ) {
		rc = write_nwords(dev, offset + i, ((const uint32_t *) data + (i>>2)),
				  FLASH_STM32_WRITE_BLOCK_SIZE / 4);
		if (rc < 0) {
			break;
		}
	}
        /* Handle the remaining bytes if length is not aligned on
	 * FLASH_STM32_WRITE_BLOCK_SIZE
	 */
         if (i < len) {
		memset(unaligned_datas, 0xff, sizeof(unaligned_datas));
		for (j = 0; j < len - i; ++j) {
			unaligned_datas[j] = ((uint8_t *)data)[i + j];
		}
		rc = write_nwords(dev, offset,
				   (const uint32_t *)unaligned_datas,
				   FLASH_STM32_WRITE_BLOCK_SIZE / 4);
		if (rc < 0) {
			return rc;
		}
	}

Environment :

OS: Windows
Zephyr v3.2

Links:
https://github.com/zephyrproject-rtos/zephyr/blob/c05a483ba4251589b713a1231fb6ad4c75cebbaa/drivers/flash/flash_stm32h7x.c#L382

@PragatiGarg-eaton, writing data of length unaligned to the write-block-size is not allowed/supported.

@Laczen, unaligned length should be managed from the application then? Is it a flash requirement or not supported by zephyr yet?
Also, here in flash_stm32h7x.c driver, unaligned check is missing: https://github.com/zephyrproject-rtos/zephyr/blob/c05a483ba4251589b713a1231fb6ad4c75cebbaa/drivers/flash/flash_stm32h7x.c#L102. This should have been handled, correct?

@Laczen, unaligned length should be managed from the application then?

Yes

Is it a flash requirement or not supported by zephyr yet?

It is a flash requirement, it is possible to create a driver with a smaller (then physical) write-block-size in some cases. In case flash uses a ecc a smaller then physical write-block-size is only possible by a read-erase-write that should be avoided by all means because it reduces expected life and might lead to data loss.

Also, here in flash_stm32h7x.c driver, unaligned check is missing:
https://github.com/zephyrproject-rtos/zephyr/blob/c05a483ba4251589b713a1231fb6ad4c75cebbaa/drivers/flash/flash_stm32h7x.c#L102
. This should have been handled, correct?

Yes, but as long as it is used to do aligned writes there is nothing wrong. Strictly speaking it could be allowed to do an unaligned write length as long as the write offset is aligned. This would however be very confusing for users.

@Laczen, unaligned length should be managed from the application then?

Yes

Is it a flash requirement or not supported by zephyr yet?

It is a flash requirement, it is possible to create a driver with a smaller (then physical) write-block-size in some cases. In case flash uses a ecc a smaller then physical write-block-size is only possible by a read-erase-write that should be avoided by all means because it reduces expected life and might lead to data loss.

Also, here in flash_stm32h7x.c driver, unaligned check is missing:
https://github.com/zephyrproject-rtos/zephyr/blob/c05a483ba4251589b713a1231fb6ad4c75cebbaa/drivers/flash/flash_stm32h7x.c#L102
. This should have been handled, correct?

Yes, but as long as it is used to do aligned writes there is nothing wrong. Strictly speaking it could be allowed to do an unaligned write length as long as the write offset is aligned. This would however be very confusing for users.

@Laczen, As there are 2 different approaches being followed in U5 and H7, which one do you think should be followed as an standard? H7 driver takes care of unaligned length however your answer suggest that it should be taken care by application. I think it makes more sense to address it at the place where the limitation lies which is driver not application. how otherwise the application will be portable between different targets?

@Laczen, As there are 2 different approaches being followed in U5 and H7, which one do you think should be followed as an standard? H7 driver takes care of unaligned length however your answer suggest that it should be taken care by application. I think it makes more sense to address it at the place where the limitation lies which is driver not application. how otherwise the application will be portable between different targets?

There are not really 2 different approaches, h7 allows writing data with unaligned length however the next data write has to start on an aligned position. To use the flash for writing/reading the application needs to take into account the write-block-size. So even if it seems like the h7 solution does not need to know the write-block-size it still needs this to "advance" to the next location. The writing of data of unaligned length on the h7 will in practice not be used.
The limit of the driver is the write-block-size and the applications need to respect this limit.

The limit of the driver is the write-block-size and the applications need to respect this limit.

So this is a non-issue and can be closed?

@Laczen, As there are 2 different approaches being followed in U5 and H7, which one do you think should be followed as an standard? H7 driver takes care of unaligned length however your answer suggest that it should be taken care by application. I think it makes more sense to address it at the place where the limitation lies which is driver not application. how otherwise the application will be portable between different targets?

There are not really 2 different approaches, h7 allows writing data with unaligned length however the next data write has to start on an aligned position. To use the flash for writing/reading the application needs to take into account the write-block-size. So even if it seems like the h7 solution does not need to know the write-block-size it still needs this to "advance" to the next location. The writing of data of unaligned length on the h7 will in practice not be used.
The limit of the driver is the write-block-size and the applications need to respect this limit.

Alright, in case h7 allows writing data with unaligned length, then what is the purpose behind this logic introduction: https://github.com/zephyrproject-rtos/zephyr/blob/c05a483ba4251589b713a1231fb6ad4c75cebbaa/drivers/flash/flash_stm32h7x.c#L386

The limit of the driver is the write-block-size and the applications need to respect this limit.

So this is a non-issue and can be closed?

IMHO it is a non-issue.

@Laczen, As there are 2 different approaches being followed in U5 and H7, which one do you think should be followed as an standard? H7 driver takes care of unaligned length however your answer suggest that it should be taken care by application. I think it makes more sense to address it at the place where the limitation lies which is driver not application. how otherwise the application will be portable between different targets?

There are not really 2 different approaches, h7 allows writing data with unaligned length however the next data write has to start on an aligned position. To use the flash for writing/reading the application needs to take into account the write-block-size. So even if it seems like the h7 solution does not need to know the write-block-size it still needs this to "advance" to the next location. The writing of data of unaligned length on the h7 will in practice not be used.
The limit of the driver is the write-block-size and the applications need to respect this limit.

Alright, in case h7 allows writing data with unaligned length, then what is the purpose behind this logic introduction:
https://github.com/zephyrproject-rtos/zephyr/blob/c05a483ba4251589b713a1231fb6ad4c75cebbaa/drivers/flash/flash_stm32h7x.c#L386

It seems that the h7 does support writing unaligned lengths. That is no problem as long as this is not understood as having a write-block-size that is smaller than the real write-block-size. It is not possible to continue writing where the last write has ended. In most applications this will be dead code as to create a portable application they will follow the write-block-size limitations.

@erwango @Laczen please close if this is not a bug

Closing this issue, it is not a bug, just a different approach between h7 and u5.


Dleitee/fix tests

Changes Unknown when pulling d76da3132e026a47dc5da2d3540a57ca4155a848 on dleitee/fix-tests into ** on master**.

Closed on #76


Creating a new login/signup box

If sir there will be a login/signup box then it will be good

@Pranjal360Agarwal

Many of the contributors have tried to make it but yet not merged with the project at the starting page, that's the big issue!!
@Bharadwajshivam28
if you can merge it, then go for it!!

Many of the contributors have tried to make it but yet not merged with the project at the starting page, that's the big issue!!
@Bharadwajshivam28
if you can merge it, then go for it!!

Can you drop me the live link of project

@Bharadwajshivam28 for wokring you can open the project in vscode(python) and run it, it will start the project and there is one ppt in the project too for refereence

ya its done

sir but here it is one signup/login box created

its this one

@Pranjal360Agarwal so bascially the code will be in this file of like its named as login.html

sir the changes will be made in this file like login.html


upgrade sdk-go lib

upgrade sdk-go lib to resolve mqtt lib pinger problem
https://github.com/open-cluster-management-io/sdk-go/pull/84

/ok-to-test


Avoid FlatLaf crashing the GUI

Always queue ui.show/showUI calls on the EDT
Fix usage of private and now-removed PyImageJ API
Use existing imagej.gateway if already running
Add a hack to avoid FlatLaf in problem situations
Include imagej-legacy by default

@gselzer Do you have time to fix up this PR along the lines of your suggestions? I have a dozen other things I'm supposed to get done today.

Yeah, I think I can fix it up.

Codecov Report
Base: 91.34% // Head: 90.15% // Decreases project coverage by -1.19% :warning:

Coverage data is based on head (4b74cc0) compared to base (9ce9650).
Patch coverage: 32.35% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
- Coverage   91.34%   90.15%   -1.20%
==========================================
  Files          41       41
  Lines        3917     3940      +23
==========================================
- Hits         3578     3552      -26
- Misses        339      388      +49

Impacted Files
Coverage Δ

src/napari_imagej/java.py
82.82% <0.00%> (-4.98%)
:arrow_down:

src/napari_imagej/widgets/menu.py
75.53% <83.33%> (-10.18%)
:arrow_down:

src/napari_imagej/types/converters/images.py
100.00% <100.00%> (ø)

src/napari_imagej/types/converters/labels.py
100.00% <100.00%> (ø)

src/napari_imagej/utilities/_module_utils.py
87.50% <100.00%> (+0.04%)
:arrow_up:

tests/widgets/test_menu.py
72.16% <0.00%> (-3.31%)
:arrow_down:

tests/widgets/test_result_runner.py
83.67% <0.00%> (+8.16%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Looking at the CodeCov results:

We're losing a significant amount of coverage in napari_imagej/widgets/menu.py, but I'm alright with that since the code that lost coverage is now being run on a different thread thanks to ij().thread().queue().
We're also losing coverage in napari_imagej/java.py, since we are no longer running IJ2 by default. Thus the new HACK fixing L+F isn't getting tested. I'm okay with skipping the coverage here as long as we rewrite the legacy CI test to be a IJ2 UI test.
We're skipping a test in tests/widgets/test_menu.py, because it gets skipped on CI. The reason for skipping, #124, feels relevant to this PR @ctrueden

Steps to merge:

Resolve this discussion

Rewrite the legacy CI testing job if needed


python3Packages.dm-tree: init at 0.1.6

Motivation for this change
Add the dm-tree package. This is a dependency of many other packages released by deepmind/google.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

If there are no objections in the next few days, I'll go ahead and merge this.


imgSrcToDataURL returns [object Object] not string

Hello Support,
The code below returns an Object not a string. Can you advise?.
var myBlob = blobUtil.imgSrcToDataURL('http://my-personaltrainer.nl/images/image.png', 'image/jpeg');
console.log("myBlob = " + myBlob);

Kind regards,
Mario

Hi, the Object you are seeing is a promise, so you need to use the promise style as specified in the API.


feat(event_sources): add AWS Config Rule event data class

Issue number: #1667
Summary
Changes
In this PR we are adding the 3 types of events that can trigger a Lambda from an AWS Config rule.
These events are:

ConfigurationItemChangeNotification - AWS Config publishes an event when it detects a configuration change for a resource that is within the scope of a rule.
ScheduledNotification - AWS Config publishes an event when it evaluates your resources at a frequency that you specify (such as every 1 hour)
OversizedConfigurationItemChangeNotification - Some resource changes generate oversized configuration items

User experience
BEFORE
from aws_lambda_powertools.utilities.typing import LambdaContext
from aws_lambda_powertools import Logger
import json

logger = Logger()

def lambda_handler(event, context: LambdaContext):

    message_type = json.loads(event["invokingEvent"])["messageType"]

    logger.info(f"Logging {message_type} event rule", invoke_event=event["invokingEvent"])

    return {"Success": "OK"}

AFTER
from aws_lambda_powertools.utilities.data_classes import AWSConfigRuleEvent, event_source
from aws_lambda_powertools.utilities.typing import LambdaContext
from aws_lambda_powertools import Logger

logger = Logger()

@event_source(data_class=AWSConfigRuleEvent)
def lambda_handler(event: AWSConfigRuleEvent, context: LambdaContext):

    message_type = event.invoking_event.message_type

    logger.info(f"Logging {message_type} event rule", invoke_event=event.raw_invoking_event)

    return {"Success": "OK"}

Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of this change
[x] Changes have been tested
[x] Changes are documented
[x] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Codecov Report
Patch coverage: 74.22% and project coverage change: -0.64 :warning:

Comparison is base (4663745) 97.46% compared to head (440f0d1) 96.82%.

:exclamation: Current head 440f0d1 differs from pull request most recent head 95a5fdf. Consider uploading reports for the commit 95a5fdf to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2175      +/-   ##
===========================================
- Coverage    97.46%   96.82%   -0.64%
===========================================
  Files          147      148       +1
  Lines         6872     7066     +194
  Branches       505      507       +2
===========================================
+ Hits          6698     6842     +144
- Misses         137      186      +49
- Partials        37       38       +1

Impacted Files
Coverage Δ

...ls/utilities/data_classes/aws_config_rule_event.py
74.09% <74.09%> (ø)

...mbda_powertools/utilities/data_classes/__init__.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

This looks great, I was running in to this issue yesterday whilst building my first Custom Config rule and was about to build my own data structure to handle the incoming events. This looks to be exactly what is needed.
I look forward to this being merged.
Thanks for the efforts!

This looks great, I was running in to this issue yesterday whilst building my first Custom Config rule and was about to build my own data structure to handle the incoming events. This looks to be exactly what is needed.
I look forward to this being merged.
Thanks for the efforts!

Hi @austindimmer! It's amazing to hear that. We are reaching out to the AWS Config team just to confirm some information about these schemas, but we will definitely do our best to get this merged as soon as possible.
Thanks.

Hey, everyone! We haven't received any updates from the AWS Config team regarding event/schema validation and are moving forward with this PR.
To ensure this new EventSource class works as expected, we've tested extensively with many events and payloads, and in all cases, we've had success using this.
Until we get feedback from our customers that this feature is working as expected, we will not be adding Parser support.
@rubenfonseca, can you review this, please?


[Error  :LCDirectLAN] Cannot find Canvas/MenuContainer/LobbyHostSettings/HostSettingsContainer/HostUsernameField !

uh well... another bugs

Can you provide me with the configuration file ? I tested that yesterday and it works.
I believe this error looks like the HostUsernameField isn't created, and I forgot to check for that.

TIRTAGT.LCDirectLAN.txt

here

Oh wait, is this the latest version of LCDirectLAN ?
The error looks like it is from a latest version, but the configuration doesn't seem like from the new version.

oh ok will update config

But yeah, I found the issue and it is valid.
If CreateHostUsernameInput is disabled or unavailable, the host button breaks, and also the join dialog crashes.
So I'm fixing it right now and will release a patch again today

Would you want to test if the new patch works first (Out of thunderstore, I provide the release here) ?
Or you prefer the patch to be on thunderstore so you can just update it via your mod manager ? I have tested the issue and it should work, but if I can get a test before publishing a full release again that would be great :)

uh prefer test first, i just finishing my lunch

TIRTAGT-LCDirectLAN-1.1.2.zip
Let me know if this works, hopefully it does :)

@TIRTAGT actually still not working

TIRTAGT.LCDirectLAN.txt

but this time no error log now, just not work with v50

Interesting, I'm still on v49, will try the pre-release v50 with your configuration

@TIRTAGT oh wait i think i know now

let me do more test

ok only happen if "CreateHostUsernameInput = false", mod won't use the specified name that from the config file now, if "CreateHostUsernameInput = true", users can customize the host name in the host interface

I got jumpscared by the game, got something like an unknown room with "Unable to start, please fix issues".
Can't seem to click "Confirm" on host game, can you host a game ?

When you set CreateHostUsernameInput as false, the mod should use HostDefaultUsername which in your case is Lethal Hoster, it doesn't ?

yes it doesn't, and in v50, and really recommend update to v50 bc u should check what's changed in v50

basially nothing change about networking and v50 actually is a good update

Trying to check the problem, I have installed the v50 on steam, I found another issue that when you click "Confirm" on the host button, it doesn't do anything at all when CreateHostUsernameInput is set to false.
Is that the problem you encounter too ?

yes ok seems like only happen in v50

I made a little patch and that seem to fix it, would you like to re-test ?

sure >)

TIRTAGT-LCDirectLAN-1.1.3.zip
Here you go, please let me know if that works

@TIRTAGT  worked

fully checked, no error log now

Aha, now it works on v50 too ? looks nice :D

haha ok going to update my modpack now, still working on that

I will release this version now as 1.1.3, will skip 1.1.2 as that release is broken for v50 haha.
I wasn't expecting LCDirectLAN to work without many changes for v50, but it looks like it works just fine now, which is nice 😄

The new release (1.1.3) is now available on Thunderstore, thank you for reporting the issue :)


webhook: remove resource_namespace tag in stats reporter

Changes
This addresses #3171.
As resource_namespace has the potential to contribute to high metrics cardinality while not adding much value from observability perspective, it would be ideal to disable it by default.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] pre-commit Passed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/ok-to-test
/kind misc
cc @khrm

/test pull-tekton-pipeline-go-coverage-df

/test check-pr-has-kind-label

/test pull-tekton-pipeline-go-coverage

/test pull-tekton-pipeline-go-coverage-df


Option to Stop flickering

When i am trying to export 15k records to xlsx entire UI screen will flicker. Is there any option to stop flickering when table starts exporting.

Hi there,
Thanks for the feedback.
Firstly, I'd like to remind that using a server side solution would be better for huge data sets.
However this is something we want to enhance.
As a workaround you can export directly by using xlsxExporter service: xlsxExporterService.export(data);

Thank you

@HalitTalha If I do this there is not way to hide any columns for the csvexport

@HalitTalha my data are only 1000 rows not 15000. It still flickers like crazy. What is the actual issue here that is causing this flickering?

This is actually the expected behavior. Getting the table representation (the results of interpolation rules) of the data without explicitly iterating over pages is not possible. We have 2 different experimental solutions still in progress.

Any estimate on when is gonna be released?

@HalitTalha any update on that?

@HalitTalha has there been any progress on the above? I see that almost a year later, the issue still persists.
Also I am interested in the workaround, however I cannot see anywhere with examples on how I can implement it.


Sign in failed

Demo
Specify the name of the demo that you encountered the bug.
Chat Android Demo App
Describe the bug
A clear and concise description of what the bug is.
We have updated amplifyconfiguration.json for following values:

PoolId for both CredentialsProvider and CognitoUserPool.
AppClientId
We have registered a user in cognito.
When we try to sign in with the same user via Android Chat Demo Application, we are getting sign in failed error with status code 200.

To Reproduce
Steps to reproduce the behavior:

Go to 'SignInActivity'
Click on 'Sign In'
See error: Sign in failed

Expected behavior
A clear and concise description of what you expected to happen.
If we have already registered the user in Cognito and we are using the same username and password, clicking on sign in should successfully sign in the user.
Screenshots

Smartphone (please complete the following information):

Device: [Android]
OS: [11]

Additional context
Add any other context about the problem here.

Hi @sagarpatel288 , thanks for reporting this issue, I pinged our team to take a look at this issue. They should come back here later.

@sagarpatel288 Thank you for reporting.
Will the same username/password work on js or iOS demo apps?
Besides amplifyconfiguration.json, you will also need to update AppConstants.kt
A detail-oriented blog post will explain all steps to set it up. https://aws.amazon.com/blogs/business-productivity/build-chat-applications-in-ios-and-android-with-amazon-chime-sdk-messaging/

Please feel free to leave comment if any issue. closing it now.


Use TaskProvider for Runme Execution

Implements #70
This patch implements a task provider for Runme related executions. It allows us to merge our previous shell and task executor into one and allow to stream stdout into the terminal and notebook. Furthermore does it allow us to populate markdown code blocks as tasks into VS Code, see demo below:

Just test drove this @christian-bromann. Good stuff! One thing I noticed is that TUX that involves cursor movements on that don't seem to work? E.g. when I do vercel login and it offers the different identity providers it won't prompt me for selection. Ideas?

It appears one can't re-run the same command multiple times... is that a known issue @christian-bromann?

is that a known issue @christian-bromann?

Yes

is that a known issue @christian-bromann?

Yes

Is it a limitation we can overcome?

Is it a limitation we can overcome?

I don't see why not. Looking into it.

@sourishkrout mind reviewing this PR? If we are happy with the new execution I can wrap this up writing unit / e2e tests for it.

It appears we've got an issue when stdin is being used that the terminal won't "complete" when no more reads are being made?

Once you connect to the stdin socket the process can't quit. This will be also handled by the execution engine later on.

I think I found the issue: for some reasons using the same terminal for multiple task executions doesn't work well. I am not sure if this is a problem of VS Code or with our pseudo terminal:

I created a new issue: https://github.com/stateful/vscode-runme/issues/113 and will merge this PR.


Gong and Postmark Connectors

Describe the bug
Gongio and Postmark connectors return an error when Terraform provisioning Fivetran connector resources with credentials.
Please also note that the GongIo part of the documentation lists username, password as well as access_key, access_key_secret authentication. My understanding is that 3 input is needed on the Fivetran dashboard 1) access_key 2) access_key_secret  and 3) base_url.
To Reproduce
GiongIo connector:
resource "fivetran_connector" "gongio" {
group_id    = module.fivetran_destination.fivetran_destination_group_id
service     = "gongio"
run_setup_tests = true
destination_schema {
name = "ft_gongio"
}
config {
username = var.fivetran_connector_gong_access_key
password = var.fivetran_connector_gong_client_secret
base_url = var.fivetran_connector_gong_base_url
}
}
OR
resource "fivetran_connector" "gongio" {
group_id    = module.fivetran_destination.fivetran_destination_group_id
service     = "gongio"
run_setup_tests = true
destination_schema {
name = "ft_gongio"
}
config {
accesskey = var.fivetran_connector_gong_access_key
access_key_secret = var.fivetran_connector_gong_client_secret
base_url = var.fivetran_connector_gong_base_url
}
}
Postmark connector:
resource "fivetran_connector" "postmark" {
group_id    = module.fivetran_destination.fivetran_destination_group_id
service     = "postmark"
run_setup_tests = true
destination_schema {
name = "ft_postmark"
}
config {
api_key = var.fivetran_connector_postmark_key
}
}
Expected behavior
No provider error and provisioned connectors with submitted credentials saved and tested on the Fivetran dashboard.
Logs & Output
terraform apply
Postmark
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to fivetran_connector.postmark, provider "provider["registry.terraform.io/fivetran/fivetran"]" produced an unexpected new value: .config.api_key: inconsistent values for sensitive attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Gongio:
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to fivetran_connector.gongio, provider "provider["registry.terraform.io/fivetran/fivetran"]" produced an unexpected new value: .config.username: was cty.StringVal("xxxxxxxxxxx"), but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to fivetran_connector.gongio, provider "provider["registry.terraform.io/fivetran/fivetran"]" produced an unexpected new value: .config.password: inconsistent values for sensitive attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Plugin version:
terraform {
required_providers {
fivetran = {
source  = "fivetran/fivetran"
version = ">= 1.1.20"
}
}
}
Additional context
Add any other context about the problem here.

For gongio correct fields set is:

access_key
access_key_secret
base_url

There was an error in our Open API schema previously.
Other issues caused by wrong sensitive fields handling - PR with the fix raised.


Date field data represented by {} (Postgres)

I haven't tried other databases, but when using Postgres, data in a field of type 'date' isn't displayed. Instead it is represented by '{}'.

https://github.com/web-pal/DBGlass/issues/46


@producer decorator is not working on a function without @consumer decorator

Why is this test failing?
import asyncio
from pydantic import BaseModel, Field, NonNegativeFloat

from faststream import FastStream, Logger
from faststream.kafka import KafkaBroker, TestKafkaBroker

class Data(BaseModel):
    data: NonNegativeFloat = Field(
        ..., examples=[0.5], description="Float data example"
    )

broker = KafkaBroker("localhost:9092")
app = FastStream(broker)

@broker.publisher("input_data")
async def to_input_data(msg: Data) -> Data:
    # logger.info(f"to_input_data({msg=}, {logger=})")
    return Data(data=msg.data+5.0)

@broker.subscriber("input_data")
async def on_input_data(msg: Data, logger: Logger):
    logger.info(f"on_input_data({msg=}, {logger=})")

import pytest

@pytest.mark.asyncio
async def test_passing():
    async with TestKafkaBroker(broker) as tester_broker:

        await broker.publish(Data(data=5.2), "input_data")

        on_input_data.mock.assert_called()

@pytest.mark.asyncio
async def test_failing():
    async with TestKafkaBroker(broker) as tester_broker:

        await to_input_data(Data(data=0.2))

        # Why is this failing?
        on_input_data.mock.assert_called()

I suppose we shouldn't support this behavior cuz it is a little implicit than direct producer call and wrapping the same function
Also we have a big troubles with this feature implementation cuz we doesn't patch an original function behavior at all for now.

If this is too difficult to implement, we can live with it. However, we should somehow notify the user that we do not support this usage of the producer decorator. I would either use logger.warning or raise a NotImplemented exception in such cases. How difficult is it to add a logger message or exception in such case?

https://github.com/airtai/fastkafka/blob/FastStream/faststream/broker/wrapper.py#L90
No way for now, it is another library responsibility

@davorrunje
Yes, I'm sorry about a wrong Issue answer: it's not very convenient to work from the phone
Regarding the warning when calling functions: I deliberately leave the functions wrapped by our decorators unchanged. This is a common use case when testing HTTP frameworks: test handlers as if they were regular functions. Therefore, I do not modify them with any side effects (like publishing or warnings).
publisher decorator works only on functions that are already wrapped by the subscriber - thus the user creates an obvious data pipeline unit.
It seems to me that the reason why you are trying to send a message by calling a wrapped function is just a habit from FastKafka. I assume that new users will not expect this behavior (because it is not entirely obvious), especially if they do not find such example in the documentation.
I think it will be enough to display only the correct examples in the documentation, and also indicate that the framed functions do not have side effects.
If you want to add a warning or modify the function with some additional behavior, you can do it here, but I don't think it's necessary

Thanx for the explanation. I'll close the issue now. Let's see if this is a problem in practice or not before implementing enything.

So is it still not possible to only publish messages. I have these FastAPI endpoints which publish messages to a stream. Is there any way to do this, without subscribing.


Add Menu Project

This project will have menu items of restaurant and when you will click on that particular dish then you go to the respective links on google for it.
Its working video,
https://user-images.githubusercontent.com/75881393/118355305-e790af80-b58c-11eb-9a6e-4cbbb91bfa2e.mp4

Please @ridsuteri @991rajat @urvashi-code1255 review this issue.


Unable to do sudo apt-get update

Version
Microsoft Windows [Version 10.0.22621.674]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps

Open Ubuntu
Enter the command sudo apt update (failing)
Wait for the updates to arrive
Enter sudo apt upgrade

Expected Behavior
When I am trying to run sudo apt update to get the latest updates from the server, it always comes as Failed and produces this output.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Temporary failure resolving 'archive.ubuntu.com'

It is expected to connect and receive any latest updates from the Ubuntu servers.
Actual Behavior
Everytime I run the command, this is the error I get all the time.

Diagnostic Logs
No response

/dupe #8365

By the looks of the errors; this can be solved by changing your DNS in /etc/resolv.conf:
nameserver <IP_ADDRESS> # Or your preference

You can also write into /etc/wsl.conf to stop this being overwritten:
[network]
generateResolvConf = false


Please focus on the modern world. (1992 scenario)

Hi. I would like to developers shifted the focus from the Cold War scenario in the modern world, most people think I'm just interested in the modern world and not the Cold War. Please do more scenarios in the modern world as well as more events.

Ok will have it in mind. 2.00 will be to some extent better cover the economics of the 21:st century, which of-cause is the framework for more qualitative late game game-play.


Invalid path

error: invalid path 'transcripts/356-ml-startups?dl=1_paragraphs.json
fatal: unable to checkout working tree

git clone
Had to download the zip like a noob.


Server closes connection before finished with text.

Hi there,
When I feed the tts with more then a line or two of text it closes the connection.
I use t="text="cat 56.txt;curl -v -G --output  -     --data-urlencode "$t"     'http://localhost:5002/api/tts' |  cat>test.wav
where 56.txt is a file with 56 lines (3204 characters) of english language text.
thinking, that the problem could be some limitation of the length of an url, I tried:
t=cat 56.txt;curl -X POST --output  -     --data "$t"     'http://localhost:5002/api/tts' |  cat>test.wav
but here, I just get an empty file and the folowing response in the terminal:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed 100  3522  100   290  100  3232   1835  20455 --:--:-- --:--:-- --:--:-- 22291
My goal would be to feed it with much longer texts. I guess GET must fail there, but I can not figure out why POST should not work, the way I tried it. (it fails too, if i feed it with 'This is a test-text. Yay' instead of "$t"
Do you think the POST method of the docker image is failing, or is my line of code faulty?
curl -V
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets

REPOSITORY                   TAG                 IMAGE ID            CREATED             SIZE
synesthesiam/mozillatts      latest              ae5bf234ed9b        26 hours ago        1.83GB

The POST apparently needs -H "Content-Type: text/plain" from curl. The flask web server gives me an empty data string without it for some reason.
I also recently added a feature to independently synthesize lines. So if you break your sentences into lines, you can feed the whole thing now without overwhelming the synthesizer. It'll do each line in turn, and then combine all the audio before responding :smile:


Global Search Function

A global search function should be implemented, providing a search over all metadata and all contents of specification files.
A search-bar should be displayed in the header-bar and search results should show up as a pop-down list when the search term is entered.

As we discussed offline, there are probably different kinds of searching behavior:

"Which service can give me that data?"
"Can one of the services I use already do that?"
"Which method do I need to use?"
"Give me the documentation for this exact method."

Note that the last one is vastly different than the other three.


mempool: panic when app's CheckTx returns an error while rechecking

Thanks @p4u for reporting this bug!
Bug Report
Setup
CometBFT version: from v0.38 and up
What happened?
Comet panics with the message "recheck cursor is not nil before resCbFirstTime", which is found in this line: https://github.com/cometbft/cometbft/blob/1f430f51f0e390cd7c789ba9b1e9b35846e34642/mempool/clist_mempool.go#L313
Briefly, when we are using a local ABCI client and the app's CheckTx method returns a non-nil error, the rechecking process is broken at this line, leaving recheckCursor and recheckEnd in an inconsistent state.
These are the steps to reach the panic line:

Rechecking is started by recheckTxs, which:

sets recheckCursor to the first element of the transaction list txs
for every element in txs, it sends a CheckTx request to the app. We are using a local client, so the call to proxyAppConn.CheckTxAsync is synchronous, meaning that it will the CheckTx method on the app and immediately call the globalCb callback to process the response.
If the app's CheckTx returns an error, the function recheckTxs returns without finishing the rechecking process and leaving recheckCursor with a non-nil value. recheckCursor is set to nil again only in resCbRecheck, when it's equal to recheckEnd.

A CheckTx request of type CHECK_TX_TYPE_CHECK is sent to the app for a new tx; a response is handled by globalCb, which will panic because recheckCursor is not nil.

Notes
On previous versions of CometBFT, CheckTxAsync didn't return an error, so this problem didn't exist. And when this new behaviour was introduced, the documentation was not updated.

I've opened a hotfix PR (#2228) to tackle an immediate panic issue.
However, a deeper solution is warranted, particularly concerning how the mempool processes the errors introduced recently. There's currently ambiguity in determining when to use CheckTxResponse.Code=1 versus returning an error. The critical question is: what role does returning an error play?
In any case, encountering an error during a transaction's execution should not halt the recheck cursor's progression. Therefore, this PR should be valid and it directly addresses our problem.

when this new behaviour was introduced, the documentation was not updated.

Are we addressing this?
I agree with the previous comment that there is no proper semantic for CheckTx returning an error. Since this was introduced recently and we don't have a defined semantics, we should ignored returned errors...


Add 'YBSlantedCollectionViewLayout'

Project URL
https://github.com/yacir/YBSlantedCollectionViewLayout
Description
YBSlantedCollectionViewLayout is a subclass of UICollectionViewLayout allowing the display of slanted content on UICollectionView.
Why it should be included to awesome-ios (optional)
Checklist

[X] Only one project/change is in this pull request
[X] Addition in chronological order (bottom of category)
[X] Supports iOS 9 / tvOS 10 or later
[X] Supports Swift 3
[X] Has a commit from less than 2 years ago
[X] Has a clear README in English

I think it should be in table-view-collection-view🤔

You right @naeemshaikh90

Hey @yacir, thanks for contributing! 👍 🎉


Monthly periodicity

Developed monthly periodicity functionality.
Monthly periodicity always need to have defined 'at("DD-HH:MM:SS")' or 'at("DD-HH:MM")', where "DD" is the day of the month it should run.
If "DD"=31 the periodic job will run the last day on the month.
Other exceptions related to end of month dates or February special case are controlled, at least as far as I've been able to check.

As I understand from Travis CI, the fails are mainly related to FLAKE8 style enforcement. I will correct them and commit again.

Coverage decreased (-1.2%) to 98.769% when pulling 89f73d36571523f39dfe4bdd9b2c63811e5867e4 on gaguirregabiria:months into 41f88b33b8e20c8b87c0148d15f654ccea01440c on dbader:master.

Coverage decreased (-1.2%) to 98.769% when pulling 89f73d36571523f39dfe4bdd9b2c63811e5867e4 on gaguirregabiria:months into 41f88b33b8e20c8b87c0148d15f654ccea01440c on dbader:master.

In the current status, the monthly schedule has to be used as
schedule.every().month.at("DD-HH:MM:SS").do(job)

Where DD= day of the month when it will run and HH:MM:SS=time at which it should run
To be used as you suggest further development is needed. I can check it once I'm back from vacations.

I tried what you suggested, but got an error:
schedule.every().month.at("29-09:48:00").do(job)
AttributeError: 'Job' object has no attribute 'month'

I thought this was due to pypi.org version being behind the git version so I installed from git, but still got the same error.

The error appears because you got the master version of the official Schedule package but the monthly periodicity is not available there yet. The pull request has not been merged into the package by the administrator.
If you want to use it, you could get the implementation from my GitHub profile (https://github.com/gaguirregabiria/schedule/tree/months) and merge it into the official repository in your local machine. You can also simply use my branch as it has no conflicts with the master branch.
The final option is to wait until the pull request is merged into the master of the official package.

Oh I should have noticed the branch, sorry.

Looking for this functionality and afaik @gaguirregabiria has done a great job!

Would love to see this merged

I see how this can be useful, but as described in #73 it is also prone to error. From a quick peek, this pr looks pretty good. Unfortunately support for long-running jobs is not a good fit for this library. Therefore i'm closing this pr.


ReturnCount excludeGuardClauses not working

The bug you're experiencing might have already be reported!
Please search in the issues before creating one.
Expected Behavior
I expect functions with a return count of nonGuardReturns - guardReturns < THRESHOLD to pass the ReturnCount rule
Observed Behavior
It is not passing the rule
Steps to Reproduce
This function is not passing the ReturnCount rule:
override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) {
    if(extraPadding == null) return
    val models = parent.adapter as? EpoxyControllerAdapter ?: return
    val position = parent.getChildAdapterPosition(view).takeIf { it != -1 } ?: return
    models.getModelAtPosition(position).cast<HasNewActivity>() ?: return

    outRect.set(extraPadding)
}

ReturnCount:
    active: true
    max: 2
    excludedFunctions: "equals"
    excludeLabeled: false
    excludeReturnFromLambda: true
    excludeGuardClauses: true

Your Environment

Version of detekt used: 1.5.1
Version of Gradle used (if applicable): 6.1.1
Operating System and version: Ubuntu <IP_ADDRESS>

If I change:
models.getModelAtPosition(position).cast<HasNewActivity>() ?: return
to
if(models.getModelAtPosition(position) !is HasNewActivity) return
then it works.
inline fun <reified T> Any?.cast() = this as? T


wsn session may be null when there is an exception

wsn session may be null when there is an exception (for e.g. wsn session is not even created, and i/o error happened on http layer). Guarding against it.

Forward porting the PR that fixes
https://github.com/kaazing/gateway/issues/347


Update php

Build php

:beers: @BrewTestBot has triggered a merge.

:warning: @shivammathur bottle publish failed.

:beers: @BrewTestBot has triggered a merge.


Function calling example.

Description of the feature request:
I am trying to use function calling  Do we have a working example
Currently I'm building stuff manually and its a pain
def build_function_tool_single(name, description, properties, required):
    return {
        "function_declarations": [{
            "name": name,
            "description": description,
            "parameters": {
                "type_": "OBJECT",  # Indicates that parameters are structured as an object
                "properties": properties,  # List of property dictionaries
                "required": required  # List of required property names
            }
        }]
    }

What problem are you trying to solve with this feature?
Figuring out function calling with the library.  how to build a tool properly.
Any other information you'd like to share?
I am seeing some code here content_types.py#L423 i am wondering if i am on the right track

There's a python quickstart at https://ai.google.dev/tutorials/function_calling_python_quickstart
In it, there's an example of how to implement function calling with a simple calculator function :)

Here i thought I had already looked everywere thank you!


mealob.com

Domain
https://www.mkvcinemas.pl/
Link
https://www.mkvcinemas.pl/shang-chi-and-the-legend-of-the-ten-rings-2021-movie-bluray-hindi-dubbed-300mb-480p-1gb-720p-2gb-1080p-f/
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
bypass at the download page, thanks
Code of Conduct

[X] I agree to follow this project's Code of Conduct

is it fixed?

sorry, i think the website is not give the real link
i have try with use fastforward addon and not, the result is same
so, i think the problem come from the site "mkvcinemas.pl"
thanks @NotAProton :)

the result always "bad request" when i'm not use the addon
but, if you think the shortlink is not yet listed from fastforward, i will reopen this issue


I had this error when i tried adding the dependency for this library

Error:(29, 13) Failed to resolve: com.github.burakeregar:EasiestGenericRecyclerAdapter:v1.5
Show in FileShow in Project Structure dialog
How do i fix it?

Please follow the instructions on the readme file. You should add jitpack dependency to the top gradle file.


Please add auto full screen when I click a tv channel

Please add auto full screen when I click a tv channel.

Channel not autoplay. When I touch play bottom then playing.
And when I click a tv channel started player comes middle on phone. Please change it to full screen landscape mode.
Please solve this as soon as possible 🙏 Thank you.

I tried but due to the live stream, player control not working. looking for other solutions.
@nisargpro If you have time please take a look.

This reason weaklock not working.

@Rmail733
Please don't merge the issue. Before committing please check. This is not the same case, the other case has the ! symbol.
I will close this issue because everyone does not want to watch in full-screen mode. If anyone wants to see it in full-screen they need to click a button.
For the Screen lock issue, it's working fine. I already tested the code before code merge.

If u don't mind. I need iptv for tv source code if possible🙏... thank you..👍🏻


Created Anagram code in java

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes
Description
(Write your answer here.)
Checklist

[✓] I've read the contribution guidelines.
[✓] I've checked the issue list before deciding what to submit.
[✓] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
Contributing for issue #1969 .

Update README.md too.

Please let me know which readme.md file you want to update( if possible, attach a link of readme.md file). What type of updates you want to do so?
I will be grateful to you if you tell me something more about the required changes for readme.md file...
Thanks in Advance...

#2217


attiny85 support

hi, i know this has been posted before but i just wanted to share with you that i actually got it working with your original program from the menorah  the bad thing is since the attiny85 has very little space you run out of memory very often with 3 min long midis
https://github.com/theawsomeavr/Attiny85_Playtune_master

That's wonderful; thanks for telling me!
Yes, memory space on the ATtiny85 is a problem -- but it's fun to try to make the most of it. That reminds me of the "old days" when computer were made out of vacuum tubes.
Incidentally, there are newer and fancier versions of the MIDI compiler (miditones) at https://github.com/LenShustek/miditones, but if the old ones work for you, that's great.

Cool! I hope you eventually post the code for your GUI interface.

here you go https://github.com/theawsomeavr/midigui

i have only tested on windows 7 an it works flawless


linear search

great :)
contact me on linkedin
https://www.linkedin.com/in/avinash-singh-071b79175/


Build cFS for Raspberry Pi 4

I'm trying to build cfs for Raspberry Pi using cross-compiler in Ubuntu 18.04. I installed gcc-arm-linux-gnueabihf and g++-arm-linux-gnueabihf, setup cmake toolchain file as follows:
set(CMAKE_SYSTEM_NAME       Linux)
set(CMAKE_SYSTEM_PROCESSOR  arm)
set(CMAKE_SYSTEM_VERSION    1)

SET(CMAKE_C_COMPILER			"arm-linux-gnueabihf-gcc")
SET(CMAKE_CXX_COMPILER			"arm-linux-gnueabihf-g++")

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM	NEVER)

SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY	ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE	ONLY)

SET(CFE_SYSTEM_PSPNAME      "pc-linux")
SET(OSAL_SYSTEM_BSPNAME     "pc-linux")
SET(OSAL_SYSTEM_OSTYPE      "posix")

And then:
make SIMULATION=arm-raspberrypi O=build-raspberry prep
make SIMULATION=arm-raspberrypi O=build-raspberry

There is core-cpu1 in build-raspberry/arm-raspberrypi/default_cpu1/cpu1. But on Raspberry it crashes with error:
OS_Posix_GetSchedulerParams():190:Policy 1: available, min-max: 1-99
OS_Posix_GetSchedulerParams():190:Policy 2: available, min-max: 1-99
OS_Posix_TaskAPI_Impl_Init():376:Selected policy 2 for RT tasks, root task = 99
OS_Posix_TaskAPI_Impl_Init():392:Could not setschedparam in main thread: Operation not permitted (1)
OS_API_Init():151:OS_API_Impl_Init(0x1) failed to initialize: -1
OS_API_Init():231:Warning: Microsecs per sec value of 0 does not equal 1000000 (MicroSecPerTick: 0   TicksPerSecond: 0)
OS_printf():300:BUG: OS_printf() called when OSAL not initialized: CFE_PSP_Panic Called with error code = 0x%08X. Exiting.
OS_printf():300:BUG: OS_printf() called when OSAL not initialized: The cFE could not start.

What am I doing wrong?

Actually there is another problem.  EC = 0xFFFFFFFF
1980-012-14:03:20.29289 ES Startup: Loading file: /cf/arducam.so, APP: CAM
1980-012-14:03:20.29328 ES Startup: Could not load cFE application file:/cf/arducam.so. EC = 0xFFFFFFFF
1980-012-14:03:20.29489 ES Startup: Loading file: /cf/clyde_eps.so, APP: EPS
1980-012-14:03:20.29524 ES Startup: Could not load cFE application file:/cf/clyde_eps.so. EC = 0xFFFFFFFF
1980-012-14:03:20.29685 ES Startup: Loading file: /cf/novatel_oem615.so, APP: NAV
1980-012-14:03:20.29727 ES Startup: Could not load cFE application file:/cf/novatel_oem615.so. EC = 0xFFFFFFFF
1980-012-14:03:20.29887 ES Startup: Loading file: /cf/generic_reaction_wheel.so, APP: RW
1980-012-14:03:20.29931 ES Startup: Could not load cFE application file:/cf/generic_reaction_wheel.so. EC = 0xFFFFFFFF

What is wrong?

Also there are some other errors:
1980-012-14:03:20.26948 ES Startup: CI loaded and created
EVS Port1 42/2/CI 7: IO_TransUDP Error: bind socket failed. errno:98
EVS Port1 42/2/CI 6: CI - Custom Init failed.
1980-012-14:03:20.26989 CI - Application failed to initialize
1980-012-14:03:20.26991 Application CI called CFE_ES_ExitApp
...
1980-012-14:03:21.25838 CFE_ES_GetTaskInfo: Task ID Not Valid: 7
1980-012-14:03:21.25847 CFE_ES_GetTaskInfo: Task ID Not Valid: 7
EVS Port1 42/2/CFE_ES 14: Exit Application CI on Error Completed.

Two comments I'd suggest:

Check the sample file native_osconfig.cmake  - this defines a couple options to make it easier to run CFS in a debug environment.  You'll typically want to enable both of these when debugging.  You can either just make an "arm-raspberrypi_osconfig.cmake" or you can simply change the options in your default_osconfig.cmake to make them always set.  Also make sure OSAL_CONFIG_DEBUG_PRINTF is set to true somewhere in there, too.

It looks like the module loading is simply because the apps were not built for CPU2.  Were they listed in targets.cmake?

As for the socket bind issue, you'll have to look up what errno 98 means (its system-specific).

Well, we defined OS_DEBUG_PRINTF and it shows that hwlib can't load because of undefined spi_unselect_chip, so we just delete all code with it. Idk why, but now it works
Errno 98 is "Port in use", but where can I change the port in cFS configs?

I just hardcoded the port
int32 IO_TransUdpBindSocket(IO_TransUdp_t * udp)
{
    if (udp == NULL)
    {
        CFE_EVS_SendEvent(IO_LIB_TRANS_UDP_EID,CFE_EVS_ERROR,
                          "IO_TransUDP Error: Null input argument. ");
        return IO_TRANS_UDP_BAD_INPUT_ERROR;
    }

    udp->sockAddr.sin_port = 1337;

    /* Bind socket to port */
    if ((bind(udp->sockId, (struct sockaddr*)&udp->sockAddr,
              sizeof(struct sockaddr)) < 0))
    {
        CFE_EVS_SendEvent(IO_LIB_TRANS_UDP_EID, CFE_EVS_ERROR,
                          "IO_TransUDP Error: bind socket failed. errno:%d, port:%d",
                          errno, udp->sockAddr.sin_port);
        return IO_TRANS_UDP_SOCKETBIND_ERROR;
    }

    return IO_TRANS_UDP_NO_ERROR;
}

and it does not work, errno 98

Something worth considering -- just build natively. I understand that folks consider native compilation slow but the fact remains it's the easiest and least error prone.  Further, we minimize the time cost by integrating our cFS build into our Azure Devops pipelines on a self-hosted RPi 3B+ agent. Much easier than futzing around with cross-compilations and we get the benefits of ci/cd, artifacts, etc.

I've been fighting this same problem for ages. I'm trying to run cFS on a Raspberry Pi Zero, so the build times are quite long. The problem isn't limited to cFS,  Cross-compiling any shared object with arm-linux-gnueabi-gcc -o [libname] [source.c] -shared seem to have this issue. This minimal example demonstrates the issue. The code fails with ./libshared.so: cannot open shared object file: No such file or directory.

I've been fighting this same problem for ages. I'm trying to run cFS on a Raspberry Pi Zero, so the build times are quite long. The problem isn't limited to cFS, Cross-compiling any shared object with arm-linux-gnueabi-gcc -o [libname] [source.c] -shared seem to have this issue. This minimal example demonstrates the issue. The code fails with ./libshared.so: cannot open shared object file: No such file or directory.

Have you found any solution?


Define getObject functionality

Defined the getObject functionality.

@dmh43 thanks for this.  I will see what's up with the CI failures and get this merged.

@dermidgen The test was still checking that Not Implemented was echoed. We should be good to go now 👍

Coverage decreased (-0.3%) to 91.931% when pulling 0e71b7010e554d9a02096403a3c252a082644ee3 on dmh43:getobject into bebedb5a5583d705d99b5553be24b6209fb22b11 on retsr:master.


Close stdin / stdout / stderr in child process after fork

We use go-daemon in the Elastic Beats init scripts on the platforms that don't support systemd. We occasionally get reports about the init scripts failing when executed over SSH, usually via some deployment tool.
#5 seems related although not quite exactly what we experience. The easiest way to reproduce the problem is to run something like this:
ssh host "god sleep 10"

SSH hangs for 10 seconds.
Closing FDs 0, 1, 2 on the first fork (the one for daemonizing the go-daemon process itself) seems necessary to detach from the pseudo tty when running in background. I did the minimal change that seems to fix our issue, but other changes might be useful as well here (setsid, redirect stdout/stderr to /dev/null), etc.

I spent little time chasing this since #5, and considered your change before. The problem is that if you execute a file that does not exist, and stdout/stderr are closed, we don't get a chance to report errors.
For example, before your change:
$ ./god lalala
lalala: No such file or directory
$

After your change:
$ ./god lalala
$

So I guess there's more to look at.

Thanks for the quick answer, I see the issue. If I get the code correctly, execvp errors are the only ones that get reported this way, right?
Out of curiosity I checked how debian's start-stop-daemon handles this:
start-stop-daemon --start --background --exec lalala
start-stop-daemon: unable to stat lalala (No such file or directory)

So it seems (and I confirmed with strace) that it does a stat to check that the file exist, before forking.
This is not bullet proof, if I create a file without execution permission, start-stop-daemon fails to report an error. However, IMHO, this is a pretty good compromise  because it catches the most common error case. We could probably also check that the file is executable.
WDYT? I can do the change if you like the idea.
The only other option that I can think of is to close the FDs after half a second or so, but that's a bit ugly, slows down SSH connections, and could lead to races.

That's where I was going to, also. Do a stat and check for exec permission, should be good enough given start-stop-daemon does similar.
Yeah go ahead and update the PR and let's move fwd.

The check for exec permission needs to check against the user and group that we're going to run with.. perhaps that's why start-stop-daemon doesn't do it. :)

@fiorix I added another commit that does a stat on the file and checks if any of the executable flags are set. The check passes if any of the bits (user, group, other) is set. It still doesn't catch all possible permission errors, but I think the most common ones should be covered without false positives.
There is a downside to this, though: you can no longer execute anything from $PATH. In other words, god sleep 1 no longer works, you need god /bin/sleep 1.

 We can scan through $PATH and look for the file in it. I'm a bit rusty in C but I think this would do:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/syslimits.h>

// executable_abspath checks whether the given file name exists in
// the current directory or in $PATH, and returns a pointer containing
// a string with the absolute path of the executable file. The returned
// pointer points to a static buffer that is reused on subsequent calls.
// Returns NULL if the given file name cannot be found.
char *executable_abspath(char *filename) {
	static char abspath[PATH_MAX];

	char *path = getenv("PATH");
	if (!path) return NULL;

	char *v[PATH_MAX/2], **paths = v;
	char *p = strdup(path);
	path = p;

	while (*p) {
		while (*p && *p == ':') *p++ = '\0';
		*(paths++) = p;
		while (*p && *p != ':') p++;
	}
	*paths = NULL;

	int l, fnlen = strlen(filename);
	for (paths = v; *paths; paths++) {
		l = strlen(*paths) + fnlen + 2;
		if (l > sizeof(abspath)) continue;
		snprintf(abspath, l, "%s/%s", *paths, filename);
		if (0 /* stat(abspath) exists and is executable */) {
			free(path);
			return abspath;
		}
	}
	free(path);
	return NULL;
}

int main() {
	printf("abs=%s\n", executable_abspath("sleep"));
}

It needs an #ifdef to check for Linux vs OS X (which is what I used) and include the equivalent syslimits for PATH_MAX. You can probably put your stuff in the if (0 ...) block replacing it.

Although the comments say it checks the current directory, it doesn't. Needs that too.

I wouldn't say it's that bad, since this is primarily meant to be used in init scripts, in which it's good practice to use absolute paths anyway. And it's easy to do god `which sleep` 10, which works great.
I would be afraid of corner cases when looking for the executable in $PATH + working directory, like differences in behavior between our implementation and execvp. Check the source code of execvp, it looks pretty complex.

Up to you, I'll probably put that in later on anyway. It's not too different from what execvp is doing except that they handle : at the beginning, end, and double to search current directly and my code does not.
I've added a comment to your last commit to change the error message to the standard Permission denied when the file mode doesn't have executable bits set.

Thanks @fiorix, I pushed a fix for the err message.

This patch caused problems with the logger thread. I've pushed another fix, which also addresses the security issues from other tickets.


KBM - Key names for IME keys are missing

Currently the IME keys show up as VK ## rather than the actual key name. We should include the key names for all the keys that are documented here.

We just released 0.20 and this should be resolved there.  Please try it out.


Background tiles act weird when using modified screen width/height nitpicks

Place background tiles in a level with modified screen width/height nitpicks enabled, and scroll the camera along. This will cause background tiles to behave in a weird, glitchy manner. They move along with the player, but snap back to their original position again once 1 tile width has been scrolled, repeating for every tile width the player scrolls the screen.

Already fixed a few days ago


Find a way to reuse postcss instance

Since you switched to postcss that would be nice to be able to use some plugins (like for example cssnext) via your module instead of duplicate parsing via another loader.
Are you open to that kind of enhancement ? That should not be a big deal to handle that right ?

I'm not sure if I would like to expose the PostCSS stuff from the css-loader. It's an implenentation detail. It's propably not a big performance issue... is it?

Not sure it's a big one, but if we can avoid that...
What about just adding a plugins options (an array) that accept multiple plugin that you can pipe using (.use()) in your module ? That's should be quick and you don't really expose anything ?

it's a great idea, especially thanks to postcss that we can use the many plugins, including cssnext.
:+1:

That's should be quick and you don't really expose anything ?

This would expose it.
For now I'll keep it hidden. So you need the postcss-loader in addition to the css-loader for postcss plugins. That isn't so complex or inperformant.

What are you afraid of ?

Indeed it's not complex. But that would be a sweet possible optimisation. And there is no small optimisation, there is just optimisations ^^

I agree with @sokra. PostCSS shouldn't be exposed as part of the public
API. It's private implementation detail that we might want to move away
from in the future. Allowing users to couple themselves to our internal
technology choices makes it harder for us to manage change going forwards.
On Sat, 20 Jun 2015 20:40 Maxime Thirouin<EMAIL_ADDRESS>wrote:

Indeed it's not complex. But that would be a sweet possible optimisation.
And there is no small optimisation, there is just optimisations ^^
—
Reply to this email directly or view it on GitHub
https://github.com/webpack/css-loader/issues/82#issuecomment-113744545.


range.by('month') excluding last month in range

I have a date range that starts in June and runs through July and into August. Creating an iterable of months in the range yields only the first two months. August is not included.
Steps to Reproduce
const range = moment.range('2020-06-23', '2020-08-21');
const months = Array.from(range.by('months')).map(date => date.format('MMMM'));
console.log(months);

Expected Behavior
Array [ "June", "July", "August" ]
Current Behavior
Array [ "June", "July" ]

moment.js 2.27.0
moment-range 4.0.2
Unless I'm missing something this seems to be a bug. Explicitly setting { excludeEnd: false } doesn't work either.

Same thing is happening when using by "day" it is excluding the last day.

same question

I removed the module because of this issue. The following works fine:
private getDateRange(from: Moment, to: Moment): readonly Moment[] {
	const numberOfDays = to.diff(from, 'days') + 1;
	return [...Array(numberOfDays).keys()].map(i => moment(from).add(i, 'days'));
}


Dangling symlink in Go module causes no such file or directory

I realise this is all very new, but versioning and artifactory support for Go is something I've been wanting for a while!
The trouble is, I was unable to publish my first module:
jfrog rt go-publish go 0.0.1<EMAIL_ADDRESS>[Info] Using vgo: go version go1.10.3 darwin/amd64 vgo:devel +88c76dcbab

[Info] Publishing project...
[Info] Publishing github.com/starlingbank/vaultsmith:0.0.1 to go
[Error] open [$GOPATH]/src/github.com/starlingbank/vaultsmith/vendor/github.com/hashicorp/go-rootcerts/test-fixtures/capath-with-symlinks/securetrust.pem: no such file or directory
{
  "status": "failure",
  "totals": {
    "success": 0,
    "failure": 1
  }
}
[Error] Publishing project finished with errors. Please review the logs.

The problem is that the hashicorp go-rootcerts module ends up including a symlink to a file that does not exist; the file capath-with-symlinks/securetrust.pem is a symlink to ../capath/securetrust.pem which for some reason isn't included in the build (it is present in the repository though).
Digging into the code, I found where the file is added to the archive, and was able to make it "work" with the code in this commit. jfrog-cli built with my branch gives:
[Info] Using vgo: go version go1.10.3 darwin/amd64 vgo:devel +88c76dcbab

[Info] Publishing project...
[Info] Publishing github.com/starlingbank/vaultsmith:0.0.1 to go
[Info] Publishing project dependencies...
{
  "status": "success",
  "totals": {
    "success": 1,
    "failure": 0
  }
}

I'm in no way suggesting it should be merged though as it's actually broken. While it writes the contents of the link to the zip file, on extraction, it is no longer a symlink, but a plain file with the target path as contents. As far as I can tell, archive/zip does not support symlinks.
I'm not really sure where the responsibility for this problem lies. Even if the target file was included in the archive, jfrog cli would store the link as a file, which would clearly break the logic of hashicorp's test.
On the other hand it's a little mystifying to me that capath-with-symlinks is included in my vendor dir, but capath is not. I think this is a separate issue though.
Could jfrog-cli be made to store symlinks as-is? Should it?

I should also note; removing the offending symlinks fixed my issue. The _test.go files that reference the fixtures in hashicorp's module were not being included, so it looks like a bug in vgo that the symlinks were present at all.
Thus I'm not sure there's a use case where a symlink is required, and replacing it with the target file isn't sufficient.

Thanks you for sharing this @al4!
This information may be useful to others who may encounter this issue.
Do you know if the issue is fixed in the latest version of vgo or go? (JFrog CLI 1.18 and above no longer triggers vgo, but expects go 1.11 (or one of its release candidates).

Thanks for the reply @eyalbe4, it works now (using go 1.11 and jfrog-cli 1.19):
$ jfrog rt go-publish go 0.0.4-1 --apikey=[key] --url=https://[artifactory]
[Info] Using go: go version go1.11 darwin/amd64

[Info] Publishing project...
[Info] Publishing github.com/starlingbank/vaultsmith:0.0.4-1 to go
[Info] Publishing project dependencies...
{
  "status": "success",
  "totals": {
    "success": 1,
    "failure": 0
  }
}```


Slider broken on window resize with effect fade

If the effect is set to "fade" with a fade duration of 1500ms for example - if you resize the browser during the fade process the slides get broken and displaced. It doesn't get fixed with .update()
Anyone have a solution? Thanks!

Can't replicate it. Do you have a live example with the issue? Also make sure you are using latest version

Hi,
Thanks for replying!
Using the latest version.
Example: http://vids.im/slider/index_slider.html
Effect is fade.
Slides get displaced if you resize (or maximize/minimize) the browser
window exactly during the fade effect.
In this example I deliberately set the fade duration to 4500
milliseconds so it will be easier for you to observe.
Try to maximize/minimize browser during the fade between two images.
Regards
On 2016-01-09 20:46, Vladimir Kharlampidi wrote:

Can't replicate it. Do you have a live example with the issue? Also
make sure you are using latest version
--
Reply to this email directly or view it on GitHub [1].

Links:
[1]
https://github.com/nolimits4web/Swiper/issues/1556#issuecomment-170252927

It is fixed now in dev version

Many thanks!
On 2016-01-10 01:10, Vladimir Kharlampidi wrote:

It is fixed now in dev version
--
Reply to this email directly or view it on GitHub [1].

Links:
[1]
https://github.com/nolimits4web/Swiper/issues/1556#issuecomment-170275935


Fixing "Cannot assign requested address" errors

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I have a few ping monitors to check the general health of my internet connection. Every day or two, I have transient errors returning "Cannot assign requested address". They usually only last for a single check. I have about 30 total monitors.
I thought perhaps the app was running out of file descriptors, but increasing that didn't change anything.
Any ideas?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
Proxmox 8.2 x64
🌐 Browser
N/A
🖥 Deployment Environment

Runtime: Docker 25.0.5
Database: sqlite
Filesystem used to store the database on: zfs
number of monitors: 30

I don't have an intial guess, so lets gather more info to be on the same page.

What is the Error Message(s) or Log?
what are you monitoring precisely with the 30 ping monitors (ipv4/6, dns based or raw ip)?
What kind of firewall, docker networks, physical network is between them?

I did some deeper analysis of the logs, and realized I had to look >60 seconds into the past to see an additional error:
2024-06-11T21:29:06.659-04:00	metrics-docker	ping IPv6 error message: connect: Cannot assign requested address
2024-06-11T21:29:12.241-04:00	metrics-docker	2024-06-11T21:29:12-04:00 [MONITOR] WARN: Monitor #34 'Facebook': Failing: connect: Cannot assign requested address
2024-06-11T21:29:12.242-04:00	metrics-docker	| Interval: 60 seconds | Type: ping | Down Count: 0 | Resend Interval: 0

While I have IPv6 connectivity to the host, I don't have IPv6 connectivity to the docker container. Of course, my DNS server does return IPv6 addresses:
root@f22ecb287819:/app# nslookup facebook.com
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Non-authoritative answer:
Name:	facebook.com
Address: <IP_ADDRESS>
Name:	facebook.com
Address: 2a03:2880:f10e:83:face:b00c:0:25de

My guess is occasionally the order of the records returned is flipped, and the IPv6 comes first.
The container doesn't have an IPv6 address at all:
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
31: eth0@if32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:12:00:0d brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever

Most consumer software will fall back to IPv4 in situations like this, which is probably why I'm not getting complaints that things are down.
Two possible ways this could be improved:

It'd be good if the error message in the outage notification made clear what address it was trying to ping. If it showed "Facebook ()" I probably would have quickly realized it was an IPv6 related issue.
Perhaps monitors or uptime kuma itself could have a switch to control if you are monitoring IPv4, v6, or both? That looks to be covered by https://github.com/louislam/uptime-kuma/issues/1242.

Most consumer software will fall back to IPv4 in situations like this, which is probably why I'm not getting complaints that things are down.

We first try to ping via ipv4 and then ipv6.
(I know not quite correct as by Happy Eyeballs, but.. 🤷🏻)
https://github.com/louislam/uptime-kuma/blob/fbf7b77cebc81707fa56cfa91ebd8f6dbaac0112/server/util-server.js#L126-L138

The debug message is indeed a bit misleading..

Oh, that's interesting, So looking at that, it seems like it could be that there could be an underlying IPv4 outage first that's not being reported. IPv4 is down, it tries with IPv6 and only reports that via the address error.

No, the ipv4 outage is being reported.
Cannot assign requested address is  e.message => it is not retried

I haven't been able to replicate this in the last month, so let's close this. Thanks for the feedback!