Add field to user page

Hello
I need to add new fields to user creation form.
I have edited the edit-add.blade.php inside users folder, i can see the new field, also i have added it on db called nombre, then when i try to create the new user im getting:
SQLSTATE[HY000]: General error: 1364 Field 'nombre' doesn't have a default value (SQL: insert into users (name, email, password, role_id, settings, updated_at, created_at) values (myname<EMAIL_ADDRESS>$2y$10$KU4Hva0XjZOWwbzf5UA4C.Xqgg6kKu7b/DXsgwer2s2A2QXnIuUyy, 3, {"locale":"en"}, 2018-11-06 14:53:54, 2018-11-06 14:53:54))
Any ideas what im missing?

Please use the issue templates.

Ok, at this moment when trying to create a new BREAD based on my table im getting:
SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value (SQL: insert into data_types (name, display_name_singular, display_name_plural, slug, icon, model_name, controller, policy_name, generate_permissions, details, description, server_side, updated_at, created_at) value
I have created a new database with the id of course, then i got to Create Bread based on table.

Looks like you removed auto-increment for the id on the data_types table?!
(Just as a prevention: here it is)

Yes, already done, just one moer question is there a way to set up dependent users?, for example i need to have a business store and inside them sellers for only that store, can i create users by that one?
Example, my Store:
Ebay
-> Seller : Emptynick -> Dependent on Store 1
Store:
Amazon
-> Seller : Lucas -> Dependent on Store 2
Is this possible?

Closing as the original issue seems to be resolved.
Please ask further questions in our Slack group.


Translate section of Define a gRPC liveness probe into Simplified Chinese

Synchronize the section of Define a gRPC liveness probe  to file content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md.
Translate section of  Define a gRPC liveness probe  into Simplified Chinese on file content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md.
Copy content/en/examples/pods/probe/grpc-liveness.yaml as content/zh/examples/pods/probe/grpc-liveness.yaml.

@cucker0 Please sign the CLA in order for the PR to be reviewed.

/retitle [zh] Translate section of Define a gRPC liveness probe into Simplified Chinese

@cucker0 Any help needed on this?

We haven't heard a thing from the author for over a month.
/close
Please feel free to reopen and resume the work.


[YUNIKORN-1654] document dynamic namespace processing functionality

What is this PR for?
I have documented the usage of the dynamic namespace processing functionality in the page of "Service Configuration".
Additionally, I have add the annotation in the page of "Labels and Annotations of YuniKorn".
What type of PR is it?

[x] - Improvement

Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/YUNIKORN-1654/

How should this be tested?
Screenshots (if appropriate)

Thank you for your review, @craigcondit. I appreciate your feedback, and I have addressed the issue you pointed out.

We need a rebase to the latest version for the change. Can you please check?


Need a tutorial for finger print kernel, graph kernel

we were thinking about random walk and WL kernel


Vulnarable dependency used: string_decoder 1.1.1

Environment
azure-pipelines-task-lib version: 4.1.0
Issue Description
Vulnerable dependecy found: string_decoder 1.1.1
azure-pipelines-task-lib [4.1.0]
sync-request [6.1.0] -> this is the latest version of this package, 4 years old. There is big bold remark - "Do not use for production"
then-request [6.0.0] -> 6.0.2 is the latest, 4 years old
concat-stream [1.6.2] -> 2.0.0 is the latest, 4 years old
readable-stream [2.2.2] -> 4.2.0 is the latest, 2 months old
stream_decoder [1.1.1] -> 1.3.0 is the latest, 3 years old

@erkib thanks for reporting this issue, we will work on it

Hi, @erkib!
Thank you for the report! The following packages here except for sync-request and then-request don't have direct vulnerabilities, but updating them to the latest versions will be considered a breaking change, so it's preferable to leave the current versions for now.
Regarding the sync-request package - it cannot be actually considered as a production usage here, because it is used only in tests, however, we have plans for replacing it for the async package in the future.

I'm going to close this issue, please feel free to reopen it if you have any concerns.


Suppressing expansion of environment variables

Issue description
I have a private repository configured in my Pipfile, which specifies credentials via environment variables in the manner described in the pipenv user guide:
[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "myrepo"

Upon running 'pipenv install' and a package is unable to be found at the remote index, pipenv is printing the following message with environment variables fully expanded:
No versions found
Were https://pypi.org/simple or<EMAIL_ADDRESS>reachable?

Expected result
I expected that credentials and other secrets specified via environment variables would remain unexpanded in stdout/stderr messages, such that secrets aren't leaked via CI logs when errors occur.
Steps to replicate

Create a pipfile that points to a remote index with credentials specified via environment variables
Specify a package dependency that you know to not exist
Run 'pipenv install'
Observe expansion of environment variables in error output

$ pipenv --support
Pipenv version: '2018.10.13'
Pipenv location: '/home/spiderkeys/.local/lib/python3.6/site-packages/pipenv'
Python location: '/usr/bin/python3'
Python installations found:

3.7.1: /home/spiderkeys/.pyenv/versions/3.7.1/bin/python3.7
3.7.1: /home/spiderkeys/.pyenv/versions/3.7.1/bin/python3.7m
3.6.6: /usr/bin/python3.6
3.6.6: /usr/bin/python3.6m
2.7.15: /home/spiderkeys/.pyenv/versions/2.7.15/bin/python2.7
2.7.15rc1: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-23-generic',
 'platform_system': 'Linux',
 'platform_version': '#25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

CLUTTER_IM_MODULE
LS_COLORS
LESSCLOSE
XDG_MENU_PREFIX
LANG
DISPLAY
PYENV_ROOT
NDDSHOME
OLDPWD
GNOME_SHELL_SESSION_MODE
COLORTERM
DESKTOP_AUTOSTART_ID
USERNAME
CHROME_DESKTOP
XDG_VTNR
SSH_AUTH_SOCK
MANDATORY_PATH
JFROG_USERNAME
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL
XDG_SESSION_ID
USER
DESKTOP_SESSION
QT4_IM_MODULE
TEXTDOMAINDIR
GNOME_TERMINAL_SCREEN
DEFAULTS_PATH
PWD
HOME
TEXTDOMAIN
SSH_AGENT_PID
TERM_PROGRAM
TERM_PROGRAM_VERSION
QT_ACCESSIBILITY
XDG_SESSION_TYPE
XDG_DATA_DIRS
XDG_SESSION_DESKTOP
FIREBASE_ADMIN_KEY
GTK_MODULES
WINDOWPATH
TERM
SHELL
VTE_VERSION
QT_IM_MODULE
XMODIFIERS
IM_CONFIG_PHASE
XDG_CURRENT_DESKTOP
GPG_AGENT_INFO
GNOME_TERMINAL_SERVICE
XDG_SEAT
SHLVL
GDMSESSION
JFROG_PASSWORD
GNOME_DESKTOP_SESSION_ID
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
XAUTHORITY
XDG_CONFIG_DIRS
PATH
SESSION_MANAGER
LESSOPEN
GTK_IM_MODULE
_
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/spiderkeys/.pyenv/bin:/home/spiderkeys/.cargo/bin:/home/spiderkeys/.cargo/bin:/home/spiderkeys/.cargo/bin:/home/spiderkeys/.cargo/bin:/home/spiderkeys/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SHELL: /bin/bash
LANG: en_US.UTF-8
PWD: /home/spiderkeys/myorg/production/utils/test_project

Contents of Pipfile ('/home/spiderkeys/myorg/production/utils/test_project/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "myrepo"

[packages]
nhd220 = {version="*", index="myrepo"}

[dev-packages]

[requires]
python_version = "3.6"

I believe this is addressed in pypa/pip#5773. Keeping this open until pip releases it (likely in early 2019).


Update changedetection.io's README with more help to use browserless Chrome

I had a lot of trouble setting up browserless chrome, and especially figuring out what hostname to use to make it work.
I finally found out how to fetch it, and modified the readme to add the 2 methods I found on top of what was already suggested by @RhysMcW
Hopefully, this will help the next people figure it out a bit easier!

Thanks very much!


fix(solid): asChild spread issue

Fixes parent and child attributes merging when using asChild prop.
Resolves: https://github.com/chakra-ui/ark/issues/1405

You are fk rockstar. Report an issue, explain the issue,  file a PR with(!) some tests. I have no words but thank you.


upgrade typespec to 0.60.0

Fix https://github.com/microsoft/typespec/issues/4396

upgrade typespec to 0.60.0, and tcgc to 0.46.0

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

sync pr in autorest.csharp https://github.com/Azure/autorest.csharp/pull/5063


Update dependencies

This is the first pull request to resolve a dependency conflict with rusty_secrets.

Thanks! Just released version 0.6.0 on crates.io.


Typo "Azure Blob storage"→"Azure Blob Storage"

https://docs.microsoft.com/en-us/azure/storage/blobs/monitor-blob-storage?tabs=azure-portal

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

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


Add ARP and ICMP to acl.go

Please, add full tests for arp and icmp, not only parsing but also checking. Then Approved.

Many thanks to @dkolistr for useful remarks, fixed, making code more readable


Add custom_fields to send_signature_request_embedded

The API documentation for send_signature_request_embedded describes the custom_fields parameter. This parameter is missing from the Python SDK for this method, although it is not missing for all other types of signature requests.
This is actually needed to populate any fields that are assigned to "sender" and marked as "text-merge" or "checkbox-merge" in an embedded signature request.

It's been almost a year. Any updates?

I am also interested in this feature.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


unable to publish workbook using TSC API since installing 2020.1 version

I am currently using :

Tableau Desktop (version 2020.1.0)
Tableau Server Client on Python (version 3.4)
Tableau Server (version 2019.2)

Since I installed Tableau Desktop 2020.1.0, I am not able to publish on Tableau Server through TSC anymore.
Opening a .twbx file thanks to Tableau Desktop and save it (without any modification) is suffisent to unabled the publication through TSC.
Here the errors I have :
File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 127, in wrapper                                                                            return func(self, *args, **kwargs)                                                                                File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 165, in wrapper                                                                            return func(self, *args, **kwargs)                                                                                File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 165, in wrapper                                                                            return func(self, *args, **kwargs)                                                                                File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\workbooks_endpoint.py", line 294, in publish server_response = self.post_request(url, xml_request, content_type)                                                                                File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 102, in post_request content_type=content_type)                                                                                File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 55, in _make_request self._check_status(server_response)                                                                                File "C:[...]\lib\site-packages\tableauserverclient\server\endpoint\endpoint.py", line 70, in _check_status
raise ServerResponseError.from_response(server_response.content, self.parent_srv.namespace)                                                                                tableauserverclient.server.endpoint.exceptions.ServerResponseError:                                                                                400011: Requête incorrecte

Sorry for the lack of response. It sounds like you were hitting a problem because the version of Tableau Server was older than Desktop, which requires you to downgrade the workbook before publishing. If that's the case, we should return a better error message here.
https://help.tableau.com/current/pro/desktop/en-us/publish_version_compatibility.htm#compatibility-between-tableau-desktop-and-tableau-server


Is this repo still maintained?

Haven't seen much activity on this repo for about 6 months now. Is it still maintained?

As it is explained here Mapbox has launched a new hosted and proprietary service. They will probably no longer maintain this repository.
It's time to fork ;)

Yes, Mapbox is trying to promote the use of MTS instead, so Tippecanoe maintenance is unfortunately considered a distraction at this point.

I'm working on new features - focused on alternate input/output formats for now - in a fork at https://github.com/protomaps/tippecanoe ; welcome to chime in on issues on that repo.

Something tells me that there's a new promising fork here: https://github.com/felt/tippecanoe

Indeed, Felt's support for Tippecanoe development was announced today: https://felt.com/blog/erica-fischer-tippecanoe-at-felt

Hooray! I'm thrilled to learn of this.


Knex imports sqlite in migrate:make when told to use pg

Environment
Knex version: 1.0.5
Database + version: Postgres 14
OS: macOS 12.3
Bug
knex migrate:make foo wants (and fails) to load @vscode/sqlite3 even though the client is set to pg:
❯ yarn knex migrate:make foo
yarn run v1.22.17
$ /Users/semenov/tmp/p1/node_modules/.bin/knex migrate:make foo
Knex: run
$ npm install @vscode/sqlite3 --save
Cannot find module '@vscode/sqlite3'
Require stack:
- /Users/semenov/tmp/p1/node_modules/knex/lib/dialects/sqlite3/index.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/internal/config-resolver.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/Knex.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/index.js
- /Users/semenov/tmp/p1/node_modules/knex/knex.js
- /Users/semenov/tmp/p1/node_modules/knex/bin/cli.js
Error: Cannot find module '@vscode/sqlite3'
Require stack:
- /Users/semenov/tmp/p1/node_modules/knex/lib/dialects/sqlite3/index.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/internal/config-resolver.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/Knex.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/index.js
- /Users/semenov/tmp/p1/node_modules/knex/knex.js
- /Users/semenov/tmp/p1/node_modules/knex/bin/cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Client_SQLite3._driver (/Users/semenov/tmp/p1/node_modules/knex/lib/dialects/sqlite3/index.js:33:12)
    at Client_SQLite3.initializeDriver (/Users/semenov/tmp/p1/node_modules/knex/lib/client.js:190:26)
    at new Client (/Users/semenov/tmp/p1/node_modules/knex/lib/client.js:75:12)
    at new Client_SQLite3 (/Users/semenov/tmp/p1/node_modules/knex/lib/dialects/sqlite3/index.js:22:5)
    at knex (/Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/Knex.js:12:28)
    at initKnex (/Users/semenov/tmp/p1/node_modules/knex/bin/cli.js:74:10)
/Users/semenov/tmp/p1/node_modules/knex/lib/client.js:197
      throw new Error(`${message}\n${e.message}`);
            ^

Error: Knex: run
$ npm install @vscode/sqlite3 --save
Cannot find module '@vscode/sqlite3'
Require stack:
- /Users/semenov/tmp/p1/node_modules/knex/lib/dialects/sqlite3/index.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/internal/config-resolver.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/Knex.js
- /Users/semenov/tmp/p1/node_modules/knex/lib/index.js
- /Users/semenov/tmp/p1/node_modules/knex/knex.js
- /Users/semenov/tmp/p1/node_modules/knex/bin/cli.js
    at Client_SQLite3.initializeDriver (/Users/semenov/tmp/p1/node_modules/knex/lib/client.js:197:13)
    at new Client (/Users/semenov/tmp/p1/node_modules/knex/lib/client.js:75:12)
    at new Client_SQLite3 (/Users/semenov/tmp/p1/node_modules/knex/lib/dialects/sqlite3/index.js:22:5)
    at knex (/Users/semenov/tmp/p1/node_modules/knex/lib/knex-builder/Knex.js:12:28)
    at initKnex (/Users/semenov/tmp/p1/node_modules/knex/bin/cli.js:74:10)
    at async Command.<anonymous> (/Users/semenov/tmp/p1/node_modules/knex/bin/cli.js:213:24)

Reduced test code
In an empty directory:
yarn add knex

create knexfile.js:
module.exports = {
  client: 'pg',
  connection: 'postgres://localhost/test'
}

run:
pnpm knex migrate:make foo

Cause
This is caused by: https://github.com/knex/knex/blob/f380e48e30663d6ae571f15237fac7fe7d08cb73/bin/cli.js#L212
This fake client option which user never provided overrides whatever client is set in config.
The upgrade guide (referenced here) says:

If you are using sqlite3 driver dependency, please replace it with @vscode/sqlite3 in your package.json;

Note that it doesn't say that @vscode/sqlite3 is now obligatory peer dependency when using migrations. This is a bug, there is no point in having @vscode/sqlite3, it's not being imported for any reasonable purpose.

Yep, I'm experiencing this too.
The problem is that lodash/merge (used here) is replacing the original client value from the provided config with the "default" value that is set here.
I don't think lodash/merge works as assumed here, it will try to deep merge all configs and for non-mergable items (like string values) the last seen value is the one that is used. Locally, swapping the arguments works as expected, but that may also not be desired behaviour, it may be better just to remove the default client value completely.

Until this is fixed, you can work around the issue by specifying your client on the command line, for example:
knex migrate:make --client pg foo

An easier workaround is using 1.0.4 ;)

Until this is fixed, you can work around the issue by specifying your client on the command line, for example: knex migrate:make --client pg foo

This does not help unfortunately, because the cli does not pick up the client option.
So you either have to install the @vscode/sqlite3 package or remove this line locally.

This does not help unfortunately, because the cli does not pick up the client option.

It did for me, and I don't have sqlite installed in the project where I tried it. However, I agree that the real solution is to remove the referenced line of code. It looks like it is supposed to be enforcing a default value for the configuration, but what it is actually doing is creating a default command line argument value, and the command line argument values override the values specified in the configuration file.

Same.  Had to downgrade to 1.0.4.

Until this is fixed, you can work around the issue by specifying your client on the command line, for example: knex migrate:make --client pg foo

This worked for me, thank you. I was banging my head against the problem for a couple of hours thinking my knexfile was wrong.

thx god i found this issues.. it wasted me 2 hours already.. how come patch version introduce breaking changes?

@OlivierCavadenti we need to hotfix this

I will check this evening and dig into it. Is PR is enough to solve the problem ? https://github.com/knex/knex/pull/5106

@kibertoad / @OlivierCavadenti the regression is from the use of lodash/merge introduced in this PR: https://github.com/knex/knex/pull/4047
merge is not working in the way assumed by the usage and so the value from the second object is taking precedent over the first whereas the implementation implies the expectation that it is the other way round.

@kibertoad / @OlivierCavadenti the regression is from the use of lodash/merge introduced in this PR: #4047
merge is not working in the way assumed by the usage and so the value from the second object is taking precedent over the first whereas the implementation implies the expectation that it is the other way round.

Ok thanks for the analysis ! I will fix that this evening as soon as possible.

merge is not working in the way assumed by the usage and so the value from the second object is taking precedent over the first

@OlivierCavadenti I don't think this is correct. That merge causes the command line arguments to override the settings from the configuration file, which I think is what you want. The problem is that a default client is assigned early as a command line argument if none is supplied there, so it acts like a command line argument and overrides the configuration file value.

Yep, I confirm that it worked.

I'm still facing the same issue even though I've updated to 1.0.6 🤔

The problem is not fixed for me either.

not fixed for me

Fixed here : https://github.com/knex/knex/pull/5106

@dhensby Can you try 1.0.7?

FYI - just removing this line fixed it locally for me
Also, you have not pushed the tags into github for 1.0.6 or 1.0.7
I'll test 1.0.7 locally too

1.0.7 appears to work locally for me now

@dhensby Thank you, published tags and documentation now


Request feature for configuration option that controls the auto-check-in behavior.

The reason is that I've deployed another check-in services myself, thus this behavior often interrupts my tool's judgment on whether the check-in was successful. And some people might not need this feature to be enabled by default. Please consider it.

A simple workaround would be adding a line to https://github.com/darknessomi/musicbox/blob/master/NEMbox/api.py
    def daily_signin(self, type):
        return 1 # add this line
        action = 'http://music.163.com/weapi/point/dailyTask'
        text = {'type': type}
        data = encrypted_request(text)
        try:
            return self.httpRequest('POST', action, data)
        except requests.exceptions.RequestException as e:
            log.error(e)
        return -1


Added new domain of MTG in Munich

Hi there,
the Maria-Theresia-Gymnasium in Munich is already contained in swot (see de/musin/mtg.txt).
Time has passed and the email addresses they are now issuing to their students use @mtg.muenchen.musin.de
So this PR is about adding this new domain to swot
Best regards

@aytchell First stage of verification passed, official domain is mtg.musin.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://mtg.musin.de/schulgemeinschaft/beratung-schulpsychologie-schulsozialarbeit/schulpsychologie-sabine-schoenauer/

@aytchell  Thank you for the update. Pull request merged.


Unlock your secure message history... banner doesn't go away after you have restored from backup.

This issue is linked to "Trust on decrypt". Once #2921 implemented, this banner will automatically disappear.

Fixed with #2921


[Feature/multi_tenancy] SdkClient interface with local and remote implementations for Connector

Description

Creates a new SdkClient Interface with Put, Get, and Delete operations (more to come later)
Adds implementations for both Local (NodeClient) and Remote (OpenSearch Java Client) clusters
Uses the destination-agnostic interface for Connector Put (Index), Get, and Delete actions

Issues Resolved
Part of implementation in support of RFC https://github.com/opensearch-project/OpenSearch/issues/13336
Previous Comments
PR #2430 was auto-closed due to a branch deletion, some comments are there.
Guided Review

Start with the SdkClient interface and the request/response classes in the org.opensearch.sdk package.  These are eventually intended to be moved outside of this plugin to a common repository (probably in the OpenSearch repo as a new module) but remain here during initial development to ease development iteration.
The changes to the Plugin initialization (inject the local client and a client module) are probably going to stay in somewhat a similar state, but the SdkClientModule is currently temporary (creating an http client without TLS/SSL) pending a more properly thought out long term pluggable/injectable solution.
Glance at the org.opensearch.ml.action.connector changes to get a quick idea of how the new interface calls the clients.  I have not yet done detailed exception handling here. That's a TODO below.
Look at the LocalClusterIndicesClient which essentially wraps current NodeClient implementation.
Look at the RemoteClusterIndicesClient which tries to make using a remote cluster via the Java Client transparent to the user.
Look at everything else.

How to manually test locally
Checkout this PR and create the zip file for it
gh pr checkout 2459
./gradlew assemble

Publish the latest OpenSearch 2.x branch snapshot to local (change darwin-tar to your own OS if needed)
cd ~/git/OpenSearch
git fetch upstream
git checkout 2.x
git pull upstream 2.x
./gradlew clean localDistro
cd distribution/archives/darwin-tar/build/install/opensearch-2.15.0-SNAPSHOT

Install the plugin (change the path as necessary for your own local environment)
./bin/opensearch-plugin install file:///Users/widdisd/git/ml-commons/plugin/build/distributions/opensearch-ml-<IP_ADDRESS>-SNAPSHOT.zip

Start OpenSearch and test the local implementation using your favorite REST client (curl, Postman, etc.)
bin/opensearch

Ctrl-C to close.   Switch to using the remote client by making this change to your environment:
export REMOTE_METADATA_ENDPOINT=http://<IP_ADDRESS>:9200

Restart OpenSearch and test the remote implementation using your favorite REST client (curl, Postman, etc.).  The Connector Put, Get, and Delete will use the remote client even though they're still operating on the same cluster; other APIs will still work locally.
bin/opensearch

TODO Items
Will continue to work on these in a new PR if this one needs to be merged to unblock other work

[x] Fix a bug where shard stats return null on deletion
[x] Update currently commented-out Connector Unit tests with proper mocks/tests of new functionality
[x] Re-enable code coverage checks
[x] Implement ability to specify a thread pool executor as part of the interface
[ ] Properly handle all exceptions
[ ] Extend functionality to Update and Search

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

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

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

Build file 'D:\a\ml-commons\ml-commons\plugin\build.gradle' line: 43

* What went wrong:
Could not compile build file 'D:\a\ml-commons\ml-commons\plugin\build.gradle'.
> startup failed:
  build file 'D:\a\ml-commons\ml-commons\plugin\build.gradle': 43: Unexpected input: '{' @ line 43, column 14.
     dependencies {
                  ^

Unexpected input: '{'

The problems with doing manual merge and missing little things.  I also ran spotless but failed to actually commit the changed files. This may be correlated with the fact that it's Friday after 5pm. 😁 🍺

Merging this PR in the branch so that I can continue my development on top of this PR. @dbwiddis please address the changes (if needed) in separate PR. Thanks.


create/run: Make bundle path default to cwd

The bundle path was documented as defaulting to the current directory
but was not being set to that value if not explicitly specified.
Fixes #821.
(cherry picked from commit 8831245e30bc6d0e3c2e88f465016b4a05e7bf9a)
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

/test

/test

/test

Blocked on https://github.com/kata-containers/tests/pull/856.

LGTM.

Blocked on kata-containers/tests#856.

@jodh-intel the bloker PR has been merged but it is targeted at the master branch of tests repo. Do you mean we use the tests repo master branch to validate stable-1.1?

Hi @bergwolf - no, we need to merge the fix on #856 into the stable branches before the CI will work on these two stable PRs. But #856 depends on some other CI changes that haven't yet been ported into the stable branches. I'll try to resolve all this today...

I see. Thanks @jodh-intel !

@jodh-intel any progress on this?

¡mañana! Well, Monday maybe ;)


[WFLY-20005] Persistence/JPA subsystem should remove non-breaking use of ModuleIdentifier

https://issues.redhat.com/browse/WFLY-20005

@scottmarlow The https://github.com/wildfly/wildfly-core/pull/6270 API is now available.

@scottmarlow The wildfly/wildfly-core#6270 API is now available.

Thanks @bstansberry  for the new API, very helpful!
Please check https://github.com/wildfly/wildfly/pull/18439/commits/00e6180836ff5b169f242d9114a9728fe9fd9ab6 + https://github.com/wildfly/wildfly/pull/18439/commits/2bcf75bb2663c24cd3063d219eaae2b7029d0ffa  to see updates to use the new https://github.com/wildfly/wildfly-core/pull/6270 API.

/retest

Thanks @scottmarlow and @yrodiere


Master fail over with AWS ElastiCache with ReplicatedServersConfig

We have 1 primary and 2 replicas in our production AWS ElastiCache Redis cluster (cluster mode disabled). All three nodes given to ReplicatedServersConfig as mentioned in https://github.com/redisson/redisson/wiki/2.-Configuration#25-replicated-mode. We have set scan interval as 2000, and readMode as MASTER. We are using replicas only for failover, when we tested failover to one of the slaves, the Redisson client still sending the write requests to replica (which is old master) and failing with error org.redisson.client.RedisException: READONLY You can't write against a read only replica.
Does it have to anything to do with readMode? Should we use SLAVE or MASTER_SLAVE?
With readMode MASTER redissonClient.getRedisNodes(RedisNodes.MASTER_SLAVE).getSlaves().size() returns 0, so I assume it will not have old slaves info in the context.

Could you set TRACE logging level for org.redisson, reproduce this issue again and share output?

Sure @mrniko I will reproduce and attach the TRACE log soon. Meanwhile in few exceptions I see Increase nettyThreads and/or retryInterval settings, here by nettyThreads means number of master and slave connections or something in the server system settings?


Update native messaging documentation

Docs Build status updates of commit 86a1fad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 0af6546:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 60d900e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/developer-guide/native-messaging.md
:white_check_mark:Succeeded
View

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

#sign-off offline and merged.


Support for Arrays and Dictionaries in Playground V2

### Tasks
- [ ] Implement Array Support
- [ ] Implement Dictionary Support

Need UI design for how to handle Arrays and Dictionary Support.
It can be very complicated to convert
transaction(strings: [String])
...

need form where user can 1 or more values to an array.
Also need validation so that user doesn't put in numbers instead of strings. We could use current validation, just mentioning it.
Dictionary is much more complicated since Dictionary could be made up of complex types. So we'd have to restrict it to basic types.
transaction(keyValuePairs: {UInt64: String}) {
...

How would the input form look for a dictionary? and what if instead of String it was a String array?
There variations need to be designed out.


Crash when closing game while in combat

When the game is closed while in combat, the game crashes in combat_exit.
Apparently the initiative list is never cleaned up when the map is closed and as such it still contains handles for objects that have already been deallocated.

Crash does not happen when quitting to main menu during combat, and then closing the game.

This is related to the order of shutdown for game systems. Vanilla map_close accesses game systems that have already been closed during shutdown. In our case, this causes a crash because the game system has been deleted completely. In vanilla, this worked, since everything is just a static function.


Splitting big form

Hi drsdre,
I have a form that is a little bit extensive (all fields go into one model), so I splitted it into four parts with one _stepN.php file each, and put the widget in the main _form.php.
All works (validations, widgets, etc.) except the saving part. When I click the submit button nothing is saved into DB, all fields except from step1 are cleared, no on screen errror.
And if I look into the Yii2 Dev Tool there're stored only the variables from the first step.
What could be wrong?

Hi Felipe,
If you can post the code for the wizard setup, I can try to help debug this.

Thanks drsdre, here are the involved parts:

This is the wizard setup:
`<?php
global $form;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View /
/ @var $model app\models\OrdenDeCompra /
/ @var $form yii\widgets\ActiveForm */
?>

<?php $form = ActiveForm::begin(['options' => ['role' => 'form']]); ?>

<?php $form->errorSummary($model); ?>

<?= $form->field($model, 'estado_id')->hiddenInput(['value' => 1])->label(false) ?>

<?= $form->field($model, 'usuario_id')->hiddenInput(['value' => Yii::$app->user->identity->id])->label(false) ?>

<?php
    $wizard_config = [
        'id' => 'stepwizard',
        'steps' => [
            1 => [
                'title' => 'Paso 1: Datos Empresa',
                'icon' => 'glyphicon glyphicon-home',
                'buttons' => [
                    'next' => [
                        'title' => 'Siguiente',
                        'options' => ['class' => 'btn btn-primary']
                     ],
                 ],
                 'content' => $this->render('_step1', ['form' => $form, 'model' => $model]),
            ],
            2 => [
                'title' => 'Paso 2: Datos Proveedor',
                'icon' => 'glyphicon glyphicon-user',
                //'skippable' => false,
                'buttons' => [
                    'next' => [
                        'title' => 'Siguiente',
                        'options' => ['class' => 'btn btn-primary']
                    ],
                    'prev' => [
                        'title' => 'Anterior'
                    ],
                ],
                'content' => $this->render('_step2', ['form' => $form, 'model' => $model]),
            ],
            3 => [
                'title' => 'Paso 3: Pago y Transporte',
                'icon' => 'glyphicon glyphicon-usd',
                'buttons' => [
                    'next' => [
                        'title' => 'Siguiente',
                        'options' => ['class' => 'btn btn-primary']
                    ],
                    'prev' => [
                        'title' => 'Anterior'
                    ],
                ],
                'content' => $this->render('_step3', ['form' => $form, 'model' => $model]),
            ],
            4 => [
                'title' => 'Paso 4: Información Adicional',
                'icon' => 'glyphicon glyphicon-info-sign',
                'buttons' => [
                    'prev' => [
                        'title' => 'Anterior'
                    ],
                    'save' => [
                        'html' => Html::submitButton('Guardar',
                        [
                            'class' => 'btn btn-success',
                            'id' => 'wizard-step4-final',
                            //'name' => 'step',
                            'value' => 'save-final'
                        ]),
                        'title' => 'Guardar'
                    ],
                ],
                'content' => $this->render('_step4', ['form' => $form, 'model' => $model]),
            ],
        ],
        'start_step' => 1,
        // Optional final screen
        //'complete_content' => "Listo!, Ahora agregue productos a su Orden de Compra."
    ];
    ?>

<?= \drsdre\wizardwidget\WizardWidget::widget($wizard_config); ?>

<?php ActiveForm::end(); ?>

`
2. As stated above, each step is a different file, an ActiveForm with different widgets each (dropdownlist, date picker, etc). Thanks in advance for your time and help.

I don't see any issues in your code. I would recommend to have a look at the produced HTML code of the form and check if all the field names are created like 'OrdenDeCompra[fieldname]'. You can post the code here if you want.

Ok, I solved it, the problem was that I was using ActiveForm widgets on each of the stepN.php files. Somehow I overlooked that in one of the closed issues here. So, just put ActiveForm in your main form (where the wizard widget is setup).


12K sample rate support

Summary
add 12K sample rate support in sim_alsa.c
Impact
Testing
tested on vela sim.

@jinxiuxu please fix the issue:
 audio/cs43l22.c: In function 'cs43l22_getcaps':
Error: audio/cs43l22.c:584:17: error: unsigned conversion from 'int' to 'uint8_t' {aka 'unsigned char'} changes value from '475' to '219' [-Werror=overflow]
  584 |                 AUDIO_SAMP_RATE_8K | AUDIO_SAMP_RATE_11K |
      |                 ^~~~~~~~~~~~~~~~~~

thanks, done.

@jinxiuxu there is another error:
  Building NuttX...
audio/cs4344.c: In function 'cs4344_getcaps':
Error: audio/cs4344.c:420:17: error: unsigned conversion from 'int' to 'uint8_t' {aka 'unsigned char'} changes value from '472' to '216' [-Werror=overflow]
  420 |                 AUDIO_SAMP_RATE_16K | AUDIO_SAMP_RATE_22K |
      |                 ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:102: cs4344.o] Error 1
make[1]: Target 'libdrivers.a' not remade because of errors.
make: *** [tools/LibTargets.mk:101: drivers/libdrivers.a] Error 2

thanks, done


style prism-vsc-dark-plus doesn't work as expected

I'll show you how the colors of Visual Studio Code are displayed in prism-vsc-dark-plus. language = jsx
prism-vsc-dark-plus

Visual Studio Code

I think you can see the difference in colors.

I think you can see the difference in colors.

I can see that you are using Bracket Pair Colorizer. Prism has a plugin for this if you are interested.
The other differences can all be explained by one thing: semantic analysis.
The syntax highlighting of VSCode is augmented using the information provided by its language servers. In this case, the TS language server does a full-blown semantic analysis of your code to really understand it. This means that the TS language knows the type/scope/const-ness/etc. of very variable/function/class/etc.. VSCode then uses this information to give you semantic highlighting.
Prism does not do any form of semantic analysis. This is why:

Prism has no idea that setY is a function (setState might return anything).
Prism has no idea that xx is const.
Actually, Prism could detect that xx is const but only at the declaration site. We would not be able to highlight xx consistently. E.g. in the snippet const x = 0; alert(x);, you (again) need semantic analysis to know that both variables x are actually the same variable.
Prism has no idea that Yy is not a class.
Prism uses a heuristic to detect class names. The JS community largely follows the naming convention of capitalizing class names and Prism uses this for detection. Yy is a false positive of this heuristic that is not possible to correct without semantic analysis.

@Darfion I'm sorry to say this but this is the best a syntax highlighter can do without semantic analysis. There is nothing we can do to fix these differences.
I want to emphasize that this applies specifically to the differences you showed. Other differences might be fixable.

Hello @RunDevelopment. I am using react-syntax-highlighter. maybe you know how to include match-braces in react-syntax-highlighter ?.

Hello RunDevelopment. I am using react-syntax-highlighter. maybe you know how to include match-braces in react-syntax-highlighter ?.

Hello @miliko0022! I am not familiar with react-syntax-highlighter, so I can't really help you, sorry. It seems like they don't support Prism plugins but you might want to ask them directly.

@RunDevelopment OK thanks


TreeContainer doesn't pass width prop to Tree

#56 added an optional width prop to Tree and TreeContainer, but TreeContainer doesn't pass the prop to Tree. As a result, there's no way to enable horizontal scrolling.

Just stepped into this issue as well on my quest for horizontal scrolling. :)

Thanks to both.
This will be published on 3.2.1


TS-56 BUG - Nested  tags

UserMenuItem wraps content in an  tag
LogoutLink is also an  tag so when nested they cause a warning
Functionality and appearance should be identical to before, but without the warning

Sweet, just also removed the textComponent prop from UserMenuItem as it was only a prop passed through for this logout link. Otherwise I envision any further menuItems will just be links with a href, icon and text


Conan packages can no longer be built

After moving the reterival of Catch from conan to CPM, the ability to build the library as a package was removed.
The conanfile.py and files in test_package should be restored, this should in no way hinder the usage of CPM
(possibly the generator should be changed to be cmake_find_package)

We removed conan because it was proving to be an obstacle to adoption. It's too difficult to set up for people who just want to build the code and are familiar already with CMake.
Does this PR require anybody to install conan if all they want to do is build the examples and the tests?

No, the point is that this provides an easy way of consuming the package for anyone wanting to use conan, but doesn't require anyone to use conan.


Check for existing secure mount

Environment

OS / version: N/A
Processor architecture: N/A
TPM Manufacturer: N/A
Keylime version: master

Description
A majority of distributions mount a secure volume be default to:
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
We create our own in /var/lib/keylime/secure here
I guess this might already be factored in and there is a reason for this, if not we could perhaps check for the existing mount and if its configured correctly and present, we can use that instead.
Tagging @jetwhiz

Hi @lukehinds
I think that's a good idea, maybe we can mount to /sys/kernel/security/keylime or similar if we detect that the securityfs is already mounted by the OS.

I think this issue maybe flawed so going to close. I just read a bit more about securityfs

Some observers might well believe that the kernel has accumulated plenty of special-purpose virtual filesystems. Even so, 2.6.14 will include yet another one: securityfs. This filesystem is meant to be used by security modules, some of which were otherwise creating their own filesystems; it should be mounted on /sys/kernel/security. Securityfs thus looks, from user space, like part of sysfs, but it is a distinct entity.
The API for securityfs is quite simple - it only exports three functions (defined in <linux/security.h>). The usual first step will be to create a directory specific to the security module at hand with:
struct dentry *securityfs_create_dir(const char *name,
                                     struct dentry *parent);

https://lwn.net/Articles/153366/


Add cyclic HSV colormap

Tinycolormap has a number of very useful colormaps, but is lacking any option for cyclic maps to e.g. draw phases. This PR adds matlabs HSV colormap as a remedy. There's arguably better cyclic maps out there to consider, but HSV is a kind of classic I suppose.

Documentation and png-exporter were updated accordingly as well.

Thank you for the useful addition!


Better checks for Changelog entries

Closes #76

Please review @edublancas

Fixed the bug that @bryannho mentioned. here's the commit and the check
Please review again
@bryannho @edublancas

@bryannho don't forget to perform reviews, remember that we have a 24 hours SLA


k8s/base kustomization.yaml broken if celery included

The k8s/base/kustomization.yaml renders incorrectly if celery is added to the project:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:- ./celery.yaml    <<<< should be on a new line
- ./app.configmap.yaml
- ./django.yaml
- ./react.yaml
- ./redis.yaml

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use exclusive comparison operator for end of cycle

This change set fixes up the comparison logic a bit.
As an example:  if you start the game at dawn, it will correctly color the canvas for dawn, rather than coloring it for night.
Thanks!

Thanks! I made this changes in my upcoming 2.0 version.

Sweet!


Rename all functions & give them better names. Backwards incompatible.

Fixed in
https://github.com/dmpe/rbitly/commit/5a70f2a0825a32b5c695abafa3a7d7c026315936
https://github.com/dmpe/rbitly/commit/722bd9757c42d280c30914e91f8c10f306ad03fa
https://github.com/dmpe/rbitly/commit/8d0ec6eb22d289d34d5f35187a946b32a6231f70
https://github.com/dmpe/rbitly/commit/e510cb4ba43e89ffaf910b8f07261b3cbdb47f33


Add Martha Cryan to the SSC people list as the DEI working group representative

Add @marthacryan to the SSC people list as the DEI Working Group Representative.
Welcome, @marthacryan! 🎉

@jupyter/software-steering-council @jupyter/executive-council


Import passwords into Cloud Manager

Build a connector to import the passwords to import new passwords into Cloud Manager when building an environment.

This is now delivered in CM16


Export animated svg as .mov or .mp4

Dear maxwellito,
thank you very much for the library and the vivus instant website - it is a joy to use!
I wondered, if there are any recommendations or best practises, when one wants to export the animated svg into a video with a defined resolution (FullHD or 4K).
At the moment I have embedded the resulting svg in a website and perform a screen recording while the browser plays the animation. I encountered two difficulties:

Timing

When the animation is being played back too quickly, the screen recorder misses frames and the resulting video is yanky. I overcame this by having the exported animation from vivus instant set to a 4x longer time, then I post process the recorded animation and speed it up 4x. This produced good results. Also, if I record on a 4KTV with a 60HZ refresh rate, the grabbed video is more yanky, than when I record it on a 120 Hz refresh rate monitor. After the post processing, though, both are practically the same.

Resolution

Because of the screen grabbing, I actually can only record in resolutions below the monitor's resolution and lose a bit of detail.
Therefore I was looking for a way to export the animated frames into a movie (or a series of image, that I could then import into Final Cut). Does anyone know about any such solution?
Thank you in advance. If this is not the right way to ask for help, please feel free to tell me, I will then close this issue.
All the best,
Michael.

Hello Michael,
First, thanks for your kind words. Its always nice to hear from users :)
Your issue is a very interesting one. I must admit, I had to think about a solution for a similar problem but never had the chance to implement it.
Let's start by the library constraints. Vivus uses requestAnimationFrame to time intervals between frames. Depending on your machine/SVG complexity the frame rate might vary. In this case it will be difficult to increase the frame rate as you need.
My guess, to make it possible, would be the following stack:

Your webpage containing the animation and the styling required
A Puppeteer script to open the page at the resolution of your choice, and render each frame and export it. (This is doable by setting the progress of the animation with .setFrameProgress(progress))
FFMPEG script to combine all the pictures into one video. Or import them into Final Cut if you prefer.

I dunno if it's what you had in mind. I'm happy to give more details and help you start the project.
I hope this helps :)

Hi,
thank you for your speedy reply - I also thought about puppeteer, as I am using this already for GUI tests. But I looked into animTimingFunction instead of the setFrameProgress function - so I will give that a try. If I read this correctly, then let's say given I want a roughly 2 sec intro of a video in 60p I would run the argument to that function from 0 to 1 in 0.008 increments which results in 125 images. I will give that a try next weekend and let you know how it went. Right now I am busy with work...
Thanks for the helpful hint!
Michael.

You can definitely override window.requestAnimationFrame (before loading
Vivus) by something like (fn) => setTimeout(fn, 1000/120).
However your computer must be tough enough to generate the frames at the
right time. Otherwise, you can slow down the timeout to 10 frames a second,
and accelerate it on Final Cut.

Perhaps if you added an event to Vivus, so that for every frame you triggered an event frame which people then could hook into? Using something like Puppeteer then, you might generate a screenshoot of that current frame.

