Add multiple: OCL, ATL, XCore

Added an initial proposal for 3 MDE languages:

OCL, Object Constraint Language (OMG Standard)
ATL, Atlas model Transformation Langauge (Eclipse Foundation)
Xcore, Textual notation for Ecore (Eclipse Foundation)

I changed the ATL and Xcore code samples for better automatic detection.

@sunye
First of all, truly sorry for the long delay in anyone responding to this PR.
Thank you so much for desiring to contribute and writing a language grammar.  Unfortunately, we currently are no longer accepting new languages into the core repository.  The existing maintainers simply don't have time to maintain new languages (fixing bugs, dealing with issues, etc).  We'd still love to host your language as a 3rd party module though - if you're willing to help maintain it.
It's easy to turn your language into a module that anyone who likes can easily integrate with Highlight.js using a single line of code:
<script src="/path/to/highlight.min.js"></script>
<!-- they'd simply add your language modules -->
<script src="/path/to/highlightjs-xcore.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

It's also possible for users to rebuild the highlight.js library to include specific 3rd party modules, all in a single file (vs loading a bunch of 3rd party languages one at a time).
If you'd like to become the maintainer for this language then we're happy to create a new repository in the highlightjs organization and host the repository there.  That assumes you'd be open to reviewing issues and fixing bugs as they arise.  You're also welcome to host the repo yourself and we'll link to it from our README.
There isn't much in the way of how to docs on this yet, but there are sample repositories and it's honestly pretty easy.  We're still fleshing out an official "spec" for 3rd party modules, but even after that's done it should require minimal changes from the examples we have already.  IE, if you wanted to get started now there isn't any big reason to wait.
My own robots.txt grammar repository is a great, simple example:
https://github.com/highlightjs/highlightjs-robots-txt
If you have any questions feel free to ask.

Added an initial proposal for 3 MDE languages:

I'm not sure how these three are related.  What is an MDE language?

Closing for inactivity; (also finally cleaning all these old PRs out for the new year).
As mentioned above if you're interested in becoming the maintainer of a 3rd party module, please respond [whenever you find time] and we'd be happy to help you get started.

Added an initial proposal for 3 MDE languages:

I'm not sure how these three are related. What is an MDE language?

What I called a Model-Driven Engineering (MDE) languages, are languages used within the Eclipse Modeling Framework (https://www.eclipse.org/modeling/emf/) ecosystem.
Xcore is a (meta-)language for describing other modeling languages, OCL is a constraint language that is used with UML and also with Xcore to constraint the syntax of modeling languages.
Finally, ATL is a model transformation language, which can transform models from one language to another.

Closing for inactivity; (also finally cleaning all these old PRs out for the new year).
As mentioned above if you're interested in becoming the maintainer of a 3rd party module, please respond [whenever you find time] and we'd be happy to help you get started.

Yes, I would like to.

So should these be 3 different language packages then or one big package with all three?

So should these be 3 different language packages then or one big package with all three?

That's a very good question. These are not the only languages used in the MDE community, there are several others, which all have a small number of users. I believe that people that could be interested in one of these languages would also be interested in the others. I think that just one big package containing these languages would be fine, but it's upon to you to choose the best configuration.

I think that just one big package containing these languages would be fine, but it's up to you to choose the best configuration.

Not really.  Your package, your call. :-) If I had a strong opinion I'd share, but I'm not sure I do.  If these indeed share a commonality regarding MDE then perhaps a single package could work... but what to call it?
And then if someone else wants to add other MDE languages to your package, do you want to become the defacto package that all MDE languages drop into?
I think the "one package per language" simplified naming of repos, but we already have people publishing more than one language per repo so if that's much easier for maintainers, then I don't think we should stop that... so just tell me how you'd like to proceed and perhaps we can brainstorm on the naming of the repo (if you want one hosted here at the highlightjs organization).

Not really. Your package, your call. :-) If I had a strong opinion I'd share, but I'm not sure I do. If these indeed share a commonality regarding MDE then perhaps a single package could work... but what to call it?
And then if someone else wants to add other MDE languages to your package, do you want to become the defacto package that all MDE languages drop into?
I think the "one package per language" simplified naming of repos, but we already have people publishing more than one language per repo so if that's much easier for maintainers, then I don't think we should stop that... so just tell me how you'd like to proceed and perhaps we can brainstorm on the naming of the repo (if you want one hosted here at the highlightjs organization).

In this case, since it's a small community, I think that a single repo is fine. I think that it could become the standard project for all MDE-related languages.

@sunye
https://github.com/highlightjs/highlightjs-mde-languages
Repo created.


Typo in create-kuberetes-secrets folder name in samples

Hi Team,
There is typo in folder name create-kuberetes-secrets present  in samples (weblogic-kubernetes-operator/kubernetes/samples/scripts/create-kuberetes-secrets/).
Typo: 'n' is missing from kuberetes.

I've put out a candidate pull #2287 to fix this.   @rjeberhard FYI

@ashageetha Thank you for pointing out the issue. The fix has been reviewed and merged, and should show up in the next release (3.2).


Leap hardware switch models

Add ability to use different models for sim and planner to the leap hardware branch. also usefully exposes a bunch of parameters we might want to tweak in the task xml.

Sorry, chose wrong base branch.


Fix crashes when clearing the capture

Now the call tree views depend on the capture data, so the order of destruction matters.
Let's get it right.
Also this fixes a clang-tidy warning.
Fixes: #4808

Thanks!


Add parameter '--eval-sacrebleu-args' for translation task and re-fix #4689.

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[x] Did you read the contributor guideline?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes #4690 and #4689.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hi, @gwenzek, could you please help me review this PR?


How to freeze layers in backbone

Hello!
Can someone please explain how we can freeze the backbone or part of it? I see the parameter FREEZE_AT in the configs (like in the link below), but I did not manage to understand what values it can take. In some files it is 0, in others it is 2...
https://github.com/hustvl/SparseInst/blob/8e75c646233822ee751253c799eb58226eb5f577/configs/Base-SparseInst.yaml#L7
Thank you!

Hi @TeodorChiaburu, thanks for your interest in SparseInst.
Freezing some stages of the backbone is a trick for finetuning. Take ResNet for example, FREEZE_AT=1 will freeze the layers in the stem network and FREEZE_AT=2 will freeze the layers in the stem network and stage 1 network. While FREEZE_AT=0 means no freezing. You can check more details in detectron2/modeling/backbone/resnet.py:L457

This issue will be closed, you can open a new issue if you have other problems or reopen it. Thanks for your interest in SparseInst 😊 . If you find it useful in your work or research, could you give us a star 🌟 or help us recommend SparseInst to your friends.

Hi @TeodorChiaburu, thanks for your interest in SparseInst. Freezing some stages of the backbone is a trick for finetuning. Take ResNet for example, FREEZE_AT=1 will freeze the layers in the stem network and FREEZE_AT=2 will freeze the layers in the stem network and stage 1 network. While FREEZE_AT=0 means no freezing. You can check more details in detectron2/modeling/backbone/resnet.py:L457

Hello, If I want to freezezn the all of backbone, then I set FREEZE_AT=5, right?


Add a Timescale Connector [#1311]

❗ Contains a migration; verify downrev before merging
Purpose
Add a connector for Timescale and demonstrate that it can make the standard access and erasure requests.
Changes
Added a Timescale connector that is built entirely off of our existing PostgreSQL connector.  This has the same limitations of our current PostgreSQL connector in that we don't yet support complex types, among other things.
The code added here is largely boilerplate very similar to our postgres connector.  We should explore ways in the future to create factories that could populate similar information for different connectors. This was a lot of copy/paste/adjusting the relevant variables.  The main things that are different are a slightly different docker-compose and the introduction of the hypertable construct.
Checklist

[x] Update CHANGELOG.md file

[x] Merge in main so the most recent CHANGELOG.md file is being appended to
[x] Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
[x] Add a link to this PR at the end of the description with the PR number as the text. example: #1

[x] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
If docs updated (select one):

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Good unit test/integration test coverage
[x] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
Fixes #1311

Thanks very much for your comments @sanders41!


Problem with windows

I have the following issue:
Launching lib\main.dart on Windows in debug mode...
main.dart:1
CMake Error:
Error evaluating generator expression:
$<TARGET_FILE:modal_progress_hud_nsn_plugin>

No target "modal_progress_hud_nsn_plugin"
CMake Error:
Error evaluating generator expression:
$<TARGET_FILE:modal_progress_hud_nsn_plugin>

No target "modal_progress_hud_nsn_plugin"
CMake Error:
Error evaluating generator expression:
$<TARGET_FILE:modal_progress_hud_nsn_plugin>

No target "modal_progress_hud_nsn_plugin"
CMake Generate step failed.  Build files cannot be regenerated correctly.
this is flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 3.9.0-11.0.pre.8, on Microsoft Windows [Versione 10.0.19044.2130], locale it-IT)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.4)
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.76.2)
[√] Connected device (4 available)
[√] Network resources
thank you

https://github.com/kphanipavan/modal_progress_hud_nsn/issues/6#issuecomment-1386934939
Try above

Closing due to inactivity, reopen if required


Manually define JupyterServerInstallation execOptions field in notebook unit tests.

Porting to release branch.

Closing this, since it will get ported over with today's batch of changes.


Synonym request for hand picking process & definition query

Please can "hand roguing" be added as a synonym for hand picking process
Also the definition states the process to be

A mechanical pest removal process in which unwanted organisms are removed by hands.

I think this would make more sense if "manual" replaced "mechanical".

will be available in the next release


Cover Image Issues

Hi,
I am trying to update a cover image but every time I do I seem to add the wrong size or it is a bug. Can someone check this and tell me what the correct size is in pixels so I can get rid of the attached error message.

Bug Description

Expected Behaviour

Steps to Reproduce

Screenshots

Additional Context

