Fix/issue#914

Description
This is regarding #914 involves CSS change on settings page.

Top panel Settings Name and back button
The list of actions are now absolute position to achieve on top effect on the top panel.
margin changes for delete account button.

Motivation
Testing Guidelines
Release Checklist

[ ] This code has unit tests
[ ] I have a plan to verify that these changes are working as expected after deploy
[ ] I have a plan for how to revert, rollback, or disable these changes if things are not working as expected

Security Checklist
This PR creates, modifies, or deletes:

[ ] API routes: API routes, parameters, or user authorization
[ ] Authentication: Authentication mechanism
[ ] Credentials: Server side credentials, or secrets in configuration / source code
[ ] Cryptography: Encryption, hashing, certificates, signatures, random numbers, etc.
[ ] User data: personal information handling, logs, error messages, etc.

Additional Notes

I will resolve this merge conflict

I have added another contianer in the SettingListWrapper so to support generic ListItemWrapper. Though this approach involves both flex-box as well as position absolute for the SettingsListContainer, I guess this would never hinder much going forward as we add more list items inside this said container.

A bit overdue but @all-contributors please add @Tapudp for code

A bit overdue but @all-contributors please add @Tapudp for code

Thank you!


[Kinopoisk] Add tv shows support, subtitles support, extract more data

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[x] New feature

Description of your pull request and other information
Improve kinopoisk extractor:

Support tv shows (the url patternt is the same as movies)
Support subtitles
Extract more data
Added more test

Kinopoisk removed free vidoes from the site, it requires subscription or purchases to access the videos.

can someone who has access please confirm that this still works?

This doesn't work, most of videos are with DRM now.

But for videos without DRM, does this work?

thanks for the quick reply btw


Removal of Non-Inclusive Terminology

Link to issue
[Suggestion] Change from white/black to a more inclusive language (allow/block?)
Description of changes being made
This PR is the second one from the referenced issue.
The suggestion is to move in a more inclusive terminology, removing the white/black reference and changing it to the allow /block reference (names are just a suggestion).
Note: This PR has the total removal of those terms. These are breaking changes.

I think because this is a breaking change, I'd prefer to avoid this option vs #183

fixes #182


Example using Fela

I accidently checked in some of my local experiments as well, but the branch is now clean and only contains the actual setup required to use Next with Fela.

Looks good


Prepare the Emilia dataset python scripts/prepare_emilia.py correctly

can someone please make this more detailed? Where do I download the packages? I downloaded it from https://huggingface.co/datasets/amphion/Emilia-Dataset but there are no json files included that the python requires.

can someone please make this more detailed? Where do I download the packages? I downloaded it from https://huggingface.co/datasets/amphion/Emilia-Dataset but there are no json files included that the python requires.

Not the latest version Emilia-Dataset, you can download it from https://huggingface.co/datasets/amphion/Emilia-Dataset/tree/fc71e07

I'll close this issue, if you have other questions you can reopen this issue. @Seeksy


Height of "more component link"

I think the More component button is very close to the bottom cards as you can see in the screenshot

I would like to increase the height of it so that it looks much better than the previous one (like the below screenshot)

If you like my suggestion then please assign this enhancement under the Open code event.

Hey! Go for it ! Just add that more components thing below the cards and increase its height!

Hey @siddhi-244, It seems like issue #228 and #230 has already been solved.
So I found a new issue in your header buttons (as you can see in the image)

So I would like to give a margin between these two buttons and the result will be like this:-

If you like my suggestion please accept the review and accept my pull request!!

Hey @siddhi-244, It seems like issue #228 and #230 has already been solved. So I found a new issue in your header buttons (as you can see in the image)
So I would like to give a margin between these two buttons and the result will be like this:-
If you like my suggestion please accept the review and accept my pull request!!

Can uh take it side ways ?

Hey @siddhi-244, It seems like issue #228 and #230 has already been solved. So I found a new issue in your header buttons (as you can see in the image)
So I would like to give a margin between these two buttons and the result will be like this:-
If you like my suggestion please accept the review and accept my pull request!!

And for #228 the navbar items need to be aligned.  I have shared the screenshots


Silently handle socket errors in the UdpAdapter (closes #27), add tests

This fixes issue #27 and supersedes PR #28.

Hi Evan,
thanks for your PR.
We have a couple of ideas that we want to try with your PR, for that reason we opened a new PR #32
In order to full credit your changes i have cherry picked your commits in #32 and your changes are tracked by git, reporting you as a contributor.

Merged as is, we will discuss about #32


New SOAR App: Google Chat App

Name of the app
google-chat-app
Integration
Google Chat
About
This app integrate services with Google Chat and manage Chat resources such as i.e messages.

 Does google-chat work?

Hey @alexa-phantom, I try my best 😎. Yeah two clients of mine got it for tests without failure feedback 🤘

Repo https://github.com/splunk-soar-connectors/google-chat has been created.


Is there a maximum depth or a limit to how far the json schema can go

I have created a JSON schema that goes quite deep.
Now when I add a simple property like below anywhere within the schema, the last part of the anyOf gets omitted:
{
    "properties": {
        "test": {
              "type": "string"
        }
    }
}

I haven't used JSON Schemas much. Using the validator: https://www.jsonschemavalidator.net/ worked out fine.
Not sure if I'm doing something wrong on my end.

My bad. Sorry for the issue.
Seems the moment I posted... I noticed, that it's the IDE, that's not showing the results.


updated PIN screen wording

Signed-off-by: wadeking98<EMAIL_ADDRESS>Summary of Changes
Updated wording on PIN screen to match wireframes

Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

@wadeking98 Please pause on this ticket as there's a request to move away from the term "log in". Currently exploring other terminologies. Sorry about that.


Document + fix view API

This adds documentation to the view API where it was missing or incomplete.
Also:

I added specs where necessary and fixed some issues—all discovered while writing documentation.

I removed #concat, because it doesn’t make sense (there is no way to get a collection of items that isn’t already in the site).

Again, you can give me a :+1: later :)


Update munit-cats-effect-3 to 1.0.6

Updates org.typelevel:munit-cats-effect-3 from 0.13.1 to 1.0.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "munit-cats-effect-3" } ]

labels: test-library-update, semver-major

Superseded by #161.


Refactor maven pom detection system

MavenDetailsInfererEnhancer is way too complex.
We should split it by extracting all inner classes, and separate the pom lookup code from the dependency detection system.
Notice that the pom lookup code should be made more generic in order for order build tools to use it.

In fact, beside splitting that horrendous class into multiple small oens, it could be good to separate the maven pom detection from the maven pom processing in two different enhancers, then rewrite maven pom detection to also handle other package managers. This would impact the work on #234


Sequence tests failing intermittently in multiple test environments

Two sequence tests are failing intermittently in multiple test environments. These environments include Travis for incubator-openwhisk and incubator-openwhisk-cli. From the invoker logs, it seems the connection to the Docker container is being interrupted for some reason. This connection issue only appears to be happening for these two tests.
Test:
system.basic.WskCliSequenceTests.Wsk Sequence should invoke a sequence with an enclosing sequence action
Activation:
Starting test Wsk Sequence should invoke a sequence with an enclosing sequence action at 2019-03-09 19:46:22.141
check failed for activation 4ea9846da7a74593a9846da7a7b593e2: {"activationId":"4ea9846da7a74593a9846da7a7b593e2","annotations":[{"key":"topmost","value":true},{"key":"path","value":"guest/outer_sequence"},{"key":"kind","value":"sequence"},{"key":"limits","value":{"concurrency":1,"logs":10,"memory":256,"timeout":60000}}],"duration":77,"end":1552178797774,"logs":["725e6517035946769e651703595676fc","8c256b236d86401ea56b236d86e01ebc","74f728438193486eb728438193286e38"],"name":"outer_sequence","namespace":"guest","publish":false,"response":{"result":{"error":"The action did not produce a valid response and exited unexpectedly."},"status":"action developer error","statusCode":0,"success":false},"start":1552178785014,"subject":"guest","version":"0.0.1"}
Exception occurred during test execution: org.scalatest.exceptions.TestFailedException: None was not defined

