[5.5][Refactoring] Use @available(*, renamed:) to link async alternative

Cherry-picks commits that allow synchronous functions to be linked to their
async alternative, allowing the various async refactorings to use this name
(if one exists).

@swift-ci please test

@swift-ci please test Windows platform


Synchronizing DefectDojo groups with IDP

According to the documentation when a new user is created via social-auth only the default permissions are active. I would like to be able to retrieve the list of groups from the userinfo claim (such as lists of user group names). Is this possible?
I'm trying to integrate DD with Keycloak via SAML.
Thanks in advance.

https://documentation.defectdojo.com/dev/integrations/social-authentication/#groups-from-identity-providers

This can be closed @mtesauro. PR was merged.


fix(nuxt): handle external links to named route objects

🔗 Linked issue
Revert changes to nuxt-link.ts to fix #27817

📚 Description

Revert nuxt-link.ts to 3.12.1 version, where #27817 is not present.

cc: @manniL if you have any better suggestions


Escape spaces in file names and paths in import

Description
We should escape spaces in file names and paths on nitro import
nitro db import ~/Downloads/mybackup -09-09 - backup.sql
Error: unknown shorthand flag: '0' in -09-09

Nitro version: 2.0.0-beta.1

Closing this ticket out


Add Anthony to owners

Add koln67 to owners so reviewers can LGTM to merge, instead of needing to both LGTM and Approve.

/lgtm
/approve


Yaml support

Hi,
Just leaving this here, I know it is most likely a big endeavour. But would you be open to support yaml file for the translations? I am not asking to replace json, as some people might prefer that, but maybe a way to support both a bit like rust-i18n does?
It's far from important or anything, json works just fine, just a personal preference on my end. :)

I would be open to accept yaml file format (I would be open for any format to be honest), I don't think deserialization does'nt do anything JSON specific, the only thing holding this back is my lack of knowledge with this format, I can't provide exemples on how to write those (I could learn thought).
I guess supporting this format would'nt be a lot of work, probably gated behind a feature to not compile the whole serde_json   if YAML is what's being parse (yaml is already a dependencie for parsing the manifest).
I'll look into it

Made a woupsi, it's TOML that is used for the manifest

Well it seams yaml is supported out of the box, I can write strings, plurals and subkeys without problems.
I pushed a branch with the support, it would really help if you could test it! https://github.com/Baptistemontan/leptos_i18n/tree/yaml_support

I have a pretty small codebase, but the switch was seemless. I am using simple interpolation, plurals (with range) & subkeys and nothing wrong there.
Warning, I don't have: namespaces, component interpolation. So yeah not 100% full coverage, but since the features didn't change, only the file type?

I do am getting this warning though

Glad to hear! Namespaces should'nt be a problem, they don't affect parsing
For the warning it's because you use a git url and it pulls the whole workspace, with the tests and exemples... Won't appear once publish.
I'll merge this, add some tests for it and will probably publish the first release candidat, I'm happy where v0.2 is right now

Oh actually small thing, I don't know how picky you want to be. I tried renaming my files to en.yml instead of the *.yaml. technically for YAML both .yml & .yaml are supported.
Personally I'm fine with yaml but if you want to handle both.

Humm that's a good point, it's far easier to just stick to one file extension so if there is an error you can just bubble it instead of trying another extension and losing the first error which would possibly be the relevant one. Not sure what to do.
Support for another extension won't be breaking changes tho, so could be added later without problem, could you open a new issue about that?  I will think about it after the release candidat

Will do! Thank you!

Follow up ticket created here
https://github.com/Baptistemontan/leptos_i18n/issues/63

I'm translating the tests for json to yaml, and I kind of like the syntax haha, might give it a try another day

json to yaml website still my bestfriend tho


How can I add this extension using a docker-compose file?

This is mostly for help wanted. I have the following docker-compose file:
version: "3.9"

services:
  postgres:
    image: postgres:16.1-alpine
    restart: always
    ports:
      - "5432:5432"
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - DEBUG=false
      - POSTGRES_DB=postgres
    volumes:
      - ./init:/docker-entrypoint-initdb.d
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -U postgres" ]
      interval: 5s
      timeout: 5s
      retries: 5

Would there be a way to install the extension as part of the docker compose up command?

You would need to build an image yourself.
ARG postgresql_major=16
ARG postgresql_release=${postgresql_major}.2

ARG pgx_ulid_release=0.1.4

####################
# Postgres
####################
FROM postgres:${postgresql_release} as base

# Redeclare args for use in subsequent stages
ARG TARGETARCH
ARG postgresql_major

####################
# Extension: pgx_ulid
####################
FROM base as pgx_ulid

# Download package archive
ARG pgx_ulid_release
ADD "https://github.com/pksunkara/pgx_ulid/releases/download/v${pgx_ulid_release}/pgx_ulid-v${pgx_ulid_release}-pg${postgresql_major}-${TARGETARCH}-linux-gnu.deb" \
    /tmp/pgx_ulid.deb

