Map multiple api endpoints to a single path operation function

Is there a way to map multiple api endpoints to a single path operation function? For example, if I make a get request "/get-employees" or "/employees", can they both map to the same path operation function like below?
Example
from fastapi import FastAPI

app = FastAPI()

@app.get(["/get-employees", "/employees"])
def read_root():
    return {"Hello": "World"}

You need to create two separate routes:
from fastapi import FastAPI

app = FastAPI()

@app.get("/get-employees")
@app.get("/employees")
def read_root():
    return {"Hello": "World"}


[#177] [Generate project with Mason] Update Use the template section in README to write the instruction for generating the project with Mason

Solves #177

What happened 👀

To guide the dev to generate the template with Mason, we write the Template Usage section

Insight 📝
N/A
Proof Of Work 📹

@luongvo updated 🙏

@luongvo updated in 1da87ca

Updated 🚀


AMC-BLDC - add test support

As per the title, we need to add test support for AMC-BLDC boards.
### Tasks
- [ ] test firmware released
- [ ] new IPTS release produced

cc @Nicogene @maggia80 @marcoaccame

Kit in foto inscatolato e messo nell'armadio DEV in corridoio


Broadcast use in arith

Use the new broadcast proof fn / broadcast use mechanism in place of _auto functions in vstd's arithmetic library. This cuts down on the amount of code necessary and simplifies future construction of the equivalent of "auto" lemmas that publish a combination of quantified facts from existing (broadcast) lemmas.
Also renames all broadcast groups in line with the lemma_ convention: they now all have the group_ prefix.

This seems to save a decent amount of time when verifying vstd, but this data may be a bit dirty as I had something else running at the same time. I'll re-run while nothing else is running, but I think there are no obvious breakages or performance degradations due to this PR.

veritas report for verus broadcast-use-in-arith (2f58932c3527ed10617da0a3846917d9528d6e1b) with features: singular

project
refspec
outcome
total verus time (ms)
smt run time (ms)

verus-vstd
broadcast-use-in-arith (2f58932c3527ed10617da0a3846917d9528d6e1b)
success (740 verified, 0 errors)
20989
8013

memory-allocator
main (9ee40b614443962b15e7315106568f20a1810ebf)
success (745 verified, 0 errors)
66354
48853

page-table
page-table (4c8fec30b7997c79d9d4e9520dee27d2bcdc6a2f)
success (294 verified, 0 errors)
21596
33901

verified-storage
main (5372264cc1616589264adda20829b4e88a09fbd8)
success (188 verified, 0 errors)
6364
4643

verified-storage-generic_trait_serialization
generic_trait_serialization (8fa12f48ddfeaa4daacf8384356c0aacda0ce9c8)
success (154 verified, 0 errors)
5577
4738

node-replication
main (5d496003efc39a8e09d90b4147ab95106b76d6aa)
success (254 verified, 0 errors)
8359
2843

veritas report for verus main (52363ae0774626d85cd49a04d2ee374c7534c67d) with features: singular

project
refspec
outcome
total verus time (ms)
smt run time (ms)

verus-vstd
main (52363ae0774626d85cd49a04d2ee374c7534c67d)
success (815 verified, 0 errors)
30927
16353

memory-allocator
main (9ee40b614443962b15e7315106568f20a1810ebf)
success (745 verified, 0 errors)
84582
63742

page-table
page-table (4c8fec30b7997c79d9d4e9520dee27d2bcdc6a2f)
success (294 verified, 0 errors)
22761
35879

verified-storage
main (5372264cc1616589264adda20829b4e88a09fbd8)
success (188 verified, 0 errors)
6072
4312

verified-storage-generic_trait_serialization
generic_trait_serialization (8fa12f48ddfeaa4daacf8384356c0aacda0ce9c8)
success (154 verified, 0 errors)
5374
4525

node-replication
main (5d496003efc39a8e09d90b4147ab95106b76d6aa)
success (254 verified, 0 errors)
8477
2900

Is there documentation about how to create and use broadcast groups?  It might help expose/explain it to new developers.  I also wonder if we can adjust the process that generates the documentation for the vstd APIs, so it shows the effects of each broadcast group.  That might be a question for @tjhance

Is there documentation about how to create and use broadcast groups? It might help expose/explain it to new developers. I also wonder if we can adjust the process that generates the documentation for the vstd APIs, so it shows the effects of each broadcast group. That might be a question for @tjhance

There is some documentation here https://verus-lang.github.io/verus/guide/broadcast_proof.html. I made a couple of fixes which will appear soon once it's re-built (these are already valid even before this PR lands).
Usage documentation is more immediately necessary (with this PR), so that users know how to access the broadcasted lemmas from vstd.

we can adjust the process that generates the documentation for the vstd APIs, so it shows the effects of each broadcast group

This is a good idea. At the very least it should show that something is a group, and hopefully also what it contains.

how to create

This will come later. My immediate concern is to move to _auto funcitons in vstd to broadcast proof functions, so that we do not have to deprecate a large number of them later, once they may have been picked up by multiple users. At the moment, none of the public crates veritas can see use any _auto lemma from vstd.

My immediate concern is to move to _auto funcitons in vstd to broadcast proof functions, so that we do not have to deprecate a large number of them later, once they may have been picked up by multiple users. At the moment, none of the public crates veritas can see use any _auto lemma from vstd.

Yes, that makes sense.  I was also surprised to see there weren't any _auto dependencies, but I think that may be because most of the code was developed last year, before @jaylorch landed the math library in vstd, and it appears people haven't had time (or the need) to use the new lemmas.

https://github.com/verus-lang/verus/commit/499302daf96cac3d905a3b081e1a7584aca0058d adds basic support for formatting broadcast proof functions and broadcast group pseudo-functions in verusdoc.


added tree_map deprecation warning filter

Added tree_map deprecation warning filter. This is to unblock HEAD, since Flax is getting an error because CLU has a deprecation warning. The deprecation warning is fixed here but we have to wait for CLU to do a new release.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.19%. Comparing base (760cf86) to head (04313c0).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3828   +/-   ##
=======================================
  Coverage   61.19%   61.19%
=======================================
  Files         105      105
  Lines       13148    13148
=======================================
  Hits         8046     8046
  Misses       5102     5102

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fixup BrambleUrlCodeHints to only sort once, not include dirs entries

After testing my last fix for this on staging, I noticed a few bugs.  This fixes things so we don't sort results twice (and move "Take a Selfie..." up), and that we don't include "Folder/" in the URL completion results.

r+


Add ballerina package files

Purpose
This package contains a record type in the ballerina language, and records can be used to map objects and do operations in a easy manner. This particular record type can be used to map the scim object and access its fields easily.
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing as outdated. @ViduraRavihansa please feel free to reopen after updating the PR, if this is still relevant


Percentage completed for Notts, and overall totall wrong

Without additional details here about what is wrong, I am speculating this may be related to #231, as one of the files that failed to load properly was NTT/RG122683.VLD

Doug,
I have been able to rework the VLD.
The errors were to do with certain page numbers and something that was added on to the last line.
I have corrected them all and run it through the test system.
No errors reported.
I am sending Lemon files tonight for this week’s upload for FreeCEN.
I will include this VLD in the amended list for him
He will then remove the current VLD one and replace it with the revised one.
I trust this will resolve the issues when FreeCEN 2 is updated.
Thanks, Brenda
From: dougkdev<EMAIL_ADDRESS>Sent: Monday, April 3, 2017 7:36 PM
To: FreeUKGen/FreeCENMigration<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [FreeUKGen/FreeCENMigration] Percentage completed for Notts, and overall totall wrong (#212)
Without additional details here about what is wrong, I am speculating this may be related to #231 https://github.com/FreeUKGen/FreeCENMigration/issues/231 , as one of the files that failed to load properly was NTT/RG122683.VLD
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/212#issuecomment-291233268 , or mute the thread https://github.com/notifications/unsubscribe-auth/ANC91hXMRv6tnbnxJrPIScAb-KCd5RK5ks5rsTwKgaJpZM4MUTay .

Thanks, Brenda.  Regarding the "something that was added on to the last line" is that what is causing some .VLDs to have an extra line at the end of the .VLD (see story # 231)?  Other .VLD files that currently have an extra erroneous line at the end of the file are:
SOM/rg091683.vld
SOM/RG102383.VLD
STS/RG122197.VLD
Do they have the same cause?

On Mon, 3 Apr 2017 at 21:04, dougkdev<EMAIL_ADDRESS>wrote:

Thanks, Brenda. Regarding the "something that was added on to the last
line" is that what is causing some .VLDs to have an extra line at the end
of the .VLD (see story # 231)? Other .VLD files that currently have an
extra erroneous line at the end of the file are:
SOM/rg091683.vld
SOM/RG102383.VLD
STS/RG122197.VLD
Do they have the same cause?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FreeUKGen/FreeCENMigration/issues/212#issuecomment-291257619,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANC91hLNRJrn5Z_IyOQC7TyHmlGQ0hmEks5rsVDZgaJpZM4MUTay
.

I will find the vlds tomorrow and have a look.
Cheers Brenda

@FreecenBren confirmed in email that the other three files were also caused by errors in the source files. She has corrected those files so they should be ok for next deploy.  Closing this story.


iOS 16 support

iOS 16 changed how we lock the device into a specific orientation

Is there a reason why this isn't merged yet?

#421 Is there a possibility to go a step further with the support relationship with iOS version 16?

I tried this patch but it is not working.
I am not able to lock device orientation to portrait mode in Iphone 7 plus IOS 15.7.3.
Here is my code
  useEffect(() => {
    Orientation.lockToPortrait();
  }, []);


[APIM] Update arm-apimanagement-readme.md

Corrected ms.service value -> "api-management"

Docs Build status updates of commit 65c2652:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/arm-apimanagement-readme.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/arm-apimanagement-readme.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning: ms-prod-technology-invalid - See documentation] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 22, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/javascript/api/@azure/arm-apimanagement' will be broken in isolated environments. Replace with a relative link.
Line 60, Column 76: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 654bd78:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/arm-apimanagement-readme.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/arm-apimanagement-readme.md

Line 2, Column 1: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 21, Column 1: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/javascript/api/@azure/arm-apimanagement' will be broken in isolated environments. Replace with a relative link.
Line 59, Column 76: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 76950e7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/arm-apimanagement-readme.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/arm-apimanagement-readme.md

Line 2, Column 1: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 60, Column 76: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 481bd68:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/arm-apimanagement-readme.md
:white_check_mark:Succeeded
View (azure-node-latest)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Taojunshen - If this change looks OK, can you please merge? Thank you!

Docs Build status updates of commit 10e0451:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/arm-apimanagement-readme.md
:white_check_mark:Succeeded
View (azure-node-latest)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[rabbitmq] Fix oldest release links

Oldest release tags were using '_' instead of '.'.
Also took the opportunity to normalize the page (#2124).

Invalid links :
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.6.16' for rabbitmq.md#3.6, got an error : '404 Not Found'.
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.5.8' for rabbitmq.md#3.5, got an error : '404 Not Found'.
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.4.4' for rabbitmq.md#3.4, got an error : '404 Not Found'.
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.3.5' for rabbitmq.md#3.3, got an error : '404 Not Found'.
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.2.4' for rabbitmq.md#3.2, got an error : '404 Not Found'.
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.1.5' for rabbitmq.md#3.1, got an error : '404 Not Found'.
 Product Validator: Invalid link 'https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.0.4' for rabbitmq.md#3.0, got an error : '404 Not Found'.


Ensure embedded lookups work with changes to ResourceTemplateForm

When working on #348 (lookups to multiple sources), I updated ResourceTemplateForm to pass back an array of lookup config objects instead of just the first one.  PropertyTemplateOutline needs to also be updated to pass back an array instead of a single item for embedded lookups to work properly.  (I haven't assigned a milestone because I'll leave that to sinopia folks).

@justinlittman @hudajkhan I think this got fixed with https://github.com/LD4P/sinopia_editor/pull/558. Can you confirm and close this issue if that's the case?

@jermnelson can you verify that this is closable ☝

To the best that I understood the problem, I couldn't replicate it so deferring to @jermnelson to confirm / deny.

@jgreben just checked out the latest master branch and yes it works as expected. thanks!


This plugin slows down homebridge

Describe The Bug
Getting an error on home bridge logs that this plugin slows down homebridge
Expected behavior
It should not slow down homebridge
Logs
[TPLink Tapo Platform] Restoring existing accessory from cache: Smart Bulb
[11/08/2024, 12:53:57] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:53:57] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:53:57] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:53:57] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:53:57] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:58:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:58:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:58:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:58:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:58:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:08] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:08] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:08] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:08] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:08] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
[11/08/2024, 12:59:14] [homebridge-tp-link-tapo] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
Plugin Config
As per instructions
Plugin Version
4.1.1
Homebridge Version
1
Node.js Version
20.16.0
NPM Version
NA
Operating System
Debian OS

