Show HashiCorp Vault Address when using 'kubectl get ta' or 'kubectl get cta'

Signed-off-by: Shubham Kuchhal<EMAIL_ADDRESS>Add VaultAdress field in TriggerAuthentication and ClusterTriggerAuthentication CRD so on using kubectl get TriggerAuthentication or kubectl get ClusterTriggerAuthentication it would show the Address of HashiCorp Vault.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] Changelog has been updated

Fixes #1826

Hi @tomkerkhove @zroubalik
PTAL

And please update changelog as well :)

And please update changelog as well :)

Addressed the comment

Looking good, could you please open another PR for charts, so the CRDs are updated there as well?
https://github.com/kedacore/charts/blob/master/keda/templates/05-crd-triggerauthentications.keda.sh.yaml
https://github.com/kedacore/charts/blob/master/keda/templates/02-crd-clustertriggerauthentications.yaml

Sure I will soon create a PR for it also.

Looking good, could you please open another PR for charts, so the CRDs are updated there as well?
https://github.com/kedacore/charts/blob/master/keda/templates/05-crd-triggerauthentications.keda.sh.yaml
https://github.com/kedacore/charts/blob/master/keda/templates/02-crd-clustertriggerauthentications.yaml

Done! kedacore/charts#164


prog/prio detect invalid target.Syscalls sooner

Without this check programs may end up panicing in places far away
from the real cause. E.g.
worker# ./syz-fuzzer -executor=./syz-executor -name=vm-0 -arch=amd64 -manager=<IP_ADDRESS>:21386 -sandbox=setuid -procs=2 -v=0 -cover=true -debug=false -test=false
2004/02/03 12:11:11 fuzzer started
2004/02/03 12:11:11 dialing manager at <IP_ADDRESS>:21386
2004/02/03 12:11:12 syscalls: 1
2004/02/03 12:11:12 code coverage: enabled
2004/02/03 12:11:12 comparison tracing: support is not implemented in syzkaller
2004/02/03 12:11:12 setuid sandbox: support is not implemented in syzkaller
2004/02/03 12:11:12 namespace sandbox: support is not implemented in syzkaller
2004/02/03 12:11:12 Android sandbox: support is not implemented in syzkaller
2004/02/03 12:11:12 fault injection: support is not implemented in syzkaller
2004/02/03 12:11:12 leak checking: support is not implemented in syzkaller
2004/02/03 12:11:12 net packet injection: enabled
2004/02/03 12:11:12 net device setup: support is not implemented in syzkaller
panic: invalid argument to Intn

goroutine 27 [running]:
math/rand.(*Rand).Intn(0xc000dff530, 0x0, 0x40)
        /usr/local/go/src/math/rand/rand.go:169 +0x9c
github.com/google/syzkaller/prog.(*ChoiceTable).Choose(0xc000d92ec0, 0xc000dff530, 0xffffffffffffffff, 0xc000dff650)
        /syzkaller/gopath/src/github.com/google/syzkaller/prog/prio.go:241 +0x1a0
github.com/google/syzkaller/prog.(*randGen).generateCall(0xc000e145a0, 0xc000c2a200, 0xc000ce7f80, 0x2348f1940, 0xc000ce3440, 0xc000e6ee01)
        /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:451 +0x69
github.com/google/syzkaller/prog.(*Target).Generate(0xc00007f1e0, 0x8f8680, 0xc000ce3440, 0x1e, 0xc000d92ec0, 0x0)
        /syzkaller/gopath/src/github.com/google/syzkaller/prog/generation.go:19 +0x2b2
main.(*Proc).loop(0xc000d92f40)
        /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:93 +0x2a1
created by main.main
        /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:236 +0xfe2

Why wasn't this caught by:
https://github.com/google/syzkaller/blob/master/syz-fuzzer/testing.go#L296
?
Generally we try to communicate all misconfigurations back to manager so that it can print a readable errors and abort. This change will result in a stream of "lost connection" crashes and then users will come to mailing list asking for help.

Why wasn't this caught by:
https://github.com/google/syzkaller/blob/master/syz-fuzzer/testing.go#L296
?

Quite possible my half-done change #863 is to blame. In particular,  the I was missing this patch:
@@ -14,4 +14,5 @@ func isSupported(c *prog.Syscall, sandbox string) (bool, string) {
 func init() {
 	checkFeature[FeatureCoverage] = unconditionallyEnabled
 	checkFeature[FeatureNetworkInjection] = unconditionallyEnabled
+	checkFeature[FeatureSandboxSetuid] = unconditionallyEnabled
 }

You could argue that it's a broken configuration. The point of this PR is to improve the quality of the panic message. We currently report it later due to Intn invariant violation.

Generally we try to communicate all misconfigurations back to manager so that it can print a readable errors and abort. This change will result in a stream of "lost connection" crashes and then users will come to mailing list asking for help.

This is already the case without the PR, the code just panics later and it's harder to see where things go awry.
Feel free to let this PR sit, maybe we'll understand things better later and find a nicer fix. In general, it's hard to give a lot of guarantees about where errors would get detected without expressive types :-P

Alternatively, how do you feel about changing BuildChoiceTable to also return err?

The point of this PR is to improve the quality of the panic message.

I guess we can do this as second line of defense.
But we need to fix the error message, if I am reading it correctly.

The point of this PR is to improve the quality of the panic message.

I guess we can do this as second line of defense.
But we need to fix the error message, if I am reading it correctly.

len(...) is probably useful enough.

Wait, you want to say that target.Syscalls was empty? If so, we need to detect it way earlier. Or what was invalid about target.Syscalls?

Everything I know about the failure is in the commit description. I was
just looking for something minimally useful to report in panic message and
len seemed reasonable.
On Mon, Dec 10, 2018, 10:43 PM Dmitry Vyukov<EMAIL_ADDRESS>wrote:

Wait, you want to say that target.Syscalls was empty? If so, we need to
detect it way earlier. Or what was invalid about target.Syscalls?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/syzkaller/pull/862#issuecomment-446090591, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIXNMsYgSmEqFrZHc7sws719X95eHGBuks5u31QkgaJpZM4ZJ62e
.


HTTP/2 Support

Hello,
when I try to use http/2 with socketcluster, clients cannot connect to sc with the http error 403. On the server side I get following error:
[Error] Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:162:27)

Websocket support is implemented in nodejs http2 module. See @nodejs/node#23284
However, ws module hasn't implemented it yet. See @websockets/ws#1458
Could you implement it on sc-uws ?
Thanks.

@ayZagen SC has moved away from using sc-uws as the default. It's just too much effort to maintain; each node.js version requires new builds. uWS is an optimization for more advanced users.

I would recommend to run nginx on the front of nodejs.
browser---https/http2---nginx---http---node


VALET available as conda package

Hi,
VALET is now available as a conda package: https://bioconda.github.io/recipes/valet/README.html
If you want, I can open a Pull Request here to update the README file to add how to install Nonpareil using conda and also the badge:
Berenice

Thanks for making VALET available as a conda package. That would be great if you could create a pull request for installing Nonpareil using conda and adding the bioconda badge!

@bebatut the bioconda package install is broken:
PaddingError: Placeholder of length '80' too short in package /ebio/abt3_projects/DeepMAsED/version2/deepmased/ResMiCo-SM/.snakemake/conda/c178fa96de9a5c5d3d980fe3639b6719/bin/Rscript.
The package must be rebuilt with conda-build > 2.0.

See https://github.com/conda/conda/issues/4088 for more a bit info


[SPARK-49849][CONNECT][PYTHON] API compatibility check for Structured Streaming Query Management

What changes were proposed in this pull request?
This PR proposes to add API compatibility check for Spark SQL Structured Streaming Query Management functions
Why are the changes needed?
To guarantee of the same behavior between Spark Classic and Spark Connect
Does this PR introduce any user-facing change?

No
How was this patch tested?

Added UTs
Was this patch authored or co-authored using generative AI tooling?

No

Merged to master.


quote-server: add Dockerfile

add Dockerfile to build docker image based on service/quote-server
Signed-off-by: Hairong Chen<EMAIL_ADDRESS>

https://github.com/intel/confidential-cloud-native-primitives/issues/19


Idea for improvements

Multiple fields selection would be awesome!
Example:
[
  { "field11": "value11", "field12": "value12", "field13": "value13" },
  { "field21": "value21", "field22": "value22", "field23": "value23" },
]

res := gjson.Get(json, "#.{field1, field2}")

res -
[
  { "field11": "value11", "field12": "value12"},
  { "field21": "value21", "field22": "value22"}
]

I'm a little unclear on the syntax that you are proposing. You show #.{field1, field2} but it's matching on field11 and field22.

Oh, my bad, misspelled. A lot...
[
  { "field1": "value11", "field2": "value12", "field3": "value13" },
  { "field1": "value21", "field2": "value22", "field3": "value23" },
]

res := gjson.Get(json, "#.{field1, field2}")

and res, of course -
[
  { "field1": "value11", "field2": "value12"},
  { "field1": "value21", "field2": "value22"}
]

This syntax just for multiply selection from some of nodes.

package main

import (
	"fmt"
	"github.com/tidwall/gjson"

)

const json = `[
{
  "name": {"first": "Tom", "last": "Anderson"},
  "age":37,
  "children": ["Sara","Alex","Jack"],
  "fav.movie": "Deer Hunter",
  "friends": [
    {"first": "Dale", "last": "Murphy", "age": 44},
    {"first": "Roger", "last": "Craig", "age": 68},
    {"first": "Jane", "last": "Murphy", "age": 47}
  ]
}
`

func main() {
	res := gjson.Get(json, "#.friends.#.{first}")
	fmt.Println(res)
}

Why didn't I get this collection?

@yun313350095 @errashe was proposing the {first} syntax as a new feature of GJSON. It does not currently exist

Ok. I just push the new feature to the master branch.
Make sure to not include spaces in your path syntax. So use
#.{field1,field2}

not
#.{field1, field2}

More info at 3b5bf6b. Please check it out and let me know.


Use recommended storage locations for app and user data

Discussed in https://github.com/microsoft/WSL/discussions/9191

Originally posted by danielniccoli November 17, 2022
WSL is putting application data directly in the user profile at $env:userprofile\.wslconfig. This violates Microsoft recommendations for Windows operating systems and should be moved to the recommended locations.

The application and user data should be moved to storage locations recommended by Microsoft. A selection of recommended storage locations are

ApplicationData (roaming)
LocalApplicationData (non-roaming e.g., Local/LocalLow)
CommonApplicationData (non-roaming)
CommonProgramFiles (non-roaming)

Source and details about recommended storage locations:
https://docs.microsoft.com/en-us/dotnet/api/system.environment.specialfolder?view=net-6.0
Since .wslconfig may hold system-specific configurations, LocalApplicationData (%LOCALAPPDATA%\wsl\config.ini) seems to be the most fitting choice.
I would also suggest to rename .wslconfig to config.ini or something. The dot-naming is a unix-convention and not Windows-like.