####################
# Collect extension packages
####################
FROM scratch as extensions
COPY --from=pgx_ulid /tmp/*.deb /tmp/

####################
# Build final image
####################
FROM base as production

# Setup extensions
COPY --from=extensions /tmp /tmp

RUN apt-get update && apt-get install -y --no-install-recommends \
    /tmp/*.deb \
    && rm -rf /var/lib/apt/lists/* /tmp/*


SingleSignOnEndpoint with a question results in an invalid challenge URI

When SamlSingleSignOnEndpoint URI contains a query with a question mark, the resulting challenge URI will be invalid.
For example, PingOne sign-in URL is constructed like this:
https://sso.connect.pingidentity.com/sso/idp/SSO.saml2?idpid=<idpid>
In that case the resulting challege will be rejected by the IdP as invalid:

From<EMAIL_ADDRESS>
We do not support extra query string parameters when using the HTTP Redirect binding, as this can cause issues when signing protocol messages.
Customers like yourself typically switch to using the HTTP POST binding, as this does not have the same concerns around compatibility.
I hope that helps.


Not importing stat priorities from Maxroll

Heya,
Just wanted to prepare for Season 4 and imported a build from Maxroll. Unfortunately, the stat priorities for the different items are not imported. Only the aspects.
I followed the guide on how to import. Imported 3 different build variants. For each, the according aspects are imported.
I took the Planner from this Maxroll Guide. The PlannerID is cm6pf0xa.
Not sure, if this is related to your app, or Maxroll D4 Scraper.
Kind Regards,
smoo

Hi @smoochy that D4 scraper is no longer used. It stopped working earlier in season 3 when the website layout changed.
My app now has it's own Maxroll import, but that's currently broken as well because of all the affix changes for season 4.
The current version is still based on season 3 and doesn't have the new affixes. I'm preparing a new version based on the PTR data. It's almost ready for release. Was planning to release it tomorrow otherwise it causes problems for those still playing season 3.

You can follow the season 4 progress here:
https://github.com/josdemmers/Diablo4Companion/tree/season4

Thanks for the information. I was assuming that it was related to the new Affix system.
Is it correct that nobody yet created a preset for 1440p, SDR with small fonts?
Then in the coming days I will try to do it with the instructions. I don't like the medium font, but unfortunately don't have an HDR display.

Yes, correct. Only 1440p_HSF_en and 1440p_SMF_en.
But 1440p_SSF_en should be easy to create. I think you can just copy 1440p_SMF_en and only replace the tooltip_kb_all.png image.


[SDK] Consolidate tests to avoid excessive deployERC1155Contract

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR primarily focuses on refactoring and enhancing the test coverage for the erc1155 extension of the thirdweb package. It removes outdated tests, introduces new tests, and updates existing ones to improve functionality verification.
Detailed summary

Removed multiple test files related to erc1155 functions.
Updated lazyMint.test.ts to use DROP1155_CONTRACT.
Added a test for isGetNFTsSupported in drop1155.test.ts.
Simplified and enhanced tests in mintAdditionalSupplyToBatch.test.ts.
Introduced new tests for updateTokenURI, minting, and getOwnedTokenIds in token1155.test.ts.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5135  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kien-ngo and the rest of your teammates on  Graphite


[Python] Expose streaming JSON reader

Describe the enhancement requested
https://github.com/apache/arrow/pull/14355 added a JSON streaming reader on the C++ side. We should expose a Python binding to it, like we did for CSV.
Component(s)
Python

I'd like to give this a shot if possible? I've been working on it a bit over the holidays following the commit that added the streaming csv reader python bindings.

@akshaysu12 Yes, please do!

@pitrou sorry for the delay! I added a Draft PR here: https://github.com/apache/arrow/pull/33761
It's missing documentation but I was hoping to get a look to make sure I'm going about this the right way since I'm new to the project.

Thanks @akshaysu12 for notifying me! I've cc'ed the relevant people on your PR.

Sorry to bother @pitrou , this PR #33761 has not progressed for a long time. Is there any further development plan? I can help if needed.

@pan-x-c I've cleared the assignee, you can definitely work on this if you want. Either start from the existing PR or draft your own.

I will try to start from the existing PR. It looks like it's almost done, just needs some testing.

Hi @pitrou, I have created a new PR based on the old one with only some minor changes.


Update to 2.0.0rc1

Updates to VegaFusion 2.0.0rc1. VegaFusion 2 merges the vegafusion-python-embed Rust logic into this package, so I've ported over the recipe config from https://github.com/conda-forge/vegafusion-python-embed-feedstock.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ PyPI default URL is now pypi.org, and not pypi.io. You may want to update the default source url.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


Expanded table render

Attaching below screenshot for reference:

EDIT -
There are couple of things need to be fixed.

[ ] Fix font Style,
[x] color codes
[x] Change recommendations column string values to link
[x] Remove % with out of 5 score
[x] Resolve memory leak problem

Nice job Kavita!
Few other notes:
for the grading bar - the lighter color should be substituted with grey color as in mocks - for the yellow example: darker yellow stays, the lighter yellow becomes grey

Codecov Report

Merging #4 (ba4aa87) into main (287c386) will decrease coverage by 6.54%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             main      #4      +/-   ##
=========================================
- Coverage   15.94%   9.40%   -6.55%
=========================================
  Files          11      16       +5
  Lines          69     117      +48
  Branches        7       9       +2
=========================================
  Hits           11      11
- Misses         53      99      +46
- Partials        5       7       +2

Impacted Files
Coverage Δ

.../Components/EmptyStateDisplay/EmptyStateDisplay.js
0.00% <0.00%> (ø)

src/Components/RosTable/ExpandedRow.js
0.00% <0.00%> (ø)

src/Components/RosTable/ProgressScoreBar.js
0.00% <0.00%> (ø)

src/Components/RosTable/RosTable.js
0.00% <0.00%> (ø)

src/Routes/RosPage/RosPage.js
0.00% <0.00%> (ø)

src/constants.js
0.00% <0.00%> (ø)

... and 1 more

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 287c386...ba4aa87. Read the comment docs.

Hello @terezanovotna,
Added modifications to existing UI. Attaching the screenshot for reference.

Questions:

Is font family same as the mock-up? if not could you share font details and sizes for table rows as well as for expanded view.
could you confirm color codes for score bars and for links?
I have removed recommendation button from expanded view as per mock-up. Is it expected, right?

Nice job Kavita! The font is same as in the mocks - Red Hat text.
And yes, thanks for removing the button from the expanded area.

@terezanovotna @karelhala this is updated screenshot after above changes. Please let me know if you have any additional comments/suggestions.

thanks @kgaikwad for the changes! from what I am seeing it looks really good!
Small nit pick - we are missing pagination

thanks @kgaikwad for the changes! from what I am seeing it looks really good!
Small nit pick - we are missing pagination

Looking good! Just a few nitpicks and improvements @kgaikwad, nothing fundamentally wrong.

Looking good! Just a few nitpicks and improvements @kgaikwad, nothing fundamentally wrong.

Small nit pick - we are missing pagination

Yeah,  I have created a separate ticket to track pagination changes - RHIROS-19.
Currently I am working on this ticket.

Small nit pick - we are missing pagination

Yeah,  I have created a separate ticket to track pagination changes - RHIROS-19.
Currently I am working on this ticket.

Hello @karelhala,
Thank you for providing your inputs.Very helpful! :+1:  :ok_hand:
Updated changes as per suggestions.
Please let me know if any further changes required.

Hello @karelhala,
Thank you for providing your inputs.Very helpful! :+1:  :ok_hand:
Updated changes as per suggestions.
Please let me know if any further changes required.

Hello @terezanovotna, @karelhala,
do you have any additional comments?
@apuntamb @patilsuraj767 - please feel free to go through changes and let me know if any suggestions/comments.

Hello @terezanovotna, @karelhala,
do you have any additional comments?
@apuntamb @patilsuraj767 - please feel free to go through changes and let me know if any suggestions/comments.

Looking good! Thank you for taking my suggestions into consideration.

Looking good! Thank you for taking my suggestions into consideration.

Merged!
Thanks @kgaikwad for this great addition to UI. Thanks @terezanovotna for your guidance on how the UI should adhere to the designed mocks and big thanks to @karelhala for your thorough review and suggestions. :+1:

Merged!
Thanks @kgaikwad for this great addition to UI. Thanks @terezanovotna for your guidance on how the UI should adhere to the designed mocks and big thanks to @karelhala for your thorough review and suggestions. :+1:

@katierik

@katierik


chore: migrate plugin javascript cases

Summary

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6119  👈
#6118
#6117
#6116
#6114
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @LingyuCoder and the rest of your teammates on  Graphite


Feature/tok config

Just like #108 , added loading vocabulary file based on tokenizer chosen.
However, as of now tests related to simpletokenizer fail as there is no simple vocabulary built (I don't have extended corpus yet).
Requesting building both vocabularies and performing tests to ensure everything is working.
resolves #97

build_vocabulary command in this branch did not build with simple option because it did not change the word tokenizer configuration. Resolved by:

Add tokenizer_context to build_vocabulary command.

Also "relative import error" cost unnecessary time. Cannot be bypassed by importing modules from current release because vocab build relies on latest changes. Inserting path like in context files did not work for me as well. We should discuss this.
Latest changes pass tests. PR ready for review.

Merged latest changes from develop.

This might related to issue #156


[Languages] Creating Queries in C# using LINQ

Proposed title of article
Creating Queries in C# using LINQ
Proposed article introduction
The LINQ extension methods for the IEnumerableT> interface are used when searching local in-memory collections (often referred to as LINQ to Objects).... The method is implemented as an iterator to achieve deferred execution, which means the values are returned using the yield return statement.
The LINQ in c-Sharp is what shall be used in creating the queries. In this article, we will have to look deeply at how the queries are created until they become functional producing an end result.
Key takeaways

How to create an in-Memory Data Source.
How to create a query after developing the data source
How to modify the created query

Article quality?
This article will be majoring on covering content that will provide an in depth knowledge to the learner on how queries are created and how they perform their task.
References
N/A
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.

Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

This topic is already covered by the official docs.
Please feel free to suggest an alternate topic to explore. 🚀 @neheMaish


HSEARCH-2394 Fix dependency issues for tests that are re-used in Elasearch

https://hibernate.atlassian.net/browse/HSEARCH-2394

Merged, thanks!


TypeError: Cannot read property 'style' of undefined

I get this error with nearly every site/direct link to the CSS of a site I paste into. It also spits out this error with your "popular pages".

This is a bug in the https://github.com/jxnblk/css-statistics module that has been patched but not yet published. When the latest version is published, hopefully today, this will be fixed. If you happen to be running the app locally, you can change the package.json to point at the repo as a temporary fix.
cc/ @jxnblk


need help -> https://github.com/TimDaub/simple-caldav

I need help to make this library usable for KaiOs. I packed it with parcelsJS and integrated it with the script tag. but how do i address simple-caldav and start the events?
https://github.com/TimDaub/simple-caldav

Maybe you can try this library https://github.com/natelindev/tsdav

@arma7x have you used tsdav before?

noted: https://github.com/parcel-bundler/parcel/issues/2833#issuecomment-509680519

sorry for the chaos, but this is currently the latest branch: https://github.com/strukturart/greg/tree/mithdril

@strukturart why not dev in master and use branching for release ?

noted: parcel-bundler/parcel#2833 (comment)

I have to use type="module" otherwise I can't use import / export

noted: parcel-bundler/parcel#2833 (comment)

I have to use type="module" otherwise I can't use import / export

This is my build script https://github.com/arma7x/greg/blob/master/package.json#L7-L10

i think the problem with type=module is not current in the latest parcel version. which version do you use?
this is my build script: https://github.com/strukturart/greg/blob/mithdril/build.sh

i think the problem with type=module is not current in the latest parcel version. which version do you use? this is my build script: https://github.com/strukturart/greg/blob/mithdril/build.sh

1.12.5. I will upgrade to v2 and then debug this issues

Upgraded to Parcelv2, yarn start & yarn build does not reproduce any errors

this is .babelrc to support async/await for KaiOS device. But i'm not sure why application/manifest.webapp not copy into folder dist

@arma7x Basically, tsdav works now, but it's not entirely clear to me where I should enter the access data from a nextcloud account. the documentation is not very helpful or requires a lot of prior knowledge.

This is the list of supported cloud provider https://tsdav.vercel.app/docs/intro. I need signup a NextCloud account for testing.
Instead of install the library from npm, maybe you should load library via script tag since KaiOS XMLHttpRequest support cors, https://github.com/natelindev/tsdav/blob/master/dist/tsdav.js#L519

tsdav works now

You can connect to NextCloud server ?

@strukturart I can connect to my nextcloud account

@strukturart I can connect to my nextcloud account

can you please show me the snippet how to log in with tsdav.

This is the configuration https://github.com/arma7x/greg/blob/master/application/assets/js/tsdav.js
I'm modified the DAV client https://github.com/arma7x/greg/blob/master/application/assets/js/tsdav.js
I can connect to DAV server but the client unable to parse the response(KaiOS can compile RegExp expression)

@strukturart i send the password to your email(email address on github profile)

thanks now it works with the login. I switched to type: caldav.
https://github.com/strukturart/greg/blob/dafb3f5d4325458a4fa64a0efa8ff6e62e63617c/application/app.js#L21

Successfully connect and fetch calendar event, this is latest update https://github.com/arma7x/greg/commit/f8fd4dd49ccb86dc6eec6ea235f4144dddf95189

Thank you very much, now it works for me too with loading the calendar data.


Unclear on how to use Lua kernel

Environment data

VS Code version: 1.54-insiders
Jupyter Extension version (available under the Extensions sidebar): Version: 2020.12.414227025
Python Extension version (available under the Extensions sidebar): v2021.2.531887795-dev
OS (Windows | Mac | Linux distro) and version: Windows
Python and/or Anaconda version: 3.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Remote (WSL)

Expected behaviour
An UI hint that explains how to use Kernels that are not part of the preconfigured list
Actual behaviour
No hint
Steps to reproduce:

Try to use the iLua kernel

In comparison to the Python interpreter popup, the Jupyter Kernel one does not have an option to add one manually.
Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Thanks for letting us know @Stanzilla.
We only check on specific places to look for kerneles, this is for performance reasons.
So all you need to do to get your lua kernel on VS code is:

Follow the instructions on the link you shared, the lua kernel should be on <your folder>\ilua\~\.local\share\jupyter\kernels
Copy that lua kernel to C:\Users\<user>\AppData\Roaming\jupyter\kernels
Reload VS code

With that the lua kernel should come up on the kernel picker:

I did not have any of your paths, probably because I have the weird Store version of Python. I found C:\Users\Stan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\share\jupyter\kernels\lua though which does have a kernel.json file but it does not show up in VS Code. I should probably install Python normally and not via the Store.

I see, we definitely need to look for those paths. Let me know if that fixes it for you. If that's it, I'll create a new issue to better support the store version.

So I wish I could help more but iLua really does not like to be installed using the non-Store Python so I'm kinda stuck. Should probably still make an issue about supporting the Windows Store install of Python.

I got it to work on the python from the website!
What error are you seeing now? We should be able to get it working.

It fails installing Twisted:
ERROR: Command errored out with exit status 1: 'C:\Users\Stan\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Stan\\AppData\\Local\\Temp\\pip-install-6irluyki\\twisted_5d0f30fb942e45e8a5efc4c4756ed881\\setup.py'"'"'; __file__='"'"'C:\\Users\\Stan\\AppData\\Local\\Temp\\pip-install-6irluyki\\twisted_5d0f30fb942e45e8a5efc4c4756ed881\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Stan\AppData\Local\Temp\pip-record-491wu7y7\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Stan\AppData\Local\Programs\Python\Python39\Include\twisted' Check the logs for full command output.

@Stanzilla maybe that's busted on python 3.9, I have it working on 3.8.5 (I know a million downloads, I hate that too). But this feels close.

Okay, installed 3.8.7 (was the latest for 3.8 on the website) and installed everything again,
copied Lua kernel from C:\Users\Stan\AppData\Local\Programs\Python\Python38\share\jupyter\kernels to C:\Users\Stan\AppData\Roaming\Python\share\jupyter\kernels which made it show up in VSCode. When trying to run the Notebook it timed out while waiting for the Kernel though.
> ~\AppData\Local\Programs\Python\Python38\python.exe c:\Users\Stan\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\pythonFiles\pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> python -m ilua.app -c ~\AppData\Local\Temp\tmp-3064yFUnBAu0q5PM.json
cwd: c:\Users\Stan\Desktop
Error 2021-02-09 20:26:37: Timed out waiting to get a heartbeat from kernel process.
Error 2021-02-09 20:26:37: Failed to connect raw kernel session: Error: Timed out waiting to get a heartbeat from kernel process.
Error 2021-02-09 20:26:37: failed to create INotebook in kernel [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\Stan\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]
Error 2021-02-09 20:26:37: DataScience Error [Error: Timed out waiting to get a heartbeat from kernel process.
	at m.waitForHeartbeat (c:\Users\Stan\.vscode-insiders\extensions\ms-toolsai.jupyter-2020.12.414227025\out\client\extension.js:49:637256)]

Could you try running this on any terminal? python -m ilua.app
That should work by itself, if it doesn't there's something wrong with your installation of lua or ilua. Please share the error if that's the case.

Also, please try this, set this setting: "jupyter.logging.level": "debug" and try to select the kernel normally, then please share the contents of the OUTPUT panel in VS code. That'll give us more info.

Yeah looks like that is the issue:
❯ python -m ilua.app
Traceback (most recent call last):
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\site-packages\ilua\app.py", line 27, in <module>
    main()
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\site-packages\ilua\app.py", line 24, in main
    ILuaApp().run()
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\site-packages\ilua\appbase.py", line 101, in run
    connection_file = ConnectionFile.generate()
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\site-packages\ilua\connection.py", line 57, in generate
    return cls(props)
  File "C:\Users\Stan\AppData\Local\Programs\Python\Python38\lib\site-packages\ilua\connection.py", line 40, in __init__
    os.mkdir(jupyter_runtime_dir(), 0o1700)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Stan\\AppData\\Roaming\\jupyter\\runtime'

That is weird C:\\Users\\Stan\\AppData\\Roaming\\jupyter\\runtime should exist and contain a bunch of kernel connections.
Can you check if it does exist?

There is no jupyter folder in Roaming here

If I remember correctly, that comes from pip install jupyter, just make sure you're using the pip of your new Python 3.8

Doesn't look like it?
 python -m pip install jupyter
Requirement already satisfied: jupyter in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (1.0.0)
Requirement already satisfied: jupyter-console in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (6.2.0)
Requirement already satisfied: ipykernel in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (5.4.3)
Requirement already satisfied: qtconsole in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (5.0.2)
Requirement already satisfied: ipywidgets in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (7.6.3)
Requirement already satisfied: notebook in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (6.2.0)
Requirement already satisfied: nbconvert in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (6.0.7)
Requirement already satisfied: jupyter-client in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipykernel->jupyter) (6.1.11)
Requirement already satisfied: ipython>=5.0.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipykernel->jupyter) (7.20.0)
Requirement already satisfied: tornado>=4.2 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipykernel->jupyter) (6.1)
Requirement already satisfied: traitlets>=4.1.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipykernel->jupyter) (5.0.5)
Requirement already satisfied: backcall in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (0.2.0)
Requirement already satisfied: pickleshare in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (0.7.5)
Requirement already satisfied: jedi>=0.16 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (0.18.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (3.0.14)
Requirement already satisfied: setuptools>=18.5 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (49.2.1)
Requirement already satisfied: decorator in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (4.4.2)
Requirement already satisfied: pygments in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (2.7.4)
Requirement already satisfied: colorama in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipython>=5.0.0->ipykernel->jupyter) (0.4.4)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jedi>=0.16->ipython>=5.0.0->ipykernel->jupyter) (0.8.1)
Requirement already satisfied: wcwidth in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=5.0.0->ipykernel->jupyter) (0.2.5)
Requirement already satisfied: ipython-genutils in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from traitlets>=4.1.0->ipykernel->jupyter) (0.2.0)
Requirement already satisfied: jupyterlab-widgets>=1.0.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipywidgets->jupyter) (1.0.0)
Requirement already satisfied: widgetsnbextension~=3.5.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipywidgets->jupyter) (3.5.1)
Requirement already satisfied: nbformat>=4.2.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from ipywidgets->jupyter) (5.1.2)
Requirement already satisfied: jupyter-core in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbformat>=4.2.0->ipywidgets->jupyter) (4.7.1)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbformat>=4.2.0->ipywidgets->jupyter) (3.2.0)
Requirement already satisfied: six>=1.11.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->jupyter) (1.15.0)
Requirement already satisfied: attrs>=17.4.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->jupyter) (20.3.0)
Requirement already satisfied: pyrsistent>=0.14.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets->jupyter) (0.17.3)
Requirement already satisfied: argon2-cffi in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (20.1.0)
Requirement already satisfied: jinja2 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (2.11.3)
Requirement already satisfied: Send2Trash>=1.5.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (1.5.0)
Requirement already satisfied: pyzmq>=17 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (22.0.2)
Requirement already satisfied: prometheus-client in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (0.9.0)
Requirement already satisfied: terminado>=0.8.3 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (0.9.2)
Requirement already satisfied: python-dateutil>=2.1 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter-client->ipykernel->jupyter) (2.8.1)
Requirement already satisfied: pywin32>=1.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jupyter-core->nbformat>=4.2.0->ipywidgets->jupyter) (300)
Requirement already satisfied: pywinpty>=0.5 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from terminado>=0.8.3->notebook->jupyter) (0.5.7)
Requirement already satisfied: cffi>=1.0.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from argon2-cffi->notebook->jupyter) (1.14.4)
Requirement already satisfied: pycparser in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from cffi>=1.0.0->argon2-cffi->notebook->jupyter) (2.20)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from jinja2->notebook->jupyter) (1.1.1)
Requirement already satisfied: jupyterlab-pygments in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (0.1.2)
Requirement already satisfied: pandocfilters>=1.4.1 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (1.4.3)
Requirement already satisfied: testpath in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (0.4.4)
Requirement already satisfied: mistune<2,>=0.8.1 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (0.8.4)
Requirement already satisfied: entrypoints>=0.2.2 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (0.3)
Requirement already satisfied: bleach in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (3.3.0)
Requirement already satisfied: nbclient<0.6.0,>=0.5.0 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (0.5.2)
Requirement already satisfied: defusedxml in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbconvert->jupyter) (0.6.0)
Requirement already satisfied: async-generator in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->jupyter) (1.10)
Requirement already satisfied: nest-asyncio in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->jupyter) (1.5.1)
Requirement already satisfied: webencodings in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from bleach->nbconvert->jupyter) (0.5.1)
Requirement already satisfied: packaging in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from bleach->nbconvert->jupyter) (20.9)
Requirement already satisfied: pyparsing>=2.0.2 in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from packaging->bleach->nbconvert->jupyter) (2.4.7)
Requirement already satisfied: qtpy in c:\users\stan\appdata\local\programs\python\python38\lib\site-packages (from qtconsole->jupyter) (1.9.0)

Closing as this issue seems like an installation problem of lua itself and not an issue with the jupyter extension.


[SUGGESTION] Full Auto-Anvil

Industrial Foregoing Version: Any
TeslaCoreLib Version: Any
Crashlog (If Any): N/A
A while back as a small 1.7.10 test mod I made a 'full' auto-anvil machine with the ability to rename items and repair them as well as applying and combining enchantments. I was planning to upgrade and release this as an add-on for IF in 1.12, but was wondering if instead people would be interested in this just becoming a part of regular IF in place of the Enchantment Applicator?
A full breakdown of the machine's behavior is as follows:

Emulation of all conventional anvil functions including combining enchantments on books and weapons, repairing items, and renaming.
In place of player levels, consumed Essence as defined by a table in the configuration file going up to Level 30. Will likely change this to a flat multiplier for Essence per level, as well as a similar multiplier for consuming power.
Had an additional slot which would only accept vanilla anvils, and required one to be present for the machine to work. Every operation had a chance to increase the damage on the anvil and eventually destroy it. This chance was adjustable by a config value.
There were also config values determining whether to:

apply the 'prior work' effect to items worked in the device.
add incompatible enchantments when combining enchantments
add enchantments not normally applicable to the item
rename for free

That would be great because there are not many full auto anvil mods

:wave: Sorry but Industrial Foregoing has ended support for version 1.12. I'm closing this issue as it will no longer be updated for that version. Thanks for playing with the mod.


top 5

[x] a member should only be displayed once

[ ] Check for Junior or senior

[ ] only display times for competitive members

You can use the getter introduced in this PR https://github.com/MathiasReker/Delfinen/pull/73/files, like: member.getAgeGroup().equals(AgeGroupType.JUNIOR.name())


Fixing a path bug in reporting logic

Codecov Report

Merging #2833 (4a52271) into master (35be064) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2833   +/-   ##
=======================================
  Coverage   27.17%   27.17%
=======================================
  Files          99       99
  Lines       31988    31988
=======================================
  Hits         8693     8693
  Misses      23295    23295

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 35be064...4a52271. Read the comment docs.


#74 make a proper demo

Early iteration of the demo. Would appreciate feedback!

Maybe printing the confounds shape along with their values would make it easier to see the difference between the flexible strategy and the pre-defined one.
Also I believe Pierre had the idea of plotting a second correlation matrix computed without regressing the confounds, to stress their importance.

@all-contributors add @m-w-w for doc

@all-contributors add @FrancoisPgm for review

LGTM.


Update the definition of water

Description of the issue
The class water (OEO:00000441) is currently based on Wikipedia defined as Water is a portion of matter that is transparent, tasteless, odorless, and nearly colorless, which is the main constituent of Earth's hydrosphere, and the fluids of most living organisms. It is vital for all known forms of life, even though it provides no calories or organic nutrients. Its chemical formula is H2O, meaning that each of its molecules contains one oxygen and two hydrogen atoms, connected by covalent bonds. Water is the name of the liquid state of H2O at standard ambient temperature and pressure.
This definition is very long and contains a lot of information that is irrelevant for our domain (e.g. the nutrients part). But more importantly, the definition does not match the axiom 'has normal state of matter' value liquid the class has. Additionally in issue #679 / pull request #682 we add a special subclass for liquid water.
Ideas of solution
We defined other chemical substances (e.g. carbon dioxide, hydrogen and methane) based on their chemical formula and their normal state of matter. We could do here the same:
Water is a portion of matter with the chemical formula H2O. It has a liquid normal state of matter.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

I agree with the proposed definition. If there are no objections, this sould also be implemented soon, i.e. before the next release.

Ok, I'll implement.


JavaScript

Create variables to coincide with the HTML elements that we're targeting.
2 of the variables will be API keys

We successfully linked the 1st API from omdb. Now need to filter the data and use that to create elements on summary.html
Also still need to link 2nd API to display which streaming platform the show can be watched on

Both APIs are fully functional and displaying data for movies.


Onboarding pages

User story
As a user, I want to create a profile to connect with potential collaborators and share my skills and project interests.
Tasks

Create a login page
Create a registration page
Integrate API for Login and Register page

@devvspaces assign this task to me as well as #19


await for async jest config

Summary
Currently jest cli require the dynamic config module synchronously, this PR enables loading jest config module async.
Test plan
Tested project using yarn test - got some issues not related to my change:
/jest/packages/jest-haste-map/src/lib/FSEventsWatcher.ts
14:1  error  Unused eslint-disable directive (no problems were reported)
/jest/packages/jest-transform/src/ScriptTransformer.ts
578:3  warning  Arrow function expected no return value  consistent-return
594:3  warning  Arrow function expected no return value  consistent-return

In addition created a tiny project and tested the async config module using yarn link - no issues were observed.

You can run tests with yarn jest, looks like there are a few failing.
Can you give me an example of how this is used and also update documentation with that as well?

@scotthovestadt thanks

I run yarn test the falling tests indeed show up.
Updated the contribution section.
Updated the configuration section.

I added an example of such use is in the docs section, here a more advanced section:
import * as request from 'request-promise';
export async ()=>{
  return await request('http://some-remote')
}

Basically for my use cases, I found a way to do it synchronically, I think it would be much  nicer to do it async.

+1 for breaking, put it in a major 😅

@SimenB I didn't notice any integration test for current implementation, do you have an idea how to mock this scenario?
Thanks in advance!

This is a really small breaking change, so we can land it in 25. @hisco could you rebase on master?

@SimenB I did, unfortunately it's completely broken:
Latest commit broke it (6bd4e560e288b515ebdf8325f6219522f538dbec)
At commit 8d0b5e2234d378920eb87112933c5c03016fb98e everything was working properly.

@hisco sorry, I missed your answer, then completely forgot about this 😬
I made readConfig async as part of support jest.config.mjs in #9431, so most of the changes in this PR are already on master. It should be a matter of invoking the function after loading in packages/jest-config/src/readConfigFileAndSetRootDir.ts and adding a test plus updating docs. Are you up for finishing this, by any chance?

@hisco ping 🙂

It seems that most of my changes are already in master I don't think it's a result of a merge with my code so I won't take the credit...
The only thing missing was the docs, please use #10001 instead it's a much cleaner branch.


allow a simpler syntax for using a builder on detached nodes

rather than
node = nil
Nokogiri::XML::Builder.with(document.root) do |xml|
xml.element do |xml|
node = xml.parent
xml.parent.unlink
end
end
you can just do
node = Nokogiri::XML::Builder.detached(document) do |xml|
xml.element
end

@flavorjones is this PR reasonable? If so, I'll continue to be patient waiting for review. If not, I'll use the existing API that's just not as simple.

Hi,
Historically we've been hesitant to adopt new API synonyms or shortcuts. That said, I'd like to better understand what you're using this syntax for.
Can you explain a bit about why you want to use builder to create a detached node? Your test case simply appends the nodes back into the document, thereby not revealing your intent.

Sure. At https://github.com/instructure/ruby-saml2/blob/master/lib/saml2/assertion.rb#L12 I'm serializing just the Assertion of a SAML Response, because it gets signed (and not the whole document). By creating it detached, I'm able to do that signature cleanly, without requiring the user of the library to serialize the entire response first.
Note that for now, I've worked around the lack of this method by just creating the assertion on a separate document, and then when it's added to the entire Response, it gets put on a separate document. I've been unable to find any documentation if that is okay (both Nokogiri or libxml2).(https://github.com/instructure/ruby-saml2/commit/871b0c4eece0ebc1db9b48a120c2cfce5cf52895 is the commit that changed it from using detached to moving the node between documents). As it currently is seems to work, but the assertion's document method continues to return the old document, and I'm worried about memory management/segfault problems.

Sorry for being slow to respond. I'm afraid I still don't understand what the compelling use case is for this new method.
Builder creates a document. If you'd like to reference a node or a subtree of that document for some purpose, you can reference it directly using XPath or CSS queries (or by traversing the tree yourself). If necessary, you can also then reparent (or unparent) the node or subtree.
Does the previous paragraph make sense? Have I misunderstood the intent of this PR?

The intent is I already have a document (not a builder), and I want to use a builder to add more nodes to just a piece of that document.  The current workaround is to use a builder to create a new document, and then detach it and attach it into the final document where it goes. It's just extra steps, and given nokogiri's history of memory management issues, especially having to do with reparenting of nodes, I'd like to avoid it and just build the new nodes where they belong in the first place.

@ccutrer I see what you did there with FUD around reparenting nodes. If you don't trust Nokogiri, perhaps take a look at the regression test suite we have around reparenting nodes. Just for starters:

https://github.com/sparklemotion/nokogiri/blob/master/test/xml/test_node_reparenting.rb
https://github.com/sparklemotion/nokogiri/blob/master/test/xml/test_unparented_node.rb

There are more tests interleaved in individual test files, as well.
It's easy to say "given the history of X" when the project in question has been around since 2008 and has had 126 distinct releases. Nokogiri's memory management is rock solid right now, and we pay immediate attention to anyone providing specifics to the contrary. So please, let's focus on your use case.

I'm afraid I still don't understand your use case, as what you're explaining above appears to be different from the explanation in the initial comment; and the test case is unilluminating.
If you have a Document, and you want to add nodes to it with Builder, then you can already do that, as you explained in the original comment:
#! /usr/bin/env ruby

require 'nokogiri'

doc = Nokogiri::XML "<root><containers></containers></root>"

Nokogiri::XML::Builder.with(doc.at_css("containers")) do |xml|
  xml.container "container_id" => 1
  xml.container "container_id" => 2
end

puts doc.to_xml
# => <?xml version="1.0"?>
#    <root>
#      <containers>
#        <container container_id="1"/>
#        <container container_id="2"/>
#      </containers>
#    </root>

Help me understand how the above code doesn't meet your requirement already?

Honestly, I don't remember why it was such a pain before. It's been so long, that I just worked around it with a less than ideal implementation, and forgot about this PR. And I promise I'm not trying to spread FUD. To be fair, the big pain in recent memory was the fault of https://github.com/xml4r/libxml-ruby interacting badly with Nokogiri (and we chose to convert all of our libraries to use Nokogiri, instead of libxml-ruby). But https://github.com/sparklemotion/nokogiri/pull/1327 is one instance of crashes caused by Nokogiri. Given that I have no intention of going back to change my code to the old design anymore, we can just close this PR.


⚠ Bofrost.lu has degraded performance

In ade452e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1136 ms

Resolved: Bofrost.lu performance has improved in 7036866 after 24 minutes.


Doesn't work in phone device

RN: 0.41.2
Android: 6.0.1 - 25.0.2
i played my background video in AVD(Amulater) but not work in my phone, Galaxy 6 .
but i can listen video sounds but can't see.
what happen??

Emulators often don't properly implement components of Android’s media stack, try with a real device.
https://google.github.io/ExoPlayer/faqs.html

@JunhyeokHeo try setting a height and width to your video. Same thing happened to me at first.


[Device Support Request] TZ3000_xkap8wtb

Is your feature request related to a problem? Please describe.
The device; TZ3000_xkap8wtb, is reported under the domain "LIGHT". Also the device turns off if the signal to the associated mesh is too weak.  The device is a wall switch WITH power metering.
Describe the solution you'd like
The correct device description has already been created
https://pullanswer.com/questions/tz3000_xkap8wtb-paired-as-ts0001#7107603

Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0100",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0702",
        "0x0b04",
        "0xe000",
        "0xe001"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZ3000_xkap8wtb",
  "model": "TS0001",
  "class": "zhaquirks.tuya.ts000x.Switch_1G_Metering"
}

Diagnostic information
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.11.1",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Stockholm",
    "os_name": "Linux",
    "os_version": "5.15.61-v8",
    "supervisor": "2022.10.2",
    "host_os": "Home Assistant OS 9.3",
    "docker_version": "20.10.18",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "fontawesome": {
      "version": "2.1.5",
      "requirements": []
    },
    "adaptive_lighting": {
      "version": "1.1.0",
      "requirements": []
    },
    "waste_collection_schedule": {
      "version": "1.27.0",
      "requirements": [
        "icalendar",
        "recurring_ical_events",
        "icalevents",
        "bs4"
      ]
    },
    "webrtc": {
      "version": "v2.3.1",
      "requirements": []
    },
    "mikrotik_router": {
      "version": "0.0.0",
      "requirements": [
        "librouteros>=3.2.0",
        "mac-vendor-lookup>=0.1.12"
      ]
    },
    "browser_mod": {
      "version": "2.1.2",
      "requirements": []
    },
    "zha_toolkit": {
      "version": "v0.8.23",
      "requirements": [
        "packaging>=20.8"
      ]
    },
    "hacs": {
      "version": "1.28.3",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "nordpool": {
      "version": "0.0.7",
      "requirements": [
        "nordpool>=0.2"
      ]
    },
    "swemail": {
      "version": "1.0.4",
      "requirements": []
    },
    "garbage_collection": {
      "version": "4.8.3",
      "requirements": [
        "python-dateutil>=2.8.2"
      ]
    },
    "wiz_light": {
      "version": "0.4.1",
      "requirements": [
        "pywizlight==0.4.6"
      ]
    },
    "eufy_security": {
      "version": "2.8.1",
      "requirements": [
        "websocket-client==1.1.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.34.2",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.84",
      "zigpy-deconz==0.19.0",
      "zigpy==0.51.5",
      "zigpy-xbee==0.16.2",
      "zigpy-zigate==0.10.3",
      "zigpy-znp==0.9.1"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      }
    ],
    "dependencies": [
      "file_upload"
    ],
    "after_dependencies": [
      "onboarding",
      "usb",
      "zeroconf"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 20496,
    "manufacturer": "_TZ3000_xkap8wtb",
    "model": "TS0001",
    "name": "_TZ3000_xkap8wtb TS0001",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.tuya.ts000x.Switch_1G_Metering",
    "manufacturer_code": 4417,
    "power_source": "Mains",
    "lqi": 87,
    "rssi": -83,
    "last_seen": "2022-11-07T18:17:16",
    "available": true,
    "device_type": "Router",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0100",
          "in_clusters": [
            "0x0000",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0x0702",
            "0x0b04",
            "0xe000",
            "0xe001"
          ],
          "out_clusters": [
            "0x000a",
            "0x0019"
          ]
        }
      }
    },
    "active_coordinator": false,
    "entities": [
      {
        "entity_id": "button.tz3000_xkap8wtb_ts0001_identifybutton_2",
        "name": "_TZ3000_xkap8wtb TS0001"
      },
      {
        "entity_id": "select.eluttag_diskmaskin_power_on_state",
        "name": "_TZ3000_xkap8wtb TS0001"
      },
      {
        "entity_id": "sensor.eluttag_diskmaskin_current_power",
        "name": "_TZ3000_xkap8wtb TS0001"
      },
      {
        "entity_id": "sensor.tz3000_xkap8wtb_ts0001_electricalmeasurementrmscurrent_2",
        "name": "_TZ3000_xkap8wtb TS0001"
      },
      {
        "entity_id": "sensor.tz3000_xkap8wtb_ts0001_electricalmeasurementrmsvoltage_2",
        "name": "_TZ3000_xkap8wtb TS0001"
      },
      {
        "entity_id": "sensor.tz3000_xkap8wtb_ts0001_electricalmeasurementpowerfactor_2",
        "name": "_TZ3000_xkap8wtb TS0001"
      },
      {
        "entity_id": "switch.eluttag_diskmaskin",
        "name": "_TZ3000_xkap8wtb TS0001"
      }
    ],
    "neighbors": [
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Parent",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x65DA",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "42"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD3C7",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "42"
      },
      {
        "device_type": "Coordinator",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x0000",
        "permit_joining": "Unknown",
        "depth": "0",
        "lqi": "9"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x0C7F",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "54"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xD21C",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "24"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0x29DD",
        "permit_joining": "Unknown",
        "depth": "2",
        "lqi": "21"
      },
      {
        "device_type": "Router",
        "rx_on_when_idle": "On",
        "relationship": "Sibling",
        "extended_pan_id": "**REDACTED**",
        "ieee": "**REDACTED**",
        "nwk": "0xE240",
        "permit_joining": "Unknown",
        "depth": "1",
        "lqi": "0"
      }
    ],
    "endpoint_names": [
      {
        "name": "ON_OFF_LIGHT"
      }
    ],
    "user_given_name": "Eluttag diskmaskin",
    "device_reg_id": "aa41c247bc59f8390e1271ca5de671d4",
    "area_id": "kok",
    "cluster_details": {
      "1": {
        "device_type": {
          "name": "ON_OFF_LIGHT",
          "id": 256
        },
        "profile_id": 260,
        "in_clusters": {
          "0x0000": {
            "endpoint_attribute": "basic",
            "attributes": {
              "0x0001": {
                "attribute_name": "app_version",
                "value": 70
              },
              "0x0004": {
                "attribute_name": "manufacturer",
                "value": "_TZ3000_xkap8wtb"
              },
              "0x0005": {
                "attribute_name": "model",
                "value": "TS0001"
              },
              "0x0006": {
                "attribute_name": "date_code",
                "value": ""
              },
              "0x0007": {
                "attribute_name": "power_source",
                "value": 1
              },
              "0xfffd": {
                "attribute_name": "cluster_revision",
                "value": 2
              },
              "0xfffe": {
                "attribute_name": "attr_reporting_status",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x0012": {
                "attribute_name": "device_enabled"
              },
              "0x0013": {
                "attribute_name": "alarm_mask"
              }
            }
          },
          "0x0003": {
            "endpoint_attribute": "identify",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0004": {
            "endpoint_attribute": "groups",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0005": {
            "endpoint_attribute": "scenes",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0006": {
            "endpoint_attribute": "on_off",
            "attributes": {
              "0x0000": {
                "attribute_name": "on_off",
                "value": 1
              },
              "0x4001": {
                "attribute_name": "on_time",
                "value": 0
              },
              "0x4002": {
                "attribute_name": "off_wait_time",
                "value": 0
              },
              "0x8001": {
                "attribute_name": "backlight_mode",
                "value": 1
              },
              "0x8002": {
                "attribute_name": "power_on_state",
                "value": 1
              }
            },
            "unsupported_attributes": {
              "0x4003": {
                "attribute_name": "start_up_on_off"
              },
              "0x8004": {
                "attribute_name": "switch_mode"
              },
              "0xfffe": {
                "attribute_name": "attr_reporting_status"
              }
            }
          },
          "0x0702": {
            "endpoint_attribute": "smartenergy_metering",
            "attributes": {
              "0x0000": {
                "attribute_name": "current_summ_delivered",
                "value": 1581
              },
              "0x0200": {
                "attribute_name": "status",
                "value": 0
              },
              "0x0300": {
                "attribute_name": "unit_of_measure",
                "value": 0
              },
              "0x0303": {
                "attribute_name": "summation_formatting",
                "value": 0
              },
              "0x0306": {
                "attribute_name": "metering_device_type",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x0400": {
                "attribute_name": "instantaneous_demand"
              },
              "0x0301": {
                "attribute_name": "multiplier"
              },
              "0x0302": {
                "attribute_name": "divisor"
              },
              "0x0304": {
                "attribute_name": "demand_formatting"
              },
              "0x0202": {
                "attribute_name": "hours_in_operation"
              },
              "0x0206": {
                "attribute_name": "current_meter_id"
              }
            }
          },
          "0x0b04": {
            "endpoint_attribute": "electrical_measurement",
            "attributes": {
              "0x0505": {
                "attribute_name": "rms_voltage",
                "value": 232
              },
              "0x0508": {
                "attribute_name": "rms_current",
                "value": 0
              },
              "0x050b": {
                "attribute_name": "active_power",
                "value": 0
              }
            },
            "unsupported_attributes": {
              "0x0300": {
                "attribute_name": "ac_frequency"
              },
              "0x0601": {
                "attribute_name": "ac_voltage_divisor"
              },
              "0x0302": {
                "attribute_name": "ac_frequency_max"
              },
              "0x0603": {
                "attribute_name": "ac_current_divisor"
              },
              "0x0602": {
                "attribute_name": "ac_current_multiplier"
              },
              "0x0605": {
                "attribute_name": "ac_power_divisor"
              },
              "0x0604": {
                "attribute_name": "ac_power_multiplier"
              },
              "0x0507": {
                "attribute_name": "rms_voltage_max"
              },
              "0x0600": {
                "attribute_name": "ac_voltage_multiplier"
              },
              "0x0401": {
                "attribute_name": "ac_frequency_divisor"
              },
              "0x050a": {
                "attribute_name": "rms_current_max"
              },
              "0x0000": {
                "attribute_name": "measurement_type"
              },
              "0x050d": {
                "attribute_name": "active_power_max"
              },
              "0x0402": {
                "attribute_name": "power_multiplier"
              },
              "0x050f": {
                "attribute_name": "apparent_power"
              },
              "0x0400": {
                "attribute_name": "ac_frequency_multiplier"
              },
              "0x0403": {
                "attribute_name": "power_divisor"
              }
            }
          },
          "0xe000": {
            "endpoint_attribute": "tuya_is_pita_0",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0xe001": {
            "endpoint_attribute": "tuya_external_switch_type",
            "attributes": {
              "0xd030": {
                "attribute_name": "external_switch_type",
                "value": 0
              }
            },
            "unsupported_attributes": {}
          }
        },
        "out_clusters": {
          "0x000a": {
            "endpoint_attribute": "time",
            "attributes": {},
            "unsupported_attributes": {}
          },
          "0x0019": {
            "endpoint_attribute": "ota",
            "attributes": {},
            "unsupported_attributes": {}
          }
        }
      }
    }
  }
}

Additional logs
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;

const definition =     {
    fingerprint: [{modelID: 'TS0001', manufacturerName: '_TZ3000_xkap8wtb'}],
    model: 'TS0001_power',
    description: 'Relay with power monitoring',
    vendor: 'TuYa',
    fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report],
    toZigbee: [tz.on_off],
    configure: async (device, coordinatorEndpoint, logger) => {
        const endpoint = device.getEndpoint(1);
        await endpoint.read('genBasic', ['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
        await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
        await reporting.rmsVoltage(endpoint, {change: 5});
        await reporting.rmsCurrent(endpoint, {change: 50});
        await reporting.activePower(endpoint, {change: 10});
        await reporting.currentSummDelivered(endpoint);
        endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {acCurrentDivisor: 1000, acCurrentMultiplier: 1});
        endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1});
        device.save();
    },
    exposes: [e.switch(), e.power(), e.current(), e.voltage().withAccess(ea.STATE)],
};

module.exports = definition;

save this as file next to configuration.yaml as ext_converter.js
add it to configuration.yaml:
external_converters:
  - ext_converter.js
start z2m, check if issue is fixed```

</details>

**Additional context**

I am not in any way shape or form accustomed to debugging zigbee devices, but I'll do my best to help out with anything, just as long as You help me with describing what I should do... I'm currently running HA on RPi4, and using a Conbee 2 as coordinator. I have a bunch of zigbee devices, and this (and one similar) is really bugging me out.

This thread also talks about some sort of sollution
https://github.com/Koenkk/zigbee2mqtt/discussions/14214?notification_referrer_id=NT_kwDOADPbwrI0NDg3MDAyMjU4OjMzOTg1OTQ#discussioncomment-3829787

This thread also talks about some sort of sollution

The thread explains how update the device firmware. This can't be done in ZHA (not yet) and will require a Tuya gateway to update the firmware (if there is some firmware update available, I don't know).
There is a full discussion about that issue:

https://github.com/Koenkk/zigbee2mqtt/discussions/13343

Reading above it seems that there is a design problem that with a firmware update may or may not be solved (this part is not clear to me).
In any case, it doesn't seem to be a problem that can be fixed with a quirk.

The device defaults to domain LIGHT but it should default to domain SWITCH.
I also think (haven't checked this entirely yet) that one or two "accumulated power consumption" 'entities'/reported values are wrong by a factor of 10.
manufacturer: _TZ3000_xkap8wtb,
model: TS0001
name: _TZ3000_xkap8wtb TS0001

Has power metering.
Is getting random "turned off" events.
2022-11-10_zha-e56ec98032982a689e88dc2163f8471d-_TZ3000_xkap8wtb TS0001-b1c9c9ad351532cfe672157b7eda0f36.json.txt

The same as the no power metering device plus if its getting to much voltage its shutting down it self for protecting the equipment. Also some is reporting zero in voltage in the voltage readings little now and then.
Pleas config debut logging in (Z)HA and post the log part then you is getting the unwanted turned offs.
Can you posting  the complete or the firs 6 numbers of the device IEEE (you finding it under device info on the device card) then im curious with chip tuya is using for this device.

Device _TZ3000_xkap8wtb WITH power metering.
Constantly turning off.
TS0001
by _TZ3000_rmjr4ufz
Connected via [Zigbee Coordinator](http://<IP_ADDRESS>:8123/config/devices/device/7b84426a50a9c164cf76c0b0f8c7f856)
Zigbee info
IEEE: a4:c1:38:dd:a5:6f:3d:07
Nwk: 0xd3c7
Device Type: Router
LQI: 223
RSSI: -66
Last Seen: 2022-11-10T15:58:12
Power Source: Mains
Quirk: zhaquirks.tuya.ts000x.Switch_1G_Metering

I have the latest update fw

I think you is having one bad device that is having firmware problems.
One issue that  is converted to one discussion https://github.com/Koenkk/zigbee2mqtt/issues/11648 and all devices is having Telink chips.
You can testing if your device can being updated with the firmware in the issue but on own risk.


Translations update from Translate H5P

Translations update from Translate H5P for H5P/h5p-crossword.
Current translation status:

I did, all pt-BR.json files are now lowercase.

Perfect, thanks!


Fix Strategy that report 0

Issue
in the strategy contract deployed for 0x444B860128B7Bf8C0e864bDc3b7a36a940db7D88
I was doing some task for the badger analytics tasks, and I went dig into the logic of a strategy and spotted a bug, which it is not allowing the strategy to grab properly the performance fee
while calling the harvest method
https://etherscan.io/address/0x8b60386a978dfc3241e9112db3ea009331838846#code#L1524
The problem is on that line
it should be instead harvestData.wantProcessed
that is why in all the majority of harvest tx I have inspected the performance fee deposited to governance or strategist is zero
Here an example:
https://etherscan.io/tx/0x9b5ff82c8d8a40c3e35ba39e73cb7063e38574aa2e58530ef7648450706ae4a0
You can see that in that case nothing is send as performance fee from this product
while it should be instead 0.05430035950013234  crvRenWBTC for the strategist and also for the governance
in this particular tx
Also this was one of the events emitted, where it printed 0 also due to the mentioned above
native.renCrv": "0x444B860128B7Bf8C0e864bDc3b7a36a940db7D88",
"native.sbtcCrv": "0x3Efc97A8e23f463e71Bf28Eb19690d097797eb17",
"native.tbtcCrv": "0xE2fA197eAA5C726426003074147a08beaA59403B",

See: https://github.com/GalloDaSballo/badger-system/tree/feat-upgrade-crv-strats
For feedback on direction

Almost done with upgrade script + new testing + refactoring of single strat testign


fix(keybinds):  Ctrl+n and Ctrl+p in cmdline

No, the previous conditions were not strict, and problems arose when the order was changed this time.


Missing attribute "Locked=true" on locked labels

There are several labels caption properties that have an associated comment of "{locked}" but do not have the attribute "locked=true" set.
By that a developer would think about having to translate this nodes.
Attached you can find a list of this nodes.
In order to reproduce you can simply do a search for "{locked}" within your VS-Code project.
Expected behaviour: Every locked label should contain the attribute "locked=true".
Missing_Locked_Attribute.xlsx
Versions:

AL Language: 4.0.199169
Business Central: 15.0.36560.0-de

Thank you! I will forward this to our localization team.

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 10527.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 10527.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/


Location Issue with VS code  extension

Repro steps:

Action: appService.Deploy
Error type: MissingRegistrationForLocation
Error Message: The subscription is not registered for the resource type 'components' in the location 'southindia'. Please re-register for this provider in order to have access to this location.
Version: 0.16.1
OS: darwin
Product: Visual Studio Code
Product Version: 1.40.2
Language: en

Call Stack
extension.bundle.js:218:877988
s extension.bundle.js:218:111699
s extension.bundle.js:157:26069
extension.bundle.js:157:27311
o extension.bundle.js:164:7075
extension.bundle.js:157:24982
$._callback extension.bundle.js:1:576689
$.t._callback.t.callback.t.callback extension.bundle.js:194:5449
$.emit events.js:200:13
$.<anonymous> extension.bundle.js:194:18309
$.emit events.js:205:15
IncomingMessage.<anonymous> extension.bundle.js:194:17141
Object.onceWrapper events.js:288:20
IncomingMessage.emit events.js:205:15
endReadableNT _stream_readable.js:1154:12
processTicksAndRejections task_queues.js:84:9

Hi @a3-debasishdas
Could you try creating the app with Advanced Create and hit Skip for now when prompted for the Application Insights component?  I think that might be related to your issue.


[KRAKEN] incorrect ZERO check in KrakenAccountService::getAccountInfo()

Zero-check fix is incorrect and leads to java.lang.ArithmeticException: Division undefined
java.lang.ArithmeticException: Division undefined
    at java.math.BigDecimal.divide(BigDecimal.java:1744)
    at org.knowm.xchange.kraken.service.KrakenAccountService.getAccountInfo(KrakenAccountService.java:53)

Current fix: https://github.com/knowm/XChange/commit/cd06a9a195c641615548c71cbe92832ae20855c8
Explanation:
https://stackoverflow.com/questions/10950914/how-to-check-if-bigdecimal-variable-0-in-java

@makarid

Hello, did i create this bug?

As i see, this happens when the account has zero funds in it. It is an easy fix can you please make this PR because right now i don't have the time to do it?

@makarid Sorry, wrong commit link. Right is:
https://github.com/knowm/XChange/commit/4544e972e8a660dd71931fe1f6598a0150317441#diff-a69d46b8f4687e2f9cef8dd26f194d84

@makarid Sorry, wrong commit link. Right is:
4544e97#diff-a69d46b8f4687e2f9cef8dd26f194d84

OK, i forgot to put the check to currentLeverage field.

So, you fix it?

Not yet, seems like issue is not urgent. Will do PR little bit later.

So, you fix it?

Not yet, seems like issue is not urgent. Will do PR little bit later.

Great, thanks!

@makarid I'm not familiar with github and known/XChange PR procedure. Did I submit PR correctly?

yes you need to make a pull request to the original repository

yes you need to make a pull request to the original repository

Thanks, got it!


Implementation for Multivariate Time Series Data

Is it possible to use SHAP for multivariate time series classification examples? For example when we FCN model with multivariate data.
Thank you
Your Response will be highly appreciated

I am interested to know too whether multivariate time series data is supported. Specifically, I am working on a time-series classification where the data is of the shape (samples, sequences, features).

I am interested to know too whether multivariate time series data is supported. Specifically, I am working on a time-series classification where the data is of the shape (samples, sequences, features).

same question. Have you solve it yet :)

@Jichen66 Nope, I was not able to solve it.

There is a fork and pull request from Texas A&M that modified PartitionExplainer to allow for channel-wise partitioning of images. It should be possible to modify this to work with times series.
I am hoping to investigate this early next month and will let  you know if I have any success.

That would be a major achievement. Thanks for time/effort.


How to implement neuroCombat for voxel-wise data?

Hey Jean-Philippe,
thanks for the nice and helpful software! :) I have successfully used neuroCombat for Desikan-Killiany ROIs already, but I was trying to extend the analysis to voxel-wise data. However, the doc says that dat has to be of shape = (features, samples) e.g. cortical thickness measurements, image voxels. How do I put 3D voxel information into 1 dimension? How can I input voxel-wise data per subject into neuroCombat?
Best, Melissa

@Melissa1909 Assuming your images are registered to a common template, you could simply transform for each image the 3d array of voxel intensities into a long 1d vector by concatenating the slides. That way you get one long vector per image, and you can create a matrix where each column is one image. Then you can apply neuroCombat on the matrix,, and transform back each harmonized column into a 3d array with the original dimensions. We don't provide code to do that, but there are plenty of examples out there that explain how to convert a 3d array into a 1d vector in python.


Drawer width in edge & IE11 browser

I have a problem with drawer width in edge browser.
If I change the scss variable $al-drawer-width,  in edge & IE11 browsers the width doesn't change (is always 256px), but the right margin is true, so if the  $al-drawer-width is smaller than 256px the right part of content is lost.
I have some attachments to demonstrate differents both edge and chrome, with same css settings.

Bug is confirmed and fixed

I am sorry, but is doesn't work

Try this:
[persistent].app-drawer-1 {
width: $al-drawer-width;
}
.app-bar-application-content {
left: $al-drawer-width;
}

And this, for responsivity
@media only screen and (max-width : 641px) {
.app-bar-application-content {
left: 0 !important
}
}

😞

What did I miss?


Add erase method to HashTable

Adds erase to HashTable for use in spilling selected groups from a
group by hash table.
A deleted entry is marked by a tombstone in the tags. This counts as
occupied for probing and as empty for inserting.

OK, will do.

Replaced with #292


Url has no target

The urn of the shortenercontroller has no target https://github.com/lmivan/grails-url-shortener/blob/master/grails-app/controllers/net/kaleidos/shortener/ShorternerController.groovy

I'm sorry but I don't really understand your question. What is missing in this file?
https://github.com/lmivan/grails-url-shortener/blob/master/grails-app/controllers/net/kaleidos/shortener/ShortenerController.groovy

The link above is from your readme page and points to nowhere.

Oh, I see. I've fixed the link.
Thank you very much :-)


Closes #989 Implement derive_var_trtemfl()

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

@millerg23 , good point! Maybe we should ignore the time part for the end condition.
I.e.,
end_cond <- expr(is.na(!!trt_end_date) | date(!!start_date) <= date(!!trt_end_date) + days(end_window))

What do you think?

Yeah I think that makes sense, I am wondering if we have added any other time windows in days in {admiral}. Would be good to be consistent.

@millerg23 , I think the only other function which uses a time window in days is derive_var_ontrtfl() (I hope I did not miss any). There we have the same issue, i.e., conditions like !!start_date <= (!!ref_end_date + days(!!ref_end_window)) are used. Should we update derive_var_ontrtfl() as well or should we discuss on Wednesday first?

I think a short discussion on Wednesday is warranted to get everyone on the same page.

Thanks, I have added it to the agenda.

@millerg23 , I have added the argument for ignoring the time.

@rossfarrugia , no problem. I have restored the branch and will create a new PR to address your comments.


Add extensions for model DocBlocks

Summary
Add ability to customize the model DocBlocks by registering invokable custom model extensions.
Before completing the checklist, is there any chance of this feature being merged in the future?
It will help us a lot for generating complete model DocBlocks.
Type of change

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

Checklist

[ ] Existing tests have been adapted and/or new tests have been added
[ ] Add a CHANGELOG.md entry
[ ] Update the README.md
[ ] Code style has been fixed via composer fix-style

Usage
    /*
    |--------------------------------------------------------------------------
    | Model extensions
    |--------------------------------------------------------------------------
    |
    | Add ability to write invokable extensions for model DocBlocks.
    |
    */
    'model_extensions' => [
        \App\Support\IdeHelper\Paperclip::class,
    ],