It's something doable with the base API
// Init the Vivus instance
const duration = 200;
const myVivus = new Vivus('svgId', {duration, start: 'manual'});
let currentFrame = 0;

// Function to move to the next frame
// Will return 'true' once the last frame is reached
function nextFrame () {
  myVivus.setFrameProgress((currentFrame++)/duration);
  return currentFrame === duration;
}

Hi,
I ended up making a super quick and dirty Electron app to solve this very issue.
https://github.com/jeremypatrickdahan/vivus-electron
It is essentially a GIANT security hole, so never use this in production...
It is quite difficult to preserve transparency with video. I ended up using a quicktime codec (qtrle), though webm also works.


FL.ru account remove

Backstory

Data

name:
url:
difficulty:

notes:
domains:

what is this


Preset fix: Hello

Deck 1 row 2 col 4 gesture UP
Deck 2 row 4 col 4 gesture NORMAL
has the same sound

OMFG- Hello is back up on preset store

Add deck information on tutorial


Move RSA keys to their own file

RSA keys are sensitive information that should not be stored in git repositories.
This commit moves them to their own file, adds it to .gitignore and provides a template file.

I think storing the key PKCS#8 would be a better option since it's something that NSS, OpenSSL, and the JDK can all work with.

Originally this was for ease-of-setup (the public counterparts are in all the clients I made available to people) but in general it would be loads nicer to have a proper ./configure script that generates the keys etc locally