That's a reasonable ask, but changing the location of .wslconfig would break existing installations so unfortunately this is not something we can change.

@OneBlue You have moved my previous feature request to a discussion and now you're closing the feature request I created from the discussion. Your statement is not correct, which was already commented by someone else in the discussion. Backwards compatibility can be maintained easily. I have the feeling that you shut down my issues not because of technical limitations (that don't exist) but because you have a personal preference against this. Please reopen the issue to allow people to contribute to it.


Task common - deploy lock - where is documentation on it?

Q
A

Issue Type
Question

Deployer Version
4.0.2

Local Machine OS
N/A

Remote Machine OS
N/A

Hello.
Task common - deploy:lock - where is documentation on it?
https://github.com/deployphp/deployer/blob/v4.0.2/recipe/deploy/lock.php
Please add at least a couple of words in each task. For example
/* (c) Anton Medvedev<EMAIL_ADDRESS> *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * This task for ....
 */

Please.

Will add docs on site and in code too.

@tebally What kind of branching do you use? Common branches or bookmarks?

@elfet Please approve that this is for preventing concurrent deployment processes of same project and server? If this is correct, I will add it into https://github.com/deployphp/deployer/blob/v4.0.2/recipe/deploy/lock.php annotation. I guess that there is no need to describe it in docs because of it's internal thing. What do you think?

Please approve that this is for preventing concurrent deployment processes of same project and server?
Yes. Docs now is here: https://deployer.org/docs/flow

@elfet nice! Then let's close this ticket.


Videos in Timeline are not sized properly

After some investigation:

Setting the aspectRatio() is causing issues
We are not handling landscape vs portrait videos separately (I think we need to)
Not setting the aspectRatio() on the AndroidExternalSurface fixes the issue for portrait videos, but makes landscape videos look out of proportion
I think we need to draw different sized backgrounds for portrait / landscape videos, otherwise there will be a lot of blank space for landscape videos

This may be related to https://github.com/android/platform-samples/issues/172, which may be fixed in Media3 1.4.0-rc01

Fixed in https://github.com/android/socialite/pull/91


Modifications for divided requests

modified urls to match the new request setup
added migration scripts
raised the required version and added new compatibility documentation

Reviewed 6 of 6 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io

merged


Broken DTMF calling (D Decd)

Two k5s, A is the original firmware, B is v0.14.1 firmware.
both same freq eg438.500, both with DTMF (D Decd) turned on. After this setting, B calls A ,A only light and no sound,
but both with DTMF (D Decod) turned off become normal

DTMF decoding is originally meant to give an option to call each other somewhat like with phones. The call pattern is Where callee and caller are 3 digit ANI ID of each radio. If radio receives a call it only then starts to listen for a preset amount of time. This was broken in 1o11's repo when I forked it. I will try to fix that in the future.callee*caller

same issues still exists

You didn't actually say what is the problem, you only described what is going on. So what is the actual problem?

你实际上并没有说出问题是什么，你只是描述了发生了什么。那么实际问题是什么？

Yes, I only know the phenomenon of the problem. I don't understand programming, and of course I don't know where the problem lies

You didn't actually say what is the problem, you only described what is going on. So what is the actual problem?

Yes, I only know the phenomenon of the problem. I don't understand programming, and of course I don't know where the problem lies

No, not where the problem lies, I will investigate where it lies, but you didn't state the problem at all.

No, not where the problem lies, I will investigate where it lies, but you didn't state the problem at all.

I told you the method of reproduction. What's not clear about it

You only described what you do, you didn't state what is not right in the result.

I fixed what I consider wrong, but you say it is still the same so I'm getting confused

No, not where the problem lies, I will investigate where it lies, but you didn't state the problem at all.

Two k5s, A is the quansheng original firmware, B is your firmware today.
both same freq （eg438.500）, both with DTMF (D Decd) turned on. After this setting
Result B calls A , A only light   No sound,
A calls B，B only light No sound

I fixed what I consider wrong, but you say it is still the same so I'm getting confused

Wait a few minutes, I will send the video to the telegram

Can you see you see any "bad", "wrong", "not right", "error", "not expected" in your statement? Because I don't. How am I supposed to ask the question in any other way?
You do certain actions, and you get certain outcome. Can you state what is different in what is going on, that is different from what you expect to happen?

Radio with D Decd set to ON should have no sound on receive, unless you call it with its ANI ID. When I call my radio with 102*103 I get the sound.
https://github.com/egzumer/uv-k5-firmware-custom/wiki/Radio-operation#dtmf-calling-decoding

Radio with D Decd set to ON should have no sound on receive, unless you call it with its ANI ID. When I call my radio with 102*103 I get the sound.
https://github.com/egzumer/uv-k5-firmware-custom/wiki/Radio-operation#dtmf-calling-decoding

I understand. I'm very sorry for wasting a lot of your energy and time.Thank you very much for everything you selflessly did for K5！


[Site] flow types for React-Live

LiveProvider, LivePreview, LiveEditor, and LiveError don't have flow types, we should write them so that we get the benefits of using them

addressed in #29


Remove outdated CHANGELOG

I suggest to remove CHANGELOG file because it is not up-to-date and the project is small enough so git history is easily readable, thus a CHANGELOG file is not needed.

Thanks @matks


Use of unresolved identifier '_sanityCheck' and '_precondition'

I tried to build with the latest Xcode but got these errors, looks like they are from exernal libraries some where?

For anyone who encounter this issue, this should help.

Problem solved


Add vagrant build step that checks for MESOS_CALICO_TAR var

test this please

test this please

Closing in favor of #48


rustup

Cc https://github.com/rust-lang/rust/issues/99461

@bors r+

:pushpin: Commit 1d5cfb565ca70109dc2c6eb69b8c3d72b4ca8dcd has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 1d5cfb565ca70109dc2c6eb69b8c3d72b4ca8dcd with merge 9edbf3676b056e6cd4b887163703d454d5c3e8c3...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 9edbf3676b056e6cd4b887163703d454d5c3e8c3 to master...


Board Review: Azure Communication Services [Common] (.NET, JS, Java, Python, Android, iOS)

Contacts and Timeline

Responsible service team: ACS Dev Security (former part of the ACS Auth team)
Main contacts: Dominik Messinger (@DominikMe), Petr Svihlik (@petrsvihlik)
Expected code complete date: 2022-07-01
Expected release date: 2022-07-31

About the Service

Link to documentation introducing/describing the service: N/A - not a service client library
Link to the service REST APIs: N/A - not a service client library
Link to GitHub issue for previous review sessions, if applicable: N/A - not a service client library

About the client library

Name of the client library: Azure.Communication.Common
Languages for this review: C#, JS, Java (+ Android), Python, iOS

Artifacts required (per language)
Please read through “API Review” section here to understand how these artifacts are generated. It is critical that these artifacts are present and are in the right format. If not, the language architects cannot review them with the SDK Team’s API review tool.
.NET

APIView Link no. 1: https://apiview.dev/Assemblies/Review/0d13d0a5ceaa494f8a920f01b59d206d?diffOnly=True&diffRevisionId=4d8ca4f70e6d42a98baf0ccce503a5af
APIView Link no. 2: https://apiview.dev/Assemblies/Review/a6145ac78446422c92a07a1888baa2d9?diffRevisionId=f370ec95a9af450e9a35ee9ca4bcd170&doc=False&diffOnly=False&revisionId=510b0178283f45d5a8e4d4f7826492fd
PR no. 1: https://github.com/Azure/azure-sdk-for-net/pull/28574
PR no. 2: https://github.com/Azure/azure-sdk-for-net/pull/30075

Java

APIView Link: https://apiview.dev/Assemblies/Review/c236ca96fddc4b00a242f80eb58a1a0d?diffRevisionId=f8cf7a20da7643ada4f46109b8ab6f96&doc=False&diffOnly=False&revisionId=1659814d80124d0b8348367fad4e4f7c
PR: https://github.com/Azure/azure-sdk-for-java/pull/28997

Android

APIView Link: https://apiview.dev/Assemblies/Review/1dad7ec250684647aaeb2b17c59ad7e3?diffRevisionId=8f155a7222354750af6bf288f569000d&doc=False&diffOnly=False&revisionId=3663a826c0514d25b56f7c939e281600
PR: https://github.com/Azure/azure-sdk-for-android/pull/1116

Python

APIView Link: https://apiview.dev/Assemblies/Review/fce877aea4a4400391f55e985f1d92b4/1b734e3549974121b9705a8f8bdb4ac6?diffRevisionId=ad28b2d974a747acb32f28539a10a2a6&doc=False&diffOnly=True
PR: https://github.com/Azure/azure-sdk-for-python/pull/24507

TypeScript

APIView Link: https://apiview.dev/Assemblies/Review/e921ff42f06b4844ac55ff0787bf2535?diffOnly=True&diffRevisionId=5d31b068c24d48f58296cc015e1183fe
PR: https://github.com/Azure/azure-sdk-for-js/pull/21699

iOS

APIView Link: https://apiview.dev/Assemblies/Review/86f76588c938454b9f7a8b27bfbe683a?diffRevisionId=f05f1a59368c4cc1a4fd358be57215e7&doc=False&diffOnly=False&revisionId=d03da9637ba24201b53ab504138b3b6a
PR: https://github.com/Azure/azure-sdk-for-ios/pull/1312

About the change
Motivation
While the CommunicationIdentifier types for both SDK runtime models as well as REST models do a good job of

providing good auto-complete in IDEs
avoid having customers to parse and construct MRIs with cryptic strings like 4: or 8:orgid:
allow switch-case by type
allow restricting communication to specific types

they don't do a good job of

explaining how to persist them in Databases and use them as keys
how to use them as key in dictionaries, example use case messages or read notifications by user
how to use them as key in declarative UI frameworks such as React to avoid unnecessary re-renders
use them as key in REST API paths, instead of having to rely on POST payloads leading to less-intuitive REST CRUD APIs