class Paperclip
{
    public function __invoke(Model $model, ModelsCommand $modelsCommand): void
    {
        if (! $model instanceof AttachableInterface) {
            return;
        }

        foreach ($model->getAttachedFiles() as $index => $attachment) {
            $modelsCommand->setProperty($index, Attachment::class, true, true, '', true);
        }
    }
}

It ticks the "looks useful and has a simple implementation"-checkmark for me and it seems on a conceptional level it competes with https://github.com/barryvdh/laravel-ide-helper/pull/945 , where I had quite some reservation.
They did not really change but…
People seem to love / require this feature 😏
Funnily, before I checked for the other PR I was already wondering if it isn't better to move it to the end, to be able to to see the final state and mutate it:

Which the other PR in fact does.

TL;DR: from a technical point I prefer the other PR:

"hook" is at the end"
we've an interface (which I prefer, __invoke seems to implicit for no good technical reason?)

well and the other PR actually seems finished with tests and we just failed to gather final feedback 😞

@mfn Thank you for the feedback.
My bad for not checking out the outstanding PRs, like #945.
That seems to do just what the people in this PR need.
So with that one being close to being merged, I see no more reason for this PR at this moment.

FTR I approved the other PR https://github.com/barryvdh/laravel-ide-helper/pull/945#pullrequestreview-610817237

