Enhanced Healing Draught effect

Describe:
Hey, what do you think about the changes I made to Healing Draught? Can you consider use this changed code?
Source of current Healing Draught:
let wounds = this.actor.status.wounds
if (wounds.value == 0)
  return ui.notifications.error("No effect at 0 Wounds")

ui.notifications.notify(`Healed ${this.actor.characteristics.t.bonus} Wounds`)
this.actor.modifyWounds(this.actor.characteristics.t.bonus)

Source of my suggestion to Healing Draught:
let wounds = this.actor.status.wounds.value;
let max = this.actor.status.wounds.max;

if (wounds === 0)
  return ui.notifications.error("No effect at 0 Wounds, wasted a dose")
if (wounds === max)
  return ui.notifications.error("No effect, Wounds were already max, wasted a dose")

let tbonus = this.actor.characteristics.t.bonus;
let missing = max - wounds;
let recovered = missing < tbonus ? missing : tbonus;

this.actor.modifyWounds(recovered);
return ui.notifications.notify(`Healed ${recovered} Wounds`);

What I do is:
Reminder that dose was used (in both codes has reduce quantity on use), and even when there is no effect display a notification that dose was wasted.

display notifications when wounds were already max
if (wounds === max)
  return ui.notifications.error("No effect, Wounds were already max, wasted a dose")

If character has fewer missing Wounds (to max) than his Toughness bonus notifications will display the practical number of Wounds that are healed, not the amount of Toughness bonus.
eg. When character has Toughness bonus = 2 and 9/10 Wounds then notifications display that heal 1 Wound not 2 (because in practice it actually heals 1 wound)
let tbonus = this.actor.characteristics.t.bonus;
let missing = max - wounds;
let recovered = missing < tbonus ? missing : tbonus;

Effect has been reworked during the effect refactor

When update arrive, I will look on its

You can see the scripts now, it uses https://github.com/moo-man/WFRP4e-FoundryVTT/blob/master/scripts/xUpKYT7BZCSmAfUy.js and https://github.com/moo-man/WFRP4e-FoundryVTT/blob/master/scripts/2zeP2nMSURjxrqYz.js


Update rust toolkit version to latest stable (1.55.0)

Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

Merging #353 (d4e2968) into ci/ubuntu-version (d4251ce) will decrease coverage by 5.68%.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           ci/ubuntu-version     #353      +/-   ##
=====================================================
- Coverage              49.62%   43.93%   -5.69%
=====================================================
  Files                    163      105      -58
  Lines                  17597     8635    -8962
  Branches                3930     2183    -1747
=====================================================
- Hits                    8732     3794    -4938
+ Misses                  6120     3447    -2673
+ Partials                2745     1394    -1351

Flag
Coverage Δ

integration
?