Customers can serialize identifiers themselves but it's not clear how to do so in a safe manner. For example, the MicrosoftTeamsUserIdentifier has multiple properties such as IsAnonymous or Cloud and it's not clear in which order these properties should get serialized into a string. ACS can introduce new properties in the future which can potentially break any serialization logic that the customer came up with.
One particular scenario (submitted by the UI Library team) that this feature will unblock is mapping MRIs to AAD ObjectIds to enable calling Graph API and provide a rich experience for calling participants.
Proposed change
Introduce a canonical serialization format of identifiers that can be used for all of the above cases.
Implementation details - Design change request: RawId support for (de)serialization
Champion Scenario
        public class ContosoUser
        {
            public string Name { get; set; }
            public string Email { get; set; }
            public string CommunicationIdentifier { get; set; }
        }

        public void SerializationExample()
        {
            // The value can come from the Identity API, Calling/Chat API (participants), etc.
            // It can be a CommunicationUser, PhoneNumber, MicrosoftTeamsUser
            CommunicationIdentifier communicationIdentifier;

            ContosoUser user = new ContosoUser()
            {
                Name = "John",
                Email =<EMAIL_ADDRESS>                // store the MRI no matter what's the underlying type
                CommunicationIdentifier = communicationIdentifier.RawId
            };
            SaveToDb(user);
        }

        public void DeserializationExample()
        {
            ContosoUser user = GetFromDb("john@doe.com");

            string rawId = user.CommunicationIdentifier;
            CommunicationIdentifier communicationIdentifier = CommunicationIdentifier.FromRawId(rawId);
            switch (communicationIdentifier)
            {
                case MicrosoftTeamsUserIdentifier teamsUser:
                    string getPhotoUri = $"https://graph.microsoft.com/v1.0/users/{teamsUser.UserId}/photo/$value";
                    // GET /users/<oid>/photo/$value
                    break;

                case CommunicationIdentifier communicationUser:
                    // ...
                    break;
            }
        }

Scheduled for 7/28 9a-11a PDT

Should we use implicit or explicit operator? The guidelines say that implicit shouldn't be used for something that can throw.
We already use implicit for enum-like structures (e.g. CommunicationCloudEnvironment) - are there any guidelines for non-enum-like structures?
Would be cool to be able to do something like this:
            ContosoUser user = GetFromDb("john@doe.com");
            var chatParticipant = new ChatParticipant(identifier: user.RawId)
            {
                DisplayName = "UserDisplayName"
            };

Instead of this:
            var chatParticipant = new ChatParticipant(identifier: new CommunicationUserIdentifier(id: "<Access_ID>"))
            {
                DisplayName = "UserDisplayName"
            };

Recording (MS INTERNAL ONLY)

@joheredi @xirzec can you pls approve the APIView for JS?
It was approved last Thursday, and we'd like to get it released soon to unblock other teams.

Looks like @bterlson approved, @petrsvihlik let me know if you're still blocked. 😄

@xirzec for some reason the pipeline doesn't accept the approval above and requires an approval in this API view: https://apiview.dev/Assemblies/Review/26aa3f641ebb441cb5a8f19d8291b97a?diffRevisionId=5d31b068c24d48f58296cc015e1183fe&doc=False&diffOnly=False&revisionId=af44898499ea429fad73cc5cd29804ed
can you please approve it too?

I have approved it

all languages released


[Rest Server] Remove hdfs get in docker container

Remove hdfs get in docker container.

Coverage decreased (-11.3%) to 49.907% when pulling cb26caa9ac4907b9b02a1d26fcd485b0987c8cca on xiongyf/remove-hdfs-get into c1c0be587345e75343e0beeebd0c449f5916ea21 on master.


Add fuzz corpora for QUIC RCIDM

Is this a properly minimized corpus?

@t8m It is now

Merged. Thanks.


Uncaught Error: WebSocket close with status code 1006

