Fix errors for in-place upgrade 1.6.0

Fix https://github.com/istio/istio/issues/23205: Error for in-place upgrade 1.6.0

Convert tag to the version string.
During upgrade, skip validation and warning for old configs

@elfinhe: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
1f711fff0dddf9e50fd64b6e36e8a70d853a0592
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
1f711fff0dddf9e50fd64b6e36e8a70d853a0592
link
/test lint_istio

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

integ-local-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

integ-local-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-local-tests_istio

gencheck_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

integ-local-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-local-tests_istio

gencheck_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test gencheck_istio

integ-galley-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-galley-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

integ-local-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-local-tests_istio

gencheck_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test gencheck_istio

integ-galley-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

integ-local-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-local-tests_istio

gencheck_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test gencheck_istio

integ-galley-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@elfinhe: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-multicluster-k8s-tests_istio

lint_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test lint_istio

unit-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-distroless-k8s-tests_istio

integ-conformance-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-conformance-k8s-tests_istio

update-ref-docs-dry-run_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test update-ref-docs-dry-run_istio

integ-telemetry-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-telemetry-k8s-tests_istio

integ-mixer-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-mixer-k8s-tests_istio

integ-local-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-local-tests_istio

gencheck_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test gencheck_istio

integ-galley-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-galley-k8s-tests_istio

integ-security-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-security-k8s-tests_istio

integ-pilot-k8s-tests_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test integ-pilot-k8s-tests_istio

release-test_istio
6b87008f324225b7c0bfbe24020b45d3990bf426
link
/test release-test_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn ptal, comments have been addressed.

@elfinhe does this need to be cherry-picked into 1.6?

/cherry-pick release-1.6

@elfinhe: new pull request created: #23574

In response to this:

/cherry-pick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Adding cherry-pick... Thanks Martin


Question: download a whole season with single link

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.19. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2018.06.19

Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

Description of your issue, suggested solution and other information
Hi, I wonder if there is any command in youtube-dl that allows you to load all the entire season of a series using only one address similar to the function found in svtplay-dl with the command -A

Provide concrete URLs.


[WIP] ARROW-2649: [C++] Add GenerateBits() function

Also a GenerateBitsUnrolled() for higher performance where warranted.
Benchmarks:

GenerateBits is 1.8x faster than BitmapWriter
GenerateBitsUnrolled is 2.9x faster than BitmapWriter
BooleanBuilder is now 3x faster than with BitmapWriter
(and around 9x faster than it was with SetBitTo calls)

Codecov Report

Merging #2093 into master will increase coverage by 0.01%.
The diff coverage is 97.95%.

@@            Coverage Diff             @@
##           master    #2093      +/-   ##
==========================================
+ Coverage   86.35%   86.36%   +0.01%
==========================================
  Files         230      230
  Lines       40392    40452      +60
==========================================
+ Hits        34880    34937      +57
- Misses       5512     5515       +3

Impacted Files
Coverage Δ

cpp/src/arrow/compute/kernels/cast.cc
89.35% <100%> (-0.14%)
:arrow_down:

cpp/src/arrow/builder.cc
81.79% <100%> (-0.43%)
:arrow_down:

cpp/src/arrow/util/bit-util.h
98.5% <100%> (+0.49%)
:arrow_up:

cpp/src/arrow/util/bit-util-test.cc
99.45% <94.28%> (-0.55%)
:arrow_down:

cpp/src/arrow/util/thread-pool-test.cc
98.91% <0%> (-0.55%)
:arrow_down:

Continue to review full report at Codecov.

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

+1, merging this. We can do further performance explorations in follow up patches


Disable Onroad Uploads: Detail Clarification

Problem:
The phrase "Turn on" in the context of a toggle and its label including"Disable" aren't clear.
Reference:
What is written in the ReadMe:
**Disable Onroad Uploads** - Disable uploads completely when onroad. Necessary to avoid high data usage when connected to Wi-Fi hotspot.
What is written on device in the SP-General Menu:
**Disable Onroad Uploads** - Disable uploads completely when onroad. Necessary to avoid high data usage when connected to Wi-Fi hotspot. Turn on this feature if you are looking to utilize map-based features, such as Speed Limit Control (SLC) and Map-based Turn Speed Control (MTSC).
Suggestion:
**Disable Onroad Uploads** - Disable uploads completely when onroad. Necessary to avoid high data usage when connected to Wi-Fi hotspot. Do not enable this toggle if you are looking to utilize map-based features, such as Speed Limit Control (SLC) and Map-based Turn Speed Control (MTSC).
Assumptions:

Onroad Uploads are a hard requirement for Map-based features

Map-based features, in nature will result in higher bandwidth/data usage

Thanks for the suggestion. This makes more sense than what I had before. I'll have it updated with the suggested text.
Thanks! :)


Examples not working in 0.9.0a2 branch

rasa-core: 0.9.0a2
rasa-nlu: 0.12.2
So, to resolve the CORS issue I was facing (#404), I cloned the latest master, and now I am unable to run the basic training scripts given with examples. I am also running a virtualenv for the first time, so I am not sure if the problem is with my python setup or something else.
For the MoodBot example, when I run
python3 -m rasa_nlu.train -c nlu_model_config.json --fixed_model_name current
It demands -d parameter (which, I believe, wasn't the case earlier). When I provide the -d data/nlu.md parameter, the output is:

/home/auzair/workspace/bots/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)
/home/auzair/workspace/bots/lib/python3.6/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Fitting 2 folds for each of 6 candidates, totalling 12 fits
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
/home/auzair/workspace/bots/lib/python3.6/site-packages/sklearn/metrics/classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
'precision', 'predicted', average, warn_for)
[Parallel(n_jobs=1)]: Done  12 out of  12 | elapsed:    0.1s finished

Further, no models folder is created.
I also tried the RestaurantBot example. The command
python3 -m rasa_nlu.train -c nlu_model_config.json -d data/babi_stories.md --fixed_model_name current
Results in:

Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/auzair/workspace/bots/rasa_nlu/rasa_nlu/train.py", line 163, in
num_threads=cmdline_args.num_threads)
File "/home/auzair/workspace/bots/rasa_nlu/rasa_nlu/train.py", line 136, in do_train
trainer = Trainer(cfg, component_builder)
File "/home/auzair/workspace/bots/rasa_nlu/rasa_nlu/model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "/home/auzair/workspace/bots/rasa_nlu/rasa_nlu/config.py", line 146, in component_names
return [c.get("name") for c in self.pipeline]
File "/home/auzair/workspace/bots/rasa_nlu/rasa_nlu/config.py", line 146, in
return [c.get("name") for c in self.pipeline]
AttributeError: 'str' object has no attribute 'get'

Any help is appreciated.

i'm guessing you were looking at the 0.8.6 version of the docs? the latest docs are on the master version


remote signing

[ ] ability to define remote signers in the topology and have bakers point to them - #220
[ ] ability to specify which addresses signers should sign for- #220
[ ] mask private keys from containers that need not know it- #220
[ ] support other kind of signers i.e. signatory

@nicolasochem Is this closable? Can you maybe add new tickets for supporting other signers? And making new milestones for them?


fix ProductVariationExtension check in Product::canPurchase() (always…

… returned false for products with variations)

Codecov Report

Merging #651 into master will not change coverage.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #651   +/-   ##
=========================================
  Coverage     46.93%   46.93%
  Complexity     1559     1559
=========================================
  Files           115      115
  Lines          4545     4545
=========================================
  Hits           2133     2133
  Misses         2412     2412

Impacted Files
Coverage Δ
Complexity Δ

src/Page/Product.php
40% <100%> (ø)
45 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Simple system test for irohad

Signed-off-by: luckychess<EMAIL_ADDRESS>

Description of the Change

Simple test which tries to run irohad daemon.
Benefits

It's possible that after some changes irohad could become unable to run even though all of tests are passed. This test gives a protection for such cases.
Possible Drawbacks

None.

And also add cleaning up the database on TearDown


v2 improvements

Uncaught ReferenceError: process is not defined
    at Object.20762 (vendor.js:2:536994)
    at n (vendor.js:2:1629402)
    at Object.16015 (vendor.js:2:622102)
    at n (vendor.js:2:1629402)
    at Object.78821 (vendor.js:2:617187)
    at n (vendor.js:2:1629402)
    at Object.46313 (vendor.js:2:617060)
    at n (vendor.js:2:1629402)
    at Object.79410 (vendor.js:2:560122)
    at n (vendor.js:2:1629402)