With #945 merged, this MR can be closed! Thank you.

Oh right, still thanks for your PR @Miljoen !


feat: add magic typed list

Context
allow to do this

from docarray.array.array.typed_sequence import TypedList

class A:
    def __init__(self, param = None):
        self.param = param

    def f(self):
        return None

    def g(self):
        return 'is this really working ?'

data = TypedList[A]([A(param=1) for _ in range(3)])

data.f()
>>> [None, None, None]

data.g()

>>> ['is this really working ?', 'is this really working ?', 'is this really working ?']

data.param

>>> [1, 1, 1]

Intended usecase
da.tensor = da.url.load()

# or

da.bytes_ = da.tensor.to_bytes()

# instead of

da.tensor = [item for item in da.url.load()]

closing. This feature will be implemented later


Remove filters

In some cases, we need grids with very few rows.
In that case, filtering is useless.
Of course, we could use header class to hide it, but it would be better to disable it directly in the grid class.

https://github.com/leantony/laravel-grid/blob/master/docs/general.md#filter
"name" => [
    "filter" => [
        "enabled" => true, // true/false
        "operator" => "="
    ],
]

Yes, but I was thinking of a global parameter.
In my case, I'm using a grid that extend another, and I want to disable filter only on the first one.
Using your method, i would need to surcharge the whole setColumns method which is not so good.
However, I can deal with that with a class parameter of my own in my parent class, so it's ok :)

