Program does not exit quietly sometimes

This usually happens during an cmd function:
Task was destroyed but it is pending!
task: <Task pending name='Task-2' coro=<Function.run.<locals>.run_command() running at function.py:47> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA147FB9A0>()]> cb=[<TaskWakeupMethWrapper object at 0x000001BA1479CE50>()]>
Task was destroyed but it is pending!
task: <Task pending name='Task-403' coro=<Function.run.<locals>.run_command() running at function.py:47> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA149418B0>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-426' coro=<Function.run.<locals>.run_command() running at function.py:47> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA1495DDF0>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-419' coro=<Function.run.<locals>.run_command() running at function.py:47> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA148E6160>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-411' coro=<Function.run.<locals>.run_command() running at function.py:47> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA148E6460>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-1066' coro=<Function.run.<locals>.run_command() done, defined at function.py:45> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA1492D8E0>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-1071' coro=<Function.run.<locals>.run_command() done, defined at function.py:45> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA148D4F10>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-1075' coro=<Function.run.<locals>.run_command() done, defined at function.py:45> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA1492B6D0>()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-1079' coro=<Function.run.<locals>.run_command() done, defined at function.py:45> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA148EBBE0>()]>>
Task exception was never retrieved
future: <Task finished name='Task-1085' coro=<Function.run.<locals>.run_command() done, defined at function.py:45> exception=KeyboardInterrupt()>
Traceback (most recent call last):
  File "n.py", line 212, in <module>
  File "n.py", line 136, in run_file
  File "asyncio\base_events.py", line 629, in run_until_complete
  File "asyncio\windows_events.py", line 316, in run_forever
  File "asyncio\base_events.py", line 596, in run_forever
  File "asyncio\base_events.py", line 1890, in _run_once
  File "asyncio\events.py", line 80, in _run
  File "function.py", line 47, in run_command
  File "scope.py", line 1289, in eval_command
  File "scope.py", line 1326, in eval_command
  File "scope.py", line 1289, in eval_command
  File "scope.py", line 1370, in eval_command
  File "scope.py", line 985, in eval_expr
  File "scope.py", line 985, in eval_expr
  File "scope.py", line 986, in eval_expr
  File "scope.py", line 1021, in eval_expr
  File "scope.py", line 1135, in eval_expr
  File "scope.py", line 956, in eval_expr
  File "codecs.py", line 309, in __init__
KeyboardInterrupt
Task was destroyed but it is pending!
task: <Task pending name='Task-862' coro=<Function.run.<locals>.run_command() running at function.py:47> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001BA148B9FA0>()]>>

From what I can tell this is an issue with the library we are using, I am marking this as closed for now until a fix with it comes out.


Fix callAfterResolving

See https://github.com/owenvoke/blade-fontawesome/issues/6

Nice one, cheers @driesvints - I'll release tomorrow morning.

Tell a lie, didn't realise you could tag on mobile.


Key repeat delay while ryo-modal-mode is active

I’ve noticed that key repeat is either nonfunctional or extremely delayed while the mode is active. To reproduce, enable the mode, then hold down any key without a ryo binding (say, an arrow). In my experience, either the key won’t repeat at all, or it will repeat with a significant delay between each repetition. Disabling the mode makes the problem disappear. I’ll dig through the source tomorrow to see if I can figure out where it happens, unless you beat me to it.

It works fine in my Emacs. I haven't tried it with a fresh emacs -q though, have you?

Looks like you're right. I disabled all minor modes, then turned ryo back on and key repeat seems fine. Guess I'll have to look around elsewhere. Appreciate the sanity check!


deeper deep links don't work

When the link is clicked the app briefly opens then closes.
ntfy://my.domain.com/topic Works.
ntfy://my.domain.com/api/topic Doesn't work.
ntfy:my.domain.com/api/ntfy/mytopic Doesn't work.

Where'd you get the idea that the other two links should work. The docs only describe the first link as valid: https://ntfy.sh/docs/subscribe/phone/#ntfy-links

Sorry, I forgot the // part in the third link.
Why shouldn't it work? Putting https://my.domain.com/api/ntfy/mytopic in manually works.

I saw your PR, but I am sorry to say, I have no interest in making these links extend to support relative paths like that, at least not until I have official support for relative paths in ntfy (which I am also not really sure I want).
Right now I am focusing my energy on iOS and I won't merge this any time soon.


amd64 compiler optimizations: Improves speed by 30%.

Pairs of instructions that can be re-written into a single amd64 instruction (ie: basic operations that accept an immediate value as an operand) are rewritten into that form. For example, a i64.Const + i64.Add produce a single instruction ADDQ <register>, <immediate value>.

Opportunistically keep track of the size of the stack in a register rather than always reading from memory (The value is flushed if necessary in the postamble).

Opportunistically cache a pointer to the stack and/or local backing array in a register rather than always reading for memory. As this value is immutable we don't need to flush it back in the postamble.

Codecov Report

Merging #120 into master will increase coverage by 0.06%.
The diff coverage is 76.74%.

@@            Coverage Diff             @@
##           master     #120      +/-   ##
==========================================
+ Coverage   65.98%   66.05%   +0.06%
==========================================
  Files          41       41
  Lines        4066     4127      +61
==========================================
+ Hits         2683     2726      +43
- Misses       1116     1131      +15
- Partials      267      270       +3

Impacted Files
Coverage Δ

exec/internal/compile/backend_amd64.go
78.21% <76.74%> (-1.26%)
:arrow_down:

Continue to review full report at Codecov.

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

ah, also: could you put the before/after speed improvements in one of the commit messages?
(probably using the benchmarks and golang.org/x/perf/cmd/benchstat)

I've put the benchmark in the commit message, but I will note benchmarks will vary alot depending on the cache size and generation of processor (especially here, where we are emitting raw assembly).
For instance, the interpreted benchmark is roughly the same between my laptop (8th gen, 8mb cache) and desktop (3rd gen, 6mb cache), but the native execution benchmarks are all ~15% faster. This is largely attributable to a better uop cache, instruction fusion, larger instruction-fetch blocks, larger reorder buffer etc. These difference will get larger the further we move from reading/writing to memory (as is with the current approach, where intermediate values are written into the stack slice) to storing intermediates in registers.


Remove celery task letters_pdf_tasks

User Story - Business Need
In #1178, we removed the routes associated to the routes:

/v2/notifications/<notification_id>/pdf
/v2/notifications/letter

In this ticket, we will be removing the celery task letters_pdf_tasks located at app/celery/letters_pdf_tasks.py. Please keep in mind that this ticket will produce about 8-10 files that will need to be updated.
Impacted scripts

app/commands.py

app/celery/tasks.py

app/notifications/process_notifications.py

tests/app/v2/notifications/test_letters_pdf_tasks.py <- will need to be removed

tests/app/celery/test_tasks.py

tests/app/notifications/test_process_notifications.py

tests/app/v2/notifications/test_post_letter_notifications.py

app/v2/notifications/post_notifications.py.

[x] Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)
As a   engineer
I want to clean up and reduce our codebase.
So that it is easier to maintain and upgrade in the future.
Additional Info and Resources

You can use this #1178 PR as an example of what can be used to clean up data.
Engineering Checklist

[x] Removed celery task letters_pdf_tasks.py
[x] Remove test case test_letters_pdf_tasks.py
[x] Remove impacted dependencies that used these 2 scripts

Acceptance Criteria

[x] All methods called by these removed unless used elsewhere, other than the DAO methods (removed in their own ticket)
[x] Code deploy to dev without issues
[x] QA Regression Test Pass

QA Considerations

[x] The QA Regression Suite passes

Potential Dependencies

utils 141

Out of Scope
Do NOT delete any related dao objects related dao  because #1474 will do that.
Any code that is not required to be modified as a direct result of the removing the celery task and its test case.

I have removed the two dependencies, however there are some questions regarding other letter-related code. (See PR)


Fix duplicate polygons

The multipolygon encoding was buggy, resulting in N number of duplicate rings. Instead of clipping into a new vector result we continually added to the same one (without clearing it). This resulted in odd rendering downstream in Mapbox GL for layers with opacity.
This PR fixes the problem by creating a new vector each time. An alternative fix would be to re-use the memory and clear the vector each time.
Curiously, I also tested the https://github.com/mapbox/vtcomposite/compare/wagyu branch. It does not have the same duplicate polygons. This may be because they are fixed up on the fly by wagyu. But we really need to avoid them from the beginning.
Before this fix:

Expected:

Hmm, with this change I'm hitting:
ok 749 should be equal
ok 750 null
ok 751 null
/home/travis/build/mapbox/mapbox-maps/node_modules/tape/index.js:75
        throw err
        ^
Error: Vector Tile has POLYGON type geometry with a MOVETO command with out at least two LINETOs and CLOSE following.
    at Error (native)
    at /home/travis/build/mapbox/mapbox-maps/test/tilelive-multivector.compositing.test.js:61:35
    at Gunzip.onEnd (zlib.js:227:5)
    at emitNone (events.js:91:20)
    at Gunzip.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:978:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)

Downstream in mapbox-maps.

Error: Vector Tile has POLYGON type geometry with a MOVETO command with out at least two LINETOs and CLOSE following.

@artemp any idea what might be going wrong?

Closing. This should now be resolved in master: https://github.com/mapbox/vtcomposite/commit/71b1444be180b4d05e5e24bdb57d088be8f0a96e. If we run into any more issues like this we'll create new issues based on replicating things against latest master.


Send virtual pageview through the GOV.UK Analytics API

This change wraps the GA event in the newly introduced
analytics API. This will aid in the migration from GA Classic to
Universal Analytics, while remaining functionally equivalent
during the migration.
https://www.pivotaltracker.com/n/projects/1261204/stories/87738926

The other calls in Smart Answers use GOVUK && GOVUK.analytics etc. protection, should this do the same?

@fofr updated the code to be consistent with the other calls in Smart Answers


Resource utilization check

Environment

OS: Ubuntu 20.04.5 LTS

Vitis version: 2021.1

Platform: [xilinx_u280_xdma_201920_3]

TAPA version: 0.0.20220807.1

