feat: new command shield:extend

Description
This PRs provide a new command shield:extend to easily extend any controller.
The Command's Usage
shield:extend

The Command's Options
protected $options = [
        '-i' => 'The index of shield controllers to be extending in your app.',
        '-f' => 'Force overwrite ALL existing files in destination.',
    ];

Example:
this@PC playground % php spark shield:extend

CodeIgniter v4.5.3 Command Line Tool - Server Time: 2024-07-09 05:32:31 UTC+07:00

List of the controller that will be extend:

  [1] LoginController
  [2] MagicLinkController
  [3] RegisterController

Please select one of these (1/2/3) : 3

  Created: APPPATH/Controllers/RegisterController.php
  After extending, don't forget to change the route. See https://shield.codeigniter.com/customization/route_config

Example when the controller already exists:
this@PC playground % php spark shield:extend

CodeIgniter v4.5.3 Command Line Tool - Server Time: 2024-07-09 05:30:57 UTC+07:00

List of the controller that will be extend:

  [1] LoginController
  [2] MagicLinkController
  [3] RegisterController

Please select one of these (1/2/3) : 3
  File 'APPPATH/Controllers/RegisterController.php' already exists in destination. Overwrite? [n, y]: y

  Created: APPPATH/Controllers/RegisterController.php
  After extending, don't forget to change the route. See https://shield.codeigniter.com/customization/route_config

Or we can use the full option as below:
this@PC playground % php spark shield:extend -i 3 -f

CodeIgniter v4.5.3 Command Line Tool - Server Time: 2024-07-09 05:27:18 UTC+07:00

  Created: APPPATH/Controllers/RegisterController.php
  After extending, don't forget to change the route. See https://shield.codeigniter.com/customization/route_config

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

Also, please fix errors in GitHub Action checks, and add test code.


Unable to bind to attached property from style

Repro commit here:
https://github.com/AvaloniaUI/Avalonia/tree/repro/binding-attached-property-from-style
xaml:
<Window xmlns="https://github.com/avaloniaui" MinWidth="500" MinHeight="300"
        Title="Avalonia Control Gallery"
        Icon="resm:ControlCatalog.Assets.test_icon.ico?assembly=ControlCatalog"
        xmlns:local="clr-namespace:ControlCatalog">
    <Window.Styles>
        <Style Selector="local|MainView">
            <Setter Property="local:MyControl.Proportion" Value="{Binding Proportion}" />
        </Style>
    </Window.Styles>
    <local:MainView/>
</Window>

throws an exception https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Base/AvaloniaPropertyRegistry.cs#L126
hope its an easy fix :)

@grokys @jkoritzinsky This is big thing missing for the Dock control, more detail is in this issue https://github.com/wieslawsoltes/Dock/issues/47


Train-Test-Split + define outputs needed from prediction models

Train-Test Split completed. Metrics required to evaluate different prediction models in progress

MAPE as metric for our models to make it more comparable across models


change aria-owns to data-owns

As per R&D in https://github.com/krautzource/aria-tree-walker/issues/12#issuecomment-789578196, we don't actually need aria-owns since our tree root does not own children that are not descendants (even if some descendants own non-descendants of theirs, they're all descendants of the tree root which is sufficient).
Using custom attributes allows us to simplify things as we no longer have to worry about (DOM-)unique IDs.
This is a breaking change.

1.4.0 is out. Time to do this.


Pass oom_score_adj related integration test

Pass "process_oom_score_adj/process_oom_score_adj.t".
The oom_score_adj is implemented already.
    // if Out-of-memory score adjustment is set in specification.  set the score
    // value for the current process check
    // https://dev.to/rrampage/surviving-the-linux-oom-killer-2ki9 for some more
    // information
    if let Some(ref resource) = linux.resources {
        if let Some(oom_score_adj) = resource.oom_score_adj {
            let mut f = fs::File::create("/proc/self/oom_score_adj")?;
            f.write_all(oom_score_adj.to_string().as_bytes())?;
        }
    }

However, it is not play nice with prctl dumpable, so the operation is actually not having the effect. Likely we have to understand how dumpable and oom_score_adj are interacting.
Ref: https://github.com/opencontainers/runc/blob/ba7a87730dd05937cb1c7f33528b1d460e620434/libcontainer/nsenter/nsexec.c#L651

The goal of this issue is to uncomment this line and pass the integration test.
https://github.com/containers/youki/blob/2d02d22caf2763dd249d943f95d90374618eb10f/integration_test.sh#L64

@utam0k I will like to work on this issue

@Onyinye91-ctrl sure!


AzureWebJobsTraceWriter sink does not log Debug and Verbose level messages

I have setup an Azure function using the AzureWebJobsTraceWriter sink with the following code using NuGet package v1.0.22:
var logger = new LoggerConfiguration().MinimumLevel.Verbose().WriteTo.TraceWriter(log).WriteTo.Trace().CreateLogger();

logger.Verbose("Verbose");
logger.Debug("Debug");
logger.Information("Info");
logger.Warning("Warning");

The Trace sink logs all level messages:
2017-12-12 13:42:48.354 +01:00 [Verbose] Verbose
2017-12-12 13:42:48.367 +01:00 [Debug] Debug
func.exe Information: 0 : 2017-12-12 13:42:48.368 +01:00 [Information] Info
func.exe Warning: 0 : 2017-12-12 13:42:48.372 +01:00 [Warning] Warning

The AzureWebJobsTraceWriter only logs the Information level and higher messages:
[12/12/2017 12:42:48 PM] 2017-12-12 13:42:48.368 +01:00 [Information] Info
[12/12/2017 12:42:48 PM] 2017-12-12 13:42:48.372 +01:00 [Warning] Warning

I am not aware that I need to configure something else?

PS: the logging seems to work in the Azure Function environment, but not in the local emulator. Any idea why?

To see Debug level logs in the emulator, please set "consoleLevel" to "verbose" in host.json.
https://docs.microsoft.com/en-au/azure/azure-functions/functions-host-json has more info.

Wonderful, thanks, that works!


actonc type inference problem for dependent modules

It seems there is some problem with type information for dependent modules.
In this case I'm writing on a netconf.act module, which is using the process module.

remove all output
compile netconf.act module, which imports process module

➜  acton-m2 git:(netconf-using-ssh-process) ✗ rm -rf stdlib/out; dist/bin/actonc stdlib/src/netconf.act --verbose
## sysPath  : /Users/kll/terastream/acton-m2/dist
## sysTypes : /Users/kll/terastream/acton-m2/dist/types
## sysLib   : /Users/kll/terastream/acton-m2/dist/lib/rel
## projPath : /Users/kll/terastream/acton-m2/stdlib
## projOut  : /Users/kll/terastream/acton-m2/stdlib/out
## projTypes: /Users/kll/terastream/acton-m2/stdlib/out/types
## projLib  : /Users/kll/terastream/acton-m2/stdlib/out/rel/lib
## binDir   : /Users/kll/terastream/acton-m2/stdlib/out/rel/bin
## srcDir   : /Users/kll/terastream/acton-m2/stdlib/src
## modName  : netconf
Compiling process.act for release
Compiling net.act for release

******************** Type error
Cannot infer process.ProcessAuth < ProcessAuth

It does indeed realize process.act is a dependency and compiles it first
Then compiles net.act, which is also a dependency
Finally getting to netconf.act where we error out

If I explicitly build process.act first, it works:
➜  acton-m2 git:(netconf-using-ssh-process) ✗ rm -rf stdlib/out; dist/bin/actonc stdlib/src/process.act --verbose && dist/bin/actonc stdlib/src/netconf.act --verbose
## sysPath  : /Users/kll/terastream/acton-m2/dist
## sysTypes : /Users/kll/terastream/acton-m2/dist/types
## sysLib   : /Users/kll/terastream/acton-m2/dist/lib/rel
## projPath : /Users/kll/terastream/acton-m2/stdlib
## projOut  : /Users/kll/terastream/acton-m2/stdlib/out
## projTypes: /Users/kll/terastream/acton-m2/stdlib/out/types
## projLib  : /Users/kll/terastream/acton-m2/stdlib/out/rel/lib
## binDir   : /Users/kll/terastream/acton-m2/stdlib/out/rel/bin
## srcDir   : /Users/kll/terastream/acton-m2/stdlib/src
## modName  : process
Compiling process.act for release
## sysPath  : /Users/kll/terastream/acton-m2/dist
## sysTypes : /Users/kll/terastream/acton-m2/dist/types
## sysLib   : /Users/kll/terastream/acton-m2/dist/lib/rel
## projPath : /Users/kll/terastream/acton-m2/stdlib
## projOut  : /Users/kll/terastream/acton-m2/stdlib/out
## projTypes: /Users/kll/terastream/acton-m2/stdlib/out/types
## projLib  : /Users/kll/terastream/acton-m2/stdlib/out/rel/lib
## binDir   : /Users/kll/terastream/acton-m2/stdlib/out/rel/bin
## srcDir   : /Users/kll/terastream/acton-m2/stdlib/src
## modName  : netconf
Skipping process.act (files are up to date).
Compiling net.act for release
Compiling netconf.act for release
➜  acton-m2 git:(netconf-using-ssh-process) ✗

Why? Does it fail to load / keep some data from the compilation of process.act that is later required?

@plajjan to retry and see if this is fixed after deactorizer merge!

I can't reproduce this anymore so I think it's fixed. Will close this issue.


feat(ui): Add freightline

Currently color selection is done by iterating on the Stage ID and finding the first numerical digit; this is used to pick one of 10 colors.

Some feedback, can be addressed now or later:

If we don't have 10 freight, then don't show extra boxes
We shouldn't limit it to 10. Maybe base it on width of browser
The "Stages" title feels out of place. Maybe it should be moved under freightline

I noticed the order of the freight keeps flapping. Do you know why?
https://github.com/akuity/kargo/assets/12677113/c1cd29a1-c772-4449-a97f-424665911515

@jessesuen  I think the flapping was happening because I had not sorted by first seen timestamp. I just pushed some changes that included sorting.
I also improved the layout:

Most recent update:

Added pinning feature,

and links to Git commits:


cli: add system_dependencies to manifest.json

@vrmiguel Can you add the publish piece to this PR as well?


docs(social-media.md): create new doc to community-resourse

Social Media Guidelines
#128
Steps to test

Run project locally
Go to community resourse

CheckList

[ ] Follow proper Markdown format
[ ] The content is adequate
[ ] The content is available in both english and spanish
[ ] I Ran a spell check

No hacer merge aun, estamos trabajando en el


delete reference in Guard