I was getting same error until I started using plugin as a child bridge. No such error since I made the switch.


how to convert to onnx?

Hi @TMullerSG ,
Thanks for using NeuralForecast.
Our library is built using Pytorch Lightning, I found this discussion in their github regarding onnx:
https://github.com/Lightning-AI/lightning/issues/2271
Is that what you look for?


[Feature request] wildmenu view for cmdline with multiple horizontal lines

Wildmenu is excellent for the command line, but its limitation to a single line restricts the number of visible choices. Is it possible to enhance wildmenu to support multiple horizontal lines, thereby improving its functionality and usability?

Maybe like this:

Is https://github.com/hrsh7th/cmp-cmdline what you are after?

cmp-cmdline just give me source, actually I have installed cmp-cmdline to get cmdline source. What I want is a UI that show completion window like picture 2. just like we already had, native, wildmenu, 'custom`


Yh/tf workshop

PR for TF workshop

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.


why it only  work once time

i want to do a html page like REPL,a for input text,when click thebutton will create a

Hi,
I'm not sure what problem you are facing. Can you upload the code you wrote?


Hope to add PHP code refactoring!

Hope to add PHP code refactoring!

There are some extensions that provide PHP language features. They may support what you are looking for, if not, that is the place for it to be implemented.


Fix casing of git town config output

@charlierudolph @kevgo

Looks good to me

Nice, thanks for doing this!


docker rmi tries to delete image with empty string (that does not exist)

Hi.
When I'm trying to delete any of my images, docker does that thing :
$ docker rmi 5aeb37c1fd00
Error response from daemon: image ID '' is invalid
Error: failed to remove images: [5aeb37c1fd00]

as you can see, it is complaining about an image with empty string name that it cannot delete.
If it matters, my docker is installed on vagrant machine with Red Hat 64-bit OS.
That error came by from yesterday. 2-3 days ago everything worked perfectly.
Thanks.

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

it is quite old docker version.
Could you restart docker ? and check if it works. another maybe check docekr 1.7.0 code and enable docker -D debug level and find more info

restarted docker, still not working well

What version of Red Hat are you using? Can you add the output of uname -a and docker info? Are you running out of disk space?
Also, are you able to reproduce this on the current version of docker (1.9.1)?
Given that you mention this worked correctly before, I wonder if this is a bug in docker, or something on your system

CentOS Linux release 7.1.1503 (Core)
Linux localhost.localdomain 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ docker info
Containers: 106
Images: 714
Storage Driver: devicemapper
 Pool Name: docker-253:2-67108992-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 32.45 GB
 Data Space Total: 107.4 GB
 Data Space Available: 18.92 GB
 Metadata Space Used: 55.72 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.092 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Data loop file: /persistence01/devicemapper/devicemapper/data
 Metadata loop file: /persistence01/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-229.7.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 6
Total Memory: 9.215 GiB
Name: localhost.localdomain

just close it. I just deleted all the local docker data storage (containers directory, etc.) and downloaded the images again.

I'll close; feel free to comment if you run into this again

I am facing the same issue...
Error response from daemon: image ID '' is invalid
FATA[0002] Error: failed to remove one or more images

I'm getting the same issue, too.
Idk the specs for the machine; I don't think I have the rights for that
Docker version : 1.8.2
Package version: docker-1.8.2-7.e17.centos.x86_64
Git commit: bb472f0/1.8.2

@dpkprasanna docker 1.6.2 is really old now, so this issue may already be resolved (current version is 1.10.2)
@sad2project looks like you have installed a version of Docker that's maintained by Red Hat (see the commit https://github.com/docker/docker/commit/bb472f05c975b343fb13e55325a985f4ac1d0ca2), issues with those versions should be reported in the Red Hat / CentOS issue tracker first, because it's possible it's specific to that version (there's various patches applied to those versions)


