fix: Limit segment rules and conditions

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] ~I have added information to docs/ if required so people know about the feature!~
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Introduce a limit via settings constant to limit the number of conditions a segment can undergo before rejection.
How did you test this code?
Two long unit tests one for the update the other for the create. Existing tests can handle the cases where we want to see segments created in response to API input.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ad3ce0e) 95.91% compared to head (a5e9b1d) 95.92%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3397   +/-   ##
=======================================
  Coverage   95.91%   95.92%
=======================================
  Files        1081     1081
  Lines       33574    33626   +52
=======================================
+ Hits        32204    32256   +52
  Misses       1370     1370

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Have we confirmed yet how the FE behaves in this case too?

The mishandled errors have been fixed in this PR: https://github.com/Flagsmith/flagsmith/pull/3413

I think we should also document this in the system limits section of the docs.

Ok no problem. Added this locally.


Add rpc that checks if enrollment is successful based on state

Summary
This PR adds an more general rpc that the CLI can query to find out if the provider enrollment was successful, based on the state that was created and returned in the authorization URL.
This also saves the enrollment nonce (aka state) along with the installation ID and access token.
It also also adds the project ID to the installation IDs table. This was done to make collisions less likely between the enrollment nonces.
Ref #2522
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Run
minder provider enroll --provider github-app

Ensure that the CLI command does not finish, until the browser authorization flow is complete.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[x] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 47.256% (+0.1%) from 47.158%
when pulling afeedc09a87927466b44d1f11eab3532ec2eafbf on eleftherias:cli-provider-enroll-listen
into 902468781acfd507e96c52a62fd662576ca24b1f on stacklok:main.


fix: 'Model is training' indicator is not shown when switching categories

Resolves #412.

Codecov Report

Merging #413 (1c822c7) into main (4546f76) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #413   +/-   ##
=======================================
  Coverage   81.94%   81.94%
=======================================
  Files          62       62
  Lines        4103     4103
=======================================
  Hits         3362     3362
  Misses        741      741

Impacted Files
Coverage Δ

label_sleuth/orchestrator/orchestrator_api.py
68.30% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Develop Training Materials

Title of ticket:
Description
Requested by users during training sessions so they can self serve
####DOD

[x] Identify the tasks to demo (ie create a request, do an extension, etc)
[x] Train Ray and Kara
[x] Determine where to host videos (unlisted Youtube?)
[x] Create videos

Documentation

[ ] A one page visual showing each request state and the coinciding business team
[ ] Two system documentation (AXIS and new videos)
[ ] Quick Reference Guide? ie - this is when you need to synch with AXIS. etc

The AC here is covered elsewhere in other tickets. Closing


deps: use released h2

Fixes https://github.com/istio/ztunnel/issues/1000

In response to a cherrypick label: #1069 failed to apply on top of branch "release-1.22":
Applying: deps: use released `h2`
Using index info to reconstruct a base tree...
M	Cargo.toml
Falling back to patching base and 3-way merge...
Auto-merging Cargo.toml
CONFLICT (content): Merge conflict in Cargo.toml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 deps: use released `h2`
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #1070


reorganize deno docs off rewrite

Make small modification
Re-organize and add additional content to First Steps
Re-organize the rest of the docs
Format the docs
Modify the table of contents
Add npm specifiers
Add some more color to npm specifiers

 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.Yiren Lu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

testing...


Bump ratis version to 2.4.1

What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

alluxio-bot, merge this please

Ratis 2.4.1 change log based on 2.4. I can see a few bug fixes that looks useful.
https://github.com/apache/ratis/compare/ratis-2.4.0...ratis-2.4.1


Parametrizing tests

Hi! I like this library. Would be great, if I could parametrize my tests. Can you review my pull request?
https://github.com/pana-cc/mocha-typescript/pull/69

This is continued in the PR #82.


docs : Automate release notes

This patch adds a script to generate release notes.
Usage
./docs/release_notes.sh <start-commit/tag>
start-commit/tag is the commit to start to get git changes.
Example:
$./docs/release_notes.sh 3.0.0-alpha.5 3.0.0.beta.1
Fixes #409
Signed-off-by: Jose Carlos Venegas Munoz<EMAIL_ADDRESS>

Example running:
 ./docs/release_notes.sh 3.0.0-alpha.5 3.0.0.beta.1

Release 3.0.0.beta.1
Changes

qemu: Move from pc-lite to pc machine type
docs: Document limitations.
config: support kernel parameters
build: configuration file depends on build variables

Shortlog
8a38fa7 qemu: Move from pc-lite to pc machine type
56e96d3 docs: Document limitations.
528772f config: support kernel parameters
2c456d7 build: configuration file depends on build variables
Compatibility with Docker
Clear Containers 3.0.0.beta.1 is compatible with Docker v17.06-ce
OCI Runtime Specification
Clear Containers 3.0.0.beta.1 support the OCI Runtime Specification 1.0.0-rc5
Clear Linux Containers image
Clear Containers 3.0.0.beta.1 requires at least Clear Linux containers image 16910
Clear Linux Containers Kernel
Clear Containers 3.0.0.beta.1 requires at least Clear Linux Containers  kernel cc-linux-4.9.35
Installation

Ubuntu
Fedora
Developers

Issues & limitations
Networking
Adding networks dynamically
Resource management
docker run -m
See issue #381 for more information.
docker run --cpus=
See issue #341 for more information.
docker run --kernel-memory=
See issue #388 for more information.
shm
cgroup constraints
Capabilities
See issue #51 for more information.
sysctl
tmpfs
Other
checkpoint and restore
docker stats
See issue #200 for more information.
runtime commands
ps command
See issue #95 for more information.
events command
See issue #379 for more information.
update command
See issue #380 for more information.
Networking
Support for joining an existing VM network
docker --net=host
docker run --link
Host resource sharing
docker --device
docker -v /dev/...
docker run --privileged
Other
Annotations
runtime commands
init command
spec command
More information Limitations

Coverage remained the same at 55.39% when pulling d5bec43d2582fb6fa5d4b0b1a8ec7c15e5c6d784 on jcvenegas:jcvenegas/automate-release-notes into 2eeb4f49cb4aa60a76bfedc6442dc142131fa054 on clearcontainers:master.

@jcvenegas I like this kind of patch :)
Good thing to automate the release.

