Home energy consumed

Hi again,
thanks for the integration and fix the last issue.
One question:
In this integration, is there any way to get the home energy consumed (energy from fv + energy from grid)?
Total energy consumed by day, month, year like this (but with consumed  energy):

Thanks

@jvcsw if you use the Open API version (not the kiosk mode) there is a lot of data available.
For the correct descriptions, see: https://github.com/tijsverkoyen/HomeAssistant-FusionSolar#what-do-all-entities-mean

Yes, I'm using Northbound API / OpenAPI, but I don't see this values.

There are the items that are exposed:

https://support.huawei.com/enterprise/en/doc/EDOC1100261860/3557ba96/real-time-device-data-interface
https://support.huawei.com/enterprise/en/doc/EDOC1100261860/4d0ba389/yearly-plant-data-interface

If you don't see them there is something wrong with your Open API configuration. Check Settings → Devices & Services → Fusion Solar → Click "xx entities" to see all the entities that are exposed.

Hi,
I have 4 entities, this is right, but you see the image now from fusionsolar webpage please:

The pink circles are values that I found in your integration, Ok.
The orange circles are values that can be calculed with other previous values, Ok.
But the yellow circles are values that I don't found in the integration.
For this reason, my request was add the consumption values in the integration like total production values.

Thanks

@jvcsw that is in kiosk mode?

@jvcsw that is in kiosk mode?

No, using Open API
https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/94#issuecomment-1554228250

Could you mail fusionsolar [at] Verkoyen [dot] eu your credentials? Then I will have a look, but no promises.

Some research, mostly for myself
Lifetime: sum of all collections in /thirdData/getKpiStationYear since the start of the station
Current year: /thirdData/getKpiStationYear
Consumed = use_power

In my case the most important is from lifetime. It would be interesting to have it as shown in energy productions (lifetime, year, month, day).

@jvcsw see https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/95
Would you be able to test this?

mmm... How can I test it?
A new version does not appear in Hacs.

Now there are more sensors:

Desconegut = not available

The ones that are not available are the ones therefor the API does not return data. Eg:
...
       {
            "collectTime":<PHONE_NUMBER>000,
            "stationCode": "XXXXXX",
            "dataItemMap": {
                "radiation_intensity": null, # Global Irradiation
                "installed_capacity": 0.0,
                "use_power": 1031.29,
                "inverter_power": 1558.06,
                "reduction_total_tree": 1.044,
                "power_profit": 348.124,
                "theory_power": null, # Theoretical yield
                "reduction_total_coal": 0.643,
                "perpower_ratio": null, # Specific energy (kWh/kWp)
                "reduction_total_co2": 0.764,
                "ongrid_power": 683.98,
                "performance_ratio": null # Performance ratio
            }
....

Can you check if the values match with what you see on your portal? There can be differences, but they should be in the same range.

Yes, I have reviewed and I do not see any errors, but I have done it very quickly.
I'll check everything when I have more time.
Thank you so much

Ok, let me know if you had the time to review it more in detail. If everything works fine I will create a release.

@jvcsw the names for the new entities are fixed in https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/95/commits/3b2d3cb624f122018acc2dbed725f88386712896
Total Current Day Energy, Total Current Month Energy and Total Lifetime Energy are coming from another endpoint. The Total Current Year Energy is based on the /thirdData/getKpiStationYear, this was added to be able to give the same information that is available in Kioskmode.
With the new entities all data from the /thirdData/getKpiStationYear is exposed. So that is why there are some duplicate entities with other names.
I will create a release later this week. Let me know if there any issues with these changes.
And a big thanks for helping me out to improve the integration.

I don't create the endpoints, these are what Huawei Fusion Solar exposes.
I will keep the entities for backwards compatibility, as probably a lot of users use them and have collected statistics for these entities.

Yes Yes, I know that the endpoints are from fusionsolar, I was just asking if there was one for each range.

There are, but I need to look into that. And it will also increase the number of calls that are made. And Huawei Fusion Solar is becoming more strict with the rate limiting.
I have created an issue: https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/96
Feel free to give your opinion.

Hi @tijsverkoyen,
I found these sensors without units (kWh):

Thanks

Ok, you're right, I was confused.
Well, if so, these two annual and lifetime values are missing

Yeah, I have added all data items I found in the documentation. Probably these are calculations based on other data?

I don't know how.
There are these values only (lifetime, in this case):

The orange value can be calculated, but the red ones? Missing at least one value.

@jvcsw probably best to contact Fusion Solar Helpdesk () and ask them where these values are exposed through the API.

Hi, this is the Huawei response:
_Nr1 :production minus fed to grid ( from perspective of feeding to grid )
Nr 2:consumtion minus from grid value (from perspective of purchasing from grid)
Nr 3: consumption from grid .
Best regards_
But I don't see the value of "from grid". Exist a lifetime/year sensor with "Feed-in energy" but not a with "Feed-out energy".
For

Beter to ask them which endpoints expose these data and how they are named.

I tried it two times with no response.


onClick of "State Unassigned" in dropdown takes to "All State data"

Describe the bug
Click on "State Unassigned" in the drop down menu of state data takes the cursor to "All State" data, i.e. to the beginning of the list.
If using keyboard to navigate the list. This makes you return to top and the keyboard cursor never reaches to the states bellow "State Unassigned"

Should be fixed now. Thanks for reporting! :)


Issue 998: Add Data Classification Profile

Related Issue:
#998
Description of changes:

Added data_classification object
Added data_classification profile
Added data_classification profile to database, databucket, email, file, metadata, product, resource_details and web_resource objects

Looks like this PR is picking up the latest version of the OCSF validator, which is now picking up more validation errors:
FATAL: File at events/network/file_activity.json does not pass metaschema validation. Error: 'optional' is not one of ['recommended', 'required'] at JSON path: '$.attributes.connection_info.requirement'

Either we need to fix the schema errors (likely in another PR) or pin the validator version fully.

Looks like this PR is picking up the latest version of the OCSF validator, which is now (technically, correctly) picking up more validation errors:
FATAL: File at events/network/file_activity.json does not pass metaschema validation. Error: 'optional' is not one of ['recommended', 'required'] at JSON path: '$.attributes.connection_info.requirement'

Either we need to fix the schema errors (likely in another PR) or pin the validator version fully.

I can create a new PR to fix this.

oh -- already on it!  https://github.com/ocsf/ocsf-schema/pull/1009

(1) data_type seems like a fairly generic attribute name for what we are trying to capture. When I see that name, I certainly expect something else in the larger context of OCSF. I believe we want something like a Data Sensitivity Category, which is clearly way too long of a name, but does that capture the need?
(2) I would need to extend the object for my use case, but this might get me out of the business of extending some of the objects that I extend now, which is a win. I assume I could also have the profile applied to other objects within my extension, right?
(3) I apply a classification object to product as a means of capturing the "high water mark" of the product (i.e., web application) that was accessed.  Worth considering.

(1) data_type seems like a fairly generic attribute name for what we are trying to capture. When I see that name, I certainly expect something else in the larger context of OCSF. I believe we want something like a Data Sensitivity Category, which is clearly way too long of a name, but does that capture the need?

Agreed, maybe something more simple like category or category_type? It exists within the data_classification object so we likely don't need data appended.

(2) I would need to extend the object for my use case, but this might get me out of the business of extending some of the objects that I extend now, which is a win. I assume I could also have the profile applied to other objects within my extension, right?

Yes, exactly!

(3) I apply a classification object to product as a means of capturing the "high water mark" of the product (i.e., web application) that was accessed. Worth considering.

We can certainly add the profile to the product object as well. Though this makes me wonder if we should add product to additional objects. Which OCSF object does product belong to in your example?

We can certainly add the profile to the product object as well. Though this makes me wonder if we should add product to additional objects. Which OCSF object does product belong to in your example?

For a Web Resource Activity event, I apply a classification object to:
metadata - captures the sensitivity of the event log
product - inside metadata, this product attribute captures the high water mark of the sensitivity of the data hosted by the product (app)
web_resource - captures the sensitivity of the resource that was accessed.
I have two other uses, but they are unique to my extended object.

Tagging Jonathan @jonrau-at-queryai here because I cannot add him as a reviewer.


How to get quota

Can someone point me to an example on how to get the quota with the Api?
Thanks

@nakioman does that solve your issue? Consider closing. If you think it should be part of the OneDrive SDK, keep in mind it's supposed to be a simple SDK.

Yes, thanks


Let user set the Image Size for the Resume