I am trying to see the total utilization of the resources(number of FFs,BRAMs etc.) with hw_emu target with vitis analyzer. But as you can see in the picture I cant see any data. Here what I use in my cmake file to build the system:
cmake_minimum_required(VERSION 3.16.3)

set(CMAKE_CXX_STANDARD 17)
project(vadd)

set(PLATFORM
    xilinx_u280_xdma_201920_3
    CACHE STRING "Target FPGA platform")

set(TOP vadd)

set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wno-write-strings")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

find_package(gflags REQUIRED)

find_package(Vitis)

include(${CMAKE_CURRENT_SOURCE_DIR}/tapa/cmake/apps.cmake)

include(${CMAKE_CURRENT_SOURCE_DIR}/tapa/cmake/TAPACCConfig.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/tapa/cmake/FindSphinx.cmake)

find_package(TAPA REQUIRED)
find_package(SDx REQUIRED)
add_executable(vadd)

target_sources(vadd PRIVATE host.cpp vadd.cpp)

target_link_libraries(vadd PRIVATE ${TAPA} gflags)
target_link_libraries(vadd PRIVATE tapa::tapa)

target_include_directories(vadd PUBLIC ${Vitis_INCLUDE_DIRS})
include(cmake/CMakeXilinx.cmake)

if(NOT PROJECT_NAME)
  project(tapa-apps-vadd)
endif()

add_test(NAME vadd COMMAND vadd)

if(SDx_FOUND)
  add_tapa_target(
    vadd-hw-xo
    ${TAPA_ARGS}
    INPUT ${CMAKE_CURRENT_SOURCE_DIR}/vadd.cpp
    TOP VecAdd
    CONNECTIVITY ${CMAKE_CURRENT_SOURCE_DIR}/connectivity.ini
    CONSTRAINT ${CMAKE_CURRENT_BINARY_DIR}/constraint.tcl
    PLATFORM ${PLATFORM}
  )

  add_xocc_hw_link_targets(
    ${CMAKE_CURRENT_BINARY_DIR}
    --config=${CMAKE_CURRENT_SOURCE_DIR}/connectivity.ini
    --vivado.synth.jobs 8
    --vivado.prop=run.impl_1.STEPS.OPT_DESIGN.TCL.PRE=${CMAKE_CURRENT_BINARY_DIR}/constraint.tcl
    INPUT vadd-hw-xo
    HW_EMU_XCLBIN hw_emu_xclbin
    HW_XCLBIN hw_xclbin
  )

  add_custom_target(
    vadd-cosim
    COMMAND $<TARGET_FILE:vadd>
            --bitstream=$<TARGET_PROPERTY:${hw_emu_xclbin},FILE_NAME>
    DEPENDS vadd ${hw_emu_xclbin}
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

  add_custom_target(
    vadd-hw
    COMMAND $<TARGET_FILE:vadd>
            --bitstream=$<TARGET_PROPERTY:${hw_xclbin},FILE_NAME>
    DEPENDS vadd ${hw_xclbin}
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

  add_test(NAME vadd-hw COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}
                                    --target vadd-hw)
endif()

Are there any way to do it like we do it with vitis hls?
Thanks in advance

Sadly, there is no GUI for resource utilization yet. I couldn't find a proper interface to attach the resource utilization information to RTL kernels in Vitis/Vivado either.
If you just want to have some ideas about the resource utilization of your design, there is a text report, available under TAPA's work directory, named report.yaml. It is not as fancy as the Vitis analyzer GUI, but should be sufficiently readable for debugging purposes.


HDDS-1180. TestRandomKeyGenerator fails with NPE

See: https://issues.apache.org/jira/browse/HDDS-1180

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
28
Docker mode activated.

_ Prechecks _

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
1006
trunk passed

-1
compile
55
tools in trunk failed.

+1
checkstyle
15
trunk passed

-1
mvnsite
23
tools in trunk failed.

+1
shadedclient
648
branch has no errors when building and testing our client artifacts.

-1
findbugs
22
tools in trunk failed.

+1
javadoc
21
trunk passed

_ Patch Compile Tests _

-1
mvninstall
21
tools in the patch failed.

-1
compile
19
tools in the patch failed.

-1
javac
19
tools in the patch failed.

+1
checkstyle
11
the patch passed

-1
mvnsite
19
tools in the patch failed.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
704
patch has no errors when building and testing our client artifacts.

-1
findbugs
23
tools in the patch failed.

+1
javadoc
19
the patch passed

_ Other Tests _

-1
unit
24
tools in the patch failed.

+1
asflicense
29
The patch does not generate ASF License warnings.

2779

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/519

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  findbugs  checkstyle

uname
Linux 0009452f6cdc 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 59ba355

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/branch-compile-hadoop-ozone_tools.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/branch-mvnsite-hadoop-ozone_tools.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/branch-findbugs-hadoop-ozone_tools.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/patch-mvninstall-hadoop-ozone_tools.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/patch-compile-hadoop-ozone_tools.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/patch-compile-hadoop-ozone_tools.txt

mvnsite
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/patch-mvnsite-hadoop-ozone_tools.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/patch-findbugs-hadoop-ozone_tools.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/artifact/out/patch-unit-hadoop-ozone_tools.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/testReport/

Max. process+thread count
411 (vs. ulimit of 5500)

modules
C: hadoop-ozone/tools U: hadoop-ozone/tools

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-519/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

See the ci/ozone/unit: Only one unit tests are failed: TestRandomKeyGenerator.ratisTest3 which is not a NPE any more.

+1 LGTM.

This has been already fixed and committed by HDDS-1174.


Build fails on vercel however succeds on local

Running yarn build locally works fine, however on vercel the build fails with error

I feel this might be similar to the issue mentioned here #41 as it seems the build fails when type checking is done on vercel during compilation step.

same problem

same problem here too

I'll try to look into this soon. Just to confirm:

This doesn't happen locally even when having deleted .next and node_modules/.contentlayer before?
This happens consistently on every (re)build on Vercel?

yes, after deleted node_modules/.contentlayer, i have the same problem. It's strange, because i found a folder .contentlayer to the root on my project with an index export {} inside. I deleted this folder and now it's work localy. I push for deploy and bim, same error. 🧐

As a temporary workaround you can call yarn contentlayer build before next build in your CI step

i tried before your message, same error. The documents are generated before build, it's not the problem apparently

@ipatate @lucas-homer can you please provide your Yarn/NPM and Node version?

I've released a new dev version (hopefully) containing a fix. Please get it a try so I cut a stable release for everyone. 🤞
yarn add contentlayer@dev next-contentlayer@dev

ok for me with dev version. Work on vercel now

Should be fixed now: https://github.com/contentlayerdev/contentlayer/releases/tag/v0.0.32

Yep, same here, its complaining about not existing property, but it is actually there and the local build passes...


Revert "Add GDAL 2.2.0 to Travis build matrix"

Reverts Toblerity/Fiona#445

Coverage remained the same at 75.832% when pulling fb26c2a0d2921e6317863b3c0bde1bd355f3d18a on revert-445-gdal-2.2.0 into 38f8104b1779e2deb087c1336c286d7b358cc07e on master.

@snorfalorpagus after merging this and then commenting on #461, I realized that we can't do this: the Cython directive is inconsistent with our approach to making C-only source distibutions.
Instead of making you redo this, how about I adapt what you've done in a new branch and then submit a PR for maint-1.7? I'd like to be able to support 2.2.0 there and null fields as well. I think the thing to do is to use GDAL's IsFieldNull when possible (2.2) and otherwise replace it with a Cython function.

@sgillies I now understand the approach you've taken in rasterio using the shim files. That seems the way forward to preserve the C-only source distributions. I don't mind making the changes but probably don't have time until the weekend.


Adding calculator for Hemisphere,Hollow sphere and hollow cylinder in 3d shape calculators

I would like to add three calculators:

hemisphere
hollow sphere
hollow cylinder

@sairish2001 I would like to work on this.Please assign it to me.

Go ahead!
Deadline 30 March,2021 (11:59 PM IST)


feat(metadata service): Added AWS SSM lib  (#7285)

Added Spring Cloud AWS Parameter Store library dependency. Closes #7285.
Checklist

[X] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[X] Links to related issues (if applicable)
[X] Tests for the changes have been added/updated (if applicable)
[X] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.

Just adding the dependency is not going in that list doesn't actually use it. Which components are expected to require this jar, it should be added as a dependency in those gradle files. Second, it should use the the common spring version, please take a look at the other dependencies using the $spring*Version and should follow a similar pattern to ensure all Spring components are updated in lock step. Thanks!

Closing the PR due to lack of response, feel free to reopen if needed. Thanks!


SQL is incorrect

[Enter feedback here]
SQLs mentioned for the ones starting with 'Table Space' (Ex: Table space summary) due to below reasons:
1.Source View doesn't have columns that end with '_GB'
2.Though these columns are suffixed with 'GB' data actually shown is not in GBs

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

ID: 473726a0-19e3-a144-56ca-a66058f9ff67
Version Independent ID: 820466f5-2ec1-a3f8-51ae-8ab02fed9395
Content: Designing tables - Azure Synapse Analytics
Content Source: articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-overview.md
Service: synapse-analytics
Sub-service: sql-dw
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@lalkirankumar  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi @lalkirankumar! Thanks for taking the time to provide this feedback.

The provided view vTableSizes does have columns that end in _KB, _MB, _GB, and _TB. Can you be more specific?
Can you be more specific as to why you think the data is not displaying accurately in GBs?

Closing this issue for now. We can discuss more if desired.
#please-close


tgt_type parameter is missing when pipeline mode is using

Hello.
Jenkins: 2.138.3
Salt-plugin: 3.2.0
When I'm configuring salt-API call in a pipeline with any target type istead of 'glob', 'tgt_type' parameter is missing in request. And salt master tries to find target as 'glob' ans returns 'no minions matched'
For example:
pipeline fragment:
saltresult = salt authtype: 'ldap', clientInterface: local(blockbuild: true,
                function: 'test.ping', jobPollTime: 16, target: 'I@group:cpc', targetType: 'compound'),
                credentialsId:  salt_cred_id, servername: salt_url
            //def prettyJson = JsonOutput.prettyPrint(saltresult)
            println(saltresult)

Captured json from request:
{"client":"local_async","tgt":"I@group:cpc","fun":"test.ping"}

But 'tgt_type'  exixts in request json in freestyle project mode with all same parameters.

I'm sorry, problen was with symbol's register.
All working with  'targettype' instead of  'targetType'.

Excellent! Sorry for the delay, I was away on a work trip. Glad it got worked out!


Image.blend_rect extracts an incorrect source texture when dst has negative values

Godot version
3.3.2 stable
System information
Windows 10, GLES3
Issue description
The Image.blend_rect ( Image src, Rect2 src_rect, Vector2 dst ) method behaves incorrectly if the dst has negative values.
If the dst would cause the copied data to extend off the right or bottom of the destination image, the source data is clipped appropriately.
If the dst is negative, one would expect that the source data would be clipped as well. Rather, the source data is clamped against the left or top edge of the src image, potentially pulling a completely unexpected texture rect.
I wrote a workaround in GDScript, but this could definitely be better fixed in the C++.
This was raised before in a closed issue: https://github.com/godotengine/godot/issues/19578
Thanks!
Steps to reproduce
I wrote a small script that pulls sections from a source texture covered in numbers and displays them.
The attached project shows examples of how the data is mutated by pulling sections from this labeled texture. Note that the texture of the number 8 within it is replaced by other numbers from the source texture when the dst is negative.
Just run the attached project to see how the texture clamping works. Adjust the export vars to manually experiment with different outputs if desired.
Minimal reproduction project
blend_rect.zip

void Image::blend_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest) {
	ERR_FAIL_COND_MSG(p_src.is_null(), "It's not a reference to a valid Image object.");
	int dsize = data.size();
	int srcdsize = p_src->data.size();
	ERR_FAIL_COND(dsize == 0);
	ERR_FAIL_COND(srcdsize == 0);
	ERR_FAIL_COND(format != p_src->format);

	Rect2i clipped_src_rect = Rect2i(0, 0, p_src->width, p_src->height).intersection(p_src_rect);

	if (p_dest.x < 0) {
		clipped_src_rect.position.x = ABS(p_dest.x);
	}
	if (p_dest.y < 0) {
		clipped_src_rect.position.y = ABS(p_dest.y);
	}

I'm not set up to build from source and am not very fluent in C++ -- but I believe the bottom section of the code here should be:
if (p_dest.x < 0) {
		clipped_src_rect.position.x = ABS(p_dest.x) + p_src_rect.position.x;
	}
	if (p_dest.y < 0) {
		clipped_src_rect.position.y = ABS(p_dest.y) + p_src_rect.position.y;
	}

Without, the src_rect is clamped to the left or upper side of the texture, even if pulling from the middle.

well, this still exists in 3.4.4, any workaround?


Minimum Spanning tree Prim C

https://www.geeksforgeeks.org/prims-minimum-spanning-tree-mst-greedy-algo-5/

I'd like to contribute to this


[windows] desktop application freezes after extended period of computer sleep

Only effected platform is Windows
Issue
I install the flutter windows app exe onto a fresh windows computer. The app works fine as long as the computer is running. The computer goes to sleep after closing and when I open it up a few hours later, the window no longer responds to presses. After like 2 minutes of clicking on it, windows marks the window as (Not Responding). The memory usage of the window goes down to 2mb (instead of the initial 60-90mb).
I have added Sentry to the project to catch all errors -- and no errors are logged to sentry at the time of the crash.
I have the same windows app installed on a desktop and when the desktop is put to sleep and awoken, there is no issue with the app not responding. The desktop is connected using ethernet.
Steps to Reproduce

I created a flutter windows project that has a few unique things:

Uses bitsdojo_window for the windows window.
The app has a perpetual Websocket connection to a server to receive alerts using web_socket_channel. when the websocket disconnects, it attempts to reconnect every 15 seconds. This logic works properly when the computer's wifi is turned on and off.
The desktop app is also connected to a background application (scala) using a dart:io websocket connection. This logic follows a 10 second reconnect if not connected to socket.
I added a runZonedGuarded() around the runApp to catch all errors and prevent them from propagating up. Also added a  FlutterError.onError after WidgetsFlutterBinding.ensureInitialized(); to catch all uncaught errors as well.

I build the app for production windows and packaged it into an MSI installer using Wix
Install and open application -- close the laptop and leave overnight (from testing seems like it needs 10 or so hours).

Expected results:

The flutter windows application recovering from an extended period of suspension.
Either it recovered correctly OR the window closes on error and does not become unresponsive & hard to kill (if it could be closed easier that would be better)

Actual results:

After an extended period of time (overnight) the app window becomes unresponsive and does not quit -- I have to go into activity monitor to quit it.

Ask
Any ideas on how to debug this issue, or experience dealing with similar issues would be greatly appreciated. The window suspending and not being able to close is an awful user experience since a naïve user can't do anything about it (ex: force quit the app).
Logs
Below are the file logs of the app becoming unresponsive on two computers:
app becoming unresponsive on a laptop

Flutter App Logs using `logger`

[2021-08-21 15:17:09.249576] [DEBUG ] ARGUMENTS [--port=8000]
[2021-08-21 15:17:09.251571] [DEBUG ] INITIALIZING APP STATE
[2021-08-21 15:17:09.251571] [DEBUG ] GETTING TOKEN FROM SECURE STORE
[2021-08-21 15:17:09.253565] [DEBUG ] HAS TOKEN? true
[2021-08-21 15:17:09.254564] [DEBUG ] GOT TOKEN FROM SECURE STORE
[2021-08-21 15:17:09.255559] [DEBUG ] Returning refresh token from dart client [REDACTED]
[2021-08-21 15:17:09.265533] [DEBUG ] [PORT] USING PASSED PORT: 8000
[2021-08-21 15:17:09.265533] [DEBUG ] [BACKGROUND-SOCKET] CONNECTING ws://localhost:8000/prepared
[2021-08-21 15:17:09.993587] [DEBUG ] [BACKGROUND-SOCKET] CONNECTED TO BACKGROUND SERVICE
[2021-08-21 15:17:10.263965] [VERBOS] [SECURE_STORE] SAVED [REFRESH, ACCESS] [REDACTED]
[2021-08-21 15:17:10.297841] [INFO  ] [GQL-OUTGOING] FetchAppData w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:17:10.328690] [VERBOS] [INITIAL_SCREEN] Setting user interface
[2021-08-21 15:17:10.338741] [DEBUG ] [BACKGROUND-SOCKET] SENT PAYLOAD! {type: token, value: [REDACTED], email: [REDACTED], name: [REDACTED], deviceId: [REDACTED], deviceType: desktop, environment: production}
[2021-08-21 15:17:10.489261] [DEBUG ] [API-SOCKET] connected
[2021-08-21 15:17:10.571042] [DEBUG ] [API-SOCKET] connected to Alert channel
[2021-08-21 15:17:38.611374] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:18:08.625201] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:18:11.624642] [INFO  ] LOCAL: false
[2021-08-21 15:18:38.641225] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:19:08.648202] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:19:38.655055] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:20:08.663898] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:20:38.678118] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:21:08.688904] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:21:38.688898] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:22:08.701040] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:22:38.703489] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:23:08.712246] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:23:38.725442] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:24:08.727909] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:24:38.747267] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:25:08.760976] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:25:38.766741] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:26:08.778345] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:26:38.778786] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:27:08.791363] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:27:38.802181] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:28:08.805848] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[NO LOGS AFTER THIS TIME -- Assuming this is when the flutter app become unresponsive]

