jest-worker: Avoid crash when "--max-old-space-size" inside process.execArgv

Summary
Complement to this PR: https://github.com/facebook/jest/pull/12097
Node has previously updated the command line flag max_old_space_size to max-old-space-size, so we should support both in when filtering the flags.
Test plan
Verifying the RegExp should be sufficient.

Codecov Report

Merging #12103 (d8e4cbf) into main (5640f88) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main   #12103   +/-   ##
=======================================
  Coverage   67.65%   67.66%
=======================================
  Files         328      328
  Lines       16990    16990
  Branches     4817     4817
=======================================
+ Hits        11495    11496    +1
+ Misses       5462     5461    -1
  Partials       33       33

Impacted Files
Coverage Δ

...kages/jest-worker/src/workers/NodeThreadsWorker.ts
93.61% <100.00%> (ø)

packages/expect/src/utils.ts
96.53% <0.00%> (+0.49%)
:arrow_up:

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 5640f88...d8e4cbf. Read the comment docs.

@SimenB: Done! I didn't add another entry in 27.4.0 like the other PR. It felt redundant since it's just a complement. Is that OK?

https://github.com/facebook/jest/releases/tag/v27.4.2


Create interface for module generation trait

part of #1303

creates an IModuleGen for ModuleGen and the blanket impl

ModuleGen is now the typed trait with associated types

[x] is the method module_kind() always supposed to be implemented? or default impl? see TODO comment  (edit: yes, default impl)

Thanks for the review @dpc . I'm not sure if there are changes in the <Module>ConfigGenerator necessary, but I don't think so?

@mxz42 Thanks for taking care of it! Please follow-up with deletion of these extra static default methods. The less is the better here, so that users don't get confused or make needless mistakes.

Thanks for the review @dpc . I'm not sure if there are changes in the ConfigGenerator necessary, but I don't think so?

Do we still have these? I thought ModuleGen take care of all things config now. Are they leftovers?

@mxz42 Oh. The MintConfigGenerator is the MintGen now. We should rename them, I guess and make it just MintGen. Similiarily MintConfigGenParams should become just MintGenParams maybe?

@mxz42 Oh. The MintConfigGenerator is the MintGen now. We should rename them, I guess and make it just MintGen. Similiarily MintConfigGenParams should become just MintGenParams maybe?

Sounds good to me :+1:


Documentation: fix broken link

Codecov Report

Merging #860 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #860   +/-   ##
=========================================
  Coverage     93.13%   93.13%
  Complexity      386      386
=========================================
  Files             2        2
  Lines          5724     5724
  Branches       1491     1491
=========================================
  Hits           5331     5331
  Misses          190      190
  Partials        203      203

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 06ab884...05996a8. Read the comment docs.

Merged and published.
Thank you!!


mec15xxevb_assy6853: test_timeout_order in tests/kernel/common assertion failed

Describe the bug
test_timeout_order in tests/kernel/common assertion failed
It is also failing on EHL_CRB
To Reproduce
Steps to reproduce the behavior:

twister --hardware-map ~/mec1.file --device-testing -T tests/kernel/common/
See error

Expected behavior
Test should pass
Logs and console output
EBUG   - DEVICE: ***** delaying boot 500ms (per build configuration) *****
DEBUG   - DEVICE: *** Booting Zephyr OS build zephyr-v2.5.0-2578-ge366d7948a53  (delayed boot 500ms) ***
DEBUG   - DEVICE: Running test suite common
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_bootdelay
DEBUG   - DEVICE: PASS - test_bootdelay in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_irq_offload
DEBUG   - DEVICE: PASS - test_irq_offload in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_byteorder_memcpy_swap
DEBUG   - DEVICE: PASS - test_byteorder_memcpy_swap in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_byteorder_mem_swap
DEBUG   - DEVICE: PASS - test_byteorder_mem_swap in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_be64
DEBUG   - DEVICE: PASS - test_sys_get_be64 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_be64
DEBUG   - DEVICE: PASS - test_sys_put_be64 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_be48
DEBUG   - DEVICE: PASS - test_sys_get_be48 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_be48
DEBUG   - DEVICE: PASS - test_sys_put_be48 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_be32
DEBUG   - DEVICE: PASS - test_sys_get_be32 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_be32
DEBUG   - DEVICE: PASS - test_sys_put_be32 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_be24
DEBUG   - DEVICE: PASS - test_sys_get_be24 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_be24
DEBUG   - DEVICE: PASS - test_sys_put_be24 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_be16
DEBUG   - DEVICE: PASS - test_sys_get_be16 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_be16
DEBUG   - DEVICE: PASS - test_sys_put_be16 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_le16
DEBUG   - DEVICE: PASS - test_sys_get_le16 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_le16
DEBUG   - DEVICE: PASS - test_sys_put_le16 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_le24
DEBUG   - DEVICE: PASS - test_sys_get_le24 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_le24
DEBUG   - DEVICE: PASS - test_sys_put_le24 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_le32
DEBUG   - DEVICE: PASS - test_sys_get_le32 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_le32
DEBUG   - DEVICE: PASS - test_sys_put_le32 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_le48
DEBUG   - DEVICE: PASS - test_sys_get_le48 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_le48
DEBUG   - DEVICE: PASS - test_sys_put_le48 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_get_le64
DEBUG   - DEVICE: PASS - test_sys_get_le64 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_sys_put_le64
DEBUG   - DEVICE: PASS - test_sys_put_le64 in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_atomic
DEBUG   - DEVICE: PASS - test_atomic in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_bitfield
DEBUG   - DEVICE: SKIP - test_bitfield in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_printk
DEBUG   - DEVICE: 22 113 10000 32768 40000 22
DEBUG   - DEVICE: p 112 -10000 -32768 -40000 -22
DEBUG   - DEVICE: 0x1 0x01 0x0001 0x00000001 0x0000000000000001
DEBUG   - DEVICE: 0x1 0x 1 0x   1 0x       1
DEBUG   - DEVICE: 42 42 0042 00000042
DEBUG   - DEVICE: -42 -42 -042 -0000042
DEBUG   - DEVICE: 42 42   42       42
DEBUG   - DEVICE: 42 42 0042 00000042
DEBUG   - DEVICE: 255     42    abcdef        42
DEBUG   - DEVICE:<PHONE_NUMBER>5 -1<PHONE_NUMBER>3709551615 ffffffffffffffff
DEBUG   - DEVICE: 0xcafebabe 0xbeef 0x2a
DEBUG   - DEVICE: PASS - test_printk in 0.31 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_timeout_order
DEBUG   - DEVICE:
DEBUG   - DEVICE: Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/common/src/timeout_order.c:92: test_timeout_order: (poll_events[ii].state not equal to K_POLL_STATE_SEM_AVAILABLE)
DEBUG   - DEVICE:
DEBUG   - DEVICE: FAIL - test_timeout_order in 0.116 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_clock_uptime
DEBUG   - DEVICE: PASS - test_clock_uptime in 0.12 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_clock_cycle
DEBUG   - DEVICE: PASS - test_clock_cycle in 0.3 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_version
DEBUG   - DEVICE: PASS - test_version in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_multilib
DEBUG   - DEVICE: PASS - test_multilib in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_thread_context
DEBUG   - DEVICE: PASS - test_thread_context in 0.31 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_errno
DEBUG   - DEVICE: PASS - test_errno in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_ms_time_duration
DEBUG   - DEVICE: PASS - test_ms_time_duration in 0.182 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_bounds_check_mitigation
DEBUG   - DEVICE: PASS - test_bounds_check_mitigation in 0.1 seconds
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: Test suite common failed.
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: PROJECT EXECUTION FAILED

Environment (please complete the following information):

OS: Fedora 29
SDK: zephyr-sdk-0.12.4
Commit SHA: e366d7948a53

Reproduced on MEC152x EVB building only the tests/kernel/common.
Not related to power management. Fails with PM disabled in build.
It will pass if I lower the CPU clock speed from full speed 48 MHz to 12 MHz. This implies this SoC is not able to update fast enough. The build is configured to use a 32 KHz clock for the kernel timer with second 48 MHz timer used for higher resolution.
Were there any changes in the kernel timing logic?

Narrowed it down to something related to the 32KHz timer we are using for the kernel timer.  If the build is switched to SYSTICK the test passes even at fastest CPU speed.

@albertofloyd This is an issue. If we have to switch to SYSTICK then deep sleep will require enabling a 32 KHz based timer and the issues converting kernel ticks to 32 KHz units.

@yerabolu and @ioannisg
The commit a09b5ade26e97953933753a500d5235d8ba85387 remoted a printk() from the spawned thread speeding up thread completion.  Adding a the printk() back or a delay loop writing a read-only HW register allows the test to pass but causes the test application to trigger a fault after all tests have finished.  Tried increasing thread stack size by setting CONFIG_TEST_EXTRA_STACKSIZE = 512. Tests all pass but still get fault when test program done.
Are other platforms using a 32 KHz kernel timer failing this test?

@yerabolu was this test passing before?  Do you have any any regression data?
Does the test have any CPU requirements?

@yerabolu was this test passing before? Do you have any any regression data?
Does the test have any CPU requirements?

@albertofloyd and @scottwcpg: This test was passing before and started failing from c22df64b616c. Will bisect to look into which commit it started failing exactly.

Thanks @yerabolu . That commit seems to be part of this PR https://github.com/zephyrproject-rtos/zephyr/pull/33302 introduced by as part of tickeless idle removal.
I;m not clear in the implications from tickeless removal to the RTOS drivers @andyross @nashif  could you indicate if preliminary analysis from @scottwcpg is going in the direction expected by Zephyr.