@leantony  Added to that, the filter row and button "Filter" are still there even if I disable filter on every columns.


Databuttons

I still have a few things to fix in this draft, but it should be done today.

Closed- out of date. Fixed the errant commit issues in PR #30


Shader UI

This PR implements Overflow::Hidden, rounded corners and borders by extending the UI fragment shader. There are various bugs: anti-aliasing is broken for rounded overflows, overflow mask randomly shifts 1px up or down on certain node widths and text is entirely ignored, but its ready enough to talk over.

Ok this is really cool :smile: Huge step forward in usability.
Assorted thoughts:

In general I like the public api exposed. I think this is basically good to go from that perspective
We might be able to optimize this by only doing border rendering  / data transfer for nodes where that applies. But its hard to make a decision about that without benchmarking. A good place to start would be to do a frame-time comparison of the ui.rs example on master vs this branch.
These algorithms are new to me, so I'll need some time to look over them.
I'd love to consolidate bindings, but thats largely out of your hands at this point. We need the RenderResources derive to be a bit more flexible. If/when we do that, we can optimize shaders everywhere.
I think all of the #[render_resources(ignore)] calls in Style are a good illustration that sometimes having separate datatypes for gpu data and components is a good idea. I think Color is another case that would benefit from that. Not something that we need to handle here, but once we adjust RenderResources / RenderResourcesNode to handle that nicely, we should revisit Style.