Background App (Scala) Logs for pinging flutter app to see if it's responsive

2021.08.21 15:17:08:394 [main      ] [INFO ]  [API-SOCKET].connect:49 - Connecting to ActionCable
2021.08.21 15:17:08:522 [scala-e...] [INFO ]  [API-SOCKET].verifyConnection:68 - Connecting to wss://api.preparedapp.com/cable?token=[REDACTED]...
2021.08.21 15:17:08:594 [scala-e...] [INFO ]  [API-SOCKET].verifyConnection:87 - Connection to ActionCable successfully established
2021.08.21 15:17:09:738 [scala-e...] [INFO ]  [BACKGROUND-SOCKET].Server.start:66 - Server started on HTTP localhost:8000
2021.08.21 15:17:09:891 [scala-e...] [INFO ]  [BACKGROUND-SOCKET].webSocketConnected:218 - WebSocket connection established!
2021.08.21 15:17:10:109 [EventLoop ] [INFO ]  [API-SOCKET].connected:93 - Connected
2021.08.21 15:17:10:130 [scala-e...] [INFO ]  [BACKGROUND-SOCKET].webSocketConnected:229 - WebSocket connection open!
2021.08.21 15:17:38:618 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:18:08:625 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:18:38:642 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:19:08:649 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:19:38:656 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:20:08:663 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:20:38:679 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:21:08:689 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:21:38:688 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:22:08:702 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:22:38:704 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:23:08:712 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:23:38:726 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:24:08:728 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:24:38:747 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:25:08:762 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:25:38:766 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:26:08:779 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:26:38:781 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:27:08:792 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:27:38:803 [XNIO-1 ...] [INFO ]  [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:28:38:806 [scala-e...] [WARN ]  [BACKGROUND-SOCKET].delayedPing:100 - No response for 60.002 seconds. Closing connection...
2021.08.21 15:28:38:815 [scala-e...] [INFO ]  [BACKGROUND-SOCKET].disconnect:175 - Disconnecting WebSocket connection
2021.08.21 15:28:38:825 [scala-e...] [INFO ]  [BACKGROUND-SOCKET].webSocketConnected:235 - WebSocket connection closed!
2021.08.21 15:30:38:852 [XNIO-1 ...] [WARN ]  [BACKGROUND-SOCKET].webSocketConnected:223 - WebSocket error, closing connection!
2021.08.21 23:38:47:013 [EventLoop ] [ERROR]  [API-SOCKET].failed:115 - Failed!
com.hosopy.actioncable.ActionCableException: java.net.SocketTimeoutException: Read timed out
	at com.hosopy.actioncable.Consumer$1.onFailure(Consumer.java:44)
	at com.hosopy.actioncable.Connection$4$2.run(Connection.java:268)
	at com.hosopy.concurrent.EventLoop$2.run(EventLoop.java:69)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(null)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(null)
	at java.lang.Thread.run(null)
2021.08.21 23:38:47:057 [EventLoop ] [INFO ]  [API-SOCKET].connect:49 - Connecting to ActionCable
2021.08.21 23:39:08:013 [scala-e...] [INFO ]  [API-SOCKET].verifyConnection:68 - Connecting to wss://api.preparedapp.com/cable?token=[REDACTED]...
2021.08.21 23:39:08:013 [scala-e...] [INFO ]  [API-SOCKET].verifyConnection:87 - Connection to ActionCable successfully established
2021.08.21 23:39:08:364 [EventLoop ] [INFO ]  [API-SOCKET].connected:93 - Connected

App becoming unresponsive on a desktop

Flutter App Logs using `logger`

[2021-08-21 15:09:06.792631] [DEBUG ] ARGUMENTS [--port=8000]
[2021-08-21 15:09:06.793633] [DEBUG ] INITIALIZING APP STATE
[2021-08-21 15:09:06.793633] [DEBUG ] GETTING TOKEN FROM SECURE STORE
[2021-08-21 15:09:06.794631] [DEBUG ] HAS TOKEN? true
[2021-08-21 15:09:06.795632] [DEBUG ] GOT TOKEN FROM SECURE STORE
[2021-08-21 15:09:06.795632] [DEBUG ] Returning refresh token from dart client [REDACTED]
[2021-08-21 15:09:06.795632] [DEBUG ] GEOLOCATION API IS NOT ENABLED FOR PLATFORM
[2021-08-21 15:09:06.803630] [DEBUG ] [PORT] USING PASSED PORT: 8000
[2021-08-21 15:09:06.803630] [DEBUG ] [BACKGROUND-SOCKET] CONNECTING ws://localhost:8000/prepared
[2021-08-21 15:09:07.468962] [DEBUG ] [BACKGROUND-SOCKET] CONNECTED TO BACKGROUND SERVICE
[2021-08-21 15:09:07.774625] [VERBOS] [SECURE_STORE] SAVED [REFRESH, ACCESS] [REDACTED]
[2021-08-21 15:09:07.789619] [DEBUG ] NAME Neal-Windows-10-DESKTOP env neals
[2021-08-21 15:09:07.789619] [INFO  ] [GQL-OUTGOING] FetchAppData w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:09:07.790619] [VERBOS] [INITIAL_SCREEN] Setting user interface
[2021-08-21 15:09:07.790619] [INFO  ] [GQL-OUTGOING] UserDeviceInfo w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:09:07.794619] [DEBUG ] [BACKGROUND-SOCKET] SENT PAYLOAD! {type: token, value: [REDACTED], email: [REDACTED], name: [REDACTED], deviceId: [REDACTED], deviceType: desktop, environment: production}
[2021-08-21 15:09:07.931870] [DEBUG ] [API-SOCKET] connected
[2021-08-21 15:09:08.047457] [DEBUG ] [API-SOCKET] connected to Alert channel
[2021-08-21 15:09:10.261353] [INFO  ] [GQL-OUTGOING] FetchSchoolSafetyStats w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:09:11.546225] [INFO  ] [GQL-OUTGOING] FetchHeadcounts w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:09:11.547224] [INFO  ] [GQL-OUTGOING] FetchHeadcountNotSubmitted w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:09:36.511937] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:10:06.516896] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:10:09.108318] [INFO  ] [GQL-OUTGOING] FetchSchoolSafetyStats w/ NO LOCATION w/ [REDACTED]
[2021-08-21 15:10:36.528941] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:11:06.532243] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:11:36.533457] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:12:06.533505] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:12:36.533544] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:13:06.548474] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:13:36.561068] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:14:06.570735] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:14:36.583334] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:15:06.583580] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:15:36.591908] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:16:06.595700] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:16:36.597214] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:17:06.598997] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:17:36.613866] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:18:06.627925] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:18:36.629938] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:19:06.636982] [VERBOS] [BACKGROUND-SOCKET] sent back pong
[2021-08-21 15:19:36.638024] [VERBOS] [BACKGROUND-SOCKET] sent back pong