Plugin Version:
WordPress Version:
Operating System:
Browser:

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Heya :)
The poster should be at least 640x853px in size. Could also be 1440x1920px or so, as long as it has a 3:4 aspect ratio.
If that still doesn't work, please open a new thread in the support forums and provide the links to your story and the image you're trying to add, so that we can better assist you.

Having the same issue. Uploaded an image resized in photoshop to 3:4 ratio and it's wider that the Google stories appears. My image is exactly 640 px x 853 px and it still says it's the wrong ratio. It appears the ration should be more 1:2?

You are correct that size does not work. I managed to fix mine by uploading an image 1440 x 1920.

@leem2209 Heya, thanks for letting us know. We will be fixing this in #5588.
Closing for now since the original question has been answered.

The error comes up everytime I click the T for text options.

I then get the following error message

@swissspidy
When I try to save an existing story it says failed to update?? Does the below mean anything
Uncaught (in promise) DOMException: Quota exceeded.
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 3.3.2
/wp-admin/post.php?action=edit&post=26193#page=%25226f3e4dc8-e6fa-4a33-b4cc-a91deb4eb06e%2522:1 [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq) <input type="hidden" id="_wpnonce" name="_wpnonce" value="ce920d9e9a"> <input type="hidden" id="_wpnonce" name="_wpnonce" value="c2d47ad995">
query-monitor.js:366 PHP Errors in Ajax Response
query-monitor.js:379 Object
(anonymous) @ query-monitor.js:379
?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
g @ ?v=2.0:6
/wp-json/web-stories/v1/web-story/26193/?_locale=user:1 Failed to load resource: the server responded with a status of 403 ()
?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403

@DanielCryptoK Heya, that could be because of lots of things. There are quite a few errors in that log, reported by Jetpack, Query Monitor, and Web Stories.

query-monitor.js:366 PHP Errors in Ajax Response
Failed to load resource: the server responded with a status of 403

In your browser's dev tools (press F12 to open), you should see a few 403 requests in the Network tab. Check the response tab for each request to see some detailed errors.
Also, I highly recommend installing the Health Check & Troubleshooting plugin and follow the instructions at https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/#troubleshooting-with-a-specific-plugin to troubleshoot the Web Stories plugin. This will simulate a scenario with all other plugins disabled except for Web Stories. If it works fine in that scenario, we'll know there's a conflict. Note: this does not affect your users or anything, and does not actually disable those plugins. It's safe to use.


tests: add tests for timestamp with timezone

What problem does this PR solve?
Issue Number: ref #6233
Problem Summary:
What is changed and how it works?
Before, there is a bug which cause those tests failed, so in https://github.com/pingcap/tiflash/pull/8925 we remove those tests. Now https://github.com/pingcap/tidb/pull/52502 fixed, we can add those tests back.
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

Still not using the latest tidb image

/hold

/unhold

/run-integration-test


Debug doesn't print anything

When I run the node without debug logging I get the usual logs.
 (base) ➜  protocol git:(captcha_solution_key) ✗ substrate-contracts-node --dev --tmp

2021-10-29 20:49:05 Running in --dev mode, RPC CORS has been disabled.
2021-10-29 20:49:05 Substrate Contracts Node
2021-10-29 20:49:05 ✌  version 0.1.0-3f63edf-x86_64-linux-gnu
2021-10-29 20:49:05 ❤  by Parity Technologies<EMAIL_ADDRESS>2021-2021
2021-10-29 20:49:05 📋 Chain specification: Development
2021-10-29 20:49:05 🏷 Node name: late-mother-4360

When I run with this:
(base) ➜  protocol git:(captcha_solution_key) ✗ substrate-contracts-node --dev --tmp -lerror,runtime::contracts=debug
Nothing is printed even though I am making RPC calls to the contract.
Version is substrate-contracts-node 0.1.0-3f63edf-x86_64-linux-gnu
EDIT
I am building my contract using --release flag as I otherwise get CodeTooLarge when instantiating it. Presumably, this will silence the debug messages as per the docs?
I need to debug the contract as I'm getting a ContractTrapped when calling it from polkadot-js. The ink unit tests don't highlight any issues and the contract balance is 10.0000 kUnit.
Ink version is 3.0.0-rc6.

The solution to the ContractTrapped error was to update all my dependencies.
e.g.
    "@polkadot/api": "^6.5.2",
    "@polkadot/api-contract": "^6.5.2",
    "@polkadot/types": "^6.5.2",
    "@polkadot/util": "^7.6.1"

So many fast moving parts in this stuff!
It would still be good to understand why the node outputs nothing.

@forgetso You're right that --release silences the output. Can you identify why your contract is so big?
We observe that this typically happens because some third-party crate is included in the Cargo.toml and subsequently bloats the size up.

Hi @cmichi , I'm not sure what that would be. The contract toml is the same as most of the examples in the ink repo. You can view it here.

@forgetso Your contract is making heavy use of ink!'s HashMap ‒ this is totally fine, but that data structure takes a lot of space and this altogether results in the large contract size. We are currently working on a space-efficient data structure Mapping, which will improve this by a lot (this is the issue for it, we will soon merge it).
Until then, in order to debug your contract, you could comment out the events ‒ we know that the event logic takes up a lot of space and my hunch is that this could bring your code size sufficiently down.

Thanks for the info. I'll look into changing to Mapping when it's released. If I need to debug before then I'll try silencing the events.

Hi, I'm reopening this as I now have a contract built in debug mode and I still cannot get the contracts node to print anything out.
Is it normal for nothing to be printed by the node when run with this command or should it print details of blocks being produced?
./target/debug/substrate-contracts-node --dev --tmp -lerror,runtime::contracts=debug
I have a debug print in my constructor but it still doesn't print anything.
I'm able to deploy the contract so I'm assuming the constructor function must run ok.
Thanks!

I have a debug print in my constructor but it still doesn't print anything.

@forgetso Sorry for the late reply. This is an unfortunate bug of the UI's:

Canvas UI: https://github.com/paritytech/canvas-ui/issues/108
polkadot-js: https://github.com/polkadot-js/apps/issues/5338
Substrate Contracts Explorer: https://github.com/paritytech/substrate-contracts-explorer/issues/132

So tl;dr: ink_env::debug_println! currently only shows up on the console if it appears in an #[ink(message)].
Alternatives for you would be that you either execute the RPC call manually or e.g. save the debug information from your constructor to your contract's storage and then create an ink! message show_debug_info() which prints it.

Thanks @cmichi. Is it also true that debug only prints on read and not execute? I only seem to receive debug messages when reading the contract functions.

Thanks @cmichi. Is it also true that debug only prints on read and not execute? I only seem to receive debug messages when reading the contract functions.

Sorry, only seeing this now, your question somehow drowned in a sea of notifications after being back from vacation.
What do you mean with read and execute? I would guess that with read you mean opening the UI dialog for the method, without actually submitting a transaction. In this case the UI makes an RPC in the background to dry-run the transaction, this will make debug messages appear on the terminal. This dry-run is used to determine, among other things, what the UI displays as "max gas" value. If you actually submit a transaction no debug messages will be printed.
Currently this printing of debug messages only works for ink! messages, not for constructors. This is only a UI limitation though, which will be fixed as soon as constructors are dry-run as well (https://github.com/polkadot-js/apps/issues/5338, https://github.com/paritytech/substrate-contracts-explorer/issues/132).
Did you manage to get debug output on the terminal by now?

No problem about the delay. Hope you had a nice holiday!
By read I mean queries and not transactions. So yes I was referring to the UI dialog. For whatever reason, I was only getting debug printed out when running queries and not transactions (all in messages). Recently, I've started to get debug for both so it's magically resolved itself :)
When debugging this I started using substrate full node and changed the code so that the retval was printed out via debug
			if let Ok(retval) = &output.result {
				log::debug!(
					target: "runtime::contracts",
					"Retval: {:?}",
					retval,
				);
				if retval.did_revert() {
					output.result = Err(<Error<T>>::ContractReverted.into());
				}
			}

This gave me
The output is flags: REVERT, data: Bytes([1, 12])
And someone helpfully pointed out that this is the 13th error in your Error enum of the Result
I know this is now off-topic, but is there any plan to propagate these errors through to the API as part of ContractReverted or is it not possible to read the Error enum inside the wasm?


node-gyp 3.8.0 and update doesn't work

Description:
Here is my workflow
jobs:
  build:
    runs-on: windows-latest

    steps:
      - uses: actions/checkout@v2
      - name: Setup Node
        uses: actions/setup-node@v2
        with:
          node-version: '16.13.1'

      - name: Configure MSVS
        run: npm config set msvs_version 2017

      - name: setup node-gyp
        run: npm install -g node-gyp@latest

      - name: Install Dependencies
        run: npm install

      - name: Build Electron App
        run: npm make

the error:
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64

current version of node-gyp is 8.4.1
Action version:
Specify the action version
Platform:

[ ] Ubuntu
[ ] macOS
[x] Windows

Runner type:

[x] Hosted
[ ] Self-hosted

Tools version:

Repro steps:
A description with steps to reproduce the issue. If you have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
Actual behavior:
A description of what is actually happening.

found the problem, inside one of my package-lock.json files, there was node-gyp 3.8.0.
locally my build uses my global node-gyp, in github actions I'm not able to use the global, so I added node-gyp to my project even being used only by a dependency.


Update CompactCommittee List size

Is there's a reason CompactCommittee is using MAX_VALIDATORS_PER_COMMITTEE for the list size and not LIGHT_CLIENT_COMMITTEE_SIZE?
get_light_client_committee will always cap it at LIGHT_CLIENT_COMMITTEE_SIZE
I also think Vector makes sense here. Opening this PR for suggestions

Although we currently only use CompactCommittees for light client, the idea is that it is a succinct representation of any committee (beacon committee, shard committee, light client committee) so the max list length is that of the committee size