@cubeee status on this?

@garyttierney done unless you had something in mind

@cubeee LGTM, just needs rebase.


Acquire cs_main lock in getstakereport callpath to fix assert in debug build

Fixes this issue: https://github.com/pocketnetteam/pocketnet.core/issues/130

Found issue with staking with this patch, investigating.

From investigation staking issues appear to be related to some other commits.  Testing this one from a previous commit shows that staking is working as expected.

@tawmaz I suggest deleting this merge request and making a new one in the 0.20 branch for future changes to version 0.20.18.


Guess new extension from context

Should support entering "someFile" and guessing extension from current open file.

Hi @gaspard! Thanks for submitting the PR.
It guesses the extension when it shows you the "default" value. The problem with this is that it would break the scenario where I'm in a file like a TypeScript file but I want to create a file like .npmignore that doesn't have an extension. From what I can see this would force a .ts on it which is not wanted.

Hi there. Yes, you are right, this ".ts" on ".gitignore" files would be annoying. So I propose to ignore this extension trick for files starting with "." as this covers more then 90% of files without an extension.

Hey @gaspard I think it's still not a too good idea. As a counter example I would bring .travis.yml. Additionally your code would fail if I type something like .git/config where it would add .git/config.ts.
While I understand the convenience that you are trying to achieve I think it's a bit too much magic. Maybe we can remove the magic somehow. If you come up with a solid solution I'm happy to take a look at it.
PS: I just did some major refactoring so you want to sync up before submitting a new PR.