[NO LOGS AFTER THIS TIME -- Assuming this is when the flutter app become unresponsive]

Background App (Scala) Logs for pinging flutter app to see if it's responsive

2021.08.21 15:09:06:336 [main      ] [INFO ] [API-SOCKET].connect:49 - Connecting to ActionCable
2021.08.21 15:09:06:423 [scala-e...] [INFO ] [API-SOCKET].verifyConnection:68 - Connecting to wss://api.preparedapp.com/cable?token=[REDACTED]...
2021.08.21 15:09:06:463 [scala-e...] [INFO ] [API-SOCKET].verifyConnection:87 - Connection to ActionCable successfully established
2021.08.21 15:09:06:855 [scala-e...] [INFO ] [BACKGROUND-SOCKET].start:66 - Server started on HTTP localhost:8000
2021.08.21 15:09:07:118 [EventLoop ] [INFO ] [API-SOCKET].connected:93 - Connected
2021.08.21 15:09:07:423 [scala-e...] [INFO ] [BACKGROUND-SOCKET].webSocketConnected:218 - WebSocket connection established!
2021.08.21 15:09:07:486 [scala-e...] [INFO ] [BACKGROUND-SOCKET].webSocketConnected:229 - WebSocket connection open!
2021.08.21 15:09:36:517 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:10:06:516 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:10:36:531 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:11:06:533 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:11:36:534 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:12:06:534 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:12:36:534 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:13:06:549 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:13:36:562 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:14:06:572 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:14:36:584 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:15:06:584 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:15:36:592 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:16:06:596 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:16:36:598 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:17:06:599 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:17:36:614 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:18:06:628 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:18:36:630 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:19:06:637 [XNIO-1 ...] [INFO ] [BACKGROUND-SOCKET].processMessage:200 - Received PONG from Flutter client
2021.08.21 15:20:36:650 [scala-e...] [WARN ] [BACKGROUND-SOCKET].delayedPing:100 - No response for 90.011 seconds. Closing connection...
2021.08.21 15:20:36:656 [scala-e...] [INFO ] [BACKGROUND-SOCKET].disconnect:175 - Disconnecting WebSocket connection
2021.08.21 15:20:36:661 [scala-e...] [INFO ] [BACKGROUND-SOCKET].webSocketConnected:235 - WebSocket connection closed!
2021.08.21 15:22:36:677 [XNIO-1 ...] [WARN ] [BACKGROUND-SOCKET].webSocketConnected:223 - WebSocket error, closing connection!
2021.08.22 11:01:02:817 [EventLoop ] [ERROR] [API-SOCKET].failed:115 - Failed!
com.hosopy.actioncable.ActionCableException: java.net.SocketTimeoutException: Read timed out
	at com.hosopy.actioncable.Consumer$1.onFailure(Consumer.java:44)
	at com.hosopy.actioncable.Connection$4$2.run(Connection.java:268)
	at com.hosopy.concurrent.EventLoop$2.run(EventLoop.java:69)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(null)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(null)
	at java.lang.Thread.run(null)

2021.08.22 11:01:02:844 [EventLoop ] [INFO ] [API-SOCKET].connect:49 - Connecting to ActionCable
2021.08.22 11:01:20:521 [scala-e...] [INFO ] [API-SOCKET].verifyConnection:68 - Connecting to wss://api.preparedapp.com/cable?token=[REDACTED]...
2021.08.22 11:01:20:522 [scala-e...] [INFO ] [API-SOCKET].verifyConnection:87 - Connection to ActionCable successfully established
2021.08.22 11:01:20:918 [EventLoop ] [INFO ] [API-SOCKET].connected:93 - Connected

In the logs you can see the scala app was able to become responsive after the computer woke up from sleep (and connect to the API-SOCKET) but the flutter app did  not. The Background Scala task also went to sleep after the flutter task both times.
Flutter doctor
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1200], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.4)
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
[√] Connected device (4 available)

Hi @Nealsoni00

Uses bitsdojo_window for the windows window.
The app has a perpetual Websocket connection to a server to receive alerts using web_socket_channel. when the websocket disconnects, it attempts to reconnect every 15 seconds. This logic works properly when the computer's wifi is turned on and off.
The desktop app is also connected to a background application (scala) using a dart:io websocket connection. This logic follows a 10 second reconnect if not connected to socket.
I added a runZonedGuarded() around the runApp to catch all errors and prevent them from propagating up. Also added a FlutterError.onError after WidgetsFlutterBinding.ensureInitialized(); to catch all uncaught errors as well.

Can you please provide a minimal complete reproducible code sample in a repository that has this code and implementation required for this reproduciton
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Hamburger menu for left-side navigation cannot be accessed by keyboard - Keyboard Navigation - Accessibility

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
On low resolutions/mobile devices, a hamburger menu replaces the sidebar on the left. This hamburger menu cannot be correctly accessed with the keyboard:
when you click it with the mouse, it opens and stays open and allows
when you try to access it with the keyboard (tab -> return), it does not open or does not stay open
when you manage to open it, it is hard to close it or navigate it with keyboard

For comparison, here is a page with a similar design on low res where you can access the hamburger menu with keyboard and close it by pressing esc:
https://support.microsoft.com/de-de/office/erstellen-eines-organigramms-in-powerpoint-mithilfe-einer-vorlage-d361c25f-665e-4d2c-bfc9-133763511a85?ui=de-DE&rs=de-DE&ad=DE
Reproducible demo
Thank you
Steps to reproduce
When you press enter or space on the hamburger menu it should open and the active link should go to the first item.
Then navigation with tab should work within the menu. However pressing shift-tab to the close menu button should be possible to navigate out of the menu.
Expected behavior
When you press enter or space on the hamburger menu it should open and the active link should go to the first item.
Then navigation with tab should work within the menu. However pressing shift-tab to the close menu button should be possible to navigate out of the menu.
Actual behavior
Now when your focus is on the hamburger menu and then you press TAB twice the menu opens which is already strange.
The hamburger menu should only open when you are focussed on it and press enter or space then.
Your environment