[Help Wanted - not a bug, i couldn't be able to join the Slack workspace]
I managed to run the code-server on my VPS running nginx web server, proxied through Cloudflare free plan with the following DNS configuration:
DNS configuration:

Firefox logs:

The page doesn't load, it works just fine with the "--link" option but I can't figure out why is it not working with my custom domain setup. Not a client problem since my friends can't connect too, hope it's not CF...

Web Browser: Firefox, 85.0.1 (64 bit)
Local OS: Windows 10 (64 bit)
Remote OS: Ubuntu 20.04.2 LTS
Remote Architecture: x86_64
code-server --version: 3.8.0 c4610f7829701aadb045d450013b84491c30580d

Sorry to hear you're having issues. Let's see what we can do to help you!

[Help Wanted - not a bug, i couldn't be able to join the Slack workspace]

Why weren't you able to join the Slack workspace? cc @bpmct
Since this is not a bug or an issue, can you please ask this a Question under Discussion? Link


how to close Cors filter

i want to pass through cors request to upstream server... but every cors request filter by gateway..

No need to open another issue, you already saw #255


Uses whitespace-controlling tags in snippets

re: https://github.com/puranjayjain/language-liquid/issues/20

nice work


add queueURL method

While using your module in my project it was necessary to add URLs manually. It is useful when you have hidden pages on the site which is not visible for crawler. For example, we have news page where data loaded via AJAX. So we made a hidden page with all the news for the crawler to feed. The small wrapper method queueURL added in order to help.
If you confirm the PR, I'll append this to README.

Seems useful. Are you feeding a single URL and let the crawler discover more URLs or are you adding each one manually? If you are doing it the second way I would omit the crawler and add the URLs directly to the sitemap.

The idea is to help crawler fetch pages that it cannot find itself and after let it to do the work further.
The second way is a special case of the first one but, imho, more difficult.

Indeed. That would require an exact URL. When queued the crawler handles this.
If you could add the method documentation to the README I'm happy to merge this.
Thanks!

Ready!

Thanks alot.


[HDFS-365] Upgrade HDFS to CDH 5.11.0

Instructions for the upgrades to take effect:

install current version (CDH 5.9.1)
wait until deployment has status COMPLETE
update 2 environment variables in the config:

HDFS_URI -> <new-tar-ball-URI>
HDFS_VERSION -> hadoop-2.6.0-cdh5.11.0

The update will take around 10 minutes as the tasks reconcile and the new HDFS stabilizes.

retest this please


Journey manager UI improvements

@jakub-nlx merging this, the only thing I did was take care of the linter.


Support for car and person detection

Hi.
Thanks for this great component.
I would recommend to add some comment to the unsupported cameras section in the Readme.md explaining why they are unsupported. Basically because the only work with Reolink NVRs and don't have ONVIF. Not giving an explanation is quite confusing for owners of those cameras.
Also I'd like to ask if this component supports the latest Reolink smart cameras that can detect persons and cars. Being able to create sensor for this type of events in Home Assistant would be amazing.
Finally, what is the difference between reolink and reolink_dev?
(BTW, a discord channel would be nice)

I will add some info as soon as NVR has good support. Thanks for that.
For the person and car detection I will start working on that soon, this needs some research first.
Reolink_dev is the HACS repository. Reolink is the Python library.

Hi,
What about car/person detection for cameras that supports this without NVR. Like RLC-810A cameras?

For car/person detection I need some time. Please be patient.

+1 on this, having the detection in HomeAssisatant would be awesome for sure.
@fwestenberg  thanks for all the time and effort put into developing the integration, really appreciated.
Currently researching camera systems and had been looking at the Hikvision cameras with the person detection but reolink looks to be way more affordable.

+1 on this, having the detection in HomeAssisatant would be awesome for sure.
@fwestenberg  thanks for all the time and effort put into developing the integration, really appreciated.
Currently researching camera systems and had been looking at the Hikvision cameras with the person detection but reolink looks to be way more affordable.

Jaysus dood! I nearly had a heart attack when I saw an email notification from theBOFH.

Jaysus dood! I nearly had a heart attack when I saw an email notification from theBOFH.

Does anyone have any idea if this information is exposed anywhere? I only see motion events (not person/car specific) in the onvif messages. I've looked at the JSON in the web view and nothing stands out.
Looking through the desktop app's obfuscated code I have a feeling it is only exposed through the extended attributes in the Baichuan protocol instead of metadata/onvif/rtsp.

Does anyone have any idea if this information is exposed anywhere? I only see motion events (not person/car specific) in the onvif messages. I've looked at the JSON in the web view and nothing stands out.
Looking through the desktop app's obfuscated code I have a feeling it is only exposed through the extended attributes in the Baichuan protocol instead of metadata/onvif/rtsp.

Hi Scott, thanks for checking this out! I have traces the data traffic with Wireshark, and also see this. I'm afraid the cgi api doesn't offer this info.

Hi Scott, thanks for checking this out! I have traces the data traffic with Wireshark, and also see this. I'm afraid the cgi api doesn't offer this info.

I contacted Reolink support with this questions:

Will Reolink provide ONVIF Profile C events about person and car detection? And when?
This ONVIF support is important because RLC-810A could be used with non cloud based smart home software like OpenHab, Home Assistant and Domoticz. It could even be integrated in other professional systems.

And they answer was:

You could use the smart detection function for RLC-810A via Reolink App/Client only.

If you integrate the camera to Alexa/Google home, you could live view the camera on the Alexa/Google home device only. You couldn't use the smart detection function.
It is the same as the ONVIF protocol.

Sorry that we don't know the available time for it. But we will forward your request to our engineers.
You may subscribe our emails to get the news.

So as it is now, I would not recommend the camera for anyone wanting to integrate it in Home Assistant.

I wouldn't go that far. It's still a very good camera for the price.
Do their NVRs even work with person and car detection?

The engineers at Reolink currently work an the API so we can use person/vehicle detection within HA. The support they provide is very great, and you just have to  be a little more patient. I agree the camera's they provide are very good for the price. And beside: look what is already supported now, compared to a lot of other camera's!

I didn't know they were already working in that API. It did not sound line that from their response.
Btw, I also think they are good/value for money. It just that the only way to implement AI detection in HA is to use DOODS. I hope this changes soon.

I agree with @fwestenberg 100%, Reolink support alone is worth the price, I never had an issues with their support, they reply same day / next day, even on weekends and Holidays, and they do actually help, they take every customer issue seriously.
That coupled with good camera and very good pricing makes it a no brainer, and then we have @fwestenberg adding integration like this and we have a recipe for success.
Just be patient, I was told by their support that their engineers are working on firmware update to support onvif better.

@fwestenberg thank you for your work. I am waiting for the official Reolink HA component.

Hi,
I too would like to see the ai detection to be available in HA.  I have the 520A camera, don't know if this is helpful or you're already aware. For me I can go to following url instead of the GetMdState one:
http://<IP_ADDRESS>/api.cgi?cmd=GetAiState&user=X&password=X
which returns
[
{
cmd: "GetAiState",
code: 0,
value: {
channel: 0,
face: {
alarm_state: 0,
support: 0
},
people: {
alarm_state: 1,
support: 1
},
vehicle: {
alarm_state: 0,
support: 1
}
}
}
]
where the alarm_state becomes 1 on detection. ( here someone walked by so "people" was detected.) then goes back to 0.  Same as the GetMdState json
hth
James

Great! Then since with ONVIF we can get a normal motion notification it should be possible to get the type of alarm by calling that GetAiState endpoint right after. That should be easy to implement even if Reolink does not provide a firmware inplementing AI alarms with ONVIF. How long does it take the alarm state to reset back to 0?

Just tested, that looks like a really great find! My 810As respond well! However, the API is not happy with passwords that need percent encoding (e.g. # is %23). But that's fine because I can just make an API user with really long passwords.

Further to this, the GetAiState command does not exist on the NVR yet

@ldwedari It doesn't stay as 1 for very long. Hard to tell walking in front of the camera and refreshing the link but 1 maybe 2 seconds max

Great! Then since with ONVIF we can get a normal motion notification it should be possible to get the type of alarm by calling that GetAiState endpoint right after. That should be easy to implement even if Reolink does not provide a firmware inplementing AI alarms with ONVIF. How long does it take the alarm state to reset back to 0?

This is exactly what is done for NVR. At any motion, every camera is called to find out who triggered the onvif motion. So indeed, it is easy to implement the same for AI. I own a 820A, but had to update first to get the GetAiState API call supported.

Please update the cam's firmware and check out the new release! The binary sensor should be updated with attributes!

Hi,
Thanks for the quick update. Am getting an error with it though. Assume its connected with this so didn't log as s new bug.
Invalid config
The following integrations and platforms could not be set up:
reolink_dev.sensor
Please check your config and logs.
Logger: homeassistant.setup
Source: setup.py:280
First occurred: 10:07:32 (1 occurrences)
Last logged: 10:07:32
Unable to prepare setup for platform reolink_dev.sensor: Platform not found (cannot import name 'SensorEntity' from 'homeassistant.components.sensor' (/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/sensor/init.py)).

I also got that error. I also don't get any motion events. It always stays "Clear".

The above error is unfortunately something with the Media browser for Reolink. Any other error in the log?

Can't see any other errors in the log. Just tried a re-install to see if that brought up any others but no. Maybe unrelated but now when I go to config and change the stream to rtsp/sub and save it says "User input malformed" and doesn't save. So means the live view wont work.
I am seeing motion events in the log. No idea how to view attributes yet ( new to HA) but have to assume they are being set!

@jrtraynor I had to put something in the custom thumbnail path (I then went to the .storage/core.config_entries file to remove the custom thumbnail bit from the JSON).
Weirdly, I am not seeing any motion events at all... nothing in the log either. Don't know if this was an issue before as I only just set it up.

My 810A which showed motion events earlier ok, does strange things with this update
api.cgi?cmd=GetAiState works properly.
[ { "cmd" : "GetAiState", "code" : 0, "value" : { "channel" : 0, "people_state" : 0, **"vehicle_state" : 1** } } ]

How to see the vehicle detection? @fwestenberg ?? Binary sensor can only be on or off??

Guys, I'm owning 820A and little confused how checking for updates works. When i check in Reolink Client it was saying that I'm running the newest version from January, on the official page it is also referring to  January version https://support.reolink.com/hc/en-us/articles/900004600266-21st-Jan-2021-Firmware-for-RLC-820A-RLC-810A.
But when i reach out to Reolink suport with the problem that "Car detection catchers cars outside of motion zones" they send my April firmware v<IP_ADDRESS>_21040912 with the fix https://support.reolink.com/attachments/token/RWjfZKeQp51lsSwq8vIG4BZlC/?name=IPC_523128M8MP.251_21040912.RLC-820A.IMX415.8MP.REOLINK.pak
Do you know if the is a way to stay up to date with the firmware. Definitely Reolink Client dose not do this.

@inzynierwatroba  have noticed that too with my 810A.
I was on a version of EARLY march, and detection didnt work through API.
Searched on the website, and got a release from 21(?) march. Then API car/person detection works.
Clients also said 'camera up-to-date.'...

@wimpie007  where did you ware able to find the 21 March release for you camera on their web page ?   I've tested with a 510A fed into Frigate for comparison and the Reolink misses tons of events. It's concerning the amount of tunable parameters in Frigate vs Reolink non existent AI settings. The sensitivity is up high too.

@inzynierwatroba oeps! i was wrong! i ment JANUARY release. (early january <> 21 january)
@Morphy99 i'm actually quite impressed with the AI... gives me TONS of less warnings. (altough not perfect)

@inzynierwatroba oeps! i was wrong! i ment JANUARY release. (early january <> 21 january)

The latest firmware is here and it's March. For some reason they have a blog with articles which is top on google search and adds to confusion as they have a download area with more up to date and easier to find firmwares.

@Morphy99 i'm actually quite impressed with the AI... gives me TONS of less warnings. (altough not perfect)
Frigate looks nice BTW, but my RPI4 will not be fast enough to record al streams....

I had Frigate running on a dedicated RPi4 with 6 cameras, using a Google Coral and it hovered around 80% CPU. Trick is to use the low res streams for detection, which means smaller objects aren't picked up but it works for cars and persons.
I guess vs standard motion detection it works better yes, but then that was just so bad it was unusable for me. At least on outdoor cameras.

that page shows "15/3/2021", but if you download the file itself, it is the 21/01 release... (<IP_ADDRESS>)
Strange:)
Thanks for the info about Frigate. looks freaking nice :)

@Morphy99  what board did you use? USB Accelerator?

@Morphy99 what board did you use? USB Accelerator?

I used the USB Google Coral accelerator. I now have a m.2 key version inside a celeron intel nuc type box as I couldn't get the pi to work without an external powered hub and M.2 SSD + Coral. It looked a mess and didn't end up costing much less than an intel version in the end. The downside is the nuc box is now out of stock everywhere, I think end of life and next one up is quite a bit more. But that's another story! Have a look here for more info on Frigate.
Frigate is awesome. It's so accurate and picks up everything when tuned up correctly. It's still beta and needs some refinement but the future looks bright with a model learning GUI being worked on.

Still trying to get this working.  Can see the new attributes in the developer console but can't get an event to trigger. Either the script is wrong - very possible! or the attributes aren't getting updated. I also see there is an ongoing issue in HA between true/false and on/off and those in quotes  that might not be helping.  The main motion event is being triggered by the camera but attributes aren't logged so have no idea if they are being updated.
This is the script, just to update a date/time when a car is seen. Any pointers would be appreciated!
`alias: Back gate car
description: ''
trigger:

type: motion
platform: device
device_id: 4f7f27a50356be1e8cff2d2525fd9bae
entity_id: binary_sensor.back_gate_motion
domain: binary_sensor
condition:
condition: state
entity_id: binary_sensor.back_gate_motion
attribute: vehicle
state: 'true'
action:
service: input_datetime.set_datetime
data_template:
datetime: '{{ now().strftime(''%Y-%m-%d %H:%M:%S'') }}'
entity_id: input_datetime.outside_car
mode: single
`
(have tried state of on, 'on', true and 'true' )

mmm, i even can't see the new attributes...

@wimpie007 please try to reinstall from HACS, next reboot HA. At least the attributes should be visible!

@fwestenberg i'm on the latest firmware, and - as i mentioned earlier - the api for motion detection 'category' works:
api.cgi?cmd=GetAiState&user=admin&password=xxx shows
[ { "cmd" : "GetAiState", "code" : 0, "value" : { "channel" : 0, "people_state" : 0, "vehicle_state" : 0 } } ]
So the API most definately works.
Reinstalled en rebooted, but no change... RLC-810A...
even removed the camera from integration, and re-added it. No go.
no attributes appear.

@wimpie007 the same as you :(

There are two files to check, at your config/custom_components/reolink_dev location. First the base.py file should contain this line:
https://github.com/fwestenberg/reolink_dev/blob/6c8f3df072b9fae521662e053e7051cefe7b3d5e/custom_components/reolink_dev/base.py#L177
Second the binary_sensor.py should contain this part:
https://github.com/fwestenberg/reolink_dev/blob/6c8f3df072b9fae521662e053e7051cefe7b3d5e/custom_components/reolink_dev/binary_sensor.py#L120-L129

@fwestenberg
Yes, both files contain those line/parts. Exactly the same.

Update:
i updated HA to 2021.6.1 from 5.4(?) and strangely, all the cam entities where 'duplicated'!
for example:
binary_sensor.reolink3_voordeur_motion (old one) now has a brother:
binary_sensor.reolink3_voordeur_motion_2
The good news: reolink3_voordeur_motion_2 has the new attributes!

It sounds like you were still running some older version of the Reolink integration also. Just remove the cam, so all entities are gone. Next add it again and it should be fixed.

i definately had the latest reolink integration files in place. Checked the code.
For some reason, the new integration didn't work... (dit mutiple reboots)
It was only after the upgrade of HA itself that is started to work.
I renamed the instances and now, everything works flawless, detection works nice.
Thanks for the great work! @fwestenberg  Much appreciated.

I'm having trouble getting the Person Detection entity within HA. I have attempted the following:

Removing the Reolink integration, rebooting, adding back, re-adding camera
Forced new entity by changing camera name, IP, and credentials
Factory reset the camera
Downgraded the camera

With versions:

Home Assistant version: core-2021.6.6
Reolink camera model: RLC-820A
Camera firmware number: v<IP_ADDRESS>_21040912, also tried 250_21040801
Reolink_Dev: v0.17
Home Assistant supervisor: supervisor-2021.06.6
Home Assistant OS: 6.1

Confirmation of person detection support via http://camera-01.lan/api.cgi?cmd=GetAiState&user=admin&password=reolink
[ { "cmd" : "GetAiState", "code" : 0, "value" : { "channel" : 0, "face" : { "alarm_state" : 0, "support" : 0 }, "people" : { "alarm_state" : 0, "support" : 1 }, "vehicle" : { "alarm_state" : 0, "support" : 1 } } } ]

When I'm in the camera feed:
[ { "cmd" : "GetAiState", "code" : 0, "value" : { "channel" : 0, "face" : { "alarm_state" : 0, "support" : 0 }, "people" : { "alarm_state" : 1, "support" : 1 }, "vehicle" : { "alarm_state" : 0, "support" : 1 } } } ]

Confirmation of latest release with latest commit:
reolink_dev $ cat base.py | grep get_ai_state
        await self._api.get_ai_state()

I am a bit at a loss of what to try next.

As a further test I have just deployed a brand new HomeAssistant using the container on a different VM (my main HA is the VM OS), manually added reolink_dev (not HACS), and added the camera. I get the same result, only 7 entities, no Person Detection.
I feel like I'm missing something very simple as others above seem to have it working without much effort. I just don't know what that is, or have any error to look into, etc.

Motion detection is an attribute of the motion sensor:

Did you look in the right place?
I had problems to get it working also. Rebooting didn't help. After upgrading HA, suddenly the attributes appeared. Never new why...

Hey @wimpie007 thank you for that.
Perhaps I don't fully understand, I do have what you show, but the "People state" is always False. On the /api.cgi?cmd=GetAiState page it does show specifically person detected with "people" : { "alarm_state" : 1. As the attribute of "People state" does not change I cannot create an automation for person detection specifically.

When looking at /developer-tools/state I see the state change from off to on but people is always false. Do I have to do anything else for that attribute to be updated?

Hi @PhilipWhiteside ,
What you are seeing is the same as I see. Have not yet seen the attributes change in HA  even though the json from the camera has the correct data.  Is there some way of getting a detailed log of what is going on, might help pinpoint what is (not) happening.

Hey @jrtraynor the only logs I've seen are the HA ones (Supervisor > System > Logs), or when running the container (docker logs -f ). I don't think that the JSON you see on the camera API is what is sent.
Further up in this issue is discussions of NVR checking each cam for which one detected motion etc. I don't fully get it as I don't have an NVR unless it's referring to this project itself, so I could be wrong here, but it seems like a motion event is detected by the binary_sensor, then this integration goes out and queries the camera for more information, updating the attributes. It is not a push from the camera to HA in a single event.
Also, as a binary sensor, it can't have more than 1 state, so it triggers true or false, the attributes are not the sensor itself? If this is the case, then I may be leaning more towards the suggestion above of Frigate with a coral (just bought the PCIe one to try), and returning the Reolink camera.

Hi, first of all thanks for this great integration!
Does the person/vehicle detection work with an NVR? I've connected my Reolink 1220A to my NVR and the motion sensor has no attributes in HA. If I connect the camera diretly to my POE switch I can get the GetAIState http responses but if it's connected to the NVR I receive this Json message: [ { "cmd" : "Unknown", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } } ]
I suppose that it's still not supported by the NVR. Is it correct? If ye, is there any workaround solution?

Hey @wimpie007 thank you for that.
Perhaps I don't fully understand, I do have what you show, but the "People state" is always False. On the /api.cgi?cmd=GetAiState page it does show specifically person detected with "people" : { "alarm_state" : 1. As the attribute of "People state" does not change I cannot create an automation for person detection specifically.

When looking at /developer-tools/state I see the state change from off to on but people is always false. Do I have to do anything else for that attribute to be updated?

Did you ever figure this out? I have the same problem with RLC-822A firmware version V<IP_ADDRESS>.
"People" never changes to "True"
Prior firmware update (V<IP_ADDRESS>) of the camera I had it working and the available attributes was:
"People state"
"Vehicle state"
The "People state" changed to "True" as it should.
After firmware update (V<IP_ADDRESS>) the attributes changed to:
"Face"
"People"
"Vehicle"
Non of them ever gets "True" even if the motion is "Detected"

API is not happy with passwords that need percent encoding (e.g. # is %23).
You can use curl to parse that for you :

export key=curl -ks  https://dc2plxssh003.newellrubbermaid.com:8089/services/auth/login  --data-urlencode  username=myusername --data-urlencode password="mypsassowrd***!" | grep sessionKey | sed -r 's/<sessionKey>(.*)<\/sessionKey>/\1/g'|sed 's/ //g'

I just updated the firmware on my NVR and cameras and now the api seems to have disappeared ... I now get redirected to a web ui where I can log in and view the nvr/camera... anyone know if they fully removed the API or if it just needs to be accessed differently now?

ah... seems like the new firmware requires https and not just http ... that solved. phew!


Slow decoding with avcodec_send_packet?

I noticed that FFmpeg wasm decoding an 1080p 30fps video can only achieve around 25fps on my MacBook Pro (2GHz 4-core i5). However native FFmpeg binary or regular video player can easily achieve >60fps.
I timed different functions in the decoding loop - it turns out calling avcodec_send_packet in FFmpeg takes about 40ms (which counts for about 25fps). I suspect this core function being slow is because FFmpeg wasm disables most hardware acceleration and it's single threaded by default?
Just want to check if this is a known issue and if there's existing solutions for boosting the performance. Many thanks!

请问这个问题是否得到解决，他的解码速度实在太慢了！


HtmlWindowWithCheckBox.txt sample - utils.CreateHtmlWindow

You have missed and include in the sample
include(fb.ComponentPath + "docs\Flags.js");
and to get it to work I needed to increase sleep time
https://github.com/TheQwertiest/foo_spider_monkey_panel/blob/c135881836a2b613ae28f76efcc1a54cd5302f93/foo_spider_monkey_panel/js_objects/html_window.cpp#L309

Haha, and I've actually put a TODO there regarding this issue...

Should work now (see attachment)
foo_spider_monkey_panel.zip


Example custom tower and levels with new ability and unit

Made this a separate PR so we're not necessarily committed to the stuff I hacked together
Note: Avoid running just rubywarrior in the repo directly, looks like that'll just run the original ruby warrior challenge, without any changes from us. Here's how I run it with our changes included:

cd into bin
Create a folder called warriors
run ruby rubywarrior -d warriors

-d specifies a directory prefix for everyone's player.rb, README, etc. to get thrown into, otherwise there's a filesystem collision when it tries to create a rubywarrior folder over the rubywarrior script

Closing, this was just an example, and we've already started building our actual levels/tower


Using "next" NPM packages would allow using latest Gatsby releases

In package.json, using something like:
...
    "gatsby": "next",
    "gatsby-image": "next",
    "gatsby-plugin-offline": "next",
    "gatsby-plugin-react-helmet": "next",
    "gatsby-plugin-sharp": "next",
    "gatsby-plugin-sitemap": "next",
...

would allow using latest Gatsby v2 releases.
If you want, I can PR it easily.

Hey, thanks for your feedback! I lock the gatsby versions because I want to make sure things don't break after a fresh install. There were some breaking changes e.g. to the routing during the beta phase that would've completely broken the site out of the blue. Plus, Gatsby v2 will be out of beta very shortly 👍

OK, thanks for the starter. It's very easy to work with 👍

Happy to hear that! Let me know if you have any other feedback or suggestions!


Check newer version files

Is it possible to get a check for example if you have a file to check if there is a revision 2 of that file?
For example if you take commie they have rev 1 and rev 2 on some animes, it would be nice if there was a notification if there was a rev 2. I don't know if anidb api supports this. But it would be nice to have as a feature.

I agree! :)

will investigate

This was discussed but I don't recall if possible or not, @da3dsoul?

Not really, we can check if files have been marked as deprecated when the files are updated, but that's about it


blog: add release notes for 3.6.1

Add release notes for 3.6.1. Not yet formally released (updated expected date: Nov 1).

@SkyeYoung @guoqqqi  this pull request caused github actions failed, can you check on it?

@SkyeYoung @guoqqqi this pull request caused github actions failed, can you check on it?

fixed in https://github.com/apache/apisix-website/pull/1720


Code doesn't interact well when started from cmd prompt

VSCode Version: Code 1.14.0 (b8cd5b9556d8b70ea560d35b903422363f6c5c40, 2017-07-10T18:36:31.751Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

Bookmarks
ale
0.15.2

project-manager
ale
0.18.1

clipboard-history
Anj
1.0.7

bracket-pair-colorizer
Coe
0.10.7

vscode-markdownlint
Dav
0.9.1

python
don
0.6.7

xml
Dot
1.9.2

auto-close-tag
for
0.4.3

base-converter
hoo
0.0.1

cpptools
ms-
0.12.0

csharp
ms-
1.11.0

PowerShell
ms-
1.4.1

vscode-sort-json
ric
1.9.0

vscode-icons
rob
7.10.1

annotator
ryu
0.10.1

partial-diff
ryu
0.3.1

text-marker
ryu
0.10.0

code-settings-sync
Sha
2.8.2

indenticator
Sir
0.4.2

vscode-hexdump
sle
1.4.0

quick-filter
tai
0.3.0

sort-lines
Tyr
1.3.0

better-align
wwm
1.1.6

Steps to Reproduce:

open new cmd window.
"c:\Program Files (x86)\Microsoft VS Code\code.exe" package.json
exit (type that into cmd window)
cmd window won't close until I exit VS Code.

In addition:
start "" "c:\Program Files (x86)\Microsoft VS Code\code.exe"

will start code, but then hitting ctrl-c in cmd will close code!

Reproduces without extensions: Yes/No

Please use
"c:\Program Files (x86)\Microsoft VS Code\bin\code.bat" package.json.

looks like code.cmd, but that seems to work. thanks.


qos

Hi,
I can't figure out how to set qos. Behavior appears to be qos=2, but what if lossy is ok, and I want qos=1?

Hi,
This library implements the NATS Client Protocol, which doesn't mention QoS. The library itself internally uses native Julia channels in which commands and messages are stored even if you don't consume them right away so it has some QoS built in client side.
Do you mean the qos for Mqtt clients? That protocol is not supported here but you might want to take a look at MQTT.jl, to use that protocol instead of the native NATS protocol.

you are right, my mistake


is there a CLI version of this?

hi, is there a Cli version of this? or do you have a tutorial how to use it from command line?

I have created a python script that lets you configurate the variables and download the audio file to your computer, directly from the shell:
import os
from scipy.io import wavfile
import sys

RVC_FOLDER_PATH = ".../rvc-tts-webui"  # the path to the rvc-tts folder
sys.path.append(os.path.abspath(RVC_FOLDER_PATH))

from app import tts

# the path to the folder you want to download the results to
FOLDER_PATH = os.path.dirname(os.path.abspath(__file__))

# IMPORTANT: In app.py file, you must change the last line to: "app.launch(inbrowser=False, prevent_thread_lock=True)"

VOICE = ""  # the voice you would like to use from edge-tts
MODEL_NAME = ""  # your model name (the folder name that you put your .pth and .index files under)
F0_METHOD = "pm"  # "rmvpe" or "pm"
F0_UP_KEY = (float)(0.0)  # the transpose
INDEX_RATE = 1  # index rate, I think closer to 0 will use more of hubert than yours
PROTECT = (float)(0.33)  # I have no idea what it does, 0.33 is the default
SPEED = 0  # speed amount, must be between 100 and -100

def get_wav(text: str = "Hello world!", filename: str = "audio") -> None:
    """
    get_wav Create a wav file from the rvc-tts model.

    Args:
        text (str, optional): The text you would like your model to read. Defaults to "Hello world!".
        filename (str, optional): The name of the wav file that will be created. Defaults to "audio".
    """
    info_text, edge_tts_output, tts_output = tts(
        tts_text=text,
        tts_voice=VOICE,
        model_name=MODEL_NAME,
        f0_method=F0_METHOD,
        f0_up_key=F0_UP_KEY,
        index_rate=INDEX_RATE,
        protect=PROTECT,
        speed=SPEED
    )

    sample_rate, audio_data = tts_output
    wavfile.write(os.path.join(
        FOLDER_PATH, f"{filename}.wav"), sample_rate, audio_data)

while True:
    text, filename = input(
        "Enter text and filename, divided by '|': ").split("|")
    get_wav(text, filename)

Since most of the time is setting up the global variables, make sure that you don't execute this file again and again, but use the function in while true, so you can reuse the global variables without having to initiate them again.
It is working really well on my computer, if you are having any problems, feel free to comment

i tried to run the script, but it still opens the gradio... maybe i do something wrong.:(

i tried to run the script, but it still opens the gradio... maybe i do something wrong.:(

Did you change the last line in the app.py? You need to turn it to false and then prevent the thread lock for it to work

I made one with the included API, but the website needs to be open in background.
Check it here.

@nfkmobile @Myst1ck  @rogermiranda1000
I have spent 3 entire weeks trying to find a way to clone correclty voices and I still did not get good results, I am so tired of it. I am contacting you because I saw you had old comments under old issues, you haev probably found better ways since then? Could you save me from my misery and direct me towards a method, a repo, a tutorial or anything that helps get to the point where I can actually clone a voice thats looks similar to the cloned voice please?  Help my soul lol. Really.

@AIhasArrived don't ask help for something not related to the issue. Open a new one.
Following a tutorial on how to train a rvc model, and then follow the readme in this repo to import it. Also, you said "did not get good results", so you did manage to do it?

Hello @rogermiranda1000  to be honest I opened lot of issues, and discussions, hoping someone to guide me to the ultimate workflow. This comment was made out of DESPAIR actually, the voices I am generating are not similar to the ones I am trying to clone, here are my settings:

For a 15 minutes video, that I removed the musics from it using DEMUCS
I tried first 200 epochs, and its the first time I am trying 300 epochs.
Last experiments I did were not good enough,
what about you, were you able to get good results, results that sound like the voice we want to clone? I spent 3 weeks trying to find good tools, that's why I wrote this comment, I am really someone comes help me from my misery, I am starting to doubt there is any free open source tool that achieve it?


Restic repository pruning

Decide how to handle repository pruning (a maintenance operation that removes unused data blocks from the repository, which requires an exclusive repository lock and can be very slow for large repositories)

Currently, we run restic prune ("repository maintenance") every 24h by default for each repository.  It's not intelligently scheduled, i.e. we don't try to fit it in between scheduled backups.  A number of options here:

run it less frequently
don't run it at all by default; give the user some way to manually schedule/run it as needed
wait for the fix for https://github.com/restic/restic/issues/2162 which should make restic prune faster
try to intelligently schedule it between scheduled backups
some combination of the above

Related to this - currently when we run "repo maintenance" we run restic check, then restic prune, then restic check. All of these require exclusive locks.  However, according to https://forum.restic.net/t/should-i-run-restic-check/1227, the restic check runs are probably not necessary since the restic prune operation is effectively a superset of restic check.
If this is the case, then we can remove the two restic check calls and save a bunch of time where the repo is exclusively locked.

I'm thinking that for now we should just run this less frequently by default (I'm thinking every 7d), and we wait for the upstream PR that makes restic prune much faster to get merged. I don't want to over-engineer this if this is going to become less of an issue going fwd. I've already made the change to remove the extraneous restic check operations as well, which will help too.
Does this sound reasonable? cc @nrb @prydonius @carlisia

SGTM, perhaps we can make this configurable on velero install?

Sounds reasonable to me!

@prydonius we can definitely do that. Right now it's hardcoded to default to 24h, and then that value is stored in each ResticRepository CR's spec.maintenanceFrequency, so technically a user could change the internal today by editing the YAML. If we made the default internal configurable via velero install, we'd probably need to add a velero server flag as well like --default-restic-repo-maintenance-frequency. It would still be editable by a user after-the-fact.


feat(docs-site,eventindexer,relayer,taiko-client): migrate all swagger apis to docs-site

see preview here: https://proddocs-mil0xe7hn-taikoxyz.vercel.app/start-here/getting-started
after this, i'll delete all separate vercel sites and workflows related to separate swagger sites. we also need to regenerate swagger.json's as a post-hook to eventindexer, relayer, taiko-client changes (similar to how we format tables in cicd for our protocol contract changes)

closing in favor of https://github.com/taikoxyz/taiko-mono/pull/17149


Missing a or the?

SQL Database automatically creates database backups that are kept between 7 and 35 days, and uses Azure read-access geo-redundant storage (RA-GRS) to ensure that they preserved even if data center is unavailable.
Azure good. Azure make backup ;)

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

ID: 9492cedc-cea0-af9d-29a0-52cbca8c5e21
Version Independent ID: 969a8654-8f95-d5de-351d-73c8e02e5d3a
Content: Azure SQL Database automatic, geo-redundant backups
Content Source: articles/sql-database/sql-database-automated-backups.md
Service: sql-database
Sub-service: backup-restore
GitHub Login: @anosov1960
Microsoft Alias: sashan

@Jtayta Thanks for pointing this, I have updated the doc accordingly.
The changes should be live EOD or tomorrow. We will close this issue now.
In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update.
We love taking contributions from the community.


Add support for sd_notify

After etcd has been launched, it will reject with 503 all requests until it has joined the cluster. To make it easier for services to depend on etcd, add support for systemd's sd_notify and signal ready once the instance has joined the cluster.

Not sure if it already exists, but I wonder if an HTTP endpoint which simply returns the ready state of the node fits this scenario.

https://github.com/coreos/etcd/issues/2724 is a dup of this, but they've added it to the v2.2.0 milestone (vs the v3.0.0-maybe milestone) here. I'll close this one ;)


Foreground notification & default notification as app name not working on Android

I have two questions

With this package I can show notification when my app is in background. I still want to show the notification while app is in foreground. How can I do that? Now, I am showing the message with snack bar while app is in foreground. How can I show it as notification?
On iOS, it shows app name as notification title if the event title is missing but on Android, it is show blank. How can I set app name as default title?

Hi @gtu-myowin,
I imagine you're using onMessageReceivedInTheForeground function to handle this notification. However, I'm afraid it's not possible to show as a normal notification, I guess, due to OS limitations. But I'd love to hear the use case and maybe I can help with that.
About the second question, could you please share a screenshot of this notification? I don't think I got your question. Are you saying that it's always showing the OS as the notification title on iOS?

Ok, I will show it as in-app notification.

What I mean is

If I send the notification from Beams' debug console (without the title) like this

on iOS, it shows as below. But on Android, the part I bordered with red is missing. Just a blank there. I hope you get my point this time.

The title is showing in my beams flutter app if I publish a notification without a title. Its possible your notification handling has somehow affected the android notification's title (although iOS app name shows fine). If you temporarily disable it, does the app name reappear?

@benjamin-tang-pusher Thank you for your reply. I believe the background notification is handled by the "pusher_beams" package. I did not put my hands there. I install the package, learnt the example app and adapt it to my app.
I will check the example app on my phone again. Thank you.

If your title still isn't showing the app name in the notification, please paste the code here, otherwise I will close this ticket.


yolov5 algorithm automatic annotation

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
Does the newer version not support yolov5 algorithm automatic annotation? What is the highest version supported?
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Hello,

You may find all supported models in serverless directory
You may contribute more models, but please be sure that the license is suitable. For example Ultralytics uses AGPL-3.0 license, which is not.


fix Stderr::as_file_handle error message

@bors r+

:pushpin: Commit 835db6c16da6d7fe84ff30a121601f5f4087a911 has been approved by RalfJung

:lock: Merge conflict
This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.
How do I rebase?
Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

git checkout stderr (switch to your branch)
git fetch upstream master (retrieve the latest master)
git rebase upstream/master -p (rebase on top of it)
Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
git push self stderr --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.
Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.
Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging src/shims/posix/fs.rs
CONFLICT (content): Merge conflict in src/shims/posix/fs.rs
Automatic merge failed; fix conflicts and then commit the result.

:umbrella: The latest upstream changes (presumably #1509) made this pull request unmergeable. Please resolve the merge conflicts.

@bors r+

:pushpin: Commit df311293e2a4a413020840494cc310a3d1d1541f has been approved by RalfJung

:hourglass: Testing commit df311293e2a4a413020840494cc310a3d1d1541f with merge ca9e988bdb24838e5e23e40bcc936fd35ce7dede...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing ca9e988bdb24838e5e23e40bcc936fd35ce7dede to master...


Connectivity issues on dual-sim devices

Describe the bug
A user has reported being unable to connect to LiveKit using RN SDK from dual SIM devices when on cellular. The issue goes away when they switch to WiFi or takes out one of the SIM cards.
Livekit Cloud
livekit-react-native: 5ccd65b
livekit-client: 1.6.0
react-native-webrtc: 106.0.0

Hello,
We are also facing a similar issue. Not sure if this is related to this package or livekit-server, neither if it is a dual-sim issue or not (I do have dual-sim), but we are also unable to connect to the livekit server using cellular.
If there's anything new on this issue or any tips how to resolve this we'd be glad to hear 😁
Best regards,
Lucien

@lucienbl with help from the Livekit team, I solved this by adding this code to AppDelegate.m
#import <WebRTC/RTCFieldTrials.h>

- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  NSDictionary *fieldTrials = @{kRTCFieldTrialUseNWPathMonitor : kRTCFieldTrialEnabledValue};
  RTCInitFieldTrialDictionary(fieldTrials);
  /* ... */
}

Thank you @sruli for the hint, it looks like my issue finally wasn't related to this, as setting up the TURN server resolved this on my end. But I'll keep this code part in my mind if it turns out I also have issues with dual SIM devices :)


Make svcat version command more like kubectl version

Make svcat version more in line with kubectl version by always reporting the client version.
Presently svcat reports the following for version info when Kubernetes isn't running:
$ svcat version
Error: unable to get version, Get http://localhost:8080/version: dial tcp [::1]:8080: getsockopt: connection refused
$ svcat version --client
client: v0.1.17-7-gef904a5-dirty

vs kubectl
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.0-alpha.2.8+0d43bdec2b8598-dirty", GitCommit:"0d43bdec2b8598ff542a1afdee876d417b4e7668", GitTreeState:"dirty", BuildDate:"2018-05-16T20:04:10Z", GoVersion:"go1.10.1", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?

To be clear, svcat version always returns the client version, and the --client flag allows us to query the client version only, in instances where perhaps there isn't a configured cluster yet.
The problem is that when we fail to query the server version, svcat exits immediately before the client version is also printed.
The code that needs to be changed is in the version command
https://github.com/kubernetes-incubator/service-catalog/blob/a514e67a664cff404196158436e6d158a33fc886/cmd/svcat/versions/version_cmd.go#L68-L83
It could be fixed in either of two ways:

Print the error message and do not exit immediately when c.App.ServerVersion() returns an error, so that output.WriteVersion(c.Output, client, server) is still called. The function should still return an error when that call fails however, so that the return code of the svcat version function is still non-zero.
Change the function so that we print out the versions incrementally, first the client version, then the server version.

I thought that this would be a good first PR initially, but since the tests don't exist yet this may be easier for someone already familiar with writing tests in service catalog, or a very enterprising new contributor! 😀

Hello :) ! Can i work on this this ?

