Face recognition using wavelet features

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #5889

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Plagiarism check done ✅

@Dawe-7 changes made.

Hello @simonmwaniki, as i was doing a final review on my end before marking this article as ready for final review i noticed that you have extra images. I haven't seen any image links to them in the article, if they are unnecessary kindly remove them. There also two hero images, kindly check on that.
Ping me when done.

Any updates @simonmwaniki

@Dawe-7 I checked the images, they were ok and all links. No extra image. Check slack please.

Great work team. @Dawe-7 @simonmwaniki


Test metrics  by emitting unknown domain tag

What changed?

Why?

How did you test it?

Potential risks

Coverage increased (+0.4%) to 68.91% when pulling 4e81cac5bdfff67cf53989eea94d09ab7c69480e on 0.13.x-domainTag into 2653b19848200c1a159e8dfe767f149d9444eb1e on 0.13.x.


Companion does not reload extension after new extension uploaded.

after a new aix file is uploaded to appinventor's server, the connected companion would receive the new file but it seems like not loading it unless reconnnect.

@ColinTree After you upload the new extension, you should see in the developer tools an HTTP call to /_extensions with the list of extensions in your project. Does that happen? Do you see any errors in adb logcat that indicate something went wrong?

Also relevant is AppInvHTTPD.processLoadExtensionsRequest.

I wonder also if changing the blocks workspace would cause a recompile of the relevant code to use the updated version from the last version loaded into memory.

i got an old extension return 1 when a specific method is called, and the new extension returns 2
upload old extension first, the return value is 1.
upload the new extension, there was an "OK" with "_extensions"
the screen on companion doesn't even get a refresh (so the components did not changed, just like nothing happened.) so the return value is still 1.
then i modify a name of a existing component, the screen refreshed, but the loaded extension is still the old one. (returns 1)
i disconnect the companion, and reconnect it back, it then returns 2.

Thanks. I'll look into this and get back to you.

@ColinTree I've confirmed that we can replicate this bug on our end. It's unclear exactly why this is occurring but it will require a change to the companion to work correctly.


Feature Request: Relation Between Contract Definition, Access Policy and Contract Policy

Feature Request
The Contract Definition entity and the Policy entity are not directly related, both at the application and persistence layer. Instead, a String ID bridges these entities.
The Object-Oriented way of relating these entities should be having a Policy accessPolicy and Policy contractPolicy within the ContractDefinition class.
At the persistence layer, Contract Definitions should have 2 many-to-one relations with Policy, creating the relation between them.
Moreover, additional business validation rules should be added for endpoints related to these entities, such as:

Contract Definition creation should guarantee the existence of the related policies (at the moment, a contract definition can be created with a accessPolicyId and/or contractPolicyId that don't map to any existing Policy)
Policy deletion should not be possible if attached to a Contract Definition

Which Areas Would Be Affected?
Application Domain Layer
Database Schema
Endpoint business validation rules
Why Is the Feature Desired?
This feature solidifies the domain layer of the application, following a Domain Driven Design approach. The Contract Definition would represent the real relation between it and the attached policies.
This feature removes inconsistencies with the stored data (Contract Definitions with policyIds to not existing policies)
This feature facilitates querying for the policies of a contract definition.
Details
Part of this issue was already discussed (https://github.com/eclipse-edc/Connector/discussions/3693) and an issue opened (https://github.com/eclipse-edc/Connector/issues/3702). Although it seems to be added to Milestone 13, this issue still persists.

Hi @afonsocorreiactw. I think there is significant misunderstanding of a few of the core concepts of EDC. Entities in EDC, such as policies, as well as Assets can exist independently. This is by design and for several reasons. EDC in itself is not an application but a platform, consisting of more or less loosely coupled modules, so referring to it as an "application layer" is incorrect. EDC does not claim to - nor does it intend to - follow DDD, thus assuming it to be the architectural foundation of EDC is incorrect.
There are however several architectural principles and design patterns that EDC is based upon, and I suggest you familiarize yourself with them and the code base first.
Enforcing any sort of object relation at the persistence layer would be a huge impact on the code base without providing any real value.
However, validating several rules on ingress, i.e. management API, has been discussed numerous times, and I would not be generally opposed to it, but it seems to not have gained any real traction so far.
In closing I would also ask you to please follow our contribution guidelines, that means don't randomly open issues without having a discussion first. Specifically, if additional validation on API ingress is what you're after, then I would suggest to:

open a (focussed!) discussion first, outlining specific painpoints and their potential remediation. I cannot stress enough how important it is to motivate a change request. Simply saying "I think it would be better to..." isn't enough.
give committers some time to brood over it, reply etc.
if it gets upvoted, be ready to provide a sharply focused issue (or issues)
if you intend to contribute:

provide a written technical proposal first
then, submit a focused PR

PS: as I'm sure you are aware it is easily possible, even now, to replace the current management API, or parts of it, with your own custom one, or even just supplying additional validation rules.

Hello @paullatzelspergera and @ndr-brt
Thank you for your replies.
I think there were some misconceptions regarding the goal of the Feature Request.
Nevertheless, I'll be closing this issue as I see this change goes against the core design of the EDC.
Regarding the process, I reviewed the contribution guidelines and will be sure to follow them for future contributions.


Need to find all elements not 1

driver.wait_for_element('[id*="filterListItem"]', wait=Wait.SHORT)
How to find elements with css_selector?

driver.select(".search-results", wait=Wait.SHORT)

I think that can help


Can't install via CDN - Unknown custom element

Hello, i followed the instructions for installing from CDN but it gives the following error:
vue-2.5.13.js:584 [Vue warn]: Unknown custom element: <multiselect> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <xxxxxxxxxxx>
       <Root>

I tried some of the similar issues here but nothing works 😭
Please someone help, i must make it work through CDN, i tried it with webpack it works fine (it is very fast component), but i want to use it with CDN 🥇

Somehow i found this jsfiddle and i figured out the solution myself.
Here are my instructions if someone is beginner like me, and had the same problem.
First include the files (version can be different):
<script<EMAIL_ADDRESS><link rel="stylesheet"<EMAIL_ADDRESS>
Then, you need to register multiselect on the component which should have the multiselect.
components: {
    Multiselect: window.VueMultiselect.default
},
data: {
    // here goes data
},
methods: {
    // here goes methods
}

Then you can use it.

@shentao Why the part where we should register the component by using
components: {
    Multiselect: window.VueMultiselect.default
}

is not written in the documentation?
Can you please add that to the documentation (or add the jsfiddle link at least) so people can install it from CDN.
I almost gave up trying this component because i couldn't install it from CDN. I somehow managed to install it. Please accept the suggestion to explain better installation in the documentation as it can help someone.

Thanks for the suggestion! Sorry for the trouble. Updated the docs! :)

afraid this is not working in 2.1 now, with this error:
caught TypeError: Cannot read property 'default' of undefined

2.0.6 is fine though

Had to came here to find out how to make VueMultiselect work on a simple PHP + Pure Javascript application + Vue.

Birjup - did you find a solution for this default error?

@ChristinaDRoberts I followed just the comment above with the Vue v2.5.16.

@shentao The documentation just mentions the global component registration which does not work when adding the component via a CDN. Could you please add the @TheAndroidGuy solution to the docs https://github.com/shentao/vue-multiselect/issues/643#issuecomment-365104178
components: {     Multiselect: window.VueMultiselect.default },

Having a similar issue, working with a cloud IDE platform so I can't use NPM with multi-select. The docs are confusing on how to include via CDN. Please provide an example with CDN


Added WebP image format support

Objective
WebP is a modern image format developed by Google that offers a significant reduction in file size compared to other image formats such as PNG and JPEG, while still maintaining good image quality. This makes it particularly useful for games with large numbers of images, such as those with high-quality textures or detailed sprites, where file size and loading times can have a significant impact on performance.
By adding support for WebP images in Bevy, game developers using this engine can now take advantage of this modern image format and reduce the memory usage and loading times of their games. This improvement can ultimately result in a better gaming experience for players.
In summary, the objective of adding WebP image format support in Bevy is to enable game developers to use a modern image format that provides better compression rates and smaller file sizes, resulting in faster loading times and reduced memory usage for their games.
Solution
To add support for WebP images in Bevy, this pull request leverages the existing image crate support for WebP. This implementation is easily integrated into the existing Bevy asset-loading system. To maintain compatibility with existing Bevy projects, WebP image support is disabled by default, and developers can enable it by adding a feature flag to their project's Cargo.toml file. With this feature, Bevy becomes even more versatile for game developers and provides a valuable addition to the game engine.

Changelog

Added support for WebP image format in Bevy game engine

Migration Guide
To enable WebP image support in your Bevy project, add the following line to your project's Cargo.toml file:
bevy = { version = "*", features = ["webp"]}

Thanks!
 I added the documentation with that command

Do we normally note when features depend on C/C++ libraries? That may be useful information for users to understand when there is no wasm support. It looks like the webp feature in the image crate depends on a C library.

Do we normally note when features depend on C/C++ libraries? That may be useful information for users to understand when there is no wasm support. It looks like the webp feature in the image crate depends on a C library.

It only uses libwebp when encoding but that is not enabled here 😊

Also, this supersedes #2600, as the other pull request imports a C library and uses an old asset-loading system.

@KernelFreeze Note that your comment regarding "reduced memory usage" would only potentially apply while in the process of loading the image. Once it's loaded it will be stored in ram and vram raw and uncompressed. To reduce ram and vram usage a GPU compressed format should be used. (like KTX2 files with BCn compression for example)


Change default for http_max_row_limit to 0

The defaults from influxdata have changed with version 1.2.1
https://github.com/influxdata/influxdb/blob/master/CHANGELOG.md#v122-2017-03-14
This module should represent this defaults.

Failing tests? Hard to belive that I could do something wrong with changing one number. Can I do something to pass the test?

Probably you will need to update some rspec libraries to make it work again.

Sorry but I don't have a local environment to test. And without any result details I cannot guess what is missing.


Migrating Enterprise Service config from etcd -> postgres

 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.1 out of 2 committers have signed the CLA.:white_check_mark: acohen4:x: anonymousanonymous seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I think we need to figure out a way to test the migration codepath. At the moment it's not exercised because we never stop at the 2.0.0 point and setup the enterprise service. We don't need the whole cluster, we just need an etcd (from testetcd) and a postgres (from dockertestenv)

So this is what I was hoping would be accomplished by the upgrade test. Right now because master doesn't have the migration, the cluster first builds, activates enterprise/auth, does some basic pipeline creation. Then post-upgrade, the migrations gets applied and we check everything still works. I recognize one downside is that this test execution is not codified and rerun. Do you think that's what we should aim for?
Also good catch that etcd isn't being cleaned up right now during the migration. I think adding another migration there makes sense, and I need to figure out the best way to model that in a test since the upgrade test really is working at the PR level


panda-client 1.5.20 github action

automatic pull request

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Helm as alternative executor plugin

Overview
Botkube has existing support for kubectl, now we will be adding helm support to execute helm commands through Botkube.
Acceptance Criteria

[x] Helm executor plugin should have the same experience (commands, flags) as Helm CLI
[x] Implement Helm plugin for Botkube

interactivity is out of scope
install, uninstall, upgrade, rollback, list, version, test, status

--repo - custom flag which adds the repo for a short period of time
support --set for now
ensure multiline commands work properly

[x] Design a configuration structure for the helm executor plugin
[x] Document it in plugins folder under the main Botkube repository.

Stretch:

[ ] add helm history command
[ ] add helm get [all|manifest|hooks|notes] commands

Reason
Helm support was heavily requested by the community. That's why this would be one of the first new executors.

We don't need to support all of the commands that are used for creating Helm charts. We should support the commands used for working with software installed using Helm (show, install, uninstall, upgrade, rollback, etc.).

@brampling @lpetkov
Do we want to add a Helm related section to our Help message? (visible only when Helm plugin is enabled)
Something similar to what we have for kubectl?

Stretch:

add history command
add helm get [all|manifest|hooks|notes] commands

Yes, this would be nice to add for now. If we eventually get lots of plugins we should make it generic, but in this version it's useful to get users to try the new feature.


Status

I'm able to schedule time to work on this project now, and I have a goal list that is mostly accomplished by @amstocker. (context: https://github.com/BrendanBenshoof/ipfs_scratch/issues/1)
The big things that may be handled well, but I need to figure out and insure are:

Error Handling (do we provide useful Exception (codes or types) both when requests fails and when ipfs returns an error? How does the generalized "command type" model interact with ipfs command specific

Documentation? We essentially want to re-document every ipfs command with context on what is returned by our api. Inline pydoc doc-strings are a little harder because of the model @amstocker used (which I actually really like). I might just go ahead and add them to the "COMMANDS" section of client.py following the associated definition and in the worst case I'll have to compile a documentation page myself.

Python 3 compatibility

Looks like there is a lot of work to do on this front. I am still getting a more solid understanding of what.

Thanks for your help!  As it turns out I need to study for the math GRE in the next few weeks so I'll only have some short bursts of time to work on this going forward.

Error-handling should be straight-forward.  It seems that most user errors are returned as json so we could check for a "Message" and "Code" field.  For example if you use cat on an invalid multihash it returns:

.. code-block
{u'Message': u'invalid ipfs ref path', u'Code': 0}

I'm taking a stab at Python 3 support now

Thanks moreati!

Superseded by #26


Does not work with ASP.NET Core 3

I was able to configure endpoints like this (instead of UseRouteAnalyzer()):
            app.UseEndpoints(config =>
            {
                config.MapControllers();

                // Manually add RouteAnalyzer endpoints
                config.MapControllerRoute("routeAnalyzer", "{controller=RouteAnalyzer_Main}/{action=ShowAllRoutes}");
                config.Map("/routes", context =>
                {
                    context.Response.Redirect("RouteAnalyzer_Main/ShowAllRoutes");
                    return Task.CompletedTask;
                });
            });

But the page rendering fails with
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Still the same here...
TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint' from assembly 'Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
in
AspNetCore.RouteAnalyzer.Inner.RouteAnalyzerImpl.GetAllRouteInformations()
AspNetCore.RouteAnalyzer.Controllers.RouteAnalyzer_MainController.ShowAllRoutes()
lambda_method(Closure , object , object[] )
Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(object target, object[] parameters)
Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Hello @ugumba , for you and anyone else who comes across this, I know this is a little dated, but my team and I were dealing with this exact type load issue this week as part of an effort to migrate some of our legacy aspnetcoreapp services to 3.1 from 2.0.  Our "aha" moment came when we reviewed the MSDN 3.0 compatibility docs section below and saw that the Microsoft.AspNetCore.Mvc.Internal.HttpMethodActionConstraint type is among the pubternal apis that are no longer publicly accessible.
https://docs.microsoft.com/en-us/dotnet/core/compatibility/3.0#pubternal-apis-removed
After removing references to the HttpMethodActionConstraint  type on our end, the issue no longer cropped up :smile:  Looking at the updates you made in the previously PR #26 above, the issue persists b/c those updates still reference the now fully internalized HttpMethodActionConstraint type.
We still needed access to the httpmethod of the ActionDescriptor, so to get around that we instead queried the descriptor instance's EndpointMetadata property which contains the same httpmethod metadata info.  You can make a similar change on your end, something like the below example, and that should resolve that typeload exception and still provide the httpmethod info you need
	var httpMethodMetadata = _e.EndpointMetadata.Where(obj => obj is HttpMethodMetadata).FirstOrDefault();

	if (httpMethodMetadata != null)
	{
		var verbMethod = (httpMethodMetadata as HttpMethodMetadata).HttpMethods.FirstOrDefault();
		verb = verbMethod == null ? verb : verbMethod;
	}


build release apk failing, missing directory: android/app/src/main/assets/

Description
I've tried to build release apk from terminal, and got an error.
Reproduction
$ react init myApp
$ cd myApp && npm install
$ cd android && ./gradlew assembleRelease && cd ..
$ react-native run-android --configuration=release
bundle: Writing bundle output to: android/app/src/main/assets/index.android.bundle

ENOENT: no such file or directory, open 'android/app/src/main/assets/index.android.bundle'

Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

(node:24734) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

Solution
ATM I'm manually creating the missing directory after I init a project with mkdir 'android/app/src/main/assets
This folder should b created with react-init
Additional Information

React Native version: 0.40.0
Platform: android
Operating System: Linux, Ubuntu 16.04

I could provide a PR with some guidance :)

Thanks! I had the same problem and didn't know that solution is so simple :)

+1 same issue here. Running react-native upgrade also didn't create the missing asset directory.

+1 same issue here. Running react-native upgrade also didn't create the missing asset directory.

^ Just ran across this exact issue. Specifically, 0.39 (fresh install) -> 0.40.

This is probably a one line addition to fix.
Since it's obviously affects a LOT of RN users, any reason this is not fixed?
I could prepare a PR if I get some pointers (never touched RN cli code)

This works for now react-native run-android --configuration=release

Add this missing lines android/app/src/main/assets/index.android.bundle to your directory then run again the release configuration

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/build-release-apk-failing-missing-directory-androidappsrcmainassets


Fix newConnectionOnRetriableError test

Description
Fixes AmqpChannelProcessorTest.newConnectionOnRetriableError tests.
The test was failing flakily as it was checking for the specific exception instance passed into the test but some of the cases being tested wrap the exception in an AmqpException. The test now checks the exception and the exception cause for being the instance passed into the test.
Additionally, now the mocked retry throws an exception if an unexpected state is reached rather than returning a timeout the way fail the test. The timeout was unclear as it could have many causes and hid the reason another retry attempt was made. The explicit exception includes why and what caused the unexpected retry.
Lastly, this removes usage of Mockito in the test for simple and clear class extensions and interface implementations tracking what we're testing.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


[RediSearch] Add support for FT.CREATE & FT.SEARCH attributes

Two more features were added specific to JSON:
On FT.CREATE:

identifier AS Attribute

On FT.SEARCH:

RETURN {jsonPath} AS {property}

@gkorland Hi, thanks for the issue!
Are there any docs explaining these new additions?

hey, there doesn't seem to be docs yet for JSON search support (https://github.com/RediSearch/RediSearch/issues/2043)
AS add alias for specified property. It seems you need to add alias on properties when creating index on JSON for many search features to work.
Take at peek here as an example usage: https://youtu.be/6viyQCcdrU0?t=427
Thanks.


ConfluenceLoader's keep_newlines is not passed correctly

System Info
LangChain version: v0.0.314
Who can help?
@eyurtsev @baskaryan
Information

[X] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[X] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
    from langchain.document_loaders import ConfluenceLoader

    loader = ConfluenceLoader(url="xxx", session=get_session())
    docs = loader.load(page_ids=["xxx"], keep_newlines=True)
    for doc in docs:
        print(doc.page_content)
        have_newlines = "\n" in doc.page_content
        print(f"{have_newlines=}")

read the source code, I found the keep_newlines arguments are not passed to process_page function when load with cql and page_ids
file: langchain.document_loaders.confluence.py
function: Confluence.load
lines: 308-353

Expected behavior
The keep_newlines parameter is passed correctly and empty lines are correctly retained

hello i am having the sam issue


[Question] Is there a way to have SonarQube break build on PR when quality gate fails?

The code looks pretty straight forward: https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/SonarQubePostTest/SonarQubeBuildBreaker.ps1#L13
But still I wanted to ask if maybe there is some configuration or some other way to ensure build breaks when quality gate fails. If not, can you explain why? For me, and I believe many others, this is the single most important feature of SonarQube and VSTS integration.

Hi @sinapis  - this is in fact a SonarQube limitation - i.e. the quality gate is not calculated during PR builds. Please contact SonarSource, the company behind SonarQube with a feature request.
In a PR build we run the analysis in "issues mode", i.e. the analysis is not recorded in the SQ database and more importantly, the quality gate is NOT computed. The issues are written in a file which we process and then we inject them into the code review associated with the PR . Not running a full analysis during a PR is important because it would create too much noise in the tech debt trends and it has been suggested by the SonarSource team.

Thanks for the quick response!
In this case I'd like to request a feature - add something like approvalFeatureEnabled for https://github.com/mibexsoftware/sonar-bitbucket-plugin where build will break if blocking or critical issues exist.

Interesting. Please confirm I understand the scenarion - SonarQube pushed comments to the PR but the PR cannot be merged if messages arising from critical issues are still active ?

Yes, exactly (Just note that blocker issues are more severe than critical issues, so obviously they will block the merge as well). I actually think it would be best if the blocking severity could be configured by the user, but I can definitely live with blocking the merge for critical and blocker issues only.

I'll send this to the team that handles Pull Requests. Currently PR comments do not have priority and there is no API that I know of that allows to block a PR based on the comments in it. That being said we already have various branch policies, so maybe we could leverage one in this case.

Oh, and feel free to use the "smiley face" to send a smile / frown with your suggestions directly from VSTS. :)