Although we currently only use CompactCommittees for light client, the idea is that it is a succinct representation of any committee (beacon committee, shard committee, light client committee) so the max list length is that of the committee size

Got it. Thanks for the explanation!


User is not able to move the account details buttons left/right on the desktop.

Describe the bug
User is not able to move the account details buttons left/right on the desktop.
To Reproduce
Steps to reproduce the behavior:

Go to Account details page
Try to swipe buttons
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser chrome,
Version 126

Additional context
Add any other context about the problem here.

I'm still seeing only 3 buttons on mainnet:

and 4 buttons on testnet:

It requires drag and scroll gesture.

It requires drag and scroll gesture.

@smaroudasunicorn  correct, I've tried, but it's not working. This issue is not reproducible for me. @peronczyk  asked me to open this. Initial attached screen looks like mobile version for me.
There is no more buttons that I see on the screen using web wallet:  3 buttons on mainnet and 4 buttons on testnet. As far as I remember the Buy button was hidden long time ago... @onvisions correct me if I'm wrong.
https://github.com/user-attachments/assets/d65ed873-dcc5-4df1-b6cb-268f30e93f45
I can see 5 buttons only on ios/android app on testnet and there is no hint that they should be scrollable and 5th button is hidden from the user, probably this should be improved somehow:
https://github.com/user-attachments/assets/b094d422-fab5-4f72-bc4c-1fdc9ac39bbc

LGTM, tested on test version.


[FEATURE] Results returned from Hybrid Search should respect sorting applied

Is your feature request related to a problem?
Hybrid Search always returns results in the descending order of score. Applying sorting as below has no affect on the results
{
  "query": {
    "hybrid":{
      "queries": [
        <text query>,
        <kNN query>
      ]
    }
  }
  "sort": [
    {
      "title.keyword": {
        "order": "desc"
      }
    }
  ]
}

What solution would you like?
Sorting should work as it does with other boolean queries. Results matching the Hybrid query should later be sorted on the basis of sorting applied.

Moving this to neural search repo, as the hybrid query clause is in Neural Search repo.


Update Patch SM GPIO to be consistent with modern API

updated patchsm pin objects to use newer Pin object instead of old dsy_gpio_pin
This'll also update the gate_out objects to be the new style GPIO.
Being a "breaking change" this will update the major version of libDaisy when merged, but migration should be simple:

For any existing objects that still take dsy_gpio_pin instead of daisy::Pin, there is a built-in operator that will work
For actual GPIO, the new pins can still initialize old GPIO, so a new object dsy_gpio gateout could still be initialized with the new Pin object.

And any existing gate output work on the Patch SM would change from:
dsy_gpio_write(&hw.gate_out_1,true);
dsy_gpio_write(&hw.gate_out_1,false);
dsy_gpio_toggle(&hw.gatte_out1);

to:
hw.gate_out_1.Write(true);
hw.gate_out_1.Write(false);
hw.gate_out_1.Toggle();

To hold backwards compatibility, and avoid the breaking change we could add new GPIO objects and leave the old ones in place.
However, they'd have to be named differently, which I believe would lead to more confusion than anything else.
For now I'm leaving the gate objects as old dsy_gpio and we can choose to make that change now or later.z

This is now a duplicate of #581. Since everything here is taken care of there, and tested. I'll close this.


Add security bundle

Towards v1.25 https://github.com/giantswarm/roadmap/issues/3144
We default the security bundle version to 0.21.0 with PSPs, Kyverno and the policies in audit mode.
Context: https://gigantic.slack.com/archives/C01BYMF6RN0/p1706272237014029?thread_ts=1706197935.785989&cid=C01BYMF6RN0

This PR:

adds/changes/removes etc

Testing
Description on how default-apps-cloud-director can be tested.

[ ] fresh install works
[ ] upgrade from previous version works

Checklist

[x] Update changelog in CHANGELOG.md, check all commits are in it before release (renovate included).
[x] Make sure values.yaml and values.schema.json are valid.

Waiting for Gerbil to resuscitate to run the tests.

Skipping CI tests as disabled and tested manually.


Fix kubelet config flow for all providers

Issue #, if available:
Description of changes:
Fix kubelet config flow for all providers
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.20

/approve


Consider adding the poly_add, poly_sub and other polynomial related functions as methods onto PolyCoeff

This has been taken from Benedikt Wagner's document.
This may make them more convenient to use.
Note: This would require making PolyCoeff a struct and not a type alias.
Related to #246

For this, I'll leave as is since these methods are essentially only used for testing and implementing a naive version of the protocol, so not much is gained in the code that actually gets called.
Wouldn't be against a PR to make the change though


Return valid filename instead of undefined

Previously, the filename was returning undefined, which resulted in no
image preview after upload, and an undefined fileUrl being
supplied to onFinish.
This fixes the issue by supplying the actual file name to
the fileUrl constructor.
Fixes: https://github.com/founderlab/react-dropzone-s3-uploader/issues/33

Looks like react-s3-uploader has been updated to fix this prob. Appreciate the pr nonetheless!


updated favicon

Since we already have the MLH-PREP thing in the navbar so thought of updating the favicon and changing the name of our application!!! If any one else has a better suggestion feel free to comment your views

conflicts @shamvi-05

conflicts @shamvi-05

solved


Improve precision when typechecking ==

Category
Cedar validation features
Describe the feature you'd like to request
The validator is sometimes able to decide that an == expression will always evaluate to true of false, but we are fairly conservative in this to avoid possible soundness bugs. We should expand the range of expressions this applies to. For example, 1 == "2" is an equality between different primitive types, so it will always be false.
Describe the solution you'd like
n/a
Describe alternatives you've considered
n/a
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Implementing this in a backwards compatible manner requires #539

Updating this issue with some more rationale. The status quo is:

Expression User::"alice" == Action::"foo" has type False (you can compare two entities of different types)
Expression [1] == 1 is a type error (you cannot compare two non-entity values of different types), not type False

The reason for (1) is to handle the cross-product correctly (e.g., when you could have two different principal types you have to allow expressions like User::"bob" == Admin::"boss"), and the reason for (2) is to avoid the unsoundness of assuming two values of differing set types must be unequal (since the empty set [] can be given many possible Set<…> types).
To users, this may appear a little strange. It might appear less strange if we adjusted the behavior to be that e1 == e2 has

Type False when e1 and e2 have two different types and they are not both Set<…> types
Type Bool when they are both the same Set<T> type
Type-incorrect otherwise

This is more lenient and potentially a little easier to explain. A third option might be even better, but unfortunately will not work with analysis:

Type False when e1 and e2 have two different types and they are not both Set<…> types
Type Bool otherwise

The reason it won't work is that logical comparisons are strongly typed, i.e., both arguments must have the same type (including the same type for set elements).

I think there is a way to support the third option in the logical encoding too, at the cost of introducing extra disjunctions into the encoding.  So, let's keep the third option on the table until we have data showing that this extra cost isn't acceptable.

I think there is a way to support the third option in the logical encoding too. So, let's keep the third option on the table for now. We have to think some about the encoding idea to make sure it actually works.

On further reflection, the approach I had in mind  doesn’t work in general.  It will work for simple cases, for examples a == b where the type of a is Set<String> and type of b is Set<Decimal>.  In these situations, the encoding problem can be solved because there is only one way in which a and b can be equal:  when they are both empty.
But with nested types, there are infinitely many ways for them to be equal, which means that we can’t enumerate them all.  To see why, consider the situation where a has type Set<{ name: String, stuff : Set<Bool>}> and b has type Set<{ name: String, stuff : Set<Int>}>.  Then a and b are equal if they are both empty, or they both consist of the same records of the form { name: …, stuff : []}.  There are infinitely many such possibilities (because the String type is unbounded).
So, the third option is infeasible to encode.


Add scheb 3.2 compatibility

I'm still working on it, but you can see the progress here.
Fixes #21

Would you publish a release? I'd like to merge scheb/two-factor-bundle#122

I think we're waiting for #26 (still Work In Progress, haven't had that much time last week), but since this bundle hasn't got a stable version yet in the first place, I'm OK with a new 0.x release.
ping @darookee

I just published 0.6.0.

This requires configuring scheb/two-factor-bundle, doesn't it? Just updated my application and the u2f login has gone away. Scheb before v3 doesn't need a configuration. We should add a hint in the readme, shouldn't we?


SSR: hydration issues on Next.js

FlatList Version
: 1.5.3
Describe the bug
When <FlatList /> is used in a page, the server-side rendered version and the client version cannot be reconciliated, and hydration fails. Read more about hydration error here: https://nextjs.org/docs/messages/react-hydration-error
Steps to reproduce the behavior
: Add <FlatList /> component on a page. list prop can even be an empty array. E.g:
<FlatList
  list={[]}
  renderItem={() => (
    <div />
  )}
/>

Expected behavior
: Hydration should succeed and Next.js should not throw an error
Desktop (please complete the following information):

OS: macOS Ventura (13.0)
Browser: Safari
Version: 16.1

Screenshots

I can't replicate this with a plain next(version 13.0.4) app

I was able to render just fine

Please check your setup or share more info.


StreamingResponse leads to empty request content for client

I have an api in which the server sends a stream of data to the client. On the server-side, the stream object is populated. I can verify this by writing to a file on the server before sending. But when the client receives the stream and tries to write it to memory, it always results in an empty file. Here is my code
TL;DR: Stream is not empty when sent from api, but is empty when client recieves and tries to write
Server-side - sending io.BytesIO object
from io import BytesIO
from fastapi import FastAPI
app = FastAPI()

# capture image and store in io.BytesIO stream
def pic_to_stream(self):
        io = BytesIO()
        self.c.capture(io, 'jpeg')  # populate stream with image
        return io

# api endpoint to send stream
@app.get('/dropcam/stream')
def dc_stream():
    stream, ext = cam.pic_to_stream()
    # with open('example.ext', 'wb') as f:
    #     f.write(stream.getbuffer())  # this results in non-empty file on server
    return StreamingResponse(stream, media_type=ext)

