[PL-51080][DOC] Delegate auto-upgrade disabled by default for docker

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: Changing the note on this page as the customer gets confused due to the existing text.
Jira/GitHub Issue numbers (if any): https://harness.atlassian.net/browse/PL-51080
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://665f206e3285fe1be1782b5c--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666fe1323d4ad09dfdaa6882--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6670025041e4c31da1f813c3--harness-developer.netlify.app

@brian-f-harness Can you please approve? I have received Nataraja's approval. Thanks

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66712fe29ffe9bc98381a8c5--harness-developer.netlify.app


Fix get index settings API doesn't show number_of_routing_shards when it was explicitly set on index creation

Description
If the index level setting index.number_of_routing_shards is set explicitly at the index creation time, we don't show the setting in the response of get settings API, and we can only get the value by GET _cluster/state, this PR makes that setting shown in the response of the get settings API when it's explicitly set.
Related Issues
https://github.com/opensearch-project/OpenSearch/issues/14199
Check List

[x] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@r1walz @Bukhtawar could you help to review this PR? Thanks!

@reta, could you help to take a second look at this PR? Thanks! This change doesn't target for 2.18.0.

I think this caused a YAML REST test in the python client to begin failing. I don't quite understand what those tests do, but what I know is that they fetch the YAML REST test list from main, then run those tests via the Python client. I fixed CI by skipping OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/indices/get_settings/40_number_of_routing_shards[0] in https://github.com/opensearch-project/opensearch-py/pull/838, but this can't be right. Maybe someone (@gaobinlong) could help me understand what's going on there?

I think this caused a YAML REST test in the python client to begin failing. I don't quite understand what those tests do, but what I know is that they fetch the YAML REST test list from main, then run those tests via the Python client. I fixed CI by skipping OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/indices/get_settings/40_number_of_routing_shards[0] in opensearch-project/opensearch-py#838, but this can't be right. Maybe someone (@gaobinlong) could help me understand what's going on there?

Sure, I'll take a look, how do I check the test failure?


Reaper endpoints: Async Repair Endpoint

This PR modifies the existing repair method in NodeOpsProvider to accept arguments suitable for Reaper. When complete, it should also create a new v2 endpoint to accept new repairs and return a repairID which can later be queried for status updates.
Fixes issue
https://github.com/riptano/mission-control/issues/506

@emerkle826 this is draft still, but I have a few questions and thought we might best collaborate with some concrete code to look at.
Questions:

Can the management API RPC mechanism handle polymporphic functions? We might need one which accepts a RingRange and one which accepts beginToken and endToken arguments, since you can repair non-contiguous ranges via the former. I know we've encountered issues with this in the past with the OpenAPI generator, so wanted to see what the best way to tackle it was.
Can you pass custom types into the RPC methods? The current methods seem to use only simple native Java types. Do they need to be registered as UDTs to make this work, or can you use Java types directly?
If we can't use polymorphism here to adapt to which signature we want to call, would it be reasonable to pass nulls instead?

The only place this matters is in the definition of the ranges, since the existing function just takes a start and end token, while the new function needs to take a list of start and end tokens (which is realised as a RingRange, but we could potentially use a List or List<List> in the worst case).

Can the management API RPC mechanism handle polymporphic functions? We might need one which accepts a RingRange and one which accepts beginToken and endToken arguments, since you can repair non-contiguous ranges via the former. I know we've encountered issues with this in the past with the OpenAPI generator, so wanted to see what the best way to tackle it was.

The RPC calls don't handle polymorphism (see here). RPC Methods have to have a unique RPC name, so we can't even register the same method with 2 different RPC names to handle a polymorphic situation.

2. Can you pass custom types into the RPC methods? The current methods seem to use only simple native Java types. Do they need to be registered as UDTs to make this work, or can you use Java types directly?

I think we can, but I'm not sure. To do so may require enhancements to some of the RPC serialization code.

3. If we can't use polymorphism here to adapt to which signature we want to call, would it be reasonable to pass nulls instead?

Yes, but I think in this case it might be better to have the API side of things determine which Range type is being requested and then build a specific RPC call for a RingRange or a start/end token. Unless I'm missing something, it seems like we will have 2 RPC methods on the Agent side, and the API/server side will handle the request and determine which of the RPC methods to call.

Yes, but I think in this case it might be better to have the API side of things determine which Range type is being requested and then build a specific RPC call for a RingRange or a start/end token. Unless I'm missing something, it seems like we will have 2 RPC methods on the Agent side, and the API/server side will handle the request and determine which of the RPC methods to call.

Gotcha. I've just been looking at this and I think the way to do it is actually as follows:

The current repair() method becomes a more general one which allows repair of multiple non-contiguous ranges via the RingRange parameter (I'll fix the visibility of the fields as you suggest).
The new v2 Resource class will also accept a RingRange DTO.
The old endpoint will continue to accept beginToken and endToken, but will translate them into a single element List before passing off to the single repair() method.

Sound good?

@emerkle826 can you give me a hand with this when you're in? I'm getting the below statement about illegally formatted files from CI:
Error:  To fix formatting errors, run "mvn com.coveo:fmt-maven-plugin:format"
Error:  Non complying file: /home/runner/work/management-api-for-apache-cassandra/management-api-for-apache-cassandra/management-api-agent-common/src/main/java/com/datastax/mgmtapi/rpc/models/RingRange.java
Error:  Non complying file: /home/runner/work/management-api-for-apache-cassandra/management-api-for-apache-cassandra/management-api-agent-common/src/main/java/com/datastax/mgmtapi/NodeOpsProvider.java
Error:  Failed to execute goal com.coveo:fmt-maven-plugin:2.9:check (default) on project datastax-mgmtapi-agent-common: Found 2 non-complying files, failing build -> [Help 1]
Error:

But when I run the suggested command it doesn't appear to change any files, or come up with any further information about what is wrong with the formatting. Do you know what I'm supposed to do with this?

@emerkle826 can you give me a hand with this when you're in? I'm getting the below statement about illegally formatted files from CI:
Error:  To fix formatting errors, run "mvn com.coveo:fmt-maven-plugin:format"
Error:  Non complying file: /home/runner/work/management-api-for-apache-cassandra/management-api-for-apache-cassandra/management-api-agent-common/src/main/java/com/datastax/mgmtapi/rpc/models/RingRange.java
Error:  Non complying file: /home/runner/work/management-api-for-apache-cassandra/management-api-for-apache-cassandra/management-api-agent-common/src/main/java/com/datastax/mgmtapi/NodeOpsProvider.java
Error:  Failed to execute goal com.coveo:fmt-maven-plugin:2.9:check (default) on project datastax-mgmtapi-agent-common: Found 2 non-complying files, failing build -> [Help 1]
Error:

But when I run the suggested command it doesn't appear to change any files, or come up with any further information about what is wrong with the formatting. Do you know what I'm supposed to do with this?

Just to close the loop here, you can run mvn fmt:format from the root of the project and it should auto format all of the source to the Google Java format standard. I have this documented way down in the README here. It covers Java source, license checks and XML formatting as well. Also, you will want to enable the DSE profiles too, or the formatting will skip those projects (i.e. -P dse,dse7, trunk).

@olim7t can Erik and I get some feedback from you on the topic of Optionals? The context is that in the NodeOpsProvider, we want to avoid adding keys to the repair options map under several circumstances:

When the option is passed in as null.
When the option is an empty collection.
When the option is the zero value of the type.

This is because we want the NodeOpsProvider logic to service v0-v3 endpoints, and some options are unavailable in the v0/v1 endpoints.
To facilitate this, I have the new options being passed as Optional<> right now, and in the resources layers we will munge the data to retain existing logic and pass empty Optionals when the endpoint doesn't support those options.
But Erik has rightly noted that the calls over the RPC channel aren't type checked, so wrapping things in Optional<> may not be hugely valuable. He would prefer to keep null checks inside the NodeOpsProvider and consolidate emptiness  into null values in the resources layer.
Neither of us have a strong feeling on this - do you have any thoughts?

I haven't checked every implementation, but looking at 3.x's RepairOption.parse, it looks pretty safe. It's just looking up known options in the map, if there are a few extra unknown ones, they should be ignored.

It isn't so much about unknown options, it is more about setting the option values to null or empty collections. @olim7t

This fixed #405


analyze all Dart files in a directory or a package

From @zoechi on November 13, 2015 9:44
I find it rather useless to analyze one dart file at a time.
I want to analyze an entire pub package or at least a list of directories.
dartanalyzer lib bin web tool example

Ideally it would just analyze all files that match include/exclude globs in .analysis_options by
dartanalyzer

Copied from original issue: dart-lang/analyzer_cli#79

This issue was moved to dart-lang/sdk#25129

Duplicated by #25152.


[Feature Request] 网站logo以及名称抽象化

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
FXSamplerProject
新增名称跟logo Panel 接口 默认javaFXTool 和 默认logo
smc新增实现
Additional context
No response

[X] I FXSamplerProject 接口负责welcome Pane默认设置
[X] I FXSamplerConfiguration 新增接口让应用修改title名称


Feature/about me

Implementation of feature about me making it possible for the user to view its own personal data

Great implementation!


Crypto.AEAD.Main.fsti: cut dependency on FStar.Pointer

So that miTLS does not depend on FStar.Pointer or anything like that.
Also, later, we might switch the implementation to using FStar.Modifies, new modifies clauses which are not necessarily related to ArrayStruct.

Please disregard this pull request, I chose the wrong base.


Make it possible to configure exception to throw on null-check failure

Right now we throw NullPointerException when a null-check fails.
However, other popular frameworks (e.g. Spring Boot) throw IllegalArgumentException.
The task is to allow to configure exceptions to throw.
Note: it should be done on a per-instrumentation type basis because it doesn't look like a good idea to throw IllegalArgumentException when a method marked by @NotNull returns null. IllegalStateException looks more suitable here.

Done


Allow non default constructible allocators

I ran into an issue when trying to use custom allocators which are non-default constructible. Looking into the compilation errors that resulted, it appears that fundamentally the library should have no issue with it, and it's just some metaprogramming utilities that are problematic. In particular, insert_into_basic_any attempts to default construct an any.
Since it seems this is only used for type inference, I played around and got things working with a few small changes using std::type_identity. Not sure if there were specific reasons for the way it was done, and I haven't tested this on anything other than MSVC, but just making a PR to demonstrate the issue and a potential fix.

Hello, thanks for pull request.

Not sure if there were specific reasons for the way it was done

i was ~hoping~ standard requires default constructor for allocators, but as i see now its not required
Fix seems correct, but there are few things to do:

use noexport::type_identity (to support C++17 too)
remove spaces around < > (now i has no format checker in CI, because i was only contributor)
add test (in test_anyany.cpp)

https://github.com/kelbon/AnyAny/commit/278c2729f02a9a6c926dbb9e41363790655cfb2d
I commited it itself, thank you

Too quick for me! Thank you!


sharing multiple images or a set?

sharing multiple items (or a set) of images from the ui. I was hoping the share url would present as a gallery the same way I see those items.
So I create a set by selecting them and hitting "Create new set with items"
Then I select the new set and hit Share, and get a share url. If I follow the share url, I get:
{"camliVersion": 1,
  "authType": "haveref",
  "camliSigner": "sha1-b7873b590283448c24ace1a7220ad787dbe76889",
  "camliType": "claim",
  "claimDate": "2018-02-14T10:16:14.943Z",
  "claimType": "share",
  "target": "sha1-575a906c4ea56bed90b4daf2d57e193d1150d6d5",
  "transitive": true
,"camliSig":"wsBcBAABCAAQBQKIbgkACRDCplLFYPcJngAAXOkIAAsqraN4H8ehbcyc9sJ5EfXkDwhxo/ChG6bXKDHoeLwHortlSiQDnltKTLxFQz3YjuwwoqHHoNJtl9infVzqGtBpyHpO/zE+J2snJEehYo2LhaYdE3OirHySSSaZT7aMJlIRPAolXwvkvBFpV7TUDhUCtcJgCudYXZaBdRnsg8MCHcygf/TyBZuJOHu7OhAPoaJojX7ilJJtwiZj67xUS2T7UvpE9NCtNAX/ShqkOKOXgBjboEr9+E0HhQfvlvvt5qu6C6U06mUao+v51FA4+AVmma+l9wUTUHVM2T5NivUuN2aGg4VzBVym665MuZTjHKGQVhSCiDBXuaP6LBrd9X0==JLIM"}

I guess I'm trying to do something similar to what is described in #965 but I do not get any error messages.

oh, and camget -shared=theshareurl -o foo yeilds an empty directory foo/shared-20180214111614/
Likewise, selecting two items and hitting "share" directly gives a similar json output when following the share link (while I was expecting an ui gallery..)  However, in this case, camget does dump the shared files.

There are two different points here:
-sharing of dynamic sets is not (yet) supported, only of files and directories. I suppose we could make camget transform a set into a directory on the fly, as we do for the "Download" action. I don't know/remember why I haven't done it yet. Sets and directories aren't equivalent, but since we already do it for Download, I suppose it might be fair to do it for camget. I'll open a different issue to at least start a discussion about it.
-a share of multiple items has no "magic" representation in the web UI. The reason a shared URL of a single item "shows" the underlying shared item in the web UI, is because the share handler has this special "assemble" parameter that asks the handler to fetch the shared item and send it back as a file. The behavior is trivial to decide for a single item, but it's not the case for several items. What do you send back then? you want the web UI to show you a gallery, but what if the client is a command-line client? Then it makes no sense to reply with a bunch of html, and maybe a zip of all the items makes more sense. etc.
Long story short, I do think it is an important feature, and I do think as you do, that the web UI should have some sort of user-friendly representation for shares of multiple items, but @bradfitz disagrees that it's a priority. So for now it's postponed at best.
-lastly, I don't really know what  #965 is about, since the guy never bothered replying with more detail.

hmm, as opposed to what I said in the first point, we apparently do not support Downloading of sets either, my bad.
The 'camtool makestatic' command line client transforms a set into a directory (that you can then Download or Share), and maybe the web UI should do that somehow under the covers as well.

I've just opened #1058 to discuss point 1.

ok, I think I understand the hows and whys, however I'd still like to be able to share a gallery of pictures. Even with 3 or 5 steps. Is it possible today, perhaps througha static directory?

In the general sense of the term, there currently are two ways you can "share" a set of pictures, and have the recipient view them as a gallery:

If they also have a Perkeep server:
a) transform your set into a static dir with 'camtool makestatic'
b) create a share claim for the newly created dir (either with Share from the web UI, or with camput share)
c) give them the share link. They can can then import the images with camget, and camput (file -filenodes) them as a set into their perkeep.
c bis) or, once https://camlistore-review.googlesource.com/c/camlistore/+/10006 lands they can directly import with one click your shared blobs into their Perkeep with their web UI.