Done!
How about breaking the build by the build task "SonarQube for MSBuild - End Analysis" when severe issues are found?

That's a good idea, I will add it to the backlog.

Hope I'm not resurrecting a dead post, though I might have a similar use-case where I would like to prevent PR merges if some blocker issues or a quality gate failures exist.
Since SonarQube 6.7, with sonar-scanner 3.0 (integrated with MSBuild), we were able to break builds on a quality gate failure, with the exception of builds triggered by a PR. (I'm aware that sonar-scanner runs on 'issues mode' in PR builds.) This allowed us to pinpoint what caused the issue and quickly address it, should a build break on a quality gate violation.
However we have recently updated our Sonar server to 7.0, as well as updating the SonarQube analysis build tasks to utilize sonar-scanner 4.0, and it seems that once again the ability to break builds on quality gate failures is removed-unfortunately, this was the single most utilized feature on our side that allowed us to prevent PR merges that would introduce new issues on our codebase.
Is there any way to achieve such functionality with SonarQube 7.0 and sonar-scanner 4.0, if so I would like to know. Any help or suggestion would be appreciated.

Hi @emre-aki, have a look at this extension :
https://github.com/SonarQubeCommunity/sonar-build-breaker


Create all YAML dataset_info

Following https://github.com/huggingface/datasets/pull/4926
Creates all the dataset_info YAML fields in the dataset cards
The JSON are also updated using the simplified backward compatible format added in https://github.com/huggingface/datasets/pull/4926
Needs https://github.com/huggingface/datasets/pull/4926 to be merged first

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Closing since https://github.com/huggingface/datasets/pull/4974 removed all the datasets scripts.
Individual PRs must be opened on the Hugging face Hub to add the YAML metadata


Fixed an explanation for the usage of bootstrap.sh with option

Issue #, if available:
Description of changes:

fix the phrase for how to use bootstrap.sh with an option
from "usage: $0 [options] <cluster-name>" to "usage: $0 <cluster-name> [options]".

This is because that  is $1 and [options] is $2 in the script.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Wait a minute, the documentation is correct, since we shift the arguments. The $2 is the argument to the option.


Hero transition seems to flash the screen before and after

When triggering a hero transition, it appears that the screen flashes right before and right after. I see other elements, like the header bar, flash and reappear when the hero transition is complete.
This flash doesn't seem right. Is this a known issue?
Happy to show the demo at my desk.

cc @Hixie @collinjackson

[ ] Heroes are animated at the overlay layer, which means if you animate a hero that ends up wanting to be behind the toolbar, it'll overlap the toolbar then get snapped behind it, which will seem like a flash. We should find a way to animate the hero below the target toolbar.
[ ] For some reason it looks like PageRoutes have a black modal barrier behind, which, when combined with the move effect, makes the toolbar look like it's coming up over black.

I fixed the first thing in #741

We seem to be doing much better here. I don't see a Flash. Need to test again, so assigning to me.

This may also relate to https://github.com/flutter/flutter/issues/5231.

We don't flash. There are other things we could improve but they're tracked in other bugs.

I've just overlooked heroes for so long because it's always done that.  I.e. dont use them.


Add option to disable compression

I'm using pg_dumpbinary on a database which already has compressed data (JPEG files stored via TOAST). So there is no benefit to using gzip, since the data are already compressed. Please add an option to disable compression.

Commit 64b42db add this feature with new option -C | --no-compress to pg_dumpbinary. Please give it a try in your context and post your feedback. Thanks.

Thanks. I'm testing the export now. Will report back when the dump is done (it will take a few hours).

Thanks. Be warned that if table has a character that is escaped by the quotemeta() Perl function,  like dollar sign, the dump will crash. Last commit 6fd64bc fixes this issue.

It worked well. I noticed better performance using compression level 1 vs no compression, but I still think it's a good idea to have the no compression option.

ok, I will replace the --no-compress option by --compress-level option so that we will be able to set the compression level for gzip and 0 meaning no compression.


Print package name of executable

Hi,
would it be possible to add a flag like --package that causes comma to print the package name (plus maybe other information) instead of executing the program.
This would be useful when you know the name of the executable, but the nix package is named differently. For example, the neovim binary is called nvim. Let's say I do not know that the project/package is actually called neovim. Now, I could only use comma to run neovim (, nvim) but I would have a hard time to install neovim. With a --package flag I could find out that the package is actually called neovim.
Thanks :)

Fixed by https://github.com/nix-community/comma/commit/34ba5a05bcfd13cf8b1776ff2a2a8068adb45d07


Distribute property type union members to create union of object types

TypeScript Version:  v3.9.0-dev.20200222

Search Terms: union type object property
Code
type Test =
  | { b: [false, "a"] }
  | { b: [true, "b"] }

declare const b2: boolean;
const a: Test = { b: b2 ? [b2, "b"] : [b2, "a"] }

Expected behavior:
No error. I'm not exactly sure if this is a bug or feature request but, essentially, it'd be nice if TS could recognize that: { b: [true, "b"] | [false, "a"]; } is identical to { b: [true, "b"] } | { b: [false, "a"]; }
Actual behavior:
Type '{ b: [true, "b"] | [false, "a"]; }' is not assignable to type 'Test'.
  Type '{ b: [true, "b"] | [false, "a"]; }' is not assignable to type '{ b: [true, "b"]; }'.
    Types of property 'b' are incompatible.
      Type '[true, "b"] | [false, "a"]' is not assignable to type '[true, "b"]'.
        Type '[false, "a"]' is not assignable to type '[true, "b"]'.
          Type 'false' is not assignable to type 'true'.

Playground Link: Playground Link

We have some logic that @rbuckton added that handles some of these cases - maybe it's not exactly detecting the narrowing correctly? I would have expected this to work

We only currently handle this for cases where the source type is a discriminated union, which isn't the case here.


coq_8_13: init at 8.13+β1