app.js:2 RangeError: Maximum call stack size exceeded
    at Ht (app.js:2:908928)
    at ti (app.js:2:922788)
    at o.t._init (app.js:2:928373)
    at new o (app.js:2:934449)
    at app.js:2:916967
    at init (app.js:2:916998)
    at app.js:2:954208
    at d (app.js:2:954484)
    at f (app.js:2:955072)
    at d (app.js:2:954598)

Seems like a really big XML might cause too much recursion?
This is a really big nested xml i made myself.


Add possibility to configure options validation in order to validate options at the start up time (not at runtime).

This PR introduces the possibility to 'initialize' options at the start up time. It will prevent possible config issues that might occur in runtime because of incorrect config file.
Also, it allows to use initializers to write some custom logic to instantiate options objects.

Hi @MaKCbIMKo, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@MaKCbIMKo, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Take a look at https://github.com/aspnet/Options/issues/161 which is tracking some features which would be useful for options to provide for the Auth 2.0 work, named options will add a bit of a wrinkle since there'd need to be the ability to target All instances vs named instances, vs the default instance.  We haven't decided that we are bringing back named options yet, but its something to consider

@HaoK, I've modified (a lot) of validation stuff. Moreover, I took a look on feature (about multi-tenant) and found that it might require some validation 'on creation' time. I also added that (wasn't not a big deal).
About multi-tenancy: it all depends on how we will configure all these 'names', where we will store cached instances (for different names), but I think it won't be so difficult to modify current validation to work in a new way.
But, only if you have some roadblocks that you still not sure (or don't know) how to break...

Thanks, I'll try to take a look this week

So I'm going to be starting a PR for https://github.com/aspnet/Options/issues/161, it will be a pretty lightweight feature to start, I'll submit it by EOD tomorrow, so you can provide input and insight since you've been playing around with validation for a while.  The initial critical feature is named options support, so the first iteration of the PR will likely have very minimal validation support (think Action<TOption>).

Ok, waiting for your PR.

Take a look at https://github.com/aspnet/Options/pull/176

@HaoK - Is it fine to base this PR over your initial Options 2.0 changes? Or there more changes are comming?
Maybe something in my PR need to be reconsidered...

Feel free to rebase if you want, there likely will be more changes coming, but it won't be for a few weeks

See https://github.com/aspnet/Options/pull/187, adding an Initialize set of actions that runs after Configure for fixup, you could potentially use these for validation as well.  Auth is going to run validation outside of options since it needs to run every request potentially, so it will only use this feature for fixup

@HaoK - At first view, 'Initialization' step might be used for validation, but this validation will be applied all the time. Is that fine? What if want to validate only one time at start up (is that real case ?) ?

update:  I implemented a common validation (for unnamed options).
Faced some troubles with named options: If we want to validate the options at start up, then we need to know all 'names'. It means that we need to store somewhere all names. But it argues with ability to inject the options that wasn't configured at all (because of IOptions default feature).
Still thinking about that.

@HaoK - I have added a possibility to validate all named options. Please take a look.
p.s. there is some problems with Travis CI check (Error: Unable to locate libunwind. Install libunwind to continue) - not sure how to solve that weather the problem with my changes.

Changes from dev branch has been merged. @HaoK - may I ask you to review the PR?

About 'AppVeyor build failed' - seems like it faced the exception during downloading "https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview3-006785/dotnet-sdk-2.0.0-preview3-006785-win-x64.zip" (I managed to download it locally). then it switched to alt download link "https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview3-006785/dotnet-dev-win-x<IP_ADDRESS>-preview3-006785.zip" - which seems to be not working.
@HaoK - maybe we just need to try to re-run the AppVeyor build?

@HaoK - did you have a chance to take a look at this PR?

I took a look, but we haven't signed up to do this work yet, so drilling into the details/implementation is a bit premature until we actually are trying to get this feature implemented.

Do you mean that this feature is not in roadmap?
Can we do anything in order to sign this up?

Yes, feedback/comments in https://github.com/aspnet/Options/issues/227 saying why you want/need this feature will help get it prioritized higher/sooner.

This issue was moved to aspnet/Home#2392

See https://github.com/aspnet/Options/pull/266 for initial validation support


Parameter Table

For our overview paper (and also generally, I think), we need to have in one place an assembly of all the parameters that are being used in the model*. This would be a "table" (but see below) of the form:

Module
Parameter Name
Parameter Description
Value

... where 'Parameter Description' is the description that is given when the Parameter is declared by each module.
Of course, the 'Value' for each parameter can be a something simple to put into a table (Types.BOOL, Types.REAL, and even Types.LIST and Types.DICT), but several of these parameters are of type pandas.DataFrame and pandas.Series and I think these would need to be put into another little table.
For the immediate use, ideally this would table would be rendered as one single pdf file, wherein sub-tables are linked-to by within-document hyperlinks. If that's hard, then any other format single file format  (e.g. html, excel etc) would work.
I was thinking this might be quite a similar job to what @matt-graham has done already to render the Resource Files on the tlomodel.org website.
(As an aside - and just to link the issues for information -- this seems to me slightly related to https://github.com/UCL/TLOmodel/issues/1337 --- as this would avoid us having parameters of data frames which some associated detritus (columns not used, arbitrary annotations etc.)).
*The parameter values actually being used in a specific run of the model -- specifically, those that exist at the start of the simulation in this specification of the model.

Hi @tbhallett, just wanted to check a few things:

Is it only the modules returned by tlo.methods.fullmodel.fullmodel we should be listing parameters of?
As dictionary / list / series parameters require quite a wide column to display their value, I'm thinking to have the value of all parameters of non-scalar types defined in separate tables linked to from main table?
As there around 1600 in parameters in total, shall I create per-module tables rather than including module name as a column?
Some parameters defined in Module.PARAMETERS (class) attribute do not appear to have values defined in Module.parameters (instance) attribute after read_parameters method is called (for example init_or_higher_bmi_per_higher_wealth in Demograpny). Shall I just omit any such parameters?

On the last point, in the longer term I guess we might also want to add some automated checks around parameters and do some clean-up of parameter definitions, as there are also quite a few parameters with specified type_ which does not match there actual type.

Is it only the modules returned by tlo.methods.fullmodel.fullmodel we should be listing parameters of?

Yes. (and the values of those parameters following being updated in that Scenario file I linked to; basically the edits are done by get_parameters_for_status_quo)

As dictionary / list / series parameters require quite a wide column to display their value, I'm thinking to have the value of all parameters of non-scalar types defined in separate tables linked to from main table?

That would be fine with me.

As there around 1600 in parameters in total, shall I create per-module tables rather than including module name as a column?

Yes, that sounds good. But, I'd like to be in one (ridiculously long) document, if possible.

Some parameters defined in Module.PARAMETERS (class) attribute do not appear to have values defined in Module.parameters (instance) attribute after read_parameters method is called (for example init_or_higher_bmi_per_higher_wealth in Demograpny). Shall I just omit any such parameters?
On the last point, in the longer term I guess we might also want to add some automated checks around parameters and do some clean-up of parameter definitions, as there are also quite a few parameters with specified type_ which does not match there actual type.

Yes, absolutely. I raised this issue a while back thinking the same: https://github.com/UCL/TLOmodel/issues/109
wow - really!?! Yes, please to omiting them. (And, let's raise an issue to get that cleaned up)

@tbhallett So I have something working for the parameter table but it's going to create a very big file - the Markdown source is 240MB and almost 2 million lines long, so I imagine it will result in a very large PDF document. This is due to quite a few very large dataframes being stored as parameters. I would assume a file of this size will just create problems when trying to distribute it, so I guess we will probably want to shorten somehow. Most obvious way would be to just remove all dataframe parameters above a certain size (maybe 10 rows?) or just include a summary representation?

Yes that sounds reasonable.
It might be that some of these data frames are not really "parameters" in the sense we want to mean them. So, perhaps when we see the report, we could add in some skipping rules for specific parameters.


investigate mdx for testing the readme

It'd be nice to check that the tutorial in the readme still compiles properly. Main issue is, how to use mdx with dependencies?

That's done! ;)


Add full support for PSR-18

Q
A

Bug fix?
no

New feature?
no

BC breaks?
yes

Deprecations?
no

Related tickets
fixes #34

Documentation

License
MIT

What's in this PR?
Now, the HTTP request will not trigger a non PSR compatible exception.
Checklist

[x] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
[ ] Documentation pull request created (if not simply a bugfix)

It's a tiny change but maybe we can merge this one before the v3.0.0 release. What do you think @dbu ?


Missing contrastive_decoder_utils.py File in utils Directory

Hi,
I recently cloned the SegAnyGAussians repository and have been working with the codebase. While running the project, I encountered an issue related to the utils.contrastive_decoder_utils module. It seems that the contrastive_decoder_utils.py file is missing from the utils directory.
The code references this module, but after searching through the repository, I could only find a compiled .pyc file (utils/pycache/contrastive_decoder_utils.cpython-37.pyc). Unfortunately, the original .py source file is not present in the repository.
Could you provide guidance on how to proceed without this file or point me to an alternative module or implementation?
I believe we just have to comment line in the jupyter in the beginning.

Hi, you can just remove the reliance on utils.contrastive_decoder_utils. This has been deprecated during our development.


Payload doesn't start up

Bug Report

Trying to start the project after using npx create-payload-app inside a docker image (node:18-alpine) is impossible. The project does not start.
this is the docs that I'm using https://payloadcms.com/docs/getting-started/installation
Is there something I'm doing wrong?, thanks for your help guys.
Steps to Reproduce

Initialize docker container (node:18-alpine)
Run npx create-payload-app
Install completes successfully
Run yarn dev
Project doesn't start.

Other Details

/home/node/app # npx create-payload-app
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y

  Welcome to Payload. Let's create a project!

✔ Project name? … payload-cms
✔ Choose project template › blog
✔ Enter MongoDB connection … mongodb://secret:secretpass@mongodb:27017/payload?authSource=admin

  Creating a new Payload app in /home/node/app/payload-cms

✔ Project directory created
✔ Dependencies installed
✔ .env file created
✔ Payload project successfully created

  ★ Launch Application:

    - cd ./payload-cms
    - yarn dev

  ★ Documentation:

    - Getting Started: https://payloadcms.com/docs/getting-started/what-is-payload
    - Configuration: https://payloadcms.com/docs/configuration/overview

npm notice
npm notice New minor version of npm available! 9.3.1 -> 9.4.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.4.1
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
/home/node/app # cd ./payload-cms
/home/node/app/trnds-cms # yarn dev
yarn run v1.22.19
$ cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon
[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts
[nodemon] starting `ts-node src/server.ts`
[nodemon] app crashed - waiting for file changes before starting...

Hey @mauroencinas — this should be doable. I'd try and start your process manually, outside of nodemon, to see if you can get a better error log. Run ts-node src/server.ts and see what you get. Let us know!

Hey @mauroencinas — this should be doable. I'd try and start your process manually, outside of nodemon, to see if you can get a better error log. Run ts-node src/server.ts and see what you get. Let us know!

Thank you very much, you are very kind for your recommendation, I tried to do what you tell me, and the result is Illegal Instruction, I tried the command with and without npx

OK. this is then likely not an issue with Payload and something that you should research regarding your Node 18 Docker image. I bet it has something to do with one of Payload's dependencies. Can you attempt to use another Docker image?
I will convert this to a discussion as there is likely nothing that Payload can be done to fix this, although I'm happy to continue to help!


Not support set badge count in text format

I currently cannot set badge count in text format. In case number is large such as 150,200... i want to display badge number as "99+". But there is method set badge with integer only.

the problem with this approach is that some logic is performed behind the badge count (like hiding or showing if greater or less than 0), so I'm not sure how the app should behave when having String values.
IMO, I'd agree implementing something like TextView's ellipse (using a threshold), like, if count > x show '+' sign.
What do you think @itman85 and @roughike ?
I'd gladly drop a PR !

That's awesome if support a threshold to show plus sign.

@itman85 PR #859 created.
Now we wait :)


[BUG] suppress_import_stdout in all_objects prevents all subsequent print-s

See https://github.com/sktime/sktime/issues/4692
Calling all_objects with suppress_import_stdout=True prevents subsequent print-s from printing.

Fixed with https://github.com/sktime/skbase/pull/193


Information on direction

Hello,
I've been using the http client (under moustic999) for a while and noticed it hadnt been updated for some time. When the new app version was released i saw we could now get energy usage in the app, so wanted to be able to pull it via the api instead - that's when I came across this fork.
I'd like to know what the plan for this project is, and where any help might be required.
I'm a software engineer and happy to help - just need to know what needs doing really - I'm a little unsure what is working in the app but not allowed by my heatpump, and what should work but doesn't
For example I have an IVT heatpump, and can't get any energy usage info - even by using the recordings endpoint - as I say, i dont know if that's supposed to be possible or not - the app must be getting it from somewhere, though I have been unable to decrypt the sniffed traffic.
Thanks
Gareth

I'm also interested in helping out wherever needed!
I have a Bosch Compress 7001i at home that didn't work out of the box, so I opened #3 where I try to add support for it. I got it working in HASS to some extent, but it's not yet 100%. But let's continue that discussion in #3.

Hi, @gareth-ellis I developed library under moustic999 but moustic hadn't much time to help me out last year, so I decided to make a fork, so I can release new version when I'm ready for it.

about energy usage - make rawscan and we can see if it is in the gateway or it is somehow calculated in bosch servers,

What you can do.
First thing to do would be automatic tests with tox or some other tool.
I made simulator for it which loads rawscan as json and try to react as bosch gateway.
It can make GET and very simple PUT, which would just edit key which was send to edit and there is need for algorithm which would edit other keys as well if needed... (eg if there is schedule set up, then currentSetpoint need to be changed).
If this editor would be smart enough, then I think automatic tests can be done against multiple rawscans, for IVT EMS, IVT CAN, NEFIT etc.
This would be step one, step two would be add tests to HA component,
Step 3, remove delays on startup of component, which I made because of too many requests to bosch gateway... It might be that now in new HA version components loading are not blocking whole HA from loading so those delays are not needed anymore.
Step 4. Fix reconnection (if lost) to gateway without needed to restart HA.

After I saw this issue and wrote my comment above I also found the Discord channel, join if you feel like it @gareth-ellis 🙂


Support energy sensors that resets at midnight

Since version 0.4.0 the score adds up constantly. It shows a value higher than 100%. This did not happen before this version.

The attributes show this:
state_class: measurement
energy_entity: sensor.zonneplan_p1_electricity_consumption_today
price_entity: sensor.zonneplan_current_electricity_tariff
quality: 1
total_energy:
2022-12-28T12:00:00+0100: 8.65
2022-12-28T13:00:00+0100: 9.1
2022-12-28T14:00:00+0100: 9.68
2022-12-28T15:00:00+0100: 10.2
2022-12-28T16:00:00+0100: 10.81
2022-12-28T17:00:00+0100: 11.52
2022-12-28T18:00:00+0100: 12.34
2022-12-28T19:00:00+0100: 13.08
2022-12-28T20:00:00+0100: 13.68
2022-12-28T21:00:00+0100: 14.12
2022-12-28T22:00:00+0100: 14.54
2022-12-28T23:00:00+0100: 14.95
2022-12-29T00:00:00+0100: 0.38
2022-12-29T01:00:00+0100: 0.8
2022-12-29T02:00:00+0100: 0.96
2022-12-29T03:00:00+0100: 1.63
2022-12-29T04:00:00+0100: 2.03
2022-12-29T05:00:00+0100: 2.45
2022-12-29T06:00:00+0100: 3.04
2022-12-29T07:00:00+0100: 3.47
2022-12-29T08:00:00+0100: 3.89
2022-12-29T09:00:00+0100: 4.54
2022-12-29T10:00:00+0100: 5.02
2022-12-29T11:00:00+0100: 5.34
price:
2022-12-28T12:00:00+0100: 0.21
2022-12-28T13:00:00+0100: 0.19
2022-12-28T14:00:00+0100: 0.16
2022-12-28T15:00:00+0100: 0.19
2022-12-28T16:00:00+0100: 0.2
2022-12-28T17:00:00+0100: 0.21
2022-12-28T18:00:00+0100: 0.21
2022-12-28T19:00:00+0100: 0.18
2022-12-28T20:00:00+0100: 0.18
2022-12-28T21:00:00+0100: 0.15
2022-12-28T22:00:00+0100: 0.12
2022-12-28T23:00:00+0100: 0.1
2022-12-29T00:00:00+0100: 0.08
2022-12-29T01:00:00+0100: 0.08
2022-12-29T02:00:00+0100: 0.07
2022-12-29T03:00:00+0100: 0.07
2022-12-29T04:00:00+0100: 0.07
2022-12-29T05:00:00+0100: 0.08
2022-12-29T06:00:00+0100: 0.08
2022-12-29T07:00:00+0100: 0.08
2022-12-29T08:00:00+0100: 0.12
2022-12-29T09:00:00+0100: 0.18
2022-12-29T10:00:00+0100: 0.2
2022-12-29T11:00:00+0100: 0.19
last_updated: '2022-12-29T11:59:46.345340+01:00'
unit_of_measurement: '%'
icon: mdi:speedometer
friendly_name: Total Energy Score

I guess you found a bug! Could you please attach a picture of the sensor attributes?

I updated the post with the attribute values. Is that what you need?

I think I understand the issue here.. You are using an energy sensor that resets every day, while the integration is currently is set up to handle sources that are constantly increasing (without resetting). I think I can add support for such sensors as you have quite quickly, but if you can't wait for it, you could change to a different type!

I think I understand the issue here.. You are using an energy sensor that resets every day, while the integration is currently is set up to handle sources that are constantly increasing (without resetting). I think I can add support for such sensors as you have quite quickly, but if you can't wait for it, you could change to a different type!

That's correct, my energy provider integration only sends the daily consumption (which I find odd). I do not have the total consumption in my system. I can add a P1 meter myself to get that info or create a custom template, but it would be great to work with daily consumption as well. Not sure if other users face the same issue that they do not get the total consumption from their provider's integration.

I think this could be a problem for many actually. If you have developer tools active for your installation, could you please attach the information on your energy sensor so I can have a look at it to understand how to implement this feature?

Here you go!

It might also be an idea to let people use the utility meter integration for this so that they can create their own sensor based on whatever input. And use that sensor in your configuration in the configuration.yaml. Just an idea. Not sure if it makes sense.

It might also be an idea to let people use the utility meter integration for this so that they can create their own sensor based on whatever input. And use that sensor in your configuration in the configuration.yaml. Just an idea. Not sure if it makes sense.

Should be possible already 😀

It might also be an idea to let people use the utility meter integration for this so that they can create their own sensor based on whatever input. And use that sensor in your configuration in the configuration.yaml. Just an idea. Not sure if it makes sense.

Should be possible already 😀

I'm a bit puzzled. The utility meter resets too (daily, weekly, monthly, yearly). Doesn't that mean that this results in the same issue that I currently have with the daily measurements?

Oh wait, I now see that cycle is optional. Never knew that. Let's try this...

I think most people's energy sensors are native, usually not resetting I would guess. Home Assistant docs recommends to treat totals like this (state class:total with no last reset), docs available here.
I have been meaning to dive into this, so thanks for reporting this and pushing me to understand this! I should have a fix for all state class types ready within the hour.

@smarthomejunkie That was way more complicated than I thought at first, especially testing all the edge cases. But I think I have a good solution for this now. This was released in version 0.4.1, should be available in HACS within the hour. Thanks for reporting!

Thank you so much for fixing this. Will download it as soon as it's available!

Seems to be fixed! Great job!

Hmmm,
I think it was an old value. I created a template and automation to calculate the total value and that worked today. After I installed the update, I guess that value was still shown. Now, after running it for about an hour with the old sensor reinstated, I get this value. Let's see tomorrow morning what the result is.

Wow, that seems like an odd number. To recreate that, I need to understand the data. Please paste the sensor attributes if the problem persists!

This morning the value is as follows:
These are the values of the sensor:
State: 453383
state_class: measurement
energy_entity: sensor.zonneplan_p1_electricity_consumption_today
price_entity: sensor.zonneplan_current_electricity_tariff
quality: 0.96
total_energy:
2022-12-30T09:00:00+0100: 6.42
2022-12-30T10:00:00+0100: 6.79
2022-12-30T11:00:00+0100: 7.13
2022-12-30T12:00:00+0100: 7.74
2022-12-30T13:00:00+0100: 14940
2022-12-30T14:00:00+0100: 15950
2022-12-30T15:00:00+0100: 16250
2022-12-30T16:00:00+0100: 16680
2022-12-30T17:00:00+0100: 16940
2022-12-30T18:00:00+0100: 20830
2022-12-30T19:00:00+0100: 21290
2022-12-30T20:00:00+0100: 21510
2022-12-30T21:00:00+0100: 14.31
2022-12-30T22:00:00+0100: 14.79
2022-12-30T23:00:00+0100: 15.11
2022-12-31T00:00:00+0100: 0.3
2022-12-31T01:00:00+0100: 0.63
2022-12-31T02:00:00+0100: 0.96
2022-12-31T03:00:00+0100: 1.27
2022-12-31T04:00:00+0100: 1.59
2022-12-31T05:00:00+0100: 1.93
2022-12-31T06:00:00+0100: 2.43
2022-12-31T07:00:00+0100: 2.81
2022-12-31T08:00:00+0100: 3.2
price:
2022-12-30T09:00:00+0100: 0.11
2022-12-30T10:00:00+0100: 0.1
2022-12-30T11:00:00+0100: 0.1
2022-12-30T12:00:00+0100: 0.1
2022-12-30T13:00:00+0100: 0.1
2022-12-30T14:00:00+0100: 0.1
2022-12-30T15:00:00+0100: 0.11
2022-12-30T16:00:00+0100: 0.1
2022-12-30T17:00:00+0100: 0.11
2022-12-30T18:00:00+0100: 0.1
2022-12-30T19:00:00+0100: 0.1
2022-12-30T20:00:00+0100: 0.11
2022-12-30T21:00:00+0100: 0.08
2022-12-30T22:00:00+0100: 0.08
2022-12-30T23:00:00+0100: 0.08
2022-12-31T00:00:00+0100: 0.08
2022-12-31T01:00:00+0100: 0.08
2022-12-31T02:00:00+0100: 0.08
2022-12-31T03:00:00+0100: 0.08
2022-12-31T04:00:00+0100: 0.08
2022-12-31T05:00:00+0100: 0.08
2022-12-31T06:00:00+0100: 0.08
2022-12-31T07:00:00+0100: 0.08
2022-12-31T08:00:00+0100: 0.08
last_updated: '2022-12-31T08:17:43.424392+01:00'
unit_of_measurement: '%'
icon: mdi:speedometer
friendly_name: Total Energy Score

Thanks, even though it should not behave like it does, it seems to me that there is something odd with your energy sensor, look at the values between 13:00 and 20:00!

Yes, this is probably because of the automation and custom template that I've created. Is there a possibility to delete these data?

Yes, there is something off with your energy values. They will go out of the data set within today, since EnergyScore only holds 24 hours of data. Not a way to purge the data, but good idea, think I will create a service for that!
I will try to replicate the score using your data, and see if there is something off here.

I do think those strange values are totally my fault for experimenting with creating a custom sensor to create the total energy consumption. I believe it will solve itself during the day. Thank you for your support! I think I will create a YouTube video of this integration. Love the idea!

@smarthomejunkie : With the help of your code, I found a serious bug in the code. Thanks for reporting again. Release v0.4.2 should be on its way to HACS within the hour with a fix!

You're welcome 😂


Split package into modules

As atom-beautify is enormous (50M installed!), maybe it would be good to split it into modules, as linter packages does, so that users can choose what languages to enable.

I want Atom Beautify to be the one-stop place for all code beautification in Atom. As of #282, each beautifier is very light-weight itself (e.g. https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/autopep8.coffee ) and it'd be annoying for me to maintain at least (currently) 15 small repos for each beautifier, when right now they are simply files. So I am not supportive of splitting into separate modules, as the linter package does.
However, I do understand your concern with loading all of these dependencies at install time. I was thinking of using lazy-require such that the first time a user would use a particular beautifier it would then require all of it's dependencies, instead of up front. Thus, installation of Atom Beautify would be very quick, and then the first time a user would beautify a file, it would then automatically install whatever dependencies it needs for that beautifier.
Essentially, I picture it as Atom Beautify being able to recognize each language it supports and then effectively install each module upon usage. Like linter package, except auto-installing: you do not need to install linter and then linter-coffeescript, you simply install linter and try to lint CoffeeScript and it will detect that it is supported and install it for you.

Yes, I was concerned with the size of dependencies, not of the beautifiers. I like your idea of autoinstalling when used; thank’you very much for considering this!

Currently node_modules directory is about 74.3 MB. I would like to dramatically cut this down.
However, do note that users that use the bigger packages -- typescript-formatter, jscs, prettydiff, gherkin -- will of course increase their node_module contents. The point being that updating Atom Beautify will be very quick and you will only install what you need as you need it based on your usage.

Atom-Beautify will be migrating to Unibeautify ( #1174 ) which will support beautifiers that are separated from the core ( #620 ) and therefore dramatically reducing file size and installation time. No more unwanted beautifiers! Only install what you need.
I am closing this issue in favour of following #1174 .


proxy - build container - make doesn't work

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Tried local build with container. It fails with version GLIBC_2.34' not found`
➜  proxy git:(master) ✗ BUILD_WITH_CONTAINER=1 ARCH_NAME=aarch64 make clean
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
chmod: changing permissions of '/config-copy': Operation not permitted
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
cp: cannot stat '/config-copy/*': No such file or directory
FATAL: $USER is not set, and unable to look up name of current user: (error: 0): Success
Makefile.core.mk:74: recipe for target 'clean' failed
make[1]: *** [clean] Error 36
make: *** [clean] Error 2
iconv: iconv_open(, -t): Invalid argument
Error converting string from  to UTF-8

What was expected
The commands should work as they do in older build containers
➜  proxy git:(master) ✗ IMAGE_VERSION=master-b0f2fd3b4240c8178b14de4689d0e663e11868ff BUILD_WITH_CONTAINER=1 ARCH_NAME=aarch64 make clean
Starting local Bazel server and connecting to it...
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
iconv: iconv_open(, -t): Invalid argument
Error converting string from  to UTF-8

Version
Using latest proxy : https://github.com/istio/proxy/commit/8ecf97b08a2b245d9ea6f44f59f69e89a2b457a8

Additional Information
No response

it's broken after https://github.com/istio/istio/commit/cc33da463893fba62bf4d6615df42385d751ae3a

this was the change: https://github.com/istio/tools/pull/2913 🤔

Hmm, seems to work in our CI. Not sure what would trigger the difference

proxy git:(master) ✗ BUILD_WITH_CONTAINER=1 ARCH_NAME=aarch64 make clean
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)

You're trying to cross-build? I don't think ARCH_NAME is enough to accomplish that?

Oh didn't notice that part. Yeah, don't do cross building :slightly_smiling_face:
If you do, you would need to do it at the docker layer with --platform which will end up running under qemu. TBH I doubt it works either, but its certainly not going to work to natively cross build

yeah, that flag is a problem. Fails on my mac regardless. Works on ubuntu host.
BUILD_WITH_CONTAINER=1 make build -B
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
chmod: changing permissions of '/config-copy': Operation not permitted
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
su-exec: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by su-exec)
cp: cannot stat '/config-copy/*': No such file or directory
make[1]: Nothing to be done for 'Makefile.overrides.mk'.

Hmm, seems to work in our CI. Not sure what would trigger the difference

This is what's present in the build container on my machine. Probably CI gets a different ubuntu version based on arch
docker run -v $(pwd):/work -w /work -it --entrypoint=bash gcr.io/istio-testing/build-tools-proxy:master-62b37843401cf50e072f1d7f4d565730b708d642
build-tools:/work# ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.6) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

build-tools:/work# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Note the proxy build remains on the old version for legacy glibc support

I think it is related to "base OS" image update (newer glibc version requirement comes from there). I found an older discussion here -> https://github.com/istio/tools/pull/2458
I am not currently blocked by this issue but happy to help because it seems we are now breaking builds for amd64

I encountered the same error on the program iTerm2, also on a Mac, as you did. While searching for a solution, I found this issue page and wanted to share my findings in case they provide any useful insights.
With the latest version of iTerm2, a dialog prompted me to choose a locale because it was not defined by default by the system. When I selected EN_US, the error started appearing on every line of the terminal. Removing that setting by using "Do not set locale environment variables" resolved the issue. It seems in Mac you need to avoid setting the $LANG variable. I have attached some screenshots for reference.

With the latest version of iTerm2, a dialog prompted me to choose a locale because it was not defined by default by the system.

Yup, that was noise. I was able to fix that later 🙂
Thanks for sharing!


[Gallery][WASM][UI Components -TextBox] Misalignment of Clear Button with Cursor When Switching Between Textboxes

Current behavior
When switching from one textbox to another, the cross sign (clear button) for removing text does not align with the cursor
https://github.com/user-attachments/assets/a1b0dd85-718a-42f7-9a53-aa823ae50f81
Expected behavior
The cross sign (clear button) should be consistently aligned with the cursor when switching between textboxes
How to reproduce it (as minimally and precisely as possible)

Open Galley canary WASM
From the side Menu expand UI components
From UI components click on TextBox
Enter text in one textbox
Enter text in another textbox
switch between 2 textbox and observe the clear sign

Environment

Nuget Package:
Package Version(s):
Affected platform(s):

[x] iOS
[ ] Android
[ ] WebAssembly
[ ] UWP
[x] MacOS

Anything else we need to know?
Could be related to https://github.com/unoplatform/uno/issues/17914 , https://github.com/unoplatform/uno/pull/17633

@eriklimakc can you take a look and leave more info please

From a quick test using an newly created Uno app:
That's wasm only. Apparently the control is not changing to the "Focused" VisualState when it is clicked.
This is reproducible on both the "FilledTextBoxStyle" and the "OutlinedTextBoxStyle". But also with PasswordBox, so I don't think this is a bug brought with the Header/Placeholder changes.
cc @agneszitte @kazo0

This issue is also reproducible using <UnoThemesVersion>5.0.13</UnoThemesVersion>. Version prior to the Header+Placeholder changes. Could it be related to https://github.com/unoplatform/uno/issues/17914?
cc @dr1rrb @Xiaoy312 @kazo0

It's reproducible on fluent from blank template: https://github.com/unoplatform/uno/issues/18040

@Youssef1313 is https://github.com/unoplatform/uno/pull/18042
will completely fix this issue please?

Yes it should, I think.

@jhanvi03 can you retest this issue with latest Gallery canary build to verify if it is fixed please

Latest available Uno.Sdk doesn't include the fix yet. We need https://github.com/unoplatform/uno.templates/pull/941 first

@Youssef1313 if you can update @jhanvi03 when it will be ready for QA again for this issue, it will be appreciated please

It should be ready for testing again

FYI @jhanvi03 I think you should be able to test this now

The issue is resolved on Mac WASM but persists on iOS. On iOS, when moving the cursor from one textbox to another:
-The 'Cross' icon does not appear.
-Instead of placing the cursor at the end of the text, all the text gets selected. After deselecting, the 'Cross' icon still does not appear.
MAC WASM: Test Pass
Version:

Package
Referenced version
Updated version

Uno.Core.Extensions.Compatibility
4.0.1
4.1.1

Uno.Core.Extensions.Disposables
4.0.1
4.1.1

Uno.Sdk
5.3.96
5.4.0-dev.236

Package	Referenced version	Updated version
Uno.Core.Extensions.Compatibility	4.0.1 4.1.1
Uno.Core.Extensions.Disposables	4.0.1 4.1.1
Uno.Sdk	5.3.96 5.4.0-dev.236
https://github.com/user-attachments/assets/09b72e4e-965b-4885-b5bf-ee0226c37efd
iOS: Test Fail
Version: 1.6.0(2409061451.1778)
https://github.com/user-attachments/assets/70bb8226-58af-4047-9ce1-145f0751eb3e

The issue is resolved on Mac WASM but persists on iOS
@Youssef1313 I will let you take a look as @jhanvi03 is still able to reproduce on iOS please

@ajpinedam Would you be able to help with the iOS part of this issue?

Yes, sure I can look into it. (@Youssef1313 ).
Thanks @agneszitte  for assigning the issue to me :)


Support for data-* passthrough in data-method=delete

In order to support a restful delete rails turns a link with data-method=delete into a form with an input _method=delete. When using additional frameworks such as jquery-mobile links and forms carry other data to control the behavior. (data-ajax=false).
The data from the link (data-ajax=false) is not copied/carried across to the form meaning that the other frameworks will not process the form as specified by the link.  Is it possible to add a mechanism in which the form inherits data-* from a link.

I agree we need a proper solution. I need jQuery Mobile with Rails UJS to honor data-ajax="false" on links that are using data-method="delete". I can see both sides of the argument, and think either of @ahutch's suggestions would be great.
In the meantime, I've patched rails.js to one-off copy data-ajax from the link to the form: 4d6bc50c4545ac2f492c1e584bef1e154cd61522


Contributors

Id like to contribute to this project. Where should I start? do you have a trello board or something with current development efforts mapped out?

Great idea! Unfortunately devapple doesn't check this gist very often so we should contact him directly

Last contribution was in june and he/she/helicopter has only contributed 18 times this year sooo :(


[0.5pt] Find external API - group task

Find an API to base the development of the webapp around it. The API should allow you to

Get a list of items with a unique item id (or generate the unique id).
For a given item, get detailed information about it.
choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.

We chose an API: https://api.tvmaze.com/ Public Key: SnOCbjh9DgD6idQvpdD_3x00aEeT8SsG


java.lang.IllegalStateException: Fragment MainTabsFragment{3f32dd8} not attached to Activity

Hi, I just clone this project and get "java.lang.IllegalStateException: Fragment MainTabsFragment{3f32dd8} not attached to Activity" error. How to fix this?

Closing until you add code...the issue template states this if you read it.


Add colors to Bad/Good code headers

How about colorizing the headers "Bad code" in red and "Good code" in green?
Example:

Oh, god no. My eyes are burning. Do not like.

Oh, god no. My eyes are burning. Do not like.

The bright colors themselves or in general?

Oh, god no. My eyes are burning. Do not like.

The bright colors themselves or in general?

Both - I do not like coloring different headline - and if we had to - those colors are sooooper bright

I don't have an opinion.  May be if you take a darker green and darker red, it might be better?

Red and Green are not good for color blind people

I don't have an opinion. May be if you take a darker green and darker red, it might be better?

I Still do not like it -
I understand what You are getting at - But I think if we restructure with
Example 1
Bad Code
if FindSet() then begin
    repeat
    ...
    until next() = 0
end;

Good Code
if not FindSet then
    exit;

repeat
    ...
until next() = 0

Example 2
Bad Code
if FindSet(FALSE, FALSE) then begin
    repeat
        DELETE();
        Code := 'SAMEASBEFORE';
        INSERT(TRUE);
    until next() = 0
end;

Good Code
if not FindSet then
    exit;

repeat
    ...
until next() = 0

I think we get the same separation that I think You are going for?

I understand what You are getting at - But I think if we restructure with example headers?

Not sure if I have a vote here, but I am with @TheDoubleH I am not a friend of those colors.
However, I do agree that a bit more structure would help, and IMO the extra headers do the trick 👍


Model paths confirmation

I have it installed under D:\Tests\controlGIF\
Is this the correct directory structure under checkpoints?
checkpoints
├───basemodels
├───controlnet
│   └───animatediff_controlnet
├───stable-diffusion-v1-5
│   ├───feature_extractor
│   ├───safety_checker
│   ├───scheduler
│   ├───text_encoder
│   ├───tokenizer
│   ├───unet
│   └───vae
└───unet_temporal
    └───animatediff_controlnet

I downloaded all the models into the above directories.  python app.py starts and the UI opens.
In the first Pretrained Model Path dropdown I select
D:\Tests\controlGIF\checkpoints\stable-diffusion-v1-5\
and it seems to load OK.  Command line shows
### Temporal Module Parameters: 453.20928 M
update stable diffusion done!

Next dropdown Select Motion Module.  If I click anywhere in that area or try and drop down the list I get error and the command line shows
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
If I click the reload button next to the dropdown, the error goes away, but when I click the dropdown arrow nothing shows up?
If I click the Select base Dreambooth model dropdown nothing happens.  Then a second time I get the error.
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
If I click the reload button next to that the error goes away, but nothing in the dropdown list.

Thank you for your feedback! the directory structure is :
checkpoints
├───basemodels
├───controlnet
│   └───controlnet_checkpoint.ckpt
├───stable-diffusion-v1-5
│   ├───feature_extractor
│   ├───safety_checker
│   ├───scheduler
│   ├───text_encoder
│   ├───tokenizer
│   ├───unet
│   └───vae
└───unet_temporal
└───motion_checkpoint_less_motion.ckpt
└───motion_checkpoint_more_motion.ckpt
Then you can choose model in the webui.

OK, so my checkpoints are in the right directroies then,
What about the error when a model is selected or nothing in the dropdowns?
Am I supposed to select
D:\Tests\controlGIF\checkpoints\stable-diffusion-v1-5\
in the first dropdown?

Yes, you can choose this dir:

You can reload the webui, this error usually comes from you selecting nothing.

Reload how?
If I hit the browser reload button the poage reloads and I have to select the "pretrained base model" again.  After that, the same error with the "Slelect motion module" dropdwon.
If I close the web page completely and then open http://<IP_ADDRESS>:7860/ again, same errors.

I worked out the "Select motion model" issue.
I used git clone to download https://huggingface.co/crishhh/animatediff_controlnet so it put the models under a unet_temporal\animatediff_controlnet folder.  maybe update your instructions to specify which model files are needed rather than just a pointer to a huggingface?

Also, base Dreambooth model needs to be .safetensors or the selection option remains empty...

@crystallee-ai the link to stable-diffusion-v1-5 is invalid now. could you help provide the link of this model?

Maybe you can find it in modelscope: https://modelscope.cn/models/AI-ModelScope/stable-diffusion-v1-5

@crystallee-ai the link to stable-diffusion-v1-5 is invalid now. could you help provide the link of this model?
Maybe you can find it in modelscope: https://modelscope.cn/models/AI-ModelScope/stable-diffusion-v1-5

@crystallee-ai the link to stable-diffusion-v1-5 is invalid now. could you help provide the link of this model?
Maybe you can find it in modelscope: https://modelscope.cn/models/AI-ModelScope/stable-diffusion-v1-5

got it. thanks a lot.


[Question] Is it possible to calculate IV if the option price is given?

Is it possible to calculate implied volatility if the option price is given?

I wrote a routine to do this.
Basically, you run the model and change the IV until you reach your desired price. 1) You need an IV value to begin from. 2) There are limits to the equation. So as your IV values get very large or very small the price of the option becomes asymptotic and creates a pseudo infinite loop.  But I find it to be a valuable tool because the only thing you can lean on is the bid/ask price. Everything else is theoretical and therefore relative to your model.