If they don't have a Perkeep server:
a) Set up the publisher app
b) create a camliPath for the permanode of your pictures, on the camliRoot node for the publisher
c) Share the published path to whoever (it will look like that: https://granivo.re/pics/thabor-20160912)

Ah, yes, the publisher :-)
So I've followed the guide here https://github.com/perkeep/perkeep/tree/master/doc/publishing
to set up the publisher with
    "publish": {
        "/pics/": {
            "camliRoot": "pics",
            "cacheRoot": "/home/comotion/var/camlistore/blobs/cache",
            "goTemplate": "gallery.html"
        }
    }

And I see it starting:
PUBLISHER: 2018/02/20 14:12:28 Starting publisher version 2017-12-30-1d4d49ad7a; Go go1.9.3 (linux/amd64)
PUBLISHER: 2018/02/20 14:12:28 Starting to listen on http://localhost:44701

Since the UI doesn't allow the creation of permanodes, I camput a dummy permanode with camliRoot = pics and camliPath:images = sha1-
the sha I point to is a permanode with some camliContent.
I get a 403 error on http://cereal.delta9.pl:3179/pics/ and a 404 error on http://cereal.delta9.pl:3179/pics/images
I suppose the publisher works on a different port, but I get a 403 error at
http://cereal.delta9.pl:3155 and 404 errors on http://cereal.delta9.pl:3155/pics and http://cereal.delta9.pl:3155/pics/images
however,
http://cereal.delta9.pl:3155/images does not present a gallery, but does provide the some pics.zip
My goal is still just a gallery of images served from perkeep. Where did I go wrong?

I've opened #1065 to deal directly with the last point you reported, which is indeed a bug.
Otherwise, I believe I've answered your other questions, so I'm closing this. Feel free to reopen if i forgot something.

Yes you did answer my questions, thank you @mpl. Looking forward to a fix for #1065.

@comotion you can try https://camlistore-review.googlesource.com/c/camlistore/+/14486 out yourself until it gets merged if you want. I'm pretty confident about it, and it's pretty harmless as it only affects the publisher.


why aren't the native css "text-align: start" and end used?

the current implementation doesn't work when aligning text to the start or the end based on direction. the rules seem to conflict with each other.
what's the reasoning behind using this:
const utilities = () => ({
  '[dir="rtl"] .text-start': { 'text-align': 'right' },
  '[dir="rtl"] .text-end': { 'text-align': 'left' },
  ':not([dir="rtl"]) .text-end': { 'text-align': 'right' },
  ':not([dir="rtl"]) .text-start': { 'text-align': 'left' },
});

module.exports = utilities;

when surely this will suffice?
  '.text-start': { 'text-align': 'start' },
  '.text-end': { 'text-align': 'end' },

see these videos
https://user-images.githubusercontent.com/43452521/142731702-99b6b9b1-0581-446e-b6c3-728538f71880.mp4
https://user-images.githubusercontent.com/43452521/142731701-193dfd05-381b-462b-9540-3a59c4e1566a.mp4
im not sure if this is related to #25, but it seems like it might be
as a work around, ive put this in my Tailwind.postcss file:
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .text-start {
    text-align: start !important;
  }
  .text-end {
    text-align: end !important;
  }
}

Hello I can fix that by adding body element before :not()
'body:not([dir="rtl"]) .text-end': { 'text-align': 'right' },

hi, sorry for the late responese.
CSS logical properties are not widely supported by browsers yet.
since both give the same expected results I can guess it's fine to keep it that way.
maybe I can add a configuration flag to use the logical properties instead.

Next version of Tailwind have native utiltiies for text-align, so maybe this can be removed from this package? In all cases, text-align start/end are supported since a very long time (according to CanIUse, Safari 3, so maybe it is safe to remove at least this one :).


Weights?

Hi, can you post your weights?

Pretrained models download you find under releases...
Weights (model_ir_se50.pth) you find here:
https://github.com/LeslieZhoa/DCT-NET.Pytorch/blob/main/utils/download_weight.sh


Changelog tooling

Consider adding changelog linking for various new sdk, agent, instrumentation version changes etc. per the sig discussion.
Simplify how to find changes in community assets.

We've been documenting changes in https://github.com/open-telemetry/opentelemetry-lambda/releases.


Build error

trying to build under Ubuntu 20.04 with ROS 2 Foxy
In file included from ros2_foxy/src/ros2_astra_camera/ros2_astra_camera/src/astra_wrapper/astra_device.cpp:33: ros2_foxy/src/ros2_astra_camera/ros2_astra_camera/include/ros2_astra_camera/astra_wrapper/astra_device.h:65:14: error: ‘function’ in namespace ‘std’ does not name a template type    65 | typedef std::function<void(sensor_msgs::msg::Image::SharedPtr image)>       |              ^~~~~~~~ ros2_foxy/src/ros2_astra_camera/ros2_astra_camera/include/ros2_astra_camera/astra_wrapper/astra_device.h:53:1: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?    52 | #include <sensor_msgs/msg/image.hpp>   +++ |+#include <functional>    53 | #include <string> ros2_foxy/src/ros2_astra_camera/ros2_astra_camera/include/ros2_astra_camera/astra_wrapper/astra_device.h:123:27: error: ‘FrameCallbackFunction’ has not been declared   123 |   void setIRFrameCallback(FrameCallbackFunction callback);       |                           ^~~~~~~~~~~~~~~~~~~~~ ros2_foxy/src/ros2_astra_camera/ros2_astra_camera/include/ros2_astra_camera/astra_wrapper/astra_device.h:124:30: error: ‘FrameCallbackFunction’ has not been declared   124 |   void setColorFrameCallback(FrameCallbackFunction callback);       |                              ^~~~~~~~~~~~~~~~~~~~~
What is the status of this code?  Looks like you have just started development. Is it working for you?

Thanks for opening issue.
I make this package due to I can't find an available official one. So far it can meet my need, But if not in future, it will continue to be updated.

With applying this patch(f230765cd1efbc0d4408b4978483cd1c76892ff3), it could be build on foxy.


[EPIC] Evaluate UI Test Automation Frameworks

Rationale
Before moving forward with UI test automation it behooves us to evaluate the most popular frameworks.
Description
We will evaluate the following frameworks:

Nightwatch.js
Cypress
Playwright

Context
We will use each framework to create a test for the homepage:
#24
Issues

https://github.com/wclaytor/bpc-rails-demo-nightwatch/issues/1
https://github.com/wclaytor/bpc-rails-demo-cypress/issues/1
https://github.com/wclaytor/bpc-rails-demo-playwright/issues/1

Acceptance criteria
The test should verify the visibility of all page elements using the Page Object model.

Test projects have been created for each framework and a parent project has been created that sub-classes the test projects:
https://github.com/wclaytor/bpc-rails-demo-automation
Each project contains a working homepage test referencing a corresponding page object using xpath selectors.