[Fix #9822] Fix a false range for Lint/RedundantCopDisableDirective

Fixes #9822.
This PR fixes a false directive comment range for Lint/RedundantCopDisableDirective.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


Add logging for AmbiguousMatchException

In Action, if there are multiple methods, AmbiguousMatchException will occur,
but I don't know which method is duplicated.
Therefore, I add logging of AmbiguousMatchException.

Thanks!
However, there's a problem over in AssertTargetSet: if there's an ambiguous match, they'll still get an exception saying that we were unable to find the method, which won't be true. I'd be tempted to continue to throw an exception in this case (we can probably still get away with using an ActionNotSetException), but perhaps make the message clearer, and add a log message as well (this.logger.Error(e)). What do you think?

Thank you for your review.
I modified the program to change message AmbiguousMatchException message  and throw the exception.

Thanks!


raise RuntimeError("mmap can only be used with files saved with "

Unsloth: Offloading input_embeddings to disk to save VRAM
Unsloth: Offloading input_embeddings to disk to save VRAM
Traceback (most recent call last):
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/data/llmodel/zyb/FlagEmbedding/Long_LLM/longllm_qlora/main/train.py", line 112, in <module>
    main()
  File "/data/llmodel/zyb/FlagEmbedding/Long_LLM/longllm_qlora/main/train.py", line 47, in main
    model = FastLanguageModel.get_peft_model(
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/site-packages/unsloth/models/llama.py", line 1598, in get_peft_model
    offload_input_embeddings(model, temporary_location)
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/site-packages/unsloth/models/_utils.py", line 479, in offload_input_embeddings
    offloaded_W = offload_to_disk(model.get_input_embeddings(), model, "input_embeddings", temporary_location)
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/site-packages/unsloth/models/_utils.py", line 472, in offload_to_disk
    offloaded_W = torch.load(filename, map_location = "cpu", mmap = True)
  File "/data/llmodel/.local/lib/python3.10/site-packages/torch/serialization.py", line 1032, in load
    raise RuntimeError("mmap can only be used with files saved with "
RuntimeError: mmap can only be used with files saved with `torch.save(_use_new_zipfile_serialization=True), please torch.save your checkpoint with this option in order to use mmap.
Traceback (most recent call last):
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/data/llmodel/zyb/FlagEmbedding/Long_LLM/longllm_qlora/main/train.py", line 112, in <module>
    main()
  File "/data/llmodel/zyb/FlagEmbedding/Long_LLM/longllm_qlora/main/train.py", line 47, in main
    model = FastLanguageModel.get_peft_model(
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/site-packages/unsloth/models/llama.py", line 1598, in get_peft_model
    offload_input_embeddings(model, temporary_location)
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/site-packages/unsloth/models/_utils.py", line 479, in offload_input_embeddings
    offloaded_W = offload_to_disk(model.get_input_embeddings(), model, "input_embeddings", temporary_location)
  File "/data/llmodel/Tools/software_install/anaconda3/envs/unsloth/lib/python3.10/site-packages/unsloth/models/_utils.py", line 472, in offload_to_disk
    offloaded_W = torch.load(filename, map_location = "cpu", mmap = True)
  File "/data/llmodel/.local/lib/python3.10/site-packages/torch/serialization.py", line 1032, in load
    raise RuntimeError("mmap can only be used with files saved with "
RuntimeError: mmap can only be used with files saved with `torch.save(_use_new_zipfile_serialization=True), please torch.save your checkpoint with this option in order to use mmap.
Not an error, but Unsloth cannot patch MLP layers with our manual autograd engine since either LoRA adapters
are not enabled or a bias term (like in Qwen) is used.
Unsloth 2024.5 patched 32 layers with 32 QKV layers, 32 O layers and 0 MLP layers.
Unsloth: Casting embed_tokens to float32
Not an error, but Unsloth cannot patch MLP layers with our manual autograd engine since either LoRA adapters
are not enabled or a bias term (like in Qwen) is used.
Unsloth 2024.5 patched 32 layers with 32 QKV layers, 32 O layers and 0 MLP layers.
Unsloth: Casting embed_tokens to float32
[2024-05-31 09:13:56,940] torch.distributed.elastic.multiprocessing.api: [WARNING] Sending process 103260 closing signal SIGTERM
[2024-05-31 09:13:56,940] torch.distributed.elastic.multiprocessing.api: [WARNING] Sending process 103261 closing signal SIGTERM
[2024-05-31 09:13:59,309] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0 (pid: 103259) of binary: /data/llmodel/Tools/software_install/anaconda3/envs/unsloth/bin/python

Hmm weird _use_new_zipfile_serialization is always default True

how to solve it？

Hmm can you describe your environment? (Windows / Linux, number of GPUS, CUDA version, Pytorch version)

same problem, have you solved yet?

No sorry sadly I can't reproduce it - I think it's best to update Pytorch to 2.3


[Docs] Meshery UI Icons: Always include this XML header in each SVG image

Current State
3. Always include this XML header in each SVG image
Desired State

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Please assign it to me @leecalcote

For this issue, we require a confirmation that do we need to add the XML header for all SVG files or just the files other than the integration icons?

Apologies for the poorly described issue. This one turns out to only require a docs update in the Meshery Integrations spreadsheet. Update was just made by @Abhishek-kumar09


Jquery is always required?

I just saw the getting started but it say:
TableFactory is an angular module to create tables, to add to your project simply add 'ngTableFactory' to angular dependancies. Require 'angular-sanitize.js'.
var app = angular.module("testApp", ["ngSanitize", "ngTableFactory"]);

But when it's not added Jquery the code throws an error:
var element = angular.element(document).find("#test");
var options = {
		columns: [{
			field: "FirstName",
			caption: "Name",
			sortable: true
		}],
		selection: {
			canSelect: true
		},
		data: [{
			FirstName: 'Test',
		}]
	};
	var factory = TableFactory.create(element, options);

console: ReferenceError: $ is not define
Maybe can be used angular.element(document).find(...) using Jqlite instead of Jquery

The factory is based on Bootstrap features which requires Jquery.
Dependency cannot be removed...


Write down all tasks of each python script

Observation

Code base is partially modular, but existing scripts contain many functionalities/tasks
Scripts with many tasks are difficult to maintain
Scripts with many tasks are difficult to test as only separate functions can be tested. When a script contains multiple functionalities that are not written as functions, they can only be tested as part of the whole script, not separately.
Following best practices, a function should be small and do only one thing

Proposed solution

[ ] Write down a list of tasks in each script to create an overview of all functionalities
[ ] Design a project structure that organises these tasks

how do think will be the best way to write those tasks? in a separate file , in which format? for example like a .txt file with the same name as the script with the tasks listed ?
what about the tests of the overall functionality of each script?
I think the approach for testing for the python scripts should be different than for the bash scripts for the sequencing analysis part.


Exiting from mini-player mode opens sidebar and increases font-size

OS:
Mac OS X - El Capitan
Issue Descriptions:
Maximizing from Mini-Player causes left-hand sidebar to open and font-size seems to increase as well.
Steps to Reproduce:

Select random song
Minimize to mini-player
Maximize to exit mini-player mode
Observe sidebar is now open and font-size has increased from previous size.

Confirmed on the sidebar being opened. Can't confirm on the font-size.

Something like this happened to me to, the font and everything else was so huge I couldn't do anything about it. Had to restart the app.

The font size is huge on mine after doing this. I have to close the application down and start up again to have it useable

Merging into #2269


Windows native docker client

Not sure if this possible/relevant to your cluster setup, I'm still playing with a single CoreOS VM.
But... Since docker version 1.6.0, windows client is stable. Would it be useful to integrate the docker client setup as part of the powershell script as well? This involves 2 steps:

Set up Docker socket on CoreOS
https://coreos.com/docs/launching-containers/building/customizing-docker/#cloud-config

Download Docker windows binaries set path, docker_host, ...:
https://docs.docker.com/installation/binaries/#get-the-windows-binary

    iwr https://get.docker.com/builds/Windows/x86_64/docker-latest.exe -Outfile docker.exe

I'm use this script to spin up and down many clusters so I don't really want to download the docker binaries automatically as that is more of a one off thing. I also don't want to presume where people like to install things etc.
I will update my sample config with one that can connect to docker over the docker socket. I have created this before but never got around to testing it.

I've updated the sample config now. You can now connect to docker remotely using docker -H tcp://<vm_ip>:2375 <cmd>

thanks!


sqlitestudio: 3.4.9 -> 3.4.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/pawelsalawa/sqlitestudio/releases.
meta.description for sqlitestudio is: Free, open source, multi-platform SQLite database manager
meta.homepage for sqlitestudio is: https://sqlitestudio.pl/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.4.10 in filename of file in /nix/store/zcdq6ng15g8mlcmih35hvgkjniicr2d9-sqlitestudio-3.4.10

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sqlitestudio

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/zcdq6ng15g8mlcmih35hvgkjniicr2d9-sqlitestudio-3.4.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sqlitestudio https://github.com/r-ryantm/nixpkgs/archive/d00c8984dcced6e5998aa196cda58768062fd9bb.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d00c8984dcced6e5998aa196cda58768062fd9bb#sqlitestudio

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

sqlitestudio

Maintainer pings
cc @AsterisMono for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Invalid network label (because of a space in the network's name)

Hi :)
I'm getting this error :
go:337 level=error component="discovery manager scrape" discovery=file msg="Error reading file" path=/etc/sd/vcd-vdcplus.json err="\"__meta_vcd_network_network name\" is not a valid label name"
It seems that a space in any label name is not good for Prometheus.
I'm not confident in developing in Go but if you don't have time I can take a look at it :)

Hum, haven't seen network names with spaces in it. You could provide a PR which extends this list: https://github.com/promhippie/prometheus-vcd-sd/blob/master/pkg/action/discoverer.go#L284-L288

Thanks @tboerger, it's done. Do I need to update the changelog as well ?

Oh it would be great if you add a new markdown file to changelog/unreleased/, details how to write it you can see within the changelog/ directory.

Thank that was fast and neat ! 💯

I had to fix the formatting, but nevertheless the latest tag should already include this fix.


Beet's default merge policy for model overrides does not sort

Model overrides have to be sorted in a particular order otherwise some values will override the ones below. They must be sorted by all properties with custom_model_data being first.

custom_model_data
damage
damaged
pull
pulling
time
cooldown
angle
firework
blocking
broken
cast
lefthanded
throwing
charged

These could also only be sorted if they are applicable to the base model, pull for bows, angle for compass, etc.

Nevermind, I missed the change in 0.84.0


Add Restful service

add restful service to VFKit which defaults to tcp://localhost:8081.  The URL can be changed using the newly introduced --restful-uri option.  The schemes may be tcp or unix (unix domain socket).  The service for the unix domain implementation is incomplete and should be considered a TODO still.  users can also opt out of the service with a --restful-uri none.
the restful service now replies to three endpoints:
/vm/state GET which returns the state of the vm
/vm/state POST which allows for a state change
/vm/inspect GET which returns basic information about the virtual machine
error handling for the endpoints needs to be completed still.  these endpoints should return http response codes (like 200) based on the error handling.  this can be completed in a subsequent PR.
/version GET should also probably be added. I was unsure if we should return the version of vfkit (my first inclination) or some sort of API version.  maybe we should return both?
added tests for new content where applicable

/version GET should also probably be added. I was unsure if we should return the version of vfkit (my first inclination) or some sort of API version. maybe we should return both?

yeah vfkit version is good to have (possibly with git hash if that's easy to get).
API version, if that's about the REST API, I'd keep this for later. I'm sure we'll want to bump the API some day, but will we do this through a /version entry point, through a /v2 in the URL, .. I have no idea.

/lgtm
/approve

I have updated the PR per your wishes

/lgtm
/approve


Poor Hotkeys Support

OS: macOS 10.12.4

CMD is not detected on macOS.
Kunction keys F13-F20 don't seem to be detected.
Would like to press function key without modifier keys held down (like only F8 for pause).

Currently trying to disable my media keys, and remap them to some GPMDP shortcut using Karabiner-Elements. Feels limiting when I can't use only F13-20 for this shortcut, since they're not on my (compact) keyboard.

CMD is not detected on macOS.

This is a framework limitation and documented in many other issues

Function keys F13-F20 don't seem to be detected.

PR literally just went up for this and there is an existing issue

Would like to press function key without modifier keys held down (like only F8 for pause).

That's a macOS thing, in order to use F1-12 you have to hold the "fn" key

That's a macOS thing, in order to use F1-12 you have to hold the "fn" key
@MarshallOfSound That's not true. In fact, GPMDP shortcuts will not work if you hold down fn, because fn+F# is reserved for the system. This is what lets applications use F# keys for shortcuts - Like GPMDP does currently.
So, again, could you implement the ability to use F# without holding down modifier keys (ctrl, alt, shift).

Also I can confirm that this is not a macOS specific issue, as on Windows 10 I can also not assign F# keys without a modifier to hotkeys. This issue should be reopened.

All hotkeys require the Control modifier, this is not a bug and I don't have plans to change this


Changes in App.js is not compiling

template name : re-start
template version : (0.x.x)
react-native version: 0.54.2
OS : osX
Platform causing error: (android/ios/web/electron)

Any change I make in the App.js file, it does not compile at all, hence I am unable to add new route.
Please help, or am I doing something wrong?
Observed Results:

Expected Results:
I was expecting the code to compile.

Isn't index.js used instead of App.js? They look like duplicates.

Isn't index.js used instead of App.js? They look like duplicates.

I usually delete the one at project root, seems useless.

@piranna can you suggest any solution for my issue?

@piranna can you suggest any solution for my issue?

Sorry, I don't understand your problem from the description :-(

@lusan Okay, from the gif you posted I see you're running web dev server. /App.js is an entry point for native apps and /src/index.js is the same for the web version. It's not your fault, don't worry. IMO we shouldn't specify routes in more than one place. Current solution is far from DRY 💧.
Just linked my PR with code that can help you, @lusan.

I'm working on a full clean-up of the project at https://github.com/piranna/re-start, hope I can be able to make it run today.

@piranna That would be really great!

So far first step done, get to install it. I've only been able to do it by publishing the template on npm, it doesn't work by using local filesystem or scoped packages due to a bug in react-native CLI at https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/local-cli/generator/templates.js#L115. Now it's time to finish to fix and tune-up it, and later do a pull-request so @amoghbanta can be able to publish it in npm so I can be able to remove my package and don't pollute npm registry anymore.

@piranna sure! Looks good and will be of huge help

Good you like them :-) Don't doubt to give any comment :-)

A  can only have one child element.
Place all your  in a

A Rooter can only have one child element.
Place all your Route in a View

Could you be able to explain?

Well, it's the message i got in the js console when i had the same problem so if i remember well, the following code :
<Router>     <View>         <Route .../>         <Route .../>     </View> </Router>
should works.
The documentation that confirm what i say :)

I've created an issue in React Native regarding the problems I had installing the templates from other places than the npm registry.
https://github.com/facebook/react-native/issues/18973


Charger throws "BootNotificationReq error: OccurenceConstraintViolation, Parameter 'currentTime' is missing" when connecting using Django Channels

Hi,
I get this error in my chargers event logs when replying to a BootNotification with my Django channels-based OCPP application BootNotificationReq error: OccurenceConstraintViolation, Parameter 'currentTime' is missing and I'm sending the current time already. This code was working with Flask and WebSockets but for some reason, the same code doesn't want to work on Django with channels.
Here is my Consumer all other actions aren't performed yet since it fails at sending the correct boot notification
class ChargePointConsumer(AsyncJsonWebsocketConsumer):
    async def connect(self):
        if "ocpp1.6" in self.scope["subprotocols"]:
            # Check for protocol
            self.id = self.scope["url_route"]["kwargs"]["charger_id"]
            print("ID: ", self.id)
            # Verify evcharger against database and add to private channel layer
            try:
                charge_point = ChargePointModel.objects.get(charge_point_id=self.id)
                print("Charge Point: ", charge_point)
                await self.accept("ocpp1.6")
                charge_point.status = "active"
                charge_point.save()
                # Add to CP Group
                await self.channel_layer.group_add(
                    self.id,
                    self.channel_name,
                )
            except Exception as e:
                logger.info(f"ocpp1.6 device attempted to connect but was not in registered database: {e}")
                await self.close()
            logger.info("Connected device: %s", self.scope["url_route"]["kwargs"]["charger_id"])
        else:
            await self.close(1002)

        # self.accept("ocpp1.6")

    async def disconnect(self, close_code):
        # Remove from CP Group
        await self.channel_layer.group_discard(
            self.id,
            self.channel_name,
        )
        # Update Charge Point Status
        charge_point = ChargePointModel.objects.get(charge_point_id=self.id)
        charge_point.status = "inactive"
        charge_point.save()
        logger.info("Disconnected device: %s", self.scope["url_route"]["kwargs"]["charger_id"])
        print("Close Code: ", close_code)

    async def decode_json(self, text_data):
        return unpack(text_data)

    async def encode_json(self, content):
        return pack(content)

    async def receive_json(self, content, **kwargs):
        # For related "Call", create proper "CallResult".
        print("Content: ", content)
        print("Kwargs: ", kwargs)
        if content.action == "BootNotification":
            # Handle received payload.
            if check_evse_in_db(self.id):
                payload = call_result.BootNotificationPayload(
                    current_time=datetime.utcnow().isoformat(), interval=10, status=RegistrationStatus.accepted
                )
            else:
                logger.warning(f"Unknown EVSE (ID: {self.id}) trying to connect.")
                payload = call_result.BootNotificationPayload(
                    current_time=datetime.utcnow().isoformat(), interval=10, status=RegistrationStatus.rejected
                )
        elif content.action == "Heartbeat":
            # Create result payload.
            payload = call_result.HeartbeatPayload(
                # current_time=datetime.utcnow().isoformat()
                current_time=datetime.now().strftime("%Y-%m-%dT%H:%M:%S")
                + "Z"
            )
        elif content.action == "StatusNotification":
            error_code = content.error_code
            status = content.status
            timestamp = content.timestamp
            connector_id = content.connector_id

            logger.info(
                f"Received StatusNotification from {self.id}. Connector ID: {connector_id}, Error Code: {error_code}, "
                f"Status: {status}, Timestamp: {timestamp}. Additional Data: {content}"
            )

            # Handling for each ChargePointErrorCode
            if error_code == ChargePointErrorCode.no_error:
                logger.info(f"No error reported by {self.id}")
            else:
                logger.warning(f"Error code '{error_code}' received from {self.id}")

            # Handling for each ChargePointStatus
            if status == ChargePointStatus.available:
                logger.info(f"Charge point {self.id} is available")
            # elif status == ChargePointStatus.occupied:
            #     logger.info(f"Charge point {self.id} is occupied")
            elif status == ChargePointStatus.reserved:
                logger.info(f"Charge point {self.id} is reserved")
            elif status == ChargePointStatus.unavailable:
                logger.warning(f"Charge point {self.id} is unavailable")
            elif status == ChargePointStatus.faulted:
                logger.error(f"Charge point {self.id} has faulted")
            elif status == ChargePointStatus.charging:
                logger.info(f"Charge point {self.id} is charging")
            elif status == ChargePointStatus.finishing:
                logger.info(f"Charge point {self.id} is finishing charging session")
            else:
                logger.warning(f"Unknown status '{status}' received from {self.id}")

            payload = call_result.StatusNotificationPayload()
        elif content.action == "Authorize":
            logger.info(f"Received Authorize request from {self.id}. Additional Data: {content}")
            payload = call_result.AuthorizePayload(id_tag_info={"status": "Accepted"})
        elif content.action == "StartTransaction":
            logger.info(f"Received StartTransaction from {self.id}. Content: {content}")
            payload = call_result.StartTransactionPayload(id_tag_info={"status": "Accepted"}, transaction_id=int(1))
        elif content.action == "MeterValues":
            logger.info(f"Received MeterValues from {self.id}. Additional Data: {content}")
            payload = call_result.MeterValuesPayload()
        elif content.action == "StopTransaction":
            logger.info(f"Received StopTransaction from {self.id}. Content: {content}")
            # f"Received StopTransaction from {self.id}. Transaction ID: {transaction_id},
            # ID Tag: {id_tag}, Timestamp: {timestamp}, Meter Stop: {meter_stop}. Additional Data: {kwargs}")
            payload = call_result.StopTransactionPayload()
        elif content.action == "DataTransfer":
            logger.info(f"Received DataTransfer from {self.id}. Content: {content}")
            payload = call_result.DataTransferPayload(status=DataTransferStatus.accepted)
        elif content.action == "DiagnosticsStatusNotification":
            """Handle DiagnosticsStatusNotification message"""
            logger.info(f"Received DiagnosticsStatusNotification from {self.id}. Additional Data: {content}")
            status = content.status
            # Handling for each DiagnosticsStatus
            if status == DiagnosticsStatus.idle:
                logger.info(f"Diagnostics status is idle for Charge Point {self.id}")
                # Actions or logic to handle "idle" status can be added here
            elif status == DiagnosticsStatus.uploading:
                logger.info(f"Diagnostics upload in progress for Charge Point {self.id}")
                # Actions or logic to handle "uploading" status can be added here
            elif status == DiagnosticsStatus.uploaded:
                logger.info(f"Diagnostics successfully uploaded for Charge Point {self.id}")
                # Actions or logic to handle successful upload can be added here
            elif status == DiagnosticsStatus.uploadFailed:
                logger.error(f"Diagnostics upload failed for Charge Point {self.id}")
                # Actions or logic to handle upload failure can be added here
            else:
                logger.warning(f"Unknown diagnostics status '{status}' received from Charge Point {self.id}")
            payload = call_result.DiagnosticsStatusNotificationPayload()

        # Send "CallResult"
        print("Payload:", payload)
        print("Payload Dict: ", content.create_call_result(asdict(payload)))
        await self.send_json(content.create_call_result(asdict(payload)))

I very confused at this point and would appreciate any help

Resolved it, when using channels you will have to convert your payload to camelCase instead of the default snake_case
just pass your payload like this
from ocpp.charge_point import snake_to_camel_case

self.send_json(content.create_call_result(snake_to_camel_case(asdict(payload))))


API Management REST API Documentation for creating subscriptions is incorrect

https://docs.microsoft.com/en-us/rest/api/apimanagement/2020-06-01-preview/subscription/createorupdate
When I click 'try it' the default request body is not correct:
{
	properties.displayName: "abc",
	properties.scope: "/apis"
}

Response:
{
  "error": {
    "code": "ValidationError",
    "message": "Invalid JavaScript property identifier character: .. Path '', line 2, position 11.",
    "details": null
  }
}

It should be like this:
{
  “properties”: {
    “displayName”: “abc”,
    “scope”: “/apis”,
  }
}

@ColeSiegelTR Thank you for your feedback! We will review and update as appropriate.

@Powerhelmsman The feedback refers to the pre-defined sample that's populated in the Focus mode when clicking the "Try it", as shown below:

Can you help with fixing this issue?

You are correct that the request body in the "Try It" experience must be valid JSON, and the example provided in the documentation is only a starting point that must be modified. You might have noticed that this issue is not unique to the "Try It" for this operation - there are similar examples in other REST API reference pages. I have opened a tracking issue for our content publishing team to investigate. According to our usual process, I'll now proceed to close this issue. Thanks for providing feedback, and apologies for slow response.
#please-close


GUEB OVA ?

Hi!
I found that the gueb ova link is broken.
Is it possible to reupload it ?
Thanks!

Hi there! excuse me to send reply again, if you can upload this more soon, I'll appreciate you, I need to have this .

Hi,
Sorry for the late reply. I will update the OVA this week.
Note that gueb is unfortunately not maintained anymore, but feel free to
let me know if you have any questions.
Best,
Josselin.
On Sun, Apr 26, 2020, 19:52 cryptomadco<EMAIL_ADDRESS>wrote:

Hi there! excuse me to send reply again, if you can upload this more soon,
I'll appreciate you, I need to have this .
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/montyly/gueb/issues/8#issuecomment-619594345, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJIXRXLEC2EQFFEPMNZTF3RORYFFANCNFSM4MOCQRCA
.

Hi Montyly, thank you so much!
Just can't wait for this interesting vm to download!

Hi @montyly !
I am still looking forward to see that interesting OVA file :-)
Thanks!

Hi @montyly .
Do you have still plan to update the link to the OVA file ?
Thanks!


LateError: LateInitializationError: Field 'data' has not been initialized.

On production we are receiving errors of this type:
LateError: LateInitializationError: Field 'data' has not been initialized.
  File "feature_data_source.dart", in FeatureDataSource.setUpModel
  File "feature_data_source.dart", line 17, in FeatureDataSource.fetchFeatures
  File "<asynchronous suspension>"
  File "features_view_model.dart", line 14, in FeatureViewModel.fetchFeature
  File "<asynchronous suspension>"
  File "growth_book_sdk.dart", line 84, in GrowthBookSDK.refresh
  File "<asynchronous suspension>"
  File "growthbook_notifier.dart", line 45, in GrowthbookNotifier._initialize.<fn>

This happens on android devices mainly but also on iOS ones

On production we are receiving errors of this type:
LateError: LateInitializationError: Field 'data' has not been initialized.
  File "feature_data_source.dart", in FeatureDataSource.setUpModel
  File "feature_data_source.dart", line 17, in FeatureDataSource.fetchFeatures
  File "<asynchronous suspension>"
  File "features_view_model.dart", line 14, in FeatureViewModel.fetchFeature
  File "<asynchronous suspension>"
  File "growth_book_sdk.dart", line 84, in GrowthBookSDK.refresh
  File "<asynchronous suspension>"
  File "growthbook_notifier.dart", line 45, in GrowthbookNotifier._initialize.<fn>

This happens on android devices mainly but also on iOS ones

Yes, @aragonet it happens if the Network Client fails to fetch feature flags from the server. Thanks @swiftymf for #41, shortly we will review this.

When will this be merged?


Write generator for problem-specifications -> test files

Since the canonical data is in JSON format, one would think jq could readily be used to generate the bats files.
I would imagine that there would be "generic" program for exercises that don't have any exceptional cases, and individual programs are needed for trickier canonical data.

tasks: apply the generator to each exercise. Update generate_tests script and/or exercise example.jq accordingly.

[ ] hello-world
[ ] two-fer
[ ] raindrops
[ ] leap
[ ] rna-transcription
[ ] darts
[ ] resistor-color
[ ] resistor-color-duo
[ ] reverse-string
[ ] hamming
[ ] collatz-conjecture
[ ] bob
[ ] nucleotide-count
[ ] scrabble-score
[ ] space-age
[ ] isogram
[ ] gigasecond
[ ] proverb
[ ] etl
[ ] run-length-encoding
[ ] resistor-color-trio
[ ] anagram
[ ] transpose
[ ] protein-translation
[ ] beer-song
[ ] sieve
[ ] atbash-cipher
[ ] meetup
[ ] two-bucket
[ ] nth-prime
[ ] satellite
[ ] forth
[ ] zebra-puzzle
[ ] knapsack


Upgrade Alpine version used for CI to 3.16

We were using 3.12 which reached end of life on May 1st of this year.
This gets up to using the newest alpine release that will be supported
until May of 2024.
If this all passes CI and stress tests run as usual, I'll open a
PR to update the user facing Alpine based images.

arm64 Apple Darwin failure is unrelated and issue #4138 has been opened to track this failure and any others like it that appear.


Vertical layout issues

Hello,
i've noticed that the button y positions changed slightly after the first menu open, in the version  1.2.1 of the KCFloatingActionButton.
the following picture show the menu opened the first time since the view did apear :

closing the menu, then reopen it give the following result :

one can notice in the second picture, has the button items higher than the first one.
the code responsible for this issue is located in KCFloatingActionButton's open() method :
                item.frame.origin.y = -itemHeight                 item.layer.transform = CATransform3DMakeScale(0.4, 0.4, 1)
inverse the order of the instruction, to fix this issue :
                item.layer.transform = CATransform3DMakeScale(0.4, 0.4, 1)                 item.frame.origin.y = -itemHeight

Hello @AnasMostefaoui.
Solved on 1.3.0 version. Thanks.


NUnit and x64

NUnit dependency moved to NuGet (#791).
Changed x86 configuration AnyCPU for JSIL, JSIL.DeadCodeAnalyzer, Tests, SimpleTests, Tests.DCE.
I leaved x86 as only configuration for Compiler project to not break compatibility with XNA. For it I moved IAnalyzer interface from Compiler to JSIL project (so JSIL.DeadCodeAnalyzer do not depend on Compiler anymore, same as Tests.DCE).
Really, x86 configuration is critical only for .exe project, as it choose subsystem to run - all .dll projets should be always compiled as AnyCPU unless they do not reference x86 native dlls :).
Now we could run all tests on x64 subsystem: for it in VS menu select Test->TestSettings->Default Processor Architecture->X64.

As test case may be x86 only, I've changed loading assembly to  AssemblyReflectionOnlyLoadFrom for .exe test cases (and CPP/IL code generators when we generate executable).
Really we should consider option to always load compiled test assemblies in external application, as we now can execute test from same assembly multiple times (and some test case is not safe - each execution modify their static variables state).
Also we should discuss if we can skip loading assemblies at all 0 we really need only file name from it. It is impossible to unload assembly (except if we'll use  different app domains for them). So, it should have good influence on our tests memory usage.

I'd prefer to load test assemblies in a temporary appdomain, so we don't have to deal with even more ghost processes. But you make good points.

I also thought today a little bit with AppDomain, but unfortunately AppDomain still may not solve problem of loading x86 app (all EcmaScripten tests, as they reference x86 native .dll) in x64 app.

Looks good, thanks.

 The other two configurations (x86, .net 4.5 x86) still work.
I'd be OK with pruning all the custom .net 4.5 stuff and just having two configurations for x86 and AnyCPU, if the old setup is getting in your way.

I've always had question, what for we need custom .net 4.5 configuration? I've seen target, but how does it affect on our build? I haven't seen any #ifdef for 4.5

It used a custom set of targets files to let you build against the 4.5 framework without having to install a newer build of Visual Studio. I had it because of XNA compatibility issues (ones that have since been resolved), and because 4.5 was still new at the time.

What error do you have? Are they in XNA-dependent projects? Where I should install XNA now, as I do not build them?

ECHO JSIL must be built with the platform set to x86
But also, yeah, the XNA stuff. I think we just need to set the configuration to not build them.

As soon as #793 will be resolved we may have only one configuration. All non-xna *.dll projects will be AnyCPU, and two executors in x86 and (x64 or AnyCPU - should be discussed) always.

Really, we can have two solution configurations: .Net 4.0 and .Net 4.5 if we need it.


Fixed an issue where opening the properties window would crash the app

I am mostly certain that issue #2537 is caused by a bug in the Microsoft.Ui.Xaml NavigationView.
Switching to the Windows.Ui NavigationView seems to be an effective workaround to this bug.

@winston-de Great work!

@yaichenbaum Thanks!
Do you think I should file a bug report in the WinUi repository for this?

@yaichenbaum Thanks!
Do you think I should file a bug report in the WinUi repository for this?

Deffinitly, this change should be considered a work around until the issue is fixed on the WinUI end.


Changes toward contributions markdown file

Added my github username and github link in the contributors markdown file

Hey there,
Thanks for your PR & contribution :wave:!
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊


Replace Google Maps API references with URL Lookup API references

we are no longer using Google Mapi for right now, lets use URL Lookup api, and replace out references on our README.

no longer using google maps api

google maps api have been replaced in README, closing issue


gerrit: 3.5.1 -> 3.6.2

Description of changes
https://www.gerritcodereview.com/3.6.html

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gerrit

Result of nixpkgs-review pr 195630 run on x86_64-linux 1

1 package built:

gerrit


Update for Kafka 0.10.0

The Dockerfile FROM had been updated but the auto expand code was no longer compatible.
I copied, almost verbatim, the generateAssignment function from the ReassignPartitionsCommand. The only change I made was to use a sequence of strings for the topic list instead of a topics-to-move style JSON string.
Testing on my POC cluster works as expected.

Thanks

You bet!


Create 0000-01-02-Gokuldas20.md

This pull request adds Gokuldas20's file to the_posts folder.

My pull request adds Gokuldas20's file to the_ posts folder


Remove undefined PDFJS.isValidUrl property

The isValidUrl function in src/dom_utils.js was deprecated in 71a781ee5c9e548c16d8e612f41fbc45f1082fc5 and removed in 0f90d5130c9b4c847d5efecac9a727c151156883.
However, the source code still contains references to it in display/global.js:
https://github.com/mozilla/pdf.js/blob/fe30d4d468237864eb5a0609658a8372bfaa3ca0/src/display/global.js#L18-L19
https://github.com/mozilla/pdf.js/blob/fe30d4d468237864eb5a0609658a8372bfaa3ca0/src/display/global.js#L70
This isValidUrl import and PDFJS.isValidUrl property should be removed.

Yes, this was an oversight of mine in PR #9028, however it's already being taken care of as part of PR #9185.


Breaking Dependency pem-rfc7468 for MSRV (Minimum Supported Rust Version)

Hey guys!
Just wondering, it appears the pkcs8 dependency of this package is importing another dependency (pem-rfc7468) that is dependent on edition="2021", breaking the MRV statement in the README.md and on crates.io. Not sure how big of an issue this is, but I know there are some projects that still use Rust 1.51 with this package that are now blocked from updating to rsa v0.5.0, which is causing some issues because rsa 0.4 still conflicts with RUSTSEC-2020-0159, causing all sorts of security audit issues, etc.
I looks like pem-rfc7468 is an optional dependency of pkcs8, but the rsa crate still depends on it.
Just wondering if this is mistake or if ya'll are moving your MSRV or if this is just a mistake?
Thanks!

There is no current release of pem-rfc7468 which uses edition = "2021". The latest release is v0.2.3 which is edition = "2018" as you can see here:
https://docs.rs/crate/pem-rfc7468/0.2.3/source/Cargo.toml
In the git repository, the edition has been bumped to 0.3.0-pre, but that has not been released yet.
I'm guessing this might be due to the base64ct crate instead of pem-rfc7468 itself, as that has been bumped to the 2021 edition and released.
If that's the source of the problem, I can cut another pem-rfc7468 release that pins the base64ct version to avoid this problem.
The best way to determine this is actually the problem is to try pinning the base64ct release yourself in Cargo.toml:
base64ct = "=1.1.1"

Note that these kinds of MSRV breakages are an ongoing pain point in Rust which will hopefully eventually be addressed by MSRV-dependent dependency resolution.

Oh yes, foolish me. That was the package causing the main error and I got so caught up following it up the dependency tree that I forgot to include it in the issue lol.
Pinning it has worked for me, so that does seem to be the root cause of the issue.

I released pem-rfc7468 which constrains base64ct to <1.2 to prevent this breakage:
https://github.com/RustCrypto/formats/pull/193/files
Let me know if that fixes the issue.


Swagger or MD?

TL;DR: Should we use loosely-defined markdown instead of Swagger?
We've been working to bring our Beacon Node REST API up-to-date to submit here, however I get the feeling the Swagger format isn't right for a eth2.0-xxxx repo. It seems to me that this repo should contain easily-maintainable markdown docs.
Before we go and submit more Swagger YAML to this repo, I wanted to reach out and get feedback about should this repo use Swagger YAML or markdown to outline eth2.0 APIs?
I've listed some pros and cons for Swagger vs Markdown below. Keen to hear your thoughts.
Option 1. Swagger
Example: we have the Minimal Beacon Node API for Validator on SwaggerHub.
Pros

Super well-defined.
Has a web interface with examples, etc.
Does code generation.
Additional features, etc..

Cons
Maintenance
Working in Swagger YAML is not necessarily ergonomic. Consider this 200 response:
'200':
          description: Success response
          content:
            application/json:
              schema:
                type: object
                properties:
                  epoch:
                    type: integer
                    format: uint64
                    description: >-
                      The epoch for which the returned active validator changes
                      are provided.
                  balances:
                    type: array
                    items:
                      title: ValidatorBalances
                      type: object
                      properties:
                        pubkey:
                          $ref: '#/components/schemas/pubkey'
                        index:
                          type: integer
                          format: uint64
                          description: The global ValidatorIndex of the validator.
                        balance:
                          type: integer
                          format: uint64
                          description: >-
                            The balance of the validator at the specified epoch,
                            expressed in Gwei

I suspect maintaining this will become frustrating, especially if it's a collaborative document.
You can modify this YAML file in your favourite IDE, however you need to copy-paste it into SwaggerHub to compile it and render the UI (AFAIK).
Readability/hosting/CI
The YAML file itself is not accessible to developers who want to figure out how to consume the API, in the same way that markdown is auto-rendered by Github. In order to view the API, they need to either:

Find a URL that hosts an interactive HTML version (e.g., SwaggerHub)
Copy-paste the yaml file into SwaggerHub themselves

AFAIK, there's no way to get SwaggerHub to reference a YAML file in a Github repo at some commit. We'd need a CI service to update SwaggerHub or push to a self-hosted instance.
We'd also need some CI service to validate the Swagger file.
Spec updates
We probably don't want to do full-depth object specification (i.e., fully define a BeaconState in Swagger), because then we need to be sure to keep it sync'ed with the spec. Doing this manually is laborious and (I think) likely to be neglected. We could write a script, but then we'd need to maintain that instead.
To avoid doing full-depth object specification we could stub-out complex objects, but then we'd lose some of the features of Swagger (e.g., code generation, click-y example requests, etc.)
Option 2. Markdown
Something like the JSON-RPC document (or better alternative), but for HTTP.
Pros

Loosely coupled to the spec (e.g., we can just reference a BeaconBlock and you can take that to be whatever spec version you wish).
Consistent with other docs (Ethereum 2.0 is basically a collection of markdown documents).
Very easy to maintain.
Reducing overhead for engagement likely means we'll get more contributors and maintainers.
No extra CI requirements or website hosting

Cons

Likely to be less well-defined than the Swagger format.
Doesn't have UI with examples, etc.
Doesn't have code generation, etc.

I'm generally in favor of removing the external dependency. Agreed that a markdown doc managed here will be much easier to collaborate on.

I took a shot at a markdown format in #3

TBH great painpoint in eth1 is not well defined API (different error codes/messages/even response) so I would be much in favor of swagger.
We could setup this: https://app.swaggerhub.com/help/integrations/github-sync
So it will automatically end up on ethereum swaggerhub.

Yep - we can also look at openrpc

@GregTheGreek isn't that for RPC api only?
Think general consensus is REST API

Purely for generating easy to consume docs

I'm fine with either way @mpetrunic.
If people are generally keen to ensure Swagger is maintained, that sounds like a good way to go ahead with me.

@paulhauner cool, I think the swagger UI PR fixes a lot of issues as it will get updated automatically and you can check you api definitions in UI locally.
If it get's merged I'll open PR where type definitions will be in separate file so it's easier to maintain things altogether.

Merged the UI PR.

Is there already a link web page version of the autogenerated UI as mentioned in the #7 ?

Is there already a link web page version of the autogenerated UI as mentioned in the #7 ?

https://ethereum.github.io/eth2.0-APIs/

Closing this now that the swagger UI is native (and added to the readme!)


Check - Default README.md file

User story

As a backend developer
I need to compare README.md file with the default README.md file and store the result in the database
So that the front end can display the following info message "README.md file should not be default README.md file,
when the README.md file is same as default README.md file

Acceptance criteria

Test whether the result of the check is stored in the database.
Link from frontend to api -> Test whether the info message is displayed when README.md file is same as default README.md
file

Definition of done

Code coverage of 50%
Code review by release manager
Approved by product owner

Implemented and tested in commit


[INLONG-8999][Sort] Add Sqlserver connector on flink 1.15

Prepare a Pull Request
(Change the title refer to the following example)

Title Example: [INLONG-XYZ][Component] Title of the pull request

(The following XYZ should be replaced by the actual GitHub Issue number)

Fixes #8999

Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve?
Modifications
Describe the modifications you've done.
Verifying this change
(Please pick either of the following options)

[ ] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)

[ ] This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

Have done ut:


Change stix.ToolInformation and tests for MAEC (STIX 1.1.1.X)

This PR is related to CybOXProject/python-cybox#310. It overrides the ToolInformation vocab to AttackerToolType. The build is failing because it needs a release of the latest cybox changes related to the vocab fixes. In addition:
MAEC tests for library present/missing.

After releasing a new version of python-cybox, I pushed a new commit to the https://github.com/STIXProject/python-stix/tree/issue-310-stix111 that depends on it. There are still a couple errors: https://travis-ci.org/STIXProject/python-stix/builds/348335733

@gtback, I think we are good now. I removed Python 2.6 from the CI tests.

This looks good to me.


RazorComponents - Mix of IsFixed Cascading values causes Exception #11653

I needed this fix too...
Summary of the changes

fixes null reference, checked other places in the class

Addresses #11653

@SteveSandersonMS

Although this is great, I felt a slightly different fix should be used.
Instead of ignoring the invalid calls to Unsubscribe, I think it's preferable to have invalid calls continue to throw, and instead stop making the invalid calls.
This is now implemented in https://github.com/aspnet/AspNetCore/pull/11854, which also contains a unit test, so I'll close this in favour of that one. Hope that's OK!


Modularization of parquet support

Many thanks for this useful library. I was wondering if there are any plans to implement Parquet support for Tablesaw as a module / plugin? This would have the benefit for Tablesaw users to not have to depend on a non-core implementation of Tablesaw, to be able to upgrade immediately to new versions of Tablesaw and to allow for plugging in support for other file formats. Thank you.

Hi @larshelge, thank you for your feedback.
Following a discussion on how to handle new file formats for Tablesaw, the decision made by the Tablesaw maintainers is that new file formats should be implemented in repositories outside of the jtablesaw org. As far as I know there is no plan to change this decision for the moment.
I fully understand the need to be able to upgrade Tablesaw as soon as a new version is released, this is why we are trying to release the corresponding tablesaw-parquet version as soon as possible. If you need to upgrade before we release, and if the new Tablesaw version does not introduce breaking changes in the core API, you should be able to continue using the same tablesaw-parquet version. For example this combination works fine:
<dependencies>
  <dependency>
    <groupId>tech.tablesaw</groupId>
    <artifactId>tablesaw-core</artifactId>
    <version>0.43.1</version>
  </dependency>
  <dependency>
    <groupId>net.tlabs-data</groupId>
    <artifactId>tablesaw_0.43.0-parquet</artifactId>
    <version>0.10.0</version>
  </dependency>
<dependencies>

Note that after the upcoming release of Tablesaw 1.0, the API is expected to remain stable so that Tablesaw and tablesaw-parquet can be upgraded independently. We will update the tablesaw-parquet artifact naming and versioning scheme to reflect this.

Closing this as it is not planned


feat: Add expiry and persistence to position

resolves #226

[x] Testing

// edit: Executed one manual test run opening and closing a channel successfully.

bors r+

bors r+


Allow references is nullable in the output of eda credential

https://issues.redhat.com/browse/AAP-22188

@Alex-Izquierdo @ttuffin CI failed with:
  /usr/bin/docker pull quay.io/sclorg/redis-6-c9s:latest
  Error response from daemon: unknown: Tag latest was deleted or has expired. To pull, revive via time machine
  Error: Docker pull failed with exit code 1

Do you have clues about it?

there is no "latest" tag in the image, it can be an issue or they have remove it on purpose.

This image is no longer being rebuilt. The latest tag was removed. Please consider using a supported image.

From https://quay.io/repository/sclorg/redis-6-c9s?tab=info

https://github.com/ansible/eda-server/pull/789


Cherry-pick changes to address Python postcommit failures

Cherrypicks following PRs onto release branch:
https://github.com/apache/beam/pull/16142
https://github.com/apache/beam/pull/16236
https://github.com/apache/beam/pull/16251 (drive-by CP to exclude a test failing due to known issue, which we believe is not related to Beam)

R: @aaltay


Support option to use Slf4j/Commons Logging/JUL when using the command line tool

Please see issue #1075

I ended up implementing it with an automatic switch instead.
Cheers
Axel


CreateImageWizard: Use stage candlepin urls on stage consoledot

I'm not 100% sure if this is the right thing to do. As discussed on a call, this means we can only test artefacts from staging if on the VPN (and using the proxy?). Do we really want/need to use staging candlepin?

So the frontend activation keys that are loaded are the stage ones which can only be used against stage candlepin.
And you can only use the staging service from the vpn, I don't think it's a huge issue either way tbh.


Log shows  Error ("Mode?") and warning about using https instead of https

Attached the two problems in an image. I cannot find the location of this url anywhere in the configuration. Anyone have an idea where I can find it?

Just checked the 4 cameras. All are running the latest firmware (all are also on "auto update").


don't add quotes to string

or at least provide the option to turn it off. this could be done with css, if necessary.
https://github.com/AnyRoad/react-json-view-lite/blob/cb6558c1cd04bd40d4bbf66591d3ef71a403c208/src/DataRenderer.tsx#L185
going further, punctuation could also be styled.

Hi! Unfortunatelly styling is not very convinient, I will try to improve it in the next major version.
For now I've added the noQuotesForStringValues property to the StyleProps. You can upgrade to the 1.3.0 version.
I've also added it to the storybook - https://anyroad.github.io/react-json-view-lite/?path=/story/json-view--render-strings-without-objects


Allowing ScriptExecution for a UserJourney Has Undocumented Side-effect of Turning off Tag Filtering

It is my understanding that if a UserJourney does not include the following snippet in its definition, the default is that JavaScript is disabled (per the support article):
<UserJourneyBehaviors>
  <ScriptExecution>Allow</ScriptExecution>
</UserJourneyBehaviors>

That behavior is expected.
What is not expected is that when JavaScript is disabled, only a subset of HTML tags are preserved from the template. For example, in our footer we have a <small> tag around the copyright, and that gets stripped out when JavaScript is disabled. But, when JavaScript is enabled in the UserJourney, then it appears that more HTML tags are allowed. Or, at least, the <small> tag in our template was no longer filtered out.
Either this is an unexpected bug in the implementation, or is just something that documentation should call out, because I did not see anything that indicated that HTML tags get filtered when JavaScript is turned off.
As reference, digging through the JavaScript code that B2C uses, it looks like this is the list of tags that are allowed:
"h1",
"u",
"h2",
"h3",
"h4",
"h5",
"h6",
"blockquote",
"p",
"a",
"ul",
"ol",
"nl",
"li",
"b",
"i",
"strong",
"em",
"strike",
"code",
"hr",
"br",
"div",
"table",
"thead",
"caption",
"tbody",
"tr",
"th",
"td",
"pre",
"img",
"video",
"source",
"span",
"footer",
"header",
"nav",
"main",
"style",
"meta",
"title",
"link",
"section",
"input",
"form",
"button",
"marquee",
"label"

(Side note: why allow <marquee>? Really... why?)

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

ID: ed05309d-a7fa-410f-06d3-ea55cdd80834
Version Independent ID: c7c1a99e-7c61-e1ce-6b98-26584655e82a
Content: JavaScript and page layout versions - Azure AD B2C
Content Source: articles/active-directory-b2c/javascript-and-page-layout.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@GuyPaddock Thank you for your query. We will investigate and update the thread.

Dear @GuyPaddock , thanks for the valuable feedback. I'm updating the article with a note about the basic and advance HTML tags. As for now, we don't provide the list of the HTML tags and attributes. Yes, you can find it the the JS :)
A new version will publish later today, and this GitHub issue will be closed automatically (before the doc is published). If you have any questions or need further information, please open new GitHub issue.