Use UBI image for OL

Use UBI image for OL

[ ] commit message follows commit guidelines.

Modifying an existing stack:
Description
Updating the Java Microprofile stack to use Open Liberty's UBI image, which is preferred for running in OKD / OpenShift.

 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.

@arthurdm Thanks for your contribution. We'll get this reviews shortly.

The change looks OK but I do not believe we are targetting a specific deployment environment for Appsody. So keeping the stacks as generic as possible would be the preferred way to go.
Closing this for now. Please feel free to re-open if you disagree.


Prevent removing all functioning relays

Astral gets the list of preferred relays using its default list of relays.
If that list contains only defunct relays, it's hard to recover as I have to manually add all default relays to get my fixed list to all default relays so that at the next start of using astral I don't fall back to my defunct relays.

So I'm still not sure what exactly is happening. I checked all default relays and my own localhost relay and none of them gives me back the bad relay or a list of one at all. They are now all well seeded with a long list of relays (except for the fiatjaf relays that don't reply).
My query is ["REQ","name",{"limit":7,"authors":["46fcbe3065eaf1ae7811465924e48923363ff3f526bd6f73d7c184b16bd8ce4d"],"kinds":[3]}].
Ok, I found the culprit. The bad relay was sitting in the DB. After hitting "delete local data" I now don't get the bad relay anymore.