Use android viewBindings

Migrate from findViewById to android viewBindings in MainActivity.kt.
Note:

Ensure no unnecessary dependencies are added
MainActivity.kt and activity_main.xml have minimal changes made to it and are well-formatted before creating a PR.

Hello, I'd like to work on this one

Okay @yoobi I'll assign it to you then

You should consider using resource files for strings

is this issue still open? i would like to solve it

Hello the issue is already assigned  and solved

Hello the issue is already assigned and solved
ok

i think the code has not been merged yet because view binding is not applied @yoobi @KunalRaghav

Yes the pull request has not been merged, you can see all current pull request here: https://github.com/KunalRaghav/CrossFire/pulls

Means i should fork your editing and then proceed or it will be ok if i fork original one @yoobi

What are you trying to do ? If you are trying to fix an issue it's better to look in no PR are open for this issue, then fork the project and create your pull request

I wanna add a question so what should I do for this

Okay to add a question you need to:

Fork the project
Add your question in the Question.kt as specified in #1
Push your code onto your forked project
Go to your forked project and click on "Create Pull Request"
Fill with a comment to say what you've changed and which issue you're fixing

That's it

Thanks


Add assembly config targets for UEFI build

UEFI builds are currently limited to the basic algorithms. This adds assembly builds in the UEFI environment for x86 and x86_64 build targets.

This pull request is ready to merge

Merged
1b72105076bb2e73f3c8461f9c0ca5ecefe007c8 Add assembly config targets for UEFI build


4.X update

[ ] Integrate HSCore
[ ] Register things via Function instead of Class

[ ] Menu
[ ] Icon
[ ] Command
[ ] Property
[ ] Requirement Type

[x] Remove checkClass() method
[ ] Merge some addons to the main plugin

[ ] Skull
[ ] Note Block
[ ] NBT
[ ] Command Override
[ ] Real Color
[ ] ...

[ ] Allocate some classes (object looks like a mess to me)
[ ] Enable Modded Server support (Just an option to use the Bukkit's Material class)
[ ] Register multiple keywords in a single methods (for ...Builder)
[ ] More things for Addon List & Addon Downloader

[ ] wiki
[ ] Update notifier

[x] Remove addons from Spigot

add some


feat(nat): add None Natresolver

Add None variant and missing FromStr and Display impl

ah I see, will cahnge and make this explicit that this uses an external IP resolver service

added extip:<IpAddr> variant

Codecov Report

Merging #834 (3a3eced) into main (db24d3a) will decrease coverage by 0.00%.
The diff coverage is 68.57%.

@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
- Coverage   73.24%   73.23%   -0.01%
==========================================
  Files         278      278
  Lines       29235    29269      +34
==========================================
+ Hits        21412    21435      +23
- Misses       7823     7834      +11

Flag
Coverage Δ

unit-tests
73.23% <68.57%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

crates/net/nat/src/lib.rs
63.12% <68.57%> (+2.37%)
:arrow_up:

crates/stages/src/stages/bodies.rs
93.17% <0.00%> (-0.39%)
:arrow_down:

crates/net/network/src/peers/manager.rs
82.40% <0.00%> (-0.20%)
:arrow_down:

crates/net/network/src/listener.rs
84.09% <0.00%> (+6.81%)
:arrow_up:

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


Just bring master up-to-date

No real functional changes

Pull Request Test Coverage Report for Build 31

0 of 13 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 23.563%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tXenqueue/tx_enqueue_main.py
0
13
0.0%

Totals

Change from base Build 26:
-0.3%

Covered Lines:
41

Relevant Lines:
174

💛  - Coveralls


Update the way attachments are added to the cURL request

@[file_path] is deprecated.

Unfortunately, this update will reject the support of the PHP versions earlier than 5.5.0. Current code requires v5.2.0, that is useful I think.

Considering your comment, added that case.

I’ve implemented it in more compact manner.
Thanks for pointing it out.


Regression: cannot return value referencing function parameter self

Caused by #47.
Such code is used a lot in futures etc., so I would like to support it...
However, I'm not sure if this can be fixed by ways other than changing self argument to self: Pin<&mut Self>.
Code:
use std::pin::Pin;

#[pin_project::pin_project]
struct Struct<T, U> {
    #[pin]
    pinned: T,
    unpinned: U,
}

impl<T, U> Struct<T, U> {
    fn get_pin_mut<'a>(mut self: Pin<&'a mut Self>) -> Pin<&'a mut T> {
        self.project().pinned
    }
}

Error:
error[E0515]: cannot return value referencing function parameter `self`
  --> src/lib.rs:33:9
   |
33 |         self.project().pinned
   |         ----^^^^^^^^^^^^^^^^^
   |         |
   |         returns a value referencing data owned by the current function
   |         `self` is borrowed here

playground (current)
playground (previous)

cc @Aaron1011

By the way, even if arbitrary_self_types is used, this seems to be an error.

I've found a solution - I'll be opening a PR soon.


🔧 improve usage of Directory.Build.Props

Hey @Odonno! There seems to be a merge conflict here, could you look into that?


How to create muntilp WaveSurfer Error code: SBOX_FATAL_MEMORY_EXCEEDED

limit 50 Item,
I want create muntilp WaveSurfer but Error code: SBOX_FATAL_MEMORY_EXCEEDED:

help me!

What is muntilp?

Loading and decoding audio files is memory intensive, so loading too many may result in this error.
Consider lazy loading just enough files to show on one screen.


Creating negative-sized collections should fail

This should fail: WordArray new: -2.
This is the corresponding primitive code:
@expose_primitive(NEW_WITH_ARG, unwrap_spec=[object, int])
def func(interp, s_frame, w_cls, size):
    w_cls = assert_pointers(w_cls)
    s_class = w_cls.as_class_get_shadow(interp.space)
    if not s_class.isvariable() and size != 0:
        raise PrimitiveFailedError()
    try:
        return s_class.new(size)
    except MemoryError:
        raise PrimitiveFailedError

It is unclear to me why we have the check size != 0. Would it be OK to ensure that size >= 0 regardless of whether it is a variableSubclass?

Actually, the comment and fallback code in Behavior>>basicNew: states that only variable classes can receive this message without triggering an error.
Do we reuse this primitive somehow to create zero-sized fixed classes? I.e., is there a reason to allow non-variable classes here at all?

The comment talks about "indexable" classes. I guess that's different from variable classes?
Also this works in COG: ArrayedCollection new: 0 and ArrayedCollection is not a variable subclass.

Not to my knowledge. The format bit descriptions for the object header always talk about "indexable" vs. fixed fields, IIRC.


Add more easing functions

Is your feature request related to a problem? Please describe.
Maple ships with some easing functions out of the box for use with Tweened. They are in the maple_core::easing module. There are some easing functions that are missing, notably, circular, sine, exponential, bounce and perhaps some more.
Describe the solution you'd like
For all the different easing functions listed above, there should be in, out and inout variants.
Additional context
https://easings.net/ would be a good reference for the right mathematical functions for each ease function.
Questionnaire

[ ] I would like to implement this feature but I don't know where to start
[ ] I would like to implement this feature and I have a solution
[ ] I don't have time to implement this / I don't want to implement this

Hello! I would like to implement the circular and exponential functions! This is my first time ever contributing to some other repository, but I will give my best!
I do have a plan, yet not a solution.


[BUG] k3d fails to reconcile deployment and cannot be restarted if stopped due to /etc/passwd

What did you do

How was the cluster created?

k3d cluster create -c k3d.yaml

kind: Simple
apiVersion: k3d.io/v1alpha2
name: devops-local-nloop-21
image: rancher/k3s:v1.20.10-k3s1
servers: 1
agents: 3
ports:
- port: 80:80
  nodeFilters:
  - loadbalancer
- port: 443:443
  nodeFilters:
  - loadbalancer
options:
  k3s:
    extraServerArgs:
    - --no-deploy=traefik

What did you do afterwards?

flux bootstrap
deployed datadog via flux manifest
k3d cluster stop

What did you expect to happen
Datadog is deployed in the datadog namespace. One agent per node, a cluster agent, and kube-state-metrics.
Screenshots or terminal output
first, when the cluster starts correctly, datadog agents all output these logs. (cluster agent deploys successfully)
Warning  Failed     14s (x2 over 14s)  kubelet            Error: failed to create containerd task: OCI runtime create failed:
container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76:
mounting "/etc/passwd" to rootfs at "/etc/passwd" caused: mount through procfd: not a directory: unknown

After running k3d cluster stop, and then trying to start it again, k3d outputs
ERRO[0000] Failed to start node 'k3d-devops-local-nloop-21-server-0'
FATA[0000] Failed to start server k3d-devops-local-nloop-21-server-0: Error response from daemon: unable to find user 0: read /var/lib/docker/overlay2/3c92ac2ac816a1985098799a028b16f0c43ef500e0f44e33d6c08818b3a0878e/merged/etc/passwd: is a directory

Which OS & Architecture

Linux 5.4.0-89-generic Ubuntu 20.04 x86_64 x86_64 x86_64 GNU/Linux

Which version of k3d
k3d version v4.4.8
k3s version v1.21.3-k3s1 (default)

Which version of docker
Docker version
Client:
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.8
 Git commit:        20.10.7-0ubuntu1~20.04.2
 Built:             Fri Oct  1 14:07:06 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.8
  Git commit:       20.10.7-0ubuntu1~20.04.2
  Built:            Fri Oct  1 03:27:17 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.5.2-0ubuntu1~20.04.3
  GitCommit:
 runc:
  Version:          1.0.0~rc95-0ubuntu1~20.04.2
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:

Docker info
Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 1243
  Running: 5
  Paused: 0
  Stopped: 1238
 Images: 1820
 Server Version: 20.10.7
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version:
 runc version:
 init version:
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-89-generic
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 62.67GiB
 Name: DaringLion
 ID: N2MD:XACX:AT4A:ADPS:PHN6:6CUS:YR6H:VOWC:SN6M:YZT4:U6EW:X6AP
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

Hi @nwithers-ecr , thanks for opening this issue!
It seems like this is an issue with runc/containerd, which could either be triggered by K3s or by the combination of K3s and docker.
Unfortunately I cannot seem to test it easily without having a Datadog subscription (to avoid the no-password errors).
Can you please try with --image rancher/k3s:v1.20.11-k3s2 or --image rancher/k3s:v1.20.12-k3s1 (if you need to stay in the k3s v1.20 channel)? It contains a bump of containerd from 1.4.9 to 1.4.11 which contains a version bump of runc mentioned in related issues in other projects.