Errors in console

http://puu.sh/kZcP8/8941ea93c3.png
Plugin appears to function completely correctly ingame however.

On restarts do you get the first error?

http://puu.sh/kZYCf/e6f206c33a.png

This is a screenshot of the plugin starting up

Are you using the mysql part in prisonpearl?

Yes it is enabled, should we try disabling it?

Yes.


Graduate Partial admission to Beta.

What type of PR is this?
/kind feature

What this PR does / why we need it:
Graduate PartialAdmission to beta and enable by default
Which issue(s) this PR fixes:

Fixes #1212
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Graduate Partial admission to Beta.

/cc @alculquicondor @tenzen-y

Can you also update the docs?
https://github.com/kubernetes-sigs/kueue/blob/main/site/content/en/docs/installation/_index.md#change-the-feature-gates-configuration

done

/lgtm
/approve


Multicluster mTLS doesn't work between 1.6.8 <-> 1.7.1 and 1.7.1 <-> 1.7.1 versions

Multicluster mTLS does work between 1.6.8 <-> 1.6.8 versions
But multicluster mTLS doesn't work between 1.6.8 <-> 1.7.1 and 1.7 <-> 1.7.1 versions
update : noticed ingress port 15443 isn't opened in istio 1.5.x - solved port access issue for 1.5.x after redeployment but this doesn't solve multicluster mTLS access issue between 1.5.x and 1.6.8/1.5.x clusters
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Steps to reproduce the bug
Install istio 1.7.1 on one cluster and 1.7.1 or 1.6.8 on second cluster
Follow doc https://istio.io/latest/docs/setup/install/multicluster/gateways/
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
Multicluster mTLS works for istio 1.6.8 but doesn't work for istio 1.7.1 or between istio 1.7.1 and istio 1.6.8 versions
How was Istio installed?
istioctl operator
Environment where bug was observed (cloud vendor, OS, etc)
IBM IKS v1.17.11+IKS
Logs
kubectl exec sleep-f8cbf5b76-pms46 -n foo -c sleep -- curl -s httpbin.bar.global:8000/headers upstream connect error or disconnect/reset before headers. reset reason: connection failure
Cluster 1 sidecar
2020-09-15T12:44:39.184697Z	debug	envoy filter	[external/envoy/source/extensions/filters/listener/original_dst/original_dst.cc:18] original_dst: New connection accepted
2020-09-15T12:44:39.184759Z	debug	envoy filter	[external/envoy/source/extensions/filters/listener/tls_inspector/tls_inspector.cc:78] tls inspector: new connection accepted
2020-09-15T12:44:39.184776Z	debug	envoy filter	[external/envoy/source/extensions/filters/listener/http_inspector/http_inspector.cc:37] http inspector: new connection accepted
2020-09-15T12:44:39.184854Z	debug	envoy conn_handler	[external/envoy/source/server/connection_handler_impl.cc:411] [C1280] new connection
2020-09-15T12:44:39.184916Z	debug	envoy http	[external/envoy/source/common/http/conn_manager_impl.cc:268] [C1280] new stream
2020-09-15T12:44:39.184965Z	debug	envoy http	[external/envoy/source/common/http/conn_manager_impl.cc:782] [C1280][S4782643295280019936] request headers complete (end_stream=true):
':authority', 'httpbin.bar.global:8000'
':path', '/headers'
':method', 'GET'
'user-agent', 'curl/7.69.1'
'accept', '*/*'

2020-09-15T12:44:39.184970Z	debug	envoy http	[external/envoy/source/common/http/conn_manager_impl.cc:1337] [C1280][S4782643295280019936] request end stream
2020-09-15T12:44:39.185065Z	debug	envoy filter	[src/envoy/http/alpn/alpn_filter.cc:81] override with 2 ALPNs
2020-09-15T12:44:39.185086Z	debug	envoy router	[external/envoy/source/common/router/router.cc:477] [C1280][S4782643295280019936] cluster 'outbound|8000||httpbin.bar.global' match for URL '/headers'
2020-09-15T12:44:39.185130Z	debug	envoy router	[external/envoy/source/common/router/router.cc:634] [C1280][S4782643295280019936] router decoding headers:
':authority', 'httpbin.bar.global:8000'
':path', '/headers'
':method', 'GET'
':scheme', 'https'
'user-agent', 'curl/7.69.1'
'accept', '*/*'
'x-forwarded-proto', 'http'
'x-request-id', '491e5cb1-6cef-4324-84f4-bb1d4bbafb64'
'x-envoy-decorator-operation', 'httpbin.bar.global:8000/*'
'x-envoy-peer-metadata', 'ChoKCkNMVVNl3ViZXJuZXRlcwo6CgxJTlNUQU5DRV9JUFMSKhooMTcyLjMwLjIzNC4xMDAsZmU4MDo6NmM4OTo2ZmZmOmZlZDY6NjljZQreAQoGTEFCRUxTEtMBKtABCg4KA2FwcBIHGgVzbGVlcAoZCgxpc3Rpby5pby9yZXYSCRoHZGVmYXVsdAogChFwb2QtdGVtcGxhdGUtaGFzaBILGglmOGNiZjViNzYKJAoZc2VjdXJpdHkuaXN0aW8uaW8vdGxzTW9kZRIHGgVpc3RpbwoqCh9zZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1uYW1lEgcaBXNsZWVwCi8KI3NlcnZpY2UuaXN0aW8uaW8vY2Fub25pY2FsLXJldmlzaW9uEggaBmxhpoETkFNRRIXGhVzbGVlcC1mOGNiZjViNzYtcG1zNDYKEgoJTkFNRVNQQUNFEgUaA2ZvbwpFCgVPV05FUhI8GjprdWJlcm5ldGVzOi8vYXBpcy9hcHBzL3YxL25hbWVzcGFjZXMvZm9vL2RlcGxveW1lbnRzL3NsZWVwChoKD1NFUlZJQ0jQU1FEgcaBXNsZWVw'
'x-envoy-peer-metadata-id', 'sidecar~<IP_ADDRESS>~sleep-f8cbf5b76-pms46.foo~foo.svc.cluster.local'
'x-envoy-attempt-count', '1'
'x-b3-traceid', '4b9e81054209c2473084907df0e6ab56'
'x-b3-spanid', '3084907df0e6ab56'
'x-b3-sampled', '0'