i decided to just leave them displayed (so users don't get confused by disappearing relays) but move them to the bottom of the list and change the share button to a remove button. this way its still a two step process to remove the relay completely (first turn off read/write, second remove the relay) and its easy to understand without hiding anything.

Turning off read and write should also avoid a channel to be opened.
The save button does not show any feedback on success or need to be pressed. Please make it such that

when I edit relays, the disabled save button gets enabled
when I hit the save button, show a spinner
when saved, make save button disabled again

I think, Astral bootstraps from some default relays, so if removing all of those doesn't get stored with those, I always load what was last stored to any of those. Can't Astral bootstrap from the DB instead? Load the used relays from DB and only fallback to default relays if DB not available? And maybe unsubscribing from a relay should still be persisted at that relay?

this is already the behavior I believe. loads the default list of hard coded relays until the db responds with the most recent relay list. its not querying the default relays for the relay list.
for the save button, it already should get disabled after saving but saving is kinda slow/erratic. will try to make this more consistent

Ok, the default relays flashing at reload is a bit irritating but good to know they are only flashing, not being used.


After searching a reason and if the list is previously reordered it does not persist the reordered sequence

Current behavior

When reordering to reasons and then searching for a specific reason and then clearing the search, then the reordered list is lost.
Expected behavior

The reordered list should persist until user does not leave the page or clicks the save button
Steps to reproduce the issue

Reorder the reasons
Search for any reason
Clear the search and verify that the original list is displayed instead of the reordered list

Can you handle fixing this bug by yourself?

[x] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Based on discussion with @dt2patel sir, The searching with reordering might create confusion. And there not many reasons in our case.
Hence removing the searching form the rejection reasons page.


Replace obsolete dependency

In abi/abi.go & verify/verify.go, the pborman/uuid library is used, but hasn't been updated in 4 years.
It adds little functionality, compared to the google/uuid library. Would it be possible to update the code accordingly ?

Fixed with PR#123. Thanks for your report!


Bug in handling of base crit damage

This is due to an update that fixed and consolidated percentages as floats in the api.


Add i18n section

I noticed there is currently no section that pertains to i18n at all, so as a resident of a country with 4 national languages I felt compelled to add it. :)
I've populated the internationalization category with some of the most commonly used packages that are well established. There are others with many hundreds stars but these projects haven't seen any activity in over 2 years.

