[v2] Add SSL support to RabbitMQ Scaler

Signed-off-by: Anson Au<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[ ] Commits are signed with Developer Certificate of Origin (DCO)
[ ] Tests have been added
[ ] A PR is opened to update the documentation on https://github.com/kedacore/keda-docs
[ ] Changelog has been updated

Fixes #967

No,not from a file. One has to upload the certificates content to the K8S
secrets. I wonder how a file path works , as scaledObject is living in a
keda namespace. In a enterprise environment, it's not flexible to have file
contains secret stored in a shared namespace.
On Fri, Sep 4, 2020 at 2:55 AM Ahmed ElSayed<EMAIL_ADDRESS>wrote:

@ahmelsayed commented on this pull request.
In pkg/scalers/rabbitmq_scaler.go
https://github.com/kedacore/keda/pull/1073#discussion_r483189587:

if val, ok := authParams["ca"]; ok {

	meta.ca = val

} else {

	return nil, fmt.Errorf("no ca given")

}

if val, ok := authParams["cert"]; ok {

	meta.cert = val

} else {

	return nil, fmt.Errorf("no cert given")

}

if val, ok := authParams["key"]; ok {

	meta.key = val

} else {

	return nil, fmt.Errorf("no key given")

from the usage below, I'm assuming those are expected to have file paths,
not actual certificate values, right? I think you would want to use
metadata map instead of the authParams map, as the latter contains values
resolved from a TriggerAuthentication CRD if present for a particular
trigger.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kedacore/keda/pull/1073#pullrequestreview-482117803,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC7PP67QF6DXYXNPX22E7DSD7RA7ANCNFSM4QU25HWA
.

Looking good, could you please write a few tests? For the auth properties parsing. Feel free to look at the PR for an inspiration (Kafka) #1074

Added, please review

Could you please update docs: kedacore/keda-docs#231
And add an entry to the Changelog please: https://github.com/kedacore/keda/blob/v2/CHANGELOG.md#v200

all done

No,not from a file. One has to upload the certificates content to the K8S secrets. I wonder how a file path works , as scaledObject is living in a keda namespace. In a enterprise environment, it's not flexible to have file contains secret stored in a shared namespace.

other scaler that use a cert take a certPath parameter in the metadata, and then KEDA users mount the cert as a file using kubernetes secret file volume.
In this PR it seems that you're reading the value from authParams. authParams is constructed here. However, authParams is a map[string]string.
so usually you'd have a secret defined in Kubernetes as
kind: Secret
apiVersion: v1
metadata:
  name: test-secret-name
data:
  key.pem: <base64 of key.pem file>

Other scalers assume that KEDA users will add something like this on the KEDA pod
    volumeMounts:
    - name: certs
      mountPath: "/etc/certs"
      readOnly: true
  volumes:
  - name: certs
    secret:
      secretName: test-secret-name

this will create a file under /etc/certs/key.pem that contains the key. Then the metadata of the scaler just contains:
metadata:
  keyPath: /etc/certs/key.pem

However, with this PR if the user is using TriggerAuthentication with RabbitMQ, then authParam will be a map[string]string
so doing this in parseRabbitMQMetadata()
if val, ok := authParams["key"]; ok {
	meta.key = val
}

then meta.key will contain an invalid string encoding of the key file content
In getConnectionAndChannel() however, it's calling
if ca, err := ioutil.ReadFile(caFile); err == nil {
	cfg.RootCAs.AppendCertsFromPEM(ca)
}

if cert, err := tls.LoadX509KeyPair(certFile, keyFile); err == nil {
	cfg.Certificates = append(cfg.Certificates, cert)
}

which assumes that meta.key and meta.ca are file paths mounted on the KEDA pod itself as mentioned above for the other scalers.
That's based on just reading the code of the PR but I could be wrong. Have you been able to test this change on your cluster?

Yes, it’s fully tested and working on our cluster.
I understand the concept of mounting k8s secret as volume, but it only
works if you are creating a pod - keda pod as you mentioned.
This is a problem in an enterprise environment or any multi talented
environment-
Imagine on a Kubernetes cluster, we would install one Keda , under one keda
namespace , as a shared service.
Each team has their own namespace where their applications and secrets
belong to.
In this case, it's impossible to have one shared KEDA operator pod,but it
has access to all cert/ca/key files from each application. - They won't
share it to keda namespace.
RabbitMQ Scaler is a scaledobject, which likely will be created by
application in their own namespace.
That's why, it's more realistic that the scalar loads the content of the
cert/ca/key from secrets.
I can add support for loading from file, on top of what we have so far. So
we can support more use cases.
On Thu, 10 Sep 2020 at 7:38 AM, Ahmed ElSayed<EMAIL_ADDRESS>wrote:

No,not from a file. One has to upload the certificates content to the K8S
secrets. I wonder how a file path works , as scaledObject is living in a
keda namespace. In a enterprise environment, it's not flexible to have file
contains secret stored in a shared namespace.
other scaler that use a cert take a certPath parameter in the metadata,
and then KEDA users mount the cert as a file using kubernetes secret file
volume.
In this PR it seems that you're reading the value from authParams.
authParams is constructed here
https://github.com/kedacore/keda/blob/41e9978b4683d3bbc0e39860308e645f7513e243/pkg/scaling/resolver/scale_resolvers.go#L208-L227.
However, authParams is a map[string]string.
so usually you'd have a secret defined in Kubernetes as
kind: Secret
apiVersion: v1
metadata:
name: test-secret-name
data:
key.pem:
Other scalers assume that KEDA users will add something like this on the
KEDA pod
volumeMounts:

- name: certs

  mountPath: "/etc/certs"

  readOnly: true

volumes:

name: certs
secret:
secretName: test-secret-name

this will create a file under /etc/certs/key.pem that contains the key.
Then the metadata of the scaler just contains:
metadata:
keyPath: /etc/certs/key.pem
However, with this PR if the user is using TriggerAuthentication with
RabbitMQ, then authParam will be a map[string]string
so doing this in parseRabbitMQMetadata()
if val, ok := authParams["key"]; ok {
meta.key = val
}
then meta.key will contain an invalid string encoding of the key file
content
In getConnectionAndChannel() however, it's calling
if ca, err := ioutil.ReadFile(caFile); err == nil {
cfg.RootCAs.AppendCertsFromPEM(ca)
}
if cert, err := tls.LoadX509KeyPair(certFile, keyFile); err == nil {
cfg.Certificates = append(cfg.Certificates, cert)
}
which assumes that meta.key and meta.ca are file paths mounted on the
KEDA pod itself as mentioned above for the other scalers.
That's based on just reading the code of the PR but I could be wrong. Have
you been able to test this change on your cluster?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kedacore/keda/pull/1073#issuecomment-689880142, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC7PPZ7456BI23EQWP4G2TSFAGYVANCNFSM4QU25HWA
.

Hi,
Are you happy to accept this PR?
Thanks,
Anson

@ansonauhk there's a conflict that prevents a merge of this PR.
I am keeping this for @ahmels for review

Hi, is this PR still being worked on?  It seems to be stalled for a few months now.  We have a need for it and would appreciate any update on whether this is now abandoned or still in progress.

Looks like some open feedback / issues, as well as now some conflicts around the base that would need to be resolved.  Thanks a ton for your help @ansonauhk and this looks pretty close to me.  Any interest on clearing out the conflicts so we can ship some of this?  Let us know if you have any questions or we can help

Sorry for late response. I will take a look at this weekend.
「Jeff Hollan<EMAIL_ADDRESS>2021年2月23日週二，下午1:55 寫道：

Looks like some open feedback / issues, as well as now some conflicts
around the base that would need to be resolved. Thanks a ton for your help
@ansonauhk https://github.com/ansonauhk and this looks pretty close to
me. Any interest on clearing out the conflicts so we can ship some of this?
Let us know if you have any questions or we can help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kedacore/keda/pull/1073#issuecomment-783929834, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC7PP6MWGVGDEIKYUF5XS3TAM7M5ANCNFSM4QU25HWA
.

@ansonauhk, thanks for picking this up. We are in the process of developing and testing Azure AKS scaling based on RabbitMQ queue. Our setup has TLS mandatory (actuallt mTLS), so this is blocking us from proceeding.
(part) RabbitMQ config below.
This is running RabbitMQ Cluster Kubernetes Operator.
https://www.rabbitmq.com/kubernetes/operator/using-operator.html
  rabbitmq:     additionalConfig: |       ssl_options.fail_if_no_peer_cert = true       management.ssl.port = 15671       management.ssl.certfile = /etc/rabbitmq-tls/tls.crt       management.ssl.keyfile = /etc/rabbitmq-tls/tls.key       management.ssl.cacertfile = /etc/rabbitmq-tls/ca.crt

@ansonauhk have you had any time to progress this?

@ansonauhk any update on this PR please?

Any updates on this PR?

This PR is stale, I am closing this.
If anybody wants to follow up with this feature, please open another PR.

This might have just killed our keda deployment. Surprised that this is not a feature already and that this PR died.

@mcmcghee a PR with this feature is more then welcome :)


[Doc Updates][Message-extensions]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/get-started/get-started-overview.md
97
1
link
:white_check_mark:

msteams-platform/overview-explore.md
100
1
link
:white_check_mark:

msteams-platform/overview.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 535b9b7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/get-started/get-started-overview.md
:white_check_mark:Succeeded
View

msteams-platform/overview-explore.md
:white_check_mark:Succeeded
View

msteams-platform/overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/app-fundamentals-overview.md
95
6
link
:white_check_mark:

msteams-platform/concepts/design/understand-use-cases.md
95
5
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
97
1
link
:white_check_mark:

msteams-platform/overview-explore.md
100
1
link
:white_check_mark:

msteams-platform/overview.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 2b1b7da:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/app-fundamentals-overview.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/understand-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/get-started/get-started-overview.md
:white_check_mark:Succeeded
View

msteams-platform/overview-explore.md
:white_check_mark:Succeeded
View