Iterator in table entries is not easy to solved because of lifetime annotation in the codebase.
I would like to start to delete unnecessary lifetime annotation in struct definition so that it is easier and more clear to reason about the lifetime of data structure without sacrifices the safety and performance.
This PR deletes lifetime annotation in Guard.

I am OK with this. We avoid unnecessary Arc clones by embedding the page table and the page files into the version.
@w41ter What do you think?

I am OK with this. We can avoid unnecessary Arc clones by embedding the page table and the page files into the version in the future. @w41ter What do you think?

Embedding a unrelated structures into Version could be confusing for those who read it later, so I think should keep it simple here. We can optimize it when a profier proves that there exists a bottleneck.

@ming535 The check clippy stage is failed, please run cargo clippy --workspace --tests --all-features -- -D warnings and fix it.


Add test_id for vm obey disk verification limits

Signed-off-by: Kedar Bidarkar<EMAIL_ADDRESS>
What this PR does / why we need it: Add test_id for vm obey disk verification limits
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm

/retest

/approve


The home page should mention --inline-diffs along with the screenshot

http://mochajs.org/#diffs shows output of mocha --inline-diffs, which is not the default (since #862?).
I needed inline diffs and spent some time figuring out what I had done wrong, a pointer to --inline-diffs near the screenshot would be very helpful.

+1
I was confused too...  the diff report is "the money shot", and (for whatever reason) it is not the default behavior.

We updated our docs accordingly, thank you.


Problem with Teensy LC

I tried making the minimal changes to convert from Snooze v5.5.1 to v6.0.3 Beta on a Teensy LC but it didn't work. I get several warnings about initialization order, and when running it hangs after the first time I call setTimer and then either deepSleep or hibernate.  The only driver I'm using is SnoozeTimer.
If you've tested on a Teensy LC and it works, I'll try to figure out what I'm doing wrong. If not, maybe I should wait until it's out of beta.

Did you update to the latest Teensyduino?

I'm running Teensyduino 1.31-beta1.

Ok let me see whats going on.

Wait that version of Snooze v6 is old did you try to download the latest one v6.2.2?

Sorry, it is v6.2.1. I grabbed it from here this morning.

It works with the LC I have here with the Timer driver. Can you post code that shows this problem?

Sure, done, but it's probably bigger and more complicated than you want to look at. It seems to hang at the first call to shownum(), which calls hibernate_delay(), which calls Snooze.hibernate(), which never returns. If you don't spot something obvious that I'm doing wrong, I can try to make a smaller test case. In the meantime, maybe send me the test code you used for the timer driver?
tempsensor.txt

I just used the example hibernate_all_wakeuos.ino, no change needed. If you see the led blinking every 5000ms then hibernate sleeping works and must be something with your program.

It took quite a bit of experimentation by inserting pieces of my code into yours, but I think I found the problem. Change the hibernation delay in your test program from 5000 msec to 25 msec, and then it never comes out of hibernation.

ok, I know whats going on now. I'll have fix today.

Sorry dropped the ball on this and got caught up in some Audio Library stuff, I'll fix this tonight and update it here.

duff2013: "It just checked, this version 6.2.3 works with the LC. "
It does indeed. Thanks!


installation failure Imported target "g2o::solver_eigen" includes non-existent path

I tried to compile the code using the command
colcon build --symlink-install --cmake-clean-first  --parallel-workers 12  --ament-cmake-args -DPYTHON_EXECUTABLE=$MY_PYTHON_ENV
I keep on getting this error message
`This may be promoted to an error in a future release of colcon-override-check.
Starting >>> lidarslam_msgs
Starting >>> ndt_omp_ros2
Starting >>> ros2_kitti_publishers
Starting >>> turtlesim
Finished <<< lidarslam_msgs [15.5s]
[Processing: ndt_omp_ros2, ros2_kitti_publishers, turtlesim]
Finished <<< turtlesim [50.2s]
Finished <<< ros2_kitti_publishers [55.4s]
[Processing: ndt_omp_ros2]
Finished <<< ndt_omp_ros2 [1min 26s]
Starting >>> graph_based_slam
Starting >>> scanmatcher
--- stderr: graph_based_slam
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/local/lib/cmake/g2o/g2oConfig.cmake:4 (find_dependency)
CMakeLists.txt:33 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Error in CMakeLists.txt:
Imported target "g2o::solver_eigen" includes non-existent path
"/usr/local/include/g2o/solver_eigen"

in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not
provide.

CMake Error in CMakeLists.txt:
Imported target "g2o::solver_eigen" includes non-existent path
"/usr/local/include/g2o/solver_eigen"

in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not
provide.
`

Perhaps you compile and install g2o?
If you are, that's the problem, install ros-<ROS_DISTRO>-libg2o with apt.


Fixed/remade compat for Gastronomy

Waiting for MP API update, as well as Multiplayer update to include support for the new API.