Ok this is really cool :smile: Huge step forward in usability.
Assorted thoughts:

In general I like the public api exposed. I think this is basically good to go from that perspective
We might be able to optimize this by only doing border rendering  / data transfer for nodes where that applies. But its hard to make a decision about that without benchmarking. A good place to start would be to do a frame-time comparison of the ui.rs example on master vs this branch.
These algorithms are new to me, so I'll need some time to look over them.
I'd love to consolidate bindings, but thats largely out of your hands at this point. We need the RenderResources derive to be a bit more flexible. If/when we do that, we can optimize shaders everywhere.
I think all of the #[render_resources(ignore)] calls in Style are a good illustration that sometimes having separate datatypes for gpu data and components is a good idea. I think Color is another case that would benefit from that. Not something that we need to handle here, but once we adjust RenderResources / RenderResourcesNode to handle that nicely, we should revisit Style.

I don't have much to say on most of these points, but for the last one I'd rather not have an extra system shoveling data into a different type. An alternative I considered is an #[render_resources(invert)] tag so its easier to pick a small subset, but I'd like your input before implementing it.

I don't have much to say on most of these points, but for the last one I'd rather not have an extra system shoveling data into a different type. An alternative I considered is an #[render_resources(invert)] tag so its easier to pick a small subset, but I'd like your input before implementing it.