Client-side - receiving io.BytesIO object and trying to write
import requests

def recieve_stream():
    url = 'http://abc.x.y.z/dropcam/stream'
    local_filename = 'client/foo_stream.jpeg'
    with requests.get(url, stream=True) as r:
        with open(local_filename, 'wb') as f:
            f.write(r.content) # this results in an empty file on client

I'm sorry if this is basic. I've been working on this for a while with no luck. Does anyone have any ideas? I have looked at these links and more. Thank you!

You need to rewind the file using .tell(0)
Though why not just return the file using FileResponse?

Thank you so much! I ended up using .seek(0) on the io object before returning it in StreamingResponse.
The reason I'm using StreamingResponse is that I am working on a raspberry pi and wanted to save disk space and r/w time.

Ah yep sorry, wrong method 😅

Thanks for the help here @Mause ! :clap: :bow:
Thanks for reporting back and closing the issue @jackhwolf  :+1:


Seems to be an install issue.

I have this installed on a laptop in my house. It works great. I want it installed on my desktop as well. I get this error when trying to install:
Access violation at address 757767C0 in module ucrtbase.dll. Read of address 02CD00AC
Not sure how to fix it. Would love to have it running on both machines.

Sorry for the late response. This seems to be a problem with some Windows component. I do not directly access the ucrtbase.dll and am guessing that this is done by some library I am using. Therefore I can't really trace the error.
Nonetheless I have found some suggestions to fix the error: https://www.partitionwizard.com/disk-recovery/ucrtbase-dll.html
The easiest of them seems to be reinstalling the faulty application. So before trying out anything else, I would ask you to try downloading the file again and reinstalling it.
If that doesn't work, I will try to reproduce the error. But I can't really promise anything there as this seems to be a pretty common error for a lot of applications (although I haven't seen it yet). It will probably be difficult to find the correct cause and even if I find it, it will probably be caused by some component, I have no real control over.
The good news is that I am currently working on redesigning pretty much everything which should also fix errors like this.


404 page

No need for my review; now that claudiatu has write access, her approval counts toward the requirement of getting two.


documentation updates around custom sharp image and deployment

@mbklein I had issues getting things working. I've made documentation updates where I can.

custom sharp instructions were out of date
the aws-sdk is very large (80MB?!?) and is already in the lambda so we don't need to include it as a dependency
deploy instructions were not quite right yet.

Manually merged into #114


can we delete team label?

System Info
nothing
Details
It appears that the team label is not useful
Reproduce link
No response
Reproduce Steps
nothing

it is useful to filter issue


For performance maybe only update the lists that have changed

Issue opened with imdone.io from code comment on 9f751f1
TODO  For performance maybe only update the lists that have changed id:35

https://github.com/imdone/imdone-atom/blob/9f751f14f022fed15d90b360e4f50f43250dcb82/lib/views/imdone-atom-view.coffee#L176-L181

Issue closed with imdone.io by removing a comment.

https://github.com/imdone/imdone-atom/blob/b7251b7ccf00e69c484ae85d9668078cedb7152e/lib/views/imdone-atom-view.coffee#L177-L182


How a allocate two tempory memory in the Operator Cpp

Hi, all people ,
I want two tempory cpu memory in the Operator, but when I use
 std::vector<ResourceRequest> BackwardResource(
     const std::vector<TShape> &in_shape) const override {
   return {ResourceRequest::kTempSpace,ResourceRequest::kTempSpace};
 }

but when I use ctx.requested[0].get_host_space_typed and ctx.requested[0].get_host_space_typed

is seem the same memory !!!!!
How I solve it !!!? Thank you !!

but when I use ctx.requested[0].get_host_space_typed and ctx.requested[1].get_host_space_typed

Based on your second post, it seems that you have found out the correct answer, right? The same Resource instance reuses the allocated memory space if the requested size is not bigger.

No，when allocating the memory , the two tempspace point to the same address!

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.
For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.


Why should we use KEDA if we are already use Azure Functions in Azure?

Hello!
I find KEDA to be a very interesting, but can you explain to me why should we use KEDA if we are already use Azure Functions in Azure?
Thanks in advance!

Because you might want to move your application to Kubernetes and run it alongside your other apps inside the cluster.
It depends on how much control and alignment you want to have.

@David-Stark  -  My Two Cents - It's all about your workload. I firmly believe that the Azure Function Service should be the first place you go to run Azure Functions on Azure but if you run into a use case where you are running into blockers due to limitations of the service then you now have the flexibility of running that workload in an environment that gives you more knobs and dials (e.g. your workload would benefit from GPU optimized VMs). Key here is if you require it.  So essentially you still want the productivity gain you get from the Azure Functions framework but you need more control with the environment and with KEDA you now get that flexibility alongside all the potentially scaling and cost benefits of cloud native Serverless (scale to zero, etc).

Agreed!

Thanks for the fast responses!
I think I understand now the idea with KEDA. Thanks very much =)

Going to close this but in addition to these here's the big 4 we talk about:

Want to run functions on-premises (potentially in something like an 'intelligent edge' architecture)
Want to run functions alongside other Kubernetes apps (maybe in a restricted network, app mesh, custom environment, etc.)
Want to run functions outside of Azure (no vendor lockin)
Specific need for more control (GPU enabled compute clusters, more knobs and such)

This should likely pop up in the FAQ assigned to @anirudhgarg  though #170


uv_async_send() inconsistency

Not sure if this has been brought up before but calling uv_async_send() after having closed the uv_async_t handle:

Succeeds on unices.
Asserts on Windows: https://github.com/libuv/libuv/blob/v1.x/src/win/async.c#L76.

I guess this inconsistency should be fixed but, does checking handle->flags in uv_async_send() break the thread-safety of the method?

Yes, that should require C11 atomics to be a valid assert

But using atomics for that would require to also use atomics for every operation that modifies handle->flags, right?

Yes. The executed code should be the same, but the compiler annotations could be very annoying to add. It is perhaps better to move this assert to the handlers for close_cb and async_cb, so that it is checked synchronously instead.