Facing similar issue. I have datadog-operator installed in my cluster.
When I restart my stopped cluster
$ k3d cluster start keptn
INFO[0000] Starting cluster 'keptn'
INFO[0000] Starting servers...
INFO[0000] Starting Node 'k3d-keptn-server-0'
ERRO[0001] Failed to start node 'k3d-keptn-server-0'
FATA[0001] Failed to start server k3d-keptn-server-0: Error response from daemon: unable to find user 0: read /var/lib/docker/overlay2/b70b8190293a452b93e50d612ecf1640e1f8ba88b0d3ad1498292a7f741c63f6/merged/etc/passwd: is a directory

Docker info
$ docker version
Client: Docker Engine - Community
 Version:           20.10.8
 API version:       1.41
 Go version:        go1.16.6
 Git commit:        3967b7d
 Built:             Fri Jul 30 19:54:27 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.8
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.6
  Git commit:       75249d8
  Built:            Fri Jul 30 19:52:33 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

@iwilltry42

Unfortunately I cannot seem to test it easily without having a Datadog subscription (to avoid the no-password errors).

You don't need a paid subscription. Here's what you do to get a free subscription:

Enroll into a trial subscription (lasts for 14 days)
Once the trial period end, your subscription is converted into a free subscription with limited features (but enough to test out the above issue)

HI @vadasambar , have you tried it with different K3s versions?
Did any of you get support from Datadog's side to help debug this?