msteams-platform/overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/app-fundamentals-overview.md
95
6
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
98
2
link
:white_check_mark:

msteams-platform/concepts/design/understand-use-cases.md
95
5
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
97
1
link
:white_check_mark:

msteams-platform/overview-explore.md
100
1
link
:white_check_mark:

msteams-platform/overview.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/app-fundamentals-overview.md
95
6
link
:white_check_mark:

msteams-platform/concepts/design/app-structure.md
96
4
link
:white_check_mark:

msteams-platform/concepts/design/design-teams-app-overview.md
94
5
link
:white_check_mark:

msteams-platform/concepts/design/map-use-cases.md
98
2
link
:white_check_mark:

msteams-platform/concepts/design/plan-responsive-tabs-for-teams-mobile.md
95
7
link
:white_check_mark:

msteams-platform/concepts/design/planning-checklist.md
88
12
link
:white_check_mark:

msteams-platform/concepts/design/understand-use-cases.md
95
5
link
:white_check_mark:

msteams-platform/get-started/get-started-overview.md
97
1
link
:white_check_mark:

msteams-platform/overview-explore.md
100
1
link
:white_check_mark:

msteams-platform/overview.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit ba4a28d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/app-fundamentals-overview.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/app-structure.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/design-teams-app-overview.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/map-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/plan-responsive-tabs-for-teams-mobile.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/planning-checklist.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/understand-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/get-started/get-started-overview.md
:white_check_mark:Succeeded
View

msteams-platform/overview-explore.md
:white_check_mark:Succeeded
View

msteams-platform/overview.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


add New Relic ASCII logo to CLI welcome message

Add  a SWEET ASCII logo to our standard welcome message found here:
https://github.com/newrelic/newrelic-cli/blob/83065079e78fac54c973f46056b38a1ead4e9a76/internal/install/recipe_installer.go#L67

 __   __  ______  __     __       ______  ______  __      __  ______