@A-Hilaly Yup! Go for it 🙌 When you get to the part about adding tests, feel free to ping back for help. As I noted originally, this part doesn't have existing tests so you will need to add them yourself.

Alright, thank you 🙏 I'll open a PR soon !

closed by #2109


[BEAM-2600] Add minimal python SDK harness container

The container image does not support requirements files, main sessions, etc yet.

retest this please

retest this please

R: @aaltay
CC: @kennknowles (for excluding the container for python presubmit)

Coverage increased (+0.003%) to 69.591% when pulling 78f36eb25d25084412dff2382231b435eac1830b on herohde:containers into 9f69997ba48c25bb969cf9b399931756cb643f65 on apache:master.

Precommit alteration seems reasonable. TBH so far we don't have any non-leaf projects that also have a real build. I'm not sure there's any design reason for that, just like there is probably not a real design reason for having our pom inheritance match the directory structure.

Thanks!


Misleading Description

Hi Team,
please have a look at the docs under the picture of the MDE attach - Point two is misleading with regard to the picture, giving the impression, that the Server might be managed within MEM and not just receiving the securtity confirgurations. Maybe we could more clearly describe how that AAD trust is enabled and created.
Many thanks! Had lots of discussions and confusion about this with a customer.
Best
Annemarie

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

ID: e93f9bbd-5752-e28a-f32d-a01d81964c8f
Version Independent ID: e93f9bbd-5752-e28a-f32d-a01d81964c8f
Content: Manage Microsoft Defender for Endpoint configuration settings on devices with Microsoft Endpoint Manager
Content Source: microsoft-365/security/defender-endpoint/security-config-management.md
Product: m365-security
Technology: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@mjcaparas Please help us in resolving this issue. Thanks