I think this is a good thing (tm) :-)
I will add the note - once we have run the script we should never blindly trust the output - we still need to visually check and potentially massage the data (sometimes commit messages can be trimmed or improved or don't need to belong in the release notes for instance).
And, a note to all, now you have even more motivation to be vigilant on your commit/merge subject lines, as they are likely to end up in the release notes.
lgtm
adding @jodh-intel as a reviewer.

Coverage remained the same at 55.39% when pulling 15278067fd43a35128e66db119588cf5cdff0b27 on jcvenegas:jcvenegas/automate-release-notes into 2eeb4f49cb4aa60a76bfedc6442dc142131fa054 on clearcontainers:master.

Coverage remained the same at 55.39% when pulling fbd04de8e132b19b812dd20dd304d4db3486cb0e on jcvenegas:jcvenegas/automate-release-notes into 5dea7cbe5041755038941373dc9f16ee9205b596 on clearcontainers:master.

Please rebase the PR so that it runs with the new agent code.

lgtm

Coverage remained the same at 55.39% when pulling<PHONE_NUMBER>0f0239ef4e0a65810b22c58ff98144 on jcvenegas:jcvenegas/automate-release-notes into 7bde8a9eb710dd9f090a680f1f6ba9ad86137a3b on clearcontainers:master.

lgtm


Remove the 3rd party JFR nerdlet from staging and archive the repo

Currently, in the staging environment there are two JFR nerdlets available, the old third party nerdlet and the first party nerdlet that replaced it.
We should remove the third party nerdlet from staging so that only the first party nerdlet is visible. We should also deprecate the nr1-jfr repo since it's been replaced.
@amit-y mentioned the following blocker which needs to be addressed before we can remove the nerdlet:

we need to identify the accounts which have access to the older version, and then unsubscribe them. I have reached out to get a list of accounts that are currently subscribed through the backend, because there's no way to get that through the UI. I haven't heard anything back from that team. So, essentially we'd have to remember all the accounts that we enabled, and then go in and unsubscribe all of them.

Just bumping this issue. Could I get a status please?

@jbeveland27 What do you need from us to move this forward? We need to have this 3rd party nerdlet removed very soon before the 1st party version becomes generally available.
Previously you mentioned the following as holding this up. Is that still the case?

But since the 3rd party has been available since 3/19/2020 (when it was made available in the Catalog), we're going to have to work with Platform Services to remove it from any accounts that already added it via the Catalog.

The JFR Nerdlet is no longer global. Will need to do some internal work to get it removed from accounts.
Will follow up conversation in Slack.


Many-to-Many association with Custom Pivot Entity fails when one of the Entities' class name is non-standard

Describe the bug

Given we have a relationship of Many-to-Many: A Company has many ProductEntity's , and a ProductEntity may belong to many Company's
And the associations were defined using entity schemas
And There is a custom pivot entity called CompanyProduct
When we create a new Company and add a new Product to its collection
Then MikroORM throws an error: InvalidFieldNameException: insert into "test"."company_product" ("company_id", "product_entity_id") values ('1', '1') returning "id" - column "product_entity_id" of relation "company_product" does not exist

Full Stack trace:
src/mikro-orm.test.ts > Mikro Orm > creates a company with products
InvalidFieldNameException: insert into "test"."company_product" ("company_id", "product_entity_id") values ('1', '1') returning "id" - column "product_entity_id" of relation "company_product" does not exist
 ❯ PostgreSqlExceptionConverter.convertException node_modules/@mikro-orm/postgresql/PostgreSqlExceptionConverter.js:36:24
 ❯ PostgreSqlDriver.convertException node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:201:54
 ❯ node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:205:24
 ❯ PostgreSqlDriver.nativeInsertMany node_modules/@mikro-orm/knex/AbstractSqlDriver.js:300:21
 ❯ PostgreSqlDriver.updateCollectionDiff node_modules/@mikro-orm/knex/AbstractSqlDriver.js:742:13
 ❯ UnitOfWork.persistToDatabase node_modules/@mikro-orm/core/unit-of-work/UnitOfWork.js:715:13
 ❯ PostgreSqlConnection.transactional node_modules/@mikro-orm/knex/AbstractSqlConnection.js:36:25
 ❯ UnitOfWork.doCommit node_modules/@mikro-orm/core/unit-of-work/UnitOfWork.js:295:17
 ❯ UnitOfWork.commit node_modules/@mikro-orm/core/unit-of-work/UnitOfWork.js:268:13
 ❯ Parser.parseErrorMessage node_modules/pg-protocol/src/parser.ts:369:69
 ❯ Parser.handlePacket node_modules/pg-protocol/src/parser.ts:188:21
 ❯ Parser.parse node_modules/pg-protocol/src/parser.ts:103:30

Reproduction

Clone the minimum reproducible code repository: https://github.com/thiagomini/mikro-orm-repro/tree/bug/many-to-many-association
run yarn
run docker compose up -d
run yarn test

What driver are you using?
@mikro-orm/postgresql
MikroORM version
5.9.4
Node.js version
20.9.0
Operating system
WSL 2.0
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Slack.
[X] The provided reproduction is a minimal reproducible example of the bug.

While the issue is valid, the repro won't work after the fix on its own - you can't use onCreate property option for pivot entities here, working with the M:N relation does not create such entity instances under the hood, so they won't be executed. You need a db default (defaultRaw: 'current_timestamp'), and similarly, pivot rows are never updated, only added or removed, so the onUpdate will only work if you manually load that pivot entity and modify it.


fix(consola): print full stack traces to console

before

after

PR does the job but there was a simpler fix and editing this one was going to be a pain.
Thank you though. I'll need to implement proper file logging at some point. Console output is too easily lost.


kws_streaming TF 2.5

tensorflow.python.framework.errors_impl.InvalidArgumentError: Node 'training/Adam/gradients/gradients/gru/cell/while_grad/gru/cell/while_grad': Connecting to invalid output 51 of source node gru/cell/while which has 51 outputs. Try using tf.compat.v1.experimental.output_all_intermediates(True).

Apols me using an older fork

I thought it might be because of the older fork but works on 2.4.1 but not 2.5

please share more details about how to reproduce the error.

W0515 01:51:17.825679<PHONE_NUMBER>96992 module_wrapper.py:153] From /home/stuart/google-kws/kws_streaming/train/train.py:49: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead.