unittests
43.93% <ø> (-1.94%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Add action client template

Add a template for ROS2 action client BT node. This PR introduces the following template classes:

ActionClientInterface: Defines an interface for an action client. This class exists to enable easier mocking of a ROS2 action client for testing
ActionClientApi: Wrapper around a generic ROS2 action client which is used by the BT node. This class shadows all the ROS2 related stuff from the BT node implementation, expect of the generic action goal message as a data container
ActionClientNode: Every custom ROS2 action client BT node can inherit from this class and to get a usable node only 4 functions need to be defined:  defineGoal(), handleFeedback(), processResult() and halt()

An example node implementation is given with the FibonacciClient BT node. To run the example you just need to run:
Build the example:
colcon build --cmake-args -BUILD_EXAMPLE=true

Terminal 1:
ros2 run examples_rclcpp_minimal_action_server action_server_member_functions

Terminal 2:
ros2 run behaviortree_ros2 bt_executable

Expected output:
[INFO] [1652270261.295436713] [BehaviorTree]: Please hit enter to start the node

[INFO] [1652270263.084091751] [example_node]: Goal accepted by server, waiting for result
[INFO] [1652270263.084872877] [FibonacciAction]: Waiting for result
[INFO] [1652270264.085000793] [FibonacciAction]: Waiting for result
[INFO] [1652270265.084706693] [FibonacciAction]: Waiting for result
[INFO] [1652270266.084441045] [FibonacciAction]: Waiting for result
[INFO] [1652270267.084706291] [FibonacciAction]: Waiting for result
[INFO] [1652270268.084443980] [FibonacciAction]: Waiting for result
[INFO] [1652270269.084461478] [FibonacciAction]: Waiting for result
[INFO] [1652270270.084434842] [FibonacciAction]: Waiting for result
[INFO] [1652270271.084357791] [FibonacciAction]: Waiting for result
[INFO] [1652270272.084687559] [FibonacciAction]: Goal was successful

TODO:

[X] Add initial implementation
[X] Add working example
[x] Add documentation
[ ] Add tests

Small comment: it's unconventional to have the example .hpp and .cpp files in the same directory.

Yes! Sorry I did this only for the example to make it as easy as possible. I will change that


wsl --help | more outputs one character per line

Version
Microsoft Windows [Version 10.0.22000.856]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Open a Command Prompt or PowerShell, and run wsl --help | more
Expected Behavior
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

(...)

Actual Behavior
C
o
p
y
r
i
g
h
t

(
c
)
(...)

Diagnostic Logs
No response

Looks like the same as #4456, which although still open is really the same root-cause as #4607 (closed with workaround).


[Beam-2535] : Support outputTimestamp and watermark holds in timers.

It is the initial phase to make staled PR (https://github.com/apache/beam/pull/4700) compatible with the upstream master. The default implementation is done for Direct Runner.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Any test results after commit 524d991?

Any test results after commit 524d991?

Some test cases still failing after changed

So how many previously failing tests are now passing? How many failures
remain?
On Tue, Oct 15, 2019 at 10:55 PM xubii<EMAIL_ADDRESS>wrote:

Any test results after commit 524d991?
Some test cases still failing after changed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/9677?email_source=notifications&email_token=AHYHLVWYBA7CUFAYDI7QWY3QO2UDPA5CNFSM4I3DCXKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLF5JA#issuecomment-542531236,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHYHLVV6H6PSQGP6VH74C5LQO2UDPANCNFSM4I3DCXKA
.

--
Shehzaad Nakhoda
CTO
USA/WhatsApp: +1<PHONE_NUMBER>
PAK: +92<PHONE_NUMBER>
Skype: shehzaad.nakhoda
http://venturedive.com/

The HBase tests are using SplittableDoFn. It is getting a null range to the key range tracker: https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/splittabledofn/ByteKeyRangeTracker.java#L54
Since SDF is probably implemented using state & timers under the hood, this is probably a good bug to catch.

run dataflow validatesrunner

I expect that test suite to uncover some more instances of state/timers having trouble.

Notably, the thing that is null is never permitted to be null. So our static analysis has failed to detect a critical error somewhere.

run dataflow validatesrunner

run dataflow validatesrunner

ok.

So how many previously failing tests are now passing? How many failures remain?
…
On Tue, Oct 15, 2019 at 10:55 PM xubii @.***> wrote: Any test results after commit 524d991? Some test cases still failing after changed — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#9677?email_source=notifications&email_token=AHYHLVWYBA7CUFAYDI7QWY3QO2UDPA5CNFSM4I3DCXKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBLF5JA#issuecomment-542531236>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYHLVV6H6PSQGP6VH74C5LQO2UDPANCNFSM4I3DCXKA .
-- Shehzaad Nakhoda CTO USA/WhatsApp: +1<PHONE_NUMBER> PAK: +92<PHONE_NUMBER> Skype: shehzaad.nakhoda http://venturedive.com/

4 Test cases still failing.

run dataflow validatesrunner

Run JavaPortabilityApi PreCommit

Run Spotless PreCommit

Run RAT PreCommit

Run Python2_PVR_Flink PreCommit

Run Portable_Python PreCommit

Run Java_Examples_Dataflow PreCommit

Retest this please

@kennknowles Please review this PR

run dataflow validatesrunner

Run Java_Examples_Dataflow PreCommit

Run Dataflow ValidatesRunner

A big part of the point of this PR is to add watermark holds so that the output watermark from the stage does not advance beyond the output time. In the original PR I believe this was accomplished for the direct runner using the withHold() calls (for the Dataflow runner and other it's different, and @kennknowles should be able to explain how to set watermark holds in this case).
This can be tested using TestStream. If you have a timer set to go off at event time 2:00 with an output time of 1:00, then that step's watermark should stop at 1:00 until the timer fires. So if you advance that step's input watermark to 1:05 with TestStream, the watermark should still not fire. This means that if there is another step in the graph receiving the output of this step and that step has a timer set for 1:01, then that timer will not fire. Without the watermark hold that step will fire.

@reuvenlax thank you for the details, we are looking into it.

Run Java PreCommit

@reuvenlax  Kindly review this PR, we have added WatermarkHold functionality. Thanks.

Thank you, we are looking into it. Will get back to you if we need more detail.

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Retest this please

Retest this please

Run Java PreCommit

run dataflow validatesrunner

run dataflow validatesrunner

Run Java PreCommit

Run Java PreCommit

One more note: this PR and pr/10316 (dynamic timers) both change TimerData and all the setTimer/getTimer interfaces. Both will also need us to jump through some hoops to make TimerDataCoder changes compatible. I recommend factoring out another PR with just those changes (i.e. change all method signatures to take outputTimestamp and timerFamily, but without the code that actually interprets those new fields).

One more note: this PR and pr/10316 (dynamic timers) both change TimerData and all the setTimer/getTimer interfaces. Both will also need us to jump through some hoops to make TimerDataCoder changes compatible. I recommend factoring out another PR with just those changes (i.e. change all method signatures to take outputTimestamp and timerFamily, but without the code that actually interprets those new fields).

@reuvenlax, can we have more detail regarding what needs to be done for TimerDataCoder to make compatible?

Also please rebase now that the other PR is in.

run dataflow validatesrunner

run dataflow validatesrunner

Run Java PreCommit

Also please rebase now that the other PR is in.
@reuvenlax, done

retest this please

I added a test to this branch that should verify this behavior.  It might require running through spotless

Retest this please

@reuvenlax , can you please run the jobs? Seems like I cannot run it according to new Jenkins job execution policy.

Retest this please

retest this please

retest this please

retest this please

Run Java PreCommit

run spark validatesrunner

run flink validatesrunner

Run Flink ValidatesRunner

Run Spark ValidatesRunner

This is almost done, however you need to exclude the Flink runner from the new test, as it is failing. To do this you need to introduce a new testing tag (e.g. look at the UsesTestStream interface) and then add it to the excludeCategories list in flink_runner.gradle

This is almost done, however you need to exclude the Flink runner from the new test, as it is failing. To do this you need to introduce a new testing tag (e.g. look at the UsesTestStream interface) and then add it to the excludeCategories list in flink_runner.gradle

@reuvenlax , done

Run Flink ValidatesRunner

Run Flink ValidatesRunner

Seems like this PR is breaking:
Java_ValidatesRunner_Samza
Java_ValidatesRunner_Spark
Java_PVR_Flink_Streaming
Java_PVR_Flink_Batch
@xubii could you please help look into it?

File JIAR here: https://issues.apache.org/jira/browse/BEAM-9083

This PR also breaks dataflow post commit: https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_PortabilityApi_Dataflow/

Flink tests should explicitly excluded, but maybe we didn't exclude the
portable flink tests. There's a pending PR to add support for Flink.
We should add exclusions for Samza, Spark, and the portableApi Dataflow
runners.
On Mon, Jan 13, 2020 at 11:27 AM Boyuan Zhang<EMAIL_ADDRESS>wrote:

This PR also breaks dataflow post commit:
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_PortabilityApi_Dataflow/
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/9677?email_source=notifications&email_token=AFAYJVKOLCBMPNP2RXYIEXTQ5S6BFA5CNFSM4I3DCXKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZ7A3Q#issuecomment-573829230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAYJVOJASD45WJPK3X3YKTQ5S6BFANCNFSM4I3DCXKA
.

Flink tests should explicitly excluded, but maybe we didn't exclude the portable flink tests. There's a pending PR to add support for Flink. We should add exclusions for Samza, Spark, and the portableApi Dataflow runners.
…
On Mon, Jan 13, 2020 at 11:27 AM Boyuan Zhang @.***> wrote: This PR also breaks dataflow post commit: https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/ https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_PortabilityApi_Dataflow/ — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#9677?email_source=notifications&email_token=AFAYJVKOLCBMPNP2RXYIEXTQ5S6BFA5CNFSM4I3DCXKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZ7A3Q#issuecomment-573829230>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAYJVOJASD45WJPK3X3YKTQ5S6BFANCNFSM4I3DCXKA .

Thank Reuven for the confirmation! Is there anyone actively working on excluding these tests from the mentioned runner? If not, I'm going to work on a PR to add exclusions.

Nobody yet. The test is already marked with an test category (because we
currently exclude the regular Flink runner).
It also looks like the test should have been marked with UsesTestStream,
which I think would fix the Spark problem (probably by excluding Spark).
On Mon, Jan 13, 2020 at 12:04 PM Boyuan Zhang<EMAIL_ADDRESS>wrote:

Flink tests should explicitly excluded, but maybe we didn't exclude the
portable flink tests. There's a pending PR to add support for Flink. We
should add exclusions for Samza, Spark, and the portableApi Dataflow
runners.
… <#m_3450155051590485810_>
On Mon, Jan 13, 2020 at 11:27 AM Boyuan Zhang @.***> wrote: This PR
also breaks dataflow post commit:
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/
https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_PortabilityApi_Dataflow/
— You are receiving this because you modified the open/close state. Reply
to this email directly, view it on GitHub <#9677
https://github.com/apache/beam/pull/9677?email_source=notifications&email_token=AFAYJVKOLCBMPNP2RXYIEXTQ5S6BFA5CNFSM4I3DCXKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZ7A3Q#issuecomment-573829230>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAYJVOJASD45WJPK3X3YKTQ5S6BFANCNFSM4I3DCXKA
.
Thank Reuven for the confirmation! Is there anyone actively working on
excluding these tests from the mentioned runner? If not, I'm going to work
on a PR to add exclusions.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/9677?email_source=notifications&email_token=AFAYJVMJA3CJYO4CZTLCXF3Q5TCNVA5CNFSM4I3DCXKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2DBAI#issuecomment-573845633,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAYJVM62OSOGTX4GIVUAFDQ5TCNVANCNFSM4I3DCXKA
.


Add default test case

SCRUB should have a default test case that can be executed to ensure that it has been installed properly.

Working on updates for this that will accomplish the following goals:

Use open source codebases for testing so test code can be removed from this repo
Build common sense validation checks/error reporting into the actual execution of SCRUB
Provide flexible integration testing framework (e.g. won't fail if tools are missing)


[rcore] INPUT_MOUSE_WHEEL_MOTION events aren't replayed correctly

Issue description
In the core_automation_events example, the camera zoom can be changed by scrolling the mouse wheel. Recording mouse wheel events and then replaying them does not change the camera zoom.
Environment
Platform - DESKTOP (GLFW) / WEB
Operating System - macOS 14.5
OpenGL version - 4.1 Metal
Issue Screenshot
https://github.com/user-attachments/assets/f66fa2c1-4cdb-4c31-9462-f4f832d026cf
Code Example
Using the core_automation_events example either through the web (https://www.raylib.com/examples/core/loader.html?name=core_automation_events) or desktop:

Start recording inputs
Scroll the mouse wheel (Camera zoom should change)
Stop recording inputs
Replay inputs (Camera zoom won't change)

@RMcTn Fixed.


Still loading only

No signin screen appear. still loading

Need more info -- Any error messages on the console? Failed network requests?

Same issue.
There are no errors in console.
No network error.
But the screen still loading...


fix(pkg/driverbuilder): fixed support for ubuntu-lts.

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area pkg
What this PR does / why we need it:
This PR fixes the build of multiple drivers:

ubuntu 6.5 drivers
ubuntu-lts drivers

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

fix(pkg/driverbuilder): fixed support for ubuntu 6.5 and ubuntu-lts drivers

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: EXONER4TED, FedeDP
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 [EXONER4TED,FedeDP]

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


IT Localization

Hello, I am trying to get this integration working for italian amazon localization, but although most parts are ok, I found this piece of code to look for an untranslated string:
https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/blob/9cb8144d0961b36db032e64408175ba1552af24a/custom_components/mail_and_packages/helpers.py#L1156
The same here:

the start string is "In arrivo:"
I think with minor adjustment this should work for italian people too.
Do you think I can submit a pull request?
Let me know how to proceed. Thank you

It's already addressed in the 0.3.3 betas.

wow! it look promising!
https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/blob/5d50582d4239983ed5e066814ed8c751579de069/custom_components/mail_and_packages/helpers.py#L1197
I am wondering if there is a more structured way to set a localization and use it to scrape emails in general
Thank you again


Switched to the stdio FILE* API for handling streams to provide the expected behavior to Vorbis.

Fixes #845

Have you tested it with all other kind of resources and formats?

:+1: Works for me.

Have you tested it with all other kind of resources and formats?

What other kind of resources and formats? The newest sound example already plays wav, ogg and flac files... The problematic sound files provided on the the forum also work with this fix.

What other kind of resources and formats?

sf::Image, sf::SoundBuffer (the backend is the same but used differently).

sf::Image uses stb_image, and not sf::FileInputStream.
sf::SoundBuffer is already indirectly tested in the sound example since sf::Sound makes use of it.

sf::Image uses stb_image, and not sf::FileInputStream.

I mean sf::Image::loadFromStream(sf::FileInputStream). All resource classes that use streams use them differently, if we provide official input streams we should make sure that they at least work with all of our classes.

I have not, since I changed and pushed it a few minutes before going to bed. :wink:

Not directly related, but shouldn't System.hpp also include FileInputStream.hpp and MemoryInputStream.hpp?

Not sure how much I've missed, but this seems to work fine so far.
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/System/FileInputStream.hpp>

int main()
{
	sf::RenderWindow window{{1024, 768}, "Test"};

	sf::FileInputStream font_stream;
	font_stream.open("arial.ttf");

	sf::Font font;
	font.loadFromStream(font_stream);

	sf::Text text("Hello World", font, 50);

	sf::FileInputStream image_stream1;
	image_stream1.open("image.png");

	sf::Texture texture1;
	texture1.loadFromStream(image_stream1);

	sf::Sprite sprite1(texture1);

	sf::FileInputStream image_stream2;
	image_stream2.open("image.jpg");

	sf::Texture texture2;
	texture2.loadFromStream(image_stream2);

	sf::Sprite sprite2(texture2);

	sf::FileInputStream shader_stream;
	shader_stream.open("wave.vert");

	sf::Shader shader;
	shader.loadFromStream(shader_stream, sf::Shader::Vertex);

	sf::FileInputStream sound_stream;
	sound_stream.open("music.flac");

	sf::SoundBuffer soundbuffer;
	soundbuffer.loadFromStream(sound_stream);

	sf::Sound sound(soundbuffer);
	sound.play();

	while(window.isOpen())
	{
		sf::Event event;
		while(window.pollEvent(event))
		{
			if(event.type == sf::Event::Closed)
				window.close();
			else if(event.type == sf::Event::MouseMoved)
			{
				shader.setParameter("wave_phase", 10);
				shader.setParameter("wave_amplitude", event.mouseMove.x * 40, event.mouseMove.y * 40);
			}
		}

		window.clear();
		window.draw(text);
		window.draw(sprite1, &shader);
		window.draw(sprite2);
		window.display();
	}
}

:+1:

shouldn't System.hpp also include FileInputStream.hpp and MemoryInputStream.hpp?

Absolutely.

shouldn't System.hpp also include FileInputStream.hpp and MemoryInputStream.hpp?
Absolutely.

I'll make another PR on this, since it's also missing Time.hpp and I'll recheck the other headers.

If you think my test was sufficient please change the label from undecided to accepted.

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.


Rasterio update

Added Scott's part to rasterio notebook. Just need to add a bit more explanation to a few parts and translate text! :)

@isamarcortes Don't forget to add new dependencies the to repo's environment.yml file. With the new lessons 9 & 10, I think we'll need rasterio and rioxarray.


Update deps

The poise and typst updates required some changes, the remaining crates just worked™.
All of the code contained in this PR is 100% untested, but hey, it compiles. How bad can it be?

Seems to work :)


Import camera names

All names of cameras imported from gltf/glb files are lost.
To Reproduce
Steps to reproduce the behavior:

Import a gltf or glb with cameras defined.
All camera names are lost

Expected behavior
Camera names defined, not generic names like PerspectiveCamera, PerspectiveCamera001, ...
Test files gltf&glb
Test.zip
Version

OS: Windows 10
Blender Version 2.82a

Additional context
My input is a gltf/glb that potentially can have a lot cameras defined and an array of camera names to render, so it's important to identify each camera easily.
Test files are created using ThreeJS editor, adding a camera and customizing its name. Then I export to gltf and glb.

https://sandbox.babylonjs.com/ loads well the camera name

I see that the name is stored in a object inside "nodes" array of gltf file.

More precisely: The camera names are imported. The node where the camera is instantiated however, gets the name of the camera, rather than the name from its node.name.

Thanks!


Breakpoint breaks at wrong instruction

VSCode Version: 1.17.2
OS Version: macOS 10.12.6

Steps to Reproduce:

Load a typescript file.
Write code similar to this one:

            for (let rangeTest of rangeTests) {
                let [text, target] = backend.formatGrammar("test/formatting/raw.g4", {}, rangeTest.source);
               // ...
                expect(expected, "Test " + testNumber++).to.equal(text);
            }

Now set a break point on the line with the tuple result. When hit try to step in.

What happens is that you see the yellow arrow that indicates the assignments to the tuple variables, but the debugger will not step into the formatGrammar function.
Now when you step over that and the expect call and continue with step-into steps (over the loop introducer, then the formatGrammar call again) the debugger will actually step into this function. So it looks the step-into functionality is working fine. Only the breakpoint breaks execution after the function executed already.
This problem has probably to do with the tuple assignment. If you remove it and just ignore the result the breakpoint and step-into command work as expected.

Reproduces without extensions: n/a
Node.js version is: 7.3.0

What version of node.js are you using?

Upgraded to 9.0, but that didn't change anything.

What does your TSConfig look like? I'm wondering if TS generates an invalid sourcemap?

Here we go:
{
    "compilerOptions": {
        "mapRoot": "./out",
        "declaration": true,
        "module": "commonjs",
        "target": "es6",
        "outDir": "out",
        "removeComments": true,
        "noImplicitAny": true,
        "sourceMap": true,
        "inlineSources": true,
        "isolatedModules": false,
        "allowSyntheticDefaultImports": true,
        "experimentalDecorators": true,
        "strictNullChecks": true
    },
    "compileOnSave": true,
    "include": [
        "src/**/*.ts", "parser/**/*.ts", "test/**/*.ts"
    ],
    "exclude": [
        "node_modules",
        ".vscode-test",
        "generated"
    ],
    "outFiles": [
        "${workspaceRoot}/out/**/*.js"
    ]
}

This appears to be a V8/Node bug in versions before the later 8.xs. But it works fine for me after 8.7 and in 9.0.

Upgraded to 9.0, but that didn't change anything and that made things worse. Now I cannot step anymore at all when there is the tuple assignment.

This works for me. It's not clear what's worse. Can you eliminate some variables by trying without sourcemaps, or in chrome devtools, or share the project so I can try?

You can clone the project from here: https://github.com/mike-lischke/antlr4-graps.
Atm. only one test is executed when you run the "Mocha" configuration in vscode. Set a breakpoint here: https://github.com/mike-lischke/antlr4-graps/blob/formatter/test/test.ts#L628 and try to step-into when the bp is hit. It's impossible for me. The statement is executed as a whole.

Ok, with that project I can also repro it, so I guess the problem is not gone after 8.7. I can at least step in if I add a line of code before, set a breakpoint on that line, and step in from there. You should file an issue on Node: https://github.com/nodejs/node/issues

To be honest I don't see the connection to Node.js here and don't know what I should tell the guys there, since for me vscode fails, not Node.js. As an analogy: when your favourite image application fails to write an image correctly, you wouldn't want to hear from the producer you should file a bug report against that used 3rd pary image library to have this fixed, but rather would want that the image application writer takes care, right? So, can you please take the required steps to fix this bug? I would much appreciated it. Thanks.

Node.js is not a library but the runtime target of the debugger (which you've installed yourself). The runtime determines how stepping works (or does not work). VS Code provides the UI for stepping but not the stepping functionality itself. Since Node.js is not part of VS Code we are not in control of that piece of software (and we can neither fix nor work around stepping issues).
[A better analogy would be: when your Mac's display fails to render an image correctly because the display's blue channel has a defect, the author of your favourite image application cannot fix that.]

I understand @mike-lischke, I filed the issue. Unfortunately I can't improve the experience on our side though.
I reduced this some more and found a case that reproes in Chrome as well as Node. I ended up filing it in the Chromium issue tracker here: https://bugs.chromium.org/p/chromium/issues/detail?id=782461


[Bug] Searching Friends Function not work

Enter in the search box, but the reasult  list is empty.

version:20241011, There is no problem in the previous version

This is likely an issue with localization settings. Do you mind setting your language to english and trying again?

This is likely an issue with localization handling. Do you mind setting your language to english and trying again?

I tried it and it worked. When I switched back to zh-CN.it still worked. When I restarted again, it didn't work.

Alright, I'll look into pushing a fix soon then


Javascript - Back end - Additional API endpoints

Additional API endpoints

Create an API end point for the Animal Types : https://www.petfinder.com/developers/v2/docs/#get-animal-types
Create an API end point for the Animal Breeds: https://www.petfinder.com/developers/v2/docs/#get-animal-breeds

Types endpoint: https://warm-shore-80646.herokuapp.com/types
Breeds endpoint: https://warm-shore-80646.herokuapp.com/${type}/breeds
Accepted animal types for the breeds endpoint are:

dog
cat
rabbit
small-furry
horse
bird
scales-fins-other
barnyard


Can I show the selectable items from a function?

Hi,
Can I do show a popup with the selectable items from a Function?
So I don't wan to use a concrete chooser-widget in another StateFul Widget or something, I don't want to see a chooser tile, I don't want to press phisically to a graphical item, I just show a chooser popup from a function.
Can I do it? How?

You can try something like this
import 'package:flutter/material.dart';
import 'package:smart_select/smart_select.dart';

class ProgrammaticModal extends StatefulWidget {
  @override
  _ProgrammaticModalState createState() => _ProgrammaticModalState();
}

class _ProgrammaticModalState extends State<ProgrammaticModal> {

  List<S2Choice<String>> _choices = [
    S2Choice<String>(value: 'app', title: 'Apple'),
    S2Choice<String>(value: 'ore', title: 'Orange'),
    S2Choice<String>(value: 'mel', title: 'Melon'),
  ];

  List<String> _value;
  GlobalKey<S2MultiState<String>> _smartSelectKey = GlobalKey<S2MultiState<String>>();

  @override
  void initState() {
    super.initState();

    WidgetsBinding.instance.addPostFrameCallback((_) => _smartSelectKey.currentState.showModal());
  }

  @override
  Widget build(BuildContext context) {
    return SmartSelect<String>.multiple(
      key: _smartSelectKey,
      title: 'Fruit',
      value: _value,
      onChange: (state) => setState(() => _value = state.value),
      choiceItems: _choices,
      tileBuilder: (context, state) {
        return Container();
      }
    );
  }
}

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?


update 1.0

Update

Sorry, ignore this, I'm being silly... But also welcome back, I plan to do a bit of work on this next week. :) I've been away for a while.


Error: VipsOperation: class "webpsave" not found

Using this code:
const sharp = require('sharp')
sharp('input.jpg')
  .toFile('sharp-out.webp')

MacOS High Sierra, Node 8.6.0
Thanks!

I found the problem!
The default homebrew version of libvips doesn't include webp support.  Two ways to fix this:

brew install vips --with-webp
brew uninstall vips && npm uninstall sharp && npm install sharp --save

Googling the error message didn't turn up many results.  Hopefully this issue will help others know what it means.


Adding missing named param check on ViT

The ViT implementation is currently missing a check to validate if the parameters of the builder and the weights params are incompatible. This PR fixes the problem.
cc @datumbox

The failing test is not related.


Is this a dead project?

I am researching for a solution(MS.Net preferably) that can be used for a customer queue system where each customer gets token as they arrive. One important aspect is to be able to rebuild the tokens in correct order in a system crash. Lot of queue/messaging systems are kind of overkill and using standard Queue/ConcurrentQueue is not adequate.
I feel DotnetMQ may fit the bill but it seems an abandoned project. Is it the case?

I feel DotnetMQ may fit the bill but it seems an abandoned project. Is it the case?

Yes. It can be a reference or base for your custom solution, but I don't develop it anymore. It was ~8 years ago :D


lit skill component changes

resolves CSS merge conflicts and changes how the hover state works to something that seems more readable and performant to me

Thanks a lot

Thanks a lot

No problem


Workaround openstack floating ip race condition

docker-machine create the openstack driver
will look for available floating IPs, memorize them and try to allocate
(using floatingips.Update()) later to the VM.
When using multiple parallel create commands this will create a
race condition (https://github.com/docker/machine/issues/4038) because Update() does not properly check for success in
the upstream library.
As a workaround we can always allocate new floating IPs and delete them
properly when removing the VM.

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "delete-fip" git@github.com:syseleven/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

And even if the upstream library (https://github.com/hashicorp/terraform/blob/a1481805050729da9a7bd0a4d9207af007cc3158/vendor/github.com/gophercloud/gophercloud/openstack/networking/v2/extensions/layer3/floatingips/requests.go#L127) would have better error handling, docker-machine would need to change the logic, but I don't have those means myself currently.

@stefanandres i think the travis job is failing because you forgot to run go fmt on the changed files

Thanks, fixed that.

@dgageot @shin- hm, we are running the patched fork of docker machine in production since march now and are interested in getting this merged. What is missing? Are you interested in the patch?

Thanks for response! :-) I'll comment the in-line code comments

Can we please get this merged? :) As far as I can tell from the comments all reviews are resolved.

As discussed internally I've implemented the changes myself :)


Error loading libraries with Python 3.8 on Windows

With Python 3.7 and versions before that, loading ffmpeg libraries is possible with Pyglet's LibraryLoader.load_library() in  lib.py.
The same code that worked in Python 3.7 does not work under Python 3.8. The command lib = ctypes.cdll.LoadLibrary(name) on line 140 fails where it used to work. I'm not sure why. This line tries loading with just the file name, and not the full path.
Later on in lib.py, Pyglet will try that library again with the full path. This would work under Windows, except right ahead of that is this code:
            if self.platform == "win32" and o.winerror != 126:
                print("Unexpected error loading library %s: %s" % (name, str(o)))
                raise

This causes us to immediately fail before re-attempting with the full path. If that code is removed, execution continues and the library is successfully loaded on line 153.
Removing this code would allow pyglet-ffmpeg2 to work for supplying libraries for ffmpeg. But there might be a better solution.

I was looking through the Python 3.8 release notes, and there were quite a few ctypes patches. Nothing that immediately jumped out as a cause, but if we can make the pyglet code more robust then that's a good solution.
I think the following change should work. It looks a little funky, but what about leaving that code snippet, but just moving it to the end?:

        for name in platform_names:
            try:
                lib = ctypes.cdll.LoadLibrary(name)
                if _debug_lib:
                    print(name)
                if _debug_trace:
                    lib = _TraceLibrary(lib)
                return lib
            except OSError as o:
                path = self.find_library(name)
                if path:
                    try:
                        lib = ctypes.cdll.LoadLibrary(path)
                        if _debug_lib:
                            print(path)
                        if _debug_trace:
                            lib = _TraceLibrary(lib)
                        return lib
                    except OSError:
                        pass
                elif self.platform == "win32" and o.winerror != 126:
                    print("Unexpected error loading library %s: %s" % (name, str(o)))
                    raise

If you had a chance to confirm that that works, that would be great! If not I'll see if I can get my test Windows VM upgraded to 3.8, and try there.

 The pyglet-1.4-maintenance branch has the fix in it, and will be out in a v1.4.7 release soon.  If you have a chance to give it a try, let me know if you still have issues. Hopefully that does it!
pip install --upgrade --user<EMAIL_ADDRESS>

The code sample you had here seems to work for me, and looks like the least-risky way to fix it. Thanks!

This is included in the latest releases, so I'll close this for now.


Need a way to unset JSON schema

I was working with some YAML manifests for Kubernetes when I noticed one of my files, foo.es.yaml had error markers all over it. I discovered that it was incorrectly assigned the fulibworkflows JSON schema for validation, which is an open bug in SchemaStore: https://github.com/SchemaStore/schemastore/issues/3334
I don't think this is a bug in VSCode per se, since it seems to be a bug in the upstream SchemaStore project. But because of this bug, I found that it's not possible to unset the JSON schema used if one is identified by the SchemaStore component (at least to the best of my knowledge, and I have been looking around a lot). I feel strongly that it should be possible to unset the detected schema, so bugs like this can be circumvented.
I think having a null/noop/None option to unset the schema would be useful. Alternatively, we could have a checkbox in the settings to disable the schema validation, but I prefer a null schema because it's easier to change on a file-by-file basis then.

YAML schema support is provided by the Red Hat extension?

I didn't know. Thank you for pointing me in the right direction!


PickPhotoAsync problem on Android 5.1.1

From @apivovar on March 3, 2016 11:35
This is a

[x] Bug
[ ] Feature Request

Which plugin does this impact:

[ ] Battery
[ ] Connectivity
[ ] Contacts
[ ] DeviceInfo
[ ] ExternalMaps
[ ] Geolocator
[x] Media
[ ] Permissions
[ ] Settings
[ ] Text To Speech
[ ] Vibrate
Other:

Version Number of Plugin: 2.3.0, 2.4.0-beta2
Device Tested On: Android 5.1.1 (Nexus 4)
Simulator Tested On:
Expected Behavior
It should show Gallery image picker at least.
However it does nothing, because of the exception caught in MediaPickerActivity.cs file:

No Activity found to handle Intent act=android.intent.action.PICK typ=image

Looks like this issue is reproduced since Android Lollipop.
Actual Behavior
await CrossMedia.Current.PickPhotoAsync() returns null
How to fix
Please, replace Intent.ActionPick with Intent.ActionGetContent all over the code of the plugin (MediaImplementation.cs and MediaPickerActivity.cs files).
ACTION_GET_CONTENT provides more useful user interface.
Copied from original issue: jamesmontemagno/Xamarin.Plugins#240

From @Vandersteen on March 28, 2016 13:6
I had a similar issue with TakePhotoAsync. Turns out the permissions wheren't set / asked for (in my case).
Using:
var status = await CrossPermissions.Current.CheckPermissionStatusAsync(Permission.Camera);
if (status != PermissionStatus.Granted)
{
	await CrossPermissions.Current.ShouldShowRequestPermissionRationaleAsync(Permission.Camera);

	var results = await CrossPermissions.Current.RequestPermissionsAsync(new[] {Permission.Camera});
	status = results[Permission.Camera];
}

if (status == PermissionStatus.Granted)
{
... use take photo here
}

Solved it on my part.

Unable to reproduce


Update/Improve Documentation in Wiki

Do you want to request a feature, improve documentation, or ask a question?
Improve Documentation. We have merged many PR's that have added new features, changed configurations, etc. We should update the wiki to include all these additions.
TODO:

[x] Review merged PR's and add items to the list below.

Things to add to the wiki:

[x] #108 Improve auth documentation, provide examples
[ ] #118 Give example of adding errorHandler and requestHandler middleware
[x] #111 Document custom operations and how to use them, provide an example
[x] Update documentation for "Getting Started" section, including example request to a resource
[x] Update contributors guide
[ ] Update Metadata documentation since we support custom metadata hooks

If there are other things we are missing documentation on, please comment below and we will add those as soon as we can.

[ ] #108

I'd add a doc for how to add custom operations

I'd add a doc for how to add custom operations

Added to list, thanks

In ConfiguringProfiles.md, the "Go to src/constants.js to find a list of all supported profiles with their associated keys." comment is not correct. The supported profiles/keys do not exist in the src/constants.js.


Move new keystone package to dependencies

KeyringController now imports @keystonehq/metamask-airgapped-keyring.
This should not be included in devDependencies, but rather
dependencies. This is causing issues downstream.

¿can we import type since we are just importing types? this will bundle the whole thing

omg guys you are so fast you merged while I was asking hahaha

Really fast, I was just about to open the PR. Thanks @mcmire @Gudahtt


Manage community review policy via API

Allow owners (i.e. the Rogue Scholar API) to publish without review.

Implemented via 45dba7d.


Fix Image Not Displaying in Component

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Images are not showing up in the components, as seen in the attached screenshot. The issue seems to be related to the incorrect path or missing image files.
Expected behavior
Images should be displayed correctly in the UI, with the appropriate images appearing in each designated area.
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

@apu52 allow me to change it : )

 Fixed Bugs
 Give me approval to Push the Code : )

@soura07 this issue has already been assigned to another contributor , sorry I can't assign u this issue. But u still make new issue on which u want to work on.


PEG parser generator

Hey,
A little while ago I mentioned that I was working on a PEG parser generator built on top of nom, and that can interact with nom seamlessly. The syntax is heavily inspired by LALRPOP's syntax (and of course PEG grammars).
I've got a first version working!
As an example of what it can do I wrote a simple arithmetic expression parser, and rewrote the json parser from this benchmark (https://github.com/Geal/nom/blob/master/benches/json.rs).
The full code is here: https://github.com/Evelyn-H/nom/tree/peg-generator
Arithmetic (right associative):
let arithmetic = grammar! {
    parse: i64 = <expr> "="

    // alternatives are separated by `|`
    // the `<...>` is to capture the output of that sub-parser, and optionally assign it to a loca variable
    // the `=> { ... }` can manipulate the output of the parser before returning it
    expr: i64 = <l: product> "+" <r: expr> => { l + r }
              | <l: product> "+" <r: expr> => { l - r }
              | product

    product: i64 = <l: value> "*" <r: product> => { l * r }
                 | <l: value> "/" <r: product> => { l / r }
                 | value

    value: i64 = ("0"|"1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|"9")+ => { result.join("").parse::<i64>().unwrap() }
               | "(" <expr> ")"
};

assert_eq!(arithmetic.parse("123="), Ok(("", 123 as i64)));
assert_eq!(arithmetic.parse("1+1="), Ok(("", 2 as i64)));
assert_eq!(arithmetic.parse("12+(3*7)="), Ok(("", 33 as i64)));
// assert_eq!(arithmetic.parse("3*7/2="), Ok(("", 10 as i64))); // left-associative
assert_eq!(arithmetic.parse("3*7/2="), Ok(("", 9 as i64))); // right-associative

Json (no whitespace handling):
let json = grammar! {
    parse: JsonValue = <value> "="

    // the `::` prefix is used to denote calls to external parsers (i.e. not in this grammar)
    num: f32 = ::recognize_float => { result.parse::<f32>().unwrap() }

    string: &'input str = "\"" <::alphanumeric> "\""

    boolean: bool = "false" => { false }
                  | "true" => { true }

    array: Vec<JsonValue> = "[" <list: (<value> ",")*> <last: value> "]" => { list.push(last); list }

    key_value: (&'input str, JsonValue) = <string> ":" <value>

    hash: HashMap<String, JsonValue> = "{" <list: (<key_value> ",")*> <last: key_value> "}"
        => {
            list.push(last);
            list.into_iter()
                .map(|(k, v)| (String::from(k), v))
                .collect()
            }

    value: JsonValue = hash => { JsonValue::Object(result) }
                     | array => { JsonValue::Array(result) }
                     | string => { JsonValue::Str(String::from(result)) }
                     | num => { JsonValue::Num(result) }
                     | boolean => { JsonValue::Boolean(result) }
};

let data = "{\"a\":42.3,\"b\":[\"x\",\"y\",12],\"c\":{\"hello\":\"world\"}}=";
let parsed = json.parse(data);
println!("{:?}", parsed);
assert!(parsed.is_ok())

What do you think?
-- Evelyn

this looks awesome! I like how the proc macro code is easily readable, and that translates well to nom calls :)
Could this live in a separate repository though? I'm trying to move stuff out of Geal/nom, and I created the rust-bakery organization to hold nom related code.

Thanks :)
And yeah, I figured that moving it to a separate crate would be best. How exactly do you wanna do that?

I sent you an invitation for https://github.com/rust-bakery/nom-peg
anonymous structs are fine and can help handle scope.
Also, there are anonymous functions all over the place in nom: https://github.com/Geal/nom/blob/master/src/branch.rs#L227-L229

Just published the first version! :)
https://crates.io/crates/nom-peg

awesome, thanks :)


Null ClaimsPrincipal makes all access checks pass

Steps to reproduce
Configure a field with RequiresAllRoles():
schema.UpdateQuery(queryType =>queryType.ReplaceField(...).RequiresAllRoles("my_role"));

Call ExecuteRequest() with user set to null:
_schemaProvider.ExecuteRequest(query, _graphQLOverallSchema, HttpContext.RequestServices, null);

In this case, the RequiresAllRoles() check appears to be bypassed, and instead of getting the error You are not authorized to access the 'example' field on type 'Query'., we get data back instead.
This feels to me like a bug (albeit a minor one 🙂). If I pass null for the user in ExecuteRequest(), I would expect that all fields that have been configured with RequiresAllRoles() would fail with an access denied message.
(I've tested this on EntityGraphQL 3.0.5 but not on the 4.0 branch)

Relevant code: https://github.com/EntityGraphQL/EntityGraphQL/blob/51c6018b3365da314887fb40e1e102be87528d71/src/EntityGraphQL/Schema/RoleBasedAuthorization.cs#L27

Ooo, looks like 4.0 just got released recently, yay! ^_^
Confirmed that this has the same behaviour on 4.0 🙂

Hmm this is "by design". Might not be good design!
If you pass null it "assumed no access check should happen". If you pass a user "checks should happen".
At this stage (because the library has evolved a lots since access check were first introduced) I think a better is to always do checks if they are on fields/types and error on null user.
If we still want the ability to bypass access checks, making it more explicit via an execution option would be better.

Speaking of auth I was pondering the other day whether it made sense to have a mode that optionally filtered out fields instead of erroring.  I tmight be a bit more flexibly in complex situations where you'd otherwise need many different queries depending on what groups the user is in.

Yeh, it will still cause an error just different (field not found type). But more importantly it can filter them out from schema introspection.

Yeh, it will still cause an error just different (field not found type). But more importantly it can filter them out from schema introspection.

I didn't mean filter that early, although I can certainly see a use in that.
I meant silently continue and remove from output like @include does

@lukemurray Sounds like a good approach to me 🙂

Changing in upcoming 5.0 release.

Previously passing null for the ClaimsPrincipal in ExecuteRequest() would skip any authorization checks. All authorization checks are now done regardless of the ClaimsPrincipal value. Meaning null will fail if there is fields requiring authorization.

Sweet! 🙂


Enabling fullscreen triggers a "visibilitychange" event on safari

Hello, and thanks for the library
On safari (15.3) on macos (11.6.4), and possibly on ios too, Enabling and disabling fullscreen triggers a "visibilitychange" event. It doesn't on Chrome and Firefox.
I guess it's just a different behavior between vendors, even out of fscreen (I didn't test 😅).
In all case, should fscreen be (and could it be) consistent between vendors?
Thanks

I finally tested without fscreen, and confirm that the behavior is also present when native.
So I asked on SO: https://stackoverflow.com/questions/71240721/switching-fullscreen-triggers-a-visibilitychange-event-on-safari


Implement the background pattern on the header of the index page

Aure designed a really pretty dot pattern with colorful geometric shapes for the header of our website that we haven't had time to implement in CSS (or maybe JavaScript) yet.
You can see the intended design here:
http://zpl.io/broroOe
Low priority, but would be a great first pull request for someone who wants to get more involved. Make sure your solution works well on mobile.

I'm getting 'You’re not invited to this project'.

Working on making this publicly viewable. Added @royalharsh for now. Anyone else who wants access, just ping me.

Alright, here's the public link:
https://scene.zeplin.io/project/59fa2311bac7acbc8d953da9/screen/5a0a7247a8dbd1c49339620f


Use FlashAttention

Should improve runtime
See here
https://benjaminwarner.dev/2023/08/16/flash-attention-compile

Tested with pytorch implementation
class ScaledDotProductAttention(nn.Module):
    """Scaled Dot-Product Attention"""

    def __init__(self, temperature):
        super().__init__()
        self.temperature = temperature
        self.softmax = nn.Softmax(dim=2)
        torch.backends.cuda.enable_flash_sdp(True)

    def forward(self, q, k, v, mask=None):
        attn_output = torch.nn.functional.scaled_dot_product_attention(
            q, k, v
        )
        return attn_output, None

No large difference in performance, maybe due to very short sequence length (https://github.com/Dao-AILab/flash-attention/issues/403#issuecomment-1658844143)?
Leave this for now.


How to disaable auto fold feature?

In your my_configs.vim try to set set nofoldenable

thx

And for js files this line should be comment out:
au FileType javascript call JavaScriptFold()


Update system-requirements.md

#7435 add gradle URLs to firewall settings

Hi Connor,
Hi Connor,
This information is already in our documentation here: https://docs.mendix.com/refguide/managed-dependencies/#8-troubleshooting
And is being rewritten in #7343
Are these URLs always required, or only when using Managed Dependencies?
If the former, then we should put it here. But if the latter, then customers should be able to pick it up when reading the Managed Dependencies documentation.

No further response, so merging the updated version.


chore: use iris compatible contracts

this wallet has the tokens screen, is that normal on develop?

@kenodressel no clue, also the develop version is indicated as 0.7.0 and latest release is 0.7.1

I merged the re-align PR, could you try rebasing it again?

done


Fix crash when considering invalid binary operator function for resolution rdar://23719809&23720006

This fixes compiler crashes resulting from an invalid FuncDecl which is later considered while resolving a binary application. <rdar://23719809&23720006>
Examples:

func ~=(){} (empty tuple)
func ~=(_:Int){} (one argument which cannot be cast to a tuple)

These are considered when type-checking something like switch 0 { case 0: ... }.
Some questions I had while poking around to figure out this patch:

I've already submitted test cases to https://github.com/practicalswift/swift-compiler-crashes/pull/98/files, so presumably, they will eventually be pulled into validation-test. Should I still add a test in test/decl/operators.swift, or perhaps somewhere under test/Sema?

Should DeclChecker::bindFuncDeclToOperator have called FD->setInvalid(true) when it emits error diagnostics for the function definitions, which happens earlier, to avoid getting this far into operator resolution with a bad operator function?

As of f00e5bc6, FuncDecl::isBinaryOperator() returns true if the argument tuple has 1 element with an ellipsis. I'm concerned that favorMatchingBinaryOperators (the function being modified here) doesn't support this case properly. Should it?

Please add a test in the same commit that makes the fix.

Where would you like the test to be added? I don't see any particularly relevant files in the Sema tests.

validation-test/compiler_crashers_2_fixed/ would be an OK place.

Test case added. Still I recognize that this might not be the right way of fixing the bug. If there's a better approach, let me know!

@cwillmor Would you mind reviewing this patch?

LGTM. I'm currently seeing if it fixes any other compiler crashers in the suite. Thanks for looking into this!

My pleasure :smiley:
Before it's merged, however, it would make sense for someone who really knows this code to look at the questions I posed in the original comment — I'm mildly worried that this patch might be sweeping other potential problems under the rug.

To answer your questions:

This issue has more to do with what happens downstream of an improper declaration of =~ at the switch statement, so you could consider adding something to test/stmt/statements.swift.
Calling setInvalid() on an operator implementation with the wrong number of args is probably correct. Try it and see? Worst that happens is that we have to update some diagnostics in the test suite.
If we allow single-variadic-arg funcs to implement binary operators, we don't do it very well. Probably worth filing a bug! The following code currently fails to compile:

infix operator *** {}
func ***(x: Int...) {}
func f(x: Int) { x *** x }

Calling setInvalid() didn't break anything when I tried it (though I didn't run the full test suite), but it's not clear that it's any better than what's currently being done. While diagnostics are emitted, It still seems that invalid declarations are allowed to flow through the rest of the constraint system (rather than failing fast), which I'm sure is a design choice. It appears the downstream client is responsible for checking isInvalid(), yet I don't see as many checks as I might expect.
I'm sure there is more to understand here; as an outsider I'm just not that familiar with the codebase yet. I'll defer to y'all to merge this patch if you see fit, or recommend more changes. :8ball:

This is good to merge — the RUN line was the only real issue. Feel free to follow up on the other comments. Thanks!

:tada: !

Nice!


Flattening of wsdl inside wso2 APIM

Can we add feature in WSO2 APIM 2.1 or higher version which could do first flattening of wsdl file and then create APIs ?

This requirement is addreesed by the wsdl archive upload feature which has been introduced in APIM 2.6.0. Please refer [1] for more information.
[1] https://github.com/wso2/product-apim/issues/3716


Add missing trait conformances

These trait conformances were simply missing. Add them.
I added a validation rule to check that all nodes that can conform to a trait do so in https://github.com/apple/swift-syntax/pull/1748.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows


Tex output

In reference to, https://github.com/HarisIqbal88/PlotNeuralNet/issues/63, I think it'd be beautiful to have some integration between the two.
Many ways are possible to achieve this.

Netron works without Python installed and hence should not depend on Python packages. Integration with libraries requires that there is a guarantee these libraries get maintained and supported on all platforms going forward. Both would have to be addressed first.


Cancel Button

The cancel button should be on the left and the next, save etc. should be to the right to prevent movement error.
See attached screenshot.

I would like to work on this issue. Please assign this to me.

I have done the changes. If that is ok, I can raise the PR!

I have done the changes. If that is ok, I can raise the PR!

Ok. You have to open it on hospitalrun-frontend


About edit_ratio

If edit_ratio is set to 1, then in the apply_mask_strategy funtion, the mask will be all set to 1.
Then, in line 66-68 in opensora/schedulers/rf/init.py, noise_added will be set to all one.
So '~noise_added' will be all zero, and 'mask_add_noise' will also be all zero.
This seems not true, as we obviously want to add noise to the area since edit_ratio is set to 1 means full edit.
I want to ask why does this happen? Or Is my understanding wrong?

same qustion


Testing on Videos or real-time dataset

I am working on a project in which i have to estimate/get the 3d coordinates of the hand from a real-time dataset or a video. I would like to know whether it could get me the coordinates from a video or not. If it could happen then what is the approx fps of the video from which it could extract ?

I have the same question. Did you find any solution?


can't join multiplayer, missing a bunch of tags?

happens with owo lib 0.11.0 and things 0.3.1, both mods work just fine in a singleplayer world but as soon as i try joining a server that has those mods i get kicked with "connection lost %s". server log just says player disconnected but client log points to a bunch of missing tags
ive had a similar issue with betterend and its dependency bclib, but never figured out the cause for this
client log https://paste.atlauncher.com/view/fe63915c-50bc-4322-9c62-a645297b5e9a
server log attached as file
latest.log

This is actually a bug with Quilt Standard Libraries, and should be fixed by this pull request: https://github.com/QuiltMC/quilt-standard-libraries/pull/326
I am not sure exactly what triggers the issue, but this is generally not something we can solve at this time.

Given that PR fixes a bug with a quilt-specific API, I don’t think it’s related.

Looked at the server log, definitely unrelated.

Even in that case, I believe the chance of this being caused by Things to be extremely slim and would suspect some kind of Quilt problem either way


Create an option to print out how states are saved in the storage

What is the good format for doing that?

Maybe something like this:
$ ./bamboo --storage < source.bbo
{
   "storage" : {
      "0" : {
         "type" : "dispatcher",
         "values" : {
            "0" : "running",
            "23" : "auction"
         }
      }
   }
   "contracts" : {
      "auction" : {
         "storage" : {
            "1" : {
               "type" : "address",
               "name" : "_beneficiary"
            },
            "2" : {
               "type" : "address => bool",
               "name" : "_bids"
            }
         }
      }
   }
}


Enable access key writes

Since we aren't using RBAC for Cosmos DB Mongo bundle, and instead using access key (static creds), this bool needs to be enabled to allow apps to do metadata functions like creating collections
https://learn.microsoft.com/en-us/azure/cosmos-db/audit-control-plane-logs

https://linear.app/massdriver/issue/ORC-438/cosmos-mongo-key-config-update


Harmonise task - subticket 2 - PMID 32915782

PMID 32915782
GCST90011882 is the only one with a harmonisation folder, but there are 3 studies.
Investigate.

Thinking about this again, I've changed it back to pre-GWAS-SSF because allele was not required info before SSF. Should be handled by new harmonisation pipeline.


copy note ref command ignores noXVaultWikiLink setting

Please select the area your Bug applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[ ] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[x] Misc (Choose this if your not sure)

Describe the bug
The copy note ref command ignores the noXVaultWikiLink setting and all refs contain dendron://vault/ in a multi-vault workspace.
To Reproduce
Steps to reproduce the behavior:

Trigger the copy note ref command
Examine the generated link--it will have dendron://vault/ in it.

Expected behavior
The copy note ref command should respect the noXVaultWikiLink settings, same to the copy note link command.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS: Windows 10
Version 0.52

Additional context
I'm not sure if the copy note ref ignores this setting by design or not. If be design, then this should be a feature request.

Thanks for reporting this issue, I have a fix which should be available with the next version.

this should be fixed in v54 of Dendron. please post here if not, otherwise this issue will auto close in 3 days

Works as expected now, thank you!


Updated MetalSwap Docs

@DEFI-Foundation hey, could you please resolve the conflicts on your branch in favour of the content on main? Thank you!

Closing due to inactivity


Test inv

Not ready for merging, but setting up for feedback

@rwcarlsen let me know what you think, this is my first attempt. I can squash the commits if you think it's ready to go into the cyclus PR.

merged, rebased/squashed into 735cad4.  Thanks @opotowsky!


[Addition]: Another Self Witnessing Deeper Cluster

Hotspot b58 Addresses
11kCju2jqyho8Dsa6jnb5VQLcfQyt9p2P57n6Bcfk9viLNsohyd
11BZzoeMeTKUZLn3jYKnQdws2a3pqapphpgbUynxRhvRgP3F6Tk
11YnuuHa2Tj7X7Mcq17vP5rBVZjPKhKeYLZnibQbq2Q2Aehdca5
11aG358bXd4962hZU6uUgBVN5vpKETzaMuwJPwUgJNjQcsd7KeW
112tDeXkgMhBFhTTtErZpx8TcfXp32x1RoR1oJYv3uFxUAHQD2tW
Discord Handle
MonsterCrawler
Reason(s)
Another Self Witnessing Deeper Cluster...all with same signal strength.

Add more info like:

screenshot of the cluster (so it's clear there are more legit HS arround the cluster)
check IP addresses maybe they're all the same of from same VPN provider
This will help the reviewers and speed-up the process.

just my 2 cents.


Support for Container Based Functions

In addition to supporting functions created via the UI or uploaded via Zip Files, AWS Lambda has support for building custom functions based on Container Images.
We should

[x] Test that extension works with each base container image

Can Lambda Layers be added to container based functions?
Do container based functions automatically run extensions like the other built-in Lambda runtimes?
Base Container Images

Deploy Node.js Lambda functions with container images
Deploy Python Lambda functions with container images
Deploy Java Lambda functions with container images

[x]  If needed, develop and implement a plan for container support

[ ]  Document how to use our extension with AWS Lambda containers

More background information:
The Good News: It looks like the base container images that amazon provides for deploying lambda functions via a container understand extensions -- at least the Node.js 12 container did when I tested it.  This allowed me to create a docker container based function that reported data to an elastic cloud instance using the extension.
The Less Good News: The process of using an extension with a container based function is dramatically different than the process of using an extension with ZIP-file/GUI based functions.
First -- container based functions do no support Lambda Layers.  If you create a container based function you will not have any UI for adding a layer ARN to the function.  Instead, the person who's building the container image will need to ensure the extension files are located in the right place in their container.
Put another way -- a Lambda Layer is basically just an archive of files that Amazon copies over to your lambda function's /opt folder.  When you're deploying container image based functions, you're responsible for copying these files over to your container's /opt folder.  A docker file for doing this might look like the following
FROM public.ecr.aws/lambda/nodejs:12

# Copy function code -- your create these files
COPY app.js ${LAMBDA_TASK_ROOT}
COPY node_modules ${LAMBDA_TASK_ROOT}/node_modules/

# Copy extensions to opt -- you'll need to manually unzip
# your layer archives to the extensions folder -- in other
# words the below command should result in a container with
# the extension file at /opt/extensions/apm-lambda-extension
COPY extensions/ /opt/extensions/

# Set the CMD to your handler (could also be done as a parameter
# override outside of the Dockerfile)
CMD [ "app.handler" ]

The FROM: public.ecr.aws/lambda/nodejs:12 comes from the README of the docker hub page -- although it seems to be pulling the base image from Amazon's public ECR (Elastic Container Registry).
This is a simple version of how to do this -- Amazon has also published an article that talks about this issue generally and has a few suggestions for how to build your container with the needed extension folder. Suggestion 1 is use the AWS CLI to download the layer and manually unzip it, Suggestion 2 is to publish layers as containers on Docker HUB, and then copy files out of these containers when building your container.
One final note (for now) -- in order to deploy a container based function users need to

Create an container repository with Amazon ECR: https://us-west-2.console.aws.amazon.com/ecr/repositories?region=us-west-2

Build their container image and then tag/push it to the repository from 1

Select this container image when creating their function

Also, FWIW, I believe the reason that Amazon allows such large container images for functions is that ECR's pricing is disk and network based: https://aws.amazon.com/ecr/pricing/, where Lambda's pricing is usage based.

Next steps on this issue: Write a new document to describe how users can download our build artifacts, and then use them in a Docker container function.


Please Release codes and models

Hi, authors! I am writing to inquire about the release date of the codes and models that you mentioned would be released three weeks ago. I am eager to  reproduce your work.

Sorry, I was busy for my exam in the past weeks, I will upload the code and checkpoints now.


Try to support JNDI Datasource for sharding-jdbc-spring-boot-starter

For #2260 .
Try to support JNDI Datasource for sharding-jdbc-spring-boot-starter

Pull Request Test Coverage Report for Build 7869

9 of 11 (81.82%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 55.682%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-spring/sharding-jdbc-spring/sharding-jdbc-spring-boot-starter/src/main/java/org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.java
9
11
81.82%

Totals

Change from base Build 7868:
0.02%

Covered Lines:
8727

Relevant Lines:
15673

💛  - Coveralls


Add APIError support for go-swan client

Current coverage is 44.44% (diff: 100%)

Merging #222 into master will decrease coverage by 0.33%

@@             master       #222   diff @@
==========================================
  Files            11         11
  Lines          8989       8989
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           4025       3995    -30
- Misses         3891       3950    +59
+ Partials       1073       1044    -29

Powered by Codecov. Last update 5a9a9a4...5cb16f4


[Diagnostics] Verify that optional evaluation got type from context b…

…efore recording a fix
Instead of assuming that there is a mismatch between context and
result of the optional chain, let's actually verify that optional
evaluation expression does have a type before recording a fix.
Resolves: rdar://74696023

@swift-ci please smoke test

@swift-ci please smoke test macOS platform

@swift-ci please smoke test macOS platform

@swift-ci please smoke test Linux platform

LLDB failures :/

@swift-ci please smoke test macOS platform


feat: support Go1.21(rc3)

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@7f66420). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #493   +/-   ##
=======================================
  Coverage        ?   72.82%
=======================================
  Files           ?       58
  Lines           ?     7990
  Branches        ?        0
=======================================
  Hits            ?     5819
  Misses          ?     1850
  Partials        ?      321

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bug in the sandbox of the frontend

Once saving the file in the frontend, and the page reloaded, it shows the previous code version while the right version was stored for sure. We need to ensure that the displaying is correct.

Can confirm this is happening, and it leads to somewhat unintuitive user experience.


Spring: Place the Axon shutdown hook AFTER the WebServer ones

Enhancement Description
Right now - the shutdown hook in Axon happens before anything else in a Spring application, even before shutting down the web-server. This enables this edge case to happen (which we have observed):

Shutdown begins
Axon, as part of its shutdown hook, tears down all its event processors, including subscribing ones
An HTTP request comes in and is accepted by the web server
The request turns into some Axon event, and is expected to be routed to a specific subscribing event processor
But the event processor is gone, and thus is dropped entirely

Current Behaviour
Currently, the start/stop lifecycle behaviour of the entire Axon library is injected into Spring through a bean called SpringAxonConfiguration, which implements Springs SmartLifecycle to hook into start() and stop() methods.
This implements SmartLifecycle, but does not implement the int getPhase() method, which controls WHEN it is meant to run. The default behaviour if you don't implement getPhase() is to create it last, and destroy it first (Integer.MAX_VALUE).
The built-in spring lifecycles for web servers (WebServerGracefulShutdownLifecycle and WebServerStartStopLifecycle) both have high values for phase, but slightly lower than the default Integer.MAX_VALUE. Therefore their shutdowns now happen AFTER the Axon ones.
Wanted Behaviour
Personally I think it is a good default to consider web servers to be the last to start and first to stop, to make sure that applications start and stop gracefully. Therefore I would hope that it's possible to give the SpringAxonConfiguration class a phase value, and place it on a lower phase than the web server values.
Possible Workarounds
Since SpringAxonConfiguration is a bean declared as @ConditionalOnMissingBean, we can implement this behaviour ourselves by doing something like this:
@Configuration
public class AxonPhaseOverrideConfig {

    @Bean
    public SpringAxonConfiguration overrideSpringAxonConfiguration(Configurer configurer) {
        return new SpringAxonConfiguration(configurer) {
            @Override
            public int getPhase() {
                // start before and destroy after web servers
                return SmartLifecycle.DEFAULT_PHASE - 10_000;
            }
        };
    }
}

But it really feels like fighting the library in an unsafe way.

@smcvb Cool! I will try to have PR opened this week!

I am closing this issue, since it's been resolved in pull request #3009.
@bystam, thanks for drafting the issue and the pull request!
Contributions are always very much appreciated :-)


Display folders cumulative size instead of

Hello
we plan to use your great plugin in our RC deployment
However, we noticed that the displayed folder size is not cumulative : a folder containing 2 others folders of 5Mb each, but with 3 messages of 1Kb  in the root will be displaying a size of 3 Kb, instead of ~10 Mb, which can be misleading for users. The aim of using this plugin is that users realize how huge some of their folders can be, and we think that without cumulative size, this is partially missed.
Do you think it is possible, or if others prefer root size, have an option in config.inc.php to choose between normal and cumulative size ?
Thanks
PS : if you don't have much time I can have a look (I used to be a dev) and submit some code

Yeah. At this moment, It just shows what RC's API reports without any other calculation. It would be good to display accumulated size as well.

I guess we can calculate accumulated ones and display them in another column.

Done in https://github.com/jfcherng-roundcube/plugin-show-folder-size/commit/9962ac7d7fb084ebf361e86aae5d40a60a3944d7.

Awesome ! Thanks !


esential load  - 4 loads dont work. max 2

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
on card style = compact and lite essential load support 4 individual loads
on card style = Full essential load support just 2 individual loads
on card style = compact and lite non-essential loads are not visible
Steps To Reproduce
on card style = compact and lite essential load support 4 individual loads
on card style = Full essential load support just 2 individual loads
on card style = compact and lite non-essential loads are not visible
Expected behaviour
on card style = compact and lite essential load support 4 individual loads
on card style = Full essential load support just 2 individual loads
on card style = compact and lite non-essential loads are not visible
Card Version
4.10.2
Home Assistant Version
Core 2024.1.5 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0
Configuration
type: custom:sunsynk-power-flow-card
cardstyle: full
show_solar: true
battery:
  energy: 0
  shutdown_soc: 20
  show_daily: true
  show_remaining_energy: true
  invert_power: true
  hide_soc: false
  show_absolute: false
  auto_scale: false
  max_power: 2500
solar:
  show_daily: true
  mppts: 2
  max_power: 6000
  auto_scale: true
  dynamic_colour: true
  colour:
    - 106
    - 210
    - 137
load:
  show_daily: true
  essential_name: ESENTIAL
  additional_loads: 4
  load1_name: Living
  load2_name: Net
  load3_name: Parter
  load4_name: Etaj
  load1_icon: mdi:television
  load2_icon: mdi:ip-outline
  load3_icon: mdi:lightbulb-on-30
  load4_icon: mdi:lightbulb-on-90
  animation_speed: 2
  auto_scale: false
  dynamic_colour: true
  dynamic_icon: true
  show_aux: false
  aux_name: Rest
  show_daily_aux: false
grid:
  show_daily_buy: true
  show_daily_sell: false
  show_nonessential: true
  nonessential_name: Non esential
  nonessential_icon: mdi:account
  load1_name: '1'
entities:
  use_timer_248: switch.sunsynk_toggle_system_timer
  priority_load_243: switch.sunsynk_toggle_priority_load
  inverter_voltage_154: sensor.inv_hv2310015703_grid_ab_voltage
  load_frequency_192: sensor.inv_hv2310015703_grid_frequency
  inverter_current_164: sensor.inv_hv2310015703_phase_a_current
  inverter_power_175: sensor.inv_hv2310015703_hv2310015703_realtime_power
  grid_connected_status_194: binary_sensor.sunsynk_grid_connected_status
  inverter_status_59: sensor.sunsynk_overall_state
  day_battery_charge_70: sensor.battery_1_charging_capacity
  day_battery_discharge_71: sensor.battery_1_discharging_capacity
  battery_voltage_183: sensor.battery_1_battery_voltage
  battery_soc_184: sensor.battery_1_battery_state_of_charge_soc
  battery_power_190: sensor.battery_1_charge_discharge_power
  battery_current_191: sensor.sunsynk_battery_current
  grid_power_169: sensor.sunsynk_grid_power
  day_grid_import_76: sensor.sunsynk_day_grid_import
  day_grid_export_77: sensor.sunsynk_day_grid_export
  grid_ct_power_172: sensor.sunsynk_grid_ct_power
  day_load_energy_84: sensor.sunsynk_day_load_energy
  essential_power: none
  nonessential_power: none
  aux_power_166: sensor.sunsynk_aux_power
  day_pv_energy_108: sensor.inv_hv2310015703_yield_today
  pv1_power_186: sensor.putere_panouri_solare_pv1
  pv2_power_187: sensor.putere_panouri_solare_pv2
  pv1_voltage_109: sensor.inv_hv2310015703_pv1_input_voltage
  pv1_current_110: sensor.inv_hv2310015703_pv1_input_current
  pv2_voltage_111: sensor.inv_hv2310015703_pv2_input_voltage
  pv2_current_112: sensor.inv_hv2310015703_pv2_input_current
  battery_rated_capacity: sensor.battery_1_battery_state_of_health_soh
  battery_status: sensor.battery_1_battery_state_of_health_soh
  essential_load1: sensor.tasmota_spm_activepower_0
  essential_load2: sensor.tasmota_spm_activepower_1
  essential_load3: sensor.tasmota_spm_activepower_2
  essential_load4: sensor.tasmota_spm_activepower_3
  pv_total: sensor.putere_totala_mppt
  radiator_temp_91: sensor.inv_hv2310015703_inverter_internal_temperature
  inverter_current_L2: sensor.inv_hv2310015703_phase_b_current
  inverter_current_L3: sensor.inv_hv2310015703_phase_c_current
  inverter_voltage_L2: sensor.inv_hv2310015703_grid_bc_voltage
  inverter_voltage_L3: sensor.inv_hv2310015703_grid_ca_voltage
  total_pv_generation: sensor.putere_totala_panouri
inverter:
  three_phase: true
  auto_scale: true
  modern: false
  autarky: energy
  model: huawei
show_battery: true
large_font: true
panel_mode: true
show_grid: true

Relevant log output
No response

Hi. I'm assuming you are asking to display 4 essential loads on the full card?
The current 2 load limit is purely a design decision due to space constraints. Let me see what I can do

Yup. either 4 cards of essential on full view or non-essential visible in lite or compact

Non-essential is only available on the full card.

@cipriancu
Just wondering what you using to get Huawei data? Looking at the entity sensors you have (or don't have) might I suggest taking a look at the WLCRS integration for Huawei Solar devices.
Also have a look at this thread https://github.com/slipx06/sunsynk-power-flow-card/issues/135 where we have been working on adding support for Huawei inverters (and batteries etc) and mapping out all the entities to use and (just wait for for @slipx06 to add Doco example page for Huawei ... I can't work out how to...) so we can paste L1 / M1 inverters yaml to paste into a card and use. And also the yaml files for adding the extra sensors needed for this card (and/or if you have multiple inverters).

Roving
Thank you for reaching out and sharing information about the WLCRS integration for Huawei Solar devices. Currently, I am using the Fusion Solar integration (https://github.com/tijsverkoyen/HomeAssistant-FusionSolar).
I am indeed interested in migrating to Huawei Solar and have recently acquired a Modbus Gateway. However, this transition will require some time for setup and testing. I appreciate your suggestion and will certainly explore the WLCRS integration further.
C
On Monday, February 5, 2024 at 03:13:39 PM GMT, Roving Ronin @.***> wrote:
@cipriancu
Just wondering what you using to get Huawei data? Looking at the entity sensors you have (or don't have) might I suggest taking a look at the WLCRS integration for Huawei Solar devices.
Also have a look at this thread #135 where we have been working on adding support for Huawei inverters (and batteries etc) and mapping out all the entities to use and (just wait for for @slipx06 to add Doco example page for Huawei ... I can't work out how to...) so we can paste L1 / M1 inverters yaml to paste into a card and use. And also the yaml files for adding the extra sensors needed for this card (and/or if you have multiple inverters).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Roving
I have a SUN2000-6KTL-M1 inverter with a 5kWH LUNA ESS BatteryI have the power meter but I'm not using it yet  ( For the next 4 months I will be off the grid until the power company comes and connects me) the model is indeed DTSU-666H. To be able to work off-grid I also have a backup box which is feeding one essential phase
To measure the power consumption I use sonoff spm-main + modules relay https://sonoff.tech/product/diy-smart-switches/spm-main-spm-4relay/ with tasmota flashed on it
For the essential phase, I use 4 relays (2 for lights, one for internet and the last for other stuff) On the main load, I will have another 12 relays
Related dongle, I have a SDongleA-05 USB to ethernet and wifi
My plan to add in home assistant the inverter + the heat pump + ventilation units I bought  this Modbus gateway: https://www.cdebyte.com/products/NB144S
I turned it on when it arrived but that was it. Need some time to configure it
There is one more issue, the Raspberry Pi that hosts the homeassstant due to power fluctuation have the USB ports broken
C
On Tuesday, February 6, 2024 at 12:31:35 PM GMT, Roving Ronin<EMAIL_ADDRESS>wrote:

@cipriancu
What's your Huawei setup, number and type of inverters and battery ?
I'm guessing M1 3 phase and a 5kWH LUNA ESS Battery ?
Do you also have DTSU-666H power meter and sDongle (USB Fast Ethernet / WiFi)?
What gateway are you referring too? If it's an M1 inverter they come with a bundled sDongle that, apart from connecting it to FusionSolar portal also allow connecting it using the WLCRS integration.
BTW the FusionSolar integration is rather 'limited', only pulling data iirc very 5min and dependant upon the cloud, versus using Modbus local polling updating every 30 seconds (& giving HA services to control exports/battery charges).
If you want to send me info and also the other sensors, what they do and what you're trying to achieve, I can see about giving a hand.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Whilst I run 6 different RPi's I've found once you start getting a bunch of sensors and wanting to get into leveraging HA, your better off with something like a Lenovo M700 Tiny PC (16GB RAM and toss in a 1TB SSD), used no SSD for -USD$100-120 off eBay. Chalk and cheese difference in performance between the two.
Re that gateway appliance it looks like it only has 1 RS485 port, so you'll need to make sure the heat pump and ventilation units ( air conditioners ?) are capable of supporting RS485 cascading / daisy chaining (with COM IDs assigned to each device).
Even with the getaway your still best to use the sDongle for the Huawei, as with Modbus you can only have one master controller. If you use the sDongle it will allow putting the Huawei inverter(s), LUNA battery, DTSU-666H and optimisers (of your choice have any) all online and connecting it to FusionSolar (for Huawei reporting, firmware updates, remote support and warranty) as well as connecting to HA using WLCRS. If you try use the other gateway it will not be able to do any of that, only connect to HA via WLCRS.
Does the Sonoff support 3 phase? Trying to work it out and looks like a single point of failure, with all wiring and loads (limited to 4400W per module... issue for the heat pump / aircon?) for the house going through it versus solutions that use CT clamps to monitor each circuit (like IoTaWatt or the less capable Shelly EM3).
Given you can't fit every sensor/circuit on the Sunsynk card, it would be worthwhile starting to think what sensors/circuits you can combine into groups. ie All Lights / All GPO (PowerPoints) / All AirCons + Heat Pump etc. Using HA these can all be summed up so you can stick the AirCon / Heat Pump in Non-Essential part of the card (can get 2 entities showing there), stick the Lights and GPO in Essential section (can get up to 4 entities in there) and then use AUX devices section (if your not running a backup generator you need to monitor) to put another two entities in the card (personally my biggest essential kWh users are home network gear, switches/routers/cctv/wifi/cooling fans, and then the servers/nas so I use AUX device section to see the Active Power for these groups, then the total active power for both groups and then the daily energy (kWh) for them.
BTW can I ask your country location, 4 months seems a long time to get a grid connection?

Yup I think în the end im going to give up to raspberry pi and I'm switch to an intel NUC that I have it. The gateway have 4 rs485 or 4 rs232 depends of how you configure it and I hope that each can act as master. Related sonoff is not 3 phases is just single phase but that's OK . Only the hob and the charger for EV will use 3 phase the rest of the stuff are single phase. Each relay of sonoff module can take 20 amps so each circuit can handle 4.4kw  but as I told you I will have 16 circuits 4 on essential and 12 on non essential. Non essentials are split per 2x3 phases differential circuit breakers . So will be 2 circuits on one phase.  I'm tempted to get some sort of measuremet tool to install it at the output of differentials Or there's the option to create a numeric sensor that will be a sum of individual sonoffs
I'm in Romania.  I had some issues with paperwork and although I have the solar panels since November I managed to place the installation order for the grid last week. And when I placed the order they told me 3-4 months. And that will be just to consume power from the grid. Once I have that I have to place another request to be able to inject power into the grid.
I haven't moved yet to the new home that's why I'm not having as much time as I want to do all the configurations. Currently I'm focusing on installing lamps sockets and breakers.  C
Sent from Yahoo Mail on Android
On Tue, 6 Feb 2024 at 17:23, Roving @.***> wrote:
Whilst I run 6 different RPi's I've found once you start getting a bunch of sensors and wanting to get into leveraging HA, your better off with something like a Lenovo M700 Tiny PC (16GB RAM and toss in a 1TB SSD), used no SSD for -USD$100-120 off eBay. Chalk and cheese difference in performance between the two.
Re that gateway appliance it looks like it only has 1 RS485 port, so you'll need to make sure the heat pump and ventilation units ( air conditioners ?) are capable of supporting RS485 cascading / daisy chaining (with COM IDs assigned to each device).
Even with the getaway your still best to use the sDongle for the Huawei, as with Modbus you can only have one master controller. If you use the sDongle it will allow putting the Huawei inverter(s), LUNA battery, DTSU-666H and optimisers (of your choice have any) all online and connecting it to FusionSolar (for Huawei reporting, firmware updates, remote support and warranty) as well as connecting to HA using WLCRS. If you try use the other gateway it will not be able to do any of that, only connect to HA via WLCRS.
Does the Sonoff support 3 phase? Trying to work it out and looks like a single point of failure, with all wiring and loads (limited to 4400W per module... issue for the heat pump / aircon?) for the house going through it versus solutions that use CT clamps to monitor each circuit (like IoTaWatt or the less capable Shelly EM3).
Given you can't fit every sensor/circuit on the Sunsynk card, it would be worthwhile starting to think what sensors/circuits you can combine into groups. ie All Lights / All GPO (PowerPoints) / All AirCons + Heat Pump etc. Using HA these can all be summed up so you can stick the AirCon / Heat Pump in Non-Essential part of the card (can get 2 entities showing there), stick the Lights and GPO in Essential section (can get up to 4 entities in there) and then use AUX devices section (if your not running a backup generator you need to monitor) to put another two entities in the card (personally my biggest essential kWh users are home network gear, switches/routers/cctv/wifi/cooling fans, and then the servers/nas so I use AUX device section to see the Active Power for these groups, then the total active power for both groups and then the daily energy (kWh) for them.
BTW can I ask your country location, 4 months seems a long time to get a grid connection?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


update response structure

Proposed changes
Update the fields in PreRecordedResponse to make sure responses are unmarshalled correctly
Types of changes
What types of changes does your code introduce to the community Go SDK?
Put an x in the boxes that apply

[x ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update or tests (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

I'm noticing that "detected_language" returns an empty string even when it's not added


Fix zip files

Describe your changes
The previous .zip files had a subdirectory of the same name as the file itself. These updated files don't.
We should be creating zip files via a script — see https://github.com/penumbra-zone/web/issues/857. This will avoid issues like this in the future.
Checklist before requesting a review

[x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

No code related to consensus

Thank you @jessepinho!

Refs https://github.com/penumbra-zone/penumbra/pull/4132#issuecomment-2027543305

Tacked on a test. LGTM!


help: How do I center the header?

Neovim version (nvim -v)
0.10.0
Neovim distribution
N/A
Description
I want to center the title, like this:

There is no way to do this. You can specify a left_pad value for headings but that will apply a constant padding to all heading levels and naturally will not change when the window resizes.
I'm not really aware of a markdown renderer that supports this kind of thing and in general I don't think I want to support centering content mostly because it would need to interoperate with all the existing options. I gave implementing it a shot and it ended up messy with a lot of gaps.
If I made left_pad accept a function that takes a window_id and the current line of text would that be enough?
I imagine the implementation in your config would look something like:
require('render-markdown').setup({
  heading = {
    left_pad = function(win, line)
      local window_width = return vim.api.nvim_win_get_width(win)
      local line_width = vim.fn.strdisplaywidth(line)
      return math.floor((window_width - line_width) / 2)
    end,
  },
})

Basically any weird offsets and things specific to your config just end being something you solve rather than me needing to handle more edge cases.

I actually ended up implementing this internally here: https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/0986638b381a4b01eb108bb946f3a67a9eb3d0ec
It applies to both headings and code blocks, since they're alignment configs are the same.
By providing floating point values between 0 & 1 to left_pad, right_pad and left_margin you can get different effects.
Here are a few configs to try:
require('render-markdown').setup({
  heading = {
    left_pad = 0.5,
  },
})

require('render-markdown').setup({
  heading = {
    left_pad = 0.5,
    position = 'inline',
  },
})

require('render-markdown').setup({
  heading = {
    left_margin = 0.5,
    position = 'inline',
    width = 'block',
  },
})

require('render-markdown').setup({
  heading = {
    left_margin = 0.5,
    position = 'inline',
    width = 'block',
    left_pad = 0.2,
    right_pad = 0.2,
  },
})


Nothing happen when tapping on “Dismiss” button of “Valora allows you to buy and sell CELO” in app notification

Frequency: 100%
Re-pro App version: Android Celo internal build 1.9.1, IOS Test flight Celo integration build v1.9.1 (41)
Re-pro on device: Samsung Galaxy A5 (7.0, iPhone 6 (12.4.7),iPhone 11(14.0)
Re-pro Steps:

Launch the Application and Signup with test account
Forward by sliding to “Valora allows you to buy and sell CELO” in app notification screen
Tap on “Dismiss” button
Observe

Current Behavior: No response on tapping “Dismiss” button
Expected Behavior: “Valora allows you to buy and sell CELO” in app notification should be removed on tapping “Dismiss” button
**Impact:**User cannot remove the In-app notification
Attachment:DismissbuttonIssue.Mp4

Verified with latest IOS test flight build v1.0.0(4) and observed that issue is still Repro

Nothing happen when tapping on “Dismiss” button of “Valora allows you to buy and sell CELO” in app notification
Device Used:  iPhone 6(12.4.7)

Verified with latest ios test flight build v1.0.0 (15) and Android Valora Mainnet build v1.0.0 (14) and found that issue is still reproduced.

Nothing happen when tapping on “Dismiss” button of “Valora allows you to buy and sell CELO” in app notification

Verified on devices: iPhone 7+ (13.3.1) | Google Pixel Xl (8.1)

I have verified this issue using  using Android internal build v1.1.0<PHONE_NUMBER>)& iOS test flight build v1.1.0(21) and found issue is fixed so,closing this ticket
Device : iPhone 6+ (12.4.5), Google pixel Xl 8.1


HOG works on single channel images, but not multi-channel images

Hi,
I have been playing with extracting HOG features with your Cython wrapper of VLFEAT. I've noticed that the HOG wrapper works only when the data is a single-channel image (e.g. grayscale). Thus, it passes the tests (the test image is a single-channel image). For some odd reason, it does not work on RGB or other multi-channel images.
What I mean when it "works", is that I'm comparing it numerically to running the same function in VLFEAT (0.9.20) in Matlab.
Can someone help me out here? I'm not sure how to fix this so it works on RGB images.

I run into the same problem.

@stbook follow the pull request from https://github.com/menpo/cyvlfeat/pull/31/commits. The most recent commit (Sep 4, 2016) has code that fixes the issue.

Thanks. It works.

Merged


♻ Change implementation of versioning

Closes #6

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d131857). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage        ?   83.03%
=======================================
  Files           ?        7
  Lines           ?      112
  Branches        ?        8
=======================================
  Hits            ?       93
  Misses          ?       16
  Partials        ?        3

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Sampling area map not rendering

Unlike the logos, the map PNG is being called from the server.R