Motivation for this change
Prepare for the next release: https://github.com/coq/coq/releases/tag/V8.13%2Bbeta1
NB: the addition of mathcomp libraries at version 1.12 is just to fix the build with Coq 8.13: it’s a minimal change to avoid conflicts and work duplication with Cyril’s refactoring (in #105877).
cc maintainers @roconnor @thoughtpolice @Zimmi48
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I agree that ten versions of Coq might be too much. In particular compatibility across versions is much better than what it used to be.
How many of them should we keep? And which ones?

Result of nixpkgs-review pr 106427 run on x86_64-linux 1

1 package built:

coq_8_13

How many of them should we keep? And which ones?

How does this selection work in other languages? I think for OCaml we also keep all the versions in a given range (currently, we have 13, from OCaml 4.00 to OCaml 4.12). Are there examples of language compilers for which some intermediate versions are dropped from nixpkgs?

A data point: there is this issue, that is still open #54556

How many of them should we keep? And which ones?

How does this selection work in other languages? I think for OCaml we also keep all the versions in a given range (currently, we have 13, from OCaml 4.00 to OCaml 4.12). Are there examples of language compilers for which some intermediate versions are dropped from nixpkgs?

General rule is 3 versions. I think terrarform is a recent example I have seen.
Keeping all patch versions is not required. We can keep different major versions and minor versions of there is a use case.

Terraform is probably not the best comparison because it's not a language compiler. In nixpkgs, language compilers tend to have many more versions than 3. I gave the OCaml example (with its 13 versions) because this is the example I know the most, but I'd be interested in other examples. Python for instance has 2.7, 3.6, 3.7, 3.8, 3.9.
It seems like a reasonable strategy to drop very old versions (especially when they become a hassle to maintain) but to keep a whole range between the oldest supported and the latest version. Patch-level releases are indeed probably not useful, but not a problem either if they only add one line with a sha256 to the derivation and nothing else (in particular, they are not exported to the package list).
Another aspect to take into consideration is the release frequency and the level of compatibility between releases. In the case of Coq, major releases are frequent (every 6 months) and introduce incompatibilities (although not as many as before) that tend to require an update of the packages that depend on Coq.

Let’s merge this so that we can update 8.12 to 8.12.2 and avoid merge conflicts.


3D coordinates missing

Hi,
Thank you for the implementation.
I noticed you used the pixel coordinates (coors in Generator module), while in the paper they used 3D coordinates in space x = (x, y, z).
Is there a reason for this difference?

@RoniPaiss this is like my second repository that touches on NERF and the like, so I am still learning as I go. it's quite probable that I have an error here and there!

@RoniPaiss this is like my second repository that touches on NERF and the like, so I am still learning as I go. it's quite probable that I have an error here and there!

@RoniPaiss embarrassingly enough, I mistook the implementation in the paper to be that of a siren 2d (R ^ 2 -> R ^ 3), when in reality they combined Siren with neural radiance fields, which I don't have a full understanding of. 😞  That is why I did not have the z in there
Let me read up on NERFs and understand the algorithm completely before I circle back and push it to completion


object det with DAT

In the papaer,
DAT regards the two sub-tasks as a whole, and attacks the overall detection loss to produce adversarial images.
Does it mean that the total loss is directly used to calculate the gradient？
In addition, in the adversarial training of the object detection task, are the relevant parameters of the adversarial training the same as those of the classification task？

In L2Step/LinfStep, the project function clamp the x_adv within 0-1. If the preprocessed input is between -1 and 1, should it been clamp to [-1,1]?

Yes, total loss is directly used to calculate the gradient.
Hyper-parameters of DAT can be common among different tasks.
As the input interval has changed, $\epsilon$ and step_size also need to be changed.

Yes, total loss is directly used to calculate the gradient.
Hyper-parameters of DAT can be shared among different tasks.
As the input interval has changed, ϵ and step_size also need to be changed.

Regarding the third point, are there any rules for how to adjust these hyperparameters?

For example，assume $\epsilon=1/255$ when $x_{adv}$ lies in [0, 1]. For new $\hat{x}_{adv}$ lies in [-1, 1], which is normalized by mean=[0.5,0.5,0.5], std=[0.5,0.5,0.5], the new $\hat{\epsilon}$ should be $\hat{\epsilon}=2\times \epsilon $

For example，assume ϵ=1/255 when xadv lies in [0, 1]. For new x^adv lies in [-1, 1], which is normalized by mean=[0.5,0.5,0.5], std=[0.5,0.5,0.5], the new ϵ^ should be ϵ^=2×ϵ. Same rules are for step_size.

Thank you for your answer


autojit doesn't work with multiprocessing module

should it?  see code below:
from numba import autojit
from multiprocessing import Pool
@autojit
def do_it(args):
return args[0]+args[1]
pool=Pool()
#this works
#idx=map(do_it,zip(range(0,10),range(3,13)))
#but not this, unless the @autojit above is commented out
idx=pool.map(do_it,zip(range(0,10),range(3,13)))
[print(x) for x in idx]

This works fine these days, closing.


SUBLIME_ESLINT_FOLDERS and SUBLIME_ESLINT_FILE env added

Hi Aliaksei!
I'm using the docker container for eslint. The only problem is to extract the root folder from the sublime tree. This path is required for .eslintrc detection.
What I did is kind of sharing the information using the ENV variables. Please, review.

I don't think it is a proper place for this code. It does not do any ESLint-specific things, it is just variables for current SublimeText folders and SublimeLinter file to lint. It seems like when you want to use another linter plugin, you will need to duplicate this code to it. I'd suggest you to try to implement this code in SublimeLinter itself.

Ok, thank you.


pythonPackages.htmltreediff: fix build

Motivation for this change

add pythonPackages.nose as checkInput to make the tests passing
extract expression into its own file

See https://hydra.nixos.org/build/70680974/log
See ticket #36453
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pythonPackages.htmltreediff

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: pythonPackages.htmltreediff
No log is available.

Success on x86_64-linux (full log)
Partial log (click to expand)
reading manifest file 'html_tree_diff.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'html_tree_diff.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/x5xb3hbbc91mprqakcl98cg78h0pm9kw-python2.7-htmltreediff-v0.1.2

Success on aarch64-linux (full log)
Attempted: pythonPackages.htmltreediff
Partial log (click to expand)
reading manifest file 'html_tree_diff.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'html_tree_diff.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/k7mi8nbamb5hsps0x96xi3iqpcjy55g5-python2.7-htmltreediff-v0.1.2


xarm_vision is not present in this repo

Hi @penglongxiang  ,
As xarm_vision was there in xarm_ros . I could not find the xarm_vision in xarm_ros2 .
May I know the reason and when will it be available?
Thanks

hi @goyalvarun02, most of the third-party vision packages do not have ros2 version. So we will not be able to integrate or provide demos here.


Demonstrate a redeployment and swap

Done when we have working, up-to-date websites at both "openvault.wgbh-mla.org" and "demo.openvault.wgbh-mla.org" after redeploying and running the aws-wrapper script to perform the swap between "demo" and "production".
steps:

[x] deploy latest to "demo" only and verify
[x] initiate swap
[x] verify "production" contains latest

@mccalluc The swapping work very well, great work!
The rsync doesn't work for some reason though. But it doesn't need to for the immediate time being.
I'm still not totally sold that we need that final rsync step. Or at least, I like the idea that we can swap without doing the rsync. The swapping is very fast, and a full rsync will probably be very slow. So the idea that we can swap without rsync, and then swap quickly back if we made a mistake is very appealing.
I nice flow might be:

deploy to demo
verify
swap
verify
rsync if desired

Thoughts?
(closing this ticket now though, because it's done)

Here's what's happening with the rsync... no errors, just not finding any files I guess...
INFO [2016-03-18 09:17:05]: try 1: ssh -A -o StrictHostKeyChecking=no<EMAIL_ADDRESS>-t -t 'if [ -e /mnt/ebs ]; then rsync -ave '\''ssh -A -o StrictHostKeyChecking=no -l ec2-user'\'' --exclude=lost+found ec2-user@<IP_ADDRESS>:/mnt/ebs/ /mnt/ebs/; fi'
INFO [2016-03-18 09:17:06]: receiving incremental file list
INFO [2016-03-18 09:17:06]:
INFO [2016-03-18 09:17:06]: sent 27 bytes  received 42 bytes  138.00 bytes/sec
INFO [2016-03-18 09:17:06]: total size is 0  speedup is 0.00
INFO [2016-03-18 09:17:06]: Connection to <IP_ADDRESS> closed.

@afred: If I remember correctly, the rsync is only looking at the EBS volume, which, AFAIK, we're not using, so no surprise that nothing is being copied.
More generally: maybe it doesn't fit our workflow that well. The alternative would be taking responsibility for making sure any new deploy has a fresh index, and fresh code, and maybe that works better for us?
The other part of this question is whether we ever update code or index on the live server... If we do, then I could imagine it being more likely that the other server lags, and we might swap it up while it's still behind.


patch bugs

import Gooact, { render, Component } from "../gooact";

class Title extends Component {
  componentDidMount() {
    console.log("title")
    console.log(document.getElementById("title"))
  }

  render() {
    return (

{this.props.children}

    )
  }
}

class App extends Component {
  constructor(props) {
    super(props);
    this.state = { arr: [{id: 1,v:1},{id:2, v:2}] };

    this.onReverse = this.onReverse.bind(this);
  }

  componentDidMount() {
    console.log("app");
  }

  onReverse() {
    this.setState({arr: [{id: 2,v:2},{id:1, v:1}]})
  }

  render() {
    const { counter } = this.state;
    return (

        {
          this.state.arr.map(o=>
{o.v}
)
        }
        <button onClick={this.onReverse}>reverse</button>

    );
  }
}

render(<App />, document.getElementById("root"));

when click, it render

This issue was related to key generation mechanism - so both
2
 and <button>reverse</button> had the same key 2 - it was set up explicitly for the first one, and was calculated out of the index implicitly for the second one.

This one was caused by invalid default key generation algorithm - double fixed.


Cannot open two tabs with the same wave

In chromium:

Open http://swellrt.org
Right click in tab and select "Duplicate"

Wave in 2nd tab does not load

Fixed. Second tab will load, and first tab will get an exception "DUPLICATED_CONNECTION" so the client can gracefully shutdown.


ENH: Support iterative ITK external module dependencies

Pairs with ITKPythonPackage@5d41c258e5cb04d80cdfde19563e3683c42094a6 to
add support for building ITK modules that depend on other ITK external
modules.
Depends on https://github.com/InsightSoftwareConsortium/ITKPythonPackage/pull/243.

Testing alongside https://github.com/InsightSoftwareConsortium/ITKPythonPackage/pull/243 has passed 🟢
ITKPythonPackage changes should be merged in first and the commit hash in this PR updated accordingly before this PR is merged. Will leave as "Ready for Review" for now to prevent accidental preemptive merge.

Squashed fixups and updated to most recent ITKPythonPackage tag. Ready for review and then merge.


ellie/atuin is missing assets

https://github.com/ellie/atuin/issues/891
https://github.com/aquaproj/aqua-registry/pull/11618

This is sorted now! Sorry for the trouble.

Thank you!


Fix: fill config defaults

This has the fix applied in #302 along with resolution for  #307
Added test for the bug encountered in #307 as well.

Codecov Report
Patch coverage: 95.83% and project coverage change: -14.44 :warning:

Comparison is base (3ec599f) 52.85% compared to head (dd7f005) 38.41%.

:exclamation: Current head dd7f005 differs from pull request most recent head 6f1f07c. Consider uploading reports for the commit 6f1f07c to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #309       +/-   ##
===========================================
- Coverage   52.85%   38.41%   -14.44%
===========================================
  Files          66       66
  Lines        4885     4909       +24
===========================================
- Hits         2582     1886      -696
- Misses       1742     2690      +948
+ Partials      561      333      -228

Flag
Coverage Δ

2.1.4
36.56% <95.83%> (+1.78%)
:arrow_up:

<IP_ADDRESS>
?

2.2.2
36.56% <95.83%> (+1.78%)
:arrow_up:

2.3.3
17.21% <95.83%> (-19.21%)
:arrow_down:

<IP_ADDRESS>
?

2.4.1
?

<IP_ADDRESS>
?

<IP_ADDRESS>
?

2.5.2
?

2.6.1
?

<IP_ADDRESS>
?

2.7.2
?

<IP_ADDRESS>
?

2.8.3
?

<IP_ADDRESS>
?

3.0.2
?

<IP_ADDRESS>
?

3.1.1
?

<IP_ADDRESS>
?

3.2.2
?

<IP_ADDRESS>
?

community
38.41% <95.83%> (+0.30%)
:arrow_up:

enterprise
?

enterprise-nightly
?

integration
38.41% <95.83%> (-14.44%)
:arrow_down:

nightly
37.82% <95.83%> (+0.28%)
:arrow_up:

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

Impacted Files
Coverage Δ

kong/utils.go
86.74% <95.83%> (-0.27%)
:arrow_down:

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

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

this fixes #307

@nishant95 @pmalek @rainest looks like this change introduced another bug where an array is completely ignored. we can reproduce with deck and the following:
_format_version: "3.0"

plugins:
- name: kafka-log
  enabled: false
  config:
    topic: konnect.auditlogs.gateway-access-logs
    bootstrap_servers:
    - host: broker-1.endpoint
      port: 9096
    - host: broker-1.endpoint
      port: 9096
    - host: broker-1.endpoint
      port: 9096
    authentication:
      strategy: sasl
      mechanism: SCRAM-SHA-512
      user: sasl_user
      password: xxxxxxxx
    security:
      ssl: false
    cluster_name: konnect-msk

ref: https://github.com/Kong/go-kong/pull/333

@aboudreault #309  only adds handling for subconfig of type "array", how does this cause a subconfig of type "set" to fail?
How was this working before this PR was merged?
Also, the handle_missing_fields in lua code and FillPluginsDefaults in go-kong seems out of sync. We recently faced an issue in case of non-required subconfig of type record (Testing the fix, yet to raise a PR).
Kong kept the default as nil but KIC filled the default with a record with nil fields causing KIC to be stuck in sync retry loop and ultimately getting OOMKilled.

@pmalek @rainest @aboudreault
Fix for #334: #336


Can't start solenoid under windows docker using cm.exe script

Using latest cm script:
cm.exe selenoid start --port 4445 --args "-limit 15 -service-startup-timeout 90s -session-attempt-timeout 10000s -session-delete-timeout 90s -timeout 10000s"
> Using Docker
- Your Docker API version is 1.41
> Selenoid is already downloaded
> Selenoid is already configured
> Starting Selenoid...
> Successfully started Selenoid

The host is not reachable under port 4445.
During observe docker logs for selenoid, see this:
docker logs selenoid
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory
exec /usr/bin/selenoid: no such file or directory

Started to reproduce today (perhaps after update docker desktop on windows). Reproduced on several PCs.
docker --version
Docker version 20.10.16, build aa7e414

Docker Desktop 4.9.1 (81317).

@StanislavKharchenko don't use aerokube/selenoid:latest as it's pointing to latest commit in repository. Probably we broke something in latest changes for arm64 support.

Anyway this was fixed in latest image too.


FAM Annual Security Review for 2024 ~September

Describe the task
Complete https://apps.nrs.gov.bc.ca/int/confluence/display/FSAST1/Security+Review+Procedure
Acceptance Criteria

[ ] All annual tasks completed with completion documented
[ ] Completion of tasks reviewed by Operations Lead / Security Officer for the team

Additional context

@gormless87  is this still relevant?


cargo test fails with matrix::tests::eignen_gets_eigenvalues_and_vectors

I've installed divnet-rs, and it seems to run as expected (eg divnet-rs ./test_files/small/config_small.toml works). However, if I run cargo test I get the error message:

> failures:
>
> ---- matrix::tests::eigen_gets_eigenvalues_and_vectors stdout ----
> thread 'matrix::tests::eigen_gets_eigenvalues_and_vectors' panicked at 'assertion failed: actual.vectors.approx_eq(&expected.vectors, TOL) ||\n    actual.vectors.approx_eq(&opposite_expected_values.vectors, TOL)', src/matrix/mod.rs:1684:9
>
>
> failures:
>     matrix::tests::eigen_gets_eigenvalues_and_vectors
>
> test result: FAILED. 52 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s
>
> error: test failed, to rerun pass '--lib'

Can I ignore this, or should I be doing something else.
I installed rust and openblas in a condas enviornment for what its worth.
Also I'm using release version of divnet divnet-rs-0.2.1
Thanks for your consideration.

Hey, thanks for the bug report.  Do you feel comfortable with adding a few lines to one of the rust files to add some debug output? (I ask because I don't want to assume too much or too little about your coding experience.)  If so, then I can show you how to add some debug statements and we can see if the problem is severe.  That's probably the simplest way to answer this question.
The longer answer is that the floating point comparisons used in the tests are a bit hacky and need to be made a little more robust.  But it is likely that it is failing because at least one of the values is outside the tolerance allowed by the test.

I'm happy to give it a try! I'm currently running divnet-rs on my actual data and it seems to be working, which is awesome. I plan to hold off on changing anything until after my job finishes but if you give me instructions, I'll try to follow them sometime next week probably.

Hi hi
Just thought I would pop this in as I have recently upgraded to a M1 mac chip. Tested the conda and got the same error, however using brew for GCC and openblas installation everything is a-okay. For anyone else looking I would recommend using good old brew for installation.
`
Compiling divnet-rs v0.2.1 (/Users/benjamin.d.young/programs/divnet-rs-0.2.1)
Finished test [unoptimized + debuginfo] target(s) in 1.10s
Running unittests src/lib.rs (target/debug/deps/divnet_rs-9d443afa3bef53c2)
running 53 tests
test conversions::tests::to_log_ratios_works ... ok
test conversions::tests::output_matches_r::to_composition_matrix_matches_r ... ok
test conversions::tests::output_matches_r::you_get_the_correct_compositions_from_counts ... ok
test conversions::tests::to_log_ratios_handles_zero_counts_in_base_taxa ... ok
test conversions::tests::output_matches_r::to_log_ratios_matches_r ... ok
test conversions::tests::to_log_ratios_handles_zero_counts_in_non_base_taxa ... ok
test fit_aitchison::tests::diagonal_network_makes_diagonal_networks ... ok
test fit_aitchison::tests::remove_at_returns_a_vec_without_idx ... ok
test fit_aitchison::tests::streaming_mean_works ... ok
test fit_aitchison::tests::streaming_mean_panics_on_empty_array - should panic ... ok
test matrix::ewise::tests::map_maps_a_fn_onto_a_vec ... ok
test matrix::ewise::tests::sum_sums_elements ... ok
test matrix::ewise::tests::test_add ... ok
test matrix::ewise::tests::test_div ... ok
test matrix::ewise::tests::test_ln ... ok
test matrix::ewise::tests::test_mul ... ok
test matrix::ewise::tests::test_sub ... ok
test matrix::ewise::tests::zipmap_maps_a_fn_onto_two_vecs_lockstep ... ok
test matrix::ewise::tests::zipmap_panics_if_vecs_are_different_lengths - should panic ... ok
test matrix::tests::center_centers_cols_by_mean ... ok
test matrix::tests::center_centers_rows_by_mean ... ok
test matrix::tests::col_returns_a_column_slice ... ok
test matrix::tests::col_sums_sums_colss ... ok
test matrix::tests::colmeans_gets_column_means ... ok
test matrix::tests::covariance_gets_cov_matrix ... ok
test matrix::tests::covariance_gets_covariance_of_two_slices ... ok
test matrix::tests::diag_gets_elements_on_the_diagonal ... ok
test matrix::tests::element_wise_ops1::exp_does_element_wise_exp ... ok
test matrix::tests::element_wise_ops1::ln_does_element_wise_natural_log ... ok
test matrix::tests::element_wise_ops2::eadd_does_elementwise_addition ... ok
test matrix::tests::element_wise_ops2::ediv_does_elementwise_division ... ok
test matrix::tests::element_wise_ops2::emul_does_elementwise_multiplication ... ok
test matrix::tests::element_wise_ops2::esub_does_elementwise_subtraction ... ok
test matrix::tests::equality::approx_eq_checks_equality_within_tolerance ... ok
test matrix::tests::equality::eq_checks_equality ... ok
test matrix::tests::get_gets_elements ... ok
test matrix::tests::get_unchecked_gets_elements_without_bounds_checking ... ok
test matrix::tests::multiple_cols_returns_mutliple_columns ... ok
test matrix::tests::mmul2_multiplies_two_matrices ... ok
test matrix::tests::row_gets_a_single_row_from_array ... ok
test matrix::tests::row_sums_sums_rows ... ok
test matrix::tests::set_sets_elements ... ok
test matrix::tests::set_unchecked_sets_elements_without_bounds_checking ... ok
test matrix::tests::summary::sum_sums_all_elems ... ok
test matrix::tests::to_diag_makes_a_vec_into_diagonal_array ... ok
test matrix::tests::solve ... ok
test matrix::tests::transpose_transposes_a_matrix ... ok
test matrix::tests::variance_gets_variance_of_slice ... ok
test matrix::tests::eigen_gets_eigenvalues_and_vectors ... ok
test mvrnorm::tests::mvrnorm_gives_correct_mu_and_sigma ... ok
test fit_aitchison::tests::fit_aitchison_gives_reasonable_result ... ok
test fit_aitchison::tests::fit_aitchison_gives_reasonable_result2 ... ok
test multinomial::tests::test_multinomial ... ok
test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
`

Thanks @benyoung93 for posting!
Just so I'm clear...on your M1 mac, when you used homebrew to install gcc and openblas everything was working fine, but when using conda to install gcc and openblas, it was not working?  If that is the case, I should put a note in the installation instructions in the manual!
It is good to hear that you could get it working on an M1 mac...I do not have one to test it out on.


Ferret functions with multiple return arguments

Reported by steven c hankin on 14 Nov 2012 00:20 UTC
and pasted from 11/4/2010 email to Ansley plus a couple of additions
   yes?  LET (eigen_values,eigen_vectors) = EIGEN(my_matrix)

Some initial analysis of code changes needed:
o need to devise EF machinery
   o each function knows how many returns it has
   o allow for separate grid dependencies on the args in each of the returns
o xeq_define.F -- pick up the "(v1,v2,v3)=" syntax
o init_uvar.F --
   o "name" as an array
   o scan to make sure the only use of this syntax is in (v1,v2,v3) = my_3rtn_fcn(stuff)
   o at "1000" initialize all of the result vars
   o link the multi-returned variables to one another so each provides pointers to the others and knows its ordered place among them
o get_uvar_grid.F -- when the grid of any one of the results is requested, the grids of all of the results must be determined
o is_algebra.F -- loop the context-merging logic over each of the results to be returned.  (note that the requested variable -- one of the function results -- is *the* context.  The other contexts are just needed for long enough to evaluate the function.)
o is_do_gc_fcn.F -- allocate memory for each result
o need to think through the subtleties of "use counts".   Of the multiple variables returned by the function only the specifically requested variable is "in use", and therefore protected from deletion until it has been used.  Should the other variables that are returned also be flagged as "in use"?  If so, we need to ensure that their use counts get reset at the end of the evaluation sequence.  If not, how bad is the risk that the same function may have to get executed twice, because some of the results were deleted by memory management before they could be used.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1991

Modified by ansley.b.manke on 26 Feb 2013 20:14 UTC

Comment by ansley.b.manke on 28 Feb 2013 16:47 UTC
(note the earlier ticket #810)


v0.1 Release Block Tracking

Blockers

[ ] #9
[x] #37
[x] #38

v0.1 released without frontend create task support.


https://www.facebook.com/dulce.verdugo.758

https://web.facebook.com/dulce.verdugo.758

          https://web.facebook.com/dulce.verdugo.758

Originally posted by @Susjeje in https://github.com/AndronixApp/andronix-docs-v2/issues/16#issuecomment-1890600810


implement unicode scalar function + rename SingleRowFunc -> ScalarFunc

part of #144
sqlite docs:

The unicode(X) function returns the numeric unicode code point corresponding to the first character of the string X. If the argument to unicode(X) is not a string then the result is undefined.

sqlite implementation: https://github.com/sqlite/sqlite/blob/1ffd7ed54ff340039fbc0e809a784789048bdf8c/src/func.c#L1181

[ ] add more tests
[ ] handle other input types

I really do not know what i'm doing to be honest feedback is expected and appreciated thank you

Looks good to me.

seems incorrect to have a lot of these tests duplicated
what is the general perspective on internal rust tests vs like 'integration' tests

Integration tests in TCL are preferred where compatibility with SQLite matters because those tests can be run with both systems


Will VSIX creation be supported on Linux/macOS?

I understand that VSIX creation is not yet supported with the new extensibility model, but I wanted to ask if, when it is implemented, it will be possible to create a VSIX on Linux and macOS?
Obviously I don't expect to be able to run the extension on those platforms, but as I'm writing an extension as a part of a larger, cross-platform solution, it would be nice to not be locked into doing CI builds and releases from a Windows machine.

FWIW, I just tried to create a project roughly based on the samples in this repo. It builds fine on Windows (producing a VSIX as well), builds fine on Linux (but with no VSIX), but fails to build at all on macOS:
/Users/runner/work/celerity/celerity/out/dep/microsoft.vssdk.buildtools/17.9.3139/tools/vssdk/Microsoft.VSSDK.targets(839,5): error MSB6004: The specified task executable location "/Users/runner/work/celerity/celerity/out/dep/microsoft.vssdk.buildtools/17.9.3139/build/\..\tools\VSSDK\bin/VsixUtil.exe" is invalid. [/Users/runner/work/celerity/celerity/src/extensions/vs/vs.csproj]

We're moving feature suggestions and requests over to our Developer Community site so we can track them better.
This issue has been moved over to this ticket: [VisualStudio.Extensibility] Support VSIX creation on Linux or Mac. Please continue the discussion in the new ticket.


Example movies not working giving error

2015-03-27 00:16:28.460 Movies[36933:1774082] CLTilesManagerClient: init
2015-03-27 00:16:28.460 Movies[36933:1774082] CLTilesManagerClient: reconnecting, 0x7f8220d05540

<Xcode - Version 6.2 (6C131e)>

The CLTilesManagerClient messages are just log spew from #69 but don't affect the movies app. There must be something else going on.


Storage migration to MMKV from Async storage

New Storage Mechanism :

All the Application Config Details, Settings Details and Meta Entries will be moved from Async Storage to MMKV
Storage of all the VC has been Moved from Async Storage to FS Storage and  stored as separate Files
Only The Storage is Updated and Encryption / Decryption mechanism stays unchanged.
The Objective of the Migrating From AsyncStorage

MMKV has better Performance than the Async Storage.
VC's are stored as separate Files to improve the overall Security.

Please mention here, what are the naming conventions for VC files and path in which they will be created based on platform.
It's important to capture this information on the PR and later in our docs folder.
Same PR review comments should be applicable for https://github.com/tw-mosip/inji/pull/33


Clear webFrame cache at a certain interval

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Clear webFrame cache at a certain interval.
mattermost-webapp is SPA. So cache is not cleared due to no navigation by assuming this article.
http://seenaburns.com/debugging-electron-memory-usage/
We need to manually clear cache to free memory in long-term-use. Just for now, the interval is set to 1 hour.
Issue link
#710
Test Cases
Use an artifact for longer than the interval. After that, memory usage should not be highly increased.
For testing purpose, switching channels is a way to temporarily increase memory usage.
Additional Notes
https://circleci.com/gh/yuya-oc/desktop/712#artifacts

Thanks! I've been using the app today (on Mac) and posted in our performance channel for feedback from the team.

@yuya-oc As discussed on pre-release, this PR should be ready to merge.

@jasonblais Thanks for testing!


Is it possible to let previewHTML can really run HTML url?

I want to view html project I write in angular on vscode side by side. Are there some way such as embed browser in vscode. Or extend previewHTML.
Also it would be great if we could write html page tobe an editor extension. so we could write editor for json in html form style or using canvas to make 3D editor

@Thaina The extension API allows for providing a text document registerTextDocumentContentProvider and executing a command to preview that document vscode.previewHtml. You can then have in there arbitrary HTML that is previewed inside Code.
Please see https://github.com/Microsoft/vscode-extension-samples/tree/master/previewhtml-sample or https://github.com/Microsoft/vscode-extension-samples/tree/master/contentprovider-sample

Alex is correct - if you really need to access a http(s) resource, I'd reckon to define an html page that embeds an iframe pointing to the http(s) page

@alexandrudima @jrieken What I have heard is vscode.previewHtml is not render animation and execute javascript am I wrong? If so then how can I preview angularjs page which heavily based on js?

What I have heard is vscode.previewHtml is not render animation and execute javascript am I wrong?

That isn't true


Retrigger workflow on new push to branch with PR open

Test pull request only runs once when a PR is opened, but it should run again when additional changes to Dockerfile/** are pushed to the branch.

@davenicoll-slalom do you have write access for a merge?


Miss interpreting id?

I have the following section of html in my element template

[[_makeHeading(clinic,route.params.date)]]

          <paper-icon-button
            on-tap="_setFullOn"
            icon="pas:zoom-in"
            hidden$="[[subRoute.active]]"></paper-icon-button>
          <paper-icon-button
            on-tap="_setFullOff"
            icon="pas:zoom-out"
            hidden$="[[!subRoute.active]]"></paper-icon-button>
          <paper-icon-button
            on-tap="_openDrawer"
            icon="pas:info-outline"></paper-icon-button>

As I mouse over the start of the <paper-icon-button> tag the following pops up in the output
[Error - 09:01:25] Error: Expected to find at most one element with id paper-icon-button but found 2.
    at Document.getOnlyAtId (/home/alan/.vscode/extensions/polymer.polymer-ide-0.1.2/server/node_modules/polymer-analyzer/lib/model/document.js:156:19)
    at LocalEditorService.<anonymous> (/home/alan/.vscode/extensions/polymer.polymer-ide-0.1.2/server/node_modules/polymer-analyzer/lib/editor-service/local-editor-service.js:157:33)
    at next (<anonymous>)
    at fulfilled (/home/alan/.vscode/extensions/polymer.polymer-ide-0.1.2/server/node_modules/polymer-analyzer/lib/editor-service/local-editor-service.js:17:58)
    at process._tickCallback (internal/process/next_tick.js:103:7)

Using vscode

Re-opening because this original issue is now transferred and canonical again.


[eas-json] add Xcode 15.3 image

Why
Add Xcode 15.3 image
How
Add Xcode 15.3 image

/changelog-entry chore Add info about the Xcode 15.3 image to eas.schema.json


Please provide me with some plug-in development methods

I am writing a plug-in that calls a JAR or aar, and there is no official example of designing a JAR or aar.
I am very confused about the writing process of Flutter.
Do I need to write the plug-in code in example and copy it into the Android plugin?
Or do I just use my code in the plugin?
But I write code directly in my plugin and I have no way to call up the functions and classes of the JAR or aar.
If I write it in example and copy it to my plugin, how will My header file be handled?
These questions make me confused, I am too painful, I must make a perfect method, but how to write awkward.
Who can tell me the correct posture?

Can you see the pictures I uploaded?
Why are so many classes not recognized? It's all Critical red ~~~!
Flutter 1.20.1 • channel stable •
Framework • revision 2ae34518b8 (3 weeks ago) • 2020-08-05 19:53:19 -0700
Engine • revision c8e3b94853
Tools • Dart 2.9.0

Hey @MuZiLee , if you are requesting documentation, then please provide exact details on the topic.
If not, then personal questions are not entertained on github as this is not an issue with the framework itself
However you could ask this on Stack overflow

Hi @MuZiLee
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @MuZiLee
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @pedromassangocode
First of all, thank you for your reply.
This problem is not directly related to flutter, but I am completing a flutter plugin.
Instead of calling DART directly, I'm using DART to design the JAR and AAR classes and functions.
I'm not sure what information I need to prompt. I was in the development of flutter Plugins, and I couldn't go on.
I don't have access to the Android SDK and AAR classes.

Hi @MuZiLee
In my comment above I shared with you links to access the best Flutter Community out there where you ask questions like this. Unfortunately this GitHub repository is not meant to ask questions.

Hi @pedromassangocode
Thank you for your
Links in my area have been harmonized. Thank you all the same


log that we're skipping config file to debug

In recent versions of confd, this file is not necessary to run confd
as seen in the integration tests. This switches the log to debug as it's
still interesting information, but it's not necessary to log if we've
supplied the correct flagset to run confd without a config file.

That would be preferable to always seeing this kind of log line:
2015-03-24T17:09:37Z 97df176fe07e confd[81]: WARNING Skipping confd config file.

+1.

Any chance to see this merged please ?


Keyboard shortcuts in English keyboard layout for any language

Microsoft PowerToys version
0.63.0
Utility with translation issue
Settings
🌐 Language affected
Russian (any I suppose)
❌ Actual phrase(s)
Any menu items with keybopard shortcuts looks localized when i open it with native keyboard layout. Guyz wut?
For i.e. I open Text extractor menu in with English keyboard layout and i see expected keyboard shortcut for it Win+Shit+T.
But if I open it with Russian active keyboard layout I see Win+Shit+Е (Russian letter Е)! Guyz cmon wut?
✔ Expected phrase(s)
It must be in English in any keyboard layout. Only.
ℹ Why is the current translation wrong
Just because its so natural.

Exactly what happened to me as well. Glad that someone has already tried to convey that to the devs.

@niels9001  / @stefansjfw  / @jaimecbernardo  this feels like a bug of some sort, not a translation issue.  We're grabbing app language settings, not keyboard layout


remove conda duplication

I agree, I thought the binder folder was a requirement. Should be fixed now.


[python-package] What is the best way for Booster to fit the Booster model to residuals?

I am trying to convert the DecisionTreeClassifier model by SciKit Learn to LGBM using the existing model specs. The only problem is that I would have to import the lgbm model using lgb.Booster, but this doesn't have the '.fit()' feature that Scikit-learn provides. What is the best alternative for the LGBM Booster model? refit, retrain, or update? Is there a way to replicate the model by using lightgbm.lgbmclassifier?  Thanks,

Thanks for using LightGBM!
The lightgbm Python package has a scikit-learn compatible interface.
See this example:
https://github.com/microsoft/LightGBM/blob/c2d2c99f44dcaad1f6dfc05d877e47aad13ddfc9/examples/python-guide/sklearn_example.py#L24-L30
and the docs at https://lightgbm.readthedocs.io/en/v3.3.4/pythonapi/lightgbm.LGBMClassifier.html

Is there a way to access each individual tree and fit each tree separately? for Booster or sklearn LGBM?

can we run LGBMRegressor iteratively for each individual tree to replicate lgb.train?
Is LGBMRegressor the counterpart of decisiontreeregressor in sklearn?

@johnkimdy what do you mean by "fit each tree separately", exactly?
LightGBM training builds an ensemble of trees.

can we run LGBMRegressor iteratively for each individual tree to replicate lgb.train?
Is LGBMRegressor the counterpart of decisiontreeregressor in sklearn?

@johnkimdy sorry for the delayed response.
No, LGBMRegressor.fit() fits an ensemble of trees, meaning a collection of multiple trees whose output is combined to produce a prediction.
The closest equivalent in scikit-learn is sklearn.ensemble.HistGradientBoostingRegressor (docs).


Grafgana reporter on AWS EC2

Hi Izak,
I'm using Grafana on EC2 instance and trying to generate reports. Unfortunately, http://AWSPublicDNS:8686/api/report/XyzXyz cannot be reached (grafana is on port 3000 and could be seen at http://AWSPublicDNS:3000/d/XyzXyz... ) Is there something I'm missing in configuration?
Thanks,
Vlad

From your example url it seems like you using grafana v5, but still using the report endpoint for an older grafana. Your report endpoint should look like thes: https://github.com/IzakMarais/reporter#endpoint
However, this should still render something or return an error, so I doubt it is the cause of your problem.
Apart from that your port numbers look good. What debugging steps have you tried? Have you confirmed that the reporter is running and serving on :8686 (netstat -tlnp). I haven't used EC2, so I don't know whether there are specific configuration options you might need on that side, but if both applications are running on the same node, it should work easily.

I've tried container version and it worked just fine. Thanks for your help and very nice and useful Grafana feature!!!


Milestone 1.0.0 planning

I would like to plan for the next release of this project.
Milestone: https://github.com/natemcmaster/DotNetCorePlugins/milestone/6
Changes included: https://github.com/natemcmaster/DotNetCorePlugins/compare/v0.3.1...master
Version
I propose we increment the version to 1.0.0 on this project. Justification:

Breaking changes - I would like to remove some API that is marked as Obsolete.
I believe this project has been sufficiently stable for use in production, and want to update the versioning to reflect this

Features
No major features planned, but I have a few small enhancements in mind. I'll send pull requests shortly with their contents.
Release date
Jan 1, 2020? I want to leave a little bit of time for others to jump, but not drag this out.

Ok, so due to lack of feedback, I'm moving ahead. I'll publish 1.0.0 sometime next week when I get time.


do not leak api-server cluster ip from seed to shoot

How to categorize this PR?

/area networking
/kind cleanup
What this PR does / why we need it:
The cluster IP address of the kube-apiserver service on the seed should not leak into the shoot data plane. The IP address is fairly hard to predict and may overlap with some IP address with which the shoot data plane wants to communicate. Therefore, a different IP address should be used.
The PR fixes this issue by mapping the seed cluster IP to an otherwise unusable reserved range of <IP_ADDRESS>/4. The three last bytes of the cluster ip get prefixed by 240. making the original IP usable in the shoot again. At the same time, shoots are forbidden from using the reserved IP range anywhere.
Special notes for your reviewer:

Please point to missing docs that need to be updated

Release note:

This change applies to IPv4 clusters only.
Gardener uses the CIDR range of <IP_ADDRESS>/8 which is reserved as per [IANA db](https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xhtml) to map the cluster ip of the kubernetes api-server in the seed to a different network range before exposing it to the shoot in the `kubernetes` service. This frees up address space in the shoot and removes potential clashes with shoot workload ips.

Seed operators need to check if any of the following properties collide with the <IP_ADDRESS>/8 range:

    spec:
      networks:
        pods: < check here >
        nodes: < check here >
        services: < check here >
        shootDefaults:
          pods: < check here >
          nodes: < check here >
          services: < check here >

/assign

/test pull-gardener-e2e-kind-upgrade

/test pull-gardener-e2e-kind-operator-seed

/test pull-gardener-e2e-kind-operator

/test pull-gardener-e2e-kind-migration

/test pull-gardener-e2e-kind-operator

Findings during shoot upgrade:

During reconcile I observed a flapping between the old cluster-ip and new mapped ip on the kubernetes service endpoint until it finally settled on the new ip:

k get endpoints kubernetes --watch
NAME         ENDPOINTS            AGE
kubernetes   <IP_ADDRESS>:443   61m
kubernetes   <IP_ADDRESS>:443,<IP_ADDRESS>:443   61m
kubernetes   <IP_ADDRESS>:443                      61m
kubernetes   <IP_ADDRESS>:443,<IP_ADDRESS>:443   61m
kubernetes   <IP_ADDRESS>:443                      62m

As expected, the node now has both the old and the new ip on loopback:

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope host lo
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever

Connecting to the kubernetes service yields the cluster-ip <IP_ADDRESS> as before, now pointing to the new mapped ip <IP_ADDRESS> under the hood:

root@test:/# curl -vk https://kubernetes.default.svc.cluster.local
* Host kubernetes.default.svc.cluster.local:443 was resolved.
* IPv6: (none)
* IPv4: <IP_ADDRESS>
*   Trying <IP_ADDRESS>:443...
* Connected to kubernetes.default.svc.cluster.local (<IP_ADDRESS>) port 443
(...)

> GET / HTTP/2
> Host: kubernetes.default.svc.cluster.local
> User-Agent: curl/8.5.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* received GOAWAY, error=0, last_stream=1
< HTTP/2 401
< audit-id: fc46c5e5-8390-4d82-a368-969c0cb86ba6
< cache-control: no-cache, private
< content-type: application/json
< content-length: 157
< date: Tue, 10 Dec 2024 12:05:26 GMT
<
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "Unauthorized",
  "reason": "Unauthorized",
  "code": 401
* Closing connection

works fine as before.

The old seed cluster-ip is no longer used, envoy is listening only on <IP_ADDRESS> now:

# netstat -antp | grep LISTEN
tcp        0      0 <IP_ADDRESS>:36239         <IP_ADDRESS>:*               LISTEN      1655/containerd
tcp        0      0 <IP_ADDRESS>:8099      <IP_ADDRESS>:*               LISTEN      40133/node-cache
tcp        0      0 <IP_ADDRESS>:53         <IP_ADDRESS>:*               LISTEN      40133/node-cache

tcp        0      0 <IP_ADDRESS>:443      <IP_ADDRESS>:*               LISTEN      33017/envoy
tcp        0      0 <IP_ADDRESS>:443      <IP_ADDRESS>:*               LISTEN      33017/envoy

tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      695/systemd-resolve
tcp        0      0 <IP_ADDRESS>:10248         <IP_ADDRESS>:*               LISTEN      3126/kubelet
tcp        0      0 <IP_ADDRESS>:53        <IP_ADDRESS>:*               LISTEN      40133/node-cache
tcp        0      0 <IP_ADDRESS>:16910           <IP_ADDRESS>:*               LISTEN      33017/envoy
tcp        0      0 <IP_ADDRESS>:16910           <IP_ADDRESS>:*               LISTEN      33017/envoy
tcp        0      0 <IP_ADDRESS>:9099          <IP_ADDRESS>:*               LISTEN      6837/calico-node
tcp        0      0 <IP_ADDRESS>:9098          <IP_ADDRESS>:*               LISTEN      6802/calico-typha
tcp        0      0 <IP_ADDRESS>:5000          <IP_ADDRESS>:*               LISTEN      33332/registry
tcp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*               LISTEN      1/systemd
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      1325/sshd: /usr/sbi
tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      695/systemd-resolve

As expected, deleting the old ip address has no effect:

# ip address delete <IP_ADDRESS>/32 dev lo

(...)

curl -vk https://kubernetes.default.svc.cluster.local
* Host kubernetes.default.svc.cluster.local:443 was resolved.
* IPv6: (none)
* IPv4: <IP_ADDRESS>
*   Trying <IP_ADDRESS>:443...
* Connected to kubernetes.default.svc.cluster.local (<IP_ADDRESS>) port 443

(...)

> GET / HTTP/2
> Host: kubernetes.default.svc.cluster.local
> User-Agent: curl/8.5.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* received GOAWAY, error=0, last_stream=1
< HTTP/2 401
< audit-id: 16c456c8-f137-470c-905d-ebe3385a4c8e
< cache-control: no-cache, private
< content-type: application/json
< content-length: 157
< date: Tue, 10 Dec 2024 12:17:46 GMT
<
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "Unauthorized",
  "reason": "Unauthorized",
  "code": 401
* Closing connection

So, in conclusion:

yes, the old ip remains on the node until the node is rolled
but it disappears from the service and is no longer used anywhere
removing the ip has a cosmetic effect at best

/test pull-gardener-integration


Is it possible to customize the current modal?

I am using the Trumbowyg v2.21.0 and I am trying to customize a little bit the modal for the Creating link function.
I would like to do the following 2 changes:

Add a description text before the fields (URL, text, etc.)
Hide an input (for example, Target)

I did a little research of the core source code and found out that the Modal HTML only has field parameters:
Ref: https://github.com/Alex-D/Trumbowyg/blob/develop/src/trumbowyg.js#L1617
I looked at the documentation, and it seems that the only way to do change the Modal content is creating your own modal,
but to do that you need to create your button, your modal and all the process after the user clicks on the Confirm button. Am I correct?
Ref: https://alex-d.github.io/Trumbowyg/documentation/#modal-box

When you want create your custom extension for Trumbowyg, you can open and close a modal box with custom inner HTML code, listen events and more.

So I am wondering, is there an easy way to do that (add text before fields and hide an input), setting a Trumbowyg parameter?
Or the only way is to create your own process, as mentioned above?
Thank you!

Yeah, you will need to create a whole new plugin :/
That's not really cool, but I will do better in v3 I hope.
Check existing plugins to get inspired :)
Also, there is a doc section dedicated to plugin creation: https://alex-d.github.io/Trumbowyg/documentation/plugins/#create-your-own
In your case, did you check that option and the following?
https://alex-d.github.io/Trumbowyg/documentation/#minimal-links
Hope it helps

Thank you very much for your reply, Alex : )
I will check out the minimal link option 👍

🙋♂I would like to connect to this discussion: is it possible to change the actual behavior of the Target field from a text field to a radio button field with predefined values or I have to create a new plugin to do that? I could take care to do a specific PR about this if there is some need and if all are agreed to change the actual behavior

Just wanted to drop a note that you can add a MutationObserver in your Javascript so that you can detect a modal is open with certain text and then can do things to that HTML. Here's an example that intercepts an Insert Link (although I do use some jQuery here):
var observer = new MutationObserver(function(mutations) {
  if ($('.trumbowyg-modal-title:contains(Insert link)').length > 0) {
    $('.trumbowyg-modal-box FORM').prepend('
I am some sample text!
');
      observer.disconnect();
      observer.observe(document, {attributes: false, childList: true, characterData: false, subtree:true});
  }
});
observer.observe(document, {attributes: false, childList: true, characterData: false, subtree:true});

You can then also capture what was submitted and modify values in that modal before it is destroyed with jQuery code like so:
$(document).on('click','.trumbowyg-modal-submit',function(e){
  var o = $(this).parentsUntil('.trumbowyg-modal-box').parent();
  var s = o.find('.trumbowyg-modal-title').text();
  if (s == 'Insert link') {
    // make some magic here
  }
});


Fix undefined class in Tools14

Got a bit carried away with the last PR... This one fixes it
Use https://github.com/PrestaShop/autoupgrade/pull/52/files?w=1 to see the diff
@maximebiloe Do you mind the indentation? The if(!class_exists('Tools14',false)) was blowing my mind

Thanks @antoin-m


Update jersey-media-multipart to 3.0.14

About this PR
📦 Updates org.glassfish.jersey.media:jersey-media-multipart from 3.0.4 to 3.0.14
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.glassfish.jersey.media", artifactId = "jersey-media-multipart" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.glassfish.jersey.media", artifactId = "jersey-media-multipart" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #271.


Fix Chibi wrapping on Darwin to set shared library path

Description of changes
Fixes #190889
Things done
Add the right path to DYLD_LIBRARY_PATH in the fixup stage when building for Darwin

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Please format the commit as shown in this link. Thanks!


Some jobs on build.ros.org seem to be failing with no apparent reason

There have been a handful of jobs on build.ros.org that have started failing in the last day.  Investigation into the console logs show no apparent cause; examples are:

http://build.ros.org/view/Mbin_ds_dS64/job/Mbin_ds_dS64__ar_track_alvar__debian_stretch_amd64__binary/10/console
http://build.ros.org/view/Mbin_ds_dS64/job/Mbin_ds_dS64__mavros_extras__debian_stretch_amd64__binary/16/consoleFull
http://build.ros.org/view/Mbin_ds_dS64/job/Mbin_ds_dS64__oxford_gps_eth__debian_stretch_amd64__binary/13/consoleFull
http://build.ros.org/job/Mdoc__rqt_action__ubuntu_bionic_amd64/2/

All seem to have failed while installing packages through apt, but there are no (apparent) failures listed in the apt logs.  @nuclearsandwich FYI

We talked about this a bit offline and I don't have any leads. If it's observed in the future we should try to do some forensics on the node before it gets culled. All of the instances @clalancette reported were Debian Stretch which would have been a correlation but @mikaelarguedas's example (now added to the issue body) was for a doc job running on Bionic.

I saw another one of these today and I think they're the result of a "graceful" death when a node is scaled in. In the past we've seen big nasty connection failure stacktraces but those were usually to unplanned node losses as opposed to a node being intentionally shutdown by an over-eager scale in metric.

It's been a long time since we have seen this. And the links are for the previous generation of the jenkins server. So I'm going to close this. We've also made our scaling in policy more conservative.


Can't build on Win 10

Describe the bug
Can't build on Win 10
C:\Programs\label-studio>npm run start

><EMAIL_ADDRESS>start C:\Programs\label-studio
> npm run copy-examples && react-scripts start

><EMAIL_ADDRESS>copy-examples C:\Programs\label-studio
> bash scripts/copy.sh
Starting the development server...
Failed to compile.

./src/env/development.js
Module not found: Can't resolve '../examples/audio_classification' in 'C:\Programs\label-studio\src\env'

@Dene33
Thank you, need to configure bash script for Windows environment. (https://github.com/heartexlabs/label-studio/blob/master/scripts/copy.sh). The next release will be with functionality.
But if you want to use LS with python backend you can run without development configuration:

Docs: https://labelstud.io/guide/backend.html
Docker:

docker run -p 8200:8200 -t -i heartexlabs/label-studio -c config.json -l ../examples/chatbot_analysis/config.xml -i ../examples/chatbot_analysis/tasks.json -o output

The frontend part is moved to https://github.com/heartexlabs/label-studio-frontend
Please, report there if the problem still exists.


Change vegetarian to vegetarian. Closes #337

I know what you mean @Blaidd-Drwg. And since my job is to make yours easier, I thought I'd give it a try! Have fun reviewing this masterpiece.

Coverage remained the same at 100.0% when pulling 85efe33b1fe55ee7b10aaaed04c5e006a36c1aaf on 337_spellingOfVegetarian into 873a45c0d1f0f583a01a27ee56a77bd895ecdda5 on dev.