Build: correct a typo in an error message

This appears to be a copy-pasta induced error message error where multiple was being reported as missing.

@swift-ci please smoke test


URL and URI conversion

Should the conversion inputs be validated? The operations themselves are simple, but can yield nonsensical results if called with bad inputs.
For example: track:spotify:xyz from URI would give type: spotify, id: xyz and type: open.spotify.com/track/xyz, id: xyz to URL would give http://open.spotify.com/open.spotify.com/track/xyz/xyz

The different types of identifiers are often all returned from the API. So it is perhaps likely that any conversion is on some input from another source. Therefore the operands should be validated.


Verify/cleanup the REXML monkey patch in lib/util/xml/miq_rexml.rb

Is it still needed with ruby 2.0 and beyond?
https://github.com/ManageIQ/manageiq/blob/f1325ba2c6c70cc6214729873e6724e555078935/lib/util/xml/miq_rexml.rb#L110

@miq-bot move_issue manageiq-gems-pending


Add existing resources to amplify project

Which Category is your question related to?
Amplify AppSync API/DynamoDB/Cognito
Amplify CLI Version
4.2.0
What AWS Services are you utilizing?
AWS Amplify, AppSync, DynamoDB, Cognito
I am fairly new to Amplify, I have a local Vue project and a previously created DynamoDB table and a Cognito user pool in AWS.