Is your feature request related to a problem? Please describe.
It's frustrating to set the image size using CSS.
Describe the solution you'd like
Therefore, it would be helpful if image size settings could be added, which is easy to use.
Describe alternatives you've considered
As a CSS comment, add how to set the height & width of the Resume Image.
Additional context

I want the red pointer box width to equate with the blue pointer width, while maintaining the aspect ratio of the picture.

Looks like you already found the feature, but for future reference for anyone looking for this, you can already do this inside the Photo Filters dialog :)


Smithy Codegen: gradlew breaks on Java version 14, resulting in codegen not working.

Issue: Gradle does not work on java 14, resulting in the codegen quitting with an exception and not generating code.
Reproduction:
Using the newest version of Java (14), and gradle 6.5 running
./gradlew :sdk-codegen:build

from the codegen directory in aws-js-sdk-v3 results in error:
"Could not initialize class org.codehaus.groovy.runtime.InvokerHelper"

This issue is also documented with gradle here: https://github.com/gradle/gradle/issues/12599, however the suggested fix if upgrading to 6.3+ does not clear the error. Downgrading to Java 11 fixes the issue.

I had the same issue, I downgraded my Java to version 11 and started to work.

If you are working on an Android Application, Just go to the root folder of your android project, open gradle-wrapper.properties, and then
replace the distributionUrl with the line below

distributionUrl=https://services.gradle.org/distributions/gradle-6.3-all.zip

This thing Worked for my project, Maybe It will help you too.

We've since upgraded to Gradle 7, which seems to have resolved this.


:technologist: max mint per hdd is one :)

fix(drops): limit tilescapes drop to max 4 pieces
:wrench: set maxmint of hdd to 1

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

(please remove design and QA checks below if not needed)
Needs Design check

@exezbcz please review

Needs QA check

@kodadot/qa-guild please review

Context

[ ] Closes #<issue_number>
[ ] Requires deployment <worker/stick/speck>

Before submitting pull request, please make sure:

[ ] My contribution builds clean without any errors or warnings
[ ] I've merged recent default branch -- main and I've no conflicts
[ ] I've tried to respect high code quality standards
[ ] I've didn't break any original functionality

Optional

[ ] I've tested it at </ahp/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[ ] Fill up your DOT address: Payout

Community participation

[ ] Are you at Koda Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

I have cherry-picked @hassnian's - #10076

https://kodadot.xyz/ahp/drops/hdd


playcount for Track / Album is of different type than playcount for ArtistGetInfoData

For Track / Album it is String, for ArtistGetInfoData it is Int.

Hi @ridmaur, thank you for your feedback! We have released v1.0.2 to address the type property misalignment issues and include other improvements/patches.
Check out the release notes here.