Namespace 'System' could not be found

Greetings. I'm new to GitHub and learning Windows Universal, but have been programming Windows professionally since Windows began in the middle 1980's. Some DOS even before that, and up to and including Windows Phone 2010 and Windows 10 apps using VS express 2013. I'm a complete master of this domain. Currently trying to get back to leading-edge with VS 2015 and universal apps, including perhaps Xamarin cross-platform eventually.
I was interested in sampling your Windows Universal Samples snippets, particularly the AudioGraph concepts in the AudioCreation sample code. I downloaded the zip and extracted the entire archive, per the instructions. I opened the cs project of interest. Without modifying the code, it contains hundreds of errors revolving around an inability to resolve the fundamental "System" environment. A picture is worth 1000 words:

I'm able to create and develop other windows universal apps from scratch with this environment with no problems "using System". I eventually created a blank project and pulled code from your sample into it and built an AudioGraph sample and have been experimenting with it but have run into other issues outside the scope of this specific request. I sure would like to see your example working as advertised, to compare my issues against a working model.
Please tell me what I did wrong to get the errors pictured above. Thank you.

You can go on References, in the Nuget Manager for uninstall and re-install the Microsoft.NETCore.UniversalWindowsPlatform package for solve your problem.
I hope it will help you.

Thank you Adaok, That worked. Upon reinstalling the platform, I was prompted to accept the license terms for the installed packages. Soon as I checked "I Accept", all of the errors went away. Presumably I had to set a flag somewhere in this solution that signified I accepted the license agreement. Uninstalling and reinstalling apparently made that happen under the covers somewhere. Not intuitive but It works now.