django-localflavor - Self-explanatory as a previous Django core module.
django-modeltranslations - The i18n project with the most Github stars, using a registry to create migrations and even allows translating third party models.
django-modeltrans - A modern solution using a single JSONField to store translated values and using virtual fields to access them (my personal favorite as it's much more lightweight and unintrusive than the above)
django-rosetta - A Web GUI to modify your gettext catalogs

Let me know what you think!

thank you @julianwachholz


Composer: handle invalid composer json

Handle schema validation errors from composer and error with a more
helpful error message with details on how to debug and fix.

Not sure why the npm_and_yarn tests failed. Code checks out.
LGTM 👍

Not sure why the npm_and_yarn tests failed. Code checks out.

Yeah there was a fixture that was out of date so fixed on main


Add IoT cheatsheet

@Khushi-Shukla Can you elaborate the topics you are planning to contribute within the IoT domain cheatsheet?

@Khushi-Shukla Can you elaborate the topics you are planning to contribute within the IoT domain cheatsheet?

I am planning to add the following points:

A brief introduction
How does IoT works
IoT and security
What does an IoT developer do
List of IoT Tools and Platforms for IoT Development and Developers

@Khushi-Shukla Can you elaborate the topics you are planning to contribute within the IoT domain cheatsheet?

I am planning to add the following points:

A brief introduction
How does IoT works
IoT and security
What does an IoT developer do
List of IoT Tools and Platforms for IoT Development and Developers

Sounds good enough, Just make sure you make each of those sections descriptive enough to understand the concepts properly. You can even addon the various types of sensors and parts that we use and their descriptions with application in realife projects.


Code":"4000"，"message":"Missing required header parameter or bad request for header"}

This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/panasonic_cc/pcomfortcloud/session.py:158
Integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 10:20:21 (3 occurrences)
Last logged: 10:21:28
Error setting up entry for panasonic_cc
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/init.py", line 79, in async_setup_entry
devices = await hass.async_add_executor_job(api.get_devices)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 201, in get_devices
self.login()
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 105, in login
self._create_token()
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 158, in _create_token
raise ResponseError(response.status_code, response.text)
custom_components.panasonic_cc.pcomfortcloud.session.ResponseError: Invalid response, status code: 400 - Data: {"code":"4000"，"message":"Missing required header parameter or bad request for header"}

I was about to post the same error. Happened after a maintenance downtime from Panasonic

Getting the same issue also after the Panasonic maintenance period

Tibber also lost connection to Panasonic, so it’s an API problem

Same issue here. Mobile app "Comfort Cloud" is now working after the maintenance, but HA still cannot detect it. Integration keeps saying "Failed to Setup". I also upgraded HA to 2023.9.2 today

Same problem here.
Home Assistant 2023.9.2
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest
custom_components.panasonic_cc.pcomfortcloud.session.ResponseError: Invalid response, status code: 400 - Data: {"code":"4000"，"message":"Missing required header parameter or bad request for header"}

Same issue here - I have deleted the integration and tried to add it again and get "Unexpected error creating device."

My assumption is that they changed something on the app again, will investigate

The comfort cloud android app works fine after maintenance. The app was updated in April, so it might be that the server now requires headers added back then.

most likely something that was either not mandatory or now enabled with a feature flag

I tried running the Comfort Cloud android app through fiddler to see what has changed, like I did before when creating a simple .Net app to read data from the server, but now the app doesn't load when using a proxy. Tried also with fiddler CA installed on phone. I get same 4000 error in my .Net app.

+1 here.

Same here
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/panasonic_cc/__init__.py", line 79, in async_setup_entry
    devices = await hass.async_add_executor_job(api.get_devices)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 201, in get_devices
    self.login()
  File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 105, in login
    self._create_token()
  File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 158, in _create_token
    raise ResponseError(response.status_code, response.text)
custom_components.panasonic_cc.pcomfortcloud.session.ResponseError: Invalid response, status code: 400 - Data: {"code":"4000"，"message":"Missing required header parameter or bad request for header"}

Tried to capture some traffic but it's not accepting the HTTP Toolkit certificates, need a rooted phone to try.

@sockless-coding Tagging for visibility, maybe you have the means to quickly check what changed

Seems like Panasonic changed something, I'll take a look and see if I can figure out what they changed.

I've released v1.0.37 that solves this issue

Works great 👍👍👍👍

Its working well now. Thank you!

@sockless-coding thank you so much for fixing this so quickly.

Back online!!! Thanks 🙏 🙌

Hey, had this issue today. Just wanted to say thanks so much for sorting it so quickly.
Maintaining open source software is often a thankless task, have donated :)