And as a side note - making this a compat with reference to original mod was require due to having to extend the ThingFilterContext record. We technically could have used a different type there (like object or IExposable, but it needs a SyncWorker which will work for our type.
And now that I think about it, I could have worked around it by making a wrapper class to the object we store there. But since the compat is already done, I'm not gonna go digging in there right away.

Updated Gastronomy compat. Again the case of a compat waiting for API update.
Requires CashRegister to also be referenced.
Now uses the changed API introduced by Zetrith, instead of the (now outdated) ones made by me.
Includes a couple of fixes. It may possibly need more in the future, but for now it seemed stable (unless something changed recently with the mod).

Can it be merged?

Still needs the new API for thing filters.

Should be safe to merge. Also, just in case - merged master branch in.


ImportError: No module named requests

Some research suggests this is an external dependency which also needs to be installed. Clarify in the readme that this is a dependency, and how to get it.

It's in setup.py install_requires.

That's nice, but the readme also doesn't tell me I need to run setup.py. :P

setup.py is a standard for python projects (https://docs.python.org/3.6/distutils/setupscript.html).

The documentation specifies that installation instructions should be included:

Additionally, the distribution will contain a setup script setup.py, and a file named README.txt or possibly just README, which should explain that building and installing the module distribution is a simple matter of running one command from a terminal:

python setup.py install

Even if said documentation did not say so, it seems like a good idea to actually include full installation instructions.

I agree we should make it extremely obvious. The SDK could very well be one of the first libraries a first time matrix hacker comes across and it would make sense for us to be as helpful as possible.

I am a first time Matrix Hacker/new to python. It's very non-obvious, and on top of that it's a pain to get up and running in Google App Engine. Can't you use Pip?

I've added installation instructions to the README. Let me know if it's still unclear.


[ VS2017 RC ] Parse errors not going away when the code is fixed

VS2017 RC master
Parse errors are not going away when the code is fixed
Repro steps
Provide the steps required to reproduce the problem

Start with this in a script:

Edit to this:

Expected behavior
The error should no longer show at the end of the script
Actual behavior
The error is still there
Known workarounds
It's very problematic as the wrong red squigglies end up all over your script

Isn't it duplicates https://github.com/Microsoft/visualfsharp/issues/1925?

@vasily-kirichenko Yes it is.  I'm looking at it now.


Error in launching (Scientific Linux 6)

I just installed for the first time atom on my system.
when I try to launch it for the first time I get the error:
usr/share/atom/atom: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory
Since I'm quite new to SL6, I could use some help figuring out what is the issue and how to solve it!

Thanks for reaching out.
It sounds like you haven't installed all of the requirements that Atom requires to run on the system. We don't have a build specifically for Scientific Linux, so you may want to find out how you can get libnotify installed on your system so that Atom can run. Doing a quick search for libnotify.so.4 scientific linux 6 I was able to find this: https://rpmfind.net/linux/rpm2html/search.php?query=libnotify.so.4
I hope that helps :grinning:


Combining Multiple Taxonomies In Select Field

Is there a way to combine multiple taxonomies in a select field?  I would like both categories and tribe events categories to display.  I've tried the various ways below.
'choices'     => Kirki_Helper::get_terms( array('taxonomy' => array( 'category', 'tribe_events_cat'  ) ) ),
'choices'     => Kirki_Helper::get_terms( array('taxonomy' => 'category tribe_events_cat' ) ),
'choices'     => Kirki_Helper::get_terms( array('taxonomy' => 'category' ), array('taxonomy' => 'tribe_events_cat' ) ),

Kirki_Helper::get_terms() internally uses get_terms() so it should work using an array in taxonomy... all Kirki_Helper::get_terms does is simply format the array so it's easier to process in the customizer.
If you use 'choices' => Kirki_Helper::get_terms( array( 'taxonomy' => 'tribe_events_cat' ) ), do you get the events categories?
If not then it's probably a timing issue. Perhaps you're trying to retrieve to terms before the taxonomy is registered?
If you're getting the terms with the above but not using an array then this makes no sense and I'll have to dig deeper

The categories are not showing up with just tribe_events_cat.  We were able to get the terms in the normal customizer functions before switching to Kirki on a similar type of taxonomy select field.
However, the function being used in that custom control was get_categories() rather than get_terms().

From what I can see in the events-calendar plugin, the taxonomy is registered on init with a priority of 10.
So try wrapping that field in a function that will be loaded on init like this:
function my_theme_add_events_categories_customizer_control() {
   Kirki::add_field(.....);
}
add_action( 'init', 'my_theme_add_events_categories_customizer_control', 12 );

Note that the priority defined above is 12 so that it loads after the taxonomy has been defined.
Let me know if that works!

That fixed the issue.  Thank you.


add primitive document symbol support

try to fix #347
Currently it deals with Go symbols + parser.HTMLTemplate
TODOs:

deal with documentSymbol as well
add other symbols (css, script)?
add correct containerName?

OK, I admit there is a bit problem with my approach: I didn't convert the templ URI to the Go URI, yet somehow it worked.
It seems gopls is good at parsing partial results and skip over invalid block, therefore all the non templ elements are all returned. I then added the HTMLTemplate, making the result correct....

Is this ready to be reviewed @jackielii ?

I spotted the TODO, oops! Thanks for the PR by the way, it's looking to be almost there!

I've been using it, works most of the time. But because it uses gopls to parse the templ files directly. It has quite a few broken cases. I'll redo it using the proper way by converting to go files and find mapping symbols.

Legend. 😀

@joerdav @a-h the PR is ready as is. Please feel free to review and comment.

Thanks a lot for seeing this through to completion. Much appreciated.


[poco] Build error

Host Environment

OS: Windows 11 Home, 21H2
Compiler: MSVC 19.31.31107.0

To Reproduce
vcpkg.exe install poco:x64-windows --recurse
Failure logs
.\vcpkg.exe install poco:x64-windows --recurse
Computing installation plan...
The following packages will be built and installed:
    poco[core]:x64-windows -> 1.11.2
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\rober\AppData\Local\vcpkg\archives in 123.8 us. Use --debug to see more details.
Starting package 1/1: poco:x64-windows
Building package poco[core]:x64-windows...
-- Using cached pocoproject-poco-9d1c428c861f2e5ccf09149bbe8d2149720c5896.tar.gz.
-- Cleaning sources at C:/vcpkg-gis/buildtrees/poco/src/49720c5896-61fa9215f4.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg-gis/downloads/pocoproject-poco-9d1c428c861f2e5ccf09149bbe8d2149720c5896.tar.gz
-- Applying patch static_pcre.patch
-- Applying patch arm64_pcre.patch
-- Applying patch fix_dependency.patch
-- Applying patch fix-feature-sqlite3.patch
-- Applying patch fix-error-c3861.patch
-- Applying patch fix-InstallDataMysql.patch
-- Using source at C:/vcpkg-gis/buildtrees/poco/src/49720c5896-61fa9215f4.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Warning at scripts/cmake/vcpkg_execute_build_process.cmake:89 (message):
  Please ensure your system has sufficient memory.
Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:112 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
  ports/poco/portfile.cmake:77 (vcpkg_cmake_install)
  scripts/ports.cmake:145 (include)

-- Restarting build without parallelism
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Release --target install -- -v -j13
    Working Directory: C:/vcpkg-gis/buildtrees/poco/x64-windows-rel
    See logs for more information:
      C:\vcpkg-gis\buildtrees\poco\install-x64-windows-rel-out.log
      C:\vcpkg-gis\buildtrees\poco\install-x64-windows-rel-out-1.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:112 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
  ports/poco/portfile.cmake:77 (vcpkg_cmake_install)
  scripts/ports.cmake:145 (include)

error: building poco:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+poco
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[poco]+Build+error
including:
  package: poco[core]:x64-windows -> 1.11.2
    vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb
    vcpkg-scripts version: a5d6d1451 2022-05-06 (2 days ago)

Additionally, attach any relevant sections from the log files above.

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

Please provide the following logs first:
C:\vcpkg-gis\buildtrees\poco\install-x64-windows-rel-out.log
C:\vcpkg-gis\buildtrees\poco\install-x64-windows-rel-out-1.log
Thanks.

install-x64-windows-rel-out-1.log

LINK : fatal error LNK1201: error writing to program database 'C:\vcpkg-gis\buildtrees\poco\x64-windows-rel\bin\PocoUtil.pdb'; check for insufficient disk space, invalid path, or insufficient privilege

Please check your permssion and disk space.
Thanks.

it was a space problem, now it works, thanks


Add ImaDrum Money plugin

A simple plugin that plays a random sound clip of content creator ImaDrum when you receive a good drop.

Do you have permission from ImaDrum to use their voice clips in this plugin?

Do you have permission from ImaDrum to use their voice clips in this plugin?

I do! He recorded them specifically for this plugin and sent them to me. Need me to provide any proof of that?
Also, seems like build failed, did I mess up something simple?

Need me to provide any proof of that?

Yes please.
Your build is failing because your plugin properties file has plugins=com.imadrummoney.MoneySoundPlugin, but your plugin is actually located at com.imadrummoney.ImadrumMoneyPlugin

Updated plugin properties file in the plugin repo, and updated commit hash in this fork.
Hopefully enough proof of Drum providing the sound clips himself for this plugin: https://gyazo.com/4a49736d51708eb3d282a3a176ae2d41
If this is not sufficient, feel free to @ me or DM me on discord (Ew Its Mike#1946) so I can get it sorted out

The "bruh.wav" sound is something we can't distribute without permission from the maker of the sound. (it looks like your plugin doesn't actually use it at all? should be able to remove it without changing the behavior at all) The rest looks fine to me.


Print failures below successes?

There is a laudable willingness on this project to discuss UX issues. This is a fairly minor one but I thought I would throw it out there.
In an empty directory run:
spago init
spago install halogen

All works as expected. Then run
spago install does-not-exist

As expected, the install of does-not-exist fails and a warning message is printed. However, immediately afterward we get
Installing 72 dependencies.
"avar" already installed
"bifunctors" already installed
...

Since there are 72 of them (Halogen is a big package), the warning message about does-not-exist is immediately pushed off the top of the screen. This makes it very easy to miss. And in this particular use of spago install it was the whole point of running the command. I recognize that is not always the case but it is sometimes the case.
The simplest answer would be to move the warning to after the successfully installed dependencies. Alternatively (or in addition) the messages about already installed packages could be abbreviated into 72 dependencies already installed. Run spago install --verbose to see the list. Also maybe some color in the failure warning would be nice.

@JamieBallingall are you on the latest release? (i.e. 0.7.0)
The "$dependency already installed" messages should be gone, and the command fails if you try installing a dependency that doesn't exist:
$ spago install halogen does-not-exist
spago: Package `does-not-exist` does not exist in package set

(this wording is not released yet, but the old wording is basically the same and the command fails as well)

Ah. Ok. The new output looks great.


"self" used in static methods can be confusing

In UdsConfigTool.py, in "def readDataByIdentifier(self,diagnosticIdentifier)" ...
use of "self" like this in a non-class function can be a little confusing
... but I appreciate this is in the "experiments"
It's also light on comments describe what is happening here, but I know what it's doing. "target" may be a better parameter name than "self" in this context?

self keyword changed to target to make this clearer


Fix PDF Generation for plugins + docs

Summary
PDF generation is broken in two ways:

The switch from index to _index for plugins prevented PDF generation for the default version of plugins
The addition of the OpenAPI renderer prevented that page from being printed to PDF

Some prettier printing also made it in to the PR, but I don't think it's a bad thing
Reason
Fixing the existing tooling
Testing
Run this locally:
cd pdf-generation
npm ci

# Build a plugin PDF
KONG_PLUGIN_NAME=basic-auth node run.js

# Build a docs PDF
KONG_DOC_VERSIONS=gateway_2.8.x node run.js

Numbers not rendering is unrelated to this fix, and PDF generation is infrequent enough that we should not invest time fixing it imo


Difference from standard dynamic obstacles implementations

Hi, Thanks for the implementation!
I've noticed the DynamicObstacles implementations differs from the standard Minigrid versions found in e.g. MiniGrid Farama.
In the Farama implementation an agent takes an action towards a ball and this causes a termination, but obstacles will not spawn on agents.
It seems in Navix, agents that take an action that would place them on a ball remain in the same place without registering a ball hit event, but terminations occur when balls move onto the agent. (The former arises from record_walk_into not registering ball hits, and the latter from _can_spawn_there recording a ball hit).
Was this an intentional difference?

Hi @annasoligo, thank you very much for raising this!
Could you explain exactly the differences between the two, such that we can draw an action plan?
A reproducible example would be a terrific help, to make sure the bug remains fixed in future versions.

Hi @epignatelli,
I noticed this when visualising some evaluations and noticing that the agent would repeatedly take actions that would cause them to step onto the ball, but their grid poition remains the same and the episode does not terminate. I can't provide a particularly useful example as I use a custom observation wrapper and visualisation code, but I can identify where the two implementations differ in the code!
In the Farama implementation if an agent takes an action to step onto an obstacle the episode is terminated (this is implemented in lines 161-167 of the dynamic_obstacles.py file). In the Navix implementation in actions record_walk_into is called, but this only considers Goal, Wall and Lava collisions and does not record ball hits.
Wrt balls spawning on agents, the Farama implementation updates ball locations using the place_obj function, which only places objects in empty grid positions (ie not on the agent). The Navix implementation (update_balls function) moves the balls and records ball hits when the new position is the agents current position.
At the moment I've fixed this locally by:
Updating record_walk_into in the EventsManager to record_ball_hit if the entity is a ball.
Changing update_balls and can_spawn there in the transitions file to only move the ball to empty squares, and to not override any ball hit events that just occurred from moving the agent.
Its quite a hacked together fix at the moment but happy to clean it up and share.

Sorry for the massive delay here. I've just forked and added a very simple interactive pygame example here. You can use the arrow keys to play, and see the issue (if you uncomment line 210 the balls don't move and its easier to see how the agent cannot walk into them).
I'll try and add my fix tomorrow, but I have quite heavily edited the implementation in my local version so I'm unsure how straightforward this will be!


Endpoint routing

Add endpoint routing in the style of MapIdentityManager

Can you elaborate little more? I'm using endpoint routine in my private sandbox app here in this way


Retry Infinite Loop (If at first you don't succeed, try again and again and again...)

A missing return will lead to infinity, and beyond.

Found via https://github.com/MassTransit/MassTransit/issues/760


Database Error

Description
We have a problem with the database. Error with saving user. Here's the error: https://paste.anfanik.me/fureyirobo.sql
Reproduction Steps
I don't know how the problem occurred
Expected Behaviour
Changes in the database are not saved
Server Details
git-Mohist-320 (MC 1.12.2)
LuckPerms Version
v5.4.9
Logs and Configs
https://luckperms.net/download
Extra Details
No response

While LuckPerms doesn't officially support hybrid software, such as Mohist, you may want to:

Ensure that the user connecting to the H2 database has the necessary permissions to perform database operations.
Confirm that the file system permissions on the directory containing the H2 database files allow write access. If the server process doesn't have the necessary file system permissions, it won't be able to write to the database files and save any users.

Additionally, you're few versions behind and would suggest you update to the latest LuckPerms version which you can download from the official downloads page.


release 0.40

fix kms alias name
use errors.New instead of Errorf
Add Upbound credential source to ProviderConfig
Add support for assuming role via provider identity token
Regenerate ProviderConfig with updated schema
ec2: add aws_vpc_peering_connection_accepter, aws_vpc_peering_connection_options
removed extra lines
Configure some resources without testing
add resources
add resources
merge conflict resolving
changes according reviewer's note
Add additional connection details for ActiveMQ clusters
merging main
keyspaces: add aws_keyspaces_keyspace, aws_keyspaces_table
Add cloudwatchlogs resources
Configure some resources without testing II
Change manual-intervention annotation
SSM: configured 10 resources
Add example manifest for Upbound ProviderConfig
Configure some resources without testing
elastictranscoder: add aws_elastictranscoder_preset, aws_elastictranscoder_pipeline
fixed peer acound variable
added resource for securityhub group
aws_lightsail
issue-327
storagegateway: Configured 10 resources
schemas
Add macie2 resources
Added resource files for mediapackage group
Normalizing external_name
mediaconvert: add aws_media_convert_queue
Moving mediastore (2) resources to the v1beta1 version
servicequotas: add aws_servicequotas_service_quota
Add new resources
add resources for route53recoveryreadiness group
Added 2 resouces from pinpoint group
merge conflict
merge resolve
remove tested resource name
servicequotas: add aws_servicequotas_service_quota
quicksight: add aws_quicksight_group, aws_quicksight_user
elasticbeanstalk: add aws_elastic_beanstalk_application, aws_elastic_beanstalk_configuration_template
Add iot resources
Added 10 resources for sagemaker group
Add Vault and VaultLock resources
merge conflict resolving
add resources for FSx group
Add resources for memorydb group: aws_memorydb_parameter_group, aws_memorydb_subnet_group, aws_memorydb_cluster, aws_memorydb_snapshot, aws_memorydb_acl
ELB: Added aws_app_cookie_stickiness_policy, aws_lb_cookie_stickiness_policy, aws_proxy_protocol_policy, aws_load_balancer_listener_policy, aws_lb_ssl_negotiation_policy, aws_load_balancer_backend_server_policy, aws_load_balancer_policy resources
Add and fix example for aws_qldb_ledger
Add and fix example for aws_qldb_stream
Fix conflicts
Remove orig file
Add and fix example for aws_route53recoverycontrolconfig_cluster
Add and fix example for aws_route53recoverycontrolconfig_control_panel
Add and fix example for aws_route53recoverycontrolconfig_routing_control
Add and fix example for aws_route53recoverycontrolconfig_safety_rule
Fix lint issue
imagebuilder: added 6 resources, inspector: added 3 resources
waf: Configured 11 resources; wafregional: Configured 10 resources
ssoadmin: Configured 4 resources; swf: Configured 1 resource; synthetics: Configured 1 resource; timestreamwrite: Configured 2 resources
networkfirewall: Add 4 resources, networkmanager: Add 9 resources
add resources to rds group aws_db_cluster_snapshot, aws_db_event_subscription, aws_db_instance_automated_backups_replication, aws_db_snapshot_copy
Add store config scheme
Add configuration for ses (14),shield (3),signer (2),simpledb (1) groups
imagebuilder group: added aws_imagebuilder_container_recipe, aws_imagebuilder_distribution_configuration, aws_imagebuilder_image, aws_imagebuilder_image_pipeline, aws_imagebuilder_image_recipe, aws_imagebuilder_infrastructure_configuration resources. inspector group: added aws_inspector_assessment_target, aws_inspector_assessment_template, aws_inspector_resource_group resources.
Configured transfer(2) group resources
Add configuration of s3(1), s3control(4), transfer(1), Wafregional(2), wafv2(6), worklink(2), workspaces(3), xray(3) groups
ses group: Add aws_ses_active_receipt_rule_set, aws_ses_configuration_set, aws_ses_domain_dkim, aws_ses_domain_identity, aws_ses_domain_mail_from, aws_ses_email_identity, aws_ses_event_destination, aws_ses_identity_notification_topic, aws_ses_receipt_filter, aws_ses_receipt_rule, aws_ses_receipt_rule_set, aws_ses_template, aws_ses_identity_policy resources. signer group: Add aws_signer_signing_job, aws_signer_signing_profile_permission resources simpledb group: Add aws_simpledb_domain resource
add resources to networkfirewall(2), networkmanager(9) groups
issue-318
removing unused resources
removing the aws_redshift_snapshot_copy_grant resource
Add configuretion for elasticbeanstalk(2), imagebuilder(1)
Moving waf and wafregional resources to v1beta1 version
Moving fsx (2) resources to v1beta1 version: aws_fsx_ontap_file_system, aws_fsx_ontap_storage_virtual_machine
Moving swf(1), timestreamwrite(2) resources to v1beta1 version
Add missing SecurityGroup selectors to EFS MountTarget
Moving guardduty (3) resources to v1beta1 version
added aws_wafregional_xss_match_set, aws_wafv2_ip_set, aws_wafv2_regex_pattern_set, aws_wafv2_rule_group resources to Wafregional and wafv2 groups
Extend MountTarget example with SecurityGroup reference
Add example-id annotations
Add FileSystem to MountTarget example
issue-353
Added aws_elasticsearch_domain resource
issue-407
issue-31
Adding timeout annotation to the resource
issue-434
add resources to groups: s3(1), s3control(4), workspaces(2), xray(3)
Add resources to the opsworks group
Make endpoint available for aws_db_instance
make localstack possible
add 9 resources to sagemaker group
Enable vpc selector for Route53 Zone
Adding aws_vpc_endpoint_security_group_association to ec2/v1beta1
Bump crddiff to v0.5.0
Adding aws_vpc_endpoint_security_group_association to ec2/v1beta1
Update upjet dependency
ci: configure renovate
Bump Terraform provider plugin version to v4.48.0
Exclude aws_wafv2_rule_group: Generated CRD too large
Add example dependencies for: - examples/dynamodb/globaltable.yaml - examples/eks/fargateprofile.yaml - examples/eks/addon.yaml
Bump Terraform provider plugin version to v4.51.0
Improve example manifest for some resources
Fix dynamodb/globaltable and elasticache/replicationgroup examples
Add one hour timeout for replicationgroup resource
Improve example manifest for some resources part-3 issue-93
add username to rds connection details
use aws-global region for STS if no region set
Bump Terraform provider version to v4.52.0
Add schema diff checking tool
Bump fkirc/skip-duplicate-actions Github action to v5.3.0
Remove the deprecated set-output command usage from Github jobs
Bump actions/cache Github action to v3
Bump docker/setup-buildx-action Github action to v2
Fix KMSKeyID reference extractor for Instance.rds
Bump upjet to commit b1ed9245d05
Add configurations of accessanalyzer (1), acmpca (2), appconfig (2), applicationinsights (1), apprunner (2), appsync (1), auditmanager (5), ce (3), cloudfront (1), cloudwatch (1), codepipeline (1), cognito (1), comprehend (2), connect (4), controltower (1) groups
Add configurations of datasync (1), directory_service (4), dms (1), dx (1), dynamodb (1), ec2 (4), efs (1), emrserverless (1), evidently (3), fis (1), fix (1), glue (1), grafana (1), identitystore (3), inspector2 (3), ivs (3) groups
Add configuration of ivschat (2), kendra (6), kms (1), lakeformation (2), lightsail (14), location (5) groups
Security Group Selector for Lambda
Moving ce(1), cloudfront(1) resources to v1beta1 version
subnet reference for vpcconfig Function.lambda
Moving location(5) resources to v1beta1 version
GoLint Fix
lambda vpcConfig example
Example Changes
issue-490
example change
Update examples/lambda/function.yaml
Add configuration of macie2 (1), medialive (5), msk (1), neptune (1), networkfirewall (1), networkmanager (7), opensearch (2), rds (2), redshift (15) groups
Configure the following examples - aws_ssoadmin_permission_set - aws_ssoadmin_managed_policy_attachment - aws_ssoadmin_permission_set_inline_policy - aws_ssoadmin_account_assignment
issue-492
issue-432
add more fields to connection details
Moving lightsail resources to v1beta1 version
Add configuration of resourceexplorer2 (2), rolesanywhere (2), route53 (1), rum (2), s3 (1), sagemaker (2), scheduler (2), schemas (1), sesv2 (7), sqs (2), ssm (2), ssoadmin (3), transcribe (4), transfer (1), vpc_network (1) groups
Moving redshift(4) resources to v1beta1 version
Moving sesv2(6) resources to v1beta1 version
Moving rolesanywhere(1), rum(2), s3(1), sagemaker(2), scheduler(2), sqs(2) resources to v1beta1 version
add networkfirewall(1), networkmanager(4) resources
Add native provider version bump workflow
Moving imagebuilder(1), route53(1), elasticbeanstalk(1) resources to v1beta1 version
add kendra(5) resources
issue-519
Moving grafana(1), inspector2(1), ivs(2), ssm(2), transcribe(3), transfer(1), vpc_network(1) resources to v1beta1 version
issue-494
take comment
Configure the following examples: - aws_elasticsearch_domain_policy - aws_elasticsearch_domain_saml_options
Bump Terraform provider version to v4.56.0
Add OWNERS.md and CODEOWNERS
Remove old workflow and reuse new one
Fix CODEOWNERS format
feat(ec2): add aws_ec2_tag resource
Default STS region to global for WebIdentity
fix(late-init): #531 ignore encryption_mode
S3: BucketACL: Enable canned ACL support
Consume upjet with custom metrics
Update internal/clients/aws.go
Update internal/clients/aws.go
Update internal/clients/aws.go
Remove old workflow and reuse new one: - backport.yml - commands.yml - tag.yml
take comments
fix: Add addonName param, and do not use the xr name as addonName
Configure aws_ram_resource_association
Explicitly configure transit_gateway_route_table_id cross-referencefor transit_gateway_route resources
Move authentication down to Terraform
Add caller workflow for publishing docs
Invoke the new path for every case if assumeRoleChain is bigger than 1 or endpoint conf is not nil
Pin dependencies
Add an empty string check for session names
Remove the required behavior of roleArn
Consume upjet ProviderScheduler
Post release commit after v0.32.0-rc.1
add addonName on example
Update module github.com/crossplane/crossplane-runtime to v0.19.2 [SECURITY] (#600)
Update kubernetes patches
Update module golang.org/x/net to v0.7.0 [SECURITY] (#580)
Remove workflow update (#609)
Change comment for the eks: NodeGroup subnetIds field (#598)
update addon example
Run make reviewable and fix linting issues (#634)
test: update addon example resources
rds.instance: add field and machinery for automatically generating the password
rds.instance: the password secret should be created if it does not already exist
rds.instance: add unit tests for the password generator
rds.instance: reduce cyclomatic complexity
add aws_directory_service_shared_directory, aws_dms_s3_endpoint, aws_dynamodb_table_replica, aws_efs_replication_configuration, aws_emrserverless_application
Update bug report issue template
Update feature request issue template
Update resource request issue template
Add sizing and monitoring guide references
Post release commit after v0.32.0
fix(ec2_tag): fix identifier and key, seperated by a comma not a _
fix(launchTemplate): fixed kmsKeyId to use ARN
fix(iam): added username and password for iam accesskey connectionsecret
feat(memorydb): add connectiondetails for cluster
Specify group for AWS ProviderConfig
Add auth documentation and schema
Update up version to v0.16.0
Configure plural names for resources whose kind names end with "fleet"
rds.instance: add owner reference if the input secret is created by us for better garbage collection
feat: add destinationPrefixListIdRef and destiniationPrefixListIdSelector to ec2.Route
feat: add destinationPrefixListIdRef and destiniationPrefixListIdSelector to ec2.SecurityGroupRule
Update config/ec2/config.go
Update config/ec2/config.go
format
update the externalname configuration for aws_lambda_alias to reflect the true ID format
make generate
feat(networkfirewall): added loggingconfiguration for networkfirewall
fix for conflicting glue job fields (#655)
Update alias test to include pre-requisite resources
fix(lateinit): lb_target_group target_failover
Fix recent uptest failure
refactor(config): switched elasticloadbalancing to elbv2 folder and regenerate
fix(ecs-service): #624 added new example with static cluster
fix(ram): skop reference/selector for resource_arn for aws_ram_resource_association
update alias example to include necessary pre-requisite objects
Bump crossplane runtime and tools to the latest
Add feature flag for management policies
Bump to latest upjet and configure features package
Region is an identifier field
Generate with the latest upjet
Update Makefile
Bump build submodule
Enable ESS Plugin
fix linter
merge upstream
merge upstream
merge upstream
merge upstream
merge upstream
merge upstream
consume latest upjet
Generate per-service providers
fix(networkfirewall): fixed import for networkfirewall firewallpolicy and rulegroup and implemented more ref/selectors in firewallpolicy for embedded rulegroup
Build pipeline changes to support per-service packages
Fix Makefile errors on Linux
Consume upjet partitioning changes
fix(networkfirewall): fixed import for networkfirewall firewallpolicy and rulegroup and implemented more ref/selectors in firewallpolicy for embedded rulegroup
fix(ec2): fix ipv6 field issues in ec2 group
fix(ec2): fix ipv6 field issues in ec2 group
Add caller workflow for publishing service artifacts
Use ">= 0.0.0-0" as config dependency version constraint for prereleases
Move clusterauth controller from config to eks subpackage
Add version as input to publish-service-artifacts.yml
Compact package layers
Use monolith for local run
Add example to create cognito with lambda triggers
Bump Terraform provider version to v4.66.0
Fix example manifests for the following resources: - aws_autoscaling_policy - aws_securityhub_account - aws_secretsmanager_secret_rotation - aws_ssoadmin_permission_set_inline_policy
Call "up xpkg batch" to batch-process the smaller provider packages in the build pipelines
Add nil check and integrate the change to the new code-base
RDS: Enhance documentation for engine and engineVersion
Rename family parent package from provider-aws-config to provider-family-aws
Remove .parameters.region references from externalname configuration for the following resources: - aws_prometheus_rule_group_namespace - aws_cloudformation_stack - aws_appflow_flow - aws_networkmanager_transit_gateway_connect_peer_association - aws_networkmanager_customer_gateway_association - aws_evidently_segment
Fix example manifest for aws_appflow_flow
feat(firehose): add hec_token as sensitive
Do not override the config.Resource.References map for aws_elasticache_cluster
Add securityGroupIdSelector and dependent resources to the aws_elasticache_cluster
Update token in native provider bump workflow
Bump native provider to version 4.67.0
Remove SecurityGroup resource in rds group
Include ipv6_addresses to IgnoredFields
Fix for the issue 574: rds:  writeConnectionSecret missing fields
Fix example and change example name to userpool.yaml
fix 464 issue: acm:Certificate Late init fields should be skipped - cannot run refresh
fix for issue 505
Remove family label from the config provider for proper search indexing (#728)
Remove duplicated references injector config
Revert "Remove family label from the config provider for proper search indexing (#728)"
Add dependency to Crossplane min version of v1.12.1-0
feat(dms): enable service_access_role ref/selector
feat(dms): add example and fix kms_key_arn
feat(dms): add example and fix kms_key_arn
feat(datasync): add datasync with s3
feat(datasync): add datasync with s3
feat(datasync): add forceDestroy: true for buckets
Enable route53_zone_association
Make zone private in ZoneAssociation example
Add peer providerconfig to ZoneAssociation example
Provide up-to-date UPTEST_CLOUD_CREDENTIALS export examples
KMS aliases can be imported using id from provider
update zz_main.go template for leader election
update scoped provider zz_main.go
update zz_main.go.tmpl for monolith LeaderElectionID
fix ci diff missing file
Revert "KMS aliases can be imported using id from provider"
add GetIDFn to kms alias
simplify getIDFn
Remove version input from publish-service-artifacts.yml
Add VPCAssociationAuthorization
Fix conflicting parameters for ec2.Instance resource
fix(iam): Policy ID should contain path and the external-name derived from the ID should be the name part only (#747)
Fix ARN contruction for aws state machine (#751)
Handle build environment variables for proxy access (#755)
Update docker/setup-qemu-action action to v2 (#633)
Update actions/checkout action to v3 (#631)
Update actions/setup-go action to v4 (#632)
Update docker/setup-buildx-action digest to 16c0bc4 (#758)
Update alpine Docker tag to v3.18.2 (#630)
CognitoIDP[UserPoolClient]: Avoid underlying provider validation failure (#762)
Issue 753: Fix examples/sfn/statemachine.yaml to work with Uptest
feat(auth): disable configuring auth with Secrets (#766)
Added queue url to the connection details. Added writeConnectionSecretToRef to the SQS example
Fix marketplace link in README.md (#772)
Changed id to url to better reflect the terraform attribute documentation
Update CODEOWNERS file (#777)
Fix issue 726: Missing selector in Broker resource for selecting security groups
Adding backstage configuration file
Adding dependency on upjet
Bugfix/Change not working link
Links to marketplace
Fix issue716: AWS Cognito User Pool - Verification Message Template configuration conflicts
fix(efs): fixed kmsKeyId to use ARN instead of ID
fix(efs): add example id
fix(efs): rename example file
fix(efs): rename example resources
fix(efs): move kms key id reference to efs
fix(cloudwatchlogggroup): fix name_prefix causes recreate issue
Add an event filter with the resource.DesiredStateChanged predicate to filter status updates out
Rename controller.EventHandler as handler.EventHandler
Add config for plural names
add features passing to main.go.tmpl
run make generate
fix panic in DefaultTerraformSetupBuilder
update to master upjet
Explicitly queue a reconcile request if a shared provider has expired
Configure PrincipalAssociation resource and add example
Change spec.owner from team:extensions to team-extensions
Configure ResourceShareAccepter resource and add example
Add pre-delete-hook to resourceshareaccepter.yaml
Add warning for monolithic provider to the docs
Inherit golangci-lint version from build submodule
Add targetgroupArnRef
Update config/ecs/config.go
ci: scheduled trivy scan (#608)
Bump Terraform CLI to v1.5.5
Bump upjet to commit bd528e443b6f
Bump alpine base image to v3.18.3
Bump upjet to commit e620c6228964
Bump upjet to v0.10.0
Fix warning title for monolithic provider
Configure RolePolicy resource and add example manifest
Remove inline_policy from Movetostatus and add example role with inline_policy
Remove managed_policy_arns from Movetostatus
Fix externalname configuration for RolePolicy resource
fix(lateinit): skip version_id for firehose deliverystream
Remove unneeded resources Keep this in a single commit when rebasing on upstream!
chore: add support for aws_lb_target_group.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 12 committers have signed the CLA.:white_check_mark: haarchri:white_check_mark: julienduchesne:white_check_mark: grafanalf:x: svscheg:x: ytsarev:x: lsviben:x: carpenterm:x: turkenf:x: Piotr1215:x: mhoshi-vm:x: phisco:x: ulucinarYou have signed the CLA already but the status is still pending? Let us recheck it.


Update CircleCI configuration

@nesquena can CircleCI be configured to run for pull requests? I'm hoping this config works, but it would be nice to see it run 😅

Sure I'll get it setup on Circle later and reply back here, thanks

I think I fixed this going forward


Mutation Without Input Bypasses NotEmpty Validation

Here is my basic validation:
public class AddUsersInputValidator : AbstractValidator<List<AddUserInput>>
{
	public AddUsersInputValidator()
	{
		RuleFor(r => r).NotEmpty().WithMessage("Must provide input");
	}
}

Issue 1: If I change from List<> to IEnumerable<> or T[], then this validation never seems to fire.
Issue 2: If I neglect to add the input as part of my request, then I'll be able to enter my endpoint which appears to bypass my validation.
The validation appears to work when I pass a mutation as follows:
mutation{
  addUser(input: []){
    firstName
  }
}

But fails to perform validation with the following mutations:
mutation{
  addUser{
    ...

or
mutation{
  addUser(){
    ...

or
mutation{
  addUser(input: null){
    ...

Is there something wrong with what I'm doing or is there an issue with FluentValidation, FairyBread, or even HotChocolate?
Versions:

FairyBread: 7.0.0-rc.1
HotChocolate: 11.3.1
FluentValidation: 10.3.0

FairyBread doesn't validate an argument that is null. It's sort of assumed that if the argument type supports null at the schema level that that is valid.
It seems a bit bizarre to allow the passing of a null here, so I'd first change it to:
addUsers(input: [AddUserInput!]!)
That way HotChocolate will actually validate it to the graphql spec and client tooling will show that null isn't allowed.
One scenario where null could be allowed but you sometimes want to validate it isn't null, would be a property within the input type where null is allowed conditionally with When, but that'd be based off another property on the input type and the input type would be non-null.
That brings me to how I see this. I think the design of your mutation field is wrong. Keen to see what @mstaib or @pascalsenn think. To me you should always have a single, top-level arg on your mutation field that's non-nullable, e.g. createBooking(input: CreateBookingInput!) and then inside that you can have optional properties as needed. Then your input is always guaranteed to be non-nullable and the validator will always be fired.
type CreateUsersInput {
  users: [CreateUsersUserInput!]!
}

Aside: This is sort of related to an open issue #56 about supporting auto-validation of arrays of T, if there's a validator for T, which I'm thinking about rejecting as it fails into a similar problem. Unique, non-null, top-level input type per mutation name is the way to go.

Awesome, thank you @benmccallum .  That lead me to find the attribute to perform this code side: Non-null Attribute .
As for the mutation design, I'm always open to hearing different points of view.  So again, thank you for you speedy response and input.  If the other peeps have input too, I'm all ears.


Config File Example seems to be deprecated

I'm trying to run the example, but I am getting this traceback:
Traceback (most recent call last):
  File "/usr/local/bin/wsgidav", line 10, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.6/site-packages/wsgidav/server/server_cli.py", line 767, in run
    app = WsgiDAVApp(config)
  File "/usr/local/lib/python3.6/site-packages/wsgidav/wsgidav_app.py", line 134, in __init__
    _check_config(config)
  File "/usr/local/lib/python3.6/site-packages/wsgidav/wsgidav_app.py", line 118, in _check_config
    raise ValueError("Invalid configuration:\n  - " + "\n  - ".join(errors))
ValueError: Invalid configuration:
  - Deprecated option 'user_mapping': use 'simple_dc.user_mapping' instead.

Am I doing something wrong?

Which version are you using? Can you pots the config file?
(With version v3.0, the yams format is preferred.)


Change to Login

Appears that PersonalCapital changed the login process and this login function no longer works.

I don't use this any more but if you or anyone has a fix I will take a PR. Thanks.

Is this still an issue?

Just confirming that OP is correct, the login function no longer works. If someone has a fix or alternate library that would be great!


Backup Configuration

Looks like the UI to access to the Backup Configuration (in Set Storage Replication section) was changed and the current content is obsolete. Now it's accessible from Properties > Backup Configuration (Update). Please update the content accordingly.

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

ID: 3f9edc7e-ff2d-47fd-7305-03cd6dcd9449
Version Independent ID: 207c680a-ac78-0e38-16ba-74bc0fe6f9f1
Content: Back up Azure VMs with the Azure Backup service
Content Source: articles/backup/backup-azure-vms-first-look-arm.md
Service: backup
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@rayne-wiselman  I got a question/issue (the Backup Configuration on the Portal cannot be found) from an another customer today. Would you please check and update the content? Thanks.

@rayne-wiselman @SumanthMarigowda-MSFT
Now the steps to change configuration are gone entirely. Where are customers supposed to get this information?
We continue to get support cases asking about the changes.

@rayne-wiselman Thank you for the update.


fix Fix view signature

reset with dbName instead of dbFullName, to be compatible with doris 2.0(full name has prefix default_cluster:)
since the referred db name of the restored view has changed, the next time to restore the view, the signature is not matched, so the db names should be reset and compared with the signature again.

run buildall


Starting an app with WindowState=FullScreen causes nothing to be displayed

If the main window of an app has WindowState="FullScreen" set the app starts and runs but nothing is displayed.
Tested on windows with 0.9.999-cibuild0008870-beta

FYI I think this is a duplicate of #4006

this does not happen on a quick test with 0.10.11


fix CASE ... WHEN ... END indent

-indent dection was case sensitive
-unindent relied on SQLDialect.getBlockBoundStrings() returning END
-unindent was one level to much

Indent formatter is a bit messy (or even worse), thanks for looking into it ;)

verified


Fix choosepath problem

What problem does this PR solve?
Issue Number: close #2566
Problem Summary:
What is changed and how it works?
Proposal:
What's Changed:
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch:

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects
Release note
None

Can we close this PR? @jiaqizho


Handle data migration in IS 5.5.0 to IS 5.6.0 with changes in wso2/product-is/issues/3202

During migration from IS 5.5.0 to IS 5.6.0, we have a schema change to add a new column 'EXPIRY_TIME' in  IDN_AUTH_SESSION_STORE table. (As a result of improvements in https://github.com/wso2/product-is/issues/3202)

For example for MySQL DB we have,
ALTER TABLE IDN_AUTH_SESSION_STORE ADD EXPIRY_TIME BIGINT;
As a result of this schema change, the default value for the 'EXPIRY_TIME' column is set to NULL. The' impact of this is that entries which will have 'NULL' in 'EXPIRT_TIME' column will not be cleaned up by the session data cleanup task as we have modified the code to use this column to detect expired data.
Therefore during migration, we need to handle the schema change gracefully by adding appropriate EXPIRY_TIME for each entry.

We have provided the improvement(wso2/product-is/issues/3202) as updates for IS 5.3.0 / IS 5.4.1 etc. Therefore the schema changes required by the improvement might already be there when we migrate from IS 5.5.0 to IS 5.6.0.

Therefore we need to only do the schema changes due to wso2/product-is/issues/3202 only if they are already not present.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Comment on Allow for floating windows #10121

It doesn't make much sense to me to have floating editor windows.
It would be much more important for the tool windows such as Output or Terminal as well as the debug windows Watch, Stack and Variables.

@hahoyer would https://github.com/microsoft/vscode/issues/193267 cover what you are looking for?

I can almost agree with that. In #193267 the debug windows are not mentioned. Having these as floating windows is very important to me.

Yes, I think we would not limit which view or panel to move. Closing as duplicate then.


training

hi, dear noahzn，after training Lite-Mono with a resolution of 320x1024, I started the evaluation, but why is it still displaying 192x640?

Hi @sundayzl66, how did you modify the code? Did you also modify the width and height in this file?

Sorry, I haven't modified this file.

    self.parser.add_argument("--height",
                             type=int,
                             help="input image height",
                             default=320)
    self.parser.add_argument("--width",
                             type=int,
                             help="input image width",
                             default=1024)

Is that all right

    self.parser.add_argument("--height",
                             type=int,
                             help="input image height",
                             default=320)
    self.parser.add_argument("--width",
                             type=int,
                             help="input image width",
                             default=1024)

Is that all right

Yes.

Okay, thank you.


Reliable function inlining

scala-js: 0.6.27
I want to abstract over a piece of performance critical code. With the help of function inlining I could do everything I need. But sometimes some functions are not inlined. I don't see a pattern when a function will be inlined and when not.
Simple example:
@inline def foo1(
  bar: (() => Boolean) => Boolean,
  ):Boolean = {
    println("sideeffect")
    bar(() => false) && bar(() => false)
}

println("foo1" + foo1( bar = _()))

will be properly inlined by fastOptJS:
var this$27 = $m_s_Console$();
var this$28 = $as_Ljava_io_PrintStream(this$27.outVar$2.v$1);
this$28.java$lang$JSConsoleBasedPrintStream$$printString__T__V("sideeffect\n");
var x = ("foo1" + false);
var this$30 = $m_s_Console$();
var this$31 = $as_Ljava_io_PrintStream(this$30.outVar$2.v$1);
this$31.java$lang$JSConsoleBasedPrintStream$$printString__T__V((x + "\n"));

But this example:
@inline def foo2(
  bar: (() => Boolean) => Boolean,
  ):Boolean = {
    println("sideeffect")
    if(bar(() => false)) 5 else 7
    bar(() => false)
}
println("foo2" + foo2( bar = _()))

Is not:
var f = (function(this$2$1) {
return (function(x$2$2) {
  var x$2 = $as_F0(x$2$2);
  return $uZ(x$2.apply__O())
})
})(this);
var this$33 = $m_s_Console$();
var this$34 = $as_Ljava_io_PrintStream(this$33.outVar$2.v$1);
this$34.java$lang$JSConsoleBasedPrintStream$$printString__T__V("sideeffect\n");
var arg1$3 = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) {
return (function() {
  return false
})
})(this));
$uZ(f(arg1$3));
var arg1$4 = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(this$2$2) {
return (function() {
  return false
})
})(this));
var x$1 = ("foo2" + $uZ(f(arg1$4)));
var this$36 = $m_s_Console$();
var this$37 = $as_Ljava_io_PrintStream(this$36.outVar$2.v$1);
this$37.java$lang$JSConsoleBasedPrintStream$$printString__T__V((x$1 + "\n"));

Why is inlining not working in the second example? It's obviously not about the function signature, but somehow the usage of the arguments in the function body.
A more complex example, the one I'm actually working on. (I replaced custom array data structures with mutable.Stack and mutable.HashMap to reduce code size and make it a self-contained example):
@inline def depthFirstSearchGeneric[PROCESSRESULT](
    vertexCount: Int,
    foreachSuccessor: (Int, Int => Unit) => Unit, // (idx, f) => successors(idx).foreach(f)
    init: (Int => Unit, collection.mutable.Stack[Int]) => Unit, // (enqueue,_) => enqueue(start)
    processVertex: Int => PROCESSRESULT, // result += _
    loopConditionGuard: (() => Boolean) => Boolean = condition => condition(),
    advanceGuard: (PROCESSRESULT, () => Unit) => Unit =
      (result: PROCESSRESULT, advance: () => Unit) => advance(),
    enqueueGuard: (Int, () => Unit) => Unit = (elem, enqueue) => enqueue()
): Unit = {
  val stack = new collection.mutable.Stack[Int] // ArrayStackInt.create(capacity = vertexCount)
  val visited = new collection.mutable.HashSet[Int] // ArraySet.create(vertexCount)

  @inline def enqueue(elem: Int): Unit = {
    enqueueGuard(elem, { () =>
      stack.push(elem)
      visited += elem
    })
  }

  init(enqueue, stack)
  while (loopConditionGuard(() => !stack.isEmpty)) {
    val current = stack.pop()
    visited += current

    advanceGuard(
      processVertex(current),
      () =>
        foreachSuccessor(current, { next =>
          if (!visited.contains(next)) {
            enqueue(next)
          }
        })
    )
  }
}

val edges = Array(Array[Int](1), Array[Int](0))
depthFirstSearchGeneric(
  edges.size,
  (idx, f) => edges(idx).foreach(f),
  init = (enqueue, _) => enqueue(0),
  processVertex = v => println(v)
)

Which produces:
// val edges = Array(Array[Int](1), Array[Int](0))
var array = [1];
var xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
var len = $uI(xs.array$6.length);
var array$1 = $newArrayObject($d_I.getArrayOf(), [len]);
var elem$1 = 0;
elem$1 = 0;
var this$13 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length));
while (this$13.hasNext__Z()) {
var arg1 = this$13.next__O();
array$1.set(elem$1, $uI(arg1));
elem$1 = ((1 + elem$1) | 0)
};
var array$2 = [0];
var xs$1 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array$2);
var len$1 = $uI(xs$1.array$6.length);
var array$3 = $newArrayObject($d_I.getArrayOf(), [len$1]);
var elem$1$1 = 0;
elem$1$1 = 0;
var this$20 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs$1, 0, $uI(xs$1.array$6.length));
while (this$20.hasNext__Z()) {
var arg1$1 = this$20.next__O();
array$3.set(elem$1$1, $uI(arg1$1));
elem$1$1 = ((1 + elem$1$1) | 0)
};
var array$4 = [array$1, array$3];
var xs$2 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array$4);
var len$2 = $uI(xs$2.array$6.length);
var array$5 = $newArrayObject($d_I.getArrayOf().getArrayOf(), [len$2]);
var elem$1$2 = 0;
elem$1$2 = 0;
var this$28 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs$2, 0, $uI(xs$2.array$6.length));
while (this$28.hasNext__Z()) {
var arg1$2 = this$28.next__O();
array$5.set(elem$1$2, arg1$2);
elem$1$2 = ((1 + elem$1$2) | 0)
};

// the four function arguments, that are not inlined.
// (vertexCount, init and processVertex are inlined)
var foreachSuccessor = new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($this, edges) {
return (function(idx$2, f$2) {
  var idx = $uI(idx$2);
  var f = $as_F1(f$2);
  var xs$3 = edges.get(idx);
  var i = 0;
  var len$3 = xs$3.u.length;
  while ((i < len$3)) {
    var idx$1 = i;
    f.apply__O__O(xs$3.get(idx$1));
    i = ((1 + i) | 0)
  }
})
})(this, array$5));
var loopConditionGuard = this.depthFirstSearchGeneric$default$5$1__p1__F1();
var advanceGuard = this.depthFirstSearchGeneric$default$6$1__p1__F2();
var enqueueGuard = this.depthFirstSearchGeneric$default$7$1__p1__F2();

// function body
var stack = new $c_scm_Stack().init___();
var visited = new $c_scm_HashSet().init___();
enqueueGuard.apply__O__O__O(0, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this$1, stack$1, elem, visited$1) {
return (function() {
  stack$1.push__O__scm_Stack(elem);
  visited$1.$$plus$eq__O__scm_HashSet(elem)
})
})(this, stack, 0, visited)));
while ($uZ(loopConditionGuard.apply__O__O(new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(this$2$1, stack$2) {
return (function() {
  return (!stack$2.elems$5.isEmpty__Z())
})
})(this, stack))))) {
var current = $uI(stack.pop__O());
visited.$$plus$eq__O__scm_HashSet(current);
var this$35 = $m_s_Console$();
var this$36 = $as_Ljava_io_PrintStream(this$35.outVar$2.v$1);
this$36.java$lang$JSConsoleBasedPrintStream$$printString__T__V((current + "\n"));
advanceGuard.apply__O__O__O((void 0), new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(this$3$1, foreachSuccessor$1, current$1, visited$2, enqueueGuard$1, stack$3) {
  return (function() {
    foreachSuccessor$1.apply__O__O__O(current$1, new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$2, visited$1$1, enqueueGuard$1$1, stack$1$1) {
      return (function(next$2) {
        var next = $uI(next$2);
        if ((!$f_scm_FlatHashTable__containsElem__O__Z(visited$1$1, next))) {
          enqueueGuard$1$1.apply__O__O__O(next, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this$3, stack$1$2, elem$2, visited$1$2) {
            return (function() {
              stack$1$2.push__O__scm_Stack(elem$2);
              visited$1$2.$$plus$eq__O__scm_HashSet(elem$2)
            })
          })($this$2, stack$1$1, next, visited$1$1)))
        }
      })
    })(this$3$1, visited$2, enqueueGuard$1, stack$3)))
  })
})(this, foreachSuccessor, current, visited, enqueueGuard, stack)))
};

First, I was expecting everything to be inlined. Then I thought that maybe the Closure Compiler or JIT would optimize these cases, but I checked the generated code and benchmarked: They don't optimize how I want them to. There is a measurable performance hit when the functions are not inlined.
So my alternative solutions are:

Hard-code all needed variations by hand. This is where I'm coming from. I had like ~15 variations of this function and made lots of mistakes. It was very unmaintainable.
Write a macro, which I would like to avoid.

Are there any other options I didn't think of? Is it possible to tweak my function, so that all arguments are inlined?
Sorry for this very long issue and thanks for your help! :sweat_smile:

Why is inlining not working in the second example? It's obviously not about the function signature, but somehow the usage of the arguments in the function body.

A closure argument that is called several times is not going to be inlined. It is only inlined if it is called only once. This heuristic is unlikely to change, as anything else risks uncontrolled code explosion.

Regarding loopConditionGuard, advanceGuard and enqueueGuard, they are not inlined because default accessors are only inlined if regular inlining heuristics decide that they should be inlined, which means only if the actual default value is "small enough". One way to force them to be inlined is to put the actual body in an @inline private def, as follows:
@inline private def loopConditionGuardDefault: (() => Boolean) => Boolean =
  condition => condition()

@inline private def advanceGuardDefault: (PROCESSRESULT, () => Unit) => Unit =
  (result: PROCESSRESULT, advance: () => Unit) => advance()

@inline private def enqueuGuardDefault: (Int, () => Unit) => Unit =
  (elem, enqueue) => enqueue()

@inline def depthFirstSearchGeneric[PROCESSRESULT](
    vertexCount: Int,
    foreachSuccessor: (Int, Int => Unit) => Unit, // (idx, f) => successors(idx).foreach(f)
    init: (Int => Unit, collection.mutable.Stack[Int]) => Unit, // (enqueue,_) => enqueue(start)
    processVertex: Int => PROCESSRESULT, // result += _
    loopConditionGuard: (() => Boolean) => Boolean = loopConditionGuardDefault,
    advanceGuard: (PROCESSRESULT, () => Unit) => Unit = advanceGuardDefault,
    enqueueGuard: (Int, () => Unit) => Unit = enqueuGuardDefault
): Unit = ...

I managed to get everything inlined the way you want with the following variant. But it's awkward because I had to duplicate the enqueueGuard param, and two lambdas doing the same thing would need to be passed as actual arguments if you want to use something else than the default at call site:
  @inline private def loopConditionGuardDefault: (() => Boolean) => Boolean =
    condition => condition()

  @inline private def advanceGuardDefault[PROCESSRESULT]: (PROCESSRESULT, () => Unit) => Unit =
    (result: PROCESSRESULT, advance: () => Unit) => advance()

  @inline private def enqueueGuardDefault: (Int, () => Unit) => Unit =
    (elem, enqueue) => enqueue()

  @inline def depthFirstSearchGeneric[PROCESSRESULT](
      vertexCount: Int,
      foreachSuccessor: (Int, Int => Unit) => Unit, // (idx, f) => successors(idx).foreach(f)
      init: (Int => Unit, collection.mutable.Stack[Int]) => Unit, // (enqueue,_) => enqueue(start)
      processVertex: Int => PROCESSRESULT, // result += _
      loopConditionGuard: (() => Boolean) => Boolean = loopConditionGuardDefault,
      advanceGuard: (PROCESSRESULT, () => Unit) => Unit = advanceGuardDefault,
      enqueueGuard1: (Int, () => Unit) => Unit = enqueueGuardDefault,
      enqueueGuard2: (Int, () => Unit) => Unit = enqueueGuardDefault
  ): Unit = {
    val stack = new collection.mutable.Stack[Int] // ArrayStackInt.create(capacity = vertexCount)
    val visited = new collection.mutable.HashSet[Int] // ArraySet.create(vertexCount)

    @inline def enqueue1(elem: Int): Unit = {
      enqueueGuard1(elem, { () =>
        stack.push(elem)
        visited += elem
      })
    }

    @inline def enqueue2(elem: Int): Unit = {
      enqueueGuard2(elem, { () =>
        stack.push(elem)
        visited += elem
      })
    }

    init(enqueue1, stack)
    while (loopConditionGuard(() => !stack.isEmpty)) {
      val current = stack.pop()
      visited += current

      advanceGuard(
        processVertex(current),
        () =>
          foreachSuccessor(current, { next =>
            if (!visited.contains(next)) {
              enqueue2(next)
            }
          })
      )
    }
  }

Thank you very much for taking the time to provide a workaround. While it's not pretty it allows me to do the abstractions I need without sacrificing performance or having a combinatorial explosion.

I'm going to close this, as I don't think there's anything actionable for this repo.


Tutorial refactor data train

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: yhcao6:white_check_mark: wangruohui:white_check_mark: xvjiarui:white_check_mark: RyanXLi:white_check_mark: ZwwWayne:x: AemikaChowYou have signed the CLA already but the status is still pending? Let us recheck it.


Sorting cannot be disabled

After import group have appeared (typescriptHero.resolver.importGroups) seems that sorting cannot be disabled now. 'typescriptHero.resolver.disableImportsSorting' has no action.

Also, this should not be enabled by default.

@buehler I've narrowed the error down to this line:
https://github.com/buehler/typescript-hero/blob/5050d0cd34a3b24756b21f51c1a79f48aff65b5b/src/extension/managers/ImportManager.ts#L365-L368
This groups all imports by their respective ImportGroup and therefore discards any previous sorting.
A possible workaround would be something like this:
let imports;

if (this.config.resolver.disableImportSorting) {
    imports = this.imports
        .map(imp => ImportManager.generator.generate(imp as any))
        .join('\n');
} else {
    imports = this.importGroups
        .map(group => ImportManager.generator.generate(group as any))
        .filter(Boolean)
        .join('\n');
}

But for obvious reasons import grouping won't work anymore (I guess that wouldn't be expected anyways), and existing blank lines will get lost (this is a bummer and I'm not sure how to fix this).
What are your thoughts on this?


docs: add MasonM to sustainability_effort.md

Motivation
Adding myself to the sustainability initiative. I've already contributed a few things: https://github.com/argoproj/argo-workflows/pulls/MasonM
Modifications
N/A
Verification
N/A

For posterity, @juliev0 mentioned this on Slack
Also note that, per the doc, it requires an "open Membership request". I assume that'll happen soon once you get employer permission, so should be nbd

@MasonM Happy to sponsor your membership as well. Can you check with Ethos team? They should have submitted the contribution request for your org a while ago so you may not need to do it again.


Abstract line length logic

Follow up to #743
All the "break" fixers share very similar logic and many duplicated code. Let's make abstract to clean them :white_circle:

added LineLengthTransformer to resolve line break/inline for all the cases
that solved few inconsistencies among break fixers.
PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff was removed for trial period and see if it is still needed.

Related Changes

removed setWhitespaceFixerConfig() from fixers, use DI instead

added Configuration object to bear configuration for all sniffs/fixer and autowire; it uses WhitespacesFixerConfig as well, so you can inject 1 configuration class and use it for any setup values you need

removed MethodCallWrapper and MethodCallWrapperFactory

Thank you for feedback


Retrieving data based on length of the string fields

For a sample payload like this
{
  "name": {"first": "Tom", "last": "Anderson"},
  "age":37,
  "children": ["Sara","Alex","Jack"],
  "fav.movie": "Deer Hunter",
  "friends": [
    {"first": "Dale", "last": "Murphy", "age": 44, "nets": ["ig", "fb", "tw"]},
    {"first": "Roger", "last": "Craig", "age": 68, "nets": ["fb", "tw"]},
    {"first": "Jane", "last": "Murphy", "age": 47, "nets": ["ig", "tw"]}
  ]
}

I need the last name of those friends whose first name is of 5 characters which will be Craig in this case.
@tidwall  is this possible to write such query?

@ngarg-kr I didn't try it, but I think that if you register a custom modifier to calculate the length, let's say @len, you might be able to get what you're looking for with:
friends.#(first.@len==5)#.last


Allow explicit partition for real-time segment assignment

Currently we don't support explicit partition in real-time segment assignment, which makes it unaligned with the offline segment behavior. This PR adds support for that, and make the COMPLETED/UPLOADED segment behavior the same as offline segment assignment for consistency.
Right now real-time and offline segment assignment shares a lot of common code. Will make a separate PR to extract a common class to reduce the duplicate code.
The first commit auto-reformats the related classes. Please review the second commit for the actual change.

Codecov Report

Merging #9225 (bf75f89) into master (da7d534) will increase coverage by 11.08%.
The diff coverage is 21.42%.

@@              Coverage Diff              @@
##             master    #9225       +/-   ##
=============================================
+ Coverage     15.25%   26.34%   +11.08%
+ Complexity      170       44      -126
=============================================
  Files          1806     1844       +38
  Lines         96741    98574     +1833
  Branches      14799    15007      +208
=============================================
+ Hits          14761    25965    +11204
+ Misses        80917    70043    -10874
- Partials       1063     2566     +1503

Flag
Coverage Δ

integration1
26.34% <21.42%> (?)

unittests2
?

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

Impacted Files
Coverage Δ

.../assignment/segment/RealtimeSegmentAssignment.java
39.13% <20.68%> (-55.18%)
:arrow_down:

...e/assignment/segment/OfflineSegmentAssignment.java
14.75% <25.00%> (-76.85%)
:arrow_down:

...ore/assignment/segment/SegmentAssignmentUtils.java
46.25% <25.00%> (-53.14%)
:arrow_down:

...n/java/org/apache/pinot/query/type/TypeSystem.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/query/planner/QueryPlan.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/query/validate/Validator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/pinot/query/planner/StageMetadata.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/pinot/query/planner/stage/FilterNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/pinot/query/rules/PinotQueryRuleSets.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/query/planner/stage/ProjectNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 900 more

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

Reviewing this today

Tagging related PR for reference https://github.com/apache/pinot/pull/9178


Question: Is there a better way to use webpack within webpack?

I've written this loader that spawns a new webpack process for each entry file.  I use webpack within the loader to capture all the required sass files in the graph from the entry point, (similar to the way they do it in react-proxy-loader).  Is there a better way to do this?  I feel like running webpack within webpack is  overkill, it works well, but its a bit slower because of all the new processes.  Opinions or alternative solutions would be greatly appreciated.  Thanks.
https://github.com/adjavaherian/sass-lifter-loader

There is a createChildCompiler function on the Compiler object (this._compiler) that assist you creating child compilations within a loader. i. e. the worker-loader does this to compile a worker bundle from the required file.
The react-proxy-loader doesn't do that.
It doesn't look like a good idea to do this in my optinion, but I only took a short look at your loader.


Optimize image size (step 1)

For now without modification on Framework / Boot. More optimizations will come later.

just noting optimization branch merged, image sizes down across the board although without automated tests on all samples, some samples will likely have broken (the key ones: webflux-netty/springmvc-tomcat are fine)

Based on our latest discussions, maybe we should turn this issue into focusing the feature on optimizations and create a new one for leveraging the tracing agent once fixed in GraalVM master?

With the work done on jafu and jafu-webmvc samples and the related substitution created in the feature, I think we can consider this issue as done. We will create subsequent issues as needed.


Detection of extra spaces while running own trained tesseract for Korean OCR

Tesseract Version:  Tesseract 4.00 alpha
Platform:  Linux -Ubuntu 14.04 64 bit

I have trained a few layers of the base tesseract for Korean language. I have completed my training. Now I am testing it for different images containing Korea text. I am getting the excellent character accuracy but it is detecting extra spaces after each character so my word accuracy is more than 100%. I read another issue about the same problem in Chinese OCR but not much was mentioned over there. SO can someone please throw some light on this?
@stweil @theraysmith
Here is the comparison between groundtruth and my tesseract output:-

Is the problem only with your traineddata or also with Korean traineddata posted for 4.00.00alpha?
Please do a similar test as above with kor.traineddata from tessdata repo.

No. The problem is with my trained data only. kor.traineddata from tessdata repo does not have that problem.

I got the solution for this.
Seems like we have to set the config variable - "preserve_interword_spaces" to 1 who's default value is 1 while running tesseract. The problem is solved by this for Korean language.
#991

Fixed via https://github.com/tesseract-ocr/tessdata_fast/pull/7
@zdenop  Please close this issue, after PR is merged in tessdata_fast.

What about kor_vert? Does it also need preserve_interword_spaces=1?


Android sdkmanager tool not found in MAC OS

This is my out put.When i run the flutter doctor -v:
bogon:~ dbb-mike$ flutter doctor -v
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
    • Flutter version 0.8.2 at /Users/dbb-mike/Documents/Android/flutter
    • Framework revision 5ab9e70727 (3 weeks ago), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

Android sdkmanager tool not found (/Users/dbb-mike/Documents/Android/android-sdk-macosx/tools/bin/sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.io/setup/#android-setup for detailed instructions.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      AndroidValidator._ensureCanRunSdkManager (package:flutter_tools/src/android/android_workflow.dart:261:7)
#2      AndroidValidator.licensesAccepted (package:flutter_tools/src/android/android_workflow.dart:195:5)
<asynchronous suspension>
#3      AndroidValidator.validate (package:flutter_tools/src/android/android_workflow.dart:156:19)
<asynchronous suspension>
#4      Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:105:56)
#5      Doctor.diagnose (package:flutter_tools/src/doctor.dart:183:42)
#6      _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#7      Doctor.diagnose (package:flutter_tools/src/doctor.dart:173:24)
#8      DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:29:39)
#9      _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)
#10     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:28:42)
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:372:18)
#12     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#13     _rootRunUnary (dart:async/zone.dart:1132:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#18     Future._complete (dart:async/future_impl.dart:476:7)
#19     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#20     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#21     _rootRun (dart:async/zone.dart:1124:13)
#22     _CustomZone.run (dart:async/zone.dart:1021:19)
#23     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#26     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#27     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

And this my environment config:
   bogon:~ dbb-mike$ cat ~/.bash_profile
export M2_HOME=/Users/dbb-mike/Documents/Android/apache-maven-3.5.4
export ANDROID_HOME=/Users/dbb-mike/Documents/Android/android-sdk-macosx
export ANDORD_ADB=/Users/dbb-mike/Documents/Android/android-sdk-macosx/platform-tools
export FLUTTER=/Users/dbb-mike/Documents/Android/flutter/bin
export PATH=$PATH:$M2_HOME/bin:$ANDORD_ADB:$FLUTTER:$ANDORD_ADB:$ANDROID_HOME/platform-tools

Then I want to know how to fixed this problem.thanks.

Similar to #22279
Please add the output of flutter doctor -v.
Do you have Android Studio installed?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Ignore all errors from handlers

What

Why

How Tested

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Bad approach. Log spam should be suppressed in the react-components implementation instead.
In this approach, the adapter error event will also be suppressed.


[bug]: Unable to install 3.2, Getting requirements to build wheel error

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
24
What version did you experience this issue on?
3.2
What happened?
Hi everyone,
I've tried several times to get Invoke to install but running into the same error everytime. No issues on my end (running python 3.10.6, no issues with other SD frontends like A1111)
I get the following error everytime a few minutes after the install begins, I pick option 1 for cuda (I have a 4090):
`Collecting basicsr>=<IP_ADDRESS>
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c7/c9/9dda955cc560db80bd7433210a3a8e5fc4676fcd88e64527dc3271feb7d1/basicsr-1.4.1.tar.gz (171 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "E:\AI\Invoke\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
          main()
        File "E:\AI\Invoke\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "E:\AI\Invoke\.venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\sriramatrix\AppData\Local\Temp\pip-build-env-a721ks37\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\sriramatrix\AppData\Local\Temp\pip-build-env-a721ks37\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "C:\Users\sriramatrix\AppData\Local\Temp\pip-build-env-a721ks37\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "C:\Users\sriramatrix\AppData\Local\Temp\pip-build-env-a721ks37\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 8, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip available: 22.2.1 -> 23.2.1
[notice] To update, run: E:\AI\Invoke\.venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
  File "E:\AI\InvokeAI-Installer\lib\main.py", line 52, in <module>
    inst.install(**args.__dict__)
  File "E:\AI\InvokeAI-Installer\lib\installer.py", line 181, in install
    self.instance.install(
  File "E:\AI\InvokeAI-Installer\lib\installer.py", line 237, in install
    self.install_app(extra_index_url, optional_modules, find_links)
  File "E:\AI\InvokeAI-Installer\lib\installer.py", line 316, in install_app
    pip[
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\commands\modifiers.py", line 145, in __rand__
    cmd(
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\commands\base.py", line 113, in __call__
    return self.run(args, **kwargs)[1]
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\commands\base.py", line 252, in run
    return p.run()
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\commands\base.py", line 215, in runner
    return run_proc(p, retcode, timeout)
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\commands\processes.py", line 299, in run_proc
    return _check_process(proc, retcode, timeout, stdout, stderr)
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\commands\processes.py", line 17, in _check_process
    proc.verify(retcode, timeout, stdout, stderr)
  File "C:\Users\sriramatrix\AppData\Local\Temp\invokeai-installer-tmpmcdgof9k\Lib\site-packages\plumbum\machines\base.py", line 27, in verify
    raise ProcessExecutionError(
plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 1
Command line: | 'E:\AI\Invoke\.venv\Scripts\pip.exe' install --require-virtualenv --use-pep517 'E:\AI\InvokeAI-Installer\lib\InvokeAI-3.2.0rc3-py3-none-any.whl[xformers,onnx-cuda]' --extra-index-url https://download.pytorch.org/whl/cu118
Press any key to continue . . .`
![installerror](https://github.com/invoke-ai/InvokeAI/assets/35632843/be8390b5-4fed-4ac2-b4b1-6dd472b8f44e)

Any help would be great, really excited about trying the newest features. Thanks!
Screenshots

Additional context
No response
Contact Details
No response

Hi man, I face the same issue as you do, could you tell me what's the solution of this?

Same here

same here... is there any solution now?

@cyanineeee can you open the developer console from your invoke.sh / invoke.bat file and run: pip show torch?