Same issue, but this stepps didn't work for me


HTML doesn't pass W3C validator

See: https://validator.w3.org/nu/?doc=https%3A%2F%2Fregistry-page.isdcf.com%2Ffacilities.html

Updating to new folder structure: https://validator.w3.org/nu/?doc=https%3A%2F%2Fregistry-page.isdcf.com%2Ffacilities%2Findex.html

@radford-for-smpte sorry, totally missed this issue being added during the huge push. This is now ready for review in #45


"Recalculate" features does not work after upgrade to version 2.3

After upgrading to version 2.3, the "recalculate" feature does not seem to work anymore. Our setup is pretty simple -
There is a field in Opportunity that calculates the number of Case with specific record type related to the Opportunity - Sum of Quote Request Case. I can see from the Opportunity there is 2 cases with Quote Request record type in the related list. However the field that I have setup for DLSR is always showing 0.
Attaching the screenshot setup, appreciate any advise?

Hi @szlee-srev did you intent to close this issue?

Hi @afawcett, yes it's a configuration mistake. The tool works as expected. Thanks for following up though :)

Welcome!


Build test fails

I'm packaging ponyc for openSUSE and I can't make heads or tails of this:
Building serialise -> /home/abuild/rpmbuild/BUILD/ponyc-0.11.3/packages/serialise
Generating
 Reachability
 Selector painting
 Data prototypes
 Data types
 Function prototypes
 Functions
 Descriptors
Verifying
Writing ./stdlib.o
Linking ./stdlib
Warning: environment variable $CC undefined, using cc as the linker
collect2: fatal error: cannot find 'ld'
compilation terminated.
Error:
unable to link: cc -o ./stdlib  -march=native -mcx16 -fuse-ld=gold ./stdlib.o -L"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/" -Wl,-rpath,"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/" -L"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/../../packages" -Wl,-rpath,"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/../../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -l"rt" -l"crypto" -l"pcre2-8" -l"ssl" -Wl,--end-group  -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__DescTable -Wl,--export-dynamic-symbol=__DescTableSize
Error 255

Via IRC. @luigino reported using gcc 6.3

@luigino some questions:

what happens if you run the cc command directly:

cc -o ./stdlib  -march=native -mcx16 -fuse-ld=gold ./stdlib.o -L"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/" -Wl,-rpath,"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/" -L"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/../../packages" -Wl,-rpath,"/home/abuild/rpmbuild/BUILD/ponyc-0.11.3/build/release/../../packages" -L"/usr/local/lib" -Wl,-rpath,"/usr/local/lib" -Wl,--start-group -l"rt" -l"crypto" -l"pcre2-8" -l"ssl" -Wl,--end-group  -lponyrt -lpthread -ldl -lm -Wl,--export-dynamic-symbol=__DescTable -Wl,--export-dynamic-symbol=__DescTableSize

what is the output of cc --version?

is ld.gold installed on the machine?

how did you install ponyc?

Installing ld.gold seems to fix the issue.


text is not visible along with icon

I have done following coding
bottomNavigationView.enableAnimation(false);
bottomNavigationView.enableShiftingMode(false);
bottomNavigationView.enableItemShiftingMode(false);
but text is only visible on selected icon. how to show text for all icons.
My android version is 6.0.1 (Mi Note3)

Have you solve this problem ? I'm sorry I did not get back to you in time.


Pass additional props to the component in Masonry

Right now only three fixed props are being passed to the component in masonry (those are data: T, itemIdx: number, and isMeasuring: boolean). There should be an optional additional props which could be sent to the component used by Masonry.

Can you tell me more about what you're trying to accomplish? There's two ways you could accomplish the same thing today:

data is already your property bag. As far as Masonry is concerned, there's no conceptual difference between data and other additional props, so you could just combine those into data. Just know that if you do this by creating objects, you should memoize those objects to prevent unstable data items on re-render.

While the comp function is expected to be pure and idempotent, you can break that expectation if you're careful. You could just have the comp function close over variables in the outer scope (either other local variables in a function component or even class properties such as state/props in a class component). The risk here is that updating those variables won't necessarily cause Masonry to re-render or to re-measure the affected items, so it's up to you to take more manual control.

@btraut I want to highlight an external div when a mouseover event occurs on thecomp. The way I want do it is by passing the ref of that external div to the comp and let it execute using that ref. How do you suggest I do it in this case.

What are you passing currently into data? Can you just pass the ref along with its corresponding data?

Thank you that worked. You can close this issue.


Uncaught ReferenceError: createPart is not defined

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*
Attempting to create a new part is met with the following on console:
Uncaught ReferenceError: createPart is not defined
    <anonymous> http://xxx.xxx.xxx.xxx:1337/part/category/79/:925
    jQuery 9
        dispatch
        handle
        add
        De
        each
        each
        De
        on
        t
    <anonymous> http://xxx.xxx.xxx.xxx:1337/part/category/79/:924
    jQuery 13
        l
        c
        setTimeout handler*Deferred/then/a/<
        u
        fireWith
        fire
        u
        fireWith
        ready
        _
        EventListener.handleEvent*
        <anonymous>
        <anonymous>

Steps to Reproduce
Upgraded production docker from 0.9.2 to 0.10.0 using instructions in Inventree documentation.
Went to create new part in portal. Nothing happens when clicking the button.
Turned on Firefox console and saw the messages.
Expected behaviour
Create new part.
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
Version Information:
InvenTree-Version: 0.10.0
Django Version: 3.2.16
Commit Hash: 0ffe786
Commit Date: 2023-02-07
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}]
Relevant log output
No response

@method1020 sounds like this - https://docs.inventree.org/en/latest/faq/#feature-x-is-not-visible-after-update

@method1020 I am assuming that it was simply related to javascript cache - please re-open if still causing you issues.


key attribute is missing when re-styling a component

Version
1.4.4
Steps to reproduce
Styling an existing component and make it child of an iterator:
const CenteredRow = styled(Row)`
display:flex;
justify-content:center;
`;

export default (props) => (
    <div>
    {props.rows
      .map(row => (
        <CenteredRow key={row.id}/>
     )
    }
    </div>
)

Expected Behavior
Key attribute should be kept into the styled component, to prevent React from triggering a warning.
<Styled(Row) key="foobar">
    <Row />
</Styled(Row)>

Actual Behavior
Key attribute is simply removed. The tree looks like this:
<Styled(Row)>
    <Row />
</Styled(Row)>

Could you post a reproduction on webpackbin.com or codesandbox.io?

@eric-burel Let me know if something is off about this recreation: https://www.webpackbin.com/bins/-KkgXDtZwLRZlrVeV8yH
It appears to be working as expected. Do the items inprops.row have an id field? It appears it could be happening becauserow.id doesn't exist.

The key prop will not be visible in the child component. You can inspect it however in the React devtools. Since the prop is an internal to React it can't be filtered / removed / left out / etc. :wink:
I hope that answers this question

Well well well, guess what, the value I used as key was... undefined :) I hope one day Flow will allow me to catch this kind of mistakes. This is now solved.
Thanks for your help!


Issues with link for pretrained models

Hi,
Thanks for making this interesting work available.
I am trying to test some of your pre-trained models but all links I can find to http://sceneparsing.csail.mit.edu are dead.
Would it be possible for me to get access to model weights from somewhere?
Best,

Same problem here.

The link is back.

they are now dead.. @minghanz could you share the models ? thx

same problem, can someone share the models please?

still dead link


format=>date in GridView round (ceil) datetime

What steps will reproduce the problem?
In a table with a datetime column I only want to show the date.
 <?= GridView::widget([
	'dataProvider' => $dataProvider,
	'columns'      => [
		[
			'attribute'      => 'create_time',
			'format'         => 'date',
			'contentOptions' => ['class' => 'hidden-xs'],
			'headerOptions'  => ['class' => 'hidden-xs'],
		],
	],]);?>