Yeah it wouldn't be an extra system. It would be something more along the lines of RenderResourcesNode taking Into instead of RenderResources.
Imo #[render_resources(invert) would add too much complexity for too little benefit (both in terms of implementation complexity and "user facing" complexity). One more quirk people need to think about.

Yeah it wouldn't be an extra system. It would be something more along the lines of RenderResourcesNode taking Into instead of RenderResources.
Imo #[render_resources(invert) would add too much complexity for too little benefit (both in terms of implementation complexity and "user facing" complexity). One more quirk people need to think about.

Hmm, how about #[render_resources(From<R>)] with a type parameter on the RenderResources trait? If not, I'll implement something taking Into instead.

Hmm, how about #[render_resources(From<R>)] with a type parameter on the RenderResources trait? If not, I'll implement something taking Into instead.

Hmm, how about #[render_resources(From)] with a type parameter on the RenderResources trait? If not, I'll implement something taking Into instead.

I think I'd prefer it if RenderResourcesNode to Into. That feels cleaner to me. The only major consideration is that RenderResourcesNode currently assumes that it can use RenderResources methods directly. We need to make sure it doesn't don't do a bunch of unnecessary conversions to RenderResources, as Into could have a non-zero cost (and might allocate).

Hmm, how about #[render_resources(From)] with a type parameter on the RenderResources trait? If not, I'll implement something taking Into instead.

I think I'd prefer it if RenderResourcesNode to Into. That feels cleaner to me. The only major consideration is that RenderResourcesNode currently assumes that it can use RenderResources methods directly. We need to make sure it doesn't don't do a bunch of unnecessary conversions to RenderResources, as Into could have a non-zero cost (and might allocate).

Semi-related: https://github.com/bevyengine/bevy/pull/1208#issuecomment-755816008

Semi-related: https://github.com/bevyengine/bevy/pull/1208#issuecomment-755816008

The code in this PR is rather old, and implementation very much less-than-ideal, so I'm closing this PR :)