Great, thanks!

I believe the issue can be closed now.


Function naming

DefaultStorable
Instead of:
static func fetchFromDefaults(key: String?) -> Self?
func storeToDefaults(key: String?)

I think we should have:
static func fetch(key: String?) -> Self?
func store(key: String?)

Or maybe also have the parameter unnamed, not exactly sure on that yet.
What do you think about it?

@Cyberbeni Yeah I really have been meaning to shorten the names too, Ill make sure to include that in the next release!


Add hideTimer to RunLoop's common modes.

open func hide(afterDelay delay: TimeInterval, completion: TimerAction? = nil) {
        let key = UUID().uuidString
        let userInfo = ["timerActionKey": key]
        if let completion = completion {
            timerActions[key] = completion
        }

        hideTimer?.invalidate()
        hideTimer = Timer.scheduledTimer(timeInterval: delay,
                                                           target: self,
                                                           selector: #selector(PKHUD.performDelayedHide(_:)),
                                                           userInfo: userInfo,
                                                           repeats: false)
    }

Can you add an explanation?

Can you add an explanation?

hideTimer is in Default Mode of runloop, it should be added to Common Mode, otherwise, when scrollView slide, timer will stop


Add OpenID Connect module dependency.

What's this PR do?
Adds the missing dependency on openid_connect, and ensures the module's base class and interface are loaded in the Northstar module before we make our own provider that extends/implements them.
How should this be reviewed?
I deployed this branch to Staging (build) and it worked! ✅
Any background context you want to provide?
Here's the broken build for 6dc64ce1aa48de289cb2bd8ecb856ecc9d2c8e31:
DEBUG [64423f2f] 	Drush status:
 DEBUG [64423f2f] 	PHP Fatal error:  Class 'OpenIDConnectClientBase' not found in /var/www/staging.beta.dosomething.org/releases/20160916173520/lib/modules/dosomething/dosomething_northstar/plugins/openid_connect_client/northstar/OpenIDConnectClientNorthstar.class.php on line 8
 DEBUG [64423f2f] 	Drush command terminated abnormally due to an unrecoverable error.   [error]