Invoker logs:
[2019-03-10T00:46:25.775Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [DockerContainer] sending arguments to /guest/cat at ContainerId(acaa743e3037b969a6edc2c5daaadc33820a19b5befd22066a0a2d4592235406) ContainerAddress(<IP_ADDRESS>,8080) [marker:invoker_activationRun_start:863]
[2019-03-10T00:46:37.771Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [DockerContainer] running result: ConnectionError(akka.http.impl.engine.client.OutgoingConnectionBlueprint$UnexpectedConnectionClosureException: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests) [marker:invoker_activationRun_finish:12859:1]
[2019-03-10T00:46:37.771Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [ContainerProxy]  [marker:invoker_collectLogs_start:12859]
[2019-03-10T00:46:37.772Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [InvokerReactive] posted completion of activation 74f728438193486eb728438193286e38
[2019-03-10T00:46:39.791Z] [WARN] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [ContainerProxy] reading logs failed: org.apache.openwhisk.core.containerpool.logging.LogCollectingException: Failed to read logs [marker:invoker_collectLogs_error:14879:2020]
[2019-03-10T00:46:39.791Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [CouchDbRestStore] [PUT] 'whisk_local_activations' saving document: 'id: guest/74f728438193486eb728438193286e38, rev: null' [marker:database_saveDocument_start:14879]
[2019-03-10T00:46:39.794Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [InvokerReactive] posted completion of activation 74f728438193486eb728438193286e38
[2019-03-10T00:46:39.900Z] [INFO] [#tid_544c1e29dcfc92e24f6efddfbd5d276d] [CouchDbRestStore]  [marker:database_saveDocument_finish:14987:108]

Test:
system.basic.WskCliSequenceTests.Wsk Sequence should invoke a sequence with normal payload and payload with error field
Activation:
Starting test Wsk Sequence should invoke a sequence with normal payload and payload with error field at 2019-03-09 18:15:54.619
check failed for activation 4ce6142f01b941faa6142f01b9f1fa15: {"activationId":"4ce6142f01b941faa6142f01b9f1fa15","annotations":[{"key":"topmost","value":true},{"key":"path","value":"guest/sequence"},{"key":"kind","value":"sequence"},{"key":"limits","value":{"concurrency":1,"logs":10,"memory":256,"timeout":120000}}],"duration":7,"end":1552173376521,"logs":["dfe3abaeb8e04297a3abaeb8e0b297d0","22a841008a8d4c28a841008a8d0c2886"],"name":"sequence","namespace":"guest","publish":false,"response":{"result":{"error":"The action did not produce a valid response and exited unexpectedly."},"status":"action developer error","statusCode":0,"success":false},"start":1552173364482,"subject":"guest","version":"0.0.2"}
Exception occurred during test execution: org.scalatest.exceptions.TestFailedException: None was not equal to Some(2)

Invoker logs:
[2019-03-09T23:16:04.519Z] [INFO] [#tid_1029719d3373c5cb827dfbd4119b79c2] [DockerContainer] sending arguments to /guest/sort at ContainerId(b8ba4e6c7621076343b072f694e07564ae1b67bea078376c1adca16323b223d9) ContainerAddress(<IP_ADDRESS>,8080) [marker:invoker_activationRun_start:137]
[2019-03-09T23:16:04.611Z] [INFO] [#tid_1029719d3373c5cb827dfbd4119b79c2] [CouchDbRestStore]  [marker:database_saveDocument_finish:229:111]
[2019-03-09T23:16:16.517Z] [INFO] [#tid_1029719d3373c5cb827dfbd4119b79c2] [DockerContainer] running result: ConnectionError(akka.stream.StreamTcpException: The connection closed with error: Connection reset by peer) [marker:invoker_activationRun_finish:12135:2]
[2019-03-09T23:16:16.518Z] [INFO] [#tid_1029719d3373c5cb827dfbd4119b79c2] [ContainerProxy]  [marker:invoker_collectLogs_start:12136]
[2019-03-09T23:16:16.519Z] [INFO] [#tid_1029719d3373c5cb827dfbd4119b79c2] [InvokerReactive] posted completion of activation 22a841008a8d4c28a841008a8d0c2886
[2019-03-09T23:16:18.537Z] [WARN] [#tid_1029719d3373c5cb827dfbd4119b79c2] [ContainerProxy] reading logs failed: org.apache.openwhisk.core.containerpool.logging.LogCollectingException: Failed to read logs [marker:invoker_collectLogs_error:14155:2019]
[2019-03-09T23:16:18.538Z] [INFO] [#tid_1029719d3373c5cb827dfbd4119b79c2] [CouchDbRestStore] [PUT] 'whisk_local_activations' saving document: 'id: guest/22a841008a8d4c28a841008a8d0c2886, rev: null' [marker:database_saveDocument_start:14155]
[2019-03-09T23:16:18.538Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'whisk_local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:3935277]

Also observing intermittent failures of system.basic.WskCliSequenceTests.Wsk Sequence should invoke a sequence with an enclosing sequence action in other test environments.
Said test fails in around 60% of builds with different symptoms.

The test creates a sequence that embeds an inner sequence and invokes the outer sequence. This is the outer sequence:

Node.js action split.js
Inner sequence:

Node.js action sort.js
Node.js action head.js

Node.js action cat.js

First occurrence
Starting test Wsk Sequence should invoke a sequence with an enclosing sequence action at 2019-03-26 06:08:44.951
check failed for activation 732aec1803c74dfeaaec1803c79dfea5: {"activationId":"732aec1803c74dfeaaec1803c79dfea5","annotations":[{"key":"topmost","value":true},{"key":"path","value":"guest/outer_sequence"},{"key":"kind","value":"sequence"},{"key":"limits","value":{"concurrency":1,"logs":10,"memory":256,"timeout":60000}}],"duration":8,"end":1553594940277,"logs":["b75e5f0481fe45939e5f0481fec59326","182e22f3117244eeae22f31172a4eef8"],"name":"outer_sequence","namespace":"guest","publish":false,"response":{"result":{"error":"The action did not produce a valid response and exited unexpectedly."},"status":"action developer error","statusCode":0,"success":false},"start":1553594927723,"statusCode":0,"subject":"guest","version":"0.0.1"}
Exception occurred during test execution: org.scalatest.exceptions.TestFailedException: 2 was not equal to 3

Action head fails on the invoker:
[2019-03-26T10:08:48.168Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [InvokerReactive]  [marker:invoker_activation_start:546]
[2019-03-26T10:08:48.169Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [WhiskAction] [GET] serving from datastore: CacheKey(guest/head) [marker:database_cacheMiss_count:547]
[2019-03-26T10:08:48.169Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [CouchDbRestStore] [GET] 'whisk_local_whisks' finding document: 'id: guest/head, rev: 7-e6ec9961da944b1bfaa831528576f168' [marker:database_getDocument_start:547]
[2019-03-26T10:08:48.268Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [CouchDbRestStore]  [marker:database_getDocument_finish:646:99]
[2019-03-26T10:08:48.270Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(guest/head), tid cd5a17a35b4f00407fa37a10bb654f7e, state WriteInProgress
[2019-03-26T10:08:48.270Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [WhiskAction] write all done, caching CacheKey(guest/head) Cached
[2019-03-26T10:08:48.270Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [ContainerPool] containerStart containerState: warmed container: Some(ContainerId(2b35bef444d5d15976be0d92e763af65d2ae47d454b84b36c5b867abcd02802a)) activations: 1 of max 1 action: head namespace: guest activationId: 46d634d4530e44d79634d4530e64d72d [marker:invoker_containerStart.warmed_count:648]
[2019-03-26T10:08:48.270Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [RuncClient] running /usr/bin/docker-runc resume 2b35bef444d5d15976be0d92e763af65d2ae47d454b84b36c5b867abcd02802a (timeout: 10 seconds) [marker:invoker_runc.resume_start:648]
[2019-03-26T10:08:48.270Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:3900621:105]
[2019-03-26T10:08:48.271Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [CouchDbRestStore]  [marker:database_saveDocument_finish:648:106]
[2019-03-26T10:08:48.277Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [RuncClient]  [marker:invoker_runc.resume_finish:655:7]
[2019-03-26T10:08:48.278Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [DockerContainer] sending arguments to /guest/head at ContainerId(2b35bef444d5d15976be0d92e763af65d2ae47d454b84b36c5b867abcd02802a) ContainerAddress(<IP_ADDRESS>,8080) [marker:invoker_activationRun_start:656]
[2019-03-26T10:09:00.274Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [DockerContainer] running result: ConnectionError(akka.http.impl.engine.client.OutgoingConnectionBlueprint$UnexpectedConnectionClosureException: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests) [marker:invoker_activationRun_finish:12652:1]
[2019-03-26T10:09:00.274Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [ContainerProxy]  [marker:invoker_collectLogs_start:12652]
[2019-03-26T10:09:00.276Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [InvokerReactive] posted completion of activation 46d634d4530e44d79634d4530e64d72d
[2019-03-26T10:09:02.293Z] [WARN] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [ContainerProxy] reading logs failed: org.apache.openwhisk.core.containerpool.logging.LogCollectingException: Failed to read logs [marker:invoker_collectLogs_error:14671:2019]
[2019-03-26T10:09:02.293Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [CouchDbRestStore] [PUT] 'whisk_local_activations' saving document: 'id: guest/46d634d4530e44d79634d4530e64d72d, rev: null' [marker:database_saveDocument_start:14671]
[2019-03-26T10:09:02.293Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'whisk_local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:3914644]
[2019-03-26T10:09:02.293Z] [INFO] [#tid_sid_invokerNanny] [DockerClientWithFileAccess] running /usr/bin/docker rm -f 2b35bef444d5d15976be0d92e763af65d2ae47d454b84b36c5b867abcd02802a (timeout: 1 minute) [marker:invoker_docker.rm_start:3914644]
[2019-03-26T10:09:02.295Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [InvokerReactive] posted completion of activation 46d634d4530e44d79634d4530e64d72d
[2019-03-26T10:09:02.403Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:3914754:109]
[2019-03-26T10:09:02.403Z] [INFO] [#tid_cd5a17a35b4f00407fa37a10bb654f7e] [CouchDbRestStore]  [marker:database_saveDocument_finish:14781:110]
[2019-03-26T10:09:02.508Z] [INFO] [#tid_sid_invokerNanny] [DockerClientWithFileAccess]  [marker:invoker_docker.rm_finish:3914859:215]

Action is placed into a warm container that is resumed successfully.
Action run fails with ConnectionError in HTTP Client after 12 seconds.
No logs can be collected.
No further information available about container's state.
Container is removed immediately - takes 215 ms.

Second occurrence
Starting test Wsk Sequence should invoke a sequence with an enclosing sequence action at 2019-03-26 04:38:03.918
check failed for activation aa81d09541704fef81d0954170cfefac: {"activationId":"aa81d09541704fef81d0954170cfefac","annotations":[{"key":"topmost","value":true},{"key":"path","value":"guest/outer_sequence"},{"key":"kind","value":"sequence"},{"key":"limits","value":{"concurrency":1,"logs":10,"memory":256,"timeout":60000}}],"duration":72,"end":1553589499573,"logs":["2aa846f1c29541dea846f1c295a1de4b","3c68f7f61c444c42a8f7f61c441c428c","8939cadfd89142beb9cadfd89152be86"],"name":"outer_sequence","namespace":"guest","publish":false,"response":{"result":{"error":"The action did not produce a valid response and exited unexpectedly."},"status":"action developer error","statusCode":0,"success":false},"start":1553589486791,"statusCode":0,"subject":"guest","version":"0.0.1"}
Exception occurred during test execution: org.scalatest.exceptions.TestFailedException: None was not defined

Action cat fails on the invoker:
[2019-03-26T08:38:07.454Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [WhiskAction] [GET] serving from datastore: CacheKey(guest/cat) [marker:database_cacheMiss_count:765]
[2019-03-26T08:38:07.454Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [CouchDbRestStore] [GET] 'whisk_local_whisks' finding document: 'id: guest/cat, rev: 7-28c9cf070537ec00be21ac9d1a1f3571' [marker:database_getDocument_start:765]
[2019-03-26T08:38:07.512Z] [INFO] [#tid_sid_invokerNanny] [RuncClient] running /usr/bin/docker-runc pause c88fdaebf4a0ec4d2bbfdee632888531d3d753a378850d015be481b01b0dd142 (timeout: 10 seconds) [marker:invoker_runc.pause_start:4151667]
[2019-03-26T08:38:07.512Z] [INFO] [#tid_sid_invokerWarmup] [DockerClientWithFileAccess]  [marker:invoker_docker.run_finish:4151667:281]
[2019-03-26T08:38:07.521Z] [INFO] [#tid_sid_invokerNanny] [RuncClient]  [marker:invoker_runc.pause_finish:4151676:9]
[2019-03-26T08:38:07.554Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:4151709:106]
[2019-03-26T08:38:07.555Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [CouchDbRestStore]  [marker:database_saveDocument_finish:867:108]
[2019-03-26T08:38:07.559Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [CouchDbRestStore]  [marker:database_getDocument_finish:871:106]
[2019-03-26T08:38:07.562Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(guest/cat), tid 4d12ca932299918551dd6eb508ce1506, state WriteInProgress
[2019-03-26T08:38:07.562Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [WhiskAction] write all done, caching CacheKey(guest/cat) Cached
[2019-03-26T08:38:07.562Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [ContainerPool] containerStart containerState: warmed container: Some(ContainerId(36ffa8de6d348e283fe7132db793841ecd77c8370386b460ec0a866dccb1b96f)) activations: 1 of max 1 action: cat namespace: guest activationId: 8939cadfd89142beb9cadfd89152be86 [marker:invoker_containerStart.warmed_count:874]
[2019-03-26T08:38:07.562Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [RuncClient] running /usr/bin/docker-runc resume 36ffa8de6d348e283fe7132db793841ecd77c8370386b460ec0a866dccb1b96f (timeout: 10 seconds) [marker:invoker_runc.resume_start:874]
[2019-03-26T08:38:07.571Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [RuncClient]  [marker:invoker_runc.resume_finish:883:9]
[2019-03-26T08:38:07.572Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [DockerContainer] sending arguments to /guest/cat at ContainerId(36ffa8de6d348e283fe7132db793841ecd77c8370386b460ec0a866dccb1b96f) ContainerAddress(<IP_ADDRESS>,8080) [marker:invoker_activationRun_start:884]
[2019-03-26T08:38:19.571Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [DockerContainer] running result: ConnectionError(akka.stream.StreamTcpException: The connection closed with error: Connection reset by peer) [marker:invoker_activationRun_finish:12882:1]
[2019-03-26T08:38:19.571Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [ContainerProxy]  [marker:invoker_collectLogs_start:12883]
[2019-03-26T08:38:19.572Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [InvokerReactive] posted completion of activation 8939cadfd89142beb9cadfd89152be86
[2019-03-26T08:38:21.591Z] [WARN] [#tid_4d12ca932299918551dd6eb508ce1506] [ContainerProxy] reading logs failed: org.apache.openwhisk.core.containerpool.logging.LogCollectingException: Failed to read logs [marker:invoker_collectLogs_error:14903:2020]
[2019-03-26T08:38:21.591Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [CouchDbRestStore] [PUT] 'whisk_local_activations' saving document: 'id: guest/8939cadfd89142beb9cadfd89152be86, rev: null' [marker:database_saveDocument_start:14903]
[2019-03-26T08:38:21.592Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'whisk_local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:4165747]
[2019-03-26T08:38:21.592Z] [INFO] [#tid_sid_invokerNanny] [DockerClientWithFileAccess] running /usr/bin/docker rm -f 36ffa8de6d348e283fe7132db793841ecd77c8370386b460ec0a866dccb1b96f (timeout: 1 minute) [marker:invoker_docker.rm_start:4165747]
[2019-03-26T08:38:21.594Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [InvokerReactive] posted completion of activation 8939cadfd89142beb9cadfd89152be86
[2019-03-26T08:38:21.698Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:4165853:106]
[2019-03-26T08:38:21.698Z] [INFO] [#tid_4d12ca932299918551dd6eb508ce1506] [CouchDbRestStore]  [marker:database_saveDocument_finish:15010:107]
[2019-03-26T08:38:21.799Z] [INFO] [#tid_sid_invokerNanny] [DockerClientWithFileAccess]  [marker:invoker_docker.rm_finish:4165954:207]

Action is placed into a warm container that is resumed successfully.
Action run fails with ConnectionError in HTTP Client after 12 seconds.
No logs can be collected.
No further information available about container's state.
Container is removed immediately - takes 207 ms.

Third occurrence
Starting test Wsk Sequence should invoke a sequence with an enclosing sequence action at 2019-03-26 00:58:48.389
check failed for activation 7121c43b47f54ef4a1c43b47f58ef4e2: {"activationId":"7121c43b47f54ef4a1c43b47f58ef4e2","annotations":[{"key":"topmost","value":true},{"key":"path","value":"guest/outer_sequence"},{"key":"kind","value":"sequence"},{"key":"limits","value":{"concurrency":1,"logs":10,"memory":256,"timeout":60000}}],"duration":15,"end":1553576343838,"logs":["cde3897a233f4d9ba3897a233fcd9b13","a428967f8a4c4c13a8967f8a4c7c13d2"],"name":"outer_sequence","namespace":"guest","publish":false,"response":{"result":{"error":"The action did not produce a valid response and exited unexpectedly."},"status":"action developer error","statusCode":0,"success":false},"start":1553576331258,"statusCode":0,"subject":"guest","version":"0.0.1"}
Exception occurred during test execution: org.scalatest.exceptions.TestFailedException: 2 was not equal to 3

Action head fails on the invoker:
[2019-03-26T04:58:51.719Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [InvokerReactive]  [marker:invoker_activation_start:566]
[2019-03-26T04:58:51.719Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [WhiskAction] [GET] serving from datastore: CacheKey(guest/head) [marker:database_cacheMiss_count:566]
[2019-03-26T04:58:51.719Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [CouchDbRestStore] [GET] 'whisk_local_whisks' finding document: 'id: guest/head, rev: 7-b597b3ec3e1a0ef961b5b966bfd0ca26' [marker:database_getDocument_start:566]
[2019-03-26T04:58:51.784Z] [INFO] [#tid_sid_invokerNanny] [RuncClient] running /usr/bin/docker-runc pause fad6f20a72beb05b5ed11f6006315240ed43c868f7541625c6b0c5d16ad5822d (timeout: 10 seconds) [marker:invoker_runc.pause_start:3967168]
[2019-03-26T04:58:51.791Z] [INFO] [#tid_sid_invokerNanny] [RuncClient]  [marker:invoker_runc.pause_finish:3967175:7]
[2019-03-26T04:58:51.820Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:3967204:105]
[2019-03-26T04:58:51.820Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [CouchDbRestStore]  [marker:database_saveDocument_finish:667:106]
[2019-03-26T04:58:51.824Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [CouchDbRestStore]  [marker:database_getDocument_finish:671:105]
[2019-03-26T04:58:51.826Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [WhiskAction] write initiated on existing cache entry, invalidating CacheKey(guest/head), tid 5c0c2847af85296037ca4937d41e00c4, state WriteInProgress
[2019-03-26T04:58:51.827Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [WhiskAction] write all done, caching CacheKey(guest/head) Cached
[2019-03-26T04:58:51.827Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [ContainerPool] containerStart containerState: warmed container: Some(ContainerId(c2fb47704f86a5050b781d87f7f62b6049f2e0c1e73bd143a15da3a47f1c1866)) activations: 1 of max 1 action: head namespace: guest activationId: ea5a5bafc34d492b9a5bafc34db92bbd [marker:invoker_containerStart.warmed_count:674]
[2019-03-26T04:58:51.827Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [RuncClient] running /usr/bin/docker-runc resume c2fb47704f86a5050b781d87f7f62b6049f2e0c1e73bd143a15da3a47f1c1866 (timeout: 10 seconds) [marker:invoker_runc.resume_start:674]
[2019-03-26T04:58:51.834Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [RuncClient]  [marker:invoker_runc.resume_finish:681:7]
[2019-03-26T04:58:51.835Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [DockerContainer] sending arguments to /guest/head at ContainerId(c2fb47704f86a5050b781d87f7f62b6049f2e0c1e73bd143a15da3a47f1c1866) ContainerAddress(<IP_ADDRESS>,8080) [marker:invoker_activationRun_start:682]
[2019-03-26T04:59:03.835Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [DockerContainer] running result: ConnectionError(akka.http.impl.engine.client.OutgoingConnectionBlueprint$UnexpectedConnectionClosureException: The http server closed the connection unexpectedly before delivering responses for 1 outstanding requests) [marker:invoker_activationRun_finish:12682:1]
[2019-03-26T04:59:03.835Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [ContainerProxy]  [marker:invoker_collectLogs_start:12682]
[2019-03-26T04:59:03.837Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [InvokerReactive] posted completion of activation ea5a5bafc34d492b9a5bafc34db92bbd
[2019-03-26T04:59:05.854Z] [WARN] [#tid_5c0c2847af85296037ca4937d41e00c4] [ContainerProxy] reading logs failed: org.apache.openwhisk.core.containerpool.logging.LogCollectingException: Failed to read logs [marker:invoker_collectLogs_error:14701:2019]
[2019-03-26T04:59:05.854Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [CouchDbRestStore] [PUT] 'whisk_local_activations' saving document: 'id: guest/ea5a5bafc34d492b9a5bafc34db92bbd, rev: null' [marker:database_saveDocument_start:14701]
[2019-03-26T04:59:05.854Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore] 'whisk_local_activations' saving 1 documents [marker:database_saveDocumentBulk_start:3981238]
[2019-03-26T04:59:05.855Z] [INFO] [#tid_sid_invokerNanny] [DockerClientWithFileAccess] running /usr/bin/docker rm -f c2fb47704f86a5050b781d87f7f62b6049f2e0c1e73bd143a15da3a47f1c1866 (timeout: 1 minute) [marker:invoker_docker.rm_start:3981239]
[2019-03-26T04:59:05.858Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [InvokerReactive] posted completion of activation ea5a5bafc34d492b9a5bafc34db92bbd
[2019-03-26T04:59:05.958Z] [INFO] [#tid_sid_dbBatcher] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:3981342:104]
[2019-03-26T04:59:05.958Z] [INFO] [#tid_5c0c2847af85296037ca4937d41e00c4] [CouchDbRestStore]  [marker:database_saveDocument_finish:14805:104]
[2019-03-26T04:59:06.088Z] [INFO] [#tid_sid_invokerNanny] [DockerClientWithFileAccess]  [marker:invoker_docker.rm_finish:3981472:233]

Action is placed into a warm container that is resumed successfully.
Action run fails with ConnectionError in HTTP Client after 12 seconds.
No logs can be collected.
No further information available about container's state.
Container is removed immediately - takes 233 ms.

I manged to gather the content of a failing activation. One can see that the action fails very fast after 3 ms. Which might point to misformed parameter input.
{
  "_id": "guest/d083bb898256448583bb8982568485c1",
  "_rev": "1-ad3d724be2302d449e7ee9e4661d2f7e",
  "activationId": "d083bb898256448583bb8982568485c1",
  "annotations": [
    {
      "key": "causedBy",
      "value": "sequence"
    },
    {
      "key": "path",
      "value": "guest/head"
    },
    {
      "key": "kind",
      "value": "nodejs:6"
    },
    {
      "key": "timeout",
      "value": false
    },
    {
      "key": "limits",
      "value": {
        "concurrency": 1,
        "logs": 10,
        "memory": 256,
        "timeout": 120000
      }
    }
  ],
  "cause": "b6e199a275bf4e50a199a275bfee505a",
  "duration": 3,
  "end":<PHONE_NUMBER>283,
  "entityType": "activation",
  "logs": [
    "2019-03-28T08:50:39.301Z       stderr: There was an issue while collecting your logs. Data might be missing."
  ],
  "name": "head",
  "namespace": "guest",
  "publish": false,
  "response": {
    "result": {
      "error": "The action did not produce a valid response and exited unexpectedly."
    },
    "statusCode": 2
  },
  "start":<PHONE_NUMBER>280,
  "subject": "guest",
  "updated":<PHONE_NUMBER>302,
  "version": "0.0.1"
}


Looking for new maintainer

Due to moving jobs, I haven't been using dokku actively since 2020 and so I am no longer the right person to maintain this ansible role.
This role is looking for a new maintainer; happy to help someone new get started

If anyone wants to start maintaining this project, please let me know. For anyone who has yet to have commits land in the repo, I'll review PRs while you get your feet wet before granting maintainer status.


Exported SVG images are flipped upside down

Apparently just negating all of the y-coordinates in SVG exporting "fixes" this, producing an export with the same orientation as the original tree (from this branch):

That being said: I have no idea why this works. It might be the case that somewhere else in Empress' drawing code is flipping the tree vertically at some point, and the SVG export was actually "correct" all along ... not that it really matters, I guess, but it should be fixed soon at least ¯\(ツ)/¯

@kwcantrell any idea why coordinates might be inverted in the SVG export but not in the rendering?


Add scroll listener to nz-table

What problem does this feature solve?
NzTable doens't expose (scroll) from table. This feature will expose (scroll).
When working with large data sets the performance of nzTable doesn't cut it. We have a view with 200  rows and 20  columns, and each entry has a checkbox. I guess this isn't standard use of nzTable, we've used nzTable before with smaller data sets and it works fine. But for this use-case I need to know where in the table the user is, so that I can do some performance enhancements with my dataset.
What does the proposed API look like?
 <nz-table
      ...
      (nzScroll)="scrolled($event)">...

scrolled({x: number, y:number}) {
       ...
}

By exposing the location of the view I can reduce draw events for data that isn't displayed. It will also enable dynamic loading when I would want to prefetch data in advance.

we will support virtual scroll in the next version.

I think expose (scroll) from table is also necessary for some situation, as for using NextToken params to make pagination , onScroll can be used for loading next page.

@charlescc has CdkVirtualScrollViewport been sufficient for you? I'm looking around at what is the better solution to avoid having massive (10000+ elements) arrays in memory after the user keep scrolling down.

And btw, I'm still not natively able to find the field cdkVirtualScrollViewport.


Functional: Improvements and fixes around sparse fields

Embedded (added tests and fixed implementation):

slice a shifted sparse field
shift a sliced sparse field
multiple sparse dimensions

gtfn:

wip: pass to correctly lower the above examples

Status of this PR: the changes in embedded will come as a separate PR (once #838 is merged), the changes in cpp codegen and the pass need improvement. I'll keep open as reminder.

Will be addressed in a different way by removal of partial offsets


Groups:  Ability to add groups for targets

So we can get the NPC's to target players in perm groups.

There is also a issue with 1.9 nocheatplus, the player is unable to get hurt by melee attacks.
Finally, there is no EVENT: paremeter. Aka, EVENT:PVP  or EVENT:PVNPC .

@LoreCase For melee: Toggle the 'workaround damage' in your config. For the other one, please post a new issue.

Nevermind the new issue, I added event targets just now.


OAK-9705 Explain Query tool doesn't show the correct ES query when su…

…ggest queries are made

@fabriziofortino  Thanks! let me use a new ticket and PR for a more generic solution for all explain issue. Let me close this PR since it's only cover suggestion query issue.


turkish added

@ibrahimcetin Thank you for the translation I will merge it soon!

Thanks

Why did you close the pull request, I haven't merged it yet!

Oh sorry I didn't know.


[Bug]: ESM + Typescript doesn't work while transpiling testEnvironment

Version
29.1.1
Steps to reproduce

Clone my repo https://github.com/luiz290788/jest-esm-typescript
run NODE_OPTIONS="--experimental-vm-modules" npx jest
test will fail with message:

 FAIL  ./my-test.test.ts
  ● Test suite failed to run

    my-environment.ts:4:13 - error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.

    4 console.log(import.meta.url)

Expected behavior
Expect the testEnvironment to be transpiled as expected using ESM.
Actual behavior
testEnvironment is transpiled as commonjs
Debug log
I tried to post the logs but github complained saying it was too long.
Additional context
It looks like the transpilation happens normally for the tests but the useESM is not affecting the testEnvironment.
Environment
System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M1
  Binaries:
    Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
  npmPackages:
    jest: ^29.6.2 => 29.6.2

Any updates on this?

@luiz290788 @ckrauterlovescoffee this is a bug with Jest. After debugging I found out that Jest never asks ts-jest to process custom testEnvironment file in ESM mode.

Thanks for the info 👍


Altering the path of the survey causes problems

When the user alters the path of the survey the data model should also be altered so that redundant data (data from slides that are not on the current path) is removed from the data model. Currently it seems that this does not fully work. Investigate and fix.

The problem seems to be that multiple choice slides that have a target slide defined for them does not remove that slide from the session model when unselected.

This has been fixed.


Copy to clipboard

closes : https://github.com/zakodium-oss/dom-to-html/issues/7

@wadjih-bencheikh18 there are conflicts since I merged your other PR. Can you fix them please?

Can you fix them please?

Fixed


fix syntax error (missing comma)

LSF deployment example is missing a comma between kwargs. I added it.

Thanks @d-v-b!


Consider adopting a stateless PRNG API

While I'm not familiar with the Philox pseudo-random number generator (PRNG) in Numpy (it does look well suited to generation in a distributed setting), I think adopting a stateless PRNG API will be useful long-term for cubed. In addition to working in a parallel/distributed setting, Cubed also has to consider how it can best perform computation with vectorization and hardware acceleration (#304, #490).
I'm quite persuaded by the design of Jax's PRNG system that statelessness (if not also splittable). I belive this approach will prove useful in the long-term.
https://github.com/google/jax/blob/main/docs/jep/263-prng.md
FWIW, I believe any ML framework will have to have special cases for randomness, given the constraints of hardware (GPUs/TPUs).
https://pytorch-dev-podcast.simplecast.com/episodes/random-number-generators

FWIW, I believe any ML framework will have to have special cases for randomness, given the constraints of hardware (GPUs/TPUs).

I agree. That's why random number generation is not a part of the Array API, and almost certainly won't be: https://github.com/data-apis/array-api/issues/431.
For Cubed I think this means that the random number functions are less fixed than the rest of the API, so I'd be open to changing them or adding new ones if we need to. The main use case is for generating test data, so they can be quite simple.
What do you think we need for JAX? Could we write an implementation of cubed.random.random that delegates to JAX (if the backend array API is JAX) - or do we need to have a different signature?

I'm not totally sure what's needed for JAX. For now (running on a single machine with a single device), random is working well enough, given we can convert the arrays. However, I suspect that when the hardware arrangement changes (e.g. multiple GPUs per machine), things could go wrong.
The Array API link points something interesting out to me: Namely, that PyTorch uses the same RNG that you're using here. This leaves me a bit hopeful that the problem I'm anticipating could just work itself out. I bet, though, that anytime random is used on Jax arrays, it will have to be functionalized, and thus require a different signature.

If you haven't already, would encourage reading the proposed SPEC 7: https://github.com/scientific-python/specs/pull/180


gokr-packer exiting with status 2 after *grpc.ClientConn has no field or method State

Trying to write scan2drive on to SD card. After below error old gokrazy image and apps remain.
# gokr-packer -overwrite=/dev/mmcblk0 github.com/stapelberg/scan2drive

2017/05/03 13:15:47 packer.go:225: installing [github.com/stapelberg/scan2drive]
2017/05/03 13:15:47 gotool.go:60: getting incomplete packages [github.com/stapelberg/scan2drive]
# github.com/stapelberg/scan2drive
go/src/github.com/stapelberg/scan2drive/main.go:410: scanConn.State undefined (type *grpc.ClientConn has no field or method State)
2017/05/03 13:19:02 packer.go:228: exit status 2

This is caused by version skew between the GRPC version on my machine and newer GRPC. I’ll correct this later. In the meantime, you could try git reset --hard 38df39bad1892a821a4feac7f7506a19a13661f2 in $(go env GOPATH)/src/google.golang.org/grpc.


Produce a real Error object on HTTP errors

When an HTTP 4XX or 5XX error is returned, the payload will be a PNG image returned by Binance, instead of passing this back as the error we send an error object with the response code. This allows error handling to be implemented, including the ability to respond to rate limits.

Thanks for the code, I just recently fixed the promise code to do something similar.


Report flag videos by thumbnail without having to watch them

At the moment I have to click to watch a video to report it.
I'd like to be able to flag mature content without having to click on it.
Next to the download icon there could be the flag icon.

Thanks for filling the feature request!


Return mutable lists from doDiff

Collections.singletonList returns an immutable list, yet DifferentialFunction.diff expects that the list is mutable. If it isn't, it blows up when trying to run SameDiff.execBackwards.
doDiff returns mutable lists in other contexts as well, so this shouldn't violate any implicit assumptions.

DifferentialFunction.diff expects that the list is mutable

Perhaps we should add a check to DifferentialFunction class for this? (i.e., a try/catch with useful exception)... it's way too easy to return a non-mutable list in practice then have to spend time debugging it. TBH I might even consider allowing users to return anything, and handle non-mutability in execBackwards - that would be easier for users and less error prone...
Also, Arrays.asList is mutable in that you can replace elements via set(int, T) but not add elements via add(T)... not sure if we need that functionality?

https://github.com/deeplearning4j/nd4j/blob/master/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/functions/DifferentialFunction.java#L516
 public List<SDVariable> diff(List<SDVariable> i_v1) {
        List<SDVariable> vals = doDiff(i_v1);
        if(vals == null){
            throw new IllegalStateException("Error executing diff operation: doDiff returned null for op: " + this.opName());
        }

        val outputVars = args();
        for(int i = 0; i < vals.size(); i++) {
            SDVariable var = outputVars[i];
            SDVariable grad = var.getGradient();
            if(grad != null) {
                SDVariable gradVar =  f().add(grad, vals.get(i));
                vals.set(i, gradVar);
                sameDiff.setGradientForVariableName(var.getVarName(), gradVar);
            } else {
                SDVariable gradVar = vals.get(i);
                sameDiff.updateVariableNameAndReference(gradVar,var.getVarName() + "-grad");
                sameDiff.setGradientForVariableName(var.getVarName(), gradVar);
                sameDiff.setForwardVariableForVarName(gradVar.getVarName(),var);

            }
        }

        return vals;
    }

It uses only .set in there, and only in a special case. I've used Arrays.asList as it was used in other places where more than a single element was returned.
Handling the case in there might also be viable, I just wanted to skip a copy :)

It uses only .set in there, and only in a special case. I've used Arrays.asList as it was used in other places where more than a single element was returned.

Yeah, ok. Sounds reasonable.
At the very least, I still want a try/catch (with useful exception) on the .set() call though, to catch the immutable case. People should be able to implement their own ops without having to understand and debug issues like that.

@AlexDBlack something like that?

@treo yep, great 👍


Add Interrupt Support to PYNQ

Adds support to PYNQ. Consists of several sub-units of work

Updated hardware design to include interrupts. Also added IOP/DDR interconnect (Parimal)
Add AXI interrupt controller drivers
Update PL class to keep track of interrupts and parse interrupt connections from overlay TCL files
Add user-facing Interrupt class which acts similarly to an asyncio.Event but relies on the hardware being cleared to reset it
Update Switch and Button classes to provide asyncio and blocking function calls
New example notebook to demonstrate the Button/Switch APIs

I would agree with the organisation. I think keeping the parsing and driver code as separate classes is a good idea. I contemplated moving the parsing code into the PL class as that is the sole user of that particular bit of logic, but it is fairly long and detracts from the main purpose of the class hence I separated it out. It could live as a separate function inside of the interrupt source file.
The user facing code boils down to the single class Interrupt and that is the only class brought into the pynq.driver namespace (soon to be pynq namespace). Separating out the Interrupt, InterruptController and UIO classes simplifies a lot of the implementation as the classes can be used polymorphically as parents of each other.
I propose moving all of the interrupt related code into a single interrupt.py at pynq level with all but the Interrupt class and a parsing function prefixed with an underscore to denote the private nature of the implementation details. The parsing function would be imported explicitly by pl.py and the toplevel init.py would only bring in Interrupt. Thoughts?


Validation is ignored when you tab out of a cell to the next cell

I have verified on the demo the same behaviour, to replicate go to:
http://allenfang.github.io/react-bootstrap-table/example.html#celledit
Scroll to the bottom of the page.  Job Status must be a number, but if I type 'abc' and hit tab it saves 'abc'.  If I hit enter the validation error shows up.  Many users will just tab to the next cell.
I am using "react-bootstrap-table": "^3.1.3"

@ditmarh, thanks, I'll check it out 👍

I found a workaround... if you return false from the beforeSaveCell, the  save is cancelled... so, you can do something like this:
  _beforeSaveCell(row, cellName, cellValue) {
    let validationResult;
    if (cellName === "foo") {
      validationResult = this._validateFoo(cellValue, row);
    }
    if (cellName === "bar") {
      validationResult = this._validateBar(cellValue, row);
    }
    if (!validationResult.isValid) {
      return false;
    }
    // anthing else...
  }

And in your render:
    const cellEditOption = {
      mode: 'click',
      beforeSaveCell: this._beforeSaveCell.bind(this)
    };

    return (
            <BootstrapTable data={rows} cellEdit={cellEditOption}>
              <TableHeaderColumn dataField="id" isKey={true} editable={false} hidden />
              <TableHeaderColumn dataField="foo" editable={{validator: this._validateFoo}}>Foo</TableHeaderColumn>
              <TableHeaderColumn dataField="bar" editable={validator: this._validateBar}}>Bar</TableHeaderColumn>
            </BootstrapTable>
    );

Waiting for final solution... :smile:

I'll try to fix it in these couple day, and thanks @Maethorin's workaround and yes, return a bool value will perform the save cell can be saved or not.

Fixed on v3.2.2, please have a look :)  thanks

Yeah! validation is working now with TAB keys.
I just got another problem that I'm still trying to figure it out to be more precise. When I press the TAB key in an invalid cell, the validation get the error but the input field lose the focus...

When I press the TAB key in an invalid cell, the validation get the error but the input field lose the focus...

I think it's a normal behavior, because you key down the TAB so cause focus out from the input tag.

Thanks Allen, works great now!


Apply $zindex-fixed to position-fixed utility class

It appears that position-fixed unlike fixed-bottom and fixed-top does not get the $zindex-fixed variable set to it. All of them are part of the position utilities and use fixed positioning.
I would expect them to be consistent but I'm not sure this is a bug so I'm creating this as a feature request.
https://getbootstrap.com/docs/4.3/layout/overview/#z-index
Can this get mentioned in the documentation to avoid confusion if this is expected behavior?

Utilities are generally single property-value pairings, so this would go against that approach. Thoughts from @MartijnCuppens on helper vs utilities here for v5?

Yup, we've split the documentation to make it clearer in v5:
https://twbs-bootstrap.netlify.com/docs/4.3/helpers/position/
&
https://twbs-bootstrap.netlify.com/docs/4.3/utilities/position/

Cool, sounds like it's been fixed in 5 with documentation. Works for me.


'hook_add' function get called twice on lazy plugins

Warning:  I will close the issue without the minimal init.vim and the reproduce ways.
Problems summary
Hi:
Looks like hook_add get called twice on lazy plugins. With the minimal script below I get two echos when I start nvim:
$  nvim
tern
tern
Press ENTER or type command to continue

If I remove the on_ft condition then only one message is shown.
Expected
Only one "tern" message when I start nvim
Environment Information

OS: Mac OSX 10.11
Vim version: neovim 0.1.5

Provide a minimal .vimrc with less than 50 lines (Required!)
" Your minimal .vimrc
set runtimepath^=~/path/to/dein.nvim/
call dein#begin(path)

function! s:tern_for_vim_setup()
  echo "tern"
endfunction

call dein#add('ternjs/tern_for_vim', {
      \ 'on_ft': 'javascript',
      \ 'hook_add':function('s:tern_for_vim_setup')
      \})

call dein#end()

The reproduce ways from Vim starting (Required!)

put the minimal script
start nvim
two "tern" messages are shown

Screen shot (if possible)
Upload the log messages by :redir and :message

I have tested your minimal init.vim.
But I cannot reproduce it.
Please check your minimal init.vim.

Sorry for the trouble, I figured out it was an issue with my init.vim

OK


Tests for onboarding steps

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4823  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malmstein and the rest of your teammates on  Graphite


signing: add an edge channel

Add a new channel edge for experimental features.

Hmm, you're right. transfer.sh is not used at all. Maybe it's just leftover.
Will close.


Fix weird port out of bound error

and then remove that hack https://github.com/mhsjlw/node-raknet/blob/master/src/createServer.js#L36

https://github.com/PocketMine/RakLib/issues/16 ?


Shall we keep showOnEmptyResults prop?

The sortBy filter has a param showOnEmptyResults to show the filter even if no results?

removed


Enable desktop notifications for keybase-gui

Motivation for this change
Add libnotify as a build input to make message notifications work.
Things done

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

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

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

@GrahamcOfBorg build keybase-gui

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: keybase-gui
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: keybase-gui
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79
shrinking /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/libnode.so
shrinking /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/Keybase
shrinking /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/libffmpeg.so
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79/bin
patching script interpreter paths in /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79
/nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/post_install.sh: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79...
/nix/store/w4p9mdcaxgqll0k597rxqfj2i4zaxk3y-keybase-gui-1.0.44-20180223200436.9a9ccec79

Success on x86_64-linux (full log)
Attempted: keybase-gui
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79
shrinking /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/libffmpeg.so
shrinking /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/Keybase
shrinking /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/libnode.so
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79/bin
patching script interpreter paths in /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79
/nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79/share/keybase/post_install.sh: interpreter directive changed from " /usr/bin/env bash" to "/nix/store/q1g0rl8zfmz7r371fp5p42p4acmv297d-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79...
/nix/store/nidkdzgn2fk2lvc24sqj5r2x36vhqn66-keybase-gui-1.0.44-20180223200436.9a9ccec79

also in 18.03: a903faf1d55


Sync: extensions gone when deleting server while running

Steps to Reproduce:

open selfhost web
delete the selfhost web folder
go back to web
click e.g. on extensions viewlet
check synced data -> extensions gone

I'm not sure what selfhost web means these days or what the selfhost web folder is

I tried to hit this scenario by running the server myself but I don't really understand it, and I just get this

Please ping me on slack, I can help you set up selfhost on web.

Works fine now it seems, the log shows this error:
[2020-08-17 09:25:35.109] [userDataSync.log] [error] ["Error: ENOENT: no such file or directory, scandir '/Users/bpasero/Development/Microsoft/vscode-server-darwin-web/extensions'","    at /Users/bpasero/Development/Microsoft/vscode-server-darwin-web/out/vs/server/remoteExtensionHostAgent.js:463:538","    at async Promise.all (index 0)"]
[2020-08-17 09:25:35.122] [userDataSync.log] [error] extensions: ENOENT: no such file or directory, scandir '/Users/bpasero/Development/Microsoft/vscode-server-darwin-web/extensions'


Add group tests

Completed: -

UniqueGroupListTest
GroupTest
GroupNameTest
JsonAdaptedGroupTest

Begun: -

CreateGroupCommandParser
DeleteGroupCommandParser

To do: -

CreateGroupCommand
DeleteGroupCommand
ArgumentTokenizer
AddressBook

Codecov Report

Merging #127 (f46c337) into master (2da9725) will increase coverage by 4.47%.
The diff coverage is 64.44%.

@@             Coverage Diff              @@
##             master     #127      +/-   ##
============================================
+ Coverage     60.36%   64.84%   +4.47%
- Complexity      398      434      +36
============================================
  Files            81       81
  Lines          1549     1570      +21
  Branches        165      172       +7
============================================
+ Hits            935     1018      +83
+ Misses          573      507      -66
- Partials         41       45       +4

Impacted Files
Coverage Δ

.../seedu/address/logic/parser/AddressBookParser.java
86.36% <0.00%> (ø)

...address/logic/parser/CreateGroupCommandParser.java
0.00% <0.00%> (ø)

...address/logic/parser/DeleteGroupCommandParser.java
0.00% <0.00%> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
85.36% <50.00%> (ø)

...n/java/seedu/address/storage/JsonAdaptedGroup.java
64.51% <70.58%> (+40.70%)
:arrow_up:

src/main/java/seedu/address/model/group/Group.java
73.52% <100.00%> (+73.52%)
:arrow_up:

...main/java/seedu/address/model/group/GroupName.java
71.42% <100.00%> (+71.42%)
:arrow_up:

src/main/java/seedu/address/model/person/Name.java
76.92% <100.00%> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
100.00% <100.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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


tensorflow.python.framework.errors.InvalidArgumentError: input_1:0 is both fed and fetched.

Working on filters: [292]
Traceback (most recent call last):
File "/home/wangxin/code/generative_seed/guiding_saliency.py", line 35, in
heatmap = visualize_saliency(model, layer_idx, [pred_class], seed_img, text=utils.get_imagenet_label(pred_class))
File "/home/wangxin/.local/lib/python2.7/site-packages/vis/visualization.py", line 146, in visualize_saliency
grads = opt.minimize(max_iter=1, verbose=False, jitter=0, seed_img=seed_img)[1]
File "/home/wangxin/.local/lib/python2.7/site-packages/vis/optimizer.py", line 152, in minimize
loss, grads, wrt_value = self.overall_loss_grad_wrt_fn([seed_img, 0])
File "/home/wangxin/.local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1943, in call
feed_dict=feed_dict)
File "/home/wangxin/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 372, in run
run_metadata_ptr)
File "/home/wangxin/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 636, in _run
feed_dict_string, options, run_metadata)
File "/home/wangxin/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 708, in _do_run
target_list, options, run_metadata)
File "/home/wangxin/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 728, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors.InvalidArgumentError: input_1:0 is both fed and fetched.
I saw this while i'm running the example on https://raghakot.github.io/keras-vis/visualizations/attention/. Could someone help me figure it out?

 Can you try this again?
It would also be helpful to post the full code that fails. Perhaps the docs are simply out of date...

It works now. Thx @raghakot
I could not find out the code I used for producing the error...
I'll remember to do this in the future.

cool.


(minikube) is outdated

Checklist

[X] I have checked the moderation queue that no new version has been submitted (only visible when logged in), or the submitted package version has failed the automated checks.

Please navigate to the following link to view the moderation queue.

[X] I have verified that the new version is a stable release.
[X] I have looked to see if there are any Bug reports that prevents a new version being submitted and that no existing Outdated Reports have been created.
[X] I have verified the new version has a Windows binary (EXE or MSI installer, Zip or other archive, etc).

New Software Version
1.30.0
Download location
https://github.com/kubernetes/minikube/releases/download/v1.27.0/minikube-windows-amd64.exe
Package Page
https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/minikube

This package is outdated because the update script is currently broken.
This is due to a wider issue that relates to a recently rolled out change with GitHub's Release pages. In the interest of DRY, I'll just link to my thoughts for a similarly affected package: https://github.com/chocolatey-community/chocolatey-packages/issues/1995#issuecomment-1275548394
In this case, it looks like we're only scraping a version number. We might be able to get away with scraping this from the tag's name.
Core maintainers: perhaps we ought to consider a larger meta issue if a common fix is preferable for all affected packages.

@brogers5 I've done that over at #2007 and added this package to that issue.


Add some kind of history of last selected commits and scroll positions and last checked out branches

so it's possible to quickly go to the last places where you were at

implemented in v0.1.13


Integration with GMail fails when GMail "purples" part of the armored message with a previous message in the thread

From<EMAIL_ADDRESS>on June 14, 2014 17:57:40
Steps to reproduce:
1. send an encrypted message
2. reply to that message
3. try to decrypt it
What happens?
GMail "purples" part of the message (if it's signed, it could be what was said before, if it's encrypted it could be the Charset/Version headers).
What do you expect to happen instead?
End-To-End should extract the right text. Or GMail shouldn't add extra new lines, we should fix either (or both).
Original issue: http://code.google.com/p/end-to-end/issues/detail?id=70

Looks fixed with the current build.


Issue with running Python unit tests

Environment data

VSCode Version: May 2018 (1.24)
Extension version (available under the Extensions sidebar): 2018.6.0
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): 2.7.14
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): NA
Relevant/affected Python packages and their versions: NA

Actual behavior
I use VS code for my Python projects and we have unit tests written using Python's unittest module. I am facing a weird issue with debugging unit tests.
Let's say I have 20 unit tests in a particular project.
I run the tests by right clicking on a unit test file and click 'Run all unit tests' After the run is complete, the results bar displays how many tests are passed and how many are failed. (e.g. 15 passed, 5 failed).
And I can run/debug individual test because there is a small link on every unit test function for that. If I re-run the tests from same file, then the results bar displays the twice number of tests. (e.g. 30 passed, 10 failed)
Also the links against individual test functions disappear. So I cannot run individual tests.
The only way to be able to run/debug individual tests after this is by re-launching the VS code.
Expected  behavior
Re-run of unit tests should not double the number.
Individual test functions debugging should be possible.
Steps to reproduce:
Run the python tests by right clicking on a unit test file and click 'Run all unit tests'.
After the run is complete, the results bar displays how many tests are passed and how many are failed. (e.g. 15 passed, 5 failed). And you can run/debug individual test because there is a small link on every unit test function for that.
Now re-run the tests from same file, then the results bar displays the twice number of tests.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting the classic analysis engine.
##########Linting Output - pylint##########
No config file found, using default configuration

Your code has been rated at 9.95/10 (previous run: 9.72/10, +0.23)
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
[Extension Host] Python Extension: Error: read ECONNRESET
t.log @ workbench.main.js:sourcemap:270

I believe I have encountered the test-count bug, but I've not seen the test 'Code Lens' disappear during testing.

I believe I have encountered the test-count bug,

@d3r3kk please could you update the issue with instructions to replicate this.

I still face this issue! For me, every time I re-run the unit tests from a file, the count doubles and 'Code Lens' (didn't know this term, nice one though!) disappears.

A reproducer thanks to @elainedi:
import unittest

class PassingTest(unittest.TestCase):

    def test_passing(self):
        self.assertEqual(42,42)

    def test_passing_still(self):
        self.assertEqual("silly walk", "silly walk")

class FailingTest(unittest.TestCase):

    def test_failure(self):
        self.assertEqual(42,-13)

    def test_failure_still(self):
        self.assertEqual("I'm right","No I am")

This reports 2 passes and 2 failures the first time you run all tests, 4/4 the second time.

+1 Reproduced this as well. Never had this issue in previous versions.
Mac OS Sierra 10.12.6
VSCode Version 1.25.1 (1.25.1)

And if you run "All Tests", run just the succeeding tests through the code lens, and then run "All Tests" again, it is reported not tests ran.
In both failure cases the proper tests are actually run, the results are just reported incorrectly.

Notes for tomorrow-d3r3kk:
I have found the source of the trouble. In my latest "fix", when we run tests I register all the event listeners on the server object here.
In the socket.disconnected callback I unregister everything.
This works when we are running a single file/suite/test, but it fails when we run multiple files, multiple suites (which basically amounts to files), or multiple tests, because socket.disconnect is encountered after the first file/suite/test is run and no subsequent tests will be captured!
I will rethink this design tonight and see if I cannot come up with a more useful solution (such as queue-ing up test jobs, or rethinking how we register and unregister tests).


arp-scan: fix homepage url

Motivation for this change
Fix homepage url. Related to #30636.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Thanks. Having separate commits is good. However, could you still merge these similar commits in a single PR request.

@FRidh Of course. So, do I close all of these?

I agree that it would have been better to have these in a single PR.
Regardless, I've marged a few of them into master (including this in 01e47d6bb5379cf78c5c72276a88e8219dd829e9).


Download file (when response is a file)

How to achieve the equivalent of this from Postman?

Related to #539
You can check my PR #766 if it is OK for you or you want to have it working exactly as on your screenshot. But it is only one additional button to be added to my implementation and the rest is the same, so it shouldn't be complicated to implement it.

Closing this issue as the pull request (https://github.com/usebruno/bruno/pull/766) implementing the feature has already been merged.


Update GreetingController.java

@chanmi910: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
24a221cdcdb09e4dd6e2b368a5df3fb2540703b2
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


[Bug]: Test REST API issue

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Test REST API issue
Steps To Reproduce
Test REST API issue
Public Sample App
No response
Environment
Production
Severity
Low (Cosmetic UI issues)
Issue video log
No response
Version
Cloud - 1.23.0

Closing this as it was simply created to test the tags


plots not appearing (but no error, and it looks like there is a result; result is invisible) with plotly in jupyter lab

labels = list(mexico.columns)[2:5]
values = mexico.iloc[0,2:5]
colors = ['coral','mediumorchid','skyblue']
fig = go.Figure(data=[go.Pie(labels=labels, values=values,  pull=[0, 0, 0.2, 0])])
fig.update_traces(hoverinfo='label+percent', textinfo='label+value', showlegend = False, textfont_size=20,
marker=dict(colors=colors, line=dict(color='#000000', width=2)))
fig.show()

Plotly renderer is supported by Plotly directly in that repository. Would you mind reporting the issue there?


gfx942 80cu F8F8S TN GridBased + Equality logic

hipblaslt-test (no option) passed on gfx942 80 cu node.
[----------] Global test environment tear-down
[==========] 35886 tests from 13 test suites ran. (1729309 ms total)
[  PASSED  ] 35886 tests.
hipBLASLt version: 1000
command line: ./build/release/clients/staging/hipblaslt-test

Lib size change observation.
Command: sudo du --max-depth=0 --block-size=M build/release/hipblaslt-install/
Before: 7804M   build/release/hipblaslt-install/
After: 7932M   build/release/hipblaslt-install/
Commit id (before): fedb492f6e709aa3d57a6dcbbe2cca994fffe587
(gfx942 only (-a gfx942))

Please get approval from your local team first

Some CI tests failed but seems like unrelated to my change.
I ran hipblaslt test on gfx942 (not 80cu version) with all arch build.
All passed.
[----------] Global test environment tear-down
[==========] 35886 tests from 13 test suites ran. (1822863 ms total)
[  PASSED  ] 35886 tests.
hipBLASLt version: 1000
command line: ./build/release/clients/staging/hipblaslt-test


Enhancement Request - Image Carousel - Areteans

Component Enhancement
Title: Image Carousel Component
Description:
The Image Carousel is a versatile and dynamic component designed to enhance the visual appeal of business portals by showcasing benefits, products, or key highlights through a smooth sliding interface.This component can be configured with multiple items, making it ideal for quick access to info links, branding guidelines, and other day-to-day actions.
Component Initialisation:
This is a field level Image Carousel component that can be added to any form view or details view within Pega Constellation.
The component takes multiple images and display them in a sliding carousel format with multiple configurable options.
Configuration Options:
Data Page(REQUIRED) : Name of the source data page of List Type. Ex: D_CarouselList
Indicators(OPTIONAL): Enable the check box to display indicators.
Captions(OPTIONAL): Enable the check box to display captions.
AutoPlay Settings(OPTIONAL): Enable the check box for auto play of carousel by configuring AutoPlay Interval (ms),Animation Type,Transition Duration (ms),Pause on Hover.
Note: Column names of the source must be same as mentioned below.
Column Name to be used.
Image Source --- Image
Slide Description --- Description
Unique ID --- ID
Slide Heading --- Heading
Link for LearnMore Button --- LearnMoreLink
Link for Go To page button --- GoToPage
Why This Component Would Be Useful
The Image Carousel component would be a valuable addition to Pega Constellation for several reasons:
Enhanced Visual Appeal: It allows users to create visually appealing interfaces that can use multiple images effectively by showcasing benefits, products, or key highlights
Improved User Engagement: By providing an interactive way such as actionable buttons to display content, it can increase user engagement and satisfaction.
Ease of Use: Simplifies the process of adding dynamic image displays, saving time and effort for developers.
Customisable: It allows you to use multiple configurable settings which suits good for the business.
By integrating this component, Pega Constellation can offer a more robust UI feature-rich platform for showcasing key highlights/products of business to build a user-friendly applications.
Attached the component code and detailed description with images below.
ImageCarousel.docx
ImgCarousel.zip

there is already such component https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/widgets-image-carousel--docs so we are not planning to add another type of component - if the current component is missing functionality, please create a branch with some enhancements -see https://pegasystems.github.io/constellation-ui-gallery/?path=/docs/support-and-contributing--docs

Hi Richard,
On top of the existing component, we have added below enhancements, which can be incorporated into it.
Enhancements:
This component can be used at form view since it is a field level component instead widget.
There are 2 buttons provided on the each slide of the carousel with clickable actions. Ex:  Go To Page, Learn More buttons, navigating to the related website.
Autoplay Settings has an additional features like Pause On Hover, Transition Duration, AutoPlay Interval.
All the data showing up in carousel is dynamically configurable.
User have control over the captions either to show or hide based on the requirement.
Thanks,
Sowjanya

Rejected-  There is already such component in ui gallery


deploy:version replacs too much

https://github.com/zurb/foundation-sites/blob/c4602f01b475b1775cd75a55b39b86a2f7b264ba/gulp/config.js#L70 would also affect all normal dependencies like it did in the past.

True. I think the only same approach would be to replace the version manually.


Automatically Increase Screen Brightness to max when showing QR Code

Background
QR codes are sometimes difficult to scan. Increasing the brightness helps.
Success Criteria
Given the holder's device is not set at max brightness
When the holder is in the "My QR code" screen or "Proof request QR code" screen
Then the holder's device screen brightness is set to max
Given the holder's device is not set at max brightness
When the holder moves away from the "My QR code" screen or "Proof request QR code" screen
Then the holder's device screen brightness reverts back to it's original setting

We could consider using the Expo brightness package. This will need us to request permissions from our users. To make it smooth, let's add a screen to explain why we need access to their brightness settings. This could increase our chances of gaining access. Please note that the brightness adjustments won't be permanent on iOS and will reset each time the app closes. So the user experience will slightly differ between iOS and Android.

closing as stale issue


FancyZones - Request Unique Layouts for each Desktop

I have two monitors and 3 virtual desktops.
I would like to have unique layouts for all 6 options.

I would love to see those two boxes inside a frame with arrows each way to
select other desktops.  Or even 3 sets of the two boxes as I have 3
desktops each with 2 monitors.
On Tue, Mar 9, 2021, 4:56 PM Clint Rutkas @.***> wrote:

@firefox97 https://github.com/firefox97, the new UX does try to
indicate that plus our docs.
What could have been done with the new UX that would have helped make this
more clear the top squares are your monitors?
[image: image]
https://user-images.githubusercontent.com/1462282/110554543-e015db80-80ef-11eb-8133-04a04786f011.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/10140#issuecomment-794625576,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBDQPWJBF65Z4QOGVINC33TC2RRTANCNFSM4Y4WJQZQ
.

@firefox97 we'll address the root issue hopefully in #10295 and add someway to clarify.  great feedback.


[feat][io] New component. AzureDataExplorer/Kusto sink for pulsar (https://learn.microsoft.com/en-us/azure/data-explorer/)

Motivation
This PR introduces an Azure Data Explorer (ADX) sink connector for Apache Pulsar. Streamlining the ingestion process, it solves the challenge of seamlessly transferring data from Pulsar to ADX clusters.
Modifications
We have added a new Azure Data Explorer (ADX) sink connector tailored for Apache Pulsar, enabling smooth and optimized data transfer from Pulsar to ADX clusters. The modification includes the integration of key functionalities and configurations necessary for seamless data ingestion.
Verifying this change

[x] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change added tests and can be verified as follows:

Added end-2-end tests for the sink and can be tested by setting env vars  export kustoAadAppId=""
  export kustoAadAppSecret=""
  export kustoAadAuthorityID="tenentId"
  export kustoDatabase="<dbname>"
  export kustoCluster="https://ingest-<cluster-name>.kusto.windows.net"```

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/asaharn/pulsar/pull/2

Thanks @david-streamlio.
@lhotari Made the changes for handling secrets.

Codecov Report
Attention: 156 lines in your changes are missing coverage. Please review.

Comparison is base (1b4127a) 36.44% compared to head (6248a25) 73.58%.
Report is 21 commits behind head on master.

Additional details and impacted files

@@              Coverage Diff              @@
##             master   #22006       +/-   ##
=============================================
+ Coverage     36.44%   73.58%   +37.14%
- Complexity    12369    32572    +20203
=============================================
  Files          1727     1874      +147
  Lines        131879   139220     +7341
  Branches      14419    15260      +841
=============================================
+ Hits          48057   102445    +54388
+ Misses        77404    28862    -48542
- Partials       6418     7913     +1495

Flag
Coverage Δ

inttests
24.67% <ø> (+0.48%)
:arrow_up:

systests
24.36% <ø> (+0.46%)
:arrow_up:

unittests
72.86% <13.81%> (+40.97%)
:arrow_up:

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

Files
Coverage Δ

...che/pulsar/io/azuredataexplorer/ADXSinkConfig.java
86.20% <86.20%> (ø)

...he/pulsar/io/azuredataexplorer/ADXPulsarEvent.java
0.00% <0.00%> (ø)

...ache/pulsar/io/azuredataexplorer/ADXSinkUtils.java
0.00% <0.00%> (ø)

...rg/apache/pulsar/io/azuredataexplorer/ADXSink.java
0.00% <0.00%> (ø)

... and 1447 files with indirect coverage changes


Upgrade REPL to Babel 6

Upgrading the REPL to use Babel 6. This is a work in progress, but I'm posting it to get any initial feedback.
Live demo: http://babeldev.dan.cx/repl/

[x] Load Babel from NPM rather than cloning it in the build script
[x] Use Webpack or Browserify to build the REPL + Babel
[x] Update Makefile
[x] Make options (presets, etc) configurable
[x] Optimize Webpack config
[x] Script to push to gh-pages
[x] Use latest Babel 6.x.x rather than hard-coding a specific version
[x] Display Babel version at top right of REPL (replace the current "work in progress" notice)

Okay, this is pretty much ready to review, with the exception of a script to push it to Github Pages. In the past I've used gulp-gh-pages for that (eg. that's what I use for react-magic) which I can do here too. Are you okay with Gulp or would you just prefer a simple shell script?

Whatever is simpler probably? I think gulp is fine since we are using it in babel now as well.

Cool, I'll do that tonight. Currently I'm just using rsync to push it to http://babeldev.dan.cx/repl/ for testing.

BTW great effort - will make debugging issues/PR that much easier

Awesome work on this @Daniel15 !    Did you purposefully pin down the babel versions (vs using latest)?

It would be best to put the build into Babel itself when deploys happen

@sparty02

Did you purposefully pin down the babel versions (vs using latest)?

Yes, in order to get a repeatable build. Generally version ranges should only be used in shared libraries, not in top-level apps. Apps themselves should always be using specific version numbers (ideally npm shrinkwrapped I guess) so you're always on a known good version.
@thejameskyle

It would be best to put the build into Babel itself when deploys happen

The idea with the site is to deploy it every time a change is made, through a post-commit hook or similar. I don't think Babel's build should trigger the site to be built, as updates to the website don't necessarily line up with updates to Babel itself (that is, pages on the site are totally separate from Babel itself).

@thejameskyle - Although I guess the idea of automatically updating Babel + deploying the site  whenever a new Babel version is released is a good one, so the REPL is always up-to-date with the latest bug fixes. We can do that separately to this update though, as that doesn't exist right now with the Babel 5 REPL either :)

I don't think Babel's build should trigger the site to be built, as updates to the website don't necessarily line up with updates to Babel itself (that is, pages on the site are totally separate from Babel itself)

This is debatable.  You could argue that it woudl be ideal for the REPL to always reflect babel@latest.

jinx!

You could argue that it woudl be ideal for the REPL to always reflect babel@latest.

Yeah, I think I've been convinced that that's a good idea! I'll change it :stuck_out_tongue:
At least using the latest 6.x.x version - I don't think we'd want it to magically switch to Babel 7 whenever that's released, given there'd probably be breaking API changes in a major release.

At least using the latest 6.x.x version - I don't think we'd want it to magically switch to Babel 7 whenever that's released, given there'd probably be breaking API changes in a major release.

That makes sense to me.  So, babel major release --> REPL updates --> REPL reflects babel latest major again

it may be nice to display the version of babel that was resolved when building the REPL, in the top corner of the REPL site.

Good idea, I'll add that too. I think we already have the version available somewhere, it's just a matter of displaying it.
I won't have time to complete this tonight, but I'll update it over the weekend :+1:

I don't want the website to have a build system at all, most thing are merged from the GitHub UI.
The only thing that requires a build is the REPL, which only needs to be updated when Babel itself updates. So it should live there

Having a build step doesn't disallow you from merging from the Github UI.
The build can be done as a post commit hook.
The REPL also needs to be updated if any changes are done to its JavaScript
file on the site.
Sent from my phone.
On Dec 4, 2015 10:02 AM, "James Kyle"<EMAIL_ADDRESS>wrote:

I don't want the website to have a build system at all, most thing are
merged from the GitHub UI.
The only thing that requires a build is the REPL, which only needs to be
updated when Babel itself updates. So it should live there
—
Reply to this email directly or view it on GitHub
https://github.com/babel/babel.github.io/pull/613#issuecomment-162036460
.

Okay, updated based on the feedback. I upgraded all the Babel packages to the latest version, and changed it to ^6.3.13 so it accepts newer versions too. The REPL now shows the loaded Babel version at the top right.
I added a proof-of-concept of deploying the site using TravisCI. Basically, pulls the repo, builds the site, then pushes to the gh-pages branch, like most other sites on Github use (the React site does something very similar, although I'm not sure if it's automated yet). It works pretty well, and merging pages from the Github UI works fine since TravisCI runs the build on commit. The config would need tweaking for the real Babel site, I just wanted to confirm that my idea would work as expected.
My proof-of-concept built site on Github Pages is at http://daniel15.github.io/babel-site/repl/, although it doesn't render properly since the site expects to be at the root (and thus all the CSS and JS links are wrong :stuck_out_tongue:). However, I manually inspected the JavaScript files to verify that they were compiled correctly. The working demo is still on my own server at http://babeldev.dan.cx/repl/ :smile:

The REPL also needs to be updated if any changes are done to its JavaScript
file on the site.

It's far more common that the REPL needs to be updated when new Babel releases go out. So that needs to be considered as well.
Seb and I have also talked about a much different UI for this. We want to be able to configure Babel with any combination of the built in presets or plugins, which would be similar to exposing a .babelrc file in the REPL UI.
That being said, I'm very happy with this UI in the interim.

It's far more common that the REPL needs to be updated when new Babel releases go out. So that needs to be considered as well.

Yeah, for sure. I imagine that's also an issue today - someone needs to manually push the site again when a new Babel release goes out. In the meantime, if it were to use TravisCI or some other similar system (like I did in this diff), you could just click a button to redeploy the site. Since Babel comes from NPM now, that would automatically pull the latest version of Babel. I think that's better than what exists today, right? :smile:

We want to be able to configure Babel with any combination of the built in presets or plugins, which would be similar to exposing a .babelrc file in the REPL UI.

Yeah I had the idea of making something that's fully customisable (including plugins), and potentially even allowing custom plugins to be added. I just didn't want to do anything too ambitious and figured it's better to start with a smaller scope (mostly sticking with what already exists) and incrementally improve things. Personally, the UI that exists today suffices for my needs, which is mostly what I was aiming for :stuck_out_tongue:

Do we want to include babel-polyfill/runtime?

Would it be possible to include a mechanism to not break the old http://babeljs.io/repl/ links? Maybe version the url like http://babeljs.io/repl-6.3.21/ or something similar

@hzoo

Do we want to include babel-polyfill/runtime?

That's probably a good idea :) I'm not going to have much free time in the next few weeks, but feel free to clone my branch and add the polyfill.
@kolodny

Would it be possible to include a mechanism to not break the old http://babeljs.io/repl/ links?

Is there anything in particular that breaks with the links? I guess I'd need to convert the old settings (eg. "experimental", etc.) to the equivalent Babel 6 presets, but apart from that the old links should work fine. Do you have an example of an old link that no longer works?

Nope, nothing jumps out at me. I was just fearful about every old repl link breaking when the new repl is up. As long as the presets match, and load the same way on a new state of the page, it should be ok

I'm okay with the urls breaking, it's not like the output is going to be the same between versions and we're not going to version the REPL for multiple versions of Babel

Some things will certainly break for features that Babel 6 no longer supports like TCO and await*, but I do feel like we should make at least some small effort to map the old flags over to the new ones if we can. It doesn't have to be perfect though.

Thanks for pointing me to this @hzoo. I was concerned that the updated repl would break all my examples in my ES6 workshop slides, but it seems to work just fine :D :D Thanks!

This'd be a great addition. Surely a babel 6 repl at this point is more useful to the community than keeping the babel 5 stuff working?

It's been a while - what we do we need to get this merged?

I'm not concerned with breaking old links, backwards compat shouldn't really be a priority for this PR. Someone can do it afterwards if they want. @Daniel15 would you mind rebasing? Sorry this has sat for so long. This looks good though!

Sure, I'll try rebasing it later tonight. A while back I created babel-standalone to replace babel-browser, using some of the ideas from this PR. Perhaps I should update this PR to pull in babel-standalone from NPM instead of directly bundling Babel itself.
@hzoo and @kittens I sent you an email about this a while back for a bit more context on the changes. I'll copy it here:

Hello!

I've been working on upgrading the REPL on the Babel site to use Babel 6. I just wanted to check whether you're okay with the changes I've done so far, and figured I'd start an email thread for more focused discussion :)

Here's a demo of the changes: http://babeldev.dan.cx/repl/

An overview of the changes I've made:

Latest 6.x.x version of Babel is pulled from NPM, rather than being checked in as a minified blob in the site repo. Much cleaner :D
REPL JS is built using Webpack
Removed the "Experimental", "Loose mode" and "High compliancy" checkboxes and replaced them with checkboxes to select the presets to use. I wanted to allow selection of individual plugins but didn't get around to it, and wanted to just keep the scope small for now, in case anyone wants to completely revamp the REPL.
Added a TravisCI configuration to build and publish the site, so it can be automatically built on every commit.

This could/should also be done when the Babel repo changes. It could be added as a webhook.

This is similar to how many many other Github Pages sites are deployed, in order to work around the pretty large limitations in Github Pages' core functionality. The React site is very similar, and in fact it looks like the React site was also changed to use TravisCI to push the site rather than having to build it manually as was the case in the past. Using Webpack or Browserify or whatever to build the REPL also allows it to easily be extended in the future, for example if you ever want to rewrite it using React (which would use a similar build step, since Github Pages doesn't support JSX out-of-the-box). Unfortunately this does mean that build artifacts still need to be checked in, but at least they can be hidden away on a generated branch.

One thing I noticed is that the Babel site is an organisation Github Pages repo rather than a regular Github Pages repo, which means the site lives in the master branch rather than the gh-pages branch (thanks, Github). I think this means the "raw" site would need to live in some other branch (like dev or something) which could be set to the default branch, and the compiled site would go in master. I'm not quite sure how to update my pull request such that it goes into a different branch, though.

Let me know if you've got any questions, feel free to reply to this email or message me through Facebook or Google Hangouts. I'd love to get your feedback and see what else I could do to help get this merged :D

Thanks!

Actually I might be able to just use Babel-standalone through CDNJS and totally avoid the build step, which would simplify things quite a bit. I'll play around with it and see :)

Okay, I just updated the pull request @hzoo @kittens. I'm now pulling babel-standalone from CDNJS, which made it significantly simpler :tada: . Of course, we could always switch back to the site building its own version of Babel, but that can come in the future :smile:

Thanks @Daniel15 etc for jumping on this so quick!

Free time comes and goes, I was lucky to have lots of free time today :stuck_out_tongue:

Tried it out locally and it works great so lets just ship it

Yesss it's working :D http://babeljs.io/repl/

Thanks so much for this! Sorry this took so long to get addressed. It's
super appreciated.
On Sunday, 6 March 2016, Daniel Lo Nigro<EMAIL_ADDRESS>wrote:

Yesss it's working :D http://babeljs.io/repl/
—
Reply to this email directly or view it on GitHub
https://github.com/babel/babel.github.io/pull/613#issuecomment-192859737
.

--
Sebastian McKenzie

Thanks Daniel! :100:


add utility module

What current issue(s) does this address, or what feature is it adding?
add a utility class + a function that can be commonly used
How did you solve this problem?
write code
How did you make sure your solution works?
write tests
Did you add any tests?
yes
Did you run make lint and make coverage?
yes
Are there any special changes in the code that we should be aware of?
no

Coverage increased (+0.04%) to 96.497% when pulling 2d45fb8263d94eb79c248d56b20ceb588014f35b on ixje:utils into a9be1d9405b047cb522fdb548735cd6f120728aa on CityOfZion:master.


About triangles can be a little unstable

In the demo , there is a comment :
// triangles can be a little unstable, so avoid until fixed

Has this issue  been fixed ?
Thanks

@bchevalier ,  could you help me ?

This is generally far less of an issue than it was when I wrote that comment, they should work fine now. But still in general (and this applies to most physics engines) you should try to avoid shapes with sharp spikes because they can get stuck inside other bodies.

Thanks,  I see.