Public source code: /
Public site URL: https://docs.boc-group.com/adonis/en/
Docusaurus version used: 2.0.1
Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome (latest)
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows

Self-service

[ ] I'd be willing to fix this bug myself.

Interesting. I'm willing to accept a fix, but in which case would people be (a) using mobile layout and (b) using keyboard navigation?

I'm able to focus the hamburger and navigate inside, but "enter" does not open it, and you need to press tab 😄
Also tabbing order might not be very good and once we reach the end we tab up to the hidden secondary menu (that is empty for the homepage)

As @Josh-Cena , wondering if it's worth investing effort in solving all this.
Who will be using this, why and how?


Upgrade webdriverio dependency to 3.1.0

Is 3.1.0 backward compatible? The example in webdriverio website (mocha waitUntil) doesn't work so I need to manually change package.json to 3.1.0.

grunt-webdriver currently runs on WebdriverIO v2.4.5 and not v3.1.0. I will have to update the whole project. The next version only takes the wdio config file as argument an will run the test runner instead of launching instances. Our Website also doesn't support to view the API snapshot of a specific version yet. wainUntil was introduced with v3 of WebdriverIO.

I would recommend to use a grunt task that allows to run shell scripts and run the wdio test runner instead of this.

thanks, I will use npm shrinkwrap instead


scrollBehavior is invalid in nuxt^2.6.2

scrollBehavior is invalid in nuxt^2.6.2

This question is available on Nuxt community (#c9119)

Please create issue using CMTY with more details. (What is inside config)


Feature request: Options to turn NAs into blanks when exporting

Right now when exporting a DataFrame with writetable any missing values show up in a csv as

...1,2,NA,4,...

it would be very nice to be able to specify that any NAs should be left blank so that the output looks like

...1,2,,4,...

In particular this would help people who want to open up the output in a program like LibreOffice Calc or Excel.  This is somewhat non-trivial because writetable currently relies on printtable however, and I'm not sure what the best way to implement this without making a copy of the datatable at some point.

You could add a nastring argument to printtable, and check for NAs in the loop to change the representation. Then writetable would accept nastring and pass it over to printtable.

Seems fairly straightforward, I'll see if I can figure out how to pull the code and make my first big-kid commit in the next few days.

Closed by #794.


Chrome dashboard

video:

Great video!

I also like the overall simplicity of your project - makes it very easy to read

Just recommend you, usually .html file is called index.html.
For other hand, Its clean and useful, nice!

how did you do that video?, cool!!

how did you do that video?, cool!!

@carloshdelreal I used ScreenToGif to create a .gif screen recording


Add microphone streaming with VAD to sample scene 2

This is my first pull request on a public repo so if I mess something up in the process please don't hesitate to correct.
This is a functional demo, it adds a checkbox to the microphone scene to enable streaming audio transcription.
Some issues I know of right now and am working on fixing:
high pass filter not yet implemented
stopping the recording can sometimes be too fast or too slow, I plan to rework VAD loop conditions to get better results

Hey @Rossbrownzzz, thank you for your contribution. Ping me when you will be ready for review.

@Rossbrownzzz are you coming back to this? I can continue your PR if you want to

hey @Macoron I've moved streaming to a new scene to work on so that scene 2 doesn't need changed since the code was getting pretty messy handling both streaming and manual recording in the same scene. I am pretty comfortable with how streaming is working right now if you wanted to review it.

Checked your PR. On first glance VAD looks okay, but handling microphone input and mixing with previous transcription is not that good.
I will probably make chunk-based microphone and sliding-window transcription myself. After that, we can merge your VAD in it.

@Rossbrownzzz so I finally managed to put streaming together. Check latest master and this PR #40.
I left TODO comment where to include VAD that you've made - would be great if you port it into new streaming class.

It's a holiday here so it will be a couple of days before I'm able to get back to this - but I will take a look when I am!

hey @Macoron the streaming looks great! I was a little confused on what you envisioned for the VAD for this example scene though. You have a comment for implementing VAD but it is after getting the text from the buffer.
From what I can see in whisper.cpp in their stream example they use vad to see if they should get audio. What I had in my head seems more like the talk example now that I think about it more closely. More along the lines of no buttons, VAD determines when you start and stop speaking.
Just curious what you had in mind for it so I can make sure I'm thinking about this the same way you are.

@Rossbrownzzz  So my idea was inspired by original implementation of stream from whisper.cpp. Let's say we have this example with two sentences:

We starting moving to the right by StepSamples and recurrently do transcription:

Now VAD shows us that there is no speech and two things happens:

We clear _oldBuffer and use current transcription as a prompt for next iterations (place where I left comment). It is called "new line" in whisper.cpp implementation
Whisper goes into "sleep mode" and skip audio until user starts speaking again.

After VAD detects speech, it starts transcribing again by new segmet.

Of course I'm skipping some details, like VAD thresholds, etc.
What do you think about this design?

Yep, that makes sense to me, I'll see what I can put together!

Is there any progress on this. I've tried converting it myself with a mixed result. I do have something that seems to work, but the accuracy of the model seems to have dropped significantly as a result.

@Rossbrownzzz are you coming back to this?

Similar to you @thizzhead I got it to work sometimes but it's pretty timing dependent what I have right now. My main issue was with trying to use the buffer for VAD. I'm not sure if it's just because of the sample rate of the microphone or not but every other update the old buffer had too few samples to really work with [https://github.com/Macoron/whisper.unity/blob/master/Packages/com.whisper.unity/Runtime/WhisperStream.cs#L269](here is where it updates.)
I'm in the process of moving to a new apartment right now so I haven't had as much time as I would like lately for personal projects. I can hopefully give more details on what I've tried soon.

Similar to you @thizzhead I got it to work sometimes but it's pretty timing dependent what I have right now. My main issue was with trying to use the buffer for VAD. I'm not sure if it's just because of the sample rate of the microphone or not but every other update the old buffer had too few samples to really work with [https://github.com/Macoron/whisper.unity/blob/master/Packages/com.whisper.unity/Runtime/WhisperStream.cs#L269](here is where it updates.) I'm in the process of moving to a new apartment right now so I haven't had as much time as I would like lately for personal projects. I can hopefully give more details on what I've tried soon.

Alright, I see. I will take a look at VAD implementation. Maybe your original idea of using it more for command like scenario was better.
Anyway, thank you for your contribution.

@Rossbrownzzz @thizzhead I decided to make it step by step. Right now I ported VAD in #44 and moved it to the microphone sample without streaming. Feel free to check if it works on your setup.
After that, I will try to do add VAD into streaming.


fake messages list model

create a fake chat model that you can configure with list of messages

@hwchase17 couple of questions:

How would this handle the case where you'd want the list to have some BaseMessage objects and some strings? Example would be a function call object response, followed by the final LLM response as a string. I suppose that could be accommodated by just making that last LLM response a BaseMessage object as well. Do you see any advantage in adding some logic to support objects or strings being passed in responses?
It's unclear to me if this would also support the streaming case. This might seem odd, but functions can actually be streamed in chunks, and AIMessageChunk handles that fine. The use case here is that you would submit the request streaming, so the final LLM response string could be streamed. The streamed function calls are pretty easy to handle, like this example from my own project:

    def iterate_streaming_response(self, messages):
        response = None
        is_function_call = False
        for chunk in self.llm.stream(messages):
            if isinstance(chunk, AIMessageChunk):
                content = chunk.content
                function_call = chunk.additional_kwargs.get('function_call')
                if response:
                    response.content += content
                    if function_call:
                        response.additional_kwargs['function_call']['arguments'] += function_call['arguments']
                else:
                    response = AIMessage(**dict(chunk))
                    if function_call:
                        is_function_call = True
            elif isinstance(chunk, str):
                content = chunk
                response = content if not response else response + content
            else:
                raise ValueError(f"Unexpected chunk type: {type(chunk)}")
            if not self.streaming:
                if is_function_call:
                    response = None
                break
        return response


sbt-microsites connects to window server on OS X

When I do makeMicrosite the JVM connects to the window server, which means a generic Java icon called "Boot" appears on the task bar, and if I'm in a fullscreen window when I do this it slides me over to another desktop. Not a big deal, but you can fix it by adding
System.setProperty("java.awt.headless", "true")

before you do whatever it is that's initializing AWT. You might want it to be a setting in case someone actually wants to be able to pop up windows when their doc is compiling.

This is still present.


feat(notification-card): add Notification Card

hey @hari , @sudhashrestha i have added Notification card. please assign #255 and review.
https://github.com/user-attachments/assets/be622f22-ca8b-4234-9939-3c229faad074

We already have this @prince981620  : https://animata.design/docs/card/notify-user-info

@hari i have updated the component just as #255 added user info with avatar . kindly review


review by Simon Byrne

I tried to improve the manuscript based on the second part of the comments of @simonbyrne:

I don't think any further analysis is required, but I do think it would be helpful to include a sentence or two in the discussion of section 3 summarizing some of this. Otherwise it is a bit odd to have the benchmark experiment and results which show Trixi is faster than Fluxo, but no discussion as to why that might be the case (other than the comment "Trixi.jl owes its performance optimizations in part to the code introspection and profiling tools available in Julia").

I added a few sentences there.

One additional thing I found as well in section 4.1.1:

A minor exception is due to Julia being built on top of LLVM, which does not perform the same optimizations as other C/C++/Fortran compilers. In particular, LLVM does not use fused multiply-add (FMA) instructions by default, while GCC and Intel compilers do

This isn't quite correct. This specific optimization is usually termed "FMA contraction", and is supported in the LLVM backend, but typically not enabled by default in frontends as it breaks IEEE754 semantics. For example, Clang has the -ffp-contract option, and it is also enabled by "fastmath" annotations in most languages (including Julia). In fact, the muladd function and @muladd macro are just annotations to enable this optimization locally.

Fortran itself has looser semantics, most compilers enable it by default.

I rewrote that paragraph to make it more precise.

I also tuned some figure sizes to keep the page limit (10 pages).
Here is the local build of the manuscript.

Thanks, @sloede :+1:
I will leave the whitespace optimization to the journal editors :wink:


meta: batch update quotas

Codecov Report
Patch coverage: 66.66% and project coverage change: +0.06 :tada:

Comparison is base (95ea32b) 56.17% compared to head (4b34840) 56.23%.

:exclamation: Current head 4b34840 differs from pull request most recent head 3955472. Consider uploading reports for the commit 3955472 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3458      +/-   ##
==========================================
+ Coverage   56.17%   56.23%   +0.06%
==========================================
  Files         149      149
  Lines       36207    36253      +46
==========================================
+ Hits        20339    20387      +48
+ Misses      13658    13654       -4
- Partials     2210     2212       +2

Impacted Files
Coverage Δ

pkg/meta/base.go
64.46% <57.69%> (+0.14%)
:arrow_up:

pkg/meta/tkv.go
71.24% <60.00%> (+0.09%)
:arrow_up:

pkg/meta/sql.go
58.37% <87.50%> (+0.01%)
:arrow_up:

pkg/meta/redis.go
66.72% <100.00%> (+0.06%)
:arrow_up:

... and 6 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update CustomSVGSeries to use getX / getY

I ran into this problem when I refactored my graphs to use getX / getY rather than previously data.map to conform to x and y keys, and in doing so made my icons disappear as they had NaN as their x and y.
This has been successful in fixing them.

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

Sorry for the delays, updated an example now


encrypted file error to open

when open a file encrypted by :X,
if just press the pilot number, it will open correctly, (as usual vim is waiting for inputting encrypted code);
but if move cursor to the file and press  or mouse click it, it will open in encrypted unreadable characters.

Hmm, it works for me. Don't you get any error messages? (Check with :messages.)

I tested in gvim7.4 under win7 & win10, and in vim7.3 under archlinux, that appears every times. And no error messages output.
Commenting that 2 lines doesnot work.
Here is my steps:

Start gvim and :e ~/testfile, then insert some words;
Press :X and input passcode twice, then :wq to save and quit gvim;
Restart gvim, ~/testfile may be listed in the first line of MRU, then mouse double click it -- the file opens directly without tip of waiting for the passcode, and shows unreadable words.

Well, I can reproduce that, but the important bit is that you should get an error (check :messages) like this:
E832: Non-encrypted file has encrypted undo file: /Users/mhi/.vim/files/undo/%private%tmp%testfile
Because if this is happening, I could simply catch the error and issue :edit which will ask for the key properly.

See if it's working for you in the latest commit.

It works perfectly both on windows and linux.
Thanks for you great work.

Thanks for reporting. :-)