Error: Class 'OpenIDConnectClientBase' not found in
/var/www/staging.beta.dosomething.org/releases/20160916173520/lib/modules/dosomething/dosomething_northstar/plugins/openid_connect_client/northstar/OpenIDConnectClientNorthstar.class.php,

Relevant tickets
🔔
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love.

¡OLÉ! :sheep: it!


change data_dir in runtime

is that any way to change the data_dir in runtime like config set dir command in Redis?

@islamTaha12
No way now, RocksDB, LevelDB don't support this too.

@siddontang thanks for fast respond. I'm wondering if its secure to expose it the public world or not


Rename SH_NODE_META_PUBLIC family to SH_SCOPE_PUBLIC

SH_NODE_META_PUBLIC = SH_SCOPE_PUBLIC
SH_NODE_META_SHARED = SH_SCOPE_SHARED
SH_NODE_META_PRIVATE = SH_SCOPE_PRIVATE
SH_NODE_META_SERVER = SH_SCOPE_SERVER

Right now these are in the NODE constants. For now the renaming can happen there too, but maybe this is something that should exist under /src/shrub/src/scope/, even though all it is is 8 constants.


Rename steps and clean

step renaming in titles, filename, and variables in tasks
separate the file exists error from when overwrite is set to false + temporary print because I couldn't do a raise error correctly