2020-09-15T12:44:39.185145Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:337] queueing request due to no available connections
2020-09-15T12:44:39.185150Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:47] creating a new connection
2020-09-15T12:44:39.185190Z	debug	envoy client	[external/envoy/source/common/http/codec_client.cc:34] [C1281] connecting
2020-09-15T12:44:39.185194Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:727] [C1281] connecting to <IP_ADDRESS>:15443
2020-09-15T12:44:39.185269Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:736] [C1281] connection in progress
2020-09-15T12:44:39.186957Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:592] [C1281] connected
2020-09-15T12:44:39.187052Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:191] [C1281] handshake expecting read
2020-09-15T12:44:39.187780Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:198] [C1281] handshake error: 5
2020-09-15T12:44:39.187792Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:226] [C1281]
2020-09-15T12:44:39.187797Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:200] [C1281] closing socket: 0
2020-09-15T12:44:39.187816Z	debug	envoy client	[external/envoy/source/common/http/codec_client.cc:91] [C1281] disconnect. resetting 0 pending requests
2020-09-15T12:44:39.187823Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:265] [C1281] client disconnected, failure reason:
2020-09-15T12:44:39.187837Z	debug	envoy router	[external/envoy/source/common/router/router.cc:1018] [C1280][S4782643295280019936] upstream reset: reset reason connection failure
2020-09-15T12:44:39.187870Z	debug	envoy router	[external/envoy/source/common/router/router.cc:1390] [C1280][S4782643295280019936] performing retry
2020-09-15T12:44:39.202040Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:337] queueing request due to no available connections
2020-09-15T12:44:39.202059Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:47] creating a new connection
2020-09-15T12:44:39.202107Z	debug	envoy client	[external/envoy/source/common/http/codec_client.cc:34] [C1282] connecting
2020-09-15T12:44:39.202113Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:727] [C1282] connecting to <IP_ADDRESS>:15443
2020-09-15T12:44:39.202218Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:736] [C1282] connection in progress
2020-09-15T12:44:39.203557Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:592] [C1282] connected
2020-09-15T12:44:39.203640Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:191] [C1282] handshake expecting read
2020-09-15T12:44:39.205583Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:198] [C1282] handshake error: 5
2020-09-15T12:44:39.205596Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:226] [C1282]
2020-09-15T12:44:39.205601Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:200] [C1282] closing socket: 0
2020-09-15T12:44:39.205629Z	debug	envoy client	[external/envoy/source/common/http/codec_client.cc:91] [C1282] disconnect. resetting 0 pending requests
2020-09-15T12:44:39.205636Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:265] [C1282] client disconnected, failure reason:
2020-09-15T12:44:39.205648Z	debug	envoy router	[external/envoy/source/common/router/router.cc:1018] [C1280][S4782643295280019936] upstream reset: reset reason connection failure
2020-09-15T12:44:39.205662Z	debug	envoy router	[external/envoy/source/common/router/router.cc:1390] [C1280][S4782643295280019936] performing retry
2020-09-15T12:44:39.254218Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:337] queueing request due to no available connections
2020-09-15T12:44:39.254254Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:47] creating a new connection
2020-09-15T12:44:39.254329Z	debug	envoy client	[external/envoy/source/common/http/codec_client.cc:34] [C1283] connecting
2020-09-15T12:44:39.254341Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:727] [C1283] connecting to <IP_ADDRESS>:15443
2020-09-15T12:44:39.254485Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:736] [C1283] connection in progress
2020-09-15T12:44:39.255785Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:592] [C1283] connected
2020-09-15T12:44:39.255917Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:191] [C1283] handshake expecting read
2020-09-15T12:44:39.257044Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:198] [C1283] handshake error: 5
2020-09-15T12:44:39.257063Z	debug	envoy connection	[external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:226] [C1283]
2020-09-15T12:44:39.257069Z	debug	envoy connection	[external/envoy/source/common/network/connection_impl.cc:200] [C1283] closing socket: 0
2020-09-15T12:44:39.257093Z	debug	envoy client	[external/envoy/source/common/http/codec_client.cc:91] [C1283] disconnect. resetting 0 pending requests
2020-09-15T12:44:39.257102Z	debug	envoy pool	[external/envoy/source/common/http/conn_pool_base.cc:265] [C1283] client disconnected, failure reason:
2020-09-15T12:44:39.257119Z	debug	envoy router	[external/envoy/source/common/router/router.cc:1018] [C1280][S4782643295280019936] upstream reset: reset reason connection failure
2020-09-15T12:44:39.257175Z	debug	envoy http	[external/envoy/source/common/http/conn_manager_impl.cc:1479] [C1280][S4782643295280019936] Sending local reply with details upstream_reset_before_response_started{connection failure}
2020-09-15T12:44:39.257230Z	debug	envoy http	[external/envoy/source/common/http/conn_manager_impl.cc:1710] [C1280][S4782643295280019936] encoding headers via codec (end_stream=false):
':status', '503'
'content-length', '91'
'content-type', 'text/plain'
'date', 'Tue, 15 Sep 2020 12:44:38 GMT'
'server', 'envoy'

Ingress Cluster 2
2020-09-15T14:11:03.665745Z	debug	envoy connection	[C4041] closing data_to_write=143 type=2
2020-09-15T14:11:03.665752Z	debug	envoy connection	[C4041] setting delayed close timer with timeout 1000 ms
2020-09-15T14:11:03.665759Z	debug	envoy pool	[C6] response complete
2020-09-15T14:11:03.665764Z	debug	envoy pool	[C6] destroying stream: 0 remaining
2020-09-15T14:11:03.665823Z	debug	envoy connection	[C4041] write flush complete
2020-09-15T14:11:03.666275Z	debug	envoy connection	[C4041] remote early close
2020-09-15T14:11:03.666301Z	debug	envoy connection	[C4041] closing socket: 0
2020-09-15T14:11:03.666362Z	debug	envoy conn_handler	[C4041] adding to cleanup list
2020-09-15T14:11:03.945297Z	debug	envoy filter	tls inspector: new connection accepted
2020-09-15T14:11:03.945376Z	debug	envoy filter	tls:onServerName(), requestedServerName: outbound_.8000_._.httpbin.bar.global
2020-09-15T14:11:03.945486Z	debug	envoy filter	[C4042] new tcp proxy session
2020-09-15T14:11:03.945537Z	debug	envoy connection	[C4042] closing data_to_write=0 type=1
2020-09-15T14:11:03.945551Z	debug	envoy connection	[C4042] closing socket: 1
2020-09-15T14:11:03.945679Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=12
2020-09-15T14:11:03.945698Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=16
2020-09-15T14:11:03.945703Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=20
2020-09-15T14:11:03.945707Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=24
2020-09-15T14:11:03.959977Z	debug	envoy filter	tls inspector: new connection accepted
2020-09-15T14:11:03.960024Z	debug	envoy filter	tls:onServerName(), requestedServerName: outbound_.8000_._.httpbin.bar.global
2020-09-15T14:11:03.960091Z	debug	envoy filter	[C4043] new tcp proxy session
2020-09-15T14:11:03.960130Z	debug	envoy connection	[C4043] closing data_to_write=0 type=1
2020-09-15T14:11:03.960143Z	debug	envoy connection	[C4043] closing socket: 1
2020-09-15T14:11:03.960225Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=12
2020-09-15T14:11:03.960243Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=16
2020-09-15T14:11:03.960248Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=20
2020-09-15T14:11:03.960252Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=24
2020-09-15T14:11:03.997764Z	debug	envoy filter	tls inspector: new connection accepted
2020-09-15T14:11:03.997836Z	debug	envoy filter	tls:onServerName(), requestedServerName: outbound_.8000_._.httpbin.bar.global
2020-09-15T14:11:03.997921Z	debug	envoy filter	[C4044] new tcp proxy session
2020-09-15T14:11:03.997968Z	debug	envoy connection	[C4044] closing data_to_write=0 type=1
2020-09-15T14:11:03.997975Z	debug	envoy connection	[C4044] closing socket: 1
2020-09-15T14:11:03.998083Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=12
2020-09-15T14:11:03.998093Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=16
2020-09-15T14:11:03.998098Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=20
2020-09-15T14:11:03.998101Z	debug	envoy wasm	wasm log: [extensions/stats/plugin.cc:609]::report() metricKey cache hit , stat=24
2020-09-15T14:11:04.146112Z	debug	envoy main	flushing stats

If I'm not mistaken, on 1.7+ at least we use 443 as the external port for gateways. At least that's what happens in integration tests. @tbarrella @nmittler

Both ports should work fine. though.

@nmittler could you help to take a look?

Port issue was on 1.5.7 and started accessible after redeployment (I was testing various combination of istio).
For me currently multi-cluster mTLS works between istio version 1.6.8 but we have customers who use istio 1.5.7 or might use istio 1.7.x so I wonder why different istio combinations don't work. Even 1.5.7 <-> 1.5.7 and 1.7.1 <->1.7.1 don't work.

The connection seems to barf on SSL handshake. Can you verify the certs are all rooted in the same root at runtime? Something like using openssl s_client -showcerts to verify

I tried this out with Istio 1.7.1 on 2 GKE 1.17.9-gke.1500 clusters (both in the default vpc) and it seems to be working for me.
Here are the scripts I'm using:

Install Control Plane.
Install Services. This installs HelloWorld in cluster1 and the sleep service in both clusters. It also adds a ServiceEntry to each cluster. For the cluster that hosts HelloWorld, the SE refers to the service IP (rather than ingress). For the other cluster, it references the ingress.
Test calls the HelloWorld service from both clusters.

It's also worth noting that we're moving away from this method (.global) of configuring multi-primary. There are a lot of reasons for this (general complexity, odd load balancing behavior, loss of locality LB, etc.). The new installation instructions for 1.8 use a simpler approach that lets cluster.local work across the mesh in the same way that it does for primary-remote. Load balancing works properly in this model as well, since each control plane has all of the actual endpoints from every cluster and can load balance evenly across them.

It seems documentation is missing step to add ServiceEntry on local cluster with svc https://istio.io/latest/docs/setup/install/multicluster/gateways/
multicluster mTLS version 1.7.1 started working after I added local ServiceEntry
multicluster mTLS version 1.6.8 version with only remote ServiceEntry
but this doesn't help to make istio version 1.5.7 working with multicluster mTLS

@y0zg

multicluster mTLS version 1.6.8 version works with only remote ServiceEntry

That's surprising to me. Without configuring DNS to resolve .global in the local cluster, I'm not sure how this could work. Are you sure you didn't have a ServiceEntry hanging around from a previous run?
I just tried it out on 1.6.7 with only the remote SE and I get:
./test.sh $CTX1
Sending traffic from cluster gke_nathanmittler-istio_us-east1-b_cluster1
curl: (6) Could not resolve host: helloworld.sample.global
command terminated with exit code 6

Yep, I can confirm with only local ServiceEntry this works like it actually described in doc https://istio.io/latest/docs/setup/install/multicluster/gateways/
Deleteted istio including istio-system namespace  and deployed istio 1.6.8 following above istio doc
client version: 1.6.8
control plane version: 1.6.8
data plane version: 1.6.8 (4 proxies)

kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.7", GitCommit:"b4455102ef392bf7d594ef96b97a4caa79d729d9", GitTreeState:"clean", BuildDate:"2020-06-17T11:39:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.11+IKS", GitCommit:"8f73c4ab44865a242f2f2ee450d5e0043f7bc341", GitTreeState:"clean", BuildDate:"2020-08-13T19:41:30Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

Cluster 1
istioctl proxy-status
NAME                                                   CDS        LDS        EDS        RDS          PILOT                       VERSION
istio-egressgateway-78bf8c9d5c-tn5d5.istio-system      SYNCED     SYNCED     SYNCED     NOT SENT     istiod-58f84ffddc-68dxm     1.6.8
istio-ingressgateway-6c77d7f498-gt9hm.istio-system     SYNCED     SYNCED     SYNCED     NOT SENT     istiod-58f84ffddc-68dxm     1.6.8
prometheus-5db67458fb-5vfb2.istio-system               SYNCED     SYNCED     SYNCED     SYNCED       istiod-58f84ffddc-68dxm     1.6.8
sleep-f8cbf5b76-vgxcv.foo                              SYNCED     SYNCED     SYNCED     SYNCED       istiod-58f84ffddc-68dxm     1.6.8