What is the expected result?
In database the value is 2016-07-05 23:50:27 so the output should be 05.07.2016
What do you get instead?
In database the value is 2016-07-05 23:50:27 so the output is 06.07.2016
Additional info

Q
A

Yii version
2.0.8

PHP version
5.6.16

Operating system
Wampserver 3.0.0

That's extremely weird. Ideally we'd like to get a unit test that fails for it since it seems that it's not easy to reproduce.

that is a timezone issue. if your database is e.g. UTC and your application timezone is Europe/Berlin, 23:50 is already the next day.

Yes I know that is a timezone issue.
But my first line in index.php is:
date_default_timezone_set('Europe/Berlin');

But the formatter is using UTC as default and doesn't check if php default timezone is set.
Is this behaviour intended or is it just coincidence? Because so I have to set default time zone for new DateTime objects AND set timezone in formatter

if your data is stored in a different timezone than UTC you have to configure defaultTimeZone of the formatter: http://www.yiiframework.com/doc-2.0/yii-i18n-formatter.html#$defaultTimeZone-detail
date_default_timezone_set sets the output timezone of the appliction.

ok but if I take a look into my database the datetime is saved in correct timezone.
Also NOW() returns the correct datetime (EUROPE/BERLIN).

if your db returns data in EUROPE/BERLIN you have to configure the formatter to also use EUROPE/BERLIN, by setting $defaultTimeZone


Correct typo in the change user execute command

@gsi04598 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


plotting beam phase space from Elegant window does not work

Traceback (most recent call last):
File "/home/vagrant/src/radiasoft/radtrack/radtrack/RbGlobal.py", line 130, in
self.ui.actionImport_File.triggered.connect(lambda : self.importFile())
File "/home/vagrant/src/radiasoft/radtrack/radtrack/RbGlobal.py", line 307, in importFile
self.tabWidget.currentWidget().importFile(openFile)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/rbdcp.py", line 128, in importFile
self.showDCP_ele(openFile)
File "/home/vagrant/src/radiasoft/radtrack/radtrack/rbdcp.py", line 219, in showDCP_ele
self.fileData.load(openFile)
File "/home/vagrant/.pyenv/versions/src/lib/python2.7/site-packages/sdds.py", line 96, in load
self.columnData[i].append(sddsdata.GetColumn(self.index,i))
SystemError: error return without exception set

Do you have a file that caused this error or can you list the actions you took that led to this?


Is it possible that integrating scalar brings back the annoying spamming logs for requests to the documentation/json resource that is caused by a Compose Service polling?

Is it possible that this feature brings back the annoying spamming logs for requests to the documentation/json resource that is caused by a Compose Service polling?
I had hoped those logs went away with this issue:
https://github.com/platformatic/platformatic/pull/1083#issuecomment-1591670524
I can't find a convenient way to disable them exclusively for that resource otherwise.

Originally posted by @mdgozza in https://github.com/platformatic/platformatic/pull/1858#issuecomment-1872407445

Actually yes. We'll fix it asap.

Fixed in v1.19.0


✨ Offer /metrics and /debug/pprof from controller and agent

Summary
This PR fills out the matrix of offering /metrics and /debug/pprof from the controller and agent. Previously the only thing offered was /metrics from the agent.
After #67 merges there will be more work to do about /metrics and /debug/pprof in the Helm chart.
Related issue(s)
This is part of addressing https://github.com/kubestellar/kubestellar/issues/2094 and https://github.com/kubestellar/kubestellar/issues/2158

@ezrasilvera:

We should have a discussion of security design. It will probably include options to enable/disable both ports as well as additional stuff. I think it is beyond the immediate needs.
When using controller-runtime, the support for those two endpoints opens two distinct sockets, so they have to be on different ports. I opted to follow the same pattern for the other controllers.

@MikeSpreitzer
(1) -  Sounds good
(2) _ I think the plan was always to convert the controller-runtime, not sure adopting the controller-runtime on the other controllers is reasonable.     So overall how many sockets do we open now on (across all our controllers) ?
/hold

@ezrasilvera: yes, my understanding also is that we plan to switch away from controller-runtime. But that is beyond the scope of this PR.
Regarding number of sockets, remember that each Pod has its own set of sockets. I do not think we are anywhere near having a problem with the number of sockets open on a given Pod.


New York Central

Make a state called New York Central, in the Central Region, and assign New York City to it

Done 10/13/15


Error TypeError: object of type 'NoneType' has no len() thrown when I have the following header set 'Access-Control-Allow-Origin': None

I'm seeing TypeError: object of type 'NoneType' has no len() when I have the following header set:
'Access-Control-Allow-Origin': None

Originally posted by @jasmarc in https://github.com/awslabs/aws-lambda-powertools-python/pull/1455#discussion_r1052828216

Hello @jasmarc! We merged the PR with the code to fix this issue and tomorrow we will release a new version in production. Thanks!

Awesome! Thank you :)


(1.19 backport)[FLINK-36751] Fix PausableRelativeClock does not pause when the source only has one split

Backport of #25678 to 1.19.

@flinkbot run azure

@flinkbot run azure


Canvas was just deleted randomly, open option fails

Hi! I was on my canvas and my work seems to have been deleted after I hit ctrl+z. It just went to a completely blank screen. Afterwards I tried to open an older, local version I had saved and got the following error:

That Ctrl-Z thing should be solved via this PR https://github.com/excalidraw/excalidraw/pull/2115 which I should have merged already. Sorry for the trouble it caused :(.

Can't repro the showSaveFilePicker error. @tomayac any ideas?

@dwelle great to hear that the ctrl+z thing may be fixed. I'm at the stage where I'm really scared I lost all of my work now... how might I recover it?

The API surface has changed. Now we need to pass file extensions with a leading dot (.excalidraw instead of excalidraw). I’ll have a look tomorrow, it’s late here.

@dwelle great to hear that the ctrl+z thing may be fixed. I'm at the stage where I'm really scared I lost all of my work now... how might I recover it?

If you have it saved in a file (at least some version of it) as you mentioned, but just can't import it at the moment due to the bug, then it'll be fixed and you will be able to restore it. But you won't be able to restore the unsaved work I'm afraid :(.

The API surface has changed. Now we need to pass file extensions with a leading dot (.excalidraw instead of excalidraw). I’ll have a look tomorrow, it’s late here.

Yup, np.

kasdfb;asd;flknasdf;lk.... I should have saved wayyyyy earlier. Thx for looking in to this. Btw confirmed the open / save is ok in chrome, I was just using a beta version of edge.

@tomayac I can confirm on Edge 87.0.635.0 (canary) --- simply clicking on the open-file button throws.
@aHagouel sorry again :(


west: runners: add file argument

adds --file argument to west flash as described in #52262.
Fixes: #52262

I don't have any experience with completion. Added --file and --file-type anyway. Bash seems to work, couldn't test zsh.

I don't have any experience with completion. Added --file and --file-type anyway. Bash seems to work, couldn't test zsh.

Thanks for the effort! @carlescufi are you able to test this on zsh?

Moved the definitions of the --xxx-file arguments to ZephyrBinaryRunner.add_parser() where we have access to the runner caps. That makes the --xxx-file arguments a runner specific argument that is deprecated if caps.file is set.

@MeisterBob can you please rebase and resolve the conflicts?

@MeisterBob can you please rebase and resolve the conflicts?

To be clear, this must be rebased and conflicts addressed to get it back into a mergeable state, but there should be no other work to do besides that.

rebased and resolved the merge conflict.
Needs reapproval @mbolivar-nordic @carlescufi @fabiobaltieri


Nested vertical collection view

Hi guys! Tell me please the right approach about my case.
I need to show the nested collection in the table / collection, as in the example you have. But in your example the collection is horizontal, in my case vertical. I need to show the nested collection in full growth (the sum of cells of all heights). I made several edits in the example:
First: set scroll direction as vertical.

Second: I added "sumHeights" variable and calculate heights.

This works, but I'm faced with the fact that it takes up a lot of memory and the memory is not cleaned.
Thanks for great library! <3

Guys what do you think about it?

Hi,
Its a bit of time past since the question, but maybe someone else find this useful.
i had needed an nested vertical collection view as well, here is my solution:
https://gist.github.com/FabianTerhorst/495493358c6987168c4f79aadec4090e


Cocktails I can make should be bar cocktails + shelf cocktails

Checklist

[X] I have checked that this feature is not already requested
[X] I have checked that this feature does not already exist in the project

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
Wouldn't it be better for it to be the combined total of your bar cocktails plus cocktails you can make with the ingredients from your shelf?
Additional context
If bar cocktails total is 5, and the (current version) of cocktails I can make is 2, then the suggested new cocktails I can make would actually be 7.

Hi,
This has a fix on dev branch of salt-rim. Currently it's looking at the bar shelf but combining the shelf inventories is probably a good idea.
Thanks!


Replaced textarea in RequestForm with input and removed regexs in AccountController until I can implement ssh key validation front and back.

Temporary changes to keep non rsa keys being eaten in meantime, until I add validation. Or maybe it won't be temporary depending if everyone likes

Closing, since ssh validation has since been improved in main.


Error while generating world: [Errno 24] Too many open files

OS: Windows 8.1 64-bit
MCEdit version: Latest, ran from source
Minecraft server version: 1.8.1
mcedit.log: https://www.dropbox.com/s/rzuxsovro2v3ay4/mcedit.log?dl=1
Steps to reproduce:

Click on "Create New World"
For the chunks choose a big number (ie. 300X300, it isn't gonna generate the whole world because of this error)
The World Types I tested are "Default" and "Superflat". Highly recommenced to choose "Superflat" because superflat worlds generate much faster compared to the default worlds.
Click on "Create" and wait until mcedit stops generating the world and the console gives an error. This part took around 1 and half hours on my laptop (not the strongest one). The error will happen when the red circled number of the picture is a little bit greater than 500.

In the mcedit.log file you can see that the server has started up 504 times until the error happened. I tested it several times and it was always the same number.

The error also doesn't happen in the mcedit code but in the subprocesses module (see error in mcedit.log). After some searching on the internet I found that the problem was something with file descriptors (fds) of the stdout/stdin/stderr pipes not being closed on windows after using .communicate() on the subprocess.Popen object. In linux/OSX this shouldn't be a problem (to be tested?).
This bug makes it that people who want to generate really big worlds (ie. for analysing purpose) can't generate them with mcedit.

This is an old error, it has to do with the windows open file limitation. Which means we need mcedit to close files after each iteration if possible.

I just got this bug too trying to pre-generate an 800x800 chunk world.
OS: Windows 10 Home 64-bit
McEdit Version: v<IP_ADDRESS> 64-bit
MC Server Version: 1.12.2
mcedit.log
Same steps as @Monkey0x9 did.


[AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5745

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4637