Now I just took a minute to actually read through everything again and realized, that the datadog agent tries to access /etc/passwd (according to the docs, that's for the dd-process-agent).
However, since the K3s image is super minimal, there is no /etc/passwd in the nodes and thus datadog cannot access it.
There's nothing we can do on k3d side.
See also:

same issue on Talos: https://github.com/DataDog/helm-charts/issues/273 (suggested workaround)
related: https://github.com/DataDog/documentation/issues/1927

Since this is not possible to fix on our end, I'm going ahead to close this issue. If you feel like there's something we can do on k3d's end, feel free to reopen it :+1:

Thank you for digging into this @iwilltry42.


Prep for http4s 0.23.12

I was really hoping that we could switch to the actual ClientRouteTestBattery but it's tripped up by various things. In retrospect, probably better for the long term, it may continue to evolve in ways unsuitable for browsers.


The conversation keeps showing 'thinking...' and no reply for a long time.

When I ask a question on the side panel, Copilot keeps showing thinking and no reply for a long time.
I checked the output screen and it shows: message 0 returned. finish reason: [stop]

for example, the output:
[INFO] [default] [2023-06-05T02:39:56.144Z] [fetchChat] engine https://copilot-proxy.githubusercontent.com/v1/chat
[INFO] [default] [2023-06-05T02:39:57.717Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/chat/completions] took 1572 ms
[INFO] [streamMessages] [2023-06-05T02:39:58.198Z] message 0 returned. finish reason: [stop]
[INFO] [streamChoices] [2023-06-05T02:39:58.199Z] request done: headerRequestId: [2978c058-798d-432f-80dd-dedfca3276cf] model deployment ID: [xa68ad36c6722]

I'm having the same problem, always thinking. Trying to restart the conversation may help, but that doesn't always work either.

I tried changing the network and turning off any proxies related to github and it seems to have solved it for now.

I tried changing the network and turning off any proxies related to github and it seems to have solved it for now. This solution didn't work for me. I don't think it's a network problem, because the chat panel is the only one that has this problem, and the conversations in the editor are usually normal.

I tried changing the network and turning off any proxies related to github and it seems to have solved it for now.

This solution didn't work for me. I don't think it's a network problem, because the chat panel is the only one that has this problem, and the conversations in the editor are usually normal.

Indeed, you are right. Now the problem has come up again and it doesn't seem to be a network problem.

2978c058-798d-432f-80dd-dedfca3276cf, the model produced 8 tokens then encountered the client provided stop condition ;.

I have same problem

Per https://github.com/microsoft/vscode-copilot-release/issues/205#issuecomment-1579883769 , @lramos15 could this be related to meta prompting?

I found that sometimes it does return the message, but it takes a long time to wait, like 5 minutes, or even longer. When you give up hope, go do something else, and come back, it surprisingly returns the correct reply. You don't even know when it replied.

I found that sometimes it does return the message, but it takes a long time to wait, like 5 minutes, or even longer. When you give up hope, go do something else, and come back, it surprisingly returns the correct reply. You don't even know when it replied.

Waiting longer than 60 second will not return a result, the chat model has a hard timeout at 60 seconds.
What could be happening is if you wait long enough without activity the underlying HTTP/2 connection will be closed -- somewhere between 5 and 15 minutes, it's not well characterised -- and that may "release" whatever inside the client is blocked waiting for input.

try ask the question after a greeting (like Are you ready?) solve my similar problem.

try ask the question after a greeting (like Are you ready?) solve my similar problem.

Maybe I was too rude, it ignored me  >_<!

Maybe if the first sentence is not in English, it will create some bugs.

I'm having the same problem

try ask the question after a greeting (like Are you ready?) solve my similar problem.

It's interesting that works. Can't understand

I think we know where the bug is here, but just to confirm. Do you only see this on the first use of chat and only on occasion? Or does it happen multiple times in a session?

@lramos15 It usually happened at the beginning of a chat conversation. If it succeed to respond the first message, following conversation is unlikely to make copilot keep thinking.

i encountered same issue and was able to fix via switching to github account in vs code rather than microsoft account,
hopefully this would help.

Unfortunately, I'm also experiencing this problem and the output is the same as yours.
I don't think it's generated due to network issues as GitHub Copilot is working and Fix using copilot is available. I set up a proxy in vscode and it doesn't work. I tried all of the above, however none of them worked. It happens in every chat, in fact I haven't managed to get a single reply yet.

Does inline chat (via CTRL / CMD + I) work?

This won't work because when you type /explain in the input box, you'll realize that it's actually still executing on the left side. However, today it changed in some confusing way - it works properly. What caused this issue to appear and be fixed?

Does inline chat (via CTRL / CMD + I) work?

This won't work because when you type /explain in the input box, you'll realize that it's actually still executing on the left side. However, today it changed in some confusing way - it works properly. What caused this issue to appear and be fixed?

There has been no changes 🤷

I had this same issue just now with it responding to every prompt with "Thinking..." and it was because the file that the IDE was focussed on has 51,000 lines which I would imagine is too large for the Github Copilot context.
Once I realised this and switched to a different file, it was fine.


Minor bugs on Sent Successful screen

In the image below:
Wallet icon is wrong
Extra space before start of sentence.

Extra space not removed.

Completed


Expected results data disappear after refresh on scorelab website

This PR resolves #174 issue.
The issue is on scorelab website Gsoc2021 page in idealist the expected results data disappear after refresh which is because the dangerouslySetInnerHTML on p tag.
I have removed the dangerouslySetInnerHTML which was on p tag in GsocIdealist component which may solve the issue in production.
I google the issue for sometime and found that this is due to the nested p tag.I am leaving a reference link of similar react and gatsby issue.
Reference link:-
React Issue
Gatsby Issue

I would request @charithccmc and @wdevon99 to please review this PR.


Discrepancy to FIPS-186-4 for Shawe-Taylor Random Prime Generation

FIPS 186-4 C.6 Shawe-Taylor Random_Prime Routine states in step 14. that for the recursive call the INPUTSEED shall be used.
The Bouncycastle implementation uses the PRIMESEED in Routine implSTRandomPrime() in org.bouncycastle.math.Primes.java
https://github.com/bcgit/bc-java/blob/adecd89d33edf278a5c601af2de696f0a6f65251/core/src/main/java/org/bouncycastle/math/Primes.java
Line 503:
return new STOutput(BigInteger.valueOf(c64), primeSeed, primeGenCounter);
Could that be a mistake in the FIPS-186-4 Standard? (I believe it is) The primeSeed seems to be the better choice since it is altered for each recurive call. The path for primes < 32 Bits results in the same hashes using the input seed, therefore all generated 32 Bit primes are equal. This is potentially problematic for the quality of the final prime number

Line 503 is step 11.2, I think. The recursive call from step 14 is at line 513. I don't think there's any mistake in the standard here, we just noticed (after initial implementation) that "input_seed" wasn't really needed as an extra name, since it's either aliased immediately to "prime_seed", or passed to a recursive call. So we may as well just call the input parameter prime_seed. Note that there is really only a single seed that is updated in-place throughout the algorithm.


Tproxy

Description
Changes proposed in this pull request.
Test plan
Outline the test plan used to test this change before merging it.

Fixes #.

Codecov Report

Merging #375 into master will decrease coverage by 2.37%.
The diff coverage is 30.63%.

@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
- Coverage   57.87%   55.49%   -2.38%
==========================================
  Files          51       53       +2
  Lines        5923     6431     +508
==========================================
+ Hits         3428     3569     +141
- Misses       2205     2581     +376
+ Partials      290      281       -9

Impacted Files
Coverage Δ

supervisor/iptablesctrl/ipsets.go
54.54% <0%> (-5.46%)
:arrow_down:

enforcer/pipe.go
0% <0%> (ø)

supervisor/ipsetctrl/ipsetctrl.go
68.1% <100%> (ø)
:arrow_up:

supervisor/iptablesctrl/iptables.go
47.72% <37.5%> (-1.36%)
:arrow_down:

enforcer/datapath.go
62.96% <66.66%> (+1.14%)
:arrow_up:

supervisor/iptablesctrl/acls.go
57.89% <67.87%> (+1.43%)
:arrow_up:

trireme.go
50.47% <78.57%> (+2%)
:arrow_up:

enforcer/datapath_proxy.go
8.48% <8.48%> (ø)

supervisor/supervisor.go
67.59% <87.5%> (+1.9%)
:arrow_up:

enforcer/utils.go
64.35% <0%> (-13.32%)
:arrow_down:

... and 16 more

Continue to review full report at Codecov.

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


Create icmarvasivizzone.gov.it

Please create Istituto Comprensivo "Marvasi Vizzone" https://icmarvasivizzone.gov.it

@arturu Could you please confirm that there are students in the school who are over 13 of age? Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!

No, max age is 13.

@arturu Regrettably, I cannot add such a school to the repository. I would recommend using Community versions of our tools (IntelliJ IDEA Community edition in particular) for students under 13 of age. However if you feel that you strongly need a professional version of a tool for teaching, feel free to email<EMAIL_ADDRESS>my colleagues there may help.


No man page for ed, the standard text editor

Issue description
There seems to be no man page for ed, the standard text editor.
Steps to reproduce
$ nix-shell --pure -p ed -p man -p less \
    -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/master.tar.gz
$ man ed
No manual entry for ed

Technical details
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.9.58, NixOS, 17.09.1880.ac2bb5684c (Hummingbird)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.15`
 - channels(root): `"nixos-17.09.1880.ac2bb5684c"`
 - channels(kristoffer): `"nixpkgs-17.09pre112229.e619ace733"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

It looks like an issue in how ed installs things:
$ tree /nix/store/ann881y0l5f72fim46mnzc13yy4xf6p2-ed-1.14.2/
/nix/store/ann881y0l5f72fim46mnzc13yy4xf6p2-ed-1.14.2/
├── bin
│   ├── ed
│   └── red
└── nix
    └── store
        └── ann881y0l5f72fim46mnzc13yy4xf6p2-ed-1.14.2
            └── share
                ├── info
                │   └── ed.info
                └── man
                    └── man1
                        ├── ed.1
                        └── red.1 -> ed.1

8 directories, 5 files

pkgs/applications/editors/ed/default.nix contains:
     /* FIXME: Tests currently fail on Darwin:

       building test scripts for ed-1.5...
       testing ed-1.5...
       *** Output e1.o of script e1.ed is incorrect ***
       *** Output r3.o of script r3.ed is incorrect ***
       make: *** [check] Error 127

    */

I suspect the next code results in double application of the nix store directory:
  installFlags = [ "DESTDIR=$(out)" ];

  configureFlags = [
    "--exec-prefix=${stdenv.cc.prefix}"
    "CC=${stdenv.cc.prefix}cc"
  ];

I 'll investigate further.

This might be related to a comment in pkgs/applications/editors/ed/default.nix:
     /* FIXME: Tests currently fail on Darwin:

       building test scripts for ed-1.5...
       testing ed-1.5...
       *** Output e1.o of script e1.ed is incorrect ***
       *** Output r3.o of script r3.ed is incorrect ***
       make: *** [check] Error 127

    */

The target directory is set with:
  installFlags = [ "DESTDIR=$(out)" ];

  configureFlags = [
    "--exec-prefix=${stdenv.cc.prefix}"
    "CC=${stdenv.cc.prefix}cc"
  ];

There's another configure flag, --prefix, that defaults to /usr/local. I think nix automatically replaces that by $(out). Resulting in $(out)/$(out).
--exec-prefix would default to '$(prefix)`, but since it was set, the bin files ended up in the right place.
Not setting any installFlags results in a correct tree. It basically lets nix figure it out.
  # installFlags = [ "DESTDIR=$(out)" ];

  configureFlags = [
    "--exec-prefix=${stdenv.cc.prefix}"
    "CC=${stdenv.cc.prefix}cc"
  ];

I noticed @Ericson2314 very recently replaced stdenv.cc.prefix by `stdenv.cc.targetPrefix'.
Todo:

[ ] Confirm it's ok to not set the DESTDIR
[ ] Check if the FIXME comment in the source about Darwin is solved.

Yes, removing DESTDIR is usually the correct option.

Fixed by #32322.


On branch edburns-msft-em-4751-apply-review-to-wls-aks-offer-documentation

modified:   documentation/site/content/managing-domains/aks/_index.md

This document needs to be clear that it is documenting the features in the offer interface.
Add prominent link to offer on the portal.
Enable Container insights – it is unclear what this really does.
Create Persistent Volume using Azure File share service – details missing. Is this NFS? What is the mount path?
Template outputs – the formatting is broken in the table.
the long strings with no spaces, such as the URLs are preventing text reflow to the usual browser size. Modify the URLs to make them less long.

Changes applied in commit e93450d11839f5e3b6e8277853de03bb796e0f62 .


PropTypes can no longer be required from react

PropTypes is no longer part of react and hence must required from package prop-types.
Similar to this issue.
Insert var PropTypes = require('prop-types'); here

I have the same problem, I already have everywhere in the project var PropTypes = require('prop-types'); how to fix that problem?

release? @maxkarelov


Provide a complete k8s example on error middleware

What does this PR do?
Provide a complete k8s example on error middleware
Motivation
whoami is not tailored to return error pages.
https://github.com/tarampampam/error-pages is dedicated to this usage.
They provide an example with Docker, not for Kubernetes.
More

[x] Added/updated documentation

Hello @mloiseleur,
Thank you for your contribution.
After discussing the example with the other maintainers, we have decided to close your PR.
Indeed:

So far, in Traefik documentation we've had the stance to not provide full examples but only Traefik configuration
We do not want to promote an image we are not maintaining

However, improving the image traefik/whoami to provide error pages could be a good enhancement.


fix: update buffer max size to correct 1MB limit

fixes https://github.com/hirosystems/stacks.js/issues/1664

we were incorrectly calculating 1MB before
ref: stacks-core: https://github.com/stacks-network/stacks-core/blob/c50a93088d7c0261f1dbe31ab24b95028a038447/clarity/src/vm/types/mod.rs#L47

Please release this asap. I need to apply this patch in order to decode the function args from https://explorer.hiro.so/txid/0xf957bf074f78376d13153d1cfde7d323d9416d91f698b5d07530484d416852d1?chain=mainnet


Test simulator API with the actual simulator locally ,to test if it works and optimize the slow endpoints

https://github.com/itu-devops/lecture_notes/blob/master/sessions/session_03/API Spec/minitwit_sim_api_test.py

As optimized as can be easily done with Indices and restructuring.


Fix reply_to_mailinglist: true

Variable 'recipient' wasn't being passed through to function get_reply_to_address causing an error.

Thanks

Will be released after conversion of all specs to RSpec 3.


New architecture still not supported in React native maps

Summary
I am using expo go. While prebuild the build is successful but the app crashes. In expo doctor it is showing new architecture not supported - React Native Maps
Reproducible sample code
import React from 'react';
import MapView from 'react-native-maps';
import { StyleSheet, View } from 'react-native';

export default function App() {
  return (
    <View style={styles.container}>
      <MapView style={styles.map} />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  map: {
    width: '100%',
    height: '100%',
  },
});

Steps to reproduce
Run  npx eas build -p android --profile preview
Expected result
App should run properly without crashing.
Actual result
App gets crashed after launch.
React Native Maps Version
1.18.0
What platforms are you seeing the problem on?
Android
React Native Version
0.76.2
What version of Expo are you using?
SDK 52
Device(s)
Samsung S23, Oneplus Nord 4
Additional information
Please support

Yes, it's still not supported and is both mentioned in the readme and the pinned issue.
Refer to #5206

thanks @contactsimonwilson
closing since no point in duplication


[WIP] Concatenating null with not null string resulting in null

DO NOT COMMIT THIS - work in progress.
Looking for some feedback on WIP for issue #3836.
My attack plan was to include a Coalesce function call with all string concatenations. This does produce somewhat ugly SQL for a ton of common scenarios. I changed the check to only wrap references to nullable columns in Coalesce but this will miss a ton of different possible outcomes.
Looking for some guidance on what you fancy doing here, uglify everything or only cover some really specific examples?
I've not updated all the unit tests to match this change yet so there are broken tests.

Why not use concat function available in most major sql languages that supports adding null strings together?

Concat support was added in SqlServer 2012. Cannot use it since we still support SqlServer 2008.
https://docs.microsoft.com/en-us/sql/t-sql/functions/concat-transact-sql?view=sql-server-2017

SQL server 2008R2 is going EOL next month. I think it makes sense to offer concat.

@divega Looking for your input on this.

Ping @divega

Here is the requested input:

I did some looking around and there are fundamental variations in support CONCAT() across many of the most relevant databases. For example, according to what I found:

In MySQL, CONCAT() does return null if any of the arguments is null
In SQLite, CONCAT() isn't supported
In Oracle, CONCAT() only supports two arguments

Of all the databases I investigated, it seems that CONCAT() would be the most straightforward translation only for SQL Server 2012 and above, and PostgreSQL 9.1 and above. While we could aim for this, assuming we still care about older versions, we would still need a different translation using concatenation operators supported by the database. In the past we strove to stay away form runtime version detection, so presumably we would need either an opt-in or opt-out of this behavior, which adds to the cost. I don't think we need to know anyway, because we need the other translation based on concatenation operators for other databases that either don't support CONCAT() or for which CONCAT() doesn't implement the desired behavior.

Given that CONCAT() doesn't help addressing #3836 across providers, I don't see a better solution for obtaining the desired behavior than pursuing the direction of this PR. That is, add COALESCE(x,'') when we know x can be null. The generated SQL is more complicated, but that should improve a bit when we start caching generated SQL depending on sniffing parameter values. @smitpatel also mentioned that people can add their own coalesce operator code in the LINQ query to get the desired result, but that feels more like a workaround than anything. We have precedent in older versions of EF where C# semantics for string concatenation was fixed based on feedback and community PRs.

Incidentally, the concatenation operator in SQL Standard and in the majority of the databases outside of SQL Server is ||, and not +. I believe we missed making || the default in relational and now most providers need to override it.

One more detail to take into account:

Changing the behavior in this way, although and improvement, is also technically a behavioral breaking change.

Design notes:

We need to add COALESCE(column, N'') only when column can be null and is used in string concatenation.
The place where we find nullability is NullSemanticsRewritingExpressionVisitor.
Based on that, @divega, is it fair to say that if user wants database nulls behavior then null + "b" may return null rather than "b"?

Separate issue. Though as discussed, it ended up with that way because we don't special case string concat. They are a + b in tree and we always print +. That is to say, it wasn't because of SqlServer but because of ease of printing due to our Sql tree structure. We can fix it. Probably best to file an issue and put good-first-issue

Already targeting master branch so this would go into next breaking release.

(Fixed/simplified my initial write up)

Based on that, @divega, is it fair to say that if user wants database nulls behavior then null + "b" may return null rather than "b"?

Yes, I think it is reasonable for the same UseRelationalNulls flag to control both null comparisons and this. The name is a good fit, plus both behaviors are a consequence of null meaning unknown.

@muppets - Would you like to work based on new design? @maumar can guide you in terms of how NullSemanticsRewritingExpressionVisitor works.

Added design notes in original issue. Closing PR.


make static root absolute

Why? Because the default .env value of data/static/ meant that if e.g. tests were run from a non BASE_DIR working directory django would go look for static files in ephios/tests/data/static/ which would fail (usally with compressor complaining about not finding some i18n-js-file).

coverage: 88.669% (-0.005%) from 88.674% when pulling 470d65f7e6945d056f9c13e7abca77b5d57d7db3 on make-static-root-absolute into 4eecd1a49866b16e76ed79b74373d1265e3db0f4 on main.


[webpack-isomorphic-tools] [error] asset not found: ./src/browser/app/App.scss

Steps to reproduce
git clone
npm install
gulp || gulp -p
Expected Behavior
The file is there... If I change something and save it the error will be gone for a while but eventually starts to pop up.
Actual Behavior
I tried to run some tests and it seems that this file isn't affecting render(even after it's been recognized). If a change it's values nothing happens on screen.

Hmm, you are correct.

It works for me OSX. Let me guess, you have Windows? Anyway, Este doesn't do that any special, I can't help you. Sorry.

I was able to reproduce the error on Ubuntu too... Weird.

That's weird. Try to google error or temporarily remove the CSS file.

I ran "npm install" and went through it again (gulp native-fix).
The error message seems to be gone but (as a few other console errors I was getting because some favicons were missing) this file is ignored on server side rendering on development (gulp) but if try the production code (gulp -p) the file is no longer ignored.
This happened on Windows, I'll check if the same happens on Ubuntu and edit this.
Thakns for the great work on Este. I'm loving your opinions and learning a lot.
ps: did you know that este in portuguese means "the one"?

@steida  Mac sir.

Thank you. No I didn't.


Installing PowerShell on Ubuntu 20.04 results in an error (failed to fetch Packages.gz)

Building a Docker image using the following Dockerfile results in an error and PowerShell not being installed.
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y wget apt-transport-https software-properties-common \
    && wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb \
    && dpkg -i packages-microsoft-prod.deb \
    && apt-get update \
    && add-apt-repository universe \
    && apt-get install -y powershell

The end of image build log:
#5 28.29 Get:6 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages [79.9 kB]
#5 28.29 Err:6 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages
#5 28.29   File has unexpected size (80223 != 79898). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
#5 28.29   Hashes of expected file:
#5 28.29    - Filesize:79898 [weak]
#5 28.29    - SHA512:33a69c24201b3f40d5bbdbeb94043455941bca0a6c5447f7b899e9ce131f9e3930670722b5857c8faa18c15e6fce220ccf192028efde7f21ebcbb3bd04320a33
#5 28.29    - SHA256:c4b106cd62d227c5b272d1d9c81c9f59f2dd1b2127542f6ab329fba993778355
#5 28.29    - SHA1:dbf156e2ef7864e218e36477ae73e8a835438ad5 [weak]
#5 28.29    - MD5Sum:98db4bd510ef8a65b615d7ed923477b0 [weak]
#5 28.29   Release file created at: Sat, 15 May 2021 00:38:08 +0000
#5 28.51 Fetched 10.5 kB in 1s (11.0 kB/s)
#5 28.51 Reading package lists...
#5 29.22 E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/dists/focal/main/binary-amd64/Packages.gz  File has unexpected size (80223 != 79898). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
#5 29.22    Hashes of expected file:
#5 29.22     - Filesize:79898 [weak]
#5 29.22     - SHA512:33a69c24201b3f40d5bbdbeb94043455941bca0a6c5447f7b899e9ce131f9e3930670722b5857c8faa18c15e6fce220ccf192028efde7f21ebcbb3bd04320a33
#5 29.22     - SHA256:c4b106cd62d227c5b272d1d9c81c9f59f2dd1b2127542f6ab329fba993778355
#5 29.22     - SHA1:dbf156e2ef7864e218e36477ae73e8a835438ad5 [weak]
#5 29.22     - MD5Sum:98db4bd510ef8a65b615d7ed923477b0 [weak]
#5 29.22    Release file created at: Sat, 15 May 2021 00:38:08 +0000
#5 29.22 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
executor failed running [/bin/sh -c apt-get update && apt-get install -y wget apt-transport-https && wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb     && dpkg -i packages-microsoft-prod.deb     && apt-get update     && add-apt-repository universe     && apt-get install -y powershell]: exit code: 100

Now works, I have no idea why it didn't work before.


fix attachment lose #900

Fix the problem that when broadcasting a byte array data to multiple clients in the same room, the client receives 450, 452 and other wrong binaryEvent number messages and has 45x probe header messages missing attachments

Thank you for the suggested changes.
Is the problem in empty byte arrays handling? I see your code does the same except empty byte arrays filtering

Thanks for asking, I found two problems when I send byte[] message.

When sending a byte[] message to a room, since multiple clients concurrently call the same Packet.initAttachments(jsonSupport.getArrays().size()) method in PacketEncoder.encodePacket(), this will Leading to concurrent modification, the number of attachments is lost or increased when sending messages, causing the client to receive 45x-["event-name",{"placeholder":"true", "num":0}], and no bytes Data attachment. Under the premise that each client does not need new Packet() for the same byte[] message, we can initAttachments() in advance when creating a Packet to avoid concurrent modification and maximize performance.
In line 262 of EncoderHandler: outBuf.writeBytes(buf) - buf is an attachment of Packet, which calls AbstractByteBuf#writeBytes(io.netty.buffer.ByteBuf). This method will move buf.readerIndex to the position of buf.readableBytes on the first call to writeBytes(). After that, other clients who read the attachment of this Packet will not be able to read any valid data, which will cause only the header 04 in the byte[] attachment received by the subsequent client.
Not sure if I made it clear, if I didn't, please let me know

@mrniko Please review it when you are free #900


"Unsupported" entity IDs removed when re-entering Action settings

I'd like to use Alarmo in combination with my Arlo cameras. To achieve this, I basically need to arm another Alarm Control Panel when the Alarmo Control Panel gets armed (and the opposite when disarming). Theoretically, I should be able to do that via the Actions, but the entity list does not display the other control panels.
YAML mode to the rescue:
- entity_id: alarm_control_panel.aarlo_control_panel
  service: aarlo.alarm_set_mode
  service_data:
    mode: armed

This snippet works without a problem. However: when I edit the action and switch to YAML, it becomes this:
- service: aarlo.alarm_set_mode
  service_data:
    mode: armed

So it's basically removing the entity because they are not support in the UI.
Now I can easily see why you would say "That's not a bug", but still...
(Great job with the component, btw)

That is a bug.
My intention was that the user should be able to configure any service (including entity_id + service_data), but not all entity types show up in UI mode.
So as long as you stick to YAML mode your service should be stored and editable.
I will try to reproduce this and see what's happening.

I tried to reproduce your case (with a Manualalarm_control_panel).
I was able to create a task in YAML mode (similar to your config) and also saw that the task works (I could arm this alarm when Alarmo was armed).
When returning to the task, after switching to YAML mode my original config was still there.
After switching back to UI mode, I saw that the 'entity' field was empty.
If I open the dropdown box and close it again (without selecting anything), the entity from my original task was removed (visible by switching to YAML mode again). This is undesirable.
I made the following small changes in the v1.7.0 release:

The entity you have assigned in YAML mode will now also be visible in UI mode (even if it is not contained in the dropdown list of supported entities)
The editor will automatically start in YAML mode when editing a action which contains 'custom' entities.

Hope this helps you. If you have more ideas, please shout 🙂

That has worked lovely. Thank you.


Investigate disabling BUNDLE_BIN automatically

Apparently, there's a BUNDLE_BIN option to automatically create binstubs for installed gems. I was not aware of this setting, but we need to turn it off when setting up the custom bundle or else we accidentally create binstubs for the application.

Let's review the others too: https://bundler.io/v2.5/man/bundle-config.1.html#LIST-OF-AVAILABLE-KEYS
(perhaps it may be safe to filter on a set that we do allow).

Yeah, that's a good idea.


Cluster markers on the map

Add marker clustering functionality for the markers in the same radius to avoid collision when you zoom out and zoom in. Take an example below

Clusters have been added unfortunately there's a bug when I toggle to test centres. Centres show up twice and I can't figure out why. Do create a PR if you beat me to it


Trick saber not working

The plug-in is not working in the latest beat saber update

it does for me


Question: Will Evolutility evolve to OData?

Any plans to support OData?

No plan for Odata at this time.
GraphQL is a possibility too.


Allow cloning with HTTPS

Description
The tool should rather use HTTPS with the token to clone repositories instead of SSH by default.

Closed by #27


fix catalog w/signoff

Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

https://github.com/meshery/meshery.io/issues/1929


CI for Node

App
✕ Contains the compiled JavaScript (38 ms)
Game
Game
✕ Initializes with two players (11 ms)
✓ Initializes with an empty board
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center
✓ Inserts an 'X' into the top left
nextPlayer
✕ Sets the current player to be whoever it is not (1 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled (1 ms)
✓ Wins if down-left diagonal is filled (1 ms)
✓ Wins if up-right diagonal is filled


Support to import github templates from other branches.

Can i import any template from another branch of a github repo? And also with a feature request can we import github repo without the config file so people can use templates from any gh template repo?

The support to clone from other branches is a upcomming feature. And if you want any repo to use as template without the config just do
git clone <repo>

And thats all..

Still it will be good if we can import it with zero configuration.

I do not feel so. But support for custom branches is a thing which is going to come.

Its been 12 days and is it ever going to be done? Just wanted to ask of progress.

Currently i am busy with other projects. This update is been working on with v1.5. You can check the todo list #2.


Test hover cmd

Try to hover with /cmd_hover instead of /cmd_position

Hovering is more stable/ less oscillaiton. Better to focus elsewhere


Parsing only comma as decimal separator in input field for hyperbolicity

This looks like a terrible bug when you enter anything with a decimal point.

Should be fixed with #77


Called in wrong state: STATE_INPROGRESS

What steps will reproduce the problem?
1. sipML5 in Chrome 41 through kamailio via WSS to sipML5 on Chrome 40 /
Android 5.02
2. place audio call from chrome 41 to chrome 40 using kamailio as a sip router.

What is the expected output? What do you see instead?
Expected: 200 or 300
Result: 603 - Failed to get local SDP

What version of the product are you using? On what operating system?
SIPML5 API version = 1.5.222
sipML5 in Chrome 41 through kamailio via WSS to sipML5 on Chrome 40 / Android
5.02

Please provide any additional information below.

State machine: s0000_Started_2_Ringing_X_iINVITE
SIPml-api.js?svn=224:1 ==stack event = m_permission_requested
SIPml-api.js?svn=224:1 onSetRemoteDescriptionSuccess
SIPml-api.js?svn=224:1 onGetUserMediaSuccess
SIPml-api.js?svn=224:1 createAnswer
SIPml-api.js?svn=224:1 State machine:
tsip_transac_ist_Proceeding_2_Proceeding_X_1xx
SIPml-api.js?svn=224:1 SEND: SIP/2.0 180 Ringing
Via: SIP/2.0/WSS x:4430;branch=z9hG4bK6db3.c3808cbb0eab26a1327641a77781d316.0
From: "x"<sip:1079@xx>;tag=G7WgxAWFDpP7GTZAiddE
To: <sip:1073@x>;tag=HGfPdykWWasi52odFlsI
Contact: <sips:1073@df7jal23ls0d.invalid;transport=wss>
Call-ID: 7a2937db-e56d-b1cb-b949-039c6d5fb13d
CSeq: 61118 INVITE
Content-Length: 0
Via: SIP/2.0/WSS
df7jal23ls0d.invalid;rport=64830;received=x;branch=z9hG4bKDMgoDkMyO2A4cx6Wd706oz
3wThhefCTz
Record-Route: <sip:x:4430;transport=ws;lr=on;ftag=G7WgxAWFDpP7GTZAiddE>
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER, UPDATE

SIPml-api.js?svn=224:1 ==stack event = i_new_call
SIPml-api.js?svn=224:1 ==session event = m_stream_audio_local_added
SIPml-api.js?svn=224:1 onSignalingstateChange:have-remote-offer
SIPml-api.js?svn=224:1 onGetUserMediaSuccess
SIPml-api.js?svn=224:1 createAnswer
SIPml-api.js?svn=224:1 __on_add_stream
SIPml-api.js?svn=224:1 ==stack event = m_permission_accepted
2SIPml-api.js?svn=224:1 ==session event = m_stream_audio_local_added
SIPml-api.js?svn=224:1 ==session event = m_stream_audio_remote_added
SIPml-api.js?svn=224:1 onNegotiationNeeded
2SIPml-api.js?svn=224:1 onCreateSdpSuccess
SIPml-api.js?svn=224:1 onSetLocalDescriptionSuccess
SIPml-api.js?svn=224:1 onSetLocalDescriptionError
SIPml-api.js?svn=224:1 Failed to set local answer sdp: Called in wrong state:
STATE_INPROGRESS
SIPml-api.js?svn=224:1 State machine: s0000_Ringing_2_Terminated_X_Reject
SIPml-api.js?svn=224:1 === INVITE Dialog terminated ===
SIPml-api.js?svn=224:1 PeerConnection::stop()
SIPml-api.js?svn=224:1 This/PeerConnection is null: unexpected
SIPml-api.js?svn=224:1 State machine:
tsip_transac_ist_Proceeding_2_Completed_X_300_to_699
SIPml-api.js?svn=224:1 SEND: SIP/2.0 603 Failed to get local SDP
Via: SIP/2.0/WSS x:4430;branch=z9hG4bK6db3.c3808cbb0eab26a1327641a77781d316.0
From: "x"<sip:1079@xxx>;tag=G7WgxAWFDpP7GTZAiddE
To: <sip:1073@xxx>;tag=HGfPdykWWasi52odFlsI
Call-ID: 7a2937db-e56d-b1cb-b949-039c6d5fb13d
CSeq: 61118 INVITE
Content-Length: 0
Via: SIP/2.0/WSS
df7jal23ls0d.invalid;rport=64830;received=x;branch=z9hG4bKDMgoDkMyO2A4cx6Wd706oz
3wThhefCTz
Record-Route: <sip:x:4430;transport=ws;lr=on;ftag=G7WgxAWFDpP7GTZAiddE>
Reason: SIP; cause=603; text="Failed to get local SDP"

SIPml-api.js?svn=224:1 ==session event = terminated
SIPml-api.js?svn=224:1 State machine: tsip_transac_ist_Any_2_Terminated_X_cancel

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 9 Mar 2015 at 12:35

Hello! Does anybody has some news about this issue?
What steps will reproduce the problem?

Calls from PSTN to sipML5 2.0.3 client in Chrome 49.0.2623.75 m (64-bit) through FreeSwitch
Sometimes calls are rejected with the error:
Failed to set local answer sdp: Called in wrong state: STATE_INPROGRESS

What is the expected output? What do you see instead?
Expected: 200 or 300
Result: 603 - Failed to get local SDP
What version of the product are you using? On what operating system?
SIPML5 API version = 2.0.3
sipML5 in Chrome 49
Please provide any additional information below.
Attached a sipML5 client log correct (OK) and one that gives the error (KO)
This behaviour is very random but it is more frequent if we use a Windows XP machine.
Is it something related to the performance of the PC/OS ?
Thanks
Stefano
test-sipml5_OK.txt
test-sipml5_KO.txt

@stefanofavaro, have a look at this commit https://github.com/roginvs/sipml5/commit/4cbbb515635be00b089a97342662d6e12723cbef - this is a workaround for your problem

Thank you very much @roginvs that solved my problem.
Just a note: there is only a little detail, if you need to use Hold/Resume functions you have to use a new flag, because in this case you can't by-pass the onGetUserMediaSuccess function.


Terraform Cloud Backend

[x] Create a new project and workspace in Terraform Cloud
[x] Configure Terraform Backend
[x] Workaround for Terraform Login
[x] Migrate our local state to a remote state
[ ] Create documentation

Getting an error of:
╷
│ Error: No valid credential sources found
│
│   with provider["registry.terraform.io/hashicorp/aws"],
│   on main.tf line 31, in provider "aws":
│   31: provider "aws" {
│
│ Please see https://registry.terraform.io/providers/hashicorp/aws
│ for more information about providing credentials.
│
│ Error: failed to refresh cached credentials, no EC2 IMDS role found,
│ operation error ec2imds: GetMetadata, request canceled, context deadline
│ exceeded
│

Did an STS call and it went through. Reset credentials still not working.

Added Env Vars to the Terraform Cloud workspace. Used this documentation: https://developer.hashicorp.com/terraform/tutorials/cloud-get-started/cloud-create-variable-set


Improve API Discovery

[x] Adds a link header
[x] Adds a link in the HTML

both pointing to the new combined API resource from #260.

@hugovk Could you take a look at this and see if it looks sufficient?


AssertionError: This implementation of MOEAD does not support any constraints.

AssertionError: This implementation of MOEAD does not support any constraints.
hello，How to deal with this？
In pymoo, what algorithm can be selected to solve multi-objective optimization (with constraints), other than GA-related algorithms?
Thanks

NSGA-II and NSGA-III both support constraints.
MOEAD does not because the original paper did not propose a constraint handling approach. I know some papers have propsed an extension. If there is one that robustly works, fee free to contribute to pymoo and push a PR.


Internal code for performing Key Vault crypto operations locally

These are internal changes necessary to perform locally all the crypto operations supported by Key Vault. No public API changes are included though, so this doesn't make it possible to perform those operations through CryptographyClient. I left that for a future PR to make this one more approachable 😇
While I was at it I deleted an unused internal module (closes #11151).

/check-enforcer evaluate


Linking to system TBB considered harmful (primarily on Ubuntu 18.04)

I know that HIP-CPU may not share the support matrix of ROCm, however projects that rely on ROCm often do (and HIP-CPU targets these applications). I'm sure you're aware of the sad situation of the parallel STL and Ubuntu 18.04, the gist of the problem being that while installing GCC 8 and 9 sporting parallel STL is simple enough from the ppa:ubuntu-toolchain-r/test PPA, it requires a version of TBB newer than the one provided by the system.
In this case it is painfully clear that simply adding -ltbb to the linker command line will not fly. There are two issues with this:

It doesn't compile.
Making it compile robustly is like walking on broken glass. Adding a non-system lib as a dependency while potentially said lib being installed on the system is tricky. If not using proper CMake detection and relying on SYSTEM BEFORE flags, one must tread carefully.

For those living the life and surfing the waves of package managers (🙌) installing TBB comes by for eg. saying vcpkg install tbb, which in turn will install a statically built libtbb.a, which with the current build scripts will sit right next to -ltbb on the linker command line, simultaneously linking to an older system shared library and a cutting edge static version. What could go wrong?

Even if HIP-CPU does not intend on supporting this quirky situation, blindly adding -ltbb to the command line (beside being bad form) opens the door to consuming TBB twice, moreover with different versions. (Projects consuming HIP-CPU may want to depend on TBB on their own right as well.)
I would urge trying to detect libstdc++ instead off being on Linux (after all this situation is the consequence of an implementation detail) using CMake's try_run():

Try compiling a <srcfile>. Returns TRUE or FALSE for success or failure in <compileResultVar>. If the compile succeeded, runs the executable and returns its exit code in <runResultVar>.

or using check_cxx_symbol_exists, whichever is easiest. (I don't have a turnkey solution, but we should.) If STL is libc++, only then do
check_cxx_symbol_exists(SOME_LIBCXX_ONLY_SYMBOLNAME "iostream" USING_LIBCXX)
if(USING_LIBCXX)
  if(NOT TARGET TBB::tbb)
    find_package(TBB REQUIRED)
  endif()
  if(NOT TARGET Threads::Threads)
    find_package(Threads REQUIRED)
  endif()
endif(USING_LIBCXX)
target_link_libraries(${PROJECT_NAME}
  INTERFACE
    $<$<BOOL:${USING_LIBCXX}>:
      ${CMAKE_DL_LIBS}
      Threads::Threads
      TBB::tbb
    >
)

(Note: AFAIK having to find and link to Threads::Threads (and perhaps ${CMAKE_DL_LIBS} too) is yet another quirkiness libc++, but don't call me out on that one. It isn't painful to have on non-Linux systems, it's minimal bloat to configuration time and console output on Windows.)

This is indeed a significant concern, and there was some measure of doubt before actually adding the convenience hip_cpu_rt target; in one incarnation the onus was fully on the user to provide the additional dependencies. In the end we have something that is not very robust, as you have observed. That being said, I'd be more than happy to take PRs improving the situation. Even fleshing this discussion out and thrashing the details of desirable behaviour in a broad sense would be nice.

This is indeed a significant concern, and there was some measure of doubt before actually adding the convenience hip_cpu_rt target; in one incarnation the onus was fully on the user to provide the additional dependencies. In the end we have something that is not very robust, as you have observed. That being said, I'd be more than happy to take PRs improving the situation. Even fleshing this discussion out and thrashing the details of desirable behaviour in a broad sense would be nice.


chore(main): release 1.0.9

:robot: I have created a release beep boop
1.0.9 (2023-01-07)
update

完善商品参数 (443688b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/Back-end-management-system-E-commerce/releases/tag/v1.0.9 :sunflower:


Allow cfeclipse users to click on a link in the tag context and open it in cfeclipse (as well as TextMate)

Thanks!


ValueError: All dicts must have the same number of keys

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
the loss on two card has different length.
Reproduction

What command or script did you run?
I use tools/train.py configs/config.py gpus 2, to train my model, then this error appear.
A placeholder for the command.

2. Did you make any modifications on the code or config? Did you understand what you have modified?
in my config I have changed my data address, num_class, anchor, and the size of image, and I have tried to put find_unused_parameters=True in train.py in api, this error disappeared but my program just stop there.
3. What dataset did you use?
my owe dataset but in coco formular.
**Environment**

I installed pytorch in pip, and the installation of mmdetection is Follow the method of the official website.

1. Please run `python mmdet/utils/collect_env.py` to collect necessary environment infomation and paste it here.
2. You may add addition that may be helpful for locating the problem, such as
    - How you installed PyTorch [e.g., pip, conda, source]
    - Other environment variables that may be related (such as `$PATH`, `$LD_LIBRARY_PATH`, `$PYTHONPATH`, etc.)

**Error traceback**
<img width="787" alt="traceback" src="https://user-images.githubusercontent.com/34438597/76928220-d19d4580-691b-11ea-807c-3371a48f3c91.png">

A placeholder for trackback.

**Bug fix**
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

Could you reformat your error report first? The images cannot be seen.

For me, I find out there are some images with no annotated bboxes. After filtering out these images from the training set, this problem disappears magically!


feat: support get target in tools.postcss

Summary
sometimes, user need to judge the build environment by target when they want to add plugins.
Related Links

Checklist

[ ] Tests updated.
[ ] Documentation updated.

Only web target provides CSS outputs, so we may not need to get target in the tools.postcss config.


UnpicklingError: "invalid load key, '\x00'."

Last Error Received:
Process: MDX-Net
If this error persists, please contact the developers with the error details.
Raw Error Details:
UnpicklingError: "invalid load key, '\x00'."
Traceback Error: "
File "UVR.py", line 6638, in process_start
File "separate.py", line 514, in seperate
File "lib_v5\spec_utils.py", line 522, in invert_stem
File "lib_v5\spec_utils.py", line 486, in spectrogram_to_wave_no_mp
File "librosa\util\decorators.py", line 88, in inner_f
File "librosa\core\spectrum.py", line 421, in istft
File "librosa\util\decorators.py", line 88, in inner_f
File "librosa\filters.py", line 1536, in window_sumsquare
File "numba\core\dispatcher.py", line 439, in _compile_for_args
File "numba\core\dispatcher.py", line 372, in _compile_for_args
File "numba\core\dispatcher.py", line 891, in compile
File "numba\core\caching.py", line 644, in load_overload
File "numba\core\caching.py", line 651, in _load_overload
File "numba\core\caching.py", line 495, in load
File "numba\core\caching.py", line 512, in _load_index
"
Error Time Stamp [2023-12-26 13:36:12]
Full Application Settings:
vr_model: Choose Model
aggression_setting: 5
window_size: 512
mdx_segment_size: 256
batch_size: Default
crop_size: 256
is_tta: False
is_output_image: False
is_post_process: False
is_high_end_process: False
post_process_threshold: 0.2
vr_voc_inst_secondary_model: No Model Selected
vr_other_secondary_model: No Model Selected
vr_bass_secondary_model: No Model Selected
vr_drums_secondary_model: No Model Selected
vr_is_secondary_model_activate: False
vr_voc_inst_secondary_model_scale: 0.9
vr_other_secondary_model_scale: 0.7
vr_bass_secondary_model_scale: 0.5
vr_drums_secondary_model_scale: 0.5
demucs_model: Choose Model
segment: Default
overlap: 0.25
overlap_mdx: Default
overlap_mdx23: 8
shifts: 2
chunks_demucs: Auto
margin_demucs: 44100
is_chunk_demucs: False
is_chunk_mdxnet: False
is_primary_stem_only_Demucs: False
is_secondary_stem_only_Demucs: False
is_split_mode: True
is_demucs_combine_stems: True
is_mdx23_combine_stems: True
demucs_voc_inst_secondary_model: No Model Selected
demucs_other_secondary_model: No Model Selected
demucs_bass_secondary_model: No Model Selected
demucs_drums_secondary_model: No Model Selected
demucs_is_secondary_model_activate: False
demucs_voc_inst_secondary_model_scale: 0.9
demucs_other_secondary_model_scale: 0.7
demucs_bass_secondary_model_scale: 0.5
demucs_drums_secondary_model_scale: 0.5
demucs_pre_proc_model: No Model Selected
is_demucs_pre_proc_model_activate: False
is_demucs_pre_proc_model_inst_mix: False
mdx_net_model: UVR-MDX-NET Inst 3
chunks: Auto
margin: 44100
compensate: Auto
denoise_option: None
is_match_frequency_pitch: True
phase_option: Automatic
phase_shifts: None
is_save_align: False
is_match_silence: True
is_spec_match: False
is_mdx_c_seg_def: True
is_invert_spec: True
is_deverb_vocals: False
deverb_vocal_opt: Main Vocals Only
voc_split_save_opt: Lead Only
is_mixer_mode: False
mdx_batch_size: Default
mdx_voc_inst_secondary_model: No Model Selected
mdx_other_secondary_model: No Model Selected
mdx_bass_secondary_model: No Model Selected
mdx_drums_secondary_model: No Model Selected
mdx_is_secondary_model_activate: False
mdx_voc_inst_secondary_model_scale: 0.9
mdx_other_secondary_model_scale: 0.7
mdx_bass_secondary_model_scale: 0.5
mdx_drums_secondary_model_scale: 0.5
is_save_all_outputs_ensemble: True
is_append_ensemble_name: False
chosen_audio_tool: Manual Ensemble
choose_algorithm: Min Spec
time_stretch_rate: 2.0
pitch_rate: 2.0
is_time_correction: True
is_gpu_conversion: True
is_primary_stem_only: False
is_secondary_stem_only: False
is_testing_audio: False
is_auto_update_model_params: True
is_add_model_name: False
is_accept_any_input: False
is_task_complete: False
is_normalization: False
is_use_opencl: False
is_wav_ensemble: False
is_create_model_folder: False
mp3_bit_set: 320k
semitone_shift: 0
save_format: WAV
wav_type_set: PCM_16
device_set: Default
help_hints_var: True
set_vocal_splitter: No Model Selected
is_set_vocal_splitter: False
is_save_inst_set_vocal_splitter: False
model_sample_mode: False
model_sample_mode_duration: 30
demucs_stems: All Stems
mdx_stems: Vocals

Does this happen for a model that needs to be downloaded from within the application?
The error indicates that numba had problems loading the model.
Check the folder ../models/MDX_Net_Models.
The filesizes for "onnx"-files are normally 65.195KB and for "ckpt" it depends on the FFT-size. Sizes I've seen so far were 179.082KB and 437.592KB. If you files are notable smaller, just delete the files in question and re-download again.
If that does not help, report back here.


[FIX] - Removing duplicated input elements on termynal snippets

This PR removes duplicate input elements in the Termynal code snippets of the "Install Dependencies for the Polkadot SDK"

@0xLucca Leading spaces were automatically modified by prettier, shall we turn it off? @eshaben

Mmm, actually, I don't like the idea of removing .html files from Prettier since IMO it's important to have every single piece of code (or html/CSS) standardized and formatted
I think that initially, this add trusted nodes code snippets should have been written using <pre> tags for example, to avoid this formatting conflict

Let me take a closer look


Automated Package Upgrade

:tada: This PR is included in version 2.2.222 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Using ASE (AppService) cannot be a best practice for AKS

In the section "Remove Service state from Containers"; there is a guideline to build portable applications. This contains a link named "Run a web application in multiple Azure regions" which points to Azure App Service Documentation. This seems to be a careless doc bug mistake, please remove this as it is distracting and encourages FUD.

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

ID: a6557663-a845-e50b-9db8-529b57f3ee1d
Version Independent ID: a8accf2c-91d9-dab0-1c04-e8b798b28770
Content: High availability and disaster recovery in Azure Kubernetes Service (AKS)
Content Source: articles/aks/operator-best-practices-multi-region.md
Service: container-service
GitHub Login: @lastcoolnameleft
Microsoft Alias: thfalgou

Thanks for the feedback! We are currently investigating and will update you shortly.

@asubmani the document appears correct. We state that you shouldn't store service state inside a container. If you need that functionality instead you should use a PaaS service such as App Services.
I will close this out but if you have further questions just let me know.


Keep the original quality

I setup the gem an I have it set to 60%, however the image came out very blurry. Is there a way to reduce the file sizes of JPEG and PNG images while keeping their original quality?

Remove the 60% quality argument and it will run only the lossless compression algorithms.
(Other option is to have multiple versions and specify different quality levels in each)


Trying to BAN Dilithium from the Overworld to force travel too Moon

Not sure if this is the appropriate section for this or it may even be a mod interaction issue.
I've been making a modpack and testing a way to Ban ore from everything but the moon and other planets.
But i can't seem to get COFH world gen to do this, or some other mods i've tested.
Minecraft Version: 1.12.2
Forge Version: <IP_ADDRESS>17
Advanced Rocketry Version: 1.12.2-1.3.0-61
LibVulpes Version: 1,12,2-0.2.8-27
Mods installed:
Actually Additions
Applied Energistics 2
Aroma1997's Dimensional World
Astral Sorcery
Advanced Rocketry
Biomes O' Plenty
Botania
CoFH Core
CoFH World
Compact Machines
CraftTweaker2
Cyclic
Draconic Evolution
Forestry
Immersive Engineering
IndustrialCraft 2
JEI
Mekanism
NuclearCraft
Quark
Refined Storage
RFTools
Tech Reborn
Thermal Expansion
Thermal Foundation
This is not the full list just the major stuff, it's a big pack atm.
I've been trying to get this too work since the 55 version of advanced rocketry.
I realize it may be my fault or something with COFH core.
Just looking to see if this can be done or not.
Thanks for all your work.
Files attached
12_ore_ban.json.txt
advancedRocketry.cfg.txt
planetDefs.xml.txt

.

Have you tried setting "DilithiumPerChunk" in the config to 0 while leaving "DilithiumPerChunkLuna" alone?

Not a bad idea there thanks but will that work so that it spawns on other planets.
And i was trying to do much the same with Rutile/Titanium.
ie. Ban from all but those added by advanced rocketry

Setting "DilithiumPerChunk" to 0 and leaving "DilithiumPerChunkLuna" alone works fine but i only have Dilithium on the moon and no other planets. This is usable for what i wanted but i did want to try an have rutile on the moon and other planets without being in the overworld and deep dark or mining dimensions. has anyone got an idea to make that work. I still can't see why my 12_ore_ban.json.txt file doesn't work, it's setout as per cofh help page says it's suppose to be and i checked for json errors.
Thanks for the input.

is there any reason using http://arwiki.dmodoomsirius.me/AdvancedRocketry/config/OreConfiguration.php won't work for setting ore generation on other planets?

i can try the ore config files but i was a little confused as how to set those up. but will those allow me to ban rutile from the overworld at the same time as letting those spawn on planets?

I just did a quick edit of ore config. so in theory changing the pressure to something other than the overworld will have it spawn on other planets just not those with attributes similar to the overworld?
If i have referenced things correctly that is.
Thanks.
oreConfig.xml.txt

@zmaster587 I know your probably busy with real errors so i don't expect too much.
I quickly found i messed up the formatting in the above file. But the one i adjusted seems to work, but a little unsure as to how i reference rutile ore. The new file still hasn't stopped rutile spawning in the overworld and keeping it on planets. Still open to ideas if anyone has some.
Thanks
oreConfig.xml.txt

I think it would be handy to have a config option that would ban dilithium from dimension 0 under any circumstances.

I think it would be handy to have a simple config option that would prevent dilithium ore from generating in dimension 0 under any circumstances.

I may ask a lot from you, but, here is what I did, when I was facing the same issue. This is Python script, generating the necessary COFH file vanilla.json...
You can write the input files for biome groups ores and ore config... in this much more organized format and it will generate the json for you:
Darai's SpaceRace OreGenerator
Hope this helps.

Also, start with smaller pack, only those mods, giving dimensions and ores... set the config and check how it looks. I am using World Stripper for that.

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.