Cluster 2
istioctl proxy-status
NAME                                                   CDS        LDS        EDS        RDS          PILOT                       VERSION
httpbin-779c54bf49-pwxks.bar                           SYNCED     SYNCED     SYNCED     SYNCED       istiod-58f84ffddc-r67d8     1.6.8
istio-egressgateway-78bf8c9d5c-945hw.istio-system      SYNCED     SYNCED     SYNCED     NOT SENT     istiod-58f84ffddc-r67d8     1.6.8
istio-ingressgateway-6c77d7f498-clr4s.istio-system     SYNCED     SYNCED     SYNCED     NOT SENT     istiod-58f84ffddc-r67d8     1.6.8
prometheus-5db67458fb-p8fl5.istio-system               SYNCED     SYNCED     SYNCED     SYNCED       istiod-58f84ffddc-r67d8     1.6.8

Cluster 1:
apiVersion: v1
data:
  Corefile: |
    .:53 {
        errors
        health
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           upstream
           fallthrough in-addr.arpa ip6.arpa
        }
        prometheus :9153
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }
    global:53 {
        errors
        cache 30
        forward . $CLUSTER1-ISTIOCOREDNS
    }
kind: ConfigMap
metadata:
  labels:
    addonmanager.kubernetes.io/mode: EnsureExists
    ibm-cloud.kubernetes.io/coredns-corefile-migrate-version: 1.6.7
  name: coredns
  selfLink: /api/v1/namespaces/kube-system/configmaps/coredns

apiVersion: v1
items:
- apiVersion: networking.istio.io/v1beta1
  kind: ServiceEntry
  metadata:
    name: httpbin-bar
    namespace: foo
  spec:
    addresses:
    - <IP_ADDRESS>
    endpoints:
    - address: $GATEWAY2
      ports:
        http1: 15443
    hosts:
    - httpbin.bar.global
    location: MESH_INTERNAL
    ports:
    - name: http1
      number: 8000
      protocol: http
    resolution: DNS
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

Cluster 2
apiVersion: v1
data:
  Corefile: |
    .:53 {
        errors
        health
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           upstream
           fallthrough in-addr.arpa ip6.arpa
        }
        prometheus :9153
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }
    global:53 {
        errors
        cache 30
        forward . $CLUSTER2-ISTIOCOREDNS:53
    }
kind: ConfigMap
metadata:
  labels:
    addonmanager.kubernetes.io/mode: EnsureExists
    ibm-cloud.kubernetes.io/coredns-corefile-migrate-version: 1.6.7
  name: coredns
  namespace: kube-system

There are no ServiceEntry objects in Cluster 2
k get se -A
No resources found

Calling httpbin.bar.global in Cluster #2  from sleep pod in Cluster #1
kubectl exec sleep-f8cbf5b76-vgxcv -n foo -c sleep -- curl -sI httpbin.bar.global:8000/headers
HTTP/1.1 200 OK
server: envoy
date: Thu, 17 Sep 2020 15:46:28 GMT
content-type: application/json
content-length: 554
access-control-allow-origin: *
access-control-allow-credentials: true
x-envoy-upstream-service-time: 9

httpbin istio-proxy debug logs:
2020-09-17T15:46:28.509663Z debug envoy http  [external/envoy/source/common/http/conn_manager_impl.cc:268] [C42] new stream
2020-09-17T15:46:28.509832Z debug envoy http  [external/envoy/source/common/http/conn_manager_impl.cc:782] [C42][S11769004420425626891] request headers complete (end_stream=true):
':authority', 'httpbin.bar.global:8000'
':path', '/headers'
':method', 'HEAD'
'user-agent', 'curl/7.69.1'
'accept', '*/*'
'x-forwarded-proto', 'http'
'x-request-id', 'd1761e62-c4dc-47fa-9360-afbe38e71872'
'x-envoy-decorator-operation', 'httpbin.bar.global:8000/*'
'x-envoy-peer-metadata', 'ChoKCkNMVVNURVJfSUQSDBoKS3ViZXJuZXRlcwo4CgxJTlNUQU5DRV9JUFMSKBomMTcyLjMwLjE5LjI1LGZlODA6OjZjMDc6ZjdmZjpmZTkyOjRmYWYK3gEKBkxBQkVXUxLTASrQAQoOCgNhcHASBxoFc2xlZXAKGQoMaXN0aW8uaW8vcmV2EgkaB2RlZmF1bHQKIAoRcG9kLXRlbXBsYXRlLWhhc2gSCxoJZjhjYmY1Yjc2CiQKGXNlY3VyaXR5LmlzdGlvLmlvL3Rsc01vZGUSBxoFaXN0aW8KKgofc2VydmljZS5pc3Rpby5pby9jYW5vbmljYWwtbmFtZRIHGgVzbGVlcAovCiNzZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1yZXZpc2lvbhIIGgZsYXRlc3XKGgoHTUVTSF9JRBIPGg1jbHVzdGVyLmxvY2FsCh8KBE5BTUUSFxoVc2xlZXAtZjhjYmY1Yjc2LXZneGN2ChIKCU5BTUVTUEFDRRIFGgNmb28KRQoFT1dORVISPBo6a3ViZXJuZXRlczovL2FwaXMvYXBwcy92MS9uYW1lc3BhY2VzL2Zvby9kZXBsb3ltZW50cy9zbGVlcAoaCg9TRVJWSUNFX0FDQ09VTlQSBxoFc2xlZXAKGAoNV09SS0xPQURfTkFNRRIHGgVzbGVlcA=='
'x-envoy-peer-metadata-id', 'sidecar~<IP_ADDRESS>~sleep-f8cbf5b76-vgxcv.foo~foo.svc.cluster.local'
'x-envoy-attempt-count', '1'
'x-b3-traceid', '5e587d85b18a6df45e34cf55baba9386'
'x-b3-spanid', '5e34cf55baba9386'
'x-b3-sampled', '0'
'content-length', '0'

2020-09-17T15:46:28.509853Z debug envoy http  [external/envoy/source/common/http/conn_manager_impl.cc:1337] [C42][S11769004420425626891] request end stream
2020-09-17T15:46:28.510519Z debug envoy filter  [src/envoy/http/authn/http_filter.cc:55] AuthenticationFilter::decodeHeaders with config
policy {
  peers {
    mtls {
      mode: PERMISSIVE
    }
  }
}

2020-09-17T15:46:28.510579Z debug envoy filter  [src/envoy/http/authn/authenticator_base.cc:98] [C42] validateX509 mode PERMISSIVE: ssl=true, has_user=true
2020-09-17T15:46:28.510586Z debug envoy filter  [src/envoy/http/authn/authenticator_base.cc:77] [C42] trust domain validation succeeded
2020-09-17T15:46:28.510590Z debug envoy filter  [src/envoy/http/authn/filter_context.cc:35] Set peer from X509: cluster.local/ns/foo/sa/sleep
2020-09-17T15:46:28.510596Z debug envoy filter  [src/envoy/http/authn/filter_context.cc:61] Set principal from peer: cluster.local/ns/foo/sa/sleep
2020-09-17T15:46:28.510600Z debug envoy filter  [src/envoy/http/authn/origin_authenticator.cc:106] Origin authenticator succeeded
2020-09-17T15:46:28.510659Z debug envoy filter  [src/envoy/http/authn/http_filter.cc:88] Saved Dynamic Metadata:
fields {
  key: "request.auth.principal"
  value {
    string_value: "cluster.local/ns/foo/sa/sleep"
  }
}
fields {
  key: "source.namespace"
  value {
    string_value: "foo"
  }
}
fields {
  key: "source.principal"
  value {
    string_value: "cluster.local/ns/foo/sa/sleep"
  }
}
fields {
  key: "source.user"
  value {
    string_value: "cluster.local/ns/foo/sa/sleep"
  }
}

2020-09-17T15:46:28.510701Z debug envoy router  [external/envoy/source/common/router/router.cc:477] [C42][S11769004420425626891] cluster 'inbound|8000|http|httpbin.bar.svc.cluster.local' match for URL '/headers'
2020-09-17T15:46:28.510741Z debug envoy router  [external/envoy/source/common/router/router.cc:634] [C42][S11769004420425626891] router decoding headers:
':authority', 'httpbin.bar.global:8000'
':path', '/headers'
':method', 'HEAD'
':scheme', 'http'
'user-agent', 'curl/7.69.1'
'accept', '*/*'
'x-forwarded-proto', 'http'
'x-request-id', 'd1761e62-c4dc-47fa-9360-afbe38e71872'
'x-envoy-attempt-count', '1'
'content-length', '0'
'x-forwarded-client-cert', 'By=spiffe://cluster.local/ns/bar/sa/httpbin;Hash=10fd8b1c8fa3907563842ef8d07f91d34defe5fce6ab8bb59a8a24e69e73f0e9;Subject="";URI=spiffe://cluster.local/ns/foo/sa/sleep'
'x-b3-traceid', '5e587d85b18a6df45e34cf55baba9386'
'x-b3-spanid', '11fc5064b20a5b06'
'x-b3-parentspanid', '5e34cf55baba9386'
'x-b3-sampled', '0'