I wrote a clang pass that can print out the location of every place that would need to be thus annotated (https://github.com/JuliaLang/julia/blob/master/src/clangsa/ImplicitAtomics.cpp), and otherwise fail the build, if we do eventually decide we want to go that path.

@vtjnash Now that #3683 has landed, can this issue be closed?

It is not related to that issue. It was mostly fixed in v2 many years ago, so I haven't cared about it much. But it may need some bits of https://github.com/libuv/libuv/pull/3879 ported from unix to v2 windows to complete the fix.


A few questions

Hi, I have a few questions about this project, but first I want to say thank you because this library is really great, and I think you understood the problem well.
My first question is : how to integrate with react-router ? As the history location is in the state I think it should be easy. Fragments are very cool but my coworkers are used to React's router. I could use redux-router package but I think it's not as easy to use as redux-little-router
My second question is how to push a location on the history ? I did not find anything about that in the docs. Do you export an action creator ?
My use case is when you load a certain page, I use a custom middleware to listen for actions and trigger other actions with variables read from the URL. Do you think it's a bad pattern ? If yes, how to trigger side effects on URL changes ? The react-redux-router team suggest to do this in the react components, but I think it's wrong to use the view layer to do that. What do you think ?
Thanks.

Hi @niahoo ,
I know it's been forever since you posted this, I'm sorry for just now answering and I understand if it's not relevant anymore 😞
For your first question, I imagine redux-little-router and react-router can't really integrate, since they both control location state. However, react-router@v4 takes a similar approach to our React bindings, so maybe you can convince your coworkers after all 😉
To push a location on to the history, you can use this action creator:
dispatch(push('/some/thing/here')

There's more details in the action creator section in the readme!

Hi, thank you, I can't remember what was my problem right now but I may come back to that in a few. It's good to see you are around here !
Cheers


Toolchain for Windows produces semi-working code

Toolchain for Windows produces code that works only partially and crashes in some modes.
System: Windows 7 64 bit, tested on 2 instances
Toolchain installed: 03.03.2014
Code cloned from: https://github.com/DrTon/Firmware/tree/follower
FMU: Pixhawk 2.4 from 3DR
Binary file size: 869KB
Quad copter tuned and set-up to fly well in Manual, Seatbelt and Easy modes.
When I switch to Follow mode - the fmu freezes, motors are shut down and copter falls down. I receive the same behaviour in jMavSim HIL as well as in real life.
If the same code is compiled on Mac OS it results in a binary of 910KB and Follow mode works well in real life and HIL. So I suspect some differencies in toolchain or compiler settings.

Is eclipse really working for someone ? I mean when I am opening /src/examples and if I open any 'main' file, it starts showing errors.


Can't get the convar

It seems that the GetConvar function doesn't work properly, it always take me the default value and the database "fivem".
In order to get it to work I changed the mysql-async.js file.

set it before start mysql-async


Adding the cart system.

Feature Request ✨
Currently, we are showing list of hard coded cart items. I will work to make cart show items, dynamically.
User will click on add to cart button on an item, and that item will be stored in, on device storage and will be shown in the cart screen.
I would like to work on it under GSSOC 21.

Is this issue open?

Yes @keyurgit45

The cart system is still hardcoded . I would like to work on this issue . Also the data should be stored in firebase collection right ?

The cart data can be stored locally as it'll be user-specific, but after successful payment, it'll be stored in firebase. @Atharv-Joshi

is this issue open ?

@himanshusharma89 , I would like to work on this issue. pls. assign it to me.


Convert to NPM package

Hey @makermelissa,
As we talked about earlier, here is my code to convert this repository to a JavaScript package. It is set up to publish to NPM as adafruit-webserial-esptool.
It can be used like this:
import { connect } from "adafruit-webserial-esptool";

const esploader = await connect(console);
const espStub = await esploader.runStub();

const firmwareFiles: [string, number, number][] = [
  ["bootloader.bin", 0x1000, 0],
  ["partitions.bin", 0x8000, 1],
  ["ota.bin", 0xe000, 2],
  ["firmware.bin", 0x10000, 3],
];

for (const [path, offset, part] of firmwareFiles) {
  const resp = await fetch(`./firmware_build/${path}`);
  await espStub.flashData(
    await resp.arrayBuffer(),
    (percentage) => console.log(`Flash progress ${path}: ${percentage}%`),
    offset,
    part
  );
}

await esploader.softReset();
await esploader.disconnect();

The JavaScript package is written in TypeScript. It is published as both unbundled JavaScript files and bundled JavaScript to be directly consumed in the browser.
index.html has been updated to consume the bundled variant via unpkg.com (CDN for NPM). Note that this won't work until version 1.0.0 has been published to NPM. During development it will load the local variant.
I've added a GitHub Actions workflows to automatically publish new versions when you tag a new release. This will require adding a new repository secret NPM_TOKEN.
To try it out locally, run script/develop.
Happy to jump on a call to explain all the ins and outs of the changes.

[x]
[ ] - [import { connect } from "adafruit-webserial-esptool";

const esploader = await connect(console);
const espStub = await esploader.runStub();
const firmwareFiles: [string, number, number][] = [
["bootloader.bin", 0x1000, 0],
["partitions.bin", 0x8000, 1],
["ota.bin", 0xe000, 2],
["firmware.bin", 0x10000, 3],
];
for (const [path, offset, part] of firmwareFiles) {
const resp = await fetch(./firmware_build/${path});
await espStub.flashData(
await resp.arrayBuffer(),
(percentage) => console.log(Flash progress ${path}: ${percentage}%),
offset
party
);
}
await esploader.hardreset();
await esploader.update();


Cannot use hammer or hoe when mod active

I've found that when this mod is active I cannot place building items with the hammer nor use the hoe. After some trial and error i discovered it was this mod by itself causing the issue. I ran the game with only this mod active, and then with all my other mods active but not this one. Even running this mod by itself the issue still persisted.
So for a reason I lack the technical skill to discern, this mod is causing a glitch with the building hammer and the hoe, effectively preventing their use. Strangely, I can still destroy built objects with the hammer, but cannot place them or repair them.

Update:  this version on Thunderstore works w no issue: https://valheim.thunderstore.io/package/k942/MassFarming/1.6.0/
This is the one that caused the  problem: https://valheim.thunderstore.io/package/Ruploads/MassFarming/


Update fastcrypto pointer and bls12381 scalar length path

Description
Update the fastcrypto version. This includes adding Playtron and Threedos as OIDC providers.
The path to the BLS12381 scalar size has been updated in fastcrypto and will be updated in here also. The value is unchanged.
Test plan
Unit tests.

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol: Add Playtron and Threedos as OIDC providers.
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

i unchecked the protocol change box since its not updating protocol version, otherwise lgtm.


增加 zls 设置调优的说明

https://github.com/zigcc/forum/issues/133

closed by https://github.com/zigcc/zig-course/commit/5769046f05acd28904bd8697a433f589587b7e05


Addition of Deployment of Database version of FieldCampaigner to WIKI

Here is the detailed procedure to deploy the database version of fieldcampaigner on your system Manually, the docker commands will be soon added.
https://docs.google.com/document/d/1icK_5T4PnvOJ0njsWJIoQ7_zx0rnRWoEp8FEn1JBT8w/edit?usp=sharing

@timlinux @cchristelis @smit1678 Please have look.


DatabaseWrapper.check_constraints shouldn't do anything

hey @shimizukawa, another fix to add :)

Original backtrace:
Traceback (most recent call last):
  File "./manage.py", line 32, in <module>
    execute_from_command_line(sys.argv)
  File "...django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "...django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "...django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "...django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "...django/core/management/commands/migrate.py", line 179, in handle
    created_models = self.sync_apps(connection, executor.loader.unmigrated_apps)
  File "...django/core/management/commands/migrate.py", line 365, in sync_apps
    hide_empty=True,
  File "...django/core/management/__init__.py", line 120, in call_command
    return command.execute(*args, **defaults)
  File "...django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "...django/core/management/commands/loaddata.py", line 60, in handle
    self.loaddata(fixture_labels)
  File "...django/core/management/commands/loaddata.py", line 96, in loaddata
    connection.check_constraints(table_names=table_names)
  File "...django/db/backends/postgresql_psycopg2/base.py", line 225, in check_constraints
    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')
  File "...django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "...django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "...django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "...django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
django.db.utils.NotSupportedError: Problem installing fixtures: SQL command "SET CONSTRAINTS ALL IMMEDIATE" not supported.

gentle ping @shimizukawa ?

Sorry for my late reply. I'll take a look in next few days.

no worries! everyone is busy ;)

hey @shimizukawa do you think you could include those changes?

Now I'm going to merge... sorry for my late reply.
Postgresql set constraints: http://www.postgresql.org/docs/current/static/sql-set-constraints.html
Redshift doesn't provide set constraints http://docs.aws.amazon.com/redshift/latest/dg/c_SQL_commands.html


I just wanna run isValid

Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
1
Platforms

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Web
[ ] Windows

Flutter doctor

Minimal code example

Current Behavior

Expected Behavior

Steps To Reproduce

Aditional information

I just want to get isValid with out errorText, PLEASE!!!!

I recently ran into the same issue, and created a pull request where I removed the errorText check from isValid. I'll link this issue to the PR


Greenify

[UPDATE] Ping on this one, let's get the master branch green before doing anything else.
@chanian @jakecadams @derrickstaten
Fixed the testing redness by removing tests for old browsers firefox 35 and mobile safari on iOS 7.0.
Minor: also added deviceName according to the guidelines from https://docs.saucelabs.com/reference/platforms-configurator/#/

This looks okay to me and passes tests. I think @jakecadams should give it a quick look as he's far more web savvy than me

:+1:


iptables rules are dynamically updated based on service events

fix issue #97
In the past, iptables rules were refreshed every 5 minutes, which would cause iptables to fail to update in time. This pr has solved the problem.

May be you need to describe how you fix the issue in pr description or commit message

@khalid-jobs  done

It's better not to include the pr or issue number in commit message.

@fisherxu  OK


Improve history slider

The history slider on the DB tab should do a better job of rendering so that the UI looks correct.  Leveraging the history against the real root render might be possible, and would be desirable...a better general history API into Fulcro itself would be helpful, perhaps.  The current history support in Fulcro could probably be leverage to make this more consistent and sane (e.g. marking history steps with a unique ID that could be shared with the copy of state in Inspect, along with a goto function that Inspect could use to control the history "cursor")

Fixed in 3


⚠ Bofrost.fr has degraded performance

In 7ab19f3, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1664 ms

Resolved: Bofrost.fr performance has improved in 504d2c2.


RangeError in /clan/zhong-hua-jing-ying-hui-9ylp0lpp

Error in ClashLeaders
RangeError in /clan/zhong-hua-jing-ying-hui-9ylp0lpp
Maximum call stack size exceeded
View on Bugsnag
Stacktrace
webpack:///node_modules/vue/dist/vue.esm.js:890 - St.walk

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
RangeError in /clan/zhong-hua-jing-ying-hui-9ylp0lpp


Use a docs folder to make the HTML work more cleanly on github

Alternative? Add a .nojekyll and index.html to redirect to the pyweb.html page.

I've done some preliminary work on this, and have also looked into combining it with Github actions.  There are still a few details to work out, but the idea is:

user changes any file with an extension *.w
pushing the change to the master branch triggers a CI test-suite under various flavours of python3
if all tests pass, the newly weaved and tangled files are pushed back to a staging branch, and a pull-request is created to pull the staged files into the master branch
when the pull-request is closed, github pages publishes the newly-built site

Some outstanding issues are associated with this workflow: see https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869

Another small potential problem is that py-web-tool depends on an installed previous release of py-web-tool. The circularity leads to exciting development problems when there's a bug not found through unit testing. You use v1 to build v2. It seems to work. You try to use v2 to build v3 and the bug surfaces.
Now you have to rollback your development environment's installed tools. It takes some care to be able to reverse any changes, and I haven't worked out a good approach yet. (I wrote many versions pre-git, and the workflow from those days is irrelevant, but informative in the way things could go wrong.)

Interesting.  I had been thinking of it from the point of view of generating the web page but you are right... it also generates the nth-next version of itself (where n>=0).

An automated CI/CD, triggered by the commit to master is a potentially delightful capability as long as we have a process to revert to the previous build. Maybe an extra copy of the .py file tagged with the short version of the commit hash? (e.g., py-web-tool-15d1bc8) I suspect that a commit to master is unlikely to cause a great many problems; those problems should have been sorted out in a feature branch.
But triggering a build of app+docs is -- of course -- the point and an important feature.


Error: cannot assign a value to final variable

Error message:
compile:
[javac] /private/tmp/analyze-project.pl_53361_1490759147/build.xml:162: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 91 source files to /private/tmp/analyze-project.pl_53361_1490759147/target/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] /private/tmp/analyze-project.pl_53361_1490759147/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java:387: error: cannot assign a value to final variable svnFilter
[javac]     private static final IOFileFilter svnFilter = svnFilter = notFileFilter(
[javac]                                                   ^
[javac] 1 error

It seems a typo in the source code.


Sometimes get error when adding image to thread

Some error like 'there was a problem with your local IPFS node'. I was able to add a photo once, but then backgrounded the app to go download some new images, brought it back to the foreground, opened the thread view, tried to add image from camera roll.

Looks like the node is shutting down and starting up just fine. Other node functions like querying for hashes etc are working fine.


Assign Strong Lens Time Delay

Add time delay to the different images of the lens in a strong lens system.

Added to task list under #37

Pull request merged. Testing for this added as #109


RIME pinyin traditional picking most uncommon variants of characters

Describe the bug
To Reproduce
Steps to reproduce the bug:

Install RIME, pinyin, traditional chinese

Expected behavior
Expected to get 在這裡吃飯
Got 在這裏喫飯 instead
Log
Not sure where to find, let me know what logs you need
Screenshots

Flavor(please complete the following information):
Select your flavor:

fcitx5-rime

Package:

OS: Ubuntu Linux
22.04

You can switch to tw standard TC by customizing OpenCC

Not a bug. The default dictionary was made to write traditional Chinese characters.
To use a particular modern standard, either create your own dictionary, or use the appropriate character conversion setting.


Use static branch name while updating lock files

Fixes #244

Works as per: https://github.com/MetOffice/CSET/actions/runs/6847881680

Really a revert back to a previous commit, and tested in another repository, so merging without review.


Reduce non verbose output

These changes reduce the amount of console output by default. Users can opt back in to receiving them with the /verbose flag.
Background: #269.

Thank you! I've incorporated these changes here:
https://github.com/gluck/il-repack/commit/fe1de478f857eaf4b5198380ff31a42a96f6d690


build in windows libcfc-cpp.so not found

I tried to compile it under the windows platform, and he appeared
dlopen failed: library "libcfc-cpp.so" not found
work in
cmake 3.16.3
ndk 22.1.7171670
build tool 33.0.3

You could try switching to this branch to see if it helps: https://github.com/sz3/cfc/tree/v061g

You could try switching to this branch to see if it helps: https://github.com/sz3/cfc/tree/v061g

He gave me a new problem, The compilation of gradle is correct
exception stack:

Circling back to this:
It looks like libc++_shared.so is missing. I'm not sure why that would be -- I think it should come with the android NDK, and get dumped into the apk?
Anyway, that C++ runtime needs to end up in the apk, or nothing will run.


SpecReporter breaks the formatting of assertion errors

minitest-reporters1.3.0
ruby2.5.1
OSLinux (Arch)

$ cat test/power_assert.rb

require 'minitest/autorun'
require 'minitest-power_assert'
require 'minitest/reporters'

a = [1, 2]
b = [3, 4]

describe 'test' do
  it 'uses power assert' do
    assert { a.first == b.last }
  end
end

$ ruby test/power_assert.rb

  1) Failure:
test#test_0001_uses power assert [test/power_assert.rb:10]:
    assert { a.first == b.last }
             | |     |  | |
             | |     |  | 4
             | |     |  [3, 4]
             | |     false
             | 1
             [1, 2]

$ MINITEST_REPORTER=SpecReporter ruby test/power_assert.rb

test
  test_0001_uses power assert                                     FAIL (0.00s)
Minitest::Assertion:             assert { a.first == b.last }
                     | |     |  | |
                     | |     |  | 4
                     | |     |  [3, 4]
                     | |     false
                     | 1
                     [1, 2]

It breaks the output of assert_equal as well e.g.:
Before
  1) Failure:
spec reporter#short diff:
Expected: 1
  Actual: 2

  2) Failure:
spec reporter#long diff:
--- expected
+++ actual
@@ -1 +1 @@
-{"foo"=>"Foo", "bar"=>"Bar", "baz"=>"Baz", "quux"=>"Quux"}
+{:foo=>"Foo", :bar=>"Bar", :baz=>"Baz", :quux=>"Quux"}

After
spec reporter
  short diff                                                      FAIL (0.00s)
Minitest::Assertion:         Expected: 1
          Actual: 2

  long diff                                                       FAIL (0.00s)
Minitest::Assertion:         --- expected
        +++ actual
        @@ -1 +1 @@
        -{"foo"=>"Foo", "bar"=>"Bar", "baz"=>"Baz", "quux"=>"Quux"}
        +{:foo=>"Foo", :bar=>"Bar", :baz=>"Baz", :quux=>"Quux"}

Looks like the output just needs to lose the stray "Minitest::Assertion: " string before the error:
spec reporter
  short diff                                                      FAIL (0.00s)
     Expected: 1
          Actual: 2

  long diff                                                       FAIL (0.00s)
        --- expected
        +++ actual
        @@ -1 +1 @@
        -{"foo"=>"Foo", "bar"=>"Bar", "baz"=>"Baz", "quux"=>"Quux"}
        +{:foo=>"Foo", :bar=>"Bar", :baz=>"Baz", :quux=>"Quux"}

I think the right way to fix it is not to print the name unless it is a test error (we do not want to miss exception information for error case)


TimePicker Returns Incorrect Time When Not Interacted With

Description:
This issue is related to #57. When using minutesInterval or secondsInterval with a value other than 1, the time picker returns an incorrect time if the user confirms the selection without manually interacting with the picker.  This effectively bypasses the interval setting and returns a default time that doesn't align with what's displayed.
Steps to reproduce:

minutesInterval (or secondsInterval) set to a value other than 1 (e.g., 15).
Open the time picker at a time that does not coincide with the interval
Do not change the time. Simply tap the "OK"

Expected behavior:
The time picker should return the time that is currently displayed in the picker, even if the user hasn't manually adjusted it. This time should also adhere to the specified interval.
Actual behavior:
The time returned does not match the time displayed in the picker, but instead matches the current time. Effectively ignoring the minutesInterval or secondsInterval setting.
Additional Notes:

This issue seems to occur only when the user does not manually interact with the picker wheels. If the user adjusts the time, the correct value is returned.
#57. describes a related issue where the initial time display is incorrect. This issue focuses on the incorrect value returned upon confirmation without interaction.

Screenshots:

Code snippet
  DateTime? dateTime = await showOmniDateTimePicker(
              context: context,
              type: OmniDateTimePickerType.time,
              minutesInterval: 2,
              isShowSeconds: true,
            );

Fixed in v2.0.1


JUnitXMLReporter does not synchronize the two synchronized collections when iterating