I want to connect my table to the local amplify app backend so that I can use it with this app.
Can I use any of the following steps to connect my Amplify app to the previously created table

Create a new API (done), connected to the previously created database
OR
Connect an existing AppSync API created in the console to this local amplify app.
I tried using amplify codegen after adding the apiID, as it says to do that in the AWS AppSync console. It updates the src/graphql files but I don't know how I can get the backend api files in the amplify/backend/api/ folder to update with the corresponding api files.

I also want to use an existing Cognito user pool with the app and I have no idea how to do that.

Any help or info on the same will be helpful.
Cheers!

Amplify CLI does not allow you to reuse existing DynamoDB table as graphql-transformer creates and update these tables based on your GraphQL schema.

1. want to connect my table to the local amplify app backend so that I can use it with this app.
   Can I use any of the following steps to connect my Amplify app to the previously created table

* Create a new API (done), connected to the previously created database

When using Amplify CLI graphql-transformer it is not possible to connect to previously created table

* Connect an existing AppSync API created in the console to this local amplify app.
  I tried using `amplify codegen` after adding the apiID, as it says to do that in the AWS AppSync console. It updates the `src/graphql` files but I don't know how I can get the backend api files in the `amplify/backend/api/` folder to update with the corresponding api files.

amplify codegen command generates only the code needed for your applications front end and it would download the resolvers and you won't be able change the schema and push using amplify push command