will do thanks!
could we do a last edit:
on step 3 annotations: in case file exists: write a new temp raw.fif (or warn that the file already exists)
the current behavior is that once the window is closed, any new annotations are lost. (because a file should not exist at this point)
Which makes sense, though is a pity in case someone started annotating a file that  already existed (for example, because it was created before, but not annotated) by mistake, then all is lost

@ArthurNguyen Done

in the last commit: we avoid convreting the file again if it already exists, though the error message doesn't show up
(minor issue, I can survive without)


Reduce library size

Reduces library total size by changing an if statement to evaluated conditionals.

Did it change the output size for you?  Uglify should already be doing this exact transformation.

When I use my change, total size output to the console after running npm run build shows 183 B which is 4B less than current build size of master.
I'm not sure about the uglify but dist/mitt.js is also reducing it's size from 310B to 294B.

This got fixed via minification when we moved to microbundle in #99, so I'm going to close this out.


 First word of header comment should be in imperative form. For e.g. Adds , Creates, Shows etc
Read up on https://oss-generic.github.io/process/codingStandards/CodingStandard-Java.html the coding standards
Note: Please collate properly. I am sure you have written more than this much 😆
Feel free to ping me once you are done

@tshradheya the latest version v1.5rc should have the collated code now 👍


.d.ts, .js and .js.map files in src.

Short description of the problem:
My src directory is randomly flooded with .d.ts, .js and .js.map files.
What behaviour are you expecting?
For these unnecessary files not to be there.
Steps to reproduce:
There isn't really any steps to re-produce this as I wasn't really doing anything out of the ordinary... The last thing I did before I noticed this was creating some promises and observers for geolocation data.
Which @ionic/app-scripts version are you using?
1.0.0
Other information:
This issue seems related: https://github.com/driftyco/ionic-app-scripts/issues/136... though I have no idea what angular barrels are.

 I'll re-open this if it happens again.

I use sublime text though, which doesn't do anything in terms of writing files. I'm pretty sure it's an ionic serve / webpack issue.

Hmm, it does seem weird. I think we'd hear about this is a lot if it was a common thing. Hmmm. I'm not sure where to go.

Weird indeed. I'll keep an eye out for if it happens again (it hasn't in a while) and update this with any findings.

same error here ! my directory src/providers just got flooded with .js an .map files. I don't how !

Just happened to me. Ionic v2.4.8. IntelliJ Ultimate 2017. IDE is set to not compile Typescript.

Same here sublime text 3

Same to be, also sublime text 3... perhaps sublime does has something to do with it...

Same thing happened to me as well. Sublime text 3.

@sangwin From what I remember deleting them is fine.
I haven't had this problem since I switched to VS Code, which is a much better development experience anyways. I'd definitely recommend it to anybody who hasn't tried it yet.

Same here, Sublime Text 3.  First time and have built hundreds of times

@shaneparsons, I have had! ^^" and also friends of mine. so...

you can use git clean -fd if u havent tracked those files
https://stackoverflow.com/questions/40349369/sublime-how-to-remove-js-map-js-files-of-ts-files-in-sublime-text


Set internal render resolution?

Hi, im wondering if theres a way in the code to set the internal render resolution, so maintain the same size viewer but for example set the model itself to be at 0.5* the resolution?

So I don't have a "nice" way to do something like this (e.g. via a constructor parameter to the Viewer class). You could modify the Viewer.init() where it sets up the root element to look like:
if (!this.rootElement && !this.usingExternalRenderer) {
  this.rootElement = document.createElement('div');
  this.rootElement.style.width = '50%';
  this.rootElement.style.height = '50%';
  document.body.appendChild(this.rootElement);
  this.rootElement.style.transform = "translate(50%, 50%)";
}

and that would reduce the viewer's dimensions by half and center it.
Or you could use your own renderer & canvas and pass it into the constructor for Viewer and then you'd have complete control over the viewport size.

Appreciate the response, this seems to only make the canvas window smaller, and the gaussian is itself still the same internal resolution.

Ok, thanks for taking your time to respond.


Abstract internal notify::Watcher type

Currently, MuxedEvents uses RecommendedWatcher which provides a simple, cross-platform default for fs events. However, the user may require a specific configuration or need for using PollWatcher, so it would be nice to at least abstract the internals for now.
It would also allow a shimmable MockWatcher for making the test suite more robust.

This should also allow for adding kqueue support without forking notify, or using its WIP next branch.


v<IP_ADDRESS>2 - Unable to load transitions from QT SCXML Editor files if state names or transition names contain spaces

Hello,
I've created a really big state diagram using the QT SCXML editor. In that diagram I have state names and event names containing space characters. When I tried to import that unit (using Add existing Unit) into ScxmlEditor none of the transitions import correctly.
Interestingly, ScxmlEditor doesn't seem to have an issue loading its own scxml files if they contain space characters.
To reproduce, I created two very simple diagrams using QT. The first (qt_simple1) does not contain space characters, the second (qt_simple2) does. Shown below is the second diagram containing spaces.

The first parses correctly in ScxmlEditor, the second doesn't.
The log file contains the following error:
ERROR> May 19 12:28:56 LOAD_SCXML> Can not create transition from:[State 1] to:[State] event:[Transition 3] cond:[]
qt_simple1.scxml.txt
qt_simple2.scxml.txt

According to SCXML standard state identifier must be a valid XML Schema ID, which does not allow whitespaces in their names.

Transition target can be a set of states

So parser split transition target with the space delimiter as a set of state IDs and that's why error happens

I wasn't aware that the space character is used as a delimiter to denote multiple targets!
Out of curiosity though, do you thing that it would be valid to have the following:
<transition event="Transition_3" target="State_2 State_4" ?
Where State_4 is another state.
If this is valid, what does it imply for the execution? That you have a synchronous transition from State_1 to both State_2 and State_4?

The 'target' attribute of a  (or the 'initial' attribute of a  or  element) do not in the general case specify a full legal state configuration since 1) they can contain  or non-atomic  elements 2) they do not contain the ancestors of the states in the list. We therefore define a legal state specification to be a set of states such that 1) no state is an ancestor of any other state on the list, and 2) a full legal state configuration results when all ancestors and default initial descendants have been added. (Note that the process of adding default initial descendants is recursive, since the 'initial' value may itself be non-atomic.) In a conformant SCXML document, the value of an 'initial' attribute or the 'target' of a  must either be empty or contain a legal state specification.

This is from the docs by the link I've provided upper