In lines 177 and 180 of JUnitXMLReporter, synchronized collections m_configIssues and m_allTests
are both iterated in an unsynchronized manner, but according to Oracle Java 7 API specification
(http://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#synchronizedList(java.util.List)),
although a synchronizedList is thread-safe for list manipulations like insertion and deletion,
manual synchronization is required when the collection is iterated.
Failure to do so might result in non-deterministic behavior.
This pull request adds a fix by synchronizing m_configIssues and m_allTests when iterating.

Thanks!


[Bug]: Cannot select by drag using --enable-wayland-ime wayland natively

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.76.0
OS Version: Debian GNU/Linux bookworm, KDE Plasma 5.27.2

Steps to Reproduce:

running with --disable-extensions --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime, I cannot select text in editor by dragging my mouse. Double click to select word or using shift key to select is OK.
Open a text file and drag to select

I cannot select text in editor by dragging my mouse. Double click to select word or using shift key to select is OK.
Running with --disable-extensions --enable-features=UseOzonePlatform --ozone-platform=wayland, or running under X11(Xwayland), there's no issue.
I also tried to run chromium --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime and other electron apps, there's no issue for them. So I guess this has something to do with VSCode itself.

It seems that selection is not available only in the editor. It does not affect the search box on my machine.

It seems that selection is not available only in the editor. It does not affect the search box on my machine.
And vscode-web works fine without any issue.

I was the same situation, and I used vscode-insiders and disabled all extensions , problem sticks.
here is debug console log in Developer Tools in code-insider
$ code-insiders --version
1.77.0-insider
fa13bf16fd237afef07f4df0648da026f43e3963
x64

log
 INFO Electron sandbox mode is enabled!
workbench.desktop.main.js:sourcemap:620  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
workbench.desktop.main.js:sourcemap:620  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.remote-repositories' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
workbench.desktop.main.js:sourcemap:620  WARN Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
workbench.desktop.main.js:sourcemap:620  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal 'notebookControllerKind' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
workbench.desktop.main.js:sourcemap:620  INFO [perf] Render performance baseline is 153ms

based on this link, the warnings above maybe can be ignored, I don't know whether they caused my problem.

Is this issue still present with latest insiders ?

Is this issue still present with latest insiders ?

I'm using 1.84.2 know and the issue disappears. Not sure which commit fix this issue.

Thanks for confirming. VSCode does not control this behavior, very likely runtime update addressed it.


Impossible pattern?

I purchased my turnips yesterday for 104 apiece.  This morning (Monday AM) they were 97, and now (Monday PM) they are 92.
I am 100% positive these are the correct prices, but the app has no patterns that allow for 92 right now if I purchased at 104 yesterday.  Is this a floating point case or have I screwed up using it?
(Understood if it may be hard to solve from this minimal case, but it may help as a data point for another issue.  This is also my third week in the stalk market, so I don't think anything special applies)

Seems like the same off-by-one rounding error that has been reported in several other issues already. There are several patterns available if you change your Monday PM price to 93 Bells.

Working through the cases...
0/fluctuating:
decreasing phase max is ceil(0.8104) == 84, therefore the 97 and 92 would both have to be high phase.
high phase min is ceil(0.9104) == 94, so that rules out the 92
1/high spike
first value would need to be 94 or less
2/decreasing
First value 94 or less again
3/small spike
first value 94 or less if decreasing
But this can be the peak, so
first value is in range of 94 to 146
But then second value needs to be in the same range, and it's not

@rssteffey And to confirm, this is definitely the buy price on your own island, not the price you bought the turnips for elsewhere?

Correct.  All three prices were local to my island (I did visit a friend and buy an additional few stacks of turnips for <100, but I didn't think that affected my local prices)
They are 88 now (Tuesday morning)

I'm having a similar issue. Bought at 107 on Sunday, prices went 115 -> 91 -> 157 as of Tuesday morning. If I remove the Sunday price it shows patterns, but the max predicted Sunday price in those patterns is only 102

@rssteffey This should be fixed now
@jpblanton What're your prices like today?

I also have a similiar issue. Since yesterday I have a Nook's cranny and started to monitor my turnip prices. When I put in my data (first time buyer: Yes, Tue AM: 105, Tue PM: 113, Wed AM:120 and Wed PM: 81) I don't get any patterns. Can this be because I only started getting prices yesterday?

@mikebryant 167 Tuesday PM, 133 today. Which was in line with what the system put out when I left the starting price blank

@beastboy92 Can you try again? You might have been hit by a brief blip that was fixed in #113 - I see a pattern for you right now when I try

@jpblanton Just to check, because you didn't say - That buy price is on your own island? And it's not the first week someone who lives on your island has bought from daisy on your island?
 And yes, all my island

@jpblanton Then I don't think there's a problem - as it says on the site, if it's the first time you're buying them on your own island you need to check the first time buyer option, which disables the buy input. (because it makes a hidden buy price instead and uses that to compute)

@jpblanton This is your prediction: https://turnipprophet.io/?prices=.<IP_ADDRESS>.133&first=true
The hidden buy price was somewhere between 90 and 99.

Yes, sorry, I misunderstood that as looking for the first time I'd seen
her. Apologies
On Wed, Apr 15, 2020, 12:28 Mike Bryant<EMAIL_ADDRESS>wrote:

@jpblanton https://github.com/jpblanton This is your prediction:
https://turnipprophet.io/?prices=.<IP_ADDRESS>.133&first=true
The hidden buy price was somewhere between 90 and 99.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mikebryant/ac-nh-turnip-prices/issues/82#issuecomment-614142301,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJX7FE55F5SUE5OBMLWZWTRMXOBXANCNFSM4MHFT3KQ
.

No problem. Hope you find the site useful in future! :)


Remove all Fedora Guest RPMs

We've been caching rpms for tools like qemu-guest-agent, stress, dmidecode, virt-what in bazel, then serving up those binaries to our functional tests via the cdi http server. This has a few problems.

The RPM repos we use for production are coupled with the fedora guest we use in testing... Meaning, we can't actually  update one of these without updating the other. This is a very strange coupling. The version of a guest vm in our functional test suite should have no impact on what RPMs we use in our production code.

Adding new tooling is tedious... we have to add new rpms, update the cdi container's entry point, then add HTTP urls in the test utils package, and create special cloud-init user data to pull those tools into the VM guests.

To resolve this, I've created a fedora test tooling container disk with all these tools baked in. If someone wants to add a new tool, they simply add the rpm here and rebuild the image.
NONE

/retest

Compilation error now:
10:43:50: /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/sandbox/processwrapper-sandbox/2620/execroot/__main__/tests/migration_test.go:1043:42: undefined: "kubevirt.io/kubevirt/tests".GetGuestAgentUserData

/retest

/lgtm
/unhold

Maybe it worthy to mention (even on PR description?) that the right usage is exactly the following for this new VM?
WaitAgentConnected and only then LoginToFedora, as the code in this PR does.
Unless the code ref is enough, thanks
				// Need to wait for cloud init to finnish and start the agent inside the vmi.
				tests.WaitAgentConnected(virtClient, vmi)
				By("Checking that the VirtualMachineInstance console has expected output")
				Expect(console.LoginToFedora(vmi)).To(Succeed())

/lgtm
/retest

/retest

/lgtm

/retest


Unable to get tables rendered

I built the node.js web page as in the tutorial, and my script.js looks like:
window.onload = function() {
    var converter = new showdown.Converter({tables: true});

options = converter.getOptions();
console.log(options);

    var pad = document.getElementById('pad');
    var markdownArea = document.getElementById('markdown');

    var convertTextAreaToMarkdown = function(){
        var markdownText = pad.value;
        html = converter.makeHtml(markdownText);
        markdownArea.innerHTML = html;
    };

    pad.addEventListener('input', convertTextAreaToMarkdown);

    convertTextAreaToMarkdown();
};

when I input text like:
#### Server 1

| Server Name | Addresses | IP 1 | IP 2 |
| :---: | :---: | :---: | :---: |
| myServer | <IP_ADDRESS> | <IP_ADDRESS> | <IP_ADDRESS> |

my table doesn't get rendered, I just get text out. The options appear correct in the console.
Any ideas what I'm doing wrong?

What tutorial are you referring to?
Anyways, it's working fine with me. Check the fiddle

Estevão, thanks for the quick response. I downloaded the tutorial from the wiki, and the table gets rendered, though the header line isn't colored and there're a few other quibbles. I seem to be having version issues, with different behaviors from the CDN. We can close this.
Thanks again for the excellent response.


Remove all custody and VDF placeholders

What is wrong?
See https://github.com/ethereum/eth2.0-specs/pull/488
How can it be fixed
Fill this in if you know how to fix it.

@ralexstokes  That's right, #247 and #244 are twisted together and we missed the changes between them. 😱
I have a WIP PR #250, mind taking a look? (Tests are coming!)


My project based on PyWorkflow

Hi guys, I have created a project os-pywf which wrap the PyWorkfow provide high level APIs and command line tools.
I have released Requets like APIs and provide a command line tool same as curl but more flexible work with Python scripts.
My project can be installed with pip
pip install os-pywf

During developing, I find some features depond on PyWorkflow, need your help

HttpTask do not support proxies
I do not konw how to add client cert when using HttpTask
Running task can not cancel, so on some situation (slow response for example) I have to force quit the program or wait a long time

To use http proxy, you may create an http task with proxy's URL like this: http://proxy-host-name:port/，set the request URI: task.get_req().set_request_uri("http://www.sogou.com/"), and than set the "Host" header: task.get_req().set_header_pair("Host", "www.sogou.com")
Unfortunately we do not support https proxy currently.

Thanks, let me have a try

To use http proxy, you may create an http task with proxy's URL like this: http://proxy-host-name:port/ ，set the request URI: task.get_req().set_request_uri("http://www.sogou.com/"), and then set the "Host" header: task.get_req().set_header_pair("Host", "www.sogou.com")
Unfortunately we do not support https proxy currently.

It works. Expect solution for https proxy.

Good job, it's GREAT.


Examples

We only have a few examples so far, it'd be great to expand into more FE/BE examples.
If anyone has some ideas that'd be helpful for them to learn, please add your thoughts to this thread!

There are now a Counters app which demonstrates how to use Ref to create many sibling components with isolated state.
There is also now an implementation of TodoMVC which also demonstrates using Ref and Env.

I somewhat simplified the Counters app to show a single counter app in isolation

What kind of example(s) do you feel would be most helpful? I'd enjoy the learning experience of trying to build something if you're able to give me feedback when you see a better implementation / choice of ADT, for example.

Hey @ahrjarrett I'm pretty open to example ideas that works help with learning the library, I'll spend some time thinking of some too

awesome -- sorry I've been out of pocket, I'm working on a big refactor at work and haven't had time to do much else
I've got a break this morning so I'm planning to read the source for Stream


Move gallery app to use RNW NuGet package

This should speed up builds
Ideally all of the modules it uses can be updated to consume RNW from NuGet too

Dependent on the modules gallery uses actually supporting it. Here's the issue on the core repo tracking that: https://github.com/microsoft/react-native-windows/issues/7227
We should use Gallery as the measuring stick for how well we're doing on that.


Add multiplatform support to docker images

It would be nice if your docker images would also support ARM-Architecture :) https://docs.docker.com/build/building/multi-platform/.

I'm using docker-py which unfortunately doesn't support buildx https://github.com/docker/docker-py/issues/2230
I'll have to figure out another approach.

Which platform are you looking to get?

Ok, it should be publishing arm64 version to docker now


Collection backup not importing Version 1.0.0-beta6

Collection backup not importing
Please fix it

Only import works on "beta3"

Hi, thanks for reporting this bug. I am working to get it fixed.

Bug fixed. A new build will be published on Play Store.


Communicate to JRC and solve missing data in JRC catalouge

The vernacular names on JRC data catalogue (https://easin.jrc.ec.europa.eu/api/cat/euconcern/) do not make use of all the available information as provided by IUCN, see sheet "All names index" of IUCN Excel file common names inventory (hosting webpage: https://www.iucn.org/regions/europe/our-work/biodiversity-conservation/invasive-alien-species/eu-regulation-technical-support/identification-species-union-concern).
I propose:

ask to JRC to update their common names in the data catalogue (https://easin.jrc.ec.europa.eu/api/cat/euconcern/) based on this Excel file (@timadriaens)
once this is done, harvest the updated common names list via API (@damianooldoni or @peterdesmet)

As updating the vernacular names on JRC data catalogue could take some time, I propose to publish vernacular names in version 2. @peterdesmet: do you agree on this approach?

I would like to pool all questions for JRC @peterdesmet could you formulate some of the issues encountered with their mapping?

@timadriaens I have added more questions in your issue remark above.

I added an extra question about distribution information as discussed in #10.


Devportal visibility issue when changing from 'restrict by role' to 'visible to my domain'

Description
After changing the dev portal visibility from 'restrict by role' to 'visible to my domain', The detailed view of the API cannot be accessed from the dev portal from that domain. API is listed in the tenant domain store. Error is thrown when selecting that API.
Steps to Reproduce

Create a tenant and add a custom role.
Add a couple of tenant users with subscriber permission. assign the custom role to one user
login to the publisher portal and create an API. Set the dev portal visibility to 'restrict by role' and set the custom role.
Once published, this API can be accessed by a user with the given role
Now change it to 'visible to my domain' and publish
Login to the dev portal tenant using a user without the custom role. API will be displayed.
Click on that API and it will give an error in the backend.

Seems like when changing from 'restrict by role' to 'visible to my domain', visibleRoles element is not cleared when doing the API call to update the API. See below

Workaround
Change the visibility restriction to 'Public' and then change it back to 'visible to my domain' . (this will clear the payload)
Affected Component
APIM
Version
4.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Public fix: https://github.com/wso2/apim-apps/pull/448 has already been merged.


[Bug] Wrong container content type

In this instance, it is a case of wrong container content type.

This leads to many problems. Elementum is setting "movies"/ "tv shows" so TMDbHelper is looking up movies. It also causes a lot of problems with the views because it shares the same view with movies and tv shows.
The genres directory should have container content of "genres" not "movies"/ "tv shows"
The base dir directory with search should have container content as "none" not "movies"/ "tv shows".

@matke-84 Elementum is not settings content_type to movies, it sets to menus_movies.

And it is not set to empty value, to allow changing the view for that type of content and save that selection.

@elgatito I don't doubt that you set the container to menu_movies, but as you can see in the picture (upper left corner), Kodi registers it as a movies/tv shows container. This creates quite a problem with listitem monitors that pull data directly from the network. Also, if I change the view of the menu, the view of the movie/tv show container changes also and vice versa.I have checked some other similar addons for movies and they are set up properly and do not have these problems.

@matke-84 You can check Elementum v0.1.88.

@elgatito I would like to try it, but the installation is broken. Maybe you messed something up while packing files. I tried it android arm package as always. 0.1.87 is working.

@elgatito Now I noticed that some packages are missing, for example for windows.

After I removed menu_movies - people complain that it is not working as they used to.
I'm looking at what values are accepted and can't see anything good for lists  of subctegories - https://alwinesch.github.io/group__python__xbmcplugin.html#gaa30572d1e5d9d589e1cd3bfc1e2318d6

I don't understand what they are complaining about? Now it finally works properly.

I think in some skins skin does not like that empty content_type.
I'm looking what tmdbhelper is doing and they set empty values if there are no movies/shows listed.

I always test first with the default kodi skin and then with my titan bingie mod. It works perfectly with both. I'll try a little later with another skins and let you know the results. Of course, if you find a better solution, great. Let's just not go back to the old ways.

@matke-84 Well, on default skin it always work fine, because it does not matter what content you have there :)

I just tried a few popular skins.
Aeon nox, Artic zephyr reloaded, Aura mod, Titan bingie mod, Embuary... Each works perfectly.
The only one that doesn't work is Artic horizon 2. Which means it's up to the skins and not to elementum. A skin developer needs to sort out his skin.

I've changed a little bit default value and verifies with Arctic Horizon, should be fine with 0.1.92.

Yeap. Everything is fine. 👍


Food Dictionary

Project title
(Write project title over here)
Food dictionary
Project Description
(Describe the project over here)
It will provide the description of food name entered
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

/assign

/assign

PA not looks active and have not labeled it hence, im leaving


Possible bug/dynamic behaviour in .env and schedule:run

Laravel Version: 8.31.0
PHP Version: 7.4

Description:
If this is a known issue feel free to close this.
Different .env files get loaded when running php artisan schedule:run and when running a command directly if you have set APP_ENV and have a corresponding environment file.
So for example if you have .env 2 files:
.env
APP_ENV=production
TEST_VARIABLE=A
...

.env.production
APP_ENV=production
TEST_VARIABLE=B
...

And I have a task such as php artisan foo, scheduled to run every 1 min, the schedule:run will pass the APP_ENV=production to the child job and it will load the .env.production with the TEST_VARIABLE=B, while if I run the php artisan foo:bar directly in console, it will use the .env with TEST_VARIABLE=A.
Steps To Reproduce:
1- Create new task such as FooTask.php
2- Add task to console Kernel as a scheduled task
3- create .env and .env.production with contents as above
4- run php artisan schedule:run -> Task uses TEST_VARIABLE=B
5- run php artisan foo -> Task uses TEST_VARIABLE=A
I checked the source code and this is due to this part:
https://github.com/laravel/framework/blob/9.x/src/Illuminate/Foundation/Bootstrap/LoadEnvironmentVariables.php#L51-L57
On php artisan foo the APP_ENV is null at this point so it returns early. However with php artisan schedule:run after it starts up and runs the sub task foo it does pass the APP_ENV and uses the different .env file.
This causes unexpected behaviors depending on your deployment, as you might not always be replacing .env with .env.production.

@bernardwiesner  what is inside the foo command? sounds like it doesn't take the environment type into consideration, maybe it is loaded outside of a normal console command scope?
The schedule:run is expected to adhere to the APP_ENV type
it is expected behaviour for the application to load .env files based on APP_ENV
Documentation quote:

Before loading your application's environment variables, Laravel determines if either the APP_ENV environment variable has been externally provided or if the --env CLI argument has been specified. If so, Laravel will attempt to load an .env.[APP_ENV] file if it exists. If it does not exist, the default .env file will be loaded.

https://laravel.com/docs/9.x/configuration#additional-environment-files

@WebKenth
Yes docs are correct, however the issue relates to schedule:run passing the APP_ENV to the foo task, however when running foo task from console outside schedule:run there is no APP_ENV being passed, causing the dynamic behavior.
If I ssh into the server and do php artisan foo there is no APP_ENV being passed.

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!

@WebKenth Yes docs are correct, however the issue relates to schedule:run passing the APP_ENV to the foo task, however when running foo task from console outside schedule:run there is no APP_ENV being passed, causing the dynamic behavior.
If I ssh into the server and do php artisan foo there is no APP_ENV being passed.

Which leads me to believe the command foo is not properly populated if it does not pass the environment type
They are running in two different contexts
I can expand your theory, i just added 3 .env files and ran a few tests
if you add a .env.dev
and run php artisan foo --env="dev" it will grab the .env.dev file
running php artisan foo --end="production" grabs the .env.production
running php artisan foo grabs .env

Ok so this is expected? I would think it's better to always pass same .env regardless if running from console directly or from scheduler.

@WebKenth
Yes you are correct, the issue comes with the schedule:run. Did you try the scenario I demonstrated above?
Have your task inside a schedule and then run the scheduler with pho artisan schedule:run, it will use the .env.production rather than the .env.
The issue relates to schedule:run executing foo task vs running foo task directly, behavior is different, when you would expect it to be the same.

@WebKenth Yes you are correct, the issue comes with the schedule:run. Did you try the scenario I demonstrated above?
Have your task inside a schedule and then run the scheduler with pho artisan schedule:run, it will use the .env.production rather than the .env.
The issue relates to schedule:run executing foo task vs running foo task directly, behavior is different, when you would expect it to be the same.

I would expect the schedule:run to take the .env.production
not the .env file as that would be a fallback environment file
When you manually decide to run php artisan foo you are running in a context outside of the application and must therefore specify which environment you wish to run it as (hence the --env option)
If you run your task via a scheduler, you expect the scheduler to run with an application context so it behaves the way the application behaves
When you made the choice to create a .env.production you decided to adhere to this design
If you instead only had one .env file this would not be an issue for you
While i do agree it could be documented better with examples, i don't think there is anything inherently wrong with how it is working at the moment
As Laravel is a framework designed to work with both simple and very complex application structures this is an acceptable behaviour :)

@WebKenth
I understand your point, but let me give you an example where this becomes an issue.
Let's say inside your Kernel file you are checking redis and depending on that you execute certain tasks. Inside .env your cache driver is set to file while inside .env.production it's set to redis.
Do you see the issue? When schedule:run starts it will run inside of .env context, and check file for cache, while when it runs child tasks it will switch context and suddenly pass .env.production and use redis driver for the tasks!
This is a lot of unexpected dynamics.

@WebKenth I understand your point, but let me give you an example where this becomes an issue.
Let's say inside your Kernel file you are checking redis and depending on that you execute certain tasks. Inside .env your cache driver is set to file while inside .env.production it's set to redis.
Do you see the issue? When schedule:run starts it will run inside of .env context, and check file for cache, while when it runs child tasks it will switch context and suddenly pass .env.production and use redis driver for the tasks!
This is a lot of unexpected dynamics.

I am confused, you say schedule:run switches context, it does not ? it run's with the same application context and a regular http request. unless you decide to switch the context manually by running php artisan schedule:run --env="development" doing runtime if it switches context that is application logic and laravel is not responsible for your custom conventions
running a php artisan without specifying your environment is not how you should do it, be explicit! ( this applies when you decided to use multiple .env files in your project )
It is not unexpected behaviour, it is in fact documented and it is up to you to use the methods you see fitting to your environment
You decided to use the .env.production method and that means you have enabled multi environment files for your project. This is a convention change which requires you to change your behaviour and expectations.
You could easily change this behaviour by just using a single .env and have your deployments handle the swapping of environment variables for production vs staging vs development servers
It is also strange behaviour to have one application running in multiple environment contexts on the same setup. The multiple .env files allow you to do this, but it comes at an increased complexity which you have run into.

@WebKenth
Maybe there is still a misunderstanding. Not sure how to get it across correctly.
php artisan schedule:run uses .env by default. However when it executes the tasks declared inside Kernel it has the context of .env that includes APP_ENV, so that is passed to the task and the task is executed as if you were to run it with APP_ENV=production php aritsan foo.
So schedule:run uses .env for executing the tasks declared inside Kernel, but the tasks in a different process use .env.production.
schedule:run
-> Kernel.php (.env)
-> FooTask.php (.env.production)

@bernardwiesner  That is not how you described it in your description

You have swapped the logic

@WebKenth
Yes the scenario I am giving now is a different one, but it relates to the same issue of dynamic context related to .env

@WebKenth Yes the scenario I am giving now is a different one, but it relates to the same issue of dynamic context related to .env and scheduler

New issue then
This issue describes a stand alone command running in a different environment than the schedule:run context
As is the expected behaviour
You are now swapping your original statement to say that schedule:run in fact runs in the wrong context
These are two seperate accusations and issues

@WebKenth
Well sure I can open another issue with that scenario. To me they are similar issues related to schedule:run switchings environment context when running child tasks. I would expect if I run schedule with .env that child tasks are also run with .env.
I don't really see how the second scenario is much different from the first, it relates to the exact same issue.

@WebKenth
I appreciate though you took the time to respond and follow up, however I am not sure if there is much interest in getting this fixed so I will not open another issue.