I0515 01:51:17.928516<PHONE_NUMBER>96992 train.py:69] Namespace(act1="'linear','relu'", background_frequency=0.8, background_volume=0.1, batch_size=100, causal_data_frame_padding=0, clip_duration_ms=1000, cnn_act="'relu','relu'", cnn_dilation_rate='(1,1),(1,1)', cnn_filters='16,16', cnn_kernel_size='(3,3),(5,3)', cnn_strides='(1,1),(1,1)', data_dir='/home/stuart/Dataset-builder/dataset/', data_frame_padding=None, data_stride=1, data_url='', dct_num_features=20, desired_samples=16000, dropout1=0.1, eval_step_interval=400, feature_type='mfcc_op', fft_magnitude_squared=True, frequency_mask_max_size=5, frequency_masks_number=2, gru_units='256', how_many_training_steps='6000,6000,6000,6000', l2_weight_decay=0.0, label_count=3, learning_rate='0.001,0.0005,0.0001,0.00002', log_epsilon=1e-12, lr_schedule='exp', mel_lower_edge_hertz=20.0, mel_non_zero_only=1, mel_num_bins=40, mel_upper_edge_hertz=7600.0, model_name='crnn', novograd_beta_1=0.95, novograd_beta_2=0.5, novograd_grad_averaging=0, novograd_weight_decay=0.001, optimizer='adam', optimizer_epsilon=1e-08, pick_deterministically=0, preemph=0.0, preprocess='raw', quantize=0, resample=0.0, return_sequences='0', return_softmax=0, sample_rate=16000, save_step_interval=100, silence_percentage=10.0, sp_resample=0.0, sp_time_shift_ms=0.0, spec_cutout_frequency_mask_size=5, spec_cutout_masks_number=3, spec_cutout_time_mask_size=10, spectrogram_length=49, split_data=0, start_checkpoint='', stateful=1, summaries_dir='/home/stuart/google-kws/models2/crnn_state/logs/', testing_percentage=10, time_mask_max_size=10, time_masks_number=2, time_shift_ms=100.0, train=1, train_dir='/home/stuart/google-kws/models2/crnn_state/', training=True, units1='128,256', unknown_percentage=10.0, use_spec_augment=1, use_spec_cutout=0, use_tf_fft=0, validation_percentage=10, verbosity=0, volume_resample=0.0, wanted_words='silence,notkw,kw', wav=1, window_size_ms=40.0, window_size_samples=640, window_stride_ms=20.0, window_stride_samples=320, window_type='hann')
2021-05-15 01:51:18.472312: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.472656: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1050 Ti computeCapability: 6.1
coreClock: 1.392GHz coreCount: 6 deviceMemorySize: 3.94GiB deviceMemoryBandwidth: 104.43GiB/s
2021-05-15 01:51:18.472766: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.473114: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.473378: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0
2021-05-15 01:51:18.695905: I tensorflow/core/platform/profile_utils/cpu_utils.cc:114] CPU Frequency:<PHONE_NUMBER> Hz
2021-05-15 01:51:18.977733: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.978064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce GTX 1050 Ti computeCapability: 6.1
coreClock: 1.392GHz coreCount: 6 deviceMemorySize: 3.94GiB deviceMemoryBandwidth: 104.43GiB/s
2021-05-15 01:51:18.978127: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.978416: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.978667: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0
2021-05-15 01:51:18.978698: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-05-15 01:51:18.978708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]      0
2021-05-15 01:51:18.978716: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1277] 0:   N
2021-05-15 01:51:18.978791: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.979082: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-05-15 01:51:18.979403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1418] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3129 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce GTX 1050 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
WARNING:tensorflow:Layer cell will not use cuDNN kernels since it doesn't meet the criteria. It will use a generic GPU kernel as fallback when running on GPU.
W0515 01:51:18.979778<PHONE_NUMBER>96992 recurrent_v2.py:413] Layer cell will not use cuDNN kernels since it doesn't meet the criteria. It will use a generic GPU kernel as fallback when running on GPU.
Model: "model"
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_1 (InputLayer)         [(100, 16000)]            0
_________________________________________________________________
speech_features (SpeechFeatu (100, 49, 20)             0
_________________________________________________________________
tf_op_layer_ExpandDims (Tens [(100, 49, 20, 1)]        0
_________________________________________________________________
stream (Stream)              (100, 47, 18, 16)         160
_________________________________________________________________
stream_1 (Stream)            (100, 43, 16, 16)         3856
_________________________________________________________________
reshape (Reshape)            (100, 43, 256)            0
_________________________________________________________________
gru (GRU)                    (100, 1, 256)             394752
_________________________________________________________________
stream_2 (Stream)            (100, 256)                0
_________________________________________________________________
dropout (Dropout)            (100, 256)                0
_________________________________________________________________
dense (Dense)                (100, 128)                32896
_________________________________________________________________
dense_1 (Dense)              (100, 256)                33024
_________________________________________________________________
dense_2 (Dense)              (100, 3)                  771
=================================================================
Total params: 465,459
Trainable params: 465,459
Non-trainable params: 0
_________________________________________________________________
I0515 01:51:19.321968<PHONE_NUMBER>96992 train.py:71] None
I0515 01:51:19.619409<PHONE_NUMBER>96992 train.py:107] Training from step: 1
2021-05-15 01:51:21.140477: W tensorflow/c/c_api.cc:335] Operation '{name:'gru/cell/while' id:661 op device:{} def:{{{node gru/cell/while}} = While[T=[DT_INT32, DT_INT32, DT_INT32, DT_VARIANT, DT_FLOAT, ..., DT_VARIANT, DT_VARIANT, DT_VARIANT, DT_VARIANT, DT_VARIANT], _lower_using_switch_merge=true, _num_original_outputs=53, _read_only_resource_inputs=[7, 8, 9], body=gru_cell_while_body_1256_rewritten[], cond=gru_cell_while_cond_1255_rewritten[], output_shapes=[[], [], [], [], [100,256], ..., [], [], [], [], []], parallel_iterations=32](gru/cell/while/loop_counter, gru/cell/while/maximum_iterations, gru/cell/time, gru/cell/TensorArrayV2_1, gru/cell/ReadVariableOp, gru/cell/strided_slice, gru/cell/TensorArrayUnstack/TensorListFromTensor, gru/cell/gru_cell/bias, gru/cell/gru_cell/kernel, gru/cell/gru_cell/recurrent_kernel, gru/cell/while/EmptyTensorList, gru/cell/while/EmptyTensorList_1, gru/cell/while/EmptyTensorList_2, gru/cell/while/EmptyTensorList_3, gru/cell/while/EmptyTensorList_4, gru/cell/while/EmptyTensorList_5, gru/cell/while/EmptyTensorList_6, gru/cell/while/EmptyTensorList_7, gru/cell/while/EmptyTensorList_8, gru/cell/while/EmptyTensorList_9, gru/cell/while/EmptyTensorList_10, gru/cell/while/EmptyTensorList_11, gru/cell/while/EmptyTensorList_12, gru/cell/while/EmptyTensorList_13, gru/cell/while/EmptyTensorList_14, gru/cell/while/EmptyTensorList_15, gru/cell/while/EmptyTensorList_16, gru/cell/while/EmptyTensorList_17, gru/cell/while/EmptyTensorList_18, gru/cell/while/EmptyTensorList_19, gru/cell/while/EmptyTensorList_20, gru/cell/while/EmptyTensorList_21, gru/cell/while/EmptyTensorList_22, gru/cell/while/EmptyTensorList_23, gru/cell/while/EmptyTensorList_24, gru/cell/while/EmptyTensorList_25, gru/cell/while/EmptyTensorList_26, gru/cell/while/EmptyTensorList_27, gru/cell/while/EmptyTensorList_28, gru/cell/while/EmptyTensorList_29, gru/cell/while/EmptyTensorList_30, gru/cell/while/EmptyTensorList_31, gru/cell/while/EmptyTensorList_32, gru/cell/while/EmptyTensorList_33, gru/cell/while/EmptyTensorList_34, gru/cell/while/EmptyTensorList_35, gru/cell/while/EmptyTensorList_36, gru/cell/while/EmptyTensorList_37, gru/cell/while/EmptyTensorList_38, gru/cell/while/EmptyTensorList_39, gru/cell/while/EmptyTensorList_40, training/Adam/gradients/gradients/gru/cell/while_grad/gradients/TensorArrayV2Read/TensorListGetItem_grad/TensorListElementShape_0/accumulator:0, training/Adam/gradients/gradients/gru/cell/while_grad/gradients/TensorArrayV2Read/TensorListGetItem_grad/TensorListLength_0/accumulator:0)}}' was changed by setting attribute after it was run by a session. This mutation will have no effect, and will trigger an error in the future. Either don't modify nodes after running them or create a new session.
Traceback (most recent call last):
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1375, in _do_call
    return fn(*args)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1358, in _run_fn
    self._extend_graph()
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1398, in _extend_graph
    tf_session.ExtendSession(self._session)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Node 'training/Adam/gradients/gradients/gru/cell/while_grad/gru/cell/while_grad': Connecting to invalid output 51 of source node gru/cell/while which has 51 outputs. Try using tf.compat.v1.experimental.output_all_intermediates(True).

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/stuart/google-kws/kws_streaming/train/model_train_eval.py", line 366, in <module>
    tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/absl/app.py", line 303, in run
    _run_main(main, args)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/home/stuart/google-kws/kws_streaming/train/model_train_eval.py", line 147, in main
    train.train(flags)
  File "/home/stuart/google-kws/kws_streaming/train/train.py", line 147, in train
    result = model.train_on_batch(train_fingerprints, train_ground_truth)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training_v1.py", line 1094, in train_on_batch
    outputs = self.train_function(ins)  # pylint: disable=not-callable
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/keras/backend.py", line 4020, in __call__
    session = get_session(inputs)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/keras/backend.py", line 745, in get_session
    _initialize_variables(session)
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/keras/backend.py", line 1193, in _initialize_variables
    is_initialized = session.run(
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 967, in run
    result = self._run(None, fetches, feed_dict, options_ptr,
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1190, in _run
    results = self._do_run(handle, final_targets, final_fetches,
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1368, in _do_run
    return self._do_call(_run_fn, feeds, fetches, targets, options,
  File "/home/stuart/google-kws/venv/lib/python3.8/site-packages/tensorflow/python/client/session.py", line 1394, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Node 'training/Adam/gradients/gradients/gru/cell/while_grad/gru/cell/while_grad': Connecting to invalid output 51 of source node gru/cell/while which has 51 outputs.

Thank you for sharing the log. It looks like there was an issue with symbolic loops / control flow. I would suggest to try tf nightly or if you prefer to use tf 2.5 then I would try to set unroll=True in the code

Its OK @rybakov prob will prefer to use 2.5 and was just eager to test some of the tflite post quant changes and see if and what...
I am OK with 2.4.1 and was just reporting back as 2.5 is still hot from the press.
Thanks for g-kws seriosly great PS any chance background noise could be matched to the RMS of classification so you can have more control without it becoming the foreground?

"Unroll" just removes the symbolic loops in the model, it does not affect anything else, I tested it on tf 2.6 nightly and it works ok.
Without "Unroll", I confirm that InvalidArgumentError happens on tf 2.6 (so it looks like this issues happens on 2.5.1 and above).
Please report this issue at tf github.
"any chance background noise could be matched to the RMS of classification so you can have more control without it becoming the foreground?"
This customization is up to you: current set up was selected for comparing with other papers.

Not sure what to post but many thanks


Refactor: remove last_log_id in ReplicationCore

Refactor: remove last_log_id in ReplicationCore,use a new ReplicationError HasMoreLogs instead to indicate if there is more logs to replicate.
issue: https://github.com/datafuselabs/openraft/issues/215
Also fix bug: https://github.com/datafuselabs/openraft/issues/231

This change is

In this PR, i also fix the bug issue 231: https://github.com/datafuselabs/openraft/issues/231
See the function check_if_update_commit_index.


docs: add guides for the svelte process options

Summary
#1185
Related Links

Checklist

[ ] Tests updated.
[x] Documentation updated.

👍🏻 Nice


current version of postcss not supported in roots

I've been trying to use post css but at the moment it is not working. When I run roots compile, the command-line states that postcss 5.0.4 is not supported.

Closing this in favor of the accord issue you filed!


I will update the script. However your code snippet and your comment are different. Which one works for you?

It is fixed, thanks. Let me know if you find any other issues.


Query algebra based on QScript

Add a new algebra for queries that uses QScript instead of LogicalPlan. It'd be nice if this didn't live in fs as there appears to be a natural separation between the "filesystem" data wrangling operations and the ability to evaluate queries.

@wemrysi could you clarify this ticket a bit? Are you thinking about how ExecutePlan, EvaluatePlan, and Explain use LogicalPlan? And then this ticket would be to create an algebra for QScript?
Though, I'm not convinced that the file system algebras need to know about LogicalPlan at all anymore, and perhaps we can just use QScript instead.

@alissapajer Yeah, we should basically s/LogicalPlan/QScriptInternal/ in QueryFile, not create a new algebra. But then it sounds like this issue may cover other things beyond that.

Yes to the s/LP/QScriptInternal replacement, but I was also thinking that, if we created the MetaFile algebra (#1263), then the query parts of the current QueryFile algebra could become their own algebra, call it Query for the sake of argument, separate from the rest of the filesystem.
It seems like the non-query filesystem operations are complete on their own, and could even be a standalone module. Then our quasar api would become Quasar[A] = Coproduct[Query, FileSystem, A].
I'm not sure if this will make anything more or less useful, I was just thinking about it from a separation of concerns standpoint and hadn't gotten much further than that.


CSS v2.0

@Shan-Mei  problemo
My hyperlinks do not work properly, the longer ones especially. Can you check it out?

I will look tmr.

Unless your really want that sliding animations, you could default just to:
a:hover {
    background-color: #993C19;
    color: #FADE8F;
}

a {
    /* the rest of the css */
    transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

K ty that helped a lot it works now :)


chore(main): release 5.3.3

:robot: I have created a release beep boop
5.3.3 (2023-09-10)
Minor changes and bug fixes

refactor nowplaying command (f061000)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mariusbegby/cadence-discord-bot/releases/tag/v5.3.3 :sunflower:


Use map.getTargetElement

Citing the OpenLayers docs:

In contrast to getTarget this method always return an Element, or
null if the map has no target.

@marcjansen thanks. Done in #122.


[5.0] SILGen: Open existential lvalues on entry into an OpenExistentialExpr again.

Explanation: Fixes a regression in handling calls to mutating protocol extension methods with default arguments.
Scope: Regression from 4.0
Issue:  rdar://problem/37031037
Risk: Low, a bug fix.
Testing: Swift CI, test case from Radar
Reviewed by: @rjmccall

@swift-ci Please test


Fix stringcmd limits causing unnecessary disconnects

reverts some changes made by #411 , specifically to do with replacing Plat_FloatTime
Explanation of why this was a problem yoinked from discord

should fix

https://github.com/R2Northstar/Northstar/issues/448

maybe also fixes

https://github.com/R2Northstar/Northstar/issues/449
https://github.com/R2Northstar/Northstar/issues/450

@BobTheBob9 as an fyi

cool

I'm now getting many 'Disconnect: Sent too many stringcmd commands.' after updating to 1.12.5 today.
was playing Frontier Defense and got like 4 disconnects with above error. Didn't get any disconnects yesterday on 1.12.4
Should I open new issue?

I'm now getting many 'Disconnect: Sent too many stringcmd commands.' after updating to 1.12.5 today. was playing Frontier Defense and got like 4 disconnects with above error. Didn't get any disconnects yesterday on 1.12.4 Should I open new issue?

Can you try increasing the convar sv_quota_stringcmdspersecond to about 80 and test it again?

No, I'm not server owner, I didn't realize it could be on server side, I guess it could be that server was not updated yet.

Server owners try to update their servers challenge (impossible)


Fix TEMPLATE warning and fix SAML issue fixes #110

Looks like according to https://django.readthedocs.io/en/1.8.x/ref/templates/upgrading.html the TEMPLATE_LOADERS were no longer needed, seems to work fine without.


Fdm bermudan swaption hw

SonarQube analysis reported 9 issues

 3 critical
 5 major
 1 minor

Watch the comments in this conversation to review them.

SonarQube analysis reported 7 issues

 2 critical
 4 major
 1 minor

Watch the comments in this conversation to review them.

SonarQube analysis reported 1 issue

 1 major

Watch the comments in this conversation to review them.


fix: add suffix to fluentbit configurator

Description
We run Kurtosis in our CI pipeline. Multiple processes create Kurtosis enclaves concurrenctly. When the timing is just right, it can lead to a race condition where the fluentbit configurator container sticks around and no further enclaves can be created until we manually delete the fluentbit container.
This PR adds a suffix to the configurator container so that it is isolated from other concurrent runs.
Is this change user facing?
No

cc @kurtosis-tech/engineers for review.

Once this is merged, the CI should pass so I'll rerun them. https://github.com/kurtosis-tech/kurtosis/pull/2572.


Unittest error in openmp mode

One problem I find when I test the newest master branch code is that, when set to openmp mode, two test cases might fail in unit_lazy.ml (fun01 and fun07) sometimes.  Here are these two tests:
let fun01 () =
  let x = M.var_arr "" in
  let y = x |> M.sin |> M.cos in
  M.assign_arr x x3;
  M.eval_arr [|y|];
  let a = M.unpack_arr y in
  let b = x3 |> Arr.sin |> Arr.cos in
  Arr.(a = b)

let fun07 () =
  let x = M.var_arr "" in
  let y = M.var_arr "" in
  let z = M.pow x y in
  M.assign_arr x x2;
  M.assign_arr y x3;
  M.eval_arr [|z|];
  let a = M.unpack_arr z in
  let b = Arr.pow x2 x3 in
  Arr.(a = b)

It looks weird, since the functions involved in these two cases are the most basic sin cos and pow operations.  I was thinking if anyone is having the same problem or it is just my own machine.

Thanks for reporting this, I will investigate into this issue soon.


Simplify CPU features: just detect them in build.rs instead of exposing them as crate features

Since #373, where I wrote

Instead of exposing the features, ... I figured this arrangement made the most sense because, as far as I'm aware, it doesn't add additional build requirements (the way e.g. CUDA or Vulkan would) so there shouldn't be a chance of compilations that used to succeed before this PR beginning to fail with this change.
Users of llama-cpp-2 can ensure their available instruction set extensions are taken advantage of by either specifying -C target-cpu=native in their RUSTFLAGS ...

I had an epiphany today that it would remove unnecessary code to just detect the CPU features in build.rs instead of exposing them as crate features. (and it would've prevented #393 lol oops) Since this part of the build script wasn't actually working yet, it was probably the original author's intention to check CPU features rather than crate features anyway.
(I don't have the means to test AVX512).

This is a considerable improvement, thanks!


TypeScript Support

It would be nice to have typings for better compatibility with TypeScript.
For example "@types /reactabular", "@types /sortabular", etc.
Do you have any plans to make it possible?

Hi,
There's no active development as the project ran out of funding. If someone wants to submit a PR, I don't mind helping to get it merged, though.

I think we would have to rewrite portions in TypeScript to get this done. Maintaining separate type definitions would be likely too much. I can accept PRs for this work. Time to close as I won't do it (unless funding appears).


[BugFix] Fix query rewrite failed for external table after support view delta

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes https://github.com/StarRocks/StarRocksTest/issues/2031
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 9 / 28 (32.14%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
0
9
00.00%
[397, 402, 403, 406, 407, 408, 409, 410, 411]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
0
10
00.00%
[122, 217, 222, 223, 226, 227, 228, 229, 230, 231]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
9
9
100.00%
[]

run starrocks_admit_test

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Layout fixes

A blind PR that needs to be double checked, fixes https://github.com/ugent-library/biblio-backend/issues/742

This comment should help


Add support for vectorizing pack ops that outer dims are not all 1s.

Updates the vectorization process to:

Tile outer dims to make them be all 1s.
Generalize LinalgExt::PackOp and kick in tiling canonicalization patterns.
Kick in generic vectorizer.

It also updates the logic of tiling implementation a bit. It explicitly marks boundary to 1 when tiling size is 1. This makes shape inference for LinAlg and LinalgExt ops easier.

@chelini please also take a look, thanks!

It depends on https://reviews.llvm.org/D136884

Didn't look at the PR itself but I wanted to signal that making vectorization tile is fishy and will be future churn.

Maybe the name is misleading. It is not that vectorization is tiling. Tiling is used to make all the outer dimensions units dims, before they are lowered to operations that are vectorized upstream. Please take a look and provide any alternative guidance if you think something is off.

Ok, looked deeper, LinalgExtPackOpVectorizationPass does tiling + generalize + vectorize.
This will be replaced in the future but the amount of churn should be small.

Can you say what this will be replaced with?

Trying to take a look at this before it's merged. Please, wait for me :). Hopefully I can do it later today or tomorrow.

Thanks for waiting! I just wanted to ask some questions/provide feedback on integration. I understand that we will use this for both VMVX and code generation pipelines. In that case, I would expect tiling/vectorization of pack ops to seamlessly integrate with the tiling/vectorization stages in those pipelines instead of having an ad-hoc pass to deal with pack ops specifically. It can be problematic to just tile/vectorize some ops early in the pipeline while leaving the remaining ops intact. The respective tiling/vectorization stages in the corresponding VMVX/Codegen pipelines may actually struggle as no tiling/vectorization is expected before those stages. It would be interesting to know why pack operations need this special treatment or if this is just for experimentation purposes.

Thanks for waiting! I just wanted to ask some questions/provide feedback on integration. I understand that we will use this for both VMVX and code generation pipelines. In that case, I would expect tiling/vectorization of pack ops to seamlessly integrate with the tiling/vectorization stages in those pipelines instead of having an ad-hoc pass to deal with pack ops specifically. It can be problematic to just tile/vectorize some ops early in the pipeline while leaving the remaining ops intact. The respective tiling/vectorization stages in the corresponding VMVX/Codegen pipelines may actually struggle as no tiling/vectorization is expected before those stages. It would be interesting to know why pack operations need this special treatment or if this is just for experimentation purposes.

I expect most of the data tiled operations to basically do

One level of tile and distribute to threads
Tile the iteration over inter-tile dimension to 1
Generalize to ops that already vectorize.
Vectorize.

So to start with make the data-tiled operations move into this path for evaluation... So the name might be mis-leading, but I'd expect all dispatches that operate on tiled layouts to go down this path.

It can be problematic to just tile/vectorize some ops early in the pipeline while leaving the remaining ops intact.

We will vectorize all the ops at the same time, so we don't have to worry about it.
We're able to vectorize pack op for some cases. The PR mainly implement a process to vectorize all the pack ops. pack op is not special. It is doing similar things like conv ops and pad ops.
Ex1: to vectorize conv op, we have to tile some dims with 1 to down rank the op, and kick in its vectorizer.
Ex2: to vectorize a pad op, we have to generalize it to linalg ops, and kick in the generic vectorizer.
The process of pack op vectorization is similar. We tile some dims with 1, generalize it into linalg ops, and kick in the generic vectorizer.
We're still building core transformations for pack and unpack ops. After the core transformations are done, I'll try to connect them e2e for a single pack/unpack op case. If everything looks good, we'll start looking into fusion cases (e.g., generic + pack), and the transformations will be applied on generic op and pack op together.
(maybe the placeholder (i.e.,addCPUDataTilingPipeline) misleads  the intention. The pipeline is for connecting things incrementally. I expect all the dispatches that contains pack or unpack op would go through this pipeline.)

Thanks for clarifying! That makes sense. I guess my hope was that data tiling was not a full blown pipeline but a transformation that could composed with the existing pipelines in the long run. If I remember correctly from earlier discussions, the data layout transformation would encode how to tile and transform the layout but the materialization of those transformations would happen later in the existing pipeline. Especially, if we fuse pack/unpack ops with their respective producers/consumers, it's unlikely that the data layout pipeline knows how to optimize those producers/consumers properly as the pack/unpack ops are not necessarily a significant part of the computation. IOW, there is more information needed to optimize the fused producers/consumer than just looking at the pack/unpack ops, as we discussed this morning. I think this is an important aspect of the design that should be taken into account early on. Of course, nothing to block the initial e2e testing :)

Thanks for clarifying! That makes sense. I guess my hope was that data tiling was not a full blown pipeline but a transformation that could composed with the existing pipelines in the long run.

What parts of the existing pipeline where you thinking of. AFAICS, to start with the only transformation is vectorization. and that should basically compose with vectorization of all other operations. Then the question is how to vectorize the pack and unpack. The easiest way is to lower it to a sequence of operations that already vectorize today. So the pack and unpack compose with other ops in terms of tile + fuse and vectorization. The details of how the pipelines are today are complex. I expect the data tiling pipelines to be just

Tile to workgroups
Tile the outer dimensions to 1
vectorize
bufferize..

What parts of the existing pipeline where you thinking of.

The existing ones for padding, peeling, etc. Every time we add a new pipeline things end up getting more complicated as we have to replicate most of the passes for each one (recent case: new reduction strategy). Even for padding, we talked about unifying it with the main pipeline. It would be great if we could move towards unifying/reducing them as much as possible. In this regard, would it make sense to add the data layout transformation to the multi-tiling expert? As data layout will replace padding, that would help a lot with the pipeline simplification. IIUC, we would only need to add the passes to lower pack/unpack ops to operations that are already vectorized today. We could encode the different "pre-processing" strategies as we do in KernelDispatch.cpp


initial table suggestion

as requested by https://github.com/linkeddata/SoLiD/issues/7

Excellent, thank you!


[Bug] Please upgrade Next.js to the latest version

My deployment Throws Illegal invocation when calling .text() on the request body. This is a known bug in Vercel and Next.js and has been fixed in the latest stable release. Please upgrade to ^13.3.0.
Reference:
https://github.com/vercel/next.js/issues/46337
Deployment

[ ] Docker
[x] Vercel
[ ] Server

原来我前几天花了好几个小时才解决的只有在 Vercel上才出现的Illegal invocation问题是next.js自身的bug  >_<


[BEAM-11520] Stage extra PyPI dependencies with generated requirements

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

depends on #13606

R: @robertwb @chamikaramj

@chamikaramj PTAL

@ihji what was the context of this work? The PR description, Jira title and Jira message all have the same one line of text that is not very helpful to understand the context - can you please clarify?

@tvalentyn This PR creates a PyPI requirement file from the string representing PyPI package names and versions and stages them with the other Python artifacts. This was for multi-language pipelines where Java pipeline users or Python expansion service authors may want to specify Python dependencies programmatically.

thanks, updated the description.


LibLog logger support

We developed some infra that is based on MT - this infra is consumed from mutiple projects using nlog and log4net. We use LibLog widthly in our projects and we'll e glad to have LibLog support same as NLog and Serilog Support

This will likely not be done by the MT team, in favor of moving to the .NET Core logging abstractions instead.


Batcher should modify batch interval based on number of messages in relation embedder queue

This has sat in “to do” for three months, and I don’t think the batcher has been a major pain point.
I’m going to leave the ticket open, but remove it from “to do” for now.

I'm going to close this for now – the batcher does sort-of do this, in Terraform.
When we're reindexing (and the relation embedder queue is likely to be big), it waits a long time and has a big queue.
When we're not reindexing (and the relation embedder queue is likely to be small), it doesn't wait as long and has a smaller queue.


3526 - ET - Added subscription  connect/disconnect hooks

Jira Task: https://zimitio.atlassian.net/browse/ZWEB-3526
enhancement to the publication options for allowing callback functions to be executed when a subscription is connected to a subscribe or disconnected.
Steps to Reproduce
Run:
npm test
Performance Considerations
No performance impact.
Sections of the Application Affected
Look up application pr to QA.

Do not merge yet, until I provide unit tests. It is a proof of concept.

Do not merge yet, until I provide unit tests. It is a proof of concept.


#376: Add WildFly-Swarm health check enricher. Not yet working becaus…

…e fmp doesnt call it.

Hey @rhuss I started on a health check enricher for wildfly-swarm.
This comes OOTB in swarm if you have a dependency on that monitor dependency.
But our quickstart
https://github.com/fabric8-quickstarts/swarm-camel
Does not make fmp generate the livness and readiness probes in the generate k8s resource files.
I debugged the code a bit and in
https://github.com/fabric8io/fabric8-maven-plugin/blob/26126525719c363c5e608d8d15dd4dad58795e49/enricher/api/src/main/java/io/fabric8/maven/enricher/api/AbstractHealthCheckEnricher.java#L22-L22
Then item is never an instance of Deployment and the code below is not triggered that adds those probes.
I wonder if you could take a look?

Intersting, because afaik there should be a Deployment object egernated automatically by the DefaultControllerEnricher. Of course the Deployment is only available if the DefaultControllerEnricher is running before the HealtCheckEnricher.
I will check that.

In fact, the enricher for the health-checks kicks in to early (as it parts of the f8 enricher in contrast to the fmp standard enrichers).
The solution is to add a high order value to the health check enrichers.
However, the real solution is to separate the generation of default resources (like the Deployment in this case) with the enrichment process (used by the health-checl). See #678 for more details on this.
I will submit a PR for the order issue.

@davsclaus could you try to add a high order number to the healtcheck enrichers in https://github.com/rhuss/fabric8-maven-plugin/blob/e9bc60ab870e8137a6697883b22e9cc536b1d8ae/enricher/fabric8/src/main/resources/META-INF/fabric8/enricher-default#L9-L8 ? (like for the ExposeController) and check whether this works for you ?
I'm currently working on a more general solution to explicit define the order instead on relying of an order when merging enrichers from different files.

Thanks @rhuss that worked with ,1000, eg I see now
[INFO] --- fabric8-maven-plugin:3.2-SNAPSHOT:resource (default) @ swarm-camel ---
[INFO] F8: Running in Kubernetes mode
[INFO] F8: Running generator wildfly-swarm
2016-12-05 11:23:47 INFO  Version:30 - HV000001: Hibernate Validator 5.2.4.Final
[INFO] F8: fmp-controller: Adding a default Deployment
[INFO] F8: fmp-service: Adding a default Service with ports [8080]
[INFO] F8: wildfly-swarm-health-check: Adding readiness probe on port 8080, path='/health', scheme='HTTP', with initial delay 10 seconds
[INFO] F8: wildfly-swarm-health-check: Adding liveness probe on port 8080, path='/health', scheme='HTTP', with initial delay 180 seconds

And yay the readiness only signal its ready to k8s when swarm is really started after 31 seconds
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   0/1       Running   0          5s
davsclaus:/Users/davsclaus/$ kubectl get pods
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   0/1       Running   0          8s
davsclaus:/Users/davsclaus/$ kubectl get pods
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   0/1       Running   0          8s
davsclaus:/Users/davsclaus/$ kubectl get pods
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   0/1       Running   0          13s
davsclaus:/Users/davsclaus/$ kubectl get pods
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   0/1       Running   0          14s
davsclaus:/Users/davsclaus/$ kubectl get pods
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   0/1       Running   0          21s
davsclaus:/Users/davsclaus/$ kubectl get pods
NAME                           READY     STATUS    RESTARTS   AGE
swarm-camel-2856146500-ng5yy   1/1       Running   0          31s

Before the pod was started asap and it would of course fail to service the traffic.

Any thoughts of this?
With this PR then our swarm quickstarts at fabric8 now works and deploy correctly and wont be ready until swarm is ready.
So I would like to see it merge.
Then we can open another ticket about trying to discover wildfly-swarm configuration files and grab port from there, which essentially also the service enricher would need to, if it needs to detect a different port than 8080.

[merge]

Logged a ticket about discovering port number from configuration files
https://github.com/fabric8io/fabric8-maven-plugin/issues/718


feat(tutorial): complete step 2

I updated the changes. Maybe something I overlooked and forgot about.


Hapi.js botly

I have made a plugin for Hapi.js to work with botly.
Is it OK for you that I publish it to NPM?
Stefan

Sure, no problem :)
On Mon, 8 May 2017 at 21:44 Stefan Pante<EMAIL_ADDRESS>wrote:

I have made a plugin for Hapi.js to work with botly.
Is it OK for you that I publish it to NPM?
Stefan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/miki2826/botly/issues/29, or mute the thread
https://github.com/notifications/unsubscribe-auth/AE5pL1ZGQ5Fk0qLKW5fF4UWbZe9GeB_xks5r32J9gaJpZM4NUVra
.


 Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.

https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
How do I validate these pinned actions?
Also, dependabot supports upgrading based on SHA. https://github.com/ossf/scorecard/pull/1700
GitHub's own repository pin's their checkout actions by SHA and doesn't use the version tag
https://github.com/github/docs/blob/ea7f218c91ecbae9a700a8702b51a7d2736e0d2c/.github/workflows/docs-review-collect.yml#L23
Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

I'm not sure about this personally. It makes the actions setup more verbose, and harder to follow which action version is used where, to mitigate risk that I'd consider negligible specifically in context of how and which actions are used in Leaflet.

I'm against this for several reasons:

Increase in the maintenance burden, as we now have to update our actions more regularly.
Too easy to make mistakes with versions of the same action due to the cognitive overhead of parsing commit hashes as a human.
Most of these actions are from Github themselves which I consider trustworthy.

Closing this PR as I just don't see the advertised benefits of this as worth the downsides.


fix undefined error when opening Create Project from Database dialog

This PR fixes #22479. The first time this function gets called when opening the create project from db dialog, the db dropdown hasn't been populated yet which is why it's passing in undefined.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 42.223%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
30871

Relevant Lines:
67866

💛  - Coveralls


immich-go: refactor linker data

As mentioned in https://github.com/NixOS/nixpkgs/pull/303799, I would like to follow upstream more closely and set the commit and date linker variables correctly. In contrast to pdfcpu, this isn't required by upstream, but the information is printed every time the binary is called and I would like to avoid any potential confusion of downstream users in this case.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3879

Was included in #313310


docs: add default module description in main modules of samples/mvp

This PR adds default module-level description in main modules of samples/mvp
Ref: https://github.com/ckb-js/kuai/issues/244#issuecomment-1541503555

Codecov Report

Merging #285 (91e09c0) into develop (4ccc830) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #285   +/-   ##
========================================
  Coverage    70.68%   70.68%
========================================
  Files           85       85
  Lines         2500     2500
  Branches       565      565
========================================
  Hits          1767     1767
  Misses         664      664
  Partials        69       69

Impacted Files
Coverage Δ

packages/samples/mvp-dapp/src/actors/index.ts
100.00% <ø> (ø)

...ages/samples/mvp-dapp/src/actors/omnilock.model.ts
20.00% <ø> (ø)

...ckages/samples/mvp-dapp/src/actors/record.model.ts
15.62% <ø> (ø)

packages/samples/mvp-dapp/src/app.controller.ts
39.62% <ø> (ø)

packages/samples/mvp-dapp/src/const.ts
100.00% <ø> (ø)

packages/samples/mvp-dapp/src/exception.ts
23.52% <ø> (ø)

packages/samples/mvp-dapp/src/response.ts
12.50% <ø> (ø)

packages/samples/mvp-dapp/src/views/tx.view.ts
21.73% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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

Please have a review @zhengjianhui @PainterPuppets @Daryl-L


The mirror options don't work for URL endpoints requiring credentials

The mirror, customDir, and customFilename options let you specify a custom URL and path to download Electron packages from. For publicly available resources, this works fine.
This is insufficient for secure resources. For example, I can't download anything from a URL that requires authentication via a SAS token.
Techincally, I can use a SAS token by appending a query string to customFilename. This doesn't work, however, when attempting to download SHASUM files.
See #71 for a related issue.

Closing this out as the downloader logic was rewritten as part of next


Change colors of command help messages

Add the ability to change the names of help section commands in messages.yml

Please add this :)

Implemented via #380


Update insights endpoints to clarify optional/required params [INS-177]

adding note to two endpoints that did not have information about XOR on start/end or time_range

Description

Motivation and Context

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation fix (typos, incorrect content, missing content, etc.)

lgtm :)

@pawel-swiecki-saucelabs approved on slack


Support multiple event listener plugins

This pr is a continuation of https://github.com/prestosql/presto/pull/2305 with all the subsequent comments applied.

There is something wrong with guice configuration.

Merged, thanks!

this is great feature but the docs are not that clear, posting this for others who want to use it:
echo 'event-listener.name=event-logger' > etc/event-listener.properties
echo 'event-listener.name=query-logger' > etc/event-listener2.properties
echo 'event-listener.config-files=etc/event-listener.properties,etc/event-listener2.properties' >> etc/config.properties
place your custom eventlistener1 jar (which has event-logger inside the .java code) in /plugin/queryeventlistener/
place your custom eventlistener2 jar (which has query-logger inside the .java code) in /plugin/queryeventlistener2/

@s2lomon thanks for this, i tested it out, found one issue with logging. if one of the multiple event listeners fails, the log message does not mention which one.
ie i see 'EventListenerManager  Failed to publish QueryCreatedEvent for query 20200327_123611_00047_wag3k' but i don't know if that was from eventlistener1 or eventlistener2


Improve wording of room version 1 warnings

Fixes #2816

Matthew doesn't like "Known to have undesirable effects" but I'm not sure what would be preferable.


can not make deepdive from source code  ?

hello , I  download the source code , and then make it ,the follow error ocur:
[zzm@localhost deepdive-0.7.1]$ make
sbt clean assembly
[info] Loading project definition from /home/zzm/deepdive/deepdive-0.7.1/project
/home/zzm/deepdive/deepdive-0.7.1/build.sbt:47: error: not found: value assembly
test in assembly := {}
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q
scala.mk:62: recipe for target 'target/scala-2.10/-assembly-.jar' failed
make: *** [target/scala-2.10/-assembly-.jar] Error 1
[zzm@localhost deepdive-0.7.1]$
it make failed .
Does anyone now how to resolve this issue?

I now can compile deepdive, It was my sbt version old  ,. Now I use 0.13.9, it works.


Open model interface: disable sliders and switches

The following should be disabled in the working model interface:

[ ] Buurt A - warmtenet (always off!)

[ ] Buurt B - warmtenet (always on!)

[ ] Buurt B - warmtepomp (not an option with warmtenet on)

included in #5


How I can apply the Strict Search and the Fuzzy Search in Lucene.NET

Hello, I have to make search queries in two modes, one is the strict mode: which it should result to just the words or phrases I have searched for. And other mode is the fuzzy mode: which it should result to the words or phrases I have searched for with some range of fuzzy like (Ipsum, aIpsum, Ipsuma, aIpsuma).
Note: I have tried many ways but not actually succeeded :( , in many times the strict and fuzzy results the same results... and the strict some times works as fuzzy also...
This is my gist of the LuceneIndexer
Ex:
Indexed Texts:
Text (1):
What is Lorem Ipsum ?
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book..
Text (2):
What is Lorem Ipsuma ?
Lorem Ipsuma is simply dummy text of the printing and typesetting industry. Lorem Ipsuma has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book..
Text (3):
What is Lorem aIpsum ?
Lorem aIpsum is simply dummy text of the printing and typesetting industry. Lorem aIpsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book..
Text (4):
What is Lorem aIpsuma ?
Lorem aIpsuma is simply dummy text of the printing and typesetting industry. Lorem aIpsuma has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book..
Search Term: Ipsum
Search Mode: Strict
Results:

Text (1)

Search Mode: Fuzzy
Results:

Text (1)
Text (2)
Text (3)
Text (4)

Best Regards...

Since this is a general question on how to use Lucene.NET rather then an issue it would be better to post this question on StackOverflow with lucene and lucene.net tag.  That way it will be visible to the broader Lucene and Lucene.NET community and will be easier to find in the future by other users that may have a similar question.


Feature Request: AddEndpointFilter for Minimal API's

Hi, I was wondering if there are any plans to introduce an endpoint filter that can be used with Minimal API's.
While this library already provides the FeatureGate attribute for Controller based API's or MVC applications, I couldn't find anything about a helper method for Minimal API's.
It could be missing because this library existed before, ASP.NET Core introduced the new extension method AddEndpointFilter to customize a route handler in v7.
I think it can be a great addition to this library.
Thanks in advance.

Hello @timdeschryver ,
Looking into it a little now. From my understanding, the filter itself needs to handle the true and false case. Today, I believe it could be implemented like:
.AddEndpointFilter(async (context, next) =>
{
    if (await featureManager.IsEnabledAsync(FeatureName))
    {
         // true;
    } else {
        // false;
    }
});

If you care about context, similarly to FeatureGate, I believe you could define an ITargetingContextAccessor like this example. Or manually create the context in line like:
if (await featureManager.IsEnabledAsync(FeatureName, new TargetingContext{ User: context.username });

I hope those work for you. I don't yet see what a helper method could offer here. We could automatically handle the false case, but that would mean we're forcing everyone to that false result. If we pick 404, that might not be ideal for everyone's situation. Let me know if you have something different in mind!

Thanks for the fast response @rossgrambo.
That does indeed work, and we've implemented it in a similar way (also with a 404, to keep the same behavior as FeatureGate).
I was just thinking that it could be useful to add this within the package, similar to FeatureGate.
Feel free to close this issue if this doesn't add much value.

Ah, I see what you mean. I'll bring it up to the team as a suggestion. Thanks @timdeschryver!

I think it's pretty easy to do it yourself, define a middleware, inject IFeatureManager, add an AddXXXMetadata method to append metadata, and then judge the logic in the middleware and return a 404 if it doesn't hit


Support instances with custom family names

Fixes https://github.com/googlei18n/glyphsLib/issues/124.
See also https://github.com/googlei18n/fontmake/issues/257.

LGTM, thanks Sascha!


add flutter to android app by aar，but flutter layout broken

1.setup：
build flutter aar， deploy to maven，add to app as gradle dependency
2.platform：
android
3.flutter version：
2.5 stable or 2.2.2 stable
4.problem：
layout broken(figure 1）in debug mode and using cachedEngine,
it is not broken withNewEngine(figure 2)；
layout is broken in release whether using cachedEngine or withNewEngine.

figure 1, broken
figure 2, not broken

 logs
[  +66 ms] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +191 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[ +164 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] 2.2.2
[   +5 ms] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +155 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git ls-remote --get-url origin
[ +154 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +236 ms]   ╔════════════════════════════════════════════════════════════════════════════╗
                      ║ A new version of Flutter is available!                                     ║
                      ║                                                                            ║
                      ║ To update to the latest version, run "flutter upgrade".                    ║
                      ╚════════════════════════════════════════════════════════════════════════════╝

[+2029 ms] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git rev-parse --abbrev-ref HEAD
[ +164 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +110 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +116 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +92 ms] List of devices attached
           000001348c78a94e       device product:PD1962 model:V1962A device:PD1962 transport_id:19
[  +11 ms] D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe -s 000001348c78a94e shell getprop
[ +132 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +91 ms] Skipping pub get: version match.
[  +60 ms] Found plugin flutter_keyboard_visibility at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\flutter_keyboard_visibility-5.0.3\
[   +9 ms] Found plugin flutter_keyboard_visibility_web at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\flutter_keyboard_visibility_web-2.0.0\
[  +34 ms] Found plugin path_provider_linux at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.0\
[   +7 ms] Found plugin path_provider_windows at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.3\
[  +19 ms] Found plugin shared_preferences at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences-2.0.7\
[   +4 ms] Found plugin shared_preferences_linux at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_linux-2.0.2\
[   +3 ms] Found plugin shared_preferences_macos at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_macos-2.0.2\
[   +6 ms] Found plugin shared_preferences_web at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_web-2.0.2\
[   +3 ms] Found plugin shared_preferences_windows at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_windows-2.0.2\
[  +24 ms] Found plugin webview_flutter at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\webview_flutter-2.0.13\
[  +23 ms] Found plugin isms_security at D:\GitProjects\hikyun-app-flutter\isms_security\
[ +116 ms] Found plugin flutter_keyboard_visibility at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\flutter_keyboard_visibility-5.0.3\
[   +2 ms] Found plugin flutter_keyboard_visibility_web at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\flutter_keyboard_visibility_web-2.0.0\
[   +9 ms] Found plugin path_provider_linux at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.0\
[   +1 ms] Found plugin path_provider_windows at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.3\
[   +4 ms] Found plugin shared_preferences at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences-2.0.7\
[   +1 ms] Found plugin shared_preferences_linux at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_linux-2.0.2\
[   +1 ms] Found plugin shared_preferences_macos at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_macos-2.0.2\
[   +1 ms] Found plugin shared_preferences_web at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_web-2.0.2\
[   +1 ms] Found plugin shared_preferences_windows at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\shared_preferences_windows-2.0.2\
[   +6 ms] Found plugin webview_flutter at F:\Flutter\flutter_windows_2.2.2-stable\flutter\.pub-cache\hosted\pub.flutter-io.cn\webview_flutter-2.0.13\
[   +5 ms] Found plugin isms_security at D:\GitProjects\hikyun-app-flutter\isms_security\
[  +16 ms] Generating D:\GitProjects\hikyun-app-flutter\.android\Flutter\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +64 ms] ro.hardware = exynos980
[        ] ro.build.characteristics = default
[  +46 ms] executing: D:\Users\\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\GitProjects\hikyun-app-flutter\build\host\outputs\apk\app.apk AndroidManifest.xml
[  +94 ms] Exit code 0 from: D:\Users\\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\GitProjects\hikyun-app-flutter\build\host\outputs\apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.login.host" (Raw: "com.login.host")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=18)
                 A: android:label(0x01010001)="hikyun_login" (Raw: "hikyun_login")
                 A: android:icon(0x01010002)=@0x7f0a0000
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0c00a0
                   A: android:name(0x01010003)="com.login.host.MainActivity" (Raw: "com.login.host.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=36)
                     A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
                     A: android:value(0x01010024)=(type 0x12)0xffffffff
                   E: intent-filter (line=40)
                     E: action (line=41)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=43)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=50)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterProjectType" (Raw: "flutterProjectType")
                   A: android:value(0x01010024)="module" (Raw: "module")
[   +4 ms] Launching lib\main.dart on V1962A in release mode...
[   +2 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe -s 000001348c78a94e shell -x logcat -v time -t 1
[ +254 ms] --------- beginning of main
[  +24 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +77 ms] Android Debug Bridge version 1.0.41
           Version 29.0.2-5738569
           Installed as D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +78 ms] Building APK
[  +16 ms] Running Gradle task 'assembleRelease'...
[   +6 ms] Using gradle from D:\GitProjects\hikyun-app-flutter\.android\gradlew.bat.
[  +13 ms] executing: D:\Program Files\Android\android-studio2.3.3\jre\bin\java -version
[ +119 ms] Exit code 0 from: D:\Program Files\Android\android-studio2.3.3\jre\bin\java -version
[   +3 ms] executing: D:\Program Files\Android\Android Studio4.0.2\jre\bin\java -version
[ +300 ms] Exit code 0 from: D:\Program Files\Android\Android Studio4.0.2\jre\bin\java -version
[        ] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
           OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode)
[   +1 ms] executing: [D:\GitProjects\hikyun-app-flutter\.android/] D:\GitProjects\hikyun-app-flutter\.android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=D:\GitProjects\hikyun-app-flutter\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleRelease
[+1372 ms] Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details
[+9995 ms] > Configure project :flutter_keyboard_visibility
[        ] WARNING: The option setting 'android.enableR8=true' is deprecated.
[        ] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[+3297 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preReleaseBuild UP-TO-DATE
[+6497 ms] > Task :flutter:compileFlutterBuildRelease
[   +1 ms] [  +58 ms] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +198 ms] [ +186 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [        ] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[  +98 ms] [ +167 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[   +1 ms] [        ] 2.2.2
[        ] [   +4 ms] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +198 ms] [ +158 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[        ] [        ] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git ls-remote --get-url origin
[  +98 ms] [ +156 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[  +99 ms] [  +52 ms] executing: [F:\Flutter\flutter_windows_2.2.2-stable\flutter/] git rev-parse --abbrev-ref HEAD
[ +199 ms] [ +161 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[  +99 ms] [  +93 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +95 ms] [ +156 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 ms] [   +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +28 ms] Initializing file store
[  +83 ms] [  +40 ms] Done initializing file store
[ +200 ms] [ +193 ms] Skipping target: gen_localizations
[ +900 ms] [ +962 ms] Skipping target: kernel_snapshot
[  +99 ms] [  +99 ms] Skipping target: android_aot_release_android-arm64
[  +99 ms] [  +16 ms] invalidated build due to missing files: D:\GitProjects\hikyun-app-flutter\DOES_NOT_EXIST_RERUN_FOR_WILDCARD793056548
[ +399 ms] [ +488 ms] aot_android_asset_bundle: Starting due to {InvalidatedReasonKind.inputMissing: The following inputs were missing: D:\GitProjects\hikyun-app-flutter\DOES_NOT_EXIST_RERUN_FOR_WILDCARD793056548}
[ +200 ms] [ +152 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[  +99 ms] [  +96 ms] aot_android_asset_bundle: Complete
[ +200 ms] [ +195 ms] Skipping target: android_aot_bundle_release_android-arm64
[        ] [        ] Persisting file store
[        ] [  +16 ms] Done persisting file store
[        ] [  +25 ms] build succeeded.
[  +98 ms] [  +20 ms] "flutter assemble" took 2,517ms.
[ +199 ms] [ +209 ms] ensureAnalyticsSent: 206ms
[   +1 ms] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +435 ms] Running Gradle task 'assembleRelease'... (completed in 40.4s)
[  +15 ms] calculateSha: LocalDirectory: 'D:\GitProjects\hikyun-app-flutter\build\host\outputs\apk'/app.apk
[ +108 ms] √  Built build\host\outputs\apk\release\app-release.apk (8.5MB).
[   +4 ms] executing: D:\Users\\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\GitProjects\hikyun-app-flutter\build\host\outputs\apk\app.apk AndroidManifest.xml
[  +63 ms] Exit code 0 from: D:\Users\\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree D:\GitProjects\hikyun-app-flutter\build\host\outputs\apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.login.host" (Raw: "com.login.host")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=18)
                 A: android:label(0x01010001)="hikyun_login" (Raw: "hikyun_login")
                 A: android:icon(0x01010002)=@0x7f0a0000
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=22)
                   A: android:theme(0x01010000)=@0x7f0c00a0
                   A: android:name(0x01010003)="com.login.host.MainActivity" (Raw: "com.login.host.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=36)
                     A: android:name(0x01010003)="io.flutter.app.android.SplashScreenUntilFirstFrame" (Raw: "io.flutter.app.android.SplashScreenUntilFirstFrame")
                     A: android:value(0x01010024)=(type 0x12)0xffffffff
                   E: intent-filter (line=40)
                     E: action (line=41)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=43)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=50)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="flutterProjectType" (Raw: "flutterProjectType")
                   A: android:value(0x01010024)="module" (Raw: "module")
[   +2 ms] Stopping app 'app.apk' on V1962A.
[   +1 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe -s 000001348c78a94e shell am force-stop com.login.host
[ +181 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe -s 000001348c78a94e shell pm list packages com.login.host
[ +171 ms] package:com.login.host
[   +1 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe -s 000001348c78a94e shell cat /data/local/tmp/sky.com.login.host.sha1
[ +117 ms] db2a7ee09037eea143dbd607e04c5e93a52f586a
[   +1 ms] Latest build already installed.
[   +1 ms] executing: D:\Users\\AppData\Local\Android\sdk\platform-tools\adb.exe -s 000001348c78a94e shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true
com.login.host/com.login.host.MainActivity
[ +141 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.login.host/.MainActivity (has extras) }
[   +2 ms] Application running.
[   +2 ms] Flutter run key commands.
[   +1 ms] h Repeat this help message.
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).

@pointer2011, please provide a complete minimal reproducible code sample as well.
Thank you

@pointer2011, please provide a complete minimal reproducible code sample as well.
Thank you
1.self define activity extends FlutterActivity
class FlutterLoginActivity : FlutterActivity() {

companion object {
    fun withNewEngine(activityClass: Class<out FlutterActivity?>?): MyNewEngineIntentBuilder {
        return MyNewEngineIntentBuilder(activityClass)
    }
}

override fun getInitialRoute(): String? {
    return "/"
}

//重写创建引擎方法
class MyNewEngineIntentBuilder(activityClass: Class<out FlutterActivity?>?) :
    NewEngineIntentBuilder(activityClass!!)

override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
   MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "loginResult")
       .setMethodCallHandler { call, result ->
        when (call.method) {
            "login_success" -> {
                Log.e("FlutterLoginActivity", "login success:${call.arguments}")
                finish()
            }
            "login_fail" -> {
                Log.e("FlutterLoginActivity", "login fail:${call.arguments}")
            }
            "login_cancel","login_close" -> {
                Log.e("FlutterLoginActivity", "login cancel:${call.arguments}")
                finish()
            }
            else -> result.notImplemented()
        }
    }
    super.configureFlutterEngine(flutterEngine)
}

}
2.start activity
startActivity(
FlutterLoginActivity.withNewEngine(FlutterLoginActivity::class.java)
.build(requireContext())
)
3.activity in AndroidManifest.xml

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


[docs] Allow to pass page icon component

[x] I have followed (at least) the PR section of the contributing guide.

In MUI X we want to use an icon that hasn't been added to the icons map:
https://github.com/mui/material-ui/blob/f800c835562da9cc8fa3f7615b32a8e6cc8b31d8/docs/src/modules/components/AppNavDrawerItem.js#L24-L26
To do this, we will need to update the icons map.
This PR adds the ability to pass the icon component instead.

@cherniavskii Should we close this PR because it as been solved in #36408 Or is their remaining stuff to do?


isContainedIn not working for String having single quote (') in it

Describe the bug
Column value check with isContainedIn DQ check not working for string having single quote (')
example : Can't Proceed
To Reproduce
Run the isContainedIn constraints on any column which contains value with single quote
e.g. .isContainedIn("REASON", ["Already Has "," Can't Proceed"])
Expected behavior
constraints  result Success but its failing and code getting generated like below
ComplianceConstraint(Compliance(REASON contained in Already Has ,Can't Proceed, CLOSE_LOST_REASON IS NULL OR CLOSE_LOST_REASON IN ('Already Has','Can''t Proceed'),None))

Closing as this issue was fixed in https://github.com/awslabs/deequ/pull/484 for issue https://github.com/awslabs/deequ/issues/462.
Added unit tests in a recent PR https://github.com/awslabs/deequ/pull/532
https://github.com/awslabs/deequ/blob/master/src/test/scala/com/amazon/deequ/checks/CheckTest.scala#L538-L544


[v2] Use find_for_token_creation

The method name find_for_token_creation is mentioned in the Change Log.

Thanks :+1:


Save statement implementation

TODOs:
[X] parse "save" syntax
[X] handle statement in interpreter
[ ] handle statement in static analysis

Adding @altitude and @gfyrag as reviewers because, even though the PR is in still draft, the next part of the PR won't change the currently commited code


Add React Pages folder with Mentor Pages inside

I have created a react pages directory so that we can add the react pages directly to it... I have also added my pages inside the directory.

It seems the folder is empty. Please recheck.


need suggestion on reading druid from spark

I'm starting on to use spark to read and write to druid. I've come across this library for ingesting.  can you please suggest what's the best way to read records from druid into spark dataset. in some forums it was mentioned to use [Avatica JDBC driver]. want to get your opinion on same.
Apologies for raising it as issue for Q&A type.  I couldn't find discussions tab to use same.
thanks in advance.

thank you. will look at same.