/\ "-.\ \/\  ___\/\ \  _ \ \     /\  == \/\  ___\/\ \    /\ \/\  ___\
\ \ \-.  \ \  __\\ \ \/ ".\ \    \ \  __<\ \  __\\ \ \___\ \ \ \ \____
 \ \_\\"\_\ \_____\ \__/".~\_\    \ \_\ \_\ \_____\ \_____\ \_\ \_____\
  \/_/ \/_/\/_____/\/_/   \/_/     \/_/ /_/\/_____/\/_____/\/_/\/_____/

  _   _                 ____      _ _
 | \ | | _____      __ |  _ \ ___| (_) ___
 |  \| |/ _ \ \ /\ / / | |_) / _ | | |/ __|
 | |\  |  __/\ V  V /  |  _ |  __| | | (__
 |_| \_|\___| \_/\_/   |_| \_\___|_|_|\___|

    _   __                ____       ___
   / | / ___ _      __   / __ \___  / (______
  /  |/ / _ | | /| / /  / /_/ / _ \/ / / ___/
 / /|  /  __| |/ |/ /  / _, _/  __/ / / /__
/_/ |_/\___/|__/|__/  /_/ |_|\___/_/_/\___/

@jpvajda please use the middle one because it's the closest one to our trademarked logo: https://newrelic.com/about/media-assets

This was completed in https://github.com/newrelic/newrelic-cli/pull/548


bees that need botania flowers produce bugged generic botania flowers

the Floral, Blossom, Somnolent, and Dreaming bees all fail to spawn mystical flowers, instead spawning the generic Botania Flower which triggers the achievement of picking up a bugged flower.

This has been fixed


[FEATURE] Update posts service to add endpoint to view the post

Add the domain repository to add the user-views for the posts service.

#400


failed to disable right click menu with MouseHookEventArgs.SuppressEvent=true

I created a simple sharphook c# program to disable the global right click menu:  https://pastecode.io/s/mdu66mhk
I expected it could disable the global right click menu, not just the form right click.  Is that a right expectation? Or it only disable the right click functionality within the form?  Thanks for looking in it.  Really appreciate it.

Hi! Thanks for posting this issue! I will look into it in the nearest future.

I've just tried reproducing it using the code you provided, and everything works correctly on my machine - when suppressing the mouse press/release events for Button2, no right-clicks go through.
Could you please describe in more detail, what happens on your machine? Do other applications register the right click and show a context menu?

I've just tried reproducing it using the code you provided, and everything works correctly on my machine - when suppressing the mouse press/release events for Button2, no right-clicks go through.
Could you please describe in more detail, what happens on your machine? Do other applications register the right click and show a context menu?

even I set "e.SuppressEvent = true;", all other applications (e.g vs code, chrome) can still show the right click menu.

I used other open source lib like " Gma.System.MouseKeyHook", i was able to stop the right click menu by doing "e.handled =true"

Could you please also tell me what Windows version you have and whether your project uses .NET Framework or the new .NET?

Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.4
windows: Windows 10 Pro

I've just tried reproducing it using the code you provided, and everything works correctly on my machine - when suppressing the mouse press/release events for Button2, no right-clicks go through.
Could you please describe in more detail, what happens on your machine? Do other applications register the right click and show a context menu?

could you plz share me the zip of your program and .net version?  I tried .net 7 on my side and still had the same issue.  Thanks in advance.

I literally just used the code you provided without any changes. I used .NET 8, but I don't think there will be any difference between 7 and 8.
Can you add some code to see that the event handler is actually called? Like adding Debug.WriteLine or something like that. We should see whether just suppressing the event doesn't work, or the event handler doesn't work at all.
Also, you should either dispose the global hook when the window closes, or you should create it the following way:
new SimpleGlobalHook(runAsyncOnBackgroundThread: true);

This way the application will exit when you close the window. Otherwise it will keep running in the background since the global hook is still running on another thread.

Since I cannot reproduce the issue on my machine, there's not much I can actually do to help right now, unfortunately.
Could you maybe add some Debug.WriteLine statements to the event handler to see whether the hook works? Maybe, the handlers don't get called at all?

all other applications (e.g vs code, chrome) can still show the right click menu.

FYI I've had issues with VS Code, Chrome, and VMWare Horizons.  I can't quite recall the issue I had in chromium based apps, but in VMWare, it has some sort of keylogger protection.  I'm pretty sure it uses DebugProc or something similar to catch and disable the hook.

@weil since I cannot reproduce this issue, I will close it due to inactivity, but we can continue the discussion and reopen it if necessary.


Meetup - Polkadot - Kuala Lumpur, Malaysia

Hi,
I would be delighted to organize a meetup of Web3 foundation for KL region.
I'm currently researching on Scalability and Polkadot, Parity Substrate.
I'm sure we'll have lots of interest in the Polkadot innovation. A lot of Open Source Developers will be interested to participate and be involved in the Web3 Ecosystem.
Best Regards,
Ankur Daharwal
<EMAIL_ADDRESS>

Hey Ankur
Thanks for reaching out. We appreciate the enthusiasm and the desire to help organise meetups in your region.
As I pointed out to Ankit in the Bangalore meetup issue, we're still sorting out the process of how we want to manage and engage with the community in order to get the most out of meetups globally. We can get you some presentation material for the meetups, so bare with us as we get this figured out!
I've added the tags to this issue and also fixed the title to include the country name.
I would also suggest that you fill out our meetup collaboration form: link. It helps to make it easier for us to keep in touch, plus figure out the sort of events you would like to organise. :-)
Cheers
Edward


add some rules

[ ] Most / all linter warnings should be errors
[x] https://eslint.org/docs/rules/object-shorthand set to always
[x] force functions to be arrow functions if they have just a single return line
[x] force const instead of let if possible
[x] space behind comment start??? force // ... instead of //...
[ ] force new-line before it-test (not if behind describe)
[ ] stop cyclic imports
[ ] declare variable before using it

@anbraten What do you think of https://eslint.org/docs/rules/func-style#expression?

declare variable before using it

Isn't this handled by typescript?

declare variable before using it

Isn't this handled by typescript?

@lukashass It wasn't the last time I checked it. Anyways, Typescript should not be responsible for these kind of code quality checking as that stops the build from passing which is quite annoying while developing.

@anbraten What do you think of https://eslint.org/docs/rules/func-style#expression?

@lukashass IDK. The first sample seems to be quite restrictive and would require us to change a lot of code as we often use function xyz(){] inside vue setup.

declare variable before using it

Isn't this handled by typescript?

@lukashass It wasn't the last time I checked it. Anyways, Typescript should not be responsible for these kind of code quality checking as that stops the build from passing which is quite annoying while developing.

@anbraten Should be handled by eslint now (978fb72a7a2a8eacc283d9384f518d286e1980bf).

@anbraten What do you think of https://eslint.org/docs/rules/func-style#expression?

@lukashass IDK. The first sample seems to be quite restrictive and would require us to change a lot of code as we often use function xyz(){] inside vue setup.

Just though it would be nice for consistency and this would have fixed some "use before define" issues as well:

The primary difference between function declarations and function expressions is that declarations are hoisted to the top of the scope in which they are defined, which allows you to write code that uses the function before its declaration.

But that is now restricted by @typescript-eslint/no-use-before-define :sparkles:


Fix fetching of channels for composite monitors

Description
PR #743 broke the notification channel dropdown under Trigger for Composite monitor creation. This PR fixes the incorrect code.
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

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

The bucket monitor cypress test that's failing in this PR has also been failing in other PRs; so I don't think it's related to these changes.
Approving.

Will work on fixing this. I was able to repro it.


[split_config.arm64_v8a.apk] SIGSEGV

Steps to reproduce
upload an AAB to play store.
Expected results
No ANR or Crashes.
Actual results
I got  [split_config.arm64_v8a.apk] Crash.

when I get into the crash details I see most of the devices are Huawei devices

also the most affected users has Android 10 (SDK 29)

Code sample
Code sample
[pid: 0, tid: 22094 >>> packageId <<<

backtrace:
  #00  pc 0x0000000002198fd0  /vendor/lib64/egl/libGLES_mali.so
  #01  pc 0x000000000219a924  /vendor/lib64/egl/libGLES_mali.so
  #02  pc 0x00000000021b1300  /vendor/lib64/egl/libGLES_mali.so
  #03  pc 0x00000000021b0094  /vendor/lib64/egl/libGLES_mali.so
  #04  pc 0x0000000000022718  /system/lib64/libEGL.so (android::eglSwapBuffersWithDamageKHRImpl(void*, void*, int*, int)+348)
  #05  pc 0x000000000001f008  /system/lib64/libEGL.so (eglSwapBuffers+84)
  #06  pc 0x0000000000019d2c  /data/app/packageId-ndlFJOmsk53irjCNyFdBGQ==/split_config.arm64_v8a.apk]

Flutter Doctor output
Doctor output
[Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.2, on macOS 14.3.1 23D60 darwin-x64, locale en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.81.1)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!
]

@AhmedElhenidy
Is there a way for you to provide a reproducible code sample that triggers this crash ?
There have been similar issues reported but we had to close them without any action due to lack of replicable code.
https://github.com/flutter/flutter/issues/117950
https://github.com/flutter/flutter/issues/138701

@darshankawar if you want a way to reproduce just upload an AAB to play store. this crash happens only after uploading to store. I'm using Crashlytics  and this issue doesn't appear there.

@AhmedElhenidy
Does simply building aab and uploading to store gives this behavior ? I am sure the aab you are building and releasing contains full fledged app code with lot of custom implementation and third party packages. But in order to isolate the issue to framework, can you try by simply building aab for default counter app and upload to store and check if it gives you same error not ?
That way we will know if any other implementation is causing the issue or not.


add request middleware or something similar

Describe the feature request
Is it possible to add a middleware mechanism for example request first routes to another container/endpoint and then routes or not routes to main container.
The purpose here is to add a cache layer in front of application container. We used to use load balancer cache but now we remove the load balancer and requests go between services directly.
Describe alternatives you've considered
There is a pr for envoy : https://github.com/envoyproxy/envoy/pull/10536
Also envoy has a feature called lua filter: https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/lua_filter#currently-supported-high-level-features
It has a capability :
“Performing a direct response and skipping further filter iteration. For example, a script could make an upstream HTTP call for authentication, and then directly respond with a 403 response code.”
Does istio support it? Or can support it? Or go version of this can be implemented?
Additional context

https://istio.io/docs/reference/config/networking/envoy-filter/ Is the way to add lua, we also have alpha support for wasm (see recent blog posts on istio.io)

https://istio.io/docs/reference/config/networking/envoy-filter/ Is the way to add lua, we also have alpha support for wasm (see recent blog posts on istio.io)

Thank you for your response. I also found that it can be used with EnvoyFilter custom resource.
We are waiting for wasm support it sounds promising. Thank you 👍

Closing as this has been addressed by ^. Thanks


New website shaping up 🎉

The summer holiday mode is still on, but I've been slowly working on the new website at https://www2.nuejs.org/

Here is the blog entry of the release:
https://www2.nuejs.org/blog/nue-1-beta/
Planning to push this out in a week or so

The documentation area is by far the biggest effort and takes weeks of writing. The vision is still mostly in my head and gets formalized as I write.

Added some comments/ideas:

https://github.com/nuejs/nue/commit/fe8b031e6f6de623c7a65772abff98d1b38cca02#r142621562
https://github.com/nuejs/nue/commit/731b48c09137844f175bc6a7ca90834e1b734fdf#r142621709
https://github.com/nuejs/nue/commit/4f1131861d17113f347f2ea5d4fc2b243276fdca#r142622421

I might still add more. We'll see :shrug:

Looks nicer!
BTW, as someone who has a concussion ('neruo-divergent), if the animation is long-term (like in full page Hero), then slower is better.  Also dark mode helps a bunch.
tia

There is flashing of content/layout when switching 'tabs' (NUE | docs | blog).  You can test in incognito mode.
Linux/Brave

Just so you know.
When I run the website with the dev branch (at nuejs.org root): bun ../nuekit/src/cli.js -Ips
For very large screens, the text flows in the buttons:

(Also, the text "A rapid development environment" is not really legible on the website hero, if it is even planned, that this part is on the hero...)

Done!


Set nodejs version to ">=15"

Minimum nodejs version required is 15 because of the use of String.prototype.replaceAll() in /models/list.ts

Grazie @madacol!


Inquiry about compatibility of Live Kit SDK with Deno

Hello,
I'm interested in using the Live Kit SDK in a project that's being developed with Deno, and I was wondering if the SDK is compatible with the Deno runtime environment.
I've searched the documentation and couldn't find any mention of Deno compatibility, so I thought I'd ask here to see if anyone has experience using the SDK with Deno.
If anyone knows whether the Live Kit SDK works with Deno or has any tips or resources for making it work, I'd appreciate any information you can provide.
Thank you!

I believe it should work. There's nothing we explicitly require Node for. Do you want to give it a try and report back with any issues that you are finding?

I tried the following code in my deno function.
import { serve } from<EMAIL_ADDRESS>import { AccessToken } from<EMAIL_ADDRESS>
const corsHeaders = {
  'Access-Control-Allow-Origin': '*',
  'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
}

serve(async (req) => {
  const roomName = 'my_room';
  const participantName = 'dimitri';
  const at = new AccessToken('SECRET', 'SECRET', {
    identity: participantName,
  });

  // This is needed if you're planning to invoke your function from a browser.
  if (req.method === 'OPTIONS') {
    return new Response('ok', { headers: corsHeaders })
  }

  try {
    const { name } = await req.json()
    at.addGrant({ roomJoin: true, room: roomName });
    const token = at.toJwt();

    const data = {
      message: `Hello ${name}!`,
      token: token,
      identity: participantName,
      roomName: roomName,
    }

    return new Response(JSON.stringify(data), {
      headers: { ...corsHeaders, 'Content-Type': 'application/json' },
      status: 200,
    })
  } catch (error) {
    return new Response(JSON.stringify({ error: error.message }), {
      headers: { ...corsHeaders, 'Content-Type': 'application/json' },
      status: 400,
    })
  }
})

I'm getting the following error during execution: "Identifier 'mod' has already been declared at file:///src/main.ts:3163:7". It seems like there's something conflicting with Deno.

This is working with Deno but wont work in Supabase Functions. If you want to work with supabase functions copy the AccessToken file from the repo and replace jsonwebtoken with jose. Check the pull request https://github.com/livekit/server-sdk-js/pull/59
import { serve } from<EMAIL_ADDRESS>import { AccessToken } from<EMAIL_ADDRESS>
const corsHeaders = {
  'Access-Control-Allow-Origin': '*',
  'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
}

interface RequestBody {
	name: string;
	roomName: string;
	identity: string;
}

serve(async (req: Request) => {
	// This is needed if you're planning to invoke your function from a browser.
	if (req.method === 'OPTIONS') {
		return new Response('ok', { headers: corsHeaders });
	}

	if (req.method !== 'POST') {
		return new Response(JSON.stringify({ error: 'Method Not Allowed' }), {
			headers: { ...corsHeaders, 'Content-Type': 'application/json' },
			status: 405,
		});
	}

	try {
		const { name, roomName, identity }: RequestBody = await req.json();

		const at = new AccessToken('SECRET', 'SECRET', {
			identity: identity,
			name: name,
			metadata: 'contact',
			ttl: '1h',
		});

		at.addGrant({
			roomJoin: true,
			room: roomName,
			canPublish: true,
			canSubscribe: true,
			canPublishData: true,
		});

		const token = await at.toJwt();

		const data = {
			accessToken: token,
			identity: identity,
			roomName: roomName,
		};

		return new Response(JSON.stringify(data), {
			headers: { ...corsHeaders, 'Content-Type': 'application/json' },
			status: 200,
		});
	} catch (error) {
		console.error('Invalid JSON payload:', error);
		return new Response(JSON.stringify({ error: error.message }), {
			headers: { ...corsHeaders, 'Content-Type': 'application/json' },
			status: 400,
		});
	}
}, { port: 8082 });

Las missing piece for this should be https://github.com/livekit/server-sdk-js/pull/122, closing


Send all repos to archive in a single request

Currently we send one-per-request

So this will actually create a single zip. I wonder what its contents look like...


[C++][FS][Azure] Azure CLI authentation

Describe the enhancement requested
Child of https://github.com/apache/arrow/issues/38598
Add support for Azure CLI auth. Should work on any system where you have run az login.
https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/src/azure_cli_credential.cpp
Component(s)
C++

Can we close this?

Can we close this?

What you think @Tom-Newton? Is there value in explicitly requesting CLI authentication instead of getting it from default behavior?

I wouldn't close it. Probably this provides quite a small benefit, but a benefit nonetheless and I think it's very easy for us to implement this.
There have been lots of times I've wanted to use some tool, only to find Azure Auth options are lacking, so I'm keen to be comprehensive here.

/take

take

Issue resolved by pull request 41976
https://github.com/apache/arrow/pull/41976


Need Help With Displaying Job ID

I am working with a client using Bullhorn who has asked me to see if I can have the Job ID automatically displayed when a visitor clicks through to a specific job. After several unsuccessful attempts, support advised that the easiest work around would be to include the Job ID in the Job Title or Description. The client would prefer that the field display automatically without the need for the recruiter to remember to include it manually with every job posting. Support advised they were unable to assist and suggested I post here.
I know the Job ID is being fetched when an applicant clicks through to read the Job Description since it is displayed in the URL (/careers/#/jobs/71320) for example, but applicants aren't likely to realize that if they want to call about a specific job before applying.
It would be great if we could fetch and display the Job ID just under the heading "Job Description". Can you provide a sample code snippet and advise which files need to be updated and where?
Thank you!

Hi @rduermyer!
I was able to display the job IDs with {{::job.id}} in list.html and {{::detail.job.id}} in detail.html. Let me know if it work on your end!

@EricNLecuyer - Merci. I don't know if you are using the legacy or cloud version, but with the cloud version the client is using, there is no access to the list.html or detail.html files. They are called by the app.json file (presumably they live on Bullhorn's server). I looked through each of the directories installed on the client's server and the only .html file is index.html in the root. There are list.json and detail.json files in the res/ subdirectories, but they merely provide text that is to be displayed for a configuration option, not what is displayed or where.
Detail.json, for example:
{
"jobDescriptionHeading": "Job Description",
"applyButton": "Apply",
"alreadyApplied": "Already Applied",
"sendButton": "Send",
"iosUploadWarning": "Please view this job on our desktop site to upload a resume and apply directly. In the meantime, we'll email you a link to this job for easy access.",
"relatedLabel": "Related",
"viewAllJobsLabel": "View all jobs in this category",
"jobClosedMessage": "Looks like this job has closed.",
"jobClosedOtherJobsLabel": "You can find some similar jobs"
}
I tried adding Job Id to the list several different ways, guessing what that parameter was (looks like just :id in this version) but the display was not affected at all.
Randy

Bienvenu! Your client's portal is likely already built, which will limit (or rather make very difficult) most modifications. I struggled with this too at first because, following these instructions, I was working with the latest release (a pre-built version) instead of the source code. To do so, you can use the master files along with Gulp.
If you look at the src/app folder, you will see all the components of the application (header, list, sidebar, etc.) with their respective files. For example, if you want to include the job IDs in the job cards, you could go in src/app/list/list.html and add {{::job.id}} within .
Once your modifications are done, you can build the portal with gulp build. This will convert your SCSS into CSS, concatenate and minify your files, etc in a new /dist folder. The result will be similar to what you see currently on your client server.

Thanks again, Eric. Made some real progress that time but not quite home yet.
I was able to build the files with the Job ID displayed where I wanted it, but it only displays on my local PC (localhost). I cannot locate the /dist directory that was supposed to have been created during the build process,

The dist directory should be in the main career-portal directory.   Can you post a screenshot of the directories that you are seeing?

Good! I think you are almost there. The /dist folder is created only on your PC when you run gulp build. To make sure that it was properly created, you can run gulp serve:dist (that will serve your new local, optimized build). If it works, you will need to replace your client's files on their server with all the files in your local /dist folder.
Of course, handle with care and make a backup first! :-)

Success at last! Many thanks Eric!


Does meshgen work with MeshAnything?

No, this appears to strictly be a port of LLaMA-Mesh inside Blender.


update docfx

Fixes # (issue)
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:

[ ] CHANGELOG.md updated for non-trivial changes
[ ] Unit tests have been added
[ ] Changes in public API reviewed

Codecov Report

Merging #128 (75e45b6) into main (2f0a3d6) will increase coverage by 0.42%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
+ Coverage   84.89%   85.30%   +0.42%
==========================================
  Files         154      154
  Lines        4373     4373
==========================================
+ Hits         3712     3730      +18
+ Misses        661      643      -18

Impacted Files
Coverage Δ

sdk/src/metrics/metric_reader.cc
63.89% <0.00%> (+8.34%)
:arrow_up:

...metrics/export/periodic_exporting_metric_reader.cc
77.28% <0.00%> (+34.10%)
:arrow_up:


overflow visible on ListView on Android

Description
I want to show the current item of a ListView at the center and show the prev and next item (if available) to the left and right. I use the pagination feature (pagingEnabled={true}) so the user can snap between the items.
On iOS it works fine, I can see the prev and next items but on Android they don't appear
Reproduction

Create a ListView, and set the width the ListView as the width of the elements inside it, enable pagingEnabled too.
The prev and next items are in overflow outside the ScrollView

On iOS it looks fine (I can see the prev/next items in overflow) but on Android they are not visible even if I enable the new FlatUI / Nodes mode
It's roughly the code to reproduce the problem https://rnplay.org/apps/CyiVcQ, I will link a project with the Android FlatUI mode enabled as soon as I can.
P.S In the example the width are not correct so it doesn't look well (because the listview should have at the center the active item)
I hope it's clear enough
Solution
The overflow should be visible on Android when using the new Flat UI mode, I tried adding setClipChildren/padding etc using a custom scroll view but without luck (they still don't appear)
Additional Information

React Native version: 0.41.2
Platform: Android
Operating System: MacOS

There is a new ListView implementation. https://hackernoon.com/react-native-new-flatlist-component-30db558c7a5b. Maybe it will work.

Tried it now, the same issue :(
Current result http://i.imgur.com/7Hxy3ZB.png (Android)
Correct result: http://i.imgur.com/0OXZtW0.png (iOS, the other items are in overflow visible)
If I open the layout inspector in Android Studio I can see the other is correctly rendered, but the HorizontalScrollView fails to show the children outside his bounds ( http://i.imgur.com/HcBLFCj.png )

Closing as ListView is deprecated in 0.43. Use FlatList.

@hramos didn't @marcoacierno say in his last comment that he tried FlatList and had the same issue?
@marcoacierno can you confirm that you're having the same issue with FlatList?

@bsonntag in that case I recommend opening a new FlatList issue, or having @marcoacierno
update the original post to be specific to FlatList.

Hi @bsonntag @hramos , I need to test again with the new version of React Native, but it didn't worked when I tried the last time (overflow was not visible even with flatlist). Anyway I fixed my issue by manually disabling the clip children/etc using Java.
I will test again when I have a bit of free time and, if I encounter the same issue with FlatList again, I will open a new issue

Confirmed problem still exist on SectionList.
New issue created https://github.com/facebook/react-native/issues/14416


UpkieWheelsEnv: add action and observation dicts to info

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.121%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
114

Relevant Lines:
223

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.121%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
114

Relevant Lines:
223

💛  - Coveralls


requesting new feature

Description of the new feature / enhancement
features to capture the screen the way we want, like a text extractor
Scenario when this would be used?
capturing the screens
Supporting information
can you make it??

Please be more specific. What exactly do you want to capture and what to do with it? Also: I expect there to be existing software already, what is it that we need to make? Note that we recently released a new module called Text Extractor.

/needinfo


Fixed off by one error

Fixed off by one error where when all ID elements are removed there was a 1/n ratio given by SBOMqs instead of the expected 0/n ratio. Where n is the total number of packages.
In the new code, the scores are still accurate, showing the ID feature's correct ratio.
When 0 elements are removed SBOMqs returned this ratio:
{
"category": "NTIA-minimum-elements",
"feature": "comp_with_uniq_ids",
"score": 9.375,
"max_score": 10,
"description": "15/16 have unique ID's",
"ignored": false
},
this ratio was verified by hand to be correct.
When 4 elements are removed,
"category": "NTIA-minimum-elements",
"feature": "comp_with_uniq_ids",
"score": 6.875,
"max_score": 10,
"description": "11/16 have unique ID's",
"ignored": false
The ratio is reduced by 4.
When all ID values are removed with the new change :
{
"category": "NTIA-minimum-elements",
"feature": "comp_with_uniq_ids",
"score": 0,
"max_score": 10,
"description": "0/16 have unique ID's",
"ignored": false
},
Again this was confirmed by hand.
In prechange code sometimes this ratio would be left as a 1/n. Now the ratio is reflective of the reality of the SBOM.
This was tested on 1000 SBOMs in CDX and SPDX generated by Trivy and Syft and scores are accurate and change with what is removed accurately in the ID field.

awesome will review. am out at the oss summit, will get to this tomorrow. Thanks for your contribution.

Approved. Thanks @aidankeefe2022


Refactor get user queue

Description
The main purpose of this pull request is to enhance the process of opening the websocket for the session queue.
Test Plan
N/A
Motivation and Context
The general functionality of the app needs to be improved to be leaner and more performant overall. By refactoring not only the GetUserQueue async thunk, but as well as the containers where the thunk is used, the process of getting the session queue can be improved upon.
How Has This Been Tested?
I've manually tested the performance of the app by going through the containers in question and seeing how the new implementation is performing.
Types of Changes

Documentation
Bug fix
[x] New feature
Breaking change

Checklist

[x] My code follows the code style of this project

 Get user queue thunk


There is no display of local video on hololens1 and hololens2

Describe the bug
There is no display of local video on hololens1 and hololens2
To Reproduce
Steps to reproduce the behavior:

Compiling DLL with vs2019
Use unity2018.4.15 to open the project： MixedReality-WebRTC\libs\Microsoft.MixedReality.WebRTC.Unity
Operation signaling server
Deploy and run on hololens1 and hololens2

Expected behavior
I want to see localvideo on hololens and display it in remotevide of unityeditor
SDP messages
Received SDP message: type=Answer data=v=0
o=-<PHONE_NUMBER>108628144 2 IN IP4 <IP_ADDRESS>
s=-
t=0 0
a=group:BUNDLE 0 1
a=msid-semantic: WMS local_av_stream
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 <IP_ADDRESS>
a=rtcp:9 IN IP4 <IP_ADDRESS>
a=ice-ufrag:i8Ur
a=ice-pwd:jMAX9oI+ZWFb05HAZF4KGEL5
a=ice-options:trickle
a=fingerprint:sha-256 7B:DF:94:72:68:0F:15:1F:9E:20:EC:1A:A5:F4:BA:37:11:97:FC:6B:2B:9C:41:C6:87:1B:13:4E:19:2C:40:2B
a=setup:active
a=mid:0
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=msid:local_av_stream local_audio
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1397576014 cname:gmj4/ebvcY3gHA4/
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 127 124 125
c=IN IP4 <IP_ADDRESS>
a=rtcp:9 IN IP4 <IP_ADDRESS>
a=ice-ufrag:i8Ur
a=ice-pwd:jMAX9oI+ZWFb05HAZF4KGEL5
a=ice-options:trickle
a=fingerprint:sha-256 7B:DF:94:72:68:0F:15:1F:9E:20:EC:1A:A5:F4:BA:37:11:97:FC:6B:2B:9C:41:C6:87:1B:13:4E:19:2C:40:2B
a=setup:active
a=mid:1
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:4 urn:3gpp:video-orientation
a=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type
a=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/video-timing
a=extmap:10 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07
a=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid
a=recvonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 goog-remb
a=rtcp-fb:96 transport-cc
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtpmap:97 rtx/90000
a=fmtp:97 apt=96
a=rtpmap:98 VP9/90000
a=rtcp-fb:98 goog-remb
a=rtcp-fb:98 transport-cc
a=rtcp-fb:98 ccm fir
a=rtcp-fb:98 nack
a=rtcp-fb:98 nack pli
a=fmtp:98 x-google-profile-id=0
a=rtpmap:99 rtx/90000
a=fmtp:99 apt=98
a=rtpmap:127 red/90000
a=rtpmap:124 rtx/90000
a=fmtp:124 apt=127
a=rtpmap:125 ulpfec/90000
UnityEngine.Debug:Log(Object)
Microsoft.MixedReality.WebRTC.Unity.<CO_GetAndProcessFromServer>d__15:MoveNext() (at Assets/Microsoft.MixedReality.WebRTC.Unity/Scripts/Signaling/NodeDssSignaler.cs:227)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Screenshots
HoloLens

UnityEditor

Environment

Platform: Unity Editor, Unity Standalone Player (Windows Desktop), Unity WSA Player (UWP)
Architecture: x86, ARM; Unity Editor is x64 on Windows
Unity version  2018.4
Target device: Windows Desktop X64, HoloLens 1, HoloLens 2

I met with same issue like you.The sdp set "recvonly" for video.Do you solve this problem now?

The SDP has no effect on displaying the local video; the local video display doesn't need an established WebRTC connection to be displayed. Of course the reason the local HoloLens video doesn't appear on the remote peer is because of RecvOnly, but that is because there's no local video in the first place to send.
If the local video doesn't show up when you start the VideoChatDemo sample in HoloLens 1/2, then something went wrong with opening the camera, most likely a permission issue. You should check in the Settings of Windows 10 that the demo app has been authorized to access the camera and microphone of the HoloLens device. Normally on the first run of the app the OS will display a dialog asking for user permission, but I have seen a bug that when debugging sometimes this dialog is skipped and the permission denied. So you need to manually re-authorize the app in Settings > Privacy > Camera/Microphone.

SDP对显示本地视频没有影响；本地视频显示不需要显示已建立的WebRTC连接。当然，本地HoloLens视频未出现在远程对等端上的原因是由于RecvOnly，但这是因为首先没有本地视频要发送。
如果在HoloLens 1/2中启动VideoChatDemo示例时未显示本地视频，则打开相机时出现问题，很可能是权限问题。您应在Windows 10的设置中检查是否已授权演示应用访问HoloLens设备的摄像头和麦克风。通常，在首次运行该应用程序时，操作系统会显示一个对话框，询问用户权限，但是我看到一个错误，即在调试时有时会跳过此对话框而拒绝该权限。因此，您需要在“设置”>“隐私”>“相机/麦克风”中手动重新授权该应用。

I'm pretty sure I authorized the camera and microphone permissions.

Also, when the app first launched the app, I agreed to use the camera and microphone. I also confirmed in the settings. And, I can hear the voice from UnityEditor. UnityEditor can also hear my voice from HoloLens.

I met with same issue like you.The sdp set "recvonly" for video.Do you solve this problem now?

no,I can't
I ask someone solved this problem at this link,You can follow him:
https://github.com/microsoft/MixedReality-WebRTC/issues/235#issuecomment-615833782

I met with same issue like you.The sdp set "recvonly" for video.Do you solve this problem now?

hi @HenryCui1979
I used DLL in C × nuget packages to solve this problem.And Run it on HoloLens2 。
You can refer to this link。
https://microsoft.github.io/MixedReality-WebRTC/manual/installation.html


Reconnect not working

Hi! I added a listener for the 'close' event in order to handle disconnections. I'm seeing the message in the logs but the bot is offline now. What I'm doing wrong? Thanks!
// handle disconnections
bot.on('close', function(data){
    console.log("Connection closed... Reconnecting.")
    bot.login();
});

I have the same doubts

same issues
how to handle reconnects?

Having the same issue. Does the above not work?

Same here

Thanks for the issue. What data is coming with a close event? Because when I try to emulate it and close a websocket manually, login() works fine.

Shouldn't this be a part of the library itself?
var bot = new Slackbot({});

bot.on('message', function(ev) {
    if (ev.type == 'reconnect_url') {
        bot.wsUrl = ev.url;
        return;
    }
    // ...
});

bot.on('close', function() {
    bot.connect();
});

I'm seeing the close event in my logs after which my bot goes offline. How can I always keep the bot online? What is the way to properly restart the bot after the close event?

Has someone managed to fix this issue?

Same question. How to keep bot always connected?

I have absolutely no idea, but the only solution I can think of is deploying the bot on a ubuntu server and making sure the crontab will run a bash script to turn off and on the bot every hour.
This is not a root solution, but rather work around it (not the most ideal way to do it).
I seriously hope someone could try and find a solution on how to fix this.

I've noticed this solution
bot.on('close', function(data) {
console.log(data)
bot.connect();
});
fails with infinitive loop and 1006 error in response.

So you managed to track down the problem, but is there a solution for this?

Based on official docs and other sources I think we need to "ping" in regular intervals...
https://api.slack.com/rtm

Clients should try to quickly detect disconnections, even in idle periods, so that users can easily tell the difference between being disconnected and everyone being quiet. Not all web browsers support the WebSocket ping spec, so the RTM protocol also supports ping/pong messages. When there is no other activity clients should send a ping every few seconds. To send a ping, send the following JSON:
{
"id": 1234, // ID, see "sending messages" above
"type": "ping",
...
}

But how do we do it using slackbots?

I don't know if this is still relevant, but I fixed this problem by adding to the source code a reconnect method. I was told by Slack Help Center that this is normal, and that simply what you need to do is call a method on the api to tell Slack that your app is still running. The reconnect method simply calls the method on the real time messaging api (rtm.connect) which to my understanding sends over a new url to set as your web socket. My pull request didn't go through due to some weird error, and it doesn't seem like anyone is still keeping tabs on this repository. For more clarification take a look at the slack-api documentation here: https://api.slack.com/methods/rtm.connect


load_from_arff_to_dataframe fails when importing 'ECG200' dataset [BUG]

Describe the bug
I downloaded the 'ECG200' dataset files on my local machine and was trying to import it using 'load_data'
It works fine if I use 'load_from_tsfile_to_dataframe' utility but fails when I use 'load_from_arff_to_dataframe'
This is how the dataset is downloaded
c:\myfolder\ECG200

c:\myfolder\ECG200\ECG200_TEST.arff
c:\myfolder\ECG200\ECG200_TEST.ts
c:\myfolder\ECG200\ECG200_TEST.txt
c:\myfolder\ECG200\ECG200_TRAIN.arff
c:\myfolder\ECG200\ECG200_TRAIN.ts
c:\myfolder\ECG200\ECG200_TRAIN.txt
c:\myfolder\ECG200\ECG200.txt

To Reproduce
from sktime.utils.load_data import load_from_arff_to_dataframe as load_arff
from sktime.utils.load_data import load_from_tsfile_to_dataframe as load_tsf

X_train, y_train= load_tsf('c:\\myfolder\\ECG200\\ECG200_TRAIN.ts')
X_train, y_train= load_arff('c:\\myfolder\\ECG200\\ECG200_TRAIN.arff')

Error:
~\.virtualenvs\Code-OH4xsw-D\lib\site-packages\sktime\utils\load_data.py in load_from_arff_to_dataframe(full_file_path_and_name, has_class_labels, return_separate_X_and_y, replace_missing_vals_with)
    698
    699     with open(full_file_path_and_name, 'r') as f:
--> 700         for line in f:
    701
    702             if line.strip():

~\.virtualenvs\Code-OH4xsw-D\lib\encodings\cp1252.py in decode(self, input, final)
     21 class IncrementalDecoder(codecs.IncrementalDecoder):
     22     def decode(self, input, final=False):
---> 23         return codecs.charmap_decode(input,self.errors,decoding_table)[0]
     24
     25 class StreamWriter(Codec,codecs.StreamWriter):

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 159: character maps to <undefined>

Expected behavior
Training data is returned
Additional context

Versions

System:
    python: 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
   machine: Windows-10-10.0.18362-SP0
Python dependencies:
pip: 20.2.3
setuptools: 50.3.0
sklearn: 0.23.2
numpy: 1.19.2
scipy: 1.5.3
Cython: 0.29.21
pandas: 1.1.3
matplotlib: 3.3.2
joblib: 0.17.0
numba: 0.51.2
pmdarima: 1.7.1
tsfresh: 0.17.0

Thanks @isma3ilsamir for raising the issue!
@AidenRushbrooke did you take a look at the function recently? Any idea what may be wrong here?

I briefly looked though the function but made no changes. There were a few issues with code guidelines when running the pre-checks, so it might be to do with changes to python since the code was written, but I cannot say for certain.


License option on "Create Dandiset" form missing asterisk to indicate it is required

Describe the issue

The description also suggests you can select a set of licenses when you can only select one here. The dandi schema suggests you can provide more than one but I think 1) most users would not do that and 2) it would be super confusing given these two options. So we should continue allowing only one.
Steps to Reproduce
Create a dandiset with UI
Operating System
Mac OS with Mac M1
GUIDE Version
main
Code of Conduct
Yes
Did you confirm this issue was not already reported?
Yes

Just reminding about https://github.com/NeurodataWithoutBorders/nwb-guide/issues/761 from the compilation list (item 2.d) since it kind of relates and we do have a radio button now


Change history-size in fzf binary

Category

[X] fzf binary
[X] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[X] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[X] bash
[ ] zsh
[ ] fish

I wish to increase the fzf history size from 1000 to something bigger. The command fzf --history-size=N does not seem to work for any N. I have tried a few numbers ranging from 100 to 10000. Is this really a problem or am I doing something incorrectly?

--history-size=N should work with any N. If it doesn't, it's a bug. I just tested with some values, and it seems to work as expected. Have you tested with small values?

Yes I have. I have attached a video here which might explain what is going on. In the video I am pressing Ctrl-R and scrolling up as much as I can.

That's bash history and unrelated to --history or --history-size of fzf.
http://superuser.com/questions/137438/how-to-unlimited-bash-shell-history


Rebuild index in fabfile

Now the index can be rebuilt with a command from the fabfile.

Do we need a confirmation for this action?
When you explicitly run this task, I guess you want to rebuild it.

Sure

ping


Not working with nuxt

Environment

Operating System: Darwin
Node Version:     v20.5.0
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, pinceau, typescript
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Steps to reproduce:

Clone this repo
Run pnpm install
(Optional) put tokens.config.ts with content:

import { defineTheme } from '@pinceau/theme'

export default defineTheme({
  color: {
    primary: {
      600: {
        initial: '#4352f4',
        dark: '#4352f4',
      },
    },
  },
})

Run pnpm dev:nuxt

Expected behaviour
Screenshot was taken from playground

Current behaviour

Devtools

This looks like an issue with Pinceau and vite-plugin-inspect used in Nuxt DevTools. Try disabling Nuxt Dev Tools by setting devtools: { enabled: false } in your Nuxt config to see if that fixes the issue. Then the issue can be diagnosed from there!

Hey, i original issue from @AndreyYolkin still persists.
Also the suggested devtools: { enabled: false } does throw an Error

Stackblitz


Add error information to TpProcessResponse

Add a message field for a standard error message, for use on Internal
Error or Invalid Transaction statuses
Add extended_data to provide a field for application-specific data that
can be passed from a transaction processor to a client.
Signed-off-by: Peter Schwarz<EMAIL_ADDRESS>

Rebased


Callback on open/close

I'm aware of the onOpen and onClose properties but I want to highlight a use case for also having the ability to implement a callback function when the open/close animation has completed.
In particular, I'm using the close function in two different places. My modal view has a close icon for which I simply want to close. It also has a submit button and for this case, if I simply close and then call my data save function, the animation does not show properly because the UI thread gets blocked long enough. I have wrapped my data save function in a Promise but the animation is still affected. So in this case, I would like to wait for the close animation to complete and then, in a callback, execute my save function. Using the onClose event doesn't seem to be a better option here as the function that responds to this event would need to know which of the two close scenarios I'm performing and would require polluting the component with unnecessary additional data and logic.
I'm all for implementing this myself and submitting a PR but I'm wondering if there was a reason this was not implemented in the first place.

Hmm weird that a simple save would block the JS thread, is it a network request ?
Try to wrap the close with requestAnimationFrameto see if it gets better.

@maxs15 Thanks for the response. I've never used 'requestAnimationFrame before but it seems to require TimerMixin. Isn't the use of mixins deprecated or discouraged?

@maxs15 I've create a pull request (#116) to add open/close callbacks as an alternative to the onOpened and onClosed properties. It solves my issue easily and perfectly. I hope you will consider merging this in. Thanks!


Is there a way to migrate in .netstandard with Xamarin.Forms package ?

Hi.
I have a .netstandard Model layer that referenced from Xamarin.forms
I set Xamarin.Forms package in Model layer => PrivateAssets="All"
My .netstandard Data layer referenced from Model layer.
When I run this command in PowerShell :
dotnet ef --startup-project ../Eela.Web/ migrations add v1
I have this error :

C:\Users*.nuget\packages\xamarin.forms\<IP_ADDRESS>\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets(40,3): error MSB4062: The "Xamarin.Forms.Build.Tasks.FixedCreateCSharpManifestResourceName" task could not be loaded from the assembly C:\Users*.nuget\packages\xamarin.forms\<IP_ADDRESS>\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [.....\Eela.Model.csproj]

Even I'm using :
<PackageTargetFallback>$(PackageTargetFallback);portable-win+net45+wp8+win81+wpa8</PackageTargetFallback>
in Data layer but the problem is persisted,
Is there any way to resolve this problem ?

What does your *.csproj file look like?

Also, have you tried installing the Microsoft.EntityFrameworkCore.Tools package and using the Add-Migration PMC command?

@bricelam
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup Label="Globals">
    <SccProjectName>SAK</SccProjectName>
    <SccProvider>SAK</SccProvider>
    <SccAuxPath>SAK</SccAuxPath>
    <SccLocalPath>SAK</SccLocalPath>
  </PropertyGroup>

  <PropertyGroup>
    <TargetFramework>netstandard1.6</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.1" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Eela.Model\Eela.Model.csproj" />
  </ItemGroup>

</Project>

I solved it by removing Xamarin.Forms dependency,
In fact I wanted the Command.cs class in Xamarin.Forms ,and I got the Command.cs source and copy paste it t to my code and I used it.
No i didn't use Add-Migration. I will test it . thanks any way.

Oh good. I'm glad you were able to solve it. It looks like the Xamarin.Forms package uses some MSBuild tasks that are incompatible with the dotnet command.

You could probably workaround it by updating the reference to look like this:
<PackageReferecne Include="Xamarin.Forms" Version="<IP_ADDRESS>">
  <ExcludeAssets>build</ExcludeAssets>
</PackageReference>

@bricelam Thanks . I will test it ...
Add-Migration in PMC doesnt use MSBuild ?

Not directly; it uses the Visual Studio SDKs instead.

@bricelam
<PackageReferecne Include="Xamarin.Forms" Version="<IP_ADDRESS>">
  <ExcludeAssets>build</ExcludeAssets>
</PackageReference>

Worked like a charm ... Thank you ...

@bricelam We have a proverb in Persian that says : "Nosh daro bad az marge Sohrab"
It means : eating drug to someone after his death .
But it will help me in future work probably.


Fix data scripts for mac

Description
find handles directory paths differently on mac vs. linux. Removing the trailing / makes data scripts compatible for both operating systems.
Fixes # (issue)
#57
Type of change
Please check the options that are relevant.

[x] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[ ] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[ ] Documentation only change

Type of requested review

[x] I want a thorough review of the implementation.
[ ] I want a high level review.
[ ] I want a deep design review.

Before and After
On Mac:
(droidlet_env) ➜  agent git:(rebeccaqian_autocomplete) ✗ find models/semantic_parser/ -type f ! -name '*checksum*' -not -path '*/\.*' -print0 | sort -z | xargs -0 sha1sum | sha1sum
e897b1621ef45bcf3477a0f70c71c9a086117e89  -
(droidlet_env) ➜  agent git:(rebeccaqian_autocomplete) ✗ find models/semantic_parser/ -type f ! -name '*checksum*' -not -path '*/\.*'
models/semantic_parser//ttad_bert_updated/caip_test_model_args.pk
models/semantic_parser//ttad_bert_updated/caip_test_model_tree.json
models/semantic_parser//ttad_bert_updated/caip_test_model.pth
models/semantic_parser//ttad/dialogue_grammar.json
models/semantic_parser//ttad/ttad.args.pk
models/semantic_parser//ttad/ttad_ft_embeds.pth
models/semantic_parser//ttad/ttad.pth

On Linux:
(droidlet_env_clone) ➜  agent git:(rebeccaqian_autocomplete) ✗ find models/semantic_parser/ -type f ! -name '*checksum*' -not -path '*/\.*' -print0 | sort -z | xargs -0 sha1sum | sha1sum
1949d219a2bf1eb6559eadd9862ec33a7631a8ae  -
(droidlet_env_clone) ➜  agent git:(rebeccaqian_autocomplete) ✗ find models/semantic_parser/ -type f ! -name '*checksum*' -not -path '*/\.*'
models/semantic_parser/ttad_bert_updated/caip_test_model_args.pk
models/semantic_parser/ttad_bert_updated/caip_test_model_tree.json
models/semantic_parser/ttad_bert_updated/caip_test_model.pth
models/semantic_parser/ttad/dialogue_grammar.json
models/semantic_parser/ttad/ttad.args.pk
models/semantic_parser/ttad/ttad_ft_embeds.pth
models/semantic_parser/ttad/ttad.pth

Testing
After fix:
(droidlet_env) ➜  droidlet git:(rebeccaqian_autocomplete) ✗ ./tools/data_scripts/compare_directory_hash.sh
/Users/rebeccaqian/droidlet
Agent name not specified, defaulting to craftassist
/Users/rebeccaqian/droidlet/craftassist/agent/
~/droidlet/craftassist/agent ~/droidlet
1949d219a2bf1eb6559eadd9862ec33a7631a8ae  -
Comparing nsp checksums - Local  1949d219a2bf1eb6559eadd9862ec33a7631a8ae - AWS  1949d219a2bf1eb6559eadd9862ec33a7631a8ae -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    44  100    44    0     0     66      0 --:--:-- --:--:-- --:--:--    65
Local nsp directory is up to date.
Comparing datasets checksums - Local  6f813dceac1710e1cb4b5d736b16e1cddceeb425 - AWS  6f813dceac1710e1cb4b5d736b16e1cddceeb425 -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    44  100    44    0     0     97      0 --:--:-- --:--:-- --:--:--    97
Local datasets directory is up to date.

Checklist:

[x] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have added relevant collaborators to review the PR before merge.

Looking into shunit for unit testing shell scripts


Mix task crash when api have path params and parameters defined under path only

I have a project that want to generate against https://github.com/line/line-openapi/blob/main/messaging-api.yml and found mix task crash:
$ mix api.gen default line-openapi/messaging-api.yml
===> Analyzing applications...
===> Compiling yamerl
==> yaml_elixir
Compiling 6 files (.ex)
Generated yaml_elixir app
==> oapi_generator
Compiling 35 files (.ex)
Generated oapi_generator app
** (KeyError) key :schema not found in: nil. If you are using the dot syntax, such as map.field, make sure the left-hand side of the dot is a map
    (oapi_generator 0.0.7) lib/open_api/generator/operation.ex:133: anonymous fn/3 in OpenAPI.Generator.Operation.path_params/3
    (elixir 1.14.4) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
    (oapi_generator 0.0.7) lib/open_api/generator/operation.ex:17: OpenAPI.Generator.Operation.process/4
    (elixir 1.14.4) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    (stdlib <IP_ADDRESS>) maps.erl:411: :maps.fold_1/3
    (oapi_generator 0.0.7) lib/open_api/generator.ex:14: OpenAPI.Generator.run/1
    (mix 1.14.4) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
    (mix 1.14.4) lib/mix/cli.ex:84: Mix.CLI.run_task/2

After investigation, I found that they have APIs that defined path parameters under path item object but no parameters under operation object. One of this example is https://github.com/line/line-openapi/blob/main/messaging-api.yml#L1209

Hi @wingyplus,
Thanks for investigating this and pointing me right to the cause. I have a possible fix in #23 — if you have a chance, could you try it out and see if it does what you expect?
Thanks!


Mention VS Code support in pixi docs

Problem description
I think since recently (see #411) pixi supports VS Code.
Could you please mention this at https://pixi.sh/latest/ with some instructions how to use it properly?
Are there any steps / gotchas, e.g. to exclude the .pixi folder from project search or anything else to make it work well?
Currently only support for JupyterLab, Pycharm  and RStudio is mentioned:

It seems VS Code can't detect the pixi env automatically. I had to first create a python script and use VS Code to enter the python interpreter path manually. After that, creating a Jupyter Notebook can select the pixi python interpreter.
https://github.com/prefix-dev/pixi/issues/411#issuecomment-2107344663


Remove unused function from bash script

As per @dsyme comment.

where is this even coming from?

¯_(ツ)_/¯ Probably copy & pasted from an old template.


[vue-ts scaffold] typecheck checks into dist directory

in the scaffold created by @vitejs/create-app, the npm script build calls typecheck ., which checks all files including files in ./dist.
so if you build twice, it throws.
npm init @vitejs/app

select vue-ts
cd ./init
npm i
npm run build
npm run build

/cc @znck - can you take a look at the vue-ts template to make sure it is set up correctly with VueDX?

/cc @znck - can you take a look at the vue-ts template to make sure it is set up correctly with VueDX?

It's a known issue, will fix. https://github.com/znck/vue-developer-experience/issues/133

It's a known issue, will fix. https://github.com/znck/vue-developer-experience/issues/133


Improve T.proc intrinsics to support generics

Motivation

Fixes #4378
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_M8rlJ8KeFh1IJx
→ https://go/builds/bui_M8rla2HDVq6WTm


Gitlab integration not working

Describe the bug:
I tried to setup Thread Dragon with Gitlab integration, but I don't get the button to use it. The documentation (https://owasp.org/www-project-threat-dragon/docs-2/development-environment/) does not help here.
Expected behaviour:
Having a working integration
Environment:

Version: 2.2.0
Platform: Web App
OS: Linux (docker compose)
Browser: Firefox

To Reproduce:

Any additional context, screenshots, etc:
services:
  threatdragon:
    image: owasp/threat-dragon:stable
    ports:
      - <IP_ADDRESS>:3000:3000
    environment:
      ENCRYPTION_KEYS: '[{"isPrimary": true, "id": 0, "value": "12345678"}]'
      ENCRYPTION_JWT_SIGNING_KEY: '12345678'
      ENCRYPTION_JWT_REFRESH_SIGNING_KEY: '12345678'
      SERVER_API_PROTOCOL: 'http'
      GITLAB_APPLICATION_ID: '994fa59201dad799c7292d56bbbd353650223bcabf9d1bce15c1a2731dd0d23d'
      GITLAB_APPLICATION_SECRET: 'gloas-12345678'
      GITLAB_REDIRECT_URI: 'https://td.foobar.com/api/oauth/return'
      GITLAB_ENTERPRISE_HOSTNAME: 'gitlab.foobar.com'

we need a gitlab step-by-step similar to the BitBucket step-by-step and the github step-by-step

Ok, I played with it a bit more, but it came to a crashing halt pretty fast:
threatdragon-1  | error: controllers/auth.js:  {"service":"threat-dragon","timestamp":"2024-04-15 12:43:40"}
threatdragon-1  | error: Gitlab Enterprise is not supported yet {"service":"threat-dragon","stack":"Error: Gitlab Enterprise is not supported yet\n    at getClient (/app/td.server/dist/repositories/gitlabrepo.js:29:11)\n    at Object.userAsync (/app/td.server/dist/repositories/gitlabrepo.js:88:10)\n    at _callee$ (/app/td.server/dist/providers/gitlab.js:99:23)\n    at tryCatch (/app/td.server/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)\n    at Generator.<anonymous> (/app/td.server/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)\n    at Generator.next (/app/td.server/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)\n    at asyncGeneratorStep (/app/td.server/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)\n    at _next (/app/td.server/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2024-04-15 12:43:40"}
threatdragon-1  | error: undefined {"service":"threat-dragon","timestamp":"2024-04-15 12:43:40"}

ah, you are using GitLab Enterprise? There is another thread on that in the slack channel, and @steve-winter may be submitting a pull request soon

I will get the PR pushed tomorrow. @fdellwing any assistance you can provide in testing would be appreciated.

thanks @steve-winter and @fdellwing for taking this on, I will assign the issue to you

This is done.


adding babel + various QOL + latest ES6 features

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

v1.10.0
Chrome Web Store
GitHub release

Your semantic-release bot :package::rocket:


cl:creator tags should survive a backend restart

The cl:creator tags must be present after a backend restart.

Works, verified.


[QUESTION] How to override the form renderer in the formbuilder?

Would it be possibile to use the same structure as https://github.com/formio/angular-material-formio to render form components in the form builder? If so could you give some pointers what would be the best way to approach plz.
So that we have one place for custom components which can be used in the form renderer and in the form builder.
Thank you.

Yes, the Angular Material library essentially creates "Custom Components" that are wrappers for the Angular Material.  But we also have an example of Custom Components in Angular in our StarterKit application @ https://github.com/formio/angular-app-starterkit/tree/master/src/app/components.  Just be aware that this is the 3.x version and not 4.x. We need to upgrade it to work with the latest core renderer.


fix(TDI-38802):fix the bug of cannot get Key.

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-38802
What is the new behavior?
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: success :star:


Enable SonarCloud as gating workflow

Once we have no more code smells activate this workflow as a gating workflow

As this workflow takes quite a bit of time it will be a nightly workflow only.


How can I use CMYK color for text?

I found both setDrawColor and setFillColor are able to accept CMYK color,
but setTextColor not.
Is there a way to set CMYK color for text?  Thanks.

@MrRio, any comments on this issue? It's pretty important for me.

#1397

Solved by PR #1397
Merged on 11 January 2018
Will be part of next version.


Add iot TopicRuleDestination to v1beta1

Description of your changes

Fixes #361
I have:

[x] Run make check-diff lint test to ensure this PR is ready for review.

How has this code been tested

make e2e UPTEST_EXAMPLE_LIST=examples/iot/topicruledestination.yaml
The test takes about 15 minutes to run, due to AWS being slow to create and delete these resources. The equivalent acceptance test in the terraform provider takes basically the same amount of time.
Note that in the example, I used a management policy that excludes Delete for the IAM role. This is necessary to allow the IoT service to assume the role during deletion of the topic rule destination, to delete the ENIs it created. Otherwise deletion of the VPC fails because there are leftover resources in it. The result is that the IAM role won't be cleaned up. But that shouldn't be a problem. It's got a name that's unlikely to conflict with anything else, and rerunning the test a second time when the role already exist works just fine. That's one reason I used an inline policy, so I could only have a single leftover resource, rather than also leaving behind an IAM policy.

@mbbush, since you are now a contributor, you should be able to trigger uptest on open PRs.

/test-examples="examples/iot/topicruledestination.yaml"

/test-examples="examples/iot/topicruledestination.yaml"

/test-examples="examples/iot/topicruledestination.yaml"

@turkenf Thanks for the testhook recommendation. It worked great.
I think the only thing left before this can merge is a decision on whether to use the short identifier or the longer but more "discoverable" full ARN as the external name. I see pros and cons with both options, and am willing to go either way.


Temporary fix. NPM support with UMD pattern.

This PR is related to issue #7.
I wrapped sources with umd pattern to make it work with common module systems (AMD, CommonJS, ...).
NOTE: I removed some assertions in https://github.com/sasha240100/AR.js/commit/1447523df24b1367afab127304a33d070e8b1c8d in order to make it work. They can be added back after moving to ES6/ES2016+.
Tested on:

[x] Node (through webpack build).
[x] Browser

thanks, a lot of the file got modified tho..
did you change the tabulation or something ?

@jeromeetienne Seems like my editor(Atom) did it for me. Do we have a specific linter || codestyle to follow?

@jeromeetienne I personally like XO code style with my personal config. It shows code style errors in runtime and can be easily set up for this project.

to change it in this pull request, makes it hard to see what are the changes...
Can you do without changing tab/space ?

@jeromeetienne Made some fixes in code style + updated to latest code from your master. The only major change i did is that i added UMD pattern code at the beginning & end of each file.

it seems that the tab/space are still changeed, no ?

@jeromeetienne

Please, merge it before you will add more changes, because it will only add more work to me and i will need to make all things from scratch((

@jeromeetienne Any updates?

@jeromeetienne Fixed identation 2 spaces -> tabs


Missing translations in toasts for Articles cruds in demo app

There are probably missing translations for texts showing in toasts when doing any crud operations for Articles in DEMO app. The toasts show only the translation keys (see image bellow)

This is in progress in the PR: Fix/Translation

The issue was fixed in the new release of the demo app.


Provide a way to use custom message parsers

As mentioned in #28 it would be useful to extract parser from this lib to separate package so every developer could use any parser (and message format) they want.
This process should consist of these steps:

[x] extract base functionality of this library to base repository
[x] extract currently used parser to parsers/parser-default
[x] keep this repository to glue the base and the parser-default together to prevent API changes
[x] update docs
[x] update tests

@sveltekit-i18n/base, @sveltekit-i18n/parser-default and sveltekit-i18n released!


Update far2l to use newer llvmPackages

Issue description
Assuming https://github.com/NixOS/nixpkgs/pull/61509 is merged, far2l is currently the only package that still uses llvmPackages_4, meaning it can be removed once it is no longer needed by this expression. It would be excellent to remove older LLVM builds if we can, since they're expensive to maintain (code wise) and take up plenty of resources on the builders.
Currently it seems far2l only uses llvmPackages_4.stdenv if the stdenv is set to using Clang; in other words, I assume this is a fix for building it on Darwin.
/cc @volth, who maintains far2l

I cannot test it, because far2l uses llvmPackages_4.stdenv only on Darwin. At least, feel free to remove Darwin from the supported meta.platforms of far2l.
I do not like idea of removing Clang 3.5 ... Clang 4.0; They are needed quite often to compile some random project found on Github. Same of GCC 4 ... GCC 6

I meant I am not ready to maintain Darwin ports of the packages I maintain.
A co-maintainer is required here, if there will be no one, then just remove all "x84_64-darwin" and if isDarwin and it should solve the llvm problem.

@LnL7  for https://github.com/NixOS/nixpkgs/commit/879f144d7fb4d49cf2afacbc4e84e045d519c792

The older llvm might not be necessary anymore if the package has updated since then or using gccStdenv instead could also work.

This was fixed eventually.


Remove backpassing

Warnings in CI are from the use of build.roc which needs an updated release of basic-cli without backpassing. I'm not sure why this would block CI though, this should only be relevant for building the platform host, and shouldn't block things here.


Update sovrn.md

sovrn supports gdpr

Hey @mkendall07 are there any issues with this?

This is related to https://github.com/prebid/Prebid.js/pull/2475, which was merged with 1.10


feat(pallets/subpsace): convert stake data type into dmaps

Converts StakeFrom and StakeTo data into a new double storage map

Solved on global-stake-v2


Migrate tutorials to new structure

Purpose

Update the template title in tutorials.
Update SaaS integration tutorials with the new structure
Resolves #https://github.com/wso2/ballerina-integrator/issues/691

@dinuish94 shall we update the titles in this page as well for consistency: https://ei.docs.wso2.com/en/latest/ballerina-integrator/learn/use-cases/


added bio to staffers folder and image to assets/image folder :)

@Pinkaban Woodworking? I'm intrigued.


'amplify pull' does not pull down aws-exports.js file

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
the command 'amplify pull' does not pull down aws-exports.js file
Amplify CLI Version
4.29.4
To Reproduce
Follow the steps outlined below from the docs

Expected behavior
I would have expected the aws-exports.js file to be updated with the selected environments backend parameters.  However this file is not updated or created
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS
Node Version. v12.18.1

Additional context
Managing environments docs needs some serious work as nothing works like the docs say it is supposed to.  Seriously frustrating trying to figure anything out.

@duncangroenewald Could you show the list of commands and the selections you made with the pull command? Was there an error printed out?

Amplify pull doesnt even pulls python lambda function if changed on cloud on index.py

@alstorm96 'amplify pull' does not pull in changes made in the Lambda AWS console directly.
If you're working on a team and your team-member makes a change in the python index.py file and pushes using the Amplify CLI -  you can then pull it down using amplify pull.

What if someone directly changed the function in the console from my team. It doesnt pulls that one

If your directly change the function in the Lambda AWS Console - amplify pull wouldn't pull the changes. Following  AWS best practices, I wouldn't recommend making changes directly in the AWS Console but rather maintain everything via code.


mru calibrate -i *.png failes with "Instrument Unknown!"

Running m20_hnav_calibrate -i *.png on previous versions on a folder with images performed calibration for all images in one go.
I expect the same behavior with the current mru calibrate -i *.png, however it throws the following error:
mru calibrate -i *.png
*.png - Error: Instrument Unknown!        [ FAIL ]

At the moment I can only calibrate images if I include all filenames in the command, e.g.: mru calibrate -i .\HNM_0414_0703689998_109ECM_N0260001HELI05210_0000A0J02.png .\HNM_0414_0703689998_706ECM_N0260001HELI05228_0000LUJ01.png .\HNM_0414_0703689998_109ECM_N0260001HELI05210_0000A0J02.png
I would like to see the old behavior reintroduced, in case this isn't a bug. Calibrating the images one by one or adding all the filenames is quite tedious.
Specifications

Version: 0.5.0
Platform: Windows

I'm not sure why the wildcard isn't working as I did not remove that. Will test

Oh, when I updated the clap library I forgot to filter the args through wild. Whoops

Changed from Cli::parse() to Cli::parse_from(wild::args) which will put the wildcard expansion back in there as expected. I will need to test on Windows

Ok, works in Windows. Since this is a particularly annoying issue, I'll cut a 0.5.1 release for this and the previous bugfix from this morning.

Thanks for the quick fix and release!


MM-17555 Use FormattedMessage in CustomThemeChooser

This is another set of fairly trivial changes to get rid of this.context.intl in the custom theme chooser.
This PR is based on https://github.com/mattermost/mattermost-webapp/pull/4470. Changes specific to it are here: https://github.com/mattermost/mattermost-webapp/compare/mm17555h...mm17555j
For QA, please confirm that the custom theme picker in the account settings is still translated correctly.
Ticket Link
https://mattermost.atlassian.net/browse/MM-17555

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-4473.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed


Migrate data from old vfs paths to new local volumes path.

This is a bug upgrading from Docker 1.6 to Docker 1.7.
Before:

After:

Signed-off-by: David Calavera<EMAIL_ADDRESS>

LGTM

LGTM

cherry-picked


Issues trying to connect to IPv6 Servers

When I try to connect to an IPv6 server using such URL: wss://[2500:6280:100:d0::1c2c:4001]:7000,
it gives the error dial tcp: address 2500:6280:100:d0::1c2c:4001:7000: too many colons in address.
For some reason it seems it adds the port to the last, something like :7000 in the above example, making it part of the IPv6 address itself.
I have investigated a lot, and seems the issue is coming from within gws code.

https://github.com/lxzan/gws/blob/586e980cec513a3c985d83b2075ece54f4421f13/client.go#L52C1-L53C92
Seems like these two lines here are causing the issue, to get the square brackets removed completely, from the IPv6.

Would you be interested in creating a PR?

fixed, release next week
https://github.com/lxzan/gws/commit/aa65011a18efbaca243ae15de84068c2c9d7a4b8


fix potential OOM risks

What is the purpose of the change
fix potential OOM risks
Brief changelog
Modify the com.alibaba.dubbo.common.threadpool.support.fixed.FixedThreadPool. If the queues configuration is less than 0, the workqueue is still the synchronous queue when the queues = 0
Verifying this change

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Closing for no reply for days.


Programming Languages: Application and Interpretation by Shriram Krishnamurthi

http://cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-04-26/plai-2007-04-26.pdf

That one already exists under Theoretical Computer Science


1175 add files from irods

Adding to release candidate

Can one of the admins verify this patch?

@mauriel133 Can you review this?


Show classification accuracy as a percent; fix #33

Coverage remained the same at 22.544% when pulling 9e359d68ca7e9b702462e66e1e404fe5b0f08396 on 33-show-acc-percent into e0944a0b701f271dfbfc14a5ab9bb1e46ba0ed25 on master.


for #1363 Refactor JDBC XA transaction.

Pull Request Test Coverage Report for Build 5933

87 of 99 (87.88%)  changed or added relevant lines in 14 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.04%) to 72.647%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-core/src/main/java/io/shardingsphere/core/util/ShardingExecutorService.java
0
1
0.0%

sharding-proxy/src/main/java/io/shardingsphere/shardingproxy/backend/UnicastSchemaBackendHandler.java
4
6
66.67%

sharding-core/src/main/java/io/shardingsphere/core/constant/PoolType.java
0
3
0.0%

sharding-core/src/main/java/io/shardingsphere/core/rule/DataSourceParameter.java
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-core/src/main/java/io/shardingsphere/core/util/ShardingExecutorService.java
1
0.0%

sharding-core/src/main/java/io/shardingsphere/core/rule/DataSourceParameter.java
1
0.0%

Totals

Change from base Build 5929:
0.04%

Covered Lines:
9577

Relevant Lines:
13183

💛  - Coveralls


ERROR: No video formats found

Hi all,
I'm trying to download a course from Pluralsight.
I've downloaded successfully 2 coursed today, but when tried another one (and another one, for troubleshooting), it succeeded to download only one file, and on the second one it fails each time with this error-
ERROR: No video formats found;
in debug mode-
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 507, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\pluralsight.py", line 421, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5xdqinp2\build\youtube_dl\extractor\common.py", line 1286, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
I'm using the latest 5.10.18 version.
running windows 10 version 1803 (OS build 17134.285)
downloading using this syntax-
youtube-dl.exe --cookies d:\cookies-pluralsight-com.txt -o "%(playlist_index)s - %(title)s.%(ext)s" --min-sleep-interval 45 --max-sleep-interval 60 https://www.pluralsight.com/courses/aws-networking-deep-dive-vpc --playlist-start 1 --verbose
I tried deleting the one file it was succeeded to download and rerun, and still.. download one file, on the second it fails with this error.
quick reminder, I was downloading successfully and fully 2 courses until an hour ago.. when trying any other one, I get this error on the 2nd video file attempted.
Thanks and hope you could help
Hila

For any work on this you must provide reproducible environment.

You mean my credentials? sure. can I send it you by mail rather paste here publicly?

I tried viewing the courses via the pluralsight and it doesn't work either. seems like they let access to only 2 courses for trial users.. so the issue was because of that.