CFTime support for polyval

[x] Closes #6623
[x] Tests added

I squash merged #6556, but you'll still need to update the max_computes in raise_if_dask_computes for cftime tests. It should only have to compute once.

Maybe someone with more insight into the inners of xarray cound fix that.
I get a ValueError: `dtype` inference failed in `map_blocks`. for cftime arrays with dask.

I don't understand why it is so much more complicated than before the new algo. Is it because before only indexes were supported as coord and they are never lazy?

Is it because before only indexes were supported as coord and they are never lazy?

Yes.
The test failure is only because we are trying to test cftime in an environment without cftime.

🤦🏾  the failure is because pytest is running the xr.date_range(..., use_cftime=True) always, ignoring the skipif mark.
@headtr1ck Can you add the cftime tests as a separate test instead? This will avoid the need for a max_computes arg too. For the separate cftime test, apply the requires_cftime decorator from tests/__init__.py to skip when cftime is not present.

🤦🏾  the failure is because pytest is running the xr.date_range(..., use_cftime=True) always, ignoring the skipif mark.
@headtr1ck Can you add the cftime tests as a separate test instead? This will avoid the need for a max_computes arg too. For the separate cftime test, apply the requires_cftime decorator from tests/__init__.py to skip when cftime is not present.

Done. Seems to work :)

Many thanks for restoring this functionality @headtr1ck!


Wildcard routing

Hi, is it intentional that wildcards match one or more characters on non-root paths? I expected (perhaps incorrectly) that they would match zero or more characters.
I tested the table below and I have marked the route that I believe is incorrect with a *. The left column is the WS route that I added, and the top row is the URL that I tested. A ✓ means it connected and a ✗ means it didn't.

/
/test
/test/
test/test

/
✓
✗
✗
✗