[Feature/suggestion] @nxrocks/nx-flutter:bootstrap -  link local packages

Is your feature request related to a problem? Please describe
There's something on @nx-flutter, similar to lerna bootstrap for managing dependencies and linking local packages?
For example, the command would locally link packages via path dependency overrides without needing to edit pubspec.yaml.
Speaking of flutter, it would be something similar to what Melos does:
melos bootstrap
Describe the idea you'd like
The suggestion would be a smarter way to manage dependencies instead of doing it manually.
Describe alternatives you've considered
No response
Additional context
No response

Hi @virginiarcruz
Thanks for using the plugin.

There's something on @nx-flutter, similar to lerna bootstrap for managing dependencies and linking local packages?

No

For example, the command would locally link packages via path dependency overrides without needing to edit pubspec.yaml.
The suggestion would be a smarter way to manage dependencies instead of doing it manually.

What is the issue with editing the the pubspec.yaml manually to point to your local packages you need?
Also, with Melos,  how would you specify which local package another package in the workspace needs, without editing its pubspec.yaml ?
I don't know about Melos,  but from the look at it, it looks most of what it does can be done with Nx, thanks to its dependency graph. For example, you can run tasks like  install on dependency packages,  when running build on dependant packages in the workspace... (not done out-of the box by the plugin, but its simple to do)
Can you elaborate  more on what you need exactly?

Hey @tinesoft
Thanks for answer :)

What is the issue with editing the the pubspec.yaml manually to point to your local packages you need? Also, with Melos, how would you specify which local package another package in the workspace needs, without editing its pubspec.yaml ?

The issue of updating the pubspec.yaml manually is that for small projects it works. But for larger projects this can create an issue if, for example, you need to publish the packages (by git tag for example), you will need to update the version of each one manually in pubspec.yaml.
If the packages are coupled it will be necessary to manually check which versions should be updated. this can become a long and error-prone task.

I don't know about Melos, but from the look at it, it looks most of what it does can be done with Nx, thanks to its dependency graph. For example, you can run tasks like install on dependency packages, when running build on dependant packages in the workspace... (not done out-of the box by the plugin, but its simple to do)
Can you elaborate more on what you need exactly?

The idea is to solve this issue by overriding local files which the Dart analyzer uses to read packages from without needing to update manually.
Thus if a local package exists defined globally, and a different local package has it listed as a dependency, it will be linked regardless of whether a version has been specified.
The benefit is that all local packages in the repository can be interlinked to point to their local directories rather than 'remote' without pubspec.yaml modifications.
All this I'm considering the decision of publishing packages to avoid coupling.

Hi @virginiarcruz
Thanks for elaborating.
Do I understand correctly :

that in your workspace, you can link to packages that are globally installed on your machine without having them listed explicitly in the pubspec.yaml of related projects ?
that Melos* uses that feature to make your local packages available as global packages, and so, have them useable directly?

If so, what happen when you decide to build the dependant package? everything get bundled in ?

that in your workspace, you can link to packages that are globally installed on your machine without having them listed explicitly in the pubspec.yaml of related projects ?

No, packages can be published and I can link in pubspec.yaml.
But if I want to update the packages I don't do it manually, this is done by the command line and the dependencies are linked.

that Melos* uses that feature to make your local packages available as global packages, and so, have them useable directly?

Yes!

Yes, I can decide for example to use my package in the monorepo or make it available for other projects outside the monorepo.

Hi @virginiarcruz
Thanks for the clarifications.
I still have a few questions, but overall I get the idea, and see the interest of Melos.
I will start implement something soon.
I might need additional information from you again, so if I can ping you by DM, it will be great.
Here is my twitter handler: @tinesoft.
Feel free to contact me there.

It's a welcomed feature, however I can't say it's the killer one (at least for me) on flutter projects. For me the killer is intellejent dependecy discovery, i.e. affected integation for monorepo based flutter sturctued containing several apps.

@virginiarcruz I very proud to announce the support for melos, via my newest plugin: @nxrocks/nx-melos !
Instruction and usage can be found here: https://github.com/tinesoft/nxrocks/tree/develop/packages/nx-melos
This plugin can be installed  in addition to nx-flutter plugin that it completes.
Please give it a try, and let me know how it works for you!

Hey @tinesoft
Thank you for the update.
I'll test and give feedback there. 💯

Hi @virginiarcruz
did you get a chance to play with the new nx-melos plugin yet?


Fixed crop-box, drag image

Feature request: I would like to have a fixed crop-box and drag the image around instead of moving the crop-box.

This feature is broken for me.  I'm using all the same attributes as the demo and the crop box isn't fixed:
$('.cropper-example-1 > img').cropper({
aspectRatio: 16 / 9,
autoCropArea: 0.65,
strict: false,
guides: false,
highlight: false,
dragCrop: false,
cropBoxMovable: false,
cropBoxResizable: false
});

I'm looking for the same feature, @fengyuanchen could you let us know what are the attributes needed to accomplish it (drag only the image, while having fixed crop box)?


No platforms added to this project. error

I'm trying to run PG app developer on windows (7 x64)

I've installed phonegap (npm install phonegap -g)
phonegap crate app-name
phonegap serve