dev dependencies not compatible to flutter 3.3.10 stable

Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (12 months ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0

dart-uuid pubspec.yaml
environment:
  sdk: ">=2.14.0 <4.0.0"
dev_dependencies:
  lints: ^3.0.0
  test: ^1.24.9

project depends on test >=1.24.4 which requires SDK version >=3.0.0 <4.0.0, version solving failed.

My apologies the delay, I have been on paternity leave for my second child and it has been busy. I will try to get a fix in sometime this week

No rush! We are already planning to bump our SDK version. Thanks!

I changed 4.3.0+ to require >= 3.0.0 for sdk constraint since my dependencies are doing the same and you mentioned you are bumping your SDK version.


Nothing gets aggreated.

THe default names of spotbugs files is main.xml, test.xml. This plugin doesn't find those files according to the documentation, nor does there seem to be a way to change what files it looks for.

It seems that it looks for spotbugsXml.xml in the projects subdirectories.
See https://github.com/SimonScholz/report-aggregator/blob/42b6e83ca5b61e299de4e610c5837a1208d6bdc7/report-aggregator-gradle/src/main/java/com/simonscholz/report/service/SpotBugsService.java#L36
It already been 2 years ago since I worked on this gradle plugin, but several customers are using this gradle plugin to generate these reports.
Are you sure you properly setup spotbugs?
And you´re right I unfortunately hard coded the file name to be spotbugsXml.xml. Sorry for that.
I can change that if that helps you. Would it?
Do you have a sample project, where it can be tested? Unfortunately I do not have access to the customers using this plugin any more...

I wonder if you're basing this off of an older version of spotbugs?  Itd efinitely makes the files in build\reports\spotbugs\main.xml \ test.xml

I have same issue with aggregation as @stealthrabbi.  What @stealthrabbi  mentioned about default report location and name is correct. After reading your code, I understand the plugin is expecting spotbugsXml.xm in subfolders of rootDirectory.  So I renamed my main.xml to spotbugsXml.xm in multiple level of its sub folders. None works.  File SpotBugsAggregated.xml was generated in rootDirectory Gradle task 'aggregateSpotBugsFiles' but with empty content like
===generated file SpotBugsAggregated.xml =====

My build.gradle file sitting in rootDirectory is like below (only spotbugs related content is listed)
==== partial of build.gradle related to spotbugs =======
plugins {
id 'com.simonscholz.reports' version '0.0.1'
id 'com.github.spotbugs' version '4.5.0'
}
subprojects {
//spotbugs
apply plugin: 'com.github.spotbugs'
//Spotbugs
spotbugsMain {
	reports {
		xml {
			enabled = true
		}
	}
}

spotbugs {
	maxHeapSize = "1g"
       toolVersion = '4.1.4'
       ignoreFailures = true
       effort = "max"
}

dependencies {
          spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'

}

}
I feel like it might be the issue with xml file.  So I attached a short version of my spotbugsXml.xml.  It has all the ingredients but with less data. (Have to rename to spotbugsXml.txt for upload).
spotbugsXml.txt

I have same issue with aggregation as @stealthrabbi.  What @stealthrabbi  mentioned about default report location and name is correct. After reading your code, I understand the plugin is expecting spotbugsXml.xm in subfolders of rootDirectory.  So I renamed my main.xml to spotbugsXml.xm in multiple level of its sub folders. None works.  File SpotBugsAggregated.xml was generated in rootDirectory Gradle task 'aggregateSpotBugsFiles' but with empty content like
===generated file SpotBugsAggregated.xml =====

My build.gradle file sitting in rootDirectory is like below (only spotbugs related content is listed)
==== partial of build.gradle related to spotbugs =======
plugins {
id 'com.simonscholz.reports' version '0.0.1'
id 'com.github.spotbugs' version '4.5.0'
}
subprojects {
//spotbugs
apply plugin: 'com.github.spotbugs'
//Spotbugs
spotbugsMain {
	reports {
		xml {
			enabled = true
		}
	}
}

spotbugs {
	maxHeapSize = "1g"
       toolVersion = '4.1.4'
       ignoreFailures = true
       effort = "max"
}

dependencies {
          spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.10.1'

}

}
I feel like it might be the issue with xml file.  So I attached a short version of my spotbugsXml.xml.  It has all the ingredients but with less data. (Have to rename to spotbugsXml.txt for upload).
spotbugsXml.txt


Bump jetty package to fix CVE-2023-36479

Security issue - CVE-2023-36479
This PR added the required version updates to fix the security issue. Although the latest available version is 12.0.3 for jetty, we are moving to nearest stable version to avoid any major integration issues. Would highly recommend to test the latest version and proceed to update to the latest.
NOTE: This is a quick fix.

The issue is with the package org.eclipse.jetty.servlets.CGI and we are currently on version 9.4.44.v20210927
There were no patches to fix this issue and this package is deprecated in latest versions, current latest version is 12.0.3
This issue was patched in version 9.4.52, 10.0.16, 11.0.16 and 12.0.0-beta2.
in 9, 10, 11 package is marked deprecated, in 12 it's removed.


A package for simplifying deployment of Golang Cloud Functions

Link to project (GitHub): https://github.com/cleanflo/firebase-fx
Describe the project in 2-3 sentences: A wrapper for Cloud Functions that exposes a "shared endpoint" and outputs a bash script for function deployment. The API is inspired by the NodeJS firebase-functions package.
Why would Firebase developers be interested in this project?: The workflow for deploying Cloud Functions in golang can be quite a headache, this package means to reduce the LoC required to deploy a Go application.
Have you added a .opensource/project.json file to your site: Yes

@schmorrison added it! It should appear on the site within 24 hours.

It is live: https://firebaseopensource.com/projects/cleanflo/firebase-fx/


fix: LspAttach after GuardDisable errors out

Also tried to make functions in init.lua more descriptive in terms of naming

I don't know if the design decision is correct :cry:, please correct me if it feels wrong to you

This seems to lead to require("guard.filetype").foo = { "lsp", "lsp", "lsp" } if one does multiple LspRestart? So I changed it to only add to the table when there are no existing formatters.


[feat]: Indeterminate progress state

Feature description
Similar to the Google sign in page, an indeterminate state for the Progress component to signal an ongoing action of unknown duration.
Affected component/components
Progress
Additional Context
Additional details here...
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


The plugin does not work in the latest vscode

I can not reproduce the bug in my environment, does anyone else have this bug ?

I close the issue but I'm open to reopen it if I have more informations to reproduce the bug ;)

I close the issue but I'm open to reopen it if I have more informations to reproduce the bug ;)

the bug is fixed~

Oh Nice, thanks for feedback :wink:


Add isoweek to startOf and endOf

I have noticed that in moment library, methods: startOf and endOf can take string: isoweek (https://momentjs.com/docs/#/manipulating/start-of/)
Good to handle it in bs-moment

I added it and created pull request: https://github.com/reasonml-community/bs-moment/pull/41
If someone could review it, it will be greate


Update ElasticSearch version to fix log4j issues

What changed?
ElasticSearch had a log4j vulnerability which was fixed in 6.8.22; we are upgrading the ES version to that in our docker compose files.
Closes #4690

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build deb0d9a7-fa83-4021-99a4-be16756e7871

0 of 0   changed or added relevant lines in 0 files are covered.
21 unchanged lines in 7 files lost coverage.
Overall coverage increased (+0.02%) to 57.05%

Files with Coverage Reduction
New Missed Lines
%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

service/history/execution/mutable_state_task_refresher.go
1
73.82%

service/history/execution/mutable_state_builder.go
2
69.66%

service/history/queue/transfer_queue_processor.go
2
57.24%

service/history/queue/timer_queue_processor_base.go
4
77.92%

service/history/task/fetcher.go
4
86.15%

common/task/fifoTaskScheduler.go
7
82.47%

Totals

Change from base Build 1eeb8be0-d2cf-4080-97ef-ed44f8bda50e:
0.02%

Covered Lines:
82944

Relevant Lines:
145389

💛  - Coveralls


linuxPackages.systemtap: 5.0a -> 5.2

Includes fixes for GCC 14.
In the process of building the test.
cc @FliegendeWurst

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

The withStap = false version already built successfully for me.

Yeah, I checked the first build with GCC 14 but I’m building the tests on top of master just to make sure the new version doesn’t break anything.

Why is libsystemtap an entirely separate derivation on a different version…

The test passes with a master base; good enough for me.


ULog over Mavlink streaming

This adds a new backend to the logger, such that ULog's can be streamed over mavlink to a companion computer or a GCS. Use cases include:

enable logging for devices without a micro SD card
avoid having to cope with SD cards
enable real-time plotting (we could add messages to dynamically add and remove topic subscriptions)
...

It's even possible to use the SD logging and mavlink logging independently, both at the same time. To use it, start the logger in mavlink mode logger start -m mavlink or logger start -m all. The client side is implemented in the mavlink_ulog_streaming.py script.
Depends on https://github.com/mavlink/mavlink/pull/636
fyi @dogmaphobic
Tested and works in SITL and Pixracer over USB connection.
CPU usage: mavlink needs ~14% CPU with mavlink streaming.
Left todo: resource optimizations, especially RAM/stack usage of the logger.

@bkueng Great. Is it ready to test already?

@bkueng Thanks for the hints. Usually a companion is not connected via usb, but by a serial connection. Do you have any experience with that already?

I planned to do that, but I did not have any device around for testing. I just tested on a RPi over an unreliable WiFi with drops, and this works fine.

Can you update the MAVLink headers now that they are in?

region `flash' overflowed by 3396 bytes. What can we disable?

Not sure - which target overflowed? We might have to cut down our estimator choices.

px4fmu-v2

@bkueng I saw that this is only for MAVLINK 2. What is the reason not to implement it also for MAVLINK 1?

Because mavlink 1 is running out of message id's and it's about time that we switch to mavlink 2 ;)

ok 😄 Seems that I've to write a parser then first

Can you rebase again? Should be more space now.

@bkueng Could we get the memory usage (top and free) on real HW running this? I want to make sure we're not overflowing any stack.

I already tested on NuttX, adjusted stack sizes as needed. RAM usage is pretty much unchanged, as everything is only allocated as needed and logger runs in file-only mode by default.
If this is properly reviewed & regression tested, it can be merged. I'll do a follow-up PR with RAM optimizations.

I did a complete review

Merged. Let's fit this onto the HW!

@bkueng Meanwhile I am able to receive the logger packages with MAVGCL. My question: Is there any documentation about the package content of the stream? Are those packages just portions of an ulog file?

Cool! Yes it's just ULog messages.


Make all non-leaf nodes collapsible

Adds a tab below non-leaf nodes to allow collapsing their children.

Fixes #7


fix: navigate to quiz page only when navigation is ready

This PR resolves an issue making the app break after starting the quiz (tried after signing up but it might be also happening when starting the quiz from a different flow)
Before
https://github.com/artsy/eigen/assets/11945712/1a8fa74d-5a6e-426f-a67a-4abe264a79e6
After
https://github.com/artsy/eigen/assets/11945712/896e40b7-4afd-454b-b5ac-7c1abc947588
Description
Once the user signs up, we switch the navigation stack they're on to be within the main navigation container. the latter takes a while to be ready regardless of the fact that the first screen (home) is already mounted. The existing logic for the quiz is built in such a way that the user gets directly navigated to the art quiz once they're in home with incomplete quiz. This means there is a chance that they get navigated to the art quiz before the navigation container is ready.
Suggested next steps:

the art quiz should be the first route you get to if you want to go to the art quiz from the onboarding. (Not home then navigate to art quiz)
Somehow we forget to think about the navigation onReady prop. I believe that will fix tons of deep linking issues
Some methods that navigate is using, use requestAnimationFrame to wait for the navigation stack to be ready, we might be able to remove that delay in favour of not allowing navigation until it's ready or waiting for the navigation container to be ready

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

fix navigate to quiz page only when navigation is ready - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

add isNavigationReady to global store - mounir

Need help with something? Have a look at our docs, or get in touch with us.

@MounirDhahri - this is a nonblocking suggestion, but now that we have two bits of required "boot" state in order for the app to proceed, can we wrap those up into a hook and perhaps check it in Main.tsx?
Similar to how we do it in Energy:

https://github.com/artsy/energy/blob/main/src/system/hooks/useSystemIsDoneBooting.ts
https://github.com/artsy/energy/blob/main/src/Navigation.tsx#L60-L62

I didnt get this issue while working on it. Thanks for fixing it @MounirDhahri

I will have a look later at why this broke- I think I have an idea now. will share my findings here


Ensure Lats are South

The trick here is, we need to make sure our script is providing the Lats (south) properly to the script but we also need to make sure the NCL processing script is consuming them the right way.
I don't know offhand if we need to make the lats negative for South or not.  (i.e. 10S = -10N).

All of the latitudes are in degrees N, so 0-90 is north of the equator and 0 to -90 are south of the equator in this application. We have modified the output text for the returned results to show latitude in degrees N and longitude in degrees E to match the ingested data. This is done in #6


⚠ Samsung has degraded performance

In 85755f7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2600 ms

Resolved: Samsung performance has improved in 28b70cb.


Docker Software Compilation Issue

Dear Developers, we are a group of students from Edinburgh Napier University researching on the Qutee robot. We would like to know how to compile the right way. We have followed the instructions on the software Readme.md. Pulling those docker images worked perfectly well, but when compiling from idf.py build inside the docker, it won't build the project. It has a couple of potential version problems for the CMakeList. Even changing the version still doesn't work with certain libraries like arduino missing. For your information we have also pull all the submodules and still doesn't work. The problems we encounters are esp32s3 component missing, arduino component missing. The Esp IDF, says we don't need those libraries but we don't know if we need esp_ipc and esp_hid components that are missing. Please guide us on how to build this with idf.py build inside the docker and how the entry point is accessed the right way. If this is the issue that is needed to be solved we are willing to help with what we can.

Hi,
I will do my best to help. I found that the overall ESP IDF configuration quite troublesome to set up properly, but that was the only way I found to get a proper compilation environment. (note: using arduino-IDF is not possible as we need to change the registry config in the ESP32 to enable half-duplex uart for the dynamixels).
I am pretty sure that you need the esp32s3 component. Otherwise, the IDF won't know the characteristics of the board.
You can change the board target, and hopefully trigger an install of the library, by pressing the button at the bottom of the IDF which says "ESP32S3" in the following screenshot.

It will help me if you can list step by step what you did, and what are the error messages on your end. I will try to reproduce this on my side and guide you.

Firstly, we follow throught with
docker run -it --rm --user espidf --volume="/etc/timezone:/etc/timezone:ro" -v $(pwd):/micro_ros_espidf_component -v /dev:/dev --privileged --workdir /micro_ros_espidf_component microros/esp-idf-microros:foxy /bin/bash```
command in my shell. Then we ran idf.py build. Are wew missing some steps. We also pulled all the submodules
![image](https://github.com/adaptive-intelligent-robotics/Qutee_v2/assets/68193178/f3228ca3-22d5-4933-831c-467edee9160c)
This is the problem we are encountering, so I have to change it to esp32 which is included in the components. but not esp32s3. This is our first error, I will update you with the next step after we know how to solve this. Thanks again

Did you try to do "idf.py menuconfig" first? If yes, how did it go and were you able to change the target?

Thanks, I will get back to you, I think I need to install the esp32s3 locally as the target, I will do that now. Thanks again

Dear @Aneoshun, do we need to plug ESP32s3 in to test the code? I cannot get the component, and when I open the project on VSCode I cannot set the targe, I might not have set up the project right. I will first look into what I should do with it and I will get back to you tomorrow and update my situation. Again thank you very much for the help.

No, you don't need the hardware module to compile the code. You only need the module when you want to flash it, which happens in a separate stage after the compilation.

I see. As I have not work with Cpp for such project, usually I use python I might be missing some set up features for the project. Is the editor you have used VSCode or VS22. I would like to know how to set up the project with the board target. I have tried and failed. Can you kindly guide us through that. Thanks

Hi,
I decided to re-work the entire build process to make it simpler. Now everything can be done via terminal (you don't need vscode, or any IDE).
I also created a custom docker container to use directly the right esp-idf version.
Could you please follow the new instructions and let me know if you have any issue:  https://github.com/adaptive-intelligent-robotics/Qutee_v2/tree/main/software
Thanks.

Thanks again for the response. I still have an error
In file included from /micro_ros_espidf_component/main/Qutee.cpp:1:
/micro_ros_espidf_component/main/Qutee.hpp:15:10: fatal error: arduino.h: No such file or directory
   15 | #include "arduino.h"
      |          ^~~~~~~~~~~
compilation terminated.

But esp32s3 can be done now. I don't know where this error comes from. I can build it for target esp32s3 outside the docker when installing the esp-idf platform onto my ubuntu terminal. but still the same problem.

Ok I have found the issue. In your code in the main/Qutee.hpp while using Arduino feature the import written was
#include "arduino.h" // original version
#include "Arduino.h" // corrected
``` once we do this then we can build and Qutee.bin is there. With this I would like to thank you again for your time. and I will go ahead and close this.


Package request: tuxclocker

Project description
TuxClocker is a hardware controlling and monitoring program. TuxClocker consists of a DBus daemon and a Qt GUI that uses the daemon.
It allows you to e.g. set a custom fan curve and overclock your CPU and GPU.
Metadata

homepage URL: https://github.com/Lurkki14/tuxclocker
source URL: https://github.com/Lurkki14/tuxclocker/tree/master/src
license: gpl3
platforms: linux

https://github.com/NixOS/nixpkgs/pull/273219


Typo

Describe the bug
Here is the wrong description:

Converts a point in a window from logical coordinates into physical coordinates, regardless of the dots per inch (dpi) awareness of the caller. For more information about DPI awareness levels....

it should be: physical to logical.
To Reproduce
Open page:

https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-physicaltologicalpointforpermonitordpi

Cannot find the document file on GitHub.
Can someone please share the repo in which following docs file is present. Also, please assign this issue to me

@ginami Can you help here? This is a windows content issue.

Thank you @andreyzapt for letting us know--we're working on the issue!

This has been fixed. Closing.


feign.RetryableException: Invalid HTTP method: PATCH

feign.RetryableException: Invalid HTTP method: PATCH executing PATCH
I'm using the following versions
Spring Boot 2.2.8
Spring Cloud Hoxton.SR4
Open Feign 2.2.2
Java 11
I'm trying to use feign client with PATCH method as following:
@PatchMapping("/clients/{clientId}")
Client updateClient(@PathVariable("clientId") String clientId, @RequestBody Client client);
but I got this error
 feign.RetryableException: Invalid HTTP method: PATCH executing PATCH

@MahmoudRagab726 This is an issue with Java's HttpURLConnection. The workaround is to not use HttpURLConnection. There are some options like HttpClient. See this from Stackoverflow https://stackoverflow.com/questions/35374030/invalid-http-method-patch-executing-patch-caused-by-feign-retryableexcepti

It Works Seamlessly!

@MahmoudRagab726 This is an issue with Java's HttpURLConnection. The workaround is to not use HttpURLConnection. There are some options like HttpClient. See this from Stackoverflow https://stackoverflow.com/questions/35374030/invalid-http-method-patch-executing-patch-caused-by-feign-retryableexcepti


Prepare Release v2.15.1

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Relates to https://github.com/kedacore/keda/issues/6049
Signed-off-by: Jorge Turrado<EMAIL_ADDRESS>

/run-e2e

/skip-e2e


Can't install via github

Hi, I have installed using apt-get, however it install version 2.27.1 and not later.
I wanted to install a newer version using this:
$ wget https://github.com/arq5x/bedtools2/releases/download/v2.29.2/bedtools-2.29.2.tar.gz
$ tar -zxvf bedtools-2.29.2.tar.gz
$ cd bedtools2
$ make
However, I receive this error after writing "make":
Building BEDTools:
CXXFLAGS is [-g -Wall -O2 -std=c++11 ]
DETECTED_VERSION = v2.29.2
CURRENT_VERSION  = v2.29.2
cd src/utils/htslib && make lib-static
make[1]: Entering directory '/home/yair/PycharmProjects/pythonProject4/bedtools2/src/utils/htslib'
gcc -g -Wall -O2 -I.  -c -o cram/cram_io.o cram/cram_io.c
cram/cram_io.c:57:10: fatal error: bzlib.h: No such file or directory
57 | #include <bzlib.h>
|          ^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:103: cram/cram_io.o] Error 1
make[1]: Leaving directory '/home/yair/PycharmProjects/pythonProject4/bedtools2/src/utils/htslib'
make: *** [src/utils/htslib/htslib.mk:153: src/utils/htslib/libhts.a] Error 2
I received the same error with version 2.30.0.
Is there anyway to install it through apt-get?

I have solved this issue by installing bzlib and lzma. However After the installation, it still shows the old version and not the new version.
Any help would be appreciated :)


Milestone 2: Query and Update Animals Table

Hi Reviewer 👋

Here are the changes I implemented to the project

Added a column species of type string to my Animals table and modified my schema.sql file.
Inserted other animal data into the animal table.
Added the above insertions to my data.sql file.
Updated the Animals table by setting the species column to unspecified.
Verified that change was made. Then roll back the change and verify that the species columns went back to the state before the transaction.
Wrote queries to answer the different questions.

Here are the screenshots of the query results.

@shahadat3669 Thank you for reviewing my project. I addressed all of the issues to the best of my knowledge.

Hi @Omar-Muhamad, Thank you for the suggestion. I will fix it right away.


Terminal UI color numbers cause an error when plugin starts

When opening any dart file, the following error occurs:
Error detected while processing BufEnter Autocommands for "*.dart":
Error executing lua callback: ...tart/flutter-tools.nvim/lua/flutter-tools/utils/init.lua:75: '251' is not a valid color
stack traceback:
        [C]: in function 'nvim_set_hl'
        ...tart/flutter-tools.nvim/lua/flutter-tools/utils/init.lua:75: in function 'hl'
        ...tart/flutter-tools.nvim/lua/flutter-tools/utils/init.lua:77: in function 'highlight'
        ...er/start/flutter-tools.nvim/lua/flutter-tools/guides.lua:153: in function 'setup'
        ...ck/packer/start/flutter-tools.nvim/lua/flutter-tools.lua:78: in function <...ck/packer/start/flutter-tools.nvim/lua/flutter-tools.lua:73>

Before https://github.com/akinsho/flutter-tools.nvim/commit/789c41dddd602ae3d4d9e91f7c2f2461dc505e93 everything works fine.
Note that I am not using termguicolors.

@anjerukare this should no longer error, but it won't work correctly for cterm colors. I personally do not use these and don't have the time to make them work. If you can only use termguicolors and want this to support cterm fully, please raise a PR, otherwise preventing an error is as far as I will go.

@anjerukare this should no longer error

Yes, error doesn't occur.

I personally do not use these and don't have the time to make them work.

It's fine. So far, I don't see any problems with the highlights with my config. The error message was the only problem for me.


Strip .git from github.com URL for libraries (any repo from github)

If plan contains mixture of 'library()' and direct fmf identifier require/recommend, currently user needs to make sure that they specify github.com url without .git suffix. Otherwise they run into Library 'NAME' with url 'https://github.com/beakerlib/NAME' conflicts with already fetched library from 'https://github.com/beakerlib/NAME.git'
IMHO tmt should strip this suffix automatically so user doesn't need to care/remember whether to use suffix or not - both are allowed.
Special handling should be done only for github.com libraries because tmt itself produces the URL. Other URL are under user control so they should make sure be consistent.

Hi @lukaszachy ,
which command should be used to reproduce the issue?

Hi @dkarpele, Just run tmt run discover for main.fmf containing
test: placeholder
framework: beakerlib

/detected:
 require: library(database/mariadb)

/explicit:
 require:
   - url: https://github.com/beakerlib/database.git
     name: /mariadb

The repo for backward-compatible format (library()) is created at https://github.com/psss/tmt/blob/master/tmt/beakerlib.py#L66


ZarrArray: add a method to get the DimensionSeparator

See https://github.com/bcdev/jzarr/pull/32
3a4e7ddc46b adds a simple getter to ZarrArray to retrieve the DimensionSeparator. It also updates the dimension separator test to use the new getter.
When updating the dimension separator test, I noticed that some of the tests were not being run. b4eed70 fixes it so that every test class is run.

Thanks, @melissalinkert. I resolved the conflict with the ongoing changes from getting things to maven central.

Re-opening to test against build.yml

[INFO] Tests run: 141, Failures: 0, Errors: 0, Skipped: 0


Update exporter-toolkit to v0.10.0

Update exporter-toolkit to v0.10.0

duplicate of https://github.com/prometheus-community/json_exporter/pull/234


WeakLazyInjected for AnyObject only

I suggest making changes to implementation of WekLazyInjected where the compiler checks whether the provided dependency (T) is AnyObject. We can then avoid runtime typecasting

Not merging as it breaks the WeakLazyInjected test code.

Will look at it


Interest in helping out with single-spa

Hey @mbanting, I created this pull request just as a way to send you a github notification to ask you a question haha
First, just wanted to say thanks for your work on single-spa helper libraries and your help in the issue queues. It has not gone unnoticed.
Would you be interested in being involved in some broader discussions about the future of single-spa? We're making a push to do some exciting things with it in the next few months and would love to hear your thoughts on it. For example, we're creating a website for it, made an intro video for it, are releasing single-spa@4 soon with "parcels", etc.
You've been an active contributor to the single-spa ecosystem and we'd love to include you. I'm not sure if you're even still using single-spa or how much interest you still have in it -- I think it was several months ago that you were most active in the issue queues. But if you would be interested, here are a few links:

https://github.com/CanopyTax/single-spa/projects: we're tracking some of the overarching things here
Slack invite: I'll add you to a channel where we have these types of discussions once you join.

Thanks again!
Joel

Hi @joeldenning! Thanks for the invite! Yes, still using single-spa in one of our projects. And love the progress that's taken place the last several months. It has let us do some neat things, like passing Observables in the customProps. Thank you for your creation and stewardship of this framework.
I'd be happy to contribute, although I may not always be active as I am juggling several projects at the moment, with only one using single-spa.

Great! Yeah whatever you can offer would be great -- there's no expectation of any level of activity or time commitment or anything. At Canopy we have some company resources dedicated to this now and I think one of the main things you could help us with is just helping vet some of our ideas and help us break out of our own echo chamber. Especially about this "parcels" feature we're working on, along with the intro video we've created and the single-spa website.
Hop on the single-spa slack if you get the chance!


Bug: autonomous sync workflow not running

the schedule trigger is not activating synchronization workflow to bring the changes from the upstream repo.

After  doing some research

scheduled runs only trigger from the default branch (main).
My GitHub Actions workflows are not starting

Despite it being stated that a schedule trigger should run from the default branch. It did not run in the branch rolling (the default branch of this repo) so a main branch was created porting the workflows

with the worflows in the main branch the schedual trigger worked.
however the worflow pointed to the rolling branch which also had a verison of the worflow. So the version executed was the one located in the rolling branch.
the next step is to test if a new workflow that is not located in the branch rolling would run or there would be an issue.

related github issue


testing:  Inconsistent benchmark data when  GOMAXPROCS=1

What version of Go are you using (go version)?

$ go version
go version go1.12.4 darwin/amd64

Does this issue reproduce with the latest release?
Yes.

The test results of the two types of writing should be consistent.
What did you see instead?
Test results with $ are much worse than test results without it.

$GODEBUG=gctrace=1 GOMAXPROCS=1 go test runtime -v -run none -bench  ^BenchmarkConvT2ILarge -count 10
...
gc 3984 @22.195s 2%: 0.001+0.12+0.001 ms clock, 0.001+0.12/0/0+0.001 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3985 @22.202s 2%: 0.003+0.13+0.001 ms clock, 0.003+0.12/0/0+0.001 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3986 @22.207s 2%: 0.001+0.11+0.001 ms clock, 0.001+0.11/0/0+0.001 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3987 @22.213s 2%: 0.001+0.11+0 ms clock, 0.001+0.11/0/0+0 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3988 @22.218s 2%: 0.001+0.12+0.001 ms clock, 0.001+0.12/0/0+0.001 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3989 @22.224s 2%: 0.001+0.12+0 ms clock, 0.001+0.12/0/0+0 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3990 @22.230s 2%: 0+0.12+0 ms clock, 0+0.12/0/0+0 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
gc 3991 @22.236s 2%: 0.001+0.14+0.001 ms clock, 0.001+0.14/0/0+0.001 ms cpu, 4->4->0 MB, 5 MB goal, 1 P
100000000               22.8 ns/op
PASS

$GODEBUG=gctrace=1 GOMAXPROCS=1 go test runtime -v -run none -bench  ^BenchmarkConvT2ILarge$ -count 10
...
gc 1052 @18.124s 0%: 0.001+20+0.002 ms clock, 0.001+0.13/0.021/0+0.002 ms cpu, 6->11->5 MB, 10 MB goal, 1 P
gc 1053 @18.146s 0%: 0.001+21+0.001 ms clock, 0.001+0.11/0.013/0+0.001 ms cpu, 6->12->6 MB, 11 MB goal, 1 P
gc 1054 @18.169s 0%: 0.001+19+0.001 ms clock, 0.001+0.11/0.014/0+0.001 ms cpu, 7->12->5 MB, 12 MB goal, 1 P
gc 1055 @18.190s 0%: 0.001+23+0.001 ms clock, 0.001+0.11/0.015/0+0.001 ms cpu, 6->12->6 MB, 10 MB goal, 1 P
gc 1056 @18.216s 0%: 0.002+19+0.001 ms clock, 0.002+0.13/0.013/0+0.001 ms cpu, 7->12->5 MB, 12 MB goal, 1 P
gc 1057 @18.237s 0%: 0.002+19+0.001 ms clock, 0.002+0.13/0.017/0+0.001 ms cpu, 6->11->5 MB, 10 MB goal, 1 P
gc 1058 @18.258s 0%: 0.001+20+0.002 ms clock, 0.001+0.11/0.020/0+0.002 ms cpu, 6->12->6 MB, 11 MB goal, 1 P
gc 1059 @18.281s 0%: 0.001+19+0.001 ms clock, 0.001+0.11/0.016/0+0.001 ms cpu, 7->12->5 MB, 12 MB goal, 1 P
gc 1060 @18.302s 0%: 0.001+19+0.002 ms clock, 0.001+0.11/0.017/0+0.002 ms cpu, 6->11->5 MB, 11 MB goal, 1 P
gc 1061 @18.323s 0%: 0.002+11+0.002 ms clock, 0.002+0.13/0.023/0+0.002 ms cpu, 6->8->2 MB, 10 MB goal, 1 P
50000000                51.7 ns/op
PASS
ok      runtime 18.342s
gc 21 @19.662s 0%: 0.015+1.6+0.002 ms clock, 0.015+0.099/0.52/0.90+0.002 ms cpu, 4->4->1 MB, 5 MB goal, 1 P

Thanks for the report.
I can't reproduce this using 1.12.4 on linux/amd64, the two results are statistically the same (with vs without $):
$ benchstat with.txt without.txt

name          old time/op  new time/op  delta
ConvT2ILarge  28.0ns ± 1%  28.0ns ± 1%   ~     (p=0.914 n=9+9)

Can you reproduce this consistently? Are you running the benchmarks on a very quiet machine with no other processes using the cpu?

Just in case also verify temperature cpu throttling

Thanks for the report.
I can't reproduce this using 1.12.4 on linux/amd64, the two results are statistically the same (with vs without $):
$ benchstat with.txt without.txt

name          old time/op  new time/op  delta
ConvT2ILarge  28.0ns ± 1%  28.0ns ± 1%   ~     (p=0.914 n=9+9)

Can you reproduce this consistently? Are you running the benchmarks on a very quiet machine with no other processes using the cpu?

Yes,I can reproduce that consistently. Not only on my mac (go1.12.4), but also on x86 and arm64 linux (go1.11.5).They are all quiet enough.

Ah, I was able to reproduce this by doing more runs.
It doesn't happen every time, but when it happens the benchmark is indeed either 1) consistently slower 2) faster in the first iteration, slower from the 2nd.
 This is on 1.12.4.
OTOH, tip is consistent, even with the $, but always at 40ns, which is slower than the 28ns in 1.12.
@xuanjiazhen Any chance you could test with tip (the current master) and confirm that the issue with the benchmark results being bimodal is indeed no longer present?

I tried it on the latest master branch.The result looks like the two become consistent.But they reached consistent in the poor result!!!  I think it is still not normal. @ALTree
(The number of times is a bit strange, is it a new improvement?)

$go version
go version devel +d17d41e58d Mon Apr 22 14:45:16 2019 +0000 darwin/amd64
$GOMAXPROCS=1 go test runtime -v -run none -bench  ^BenchmarkConvT2ILarg
e -count 10
goos: darwin
goarch: amd64
pkg: runtime
BenchmarkConvT2ILarge 	36258176	        32.3 ns/op
BenchmarkConvT2ILarge 	38381629	        32.3 ns/op
BenchmarkConvT2ILarge 	41117751	        32.2 ns/op
BenchmarkConvT2ILarge 	38234461	        32.7 ns/op
BenchmarkConvT2ILarge 	42858790	        32.2 ns/op
BenchmarkConvT2ILarge 	39587468	        32.6 ns/op
BenchmarkConvT2ILarge 	42929428	        32.7 ns/op
BenchmarkConvT2ILarge 	37120336	        32.4 ns/op
BenchmarkConvT2ILarge 	38552698	        32.9 ns/op
BenchmarkConvT2ILarge 	42029185	        32.2 ns/op
PASS
ok  	runtime	13.210s
$GOMAXPROCS=1 go test runtime -v -run none -bench  ^BenchmarkConvT2ILarg
e$ -count 10
goos: darwin
goarch: amd64
pkg: runtime
BenchmarkConvT2ILarge 	35498226	        32.5 ns/op
BenchmarkConvT2ILarge 	41142729	        32.2 ns/op
BenchmarkConvT2ILarge 	43043185	        32.1 ns/op
BenchmarkConvT2ILarge 	39090960	        32.3 ns/op
BenchmarkConvT2ILarge 	43341727	        32.4 ns/op
BenchmarkConvT2ILarge 	42690354	        32.1 ns/op
BenchmarkConvT2ILarge 	40104470	        32.1 ns/op
BenchmarkConvT2ILarge 	41782971	        32.2 ns/op
BenchmarkConvT2ILarge 	42257203	        32.1 ns/op
BenchmarkConvT2ILarge 	42138686	        32.4 ns/op
PASS
ok  	runtime	13.561s
$GOMAXPROCS=2 go test runtime -v -run none -bench  ^BenchmarkConvT2ILarg
e -count 10
goos: darwin
goarch: amd64
pkg: runtime
BenchmarkConvT2ILarge-2   	53497600	        20.2 ns/op
BenchmarkConvT2ILarge-2   	60137784	        20.0 ns/op
BenchmarkConvT2ILarge-2   	60011299	        20.1 ns/op
BenchmarkConvT2ILarge-2   	60673358	        20.2 ns/op
BenchmarkConvT2ILarge-2   	59793987	        20.1 ns/op
BenchmarkConvT2ILarge-2   	60232131	        20.0 ns/op
BenchmarkConvT2ILarge-2   	60023706	        20.1 ns/op
BenchmarkConvT2ILarge-2   	60491013	        20.1 ns/op
BenchmarkConvT2ILarge-2   	60667680	        19.9 ns/op
BenchmarkConvT2ILarge-2   	60528424	        20.0 ns/op
PASS
ok  	runtime	12.187s

But they reached consistent in the poor result!!!

The bimodal distribution depending on the number of iterations is because the benchmark is not fully linear in the number of iterations, often due to GC interactions. This is unfortunate but hard to fix in the general case. Whether you hit the "poor result" or not depends on how many iterations you run. If you run with -benchtime=100ms or -benchtime=10ms or the like, you may get different results.

(The number of times is a bit strange, is it a new improvement?)

Yes. And in fact, one of the goals of that change was to avoid bimodal distributions in non-linear benchmarks. :)


Support setting action concurrency in manifest

Describe the solution you'd like
Be able to set concurrency limit of an action in the manifest.yml.
Probably add here: https://github.com/adobe/aio-cli-plugin-runtime/blob/master/src/runtime-helpers.js#L463-L468
Describe alternatives you've considered
No alternatives, other than manually setting it using wsk after deployment through aio, which is a fragile and complicated process.
Additional context
Being able to set a different concurrency than the default 200 in Adobe IO Runtime is important for many use cases.
Looks like it's not possible in wskdeploy yet, only wsk: https://github.com/apache/openwhisk-wskdeploy/issues/1062
The manifest spec does not include it either. Note that concurrentActivations is a different limit.

I might be able to provide a PR later this week.

Thanks for the proposal @alexkli ! Looking forward to the PR then :)

@meryllblanchet @purplecabbage @Himavanth PR ready here: https://github.com/adobe/aio-cli-plugin-runtime/pull/177
I leave the refactoring to you. The current aio still uses the runtime-helpers.js from https://github.com/adobe/aio-cli-plugin-runtime, so that was the only way to build and test this change.


added single and double linked list with test

Pull Request for PySnippets 💡
Issue Title : single and double linked list

Info about the related issue (Aim of the project) : basic python code
Name: Akash R
GitHub ID: akashlogics
Email<EMAIL_ADDRESS>Identify yourself: GSsoc24-extd and hacktoberfest

Closes: #133

Snippet Details 📃

Snippet Name: `data structure
Category: <category>DSA
Function Name: `linked list

Summary of Changes
Simple insertion of a node under displaying it.
Type of Change ☑
What sort of change have you made:

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Code style update (formatting, local variables)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

How Has This Been Tested? ⚙
inserted possible values and displayed successfully
Checklist ☑

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

@UTSAVS26 completed


Set shorter vibration period 200ms -> 30ms

Hi @skonagaya, I really like this app. Thanks a lot for making such a great design!
One thing that bothers me is that vibration duration is too long.
In this merge request I set it to 30ms. Hope you'll like it.

Good stuff. I did have a user note that the vibes can be intrusive. I'm hoping to have vibes optional, and looking at your comment, looking to have the duration configurable as well. Thanks!

Thanks for merging.
BTW, do you have any idea why initial loading of the app takes around 5 seconds regardless of the number of items?
If I close the app and reopen it like 5 seconds later, it will load almost instantly.

I know this is a little off topic from the merge. But I hope I can help clear things up.
The first design for persistent store was to keep all the data (list of HTTP calls) in one place, the phone. I wanted to avoid the risk of having data out-of-sync between the watch and phone. So the watch tries to fetch new data frequently to make sure the list of calls is as up-to-date as possible. The "Loading..." label is displayed when the watch is actively fetching new data from the phone.
What I learned is that this act of fetching data from the phone (establish connection, acknowledge bluetooth connectivity, send payload, wait for response, etc) is ridiculously long. And it makes no sense to wait >5 seconds for a tool which purpose was to allow you make super-quick calls right on your wrist. We can get away with it, if this communication was fast. But it's not.
Anyways, the focus of the next release is to address the performance. Instead of polling for changes every time the app on the watch is launched, changes will be pushed from the phone app. So the only time you should see a long "Loading..." message is when you press "Save" on the phone or you start the app on your watch after a hard reset.


Connection strings management API

Management API to get connection strings.
As @ShogunPanda suggested, the information is on the db part of the meta returned by getMeta for DbStackable

@ShogunPanda In a previous PR you suggested @marcopiraccini to move this data under the Meta keys. Can I ask why? As I understand meta keys are the data that sevices can exchange with each other.
For this PR we need to expose db connectionStrings outside. Mainly for the ICC. There is no need to share the connection string (with secrets) among other services.
IMHO getting the connection strings is the same usecase as getting openapi or graphql schema and should be done via separate itc call.


about w-drawer

Is there an event before closing the drawer?
Can events be used to determine whether to close the drawer ?
thank u !!
this ui is very powerful !!!

Hi @HenryLin0914,
Thanks for your feedback.
There is a fired close event: https://antoniandre.github.io/wave-ui/w-drawer#close.
Also you can dictate the open or close state of the drawer via the v-model that's the simplest and recommended way.
But what are you exactly looking for? I can better help if you tell me what you are trying to do. :)

@antoniandre Thanks for your reply.
But we actually want a trigger to control drawer close or not in the close event.
Like event with params, or retrun false could cancel the close function.
Any recommendation will be grateful.
Have a nice day. :)

@HenryLin0914,
If I understand well, your condition to cancel the drawer closing should be in the :persistent attribute.
https://antoniandre.github.io/wave-ui/w-drawer#persistent-drawers
With persistent set to true, the user outside clicks will not close the drawer.
Ex:
<w-drawer :persistent="shouldStayOpen">

// In methods or computed.
shouldStayOpen () {
    return false // Or true on the condition you want.
}

If you have added external buttons to toggle the drawer you can also apply the same shouldStayOpen condition to dismiss the user click when you want.
If it is not what you are looking for, please be clearer in the explanation!

Closing the issue due to inactivity.
Please reopen if not solved.

Hi antoniandre !
we can't get the beforeClose event
ex. I am click the mask background, then into w-drawer's beforeClose event, then do something, return true or false
if true close the drawer
if false keep the drawer


[chart/redis-ha][REQUEST] Ability to have a custom script in the restore init container

Describe the solution you'd like
Ability to have a custom script in the restore init container.

@j771 I've made a comment there, but I'd like to know why this works better over having an extraInitContainer option?


Changing UI

Looks like this PR was made in error. These are all changes to use jekyll-now, not to add to it.
Should be closed. 🤔


updated pynetbox to 6.6.2

To fix issue #48

pynetbox is bumped to version 7.0.1 now, this I will close this. Thank you


README.md for convert-upload-images-powervs script

Co-authered-by: Julie Mathre<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sudeeshjohn
To complete the pull request process, please assign mkumatag after the PR has been reviewed.
You can assign the PR to them by writing /assign @mkumatag in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @bpradipt

/cc @mkumatag

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag, sudeeshjohn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


implement self hosted get repo not needing jwt

UsernamePasswordHandler should not try to set the access token
Added an additional integration test
Update changelog

closing since it is not needed anymore (everything is done the repo client)


Sound driver crashes on vita

Description of the problem: sound driver crashes and gets stuck playing a single MIDI note (producing a tinnitus-esque sound). Seems like a sound buffering bug. It doesn't always happen on the same track loop, meaning that sometimes it reproduces the entire sound loop a few times before crashing, but it always crashes and gets stuck on the same note in the loop.
Tested on this game: Kyouiku Jisshuu - Joshikousei Maniacs (https://vndb.org/v7597)
Happens on this track: https://www.youtube.com/watch?v=g0ZUx4mh_rk
Tested in this platform: most recent vita nightly (but bug is present in all previous versions). Might also happen in other platforms (Android, etc.)
Reproducible: always (but sometimes the loop plays a few times before getting stuck on a note)
It's not a rom or NP2 emulator bug as this problem doesn't happen when running the game on a PC.

Thanks your report!
Probrem you said means on MIDI? or FM sound?
NP2kai using MIDI without buffer. (Libretro may has something buffer.)
FM sound use libretro's sound buffer.
Regards.


How to serve the dist directory

Hello Arsenio
YOur code works very well using the vue.js dev environnement .
I'm planning to deploy it to heroku, so I have  mixed the client and the server code that you have provided.
I'm running npm run build to generate the vue.js front end .
But how can I display this website using the python server you provide, please .
I 've tried this code with no luck ,
app = Flask(__name__,
            static_folder = "./dist/static",
            template_folder = "./dist")

@app.route('/')
def index():
    return render_template("index.html")

This is what I have in the console
`GET http://localhost:5000/js/chunk-vendors.4a46bf50.js [HTTP/1.0 404 NOT FOUND 89ms]

GET http://localhost:5000/css/app.4cdb3310.css [HTTP/1.0 404 NOT FOUND 63ms]

GET http://localhost:5000/css/chunk-vendors.66440731.css`

than I run the server but I can't call localhost:80 on my navigator .
Using node.js, I have this working in server.js to serve a vue.js generated app:
// VUE APP DIRECTORY ( GENERATED WITH NPM RUN BUILD )
app.use(serveStatic(__dirname + "/dist"));

// UPLOADS : IMAGES AND FILES STORING DIRECTORY
app.use(express.static(__dirname + "/uploads"));

But how could I do using Python flask please ?
EDIT : I think I have something : I 've added this to your app.py code 👍
from flask import Flask, request, render_template
app = Flask(__name__,
            static_folder="dist/static", # place that webpack builds to
            template_folder="dist")
# enable CORS
CORS(app, resources={r'/*': {'origins': '*'}})

@app.route('/')
def index():
    return render_template("index.html")

if __name__ == "__main__":
    app.run(host='<IP_ADDRESS>', port=5000, debug=True)

So now, I can run app.py , and gettin access to the 'dist' vue application on port 5000. And , if I open a second CMD window and hit NPM RUN SERVE, I can have both dev http://localhost:8080/ and build http://localhost:5000/ running on one unique python server

Hi bro, you can close it, ive manged to deploy your code on heroku :
https://github.com/nicolas15000/vue-python-data-science-starter


[Bug][Checkstyle plugin] - Gradle cannot find "configFile" location

Expected Behavior
Under 3.3 and 3.4, this plugin worked correctly by finding the checkstyle.xml at the configFile.
Current Behavior
Under 3.5, this plugin does not seem to find the configFile. See here: https://travis-ci.org/JakeWharton/butterknife/builds/230085258#L2074.
Context
When upgrading Butterknife to Gradle 3.5, the Checkstyle task has trouble finding the configFile.
Example PR: https://github.com/JakeWharton/butterknife/pull/948
Steps to Reproduce (for bugs)
git clone https://github.com/JakeWharton/butterknife
gradlew wrapper --gradle-version 3.5
gradlew wrapper
gradlew build
Your Environment
Repo: https://github.com/JakeWharton/butterknife
PR: https://github.com/JakeWharton/butterknife/pull/948
Build: https://travis-ci.org/JakeWharton/butterknife/builds/230085258#L2074
Workaround
Copy the config folder into the failing java module:
Example: https://github.com/jaredsburrows/android-gradle-java-mutli-module-template/tree/master/java-library

I think the problem you are seeing is not the fact that the checkstyle.xml cannot be found anymore. It's more the fact the the rules you are using are not compatible with the version of Checkstyle anymore. Checkstyle was upgraded to a newer version with Gradle 3.5. Please see this question on the forum which seems to be similar. Also consider to downgrade the Checkstyle version if that's not an option.

@bmuschko Thanks for pointing me in the right direction. It turns out RedundantThrows  was removed: https://github.com/checkstyle/checkstyle/issues/473. I now updated my PR. I was confused because the error was misleading. Thanks!


open_api download

I noticed that if I use the latest open_api version (5.0.1 as of now) the package downloads incorrectly and cannot be used after running setup.py.
It seems that the open_api version must be 4.2.3 to download the package correctly.

@davamini
Thank you for your feedback.
Sample codes in this repository does not conform to the latest openapi-generator.
As you pointed out, openapi-generator version must be 4.2.3 to run this sample code.
This requirements will be added in README.md.


amd-power-control: Turin C0 RSMRST changes

Process RSMRST if user request it via DBus
For P0 and P1 Therm Trip,only issue RSMRST if it is Turin A or B (Not C) SOC.
Tested in Turin by Mo.
Tested in Genoa by Abinaya.

any side effect on registering rsmreset by default herefor Turin C type? power_control::rsmOutIface->register_method("SOCReset", power_control::RSMreset);

No. Also, AMD RAS still can issue the RSMRST via DBus request.


version `GLIBC_2.29' not found ubuntu

I cant find a sultion to
/tmp/_gbstools/gbdk/bin/sdasgb: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_gbstools/gbdk/bin/sdasgb)

I am sorry am not specif i am using game boy studio

u can either compile it on ubuntu 18 or need to switch into ubuntu 20

this is not that easy. while gb-studio compiles fine, it cannot compile a game, because it want's to use libc6-2.29 for that. in Ubuntu 18.04 (which is still supported by the way) 2.27 is the latest release of libc6.
Manual building with gb-studio-cli results in
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "1".] {
  code: 'ERR_UNHANDLED_REJECTION'

tested with node 16.18.0 (from snap).
...this is really annoying.


Missing default Country value leads to problems on first startup

Hello Grizzelbee,
as my new Purifier arrived yesterday I'd like to connect it with IoBroker.
Unfortunately it seems like there is a problem during setup:

Do you think this is a network issue, or could it be some interference with special chars in my password (15+ chars)?
Best Regards
Thiemo

Hi Thiemo,
as far as I can see in your log snippet the adapter is missing it's config or config isn't valid. Which meens that you need to give some additional config values to the adapter:

Please fill out the complete config and refer to the readme if there are questions - if readme dosen't claify all, please ask.
The dyson account the adapter asks for is the same which is used for the dyson mobile app.

Thanks for the recommendations, as I'm using a password manager I'm not using german special chars.
I changed the password to numbers/chars only but still have the same issue as above
This is my config:

I'm pretty shure that it has nothing to do with your firewall/security gateway.
May I ask you to please switch the adapter to debug logging (Tab Instances ; expert mode) and post the log?
Best is to filter to the dysonairpurifier.0 instance before posting (most left column).

the same Problem - with 0.7. run the adapter, bute with 0.7.1 dosnt...
My tree is deleted

AH! You ran 0.7.0 before?
Then please reenter the password in the config as mentioned in the readme and changelog.
I had to change something in the pwd-encryption routine.
That should solve your problem.

Hi, I just had the same problem as @Day1983, however I did a fresh install of 0.7.1. I got the same errors as @Day1983. I had to change all adapter settings (including the preset ones) once. After restarting the adapter I got the adapter to show up in the object tree with the 'correct' errors. 👍

Okay. Seems that we have two different things here:

Seems like I have messed up something with saving and loading of the config. This is not unlikely since I worked on it. I'll check it.
The green Part in @mrtzlbm 's Screenshot: Starting with V0.7.1 I try to connect to the device by it's serialnumber - which is also it's default hostname. This will work under two circumstances: 1. You have a FritzBox or you are running a dedicaed DNS in your LAN. 2. you haven't changed the default hostname of your device. If you can't answer all of these with YES - you'll need to enter the IP of your device since all the time before.

@Grizzelbee I just hadn't set up the DNS record yet. Everything works fine for me, thanks :)
Just wanted to check in and describe how I got around the issue with the adapter config.

@theimo1221 : Is your Issue also solved? Or arer you still struggeling?

@Grizzelbee I'm still struggeling:

If you want feel free to contact me directly in Discord, so I can share my screen/problem with you today evening

I have the same problem with a fresh 0.7.1 installation, I configured username and password in the adapter config with the same result:

@viper4gh, @theimo1221
Okay. I'm just debugging the load/save config routines and enhancing the testConfig method. So please be patiend and wait for the upcoming version 0.7.2 - which should hopefully solve your problems. I'll keep you informed.

@Grizzelbee Okay, I spotted the issue, it seems like the Country is null
I'll dig deeper

By default country was empty while the browser selects "Deutschland" as the shown value for the country selection thus making the user believe country beeing correctly chosen.
Pull Request #61 resolves this.

I can confirm, select the country again, solves this problem.
But now it stucks at the ip address.
I stopped the adapter, filled in the ip address at the Hostaddress datapoint in the device tree and started the adapter again.
Now the log still shows "No host address given. Trying to connect to the device with it's default hostname", which is not resolved by DNS in my case.
Will do some tests tomorrow again, maybe I did something wrong.

@Grizzelbee
I reverted my workaround with the DNS Alias for the default Hostname to check, if the configured Hostaddress datapoint is working now after all data is received, but it is not.
That means the Hostaddress datapoint is still not read by the adapter and I get the log message "No host address given..." on startup.
Is there anything I need to pay special attention to for the ip address?

@viper4gh What version are you on? Or in other Words: Have you tried 0.7.3 alredy? This should fix this issue.

@Grizzelbee with newest version there might be an error regarding credentials

@viper4gh What version are you on? Or in other Words: Have you tried 0.7.3 already? This should fix this issue.

I was still on 0.7.2, then I will test it with the new version and will give you feedback.

@theimo1221 Please try to re-enter your password. There are some changes at this position which might lead to this.
Btw: Since I can't find the original question/conversation: Yes - your fix regarding the  has been deleted intentionally since we solved it in parallel and my fix changed more code. So it was the easiest way to drop only one line knowing the other code to work.

@Grizzelbee I just changed my password on dyson.de and even with new password it doesn't work
On my ioBroker Server I get following response as well: {"Message":"Unable to authenticate user."}  so I don't know if I'm banned from the api
This was the request I made  curl -X POST -H "Content-Type: application/json" -k 'https://appapi.cp.dyson.com/v1/userregistration/authenticate?country=DE' -d '{"Email": "...", "Password": "..."}

I updated to 0.7.3, configured all settings again and now get the following:

It detects the controller 3.1.6, but says that the requirement of version 3.0.0. is not fulfilled.

I completely uninstalled the adapter instance and the adapter, which uninstalls the device tree, too.
Then installed 0.7.3 again, configured all settings and now have the same problem as @theimo1221 :

Grrrrr!! Seems to be a timing issue.
Facing it on my instances now as well where it worked first.
Sorry for that. Debugging ...

What does this mean, are our accounts now rate limited, or is that a temporary thingy?

What does this mean, are our accounts now rate limited, or is that a temporary thingy?

I'm sorry - but currently I don't know. Debugging says: Credentials are okay. So it's no timing issue. My idea was, that the password is used for login before it is decryted. But thats not the case. Maybe dyson locked the adapter out. Or it's really a temporary thing. Let's wait a while and see what happens ...

I tested the curl command again and still get:
{"Message":"Unable to authenticate user."}
It seems indeed we are now banned.
At least the Dyson Link app still works.

I tested the curl command again and still get: {"Message":"Unable to authenticate user."}

Same on my side in a few different tests.

It seems indeed we are now banned.

I still don't believe really in being banned. The error message doesn't fit. But on the other hand I don't have any clue what really happend.

Maybe the server tries to prevent unauthorized access by flagging those accounts which switched countries in a short tone frame

After the adapter is working now with the workaround (https://github.com/Grizzelbee/ioBroker.dysonairpurifier/issues/65#issuecomment-778047049) I can say that the adapter is using the configured Hostadress now, which was not working in my case before.

Solved by PR https://github.com/Grizzelbee/ioBroker.dysonairpurifier/pull/66


rewrite test/simulator/setup-metrics-collector.sh in python and add w…

…atch based operations
Signed-off-by: testadmin<EMAIL_ADDRESS>

@marcolan018 please help me review this one again... can't figure out how to sign-off last PR properly, so created this one

/approve
/lgtm

@ianzhang366 please resubmit your change in https://github.com/open-cluster-management/multicluster-observability-operator/tree/main/collectors/metrics. this branch is deprecated.
FYI @marcolan018


Added support for environment variable NINJA_PARALLEL_JOBS

Introduced NINJA_PARALLEL_JOBS, the maximum number of jobs to run in parallel.
This is the same as the -j option and can be used to override the default value guessed by Ninja. For instance, you might want to use only the number of physical cores even when virtual cores are available, especially when working with slow storage mediums. Or in a shared environment, using all cores could disturb other users. Instead of providing the -j option every time on the command line, set this environment variable for the system, the user or the current shell, as appropriate.

There's also the -l option to stop spawning jobs when the system load is above the given limit.

Superseded by https://github.com/ninja-build/ninja/pull/1399


fix container projects relationship links.

@miq-bot add_label providers/containers bug ui

@simon3z @kbrock

@miq-bot add_label providers/containers
@miq-bot add_label bug

@kbrock is this related to your refactoring?

thanks for fixing this

@kbrock thank you for the refactor


Update dcp-updates.md

The links on this PR need to be confirmed once DCP 21 is live.

@kayleemathews @NoopDog Please review and we'll need to verify the links when the release is live.