/*
✓
✓
✓
✓

/test
✗
✓
✓
✗

/test/
✗
✓
✓
✗

/test/*
✗
✗
✗*
✓

It's worth noting that the /* route matched everything, including /, while the /test/* did not match /test/.
Thanks

Probably related to #1019. It doesn't consider /test/ as "test" + "" I think

The stopping condition is currently "not on first URL segment and this URL segment is zero long": https://github.com/uNetworking/uWebSockets/blob/4750c0a68f033bb4b05e18971e7683731cc73378/src/HttpRouter.h#L149
It should really be "if this URL segment is the last".
That's what causes both of these bugs

This is fixed on master and will be in next version. Thanks for reporting


deployment fails - module import error

Trying to update our AWS runtime to Python3.7 but the 'push-cisco-config' lambda fails on import.
[ERROR] Runtime.ImportModuleError: Unable to import module 'transit_vpc_push_cisco_config/lambda_function': No module named '_cffi_backend'

@kolbashj Hello, the solution is already using Python3.7. Were to trying to update the runtime in your customized version? Can you detail how we can reproduce the issue?

thank you!
On Thu, Apr 22, 2021 at 12:20 PM marykays @.***> wrote:

Closed #45 https://github.com/awslabs/aws-transit-vpc/issues/45.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-transit-vpc/issues/45#event-4632986577,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJNPLVMQNVGT5BZZDSKAITTKBZI7ANCNFSM4YRTOMGA
.


SVG animateTransform bug Chrome

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other

Current behavior:

https://jsfiddle.net/xyb1r0xc/
SVG text elements generated by ng-repeat are moved strangely stick together when the first text is animated until the animation of the second text begins. Reproducible in Chrome v65. In Firefox v59 animations of both texts start correctly.
Expected / new behavior:

Texts should start moving different times.
Minimal reproduction of the problem with instructions:

Reproduction in Chrome:
https://jsfiddle.net/xyb1r0xc/
AngularJS version: 1.6.9

Browser: [Chrome 65]

Anything else:

This seems to happen due to Chrome not being able to pick up the updated begin attribute, which is asynchronously set by ng-attr-begin. Using begin directly seems to work though.
Not sure if this is expected behavior or a Chrome bug (does the spec specify the correct behavior in such a case?). Anyway, everything is working as expected on the Angular side (afaict), so I am closing this as non-actionable.


Main badge fv

adding badge minting including a minter and a ERC 1155 contracts in cairo. the pr include the front enabling whitelist management and managing issues #65

To test : add your wallet address in the eligibleUsers.json in public folder.
Ensure migration of database is done (readme)
redeploy npm run dev
@schwepps  I have an issue bloc is identified as not found (but the extract findMany is working) so it's strange did'nt find how to solve, it's working well with network & projects

@schwepps right screenshot of issue


Gemma example does not complete successfully for GPU or CUDA.

On Ubuntu 22.04 running CUDA and CPU it hangs in the same place.
Repo is up to date with main.
Using default example prompt:
cargo run --example gemma --release -- --prompt "fn count_primes(max_n: usize)"

loaded the model in 2.828576967s
fn count_primes(max_n: usize) -> usize {
    let mut primes = vec![true; max_n];
    for i in 2..=max_n {
        if primes[i] {
            for j in i * i..max_n {
                primes[j] = false;
             }
         }
    }
    primes.len()
}

fn main() {
    println!("{}", count_primes

Should be fixed in #1753 , thanks for reporting this.

You are my Hero! :supervillain:


Add WEBHOOK_URL to UI deployment

Added the webhook url to UI deployment

@CGoodwin90 - I'm most likely just going to add this to #1370 and merge it all together there?

closing


Feature: expose Delta Lake idempotency txnAppId and txnVersion

Codecov Report

Merging #33 (352d38d) into main (79de214) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   98.48%   98.51%   +0.03%
==========================================
  Files           8        8
  Lines         727      743      +16
  Branches       72       72
==========================================
+ Hits          716      732      +16
  Misses          3        3
  Partials        8        8

Flag
Coverage Δ

unittests
98.51% <100.00%> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

hydro/_delta.py
96.82% <100.00%> (+0.33%)
:arrow_up:

hydro/delta.py
97.89% <100.00%> (+0.06%)
:arrow_up:

tests/delta_test.py
100.00% <100.00%> (ø)

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


Needs seed

There's not really a DRY-er way to do this (that I know of).  Personally I can live with it, at least for the purposes of our project scope.  Some redundancy will be inevitable because different organizations do similar but not-quite-the-same things (i.e. "Clothing", "Childrens' Clothing"..."Food", "Food Pantry Items"...etc).  But those differences will matter to them.
I think ultimately this gives us what we want and it's not too painful.  Looks great in the UI too.  But if anybody is aware of something I'm not re: how to tighten up the back-end code, I'm definitely open to feedback to DRY this up.

I didn't restructure the need creation data, but I did replace the string names of the Needs with those variable names.  I was a little unsure how to restructure it as a hash and iterate over the inner arrays properly during Need creation, so it seemed best to just get this done and move on.

Yeah, I don't think it's very important to restructure the data at this point. Using the category variables to set categories is an improvement. I'm going to merge this one.


markdown link checker doesnt seem to check local targets correctly

For example if there is a link
### `license`

- type: (array of) [definitions.license-enum](#definitionslicense-enum.description).
- required: false

,
npm install markdown-link-check
node_modules/.bin/markdown-link-check --config .mlc-config.json schema-guide.md

reports the link, but sees nothing wrong with it even though the target doesnt exist.

There seems to be work going on in a fork: https://github.com/tcort/markdown-link-check/issues/91

This seems to have been fixed (as witnessed in recent runs, i.e., without errors, and with only external errors (that shows details about internal links).


Sync preview to current cursor doesn't work for included files

Describe the bug
In a included typ file, the sync preview with current cursor command is not working
To Reproduce
main.typ file:
main file content

#include "other.typ"

other.typ file:
other content

Start the preview from main.typ file.
Open other.type, make sure it's the actived editor.
Run "Sync preview with current cursor" command, nothing happened.

Expected behavior
Preview scroll to cursor pos of other.typ file.
Package/Software version:
VSCode version(Help -> About):
Version: 1.83.1 (user setup)
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:48:05.904Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.25982

Additional context
I briefly studied the current implementation code and found that the reason is that the VSCode extension code maintains an “activeTask”, which is a “doc --> server” mapping. When executing the preview sync command, it checks whether the current document is in this mapping. If it is not, do nothing.
As a temporary solution for personal use, I tried a small modification: When there is only one item in activeTask, the preview sync event in any file will be sent to the one unique preview server. This works fine for me and fully meets my needs, I usually only open one preview server.
If we need support multiple preview instances and achieve it theoretically correct(considering troublesome situations such as multiple preview instances depending on the same file), the extension code needs dependency information from compiler. The implementation may require modifications to the upstream projects, like typst.ts, etc. So I just opened this Issue for discussion instead of write a PR.

For quick solution, we can simply broadcast request to all preview server. This could introduce false positive (FP), that some other preview panels accidentally scroll to position. But it will exactly work on most scenario that:

there is only single preview panel, hence no FP.
the request is on a content file only owned by the some preview panel, hence no FP.

The false positive is indeed introduced when we make request on a template or package file shared by multiple preview panels, which are less likely to happen. We can wait for users that need this further improvement. @Enter-tainer

Both the broadcast and https://github.com/Enter-tainer/typst-preview/compare/v0.8.3...7sDream:typst-preview:patch/include-file-sync-cursor looks good to me.
To fully address this issue, the vscode extension code should be aware of the files used by typst-preview server, which is not easy.

Okay, I'll happy to send a PR of my changes first so that I can use official release instead of my fork.
For the final solution, we can keep this Issue open and discuss it in the long term.

closed as #166 merged


Make acknowledgement required in IbcReceiveResponse::new

Creating an IbcReceiveResponse without acknowledgement leads to

failed to execute message; message index: 0: acknowledgement cannot be empty: invalid acknowledgement: invalid request

which makes sense. We should change this pattern:
-    Ok(IbcReceiveResponse::new()
-       .set_ack(ack)
+    Ok(IbcReceiveResponse::new(ack)
         .add_attribute("action", "acknowledge_ibc_query")
         .add_attribute("job_id", job_id)
         .add_submessage(msg))

As discussed with @chipshort. Let's keep the optionality separate (#1892) as this might be a bigger issue. Here we just add the acknowledgement to the IbcReceiveResponse constructor and remove set_ack.


Dem jkr

Description of the new feature

New force model that takes into account the van der Walls forces. The name of the model is JKR (or SJKR-A)

How Has This Been Tested?

The overlap at the equilibrium has been verify. Two application tests have been created in that regard.

Documentation

Theory, Model Parameters and Lagrangian Physical Proprieties files have been updated.

Future changes

The name of each force model for particle-particle and particle-wall should be the same. Right now, the non-linear modelcorrespond to the hertz_model. The theory guide is not clear on that regard. The documentation doesn't describe the different coulomb limit method that we have.

Comments

NONE

@OGaboriault this is good for me. Can you rebase master so that the CI reverts back to regular CI? This way I will merge it this afternoon

I am reviewing it right now. Does it still need the review?

@voferreira more reviews is always welcomed


spacebar remove whole previous text line in multi line text

Do you want to request a feature or report a bug?
a bug!
What is the current behavior?
when i typed multi line text -> move cursor to start of second line -> hit the spacebar -> removed whole previous text lines
it's happend on facebook.com, draftjs.org and my own project
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.

What is the expected behavior?
just regular space append. same like office program.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
i tested, and some browser, OS happens different bug.
MacBook pro(version 10.12.4)

chrome 57.0.2987.133 (64-bit) ==> remove previous text line
safari ==> 'space' is input but didn't render anything

Windows 11

IE11 ==> work fine
Chrome 56.0.2924.87 ==> 'space' is input but didn't render anything
FF 51.0.1 (32bit) ==> 'space' is input but didn't render anything

Same here... Only in Chrome

I think the v0.7.0 is working fine but >=0.9.x is failing.

@MadebyAe thx let me know fine version.
but i have done things on version "0.10.0". i couldn't downgrade :(

@GenesisSam I am planning migrate to https://github.com/draft-js-plugins/draft-js-plugins this version is using your same version

Fixed by #1155  - We can close this issue once the fix is in a released version of Draft. Thanks for reporting!

@flarnie Great! Thank you!

@familom Thx!
can i ask when next version Draft.js release? approximately...

This should be fixed in Draft v0.10.1.


fix for "simstartdate not working #325"

Description
The simstartdate and simenddate are not considered by the bot.
Fixes #325
Type of change
Please make your selection.

[ x] Bug fix (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)
[ ] This change requires a documentation update
[ ] This change requires a new dependency
[ ] Code Maintainability / comments
[ ] Code Refactoring / future-proofing

How Has This Been Tested?
The test cases passed. I also backtested using the Binance api.
Checklist:

[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ x] My changes generate no new warnings
[ ] I have added pytest unit tests that prove my fix is effective or that my feature works
[ x] New and existing unit tests pass locally with my changes
[ x] Any dependent changes have been merged and published in downstream modules
[x ] I have checked my code and corrected any misspellings

Thanks for sorting this one out.


dependencies in requirements.txt are quite rigid

The dependencies in requirements.txt are given with exact version numbers.
This makes this package difficult to combine with others as versions move forward. Perhaps the requirements.txt could be changed to use ">=" rather than "=="

@SteveAlexander the problem was resolved over three years ago. I think we can now close the issue.


Add single date picker

Add SingleDatePicker
Add example for SingleDatePicker.
Use webpack for example.

I mostly copied what you have for DateRangePicker. I still haven't figured out how to clear the focus after selecting a date though. Any ideas?

@mchaver thanks for PR. Why do you decide to eject react-scripts in examples folder?

maybe you wouldn't use it in a real project, but I think it suits well here in a demo examples folder.

@liubko I wasn't seeing the output, but maybe I was going to the wrong port? I am fine with reverting it back to react-scripts.

maybe you can try it again? I think it should open on 8080 if I recall correctly, I can check this a bit later.

I was able to get it working with react-scripts. I removed the webpack stuff. Do you have any ideas about the focus issue? Maybe you can try it out locally

Here is the difference between DateRangePicker and SingleDatePicker,
in SingleDatepicker onFocusChange receives an object of shape {focused: bool}
https://github.com/airbnb/react-dates#singledatepicker

First, you need to update the binding

<EMAIL_ADDRESS>external makeProps :
  (
    ...
    ~onFocusChange: ({. "focused": bool}) => unit,
    ...
  )

Second, you need to fix the example

type action =
   ...
  | FocusChange(bool);

...

type state = {
  ...
  focused: bool,
};

...

  reducer: (action, state) =>
    switch (action) {
    ...
    | FocusChange(v) => ReasonReact.Update({...state, focused: v})
    },

...

  render: self => {
    <SingleDatePicker
      ...
      onFocusChange=(v => {
        self.send(FocusChange(v##focused));
      })
    />;

please remove all unrelated changes from PR. (examples/dist, yarn.lock, etc)

@liubko Thanks! I think I have everything.

@mchaver One thing that can be improved, we can provide user with a better API, we can convert onFocusChange: {. "focused": bool} => unit to onFocusChange: bool => unit.
So the usage will be
<SingleDatePicker
   ...
   onFocusChange=(focused => {
      self.send(FocusChange(focused));
   )
/>

Let me know if you interested in doing this, otherwise I can change it myself later.

sure i can make those changes today

this is what i'm looking for. Any idea on whether we can get this PR merge in?

this is what i'm looking for. Any idea on whether we can get this PR merge in?

this is what i'm looking for. Any idea on whether we can get this PR merge in?

@jcleefw maybe you want to take over this part? https://github.com/ahrefs/bs-react-dates/pull/1#issuecomment-402027344 this will speed up things

merged as a part of https://github.com/ahrefs/bs-react-dates/pull/2


:host(tag-name:focus):before does not work in the shady dom

This came up in https://github.com/PolymerElements/paper-item/issues/85

Thanks for tracking this down. Here's a fiddle showing the style applying to the entire focused element, not just the :before content, in shady DOM: https://jsfiddle.net/6z7rb91q/

Shouldn't that be:
:host(x-foo:focus:before)?

That works correctly for me in both shadow and shady.
OK,
Arthur

On Wed, Jul 13, 2016 at 10:53 AM, Michael Giuffrida <
<EMAIL_ADDRESS>wrote:

Thanks for tracking this down. Here's a fiddle showing the style applying
to the entire focused element, not just the :before content, in shady
DOM: https://jsfiddle.net/6z7rb91q/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Polymer/polymer/issues/3781#issuecomment-232434726,
or mute the thread
https://github.com/notifications/unsubscribe/ABGJ7uv-QU26LhC8Bd7ZImZbPTnicIOQks5qVSYZgaJpZM4JLq9X
.

@sorvell says that unlike :focus, :before is a pseudo-element and shouldn't go in the brackets. The fact that it works is an accident and, at least in the paper-item PR, it doesn't work in the shadow DOM

This appears to be fixed. In Firefox and Chrome in http://jsbin.com/cihuvugela/edit?html,output I can click the text "my element" and it receives a red background color.


(Docs) Create CONTRIBUTING.md

As https://opensource.guide/ it is best practices to have a CONTRIBUTING.md file, I got the one that we have on the website and I have converted it to .md. I hope it is helpful. :)
If you also click here https://github.com/apache/hop/community you will see that github is pointing out this.
Following this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [HOP-XXX] - Fixes bug in SessionManager,
where you replace HOP-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the commit message.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.

Trivial changes like typos do not require a JIRA issue (javadoc, comments...).
In this case, just format the pull request title like (DOC) - Add javadoc in SessionManager.
If this is your first contribution, you have to read the Contribution Guidelines
If your pull request is about ~20 lines of code you don't need to sign an Individual Contributor License Agreement
if you are unsure please ask on the developers list.
To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[ ] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
[ ] In any other case, please file an Apache Individual Contributor License Agreement.

awesome!


[Task] POC for git operations without FS support

Closing since we have an overall plan and DP with git clone operational. Will follow up with specific tasks per op


Update garbage-collection.md

Description
As this ImageMaximumGCAge fature gate moved to beta state from k8s release v1.20, user doesn't required to enable it. It is enable by default and set a value.

Issue
#47895
Incorrect information on ImageMaximumGCAge feature gate

Closes: #

Hi @ayushpatil2122, You opened the same PR #47901 for this fix, if you got some comment on the PR, you have to update that PR instead of opening a new PR.
/triage duplicate

@Shubham82 how i can closed that previous pr

@ayushpatil2122, At the bottom of the pull request, there is the option for Close pull request (comment box). you can choose that option to close the PR.

i have closed that previous pr

i have closed that previous pr

Based on https://github.com/kubernetes/website/pull/47907#issuecomment-2349051069
/remove-triage duplicate


Extracting Family Labels From Binaries

Hi,
I wrote a similar bit of code myself to label binaries with the VT API. Thankfully, I can now just use yours, which is much more developed! Anyway, when I upload a binary to VT's web interface, I get the following information:
Popular threat label: trojan.gafgyt/ddos
Threat categories:

trojan

Family labels:

gafgyt
ddos
lightaidra

I would really like to get this same information from the API but I am having trouble with it. I'll spare you the details of why I'm finding this challenging. Is there any way one can do this with your package?

Hi @lkurlandski
I've not retrieved threat categories or family labels from the API before. However, if it's available in the VT web interface, then it should be available via the API.

when I upload a binary to VT's web interface, I get the following information

Would you be able to provide the exact URL where you see this information please? 🙂
Also, just so I'm understanding correctly, you want to use the package to upload binary(s), and then retrieve details about the analysis of the binary? Ideally this analysis would contain the threat categories and family labels for the binary?

Hi,
Thanks for getting back so quickly! Yeah, it does seem like your library does not come out of the box with what I need, but maybe you could lend a bit of advice anyway? If we figure it out and you think it would be valuable for the package, could put up a pull request.
You can access the same web view as me here. As previously stated, this gives me nice family labels, i.e., gafgyt, ddos, and lightaidra.
Using the VirusTotal API, I can write a script like so
from vt import Client

KEY = "{MY_API_KEY}"
FILE = "VirusShare_00000bd55c61bc0e490d8410db131303.elf"

client = Client(KEY)
with open(FILE, "rb") as fp:
    analysis = client.scan_file(fp, wait_for_completion=True)
results = {vendor : report["result"] for vendor, report in analysis.results.items()}
pprint(results)

Which gives me a pretty informative report for each vendor

    output

  {'ALYac': 'Trojan.Generic.32499050',
 'APEX': None,
 'AVG': 'ELF:Mirai-ANY [Trj]',
 'Acronis': None,
 'AhnLab-V3': 'Linux/Mirai.Gen3',
 'Alibaba': None,
 'Antiy-AVL': 'Trojan[Backdoor]/Linux.Mirai.ba',
 'Arcabit': 'Trojan.Generic.D1EFE56A',
 'Avast': 'ELF:Mirai-ANY [Trj]',
 'Avast-Mobile': 'ELF:Mirai-ANY [Trj]',
 'Avira': 'LINUX/Mirai.udhim',
 'Baidu': None,
 'BitDefender': 'Trojan.Generic.32499050',
 'BitDefenderFalx': None,
 'BitDefenderTheta': 'Gen:NN.Mirai.36722',
 'Bkav': None,
 'CAT-QuickHeal': None,
 'CMC': None,
 'ClamAV': 'Unix.Malware.Agent-6831890-0',
 'CrowdStrike': None,
 'Cybereason': None,
 'Cylance': None,
 'Cynet': 'Malicious (score: 99)',
 'Cyren': 'E32/Mirai.U.gen!Camelot',
 'DeepInstinct': None,
 'DrWeb': 'Linux.Siggen.9999',
 'ESET-NOD32': 'a variant of Linux/Mirai.AT',
 'Elastic': None,
 'Emsisoft': 'Trojan.Generic.32499050 (B)',
 'F-Secure': 'Malware.LINUX/Mirai.udhim',
 'FireEye': 'Trojan.Generic.32499050',
 'Fortinet': 'ELF/Mirai.AT!tr',
 'GData': 'Linux.Trojan.Mirai.J',
 'Google': 'Detected',
 'Gridinsoft': None,
 'Ikarus': 'Trojan.Linux.Mirai',
 'Jiangmin': 'Backdoor.Linux.asxm',
 'K7AntiVirus': None,
 'K7GW': None,
 'Kaspersky': 'HEUR:Backdoor.Linux.Mirai.ba',
 'Lionic': 'Trojan.Linux.Mirai.K!c',
 'MAX': 'malware (ai score=99)',
 'Malwarebytes': None,
 'MaxSecure': None,
 'McAfee': 'Linux/mirai.d',
 'McAfee-GW-Edition': 'Linux/mirai.d',
 'MicroWorld-eScan': 'Trojan.Generic.32499050',
 'Microsoft': 'Trojan:Linux/Mirai',
 'NANO-Antivirus': 'Trojan.ElfArm32.Mirai.fmibkd',
 'Paloalto': None,
 'Panda': None,
 'Rising': 'Backdoor.Mirai/Linux!1.BC48 (CLASSIC)',
 'SUPERAntiSpyware': None,
 'Sangfor': 'Suspicious.Linux.Save.a',
 'SentinelOne': None,
 'Sophos': 'Mal/Generic-S',
 'Symantec': 'Linux.Mirai',
 'SymantecMobileInsight': None,
 'TACHYON': None,
 'Tencent': None,
 'Trapmine': None,
 'TrendMicro': 'Trojan.Linux.MIRAI.SMNM1',
 'TrendMicro-HouseCall': 'Trojan.Linux.MIRAI.SMNM1',
 'Trustlook': None,
 'VBA32': None,
 'VIPRE': 'Trojan.Generic.32499050',
 'ViRobot': None,
 'VirIT': 'Linux.Mirai.CG',
 'Webroot': None,
 'Xcitium': 'Malware@#1ojx4ch0uqrwj',
 'Yandex': None,
 'Zillya': 'Backdoor.Mirai.Linux.48138',
 'ZoneAlarm': 'HEUR:Backdoor.Linux.Mirai.ba',
 'Zoner': None,
 'tehtris': None}

The problem is, that I don't know the processing rules by which VT takes this detailed report and condenses it down into those three family labels...

Oh, @lkurlandski your example isn't using this package. You're using https://github.com/VirusTotal/vt-py which is the official VirusTotal Python package. You'll need to direct your question there for assistance with their package.

Thumbs up.


refresh dist/mozilla

Proposed changes
This PR refreshes dist/mozilla after calling package-mozilla.sh
Types of changes
What types of changes does your code introduce to HACL*?
Put an x in the boxes that apply

[ ] Proof maintenance (non-breaking change which fixes a proof regression)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New algorithm or feature (non-breaking change which adds functionality)
[ ] Improved performance (fix or feature that would improve performance of some algorithm on some platform)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (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.

[X] I have read the CODE_OF_CONDUCT.md doc
[X] I have read and agree to submit my changes under the LICENSE
[] I have added necessary documentation (if appropriate)
[] I have edited CHANGES.md (if appropriate)

No, the packaging script appears to be fine. I am only refreshing the dist/mozilla here by running the script.
But I just noticed that all the dist/* directories other than dist/gcc-compatible are out of date. So maybe we should just refresh everything in one shot.

Yeah if you can run a complete build with latest everything from everest, then I'm fine with merging a manual hints and dist refresh.


wrong content-type from web.jsonrpc

Result is returned as text/json instead of proper application/json
Error such as NoSuchFunction is returned as text/html

forgotten


why random sample during training and center sample during validation?

why random sample during training and center sample during validation? What are the effects of different sampling methods？

Random sampling during training works better empirically, it's a form of regularization to prevent overfitting. You can verify this by training with center sampling and you should get worse performance.
We do center sampling during validation so that inference is deterministic i.e. it doesn't depend on the random seed.

Random sampling during training works better empirically, it's a form of regularization to prevent overfitting. You can verify this by training with center sampling and you should get worse performance.
We do center sampling during validation so that inference is deterministic i.e. it doesn't depend on the random seed.

Thank you very much!


Protect async send from misuse

This is a proposal to mitigate the async send issues, see #505
⚠This is a breaking change as some misuse could work but with unexpected behavior.
Using arguments when calling async send is helpful but does not match the libuv implementation that will coalesce calls.
Properly supporting multiple calls is a lot of work and may not be interesting for luv.
I propose to restrict the usage by allowing arguments only when async send is used just once.
It is still possible to call multiple times async send without arguments which is the libuv API.
It seems to me to be a simple but necessary fix.
Another option would be to use a lock to be able to change the arguments and free the not yet received ones, but there will be no guaranty on which arguments will be effectively received. This option is only interesting to avoid breaking existing misuse.

Closing in favor of #729


Is this project active anymore?

Are there alternative approaches somewhere documented?
Is there a preferred way of geoservers rest interface to be accessed?

It depends on what you mean by "active".
We use the GeoServer-Manager library for some internal projects, and it has all the features we need at the moment.
It has been used few months ago to test that the big REST refactoring in GeoServer still worked.
I need some spare time to merge all the pending PRs indeed :|

Many improvements of geoservers rest interface are not implemented. Workspace activation, style upload CSS and yaml, ...