I've got an error:
...\AppData\Roaming\npm\node_modules\phonegap\node_modules\cordova-lib\src\cord
ova\util.js:196
        throw new CordovaError('No platforms added to this project. Please use
              ^
CordovaError: No platforms added to this project. Please use `cordova platform add <platfo
rm>`.
    at Object.preProcessOptions (...\AppData\Roaming\npm\node_modules\phonegap\
node_modules\cordova-lib\src\cordova\util.js:196:15)
...

Maybe a wrong repo to post an issue, I've created another in https://github.com/phonegap/phonegap-cli/issues/412

mwbrooks. how i can connect to you like: gmail , insta, fb?


Crimap 116 tidy application statuses

Description of change
Adds application status to a crime application
Notes for reviewer
I was getting clash errors with the key "initialised" so I settled on "newly_initialised"
Another problem was that the deafult: in the migration wasn't working so I decided to set it in the enum declaration instead.
Link to relevant ticket
CRIMAP-116
How to manually test the feature

Create a new application, post has_partner if you get the record from the DB it should have a status of in_progress
from the console create a new record with CrimeApplication.create - it should have a default status of newly_initialised

@willmcb Cool. I've seen the default doesn't work in the migration it is true. Well, let's use the _default on the enum then as you've done 👍
I've pushed a few tweaks to DRY the enum values. Also the form object didn't save for me with the value object, had to cast to string (to_s). Let me know if it works ok for you?


Hiding portion of object behind another

Hello all,
I will explain my issue with an example: two objects, such as two 3DFACE, at different elevation and one partially covered by the other.
Is there any chance in a viewport to have a view  with the portion of the object underneath partially hidden by the object ahead?
Thanks to anyone who will answer

The entities are drawn in the order they were added to the document, more info here. But, if you are looking for some kind of hidden face removal, no this is a graphics engine business, the DXF just stores the data.


Vim9: feedkeys() 'c' flag does not clear context saved by <ScriptCmd>

Steps to reproduce
Run this shell command:
vim -Nu NONE -S <(tee <<'EOF'
    vim9script
    nnoremap <F3> <ScriptCmd>eval 1+2<CR>
    feedkeys("\<F3>", 'cx')
EOF
)

An error is given:
E1004: White space required before and after '+' at "+2"

Expected behavior
Not sure.  Here is what :help feedkeys() says about the c flag:

'c'     Remove any script context when executing, so that
legacy script syntax applies, "s:var" does not work,
etc.

This means that eval 1+2 should have been processed in legacy context, where whitespace around binary operators is not enforced; thus, no error should have been given.
IOW, <ScriptCmd> overrides the c flag.  Is it working as intended?  If it is, maybe it should be documented.  As a suggestion, here is a patch:
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 8695edd2d..edf084826 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2417,7 +2417,8 @@ feedkeys({string} [, {mode}])				*feedkeys()*
 			all typeahead will be consumed by the last call.
 		'c'	Remove any script context when executing, so that
 			legacy script syntax applies, "s:var" does not work,
-			etc.
+			etc.  Does not clear a script context saved by
+			|<ScriptCmd>|.
 		'!'	When used with 'x' will not end Insert mode. Can be
 			used in a test when a timer is set to exit Insert mode
 			a little later.  Useful for testing CursorHoldI.

Version of Vim
8.2 Included patches: 1-4787
Environment
Operating system: Ubuntu 20.04.4 LTS
Terminal: xterm
Value of $TERM: xterm-256color
Shell: GNU bash, version 5.0.17
Additional context
If we replace <ScriptCmd> with <Cmd>, the c flag works as documented:
vim9script
nnoremap <F3> <Cmd>eval 1+2<CR>
feedkeys("\<F3>", 'cx')

no error

Steps to reproduce
Run this shell command:
vim -Nu NONE -S <(tee <<'EOF'
    vim9script
    nnoremap <F3> <ScriptCmd>eval 1+2<CR>
    feedkeys("\<F3>", 'cx')
EOF
)

An error is given:
E1004: White space required before and after '+' at "+2"

Expected behavior
Not sure.  Here is what :help feedkeys() says about the c flag:

'c'     Remove any script context when executing, so that
legacy script syntax applies, "s:var" does not work,
etc.

This means that eval 1+2 should have been processed in legacy
context, where whitespace around binary operators is not enforced;
thus, no error should have been given.

The context is only removed for the moment the keys are inserted.  When
a context is set by the keys, it is still used.  I thought that would be
obvious, but I can add a remark about it.

IOW, <ScriptCmd> overrides the c flag.  Is it working as intended?
If it is, maybe it should be documented.  As a suggestion, here is a
patch: ```diff
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 8695edd2d..edf084826 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -2417,7 +2417,8 @@ feedkeys({string} [, {mode}])				feedkeys()
all typeahead will be consumed by the last call.
'c'	Remove any script context when executing, so that
legacy script syntax applies, "s:var" does not work,

	etc.

	etc.  Does not clear a script context saved by

	|<ScriptCmd>|.
'!'	When used with 'x' will not end Insert mode. Can be
	used in a test when a timer is set to exit Insert mode
	a little later.  Useful for testing CursorHoldI.

It is not just , any function call, source command, etc. can
also set the context.
--
hundred-and-one symptoms of being an internet addict:
32.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


markdown: use comrak syntect

Still WIP: the theme is not right, the margins/padding are off, etc.  But it works!

I need to figure out how to do CSS padding!

It'd be nice to get custom theme support, however i think this may be good to start with! Thank you so much!

A pleasure :heart:


[macOS] exported project crashes with ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN

Godot version:
Godot 3.1.beta.custom_build.006561a
https://github.com/godotengine/godot/commit/006561a0815016bf89ab604371dd0ae29b5c63bd
OS/device including version:
macOS 10.14.4 Beta (18E184e)
Issue description:
I am able to export project without any problems. But when I try start the exported project, I got this error:
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[1] 1   libsystem_platform.dylib            0x00007fff77c07b5d _sigtramp + 29
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[2] 2   ???                                 0x00007f90c1f16610 0x0 +<PHONE_NUMBER>41168
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[3] _File::open(String const&, int)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[4] MethodBind2R<Error, String const&, int>::call(Object*, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[5] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[6] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[7] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[8] GDScriptInstance::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[9] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[10] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[11] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[12] GDScriptInstance::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[13] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[14] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[15] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[16] GDScriptInstance::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[17] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[18] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[19] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[20] GDScriptInstance::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[21] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[22] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[23] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[24] GDScriptInstance::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[25] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[26] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[27] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[28] GDScriptInstance::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[29] Object::call(StringName const&, Variant const**, int, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[30] Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[31] GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[32] GDScriptInstance::_ml_call_reversed(GDScript*, StringName const&, Variant const**, int)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[33] GDScriptInstance::call_multilevel_reversed(StringName const&, Variant const**, int)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[34] Node::_notification(int)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[35] Node::_notificationv(int, bool)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[36] CanvasItem::_notificationv(int, bool)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[37] Control::_notificationv(int, bool)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[38] Panel::_notificationv(int, bool)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[39] Object::notification(int, bool)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[40] Node::_propagate_ready()
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[41] Node::_propagate_ready()
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[42] Node::_set_tree(SceneTree*)
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[43] SceneTree::init()
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[44] OS_OSX::run()
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[45] 45  haldric                             0x0000000105419558 main + 1464
ERROR: execute: Condition ' !f ' is true. returned: ERR_CANT_OPEN
   At: drivers/unix/os_unix.cpp:319.
[46] 46  libdyld.dylib                       0x00007fff77a223ed start + 1
-- END OF BACKTRACE --

Steps to reproduce:
Export project for macOS. It doesn't matter if you export as debug or release. Both crashes.
Minimal reproduction project:
I am building this repo from this commit: https://github.com/wesnoth/haldric/tree/bd6a85b4f20d291be6aa42bc6e6c053b155aaf13
Here is snapshot of working dir:
Archive.zip

It is probably also reproducible in linux.
There is also this output:
OpenGL ES 3.0 Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
load file: res://data/scripts/weapon_specials/magical.gd
ERROR: _load: No loader found for resource: res://
   At: core/io/resource_loader.cpp:285.
SCRIPT ERROR: load_weapon_special_dir: Attempt to call function 'new' in base 'null instance' on a null instance.
   At: res://source/global/Registry.gd:25.
load file: res://data/scripts/abilities/heal.gd
load file: res://data/scripts/abilities/regenerate.gd
ERROR: _load: No loader found for resource: res://
   At: core/io/resource_loader.cpp:285.
SCRIPT ERROR: load_ability_dir: Attempt to call function 'new' in base 'null instance' on a null instance.
   At: res://source/global/Registry.gd:16.

I think that load path is set wrong.
idk from where message load file: res://data/scripts/weapon_specials/magical.gd comes, but then it fails with message: ERROR: _load: No loader found for resource: res://
not with message ERROR: _load: No loader found for resource: res://data/scripts/weapon_specials/magical.gd
That makes me think that there is wrong argument (empty one) passed to this function:
https://github.com/godotengine/godot/blob/006561a0815016bf89ab604371dd0ae29b5c63bd/core/io/resource_loader.cpp#L261
The "No loader found for resource:" message is few lines bellow:
https://github.com/godotengine/godot/blob/006561a0815016bf89ab604371dd0ae29b5c63bd/core/io/resource_loader.cpp#L283

The problem seems to be in https://github.com/wesnoth/haldric/blob/bd6a85b4f20d291be6aa42bc6e6c053b155aaf13/source/global/Registry.gd#L3
It seems to be specific to haldric, not Godot iself. The GDNative library doesn't load properly, and thus can't be instantiated.

Maybe the relevant GDNative libraries don't get properly included in the exported project?

Closing...
Problem was that we forgot include *.yaml files into exported builds.
Thank you for you help!


Pipeline implementation

Implemented pipeline for dev environment
include taskdef folder for taskdefinition scripts

Incorrect base branch, hence closing the issue


Let people exclude their repo from choice list in yaml

I can take a look at this. Would you prefer default optin or optout from the choice list?


Created bubble sort program in C++ folder

I have created bubble sort program in C++ folder.
Please accept my pull request under "hacktoberfest" contribution.

Please make sure you have read readme.md programs and rules before any PR!!!
Waiting for next PR!!!


MIT License NOTICE

Hello!
I was just taking perusing the Rust LED ecosystem recently and noticed your project mentioned it was inspired by my rpi-ws281x/rpi-ws281x-rust (rs_ws281x).  Then I read through your README and notice it included some of my original language from that project's README, and the I saw your build.rs is an exact copy of mine down to my comments, etc. etc.  The MIT license is indeed permissive, but it does have one important requirement if you are copying/modifying the work that you carry a copyright acknowledgement (usually in the form of a NOTICE file) carrying my original copyright message( "Copyright 2018, Joseph Murphy"); and a copy of the MIT license.
Sorry if this comes off like me being a prick, but I just appreciate having my work properly credited at least when it's used.
Thank you!

I've never wanted to not credit your work!
I've mentioned you in the README from the beginning

Inspired on the rust bindings of the rpi ws281x driver.

But I understand you feel this might not be enough (and you are right according to the copyright, something I missed!), so I've added you to the LICENSE file. I hope this satisfies the copyright message. If you feel it is still not done correctly let me know.
Note: I might actually archive this repo anyway. This code was  written at a time when I was experimenting with smart-leds and checking out possibilities to do things on arduino/raspberry pi's/ESP32.
I think for my use case I would go with ESP32 so I would not really have any intrest in keeping this code up to date.


appease mypy Version no-untyped-call

Without the type hint we get:
error: Call to untyped function "Version" in typed context  [no-untyped-call]
Note that our Version is derived from semantic_version, which doesn't have type hints.

I also note related mypy errors:
aqt/metadata.py:67:15: error: Class cannot subclass "SemanticVersion" (has type
"Any")  [misc]
    class Version(SemanticVersion):
                  ^
aqt/metadata.py:73:5: error: Function is missing a type annotation for one or
more arguments  [no-untyped-def]
        def __init__(
        ^
aqt/metadata.py:108:5: error: Function is missing a type annotation
[no-untyped-def]
        def __str__(self):
        ^
aqt/metadata.py:114:5: error: Function is missing a return type annotation
[no-untyped-def]
        def permissive(cls, version_string: str):
        ^

Good catch.


Big screenshot from timeline in Ubuntu with 200% scaling monitor

Version
6.0.12
Browser and OS info
Firefox 99 Linux 5.13.0-30-generic #33-Ubuntu SMP Fri Feb 4 17:03:31 UTC 2022
Steps to reproduce
Ubuntu, 4K monitor (3840x2160) with 200% scaling
In Firefox o Chrome goto timeline in Vue devstools
Do some actions in the application
Move the mouse cursor over the points on the timeline
What is expected?
The screenshot at the same size as it was shown when it happened
What is actually happening?
The screenshot is twice the size of the original, only a quarter image is visible (left top).

Capturing

Mouse over event

Same issue here on macOS due to high res ("retina") display (on both iMac 5K and MacBook Pro). I don't think there's any way to fix it, so I just disabled screenshots (in the … menu in the top right). The screenshots feature seems to have been developed with the assumption that everyone still has a low res display. Most Macs have had retina displays for many years now.


API parity with browser/other engines

To achieve parity with alternate implementations of larger projects that happen to use wasmi, api surface of wasmi must be as close to browser engines as possible.
This includes (so far) API-s should be under feature flag:

[ ] stop/resume
[ ] memory used tracking (#153)

We have suspend and resume functions, can this be closed?

@vurich they should be feature-gated imo

The v1 implementation of wasmi (https://github.com/paritytech/wasmi/pull/287) re-implements the API of the well known Wasmtime crate and therefore implements this issue. The issue can be closed now.


Security logging twice (or more) in MP

2.0.0-M3
Information log that security is on classpath yet not configured is done twice - this should be only logged once (latest possible time).
This is full startup log of MP (native):
2020.05.12 20:23:37 INFO io.helidon.microprofile.cdi.LogConfig Thread[main,5,main]: Logging at runtime configured using classpath: /logging.properties
2020.05.12 20:23:37 INFO io.helidon.tracing.zipkin.ZipkinTracerBuilder Thread[main,5,main]: Creating Zipkin Tracer for 'cn4j-mp' configured with: http://<IP_ADDRESS>:9411/api/v2/spans
2020.05.12 20:23:37 INFO io.helidon.microprofile.security.SecurityCdiExtension Thread[main,5,main]: Security extension for microprofile is enabled, yet security configuration for authentication provider is missing from config (requires providers configuration at key security.providers). Security will not have any valid authentication provider
2020.05.12 20:23:37 INFO io.helidon.microprofile.security.SecurityCdiExtension Thread[main,5,main]: Security extension for microprofile is enabled, yet security configuration for authorization provider is missing from config (requires providers configuration at key security.providers). ABAC provider is configured for authorization.
2020.05.12 20:23:37 INFO io.helidon.microprofile.server.ServerCdiExtension Thread[main,5,main]: Registering JAX-RS Application: SyntheticApplication
2020.05.12 20:23:37 INFO io.helidon.webserver.NettyWebServer Thread[nioEventLoopGroup-2-1,10,main]: Channel '@default' started: [id: 0x52e98507, L:/0:0:0:0:0:0:0:0:8080]
2020.05.12 20:23:37 INFO io.helidon.microprofile.server.ServerCdiExtension Thread[main,5,main]: Server started on http://localhost:8080 (and all other host addresses) in 55 milliseconds (since JVM startup).
2020.05.12 20:23:37 INFO io.helidon.common.HelidonFeatures Thread[main,5,main]: Helidon MP 2.0.0-M3 features: [CDI, Config, FaultTolerance, Health, JAX-RS, Metrics, OpenAPI, Security, Server, Tracing]
Session Contents Restored on 13 May 2020 at 10:00

@tomas-langer The two messages are different; one is for authentication, the other for authorization. They are certainly very similar (the first part of them at least) but actually convey different information.
I do not think we should suppress either of them arbitrarily. The checks are right next to each other in the code so we could combine the two log messages into one message if both checks fail. At least that way there would be only one log message occurrence, even though its contents would vary depending on if one, the other, or both checks failed.
Thoughts?

After a quick chat with Tomas I will not consolidate the two messages but I will reword them so the distinguishing phrase (authentication vs. authorization) appears earlier in the message to make it easier to notice.


Render figures and tables qmds even if rdas are missing

What is the feature?

Render figures and tables qmds even if rdas are missing. This is working for figures only, though; with tables, it says that indices_cap not found (analogous error isn't generated for figures qmd). Struggling to find the error.

How have you implemented the solution?

Checking for rdas with for loops for each figure/table rda

Does the PR impact any other area of the project, maybe another repo?

No

@Schiano-NOAA could you please take a look and see if you can find the bug?

@Schiano-NOAA could you please take a look and see if you can find the bug?

@sbreitbart-NOAA Looks like the change from main that fixed this issue wasn't pulled to this branch. You can either rebase from main or just change the following line in the DESCRIPTION file from true to false
https://github.com/nmfs-ost/asar/blob/0b3e0e5de974a5082d2a31cf1677a9da59728172/DESCRIPTION#L60

Config/testthat/parallel: true

Ah, thanks for this. I meant, can you help find the bug preventing the tables qmd from rendering? The figures one renders just fine. But with tables, it says that indices_cap not found (analogous error isn't generated for figures qmd).

@sbreitbart-NOAA Ahh I gotcha now. Yeah I can take a look in a minute

@sbreitbart-NOAA Is this PR finished?

@sbreitbart-NOAA Is this PR finished?

Yup! Will merge


feat: Add FieldState.loading.

Currently it will be set for free from useFormState that does:
const fs = useFormState({ config, init: { data: ..., map: ... } });

When data is undefined. This should work for our existing usages that typically do:
const fs = useFormState({ config, init: { data: query.data?.someFoo, map: ... } });

But I'll work on a follow up PR that allows passing the query in out-right, i.e.:
const query = useFoo();
const fs = useFormState({ config, init: { query, map: ... } });

I'd be wary of this data === undefined ---> loading paradigm. Say we update forms to have Skeletons or similar loading state, and our Query errored out. Just because data is undefined doesn't mean we should be signaling to the user that something is still in-flight.
const {
  data, // undefined
  error, // {...}
  loading, // false
} = useSomeBrokenQuery();

I'd hope for a toast notification or some other Error state, but the Form should not indicate anything is loading at this point.
I like "Clever" code so long as it's not "Too clever by half," and data->undefined->Loading!! crosses that line imo.
Even making forms aware of GQL Queries seems precisely 1 bridge too far. i.e. why not just...
const { loading, data } = useFoo();
const fs = useFormState({ config, loading, init: { data, map: ... } });

const fs = useFormState({ config, loading, init: { data, map: ... } });

Fwiw I do like renaming the init.input key to input.data so that that destructure-d data key lines up for init's input...

@TylerR909 was chatting with @bdow , I'd like to just try this for now with the rationale of:
a) nothing in the app actually uses loaded, so it won't immediately break/change anything,
b) the admitted heuristic of data === undefined --> loading gives all of our existing forms the notion of loading for us to experiment with
c) I'm going to do a follow up PR that allows passing in query / query.loading directly, b/c I do think that pattern is a good idea
d) I/we definitely reserve the right to revert/change any of ^ if the heuristic really is too naive/not worthwhile :-)
Basically just want to experiment and see what happens. I think it's maybe 50/50 that we rollback the data === undefined guess...


Updated Services to use projectRef Instead of annotations

Update service resources to use projectRef to stay inline with upstream guidance on project scoped resources.
https://cloud.google.com/config-connector/docs/how-to/organizing-resources/project-scoped-resources
https://cloud.google.com/config-connector/docs/how-to/organizing-resources/overview

addressed in #678


add VAT for Israel and Saudi Arabia

Adds 17 % VAT rate for Israel and 15 % for Saudi Arabia.
Sources:

https://www.haaretz.com/israel-news/business/.premium-value-added-tax-is-down-as-of-today-but-its-not-out-1.5404351
https://www.bbc.com/news/business-52612785

Thanks for the PR!


Join reordering v1

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw5Jsp2TrY3it9Yr/recBO5KhQYDifJZJk
PM: @awoods187
Eng: @andy-kimball

This work is happening in #4330


NODE_ARRAY: child node: is not a node (ArgumentError)

Error appear in 0.2.1 and 0.2.2.
Ruby version:
ruby 2.2.4p230 (2015-12-16 revision 53155) [armv7l-linux-eabihf]

Error:
gems/node-marshal-0.2.2/lib/node-marshal.rb:55:in `to_bin': dump_node_value, parent node NODE_ARRAY (ADR 0x79f278): child node 2 (ADR 0x1): is not a node (ArgumentError)
  Type: Fixnum (21), Value: 0
	from /home/imguser/.rvm/gems/ruby-2.2.4/gems/node-marshal-0.2.2/lib/node-marshal.rb:55:in `to_compiled_rb'
	from /home/imguser/.rvm/gems/ruby-2.2.4/gems/node-marshal-0.2.2/lib/node-marshal.rb:93:in `compile_rb_file'
	from /home/imguser/.rvm/gems/ruby-2.2.4/gems/node-marshal-0.2.2/bin/noderbc:62:in `<top (required)>'
	from /home/imguser/.rvm/gems/ruby-2.2.4/bin/noderbc:22:in `load'
	from /home/imguser/.rvm/gems/ruby-2.2.4/bin/noderbc:22:in `<main>'
	from /home/imguser/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `eval'
	from /home/imguser/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `<main>'

@lim-daniel, could you give some minimal example of Ruby code that causes such compilation error? NODE_ARRAY node of Ruby AST has some not very well documented features. May be something is not covered by gem tests.


Calculation error of drawing module

*I'm using a translator
1.Open drawing module
2.Enter ⁅(1+2𝑥)^(1/𝑥)⁆ in the expression
3.Hover over x=0 to display y=1
Expected behavior
x=0,y=e^2
or
lim(x->0) (1+2x)^(1/x) = e^2
Screenshots

OS Build: 10.0.22621.0
Architecture:x64
Application Version: 11.2307.4.0
Region:zh_CN
Dev Version Installed: False

I'm just reporting this problem.  I don't want to fix it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@puiching-memory The equation is undefined when x = 0.. As 1/0 is undefined.. also 1 + 2*0 = 1.. So 1 ^ 1/0 is an undefined equation.. or 1

In this issue, it is also worth considering other functions, such as sin(x)/2sin(x). There is also undefined at point 0. It should probably be added to write undefined for undefined values, but not 1 or something else.

Issue Description:
Open the drawing module.
Enter the expression "(1+2𝑥)^(1/𝑥)" in the editor.
Hover over x=0 to display y=1.
Expected Behavior:
The expected outcome should be either:
x=0, y=e^2
or
lim(x->0) (1+2𝑥)^(1/𝑥) = e^2
Environment Details:
OS Build: 10.0.22621.0
Architecture: x64
Application Version: 11.2307.4.0
Region: zh_CN
Dev Version Installed: False


Implement autoWebviewTimeout

Fixes https://github.com/appium/appium/issues/6420

Travis isn't running builds for some reason. All tests pass locally. Merging.


In-memory storage support

Here in GlueSQL main repo, the only supported storage implementation is SledStorage.
There are some plans to have more 1-tier storages in the repo.
First one is BTreeMap based in-memory storage.
Let's begin by supporting minimal requirements: InMemoryStorage which only implements Store and StoreMut.

ref. https://github.com/gluesql/gluesql/pull/331
@ever0de Thanks a lot! I forgot to link this issue to the PR.


Adds sendGame method - Issue #187

Adds sendGame support - Issue #187

creates junit tests for the new method
updates documentation
adds the entity CallbackGame which is used by the telegram api as a placeholder
and as of now holds no information
adds support for the inlineKeyboardButton that is supposed to be of CallbackGame type
adds the field replyMarkup to the Message example factory(Mothers.kt) in the tests
sets the default values of errorCode and errorDescription in Response Serialization data class
to null so it is not required to pass them when instatiating

Also ktlint changed a few imports in Mother.kt.
Please let me know if you have any questions, suggestions or changes. :)

The task telegram:apiCheck broke the pipeline.
I confess I have no idea what this was about, but calling ./gradlew telegram:apiDump as suggested in the error seems to have fixed the problem.
Perhaps this is something that needs to be documented somewhere.

Merging!


Unable to Assign a Tag Using "type: auto-tag-user"

Hi All,
I'm trying to test Cloud Custodian with AWS as the tagging policies seem perfect for one of our biggest niggles however through probably my own ignorance I'm not having any success, could anybody point me in the right direction?
This is the policy...
policies:
- name: ec2-auto-tag-owner
  resource: ec2
  mode:
    type: cloudtrail
    events:
      - source: ec2.amazonaws.com
        event: StartInstances
        ids: "responseElements.instancesSet.items[].instanceId"
      - source: ec2.amazonaws.com
        event: RunInstances
        ids: "responseElements.instancesSet.items[].instanceId"
      - source: ec2.amazonaws.com
        event: RebootInstances
        ids: "responseElements.instancesSet.items[].instanceId"
    role: arn:aws:iam::660910064092:role/custodian-auto-tagger
  filters:
    - tag:CreatorName: absent
  actions:
    - type: auto-tag-user
      tag: CreatorName
      principal_id_tag: CreatorId

The error in the Lambda...
11:56:24
[INFO]	2018-06-26T11:56:24.593Z	f304cba9-7937-11e8-80f6-7b22b832a002	Found resource ids: []
11:56:24
[WARNING]	2018-06-26T11:56:24.593Z	f304cba9-7937-11e8-80f6-7b22b832a002	Could not find resource ids

Let me know if there's anything more useful or helpful I can provide!
Cheers, Rich

what event is the lambda triggering on? RebootInstances doesn't have anything in the responseElements

I'm just trying to trigger it on a reboot of an EC2 instance (figured this was an easy trigger to test with), I can see the there is an invocation triggered in the metrics which generate the logs above.

yeah like I said, RebootInstances doesn't have much in the response elements, you need to adjust the ids section of the reboot instances id

Thanks @thisisshi, do you have any suggestions what I should change this to?

you can try requestParameters.instancesSet.items[].instanceId

@thisisshi - Nailed it, thanks man :)
One more question for you, why does this work!? What is requestParameters exactly and where could I have found this out for myself?

np, glad i could help. if you go into cloudtrail you can see the entire event payload for each event-- the ids part is just a jmespath expression on the event payload, it looks like this for the Rebootinstances call:
{
    "eventVersion": "1.05",
    "userIdentity": {
        "type": "AssumedRole",
        "principalId": "xxxxxxxxxxxx:xxxxxxxxxxxx",
        "arn": "arn:aws:sts::xxxxxxxxxxxx:assumed-role/xxxxxxxxxxxx/xxxxxxxxxxxx",
        "accountId": "xxxxxxxxxxxx",
        "accessKeyId": "xxxxxxxxxxxx",
        "sessionContext": {
            "attributes": {
                "mfaAuthenticated": "false",
                "creationDate": "2018-06-14T16:59:50Z"
            },
            "sessionIssuer": {
                "type": "Role",
                "principalId": "xxxxxxxxxxxx",
                "arn": "arn:aws:iam::xxxxxxxxxxxx:role/xxxxxxxxxxxx",
                "accountId": "xxxxxxxxxxxx",
                "userName": "xxxxxxxxxxxx"
            }
        }
    },
    "eventTime": "2018-06-14T19:44:30Z",
    "eventSource": "ec2.amazonaws.com",
    "eventName": "RebootInstances",
    "awsRegion": "us-east-1",
    "sourceIPAddress": "<IP_ADDRESS>",
    "userAgent": "console.ec2.amazonaws.com",
    "requestParameters": {
        "instancesSet": {
            "items": [
                {
                    "instanceId": "i-xxxxxxxxxxxx"
                }
            ]
        }
    },
    "responseElements": {
        "_return": true
    },
    "requestID": "xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx",
    "eventID": "xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxxx",
    "eventType": "AwsApiCall",
    "recipientAccountId": "xxxxxxxxxxxx"
}

other events will differ in what response elements/request elements are in the json payload so you'll need to  change ids accordingly

Ahhhhhh! I understand now, that makes perfect sense.
Thank you for all your help :)


add route to reroute codeofconduct to code-of-conduct

This pull request is a fix for https://github.com/girldevelopit/gdi-new-site/issues/138
As the commit says.

:+1: lovely!


(FACT-1018) Use Ruby from CMake for tests

Prior to this commit, tests would fail if cmake was invoked with Ruby
on the PATH, but make test wasn't.
Fix by finding the binary related to the Ruby environment custom facts
execute.

This is another reason to create a make check target, but I don't expect us to add more tests that expect a Ruby executable.

:+1:


chore: Make inactive posting buttons/fields for "posting disabled" courses

In some courses (with "Archived" status) posting in Discussions is disabled ("Posting in discussions is disabled by the course team"). On the Web and in edX app all make Post/Response/Comment options are hidden or inactive. We also need to disable (or hide) the "Create new post" button and the "Add a response" / "Add a comment" fields for these courses.
Make inactive posting buttons/fields for "posting disabled" courses #350
Increase tappable area size for sequence elements in Coursework #353

I think we need disable exactly these options: Post/Response/Comment but not hide. @saeedbashir  what do you think?

I think we need to specifically disable these options: Post/Response/Comment, but not hide. @saeedbashir what do you think?

I've discussed it with @moiz994 and he was okay with hiding the buttons. The only concern was about the banner(Posting in discussion is disabled by the course team) design, because we are not using this king of banner in the app. We might need approval from Sam about this, or maybe we need to highlight it so it will be on the design team radar and it will be redesigned post MVP.


Errors when handling files with CRLF

Steps

Clone v2.1.4
Run dart test on Windows

Expect
No error

Actual
Some test case failed

Debug Information
By default, cloned files in Windows are in CRLF line feed.
I found the result of C14n XML was not expected.
See: https://github.com/rikulo/xml-crypto/actions/runs/3917040048
Also, ninja_pem has a bug while handling CRLF PEM string => https://github.com/ninja-dart/pem/issues/1
And xml handles End-of-Line => https://github.com/renggli/dart-xml/issues/160

All dependencies were updated or applied with the workaround.


Geostory editing: investigate if it's possible to maintain the origin when switching between resource type selection

Switching between resource types the origin always resets to the first / default one, which is annoying since the user neds to reselect the oen previously selected.

This will need to be fixed in MapStore and not GeoNode

@giohappy @allyoucanmap I have a fix for this. Can we create an issue on MapStore so that I can push it there?

@allyoucanmap was this fixed in MapStore in the end?

@giohappy Elena identified an issue with my implementation. It's on my to-do list to work on

@giohappy @tonym3nsa
This should be fixed with a configuration change.
if you remove defaultService from mediaEditorSettings here

you should be able to maintain latest service selected while switching media type

closing in favour of https://github.com/GeoNode/geonode-mapstore-client/issues/864


Added support for multiple discord webhooks

Adds support to send notification to multiple discord webhook URLs

I'm also wanted to add an "advanced" section where you can add different web hooks for different type of events. i.e A web hook just for levelling, another for deaths etc...

I'll get it updated in plugin-hub in the next few days.


Config: Managed rules can no longer be updated

I was curious as to whether the list of AWS managed rules needed to be updated and when I ran the script pull_down_aws_managed_rules.py in the scripts directory, it produced errors;
ERROR:  Unknown label: 'Resource Types', line: '**Resource Types:** AWS::ACM::Certificate'
ERROR:  Unknown label: 'Resource Types', line: '**Resource Types:** AWS::ACM::Certificate'
ERROR:  Unknown label: 'Resource Types', line: '**Resource Types:** AWS::ElasticLoadBalancingV2::LoadBalancer'
...

I checked the git repo used by the script to retrieve the config info and the git repo was archived on June 15, 2023.  AWS doesn't want to maintain a separate list of this info per this article.
The rules that we have now are a year old and we could update/add to those rules as needed, but that's a little ugly.
I'll look into pulling this info from some other source.   I think I originally tried pulling those rules from a non-github source and it wasn't so easy.

I looked at the PR for originally adding the pull_down_aws_managed_rules.py and in one of the comments you mentioned checking boto3 to see how they handled managed rules.   I'll see how they're addressing the issue now.

I looked at the PR for originally adding the pull_down_aws_managed_rules.py and in one of the comments you mentioned checking boto3 to see how they handled managed rules. I'll see how they're addressing the issue now.

I presume that was without me actually doing any research - as it doesn't seem straightforward.
Maybe we should parse the HTML docs instead:
https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html

I looked at the PR for originally adding the pull_down_aws_managed_rules.py and in one of the comments you mentioned checking boto3 to see how they handled managed rules. I'll see how they're addressing the issue now.

I presume that was without me actually doing any research - as it doesn't seem straightforward.
Maybe we should parse the HTML docs instead: https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html

Yup, I was referring to your suggestion to look at boto3.    And yup, the HTML will have to be parsed.  I know I looked at doing that originally and chose not to, but I'm not sure why.  Although the HTML is more likely to change than the markdown docs and there's more extraneous stuff in the HTML so that means pulling down more info than needed, so those are some reasons I can think of.
I apologize for the delay in working on this problem ... I was hoping to get started on it this weekend.

Related PR: https://github.com/getmoto/moto/pull/6823


Znpcs Npc not showing up

When I create an NPC, it fails to create one and spits the error
https://pastebin.com/LpAB5iJ6
All the NPCS that were existing before disappeared aswell

There is a typo.
villiger -> villager
@Ztmmtz


[Missing OID in SNMP Profile]Cisco WLC

Device Vendor: Cisco
Device Model: Cisco 5500 WLC, Cisco Aironet 3800 WLC, Cisco CT5508K9 WLC, Cisco 5520 WLC, Cisco C980040K9 WLC
System Object Identifier (SysOID):

<IP_ADDRESS>.<IP_ADDRESS>.1069    # Cisco 5500 WLC
<IP_ADDRESS>.<IP_ADDRESS>.1926    # Cisco CT5508K9 WLC
<IP_ADDRESS>.<IP_ADDRESS>.2170    # Cisco 5520 WLC
<IP_ADDRESS>.<IP_ADDRESS>.2427 # Cisco Aironet 3800 WLC
<IP_ADDRESS>.<IP_ADDRESS>.2530    # Cisco C980040K9 WLC

List of critical metrics that you expect in the profile (does not need to be all-inclusive, just a general idea of your expectations):
PSU -

<IP_ADDRESS>.4.1.14<IP_ADDRESS>.5.0 For WLCs except 9800.
<IP_ADDRESS>.4.1.14<IP_ADDRESS>.4.0 - 9800 WLC

Temp -

<IP_ADDRESS>.4.1.14<IP_ADDRESS>.13.0 For all the WLCs.

If there is a New Relic technical support case related to this request, please provide the case number: 00104844
Please provide a public gist with a sanitized (sensitive information removed) SNMP walk of the device. Providing MIB files is not a substitute for an SNMP walk and failure to provide one here will result in delays for closing this issue. The output of these commands shows the "true story" of what a device will respond to in SNMP and is used to ensure that our profiles are efficient and accurate for your devices.
Gist Link:
https://gist.github.com/aditdeshpande10
Example SNMP walk commands:
# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

Add OIDs for Cisco WLCs to monitor Temperature and PS2 Operational Status

Please remove the stable label since I had added more OIDs 10 days ago


DBZ-8315 Add in-memory-clause support for sub-partition lists

https://issues.redhat.com/browse/DBZ-8315
Upstream PR https://github.com/antlr/grammars-v4/pull/4288

@Naros Applied, thanks


CupertinoNavigationBar trailing icons are too large. Hardcoded size 32

Steps to reproduce
Replace the app bar with a CupertinoNavigationBar
Widget build(BuildContext context) {
  return Scaffold(
    appBar: CupertinoNavigationBar(
      middle: Text('Trailing Icons'),
      trailing: CupertinoButton(
          padding: EdgeInsets.zero,
          onPressed: () {},
          child: const Icon(Icons.refresh),
      ),
    ),
  );
}

Expected results
Expect the icon to be the default size of 26.
Actual results
Actual icon size is hardcoded to size 32. https://github.com/flutter/flutter/blob/8bf1757b9ebf11ed92446be43aadca898290b811/packages/flutter/lib/src/cupertino/nav_bar.dart#L1375
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.6.1 23G93 darwin-x64, locale en-US)
    • Flutter version 3.24.0 on channel stable at /Users/victoruvarov/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/victoruvarov/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/victoruvarov/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    ✗ CocoaPods not installed.
        CocoaPods is a package manager for iOS or macOS platform code.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/to/platform-plugins
      For installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/victoruvarov/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.92.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.94.0

[✓] Connected device (2 available)
    • iPhone 15 Pro Max (mobile) • 9D1DA55E-2F01-4413-B362-AE615F49BB9E • ios        • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64 • macOS 14.6.1 23G93 darwin-x64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Seems like it is a problem with my icon pack or theme. investigating

Seems like it is a problem with my icon pack or theme. investigating

I don't think so. I also have this issue after updating flutter. The icons from CupertinoNavigationBar widget got bigger (trailing & leading) without changing any code except that I updated flutter to 3.24.0. Should reopen this issue.

Yes I have the same issue... idk what changed in the new flutter update

Please reopen this issue.

@victortive
Have you tried using size property ? By passing desired value to it, the icons size works as expected.

Without passing size:

By passing size: 26:

Digging through the release notes of 3.24.0 I found that issue is occurred by https://github.com/flutter/flutter/pull/149777/files#diff-3d511a4e44157af68704c02a6e5cb6986e840ef78171b2ec0fab64d85dfb4840R352.
The sample of change:
- data: IconThemeData(color: foregroundColor),
+ data: IconTheme.of(context).copyWith(color: foregroundColor)

In fact, previous versions of Flutter should have behaved like this, respecting the default value mentioned below:: https://github.com/flutter/flutter/blob/8bf1757b9ebf11ed92446be43aadca898290b811/packages/flutter/lib/src/cupertino/nav_bar.dart#L1375
But on previous versions, flutter didn't copy the values from IconTheme.of(context), causing the size: 32 values is being ignored. I reverted the change mentioned above to my local flutter code, and it worked like before. I also made changes to the size: 32 on nav_bar.dart to cross verify this, and the size property did effects the icon size of CupertinoNavigationBar.
To conclude, flutter works as intended now, but the icon size 32 is large for the CupertinoNavigationBar, a smaller icon size will be fine.

I have set the icon size, but I should not have to do that for each icon on each AppBar on each page. Is it assumed I need to update the icon size on my theme data? It doesn't make sense to do that either, since having a large icon by default seems wrong.

But on previous versions, flutter didn't copy the values from IconTheme.of(context), causing the size: 32 values is being ignored.

This seemed to have change with the listed PR, as now, IconTheme.of(context) helps to get the value which is 32 instead of previous one.
Although verifying on latest master does seem to show the icon size properly, ie, not too big, as compared to in stable version.
See below:

@victortive Try the same at your end using latest master to confirm.

The latest master branch looks good to me.

Good to know. Closing as this works as expected in master.


Pluvial overestimate

Original depth:

Depth after costgrow downscaling:

Here I already filtered out all the pixels less than 1cm.
Originally sent by Livio

The QGIS/original implementation of CostGrow was designed for classic/simple fluvial floods, where it's reasonable to assume some 'local bathtub' (i.e., horizontal projection) behavior and a single flooded body (i.e., the river). For pluvial flooding where there are lots of small pockets of water, like in your raster, both these assumptions break down:

To handle such situations, I suggest the python-native implementation FloodDownscaler2. This requires some setup and coding knowledge, but has more features like a decay function and a more sophisticated isolated flooding filter/selector.  See this script for an example of these parameters which yields the following:
raw 1m WSE:

terrain filter:

CostGrow w/  clump_method='pixel' and loss_frac=0.1

Obviously, you can play with the loss fraction to get as much spreading as you'd like (unlike most fluvial floods, pluvial floods need some limit or decay on the bathtub).
If there is enough interest, I may port these features over to QGIS as well.


Remove test execution from appveyor

What is the purpose of this change? What does it change?
We remove the test execution phase from appveyor
This is done because all we want appveyor to do is produce artifacts
Tests are covered already by Travis.
Furthermore tests can sometimes timeout thus failing appveyor execution, which we can't then seem to restart from the Appveyor UI
Was the change discussed in an issue?
No
How to test changes?
Not odo code related, so nothing to test :)

@anmolbabu Sure thing :)
I will go ahead and close this then


Adding individual support for Ross Mason

Added in https://github.com/opentffoundation/manifesto/pull/266


add support for any type of class (must extend TextView)

The link between the child of TextFieldBoxes and the TextFieldBoxes is established through an interface. This only for the focus change listener.
The class of the child is relaxed to be anything that extends TextView (simple read-only text view, auto-complete, EditText, etc.)
A sample is provided with a TextView.
This derived from my request in #43

I didn't want to be too intrusive, that's why I copy-pasted a lot of code, which was detected by the codeclimate checks.
I could improve the code quality if you think it would be useful.

Thanks, this looks cool 👍 :)
However in this case,  if one wants to use, for instance, an auto-complete as a child, then he must write his own class that implements EmbeddedTextField, then override setOnFocusChangeListener and setDefaultOnFocusChangeListener in order for the focus listener to work properly.
I can write a readme section for specific instructions. But I'm not sure if this is too complicated for someone who wants to customize.
How do you think?


How can I buy you a coffee (or tea or beer)?

This is a fantastic application. How can I thank you?

Thank you, this warms my heart ❤
I might set up a github sponsors, does that work for one time coffee donations?

I believe it does. You deserve it!

Hey @sethlivingston I've just joined GitHub sponsors, really appreciate the push and support! https://github.com/sponsors/dlvhdr

Thank you! ❤


style: bump to php-cs-fixer v3.66

Description
Update to latest php-cs-fixer
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Let's merge so other PR can sync, thank you @paulbalandan


previewAudioStream doesn't have any data

when i log and try to use the previewAudioStream it doesn't appear to have any data.
i am on 1.6.5 i downgraded per the following issue because latest wasn't working with nextjs
https://github.com/DeltaCircuit/react-media-recorder/issues/105#issuecomment-1316148883
it's possible i am doing something wrong the use of previewAudioStream not documented no example given.

Hi @DeltaCircuit, same here - both previewAudioStream and previewStream does not have any data on the latest 1.6.6 version as well.


build(package): acquire latest winpty

closes https://github.com/jwilm/alacritty/issues/1659

This is most naïve approach to resolve issue, just replacing endpoint. It could be bit more fancy to query release api to grab latest version always, but winpty-agent is relatively not frequently updated so thought hardcoded path would be ok.
One thing I also updated in here is https://github.com/jwilm/alacritty/compare/master...kwonoj:feat-wpty-agent?expand=1#diff-a7b0a2dee0126cddf994326e705a91eaR84 part - afaik i386 would point ia32 but current logic matches in opposite way? not sure if it's intended though.

Perfect, thanks for catching the architecture bug too :smile:.


remove unused pdb in remote values.

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

Needs approval from an approver in each of these files:

install/OWNERS [morvencao]

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

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

Needs approval from an approver in each of these files:

install/OWNERS [morvencao,sdake]

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

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
883cccba34949689bdf8e9f7d4b554f020435f8c
link
/test istio-pilot-multicluster-e2e

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


How to enable sorted array flag while writing a column

I want to understand how can we enable the flag "sortedArray" information in metadata while writing a row group or column
I am exploring parquet.thrift to understand more about metadata,
I observed a field in metadata which is related to below struct in parquet.thrift
I am wondering how to set these fields from parquet while writing a column or rowgroup
struct SortingColumn {
/** The column index (in this row group) **/
1: required i32 column_idx
/** If true, indicates this column is sorted in descending order. **/
2: required bool descending
/** If true, nulls will come before non-null values, otherwise,

nulls go at the end. */
3: required bool nulls_first
}

Reporter: Khasim Shaik
Note: This issue was originally created as PARQUET-1881. Please see the migration documentation for further details.

Khasim Shaik:
updated with a detailed description

Khasim Shaik:
@gszadovszky thanks very much for your inputs
Any other inputs from other implementations of parquet writer (parquet-cpp, etc)  are appreciated.

Gabor Szadovszky / @gszadovszky:
Thanks for the reference.
I did not find anything related to this in the parquet-mr code base. Even though this object is added to the thrift file 7 years ago it seems it is never written or used in parquet-mr. Meanwhile, it seems the Impala implementation writes this objects and probably uses it as well. I am not an Impala expert, though.

Antoine Pitrou / @pitrou:
Closing since this is a user question, there is nothing to track here.

Gabor Szadovszky / @gszadovszky:
Could you please more specific about this? I could not find anything in the repo named "sortedArray".

Antoine Pitrou / @pitrou:
Belated answer, but Parquet C++ doesn't use the SortingColumn information.

Khasim Shaik:
Refer this for more info,
https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift


Add resources to Competitive Programming topic

Some possible suggestions are - sites which teach algorithms, sites which interactively visualize different algorithms. Also, notebooks/question pages of ACM themed contests can be added.

i want to work on this issue ..how can i get info about that ?

@shankarjavle01, please contribute, this issue is open.

From personal experience, CodeWars is the best for absolute beginners who want to slowly develop over time. HackerRank can be used for the more advanced programmers

Hey, is this issue open I would like to contribute?

Hey @AryanNayak,
you can add to this issue.

@kendoriddy Please make a fork and after adding, make a PR. We’ll review after that.

Hello , is this issue still not solved ?Can i work on it

https://github.com/vicky002/AlgoWiki/pull/378#issue-1104070025

@prasadasabe Feel free to contribute.

Is this issue still open to contribution? @Byte7

is this issue still open to contribute @Byte7

Hey @Byte7 ,
Is this issue open? I would like to contribute can you please assign it to me?

Hey, @Byte7 I would like to contribute some books and resources related to Competitive Programming including the top-rated book "Competitive Programming 3 The New Lower Bound of Programming Contests" by Steven Halim. May I?

https://www.udemy.com/course/competitive-programming-algorithms-coding-minutes/
It is the best resourse out there,it covers all the  topics from basics like time complexity,spanning tress,dp etc.
it's paid but you can get it for less in sale and it's worth it....

@Byte7 Kindly review and merge my request

Hey there... Is this issue still open? It would be great if you assign it to me?

hey
Is this Issue still open?,
I would like to Share Few Books and Links about Competitive Programming

Can I work on this issue ?

what are the issues that i can contribute on

@Byte7 is this issue still open? I would like to contribute.

@Byte7 Hey, is this issue still open? I'd like to make some contributions.


Real pull request

@fkb5105 I left a comment in Canvas about this too: This is better, but there's one problem: You saved to a different directory than the one you need for this assignment. You don't want to be saving this in a new directory that you create. The assignment is for you to save your XML Exercise 3 in the directory I indicated: So, just save your file in the XML3-Homework folder, add, commit, and push to your branch one more time!
You don't even need to open a new Pull Request--your new commit and push will be added to this one.
Why is this important? In real time on a project, you will need to be working within an existing directory structure shared by a team. You need to work in a shared directory space and be mindful of the structure the team has agreed on, rather than creating new directories which will confuse people! Make sense?

@fkb5105 I have merged in your pull request and deleted the Ex3FelipeBranch from the remote repo!
On your local computer you should now:

checkout the main branch
git pull (on the main branch to get the fresh files there, including the ones i merged from your branch)
delete the local Ex3FelipeBranch


Cannot add placement constraints in config

I have different public_agents to selectively expose services on different networks.
Id' like to specify placement constraints for different marathon-lb instances.
Currently, constraint property is not available.
Thanks for your attention

Currently since marathon-lb is just another marathon app, you can specify any constraints in the constraints field of the deployment. I'm not sure what the status was at the time of reporting this issue. Apologies for the delay.

I have a question.
The setting below is my marathon-lb json file
.
{   "marathon-lb": {     "auto-assign-service-ports": false,     "bind-http-https": true,     "cpus": 4,     "haproxy_global_default_options": "redispatch,http-server-close,dontlognull",     "haproxy-group": "external",     "haproxy-map": true,     "instances": 1,     "mem": 4096,     "minimumHealthCapacity": 0.5,     "maximumOverCapacity": 0.2,     "name": "/system/marathon-lb-external",     "parameters": [],     "role": "slave_public",     "strict-mode": false,     "sysctl-params": "net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_fin_timeout=30 net.ipv4.tcp_max_syn_backlog=10240 net.ipv4.tcp_max_tw_buckets=400000 net.ipv4.tcp_max_orphans=60000 net.core.somaxconn=10000",     "container-syslogd": false,     "max-reload-retries": 10,     "reload-interval": 10,     "template-url": "",     "marathon-uri": "http://marathon.mesos:8080",     "secret_name": "",     "constraints": [       [         "type",         "CLUSTER",         "system"       ]     ]   } }
but It does not work.
Did I set it wrong?


FIX Issue #8 missing filters molecule_header & molecule_from_yaml

As of molecule v3, ansible molecule filters have been removed.

ansible-community/molecule#2869
https://github.com/ansible-community/molecule/releases/tag/3.1.1

FIX

A better approach would be to modify the digitalocean cookiecutter template to enhance user experience.

last weekend i was able to fix the molecule-ec2 module. the errors on module are different. It's going to take sometime to fix these. hopefully next weekend 🤞 🙏


upgrade required python version to 3.10

utils.py => structural pattern matching introduces in 3.10 https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching

Hi @yusufadell,
Wow, that was fast. We haven't even finished fully publishing this yet. I'm super excited to see that people are already proposing improvements. Give me today. I'm going to write documentation today. Once I'm done with that. I'll look into your pull-request 👍
Appreciate the interest and support!
Joe

OK, I'm done with that. Now, you seem interested in the parser, right? Might I ask why? Maybe we should consider documenting it. It's a powerful little thing, I'm actually quite proud of it. However, I never thought anyone would appreciate it, since low-level APIs are rarely used.

Oh, and sorry for the history change. I simply wanted to add my teammates as co-authors to the first commit.

Might I ask why? Maybe we should consider documenting it...However, I never thought anyone would appreciate it, since low-level APIs are rarely used.

Hi @codingjoe
clarifying reason behind adding it that they introduced to serve internally the input into the document, building up the document tree. as a result it will ease data extraction from HTML
enables you to have all the information of a webpage for furfure manipulation.

Interesting, should we maybe publish the parser separately?


Fixing silent failure of missing required options

Fixes #60.

+1

Great - thanks!
:+1:

Excellent, will this be on npm soon?

Just published - v1.4.1


add team.externalTeams.list sample json

Generated this using the API tester after connecting a production grid workspace to a production standalone workspace.

Thanks, some details will be overwritten by automated tests later but there is no risk for merging this for now

I need to start adding the integration tests / the right way to do this!


Update GitHub pages

I was just going to do this myself when I realized that you already sent a PR for it, with more updates as well. Thanks a lot!


option to hide curl from swagger ui

what?
The following PR adds the option to hide the curl response.
why?
For long requests, either long vectors, or just multiple entries. The curl response covers the whole page, it's unpleasant for a show case, a client testing the api, or as a developer u need to scroll.
How?
adding a wrap component as a pluging in SwaggerUIBundle

@sadakmed could you mark the discussion as answered if my solution was acceptable?
https://github.com/tiangolo/fastapi/discussions/3853

I suggest that the PR be slightly more generic, so people can add pre_js and then add in custom options into swaggerui  similar to how Folium wraps leafletjs https://github.com/python-visualization/folium

add pre_js and then add in custom options

didn't quite understand this, do u suggest that the input should be a str of js code?

The idea I was suggesting is to allow someone to inject custom js (to allow plugins) then they could refer to them in the swaggerui js initialization options.

Thanks for the interest @sadakmed! :cake:
And thanks for the discussion everyone. :coffee: :cookie:
This is something that not necessarily everyone would need, and it would probably be easier to teach how to implement it manually than to have internal support for it, which also means that everyone that wants to learn FastAPI would have another parameter to learn and understand.
And especially because Swagger UI could be so customizable and there are so many things that could be modified, I would rather not add more abstractions on top to tweak it through FastAPI. I think that for cases that need customization there, it makes more sense to handle them directly.
Given that, I'll pass on this one, but thanks for the interest!


Zipcode search only works when a partial number/value is entered

When searching by zip code, if the entire zipcode is entered into the top search box the search doesn't work.  If only the first few numbers are entered and a value is selected from the drop down menu, the search works.

@ladytmarie not sure if I fully understood this, but I added a listener on keyup for users pressing enter so that people can search a zip code without having to select it from autocomplete first. Is that what you were referring to?

Yes, now when I type a complete zipcode and hit enter the search works without having to select it from autocomplete first.
This issue is resolved.  Thanks.


Speed in the function

https://github.com/crosire/scripthookvdotnet/blob/069629e02b4ce289b3c1d0615ede478569305cf3/source/scripting/Tasks.cs#L167
Instead of the speed being 1f by default, can we have a function parameter "float speed",
so that we can use that argument in
Function.Call(Hash.TASK_FOLLOW_POINT_ROUTE, _ped.Handle, speed, 0);

Done.


Visual Studio .sln file not generating

Hi, I'm following the "Getting Started" page and I'm already stuck at step 1. I have cULR and 7-zip installed (on my windows 10 system) and when I run the  "./build.sh generate -configuration Release -platform x64" command from inside the build folder (via PowerShell, which I ran as Admin), it downloads some files for a second then closes but there is no CppSharp.sln anywhere on my computer. I'm trying to use CppSharp for a school project and have asked my team of 7 other people to try the same thing and no one is able to generate the .sln file.

Please paste the output of the build command.

Please paste the output of the build command.

Well, that was enough to solve the issue for me. I had a screen recording from last night of the output that I watched frame-by-frame to see what it said but it would always close too fast. This time I recorded in a higher fps to see if I could catch it and I saw the message saying "unknown MSVC compiler, please use VS command prompt."
The issue is I was using regular cmd or powershell, not the terminal within VS, but the output was closing too fast for me to see that error. Thanks!


Add translations for Rent Range

Pull Request Template
Issue

Closes #653

[x] This change addresses the issue in full

[ ] This change addresses only certain aspects of the issue

[ ] This change is a dependency for another issue

[ ] This change has a dependency from another issue

Description
Adds a translated string for "Rent range" in all supported languages. Translations were generated with Google translate.
Type of change

[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)
[ ] Prototype/POC (not to merge)
[ ] This change is a refactor/addresses technical debt
[ ] This change requires a documentation update
[ ] This change requires a SQL Script

How Can This Be Tested/Reviewed?
Open the listings filter dialog:
Before:

After:

Describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration.
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 reviewed the changes in a desktop view
[x] I have reviewed the changes in a mobile view
[ ] 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 tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have assigned reviewers
[ ] I have updated the changelog to include a description of my changes
[ ] I have run yarn generate:client if I made backend changes
[ ] I have exported any new pieces in ui-components

Trying to re-run checks


Delay in rendering frame while resizing

In the examples for Smithay client-toolkit, when I resize the example windows (for example sample_window), there is a noticeable delay in rendering. Is there any fix/workaround?

Have you tried a release build? The default examples are pretty slow because they set each pixel individually.

Yes, it has significantly reduced the lag. Thank you very much.


Use conan for aws-sdk-cpp dependency

Is your feature request related to a problem? Please describe.
I managed to submit aws-sdk-cpp as an official formula for the Conan center index making easy to use the SDK for those using Conan as package manager. I'll be happy to have your feedback on this work and see how it could be improved (it is quite resource consuming for the continuous integration for example).
Describe the solution you'd like
Advertise the conan dependency option in the readme.
Describe alternatives you've considered
The alternative I've considered is that this issue won't be triage nor responded despite the time I invested in making this work. Hopefully having conan in the issue title might help someone interested in using conan to find this issue and use it as-is which would already make me happy! 😜
Additional context
Nope

Hi @MartinDelille ,
So here's the thing, while it's really cool that you manage to submit an official formula, the problem with adding these to our Readme is that then I'd be responsible about maintaining it, and I just don't have the bandwidth... it's kind of the same reason we don't really recommend vcpkg even though the SDK is "available" there.
Sorry this isn't the answer you were hoping for but I don't think we can take on this kind of requests.
I could maybe pin the issue for a while to make it more visible , that way I could close it but still have it around?

I totally understand the low bandwith issue! Let's pin it.


Added section for removing the tool tip

Summary
Added section for removing the tool tip
Fixes #7841

Thanks for making the additional change, @amaldevv. I'll merge your PR now. Your updates should be live on docs.microsoft.com in the next day or two.


Cloudflare cache backend

This pr:

adds CloudFlareCacheBackend which uses CloudFlare's Workers KV Namespace API
adds changelog

resolves #30

Please also add example to GUIDE.md

I changed CloudflareCacheBackend to accept headers argument instead of api_email and api_key, to let the user choose which security headers to use.


[SPARK-15615] [SQL] Support Json input from Dataset[String]

What changes were proposed in this pull request?
[SPARK-15615] add new json function that takes Dataset[String] as input and deprecate the existing RDD based functions
How was this patch tested?
Changed the existing unit tests

Can one of the admins verify this patch?

I guess it would be nicer if the title has the form such as [SPARK-15615][SQL] ... according to https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark.

I just fetched this PR and run tests. It seems "SPARK-7565 MapType in JsonRDD" test is being failed. Maybe this should be solved. Also, if json(jsonRDD: JavaRDD[String]) is being deprecated, then I think its usages should be changed to the new ones in this PR or in a follow-up.
BTW, I guess it is arguable to add a new API. For me, I feel it is a bit questionable to add this API because there is already rdd one, json(jsonRDD: RDD[String]). This might be able to be easily down like the blow:
json(jsonDataset.rdd)

I guess APIs would not be added only for consistency.
Maybe I think we should wait for a committer's call.

@HyukjinKwon this change in input parameter relates to https://github.com/apache/spark/pull/13300. There was a request there to treat Dataset[String] as a preferred input to RDD[String].

@HyukjinKwon all the JsonSuite tests pass for me on my laptop - would it be feasible to get this reviewed again?

Can one of the admins verify this patch?


Fix join paths again

🦟 Bug fix
Summary
PR #209 broke a different part of fuel-tools, this time in ModelIdentifier. Strings with https://server would become https:/server. Note the missing second slash. This is an invalid URI.
Checklist

[X] Signed all commits for DCO
[X] Added tests
[X] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[X] codecheck passed (See contributing)
[X] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

LGTM, but let's make sure that windows turns over green.


Splint Armor of Survival has no base AC stat

How to report issues
The versions of Solasta and this mod.
Solasta Version 1.4.33 Public
Unfinished Business <IP_ADDRESS>-
A list of other mods you have installed [you shouldn't have any].
Unfinished Business
A short description of the bug.
updated Survival Armor of splint armor has no base AC.  Also, having the armor in the inventory causes crashes or difficulty loading.  Easily avoided, but could be fixed hopefully.
I am also curious where to suggest options to be added for Unfinished Business? Please advise.
This isn't hindering my gameplay, but could hinder others.
A step-by-step procedure to reproduce it.
learning the recipe will show the armor when inspected in your crafting window without AC.  I would not suggest creating it as it causes problems after as mentioned above.  If you want to reproduce the problem, craft the armor & equip it.
The save, character and log files.
HINT: Check the folder C:\UsersYOUR_USER_NAME\AppData\LocalLow\Tactical Adventures\Solasta for the info we need.
Github is refusing the drag & drop files options for those requested (character, saves). I zipped them to allow for upload.
Player.log
Dragonborne Socrata 7.zip
Eirini.zip
Ianthe.zip
Kava.zip
Sora.zip
Stasia.zip
Thava.zip

Good catch. In fact all splint armors lost their armor definition. Will check why.

This isn't UB. It looks like the base splint armor blueprint is missing the Armor Definition form. I shared with the game developer and will add a fix for that in the mod.