2020-09-17T15:46:28.510766Z debug envoy pool  [external/envoy/source/common/http/conn_pool_base.cc:337] queueing request due to no available connections
2020-09-17T15:46:28.510886Z debug envoy pool  [external/envoy/source/common/http/conn_pool_base.cc:47] creating a new connection
2020-09-17T15:46:28.510948Z debug envoy client  [external/envoy/source/common/http/codec_client.cc:34] [C366] connecting
2020-09-17T15:46:28.510962Z debug envoy connection  [external/envoy/source/common/network/connection_impl.cc:727] [C366] connecting to <IP_ADDRESS>:80
2020-09-17T15:46:28.511054Z debug envoy connection  [external/envoy/source/common/network/connection_impl.cc:736] [C366] connection in progress
2020-09-17T15:46:28.511134Z debug envoy connection  [external/envoy/source/common/network/connection_impl.cc:592] [C366] connected
2020-09-17T15:46:28.511150Z debug envoy client  [external/envoy/source/common/http/codec_client.cc:72] [C366] connected
2020-09-17T15:46:28.511156Z debug envoy pool  [external/envoy/source/common/http/conn_pool_base.cc:143] [C366] attaching to next request
2020-09-17T15:46:28.511161Z debug envoy pool  [external/envoy/source/common/http/conn_pool_base.cc:68] [C366] creating stream
2020-09-17T15:46:28.511170Z debug envoy router  [external/envoy/source/common/router/upstream_request.cc:317] [C42][S11769004420425626891] pool ready
2020-09-17T15:46:28.515428Z debug envoy client  [external/envoy/source/common/http/codec_client.cc:104] [C366] response complete
2020-09-17T15:46:28.515500Z debug envoy router  [external/envoy/source/common/router/router.cc:1149] [C42][S11769004420425626891] upstream headers complete: end_stream=true
2020-09-17T15:46:28.515599Z debug envoy http  [external/envoy/source/common/http/conn_manager_impl.cc:1710] [C42][S11769004420425626891] encoding headers via codec (end_stream=true):
':status', '200'
'server', 'istio-envoy'
'date', 'Thu, 17 Sep 2020 15:46:28 GMT'
'content-type', 'application/json'
'content-length', '554'
'access-control-allow-origin', '*'
'access-control-allow-credentials', 'true'
'x-envoy-upstream-service-time', '4'
'x-envoy-peer-metadata', 'ChoKCkNMVVNURVJfSUQSDBoKS3ViZXJuZXRlcwo6CgxJTlNUQU5DRV9JUFMSKhooMTcyLjMwLjE4Ny4yMDgsZmU4MDo6NjBmYzo5NGZmOmZlZTQ6YTdmNArwAQoGTEFCRUxTEuUBKuIBChAKA2FwcBIJGgdodHRwYmluChkKDGlzdGlvLmlvL3JldhIJGgdkZWZhdWx0CiEKEXBvZC10ZW1wbGF0ZS1oYXNoEgwaCjc3OWX1NGJmNDkKJAoZc2VjdXJpdHkuaXN0aW8uaW8vdGxzTW9kZRIHGgVpc3RpbwosCh9zZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1uYW1lEgkaB2h0dHBiaW4KKwojc2VydmljZS5pc3Rpby5pby9jYW5vbmljYWwtcmV2aXNpb24SBBoCdjEKDwoHdmVyc2lvbhIEGgJ2MQoaCgdNRVNIX0lEEg8aDWNsdXN0ZXIubG9jYWwKIgoETkFNRRIaGhhodHRwYmluLTc3OWM1NGJmNDktcHd4a3MKEgoJTkFNRVNQQUNFEgUaA2JhcgpHCgVPV05FUhI+GjxrdWJlcm5ldGVzOi8vYXBpcy9hcHBzL3YxL25hbWVzcGFjZXMvYmFyL2RlcGxveW1lbnRzL2h0dHBiaW4KHAoPU0VSVklDRV9BQ0NPVU5UEgkaB2h0dHBiaW4KGgoNV09SS0xPQURfTkFNRRIJGgdodHRwYmlX'
'x-envoy-peer-metadata-id', 'sidecar~<IP_ADDRESS>~httpbin-779c54bf49-pwxks.bar~bar.svc.cluster.local'

In 1.7.2 version connectivity works only with remote ServiceEntry, so documentation is correct again https://istio.io/latest/docs/setup/install/multicluster/gateways/


Node won't update its inputs order and weight when PlayableGraph hierarchy changed

Node won't update its inputs order and weight when PlayableGraph hierarchy changed.

Please re-open PlayableGraphMonitor window as a temporary solution.

Fixed in release v2.0.0


[1.10.2] Crusher does nothing with Ore

Tried gold, iron, copper, lead, osmium, etc in ore form, the crusher machine does nothing.
place ingots crushes them into dust, that can be smelted.
Forge 2014
Mods: Mekanism-1.10.2-<IP_ADDRESS>8.jar
MekanismGenerators-1.10.2-<IP_ADDRESS>8.jar
MekanismTools-1.10.2-<IP_ADDRESS>8.jar

That's because there's another machine ores go into.

You have to put ores in the Enrichment Chamber. The crusher is there to crush ingots etc. not ores

Derp!  I guess I have been away from 1.7.10 and Mek too long.   Sorry.


No such file or directory: '/data/internal_data/meta_data/results_400k_train_RandomSample_clean.csv'

Could you please help me with how to resolve the following error?

Hello,
Due to the legal policy, we cannot share the data of training and testing. You need to prepare your own data, e.g., using public dataset like Panda70m or collecting videos from Pexels.


refactor: rework internal management of activations

Refactor the internal management of activations as has been already discussed
Clients and e2e flows should not be affected. e2e api tests should pass. The only remarkable difference if the new option "max_running_activations" to limit how many activations can run simultaneously.
High level changes:

Implement task orchestrator/arbitrator
Implement activation manager
Implement container engine and log handler interfaces with concrete implementations for k8s and podman based on the existing code
Update tests
Update settings
Update deps (only jinja for production)
Some new fields and migrations in models
Update views to use the new system.

What doesn't include:

Still needs several tests for the new code to be added in later iterations
Some dead code to be removed in later iterations.

High level benefits:

Remove the limitation of one worker per running activation
Isolated layers and dependency injection
No orphan pods and better resilience.
Automatic recovering of the state after upgrades or restarts.
Mitigation of race conditions.

Jira: https://issues.redhat.com/browse/AAP-17297
Authored by:
@mkanoor @hsong-rh @bzwei @Alex-Izquierdo

Hi @Dostonbek1 we would need more info, it might be an issue related with the local deployment or its configuration. The logs can give more info as well as details about how are you running all the components of the application.


auto for initial width and height

This is a request to add support for auto for w prop (initial width) and auto for h (initial height)

I would also like to see this!

@kirillmurashov any update on this. Can we expect this in near future?

Hi,@arpit-uno, thanks so much for the donation !
Yes, there are plans to add several features including this one. I hope to implement it in the next few weeks.

New release for vue2 and vue3 with support for this feature


Implement Pool-Seq correction for nucleotide diversity

As defined in Kofler et al. (2010). To assess concordance with
PoPoolation, we ported the tests from the perl code.
Closes #9

If you are able to review, another one for you @AnnaMariaL


May I buy you a coffee ?

Is there any way to make you a donation? ( e.g.: buymeacoffee.com )

Thanks for you comment! I'm glad you found this project helpful, I still think myself as a rookie dev, so never thought about that, haha.

👍

Just came here to say thank you for this cli-project. My usecase: DCS with additional Monitor setup requieres dpi scaling set to 100%. Otherwise it won't work. So with my Streamdeck I am now able to put your cli-command on a button to change dpi settings before starting up DCS. Works like a charm. Just tell me, when your donate-site is on ;) I will buy you a coffee too ;) Thanks for your projekt!!

Consider me another willing donor when you have a site up. I appreciate this.


state not accepting callback data as templateProvider

So have a very strange issue, thought it may be me doing something really stupid, but either it is so stupid noone on Stackexchange want to answer (there is 50 points up for grab if you have the answer http://stackoverflow.com/questions/35487722/asynchronous-templateprovider-in-uirouter)
Have a ui-view that is responsible for drawing a menu, if I provide the HTML code as a string, it works.  At first I thought it was restangular and the API call, but it SEEMS like as soon as I call a function from a function then do callbacks back, the menu disappears.
Some examples
Working
            .state('index', {
                url: "/index",
                views: {
                    main: {templateUrl: "page/welcome"},
                    menu: {
                        templateProvider:
                            function ($http, $stateParams, accessFactory) {
                                //return accessFactory.getMenu('home', function(menu){
                                //    console.log("Got back " + menu);
                                //    return menu;
                                //});
                                return '<md-button class="md-raised md-fab md-primary" md-theme="default" aria-label="Home" ui-sref="index"><md-icon md-svg-src="/images/icons-svg/home9.svg" class="svg-icon" style="color: rgb(255, 255, 255);"></md-icon> </md-button>';

                            }
                    }
                }

            })

Broken
If I uncomment the function call as follows
            .state('index', {
                url: "/index",
                views: {
                    main: {templateUrl: "page/welcome"},
                    menu: {
                        templateProvider:
                            function ($http, $stateParams, accessFactory) {
                                return accessFactory.getMenu('home', function(menu){
                                    console.log("Got back " + menu);
                                    return menu;
                                });
                                //return '<md-button class="md-raised md-fab md-primary" md-theme="default" aria-label="Home" ui-sref="index"><md-icon md-svg-src="/images/icons-svg/home9.svg" class="svg-icon" style="color: rgb(255, 255, 255);"></md-icon> </md-button>';

                            }
                    }
                }

            })````

And then have a function which just returns the same text string

service.getMenu = function(menutype, callback){
    if (menutype === 'login'){
        callback('<md-button class="md-raised md-fab md-primary" md-theme="default" aria-label="Login" ui-sref="login"><md-icon md-svg-src="/images/icons-svg/unlock.svg" class="svg-icon" style="color: rgb(0, 0, 0);"></md-icon> </md-button>');
    } ````

Then its all broken, what I can't figure out is, I am pretty certain that the data coming back from the function is identical to the string returned as a string in the first example. Actually, the string I return in the first example was copied from the second example console.log().

Thanks to the brilliant effort of pdorgambide this has been resolved. Not 100% certain why, but a callback is not enough, but changing it to a promise does do the trick. The full solution we used is on stack overflow, but as he pointed out, there is a right way and a quick way to promisify, I picked the quick one:)
If you do find you have this issue, just promisify the call, and magically it starts working :)


added Context to proteus  default namespace

Overall, I like the implementation of this a lot.  I'd like to see this in Proteus sooner than later.  I've got a few minor comments but I'm +1 for merge.


Improve useSearchParams types

This types the return as const to correctly infer the items within the array. Previously, the return array was (searchParams|setSearchParams)[], instead of [searchParams , setSearchParams], which made the usage impossible with correct typings.
Also setSearchParams parameters are now typed instead of just being any.

Yeah, that automatic array union is annoying, especially with hooks. Thanks for fixing it!

Thanks for the PR, @Domino987. I didn't know about as const. That's a great tip, thank you.
I believe we can shorten state?: State | null to just state?: State since State = object | null already. Would you agree?

Thanks for the PR, @Domino987. I didn't know about as const. That's a great tip, thank you.
I believe we can shorten state?: State | null to just state?: State since State = object | null already. Would you agree?

You could also type the return as the types and remove the const, but its easier, since the typing comes from the code itself.
Yes I believe we can remove the null, I just copied it from the useNavigation props, where I guess it also could be removed.


[CS2103-W17-3] ClientConnect

ClientConnect is a desktop app for managing clients’ contact details, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). Are you a fast typer? ClientConnect can get your client management tasks done faster than traditional GUI apps with the ability to find specific clients based on keywords provided.

Codecov Report

Merging #81 (cb598a8) into master (4f7660a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #81   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 4f7660a...cb598a8. Read the comment docs.