I also want to use an existing Cognito user pool with the app and I have no idea how to do that.

No, the CLI does not support using the existing cognito userpools.
Feel free to comment here if you have more questions

Alright, thank you for the response and the explanation for amplify codegen, I understand it better now. 👍
I had another question, can I connect my backend to an existing AppSync API so I can change the schema of it's database and push locally instead of using the AWS Console to do the same?
I was going through my local API that was created by the AppSync console, and I see a CustomResources.json file. By any chance, can I use this to connect to an existing AppSyn API?

Here's a pic of the file in my backend.

@yuth Any update on the question? Can I connect my amplify app to an existing Appsync API??


fix(file-uploader): add disabling feature

Closes #1279

We should probably make sure this supports disabling drag and drop as well ... If there's no styles or designs for that on the Carbon side we can take this as is, and open an issue there to add that

Does adding the disabled property on the input achieves that @khizar-s ?

We should probably make sure this supports disabling drag and drop as well ... If there's no styles or designs for that on the Carbon side we can take this as is, and open an issue there to add that

Does adding the disabled property on the input achieve that @khizar-s ?

If we're looking at just the basic button, adding the disabled property to the input is pointless since we can duplicate this disabled behavior by adding the property to the button. I left the property in input in case there were future changes for drag and drop that would allow us to disable it too


Back Button

After clicking a tweet to see the detail view, there's no way to go back to the timeline view and maintain your scroll position. This is typically handled w/ the back button in a standard browser. Might be a good idea to add a button, two finger swipe gesture, or keyboard shortcut to support this (I like esc).

Closing, as this is covered in https://github.com/sindresorhus/anatine/issues/1